latest version v1.9 - last update 10 Apr 2010 |
Parent class for all corner detectors. More...
#include <ltiCornerDetector.h>
Classes | |
class | parameters |
the parameters for the class cornerDetector More... | |
Public Member Functions | |
cornerDetector () | |
cornerDetector (const cornerDetector &other) | |
virtual | ~cornerDetector () |
virtual const char * | getTypeName () const |
virtual bool | apply (channel8 &srcdest) const |
virtual bool | apply (channel &srcdest) const |
virtual bool | apply (const channel8 &src, channel8 &dest) const |
virtual bool | apply (const channel &src, channel &dest) const |
virtual bool | apply (const channel8 &src, pointList &dest) const =0 |
virtual bool | apply (const channel &src, pointList &dest) const =0 |
cornerDetector & | copy (const cornerDetector &other) |
cornerDetector & | operator= (const cornerDetector &other) |
virtual functor * | clone () const =0 |
const parameters & | getParameters () const |
Parent class for all corner detectors.
A corner detector finds "corner" pixels, where the definition of corner depends on the algorithm used.
The most algorithms compute a "cornerness" value, and then select the local maxima.
The interface specify two ways to return the corner points. The first one generates an image with the same dimensions of the original one, with the values parameters::noCornerValue and parameters::cornerValue. (For the channel apply, these values are scaled by 255).
lti::cornerDetector::cornerDetector | ( | ) |
default constructor
lti::cornerDetector::cornerDetector | ( | const cornerDetector & | other | ) |
copy constructor
other | the object to be copied |
virtual lti::cornerDetector::~cornerDetector | ( | ) | [virtual] |
destructor
virtual bool lti::cornerDetector::apply | ( | const channel & | src, | |
pointList & | dest | |||
) | const [pure virtual] |
operates on a copy of the given parameters.
src | channel with the source data. | |
dest | list of corners |
Implemented in lti::harrisCorners, and lti::susanCorners.
virtual bool lti::cornerDetector::apply | ( | const channel8 & | src, | |
pointList & | dest | |||
) | const [pure virtual] |
operates on a copy of the given parameters.
src | channel8 with the source data. | |
dest | list of corners |
Implemented in lti::harrisCorners, and lti::susanCorners.
operates on a copy of the given parameters.
Reimplemented from lti::modifier.
Reimplemented in lti::harrisCorners, and lti::susanCorners.
operates on a copy of the given parameters.
Reimplemented from lti::modifier.
Reimplemented in lti::harrisCorners, and lti::susanCorners.
virtual bool lti::cornerDetector::apply | ( | channel & | srcdest | ) | const [virtual] |
operates on the given parameter.
srcdest | channel with the source data. The result will be left here too. |
Reimplemented from lti::modifier.
Reimplemented in lti::harrisCorners, and lti::susanCorners.
virtual bool lti::cornerDetector::apply | ( | channel8 & | srcdest | ) | const [virtual] |
operates on the given parameter.
srcdest | channel8 with the source data. The result will be left here too. |
Reimplemented from lti::modifier.
Reimplemented in lti::harrisCorners, and lti::susanCorners.
virtual functor* lti::cornerDetector::clone | ( | ) | const [pure virtual] |
returns a pointer to a clone of this functor.
Implements lti::functor.
Implemented in lti::harrisCorners, and lti::susanCorners.
cornerDetector& lti::cornerDetector::copy | ( | const cornerDetector & | other | ) |
copy data of "other" functor.
other | the functor to be copied |
Reimplemented from lti::functor.
Reimplemented in lti::harrisCorners, and lti::susanCorners.
const parameters& lti::cornerDetector::getParameters | ( | ) | const |
returns used parameters
Reimplemented from lti::modifier.
Reimplemented in lti::harrisCorners, and lti::susanCorners.
virtual const char* lti::cornerDetector::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("cornerDetector")
Reimplemented from lti::modifier.
Reimplemented in lti::harrisCorners, and lti::susanCorners.
cornerDetector& lti::cornerDetector::operator= | ( | const cornerDetector & | other | ) |
alias for copy member
other | the functor to be copied |
Reimplemented from lti::functor.
Reimplemented in lti::harrisCorners, and lti::susanCorners.