1r.surf.fractal(1)           GRASS GIS User's Manual          r.surf.fractal(1)
2
3
4

NAME

6       r.surf.fractal   -  Creates a fractal surface of a given fractal dimen‐
7       sion.
8

KEYWORDS

10       raster, surface, fractal
11

SYNOPSIS

13       r.surf.fractal
14       r.surf.fractal --help
15       r.surf.fractal   output=name    [dimension=float]      [number=integer]
16       [--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]
17
18   Flags:
19       --overwrite
20           Allow output files to overwrite existing files
21
22       --help
23           Print usage summary
24
25       --verbose
26           Verbose module output
27
28       --quiet
29           Quiet module output
30
31       --ui
32           Force launching GUI dialog
33
34   Parameters:
35       output=name [required]
36           Name for output raster map
37
38       dimension=float
39           Fractal dimension of surface (2 < D < 3)
40           Default: 2.05
41
42       number=integer
43           Number of intermediate images to produce
44           Default: 0
45

DESCRIPTION

47       r.surf.fractal  creates a fractal surface of a given fractal dimension.
48       It uses the spectral synthesis method. The module can create intermedi‐
49       ate layers showing the build up of different spectral coefficients (see
50       Saupe, pp.106-107 for an example of this).
51
52       This module generates naturally looking  synthetical  elevation  models
53       (DEM).
54

NOTE

56       This  module  requires  the FFTW library for computing Discrete Fourier
57       Transforms.
58

EXAMPLE

60       Generate surface using fractals in selected region, set color table and
61       display with shade.
62       g.region -p raster=elevation
63       r.surf.fractal output=fractals
64       r.colors map=fractals color=byr
65       r.relief input=fractals output=fractals_shade
66       d.mon wx0
67       d.shade shade=fractals_shade color=fractals b=50
68       Artificial surface created with fractals
69       Compare results when using different fractal dimensions:
70       # D=2.0005
71       g.region -dp
72       r.surf.fractal out=dem_d2_0005 dim=2.0005
73       r.info -r dem_d2_0005
74       r.mapcalc "dem_d2_0005_final = 1.0 * dem_d2_0005 + abs(min(dem_d2_0005))"
75       r.colors dem_d2_0005_final color=terrain
76       r.slope.aspect dem_d2_0005_final aspect=dem_d2_0005_final_as
77       # D=2.90
78       r.surf.fractal out=dem_d2_90 dim=2.90
79       r.info -r dem_d2_90
80       r.mapcalc "dem_d2_90_final = 1.0 * dem_d2_90 + abs(min(dem_d2_90))"
81       r.colors dem_d2_90_final color=terrain
82       r.slope.aspect dem_d2_90_final aspect=dem_d2_90_final_as
83       Artificial DEMs created with fractals:
84       top:  fractal  dimension  d=2.0005  (left: elevation map, right: aspect
85       map)
86       top: fractal dimension d=2.90 (left: elevation map, right: aspect map)
87

REFERENCES

89       Saupe, D. (1988)  Algorithms  for  random  fractals,  in  Barnsley  M.,
90       Devaney R., Mandelbrot B., Peitgen, H-O., Saupe D., and Voss R.  (1988)
91       The Science of Fractal Images, Ch. 2, pp.71-136. London:  Springer-Ver‐
92       lag.
93

SEE ALSO

95         r.surf.contour,  r.surf.idw, r.surf.gauss, r.surf.random, v.surf.idw,
96       v.surf.rst
97

AUTHOR

99       Jo Wood, Midlands Regional Research Laboratory (ASSIST), University  of
100       Leicester
101

SOURCE CODE

103       Available at: r.surf.fractal source code (history)
104
105       Main  index  | Raster index | Topics index | Keywords index | Graphical
106       index | Full index
107
108       © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
109
110
111
112GRASS 7.8.5                                                  r.surf.fractal(1)
Impressum