#include <Copie de FImage.hpp>
Purpose: Image used in computations
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
FImage (int w, int h) | |
FImage (int w, int h, float value) | |
FImage (AnImage *source) | |
FImage (AnImage *source, int achannel) | |
FImage (AnImage *source, bool normalized) | |
FImage (FImage &im) | |
~FImage () | |
FImage * | copy () |
FImage * | scaleDown (int multiplier=2) |
float * | getData () |
void | set (FImage &im) |
void | set (FImage &im, int n, int *xp, int *yp) |
bool | isNormalized () |
int | getWidth () |
int | getHeight () |
float | get (int x, int y) |
void | set (int x, int y, float value) |
float | getSafe (int x, int y) |
void | setSafe (int x, int y, float value) |
void | gdistance1 (float value) |
void | gdistance2 (float value) |
void | operator *= (float value) |
void | operator/= (float value) |
void | operator+= (float value) |
void | operator-= (float value) |
void | operator+= (FImage &image) |
void | operator-= (FImage &image) |
void | mult (float rsat) |
void | limit (float rmin, float rmax) |
void | convolveHV (int m1, int m2, int m3) |
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 x, int y) |
float | isometricLaplacian (int x, int y) |
float | normeGradient (int x, int y, float epsilon=1e-8) |
float | meanCurvature (int x, int y) |
float | curvature (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 | dfX_0 (int x, int y) |
float | dfY_0 (int x, int y) |
float | dfX_0_div2 (int x, int y, int idx, int idy) |
float | dfY_0_div2 (int x, int y, int idx, int idy) |
float | dfX_0_div2MinMod (int x, int y, int idx, int idy) |
float | dfY_0_div2MinMod (int x, int y, int idx, int idy) |
float | dfX_0_2 (int x, int y) |
float | dfY_0_2 (int x, int y) |
float | dfX_p1 (int x, int y) |
float | dfY_p1 (int x, int y) |
float | dfX_m1 (int x, int y) |
float | dfY_m1 (int x, int y) |
float | dfX2 (int x, int y) |
float | dfY2 (int x, int y) |
float | dfXY (int x, int y) |
float | dfXYc (int x, int y) |
float | dfX2_2 (int x, int y) |
float | dfY2_2 (int x, int y) |
float | dfXY_2 (int x, int y) |
float | dfX3 (int x, int y) |
float | dfY3 (int x, int y) |
float | In (int x, int y) |
float | Inn (int x, int y) |
float | Iee (int x, int y) |
float | g (int x, int y, int p=1) |
float | peronaMalikOperator (int x, int y) |
float | meanCurvatureOperator (int x, int y) |
float | beltramiOperator (int x, int y) |
float | gradCorrectiveViscosity (int x, int y) |
void | peronaMalikOperation (FImage &image, float coefficient) |
void | peronaMalikRestoration (int nIterations, float coefficient) |
void | geodesicPeronaMalikOperation (FImage &image, float coefficient, float cgeod) |
void | geodesicPeronaMalikRestoration (int nIterations, float coefficient, float cgeod) |
void | meanCurvatureOperation (FImage &image, float coefficient) |
void | meanCurvatureRestoration (int nIterations, float coefficient) |
void | geodesicMeanCurvatureOperation (FImage &image, float coefficient, float cgeod) |
void | geodesicMeanCurvatureRestoration (int nIterations, float coefficient, float cgeod) |
void | beltramiOperation (FImage &image, float coefficient) |
void | beltramiRestoration (int nIterations, float coefficient) |
void | geodesicBeltramiOperation (FImage &image, float coefficient, float cgeod) |
void | geodesicBeltramiRestoration (int nIterations, float coefficient, float cgeod) |
FImage (int w, int h) | |
FImage (int w, int h, float value) | |
FImage (AnImage *source) | |
FImage (AnImage *source, int achannel) | |
FImage (AnImage *source, bool normalized) | |
FImage (FImage &im) | |
~FImage () | |
FImage * | copy () |
FImage * | scaleDown (int multiplier=2) |
float * | getData () |
void | setAll (float val=0.0) |
void | set (FImage &im) |
void | set (FImage &im, int n, int *xp, int *yp) |
void | setInZeroOneBox (float minVal=0.0, float maxVal=255.0) |
void | setOutZeroOneBox (float minVal=0.0, float maxVal=255.0) |
bool | isNormalized () |
int | getWidth () |
int | getHeight () |
float | get (int x, int y) |
void | set (int x, int y, float value) |
float | getHMin1 (int x, int y) |
void | setHMin1 (int x, int y, float value) |
float | getHPlus1 (int x, int y) |
void | setHPlus1 (int x, int y, float value) |
float | getSafe (int x, int y) |
void | setSafe (int x, int y, float value) |
void | gdistance1 (float value) |
void | gdistance2 (float value) |
void | operator *= (float value) |
void | operator/= (float value) |
void | operator+= (float value) |
void | operator-= (float value) |
void | operator+= (FImage &image) |
void | operator-= (FImage &image) |
void | mult (float rsat) |
void | limit (float rmin, float rmax) |
void | convolveHV (int m1, int m2, int m3) |
void | convolveHV (int m1, int m2, int m3, int m4, int m5) |
void | convolveHV (int m1, int m2, int m3, int m4, int m5, int m6, int m7) |
void | inverse (float biais=0.0000001) |
void | ln (float biais=1.0) |
void | exp () |
void | root () |
void | sqr () |
void | power (float value) |
float | sigmaMeanRatio () |
float | logSigma () |
float | SNR (FImage &result) |
float | errorPLSE (FImage &result) |
double | SE (FImage &result) |
float | MSE (FImage &result) |
float | NMSE (FImage &result) |
float | RMSE (FImage &result) |
float | PSNR (FImage &result, float maxRange=255) |
float | laplacian (int x, int y) |
float | isometricLaplacian (int x, int y) |
float | normeGradient (int x, int y, float epsilon=1e-8) |
float | meanCurvature (int x, int y) |
float | curvature (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 | dfX_0 (int x, int y) |
float | dfY_0 (int x, int y) |
float | dfX_0_div2 (int x, int y, int idx, int idy) |
float | dfY_0_div2 (int x, int y, int idx, int idy) |
float | dfX_0_div2MinMod (int x, int y, int idx, int idy) |
float | dfY_0_div2MinMod (int x, int y, int idx, int idy) |
float | dfX_0_2 (int x, int y) |
float | dfY_0_2 (int x, int y) |
float | dfX_p1 (int x, int y) |
float | dfY_p1 (int x, int y) |
float | dfX_m1 (int x, int y) |
float | dfY_m1 (int x, int y) |
float | dfX2 (int x, int y) |
float | dfY2 (int x, int y) |
float | dfXY (int x, int y) |
float | dfXYc (int x, int y) |
float | dfX2_2 (int x, int y) |
float | dfY2_2 (int x, int y) |
float | dfXY_2 (int x, int y) |
float | dfX3 (int x, int y) |
float | dfY3 (int x, int y) |
float | In (int x, int y) |
float | Inn (int x, int y) |
float | Iee (int x, int y) |
float | g (int x, int y, int p=1) |
float | peronaMalikOperator (int x, int y) |
float | meanCurvatureOperator (int x, int y) |
float | beltramiOperator (int x, int y) |
float | gradCorrectiveViscosity (int x, int y) |
void | peronaMalikOperation (FImage &image, float coefficient) |
void | peronaMalikRestoration (int nIterations, float coefficient) |
void | geodesicPeronaMalikOperation (FImage &image, float coefficient, float cgeod) |
void | geodesicPeronaMalikRestoration (int nIterations, float coefficient, float cgeod) |
void | meanCurvatureOperation (FImage &image, float coefficient) |
void | meanCurvatureRestoration (int nIterations, float coefficient) |
void | geodesicMeanCurvatureOperation (FImage &image, float coefficient, float cgeod) |
void | geodesicMeanCurvatureRestoration (int nIterations, float coefficient, float cgeod) |
void | beltramiOperation (FImage &image, float coefficient) |
void | beltramiRestoration (int nIterations, float coefficient) |
void | geodesicBeltramiOperation (FImage &image, float coefficient, float cgeod) |
void | geodesicBeltramiRestoration (int nIterations, float coefficient, float cgeod) |
Private Attributes | |
bool | normalisation |
int | width |
int | height |
int | channel |
float * | p1 |
float ** | data |
double | PI |
float * | palign |
float * | p1 |
float ** | data |
float * | pPlus1 |
float ** | dataPlus1 |
float * | pMin1 |
float ** | dataMin1 |