latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class mapperFunctor More...
#include <ltiMapperFunctor.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
virtual functor::parameters * | clone () const |
void | generateFrom (const histogram &histo) |
Public Attributes | |
vector< Tin > | lowerLimitsInput |
vector< Tin > | upperLimitsInput |
vector< Tout > | lowerLimitsOutput |
vector< Tout > | upperLimitsOutput |
the parameters for the class mapperFunctor
lti::mapperFunctor< Tin, Tout >::parameters::parameters | ( | void | ) | [inline] |
default constructor
Reimplemented from lti::functor::parameters.
Reimplemented in lti::linearMapperFunctor< Tin, Tout >::parameters, and lti::linearSatMapperFunctor< Tin, Tout >::parameters.
Referenced by lti::mapperFunctor< Tin, Tout >::parameters::clone().
lti::mapperFunctor< Tin, Tout >::parameters::parameters | ( | const parameters & | other | ) | [inline] |
copy constructor
other | the parameters object to be copied |
Reimplemented in lti::linearMapperFunctor< Tin, Tout >::parameters, and lti::linearSatMapperFunctor< Tin, Tout >::parameters.
References lti::mapperFunctor< Tin, Tout >::parameters::copy().
lti::mapperFunctor< Tin, Tout >::parameters::~parameters | ( | ) | [inline, virtual] |
destructor
Reimplemented from lti::functor::parameters.
Reimplemented in lti::linearMapperFunctor< Tin, Tout >::parameters, and lti::linearSatMapperFunctor< Tin, Tout >::parameters.
virtual functor::parameters* lti::mapperFunctor< Tin, Tout >::parameters::clone | ( | ) | const [inline, virtual] |
returns a pointer to a clone of the parameters
Implements lti::functor::parameters.
Reimplemented in lti::linearMapperFunctor< Tin, Tout >::parameters, and lti::linearSatMapperFunctor< Tin, Tout >::parameters.
References lti::mapperFunctor< Tin, Tout >::parameters::parameters().
parameters& lti::mapperFunctor< Tin, Tout >::parameters::copy | ( | const parameters & | other | ) | [inline] |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented in lti::linearMapperFunctor< Tin, Tout >::parameters, and lti::linearSatMapperFunctor< Tin, Tout >::parameters.
References lti::genericVector< T >::copy(), lti::functor::parameters::copy(), lti::mapperFunctor< Tin, Tout >::parameters::lowerLimitsInput, lti::mapperFunctor< Tin, Tout >::parameters::lowerLimitsOutput, lti::mapperFunctor< Tin, Tout >::parameters::upperLimitsInput, and lti::mapperFunctor< Tin, Tout >::parameters::upperLimitsOutput.
Referenced by lti::mapperFunctor< Tin, Tout >::parameters::parameters().
void lti::mapperFunctor< Tin, Tout >::parameters::generateFrom | ( | const histogram & | histo | ) | [inline] |
use the description of a histogram to initialize the parameter members.
The size of the four limits-vectors will be changed to the dimensionality of the histogram, and the output range will be set to the valid range of the histogram. The input intervall will be left uninitialized! (normally you will use fill to set the values you want here: see lti::ltiLinearMapperFunctor for an example)
References lti::genericVector< T >::castFrom(), lti::thistogram< T >::dimensions(), lti::thistogram< T >::getFirstCell(), lti::thistogram< T >::getLastCell(), lti::mapperFunctor< Tin, Tout >::parameters::lowerLimitsInput, lti::mapperFunctor< Tin, Tout >::parameters::lowerLimitsOutput, lti::genericVector< T >::resize(), lti::mapperFunctor< Tin, Tout >::parameters::upperLimitsInput, and lti::mapperFunctor< Tin, Tout >::parameters::upperLimitsOutput.
const char* lti::mapperFunctor< Tin, Tout >::parameters::getTypeName | ( | void | ) | const [inline, virtual] |
returns name of this type
Reimplemented from lti::functor::parameters.
Reimplemented in lti::linearMapperFunctor< Tin, Tout >::parameters, and lti::linearSatMapperFunctor< Tin, Tout >::parameters.
vector<Tin> lti::mapperFunctor< Tin, Tout >::parameters::lowerLimitsInput |
a vector with the input dimensionality, which contains the lower bounds of the input vector space.
Referenced by lti::mapperFunctor< Tin, Tout >::parameters::copy(), and lti::mapperFunctor< Tin, Tout >::parameters::generateFrom().
vector<Tout> lti::mapperFunctor< Tin, Tout >::parameters::lowerLimitsOutput |
a vector with the output dimensionality, which contains the lower bounds of the output vector space.
Referenced by lti::mapperFunctor< Tin, Tout >::parameters::copy(), and lti::mapperFunctor< Tin, Tout >::parameters::generateFrom().
vector<Tin> lti::mapperFunctor< Tin, Tout >::parameters::upperLimitsInput |
a vector with the input dimensionality, which contains the upper bounds of the input vector space
Referenced by lti::mapperFunctor< Tin, Tout >::parameters::copy(), and lti::mapperFunctor< Tin, Tout >::parameters::generateFrom().
vector<Tout> lti::mapperFunctor< Tin, Tout >::parameters::upperLimitsOutput |
a vector with the output dimensionality, which contains the upper bounds of the output vector space
Referenced by lti::mapperFunctor< Tin, Tout >::parameters::copy(), and lti::mapperFunctor< Tin, Tout >::parameters::generateFrom().