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