A raster scan, or raster scanning, is the rectangular pattern of image capture and reconstruction in television. By analogy, the term is used for
raster graphics, the pattern of image storage and transmission used in most computer
bitmap
In computing, a bitmap is a mapping from some domain (for example, a range of integers) to bits. It is also called a bit array or bitmap index.
As a noun, the term "bitmap" is very often used to refer to a particular bitmapping application: t ...
image systems. The word ''
raster
Raster may refer to:
* Raster graphics, graphical techniques using arrays of pixel values
* Raster graphics editor, a computer program
* Raster scan, the pattern of image readout, transmission, storage, and reconstruction in television and compu ...
'' comes from the Latin word ''
rastrum
A rastrum () or raster is a five-pointed writing implement used in music manuscripts to draw parallel staff lines when drawn horizontally across a blank piece of sheet music. The word "raster" is derived from the Latin for "rake". Rastra were ...
'' (a rake), which is derived from ''
radere'' (to scrape); see also
rastrum
A rastrum () or raster is a five-pointed writing implement used in music manuscripts to draw parallel staff lines when drawn horizontally across a blank piece of sheet music. The word "raster" is derived from the Latin for "rake". Rastra were ...
, an instrument for drawing musical
staff lines. The pattern left by the lines of a rake, when drawn straight, resembles the parallel lines of a raster: this line-by-line scanning is what creates a raster. It is a systematic process of covering the area progressively, one line at a time. Although often a great deal faster, it is similar in the most general sense to how one's gaze travels when one reads lines of text. The data to be drawn is stored in an area of memory called the
Framebuffer
A framebuffer (frame buffer, or sometimes framestore) is a portion of random-access memory (RAM) containing a bitmap that drives a video display. It is a memory buffer containing data representing all the pixels in a complete video frame. Mode ...
. This memory area holds the values for each pixel on the screen. These values are retrieved from the refresh buffer and painted onto the screen one row at a time.
Description
Scan lines
In a raster scan, an image is subdivided into a sequence of (usually horizontal) strips known as "
scan line
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.
On CRT screens the horizontal scan lines are visually discernible ...
s". Each scan line can be transmitted in the form of an
analog signal as it is read from the video source, as in television systems, or can be further divided into discrete
pixels
In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element in a raster image, or the smallest point in an all points addressable display device.
In most digital display devices, pixels are the sm ...
for processing in a computer system. This ordering of pixels by rows is known as raster order, or raster scan order.
Analog television
Analog television is the original television technology that uses analog signals to transmit video and audio. In an analog television broadcast, the brightness, colors and sound are represented by amplitude, instantaneous phase and frequency, ...
has discrete scan lines (discrete vertical resolution), but does ''not'' have discrete pixels (horizontal resolution) – it instead varies the signal continuously over the scan line. Thus, while the number of scan lines (vertical resolution) is unambiguously defined, the horizontal resolution is more approximate, according to how quickly the signal can change over the course of the scan line.
Scanning pattern
In raster scanning, the beam sweeps horizontally left-to-right at a steady rate, then blanks and rapidly moves back to the left, where it turns back on and sweeps out the next line. During this time, the vertical position is also steadily increasing (downward), but much more slowly – there is one vertical sweep per image frame, but one horizontal sweep per line of resolution. Thus each scan line is sloped slightly "downhill" (towards the lower right), with a slope of approximately –1/horizontal resolution, while the sweep back to the left (retrace) is significantly faster than the forward scan, and essentially horizontal. The resulting tilt in the scan lines is very small, and is dwarfed in effect by screen convexity and other modest geometrical imperfections.
There is a misconception that once a scan line is complete, a
cathode-ray tube (CRT) display in effect suddenly jumps internally, by analogy with a typewriter or printer's paper advance or
line feed
Newline (frequently called line ending, end of line (EOL), next line (NEL) or line break) is a control character or sequence of control characters in character encoding specifications such as ASCII, EBCDIC, Unicode, etc. This character, or a ...
, before creating the next scan line. As discussed above, this does not exactly happen: the vertical sweep continues at a steady rate over a scan line, creating a small tilt. Steady-rate sweep is done, instead of a stairstep of advancing every row, because steps are hard to implement technically, while steady-rate is much easier. The resulting tilt is compensated in most CRTs by the tilt and parallelogram adjustments, which impose a small vertical deflection as the beam sweeps across the screen. When properly adjusted, this deflection exactly cancels the downward slope of the scanlines. The horizontal retrace, in turn, slants smoothly downward as the tilt deflection is removed; there's no jump at either end of the retrace. In detail, scanning of CRTs is performed by magnetic deflection, by changing the current in the coils of the
deflection yoke
A deflection yoke is a kind of magnetic lens, used in cathode ray tubes to scan the electron beam both vertically and horizontally over the whole screen.
In a CRT television, the electron beam is moved in a raster scan on the screen. By adjusti ...
. Rapidly changing the deflection (a jump) requires a voltage spike to be applied to the yoke, and the deflection can only react as fast as the inductance and spike magnitude permit. Electronically, the inductance of the deflection yoke's vertical windings is relatively high, and thus the current in the yoke, and therefore the vertical part of the magnetic deflection field, can change only slowly.
In fact, spikes ''do'' occur, both horizontally and vertically, and the corresponding
horizontal blanking interval
Horizontal blanking interval refers to a part of the process of displaying images on a computer monitor or television screen via raster scanning. CRT screens display images by moving beams of electrons very quickly across the screen. Once the be ...
and
vertical blanking interval
In a raster scan display, the vertical blanking interval (VBI), also known as the vertical interval or VBLANK, is the time between the end of the final visible line of a frame or field and the beginning of the first visible line of the next fra ...
give the deflection currents
settle time
In control theory the settling time of a dynamical system such as an amplifier or other output device is the time elapsed from the application of an ideal instantaneous step input to the time at which the amplifier output has entered and remained ...
to retrace and settle to their new value. This happens during the blanking interval.
In electronics, these (usually steady-rate) movements of the beam
are called "sweeps", and the circuits that create the currents for the deflection yoke (or voltages for the horizontal deflection plates in an oscilloscope) are called the sweep circuits. These create a
sawtooth wave
The sawtooth wave (or saw wave) is a kind of non-sinusoidal waveform. It is so named based on its resemblance to the teeth of a plain-toothed saw with a zero rake angle. A single sawtooth, or an intermittently triggered sawtooth, is called ...
: steady movement across the screen, then a typically rapid move back to the other side, and likewise for the vertical sweep.
Furthermore, wide-deflection-angle CRTs need horizontal sweeps with current that changes proportionally faster toward the center, because the center of the screen is closer to the deflection yoke than the edges. A linear change in current would swing the beams at a constant rate angularly; this would cause horizontal compression toward the center.
Printers
Computer printers create their images basically by raster scanning. Laser printers use a spinning polygonal mirror (or an optical equivalent) to scan across the photosensitive drum, and paper movement provides the other scan axis. Considering typical printer resolution, the "downhill" effect is minuscule. Inkjet printers have multiple nozzles in their printheads, so many (dozens to hundreds) of "scan lines" are written together, and paper advance prepares for the next batch of scan lines. Transforming vector-based data into the form required by a display, or printer, requires a Raster Image Processor (RIP).
Fonts
Computer text is mostly created from font files that describe the outlines of each printable character or symbol (glyph). (A minority are "bit maps".) These outlines have to be converted into what are effectively little rasters, one per character, before being rendered (displayed or printed) as text, in effect merging their little rasters into that for the page.
Video timing
In detail, each line (horizontal frame or HFrame) consists of:
* scanline, when beam is unblanked, and moving steadily to the right
*
front porch
A porch (from Old French ''porche'', from Latin ''porticus'' "colonnade", from ''porta'' "passage") is a room or gallery located in front of an entrance of a building. A porch is placed in front of the facade of a building it commands, and form ...
, when beam is blanked, and moving steadily to the right
*
sync pulse
Analog television is the original television technology that uses analog signals to transmit video and audio. In an analog television broadcast, the brightness, colors and sound are represented by amplitude, phase and frequency of an analog s ...
, when beam is blanked, and moves rapidly back to the left
*
back porch, when beam is blanked, and again moving steadily to the right.
The porches and associated blanking are to provide
fall time
In electronics, fall time (pulse decay time) t_f is the time taken for the amplitude of a pulse to decrease (fall) from a specified value (usually 90% of the peak value exclusive of overshoot or undershoot) to another specified value (usually 10 ...
and
settle time
In control theory the settling time of a dynamical system such as an amplifier or other output device is the time elapsed from the application of an ideal instantaneous step input to the time at which the amplifier output has entered and remained ...
for the beam to move back to the left (the voltage to decrease), and for
ringing
Ringing may mean:
Vibrations
* Ringing (signal), unwanted oscillation of a signal, leading to ringing artifacts
* Vibration of a harmonic oscillator
** Bell ringing
* Ringing (telephony), the sound of a telephone bell
* Ringing (medicine), a ri ...
to die down. The vertical frame (VFrame) consists of exactly the same components, but only occurs once per image frame, and the times are considerably longer. The details of these intervals are called the video timing. See
Video timing details revealed' for a diagram of these. These are mostly not visible to end users, but were visible in the case of
XFree86 Modeline : ''A mode line may also refer to a line for the Emacs and Vim editors that provides information about the file and modes.''
A modeline is a configuration line in xorg.conf or the XFree86 configuration file (XF86Config) that provides information ...
s, where users of
XFree86
XFree86 is an implementation of the X Window System. It was originally written for Unix-like operating systems on IBM PC compatibles and was available for many other operating systems and platforms. It is free and open source software under the X ...
could (and sometimes needed to) manually adjust these timings, particularly to achieve certain resolutions or
refresh rate
The refresh rate (or "vertical refresh rate", "vertical scan rate", terminology originating with the cathode ray tubes) is the number of times per second that a raster-based display device displays a new image. This is independent from frame rate ...
s.
Perception
Raster scan on CRTs produces both the impression of a steady image from a single scanning point (only one point is being drawn at a time) through several technical and psychological processes. These images then produce the impression of motion in largely the same way as film – a high enough
frame rate of still images yields the impression of motion – though raster scans differ in a few respects, particularly interlacing.
Firstly, due to
phosphor persistence
A cathode-ray tube (CRT) is a vacuum tube containing one or more electron guns, which emit electron beams that are manipulated to display images on a phosphorescent screen. The images may represent electrical waveforms ( oscilloscope), pictu ...
, even though only one "pixel" is being drawn at a time (recall that on an analog display, "pixel" is ill-defined, as there are no fixed horizontal divisions; rather, there is a "flying spot"), by the time the whole screen has been painted, the initial pixel is still relatively illuminated. Its brightness will have dropped some, which can cause a perception of
flicker. This is one reason for the use of
interlacing – since only every other line is drawn in a single field of broadcast video, the bright newly-drawn lines interlaced with the somewhat dimmed older drawn lines create relatively more even illumination.
Second, by
persistence of vision
Persistence of vision traditionally refers to the optical illusion that occurs when visual perception of an object does not cease for some time after the rays of light proceeding from it have ceased to enter the eye.
The illusion has also been d ...
, the viewed image persists for a moment on the retina, and is perceived as relatively steady. By the related
flicker fusion threshold
The flicker fusion threshold, critical flicker frequency (CFF) or flicker fusion rate, is a concept in the psychophysics of vision. It is defined as the frequency at which an intermittent light stimulus appears to be completely steady to the avera ...
, these pulsating pixels appear steady.
These perceptually steady still images are then pieced together to produce a moving picture, similar to a
movie projector
A movie projector is an opto-mechanical device for displaying motion picture film by projecting it onto a screen. Most of the optical and mechanical elements, except for the illumination and sound devices, are present in movie cameras. Mod ...
. However, one must bear in mind that in film projectors, the full image is projected at once (not in a raster scan), uninterlaced, based on a frame rate of 24 frames per second. By contrast, a raster scanned interlaced video produces an image 50 or 60 fields per second (a field being every other line, thus corresponding to a frame rate of 25 or 30 frames per second), with each field being drawn a pixel at a time, rather than the entire image at once. These both produce a video, but yield somewhat different perceptions or "feel".
Theory and history
In a CRT display, when the electron beams are unblanked, the horizontal deflection component of the magnetic field created by the deflection yoke makes the beams scan "forward" from left to right at a constant rate. The data for consecutive pixels goes (at the pixel clock rate) to the digital-to-analog converters for each of the three primary colors (for modern flat-panel displays, however, the pixel data remains digital). As the scan line is drawn, at the right edge of the display, all beams are blanked, but the magnetic field continues to increase in magnitude for a short while after blanking.
To clear up possible confusion: Referring to the magnetic deflection fields, if there were none, all beams would hit the screen near the center. The farther away from the center, the greater the strength of the field needed. Fields of one polarity move the beam up and left, and those of the opposite polarity move it down and right. At some point near the center, the magnetic deflection field is zero. Therefore a scan begins as the field decreases. Midway, it passes through zero, and smoothly increases again to complete the scan.
After one line has been created on the screen and the beams are blanked, the magnetic field reaches its designed maximum. Relative to the time required for a forward scan, it then changes back relatively quickly to what's required to position the beam beyond the left edge of the visible (unblanked) area. This process occurs with all beams blanked, and is called the retrace. At the left edge, the field steadily decreases in magnitude to start another forward scan, and soon after the start, the beams unblank to start a new visible scan line.
A similar process occurs for the vertical scan, but at the display refresh rate (typically 50 to 75 Hz). A complete field starts with a polarity that would place the beams beyond the top of the visible area, with the vertical component of the deflection field at maximum. After some tens of horizontal scans (but with the beams blanked), the vertical component of the unblank, combined with the horizontal unblank, permits the beams to show the first scan line. Once the last scan line is written, the vertical component of the magnetic field continues to increase by the equivalent of a few percent of the total height before the vertical retrace takes place. Vertical retrace is comparatively slow, occurring over a span of time required for several tens of horizontal scans. In analog CRT TVs, setting brightness to maximum typically made the vertical retrace visible as zigzag lines on the picture.
In analog TV, originally it was too costly to create a simple sequential raster scan of the type just described with a fast-enough refresh rate and sufficient horizontal resolution, although the French 819-line system had better definition than other standards of its time. To obtain a flicker-free display, analog TV used a variant of the scheme in moving-picture film projectors, in which each frame of the film is shown twice or three times. To do that, the shutter closes and opens again to increase the flicker rate, but not the data update rate.
Interlaced scanning
To reduce flicker, analog CRT TVs write only odd-numbered scan lines on the first vertical scan; then, the even-numbered lines follow, placed ("interlaced") between the odd-numbered lines. This is called
interlaced scanning
Interlaced video (also known as interlaced scan) is a technique for doubling the perceived frame rate of a video display without consuming extra bandwidth. The interlaced signal contains two fields of a video frame captured consecutively. This ...
. (In this case, positioning the even-numbered lines does require precise position control; in old analog TVs, trimming the Vertical Hold adjustment made scan lines space properly. If slightly misadjusted, the scan lines would appear in pairs, with spaces between.) Modern high-definition TV displays use data formats like progressive scan in computer monitors (such as "1080p", 1080 lines, progressive), or interlaced (such as "1080i").
Radar
Raster scans have been used in (naval gun) fire-control radar, although they were typically narrow rectangles. They were used in pairs (for bearing, and for elevation). In each display, one axis was angular offset from the line of sight, and the other, range. Radar returns brightened the video. Search and weather radars have a circular display (
Plan Position Indicator
A plan position indicator (PPI) is a type of radar display that represents the radar antenna in the center of the display, with the distance from it and height above ground drawn as concentric circles. As the radar antenna rotates, a radial tra ...
, PPI) that covers a round screen, but this is not technically a raster. Analog PPIs have sweeps that move outward from the center, and the angle of the sweep matches antenna rotation, up being north, or the bow of the ship.
Television
The use of raster scanning in television was proposed in 1880 by French engineer
Maurice Leblanc
Maurice Marie Émile Leblanc (; ; 11 December 1864 – 6 November 1941) was a French novelist and writer of short stories, known primarily as the creator of the fictional gentleman thief and detective Arsène Lupin, often described as a French c ...
. The concept of raster scanning was inherent in the original mechanical
disc-scanning television patent of
Paul Nipkow
Paul Julius Gottlieb Nipkow (22 August 1860 – 24 August 1940) was a German technician and inventor. He invented the Nipkow disk, which laid the foundation of television, since his disk was a fundamental component in the first televisions. Hu ...
in 1884. The term ''raster'' was used for a halftone printing screen pattern as early as 1894. Similar terminology was used in German at least from 1897; Eder writes of "die Herstellung von Rasternegativen für Zwecke der Autotypie" (the production of raster negatives for halftones). Max Dieckmann and Gustav Glage were the first to produce actual raster images on a cathode-ray tube (CRT); they patented their techniques in Germany in 1906. It has not been determined whether they used the word ''raster'' in their patent or other writings.
An early use of the term ''raster'' with respect to image scanning via a rotating drum is Arthur Korn's 1907 book which says (in German): "...als Rasterbild auf Metall in solcher Weise aufgetragen, dass die hellen Töne metallisch rein sind, oder umgekehrt" (...as a raster image laid out on metal in such way that the bright tones are metallically pure, and vice versa). Korn was applying the terminology and techniques of
halftone printing, where a "Rasterbild" was a halftone-screened printing plate. There were more scanning-relevant uses of ''Raster'' by German authors Eichhorn in 1926: "die Tönung der Bildelemente bei diesen Rasterbildern" and "Die Bildpunkte des Rasterbildes" ("the tone of the picture elements of this raster image" and "the picture points of the raster image"); and Schröter in 1932: "Rasterelementen," "Rasterzahl," and "Zellenraster" ("raster elements," "raster count," and "cell raster").
The first use of ''raster'' specifically for a television scanning pattern is often credited to Baron Manfred von Ardenne who wrote in 1933: "In einem Vortrag im Januar 1930 konnte durch Vorführungen nachgewiesen werden, daß die Braunsche Röhre hinsichtlich Punktschärfe und Punkthelligkeit zur Herstellung eines präzisen, lichtstarken Rasters laboratoriumsmäßig durchgebildet war" (In a lecture in January 1930 it was proven by demonstrations that the Braun tube was prototyped in the laboratory with point sharpness and point brightness for the production of a precise, bright raster). ''Raster'' was adopted into English television literature at least by 1936, in the title of an article in ''Electrician''. The mathematical theory of image scanning was developed in detail using
Fourier transform techniques in a classic paper by Mertz and Gray of Bell Labs in 1934.
[Pierre Mertz and Frank Gray, "A Theory of Scanning and Its Relation to the Characteristics of the Transmitted Signal in Telephotography and Television," ''Bell System Technical Journal'', Vol. 13, pp. 464-515, July, 1934]
CRT components
#Electronic gun:-
##Primary gun: used to store the picture pattern.
##Flood gun: used to maintain the picture display.
##Phosphor coated screen: coated with phosphorus crystals ("phosphors") that emit light when an electron beam strikes them.
##Focusing system: focusing system causes the electron beam to converge into a small spot as it strikes the phosphor screen.
##Deflection system: used to change the direction of electron beam so it can be made to strike at different locations on the phosphor screen.
See also
*
Broadcast television systems
Broadcast television systems (or terrestrial television systems outside the US and Canada) are the encoding or formatting systems for the transmission and reception of terrestrial television signals.
Analog television systems were standardized b ...
*
Cathode-ray tube
*
Computer display standard
Computer display standards are a combination of aspect ratio, display size, display resolution, color depth, and refresh rate. They are associated with specific expansion cards, video connectors and monitors.
History
Various computer displa ...
*
Counter-scanning Counter-scanning (CS) is a scanning method that allows correcting raster distortions caused by drift of the probe of scanning microscope relative to the measured surface. During counter-scanning two surface scans, viz., direct scan and counter scan ...
*
Image resolution
Image resolution is the detail an image holds. The term applies to digital images, film images, and other types of images. "Higher resolution" means more image detail.
Image resolution can be measured in various ways. Resolution quantifies how ...
*
Raster graphics
*
Rasterisation
In computer graphics, rasterisation (British English) or rasterization (American English) is the task of taking an image described in a vector graphics format (shapes) and converting it into a raster image (a series of pixels, dots or lines, whi ...
References
{{Analogue TV transmitter topics
Television technology
Computer graphics
fr:Trame