im_sines(3)

im_sines3

Creates a spatial sine wave form

Usage

#include <vips/vips.h>

int im_sines(image, xsize, ysize, horfreq, verfreq)
IMAGE *image;
int xsize, ysize;
double horfreq, verfreq;

Overview

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.

Return value

The function returns 0 on success and -1 on error.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

Author

N. Dessipris - 10/05/1991

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.