Research and Development Report

Similar documents
DELTA MODULATION AND DPCM CODING OF COLOR SIGNALS

An Overview of Video Coding Algorithms

Investigation of Digital Signal Processing of High-speed DACs Signals for Settling Time Testing

Colour Reproduction Performance of JPEG and JPEG2000 Codecs

UNIVERSAL SPATIAL UP-SCALER WITH NONLINEAR EDGE ENHANCEMENT

Assessing and Measuring VCR Playback Image Quality, Part 1. Leo Backman/DigiOmmel & Co.

Research and Development Report

Rec. ITU-R BT RECOMMENDATION ITU-R BT * WIDE-SCREEN SIGNALLING FOR BROADCASTING

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21

United States Patent: 4,789,893. ( 1 of 1 ) United States Patent 4,789,893 Weston December 6, Interpolating lines of video signals

ZONE PLATE SIGNALS 525 Lines Standard M/NTSC

RECOMMENDATION ITU-R BT Studio encoding parameters of digital television for standard 4:3 and wide-screen 16:9 aspect ratios

Module 8 : Numerical Relaying I : Fundamentals

An Effective Filtering Algorithm to Mitigate Transient Decaying DC Offset

RECOMMENDATION ITU-R BT (Questions ITU-R 25/11, ITU-R 60/11 and ITU-R 61/11)

CM3106 Solutions. Do not turn this page over until instructed to do so by the Senior Invigilator.

Introduction to Data Conversion and Processing

Lecture 2 Video Formation and Representation

BTV Tuesday 21 November 2006

Calibrate, Characterize and Emulate Systems Using RFXpress in AWG Series

DIGITAL COMMUNICATION

Study of White Gaussian Noise with Varying Signal to Noise Ratio in Speech Signal using Wavelet

ECE 5765 Modern Communication Fall 2005, UMD Experiment 10: PRBS Messages, Eye Patterns & Noise Simulation using PRBS

2. AN INTROSPECTION OF THE MORPHING PROCESS

White Paper : Achieving synthetic slow-motion in UHDTV. InSync Technology Ltd, UK

InSync White Paper : Achieving optimal conversions in UHDTV workflows April 2015

NAPIER. University School of Engineering. Advanced Communication Systems Module: SE Television Broadcast Signal.

ECE438 - Laboratory 4: Sampling and Reconstruction of Continuous-Time Signals

Chapter 10 Basic Video Compression Techniques

Reduced complexity MPEG2 video post-processing for HD display

Precise Digital Integration of Fast Analogue Signals using a 12-bit Oscilloscope

Experiment 13 Sampling and reconstruction

decodes it along with the normal intensity signal, to determine how to modulate the three colour beams.

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

CHAPTER 3 SEPARATION OF CONDUCTED EMI

Rec. ITU-R BT RECOMMENDATION ITU-R BT PARAMETER VALUES FOR THE HDTV STANDARDS FOR PRODUCTION AND INTERNATIONAL PROGRAMME EXCHANGE

Signal processing in the Philips 'VLP' system

Clock Jitter Cancelation in Coherent Data Converter Testing

Interface Practices Subcommittee SCTE STANDARD SCTE Measurement Procedure for Noise Power Ratio

TERMINOLOGY INDEX. DME Down Stream Keyer (DSK) Drop Shadow. A/B Roll Edit Animation Effects Anti-Alias Auto Transition

Linear Time Invariant (LTI) Systems

(a) (b) Figure 1.1: Screen photographs illustrating the specic form of noise sometimes encountered on television. The left hand image (a) shows the no

White Paper. Uniform Luminance Technology. What s inside? What is non-uniformity and noise in LCDs? Why is it a problem? How is it solved?

How to Obtain a Good Stereo Sound Stage in Cars

The Lecture Contains: Frequency Response of the Human Visual System: Temporal Vision: Consequences of persistence of vision: Objectives_template

REPORT DOCUMENTATION PAGE

Area-Efficient Decimation Filter with 50/60 Hz Power-Line Noise Suppression for ΔΣ A/D Converters

Techniques for Extending Real-Time Oscilloscope Bandwidth

PCM ENCODING PREPARATION... 2 PCM the PCM ENCODER module... 4

Understanding PQR, DMOS, and PSNR Measurements

N T I. Introduction. II. Proposed Adaptive CTI Algorithm. III. Experimental Results. IV. Conclusion. Seo Jeong-Hoon

Interpolated DDS Technique in SDG2000X October 24, 2017 Preface

4. ANALOG TV SIGNALS MEASUREMENT

SERIAL HIGH DENSITY DIGITAL RECORDING USING AN ANALOG MAGNETIC TAPE RECORDER/REPRODUCER

