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

AddInteger

arithmetic function

SYNOPSIS

dip_Error AddInteger ( in, out, constant )

DATA TYPES

binary, integer, float, complex

FUNCTION

This function computes out = in + constant on a pixel by pixel basis. 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, AddFloat, AddComplex, SubInteger, MulInteger, DivInteger