03-24-2014 02:17 PM
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
05-13-2014 08:41 AM - edited 05-13-2014 08:51 AM
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,