

A scan line (also scanline) is one line, or row, in a raster scanning pattern, such as a line of video on a cathode-ray tube (CRT) display of a television set or computer monitor.[1]
On CRT screens the horizontal scan lines are visually discernible, even when viewed from a distance, as alternating colored lines and black lines, especially when a progressive scan signal with below maximum vertical resolution is displayed.[2] This is sometimes used today as a visual effect in computer graphics.[3]
Analogue origin
In mechanical television, a two-dimensional image is converted into a one-dimensional signal using a spinning disc (Nipkow disk) with holes. As the disc spins, the holes make their way across the image and produces a varying brightness signal. Using an identically-spinning disc and a light source that varies with this signal, the receiving side could project the original image onto a screen for viewing, so long as the disc spins fast enough for persistence of vision to make the lines blend together without obvious flickering. Additional synchronization signals, emitted at a fixed time before each frame or line, can be used to synchronize the spinning of the discs.

The same principle is employed in analogue television, where images are strictly rectangular and scanned in a pattern of straight lines instead of curved arcs. In addition to the persistence of vision, the cathode-ray tubes exhibit phosphor persistence. There are both horizontal synchronization signals (which separates the lines) and vertical synchronization signals (which separates the frames) to make decoding more robust. Additional features such as color were added later. The general shape of analogue television signals were then inherited into analogue computer display signals starting with Video Graphics Array.
In analogue graphics, while each individual scan line is a discrete entity, the brightness levels within each line varies continuously (contrast with digital pixels chopping each line into a fixed number of segments). The horizontal resolution of an analogue signal is instead limited by the radio-frequency (RF) bandwidth allowed for each broadcast signal: the crisper a horizontal signal is, the more bandwidth it will need to use extending away from its carrier frequency, preventing other signals from using the same range of frequencies. Regulatory limits are set to make sure a reasonable number of channels can co-exist.[4]
Digital use
The term is used, by analogy, for a single row of pixels in a raster graphics image.[5] Scan lines are important in representations of image data, because many image file formats have special rules for data at the end of a scan line. For example, there may be a rule that each scan line starts on a particular boundary (such as a byte or word; see for example BMP file format). This means that even otherwise compatible raster data may need to be analyzed at the level of scan lines in order to convert between formats.
See also
References
- ↑ Keith Jack and Vladimir Tsatsulin (2002). Dictionary of Video and Television Technology. Newnes. p. 242. ISBN 978-1-878707-99-4.
- ↑ Wesley Fenlon (15 January 2014). "In Search of Scanlines: The Best CRT Monitor for Retro Gaming". Tested. Archived from the original on 24 August 2020. Retrieved 20 February 2014.
- ↑ Gabriel B. (December 2012). "Freeware Friday: Maldita Castilla". Blistered Thumbs. Archived from the original on 2014-02-27.
- ↑ Perkins, Mike (23 December 2009). "The Math Behind Analog Video Resolution". Contract Engineering, Product Design & Development Company - Cardinal Peak.
- ↑ Robin Stuart Ferguson (2001). Practical algorithms for 3D computer graphics. A K Peters, Ltd. p. 104. ISBN 978-1-56881-154-3.
