18 #ifndef itkVectorRescaleIntensityImageFilter_h
19 #define itkVectorRescaleIntensityImageFilter_h
30 template<
typename TInput,
typename TOutput >
50 return !( *
this != other );
57 for (
unsigned int i = 0; i < VectorDimension; i++ )
60 result[i] =
static_cast< typename TOutput::ValueType
>( scaledComponent );
92 template<
typename TInputImage,
typename TOutputImage = TInputImage >
96 Functor::VectorMagnitudeLinearTransform<
97 typename TInputImage::PixelType,
98 typename TOutputImage::PixelType > >
106 TInputImage, TOutputImage,
108 typename TInputImage::PixelType,
109 typename TOutputImage::PixelType > >;
131 itkGetConstReferenceMacro(OutputMaximumMagnitude,
OutputRealType);
142 itkGetConstReferenceMacro(InputMaximumMagnitude,
InputRealType);
145 void BeforeThreadedGenerateData()
override;
147 void PrintSelf(std::ostream & os,
Indent indent)
const override;
149 #ifdef ITK_USE_CONCEPT_CHECKING
171 #ifndef ITK_MANUAL_INSTANTIATION
172 #include "itkVectorRescaleIntensityImageFilter.hxx"
Define numeric traits for std::vector.
typename NumericTraits< OutputValueType >::RealType OutputRealType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename InputPixelType::ValueType InputValueType
Base class for all process objects that output image data.
constexpr unsigned int Dimension
TInputImage InputImageType
typename NumericTraits< InputValueType >::RealType InputRealType
typename InputImageType::Pointer InputImagePointer
OutputRealType m_OutputMaximumMagnitude
typename OutputPixelType::ValueType OutputValueType
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
InputRealType m_InputMaximumMagnitude
Implements pixel-wise generic operation on one image.
typename TOutputImage::PixelType OutputPixelType
Control indentation during Print() invocation.
Applies a linear transformation to the magnitude of pixel vectors in a vector Image.
typename TInputImage::PixelType InputPixelType
#define itkConceptMacro(name, concept)