Main Page
Class List
Function List
File List
Examples
Inheritance diagram for CMpeg2Reader:

Public Methods | |
| CMpeg2Reader () | |
| ~CMpeg2Reader () | |
| string | getFileName () |
| bool | getFrame (CMotion2DImage< unsigned char > &I, unsigned nbsubsample, unsigned nrows=0, unsigned ncols=0) |
| bool | getFrame (CMotion2DImage< short > &I, unsigned nbsubsample, unsigned nrows=0, unsigned ncols=0) |
| bool | getFrame (unsigned char **rgbpixel, unsigned &nrows, unsigned &ncols) |
| bool | closeStream () |
| bool | openStream () |
| void | getType () |
| EReaderFormat | getFormat () |
| unsigned | getNbSubsample () |
Motion2D.cpp, and Warping.cpp.
|
|
Mpeg2 video stream reader constructor. |
|
|
Mpeg2 video stream reader destructor. |
|
|
Close an Mpeg2 stream. Reimplemented from CReader. |
|
|
Return the video stream filename.
Reimplemented from CReader. |
|
|
Return the images format. Reimplemented from CReader. |
|
||||||||||||||||
|
Extract a color frame from a Mpeg2 video stream.
|
|
||||||||||||||||||||
|
Extract a frame from a Mpeg2 video stream. If the video stream is concerned with color images, these are converted to grey level using the formula: Depending on the nbsubsample parameter, the extracted frame can be subsampled.
Reimplemented from CReader. |
|
||||||||||||||||||||
|
Extract a frame from a Mpeg2 video stream. If the video stream is concerned with color images, these are converted to grey level using the formula: Depending on the nbsubsample parameter, the extracted frame can be subsampled.
Reimplemented from CReader. |
|
|
Reimplemented from CReader. |
|
|
Print the type of the reader. Reimplemented from CReader. |
|
|
Open an Mpeg2 stream.
Reimplemented from CReader. |