Binary image

A photograph of a neighborhood watch sign is the foreground color while the rest of the image is the background color.[1] In the document-scanning industry, this is often referred to as "bi-tonal".

A binary image is one that consists of pixels that can have one of exactly two colors, usually black and white. Binary images are also called bi-level or two-level, Pixelart made of two colours is often referred to as 1-Bit or 1bit.[2] This means that each pixel is stored as a single bit—i.e., a 0 or 1. The names black-and-white, B&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.[3][4]

Binary images often arise in digital image processing as masks or 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.

  1. ^ "Conversion of a Color Image to a Binary Image". CoderSource.net. April 18, 2005. Archived from the original on June 10, 2008. Retrieved June 11, 2008.
  2. ^ "Top games tagged 1-bit". itch.io. Retrieved April 29, 2021.
  3. ^ "Photoshop Fundamentals: Working With Different Color Modes".
  4. ^ "Photoshop Fundamentals: Working in Different Color Modes". Graphics.com. Retrieved October 28, 2017.

From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Nelliwinne