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

create random gray images More...

#include <TestFrameSource.h>

Inheritance diagram for TestFrameSource:
Inheritance graph
Collaboration diagram for TestFrameSource:
Collaboration graph

Public Member Functions

 TestFrameSource (CvSize s)
virtual ~TestFrameSource ()
IplImage * GetNextFrame ()
int GetFrameNr () const
- Public Member Functions inherited from FrameSource
virtual ~FrameSource ()
virtual double GetFPS () const
 frames per second More...
virtual size_t GetNumInfos () const
virtual const RegionInfoGetInfo (size_t idx) const
- Public Member Functions inherited from ReferenceCount
 ReferenceCount ()
virtual ~ReferenceCount ()
void IncRefCount ()
void DecRefCount ()

Protected Attributes

CvSize size
GCPointer< ImageHoldercurImg
int n

Private Attributes

boost::random::taus88 rgen_
< double > 

Detailed Description

create random gray images

See Also

Definition at line 50 of file TestFrameSource.h.

Constructor & Destructor Documentation

TestFrameSource::TestFrameSource ( CvSize  s)

Definition at line 62 of file TestFrameSource.h.

TestFrameSource::~TestFrameSource ( )

Definition at line 35 of file TestFrameSource.cpp.

Member Function Documentation

int TestFrameSource::GetFrameNr ( ) const

Implements FrameSource.

Definition at line 57 of file TestFrameSource.cpp.

Referenced by tests::DummyFrameSource::FireNotification().

IplImage * TestFrameSource::GetNextFrame ( )
NULL when nothing to get

Implements FrameSource.

Reimplemented in TestLineFSStaticErr, and TestLineFrameSource.

Definition at line 39 of file TestFrameSource.cpp.

References MHDBGMSG.

Referenced by tests::DummyFrameSource::FireNotification().

Member Data Documentation

GCPointer<ImageHolder> TestFrameSource::curImg

Definition at line 57 of file TestFrameSource.h.

int TestFrameSource::n

Definition at line 59 of file TestFrameSource.h.

boost::random::taus88 TestFrameSource::rgen_

Definition at line 51 of file TestFrameSource.h.

boost::random::uniform_real_distribution<double> TestFrameSource::rv_

Definition at line 52 of file TestFrameSource.h.

CvSize TestFrameSource::size

Definition at line 55 of file TestFrameSource.h.

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

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