Function Reference
— Function File: bool = isgray (I)

Returns true for an gray-scale intensity image. An variable is a gray scale image if it is 2-dimensional matrix, and

  • is of class double and all values are in the range [0, 1], or
  • is of class uint8 or uint16.