Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Machine Vision fundas - Part I (ROI Manipulation)

There have been lot of fundamental questions asked repeatedly and hence I have planned to explain the some fundamental functions which I also struggled to get while beginning to program image processing.

 

ROI from Pattern matching

 

Pattern matching unlike any other programming language is readily and easily available. The struggle comes when we want to extract the matched part or overlay the part.

18017iF783D37CA7672D1C

 

The pattern matching has an output indicator called matches which is an array of clusters and we have to convert that into a cluster to get the required bounding box. This is explained below

 

18019i49497BD410D9567A

 

 

 

The template matched can be extracted as well by using an Imaq extract as shown above.

 

 

18027i79F4152888D25F71

 

 

 

ROI from Particle analysis

 

The same result can be obtained by converting the image to a binary image and using particle analysis as shown below

 

18023i368A81A2F33B79D8

 

 

18025iF1B1B394AE13602B

Message 1 of 2
(5,146 Views)

This note is really helpful. Thanks.

0 Kudos
Message 2 of 2
(4,875 Views)