How to filter with perimeter?

2 次查看(过去 30 天)
Dominic
Dominic 2017-8-11
回答: Steven Lewis 2017-11-15
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
You can use bwpropfilt with the perimeter attribute, then set the specific perimeter values you want.

类别

Help CenterFile Exchange 中查找有关 Feature Detection and Extraction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by