ACT-CV - Machine Vision for Cognitive Modeling
|
find a contour in the image. More...
#include <Matcher.h>
Public Member Functions | |
MatchContour (const char *targetName, const char *fileName) | |
~MatchContour () | |
void | Match (const IplImage *src) |
bool | TargetFound () const |
Public Member Functions inherited from MatchBase | |
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 () |
const char * | GetVisiconName () const |
int | GetWidth () const |
int | GetHeight () const |
Public Member Functions inherited from ReferenceCount | |
ReferenceCount () | |
virtual | ~ReferenceCount () |
void | IncRefCount () |
void | DecRefCount () |
Static Private Member Functions | |
static void | thres_cb (int newVal) |
Private Attributes | |
double | result |
IplImage * | cannyTarget |
CvMemStorage * | trgtStorage |
CvSeq * | trgtContour |
IplImage * | cannySrc |
IplImage * | forDisplay |
CvMemStorage * | storage |
int | cur_thres |
Static Private Attributes | |
static const int | MIN_THRES = 70 |
static const int | MAX_THRES = 200 |
Additional Inherited Members | |
Protected Member Functions inherited from MatchBase | |
MatchBase () | |
Protected Attributes inherited from MatchBase | |
IplImage * | target |
CvSize | srcSize |
GCPointer< GCString > | name |
find a contour in the image.
Source needs to be gray scale image
MatchContour::MatchContour | ( | const char * | targetName, |
const char * | fileName | ||
) |
Definition at line 283 of file Matcher.h.
References cannyTarget, cur_thres, GCString::GetString(), MatchBase::name, storage, MatchBase::target, thres_cb(), trgtContour, and trgtStorage.
MatchContour::~MatchContour | ( | ) |
Definition at line 301 of file Matcher.h.
References cannySrc, cannyTarget, forDisplay, GCString::GetString(), and MatchBase::name.
|
virtual |
Implements MatchBase.
Definition at line 308 of file Matcher.h.
References cannySrc, cur_thres, forDisplay, GCString::GetString(), MatchBase::name, result, MatchBase::srcSize, storage, and trgtContour.
Referenced by MatchContourObs::FrameNotifyGray().
|
virtual |
|
staticprivate |
Definition at line 280 of file Matcher.h.
Referenced by MatchContour().
|
private |
Definition at line 269 of file Matcher.h.
Referenced by Match(), and ~MatchContour().
|
private |
Definition at line 265 of file Matcher.h.
Referenced by MatchContour(), and ~MatchContour().
|
private |
Definition at line 278 of file Matcher.h.
Referenced by Match(), and MatchContour().
|
private |
Definition at line 271 of file Matcher.h.
Referenced by Match(), and ~MatchContour().
|
private |
|
private |
Definition at line 273 of file Matcher.h.
Referenced by Match(), and MatchContour().
|
private |
Definition at line 267 of file Matcher.h.
Referenced by Match(), and MatchContour().
|
private |
Definition at line 266 of file Matcher.h.
Referenced by MatchContour().