Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Drawing the contour of the particles found by ParticleReport

Solved!
Go to solution

I use Vision Module 2009 for .NET and c#

 

My question is how I can draw the contour of a particle found by the ParticleReport(). I tried GetPointsOnContour() but this delivers not the complete outline.

 

Furthermore I want to use this particle as a ROI for further operation.

 

Thanks for your assistance.

 

 

0 Kudos
Message 1 of 3
(3,437 Views)
Solution
Accepted by Jürgen Cramer

The same problem is addressed for LabVIEW here:

http://forums.ni.com/ni/board/message?board.id=200&message.id=14826#M14826

 

However,  you are using.NET. Luckily, the same concepts still apply. Instead of the LabVIEW VI "IMAQ MaskToROI", you should use the method MaskToRegions.

 

Kevin C.
National Instruments
Message 2 of 3
(3,412 Views)

This is exactly what I am looking for. But in .NET the algorithm is also MaskToROI().

0 Kudos
Message 3 of 3
(3,390 Views)