arithmetic function
#include "dip_math.h"
dip_Error dip_Reciprocal ( in, out )
binary, integer, float, complex
Computes the reciprocal (1/x) of the input image values. If pixel values of in are zero, the corresponding pixels in out is set to zero.
Data type | Name | Description |
dip_Image | in | Input |
dip_Image | out | Output |
Div, DivFloat, DivComplex, Modulo
DIPlib on-line documentation | Function reference | Global function index