ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkRichardsonLucyDeconvolutionImageFilter.h>
Deconvolve an image using the Richardson-Lucy deconvolution algorithm.
This filter implements the Richardson-Lucy deconvolution algorithm as defined in Bertero M and Boccacci P, "Introduction to Inverse Problems in Imaging", 1998. The algorithm assumes that the input image has been formed by a linear shift-invariant system with a known kernel.
The Richardson-Lucy algorithm assumes that noise in the image follows a Poisson distribution and that the distribution for each pixel is independent of the other pixels.
This code was adapted from the Insight Journal contribution:
"Deconvolution: infrastructure and reference algorithms" by Gaetan Lehmann http://hdl.handle.net/10380/3207
Definition at line 59 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef MultiplyImageFilter< InternalComplexImageType, ConjugateAdaptorType, InternalComplexImageType > itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::ComplexConjugateMultiplyType [private] |
Definition at line 119 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef MultiplyImageFilter< InternalComplexImageType > itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::ComplexMultiplyType [private] |
Definition at line 114 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef ComplexConjugateImageAdaptor< InternalComplexImageType > itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::ConjugateAdaptorType [private] |
Definition at line 116 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef SmartPointer< const Self > itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::ConstPointer |
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 69 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef DivideOrZeroOutImageFilter< InternalImageType > itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::DivideFilterType [private] |
Definition at line 115 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef Superclass::FFTFilterType itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::FFTFilterType [protected] |
Because the inputs are real, we can use the specialized filters for real-to-complex Fourier transforms.
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 103 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef Superclass::IFFTFilterType itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::IFFTFilterType [protected] |
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 104 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef TInputImage itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::InputImageType |
Other useful typedefs.
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 72 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef Superclass::InternalComplexImagePointerType itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::InternalComplexImagePointerType |
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 81 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef Superclass::InternalComplexImageType itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::InternalComplexImageType |
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 80 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef Superclass::InternalComplexType itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::InternalComplexType |
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 79 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef Superclass::InternalImagePointerType itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::InternalImagePointerType |
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 78 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef Superclass::InternalImageType itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::InternalImageType |
Internal types used by the FFT filters.
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 77 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef TKernelImage itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::KernelImageType |
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 73 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef MultiplyImageFilter< InternalImageType > itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::MultiplyFilterType [private] |
Filters to compute each iterative update step.
Definition at line 113 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef TOutputImage itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 74 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef SmartPointer< Self > itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::Pointer |
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 68 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef RichardsonLucyDeconvolutionImageFilter itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::Self |
Standard typedefs.
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 64 of file itkRichardsonLucyDeconvolutionImageFilter.h.
typedef IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage > itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::Superclass |
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 67 of file itkRichardsonLucyDeconvolutionImageFilter.h.
itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::RichardsonLucyDeconvolutionImageFilter | ( | ) | [protected] |
virtual itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::~RichardsonLucyDeconvolutionImageFilter | ( | ) | [protected, virtual] |
itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::RichardsonLucyDeconvolutionImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::FFTConvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
virtual void itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::Finish | ( | ProgressAccumulator * | progress, |
float | progressWeight | ||
) | [protected, virtual] |
Runs after iterating.
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
virtual const char* itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
virtual void itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::Initialize | ( | ProgressAccumulator * | progress, |
float | progressWeight, | ||
float | iterationProgressWeight | ||
) | [protected, virtual] |
Runs before iterating .
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
virtual void itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::Iteration | ( | ProgressAccumulator * | , |
float | |||
) | [protected, virtual] |
Performs an iteration.
Implements itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
static Pointer itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::FFTConvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
void itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::operator= | ( | const Self & | ) | [private] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
virtual void itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
ComplexMultiplyType::Pointer itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::m_ComplexMultiplyFilter1 [private] |
Definition at line 123 of file itkRichardsonLucyDeconvolutionImageFilter.h.
ComplexConjugateMultiplyType::Pointer itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::m_ComplexMultiplyFilter2 [private] |
Definition at line 128 of file itkRichardsonLucyDeconvolutionImageFilter.h.
ConjugateAdaptorType::Pointer itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::m_ConjugateAdaptor [private] |
Definition at line 127 of file itkRichardsonLucyDeconvolutionImageFilter.h.
DivideFilterType::Pointer itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::m_DivideFilter [private] |
Definition at line 125 of file itkRichardsonLucyDeconvolutionImageFilter.h.
FFTFilterType::Pointer itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::m_FFTFilter [private] |
Definition at line 126 of file itkRichardsonLucyDeconvolutionImageFilter.h.
IFFTFilterType::Pointer itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::m_IFFTFilter1 [private] |
Definition at line 124 of file itkRichardsonLucyDeconvolutionImageFilter.h.
IFFTFilterType::Pointer itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::m_IFFTFilter2 [private] |
Definition at line 129 of file itkRichardsonLucyDeconvolutionImageFilter.h.
MultiplyFilterType::Pointer itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::m_MultiplyFilter [private] |
Definition at line 130 of file itkRichardsonLucyDeconvolutionImageFilter.h.
InternalImagePointerType itk::RichardsonLucyDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >::m_PaddedInput [private] |
Definition at line 121 of file itkRichardsonLucyDeconvolutionImageFilter.h.