#include <WeickertFilter.hpp>
Inheritance diagram for WeickertFilter:
Purpose: Weickert 1998 restoration.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
WeickertFilter (int n=100, double ralpha=0.1, double rlambda=5.0, double rCm=3.31488) | |
virtual | ~WeickertFilter () |
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 | |
void | precompute () |
void | precompute (AnImage &mask) |
double | divergentJ (int x, int y) |
virtual void | operations (RImage &result) |
virtual void | operations (AnImage &mask, RImage &result) |
Protected Attributes | |
RImage * | I0 |
RImage * | I |
double | lambda |
int | niterations |
double | alpha |
RImage * | ux |
RImage * | uy |
RImage * | j1 |
RImage * | j2 |
double | m |
double | Cm |
|
Local full image filtering.
Implements AbsRImageFilter. |
|
Local filtering in a mask area.
Reimplemented from AbsRImageFilter. |