07-18-2008 05:59 AM
07-21-2008 02:19 AM
Hi,
This is expected behavior. Presumably the value is internally calculated on a 0-100 basis. However, on page 15-34 of the Vision Concepts Manual (July 2007) regarding CIE L*a*b* color conversion, it gives the following:
"NI Vision normalizes the result of the L* transformation to range from 0 to 255."
I am assuming this normalization is a linear scaling factor of 255/100, transforming the values from a [0-100] range to a [0-255] range. My guess is that this is done to give greater dynamic range when representing the L* value with just one byte.
Regards,
07-27-2008 11:18 AM
Maxime MULLER a écrit:Hi,
This is expected behavior. Presumably the value is internally calculated on a 0-100 basis. However, on page 15-34 of the Vision Concepts Manual (July 2007) regarding CIE L*a*b* color conversion, it gives the following:
"NI Vision normalizes the result of the L* transformation to range from 0 to 255."
I am assuming this normalization is a linear scaling factor of 255/100, transforming the values from a [0-100] range to a [0-255] range. My guess is that this is done to give greater dynamic range when representing the L* value with just one byte.
Regards,
07-28-2008 08:07 AM
CC,
Post your CAR# here*.
Ben
*Note: The above link points to a thread in the LabVIEW Champions Discusion Forum and is availabe to LV Champions only. If YOU want to apply to be a LabVIEW Champion, see this link and click the "Join now" link. New Champions will be added every year!![]()