#include <RImage.hpp>
Purpose: Image used in computations Papers: "Numerical Methods for Advancing Interfaces.", Seongjai Kim, Report 2000, University of Kentucky.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
RImage (int w, int h) | |
RImage (int w, int h, double value) | |
RImage (AnImage *source) | |
RImage (AnImage *source, int achannel) | |
RImage (AnImage *source, bool normalized) | |
RImage (RImage &im) | |
RImage (FImage &im) | |
~RImage () | |
RImage * | copy () |
RImage * | scaleDown (int multiplier=2) |
double * | getData () |
void | setAll (double val=0.0) |
void | set (RImage &im) |
void | set (RImage &im, int n, int *xp, int *yp) |
bool | isNormalized () |
int | getWidth () |
int | getHeight () |
double | get (int x, int y) |
void | set (int x, int y, double value) |
double | getSafe (int x, int y) |
void | setSafe (int x, int y, double value) |
void | gdistance1 (double value) |
void | gdistance2 (double value) |
void | operator *= (double value) |
void | operator/= (double value) |
void | operator+= (double value) |
void | operator-= (double value) |
void | operator+= (RImage &image) |
void | operator-= (RImage &image) |
void | mult (double rsat) |
void | limit (double rmin, double rmax) |
void | convolveHV (int m1, int m2, int m3) |
void | inverse (double biais=0.0000001) |
void | ln (double biais=0.0) |
void | exp () |
void | root () |
void | sqr () |
void | power (double value) |
double | HG (int x, int y) |
double | laplacian (int x, int y) |
double | isometricLaplacian (int x, int y) |
double | normeGradient (int x, int y, double epsilon=1e-8) |
double | TVnormCentral () |
double | TVnormMinmod () |
double | TVnorm (AbsLimiter *alimiter) |
double | adaptiveTVnormCentral () |
double | adaptiveTVnormMinmod () |
double | adaptiveTVnorm (AbsLimiter *alimiter) |
double | sigmaMeanRatio () |
double | logSigma () |
double | SNR (RImage &result) |
double | errorPLSE (RImage &result) |
double | SE (RImage &result) |
double | MSE (RImage &result) |
double | NMSE (RImage &result) |
double | RMSE (RImage &result) |
double | PSNR (RImage &result, double maxRange=255) |
double | meanCurvature (int x, int y) |
double | curvature (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 | dfX_0 (int x, int y) |
double | dfY_0 (int x, int y) |
double | dfX_0_div2 (int x, int y, int idx, int idy) |
double | dfY_0_div2 (int x, int y, int idx, int idy) |
double | dfX_0_div2MinMod (int x, int y, int idx, int idy) |
double | dfY_0_div2MinMod (int x, int y, int idx, int idy) |
double | dfX_0_div2Limiter (AbsLimiter *limiter, int x, int y, int idx, int idy) |
double | dfY_0_div2Limiter (AbsLimiter *limiter, int x, int y, int idx, int idy) |
double | dfX_0_2 (int x, int y) |
double | dfY_0_2 (int x, int y) |
double | dfX_p1 (int x, int y) |
double | dfY_p1 (int x, int y) |
double | dfX_m1 (int x, int y) |
double | dfY_m1 (int x, int y) |
double | dfX_ENO2_p1 (int x, int y) |
double | dfY_ENO2_p1 (int x, int y) |
double | dfX_ENO2_m1 (int x, int y) |
double | dfY_ENO2_m1 (int x, int y) |
double | dfX_UpwindENO2 (int x, int y) |
double | dfY_UpwindENO2 (int x, int y) |
double | dfX_ENO3_p1 (int x, int y) |
double | dfY_ENO3_p1 (int x, int y) |
double | dfX_ENO3_m1 (int x, int y) |
double | dfY_ENO3_m1 (int x, int y) |
double | dfX_UpwindENO3 (int x, int y) |
double | dfY_UpwindENO3 (int x, int y) |
double | dfX_WENO3_p1 (int x, int y, double eps=1e-12) |
double | dfY_WENO3_p1 (int x, int y, double eps=1e-12) |
double | dfX_WENO3_m1 (int x, int y, double eps=1e-12) |
double | dfY_WENO3_m1 (int x, int y, double eps=1e-12) |
double | dfX2 (int x, int y) |
double | dfY2 (int x, int y) |
double | dfXY (int x, int y) |
double | dfXYc (int x, int y) |
double | dfX2pp (int x, int y) |
double | dfY2pp (int x, int y) |
double | dfX2pm (int x, int y) |
double | dfY2pm (int x, int y) |
double | dfX2mp (int x, int y) |
double | dfY2mp (int x, int y) |
double | dfX2mm (int x, int y) |
double | dfY2mm (int x, int y) |
double | dfX2_2 (int x, int y) |
double | dfY2_2 (int x, int y) |
double | dfXY_2 (int x, int y) |
double | dfX3 (int x, int y) |
double | dfY3 (int x, int y) |
double | dfX3ppp (int x, int y) |
double | dfY3ppp (int x, int y) |
double | dfX3ppm (int x, int y) |
double | dfY3ppm (int x, int y) |
double | dfX3pmm (int x, int y) |
double | dfY3pmm (int x, int y) |
double | dfX3mmm (int x, int y) |
double | dfY3mmm (int x, int y) |
double | In (int x, int y) |
double | In (AbsLimiter *limiter, int x, int y) |
double | InMinmod (int x, int y) |
double | Inn (int x, int y) |
double | Iee (int x, int y) |
double | g (int x, int y, int p=1) |
double | peronaMalikOperator (int x, int y) |
double | meanCurvatureOperator (int x, int y) |
double | beltramiOperator (int x, int y) |
double | gradCorrectiveViscosity (int x, int y) |
void | peronaMalikOperation (RImage &image, double coefficient) |
void | peronaMalikRestoration (int nIterations, double coefficient) |
void | geodesicPeronaMalikOperation (RImage &image, double coefficient, double cgeod) |
void | geodesicPeronaMalikRestoration (int nIterations, double coefficient, double cgeod) |
void | meanCurvatureOperation (RImage &image, double coefficient) |
void | meanCurvatureRestoration (int nIterations, double coefficient) |
void | geodesicMeanCurvatureOperation (RImage &image, double coefficient, double cgeod) |
void | geodesicMeanCurvatureRestoration (int nIterations, double coefficient, double cgeod) |
void | beltramiOperation (RImage &image, double coefficient) |
void | beltramiRestoration (int nIterations, double coefficient) |
void | geodesicBeltramiOperation (RImage &image, double coefficient, double cgeod) |
void | geodesicBeltramiRestoration (int nIterations, double coefficient, double cgeod) |
Private Attributes | |
bool | normalisation |
int | width |
int | height |
int | channel |
double * | p1 |
double ** | data |
double | PI |