#include <doubleimage.h>
Inheritance diagram for LIBCP::DoubleImage:

Public Member Functions | |
| ~DoubleImage () | |
| int | convertToImage (Image *dst) |
| bool | in (int x, int y) |
| double & | number (int x, int y) |
| void | lock () |
| void | unlock () |
| bool | isValidPixel (int x, int y) |
| DoubleImage & | operator= (DoubleImage &i) |
| DoubleImage & | operator *= (DoubleImage &i) |
Static Public Member Functions | |
| DoubleImage * | createDoubleImage (Image *img) |
| DoubleImage * | createDoubleImage (int width, int height, int type) |
|
|
Destructor properly cleans up and frees the memory of the double image |
|
|
Convert this double image to a regular libcp image. The double values are just normalized and then put into the new image dst is the destination image 0 if the operation could be performed correctly. Negative values otherwise. |
|
||||||||||||||||
|
Public method to create an empty double image with a given height and width. |
|
|
Public method to create a double image form a real image. The pixel value is taken as the real value of the corresponding double number. |
|
|
The overloaded multiply equal operator for the double image class. Multiplies to another double image with this one. The multiplication is done element by element, and NOT according to the matrix multiplication rule!! |
|
|
The overloaded equal operator for the double image class |
1.3.7