im_abs(3)

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.

  1. 3.1–4.0
  2. 5.0–6.0

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