latest version v1.9 - last update 10 Apr 2010 |
This functor extracts a functional border description from a borderPoint list. More...
#include <ltiBorderSignature.h>
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 |
borderSignature & | copy (const borderSignature &other) |
virtual functor * | clone () const |
const parameters & | getParameters () const |
virtual bool | updateParameters () |
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.
lti::borderSignature::borderSignature | ( | ) |
default constructor
lti::borderSignature::borderSignature | ( | const borderSignature & | other | ) |
copy constructor
other | the object to be copied |
virtual lti::borderSignature::~borderSignature | ( | ) | [virtual] |
destructor
operates on a copy of the given parameters.
src | pointList with the source data. | |
segmentation | dvector where the signature will be left. |
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.
other | the functor to be copied |
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.