ACT-CV - Machine Vision for Cognitive Modeling
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
FrameObsAutoGray Class Referenceabstract

create a gray scale copy of the image if needed More...

#include <FrameObserver.h>

Inheritance diagram for FrameObsAutoGray:
Inheritance graph
Collaboration diagram for FrameObsAutoGray:
Collaboration graph

Public Member Functions

 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 > &regions)
virtual const char * GetName () const =0
 the name of the observer More...
- Public Member Functions inherited from ReferenceCount
 ReferenceCount ()
virtual ~ReferenceCount ()
void IncRefCount ()
void DecRefCount ()

Protected Member Functions

virtual void FrameNotifyGray (IplImage *img, IplImage *gray, int frameNr)=0
 override me More...

Private Attributes

IplImage * gray

Detailed Description

create a gray scale copy of the image if needed

Definition at line 541 of file FrameObserver.h.

Constructor & Destructor Documentation

FrameObsAutoGray::FrameObsAutoGray ( )

Definition at line 547 of file FrameObserver.h.

FrameObsAutoGray::~FrameObsAutoGray ( )

Definition at line 548 of file FrameObserver.h.

References gray.

Member Function Documentation

void FrameObsAutoGray::FrameNotify ( IplImage *  img,
int  frameNr 

notification of a new frame

Implements FrameObs.

Definition at line 551 of file FrameObserver.h.

References FrameNotifyGray(), and gray.

virtual void FrameObsAutoGray::FrameNotifyGray ( IplImage *  img,
IplImage *  gray,
int  frameNr 
protectedpure virtual

override me

Implemented in LineObs, MatchContourObs, and OFlowObs.

Referenced by FrameNotify().

Member Data Documentation

IplImage* FrameObsAutoGray::gray

Definition at line 542 of file FrameObserver.h.

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

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

ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (