18 #ifndef itkVectorCastImageFilter_h
19 #define itkVectorCastImageFilter_h
44 template<
typename TInput,
typename TOutput >
57 return !( *
this != other );
62 using OutputValueType =
typename TOutput::ValueType;
67 value[k] =
static_cast< OutputValueType
>( A[k] );
74 template<
typename TInputImage,
typename TOutputImage >
78 Functor::VectorCast< typename TInputImage::PixelType,
79 typename TOutputImage::PixelType > >
87 TInputImage, TOutputImage,
89 typename TOutputImage::PixelType > >;
101 #ifdef ITK_USE_CONCEPT_CHECKING
109 typename TOutputImage::PixelType::ValueType > ) );
Casts input vector pixels to output vector pixel type.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
bool operator==(const VectorCast &other) const
Base class for all process objects that output image data.
constexpr unsigned int Dimension
bool operator!=(const VectorCast &) const
Implements pixel-wise generic operation on one image.
VectorCastImageFilter()=default
~VectorCastImageFilter() override=default
#define itkConceptMacro(name, concept)
TOutput operator()(const TInput &A) const