A new linearity measure is developed for open curve segments in 2
The measure is based on the curve end points and the curve centroid.
The measure is simple to compute.
The measure ranges over the interval
The measure is invariant with respect to translations, rotations and scalings.