determine shape smoothness/roughness
3 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
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
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.
See Also
Categories
Find more on Computational Geometry in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!