OTB  9.0.0
Orfeo Toolbox
Public Member Functions | Private Attributes | List of all members
otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor Class Reference
+ Collaboration diagram for otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor:

Public Member Functions

 NoDataFusionFunctor ()
 
void operator() (typename TOutputImageType::PixelType &output, const typename TXsImageType::PixelType &xsPixel, const TInternalPrecision &smoothPanchroPixel, const typename TPanImageType::PixelType &sharpPanchroPixel) const
 
constexpr vcl_size_t OutputSize (const std::array< vcl_size_t, 3 > inputsNbBands) const
 
void SetNoDataValuePan (typename TPanImageType::PixelType noDataValue)
 
void SetNoDataValuePanAvailable (bool noDataAvailable)
 
void SetNoDataValuesXs (std::vector< typename TXsImageType::InternalPixelType > &noDataValues)
 
void SetNoDataValuesXsAvailable (std::vector< bool > &noDataValuesAvailable)
 

Private Attributes

TPanImageType::InternalPixelType m_NoDataValuePan
 
bool m_NoDataValuePanAvailable
 
std::vector< typename TXsImageType::InternalPixelType > m_NoDataValuesXs
 
std::vector< bool > m_NoDataValuesXsAvailable
 

Detailed Description

template<class TPanImageType, class TXsImageType, class TOutputImageType, class TInternalPrecision = float>
class otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor

This functor applies the following operation if there is no data :

\[ \frac{XS}{\mathrm{Filtered}(PAN)}PAN \]

It is intended for internal use only.

Definition at line 152 of file otbSimpleRcsPanSharpeningFusionImageFilter.h.

Constructor & Destructor Documentation

◆ NoDataFusionFunctor()

template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::NoDataFusionFunctor ( )
inline

Member Function Documentation

◆ operator()()

template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
void otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::operator() ( typename TOutputImageType::PixelType &  output,
const typename TXsImageType::PixelType &  xsPixel,
const TInternalPrecision &  smoothPanchroPixel,
const typename TPanImageType::PixelType &  sharpPanchroPixel 
) const
inline

◆ OutputSize()

template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
constexpr vcl_size_t otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::OutputSize ( const std::array< vcl_size_t, 3 >  inputsNbBands) const
inlineconstexpr

◆ SetNoDataValuePan()

template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
void otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::SetNoDataValuePan ( typename TPanImageType::PixelType  noDataValue)
inline

◆ SetNoDataValuePanAvailable()

template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
void otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::SetNoDataValuePanAvailable ( bool  noDataAvailable)
inline

◆ SetNoDataValuesXs()

template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
void otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::SetNoDataValuesXs ( std::vector< typename TXsImageType::InternalPixelType > &  noDataValues)
inline

◆ SetNoDataValuesXsAvailable()

template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
void otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::SetNoDataValuesXsAvailable ( std::vector< bool > &  noDataValuesAvailable)
inline

Member Data Documentation

◆ m_NoDataValuePan

template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
TPanImageType::InternalPixelType otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::m_NoDataValuePan
private

◆ m_NoDataValuePanAvailable

template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
bool otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::m_NoDataValuePanAvailable
private

No data flags and values for PAN image

Definition at line 216 of file otbSimpleRcsPanSharpeningFusionImageFilter.h.

◆ m_NoDataValuesXs

template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
std::vector<typename TXsImageType::InternalPixelType> otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::m_NoDataValuesXs
private

◆ m_NoDataValuesXsAvailable

template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
std::vector<bool> otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::m_NoDataValuesXsAvailable
private

No data flags and values for XS image

Definition at line 220 of file otbSimpleRcsPanSharpeningFusionImageFilter.h.


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