#include <RAxiomaticMRInpainter.hpp>
Inheritance diagram for RAxiomaticMRInpainter:
Purpose: Axiomatic Morphological & Rotation Invariant Inpainting. A complete model inpainting used to fill image gaps, or to scale op the image.
Paper
: "Morphological Invariant PDE Inpaintings.", Tony F. Chan & J. Shen, Report UCLA 2001.
Public Methods | |
RAxiomaticMRInpainter (bool optimised=false, double deltaT=1.0, double av=0.2, double bv=0.2, double aLv=0.2, double lambdav=0.0) | |
virtual | ~RAxiomaticMRInpainter () |
virtual void | prepare (RImage *src) |
used to globally maintain subimages avoiding cons | |
virtual void | clear () |
used to globally destroy subimages avoiding decons | |
virtual RImage * | filter (RImage *src, RImage *dest=0) |
Local full image filtering. | |
virtual RImage * | selectedFilter (AnImage *mask, RImage *src, RImage *dest=0) |
Local filtering in a mask area. | |
virtual void | report (FILE *file) |
Protected Methods | |
virtual void | precompute (AnImage *mask) |
virtual void | computeGradient (int x, int y, int idx, int idy) |
virtual void | computeCurvature (int x, int y, int idx, int idy) |
virtual double | getV (int x, int y, int idx, int idy) |
virtual double | divergentV (int x, int y) |
virtual double | operation (int x, int y) |
Protected Attributes | |
bool | optimisation |
double | a |
double | b |
double | c |
double | aL |
double | dt |
RImage * | I0 |
RImage * | I |
double | lambda |
RImage * | guNorme |
RImage * | k |
double | du_x2 |
double | du_y2 |
double | k_2 |
double | ux2 |
double | uy2 |
double | gu2Norme |
double | ux2Norme |
double | uy2Norme |
|
Local full image filtering.
Implements AbsRImageFilter. |
|
Local filtering in a mask area.
Reimplemented from AbsRImageFilter. |