ArticleslgStudy

computer science

Pixel

Pixel is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Pixel rather than just read about it. In short: In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element of a raster image. In a display device, dot matrix printer, or ASCII art a pixel is the smallest element whose output can generally be controlled independently.

Pixel — main illustration
Pixel — illustration

Key takeaways

  • Pixel belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Pixel to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Pixel from memory before moving on to harder problems.

Reference excerpt

In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element of a raster image. In a display device, dot matrix printer, or ASCII art a pixel is the smallest element whose output can generally be controlled independently. The concept of a picture element dates to the earliest days of electronic imaging. The German word Bildpunkt ("picture point") appeared in an 1888 patent, while the English term picture element appeared in U.S. patents filed as early as 1911. The word pixel was first published in 1965. Pixels are usually arranged in a regular two-dimensional grid, with each pixel storing one or more numerical values that represent a sample of an image. A greater sampling density can represent finer spatial detail, although the result also depends on the optics, sensor, processing, and display. In color imaging, a pixel is commonly represented by components such as red, green, and blue (RGB), or cyan, magenta, yellow, and black (CMYK). In some contexts (such as descriptions of camera sensors), pixel refers to a single scalar element of a multi-component representation (called a photosite in the camera sensor context, although sensel 'sensor element' is sometimes used), while in yet other contexts (like MRI) it may refer to a set of component intensities for a spatial position. Software on early consumer computers was necessarily rendered at a low resolution, with large pixels visible to the naked eye; graphics made under these limitations may be called pixel art, especially in reference to video games. Modern computers and displays, however, can easily render orders of magnitude more pixels than was previously possible, necessitating the use of large measurements like the megapixel (one million pixels).

Etymology

The word pixel is a combination of pix (from "pictures", shortened to "pics") and el (for "element"); similar formations with 'el' include the words voxel 'volume pixel', and texel 'texture pixel'. The word pix appeared in Variety magazine headlines in 1932, as an abbreviation for the word pictures, in reference to movies. By 1938, "pix" was being used in reference to still pictures by photojournalists. The word "pixel" was first published in 1965 by Frederic C. Billingsley of JPL, to describe the picture elements of scanned images from space probes to the Moon and Mars. Billingsley had learned the word from Keith E. McFarland, at the Link Division of General Precision in Palo Alto, who in turn said he did not know where it originated. McFarland said simply it was "in use at the time" (c. 1963). The concept of a "picture element" dates to the earliest days of television, for example as "Bildpunkt" (the German word for pixel, literally 'picture point') in the 1888 German patent of Paul Nipkow. According to various etymologies, the earliest publication of the term picture element itself was in Wireless World magazine in 1927, though it had been used earlier in various U.S. patents filed as early as 1911. Some authors explain pixel as picture cell, as early as 1972. In graphics and in image and video processing, pel is often used instead of pixel. For example, IBM used it in their Technical Reference for the original PC. Pixilation, spelled with a second i, is an unrelated filmmaking technique that dates to the beginnings of cinema, in which live actors are posed frame by frame and photographed to create stop-motion animation. An archaic British word meaning "possession by spirits (pixies)", the term has been used to describe the animation process since the early 1950s; various animators, including Norman McLaren and Grant Munro, are credited with popularizing it.

Technical

A pixel is generally thought of as the smallest component of a digital image, but its precise meaning depends on context. A pixel may refer to a numerical sample in an image file , an element in a transmitted image signal, a controllable picture element on a display, a printed image sample, or a photosensitive element in a digital camera. Related terms include pel, sample, dot, photosite, and sensel, although they are not interchangeable in every context. Pixel counts are also used as measurements, for example 2,400 pixels per inch or 640 pixels per line.

The measures "dots per inch" (dpi) and "pixels per inch" (ppi) are sometimes used interchangeably, but they describe different quantities. Ppi describes the sampling density of a digital image or display, while printer dpi describes the density of physical marks such as ink droplets. A printer may use a full character (ASCII_art) or several dots to reproduce one image pixel; for example, an image sampled at 600 ppi may be printed by a 1,200 dpi inkjet printer. Printer dpi therefore cannot be compared directly with image ppi as a measure of effective resolution. Increasing the number of samples can preserve finer detail, provided that the image source and imaging system contain that detail. Pixel count is often informally called "resolution", although image resolution can also refer to spatial resolving power or sampling density. Pixel counts may be expressed as a single number, such as three megapixels, or as dimensions. A 640 × 480 VGA image contains 307,200 pixels, or about 0.3 megapixels. The pixels, or color samples, that form a digitized image (such as a JPEG file used on a web page) may or may not be in one-to-one correspondence with screen pixels, depending on how a computer displays an image. In computing, an image composed of pixels is known as a bitmapped image or a raster image. The word raster originates from television scanning patterns, and has been widely used to describe similar halftone printing and storage techniques.

Sampling patterns For convenience, pixels are normally arranged in a regular two-dimensional grid. By using this arrangement, many common operations can be implemented by uniformly applying the same operation to each pixel independently. Other arrangements of pixels are possible, with some sampling patterns even changing the shape (or kernel) of each pixel across the image. For this reason, care must be taken when acquiring an image on one device and displaying it on another, or when converting image data from one pixel format to another. For example:

… excerpt ends here. Continue reading the full article.

Illustrations

Pixel: This example shows an image with a portion greatly enlarged so that individual pixels, rendered as small squares, can easily be seen.
This example shows an image with a portion greatly enlarged so that individual pixels, rendered as small squares, can easily be seen.
Pixel: A photograph of subpixel display elements on a laptop's LCD screen
A photograph of subpixel display elements on a laptop's LCD screen
Pixel: A pixel does not need to be rendered as a small square. This image shows alternative ways of reconstructing an image from a set of pixel values, using dots, lines, or smooth filtering.
A pixel does not need to be rendered as a small square. This image shows alternative ways of reconstructing an image from a set of pixel values, using dots, lines, or smooth filtering.
Pixel: Pixel art
Pixel art
Pixel: Subpixel text rendering using ClearType
Subpixel text rendering using ClearType

Worked examples

Example 1 — a first encounter with Pixel

Start with the simplest possible case. Write down what Pixel claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Pixel before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Pixel ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Pixel

In research
Pixel appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Pixel in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Pixel is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer graphics data structures, Digital geometry, Digital imaging, so understanding it makes those chapters shorter.
In everyday life
Look for Pixel outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Pixel in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Pixel means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Pixel out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Pixel in simple terms?

In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element of a raster image. In a display device, dot matrix printer, or ASCII art a pixel is the smallest element whose output can generally be controlled independently.

Why does Pixel matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Pixel?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Pixel.

Tags

  • Computer graphics data structures
  • Digital geometry
  • Digital imaging
  • Digital photography
  • Display technology
  • Image processing
  • Television technology

Keep exploring