11-30-2015 03:50 AM
HI All,
I want to find out the histogram of some selected regions in an image. These selected regions are present in a binary image(mask image).
Now I want to get the histogram of each region. How can this be done in a quick way?
What I can think of is converting the mask image into a labelled image and then use a for loop to threshold out each particle and then use imaq histogram to find the histogram of each particle.
Is there any better/faster way?
Thank You,
Regards
Aveo
12-02-2015 01:03 PM
Sounds like an excellent job for a custom C++ blob analysis VI that accumulates histograms as it scans for blobs in the image.
Have fun!
Nelson Bridwell