|
latest version v1.9 - last update 10 Apr 2010 |
|
This functor generates an "opponent color" channel from the given two channels, one representing the center, the other representing the surround. More...
#include <ltiOpponentColor.h>


Classes | |
| class | parameters |
| the parameters for the class opponentColor More... | |
Public Member Functions | |
| opponentColor () | |
| opponentColor (const opponentColor &other) | |
| virtual | ~opponentColor () |
| virtual const char * | getTypeName () const |
| bool | apply (const lti::channel ¢erSrc, const lti::channel &surroundSrc, lti::channel &dest) const |
| opponentColor & | copy (const opponentColor &other) |
| virtual functor * | clone () const |
| const parameters & | getParameters () const |
This functor generates an "opponent color" channel from the given two channels, one representing the center, the other representing the surround.
The idea is to inhibit the response of a center region in a receptive field with the responce of a surround region.
________
/ \
/ ____ \
| / \ |
| |Center| |
| \____/ |
\ Surround /
\________/
Usually, the surround pyramid-level is higher (lower resolution) than the center, to simulate this consideration of a larger region in the receptive field.
Common used opponent color channels (Center-Surround) are the Red-Green, Green-Red, Blue-Yellow, Yellow-Blue. But of course other combinations can be employed (-Red+Green, etc.).
| lti::opponentColor::opponentColor | ( | ) |
default constructor
| lti::opponentColor::opponentColor | ( | const opponentColor & | other | ) |
copy constructor
| other | the object to be copied |
| virtual lti::opponentColor::~opponentColor | ( | ) | [virtual] |
destructor
| bool lti::opponentColor::apply | ( | const lti::channel & | centerSrc, | |
| const lti::channel & | surroundSrc, | |||
| lti::channel & | dest | |||
| ) | const |
| virtual functor* lti::opponentColor::clone | ( | ) | const [virtual] |
returns a pointer to a clone of this functor.
Implements lti::functor.
| opponentColor& lti::opponentColor::copy | ( | const opponentColor & | other | ) |
copy data of "other" functor.
| other | the functor to be copied |
Reimplemented from lti::functor.
| const parameters& lti::opponentColor::getParameters | ( | ) | const |
returns used parameters
Reimplemented from lti::transform.
| virtual const char* lti::opponentColor::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("opponentColor")
Reimplemented from lti::transform.