Research Article. ISSN (Print) *Corresponding author Shireen Fathima

Full Disclosure Monitoring

Measurement of overtone frequencies of a toy piano and perception of its pitch

The Engineer s Guide to

RECOMMENDATION ITU-R BT.1201 * Extremely high resolution imagery

DAT335 Music Perception and Cognition Cogswell Polytechnical College Spring Week 6 Class Notes

Experiment 4: Eye Patterns

TERRESTRIAL broadcasting of digital television (DTV)

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

Spectrum Analyser Basics

AN ARTISTIC TECHNIQUE FOR AUDIO-TO-VIDEO TRANSLATION ON A MUSIC PERCEPTION STUDY

A Novel Approach towards Video Compression for Mobile Internet using Transform Domain Technique

Overview of All Pixel Circuits for Active Matrix Organic Light Emitting Diode (AMOLED)

Module 1: Digital Video Signal Processing Lecture 5: Color coordinates and chromonance subsampling. The Lecture Contains:

The Development of a Synthetic Colour Test Image for Subjective and Objective Quality Assessment of Digital Codecs

AUDIOVISUAL COMMUNICATION

A review on the design and improvement techniques of comb filters

Progressive Image Sample Structure Analog and Digital Representation and Analog Interface

Colorimetric and Resolution requirements of cameras

Time smear at unexpected places in the audio chain and the relation to the audibility of high-resolution recording improvements

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

Improving Color Text Sharpness in Images with Reduced Chromatic Bandwidth

EBU INTERFACES FOR 625 LINE DIGITAL VIDEO SIGNALS AT THE 4:2:2 LEVEL OF CCIR RECOMMENDATION 601 CONTENTS

BER MEASUREMENT IN THE NOISY CHANNEL

LCD Motion Blur Reduced Using Subgradient Projection Algorithm

Multimedia. Course Code (Fall 2017) Fundamental Concepts in Video

The Cocktail Party Effect. Binaural Masking. The Precedence Effect. Music 175: Time and Space

System Identification

Video Processing Applications Image and Video Processing Dr. Anil Kokaram

Multimedia Systems Video I (Basics of Analog and Digital Video) Mahdi Amiri April 2011 Sharif University of Technology

Dithering in Analog-to-digital Conversion

Supplementary Course Notes: Continuous vs. Discrete (Analog vs. Digital) Representation of Information

Fourier Transforms 1D

DVM-3000 Series 12 Bit DIGITAL VIDEO, AUDIO and 8 CHANNEL BI-DIRECTIONAL DATA FIBER OPTIC MULTIPLEXER for SURVEILLANCE and TRANSPORTATION

APPLICATIONS OF DIGITAL IMAGE ENHANCEMENT TECHNIQUES FOR IMPROVED

By David Acker, Broadcast Pix Hardware Engineering Vice President, and SMPTE Fellow Bob Lamm, Broadcast Pix Product Specialist

Using enhancement data to deinterlace 1080i HDTV

Digital Representation

Chapter 3 Fundamental Concepts in Video. 3.1 Types of Video Signals 3.2 Analog Video 3.3 Digital Video

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

Contents. xv xxi xxiii xxiv. 1 Introduction 1 References 4

Skip Length and Inter-Starvation Distance as a Combined Metric to Assess the Quality of Transmitted Video

Course Web site:

Rounding Considerations SDTV-HDTV YCbCr Transforms 4:4:4 to 4:2:2 YCbCr Conversion

EUROPEAN pr ETS TELECOMMUNICATION September 1996 STANDARD

Removing the Pattern Noise from all STIS Side-2 CCD data

Transcription:

BBC RD 1995/12 Research and Development Report ARCHIVAL RETRIEVAL: Techniques for image enhancement J.C.W. Newell, B.A., D.Phil. Research and Development Department Technical Resources THE BRITISH BROADCASTING CORPORATION

BBC RD 1995/12 ISSN 1361-2379 ARCHIVAL RETRIEVAL: Techniques for image enhancement J.C.W. Newell, B.A., D.Phil. Summary This report describes image processing techniques which could be used to improve the perceived resolution of archive video recordings. It has been found that the benefits obtained using linear methods are limited. However, a non-linear method is described which can be used to sharpen edges. The technique has been used successfully to enhance images with a significantly smaller visible increase in ringing and noise than for a comparable linear method. It has been developed as a tool for archival retrieval in conjunction with other techniques such as noise reduction, unsteadiness correction, and advanced PAL decoding. Issued under the Authority of Research & Development Department Technical Resources BRITISH BROADCASTING CORPORATION General Manager Research & Development Department (R018) 1995

British Broadcasting Corporation No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior permission. (R018)

