|
Fawkes API
Fawkes Development Version
|
PNG file reader. More...
#include <>>

Public Member Functions | |
| PNGReader (const char *filename) | |
| Constructor. More... | |
| virtual | ~PNGReader () |
| Destructor. More... | |
| virtual void | set_buffer (unsigned char *yuv422planar_buffer) |
| Set buffer that the read image should be written to. More... | |
| virtual colorspace_t | colorspace () |
| Get colorspace from the just read image. More... | |
| virtual unsigned int | pixel_width () |
| Get width of read image in pixels. More... | |
| virtual unsigned int | pixel_height () |
| Get height of read image in pixels. More... | |
| virtual void | read () |
| Read data from file. More... | |
Public Member Functions inherited from firevision::Reader | |
| virtual | ~Reader () |
| Virtual empty destructor. More... | |
| firevision::PNGReader::PNGReader | ( | const char * | filename | ) |
|
virtual |
Get colorspace from the just read image.
Implements firevision::Reader.
Definition at line 184 of file png.cpp.
Referenced by firevision::SiftppClassifier::SiftppClassifier(), and firevision::SurfClassifier::SurfClassifier().
|
virtual |
Get height of read image in pixels.
Implements firevision::Reader.
Definition at line 200 of file png.cpp.
Referenced by firevision::SiftppClassifier::SiftppClassifier(), and firevision::SurfClassifier::SurfClassifier().
|
virtual |
Get width of read image in pixels.
Implements firevision::Reader.
Definition at line 190 of file png.cpp.
Referenced by firevision::SiftppClassifier::SiftppClassifier(), and firevision::SurfClassifier::SurfClassifier().
|
virtual |
Read data from file.
Implements firevision::Reader.
Definition at line 210 of file png.cpp.
Referenced by firevision::SiftppClassifier::SiftppClassifier(), and firevision::SurfClassifier::SurfClassifier().
|
virtual |
Set buffer that the read image should be written to.
| yuv422planar_buffer | buffer to write image to. The reader must ensure that it does the proper conversion (if needed) to YUV 422 planar format. |
Implements firevision::Reader.
Definition at line 178 of file png.cpp.
Referenced by firevision::SiftppClassifier::SiftppClassifier(), and firevision::SurfClassifier::SurfClassifier().