vivalib library
Concurrent C++11 OpenCV library for Computer Vision applications
Public Member Functions | Protected Attributes | List of all members
viva::Output Class Referenceabstract

#include <output.h>

Inheritance diagram for viva::Output:
Inheritance graph
[legend]

Public Member Functions

 Output (const Size &size=Size(-1,-1), int conversionFlag=-1)
 
virtual ~Output ()
 
virtual bool writeFrame (Mat &frame)=0
 
virtual void close ()
 

Protected Attributes

Size _size
 
bool _convert
 
int _conversionFlag
 

Detailed Description

Abstract Output class to define a video sequence output.

Constructor & Destructor Documentation

viva::Output::Output ( const Size &  size = Size(-1, -1),
int  conversionFlag = -1 
)
inline

Output constructor defining the resolution and video type using OpenCV conversion flags e.g., CV_BGR2GRAY

virtual viva::Output::~Output ( )
inlinevirtual

Desctructor

Member Function Documentation

virtual void viva::Output::close ( )
inlinevirtual

Mehtod called to close the output medium

virtual bool viva::Output::writeFrame ( Mat &  frame)
pure virtual

Method call to output a new frame to the final output sequence

Returns
true if the Mat frame was sucessfully written

Implemented in viva::VideoOutput, viva::ImageOutput, and viva::NoneOutput.


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