#include <F2DCflAdiHeatFlowOp.hpp>
Inheritance diagram for F2DCflAdiHeatFlowOp:
Purpose: Slow Computation of 2D Heat recursive flow. Splitted implicit solver using tridiagonals solvers when possible (I - tau/2 * Ax) * u$= [(I + tau/2 * Ay)] * uOld // X-sweep (I - tau/2 * Ay) * u= [(I + tau/2 * Ax)] * u$ // Y-sweep Papers: "Recursivity and PDE's in image processing", L. Alvarez, R. Deriche and F Santana, Spain 1998. "Numerical Receipes in C: Diffusion Equation in Multidimensions.", p666, William H. Press & all, Cambridge University Press, 1988. "Numerical Receipes in C: 17.6, Operator Splitting Methods and ADI.", p681-688, William H. Press & all, Cambridge University Press, 1988. Note: The Numerical Receipes exhibits a fast classic DPR-ADI O(N), starting with a half explicit single iteration. This ADI may be sensitive to CFL condition on its right part. I found experimentally a blow out a sigma>=8. Here we decide to take care of CFL on all RHS parts. This givve stable results even with sigma>=20.0
@ Copyrights: Bernard De Cuyper 2004, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
F2DCflAdiHeatFlowOp (int typeSolver, int iter=1, int innerIter=8, float t=0.5, float eps=1.0e-4) | |
Can be used as alternative of IIR for large sigma blurring when t=(sigma*sigma)/2. | |
virtual | ~F2DCflAdiHeatFlowOp () |
virtual FImage * | filter (FImage *src, FImage *dest=0) |
Local full image filtering. | |
virtual void | report (FILE *file) |
|
Local full image filtering.
Reimplemented from F2DAdiHeatFlowOp. |