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

WeightedAdd

arithmetic function

SYNOPSIS

dip_Error dip_WeightedAdd ( in1, in2, out, weight )

DATA TYPES

binary, integer, float, complex

FUNCTION

This function calculates out = in1 + weight * in2;

ARGUMENTS

Data typeNameDescription
dip_Imagein1First input
dip_Imagein2Second input
dip_ImageoutOutput
dip_floatweightWeight

SEE ALSO

WeightedMul, WeightedSub, WeightedDiv