[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

ConvexHullFeatures Class Reference

Compute object features related to the convex hull. More...

#include <vigra/accumulator.hxx>

Classes

struct  Impl
 Result type of the covex hull feature calculation. More...
 

Detailed Description

Compute object features related to the convex hull.

AccumulatorChain must be used with CoupledIterator in order to have access to pixel coordinates. The convex hull features are only available when WITH_LEMON is set.

Minimal example how to calculate the features:

// "labels" is the array with the region labels
// Set up the accumulator chain and ignore the zero label
chain.ignoreLabel(0);
// Extract the features
// Finalize the calculation for label 1
// Get the features
... = getAccumulator<ConvexHullFeatures>(chain, 1).inputCenter();
Class for a single RGB value.
Definition rgbvalue.hxx:128
Create an array of accumulator chains containing the selected per-region and global statistics and th...
Definition accumulator.hxx:2383
Compute object features related to the convex hull.
Definition accumulator.hxx:6380
void extractFeatures(...)

The documentation for this class was generated from the following file:

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de)
Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany

html generated using doxygen and Python
vigra 1.12.2