ACT-CV - Machine Vision for Cognitive Modeling
|
optical flow (observer version) More...
#include <FrameObserver.h>
Public Member Functions | |
OFlowObs () | |
void | FrameNotifyGray (IplImage *img, IplImage *gray, int frameNr) |
override me More... | |
void | FocusNotify (const CvPoint &p) |
const char * | GetResult () const |
the current vision More... | |
const char * | GetName () const |
the name of the observer More... | |
const char * | GetTypeName () const |
the type of vision More... | |
![]() | |
FrameObsAutoGray () | |
~FrameObsAutoGray () | |
void | FrameNotify (IplImage *img, int frameNr) |
notification of a new frame More... | |
![]() | |
virtual void | RegionInfoNotify (const std::vector< RegionInfo > ®ions) |
![]() | |
ReferenceCount () | |
virtual | ~ReferenceCount () |
void | IncRefCount () |
void | DecRefCount () |
![]() | |
virtual | ~FocusObserver () |
![]() | |
void | AddObserver (ActCvObserver *obs) |
add obs to the list of observers More... | |
void | RemoveObserver (ActCvObserver *obs) |
remove obs from the list of observers More... | |
Private Attributes | |
OpticalFlow | oFlow |
ExpGlaett< double > | flowWinkel |
GCPointer< FrameObs > | win |
std::string | curResult |
Additional Inherited Members | |
![]() | |
void | FireVisionNotification (const ActCvSource &src) |
call NewVisionNotification on all observers More... | |
![]() | |
ImageCopy (int divi=1) | |
~ImageCopy () | |
IplImage * | GetCurCopy () |
IplImage * | GetCopy (IplImage *img, int frameNr) |
optical flow (observer version)
Definition at line 667 of file FrameObserver.h.
OFlowObs::OFlowObs | ( | ) |
Definition at line 676 of file FrameObserver.h.
|
virtual |
Implements FocusObserver.
Definition at line 711 of file FrameObserver.h.
References OpticalFlow::FocusNotify(), and oFlow.
|
virtual |
override me
Implements FrameObsAutoGray.
Definition at line 679 of file FrameObserver.h.
References ExpGlaett< _t >::add(), OpticalFlow::AddImage(), OpticalFlow::Calc(), curResult, ActCvObsSupport::FireVisionNotification(), flowWinkel, FrameObs::FrameNotify(), ImageCopy::GetCopy(), OpticalFlow::GetWinkel(), oFlow, OpticalFlow::PrintFlowField(), OpticalFlow::SetFocus(), OpticalFlow::SetSize(), and win.
|
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 717 of file FrameObserver.h.
Referenced by OFlowObs().
|
virtual |
the current vision
must return an s-expression
Implements ActCvSource.
Definition at line 714 of file FrameObserver.h.
References curResult.
|
virtual |
the type of vision
must be a single word, no spaces allowed
is used to distinguish between sources and to build up an s-expression with multiple vision types
could be described in short as the "LISP name"
i.e. "lines", "flowangle"
Implements ActCvSource.
Definition at line 720 of file FrameObserver.h.
|
private |
Definition at line 674 of file FrameObserver.h.
Referenced by FrameNotifyGray(), and GetResult().
|
private |
Definition at line 670 of file FrameObserver.h.
Referenced by FrameNotifyGray().
|
private |
Definition at line 669 of file FrameObserver.h.
Referenced by FocusNotify(), and FrameNotifyGray().
Definition at line 672 of file FrameObserver.h.
Referenced by FrameNotifyGray(), and OFlowObs().