In a binary image, each pixel assumes one of only two discrete values: 1 or 0. A
binary image is stored as a
logical array. By convention, this
documentation uses the variable name
BW to refer to binary
The following figure shows a binary image with a close-up view of some of the pixel values.
Pixel Values in a Binary Image