Dilution is a good idea, but you really don't need it if you can binarize: blob contours will produce equally good curves.


Follow each curve in turn and evaluate the curvature, for example, by determining the deviation from the line segment between two points fifty pixels from each other.
, .