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
_______________________________________________
scikit-image mailing list
[email protected]
https://mail.python.org/mailman/listinfo/scikit-image