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)?