Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

c# problem addressing ROI's

hi, i am using vision developement module 8.6 in combination with VS 2008

 

i have the following problem

 

I have a geometric match method to match some object, i want to draw a ROI-Rectangle around the found object and search in the new ROI for another geometric pattern

 

how can this be done in c#?

 


im hardly looking forward for your repl

 

thank you very much 😉

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

You can use the CWIMAQGeometricPatternMatchReport object after calling the MatchGeometricPattern method and use the CWIMAQGeometricPatternMatchReportItem property which has the BoundingPoints property w/c are the coordinates of the corners of the rectangle surrounding the match

 

Check the cwimaq help file for more information.

 

Riscoh

0 Kudos
Message 2 of 2
(2,766 Views)