template<typename TInputImage, typename TKernelImage = TInputImage, typename TOutputImage = TInputImage, typename TInternalPrecision = double>
class itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >
The Wiener deconvolution image filter is designed to restore an image convolved with a blurring kernel while keeping noise enhancement to a minimum.
The Wiener filter aims to minimize noise enhancement induced by frequencies with low signal-to-noise ratio. The Wiener filter kernel is defined in the frequency domain as where is the Fourier transform of the blurring kernel with which the original image was convolved and the signal-to-noise ratio . is defined by where is the power spectral density of the uncorrupted signal and is the power spectral density of the noise. When applied to the input blurred image, this filter produces an estimate of the true underlying signal that minimizes the expected error between and .
This filter requires two inputs, the image to be deconvolved and the blurring kernel. These two inputs can be set using the methods SetInput() and SetKernelImage(), respectively.
The power spectral densities of the signal and noise are typically unavailable for a given problem. In particular, cannot be computed from because this unknown signal is precisely the signal that this filter aims to recover. Nevertheless, it is common for the noise to have a power spectral density that is flat or decreasing significantly more slowly than the power spectral density of a typical image as the frequency increases. Hence, can typically be approximated with a constant, and this filter makes this assumption (see the NoiseVariance member variable). , on the other hand, will vary with input. This filter computes the power spectral density of the input blurred image, subtracts the power spectral density of the noise, and uses the result as the estimate of .
For further information on the Wiener deconvolution filter, please see "Digital Signal Processing" by Kenneth R. Castleman, Prentice Hall, 1995
- Author
- Gaetan Lehmann, Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France
-
Chris Mullins, The University of North Carolina at Chapel Hill
-
Cory Quammen, The University of North Carolina at Chapel Hill
Definition at line 75 of file itkWienerDeconvolutionImageFilter.h.
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef TInputImage | InputImageType |
|
typedef Superclass::InputIndexType | InputIndexType |
|
typedef Superclass::InputPixelType | InputPixelType |
|
typedef Superclass::InputRegionType | InputRegionType |
|
typedef Superclass::InputSizeType | InputSizeType |
|
typedef Superclass::InternalComplexImagePointerType | InternalComplexImagePointerType |
|
typedef Superclass::InternalComplexImageType | InternalComplexImageType |
|
typedef Superclass::InternalComplexType | InternalComplexType |
|
typedef Superclass::InternalImagePointerType | InternalImagePointerType |
|
typedef Superclass::InternalImageType | InternalImageType |
|
typedef TKernelImage | KernelImageType |
|
typedef Superclass::KernelIndexType | KernelIndexType |
|
typedef Superclass::KernelPixelType | KernelPixelType |
|
typedef Superclass::KernelRegionType | KernelRegionType |
|
typedef Superclass::KernelSizeType | KernelSizeType |
|
typedef TOutputImage | OutputImageType |
|
typedef Superclass::OutputIndexType | OutputIndexType |
|
typedef Superclass::OutputPixelType | OutputPixelType |
|
typedef Superclass::OutputRegionType | OutputRegionType |
|
typedef Superclass::OutputSizeType | OutputSizeType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef WienerDeconvolutionImageFilter | Self |
|
typedef Superclass::SizeValueType | SizeValueType |
|
typedef InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef TInputImage | InputImageType |
|
typedef Superclass::InputIndexType | InputIndexType |
|
typedef Superclass::InputPixelType | InputPixelType |
|
typedef Superclass::InputRegionType | InputRegionType |
|
typedef Superclass::InputSizeType | InputSizeType |
|
typedef Superclass::InternalComplexImagePointerType | InternalComplexImagePointerType |
|
typedef Superclass::InternalComplexImageType | InternalComplexImageType |
|
typedef Superclass::InternalComplexType | InternalComplexType |
|
typedef Superclass::InternalImagePointerType | InternalImagePointerType |
|
typedef Superclass::InternalImageType | InternalImageType |
|
typedef TKernelImage | KernelImageType |
|
typedef Superclass::KernelIndexType | KernelIndexType |
|
typedef Superclass::KernelPixelType | KernelPixelType |
|
typedef Superclass::KernelRegionType | KernelRegionType |
|
typedef Superclass::KernelSizeType | KernelSizeType |
|
typedef TOutputImage | OutputImageType |
|
typedef Superclass::OutputIndexType | OutputIndexType |
|
typedef Superclass::OutputPixelType | OutputPixelType |
|
typedef Superclass::OutputRegionType | OutputRegionType |
|
typedef Superclass::OutputSizeType | OutputSizeType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef InverseDeconvolutionImageFilter | Self |
|
typedef Superclass::SizeValueType | SizeValueType |
|
typedef FFTConvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | Superclass |
|
typedef Superclass::BoundaryConditionPointerType | BoundaryConditionPointerType |
|
typedef Superclass::BoundaryConditionType | BoundaryConditionType |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef TInputImage | InputImageType |
|
typedef InputImageType::IndexType | InputIndexType |
|
typedef InputImageType::PixelType | InputPixelType |
|
typedef InputImageType::RegionType | InputRegionType |
|
typedef InputImageType::SizeType | InputSizeType |
|
typedef InternalComplexImageType::Pointer | InternalComplexImagePointerType |
|
typedef Image< InternalComplexType, TInputImage::ImageDimension > | InternalComplexImageType |
|
typedef std::complex< TInternalPrecision > | InternalComplexType |
|
typedef InternalImageType::Pointer | InternalImagePointerType |
|
typedef Image< TInternalPrecision, TInputImage::ImageDimension > | InternalImageType |
|
typedef TKernelImage | KernelImageType |
|
typedef KernelImageType::IndexType | KernelIndexType |
|
typedef KernelImageType::PixelType | KernelPixelType |
|
typedef KernelImageType::RegionType | KernelRegionType |
|
typedef KernelImageType::SizeType | KernelSizeType |
|
typedef TOutputImage | OutputImageType |
|
typedef OutputImageType::IndexType | OutputIndexType |
|
typedef OutputImageType::PixelType | OutputPixelType |
|
typedef OutputImageType::RegionType | OutputRegionType |
|
typedef OutputImageType::SizeType | OutputSizeType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef FFTConvolutionImageFilter | Self |
|
typedef InputSizeType::SizeValueType | SizeValueType |
|
typedef ConvolutionImageFilterBase< TInputImage, TKernelImage, TOutputImage > | Superclass |
|
typedef BoundaryConditionType * | BoundaryConditionPointerType |
|
typedef ImageBoundaryCondition< TInputImage > | BoundaryConditionType |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef ZeroFluxNeumannBoundaryCondition< TInputImage > | DefaultBoundaryConditionType |
|
typedef TInputImage | InputImageType |
|
typedef InputImageType::IndexType | InputIndexType |
|
typedef InputImageType::PixelType | InputPixelType |
|
typedef InputImageType::RegionType | InputRegionType |
|
typedef InputImageType::SizeType | InputSizeType |
|
typedef TKernelImage | KernelImageType |
|
typedef KernelImageType::IndexType | KernelIndexType |
|
typedef KernelImageType::PixelType | KernelPixelType |
|
typedef KernelImageType::RegionType | KernelRegionType |
|
typedef KernelImageType::SizeType | KernelSizeType |
|
typedef TOutputImage | OutputImageType |
|
typedef OutputImageType::IndexType | OutputIndexType |
|
typedef OutputImageType::PixelType | OutputPixelType |
|
enum | OutputRegionModeType {
SAME = 0,
VALID
} |
|
typedef OutputImageType::RegionType | OutputRegionType |
|
typedef OutputImageType::SizeType | OutputSizeType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef ConvolutionImageFilterBase | Self |
|
typedef InputSizeType::SizeValueType | SizeValueType |
|
typedef ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef InputImageType::ConstPointer | InputImageConstPointer |
|
typedef InputImageType::PixelType | InputImagePixelType |
|
typedef InputImageType::Pointer | InputImagePointer |
|
typedef InputImageType::RegionType | InputImageRegionType |
|
typedef TInputImage | InputImageType |
|
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
|
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef ImageToImageFilter | Self |
|
typedef ImageSource< TOutputImage > | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
|
typedef DataObject::Pointer | DataObjectPointer |
|
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
|
typedef OutputImageType::PixelType | OutputImagePixelType |
|
typedef OutputImageType::Pointer | OutputImagePointer |
|
typedef OutputImageType::RegionType | OutputImageRegionType |
|
typedef TOutputImage | OutputImageType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef ImageSource | Self |
|
typedef ProcessObject | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
|
typedef DataObject::Pointer | DataObjectPointer |
|
typedef std::vector< DataObjectPointer > | DataObjectPointerArray |
|
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
|
typedef std::vector< DataObjectIdentifierType > | NameArray |
|
typedef SmartPointer< Self > | Pointer |
|
typedef ProcessObject | Self |
|
typedef Object | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef SmartPointer< Self > | Pointer |
|
typedef Object | Self |
|
typedef LightObject | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef SmartPointer< Self > | Pointer |
|
typedef LightObject | Self |
|
|
void | GenerateData () override |
|
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
|
| WienerDeconvolutionImageFilter () |
|
| ~WienerDeconvolutionImageFilter () |
|
| InverseDeconvolutionImageFilter () |
|
| ~InverseDeconvolutionImageFilter () |
|
void | CropOutput (InternalImageType *paddedOutput, ProgressAccumulator *progress, float progressWeight) |
|
| FFTConvolutionImageFilter () |
|
void | GenerateInputRequestedRegion () override |
|
InputSizeType | GetPadLowerBound () const |
|
InputSizeType | GetPadSize () const |
|
bool | GetXDimensionIsOdd () const |
|
void | PadInput (const InputImageType *input, InternalImagePointerType &paddedInput, ProgressAccumulator *progress, float progressWeight) |
|
void | PrepareInput (const InputImageType *input, InternalComplexImagePointerType &preparedInput, ProgressAccumulator *progress, float progressWeight) |
|
void | PrepareInputs (const InputImageType *input, const KernelImageType *kernel, InternalComplexImagePointerType &preparedInput, InternalComplexImagePointerType &preparedKernel, ProgressAccumulator *progress, float progressWeight) |
|
void | PrepareKernel (const KernelImageType *kernel, InternalComplexImagePointerType &preparedKernel, ProgressAccumulator *progress, float progressWeight) |
|
void | ProduceOutput (InternalComplexImageType *paddedOutput, ProgressAccumulator *progress, float progressWeight) |
|
void | TransformPaddedInput (const InternalImageType *paddedInput, InternalComplexImagePointerType &transformedInput, ProgressAccumulator *progress, float progressWeight) |
|
| ~FFTConvolutionImageFilter () |
|
| ConvolutionImageFilterBase () |
|
void | GenerateOutputInformation () override |
|
OutputRegionType | GetValidRegion () const |
|
virtual void | VerifyInputInformation () override |
|
| ~ConvolutionImageFilterBase () |
|
virtual void | CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion) |
|
virtual void | CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion) |
|
| ImageToImageFilter () |
|
| ~ImageToImageFilter () |
|
void | PushBackInput (const DataObject *input) override |
|
void | PushFrontInput (const DataObject *input) override |
|
virtual void | AfterThreadedGenerateData () |
|
virtual void | AllocateOutputs () |
|
virtual void | BeforeThreadedGenerateData () |
|
virtual const ImageRegionSplitterBase * | GetImageRegionSplitter () const |
|
| ImageSource () |
|
virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion) |
|
virtual void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) |
|
virtual | ~ImageSource () |
|
virtual void | AddInput (DataObject *input) |
|
virtual void | AddOutput (DataObject *output) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
|
virtual void | CacheInputReleaseDataFlags () |
|
virtual void | GenerateOutputRequestedRegion (DataObject *output) |
|
DataObject * | GetInput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
|
virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredInputs () const |
|
virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredOutputs () const |
|
bool | IsIndexedInputName (const DataObjectIdentifierType &) const |
|
bool | IsIndexedOutputName (const DataObjectIdentifierType &) const |
|
bool | IsRequiredInputName (const DataObjectIdentifierType &) const |
|
| itkLegacyMacro (virtual void RemoveOutput(DataObject *output)) |
|
| itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num)) |
|
| itkLegacyMacro (virtual void RemoveInput(DataObject *input)) |
|
| itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num)) |
|
DataObjectPointerArraySizeType | MakeIndexFromInputName (const DataObjectIdentifierType &name) const |
|
DataObjectPointerArraySizeType | MakeIndexFromOutputName (const DataObjectIdentifierType &name) const |
|
DataObjectIdentifierType | MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const |
|
DataObjectIdentifierType | MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const |
|
| ProcessObject () |
|
virtual void | PropagateResetPipeline () |
|
virtual void | ReleaseInputs () |
|
virtual void | RemoveInput (const DataObjectIdentifierType &key) |
|
virtual void | RemoveInput (DataObjectPointerArraySizeType) |
|
virtual void | RemoveOutput (const DataObjectIdentifierType &key) |
|
virtual void | RemoveOutput (DataObjectPointerArraySizeType idx) |
|
bool | RemoveRequiredInputName (const DataObjectIdentifierType &) |
|
virtual void | RestoreInputReleaseDataFlags () |
|
virtual void | SetInput (const DataObjectIdentifierType &key, DataObject *input) |
|
virtual void | SetNthInput (DataObjectPointerArraySizeType num, DataObject *input) |
|
virtual void | SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output) |
|
void | SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num) |
|
void | SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num) |
|
virtual void | SetNumberOfRequiredInputs (DataObjectPointerArraySizeType) |
|
virtual void | SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg) |
|
virtual void | SetOutput (const DataObjectIdentifierType &key, DataObject *output) |
|
virtual void | SetPrimaryInput (DataObject *input) |
|
virtual void | SetPrimaryOutput (DataObject *output) |
|
void | SetRequiredInputNames (const NameArray &) |
|
virtual void | VerifyPreconditions () |
|
| ~ProcessObject () |
|
DataObject * | GetInput (DataObjectPointerArraySizeType idx) |
|
const DataObject * | GetInput (DataObjectPointerArraySizeType idx) const |
|
DataObject * | GetPrimaryInput () |
|
const DataObject * | GetPrimaryInput () const |
|
virtual void | SetPrimaryInputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryInputName (void) const |
|
DataObject * | GetOutput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
|
virtual void | SetPrimaryOutputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryOutputName (void) const |
|
DataObject * | GetOutput (DataObjectPointerArraySizeType idx) |
|
const DataObject * | GetOutput (DataObjectPointerArraySizeType idx) const |
|
DataObject * | GetPrimaryOutput () |
|
const DataObject * | GetPrimaryOutput () const |
|
| Object () |
|
bool | PrintObservers (std::ostream &os, Indent indent) const |
|
virtual void | SetTimeStamp (const TimeStamp &time) |
|
virtual | ~Object () |
|
virtual LightObject::Pointer | InternalClone () const |
|
| LightObject () |
|
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
|
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
|
virtual | ~LightObject () |
|