OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction > Class Template Reference

#include <otbBinaryFunctorImageFilter.h>

+ Inheritance diagram for otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >:
+ Collaboration diagram for otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef BinaryFunctorImageFilter Self
 
typedef itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 BinaryFunctorImageFilter ()
 
 ~BinaryFunctorImageFilter () override
 
void GenerateOutputInformation () override
 
 BinaryFunctorImageFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TInputImage1, class TInputImage2, class TOutputImage, class TFunction>
class otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >

Implements pixel-wise generic operation on two images.

Add the capability to change the number of channel when operation on VectorImage compared to the itk::BinaryFunctorImageFilter

The number of channel is provided by the functor: TFunction::GetOutputSize. If this number is lower or equal to zero, the behavior of the itk::BinaryFunctorImageFilter remains unchanged.

See also
itk::BinaryFunctorImageFilter

Definition at line 44 of file otbBinaryFunctorImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage1 , class TInputImage2 , class TOutputImage , class TFunction >
typedef itk::SmartPointer<const Self> otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ConstPointer

Definition at line 52 of file otbBinaryFunctorImageFilter.h.

◆ Pointer

template<class TInputImage1 , class TInputImage2 , class TOutputImage , class TFunction >
typedef itk::SmartPointer<Self> otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Pointer

Definition at line 51 of file otbBinaryFunctorImageFilter.h.

◆ Self

template<class TInputImage1 , class TInputImage2 , class TOutputImage , class TFunction >
typedef BinaryFunctorImageFilter otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Self

Standard class typedefs.

Definition at line 49 of file otbBinaryFunctorImageFilter.h.

◆ Superclass

template<class TInputImage1 , class TInputImage2 , class TOutputImage , class TFunction >
typedef itk::BinaryFunctorImageFilter<TInputImage1, TInputImage2, TOutputImage, TFunction> otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Superclass

Definition at line 50 of file otbBinaryFunctorImageFilter.h.

Constructor & Destructor Documentation

◆ BinaryFunctorImageFilter() [1/2]

template<class TInputImage1 , class TInputImage2 , class TOutputImage , class TFunction >
otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::BinaryFunctorImageFilter ( )
inlineprotected

Definition at line 61 of file otbBinaryFunctorImageFilter.h.

◆ ~BinaryFunctorImageFilter()

template<class TInputImage1 , class TInputImage2 , class TOutputImage , class TFunction >
otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::~BinaryFunctorImageFilter ( )
inlineoverrideprotected

Definition at line 62 of file otbBinaryFunctorImageFilter.h.

◆ BinaryFunctorImageFilter() [2/2]

template<class TInputImage1 , class TInputImage2 , class TOutputImage , class TFunction >
otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::BinaryFunctorImageFilter ( const Self )
privatedelete

BinaryFunctorImageFilter can produce an image which has a different number of bands than its input image. As such, BinaryFunctorImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.

See also
ProcessObject::GenerateOutputInformation()

Member Function Documentation

◆ CreateAnother()

template<class TInputImage1 , class TInputImage2 , class TOutputImage , class TFunction >
virtual::itk::LightObject::Pointer otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::CreateAnother ( void  ) const

◆ GenerateOutputInformation()

template<class TInputImage1 , class TInputImage2 , class TOutputImage , class TFunction >
void otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::GenerateOutputInformation ( )
inlineoverrideprotected

BinaryFunctorImageFilter can produce an image which has a different number of bands than its input image. As such, BinaryFunctorImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.

See also
ProcessObject::GenerateOutputInformation()

Definition at line 74 of file otbBinaryFunctorImageFilter.h.

◆ GetNameOfClass()

template<class TInputImage1 , class TInputImage2 , class TOutputImage , class TFunction >
virtual const char* otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ New()

template<class TInputImage1 , class TInputImage2 , class TOutputImage , class TFunction >
static Pointer otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TInputImage1 , class TInputImage2 , class TOutputImage , class TFunction >
void otb::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::operator= ( const Self )
privatedelete

BinaryFunctorImageFilter can produce an image which has a different number of bands than its input image. As such, BinaryFunctorImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.

See also
ProcessObject::GenerateOutputInformation()

The documentation for this class was generated from the following file: