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

ConvertArray

converts the data type of an array

SYNOPSIS

#include "dip_convert_array.h"

dip_Error DIP_TWO_FUNC(dip_ConvertArray)( in, inStride, inPlane, out, outStride, outPlane, number )

FUNCTION

Converts the in array to the out array.

ARGUMENTS

Data typeNameDescription
void *ininput array
dip_intinStrideStride of the input array
dip_intinPlaneplane number in case in is a binary array
void *outoutput array
dip_intoutStrideStride of the output array
dip_intoutPlaneplane number in case out is a binary array
dip_intnumbersize of the arrays