|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbSatelliteRSR_h
22 #define otbSatelliteRSR_h
47 template <
class TPrecision =
double,
class TValuePrecision =
double>
66 itkGetConstMacro(NbBands,
unsigned int);
68 itkSetMacro(NbBands,
unsigned int);
72 itkSetMacro(SortBands,
bool);
88 virtual int Size()
const;
105 typename VectorPairType::const_iterator it = a->GetResponse().begin();
107 while ((*it).second == 0)
111 aFirstNotNull = (*it).first;
113 typename VectorPairType::const_iterator it2 = b->GetResponse().begin();
115 while ((*it2).second == 0)
119 bFirstNotNull = (*it2).first;
121 return aFirstNotNull < bFirstNotNull;
133 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
176 #ifndef OTB_MANUAL_INSTANTIATION
itk::SmartPointer< const Self > ConstPointer
TValuePrecision ValuePrecisionType
itk::SmartPointer< Self > Pointer
ValuePrecisionType operator()(const PrecisionType &lambda, const unsigned int numBand)
void operator=(const Self &)=delete
std::vector< SpectralResponsePointerType > RSRVectorType
SpectralResponse< TPrecision, TValuePrecision > SpectralResponseType
itk::DataObject Superclass
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
void PrintSelf(std::ostream &os, itk::Indent indent) const override
SpectralResponseType::VectorPairType VectorPairType
void Load(const std::string &filename, ValuePrecisionType coefNormalization=1.0)
SpectralResponseType::Pointer SpectralResponsePointerType
bool operator()(SpectralResponsePointerType a, SpectralResponsePointerType b)
SpectralResponseType * GetSolarIrradiance()
This class represents a hierarchy of vector data.
itk::SmartPointer< Self > Pointer
std::vector< PairType > VectorPairType
This class represents the spectral response of an object (or a satellite band).
SpectralResponsePointerType m_SolarIrradiance