From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ: recognize circular and triangular pattern

I am working on a project where I am getting a pipe as input picture. The background and lightning can vary and its hard to get the same image over and over.

 

I would like to get the Y position of the triangular and circular phase on the pipe.

 

In the PNG file you see:

Figure A:        Typical source picture

Figure B-E:    Different results after filtering source picture

 

Is there some way to recognize the phases outlined in red?


I am new to pattern recognition and can't find any good examples for this task.

 

Thanks

 

0 Kudos
Message 1 of 2
(2,267 Views)

Hi,

 

Yes, it is possible to detect the geometries outlined in red. For example you could use edge detection within a Region Of Interest, or a Geomatric Matching. For more informations on the algorithms please view this KB article:

 

IMAQ Vision Algorithms

http://digital.ni.com/public.nsf/allkb/D6B6B5D928C186B486256F4D00046CFC?OpenDocument

 

I'm also adding a KB on geometric matching:

 

Why Wouldn't the Selected Template Match with the Main Image When Using Geometric Pattern Matching?

http://digital.ni.com/public.nsf/allkb/D9420536790B209886257559000B02DB?OpenDocument

 

and finally some community examples with vision and detection / matching:

 

Continuous Edge Detection Using Morphological Filters

https://decibel.ni.com/content/docs/DOC-24921

 

Edge Detection with a USB Camera

https://decibel.ni.com/content/docs/DOC-34733

 

Verify Wires: Vision Builder AI

https://decibel.ni.com/content/docs/DOC-31260

 

Identify "Perfection" Piece Using Geometric Pattern Matching

https://decibel.ni.com/content/docs/DOC-30575

 

Identify Multiple "Perfection" Pieces Using Geometric Edge Matching

https://decibel.ni.com/content/docs/DOC-30576

 

Simple Face Detection using IMAQ

https://decibel.ni.com/content/docs/DOC-33812

 

Use Vision Assistant to Find Matched Patterns

https://decibel.ni.com/content/docs/DOC-32828

 

Pool Playing Robot

https://decibel.ni.com/content/docs/DOC-16484

 

EDIT: added more examples

 

Best regards,

Robert P-F
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,109 Views)