In image processing, elongatedness for a region is the ratio between the length and width of the minimum bounding rectangle of the region.
In image processing, shape factor for a region is the ratio between its length and width, calculated from the minimum enclosing rectangle.