Measuring Regions in Grayscale Images
This Grayscale Images shows how to measure properties of objects in a grayscale image.
The function regionprops is very useful for measuring the properties of
objects in a binary image. There are documentation examples and product
Grayscale Imagesshowing how to do this.
But sometimes you need to process pixel values in the "original"
grayscale image. In other words, suppose your process is something like
this:
1. Segment grayscale image to get a binary image of objects.
2. Analyze the original grayscale pixel values corresponding to each
object in the binary image.