Go to the documentation of this file.
18 #ifndef sitkTikhonovDeconvolutionImageFilter_h
19 #define sitkTikhonovDeconvolutionImageFilter_h
66 SITK_RETURN_SELF_TYPE_HEADER
SetRegularizationConstant (
double RegularizationConstant ) { this->m_RegularizationConstant = RegularizationConstant;
return *
this; }
80 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOn() {
return this->SetNormalize(
true); }
81 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOff() {
return this->SetNormalize(
false); }
87 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;
123 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
131 double m_RegularizationConstant{0.0};
134 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
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
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.
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.