18 #ifndef itkVectorRescaleIntensityImageFilter_h
19 #define itkVectorRescaleIntensityImageFilter_h
30 template <
typename TInput,
typename TOutput>
59 for (
unsigned int i = 0; i < VectorDimension; ++i)
61 const RealType scaledComponent = static_cast<RealType>(x[i]) * m_Factor;
62 result[i] = static_cast<typename TOutput::ValueType>(scaledComponent);
95 template <
typename TInputImage,
typename TOutputImage = TInputImage>
100 Functor::VectorMagnitudeLinearTransform<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
122 using typename Superclass::InputImageType;
123 using typename Superclass::InputImagePointer;
132 itkGetConstReferenceMacro(OutputMaximumMagnitude,
OutputRealType);
143 itkGetConstReferenceMacro(InputMaximumMagnitude,
InputRealType);
147 BeforeThreadedGenerateData()
override;
150 PrintSelf(std::ostream & os,
Indent indent)
const override;
152 #ifdef ITK_USE_CONCEPT_CHECKING
172 #ifndef ITK_MANUAL_INSTANTIATION
173 # include "itkVectorRescaleIntensityImageFilter.hxx"