06-28-2012 06:09 PM
Hi,
I'm using the Color Plane Extraction function on Vision Assistant to extract an the luminance plane of an image, but was wondering how exactly the luminance is calculated? Also, what is the difference between luminance and intensity?
Thanks!
06-28-2012 06:59 PM
http://en.wikipedia.org/wiki/Luminance
While luminance is rather clearly defined, intensity isn't. It could be synonimous to luminance intensity but it can also mean a number of other things.
06-24-2013 08:43 AM
Hi Rolf,
I know you posted almost year ago, but I currently also run into similar problem.
You are pointing to the wiki where luminance is defined in terms of luminous flux.
I think in regards to the LV calculations the question is how it is obtained from RGB values, then the closest answer is here (referred to as relative luminance):
http://en.wikipedia.org/wiki/Luminance_(relative)
What is puzzling is that according to this formula you can easliy use all 24bits of color information to get luminance, yet LabView is only yielding 8bit plane for luminance?
Does anyone know how LV is calculating that?
Mike
06-26-2013 07:51 AM
Hi bignicewolf,
Here are some resources for how RGB and HSL images are represented. Luminance is just a component of HSL. For a 32-bit RGB image converted to a 32-bit HSL image, the luminance component would be 8 bits.
Image Types, Measure Color Statistics
06-26-2013 09:45 AM
Hi dshusker,
Thank you for the answer, knowing the inner image representation helps to understand why you have 8bits for Luminance plane.
To be diligent on this thread can you answer how the luminance is internally calculated ? (from 24bits of RGB -> 8 bits of Luminance in HSL format)
I'm wroking in spectral imaging field and each color chanel carries diffrent portion of the information, yet some analysis is best done in HSL domain so knowing exaclty how you go from RGB to HSL would be very helpfull.
Regards,
Mike
06-27-2013 04:59 PM
I'm not sure how the calculation is done off the top of my head, but you may try looking at the Vision Concepts Manual for this.
12-14-2013 03:18 PM - edited 12-14-2013 03:20 PM
I just tested this and luminance in LabVIEW is calculated as:
L = 0.299*R + 0.587*G + 0.114*B
See http://en.wikipedia.org/wiki/Luma_%28video%29 for more info about luminance (or luma).
11-19-2015 07:58 AM
could you pls send me the VI which can meaure the y luma, u chroma component of the color image
11-19-2015 07:59 AM
could you pls send me the VI which can meaure the y luma, u chroma component of the color image
11-19-2015 08:16 AM