Image intensity measure.regionprops

July 14, 2017
5:23 a.m.
Hi scikit-image users/devs, I'm using skimage.measure.regionprops and I'm little bit confused about a result I get with it. I'm working with a zstack of a microscopy image that I have segmented/label and I'm trying to get the mean intensity of the labeled region: region_props = measure.regionprops(label_image, intensity_image)
If now I do: for prop in region_prop: print('x', prop.mean_intensity)
print('y', np.mean(prop.intensity_image))
prop.mean_intensity and np.mean(prop.intensity_image) give me different value, which confuse me. Can someone help me understand why I'm getting something different? Thank you in advance for your help. Sincerely, Cedric
2795
Age (days ago)
2795
Last active (days ago)
0 comments
1 participants
participants (1)
-
Cedric Espenel