This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

BinaryImageQ

BinaryImageQ[image]
yields True if image has the form of a binary image, and False otherwise.
  • BinaryImageQ[image] tests that image is of type "Bit", and contains only a single channel of values.
Test whether an image is binary:
Single-channel images with data type "Bit" are binary:
Image by default creates "Real" images:
Test whether an image is binary:
In[1]:=
Click for copyable input
Out[1]=
 
Single-channel images with data type "Bit" are binary:
In[1]:=
Click for copyable input
Out[1]=
 
Image by default creates "Real" images:
In[1]:=
Click for copyable input
Out[1]=
New in 7