libvips/man/im_sines.3

30 lines
796 B
Groff
Raw Normal View History

2007-08-29 18:23:50 +02:00
.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