1r.rescale.eq(1) Grass User's Manual r.rescale.eq(1)
2
3
4
6 r.rescale.eq - Rescales histogram equalized the range of category val‐
7 ues in a raster map layer.
8
10 raster
11
13 r.rescale.eq
14 r.rescale.eq help
15 r.rescale.eq [-q] input=string [from=min,max] output=string
16 to=min,max [title="phrase"] [--overwrite]
17
18 Flags:
19 -q Quiet
20
21 --overwrite
22
23 Parameters:
24 input=string
25 The name of the raster map to be rescaled
26
27 from=min,max
28 The input data range to be rescaled (default: full range of input
29 map)
30
31 output=string
32 The resulting raster map name
33
34 to=min,max
35 The output data range
36
37 title=
38 Title for new raster map
39
41 The r.rescale.eq program rescales the range of category values appear‐
42 ing in a raster map layer with equalized histogram. A new raster map
43 layer, and an appropriate category file and color table based upon the
44 original raster map layer, are generated with category labels that
45 reflect the original category values that produced each category. This
46 command is useful for producing representations with a reduced number
47 of categories from a raster map layer with a large range of category
48 values (e.g., elevation). Rescaled map layers are appropriate for use
49 in such GRASS programs as r.stats, r.report, and r.coin.
50
52 To rescale an elevation raster map layer with category values ranging
53 from 1090 meters to 1800 meters into the range 0-255, the following
54 command line could be used: r.rescale.eq input=elevation from=1090,1800
55 output=elevation.255 to=0,255
56
58 Category values that fall beyond the input range will become NULL.
59 This allows the user to select a subset of the full category value
60 range for rescaling if desired. This also means that the user should
61 know the category value range for the input raster map layer. The user
62 can request the r.rescale.eq program to determine this range, or can
63 obtain it using the r.describe or r.info command. If the category
64 value range is determined using r.rescale.eq, the input raster map
65 layer is examined, and the minimum and maximum non-NULL category values
66 are selected as the input range.
67
69 r.coin, r.describe, r.info, r.mapcalc, r.reclass, r.report, r.resample,
70 r.stats
71
73 Michael Shapiro, U.S.Army Construction Engineering Research Laboratory
74
75 Last changed: $Date: 2003/05/06 15:26:05 $
76
77 Full index
78
79
80
81GRASS 6.2.2 r.rescale.eq(1)