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;
114 std::string
GetName()
const {
return std::string (
"WienerDeconvolutionImageFilter"); }
117 std::string ToString()
const;
131 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
132 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
#define SITKBasicFilters_EXPORT
OutputRegionModeType m_OutputRegionMode
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
Image Normalize(const Image &image1)
Normalize an image by setting its mean to zero and variance to one.
OutputRegionModeType GetOutputRegionMode() const
Self & SetBoundaryCondition(BoundaryConditionType BoundaryCondition)
Self & SetNoiseVariance(double NoiseVariance)
BoundaryConditionType m_BoundaryCondition
BoundaryConditionType GetBoundaryCondition() const
Self & SetNormalize(bool Normalize)
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetOutputRegionMode(OutputRegionModeType OutputRegionMode)
WienerDeconvolutionImageFilter Self
BasicPixelIDTypeList PixelIDTypeList
The Wiener deconvolution image filter is designed to restore an image convolved with a blurring kerne...
The Image class for SimpleITK.
double GetNoiseVariance() const
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...
std::string GetName() const
The base interface for SimpleITK filters that take one input image.
bool GetNormalize() const