Inheritance diagram for CImageWriter:
Public Methods | |
~CImageWriter () | |
string | getFileName () |
bool | writeFrame (CMotion2DImage< unsigned char > &I) |
bool | writeFrame (CMotion2DImage< short > &I) |
bool | openStream () |
bool | closeStream () |
void | getType () |
EWriterFormat | getFormat () |
Image writing manipulations are restricted and only supported for PNG (see WritePNG() function) and PNM file format. The different PNM formats are PGM P5 (see function WritePGM()) and PPM P6 (see function WritePPM()). To know more about this image file format: man png, man pgm or man ppm.
Motion2D.cpp, and Warping.cpp.
|
Image writer destructor. |
|
Close an image or video stream. Reimplemented from CWriter. |
|
Compute and return the image filename.
Reimplemented from CWriter. |
|
Return the reader image file format. Reimplemented from CWriter. |
|
Print the type of the reader. Reimplemented from CWriter. |
|
Open an image or video stream. Reimplemented from CWriter. |
|
Save an image in a file. Only PNG and PNM (PGM P5 and PPM P6) image format are implemented. The considered format depends on the filename extension. We consider only grey level images even if PNG or PPM P6 format support color images.
Reimplemented from CWriter. |
|
Save an image in a file. Only PNG and PNM (PGM P5 and PPM P6) image format are implemented. The considered format depends on the filename extension. We consider only grey level images even if PNG or PPM P6 format support color images.
Reimplemented from CWriter. |