21 #ifndef otbImageMetadataCorrectionParameters_h
22 #define otbImageMetadataCorrectionParameters_h
24 #include "OTBOpticalCalibrationExport.h"
25 #include "itkObject.h"
26 #include "itkVariableSizeMatrix.h"
27 #include "itkVariableLengthVector.h"
67 itkSetMacro(SolarZenithalAngle,
double);
68 itkGetMacro(SolarZenithalAngle,
double);
73 itkSetMacro(SolarAzimutalAngle,
double);
74 itkGetMacro(SolarAzimutalAngle,
double);
80 itkSetMacro(ViewingZenithalAngle,
double);
81 itkGetMacro(ViewingZenithalAngle,
double);
86 itkSetMacro(ViewingAzimutalAngle,
double);
87 itkGetMacro(ViewingAzimutalAngle,
double);
93 itkSetClampMacro(Month,
unsigned int, 1, 12);
94 itkGetMacro(Month,
unsigned int);
100 itkSetClampMacro(Day,
unsigned int, 1, 31);
101 itkGetMacro(Day,
unsigned int);
107 itkSetMacro(Year,
unsigned int);
108 itkGetMacro(Year,
unsigned int);
112 itkSetMacro(FilterFunctionValuesFileName, std::string);
113 itkGetMacro(FilterFunctionValuesFileName, std::string);
121 m_WavelengthSpectralBand = waveband;
125 if (m_WavelengthSpectralBand->Size() <
id + 1)
127 for (
unsigned int j = 0; j < (
id + 1 - m_WavelengthSpectralBand->Size()); ++j)
130 m_WavelengthSpectralBand->PushBack(temp);
133 m_WavelengthSpectralBand->SetNthElement(
id,
function);
137 return m_WavelengthSpectralBand;
141 return &m_WavelengthSpectralBand;
148 void LoadFilterFunctionValue(
const std::string& filename);
151 this->LoadFilterFunctionValue(m_FilterFunctionValuesFileName);
165 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
169 void operator=(
const Self&) =
delete;