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