Mathematica > Data Manipulation > Image Processing & Analysis > Image Representation > BinaryImageQ >

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 , and contains only a single channel of values.
Test whether an image is binary:
Single-channel images with data type are binary:
Image by default creates images:
Test whether an image is binary:
In[1]:=
Click for copyable input
Out[1]=
 
Single-channel images with data type are binary:
In[1]:=
Click for copyable input
Out[1]=
 
Image by default creates images:
In[1]:=
Click for copyable input
Out[1]=
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF