Allocate a scalar image
dip_Error dip_ScalarImageNew( newImage, dataType, dimensions, resources )
Allocate and forge a dip_Image structure of the DIP_IMTP_SCALAR type.
| Data type | Name | Description |
| dip_Image * | newImage | Used to return a pointer to your brand new dip_Image structure |
| dip_DataType | dataType | Data type. See DIPlib's data types |
| dip_IntegerArray | dimensions | Dimensions |
| dip_Resources | resources | Resources tracking structure. See ResourcesNew |