18 #ifndef itkVectorRescaleIntensityImageFilter_h
19 #define itkVectorRescaleIntensityImageFilter_h
30 template <
typename TInput,
typename TOutput>
58 return !(*
this != other);
66 for (
unsigned int i = 0; i < VectorDimension; i++)
68 const RealType scaledComponent = static_cast<RealType>(x[i]) * m_Factor;
69 result[i] = static_cast<typename TOutput::ValueType>(scaledComponent);
102 template <
typename TInputImage,
typename TOutputImage = TInputImage>
107 Functor::VectorMagnitudeLinearTransform<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
139 itkGetConstReferenceMacro(OutputMaximumMagnitude,
OutputRealType);
150 itkGetConstReferenceMacro(InputMaximumMagnitude,
InputRealType);
154 BeforeThreadedGenerateData()
override;
157 PrintSelf(std::ostream & os,
Indent indent)
const override;
159 #ifdef ITK_USE_CONCEPT_CHECKING
179 #ifndef ITK_MANUAL_INSTANTIATION
180 # include "itkVectorRescaleIntensityImageFilter.hxx"