[GRASS5] r.rescale range question
Glynn Clements
glynn.clements at virgin.net
Fri Nov 9 09:39:36 EST 2001
Markus Neteler wrote:
> while looking at r.rescale I found
>
> r.rescale [-q] input=name [from=min,max] output=name [to=min,max]
> [title="phrase"]
>
> [...]
> to The output data range
> default: 1,255
>
> This range looks a bit unusual. Shouldn't it be 8bit = 0..255?
I would guess that it's a leftover from when zero was null.
Personally, I would suggest just making the "to" option mandatory. I
can't see why 255 is any more suitable as a default than any other
value.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list