Hello,
Please describe what you mean by the terms bad pixel correction and nonuniformity correction. If by bad pixel and nonuniformity correction, you mean that you want to be able to remove variation in pixel intensities, you could use an IMAQ LowPass VI to apply a lowpass filter to the image to change pixel intensities to the average intensity around them. You could also search the image for pixels of a given intensity and modify the intensity to a desired value. For the gain function, I would suggest implementing an IMAQ Multiply function to multiply each pixel intensity by a value specified by the "constant" input. The IMAQ Multiply and IMAQ Lowpass functions are installed with the Vision Development Module.
If those functions or goals are not what you had in mind, please give me additional information about what you are trying to achieve.
Regards,
Scott R.
Applications Engineer
National Instruments
Scott Romine
Course Development Engineer
National Instruments