18 #ifndef itkVectorCastImageFilter_h
19 #define itkVectorCastImageFilter_h
44 template<
typename TInput,
typename TOutput >
57 return !( *
this != other );
62 typedef typename TOutput::ValueType OutputValueType;
67 value[k] =
static_cast< OutputValueType
>( A[k] );
74 template<
typename TInputImage,
typename TOutputImage >
78 Functor::VectorCast< typename TInputImage::PixelType,
79 typename TOutputImage::PixelType > >
85 TInputImage, TOutputImage,
99 #ifdef ITK_USE_CONCEPT_CHECKING
107 typename TOutputImage::PixelType::ValueType > ) );
VectorCastImageFilter Self
Casts input vector pixels to output vector pixel type.
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorCast< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
bool operator==(const VectorCast &other) const
Base class for all process objects that output image data.
bool operator!=(const VectorCast &) const
virtual ~VectorCastImageFilter() override
SmartPointer< const Self > ConstPointer
const unsigned int Dimension
Implements pixel-wise generic operation on one image.
#define itkConceptMacro(name, concept)
TOutput operator()(const TInput &A) const
SmartPointer< Self > Pointer