Can someone help me to remove small region area with regionprops?

11 次查看(过去 30 天)
I wish to remove the small region area with regionprops but I quiet new to matlab and image processing. The pixel intensity is 0 and 1, should i change to 0 and 255? Can anyone help me?

采纳的回答

AndresVar
AndresVar 2022-3-14
编辑:AndresVar 2022-3-14
There is an example in the documentation.
If you scroll down to the end it shows how it uses regionprops internally.
I suppose binary image [0 1] works best.

更多回答(1 个)

Walter Roberson
Walter Roberson 2022-3-14
bwareafilt can be used to select areas by size

标签

Community Treasure Hunt

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

Start Hunting!

Translated by