18 #ifndef itkGradientMagnitudeImageFilter_h
19 #define itkGradientMagnitudeImageFilter_h
40 template<
typename TInputImage,
typename TOutputImage >
65 itkStaticConstMacro(ImageDimension,
unsigned int,
66 TOutputImage::ImageDimension);
85 virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
89 void SetUseImageSpacingOn()
90 { this->SetUseImageSpacing(
true); }
95 { this->SetUseImageSpacing(
false); }
99 itkSetMacro(UseImageSpacing,
bool);
100 itkGetConstMacro(UseImageSpacing,
bool);
103 #ifdef ITK_USE_CONCEPT_CHECKING
113 m_UseImageSpacing =
true;
129 void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
132 void PrintSelf(std::ostream &,
Indent) const ITK_OVERRIDE;
137 bool m_UseImageSpacing;
141 #ifndef ITK_MANUAL_INSTANTIATION
142 #include "itkGradientMagnitudeImageFilter.hxx"
SmartPointer< const Self > ConstPointer
GradientMagnitudeImageFilter()
NumericTraits< InputPixelType >::RealType RealType
Base class for all process objects that output image data.
TInputImage::PixelType InputPixelType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
SmartPointer< Self > Pointer
void SetUseImageSpacingOff()
InputImageType::Pointer InputImagePointer
Computes the gradient magnitude of an image region at each pixel.
TOutputImage OutputImageType
TOutputImage::PixelType OutputPixelType
Superclass::OutputImageRegionType OutputImageRegionType
unsigned int ThreadIdType
GradientMagnitudeImageFilter Self
TInputImage InputImageType
virtual ~GradientMagnitudeImageFilter() override
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
OutputImageType::Pointer OutputImagePointer
#define itkConceptMacro(name, concept)