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

Truncate

Arithmetic function

SYNOPSIS

#include "dip_math.h"

dip_Error dip_Truncate ( in, out )

DATA TYPES

binary, integer, float

FUNCTION

Computes the truncation of the input image values, and outputs a signed integer typed image.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput
dip_ImageoutOutput

SEE ALSO

Abs, Ceil, Floor, Sign, Fraction, NearestInt

DIPlib on-line documentation | Function reference | Global function index