1IM_ZONE(3)                 Library Functions Manual                 IM_ZONE(3)
2
3
4

NAME

6       im_zone, im_fzone - creates a zone plate
7

SYNOPSIS

9       #include <vips/vips.h>
10
11       int im_zone(image, size)
12       IMAGE *image;
13       int size;
14
15       int im_fzone(image, size)
16       IMAGE *image;
17       int size;
18
19

DESCRIPTION

21       im_fzone()  creates a float one band image of a zone plate of size size
22       by size. Pels are in the range [-1,+1]. The zone plate has spatial fre‐
23       quencies  increasing from 0 the center (at size/2, size/2) up to infin‐
24       ity at the edges. size must be positive and even.
25
26       im_zone() behaves exactly as im_fzone(), but writes  a  FMTUCHAR  image
27       scaled to the range 0-255.
28
29

RETURN VALUE

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

SEE ALSO

34       im_grey(3), im_fgrey(3).
35
37       N. Dessipris
38

AUTHOR

40       N. Dessipris - 10/05/1991
41
42
43
44                                  10 May 1991                       IM_ZONE(3)
Impressum