There is two ways you can do this:
- Inside the toolbox:
- Grass: i.atcorr: performs atmospheric correction (i don´t know if it works with spot)
- Orfeo Toolbox: Optical calibration (works with spot 5)
- Inside toolbox --> band math
you can read the metadata, look for the coeficients for the following equations ( for example:
<SUN_ELEVATION>, <PHYSICAL_BIAS>, <PHYSICAL_GAIN>
)you can find d in chander et al. 2009Chander et al. 2009
transform DN to TOA radiance (
L=DN/Ak
; A= bandgain, B=bandbias)transform TOA radiance to TOA reflectance (
p=[PI*d^2*L]/[ESUN*cos(theta)]
; PI=3,14..., d= distance to solar to earth, L = TOA radiance, ESUN = Mean exoatmospheric solar irradiance, theta = Solar zenith angle (90-SUN_ELEVATION))you must do this for every band