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

ScalarImageNew

Allocate a scalar image

SYNOPSIS

dip_Error dip_ScalarImageNew( newImage, dataType, dimensions, resources )

FUNCTION

Allocate and forge a dip_Image structure of the DIP_IMTP_SCALAR type.

ARGUMENTS

Data typeNameDescription
dip_Image *newImageUsed to return a pointer to your brand new dip_Image structure
dip_DataTypedataTypeData type. See DIPlib's data types
dip_IntegerArraydimensionsDimensions
dip_ResourcesresourcesResources tracking structure. See ResourcesNew

SEE ALSO

ImageNew, ImageFree