Hi,
I’m using OpticalCalibration with Pleiades images, and I’ve observed some inconsistencies on gains values :
OTB OpticalCalibration displays these values :
Parameters extract from input image:
Acquisition Day: 6
Acquisition Month: 10
Acquisition Year: 2016
Acquisition Sun Elevation Angle: 36.1199
Acquisition Sun Azimuth Angle: 169.901
Acquisition Viewing Elevation Angle: 71.2145
Acquisition Viewing Azimuth Angle: 236.998
Acquisition gain (per band): 10.46 9.34 9.38 15.69
Acquisition bias (per band): 0 0 0 0
Solar Irradiance (per band): 1594 1830 1915 1060
whereas the DIMAP contains different values :
grep GAIN DIM_PHR1A_MS_201610061122300_SEN_1990110101-004.XML
<MEASURE_DESC>Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS</MEASURE_DESC>
9.05
<MEASURE_DESC>Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS</MEASURE_DESC>
9.12
<MEASURE_DESC>Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS</MEASURE_DESC>
10.22
<MEASURE_DESC>Raw radiometric count (DN) to TOA Radiance (L). Formulae L=DN/GAIN+BIAS</MEASURE_DESC>
15.43
I don’t understand why these values are different…
My Pleiades images are packaged with a DIM_.xml and one JP2 image, and I’ve launched OpticalCalibration this way :
otbcli_OpticalCalibration -in IMG_PHR1A_MS_201610061122300_SEN_1990110101-004_R1C1.JP2 -out test.tif -level toa
Configuration setup
Version of the OTB: 7.x (7.0 to 7.2)
I installed the OTB with: binaries / superbuild
Do you have any idea of what happens after metadata reading ?
By the way, it could be a nice use case to test with next OTB version !
Thanks for your answers
Yannick