STIRA  0.1
Public Member Functions | List of all members
stira::wavelet::SubsampledTransform Class Reference
Inheritance diagram for stira::wavelet::SubsampledTransform:
stira::wavelet::Wavelet

Public Member Functions

 SubsampledTransform (WaveletType type=DAUBECHIES_2)
 constructor More...
 
 ~SubsampledTransform ()
 destructor
 
virtual bool Decompose (ArrayGrid< double > *pSourceGrid, int nrScales)
 decomposition More...
 
virtual bool Reconstruct (double threshold=0.0)
 reconstruction More...
 
- Public Member Functions inherited from stira::wavelet::Wavelet
 Wavelet ()
 constructor
 
virtual ~Wavelet ()
 destructor
 
Pyramid< double > * GetPyramid ()
 Gets the pyramid with all the subbands.
 
ArrayGrid< double > * GetCopyOfReconstructedGrid ()
 gets a copy of the grid after wavelket reconstruction Caller gets responsability to delete it after usage
 
int GetNumberOfOrientations ()
 gets the number of orientations
 
int GetNumberOfScales ()
 gets the number of scales
 

Additional Inherited Members

- Protected Member Functions inherited from stira::wavelet::Wavelet
void Initialize (ArrayGrid< double > *pSourceGrid, int nrScales, int nrOrientations=3, bool createBands=false, bool isSubsampled=true, bool isLowestScaleSubsampled=true)
 Initializes data structures and variables for decomposition. More...
 
- Protected Attributes inherited from stira::wavelet::Wavelet
int mNrOrientations
 Number of orientations; default 3 with classical wavelets (LH, HL and HH)
 
int mNrScales
 Number of scales.
 
Pyramid< double > * mpPyramid
 data structure for decomposed bands with wavelet coefficients
 
ArrayGrid< double > * mpDecomposeReconstructGrid
 grid after deompose/reconstruct
 
int mCurrentScale
 number of the scale being computed
 
WaveletFilterSet mSet
 the wavelet filter taps
 
ArrayGrid< double > * mpSourceGrid
 pointer to source data before decomposition
 

Constructor & Destructor Documentation

stira::wavelet::SubsampledTransform::SubsampledTransform ( WaveletType  type = DAUBECHIES_2)

constructor

Parameters
typetype of wavelet to use (see enum in waveletTabs.h)

References stira::wavelet::WaveletTapGenerator::Generate(), and stira::wavelet::WaveletFilterSet::pLowpassForward.

Member Function Documentation

bool stira::wavelet::SubsampledTransform::Decompose ( ArrayGrid< double > *  pSourceGrid,
int  nrScales 
)
virtual
bool stira::wavelet::SubsampledTransform::Reconstruct ( double  threshold = 0.0)
virtual

reconstruction

Parameters
thresholdhard threshold for diagnostic purposes
Returns
true if all went well

Implements stira::wavelet::Wavelet.


The documentation for this class was generated from the following files: