21 #ifndef otbTernaryFunctorImageFilter_h
22 #define otbTernaryFunctorImageFilter_h
24 #include "itkTernaryFunctorImageFilter.h"
43 template <
class TInputImage1,
class TInputImage2,
class TInputImage3,
class TOutputImage,
class TFunction>
44 class ITK_EXPORT
TernaryFunctorImageFilter :
public itk::TernaryFunctorImageFilter<TInputImage1, TInputImage2, TInputImage3, TOutputImage, TFunction>
50 typedef itk::TernaryFunctorImageFilter<TInputImage1, TInputImage2, TInputImage3, TOutputImage, TFunction>
Superclass;
76 Superclass::GenerateOutputInformation();
77 typename Superclass::OutputImagePointer outputPtr = this->GetOutput();
78 outputPtr->SetNumberOfComponentsPerPixel(
79 this->GetFunctor().GetOutputSize());
Implements pixel-wise generic operation on three images.
itk::TernaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TOutputImage, TFunction > Superclass
TernaryFunctorImageFilter Self
itk::SmartPointer< Self > Pointer
TernaryFunctorImageFilter(const Self &)=delete
TernaryFunctorImageFilter()
void GenerateOutputInformation() override
~TernaryFunctorImageFilter() override
void operator=(const Self &)=delete
itk::SmartPointer< const Self > ConstPointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.