How to measure circularity??
60 views (last 30 days)
Nisreen Sulayman on 20 Dec 2014
How to measure circularity ? What is wrong in this code?
CC=bwconncomp(BW); %BW binary image
stats = regionprops(CC, 'all');
stats.circularity = ((stats.Perimeter) .^2 )./ (4*(pi*(stats.Area)))
More Answers (6)
Matt J on 21 Dec 2014
It might also be useful to check whether the Eccentricity and Solidity of a region are above a certain threshold.