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

Reciprocal

arithmetic function

SYNOPSIS

#include "dip_math.h"

dip_Error dip_Reciprocal ( in, out )

DATA TYPES

binary, integer, float, complex

FUNCTION

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.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput
dip_ImageoutOutput

SEE ALSO

Div, DivFloat, DivComplex, Modulo

DIPlib on-line documentation | Function reference | Global function index