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

ChangeTo0d

Make an image zero dimensional

SYNOPSIS

dip_Error dip_ChangeTo0d( example, target, dataType )

FUNCTION

Inherit all properties of the input image except the data type and the dimensionality. The data type is explicitly specified through dataType. When dataType is zero, the data type of the output image is not modified. The dimensionality is set to zero. 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 DIPlib's data types

SEE ALSO

ImageCopyProperties, ImageAssimilate, ChangeDataType