Here's the physical intuition:
If you cut drops on a piece of the map, you can find its center of gravity, and then attach the axis to it, crossing this point (the axis will be parallel to the map), and then twist it and measure the moment of inertia. Depending on the shape, you can get different values depending on how you place the axis. For an ellipse, you get the smallest value when the axis is attached along the long (main) axis and the largest when the axis is placed along the short axis (so that most of the map is far from the axis). Of course, inertia is always the same for a circle.
If there are different values, there will always be inertia "max" with some orientation, and "min" with an axis located 90 degrees from "max". The inertia ratio is simply the ratio between these interactions, min / max.
For shapes that are not ellipses, the metric tells you whether the overall shape is roughly elongated or roughly the same size in all directions; without caring, in particular, about an uneven border or cuts and concavity (on which roundness and convexity are visible).
Mathematically, he does something like this:
- Consider the set of points inside the blob as a collection of (x, y) samples
- Find the average of them and the covariance matrix x vs. y
- Find two eigenvalues of the covariance matrix (which coincide with its singular values due to the nature of this matrix)
- The inertia ratio is the ratio between these two values, the smallest / largest.
greggo
source share