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

DivInteger

arithmetic function

SYNOPSIS

dip_Error dip_DivInteger ( in, out, constant )

DATA TYPES

binary, integer, float, complex

FUNCTION

This function computes out = in / constant on a pixel by pixel basis. If constant is zero, out will be set to zero. The data types of the in1 image and constant may be of different types. See Information about dyadic operations for more information about what the type of the output will be.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput
dip_ImageoutOutput
dip_intconstantConstant

SEE ALSO

Arith, Arith_ComplexSeparated, DivFloat, DivComplex, AddInteger, SubInteger, MulInteger