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

lti::borderSignature Class Reference

This functor extracts a functional border description from a borderPoint list. More...

#include <ltiBorderSignature.h>

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

List of all members.

Classes

class  parameters
 the parameters for the class borderSignature More...

Public Member Functions

 borderSignature ()
 borderSignature (const borderSignature &other)
virtual ~borderSignature ()
virtual const char * getTypeName () const
bool apply (const pointList &src, dvector &segmentation) const
borderSignaturecopy (const borderSignature &other)
virtual functorclone () const
const parametersgetParameters () const
virtual bool updateParameters ()

Detailed Description

This functor extracts a functional border description from a borderPoint list.

Therefore it divides the 2D-space into radial segments of equal size, originating from the given "center". Then it evaluates some function for the borderPoints, that lie within each segment. The result is stored in a lti::dvector.

The starting segments angle can be specified by the parameter "orientation". There are two methods of operation: "area" and "distance". The "area" method calculates the area proportion within each segment, normalized with the total area. The "distance" method calulates either the minimum, maximum or the average distance to the center point within a segment. This is specified by the "distanceType" parameter.


Constructor & Destructor Documentation

lti::borderSignature::borderSignature (  ) 

default constructor

lti::borderSignature::borderSignature ( const borderSignature other  ) 

copy constructor

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

destructor


Member Function Documentation

bool lti::borderSignature::apply ( const pointList src,
dvector segmentation 
) const [virtual]

operates on a copy of the given parameters.

Parameters:
src pointList with the source data.
segmentation dvector where the signature will be left.
Returns:
true if apply successful or false otherwise.

Reimplemented from lti::shapeFeatureExtractor.

virtual functor* lti::borderSignature::clone (  )  const [virtual]

returns a pointer to a clone of this functor.

Reimplemented from lti::shapeFeatureExtractor.

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

copy data of "other" functor.

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

Reimplemented from lti::shapeFeatureExtractor.

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

returns used parameters

Reimplemented from lti::shapeFeatureExtractor.

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

returns the name of this type ("borderSignature")

Reimplemented from lti::shapeFeatureExtractor.

virtual bool lti::borderSignature::updateParameters (  )  [virtual]

sets the functor's parameters.

Reimplemented from lti::functor.


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

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