21 #ifndef otbReduceSpectralResponse_h
22 #define otbReduceSpectralResponse_h
25 #include "itkDataObject.h"
26 #include <itkObjectFactory.h>
63 template <
class TSpectralResponse,
class TRSR>
78 typedef typename InputSpectralResponseType::PairType
PairType;
112 itkSetMacro(ReflectanceMode,
bool);
113 itkGetConstMacro(ReflectanceMode,
bool);
116 virtual bool Clear();
119 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
131 void LoadInputsFromFiles(
const std::string& spectralResponseFile,
const std::string& RSRFile,
const unsigned int nbRSRBands,
167 #ifndef OTB_MANUAL_INSTANTIATION
This class computes the reduced spectral response of each band of a sensor.
InputSpectralResponsePointerType m_ReduceResponse
InputRSRPointerType m_InputSatRSR
InputRSRType::PrecisionType PrecisionType
void LoadInputsFromFiles(const std::string &spectralResponseFile, const std::string &RSRFile, const unsigned int nbRSRBands, ValuePrecisionType coefNormSpectre=1.0, ValuePrecisionType coefNormRSR=1.0)
InputRSRType::ValuePrecisionType ValuePrecisionType
InputSpectralResponseType::Pointer InputSpectralResponsePointerType
itk::SmartPointer< const Self > ConstPointer
itk::DataObject Superclass
void PrintSelf(std::ostream &os, itk::Indent indent) const override
InputRSRType::Pointer InputRSRPointerType
InputSpectralResponsePointerType m_InputSpectralResponse
ValuePrecisionType operator()(const unsigned int numBand)
ReduceSpectralResponse(const Self &)=delete
TSpectralResponse InputSpectralResponseType
InputRSRType::RSRVectorType RSRVectorType
InputSpectralResponseType::PairType PairType
std::vector< ValuePrecisionType > ReduceSpectralResponseVectorType
itk::SmartPointer< Self > Pointer
InputSpectralResponseType::VectorPairType VectorPairType
itkGetObjectMacro(ReduceResponse, InputSpectralResponseType)
ReduceSpectralResponse Self
void operator=(const Self &)=delete
~ReduceSpectralResponse() override
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.