[GRASS-dev] GRASS-dev] On i.histo.match (Re: On (Landsat) imagery naming patterns)
Michael Barton
Michael.Barton at asu.edu
Thu Aug 1 11:59:51 PDT 2013
Sorry, I meant r.recode.
r.recode infile outfile min:max:0:255
should do it.
MIchael
______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)
www: http://csdc.asu.edu, http://shesc.asu.edu
http://www.public.asu.edu/~cmbarton
On Aug 1, 2013, at 2:28 AM, Moritz Lennert <mlennert at club.worldonline.be>
wrote:
> On 01/08/13 11:04, Nikos Alexandris wrote:
>> Michael Barton wrote:
>>
>>> Nikos,
>>>
>>> What about just using r.rescale to rescale this?
>>
>> Already tried (in the past) and I don't think it works from DCELL> 8-bit. It
>> seems to chew-up (silently, as Moritz mentioned I think among the lines in
>> ticket #2^11) values.
>>
>> It seems that "integerising" manually, in this case, is the best approach.
>> With the essential question remaining on "how many fine digits should be
>> preserved?".
>
> r.rescale is just a frontend to r.reclass. and as such is meant for CELL maps. It should'nt make a difference whether it is 8-bit or more, though.
>
> For DCELL you can try to use r.recode.
>
> Moritz
More information about the grass-dev
mailing list