ACT-CV - Machine Vision for Cognitive Modeling
|
find lines in the video frames More...
#include <FrameObserver.h>
Public Member Functions | |
LineObs () | |
LineObs (const LineObs &lo) | |
LineObs & | operator= (const LineObs &lo) |
~LineObs () | |
void | FrameNotifyGray (IplImage *img, IplImage *gray, int frameNr) |
override me More... | |
const char * | GetName () const |
the name of the observer More... | |
void | EnterCriticalSection () |
std::vector< Line > & | GetData () |
void | LeaveCriticalSection () |
Public Member Functions inherited from FrameObsAutoGray | |
FrameObsAutoGray () | |
~FrameObsAutoGray () | |
void | FrameNotify (IplImage *img, int frameNr) |
notification of a new frame More... | |
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 () |
Protected Attributes | |
mhthreads::Mutex | mutex |
mutex for the result More... | |
std::vector< Line > | lastResult |
the last result of the line finding algo More... | |
Private Attributes | |
IplImage * | canny |
CvMemStorage * | storage |
GCPointer< FrameObs > | win |
Additional Inherited Members | |
Private Member Functions inherited from ImageCopy | |
ImageCopy (int divi=1) | |
~ImageCopy () | |
IplImage * | GetCurCopy () |
IplImage * | GetCopy (IplImage *img, int frameNr) |
find lines in the video frames
encapsulate the mutex and the result
only calc lines on demand?
Definition at line 747 of file FrameObserver.h.
LineObs::LineObs | ( | ) |
Definition at line 755 of file FrameObserver.h.
LineObs::LineObs | ( | const LineObs & | lo) |
Definition at line 760 of file FrameObserver.h.
LineObs::~LineObs | ( | ) |
|
virtual |
Implements ResultSource< Line >.
Definition at line 816 of file FrameObserver.h.
References mhthreads::Mutex::Enter(), and mutex.
|
virtual |
override me
Implements FrameObsAutoGray.
Definition at line 776 of file FrameObserver.h.
References canny, mhthreads::Mutex::Enter(), FrameObs::FrameNotify(), ImageCopy::GetCopy(), lastResult, mhthreads::Mutex::Leave(), MHDBGMSG, mutex, storage, and win.
|
virtual |
Implements ResultSource< Line >.
Definition at line 819 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 805 of file FrameObserver.h.
|
virtual |
Implements ResultSource< Line >.
Definition at line 822 of file FrameObserver.h.
References mhthreads::Mutex::Leave(), and mutex.
Definition at line 764 of file FrameObserver.h.
|
private |
Definition at line 749 of file FrameObserver.h.
Referenced by FrameNotifyGray(), operator=(), and ~LineObs().
|
protected |
the last result of the line finding algo
Definition at line 813 of file FrameObserver.h.
Referenced by FrameNotifyGray(), and GetData().
|
protected |
mutex for the result
Definition at line 811 of file FrameObserver.h.
Referenced by EnterCriticalSection(), FrameNotifyGray(), and LeaveCriticalSection().
|
private |
Definition at line 750 of file FrameObserver.h.
Referenced by FrameNotifyGray(), operator=(), and ~LineObs().
Definition at line 752 of file FrameObserver.h.
Referenced by FrameNotifyGray(), LineObs(), and ~LineObs().