TOA conversion

From Open Foris Wiki

Jump to: navigation, search

This example shows how to convert the reflective bands of a post 2000 Landsat TM image into at sensor radiance

To go through this exercise, please follow the following steps:

  1. Download your Landsat scene using e.g. GloVis
  2. Cut a subset of the input image for the classification
    gdal_translate -srcwin 4000 4000 500 500 landsat.tif subset.tif
  3. Edit the needed parameters and equations in a fiel equation.txt For the explanation of the equations and the calibration parameters, please have a look at this paper. For an example, see the end of this page.
  4. run
    oft-calc -ot Float32 <input.img> <output.img> < equation.txt
  5. Finally you can compare the input and output images using openev2 or qgis software


The content of the equation file should be as follows:

6

255 -1.52 193 - / #1 * -1.52 +

255 -2.84 365 - / #2 * -2.84 +

255 -1.17 264 - / #3 * -1.17 +

255 -1.51 221 - / #4 * -1.51 +

255 -0.37 30.2 - / #5 * -0.37 +

255 -0.15 16.5 - / #7 * -0.15 +


Back to Open Foris Toolkit Main Page

Back to Tools & Exercises



Personal tools