Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to work with Particle Reports?

I'm executing Particle Analysis Report VI on a thresholded image that could or not contain particles. An array of clusters is returned and contains specific information for each particle (table of detected objects). I need to work with only 2 informations (orientation and height dimension) of each particle, but I don't know exactly how to do it. The purpose of vi is to record an avi file if these parameters fits inside a certain value, during a real time acquisition. Is there an easy way to analyse these parameters of all particles found at the same time (not unbundle one by one)?

 The report can send me an empty result or hundred particles found

 

 

Tks
Guilherme
Tks
Guilherme
0 Kudos
Message 1 of 4
(3,435 Views)

HI Guilherme,

    Do you mean that you want to extarct the orientation and height of all particles at once without performing iteration for each object?

    What I'm confident about is that IMAQ is very fast in terms of ms, did the iteration process affect your real time app?

Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 2 of 4
(3,425 Views)

Yes. I guess so...

The only way I've had in mind is to unbundle the first cluster, then unbundle each one of them again, but the problem is that I might have hundreds of particles found in image or none, and this is making the work difficult.

Is there not an easier way?

This iteration process does affect my real time application indeed. The fps drops a little bit, but I guess if I work with a better hardware this won't happen...

 

Tks

Guilherme

Tks
Guilherme
0 Kudos
Message 3 of 4
(3,413 Views)

Try using IMAQ Particle Analysis instead of IMAQ Particle Analysis Report.  For this, you input an array that tells it which features you want reported.  The output is a 2D array that lists those features for each particle.  No unbundling or looping required.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 4 of 4
(3,403 Views)