im_abs3
Finds the absolute value or the magnitude of an image
Usage
#include <vips/vips.h>
int im_abs( in, out )
IMAGE *in, *out;
Overview
im_abs(3) finds the absolute value of an image. Copy for UNSIGNED types, negate for int types, fabs(3) for float types, and calculate modulus for complex types. Any size, any number of bands.
Return value
The function returns 0 on success and -1 on error.
Releases
4 releases since Debian 3.1 (Sarge); the text changed 1 time.