From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the pixel location of each blob in labelled image more efficiently ?

Solved!
Go to solution

I've been using the vision development tool for a while now, what I feel is lacking is that reporting of blob location after the operation IMAQ label.vi

An inefficient way to locate each blob location is to use IMAQ threshold, and basically iterate through all blob labelled value to get each non-zero get pixel locations.

 

However, this method is pain when there's a lot of blobs and also I feel this is so inefficient. Since IMAQ quantify seems to be able to compute the region statistic on blob image, the roi must have been saved some where. Can anyone provide some insight to perform this in a more efficient way ?

0 Kudos
Message 1 of 2
(2,456 Views)
Solution
Accepted by topic author marxious

You can use IMAQ Particle Analysis(http://zone.ni.com/reference/en-XX/help/370281M-01/imaqvision/imaq_particle_analysis/) to get the ROI of each Particle in array and many more measurements which you can select.

-For more on Measurements: https://zone.ni.com/reference/en-XX/help/370281AC-01/nivisionconcepts/particle_measurements/

Thanks
uday
0 Kudos
Message 2 of 2
(2,384 Views)