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
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user