ARCHIVAL RETRIEVAL: Techniques for image enhancement J.C.W. Newell, B.A., D.Phil. 1. INTRODUCTION.................................................. 1 2. LINEAR ENHANCEMENT METHODS................................. 1 3. ALTERNATIVE APPROACHES...................................... 2 4. NON-LINEAR METHODS........................................... 2 5. REQUIREMENTS FOR AN EDGE-SHARPENING PROCESS............... 3 6. A NON-LINEAR EDGE-SHARPENING PROCESS....................... 3 7. FREQUENCY-DEPENDENT PROPERTIES............................. 4 8. APPLICATION TO SAMPLED SIGNALS............................... 4 9. PROPERTIES OF THE NON-LINEAR PROCESS........................ 5 9.1. Degraded pulse and bar signals........................................ 5 9.2. Horizontal and vertical edges.......................................... 6 9.3. Sinewave zoneplate.................................................. 7 9.4. Degraded test pictures................................................ 7 9.5. Archive sequences................................................... 8 10. DISCUSSION..................................................... 8 11. OTHER APPLICATIONS............................................ 8 12. FURTHER DEVELOPMENTS........................................ 9 13. CONCLUSIONS................................................... 9 14. REFERENCES.................................................... 9 APPENDIX I......................................................... 11 (R018)

ARCHIVAL RETRIEVAL: Techniques for image enhancement J.C.W. Newell, B.A., D.Phil. 1. INTRODUCTION The BBC has a large archive of video tapes that are conventional-pal coded and have a 4:3 aspect ratio. Some of these recordings have serious impairments and others have impairments which would become more apparent to the viewer if they were broadcast in an enhanced definition format. To convert material from the archive to an EDTV format will require PAL decoding and a change in aspect ratio. After this processing, the pictures may suffer from cross effects and will appear to lack resolution; but there are other impairments such as noise, ringing, moiré patterning, head banding, and drop-outs. These flaws would be highly visible on large widescreen sets and the pictures not likely to compare favourably with any new material which would be broadcast. A study has been undertaken into the use of advanced image processing techniques for the restoration and enhancement of archive recordings. The aim of this was to determine whether any of the advanced digital image processing techniques which have been developed for scientific and security applications could be used to improve the perceived resolution of archive material or remove some of the impairments. It is important that any processing technique can be applied economically and is not dependent on the frequent intervention of a skilled operator. The unnatural appearance of soft or blurred edges is the most noticeable feature of low resolution images. Although texture and fine detail may be poorly reproduced this is less noticeable. The blurred edges around coarser detail however are quite apparent and may be disturbing to an observer, since they suggest that the eye is focused incorrectly. In this Report, it is proposed that the appearance of a low resolution image can be enhanced by sharpening edges, even if the reproduction of texture and short impulses is not greatly improved. It is obvious that this technique should not be taken too far; an observer has a knowledge of the real world and would be disturbed if the resolution implied by the edge sharpness conflicts with the resolution implied by the lack of texture. There is no benefit to be gained from sharpening edges beyond the capabilities of the display system. However, it is likely in the future that the resolution of much of the material within BBC archives will be below the capabilities of newly-available delivery, storage and display systems. 2. LINEAR ENHANCEMENT METHODS An ideal video system has a frequency response which is uniform up to a band-limit where there is a reasonably sharp cut-off. Aperture correction, using linear filters, should be used to adjust the response of components of the video system (mainly the camera and display responses) to achieve a uniform response. However, the capture, processing, recording and replay of video images may not lead to an ideal response. Aperture correction is an example of inverse filtering 1 which, in principle, should be able to correct any departure from an ideal response. However, in practice, the effectiveness of inverse filtering is limited by the presence of noise which may be greatly increased by the use of an inverse filter. Inverse filtering requires a knowledge of the impulse response (in the spatial domain) or the transfer function (in the frequency domain). It is difficult to deduce the overall transfer function for archive material because the characteristics of the different processes which have been applied are not known. However, an estimate can be obtained from an image by analysing isolated edge features. 1 Ideally, camera test patterns would be used but, because these are not normally present in archive material, clean edges have to be identified by a viewer who makes assumptions about the image. To minimize the effects of noise, several edges can be averaged. Once the profile of a sharp edge has been found, the horizontal impulse response can be found by differentiation. The transfer function, in the frequency domain, can then be found by taking the Fourier transform of the impulse response. This process can be extended to two dimensions if required. The inverse filter required to restore the image can be found by inverting the transfer function and then taking the inverse Fourier transform. However, if this filter is applied directly to an image the resultant transfer function has a sharp cut-off at half sampling frequency which will produce severe ringing on edges. To avoid this, a weighting function, such as the Hanning window, can be applied to the inverse transfer function before taking the inverse Fourier transform, (R018)

