ACT-CV - Machine Vision for Cognitive Modeling
|
base class for matching More...
#include <Matcher.h>
Public Member Functions | |
MatchBase (const char *targetName) | |
MatchBase (const char *targetName, const char *fileName) | |
MatchBase (const char *targetName, const char *fileName, int posX, int posY, int sizeX, int sizeY) | |
virtual | ~MatchBase () |
virtual void | Match (const IplImage *src)=0 |
virtual bool | TargetFound () const =0 |
const char * | GetVisiconName () const |
int | GetWidth () const |
int | GetHeight () const |
Public Member Functions inherited from ReferenceCount | |
ReferenceCount () | |
virtual | ~ReferenceCount () |
void | IncRefCount () |
void | DecRefCount () |
Protected Member Functions | |
MatchBase () | |
Protected Attributes | |
IplImage * | target |
CvSize | srcSize |
GCPointer< GCString > | name |
base class for matching
holds the target image and the ACT-R visicon name
MatchBase::MatchBase | ( | const char * | targetName) |
MatchBase::MatchBase | ( | const char * | targetName, |
const char * | fileName | ||
) |
MatchBase::MatchBase | ( | const char * | targetName, |
const char * | fileName, | ||
int | posX, | ||
int | posY, | ||
int | sizeX, | ||
int | sizeY | ||
) |
|
virtual |
const char* MatchBase::GetVisiconName | ( | ) | const |
Definition at line 104 of file Matcher.h.
References GCString::GetString(), and name.
|
pure virtual |
Implemented in MatchContour, and MatchImage.
|
pure virtual |
Implemented in MatchContour, and MatchImage.
name in ACT-R visicon
Definition at line 55 of file Matcher.h.
Referenced by GetVisiconName(), MatchContour::Match(), MatchContour::MatchContour(), and MatchContour::~MatchContour().
|
protected |
needed to detect changes of the size
Definition at line 53 of file Matcher.h.
Referenced by MatchImage::Match(), MatchContour::Match(), and MatchBase().
|
protected |
the image to find
Definition at line 51 of file Matcher.h.
Referenced by GetHeight(), GetWidth(), MatchImage::Match(), MatchBase(), MatchContour::MatchContour(), and ~MatchBase().