Digital video noise
Mar 1, 2005 12:00 PM, By Michael Robin
Digitizing an analog video signal involves two operations: sampling and quantization. Sampling means the periodical measurement of the amplitude of the video signal.
The significant parameter is the sampling frequency (f
![]() Figure 1. Quantizing errors introduced by a 3-bit codec. Click here to see an enlarged diagram. |
Sampling at constant time intervals, T=1/f
Quantizing converts each of the amplitude levels of a continuously varying analog video signal to one of a finite number of discrete levels, 2
The quantizing error
Video signal amplitudes vary in time and can assume an infinite number of levels ranging from 0V (black) to 0.7V (white). Because the digital signal can assume only a limited number of discrete levels, it is an approximation of the original analog signal. The quantized values may be in error by as much as ±1/2Q, where Q is the amplitude of the quantizing step. This process generates a unique impairment in digital systems: the quantizing error.
In studio-type digital video equipment, all quantizing steps are of equal amplitude, and the process is called uniform quantization. The number of quantizing steps and, consequently, the magnitude of the quanitizing error, depends on the number of bits per sample.
![]() Figure 2. Oscilloscope display of 8-bit quanitizing error Horizontal display: 0.5 microsecond/cm Vertical display: 5 millivolt/cm S/QRMS: 58.3dB theoretical S/QRMS: 57.9dB measured Click here to see an enlarged diagram. |
With eight bits or more per sample, the quantizing error is perceived by the human visual system as random noise. Figure 2 shows the oscilloscope display of quantizing errors generated by an 8-bit system. Below eight bits per sample, the quantizing error results in a severe distortion of the waveform and gives rise to contouring effects. Figure 3 shows the oscilloscope display of quantizing errors generated by a 7-bit system.
Video signal to random noise specifications are usually expressed as p-p signal to RMS noise ratio. The p-p video signal value at the output of the D/A is (2
S
![]() Figure 3. Oscilloscope display of 7-bit quantizing error Horizontal display: 1 microsecond/cm Vertical display: 5 millivolts/cm S/QRMS:52.2dB theoretical S/QRMS: 51.9dB measured Click here to see an enlarged diagram. |
It is evident that the higher the value of n, the better the signal-to-noise ratio. This simplified formula does not take into consideration the bandwidth of the quanitizing noise nor the fact that the video signal does not occupy the whole quantizing range. In all standards, the maximum analog video frequency is lower than half of the sampling frequency, and analog video signals have a well-defined peak-to-peak amplitude.
The amplitude reference is the component analog 100-percent color bars signal, which assumes a peak-to-peak luminance value of 0.7V. It is important that these signals be handled by the A/D converter without clipping. Consequently, a certain amount of headroom is provided to avoid A/D converter overloading and is specified in current digital television standards. Taking these facts into consideration, the p-p video to RMS quantizing noise ratio becomes:
S
where
n: The number of bits per sample
f
f
V
V
This formula takes into account the headroom, which is the difference between the whole quantizing range (V
The measurement of Sp-p /QRMS
The calculated theoretical value of S
![]() Figure 4. Conceptual block diagram of measurement of signal-to-quantizing noise ratio. Click here to see an enlarged diagram. |
Figure 4 shows a conceptual block diagram of a test setup. The codec consists of an input (anti-aliasing) LPF, an A/D converter, a processor, a D/A converter and an output (reconstruction) LPF. The codec is fed a ramp signal, which activates all quanitizing levels. The input is subtracted from the output of the codec, leaving only the quantizing errors, which are fed to a high-gain wideband oscilloscope. The p-p amplitude of quantizing error is carefully measured, and the S
S
The S
![]() Table 1. Theoretical and measured Rec. 601 4:2:2 luminance Sp-p/QRMS. Click here to see an enlarged diagram. |
Specialized automatic video testing equipment, such as the Tektronix VM700, has the capability of normalizing the luminance ramp test signal to a horizontal line and give direct readings of S
A comparison of theoretical and measured S
Michael Robin, a fellow of the SMPTE and former engineer with the Canadian Broadcasting Corp.'s engineering headquarters, is an independent broadcast consultant located in Montreal, Canada. He is co-author of “Digital Television Fundamentals,” published by McGraw-Hill and translated into Chinese and Japanese.
Send questions and comments to: michael_robin@primediabusiness.com
| Want to use this article? Click here for options! |
































