LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to match RGB images using match multiple geometric patterns

Good day! I'm trying to match eye colors using match multiple geometric patterns but I can't do it since the output in match multiple geometric pattern is in black and white. Is there a way wherein I can change the output to RGB instead of black and white? Thank you!

0 Kudos
Message 1 of 6
(6,468 Views)

Usually pattern matching starts with converting RGB to greyscale!  Color adds several additional dimensions to the problem.

 

Bob Schor

0 Kudos
Message 2 of 6
(6,446 Views)


@Bob_Schor wrote:

Usually pattern matching starts with converting RGB to greyscale!  Color adds several additional dimensions to the problem.

 

Bob Schor


I changed the vision info to "color template", but there's an error with its template. How am I going to fix it? Also, attached below is the output image of the load button, how can I change its palette to RGB? Thank you.

 

 

0 Kudos
Message 3 of 6
(6,425 Views)


I changed the vision info to "color template", but there's an error with its template. How am I going to fix it? Also, attached below is the output image of the load button, how can I change its palette to RGB? T


What is the error you are getting?

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 4 of 6
(6,404 Views)

I think it is similar post here: https://forums.ni.com/t5/LabVIEW/Is-it-possible-to-match-multiple-color-patterns/m-p/3339603

-Geometric pattern works on gray scale images(what you told black and white)

-Color pattern matching works on Color image(e.g., RGB)

 

Be clear what you want to do

-You want to do Geometric matching then the input and output will be grayscale: http://www.ni.com/example/30535/en/ 

-If you want to do Color pattern matching check this example: http://www.ni.com/example/30548/en/ 

-Each type of template carries different information so you cannot mix and use.

-You can learn more on Color Pattern matching here: https://www.ni.com/docs/en-US/bundle/ni-vision-concepts-help/page/color_pattern_matching.html

Thanks
uday
Message 5 of 6
(6,399 Views)

study this link it could help you could no use GM for color match
https://www.ni.com/docs/en-US/bundle/ni-vision-concepts-help/page/color_classification.html

Message 6 of 6
(6,388 Views)