On Tuesday 14 March 2006 10:13, Marco Bravi wrote:
> I am in need of characterising alimentary paste, such as rigatoni and
> fusilli. My basic need would be to characterise 1. the two dimensions of
> the smallest circumscribed rectangle to each piece of pasta and 2. the
> length of the skeleton of each piece of pasta and the distance between
> the tips thereof.
The smallest bounding rectangle can be calculated with something called
"rotating calipers algorithm". I am not aware of any plugin to do this.
I've been intending to modify Particles8_Plus plugin to analyse collections of
lines, but I haven't got anything definitive yet. An approximation to the
length of the skeleton that one can currently calculate is the number of
pixels in the skeleton.
The Particles8_Plus plugin returns a few parameters that may be of use,
including the
ArBBox = Feret*Breadth. This is the area of the Bounding Box along the maximum
Feret diameter, but it is not necessarily the minimal bounding box.
http://www.dentistry.bham.ac.uk/landinig/software/software.htmlI hope it helps.
Gabriel