Mike,
Thank you for posting on the forum. We spoke regarding this question, but I wanted to reply to this post with some information for other readers. You can see how we are calculating the HSL plane by examining the equations in the Vision Concepts Manual. Using the formulas, I was able to confirm that we are calculating the value for the HSL plane from the equation listed there:
S = 255(1-3min(R,G,B)/(R+G+B))
where R, G, and B in this equation are normalized. So given an RGB image (255,127,127) then we get the following values:
S = 255(1-(3*.5)/(2))
S = 63.75
I also created an image in just MS Paint with the RGB values of (255,127,127) and that gave me HSL values of (0,240,180) -- or in MS Word HSL values of (0,255,191). These latter values match
ed the HSI values returned from LabVIEW (using the IMAQ ColorHistogram VI).
Regards,
Michael
Applications Engineer
National Instruments