#include <TVFilter.hpp>
Inheritance diagram for TVFilter:
Purpose: TV restoration produce smooth images.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
TVFilter (int n, double rdt, bool dynamic=false) | |
virtual | ~TVFilter () |
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 | channelConstrain () |
virtual void | channelConstrain (AnImage &mask) |
virtual double | operation (RImage *im, int x, int y) |
virtual void | operations (RImage &result) |
virtual void | operations (AnImage &mask, RImage &result) |
Protected Attributes | |
RImage * | I0 |
RImage * | I |
bool | lambdaDynamic |
double | lambda |
double | epsilon2 |
double | dt |
int | niterations |
double | sumI0_1 |
double | sumI0_2 |
double | I0mean |
double | I0sigma |
|
Local full image filtering.
Implements AbsRImageFilter. |
|
Local filtering in a mask area.
Reimplemented from AbsRImageFilter. |