18 #ifndef itkVectorRescaleIntensityImageFilter_h 19 #define itkVectorRescaleIntensityImageFilter_h 30 template<
typename TInput,
typename TOutput >
50 return !( *
this != other );
59 const RealType scaledComponent =
static_cast< RealType
>( x[i] ) *
m_Factor;
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 > >
104 TInputImage, TOutputImage,
106 typename TInputImage::PixelType,
128 itkSetMacro(OutputMaximumMagnitude, OutputRealType);
129 itkGetConstReferenceMacro(OutputMaximumMagnitude, OutputRealType);
134 itkGetConstReferenceMacro(Scale, InputRealType);
135 itkGetConstReferenceMacro(Shift, InputRealType);
140 itkGetConstReferenceMacro(InputMaximumMagnitude, InputRealType);
143 void BeforeThreadedGenerateData() ITK_OVERRIDE;
146 void PrintSelf(
std::ostream & os,
Indent indent) const ITK_OVERRIDE;
148 #ifdef ITK_USE_CONCEPT_CHECKING 163 void operator=(
const Self &) ITK_DELETE_FUNCTION;
173 #ifndef ITK_MANUAL_INSTANTIATION 174 #include "itkVectorRescaleIntensityImageFilter.hxx"
OutputPixelType::ValueType OutputValueType
virtual ~VectorRescaleIntensityImageFilter()
TInputImage::PixelType InputPixelType
Superclass::InputImagePointer InputImagePointer
SmartPointer< Self > Pointer
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorMagnitudeLinearTransform< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
NumericTraits< OutputValueType >::RealType OutputRealType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
OutputRealType m_OutputMaximumMagnitude
Superclass::InputImageType InputImageType
VectorRescaleIntensityImageFilter Self
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
InputRealType m_InputMaximumMagnitude
TOutputImage::PixelType OutputPixelType
Implements pixel-wise generic operation on one image.
Control indentation during Print() invocation.
NumericTraits< InputValueType >::RealType InputRealType
Applies a linear transformation to the magnitude of pixel vectors in a vector Image.
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)
InputPixelType::ValueType InputValueType
SmartPointer< const Self > ConstPointer