Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

RRedBlackWvltOp Class Reference

#include <RRedBlackWvltOp.hpp>

Inheritance diagram for RRedBlackWvltOp:

Inheritance graph
[legend]
Collaboration diagram for RRedBlackWvltOp:

Collaboration graph
[legend]
List of all members.

Detailed Description

Red Black Wavelet Transform.

Author:
Bernard De Cuyper
Version:
0.05
Date:
17/07/2002
 
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 RImagefilter (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
RImageI
RImageIOrder


Member Function Documentation

RImage * RRedBlackWvltOp::filter RImage   src,
RImage   dest = 0
[virtual]
 

Local full image filtering.

Parameters:
src  is RImage* is RImage source channel
dest  is RImage* is RImage result/placeholder
Returns :
RImage* as result,

Implements AbsRImageFilter.


The documentation for this class was generated from the following files:
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com