18 #ifndef itkAdaptImageFilter_h
19 #define itkAdaptImageFilter_h
37 template<
typename TInput,
typename TAccessor >
88 return !( *
this != other );
123 template<
typename TInputImage,
typename TOutputImage,
typename TAccessor >
126 Functor::AccessorFunctor< typename TInputImage::PixelType, TAccessor > >
137 typename TInputImage::PixelType,
162 if ( accessor != functor.GetAccessor() )
164 functor.SetAccessor(accessor);
typename TAccessor::ExternalType OutputType
AdaptImageFilter()=default
bool operator!=(const Self &functor) const
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
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.
typename Superclass::FunctorType FunctorType
bool operator==(const Self &other) const
void SetAccessor(AccessorType &accessor)
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.
OutputType operator()(const TInput &A) const
void SetFunctor(const FunctorType &functor)
~AdaptImageFilter() override=default
AccessorType & GetAccessor()
~AccessorFunctor()=default