1IM_FRACTSURF(3) Library Functions Manual IM_FRACTSURF(3)
2
3
4
6 im_fractsurf - creates a fractal surface
7
9 #include <vips/vips.h>
10
11 int im_fractsurf(in, frdim, size)
12 IMAGE *in;
13 double frdim;
14 int size;
15
17 im_fractsurf creates a fracta surface. The program initially creates a
18 gaussian noise image (im_gausnoise(3)) of sizes size x size. The image
19 is then filtered (im_flt_image_freq(3)) in order to force the power
20 spectrum to decay according to the desired fractal dimension frdim.
21 The result is a one band float image and should be scaled for display.
22
24 The function returns 0 on success and -1 on error.
25
27 im_flt_image_freq(3), im_gausnoise(3)
28
30 N. Dessipris,
31
33 N. Dessipris - 06/07/1990
34
35
36
37 10 May 1991 IM_FRACTSURF(3)