blob: 4ee48707acaa4223f197ff954a887dc12e09c892 [file] [log] [blame]
.TH IM_SINES 3 "10 May 1991"
.SH NAME
im_sines \- creates a spatial sine wave form
.SH SYNOPSIS
.B #include <vips/vips.h>
.B int im_sines(image, xsize, ysize, horfreq, verfreq)
.br
.B IMAGE *image;
.br
.B int xsize, ysize;
.br
.B double horfreq, verfreq;
.SH DESCRIPTION
.B im_sines()
creates a float one band image of the a sine waveform in two dimensions.
The sizes of the created image are xsize by ysize. The number of
horizontal and vertical spatial frequencies are determined by the variables
horfreq and verfreq respectively. The function is the base for creating
displayable sine waves and square waves in two dimensions.
.SH RETURN VALUE
The function returns 0 on success and -1 on error.
.SH SEE\ ALSO
im_grey(3).
.SH COPYRIGHT
.br
N. Dessipris
.SH AUTHOR
N. Dessipris \- 10/05/1991