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.

Respuestas (1)

Steven Lewis
Steven Lewis el 15 de Nov. de 2017

0 votos

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

Preguntada:

el 11 de Ag. de 2017

Respondida:

el 15 de Nov. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by