LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

in labview vision 2013 how can i extract red plane color image fromRGB color image?

Solved!
Go to solution

Rayleigh Light scattering depends strongly on wavelength, that's why infrared photography can see through atmospheric haze (smoke, fog, dust, etc.) and why the sky is blue, right?.

 

The same also partially applies to the red channel of a color picture, of course. It will be less sensitive to scattered light compared to the G and B.

 

(Back in the days of B&W photography, we would use a red filter to make landscapes more detailed in the presence of haze while increasing contrast, e.g. make the sky dark (example).

 

So to turn a RGB picture into a simulated red filter greyscale picture, just extract the red channel and copy it into the G and B channels. (It will be greyscale since R=G=B).

 

This is a trivial problem and can be done in plain LabVIEW with code the size of a postage stamp. No need for any vision toolkits.

 

Once you start a new thread, also attach a typical picture.

0 Kudos
Message 21 of 24
(420 Views)

@altenbach wrote:

This is a trivial problem and can be done in plain LabVIEW with code the size of a postage stamp. No need for any vision toolkits..


I wasn't kidding!

 

altenbach_0-1685239322006.png

 

 

 

Message 22 of 24
(408 Views)

Once again, Christian, you revealed why you are the Champion Knight!  I never thought that the "hijacker" was talking about a color photograph that she/he wanted to "filter" (as in Photography).  Sign.  Maybe if we get a response in a New Topic, we'll get a better description (with, as we both noted, a "sample Image") ...

 

Bob Schor

0 Kudos
Message 23 of 24
(388 Views)