Which one is best for calculating circularity ?
Show older comments
Hi all, I need to calculate objects roundness.I am not sure about which of the below ones is the best choice for this purpose.
- R= 4*pi*A/P^2; where A is area in pixels, P is Perimeter.
-Eccentricity
Thank you for your opinions.particles I need to measure are like this :

4 Comments
RAKESH KUCHANA
on 14 Jun 2021
Hello sir, How can anyone specify the MATLAB code for the given image to to identify circularity of the following image.

Image Analyst
on 15 Jun 2021
@RAKESH KUCHANA, see my edited answer below for mode expanded code than before. If you still have questions, attach your code and image(s) in a new question.
RAKESH KUCHANA
on 15 Jun 2021
Can you explain code for how to remove small white dot areas (in the red colour bounded areas) in the given image?

Image Analyst
on 15 Jun 2021
@RAKESH KUCHANA, no, not here in Muhammet's 8 year old question (he's probably not interested in your problem), but we will in your new question if you post it.
Accepted Answer
More Answers (2)
Amith Kamath
on 22 Aug 2013
5 votes
I would do one of the following:
1. Use the 'solidity' option in REGIONPROPS to estimate how 'curvy' the blob is, and solidity is defined as the area/convexArea.
2. Use the 'MajorAxisLength' and 'MinorAxisLength' properties in REGIONPROPS and compare the two. If they are close to equal, the object would be more circular (in most cases).
3. Use 'Area' and 'Perimeter' from REGIONPROPS to estimate circularity in my custom code. http://www.mathworks.com/matlabcentral/newsreader/view_thread/292521 may be useful to see.
Shashank Prasanna
on 22 Aug 2013
1 vote
Categories
Find more on Region and Image Properties 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!