#include <SelectiveThomasLS.hpp>
Inheritance diagram for SelectiveThomasLS:
LU Tri diagonal solver Used to solve a set of linearized differencial equations,.... Some restoration are of the style: A * iNew = iOld iNew could be X, and iOld could be b. Basic Memory Usage: 9*N
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
SelectiveThomasLS (int asize, double cstFrozen=1.0) | |
virtual void | initFreezing (int val=0) |
virtual | ~SelectiveThomasLS () |
virtual void | freeze (int item, int val=0) |
virtual void | loadA (RTriDiagonalMatrix *m) |
virtual void | loadMatrix (RealVector *u1, RealVector *d1, RealVector *l1) |
virtual void | loadX (RealVector *data) |
virtual void | loadB (RealVector *data) |
virtual bool | solve () |
virtual void | output () |
virtual void | output (FILE *file) |
Protected Methods | |
void | computeLRdecomposition () |
Equivalent to filter parametrisation. | |
void | forwardSubstitution () |
Equivalent to filter causal part. | |
void | backwardSubstitution () |
Equivalent to filter non-causal part. | |
Private Attributes | |
RealVector * | uOut |
RealVector * | dOut |
RealVector * | lOut |
RealVector * | y |
int * | frozenPixel |
double | dfrozen |
double | dfrozenInv |