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

SeedRgDirectValueFunctor< Value > Class Template Reference

Statistics functor to be used for seeded region growing. More...

#include <vigra/seededregiongrowing.hxx>

Public Types

typedef Value argument_type
 
typedef Value cost_type
 
typedef Value result_type
 
typedef Value value_type
 

Public Member Functions

cost_type constcost (argument_type const &v) const
 
void operator() (argument_type const &) const
 

Detailed Description

template<class Value>
class vigra::SeedRgDirectValueFunctor< Value >

Statistics functor to be used for seeded region growing.

This functor can be used if the cost of a candidate during seededRegionGrowing() is equal to the feature value of that candidate and does not depend on properties of the region it is going to be merged with.

#include <vigra/seededregiongrowing.hxx>
Namespace: vigra

Member Typedef Documentation

◆ argument_type

template<class Value >
typedef Value argument_type

the functor's argument type

◆ result_type

template<class Value >
typedef Value result_type

the functor's result type (unused, only necessary for use of SeedRgDirectValueFunctor in vigra::ArrayOfRegionStatistics

◆ value_type

template<class Value >
typedef Value value_type
Deprecated:
use argument_type

◆ cost_type

template<class Value >
typedef Value cost_type

the return type of the cost() function

Member Function Documentation

◆ operator()()

template<class Value >
void operator() ( argument_type const ) const

Do nothing (since we need not update region statistics).

◆ cost()

template<class Value >
cost_type const & cost ( argument_type const v) const

Return argument (since cost is identical to feature value)


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.11.2