DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

Abs

Arithmetic function

SYNOPSIS

dip_Error dip_Abs ( in, out )

DATA TYPES

binary, integer, integer, float, complex

FUNCTION

Computes the absolute value of the input image values.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput
dip_ImageoutOutput

SEE ALSO

Ceil, Floor, Sign, Truncate, Fraction, NearestInt