Image Utilities (IU)
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Groups Pages
Public Member Functions | Protected Attributes
iu::VideoSource Class Referenceabstract

The VideoSource class is the abstract base class for video input. More...

#include <videosource.h>

Inheritance diagram for iu::VideoSource:
iu::OpenCVSource iu::PGRSource

Public Member Functions

virtual cv::Mat getImage ()=0
 get a new image from the source More...
 
virtual unsigned int getWidth ()=0
 get image width More...
 
virtual unsigned int getHeight ()=0
 get image height More...
 
virtual unsigned int getCurrentFrameNr ()=0
 get current frame number. More...
 

Protected Attributes

unsigned int width_
 
unsigned int height_
 
unsigned int frameNr_
 

Detailed Description

The VideoSource class is the abstract base class for video input.

Member Function Documentation

virtual unsigned int iu::VideoSource::getCurrentFrameNr ( )
pure virtual

get current frame number.

Returns
frame index

Implemented in iu::PGRSource, and iu::OpenCVSource.

virtual unsigned int iu::VideoSource::getHeight ( )
pure virtual

get image height

Returns
height

Implemented in iu::PGRSource, and iu::OpenCVSource.

virtual cv::Mat iu::VideoSource::getImage ( )
pure virtual

get a new image from the source

Returns
cv::Mat

Implemented in iu::PGRSource, and iu::OpenCVSource.

virtual unsigned int iu::VideoSource::getWidth ( )
pure virtual

get image width

Returns
width

Implemented in iu::PGRSource, and iu::OpenCVSource.


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