OTB
9.0.0
Orfeo Toolbox
|
#include <otbSatelliteRSR.h>
Classes | |
struct | sort_band |
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef SatelliteRSR | Self |
typedef itk::DataObject | Superclass |
typedef TPrecision | PrecisionType |
typedef TValuePrecision | ValuePrecisionType |
typedef SpectralResponse< TPrecision, TValuePrecision > | SpectralResponseType |
typedef SpectralResponseType::Pointer | SpectralResponsePointerType |
typedef std::vector< SpectralResponsePointerType > | RSRVectorType |
typedef SpectralResponseType::VectorPairType | VectorPairType |
bool | m_SortBands |
RSRVectorType | m_RSR |
SpectralResponsePointerType | m_SolarIrradiance |
unsigned int | m_NbBands |
static Pointer | New () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual unsigned int | GetNbBands () const |
virtual void | SetNbBands (unsigned int _arg) |
virtual void | SetSortBands (bool _arg) |
virtual bool | Clear () |
virtual int | Size () const |
void | Load (const std::string &filename, ValuePrecisionType coefNormalization=1.0) |
void | Load (PrecisionType lambdaMin, PrecisionType lambdaMax, PrecisionType sampling, ValuePrecisionType coefNormalization=1.0) |
ValuePrecisionType | operator() (const PrecisionType &lambda, const unsigned int numBand) |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
RSRVectorType & | GetRSR () |
SpectralResponseType * | GetSolarIrradiance () |
SatelliteRSR () | |
~SatelliteRSR () override | |
SatelliteRSR (const Self &)=delete | |
void | operator= (const Self &)=delete |
This class represents a hierarchy of vector data.
This class contains an std::vector of spectral response, class otb::SpectralResponse (one for each band of the satellite).
The two templates indicate:
Definition at line 48 of file otbSatelliteRSR.h.
typedef itk::SmartPointer<const Self> otb::SatelliteRSR< TPrecision, TValuePrecision >::ConstPointer |
Definition at line 55 of file otbSatelliteRSR.h.
typedef itk::SmartPointer<Self> otb::SatelliteRSR< TPrecision, TValuePrecision >::Pointer |
Definition at line 54 of file otbSatelliteRSR.h.
typedef TPrecision otb::SatelliteRSR< TPrecision, TValuePrecision >::PrecisionType |
Template parameters typedef
Definition at line 72 of file otbSatelliteRSR.h.
typedef std::vector<SpectralResponsePointerType> otb::SatelliteRSR< TPrecision, TValuePrecision >::RSRVectorType |
Template parameters typedef
Definition at line 81 of file otbSatelliteRSR.h.
typedef SatelliteRSR otb::SatelliteRSR< TPrecision, TValuePrecision >::Self |
Standard class typedefs
Definition at line 52 of file otbSatelliteRSR.h.
typedef SpectralResponseType::Pointer otb::SatelliteRSR< TPrecision, TValuePrecision >::SpectralResponsePointerType |
Template parameters typedef
Definition at line 80 of file otbSatelliteRSR.h.
typedef SpectralResponse<TPrecision, TValuePrecision> otb::SatelliteRSR< TPrecision, TValuePrecision >::SpectralResponseType |
Template parameters typedef
Definition at line 79 of file otbSatelliteRSR.h.
typedef itk::DataObject otb::SatelliteRSR< TPrecision, TValuePrecision >::Superclass |
Definition at line 53 of file otbSatelliteRSR.h.
typedef TValuePrecision otb::SatelliteRSR< TPrecision, TValuePrecision >::ValuePrecisionType |
Template parameters typedef
Definition at line 77 of file otbSatelliteRSR.h.
typedef SpectralResponseType::VectorPairType otb::SatelliteRSR< TPrecision, TValuePrecision >::VectorPairType |
Template parameters typedef
Definition at line 82 of file otbSatelliteRSR.h.
|
protected |
Constructor
Definition at line 30 of file otbSatelliteRSR.hxx.
|
inlineoverrideprotected |
Constructor from a ASCII file Destructor
Definition at line 155 of file otbSatelliteRSR.h.
|
privatedelete |
Template parameters typedef
|
virtual |
Clear the vector data
Definition at line 119 of file otbSatelliteRSR.hxx.
virtual::itk::LightObject::Pointer otb::SatelliteRSR< TPrecision, TValuePrecision >::CreateAnother | ( | void | ) | const |
Template parameters typedef
|
virtual |
Template parameters typedef
|
virtual |
Set the number of band of the satellite from an ASCII file Need to parse first all the file to determine the number of columns
|
inline |
get vector of RSR
Definition at line 136 of file otbSatelliteRSR.h.
References otb::SatelliteRSR< TPrecision, TValuePrecision >::m_RSR.
|
inline |
get the solar irradiance
Definition at line 142 of file otbSatelliteRSR.h.
References otb::SatelliteRSR< TPrecision, TValuePrecision >::m_SolarIrradiance.
void otb::SatelliteRSR< TPrecision, TValuePrecision >::Load | ( | const std::string & | filename, |
ValuePrecisionType | coefNormalization = 1.0 |
||
) |
Fill from a ASCII file (spectral gauge)
Definition at line 38 of file otbSatelliteRSR.hxx.
void otb::SatelliteRSR< TPrecision, TValuePrecision >::Load | ( | PrecisionType | lambdaMin, |
PrecisionType | lambdaMax, | ||
PrecisionType | sampling, | ||
ValuePrecisionType | coefNormalization = 1.0 |
||
) |
Fill from user defined criteria (sampling band from lambdaMin to lambdaMax with Bandwidth width)
Definition at line 86 of file otbSatelliteRSR.hxx.
|
static |
Standard macros
|
inline |
PrecisionType | |
Band |
Definition at line 132 of file otbSatelliteRSR.hxx.
|
privatedelete |
Template parameters typedef
|
override |
PrintSelf method
Definition at line 147 of file otbSatelliteRSR.hxx.
|
virtual |
Template parameters typedef
|
virtual |
Template parameters typedef
|
virtual |
Return the number of element in the vector (nb bands)
Definition at line 126 of file otbSatelliteRSR.hxx.
|
private |
Number of bands
Definition at line 170 of file otbSatelliteRSR.h.
|
private |
Vector of SpectralResponse
Definition at line 164 of file otbSatelliteRSR.h.
Referenced by otb::SatelliteRSR< TPrecision, TValuePrecision >::GetRSR().
|
private |
Solar irradiance vector
Definition at line 167 of file otbSatelliteRSR.h.
Referenced by otb::SatelliteRSR< TPrecision, TValuePrecision >::GetSolarIrradiance().
|
protected |
Template parameters typedef
Definition at line 155 of file otbSatelliteRSR.h.