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,
153 AccessorType &
GetAccessor() {
return this->GetFunctor().GetAccessor(); }
160 functor = this->GetFunctor();
161 if ( accessor != functor.GetAccessor() )
163 functor.SetAccessor(accessor);
164 this->SetFunctor(functor);
175 void operator=(
const Self &) ITK_DELETE_FUNCTION;
SmartPointer< const Self > ConstPointer
bool operator!=(const Self &functor) const
TAccessor::ExternalType OutputType
virtual ~AdaptImageFilter()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
AccessorFunctor & operator=(const AccessorFunctor &functor)
AccessorType & GetAccessor()
Convert an accessor to a functor so that it can be used in a UnaryFunctorImageFilter.
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::AccessorFunctor< typename TInputImage::PixelType, TAccessor > > Superclass
bool operator==(const Self &other) const
void SetAccessor(AccessorType &accessor)
Superclass::FunctorType FunctorType
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
AccessorType & GetAccessor()