Go to the documentation of this file.
18 #ifndef sitkTikhonovDeconvolutionImageFilter_h
19 #define sitkTikhonovDeconvolutionImageFilter_h
67 SITK_RETURN_SELF_TYPE_HEADER
SetRegularizationConstant (
double RegularizationConstant ) { this->m_RegularizationConstant = RegularizationConstant;
return *
this; }
81 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOn() {
return this->SetNormalize(
true); }
82 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOff() {
return this->SetNormalize(
false); }
88 typedef enum {
ZERO_PAD,ZERO_FLUX_NEUMANN_PAD,PERIODIC_PAD} BoundaryConditionType;\
98 typedef enum {SAME,VALID} OutputRegionModeType;\
109 std::string
GetName()
const {
return std::string (
"TikhonovDeconvolutionImageFilter"); }
112 std::string ToString()
const;
124 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
132 double m_RegularizationConstant{0.0};
135 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.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image(Self::*)(const Image &image1, const Image &image2) MemberFunctionType
Image TikhonovDeconvolution(const Image &image1, const Image &image2, double regularizationConstant=0.0, bool normalize=false, TikhonovDeconvolutionImageFilter::BoundaryConditionType boundaryCondition=itk::simple::TikhonovDeconvolutionImageFilter::ZERO_FLUX_NEUMANN_PAD, TikhonovDeconvolutionImageFilter::OutputRegionModeType outputRegionMode=itk::simple::TikhonovDeconvolutionImageFilter::SAME)
An inverse deconvolution filter regularized in the Tikhonov sense.
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
Self & SetRegularizationConstant(double RegularizationConstant)
Self & SetNormalize(bool Normalize)
OutputRegionModeType GetOutputRegionMode() const
std::string GetName() const
BasicPixelIDTypeList PixelIDTypeList
BoundaryConditionType GetBoundaryCondition() const
#define SITKBasicFilters_EXPORT
double GetRegularizationConstant() const
The base interface for SimpleITK filters that take one input image.
Self & SetOutputRegionMode(OutputRegionModeType OutputRegionMode)
Self & SetBoundaryCondition(BoundaryConditionType BoundaryCondition)
bool GetNormalize() const
An inverse deconvolution filter regularized in the Tikhonov sense.