09-18-2009 09:19 AM
MUKS
I have seen an old post which talks about white balance. This is what you wrote.
"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. Pick the largest value and call it M. The scaling factors for each color plane are M/R, M/G, and M/B.
Now, with a regular image, split the image into the RGB components. Multiply each of the color planes by their scaling factor using IMAQ multiply. Recombine the image using IMAQ Combine Color Planes, and you have a white balanced image"
If anyone knows what this guy is talking about especially about the IMAQ brightness function.
I acquired an image from camera and extracted its color planes. I have RGB values but these
are an array of values. I want to white balance and I am stuck.
09-21-2009 04:59 AM
09-21-2009 05:18 AM
10-05-2009 05:31 AM
10-05-2009 05:32 AM
10-05-2009 07:00 AM - edited 10-05-2009 07:02 AM
muks wrote:
Can you please give the link of that old post, which mucks posted
do you have any problem is spelling my name right? I have already told you once before
This is what I exactly suggested here to that guy, but he never seemed to understand what he 'did', but just kept on insisting what he 'meant'...
10-05-2009 08:19 AM
The problem is solved. thanks for your time.