LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Video processing: findig specific color pixels

Dear All,

Could you tell me which is the easiest method for finding specific colored pixels in a real-time video streamed by webcamera? Analysing the video using a ROI and ColorLearnVI the desired color (blue)was recognised. It works well, but results depend on background brightness because the object is far from the 720p camera.

I'd like to transform everything into one color and the specific color into an other one to make the recognition more accurate and precise.

 

Thanks for the answers.

0 Kudos
Message 1 of 2
(2,637 Views)
The reason brightness matters is that it changes the apparent color by varying it's tint and hue. So you should first try to control those variations with fixed lighting, plain backgrounds and the like.

Next, perhaps playing with the color depth would help. Or perhaps a simple thresholding operation that hides pixels not in the correct range.

Please note that these ideas are more or less off the top of my head. More detail as to what you are doing exactly would be helpful.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,601 Views)