[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
RegionCircularity Class Reference |
Compute the circularity of a 2D region. More...
#include <vigra/accumulator.hxx>
Compute the circularity of a 2D region.
The is the ratio between the perimeter of a circle with the same area as the present region and the perimeter of the region, i.e.
, where a and p are the area and length of the polygon returned by RegionContour.
AccumulatorChain must be used with CoupledIterator in order to have access to pixel coordinates.
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|