OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Attributes | List of all members
otb::Functor::UniformAlphaBlendingFunctor< TInputPixel, TInputPixel2, TOutputPixel > Class Template Reference

#include <otbUniformAlphaBlendingFunctor.h>

Public Types

typedef TInputPixel2 InputPixel2Type
 
typedef TInputPixel InputPixelType
 
typedef OutputPixelType::ValueType OutputInternalPixelType
 
typedef TOutputPixel OutputPixelType
 

Public Member Functions

double GetAlpha () const
 
OutputPixelType operator() (InputPixelType input1, InputPixel2Type input2) const
 
void SetAlpha (double a)
 
 UniformAlphaBlendingFunctor ()
 
 ~UniformAlphaBlendingFunctor ()
 

Protected Attributes

double m_Alpha
 

Detailed Description

template<class TInputPixel, class TInputPixel2, class TOutputPixel>
class otb::Functor::UniformAlphaBlendingFunctor< TInputPixel, TInputPixel2, TOutputPixel >

Implements simple blending For each channel the blending function is as follows:

\[ P_{o} = \alpha P_{i1} + (1 - \alpha) P_{i2} \]

Definition at line 42 of file otbUniformAlphaBlendingFunctor.h.

Member Typedef Documentation

◆ InputPixel2Type

template<class TInputPixel , class TInputPixel2 , class TOutputPixel >
typedef TInputPixel2 otb::Functor::UniformAlphaBlendingFunctor< TInputPixel, TInputPixel2, TOutputPixel >::InputPixel2Type

Definition at line 53 of file otbUniformAlphaBlendingFunctor.h.

◆ InputPixelType

template<class TInputPixel , class TInputPixel2 , class TOutputPixel >
typedef TInputPixel otb::Functor::UniformAlphaBlendingFunctor< TInputPixel, TInputPixel2, TOutputPixel >::InputPixelType

Definition at line 52 of file otbUniformAlphaBlendingFunctor.h.

◆ OutputInternalPixelType

template<class TInputPixel , class TInputPixel2 , class TOutputPixel >
typedef OutputPixelType::ValueType otb::Functor::UniformAlphaBlendingFunctor< TInputPixel, TInputPixel2, TOutputPixel >::OutputInternalPixelType

Definition at line 55 of file otbUniformAlphaBlendingFunctor.h.

◆ OutputPixelType

template<class TInputPixel , class TInputPixel2 , class TOutputPixel >
typedef TOutputPixel otb::Functor::UniformAlphaBlendingFunctor< TInputPixel, TInputPixel2, TOutputPixel >::OutputPixelType

Definition at line 54 of file otbUniformAlphaBlendingFunctor.h.

Constructor & Destructor Documentation

◆ UniformAlphaBlendingFunctor()

template<class TInputPixel , class TInputPixel2 , class TOutputPixel >
otb::Functor::UniformAlphaBlendingFunctor< TInputPixel, TInputPixel2, TOutputPixel >::UniformAlphaBlendingFunctor ( )
inline

Definition at line 45 of file otbUniformAlphaBlendingFunctor.h.

◆ ~UniformAlphaBlendingFunctor()

template<class TInputPixel , class TInputPixel2 , class TOutputPixel >
otb::Functor::UniformAlphaBlendingFunctor< TInputPixel, TInputPixel2, TOutputPixel >::~UniformAlphaBlendingFunctor ( )
inline

Definition at line 48 of file otbUniformAlphaBlendingFunctor.h.

Member Function Documentation

◆ GetAlpha()

template<class TInputPixel , class TInputPixel2 , class TOutputPixel >
double otb::Functor::UniformAlphaBlendingFunctor< TInputPixel, TInputPixel2, TOutputPixel >::GetAlpha ( ) const
inline

Definition at line 62 of file otbUniformAlphaBlendingFunctor.h.

◆ operator()()

template<class TInputPixel , class TInputPixel2 , class TOutputPixel >
OutputPixelType otb::Functor::UniformAlphaBlendingFunctor< TInputPixel, TInputPixel2, TOutputPixel >::operator() ( InputPixelType  input1,
InputPixel2Type  input2 
) const
inline

Definition at line 67 of file otbUniformAlphaBlendingFunctor.h.

◆ SetAlpha()

template<class TInputPixel , class TInputPixel2 , class TOutputPixel >
void otb::Functor::UniformAlphaBlendingFunctor< TInputPixel, TInputPixel2, TOutputPixel >::SetAlpha ( double  a)
inline

Definition at line 57 of file otbUniformAlphaBlendingFunctor.h.

Member Data Documentation

◆ m_Alpha

template<class TInputPixel , class TInputPixel2 , class TOutputPixel >
double otb::Functor::UniformAlphaBlendingFunctor< TInputPixel, TInputPixel2, TOutputPixel >::m_Alpha
protected

Definition at line 81 of file otbUniformAlphaBlendingFunctor.h.


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