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
- last edited on
02-25-2026
11:39 PM
by
Content Cleaner
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
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9ouSAC&l=en-US
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?
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Kx0SAE&l=en-US
and finally some community examples with vision and detection / matching:
Continuous Edge Detection Using Morphological Filters
Edge Detection with a USB Camera
https://forums.ni.com/t5/Student-Projects/Edge-Detection-with-a-USB-Camera/ta-p/3529424
Verify Wires: Vision Builder AI
https://forums.ni.com/t5/Example-Code/Verify-Wires-Vision-Builder-AI/ta-p/3508056
Identify "Perfection" Piece Using Geometric Pattern Matching
Identify Multiple "Perfection" Pieces Using Geometric Edge Matching
Simple Face Detection using IMAQ
https://forums.ni.com/t5/Example-Code/Simple-Face-Detection-using-IMAQ/ta-p/3525705
Use Vision Assistant to Find Matched Patterns
https://forums.ni.com/t5/Archive-TKB/Use-Vision-Assistant-to-Find-Matched-Patterns/ta-p/3523169
Pool Playing Robot
https://forums.ni.com/t5/Student-Projects/Pool-Playing-Robot/ta-p/3528474
EDIT: added more examples
Best regards,