OTB  6.7.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

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

Definition at line 49 of file otbUniformAlphaBlendingFunctor.h.

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

Definition at line 48 of file otbUniformAlphaBlendingFunctor.h.

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

Definition at line 51 of file otbUniformAlphaBlendingFunctor.h.

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

Definition at line 50 of file otbUniformAlphaBlendingFunctor.h.

Constructor & Destructor Documentation

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

Definition at line 45 of file otbUniformAlphaBlendingFunctor.h.

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

Definition at line 46 of file otbUniformAlphaBlendingFunctor.h.

Member Function Documentation

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

Definition at line 58 of file otbUniformAlphaBlendingFunctor.h.

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

Definition at line 63 of file otbUniformAlphaBlendingFunctor.h.

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

Definition at line 53 of file otbUniformAlphaBlendingFunctor.h.

Member Data Documentation

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

Definition at line 77 of file otbUniformAlphaBlendingFunctor.h.


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