STIRA
0.1
|
parent class to compute redundant, non-subsampled wavelet decomposition / reconstruction More...
#include <CriticallySubsampledTransform.h>
Public Member Functions | |
CriticallySubsampledTransform () | |
constructor | |
~CriticallySubsampledTransform () | |
destructor | |
virtual bool | Decompose (ArrayGrid< double > *pSourceGrid, int nrScales) |
decomposition More... | |
virtual bool | Reconstruct (double threshold=0) |
reconstructs the decomposed image 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 | |
parent class to compute redundant, non-subsampled wavelet decomposition / reconstruction
|
virtual |
decomposition
pSourceGrid | grid to be deomposed |
nrScales | nr of scales in the decomposition |
Implements stira::wavelet::Wavelet.
References stira::imagedata::PyramidLevel< T >::AddOrientedBand(), stira::imagedata::ArrayGrid< T >::GetHeight(), stira::imagedata::Pyramid< T >::GetLowpassResidual(), stira::imagedata::Pyramid< T >::GetRecursiveScale(), stira::imagedata::ArrayGrid< T >::GetValue(), stira::imagedata::ArrayGrid< T >::GetWidth(), stira::wavelet::Wavelet::Initialize(), stira::wavelet::Wavelet::mCurrentScale, stira::wavelet::Wavelet::mNrScales, stira::wavelet::Wavelet::mpPyramid, stira::imagedata::Pyramid< T >::SetLowpassResidual(), and stira::imagedata::ArrayGrid< T >::SetValue().
Referenced by stira::wavelet::NoiseEstimator::Run().
|
virtual |
reconstructs the decomposed image
threshold | hard threshold for bandpass images, just for demo purposes |
Implements stira::wavelet::Wavelet.
References stira::imagedata::ArrayGrid< T >::Clone(), stira::imagedata::ArrayGrid< T >::GetHeight(), stira::imagedata::Pyramid< T >::GetLowpassResidual(), stira::imagedata::PyramidLevel< T >::GetOrientedBand(), stira::imagedata::Pyramid< T >::GetRecursiveScale(), stira::imagedata::ArrayGrid< T >::GetValue(), stira::imagedata::ArrayGrid< T >::GetWidth(), stira::wavelet::Wavelet::mCurrentScale, stira::wavelet::Wavelet::mNrScales, stira::wavelet::Wavelet::mpDecomposeReconstructGrid, stira::wavelet::Wavelet::mpPyramid, and stira::imagedata::ArrayGrid< T >::SetValue().