but this will inevitably reduce the improvement in resolution which has been achieved. This technique was applied to some sequences obtained from archive C-format recordings. Graphics on large advertising signs were used to obtain the horizontal impulse response, since it can be reasonably assumed that these are sharp edges on a uniform background. A stationary black to white transition was chosen to avoid the effects of camera lag and PAL cross-effects. It was difficult to evaluate the impulse response accurately because it was impossible to avoid the effects of adjacent detail and texture in the uniform background. However, the approximate form of the transfer function was found and an inverse filter with a high-pass characteristic was produced. But it was found that very little enhancement could be achieved when this filter was applied to the original images and that any improvement was accompanied by increased noise and PAL cross-effects. To reduce the noise problem, a thresholding or coring process was applied to the high frequency information before it was added to the source picture; but although this was effective, it was still difficult to obtain any worthwhile improvement in the perceived sharpness. The question arises as to why a technique which is so popular in the field of image enhancement is of such limited use for enhancing video images. The answer is that, in applications where inverse filtering is effective (e.g. defocussed images, motion blur), there is a slow roll-off in the high frequency information. The signalto-noise ratio is adequate for a reasonably wide frequency range above the nominal bandwidth. Video signals, however, have a sharp roll-off at the nominal bandwidth, above which the signal-to-noise ratio falls rapidly with increasing frequency. The range of spatial frequencies over which inverse filtering can be effective and before noise dominates, is therefore small. More advanced linear techniques, such as Wiener deconvolution or Maximum Entropy methods, are not likely to be effective for similar reasons. 3. ALTERNATIVE APPROACHES In general, linear methods which sharpen edges will make ringing worse. If the band-limit is low and edges look soft, there is a temptation to apply too much aperture correction, which will lead to an increase in overshoots and ringing. It is very common to find that aperture correction has been overdone, where it results in the familiar banding or outlining around objects which looks unpleasant. 2 Some overshoot on edges can enhance the appearance of an image, if the period is sufficiently short. However, continued ringing beyond the first overshoot is undesirable. Edges can be sharpened without increased ringing by adding a detail signal.3 A refinement of this technique is to modify the form of the detail signal so that it also cancels ringing if already present. 4 A simple technique of this kind was tried on some archive sequences, enhancing only vertical edges in the luminance component. Edges were detected by differentiation, the position being defined by the location of the point of inflection, which occurs at the midpoint of a transition. The shape of the detail signal had to be adjusted to match the period, phase, and decay characteristics of the ringing; but it was difficult to achieve a good match, because the profile of different edges in the same picture varied con-siderably, due to PAL cross-effects and other factors. Some problems also arose on diagonal lines, due to errors in determining the position of the edge, which led to distortion. There were also odd effects on thin lines, due to the fact that the profile of edges is modified if the distance between them is less than the width of the impulse response. 4. NON-LINEAR METHODS Due to the inadequacy of the methods which have been described, a new approach was considered. To sharpen edges in a bandwidth limited system it is necessary to add frequency components that are above the band-limit of the system. This suggests that a non-linear approach is necessary, as it is impossible to generate these frequency components using a linear approach. There is another possible benefit to be obtained from the use of non-linear filters: they can be made less susceptible to noise by restricting their effect to areas where the sharpening is needed. In this case, there may be a significant increase in edge noise, but the plain regions of a picture would suffer only a small increase in noise. The design of non-linear filters can be difficult because the complexity rises rapidly with the order of the non-linearity. It is also difficult to characterise a non-linear filter for the following reasons: (i) (ii) A sinusoidal input signal will not, in general, result in a sinusoidal output: the output may contain frequency components which are at multiples of the input frequency. The characterisitics of the output signal may change with the amplitude of the input signal. (iii) The principle of superposition no longer applies and the response to one signal is affected by the presence of another. (R018) - 2 -

