Go to the documentation of this file.
18 #ifndef sitkInverseDeconvolutionImageFilter_h
19 #define sitkInverseDeconvolutionImageFilter_h
65 SITK_RETURN_SELF_TYPE_HEADER
SetKernelZeroMagnitudeThreshold (
double KernelZeroMagnitudeThreshold ) { this->m_KernelZeroMagnitudeThreshold = KernelZeroMagnitudeThreshold;
return *
this; }
79 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOn() {
return this->SetNormalize(
true); }
80 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOff() {
return this->SetNormalize(
false); }
86 typedef enum {
ZERO_PAD,ZERO_FLUX_NEUMANN_PAD,PERIODIC_PAD} BoundaryConditionType;\
96 typedef enum {SAME,VALID} OutputRegionModeType;\
107 std::string
GetName()
const {
return std::string (
"InverseDeconvolutionImageFilter"); }
110 std::string ToString()
const;
122 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
130 double m_KernelZeroMagnitudeThreshold{1.0e-4};
133 bool m_Normalize{
false};
The Image class for SimpleITK.
Image Normalize(const Image &image1)
Normalize an image by setting its mean to zero and variance to one.
Image InverseDeconvolution(const Image &image1, const Image &image2, double kernelZeroMagnitudeThreshold=1.0e-4, bool normalize=false, InverseDeconvolutionImageFilter::BoundaryConditionType boundaryCondition=itk::simple::InverseDeconvolutionImageFilter::ZERO_FLUX_NEUMANN_PAD, InverseDeconvolutionImageFilter::OutputRegionModeType outputRegionMode=itk::simple::InverseDeconvolutionImageFilter::SAME)
The direct linear inverse deconvolution filter.
Self & SetOutputRegionMode(OutputRegionModeType OutputRegionMode)
BoundaryConditionType GetBoundaryCondition() const
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 direct linear inverse deconvolution filter.
Image(Self::*)(const Image &image1, const Image &image2) MemberFunctionType
BasicPixelIDTypeList PixelIDTypeList
OutputRegionModeType GetOutputRegionMode() const
Self & SetNormalize(bool Normalize)
Self & SetBoundaryCondition(BoundaryConditionType BoundaryCondition)
#define SITKBasicFilters_EXPORT
bool GetNormalize() const
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.
std::string GetName() const
double GetKernelZeroMagnitudeThreshold() const
Self & SetKernelZeroMagnitudeThreshold(double KernelZeroMagnitudeThreshold)