Make an image zero dimensional
dip_Error dip_ChangeTo0d( example, target, dataType )
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".
Data type | Name | Description |
dip_Image | example | An example image |
dip_Image | target | The target image |
dip_DataType | dataType | The data type. See DIPlib's data types |