As a result, the analysis in the frequency domain, which forms the basis of linear filter design, is inappropriate in the design of non-linear filters. For this reason, the required properties of an edge-sharpening filter are defined here in the spatial domain. 5. REQUIREMENTS FOR AN EDGE-SHARPENING PROCESS amplitude In a band-limited imaging system, an edge has a limited gradient and rise-time. If an image feature is found with a gradient at this limit, it could be justifiably assumed that it is an edge. It could also be assumed that the edge should be sharper, and thus warrant a correction signal. The correction should be subject to several constraints: (i) It must have the same effect on rising edges as on falling edges. x position original edge desired edge (a) (ii) The correction must give an effect which is independent of the position of the edge. (iii) It must not cause any shift in the apparent position of the edge. amplitude (iv) The correction must be independent of the sit of the picture. (v) It must scale linearly with the height of the edge. The effect of the third constraint is that the correction signal must be zero at the midpoint of the rise-time of the edge. Non-linear filters can easily break the last two of the constraints but it is possible to ensure that they are obeyed by adopting an approach based on the gradient of the signal. x position ideal correction signal calculated correction signal (b) Clearly, there will be image features which are shaped like edges but have a gradient which is lower than would be expected of a sharp edge in a bandwidthlimited system. In this case, the correction signal should have a negligible effect; again, suggesting that it should be related to the local gradient. amplitude 6. A NON-LINEAR EDGE-SHARPENING PROCESS Ignoring ringing for the present, an edge can be represented by the function: x position processed edge original edge Y (x) =x sin(2πx) 2π 0 x 1 (c) Fig. 1 - Non-linear edge-sharpening process. (R018) - 3 -

as shown by the solid line in Fig. 1(a), which is close to the shape used in a pulse and bar test signal. It may be desired to transform this into a sharper edge (dotted line) which has the same shape but half the rise-time. The correction signal that would achieve this is shown by the solid line in Fig. 1(b) and is simply the difference between the two edges. An edge-sharpening process would need to generate a correction signal of a similar shape which obeyed the constraints that have been specified. A number of non-linear functions were considered to see if they had the required properties. Given that the gradient is an important factor, it would be expected that the first derivative would be significant. However, the second derivative has one of the required properties: it is zero at the midpoint of an edge. It was found that an appropriate correction signal could be obtained by taking the product of the first and second derivatives of the input signal. However, to ensure that the correction scales in the required way with the height of the edge, it is necessary to take the square-root of the product. This gives the correction signal shown by the dotted line in Fig. 1(b). If this is added to the original edge, the sharpened edge shown in Fig. 1(c) is obtained, with the original edge shown by the dotted line for comparison. Higher-order products of the first and second derivatives could be used to modify the shape of the correction signal if desired, at the expense of greater complexity. The modulus of the product must be taken to prevent problems with the square-root function. To give the correct effect for rising and falling edges, it is necessary to give the correction signal the same sign, or polarity s, as the second derivative. The complete sharpening operation is therefore given by the expression: Y out = Y + s. k. ½ dy. d2 Y dx dx 2 where s = sgn d 2 Y dx 2 where Y is the input signal, Y out is the output signal, x is the position, and k is the sharpening parameter (an adjustable constant that controls the degree of sharpening that is obtained). This function has the properties needed for edge-sharpening and satisfies all the specified constraints. 7. FREQUENCY-DEPENDENT PROPERTIES Although the frequency domain is inappropriate to the design of non-linear filters it is interesting to examine the behaviour of the new process as a function of frequency. If the input signal is assumed to be a continuous sinewave, then the output of the non-linear process can be shown to be an odd periodic function of x, which can be expanded as a Fourier sine series. The output is therefore the summation of an infinite series of odd harmonics. The amplitude of the harmonics can be shown to rise linearly with the amplitude of the input signal, but also rise with the frequency of the input signal to the power of 3 / 2. The action of the process on a sinewave is similar to symmetrical clipping in a limiter circuit. However, in this case, the shape of the output waveform does not vary with signal amplitude or DC level but does vary with the input frequency. At low spatial frequencies, the process has no effect on a sinewave input signal. However, as frequency rises, a sinewave is distorted in such a way that the transitions become steeper and the peaks become flatter. 8. APPLICATION TO SAMPLED SIGNALS To be of practical use, the new process must be applied to sampled signals. The gradient at any position in a sampled system can be obtained accurately using the linear filter shown in Appendix I. The implementation of the non-linear process is therefore very simple; it involves taking the product of two linear filtering operations and then the square-root function. For any significant benefit to be obtained, the sampling frequency, and the display system, must be capable of representing at least some of the additional information that is generated above the cut-off frequency of the original signal. There is also the danger that aliaising may occur if the sampling rate at which the non-linear process is implemented is insufficient. At the point where the multiplication takes place, a series of harmonics are generated. Any harmonic above half the sampling rate will generate an alias frequency. It was found that the only significant aliases are those generated by the third harmonic; so the process must be undertaken at an adequate sampling frequency to support the third harmonic of any frequency component in the input signal. If required, down-conversion is then possible without the risk of aliasing. The non-linear process can also generate inter-modulation harmonics but these have not been seen to cause any visible effects. (R018) - 4 -

