18 #ifndef sitkRichardsonLucyDeconvolutionImageFilter_h
19 #define sitkRichardsonLucyDeconvolutionImageFilter_h
78 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfIterations (
int NumberOfIterations ) { this->m_NumberOfIterations = NumberOfIterations;
return *
this; }
92 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOn() {
return this->SetNormalize(
true); }
93 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOff() {
return this->SetNormalize(
false); }
99 typedef enum {
ZERO_PAD,ZERO_FLUX_NEUMANN_PAD,PERIODIC_PAD} BoundaryConditionType;
119 std::string
GetName()
const {
return std::string (
"RichardsonLucyDeconvolutionImageFilter"); }
122 std::string ToString()
const;
137 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
138 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
bool GetNormalize() const
#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
Self & SetBoundaryCondition(BoundaryConditionType BoundaryCondition)
Image Normalize(const Image &image1)
Normalize an image by setting its mean to zero and variance to one.
OutputRegionModeType GetOutputRegionMode() const
Self & SetNormalize(bool Normalize)
std::string GetName() const
BoundaryConditionType m_BoundaryCondition
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image RichardsonLucyDeconvolution(const Image &image1, const Image &image2, int numberOfIterations=1, bool normalize=false, RichardsonLucyDeconvolutionImageFilter::BoundaryConditionType boundaryCondition=itk::simple::RichardsonLucyDeconvolutionImageFilter::ZERO_FLUX_NEUMANN_PAD, RichardsonLucyDeconvolutionImageFilter::OutputRegionModeType outputRegionMode=itk::simple::RichardsonLucyDeconvolutionImageFilter::SAME)
Deconvolve an image using the Richardson-Lucy deconvolution algorithm.
int GetNumberOfIterations() const
Deconvolve an image using the Richardson-Lucy deconvolution algorithm.
RichardsonLucyDeconvolutionImageFilter Self
Self & SetNumberOfIterations(int NumberOfIterations)
The main Image class for SimpleITK.
BasicPixelIDTypeList PixelIDTypeList
OutputRegionModeType m_OutputRegionMode
BoundaryConditionType GetBoundaryCondition() const
The base interface for SimpleITK filters that take one input image.
Self & SetOutputRegionMode(OutputRegionModeType OutputRegionMode)