Go to the documentation of this file.
18 #ifndef sitkWienerDeconvolutionImageFilter_h
19 #define sitkWienerDeconvolutionImageFilter_h
73 SITK_RETURN_SELF_TYPE_HEADER
SetNoiseVariance (
double NoiseVariance ) { this->m_NoiseVariance = NoiseVariance;
return *
this; }
87 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOn() {
return this->SetNormalize(
true); }
88 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOff() {
return this->SetNormalize(
false); }
94 typedef enum {
ZERO_PAD,ZERO_FLUX_NEUMANN_PAD,PERIODIC_PAD} BoundaryConditionType;\
115 std::string
GetName()
const {
return std::string (
"WienerDeconvolutionImageFilter"); }
118 std::string ToString()
const;
130 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
138 double m_NoiseVariance{0.0};
141 bool m_Normalize{
false};
The Image class for SimpleITK.
BoundaryConditionType GetBoundaryCondition() const
Image Normalize(const Image &image1)
Normalize an image by setting its mean to zero and variance to one.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
Self & SetBoundaryCondition(BoundaryConditionType BoundaryCondition)
Self & SetNoiseVariance(double NoiseVariance)
Image(Self::*)(const Image &image1, const Image &image2) MemberFunctionType
The Wiener deconvolution image filter is designed to restore an image convolved with a blurring kerne...
OutputRegionModeType GetOutputRegionMode() const
#define SITKBasicFilters_EXPORT
double GetNoiseVariance() const
std::string GetName() const
Self & SetNormalize(bool Normalize)
The base interface for SimpleITK filters that take one input image.
Image WienerDeconvolution(const Image &image1, const Image &image2, double noiseVariance=0.0, bool normalize=false, WienerDeconvolutionImageFilter::BoundaryConditionType boundaryCondition=itk::simple::WienerDeconvolutionImageFilter::ZERO_FLUX_NEUMANN_PAD, WienerDeconvolutionImageFilter::OutputRegionModeType outputRegionMode=itk::simple::WienerDeconvolutionImageFilter::SAME)
The Wiener deconvolution image filter is designed to restore an image convolved with a blurring kerne...
Self & SetOutputRegionMode(OutputRegionModeType OutputRegionMode)
bool GetNormalize() const
BasicPixelIDTypeList PixelIDTypeList