r.le.pixel
Contains a set of measures for attributes, diversity, texture, juxtaposition, and edge.
r.le.pixel [-euz] map=string [sam=string] [reg=string] [att=string [,string,...]] [div=string [,string,...]] [te1=string] [te2=string [,string,...]] [jux=string [,string,...]] [edg=string [,string,...]] [--verbose] [--quiet] [--qq] [--ui]
Example:
r.le.pixel map=string
grass.script.run_command("r.le.pixel", map, sam="w", reg=None, att=None, div=None, te1=None, te2=None, jux=None, edg=None, flags=None, verbose=False, quiet=False, superquiet=False)
Example:
gs.run_command("r.le.pixel", map="string")
Parameters
map=string [required]
Raster map to be analyzed
sam=string
Sampling method (choose only 1 method):\
w = whole map u = units m = moving window r = regions
Default: w
reg=string
Name of regions map, only when sam = r; omit otherwise
att=string [,string,...]
b1 = mn. pixel att. b2 = s.d. pixel att.\
b3 = min. pixel att. b4 = max. pixel att.
Allowed values: b1, b2, b3, b4
div=string [,string,...]
d1 = richness d2 = Shannon d3 = dominance d4 = inv. Simpson
Allowed values: d1, d2, d3, d4
te1=string
Texture method (choose only 1 method):\
m1 = 2N-H m2 = 2N-45 m3 = 2N-V m4 = 2N-135\
m5 = 4N-HV m6 = 4N-DIAG m7 = 8N
Allowed values: m1, m2, m3, m4, m5, m6, m7
te2=string [,string,...]
Texture measures (required if te1 was specified):\
t1 = contagion t2 = ang. sec. mom. t3 = inv. diff. mom.\
t4 = entropy t5 = contrast
Allowed values: t1, t2, t3, t4, t5
jux=string [,string,...]
Juxtaposition measures (weight file in r.le.para needed):\
j1 = mn. juxtaposition j2 = s.d. juxtaposition
Allowed values: j1, j2
edg=string [,string,...]
e1 = sum of edges e2 = sum of edges by type (need edge file: r.le.para)
Allowed values: e1, e2
-e
Output map 'edge' of edges given a '1' in r.le.para/edge file
-u
Output maps 'units_x' with sampling units for each scale x
-z
Output map 'zscores' with standardized scores
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--qq
Very quiet module output
--ui
Force launching GUI dialog
map : str, required
Raster map to be analyzed
Used as: input, raster
sam : str, optional
Sampling method (choose only 1 method):\
w = whole map u = units m = moving window r = regions
Default: w
reg : str, optional
Name of regions map, only when sam = r; omit otherwise
Used as: input, raster
att : str | list[str], optional
b1 = mn. pixel att. b2 = s.d. pixel att.\
b3 = min. pixel att. b4 = max. pixel att.
Allowed values: b1, b2, b3, b4
div : str | list[str], optional
d1 = richness d2 = Shannon d3 = dominance d4 = inv. Simpson
Allowed values: d1, d2, d3, d4
te1 : str, optional
Texture method (choose only 1 method):\
m1 = 2N-H m2 = 2N-45 m3 = 2N-V m4 = 2N-135\
m5 = 4N-HV m6 = 4N-DIAG m7 = 8N
Allowed values: m1, m2, m3, m4, m5, m6, m7
te2 : str | list[str], optional
Texture measures (required if te1 was specified):\
t1 = contagion t2 = ang. sec. mom. t3 = inv. diff. mom.\
t4 = entropy t5 = contrast
Allowed values: t1, t2, t3, t4, t5
jux : str | list[str], optional
Juxtaposition measures (weight file in r.le.para needed):\
j1 = mn. juxtaposition j2 = s.d. juxtaposition
Allowed values: j1, j2
edg : str | list[str], optional
e1 = sum of edges e2 = sum of edges by type (need edge file: r.le.para)
Allowed values: e1, e2
flags : str, optional
Allowed values: e, u, z
e
Output map 'edge' of edges given a '1' in r.le.para/edge file
u
Output maps 'units_x' with sampling units for each scale x
z
Output map 'zscores' with standardized scores
verbose: bool, optional
Verbose module output
Default: False
quiet: bool, optional
Quiet module output
Default: False
superquiet: bool, optional
Very quiet module output
Default: False
DESCRIPTION
The r.le.pixel module contains a set of measures for attributes, diversity, texture, juxtaposition, and edge.
NOTES
Full instructions can be found in the r.le manual (see "REFERENCES" section below) and the r.le.setup help page.
REFERENCES
Baker, W.L. and Y. Cai. 1992. The r.le programs for multiscale analysis of landscape structure using the GRASS geographical information system. Landscape Ecology 7(4):291-302.
The r.le manual: Quantitative analysis of landscape structures (GRASS 5; 2001)
SEE ALSO
r.le.patch, r.le.setup, r.le.trace
AUTHOR
William L. Baker Department of Geography and Recreation University of Wyoming Laramie, Wyoming 82071 U.S.A.
SOURCE CODE
Available at: r.le.pixel source code
(history)
Latest change: Thursday Feb 20 13:02:26 2025 in commit 53de819