18 #ifndef itkCastImageFilter_h
19 #define itkCastImageFilter_h
35 template<
typename TInput,
typename TOutput >
48 return !( *
this != other );
53 return static_cast< TOutput
>( A );
96 template<
typename TInputImage,
typename TOutputImage >
100 typename TInputImage::PixelType,
101 typename TOutputImage::PixelType > >
108 typename TInputImage::PixelType,
109 typename TOutputImage::PixelType >
124 #ifdef ITK_USE_CONCEPT_CHECKING
128 typename TOutputImage::PixelType > ) );
142 void operator=(const Self &);
149 #ifndef ITK_MANUAL_INSTANTIATION
150 #include "itkCastImageFilter.hxx"
Light weight base class for most itk classes.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
unsigned int ThreadIdType
bool operator==(const Cast &other) const
Superclass::OutputImageRegionType OutputImageRegionType
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
Implements pixel-wise generic operation on one image.
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Cast< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
OutputImageType::RegionType OutputImageRegionType
OutputImageType::RegionType OutputImageRegionType
TOutput operator()(const TInput &A) const
void GenerateData() override
bool operator!=(const Cast &) const
#define itkConceptMacro(name, concept)
Casts input pixels to output pixel type.