Round Threshold?

I want to set Matlab to crop out any objects below a certain "roundness" using regionprops. I have the idea down. Can someone help me with how to implement it?

1 Comment

What do you have so far?
Hint:
Use the PixelIdxList field of CC, the output from BWCONNCOMP. This gives you direct access to the pixels you need to kill for each object you wish to kill.

Sign in to comment.

Answers (0)

Asked:

on 9 May 2012

Community Treasure Hunt

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

Start Hunting!