1IM_SINES(3) Library Functions Manual IM_SINES(3)
2
3
4
6 im_sines - creates a spatial sine wave form
7
9 #include <vips/vips.h>
10
11 int im_sines(image, xsize, ysize, horfreq, verfreq)
12 IMAGE *image;
13 int xsize, ysize;
14 double horfreq, verfreq;
15
17 im_sines() creates a float one band image of the a sine waveform in two
18 dimensions. The sizes of the created image are xsize by ysize. The
19 number of horizontal and vertical spatial frequencies are determined by
20 the variables horfreq and verfreq respectively. The function is the
21 base for creating displayable sine waves and square waves in two dimenā
22 sions.
23
25 The function returns 0 on success and -1 on error.
26
28 im_grey(3).
29
31 N. Dessipris
32
34 N. Dessipris - 10/05/1991
35
36
37
38 10 May 1991 IM_SINES(3)