18 #ifndef itkGradientMagnitudeImageFilter_h
19 #define itkGradientMagnitudeImageFilter_h
40 template<
typename TInputImage,
typename TOutputImage >
67 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
86 void GenerateInputRequestedRegion()
override;
91 { this->SetUseImageSpacing(
true); }
96 { this->SetUseImageSpacing(
false); }
100 itkSetMacro(UseImageSpacing,
bool);
101 itkGetConstMacro(UseImageSpacing,
bool);
104 #ifdef ITK_USE_CONCEPT_CHECKING
114 m_UseImageSpacing =
true;
115 this->DynamicMultiThreadingOn();
131 void DynamicThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread)
override;
134 void PrintSelf(std::ostream &,
Indent)
const override;
141 #ifndef ITK_MANUAL_INSTANTIATION
142 #include "itkGradientMagnitudeImageFilter.hxx"
typename OutputImageType::Pointer OutputImagePointer
GradientMagnitudeImageFilter()
typename NumericTraits< InputPixelType >::RealType RealType
Define numeric traits for std::vector.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
TInputImage InputImageType
typename TOutputImage::PixelType OutputPixelType
void SetUseImageSpacingOff()
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
Computes the gradient magnitude of an image region at each pixel.
void SetUseImageSpacingOn()
typename TInputImage::PixelType InputPixelType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
#define itkConceptMacro(name, concept)