arithmetic function
#include "dip_math.h"
dip_Error dip_WeightedSub ( in1, in2, out, weight )
binary, integer, float, complex
This function calculates out = in1 - weight * in2;
| Data type | Name | Description |
| dip_Image | in1 | First input |
| dip_Image | in2 | Second input |
| dip_Image | out | Output |
| dip_float | weight | Weight |
WeightedAdd, WeightedMul, WeightedDiv
DIPlib on-line documentation | Function reference | Global function index