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

Modulo

Arithmetic function

SYNOPSIS

dip_Error dip_Modulo ( in, out, period )

DATA TYPES

integer

FUNCTION

Computes the modulo of the input image values, by computing the remainder of the the division of the input image values with period.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput
dip_ImageoutOutput
dip_intperiodPeriod

SEE ALSO

Div, DivFloat, DivComplex, Reciprocal