06-09-2012 12:41 PM
Hi everybody,
I am trying to creat masks for each particles labeled by IMAQ label.vi. What I did was to use IMAQ labeltoroi, get the ROI for each particle, and do IMAQ roitomask 2. However, the images of these masks are relative images. Do you know how to creat masks in the coordinate of the original image?
Best,
Doogie
Solved! Go to Solution.
06-10-2012 08:02 AM
I think the lable particle just sets the value of each blob in a class to some integer ie 1,2,3,4 for 4 groups, (I dont have LV here right now so this is from, memory). You can just itterate through the lable values and use the compare image function or threshold in range to make masks where you keep pixels that are equal to this value. This will make a new image with only the pixes =1 where the value is the same as the labled value, it will have the same size and shape as the original lable image.
06-10-2012 03:04 PM
HI Falkpl,
It seems I did redundant steps after I had used IMAQ label vi. I have all the information by doing IMAQ label.
Thanks,
Doogie