Clear Filters
Clear Filters

How to filter with perimeter?

2 views (last 30 days)
Dominic
Dominic on 11 Aug 2017
Answered: Steven Lewis on 15 Nov 2017
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.

Answers (1)

Steven Lewis
Steven Lewis on 15 Nov 2017
You can use bwpropfilt with the perimeter attribute, then set the specific perimeter values you want.

Community Treasure Hunt

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

Start Hunting!