#include <utilities/Image.h>
Public Types | |
| enum | Mode { RGB, XYZ } |
Public Member Functions | |
| Image (unsigned int w, unsigned int h) | |
| Image (unsigned int w, unsigned int h, rgb c) | |
| void | safeSetPixel (unsigned int x, unsigned int y, rgb c) |
| void | setPixel (unsigned int x, unsigned int y, rgb c) |
| rgb | getPixel (unsigned int x, unsigned int y) const |
| rgb | safeGetPixel (unsigned int x, unsigned int y) const |
| rgb | getPixel (double x, double y) const |
| void | getMaxComponent (unsigned int &x, unsigned int &y, rgb &c) |
| void | getMinComponent (unsigned int &x, unsigned int &y, rgb &c) |
| unsigned int | width () const |
| unsigned int | height () const |
| void | linearScale (double gain) |
| void | gammaCorrect (double gain, double gamma) |
| void | convertXYZRGB () |
| void | convertRGBYxy () |
| void | convertYxyRGB () |
| void | setRGB () |
| void | setXYZ () |
| bool | isRGB () const |
| bool | isXYZ () const |
| Image * | cylindricalEqualArea (unsigned int desired_width) |
Images can currently be in one of two Modes: RGB or XYZ. These modes define what kind of tristimulus value is being represented in the image. On final output, the ImageIO plugin checks to see what mode an image is in before writing it out.
Port cylindricalEqualArea code into external helper app.
1.4.3