[GRASS-dev] On i.histo.match (Re: On (Landsat) imagery naming patterns)

Nikos Alexandris nik at nikosalexandris.net
Wed Feb 20 07:50:02 PST 2013


MM:
> >> For rescaling to 0-1000, you could try something like
> >> r.mapcalc "bandX_int = round(1000 * bandX)"

NA:
> > Nice!  But I wonder why round-ing is required?

MM:
> rounding is not required, just a bit more accurate than truncating
> with int(1000 * bandX).

Great Wizard, thnx :-)

N

ps-  note-to-self: add this in Wiki when writing about histogram matching of 
Landsat reflectances.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130220/dc1c51e4/attachment.pgp>


More information about the grass-dev mailing list