[GRASS-user] Chavez COST Model

hellow,

I’ve download S.M. Skirving’s algorith for atmospheric correction of Landsat imaged based on Chavez’s COST-Model, from the following web:
http://arsc.arid.arizona.edu/resources/image_processing/landsat/ls5-atmo.html

the algorithm is:

MODEL GMD = (( -2.8890805 + (0.0602353 * ‘name_of_the_band’ - 0.15)) * PI *0.9932554 ** 2) / (195.7 * COS (PI/180 * (90 - 52.21)) ** 2)

The results obtained with r.map.calc represent the reflectiviy of each pixel and range between 0-1, but really what I want to get is the image with the Digital Levels corrected (from the raw image)with values 0-255 to afterwards perform a supervised classification.

How must I do to get it?

thanks in advanced

Gabriella.

2006/7/3, Gabriela Messner <gabmessner@gmail.com>:

The results obtained with r.map.calc represent the reflectiviy of each
pixel and range between 0-1, but really what I want to get is the image with
the Digital Levels corrected (from the raw image)with values 0-255 to
afterwards perform a supervised classification.

Multiply by 255 and truncate to integer ??

just a wild guess.
--
Paulo Marcondes = PU1/PU2PIX
-22.915 -42.229 = GG87vc (http://www.amsat.org/cgi-bin/gridconv)
Debian GNU/Linux = http://rj.debianbrasil.org = http://www.debian.org