arithmetic function
dip_Error dip_AddFloat ( in, out, constant )
binary, integer, float, complex
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.
Data type | Name | Description |
dip_Image | in | Input |
dip_Image | out | Output |
dip_float | constant | Constant |
Arith, Arith_ComplexSeparated, AddInteger, AddComplex, SubFloat, MulFloat, DivFloat