   a binary image is a digital image that has only two possible values for each pixel. typically the two colors used for a binary image are black and white though any two colors can be used. the color used for the object(s) in the image is the foreground color while the rest of the image is the background color. in the document-scanning industry this is often referred to as "bi-tonal". binary images are also called bi-level or two-level. this means that each pixel is stored as a single bitâi.e., a 0 or 1. the names black-and-white, b&amp;w, monochrome or monochromatic are often used for this concept, but may also designate any images that have only one sample per pixel, such as grayscale images. in photoshop parlance, a binary image is the same as an image in "bitmap" mode.http://www.graphics.com/article-old/photoshop-fundamentals-working-different-color-modes binary images often arise in digital image processing as masks or as the result of certain operations such as segmentation, thresholding, and dithering. some input/output devices, such as laser printers, fax machines, and bilevel computer displays, can only handle bilevel images. a binary image can be stored in memory as a bitmap, a packed array of bits. a 640Ã480 image requires 37.5 kib of storage. because of the small size of the image files, fax machine and document management solutions usually use this format. most binary images also compress well with simple run-length compression schemes. binary images can be interpreted as subsets of the two-dimensional integer lattice z2; the field of morphological image processing was largely inspired by this view. == operations on binary images == an entire class of operations on binary images operates on a 3x3 window of the image. this contains nine pixels, so 512 possible values. considering only the central pixel, it is possible to define whether it remains set or unset, based on the surrounding pixels. examples of such operations are thinning, dilating, finding branch points and endpoints, removing isolated pixels, shifting the image a pixel in any direction, and breaking h-connections. conway's game of life is also an
Color_depths Digital_geometry Image_processing