1IM_ZEROX(3) Library Functions Manual IM_ZEROX(3)
2
3
4
6 im_zerox - find the zero crossings of an image
7
9 #include <vips/vips.h>
10
11 int im_zerox(in, out, flag)
12 IMAGE *in, *out;
13 int flag;
14
15
17 im_zerox() detects the positive and negative edges of zero crossings of
18 an image held by the image descriptor in, depending on the flag.
19
20 If flag is -1 the negative zero crossings are returned. If flag is 1
21 the positive zero crossings are returned.
22
23 The output image is byte with zero crossing set to 255 and all other
24 values set to zero. Input can have any no of channels, and be any non-
25 complex type.
26
27
29 The function returns 0 on success and -1 on error.
30
32 im_conv(3).
33
35 N. Dessipris
36
38 N. Dessipris - 14/05/1991
39
40
41
42 14 May 1991 IM_ZEROX(3)