STIRA
0.1
|
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 | |
stira::wavelet::SubsampledTransform::SubsampledTransform | ( | WaveletType | type = DAUBECHIES_2 | ) |
constructor
type | type of wavelet to use (see enum in waveletTabs.h) |
References stira::wavelet::WaveletTapGenerator::Generate(), and stira::wavelet::WaveletFilterSet::pLowpassForward.
|
virtual |
decomposition
pSourceGrid | grid to be deomposed |
nrScales | nr of scales in the decomposition |
Implements stira::wavelet::Wavelet.
References stira::imagedata::ArrayGrid< T >::Clone(), stira::imagedata::ArrayGridTools< T >::ExtractSubGrid(), stira::imagedata::ArrayGrid< T >::GetHeight(), stira::imagedata::ArrayGrid< T >::GetWidth(), stira::imagetools::NumberGridTools< T >::HardThreshold(), and stira::imagedata::ArrayGridTools< T >::InsertSubGrid().
|
virtual |
reconstruction
threshold | hard threshold for diagnostic purposes |
Implements stira::wavelet::Wavelet.