19 #ifndef rtkMagnitudeThresholdImageFilter_h 20 #define rtkMagnitudeThresholdImageFilter_h 22 #include <itkInPlaceImageFilter.h> 23 #include <itkVector.h> 39 template <
typename TInputImage,
typename TRealType =
float,
typename TOutputImage = TInputImage>
47 using Superclass = itk::ImageToImageFilter<TInputImage, TOutputImage>;
69 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
72 static constexpr
unsigned int VectorDimension = InputPixelType::Dimension;
83 itkConceptMacro(InputHasNumericTraitsCheck, (itk::Concept::HasNumericTraits<typename InputPixelType::ValueType>));
84 itkConceptMacro(RealTypeHasNumericTraitsCheck, (itk::Concept::HasNumericTraits<RealType>));
88 itkGetMacro(Threshold, TRealType);
103 #ifndef ITK_MANUAL_INSTANTIATION 104 # include "rtkMagnitudeThresholdImageFilter.hxx" TInputImage InputImageType
itk::Vector< TRealType, InputPixelType::Dimension > RealVectorType
typename OutputImageType::Pointer OutputImagePointer
itk::SmartPointer< const Self > ConstPointer
typename TOutputImage::PixelType OutputPixelType
typename InputImageType::Pointer InputImagePointer
typename TInputImage::PixelType InputPixelType
itk::Image< RealVectorType, TInputImage::ImageDimension > RealVectorImageType
#define itkSetMacro(name, type)
typename Superclass::OutputImageRegionType OutputImageRegionType
Performs thresholding on the norm of each vector-valued input pixel.
TOutputImage OutputImageType
itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
itk::SmartPointer< Self > Pointer