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 DynamicThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread)
override;
119 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
128 #ifndef OTB_MANUAL_INSTANTIATION
Applies a functor to a VectorImage.
TOutputImage OutputImageType
TInputImage InputImageType
itk::InPlaceImageFilter< TInputImage, TOutputImage > Superclass
InputImageType::SizeType SizeType
FunctorVectorType m_FunctorVector
FunctorVectorType & GetFunctorVector(void)
std::vector< FunctorType > FunctorVectorType
~UnaryImageFunctorWithVectorImageFilter() override
OutputImageType::PixelType OutputPixelType
OutputImageType::RegionType OutputImageRegionType
itk::SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
OutputImageType::InternalPixelType OutputInternalPixelType
InputImageType::InternalPixelType InputInternalPixelType
UnaryImageFunctorWithVectorImageFilter Self
InputImageType::RegionType InputImageRegionType
InputImageType::PixelType InputPixelType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.