22 #ifndef otbUnaryImageFunctorWithVectorImageFilter_h
23 #define otbUnaryImageFunctorWithVectorImageFilter_h
26 #include "itkVariableLengthVector.h"
27 #include "itkUnaryFunctorImageFilter.h"
45 template <
class TInputImage,
class TOutputImage,
class TFunction>
52 typedef itk::InPlaceImageFilter<TInputImage, TOutputImage>
Superclass;
60 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
61 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
78 typedef typename InputImageType::SizeType
SizeType;
88 return m_FunctorVector;
105 void GenerateOutputInformation()
override;
117 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
119 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
128 #ifndef OTB_MANUAL_INSTANTIATION