Go to the documentation of this file.
18 #ifndef sitkConvolutionImageFilter_h
19 #define sitkConvolutionImageFilter_h
77 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOn() {
return this->SetNormalize(
true); }
78 SITK_RETURN_SELF_TYPE_HEADER
NormalizeOff() {
return this->SetNormalize(
false); }
84 typedef enum {
ZERO_PAD,ZERO_FLUX_NEUMANN_PAD,PERIODIC_PAD} BoundaryConditionType;\
105 std::string
GetName()
const {
return std::string (
"ConvolutionImageFilter"); }
108 std::string ToString()
const;
120 template <
class TImageType>
Image ExecuteInternal (
const Image * image,
const Image * kernelImage );
129 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.
BasicPixelIDTypeList PixelIDTypeList
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
Self & SetOutputRegionMode(OutputRegionModeType OutputRegionMode)
Image Convolution(const Image &image, const Image &kernelImage, bool normalize=false, ConvolutionImageFilter::BoundaryConditionType boundaryCondition=itk::simple::ConvolutionImageFilter::ZERO_FLUX_NEUMANN_PAD, ConvolutionImageFilter::OutputRegionModeType outputRegionMode=itk::simple::ConvolutionImageFilter::SAME)
Convolve a given image with an arbitrary image kernel.
Convolve a given image with an arbitrary image kernel.
Self & SetBoundaryCondition(BoundaryConditionType BoundaryCondition)
Self & SetNormalize(bool Normalize)
Image(Self::*)(const Image *image, const Image *kernelImage) MemberFunctionType
#define SITKBasicFilters_EXPORT
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.
OutputRegionModeType GetOutputRegionMode() const
std::string GetName() const
BoundaryConditionType GetBoundaryCondition() const
bool GetNormalize() const