How to calculate amount of connected pixels in blob of an intensity image

4 次查看(过去 30 天)
Hello,
My aim is to calculate the amount of connected pixels in a 'blob'.
I only need to know the amount in the blob with the largest number of pixels.
I only want to include pixels in the blob that have a value greater than 1.
I have included two examples of the type of intensity images I am looking to analyse.
I have looked into regionprops but either I don't understand it or it isn't what I'm looking for.
Any help is really appreciated.
Many thanks,
Ollie

采纳的回答

Matt J
Matt J 2021-3-31
编辑:Matt J 2021-3-31
area=bwarea( bwareafilt(intensityImage>1,1) )

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by