#include <Image.hpp>
Public Member Functions | |
Constructor & Destructor | |
| Image (const std::string &crFilename) | |
| Constructor that takes a filename. | |
| ~Image (void) | |
| Destructor. | |
Accessors | |
| const std::string & | getFilename (void) const |
| Get the filename of the image file. | |
| int | getSizeX (void) const |
| Get the horizontal (X) size of the Image. | |
| int | getSizeY (void) const |
| Get the vertical (Y) size of the Image. | |
| int | getNumBands (void) const |
| Get the number of bands contained in this Image. | |
| DataTypeT | getLowerHistogramLimit (void) const |
| Get the lower display limit of this Image's histogram. | |
| DataTypeT | getUpperHistogramLimit (void) const |
| Get the upper display limit of this Image's histogram. | |
| ImageBand< DataTypeT > * | getBand (const int cNumBand) const |
| Get a certain ImageBand contained in the Image. | |
Static Public Member Functions | |
| int | mapGDALType (void) |
| Maps the template data type to the corresponding GDAL enum. | |
Image<float> and Image<int>. An Image object contains several ImageBands, which are the bearers of the real data.
|
||||||||||
|
Constructs an Image object out of an image file. Furthermore, creates (yet empty) ImageBand objects for each contained band in the file.
|
|
||||||||||
|
Destructor. Frees own resources and those of the contained ImageBands. |
|
||||||||||
|
Get a contained ImageBand by its number.
|
|
||||||||||
|
Accesses the filename of the image file.
|
|
||||||||||
|
Access the lower limit of this Image's histogram. Occuring values that are outside the bounds of the histogram limits will be clamped to the limit value.
|
|
||||||||||
|
Accesses the number of bands contained in this Image.
|
|
||||||||||
|
Accesses the horizontal size (width) of the Image.
|
|
||||||||||
|
Accesses the vertical size (height) of the Image.
|
|
||||||||||
|
Access the upper limit of this Image's histogram. Occuring values that are outside the bounds of the histogram limits will be clamped to the limit value.
|
|
|
Map the template data type to the corresponding GDAL enum for image loading functionality. |
1.3.8