|
| Image (std::string filename) |
|
| Image (const std::vector< float > &data, int width, int height, int channels) |
|
std::vector< float > | asVector () const |
|
floatconst | at (int x, int y, int feature) const |
|
floatconst | at (int k) const |
|
void | convertToColor (bool alphaChannel) |
|
void | convertToGray (bool alphaChannel) |
|
void | crop (int newWidth, int newHeight, enum Anchor anchor) |
|
void | flip (bool xFlip, bool yFlip) |
|
int | getFeatures () const |
|
int | getHeight () const |
|
float | getPixelA (int x, int y) |
|
float | getPixelB (int x, int y) |
|
float | getPixelG (int x, int y) |
|
float | getPixelR (int x, int y) |
|
int | getTotalElements () const |
|
int | getWidth () const |
|
void | grow (int newWidth, int newHeight, enum Anchor anchor) |
|
void | read (std::string filename) |
|
void | resize (int width, int height, int features) |
|
void | set (int x, int y, int feature, floatvalue) |
|
void | set (int k, floatvalue) |
|
void | set (const std::vector< float > &vector, int width, int height, int features) |
|
void | set (const float *data, int width, int height, int features) |
|
void | set (Buffer< float > other) |
|
void | setPixel (int x, int y, float r, float g, float b) |
|
void | setPixel (int x, int y, float r, float g, float b, float a) |
|
void | translate (int offsetX, int offsetY) |
|
void | write (std::string filename) |
|
Definition at line 14 of file Image.hpp.