21 #ifndef otbVectorImageToAmplitudeImageFilter_h
22 #define otbVectorImageToAmplitudeImageFilter_h
24 #include "itkUnaryFunctorImageFilter.h"
26 #include "itkConceptChecking.h"
32 template <
class TInput,
class TOutput>
45 return static_cast<TOutput
>(A.GetNorm());
48 itkConceptMacro(OutputShouldNotBeVectorImageCheck, (itk::Concept::Convertible<TOutput, double>));
62 template <
class TInputImage,
class TOutputImage>
64 :
public itk::UnaryFunctorImageFilter<TInputImage, TOutputImage,
65 Functor::VectorToAmplitudeFunctor<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
70 typedef itk::UnaryFunctorImageFilter<TInputImage, TOutputImage,
92 void PrintSelf(std::ostream& os, itk::Indent indent)
const override
94 Superclass::PrintSelf(os, indent);
99 void operator=(
const Self&) =
delete;