17 #ifndef itkIndexedUnaryFunctorImageFilter_h
18 #define itkIndexedUnaryFunctorImageFilter_h
20 #include <itkUnaryFunctorImageFilter.h>
55 template<
typename TInputImage,
typename TOutputImage,
typename TFunction >
61 typedef InPlaceImageFilter< TInputImage, TOutputImage >
Superclass;
112 if (m_Functor != functor)
144 ThreadIdType threadId)
override;
148 void operator=(
const Self &);
154 #ifndef ITK_MANUAL_INSTANTIATION
155 #include <itkIndexedUnaryFunctorImageFilter.tpp>
Perform a generic pixel-wise, index-aware operation on an input image to produce an output image.
TInputImage InputImageType
Input image type.
InputImageType::PixelType InputImagePixelType
Input pixel type.
OutputImageType::Pointer OutputImagePointer
Output image pointer type.
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
InputImageType::RegionType InputImageRegionType
Input image region type.
IndexedUnaryFunctorImageFilter()
FunctorType & GetFunctor()
Get a mutable reference to the functor object.
void SetFunctor(const FunctorType &functor)
Set the functor object.
TOutputImage OutputImageType
Output image type.
virtual ~IndexedUnaryFunctorImageFilter()
OutputImageType::RegionType OutputImageRegionType
Output image region type.
SmartPointer< Self > Pointer
InputImageType::ConstPointer InputImagePointer
Input image const pointer type.
IndexedUnaryFunctorImageFilter Self
Standard class typedefs.
const FunctorType & GetFunctor() const
Get a const reference to the functor object.
SmartPointer< const Self > ConstPointer
void GenerateOutputInformation() override
TFunction FunctorType
Type of the functor used for the pixel-wise operation.
OutputImageType::PixelType OutputImagePixelType
Output pixel type.
InPlaceImageFilter< TInputImage, TOutputImage > Superclass