OTB
9.0.0
Orfeo Toolbox
|
#include <otbAlphaBlendingFunctor.h>
Public Types | |
typedef TInputPixel1 | InputPixel1Type |
typedef TInputPixel2 | InputPixel2Type |
typedef TOutputPixel | OutputPixelType |
Public Types inherited from otb::Functor::AlphaBlendingFunctorBase< TInputPixel1, TInputPixel2, TOutputPixel > | |
typedef TInputPixel1 | InputPixel1Type |
typedef TInputPixel2 | InputPixel2Type |
typedef TOutputPixel | OutputPixelType |
Public Member Functions | |
AlphaBlendingFunctor () | |
OutputPixelType | operator() (InputPixel1Type input1, InputPixel2Type input2) const |
~AlphaBlendingFunctor () | |
Public Member Functions inherited from otb::Functor::AlphaBlendingFunctorBase< TInputPixel1, TInputPixel2, TOutputPixel > | |
AlphaBlendingFunctorBase () | |
virtual double | GetAlpha () const |
virtual void | SetAlpha (double a) |
~AlphaBlendingFunctorBase () | |
Protected Attributes | |
double | m_Alpha |
Protected Attributes inherited from otb::Functor::AlphaBlendingFunctorBase< TInputPixel1, TInputPixel2, TOutputPixel > | |
double | m_Alpha |
Implements simple blending.
For each channel the blending function is as follows:
with
is retrieved from the second pixel RGBA is provided by the SetAlpha() method (1.0 by default)
Definition at line 78 of file otbAlphaBlendingFunctor.h.
typedef TInputPixel1 otb::Functor::AlphaBlendingFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::InputPixel1Type |
Definition at line 88 of file otbAlphaBlendingFunctor.h.
typedef TInputPixel2 otb::Functor::AlphaBlendingFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::InputPixel2Type |
Definition at line 89 of file otbAlphaBlendingFunctor.h.
typedef TOutputPixel otb::Functor::AlphaBlendingFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::OutputPixelType |
Definition at line 90 of file otbAlphaBlendingFunctor.h.
|
inline |
Definition at line 81 of file otbAlphaBlendingFunctor.h.
|
inline |
Definition at line 84 of file otbAlphaBlendingFunctor.h.
|
inlinevirtual |
Implements otb::Functor::AlphaBlendingFunctorBase< TInputPixel1, TInputPixel2, TOutputPixel >.
Definition at line 92 of file otbAlphaBlendingFunctor.h.
|
protected |
Definition at line 102 of file otbAlphaBlendingFunctor.h.