dy dx dy dy dy dx dy dy A software simulation of the non-linear process has been written for investigating the effect of the process on real pictures. This implements the process on the luminance signal in the horizontal and vertical directions, with a separate adjustable sharpening parameter for the two axes. 9. PROPERTIES OF THE NON-LINEAR PROCESS optional linear filter Fig. 2 - Functional diagram of 2-D non-linear edge sharpening process, with an optional linear filter. The series of harmonics generated by the non-linear process includes the fundamental. As with the other harmonics, the amplitude of the fundamental rises with frequency to the power of 3 / 2. When added to the input signal this gives the effect of high-frequency pre-emphasis which can lead to an increase in noise and ringing. If necessary however, this undesirable gain can be removed using a linear filter,* as shown in Fig. 2; a functional diagram of a complete twodimensional edge-sharpening process. The process consists of two non-linear paths, which generate the horizontal and vertical sharpening signals, and a linear path which can have the optional filter to correct the amplitude of the fundamental component. For clarity, it is not shown that the modulus is taken before the square-root function or that the sign of the second derivative is applied afterwards. 9.1 Degraded pulse and bar signals The effect of the non-linear process was explored using a number of test signals. In Fig. 3, the input signal (dotted line) is a pulse and bar signal which has been degraded by filtering with a Gaussian low-pass filter. Note that this has reduced the height of the 2T pulse by 50%. The output signal from the non-linear process is shown by the solid line. It can be seen that the edge of the bar has been sharpened without the introduction of ringing or any lateral displacement. The edges of the pulse have also been sharpened and the width of the base of the pulse has been reduced but the height has not been restored. In Fig. 4, the input signal (dotted line) is a pulse and bar signal which has been degraded with a sharp cut low-pass filter. The output signal from the non-linear process is shown by the solid line. The sharpening effect is similar to that seen in Fig. 3, except that there is now also the effect on the ringing to consider. There is no increase in the amplitude or duration of the ringing but the profile has been modified. amplitude amplitude x position Gaussian L.P. filtered 2T - pulse and bar non-linear processed 2T - pulse and bar Fig. 3 - Pulse and bar signal degraded with Gaussian low-pass filter. x position pulse and bar signal degraded by a sharp-cut L.P. filter pulse and bar signal from a non-linear process Fig. 4 - Pulse and bar signal degraded with sharp-cut low-pass filter. * The linear filter should have a frequency response given by 1 (f / f0) 3/2 where the value of the constant f0 is determined by the value chosen for the sharpening parameter, k. (R018) - 5 -

amplitude x position input signal processed signal Fig. 5 - Pulse and bar signal degraded with sharp-cut low-pass filter. Before and after linear aperture correction. (a) - Unprocessed. The effect of conventional aperture correction is shown for comparison in Fig. 5, where a filter with a gain of 6 db at 5.5 MHz has been applied. Some degree of edge-sharpening, has been obtained, but the amplitude and duration of the ringing has increased considerably. 9.2 Horizontal and vertical edges Fig. 6(a) shows horizontal and vertical edges which are typical for a bandwidth-limited video signal.* When the non-linear process is applied, the sharpness of the edges can be increased considerably (as shown in Fig. 6(b)). However, there is a small increase in the visibility of the ringing; it has been sharpened because its profile has been modified (as seen in Fig. 4). It will be seen later that this feature of the process improves the visibility of low amplitude detail in a similar way. The process is, however, unable to distinguish ringing from detail, and works best on images where a limited amount of ringing is present. The effect of conventional aperture correction is shown for comparison in Fig. 6(c), where a filter with a gain of 6 db at 5.5 MHz has been applied. Again, some degree of edgesharpening has been obtained, but the amplitude and duration of the ringing has increased considerably. Gaussian noise was added to this test image to give a SNR of 40 db (Fig. 7(a)) and the non-linear process was then repeated (Fig. 7(b)). It can be seen that the visibility of the noise has increased slightly in plain areas, with some evidence of edge noise on the sharpened edges. In comparison, the use of the conventional aperture correction filter has resulted in a large increase in noise over the whole area of the picture (Fig. 7(c)). (b) - After non-linear processing. (c) - After conventional aperture correction. Fig. 6 - Horizontal and vertical edge test picture. * To demonstrate the differences in edge sharpness clearly, all the images in this section have been magnified by a factor of five using upconversion. (R018) - 6 -

