06-18-2013 03:37 PM
hi
is here anyone who can guide me if there exists any tool for applying retinex algorithm on an image?
or guide me how can i implement this algo in l.v
thnx
Fairy55
06-18-2013 04:20 PM
I did a quick search on the web to figure out what a retinex algorithm is. If I understand it correctly, I would try the following:
Split the color image into the three color planes RGB. For each color plane, measure the brightest pixel (Pmax) using histogram or other method. Use IMAQ Multiply to brighten the image using ratio (255/Pmax). This will scale all the pixels so that the brightest pixel is now 255. Combine the three image planes back into a color image after scaling to get the corrected image.
Bruce