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

NearestInt

Arithmetic function

SYNOPSIS

#include "dip_math.h"

dip_Error dip_NearestInt ( in, out )

DATA TYPES

binary, integer, float, complex binary, integer, float

FUNCTION

Computes the nearest integer value of the input image values.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput
dip_ImageoutOutput

SEE ALSO

Abs, Ceil, Floor, Sign, Truncate, Fraction

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