#include <RSimpleAosOp.hpp>
Inheritance diagram for RSimpleAosOp:
Purpose: Fast Computation of Simple AOS recursive flow. Use the Thomas LU model. Semi-Implicit solver using AOS additive splitting (I - tau * A) * uNew= uOld Should be better than LOD: Rotation invariant. LOD is sequential (handelling each direction x y z in sequence) AOS is parallel (handelling each direction x y z at the same time) AOS build an average operator Both LOD and AOS are designed for large image restoration, O(N) in time ang space!!! Papers: "Recursivity and PDE's in image processing", L. Alvarez, R. Deriche and F Santana, Spain 1998. "Efficient and Reliable Schemes for Nonlinear Diffusion Filtering", Joachim. Weickert & all, IEEE transactions on Image Processing, vol7, n3, March 1998.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
RSimpleAosOp (int iterations=8, double t=0.5, double k=16.0, double asigma=5.0, bool iirFlag=false, bool nonLinearFlag=true) | |
virtual | ~RSimpleAosOp () |
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 | init (RImage *im) |
virtual void | gradientRegularisation (RImage *im) |
virtual double | g (int i, int j)=0 |
Protected Attributes | |
int | m |
int | w |
int | h |
int | iterMax |
double | tau |
double | K |
double | K2 |
double | sigma |
bool | iirUsed |
bool | nonLinear |
AbsRImageFilter * | blurrer |
AbsRImageFilter * | gradient |
RImage * | Isigma |
RImage * | IgradNorme |
AbsTriDiagonalLS * | hThomasLS |
AbsTriDiagonalLS * | vThomasLS |
|
Local full image filtering.
Implements AbsRImageFilter. Reimplemented in RAosPeronaFabOp, and RRegularizedAosOp. |
|
Local filtering in a mask area.
Reimplemented from AbsRImageFilter. Reimplemented in RAosCDDinpainting, RAosPeronaCDDinpainting, and RRegularizedAosOp. |