Go to the documentation of this file.
18 #ifndef sitkWienerDeconvolutionImageFilter_h
19 #define sitkWienerDeconvolutionImageFilter_h
74 SITK_RETURN_SELF_TYPE_HEADER
SetNoiseVariance (
double NoiseVariance ) { this->m_NoiseVariance = NoiseVariance;
return *
this; }
88 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOn() {
return this->SetNormalize(
true); }
89 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOff() {
return this->SetNormalize(
false); }
95 typedef enum {
ZERO_PAD,ZERO_FLUX_NEUMANN_PAD,PERIODIC_PAD} BoundaryConditionType;\
105 typedef enum {SAME,VALID} OutputRegionModeType;\
116 std::string
GetName()
const {
return std::string (
"WienerDeconvolutionImageFilter"); }
119 std::string ToString()
const;
131 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
139 double m_NoiseVariance{0.0};
142 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
Self & SetBoundaryCondition(BoundaryConditionType BoundaryCondition)
Self & SetNoiseVariance(double NoiseVariance)
Image(Self::*)(const Image &image1, const Image &image2) MemberFunctionType
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
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