OTB  6.7.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 158 of file otbSimpleRcsPanSharpeningFusionImageFilter.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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
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
inline
template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
void otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::SetNoDataValuePan ( typename TPanImageType::PixelType  noDataValue)
inline
template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
void otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::SetNoDataValuePanAvailable ( bool  noDataAvailable)
inline
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
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

template<class TPanImageType , class TXsImageType , class TOutputImageType , class TInternalPrecision = float>
TPanImageType::InternalPixelType otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::NoDataFusionFunctor::m_NoDataValuePan
private
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 APN image

Definition at line 218 of file otbSimpleRcsPanSharpeningFusionImageFilter.h.

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
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 222 of file otbSimpleRcsPanSharpeningFusionImageFilter.h.


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