#include <SelectiveDericheFilter.hpp>
Inheritance diagram for SelectiveDericheFilter:
Purpose: Selective Color Diffusion filter Paper: "Constrained and unconstrained PDE's for vector image restoration.", D. Tchumperlé & Rachid Deriche, Inria 2001.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
SelectiveDericheFilter (int n=50, double ralpha=0.05, double atau=0.1) | |
virtual | ~SelectiveDericheFilter () |
virtual Real3CImage * | filter (Real3CImage *src, Real3CImage *dest=0) |
virtual Real3CImage * | selectedFilter (AnImage *mask, Real3CImage *src, Real3CImage *dest=0) |
virtual void | report (FILE *file) |
Protected Methods | |
virtual double | g (double indicator) |
virtual void | computeIndicator (Real3CImage &image) |
virtual void | computeIndicator (AnImage &mask, Real3CImage &image) |
virtual double | operation (RImage &channel, int c, int x, int y) |
virtual void | operations (Real3CImage &result, Real3CImage &image) |
virtual void | operations (AnImage &mask, Real3CImage &result, Real3CImage &image) |
Protected Attributes | |
Real3CImage * | I0 |
Real3CImage * | I |
double | lambda |
double | tau |
int | niterations |
double | alpha |
RImage * | Nxy |