ACT-CV - Machine Vision for Cognitive Modeling
|
color matching More...
#include <FrameObserver.h>
Public Member Functions | |
ColorObs (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 | |
mhthreads::Mutex | mutex |
mutex for the result More... | |
std::vector< ObjectPosition > | lastResult |
the last result of the line finding algo More... | |
GCPointer< FrameObs > | win |
output window More... | |
std::vector< float > | means |
BGRA! More... | |
std::vector< float > | sd |
Additional Inherited Members | |
Private Member Functions inherited from ImageCopy | |
ImageCopy (int divi=1) | |
~ImageCopy () | |
IplImage * | GetCurCopy () |
IplImage * | GetCopy (IplImage *img, int frameNr) |
color matching
Definition at line 319 of file FrameObserver.h.
ColorObs::ColorObs | ( | const char * | defFileName) |
Definition at line 63 of file FrameObserver.cpp.
|
virtual |
Implements ResultSource< ObjectPosition >.
Definition at line 392 of file FrameObserver.h.
References mhthreads::Mutex::Enter(), and mutex.
|
virtual |
notification of a new frame
Implements FrameObs.
Definition at line 337 of file FrameObserver.h.
References FrameObs::FrameNotify(), ImageCopy::GetCopy(), means, sd, and win.
|
virtual |
Implements ResultSource< ObjectPosition >.
Definition at line 395 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 388 of file FrameObserver.h.
|
virtual |
Implements ResultSource< ObjectPosition >.
Definition at line 398 of file FrameObserver.h.
References mhthreads::Mutex::Leave(), and mutex.
|
private |
the last result of the line finding algo
Definition at line 325 of file FrameObserver.h.
Referenced by GetData().
|
private |
|
private |
mutex for the result
Definition at line 323 of file FrameObserver.h.
Referenced by EnterCriticalSection(), and LeaveCriticalSection().
|
private |
Definition at line 332 of file FrameObserver.h.
Referenced by ColorObs(), and FrameNotify().