#include <ColorShapiroFilter.hpp>
Inheritance diagram for ColorShapiroFilter:
Purpose: Shapiro color restoration. 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 | |
ColorShapiroFilter (int n=50, double ralpha=0.05, double atau=0.1) | |
virtual | ~ColorShapiroFilter () |
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 x, int y) |
virtual void | operations (Real3CImage &result, Real3CImage &image) |
virtual void | operations (AnImage &mask, Real3CImage &result, Real3CImage &image) |
Protected Attributes | |
double | tau |
int | niterations |
double | alpha |
RImage * | Nxy |