ACT-CV - Machine Vision for Cognitive Modeling
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MatchBase Class Referenceabstract

base class for matching More...

#include <Matcher.h>

Inheritance diagram for MatchBase:
Inheritance graph
Collaboration diagram for MatchBase:
Collaboration graph

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< GCStringname
 

Detailed Description

base class for matching

holds the target image and the ACT-R visicon name

Definition at line 48 of file Matcher.h.

Constructor & Destructor Documentation

MatchBase::MatchBase ( )
protected

Definition at line 57 of file Matcher.h.

References srcSize.

MatchBase::MatchBase ( const char *  targetName)

Definition at line 64 of file Matcher.h.

References srcSize.

MatchBase::MatchBase ( const char *  targetName,
const char *  fileName 
)

Definition at line 69 of file Matcher.h.

References srcSize, and target.

MatchBase::MatchBase ( const char *  targetName,
const char *  fileName,
int  posX,
int  posY,
int  sizeX,
int  sizeY 
)

Definition at line 78 of file Matcher.h.

References srcSize, and target.

virtual MatchBase::~MatchBase ( )
virtual

Definition at line 97 of file Matcher.h.

References target.

Member Function Documentation

int MatchBase::GetHeight ( ) const

Definition at line 112 of file Matcher.h.

References target.

const char* MatchBase::GetVisiconName ( ) const

Definition at line 104 of file Matcher.h.

References GCString::GetString(), and name.

int MatchBase::GetWidth ( ) const

Definition at line 108 of file Matcher.h.

References target.

virtual void MatchBase::Match ( const IplImage *  src)
pure virtual

Implemented in MatchContour, and MatchImage.

virtual bool MatchBase::TargetFound ( ) const
pure virtual

Implemented in MatchContour, and MatchImage.

Member Data Documentation

GCPointer<GCString> MatchBase::name
protected

name in ACT-R visicon

Definition at line 55 of file Matcher.h.

Referenced by GetVisiconName(), MatchContour::Match(), MatchContour::MatchContour(), and MatchContour::~MatchContour().

CvSize MatchBase::srcSize
protected

needed to detect changes of the size

Definition at line 53 of file Matcher.h.

Referenced by MatchImage::Match(), MatchContour::Match(), and MatchBase().

IplImage* MatchBase::target
protected

the image to find

Definition at line 51 of file Matcher.h.

Referenced by GetHeight(), GetWidth(), MatchImage::Match(), MatchBase(), MatchContour::MatchContour(), and ~MatchBase().


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


ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (actcvlibrary@googlemail.com)