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

SubComplex

arithmetic function

SYNOPSIS

#include "dip_math.h"

dip_Error dip_SubComplex ( in, out, constant )

DATA TYPES

binary, integer, float, complex

FUNCTION

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.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput
dip_complexconstantConstant
dip_ImageoutOutput

SEE ALSO

Add, AddFloat, AddComplex, Sub, SubFloat, Mul, MulFloat, MulComplex, Div, DivFloat, DivComplex

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