(a) - Unprocessed. (a) - Unprocessed. (b) - After non-linear process. (b) - After non-linear process. Fig. 8 - Kiel Harbour test picture degraded with a Gaussian low pass filter. (c) - After conventional aperture correction. Fig. 7 - Horizontal and vertical edge test picture with noise. 9.3 Sinewave zoneplate The horizontal and vertical sharpening parameters were adjusted to give equal levels of sharpening in the horizontal and vertical directions. The sharpening effect then appears to be uniform around the rings of the zone plate, which suggests that the implementation of the process as two parallel one-dimensional processes appears to be acceptable. As stated earlier, no effect is expected or could be seen at low spatial frequencies. As spatial frequency rises, the sharpening effect can be seen as an increase in contrast and sharpness. If the spatial frequency is allowed to rise further the sharpening effect is limited when the third harmonic exceeds the bandwidth of the display system. 9.4 Degraded test pictures The luminance component of a sharp-source picture ( Kiel Harbour ) was degraded using a Gaussian low-pass filter having a 6 db loss at 3.4 MHz, applied horizontally; then an equivalent degradation was applied vertically. This made it very obviously blurred (as shown in Fig. 8(a)). When the non-linear process was applied, the subjective sharpness of the image was (R018) - 7 -

improved considerably, as can be seen in Fig. 8(b). When the processed image was compared to the original source picture, it was clear that some detail had not been restored but the subjective sharpness was still much better than the degraded image. When the processed picture was expanded by upconversion and examined closely, it could be seen that the processed picture had an artificial appearance. The effect was not unlike painting by numbers, in that the picture consisted of smooth objects bordered by sharp edges. This illustrates the limitations of the non-linear process and the effect will always become apparent if too much sharpening is applied. Surprisingly, some areas of texture appeared sharper, such as the surface of the sea. This is thought to be due to a similar effect to that seen with the ringing in Section 9.1. Low amplitude detail involves small gradients and therefore is not readily perceived. The human eye does not appear to be very sensitive to small amplitude changes when the gradient of the transition is small. By increasing the gradient, without increasing the peak amplitude, some detail and texture appears to become more visible. A second degraded image was produced by filtering the source picture with a low-pass filter having a sharp cut at 3.4 MHz. In this case, the non-linear process led to a sharpening effect but the unpleasant effects (caused by the severe ringing in the picture) were not improved. It would obviously be very useful to have a non-linear process that can generate the additional information above the pass-band, required to suppress the ringing on edges. 9.5 Archive sequences A test sequence obtained from a C-format recording (called Wimbledon Scoreboard ) was used to investigate the effect of the non-linear process on archive material. In contrast to the Kiel Harbour test image, this sequence was originally PAL-encoded and was decoded using a line-based Weston PAL decoder. It has some PAL and VTR artifacts and a significant amount of noise. It was possible to achieve a reasonable increase in sharpness using the non-linear process, but there was also an increase in the visibility of the noise. This increase in noise almost certainly outweighed the benefits of the additional sharpness. As the sequence had only small localized areas of movement, a simple method of noise reduction was adopted. A temporal average was taken of four successive frames which led to a considerable reduction in the noise in stationary areas. The non-linear process was then repeated. The sharpness could now be improved, especially in the graphics and symbols in the picture, without any problems due to noise. This shows that edge enhancement must be combined with noise reduction to achieve a useful effect on archive material. 10. DISCUSSION The non-linear process that has been described has been shown to be an effective edge-sharpening method having some useful properties: (i) (ii) The increase in noise is considerably less than that associated with conventional aperture correction or linear restoration methods. A large degree of sharpening can be applied to edges without increased ringing or the outlining often seen when aperture correctors are heavily applied. However, the process does lead to a change in the character of the noise and works best when only a limited amount of ringing and noise is present. As discussed in Section 2 an overshoot on edges is sometimes desirable. An overshoot can be generated by the non-linear process by increasing the value of the sharpening parameter. The overshoot is short in duration and ends within the rise-time of the original signal. This is impossible to achieve with any linear method. There is no undershoot or continued ringing after the overshoot, both of which would be undesirable. The process could be described as a system where the ability to resolve periodic signals can be decoupled from the impulse response and the edge profile, something which is impossible in a linear system. It has not been possible to find published details of any similar process. A technique with some similarity is an analogue circuit often used in VHS recorders to sharpen vertical edges.5 In this technique a linear high-pass filter is used followed by a non-linear noise reduction circuit which uses coring to reduce noise and clipping to reduce overshoot. This type of circuit can sometimes create odd effects on edges and is no simpler to implement digitally than the proposed technique. 11. OTHER APPLICATIONS There are several other possible applications for the non-linear edge-sharpening process where it may have advantages over linear methods. The use of linear filters to restore the effects of camera integration and (R018) - 8 -

