[Image-SIG] (no subject)

santosh panda santoshh19 at yahoo.co.in
Wed Apr 1 21:18:33 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



      Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20090402/a3e68f36/attachment.htm>


More information about the Image-SIG mailing list