02-18-2014 08:45 AM
I need to increase the brightness on a .TIFF image which is in 16bit unsigned. I only have available a BCG for 8bit, and we don't want to use the operators since we want to control the amount of brightness added to the image.
Has anyone got a solution? I saw a post from 2009 with a custom made 16 bit version of the BCG but it didnt work for me.
All suggestions are appreciated.
Thank you.
02-19-2014 08:55 AM
I would also like to add that:
-We don't want to lose any data, so we don't want to convert to 8bits.
-We're capturing the images in real time through a CCD camera, so it's actually a stream of images (or camera feed) displayed in the UI that we want to increase/decrease the brightness of.
02-19-2014 09:19 AM
02-19-2014 10:01 AM
BCG = Brightness Contrast Gamma correction
To change the brightness you are simply multiplying a numerical constant to the image data. Therefore, take your image data as an array of 2D values, use the Multiply primitive to scale by a constant value (try 1.1 for starters), and take this array as your brightened image.