camera-lag is restricted by the effects of noise and ringing. An alternative approach would be to use the non-linear process to enhance the blurred areas of the picture by sharpening the remaining edges. This would mean that, although camera integration would lead to a loss of texture in moving areas, the edge sharpness would be restored. Very simple methods of noise reduction are sometimes used in video systems, such as coring. However, there are a number of problems associated with coring and strange effects can sometimes occur. An alternative approach would be to filter the signal to reduce noise using a slow roll-off low-pass filter and then reconstruct the edges using the non-linear process. The aim of the non-linear process is, in effect, to estimate what information above the original passband of the input signal has been lost. In images which are rich in edge features it does this reasonably well. In images which are rich in strong random textures it will obviously fail. If it is possible to predict some of the high frequency information in a signal from its low frequency components then it may be possible to reduce the energy in the high frequency spectrum by subtracting the predicted information. This may then make it easier to apply a digital coding scheme. It would be possible to replace the missing information at a later stage as it can again be predicted from the low frequency spectrum. Future multi-media systems will give the user facilities to manipulate images and sequences. This is likely to include an ability to zoom in or cut out and expand features of interest. When large magnification factors are used the image will appear blurred, due to the limited resolution of the original image. One possible application for the non-linear process is to improve the edge sharpness of these images. 12. FURTHER DEVELOPMENTS The non-linear process described in this Report restores edge sharpness but does nothing to correct the height and width of short impulses. As the pulse-width is reduced at the input to a band-limited system, the output pulse-width limits at the width of the impulse response and the pulse height falls. If a non-linear filter could be developed which restored the pulse height and pulse width, without introducing ringing, it would improve the reproduction of fine detail, such as fine lines and texture. However, this would greatly increase the susceptibility of the enhancement process to noise. Video signals generally have a uniform frequency response up to the nominal bandwidth, at which point there is a sharp cut-off. This inevitably leads to ringing which cannot be removed without the loss of detail, unless information is added beyond the cut-off frequency. It may be possible to devise a non-linear process that will extrapolate this high frequency information by inference from the information that is present. All restoration and enhancement methods are susceptible to noise. A coring technique could be applied to the detail signal in the non-linear path of the current process but, inevitably, some detail would be lost, and the problems associated with coring would be introduced. A correlated detail approach could be adopted which would selectively enhance only extended features, such as lines and edges, but suppress the enhancement of impulsive or random features (including noise). However, the only fully satisfactory solution is to develop more advanced noise reduction techniques using temporal filtering with motion compensation. 13. CONCLUSIONS It has been found that linear methods for image enhancement give disappointing results when applied to archive video recordings, with little improvement in perceived resolution and additional problems of increased noise, ringing and PAL cross-effects. A simple but effective non-linear edge-sharpening technique has been described which is able to generate information beyond the passband of the original signal by extrapolation. The technique results in a significantly smaller increase in noise and ringing than comparable linear methods; also, it can be used to enhance any material where the resolution is lower than that of the display system. Several ways in which the technique could be improved have been suggested which may be feasible using non-linear filters. However, it is apparent that noise reduction is an important requirement for the enhancement of archive material and that edgesharpening methods are of limited use in isolation. 14. REFERENCES 1. ANDREWS, H.C. and HUNT B.R., 1977. Digital image restoration, Prentice-Hall. 2. BLAIR, K., 1992. Television Engineering Handbook, 2nd Ed., McGraw-Hill, p. 13.136. 3. SCHRÖDER, H., 1992. Image processing for TVreceiver applications, IEE Conference Publication No. 354. (R018) - 9 -

4. LETTINGTON, A.H., and HONG, Q.H., 1994. Superresolution technique with edge-based ringing reduction for passive millimetre-wave images, IEE Proc. Vis. ISP, February, 141(1). 5. BEECHING, S., 1986. Developments in VCRs, Television, April, p. 370. (R018) - 10 -

APPENDIX I The Gradient of a Sampled Signal The value of a sampled signal at any position, x, can be expressed as a linear combination of adjacent sample values using the expression: Y(x) = i = Y i g (x x i ) where the coefficients are given by the linear interpolation function: g(x) = sin π f s x π f s x Differentiating this with respect to x gives the gradient at any position in terms of the adjacent sample values using coefficients given by the function: Y (x) = i = Y i g (x x i ) where g (x) = cos π f s x x sin π f s x π f s x 2 A linear filter with coefficients defined by this function can therefore be used to determine the gradient of a sampled signal. A practical filter with a finite number of coefficients can be obtained by using a window function, such as the Hanning window. The filter used to determine the gradient for the process described in this Report had the following coefficients: i c(i ) 7 0.004668 6 0.019484 5 0.048565 4 0.097952 3 0.180863 2 0.338725 1 0.819497 0 0.000000 1 0.819497 2 0.338725 3 0.180863 4 0.097952 5 0.048565 6 0.019484 7 0.004668 (R018) - 11 -

Published by BBC RESEARCH & DEVELOPMENT DEPARTMENT, Kingswood Warren, Tadworth, Surrey, KT20 6NP ISSN 1361-2379