ACT-CV - Machine Vision for Cognitive Modeling
|
subimage matching More...
#include <FrameObserver.h>
Public Member Functions | |
MatchObs (const char *defFileName) | |
void | FrameNotify (IplImage *img, int frameNr) |
notification of a new frame More... | |
const char * | GetName () const |
the name of the observer More... | |
void | EnterCriticalSection () |
std::vector< ObjectPosition > & | GetData () |
void | LeaveCriticalSection () |
Public Member Functions inherited from FrameObs | |
virtual void | RegionInfoNotify (const std::vector< RegionInfo > ®ions) |
Public Member Functions inherited from ReferenceCount | |
ReferenceCount () | |
virtual | ~ReferenceCount () |
void | IncRefCount () |
void | DecRefCount () |
Private Attributes | |
std::vector< GCPointer < MatchImage > > | matchers |
mhthreads::Mutex | mutex |
mutex for the result More... | |
std::vector< ObjectPosition > | lastResult |
the last result of the line finding algo More... | |
subimage matching
Definition at line 215 of file FrameObserver.h.
MatchObs::MatchObs | ( | const char * | defFileName) |
Definition at line 36 of file FrameObserver.cpp.
|
virtual |
Implements ResultSource< ObjectPosition >.
Definition at line 266 of file FrameObserver.h.
References mhthreads::Mutex::Enter(), and mutex.
|
virtual |
notification of a new frame
Implements FrameObs.
Definition at line 226 of file FrameObserver.h.
References mhthreads::Mutex::Enter(), lastResult, mhthreads::Mutex::Leave(), matchers, MHDBGMSG, and mutex.
|
virtual |
Implements ResultSource< ObjectPosition >.
Definition at line 269 of file FrameObserver.h.
References lastResult.
|
virtual |
the name of the observer
This is used to avoid that two instances of the same observer class are added to the observer list.
Implements FrameObs.
Definition at line 262 of file FrameObserver.h.
|
virtual |
Implements ResultSource< ObjectPosition >.
Definition at line 272 of file FrameObserver.h.
References mhthreads::Mutex::Leave(), and mutex.
|
private |
the last result of the line finding algo
Definition at line 222 of file FrameObserver.h.
Referenced by FrameNotify(), and GetData().
|
private |
Definition at line 217 of file FrameObserver.h.
Referenced by FrameNotify().
|
private |
mutex for the result
Definition at line 220 of file FrameObserver.h.
Referenced by EnterCriticalSection(), FrameNotify(), and LeaveCriticalSection().