[GRASS-user] Re: Problems with HIS conversion

Georg Kaspar georg at muenster.de
Wed Jul 29 05:33:43 EDT 2009


ok, I just found out that the data is stored using more than 1 byte:

r.info -r szene1_mul.1
min=0
max=2047

how can I convert it to a range of [0,255]?

r.mapcalc "szene1_mul_1byte.1 = 255*(szene1_mul.1/2047)"

would that be appropriate? I'll give it a shot ;)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20090729/5f067eda/signature.bin


More information about the grass-user mailing list