Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic pixel adjustment in image.

After a lot of struggling I have found that Labview(6i) uses a built in function that automaticly adjust the brightness/contrast in images if the image mostly uses only parts of the color palette. Is there a way to disable/override this function?
0 Kudos
Message 1 of 2
(3,092 Views)
On all National Instruments' analog frame grabbers, the ADC will apply a gain of either 1, 1.33, or 2 to incoming signals in an attempt to increase the image's resolution over a given pixel depth. For instance, if you have a linear LUT where a black pixel is 0 and a white pixel is 255, and the image you're acquiring is dark (close to zero), our ADC will probably apply a non-unity gain to the incoming signal so that the values will be distrubuted over more of the pixel values. Since this is built into hardware, the only way to really circumvent it is to make sure your LUT already takes your image environment into account. So, if you want to focus on darker shades, perhaps a Logrithmic LUT would be appropriate. This will designate most of the pixel values for describi
ng dark shades and leave fewer to describe the lighter ones.
0 Kudos
Message 2 of 2
(3,092 Views)