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

Mul

arithmetic function

SYNOPSIS

#include "dip_math.h"

dip_Error dip_Mul ( in1, in2, out )

DATA TYPES

binary, integer, float, complex

FUNCTION

This function computes out = in1 * in2 on a pixel by pixel basis. The data types of the in1 and in2 image 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_Imagein1First input
dip_Imagein2Second input
dip_ImageoutOutput

SEE ALSO

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

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