[GRASS-user] Landsat classification with CORINE CLC color codes?

Hamish hamish_b at yahoo.com
Mon Jan 19 19:45:39 EST 2009


Nikos:
> would you advise to divide the 0-255 values by 255 or
> by 256 to transform them to values ranging from 0 ~ 1 ? Or
> it doesn't really matter? (The values I posted in the previous post,
> are divided by 256).

255.

there are 2^8 = 256 possibilities. So range could be 0-255 or 1-256.
If you use 0-255 then 0/255=0.0 and 255/255 is 1.0 and life is easy.


Hamish



      



More information about the grass-user mailing list