cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

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

Highlighted

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

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
(109 Views)

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

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
If the post helped click on yellow star below
0 Kudos
Message 2 of 2
(37 Views)