Go to the documentation of this file.
18 #ifndef sitkRichardsonLucyDeconvolutionImageFilter_h
19 #define sitkRichardsonLucyDeconvolutionImageFilter_h
80 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfIterations (
int NumberOfIterations ) { this->m_NumberOfIterations = NumberOfIterations;
return *
this; }
94 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOn() {
return this->SetNormalize(
true); }
95 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOff() {
return this->SetNormalize(
false); }
101 typedef enum {
ZERO_PAD,ZERO_FLUX_NEUMANN_PAD,PERIODIC_PAD} BoundaryConditionType;\
122 std::string
GetName()
const {
return std::string (
"RichardsonLucyDeconvolutionImageFilter"); }
125 std::string ToString()
const;
137 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
145 int m_NumberOfIterations{1};
148 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.
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
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image(Self::*)(const Image &image1, const Image &image2) MemberFunctionType
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.
Self & SetOutputRegionMode(OutputRegionModeType OutputRegionMode)
BasicPixelIDTypeList PixelIDTypeList
#define SITKBasicFilters_EXPORT
bool GetNormalize() const
int GetNumberOfIterations() const
BoundaryConditionType GetBoundaryCondition() const
The base interface for SimpleITK filters that take one input image.
Self & SetBoundaryCondition(BoundaryConditionType BoundaryCondition)
Self & SetNumberOfIterations(int NumberOfIterations)
std::string GetName() const
Self & SetNormalize(bool Normalize)
OutputRegionModeType GetOutputRegionMode() const
Deconvolve an image using the Richardson-Lucy deconvolution algorithm.