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

IsScalar

Determines whether an image is a scalar

SYNOPSIS

dip_Error dip_IsScalar( image, answer )

FUNCTION

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.

ARGUMENTS

Data typeNameDescription
dip_ImageimageThe image under investigation
dip_Boolean *answerThe verdict