# Measuring Circularity of a set of Co-planar points

I am trying to find a way to quantify how circular or symmetric a shape is. What is a good way to measure the circularity of these set of points?

I already have the coordinates of the points along the perimeter of the shape.

The image below shows the location of the points with the centre taken to be the centre of mass.

• Can you clarify? Do you want to study if the shape is really circular, or if the distribution of points around the shape is uniform, or ... ? – kjetil b halvorsen Nov 2 '20 at 12:33
• Although there are several ways one could apply chi-squared statistics to this problem (such as a goodness of fit test), the question strikes me as backwards, because the focus on chi-squared rules out potentially better alternatives. Why not ask "what is a good way to measure the circularity of a set of (planar) points"? Of course the meaning of "good" must depend on your objectives, so you will need to provide enough context for us to understand them. – whuber Nov 2 '20 at 14:29
• @whuber thank you I will make an edit to the question. – Oliver Moore Nov 2 '20 at 14:38

A check of circularity is whether "radius" is constant given a centre. I suppose that's your null model and you could see how much better e.g. an ellipse might be.

The variability of radial spike lengths could be taken as a measure of non-circularity.

It's hard to take this further with some injection of the underlying science, e.g. why might shapes be circular. The circle is an extreme shape statistically, for all that it might appeal as a simple reference.

EDIT https://www.routledge.com/Circular-and-Linear-Regression-Fitting-Circles-and-Lines-by-Least-Squares/Chernov/p/book/9781439835906 is a monograph on this topic. I have no access to it right now to comment.

I see a potential problem using chi square because presumably your "expected" value of deviation away from the circle is 0, and you can't divide by 0 Suppose you

1. Find the average radius. You'll need a way to determine the "center" of your shape.
2. Create bins of different distances from the center ex: radius +/- 1 mm, (radius - 2 mm) +/- 1 mm,
3. Count how many points fall into each bin
4. Calculate chi-square with expectation a) your expectation is that all points fall into the radius +/- 1 mm bin so you could calculate that term BUT b) for the other bins, if your expectation of the ideal data set is that the points are circular, then you expect no stray away from the circle, and you'd be dividing by 0