STIRA
0.1
|
child class for computing wiener deconvolution More...
#include <WienerDeconvolve.h>
Public Member Functions | |
WienerDeconvolve (Image *pDegradedImage) | |
constructor More... | |
WienerDeconvolve (Image *pDegradedImage, Image *pPSF) | |
constructor More... | |
~WienerDeconvolve () | |
destructor | |
bool | Run () |
starts the deconvolution if all inputs are available After completion, get the result with GetRestoredImage() from the parent class | |
Public Member Functions inherited from stira::deconvolve::DeconvolveMaster | |
Image * | GetDegradedImage () |
Gets the degraded input image. | |
void | SetDegradedImage (Image *pDegradedImage) |
sets the degraded image to restore More... | |
Image * | GetPSF () |
gets the Point Spread Function (PSF) The PSF is a model of the blur; it is how every single point is imaged in the degraded image. For an ideal image, it would be a delta function; in reality, it is mostly a certain spot. | |
void | SetPSF (Image *pPSF) |
sets the Point Spread Function (PSF) More... | |
Image * | GetRestoredImage () |
gets the result after running the deconvolution | |
void | SetSigmaNoise (double sigma) |
sets the noise level More... | |
double | GetSigmaNoise () |
gets the noise level | |
Static Public Member Functions | |
static ArrayGrid< double > * | RunSingleband (ArrayGrid< double > *pInGrid, ArrayGrid< double > *pInPSF, double noiseLevel) |
Run restoration for single spectral band assumes simplest case that bands can be processed independently. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from stira::deconvolve::DeconvolveMaster | |
DeconvolveMaster (Image *pDegradedImage) | |
constructor Sets degraded input image; PSF is estimated or entered in later stage More... | |
DeconvolveMaster (Image *pDegradedImage, Image *pPSF) | |
constructor Sets degraded input image and PSF More... | |
virtual | ~DeconvolveMaster () |
constructor | |
bool | AreParentConditionsOK () |
checks basic conditions are fulfilled for all deconvolution methods | |
Protected Attributes inherited from stira::deconvolve::DeconvolveMaster | |
Image * | mpDegradedImage |
degraded input image | |
Image * | mpRestoredImage |
restored image for output | |
Image * | mpPSF |
image containing the Point Spread Function | |
double | mSigmaNoise |
sigma of the noise | |
child class for computing wiener deconvolution
stira::deconvolve::WienerDeconvolve::WienerDeconvolve | ( | Image * | pDegradedImage | ) |
constructor
pDegradedImage | the degraded input image for restoration |
constructor
pDegradedImage | the degraded input image for restoration |
pPSF | the Point Spread Function |
|
static |
Run restoration for single spectral band assumes simplest case that bands can be processed independently.
pInGrid | band to be retsored |
pInPSF | Point Spread Function for this band |
noiseLevel | the noise level |
References stira::fouriertools::FFTBand::ApplyForwardTransform(), stira::fouriertools::FFTBand::ApplyInverseTransform(), stira::fouriertools::FFTBand::Conjugate(), stira::fouriertools::FFTBand::ConvertToRealGrid(), stira::imagedata::ArrayGrid< T >::GetHeight(), stira::fouriertools::FFTBand::GetValue(), stira::imagedata::ArrayGrid< T >::GetValue(), stira::imagedata::ArrayGrid< T >::GetWidth(), and stira::fouriertools::FFTBand::SetValue().
Referenced by Run().