18 #ifndef __itkAdaptImageFilter_h
19 #define __itkAdaptImageFilter_h
37 template<
typename TInput,
typename TAccessor >
89 return !( *
this != other );
124 template<
typename TInputImage,
typename TOutputImage,
typename TAccessor >
127 Functor::AccessorFunctor< typename TInputImage::PixelType, TAccessor > >
136 typename TInputImage::PixelType,
161 if ( accessor != functor.GetAccessor() )
163 functor.SetAccessor(accessor);
SmartPointer< const Self > ConstPointer
bool operator!=(const Self &functor) const
TAccessor::ExternalType OutputType
virtual ~AdaptImageFilter()
AccessorFunctor & operator=(const AccessorFunctor &functor)
Base class for all process objects that output image data.
AccessorType & GetAccessor()
Convert an accessor to a functor so that it can be used in a UnaryFunctorImageFilter.
void operator=(const Self &)
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::AccessorFunctor< typename TInputImage::PixelType, TAccessor > > Superclass
bool operator==(const Self &other) const
void SetAccessor(AccessorType &accessor)
Superclass::FunctorType FunctorType
virtual void Modified() const
FunctorType & GetFunctor()
Implements pixel-wise generic operation on one image.
void SetAccessor(AccessorType &accessor)
Convert an image to another pixel type using the specified data accessor.
SmartPointer< Self > Pointer
OutputType operator()(const TInput &A) const
void SetFunctor(const FunctorType &functor)
AccessorType & GetAccessor()