How to filter with perimeter?

How could I reduce some object from above image by perimeter?
That is i want to keep those blobs which has the perimeter ratio between bbox and the object is 0.4 to 1.2.

回答 (1 件)

Steven Lewis
Steven Lewis 2017 年 11 月 15 日

0 投票

You can use bwpropfilt with the perimeter attribute, then set the specific perimeter values you want.

質問済み:

2017 年 8 月 11 日

回答済み:

2017 年 11 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by