determine shape smoothness/roughness

3 views (last 30 days)
George
George on 30 Nov 2013
Edited: Image Analyst on 30 Nov 2013
I am trying to do a small program to differentiate a smooth shape from a rough shape, the left image is a smooth shape and the right one is the rough shape,
any ideas?

Answers (1)

Image Analyst
Image Analyst on 30 Nov 2013
Usually I use the circularity which is perimeter^2 / (4*pi*Area). This will be higher for blobs with more tortuous borders. You could also use solidity, as returned from regionprops().
  3 Comments
George
George on 30 Nov 2013
the perimeter can get from regionprops() as well or there is another equation to get it?
Image Analyst
Image Analyst on 30 Nov 2013
Edited: Image Analyst on 30 Nov 2013
Yes, you can get perimeter and area from regionprops(), as well as lots of other things.

Sign in to comment.

Categories

Find more on Computational Geometry in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!