LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::curvatureFeature Class Reference

The curvature feature is similar to the lti::orientationFeature, but instead of creating a histogram of the pixel orientations, a histogram of the curvature of a pixel will be done, considering also the "relevance" channel when constructing it. More...

#include <ltiCurvatureFeature.h>

Inheritance diagram for lti::curvatureFeature:
Inheritance graph
[legend]
Collaboration diagram for lti::curvatureFeature:
Collaboration graph
[legend]

List of all members.

Classes

class  parameters
 the parameters for the class curvatureFeature More...

Public Member Functions

 curvatureFeature ()
 curvatureFeature (const curvatureFeature &other)
virtual ~curvatureFeature ()
virtual const char * getTypeName () const
bool apply (const channel &orientation, const channel &relevance, dvector &dest) const
bool apply (const channel &orientation, const channel &relevance, channel &dest) const
bool apply (const channel &orientation, const channel &relevance, channel &dest, dvector &vct) const
curvatureFeaturecopy (const curvatureFeature &other)
curvatureFeatureoperator= (const curvatureFeature &other)
virtual functorclone () const
const parametersgetParameters () const

Detailed Description

The curvature feature is similar to the lti::orientationFeature, but instead of creating a histogram of the pixel orientations, a histogram of the curvature of a pixel will be done, considering also the "relevance" channel when constructing it.

All values in the relevance channel smaller than the relevanceThreshold will be ignored (will be marked with zero curvature).

The curvature is defined as the derivative of the tangent of a given contour. This will be approximated here using the differences of orientation between the neighbour pixels.


Constructor & Destructor Documentation

lti::curvatureFeature::curvatureFeature (  ) 

default constructor

lti::curvatureFeature::curvatureFeature ( const curvatureFeature other  ) 

copy constructor

Parameters:
other the object to be copied
virtual lti::curvatureFeature::~curvatureFeature (  )  [virtual]

destructor


Member Function Documentation

bool lti::curvatureFeature::apply ( const channel orientation,
const channel relevance,
channel dest,
dvector vct 
) const

Computes a curvature channel and the corresponding feature vector from the given orientation and relevance channels.

Parameters:
orientation channel with the angle of the tangent for all pixels
relevance channel with a "relevance"-degree for the orientation channel. Values of 0 mean, the angle in the orientation channel has to be ignored, and 1 that the value in the orientation channel is reliable.
dest channel with the curvature value computed for each pixel.
vct feature vector
Returns:
true if apply successful or false otherwise.
bool lti::curvatureFeature::apply ( const channel orientation,
const channel relevance,
channel dest 
) const

Computes a curvature channel from the given orientation and relevance channels.

Parameters:
orientation channel with the angle of the tangent for all pixels
relevance channel with a "relevance"-degree for the orientation channel. Values of 0 mean, the angle in the orientation channel has to be ignored, and 1 that the value in the orientation channel is reliable.
dest channel with the curvature value computed for each pixel.
Returns:
true if apply successful or false otherwise.
bool lti::curvatureFeature::apply ( const channel orientation,
const channel relevance,
dvector dest 
) const

compute the feature vector

Parameters:
orientation channel with the angle of the tangent for all pixels
relevance channel with a "relevance"-degree for the orientation channel. Values of 0 mean, the angle in the orientation channel has to be ignored, and 1 that the value in the orientation channel is reliable.
dest feature vector.
Returns:
true if apply successful or false otherwise.
virtual functor* lti::curvatureFeature::clone (  )  const [virtual]

returns a pointer to a clone of this functor.

Reimplemented from lti::globalFeatureExtractor.

curvatureFeature& lti::curvatureFeature::copy ( const curvatureFeature other  ) 

copy data of "other" functor.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

Reimplemented from lti::globalFeatureExtractor.

const parameters& lti::curvatureFeature::getParameters (  )  const

returns used parameters

Reimplemented from lti::globalFeatureExtractor.

virtual const char* lti::curvatureFeature::getTypeName (  )  const [virtual]

returns the name of this type ("curvatureFeature")

Reimplemented from lti::globalFeatureExtractor.

curvatureFeature& lti::curvatureFeature::operator= ( const curvatureFeature other  ) 

alias for copy member

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

Reimplemented from lti::functor.


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

Generated on Sat Apr 10 15:27:11 2010 for LTI-Lib by Doxygen 1.6.1