Inheritance diagram for CReader:
Public Types | |
enum | EReaderFormat { FORMAT_NOT_RECOGNIZED, FORMAT_PGM, FORMAT_PPM, FORMAT_RAW8, FORMAT_RAW16, FORMAT_PNG, FORMAT_MPEG2 } |
Public Methods | |
CReader () | |
virtual | ~CReader () |
void | setFileName (const char *filename) |
void | setFileName (string filename) |
bool | setFrameNumber (unsigned long framenumber) |
virtual EReaderFormat | getFormat () |
virtual string | getFileName () |
virtual bool | getFrame (CMotion2DImage< unsigned char > &I, unsigned nbsubsample=0, unsigned nrows=0, unsigned ncols=0) |
virtual bool | getFrame (CMotion2DImage< short > &I, unsigned nbsubsample=0, unsigned nrows=0, unsigned ncols=0) |
virtual bool | openStream () |
virtual bool | closeStream () |
virtual void | getType () |
virtual unsigned | getNbSubsample () |
Motion2D.cpp, and Warping.cpp.
|
The supported image or video stream reader format. |
|
Image or video stream reader constructor. |
|
Destructor. |
|
Close an image or video stream. Reimplemented in CImageReader, and CMpeg2Reader.
|
|
Return the filename of the image or video stream. Reimplemented in CImageReader, and CMpeg2Reader.
|
|
Return the considered image or video stream reader format.
Reimplemented in CImageReader, and CMpeg2Reader.
|
|
Read a frame from an image or video stream. Reimplemented in CImageReader, and CMpeg2Reader. |
|
Read a frame from an image or video stream. Reimplemented in CImageReader, and CMpeg2Reader.
|
|
Reimplemented in CImageReader, and CMpeg2Reader. |
|
Print the type of the reader. Reimplemented in CImageReader, and CMpeg2Reader. |
|
Open an image or video stream. Reimplemented in CImageReader, and CMpeg2Reader.
|
|
Set the image or video stream filename to read.
|
|
Set the image or video stream filename to read.
|
|
Set the image or video stream frame number to read.
|