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

NAME

6       im_abs - finds the absolute value or the magnitude of an image
7

SYNOPSIS

9       #include <vips/vips.h>
10
11       int im_abs( in, out )
12       IMAGE *in, *out;
13

DESCRIPTION

15       im_abs() finds the absolute value of an image. Copy for UNSIGNED types,
16       negate for int types, fabs(3) for float types,  and  calculate  modulus
17       for complex types. Any size, any number of bands.
18

RETURN VALUE

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

SEE ALSO

23       im_exp10tra(3), im_sign(3)
24
25
26
27                                 25 April 1991                       IM_ABS(3)
Impressum