Go to the documentation of this file.
18 #ifndef sitkFFTConvolutionImageFilter_h
19 #define sitkFFTConvolutionImageFilter_h
73 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOn() {
return this->SetNormalize(
true); }
74 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOff() {
return this->SetNormalize(
false); }
80 typedef enum {
ZERO_PAD,ZERO_FLUX_NEUMANN_PAD,PERIODIC_PAD} BoundaryConditionType;\
90 typedef enum {SAME,VALID} OutputRegionModeType;\
101 std::string
GetName()
const {
return std::string (
"FFTConvolutionImageFilter"); }
104 std::string ToString()
const;
116 template <
class TImageType>
Image ExecuteInternal (
const Image * image,
const Image * kernelImage );
125 bool m_Normalize{
false};
The Image class for SimpleITK.
bool GetNormalize() const
BasicPixelIDTypeList PixelIDTypeList
Image Normalize(const Image &image1)
Normalize an image by setting its mean to zero and variance to one.
Self & SetNormalize(bool Normalize)
Convolve a given image with an arbitrary image kernel using multiplication in the Fourier domain.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
OutputRegionModeType GetOutputRegionMode() const
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 FFTConvolution(const Image &image, const Image &kernelImage, bool normalize=false, FFTConvolutionImageFilter::BoundaryConditionType boundaryCondition=itk::simple::FFTConvolutionImageFilter::ZERO_FLUX_NEUMANN_PAD, FFTConvolutionImageFilter::OutputRegionModeType outputRegionMode=itk::simple::FFTConvolutionImageFilter::SAME)
Convolve a given image with an arbitrary image kernel using multiplication in the Fourier domain.
typename Superclass::BoundaryConditionType BoundaryConditionType
#define SITKBasicFilters_EXPORT
BoundaryConditionType GetBoundaryCondition() const
The base interface for SimpleITK filters that take one input image.
std::string GetName() const
Self & SetOutputRegionMode(OutputRegionModeType OutputRegionMode)
Image(Self::*)(const Image *image, const Image *kernelImage) MemberFunctionType