18#ifndef itkAdaptImageFilter_h
19#define itkAdaptImageFilter_h
42template <
typename TInput,
typename TAccessor>
120template <
typename TInputImage,
typename TOutputImage,
typename TAccessor>
124 Functor::AccessorFunctor<typename TInputImage::PixelType, TAccessor>>
Convert an image to another pixel type using the specified data accessor.
AccessorType & GetAccessor()
~AdaptImageFilter() override=default
AdaptImageFilter()=default
void SetAccessor(AccessorType &accessor)
Convert an accessor to a functor so that it can be used in a UnaryFunctorImageFilter.
AccessorType & GetAccessor()
OutputType operator()(const TInput &A) const
bool operator==(const Self &other) const
typename TAccessor::ExternalType OutputType
void SetAccessor(AccessorType &accessor)
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(Self)
Base class for all process objects that output image data.
virtual void Modified() const
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Implements pixel-wise generic operation on one image.
void SetFunctor(const FunctorType &functor)
FunctorType & GetFunctor()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....