#include <RRedBlackWvltOp.hpp>
Inheritance diagram for RRedBlackWvltOp:


Purpose: Red Black Wavelet Transform with CDF(2,2) biorthogonal base
Used for denoising, using 2D lifting on "rectangular images"
The transform needs a Horizontal/Vertical step and a second
diagonal step.
It is 100% inplace and use a Gauss Seidel like scheme
Two schemes are used for denoising:
- reducing to zero small details by a hard Threshold
- using wavelet shrinking for a soft threshold (Donoho)
Paper: "Wavelet Transform Using the Lifting Scheme", G. Uyterhoeven, Roose, A. Bultheel,
tech Report ITA-Wavelets-WP1.1 , 28 April 1997,
computer science dep., Katholieke Universiteit Leuven, Belgium.
"The Red-Black Wavelet Transform.", G. Uyterhoeven, A. Bultheel,
tech Report 271,December 1997,
computer science dep., Katholieke Universiteit Leuven, Belgium.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
| RRedBlackWvltOp (int steps, bool forwardTr=false) | |
| RRedBlackWvltOp (int steps, bool forwardTr, bool ahardThreshold, double athreshold) | |
| virtual | ~RRedBlackWvltOp () |
| virtual void | fwdTransform (int maxstage=0) |
| virtual void | bwdTransform (int maxstage=0) |
| virtual RImage * | filter (RImage *src, RImage *dest=0) |
| Local full image filtering. | |
| virtual void | report (FILE *file) |
Protected Methods | |
| virtual double | hvPrediction (int stage, int i, int j) |
| virtual double | hvUpdate (int stage, int i, int j) |
| virtual double | dPrediction (int stage, int i, int j) |
| virtual double | dUpdate (int stage, int i, int j) |
| virtual void | hvPredictionStep (int stage, bool forwardFlag=true) |
| virtual void | hvUpdateStep (int stage, bool forwardFlag=true) |
| virtual void | dPredictionStep (int stage, bool forwardFlag=true) |
| virtual void | dUpdateStep (int stage, bool forwardFlag=true) |
| virtual void | init (RImage *src) |
| virtual void | clear () |
| used to globally destroy subimages avoiding decons | |
| virtual void | fwdStage (int stage) |
| virtual void | bwdStage (int stage) |
| virtual void | reorder (int stage, bool forwardFlag=true) |
Protected Attributes | |
| bool | denoisingFlag |
| bool | hardThreshold |
| double | threshold |
| bool | forwardOnly |
| int | userStages |
| int | nstages |
| int | w |
| int | h |
| int | wS |
| int | hS |
| int | wCurrent |
| int | hCurrent |
| int | currentStage |
| RImage * | I |
| RImage * | IOrder |
|
||||||||||||
|
Local full image filtering.
Implements AbsRImageFilter. |
![]() |
