ACT-CV - Machine Vision for Cognitive Modeling
Public Member Functions | Private Attributes | List of all members
DiffObs Class Reference

diff to last frame More...

#include <FrameObserver.h>

Inheritance diagram for DiffObs:
Inheritance graph
Collaboration diagram for DiffObs:
Collaboration graph

Public Member Functions

 DiffObs ()
 
 ~DiffObs ()
 
void FrameNotify (IplImage *img, int frameNr)
 notification of a new frame More...
 
const char * GetName () const
 the name of the observer More...
 
- Public Member Functions inherited from FrameObs
virtual void RegionInfoNotify (const std::vector< RegionInfo > &regions)
 
- Public Member Functions inherited from ReferenceCount
 ReferenceCount ()
 
virtual ~ReferenceCount ()
 
void IncRefCount ()
 
void DecRefCount ()
 

Private Attributes

GCPointer< FrameObswin
 output window More...
 
GCPointer< FrameObswriter
 
IplImage * pPrevImg
 
IplImage * pWorkImg
 

Additional Inherited Members

- Private Member Functions inherited from ImageCopy
 ImageCopy (int divi=1)
 
 ~ImageCopy ()
 
IplImage * GetCurCopy ()
 
IplImage * GetCopy (IplImage *img, int frameNr)
 

Detailed Description

diff to last frame

Definition at line 405 of file FrameObserver.h.

Constructor & Destructor Documentation

DiffObs::DiffObs ( )

Definition at line 415 of file FrameObserver.h.

References writer.

DiffObs::~DiffObs ( )

Definition at line 422 of file FrameObserver.h.

References pPrevImg, and pWorkImg.

Member Function Documentation

void DiffObs::FrameNotify ( IplImage *  img,
int  frameNr 
)
virtual

notification of a new frame

Implements FrameObs.

Definition at line 427 of file FrameObserver.h.

References FrameObs::FrameNotify(), ImageCopy::GetCopy(), pPrevImg, pWorkImg, win, and writer.

const char* DiffObs::GetName ( ) const
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.

See Also
FrameLoop

Implements FrameObs.

Definition at line 464 of file FrameObserver.h.

Member Data Documentation

IplImage* DiffObs::pPrevImg
private

Definition at line 411 of file FrameObserver.h.

Referenced by FrameNotify(), and ~DiffObs().

IplImage* DiffObs::pWorkImg
private

Definition at line 412 of file FrameObserver.h.

Referenced by FrameNotify(), and ~DiffObs().

GCPointer<FrameObs> DiffObs::win
private

output window

Definition at line 408 of file FrameObserver.h.

Referenced by FrameNotify().

GCPointer<FrameObs> DiffObs::writer
private

Definition at line 409 of file FrameObserver.h.

Referenced by DiffObs(), and FrameNotify().


The documentation for this class was generated from the following file:


ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (actcvlibrary@googlemail.com)