[Image-SIG] Raster Calculation

santosh panda santoshh19 at yahoo.co.in
Wed Apr 1 21:20:47 CEST 2009


Dear List members,

I am a beginner in Python programming, I want
to write a python script which would take 1 band .tiff raster image as
input, then calculate the reflectance value for each pixel using the
following equation 
[refl] = (pi * ((((lmax - lmin) / 255) * [filename])
+ lmin) * d^2 ) / (esun * COS((90 - elevation) * .017453293))
and write the output to a raster file.

Something very similar to what we do in ArcGIS raster calculator.

I would appreciate any suggestion.

Thanks for your time...

Santosh
 


      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20090402/614bd430/attachment.htm>


More information about the Image-SIG mailing list