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

Public Methods | |
| ~CImageReader () | |
| 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 | openStream () |
| bool | closeStream () |
| void | getType () |
| EReaderFormat | getFormat () |
| unsigned | getNbSubsample () |
Image reading manipulations are restricted and only supported for PNG (see ReadPNG() function), RAW and PNM file format. We support RAW 8 bits (for graylevel images between 0 and 255, see ReadRAW8()), and RAW 16 bits (for graylevel images between 0 and 65534, see ReadRAW16()) image format. The different PNM formats are PGM P5 (see function ReadPGM()) and PPM P6 (see function ReadPPM()). To know more about this image file format: man png, man pgm or man ppm.
Motion2D.cpp, and Warping.cpp.
|
|
Image reader destructor. |
|
|
Close an image or video stream. Reimplemented from CReader. |
|
|
Compute and return the image filename.
Reimplemented from CReader. |
|
|
Return the reader image file format. Reimplemented from CReader. |
|
||||||||||||||||||||
|
Read an image from a file. Only PNG, PNM (PGM P5 and PPM P6), RAW 8 bits and RAW 16 bits image format are implemented. The considered format depends on the filename extension. Color images are converted in grey level using the formula: Depending on the nbsubsample parameter, the extracted frame can be subsampled.
Reimplemented from CReader. |
|
||||||||||||||||||||
|
Read an image from a file. Only PNG, PNM (PGM P5 and PPM P6) and RAW 8 bits image format are implemented. The considered format depends on the filename extension. Color images are converted in 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 image or video stream. Reimplemented from CReader. |