LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RGB and color balance

I have acquired images from camera and also did extract color planes.

but images after the color extraction look like a gray sclaed images.

I am unable to extract RGB values. There is a very good explanation

by a guy called MUKS in the forums which says

 

"When you take a picture of the white card, make sure it is not over-exposed.  Split the image into the RGB components using IMAQ Extract Color Planes.  Select the same ROI on all three color planes, and use the IMAQ brightness function to measure the average intensity of the ROI.  This gives you the values R, G, and B.

 

 

I donot know where do I get the imaq brightness function to measure average intensity.  Can someone PLZ help me regarding this. 

0 Kudos
Message 1 of 3
(3,507 Views)

Hi Yesh,

 

I am not sure which VI muks is refering to.  However, you could try GetPixelValue.vi. If you extract red color plane and then get the pixel value this should give you the R value of the RGB image.  Check out this KB for a bit more information on the bit layout of RGB.

 

Kristen H.

Message 2 of 3
(3,472 Views)
Lets start from the begining shall we. Which thread are you talking about? What do you want to do?
0 Kudos
Message 3 of 3
(3,412 Views)