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;
108 std::string
GetName()
const {
return std::string (
"TikhonovDeconvolutionImageFilter"); }
111 std::string ToString()
const;
125 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
126 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
#define SITKBasicFilters_EXPORT
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 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.
Image Normalize(const Image &image1)
Normalize an image by setting its mean to zero and variance to one.
An inverse deconvolution filter regularized in the Tikhonov sense.
BasicPixelIDTypeList PixelIDTypeList
Self & SetOutputRegionMode(OutputRegionModeType OutputRegionMode)
TikhonovDeconvolutionImageFilter Self
OutputRegionModeType m_OutputRegionMode
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
bool GetNormalize() const
std::string GetName() const
Self & SetRegularizationConstant(double RegularizationConstant)
The Image class for SimpleITK.
BoundaryConditionType GetBoundaryCondition() const
double m_RegularizationConstant
double GetRegularizationConstant() const
BoundaryConditionType m_BoundaryCondition
Self & SetNormalize(bool Normalize)
OutputRegionModeType GetOutputRegionMode() const
Self & SetBoundaryCondition(BoundaryConditionType BoundaryCondition)
The base interface for SimpleITK filters that take one input image.