|
vivalib library
Concurrent C++11 OpenCV library for Computer Vision applications
|
#include <input.h>


Public Member Functions | |
| ImageListInput (const string directory, const Size &size=Size(-1,-1), int colorFlag=-1, int loops=1) | |
| ImageListInput (const vector< string > &files, const Size &size=Size(-1,-1), int colorFlag=-1, int loops=1) | |
| bool | getFrame (Mat &frame) |
Public Member Functions inherited from viva::Input | |
| Input (const Size &size=Size(-1,-1), int conversionFlag=-1) | |
| virtual | ~Input () |
| void | setConversionType (int flag) |
| size_t | getWidth () |
| size_t | getHeight () |
| Size | getOrgSize () |
Additional Inherited Members | |
Protected Attributes inherited from viva::Input | |
| Size | _size |
| bool | _convert |
| int | _conversionFlag |
| Size | _orgSize |
ImageListInput to process folder containing images of supported OpenCV formats.
| ImageListInput::ImageListInput | ( | const string | directory, |
| const Size & | size = Size(-1,-1), |
||
| int | colorFlag = -1, |
||
| int | loops = 1 |
||
| ) |
ImageListInput constructor using a directory path
| ImageListInput::ImageListInput | ( | const vector< string > & | files, |
| const Size & | size = Size(-1,-1), |
||
| int | colorFlag = -1, |
||
| int | loops = 1 |
||
| ) |
ImageListInput constructor using a vector of filenames containing the images of the sequence in order.
|
virtual |
Overrided from Input Base Class. Used to extract a frame from the input sequence. Returns whether or not a frame was sucessfuly returned.
| frame | output image frame from the sequence |
Implements viva::Input.
1.8.11