Determines whether an image is a scalar
dip_Error dip_IsScalar( image, answer )
Determines whether an image is of the DIP_IMTP_SCALAR type. If answer is not zero, the verdict is passed in this variable. Otherwise, dip_IsScalar returns an error in case image fails to be a scalar.
Data type | Name | Description |
dip_Image | image | The image under investigation |
dip_Boolean * | answer | The verdict |