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

ChangeDataType

Change the data type of an image

SYNOPSIS

dip_Error dip_ChangeDataType( example, target, dataType )

FUNCTION

Inherit all properties of the input image except the data type. The data type is explicitly specified through dataType. When dataType is zero, the data type of the output image is not modified. The example image may be either "raw" or "forged".

ARGUMENTS

Data typeNameDescription
dip_ImageexampleAn example image
dip_ImagetargetThe target image
dip_DataTypedataTypeThe data type

SEE ALSO

DIPlib's data types

ImageCopyProperties, ImageAssimilate, ChangeTo0d

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