views:

46

answers:

1

Im developing an image analysis app and need to calculate the aspect ratio of a segmented particle.

According to http://www.sympatec.com/Science/Characterisation/05_ParticleShape.html the AR is given by (FIG 1) Xfmin/Xfmax.

Any suggestion of an algorithm to get this values (Xf)?

+2  A: 

You seem to want the width and diameter of a concave polygon. Maybe you can use the rotating caliper algorithm for that, maybe after splitting your concave polygon in a number of convex polygons.

Sjoerd