Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

retinex algorithem

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

0 Kudos
Message 1 of 2
(3,803 Views)

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

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 2
(3,800 Views)