im_fractsurf(3)

im_fractsurf3

Creates a fractal surface

Usage

#include <vips/vips.h>

int im_fractsurf(in, frdim, size)
IMAGE *in;
double frdim;
int size;

Overview

im_fractsurf creates a fracta surface. The program initially creates a gaussian noise image (im_gausnoise(3)) of sizes size x size. The image is then filtered (im_flt_image_freq(3)) in order to force the power spectrum to decay according to the desired fractal dimension frdim. The result is a one band float image and should be scaled for display.

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 - 06/07/1990

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