#include <Float3CImage.hpp>
Collaboration diagram for Float3CImage:
Purpose: Color image manipulation.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
Float3CImage (int w, int h, float value=0) | |
Float3CImage (int w, int h, float c1, float c2, float c3) | |
Float3CImage (AnImage *source) | |
Float3CImage (AnImage *source, int achannel) | |
Float3CImage (AnImage *source, bool normalized) | |
Float3CImage (Float3CImage &im) | |
~Float3CImage () | |
Float3CImage * | copy () |
int | getChannels () |
void | setInZeroOneBox (float minVal=0.0, float maxVal=255.0) |
void | setOutZeroOneBox (float minVal=0.0, float maxVal=255.0) |
FImage * | getChannel (int i) |
void | setChannel (int i, FImage *image) |
float * | getData (int i) |
void | set (Float3CImage &im) |
bool | isNormalized () |
int | getWidth () |
int | getHeight () |
int | numberOfChannels () |
float | get (int ch, int x, int y) |
void | set (int ch, int x, int y, float value) |
void | operator *= (float value) |
void | operator/= (float value) |
void | operator+= (float value) |
void | operator-= (float value) |
void | operator+= (Float3CImage &image) |
void | operator-= (Float3CImage &image) |
void | mult (float rsat) |
void | inverse (float biais=0.0000001) |
void | ln (float biais=1.0) |
void | exp () |
void | root () |
void | sqr () |
void | power (float value) |
float | laplacian (int ch, int x, int y) |
float | isometricLaplacian (int ch, int x, int y) |
float | normeGradient (int ch, int x, int y, float epsilon=1e-8) |
float | meanCurvature (int ch, int x, int y) |
float | curvature (int ch, int x, int y) |
float | gij (int i, int j, int x, int y) |
float | lambdaPlus (int x, int y) |
float | lambdaMinus (int x, int y) |
float | normalDirection (int x, int y) |
float | tangentDirection (int x, int y) |
float | g (int ch, int x, int y) |
float | peronaMalikOperator (int ch, int x, int y) |
float | meanCurvatureOperator (int ch, int x, int y) |
float | beltramiOperator (int ch, int x, int y) |
float | gradCorrectiveViscosity (int ch, int x, int y) |
float | dfX_0 (int ch, int x, int y) |
float | dfY_0 (int ch, int x, int y) |
float | dfX_0_2 (int ch, int x, int y) |
float | dfY_0_2 (int ch, int x, int y) |
float | dfX_p1 (int ch, int x, int y) |
float | dfY_p1 (int ch, int x, int y) |
float | dfX_m1 (int ch, int x, int y) |
float | dfY_m1 (int ch, int x, int y) |
float | dfX2 (int ch, int x, int y) |
float | dfY2 (int ch, int x, int y) |
float | dfXY (int ch, int x, int y) |
float | dfX2_2 (int ch, int x, int y) |
float | dfY2_2 (int ch, int x, int y) |
float | dfXY_2 (int ch, int x, int y) |
Private Attributes | |
bool | normalisation |
int | width |
int | height |
FImage * | channel [3] |
float | PI |