#include <ImageLuminance.h>

Public Member Functions | |
| ImageLuminance (const std::string &filename) | |
| virtual | ~ImageLuminance () |
| virtual unsigned char * | getBits () |
| virtual void | removeOwnership () |
| virtual int | getWidth () |
| virtual int | getHeight () |
| virtual int | getComponents () |
| virtual int | getAlignment () |
Protected Member Functions | |
| void | convertShort (unsigned short *array, unsigned int length) |
| void | convertUint (unsigned *array, unsigned int length) |
| void | imageGetRow (FILE *file, unsigned char *buf, int y, int z, unsigned int *rowStart, int *rowSize) |
| bool | loadFromFile (const std::string &filename) |
Protected Attributes | |
| struct ImageLuminance::ImageRec | image |
| unsigned char * | base_ |
Classes | |
| struct | ImageRec |
Definition at line 32 of file ImageLuminance.h.
| ImageLuminance::ImageLuminance | ( | const std::string & | filename | ) |
| ImageLuminance::~ImageLuminance | ( | ) | [virtual] |
| unsigned char * ImageLuminance::getBits | ( | ) | [virtual] |
| void ImageLuminance::removeOwnership | ( | ) | [virtual] |
| int ImageLuminance::getWidth | ( | ) | [virtual] |
Implements Image.
Definition at line 45 of file ImageLuminance.cpp.
References image, and ImageLuminance::ImageRec::xsize.
| int ImageLuminance::getHeight | ( | ) | [virtual] |
Implements Image.
Definition at line 50 of file ImageLuminance.cpp.
References image, and ImageLuminance::ImageRec::ysize.
| int ImageLuminance::getComponents | ( | ) | [virtual] |
Implements Image.
Definition at line 55 of file ImageLuminance.cpp.
References image, and ImageLuminance::ImageRec::zsize.
| int ImageLuminance::getAlignment | ( | ) | [virtual] |
Implements Image.
Definition at line 60 of file ImageLuminance.cpp.
References image, and ImageLuminance::ImageRec::zsize.
| void ImageLuminance::convertShort | ( | unsigned short * | array, | |
| unsigned int | length | |||
| ) | [protected] |
| void ImageLuminance::convertUint | ( | unsigned * | array, | |
| unsigned int | length | |||
| ) | [protected] |
| void ImageLuminance::imageGetRow | ( | FILE * | file, | |
| unsigned char * | buf, | |||
| int | y, | |||
| int | z, | |||
| unsigned int * | rowStart, | |||
| int * | rowSize | |||
| ) | [protected] |
Definition at line 95 of file ImageLuminance.cpp.
References image, ImageLuminance::ImageRec::type, ImageLuminance::ImageRec::xsize, and ImageLuminance::ImageRec::ysize.
Referenced by loadFromFile().
| bool ImageLuminance::loadFromFile | ( | const std::string & | filename | ) | [protected] |
Definition at line 132 of file ImageLuminance.cpp.
References base_, convertShort(), convertUint(), file, image, imageGetRow(), ImageLuminance::ImageRec::imagic, int(), ImageLuminance::ImageRec::type, ImageLuminance::ImageRec::xsize, ImageLuminance::ImageRec::ysize, and ImageLuminance::ImageRec::zsize.
Referenced by ImageLuminance().
struct ImageLuminance::ImageRec ImageLuminance::image [protected] |
Referenced by getAlignment(), getComponents(), getHeight(), getWidth(), imageGetRow(), and loadFromFile().
unsigned char* ImageLuminance::base_ [protected] |
Definition at line 56 of file ImageLuminance.h.
Referenced by getBits(), loadFromFile(), and ~ImageLuminance().
1.5.3