Digital processing apparatus

Abstract: A digital processing apparatus (16; 22, 23, 24) for correcting a contour enhancement signal utilizes a variable-gain amplifier (25) to reduce peak levels of the signal without introducing additional noise components.

Description: This invention relates to digital signal processing apparatus, and is more particularly (but not exclusively) concerned with video signal processing apparatus for digitally enhancing the contours of a video signal. The invention is especially (but not exclusively) applicable to television cameras. In a color television (or video) camera, one or more camera pickup devices, such as a camera tube or a charge-coupled device (CCD), converts light from an image into three video signals. Typically, the three video signals are initially analog signals representing the red, green, and blue components, collectively "RGB," of the light that forms an image. In modern camera systems, each of the video signals is subjected to a variety of signal processing operations to compensate for inherent characteristics of the system and of the methodology for producing the video signal. For example, such signal processing may include dynamic color shading, knee processing, static color shading, and gamma correction. Certain video cameras incorporate a device for enhancing the contours of the image represented by the color video signals. Here the term "contour" is used to refer to the boundaries between colored areas in an image. Without contour enhancement, the image reproduced from a particular set of color video signals tends to have blurred contours. Often, such blurring is noticeable to a viewer and is perceived as poor image quality. To prevent such image deterioration, video signals are subjected to a contour enhancement process. Both analog and digital contour enhancement circuitry have been developed utilizing somewhat analogous signal processing techniques. In the digital contour enhancement circuit each of the three (red, green, blue) analog color signals is converted into a respective digital signal. The digital red, green, and blue signals are weighted, e.g. multiplied by a particular factor, and summed to produce a luminance signal. The luminance signal is subjected to certain delay amounts to produce a number of delayed signals. Lastly, a detail signal is generated by combining the luminance signal with the delay signals by means of addition and subtraction operations. The resulting detail signal varies in pulse form across the contours (edges) of the luminance signal. Unfortunately, the detail signal thus produced accentuates both distinct and blurred contours in the original image. Addition of this detail signal to the digital color signals enhances the blurred contours but overenhances the distinct contours resulting in image deterioration. To remedy this shortcoming, circuitry has been developed to clip the peak levels of the detail signal to a certain level to lessen the accentuation of already distinct contours. By adding the clipped detail signal to the digital color signals, the blurred contours of the image represented by the color signals, and to a lesser extent the already distinct contours of that image, are enhanced. The resulting image is perceived to display an overall improvement in resolution. Nonetheless, the clipping process still results in the overenhancement of distinct contours of the original image and tends to introduce other errors into the color signals. This overenhancement often appears as unnaturally wide contours in the reproduced image. Additionally, this phenomenon, compounded by the conversion of the digital signals to an analog form, may appear in the reproduced image as areas of substantial distortion caused by false signals and overshoot. The clipping process, being severely nonlinear, creates higher harmonics in the detail signal which are distributed within the bandwidth of the color signals upon digital-to-analog signal conversion. These higher harmonics can be perceived in the reproduced image as image deterioration. FERNSEH- UND KINO-TECHNIK, vol. 43, no. 8, June 1989, BERLIN DE, pages 417 - 426, XP000053812 VOGT: "Zweidimensionale digitale Aperturentzerrung fuer HDTV-Kameras" discloses a contour enhancement circuit in which amplification or attenuation of a correction signal is controlled by a coring circuit for which the thresholds are adjustable. In accordance with the invention, a digital processing apparatus for processing a digital video signal is provided which comprises image enhancement means for generating a contour signal from the digital video signal and adding the contour signal to the digital video signal thereby to output a digital video signal with the contour thereof enhanced, and a digital signal processing means for subjecting the digital video signal output from the image enhancement means to correction processing, wherein the image enhancement means includes a contour signal generator circuit for generating a detail signal by detecting the signal component of the contour of the video signal, a contour signal correction circuit for outputting the contour signal by correcting the signal level of the detail signal, and an adder circuit for adding the contour signal to the video signal, wherein the contour signal correction circuit is operable to detect the peak levels of the detail signal and to amplify the detail signal in accordance with the detected peak levels and in accordance with a pair of adjustable limit signals such that the positive and negative peak levels of the contour signal are both maintained in a range bounded by the limit signals and the amount of contour enhancement can be controlled by adjusting the limit signals. A preferred embodiment of the invention described hereinbelow provides: apparatus for producing a contour enhancement signal that enhances the contours of a video signal without overenhancing already fine contours; apparatus for producing a contour enhancement signal that enhances the contours of a video signal without introducing noise into the video signal which substantially affects the quality of the image represented by the video signal; the prevention or reduction of signal deterioration caused by contour enhancement which is characteristic of digital contour enhancement circuits utilizing a clipping circuit to limit the detail signal; and apparatus for producing a contour enhancement signal that is limited between two predetermined levels without overshoot. The invention will now be further described, by way of illustrative and nonlimiting example, with reference to the accompanying drawings, in which the same components are identified by the same reference numerals, and in which: Fig. 1 is a block diagram of a video camera incorporating a contour enhancement circuit according to an embodiment of the present invention; Fig. 2 is a block diagram of a contour enhancement circuit according to an embodiment of the present invention; Fig. 3 is a signal diagram to which reference will be made in describing the operation of the contour enhancement circuit of Fig. 2; Figs. 4A and 4B are signal diagrams to which reference will be made in describing the operation of the contour enhancement circuit of Fig. 2; Figs. 5A and 5B are signal diagrams to which reference will be made in describing the operation of the contour enhancement circuit of Fig. 2; and Figs. 6A and 6B are signal diagrams to which reference will be made in describing the operation of a contour enhancement circuit incorporating a clipping circuit. Fig. 1 illustrates a television camera system, indicated generally at 11, incorporating a contour enhancement circuit according to an embodiment of the present invention. Television camera system 11 is comprised of a lens system 12; image pickup devices 13R, 13G, and 13B; analog signal processors 14R, 14G, and 14B; analog-to-digital (A/D) converters 15R, 15G, and 15B; contour enhancement circuit 16; digital signal processors 17R, 17G, and 17B; encoder 18; digital-to-analog (D/A) converter 19, and lowpass filter 20. Preferably, the television camera system is contained in a single housing. Lens system 12 is a conventional device, such as a lens followed by a dichroic mirror array, for acquiring an image and splitting light from the image into its basic components. Preferably, light from an acquired image is divided into its constituent red light (RL), green light (GL), and blue light (BL) components. Each of the three colored lights is focussed upon a respective image pickup device 13R, 13G, and 13B. Preferably, the image pickup devices are solid-state charge-coupled devices (CCD). Each image pickup device generates an image signal representative of the light incident thereupon and supplies the image signal to a respective analog signal processor 14R, 14G, and 14B. The analog signal processors 14R, 14G, and 14B convert the image signals into color signals and apply correction processes, such as shading correction, to correct the signals. The corrected red color signal is supplied to A/D 15R, the corrected green color signal is supplied to A/D 15G, and the corrected blue color signal is supplied to A/D 15B. Each A/D converter converts a respective analog color signal into a corresponding digital color signal, one of DR, DG, and DB. All three color signals are supplied to contour enhancement circuit 16. Contour enhancement circuit 16 generates a detail signal representing the contours of the image represented by signals DR, DG, and DB. The detail signal is added to each of the digital color signals to enhance the contours represented by each. The contour enhanced signals DR1, DG1 and DB1, corresponding to signals DR, DG, and DB, respectively, are supplied to digital signal processors 17R, 17G, and 17B, respectively. A more detailed discussion of the preferred construction and operation of a contour enhancement circuit according to the present invention will be presented in connection with Fig. 2. Digital signal processors 17R, 17G, and 17B process the signals DR1, DG1, and DB1, respectively, to adjust and further correct these signals for transmission and/or display. Such adjustment and correction processes may include, for example, gamma correction and knee processing. The processed digital color signals are supplied to encoder 18. Encoder 18 weights and combines the processed digital color signals to produce a digital luminance signal and digital color difference signals which are converted into analog forms by D/A converter 19. The analog luminance and color difference signals are low-pass filtered by filter 20 to limit their bandwidths, and the filtered signals thus produced comprise an output video signal SV. Fig. 2 illustrates a preferred embodiment of the contour enhancement circuit 16 described briefly above. The contour enhancement circuit 16 is comprised of a detail signal generator 22; adders 23R, 23G, and 23B; and detail signal correction circuit 24. As described above, the contour enhancement circuit receives three digital color signals DR, DG, and DB, generates a detail signal DTL1, and adds the detail signal DTL1 to each digital color signal to produce contour enhanced signals DR1, DG1, and DB1, respectively. Specifically, detail signal generator 22 receives each digital color signal DR, DG, and DB; adder 23R receives signal DR, adder 23G receives signal DG, and adder 23B receives signal DB. The detail signal generator generates a luminance signal by weighting and combining the digital color signals DR, DG, and DB. The luminance signal is delayed in the horizontal direction by two predetermined amounts of time to obtain two horizontally delayed versions of the luminance signal. The original luminance signal is combined, preferably in a linear manner, with the two horizontally delayed versions of the luminance signal to produce a horizontal contour signal representing the horizontal contours of the luminance signal. The luminance signal is also delayed in the vertical direction by two predetermined amounts of time to obtain two vertically delayed versions of the luminance signal. The original luminance signal is combined, preferably in a linear manner, with the two vertically delayed versions of the luminance signal to produce a vertical contour signal representing the vertical contours of the luminance signal. The horizontal contour signal and the vertical contour signal are combined to produce detail signal DTL which is supplied to detail signal correction circuit 24. As will appreciated by one of ordinary skill, the present invention is not limited to any particular method of generating contour signals or a detail signal DTL since a variety of methods for generating such signals exist. Similarly, the following description of the correction of a luminance-based detail signal can be adapted to other types of detail signals or other correction signals and such adaptation clearly falls within the scope of the present invention. Accordingly, the luminance signal described herein is intended to facilitate clear explanation of the present invention and is not intended as a limit thereupon. Detail signal correction circuit 24 is comprised of interpolator 30, absolute value forming circuit 33, polarity detector 31, peak-hold circuit 34, decimator 35, limiting circuit 36, gain setting circuit 32, and amplifier 25. The detail signal correction circuit processes detail signal DTL to limit the positive and negative peak levels of the signal to specified values while minimizing the introduction of errors into the corrected signal. Detail signal DTL is supplied to interpolator 30 for interpolation, also referred to as "upsampling" or "upconverting." Preferably, interpolator 30 is comprised of a digital filter circuit which interpolates the sampling of detail signal DTL to produce a detail signal DTL INT with twice the sampling frequency of signal DTL. Detail signal DTL INT is supplied to absolute value forming circuit 33 which produces an absolute value signal representing the absolute value of detail signal DTL INT . The absolute value signal is supplied to peak-hold circuit 34 Polarity detector 31 also receives detail signal DTL and detects the polarity of the signal. The detected polarity is supplied to peak-hold circuit 34 and to limiting circuit 36 in the form of a polarity signal. Peak-hold circuit 34 tracks and holds the peak values of the absolute value signal to produce a peak signal. The peak values are held for a fixed interval which corresponds to a feature of signal DTL. Preferably, the time constant of peak-hold circuit 34 corresponds to the rising and falling time period of the signal level of detail signal DTL. In this manner, peak-hold circuit 34 functions as an envelope detector to smooth the absolute value signal. The envelope of the interpolated detail signal DTL INT is more easily and accurately detected than the original detail signal DTL because DTL INT has a higher sampling frequency. Without upsampling, the envelope detector is prone to erroneous detection caused by frequency beat components that can occur when the frequency of the input signal is near the frequency of an integral submultiple of the sampling frequency. Circuit 34 also receives the polarity signal and supplies both the peak signal and the corresponding polarity signal to decimator 35. Decimator 35, preferably comprised of a digital filter, interpolates and converts the peak signal to produce an interpolated peak signal L having the original sampling frequency of detail signal DTL. Signal L, the polarity signal, a predetermined positive limit signal Lp, and a predetermined negative limit signal Ln are supplied to limiting circuit 36. When signal L corresponds to a positive value of detail signal DTL, as indicated by the polarity signal, that does not exceed the value Lp, limiting circuit 36 outputs the Lp signal. Similarly, when signal L corresponds to a negative value of detail signal DTL, as indicated by the polarity signal, that does not exceed the value Ln, limiting circuit 36 outputs the Ln signal. Otherwise, circuit 36 outputs signal L. The signal output by circuit 36 and the polarity signal are supplied to gain setting circuit 32. If the polarity signal indicates that detail signal DTL is positive, then gain setting circuit 32 divides the quantity Lp by the value represented by the signal output from circuit 36 to produce a gain signal. If the polarity signal indicates that detail signal DTL is negative, then gain setting circuit 32 divides the quantity Ln by the value represented by the signal output from circuit 36 to produce the gain signal. The gain signal is supplied to amplifier 25 to set the gain of the amplifier. As illustrated in Fig. 3A, the gain G is set at unity for values of L between -Ln and Lp and at values of less than unity for values of L outside of this range. Outside the range, the gain generally decreases for increasingly positive or increasingly negative values of L. Optionally, the gain setting circuit 32 smoothly varies the gain for predetermined periods of time immediately prior to and immediately after peak values of detail signal DTL are reached. Such variation further insures that corrected detail signal DTL1 maintains a constant level during peak value periods of detail signal DTL and that signal DTL1 is not improperly distorted as compared to detail signal DTL. Amplifier 25 is a variable-gain amplifier for amplifying detail signal DTL according to the gain signal supplied by gain setting circuit 32 to produce a corrected detail signal DTL1. Preferably, amplifier 25 functions as a multiplying circuit to multiply detail signal DTL by the gain signal to produce signal DTL1. By varying the gain signal as described above, detail signal DTL is corrected such that the positive and negative peak levels of the resulting detail signal DTL1 do not exceed Lp and Ln, respectively. Optionally, amplifier 25 may additionally produce signal DTL1 as a smoothly varying signal. As another alternative, the gain signal may be lowpass filtered to produce a smooth detail correction signal. Fig. 3B illustrates the general relationship between detail signal DTL and corrected detail signal DTL1. As shown, detail signal DTL1 can be approximately defined as: DTL1 = -Ln for DTL <= -Ln; DTL1 = DTL for -Ln < DTL < Lp; and DTL1 = Lp for DTL >= Lp. Detail signal DTL1 is added to each of digital color signals DR, DG, and DB by adders 23R, 23G, and 23B, respectively, to produce, respectively, contour enhanced signals DR1, DG1, and DB1. By the foregoing means, the contours of the image represented by digital color signals DR, DG, and DB are enhanced. As compared to clipping, amplifier 25 corrects detail signal DTL according to a signal limiting process which causes relatively fewer higher harmonics to appear in the corrected detail signal DTL1. Correspondingly, the occurrence of false signals and overshoot in the corrected signal are effectively prevented and waveform distortion is reduced. Further, unnatural widening of the contour and deterioration of the image represented by the color signals are prevented. Additionally, the values of limit signals Lp and Ln can be manipulated to adjust the amount of contour enhancement which is produced to complement other processing of the color signals. For example, Lp and Ln can be adjusted so that the contour enhancement is not distorted by a gamma correction process. Specifically, if Lp is set to an amount appropriately greater than Ln, then balanced amounts of contour enhancement will remain in the color signals following gamma correction thereof. Tests of the contour enhancement circuit according to an embodiment of the present invention confirm its efficacy in preventing the unnatural widening of contours and the generation of false signals. The results of these tests are illustrated in Figs. 4A and 5A which depict the output signal SV of the camera system upon input of a luminance signal having a single 10%-to-90% pulse into the contour enhancement circuit. Fig. 4A illustrates the output signal SV produced when detail signal DTL is not corrected, that is, when the gain of amplifier 25 is set to unity. For such a case, Fig. 4B shows detail signal DTL1, having values that clearly exceed the range -Ln to Lp, that was generated and used to enhance the contours in output signal SV. In contrast, Fig. 5A illustrates the output signal SV produced when detail signal DTL is corrected in accordance with the above-described embodiment of the present invention and when Ln and Lp are set to the same value. As shown, output signal SV tracks the input signal closely. Fig. 5B shows the detail signal DTL1 that was generated and used to enhance the contours in output signal SV. This signal has the same general shape as the waveform of Fig. 4B but is limited to the range -Ln to Lp. For the purposes of comparison, a contour enhancement circuit incorporating a clipping circuit, supplied with a single 10%-to-90% luminance pulse input signal, produced the output signal of Fig. 6A. In Fig. 6A, it is clear that signal SV does not follow the input signal as quickly as did the output signal produced by the contour enhancement circuitry embodying the invention. Further, the clipping circuit produces a ringing effect bordering the edges of the output pulse which deteriorate the quality of the image represented thereby. The detail signal DTL2 produced by the clipping process is shown in Fig. 6B. Although clipping is performed at the clipping level CL, overshoot occurred, false signals were generated, and a widening of the resulting waveform was observed. Although illustrative embodiments of the present invention and modifications thereof have been described in detail herein, it is to be understood that this invention is not limited to these precise embodiments and modifications, and that other modifications and variations may be affected therein by one skilled in the art without departing from the scope of the invention as defined by the appended claims.

Claims: A digital processing apparatus for processing a digital video signal, the apparatus comprising: image enhancement means (16) for generating a contour signal (DTL 1) from the digital video signal and adding said contour signal (DTL 1) to said digital video signal thereby to output a digital video signal with the contour thereof enhanced; and a digital signal processing means (17R, 17G, 17B) for subjecting the digital video signal output from said image enhancement means (16) to correction processing; wherein said image enhancement means (16) includes a contour signal generator circuit (22) for generating a detail signal (DTL) by detecting the signal component of the contour of said video signal, a contour signal correction circuit (24) for outputting said contour signal (DTL 1) by correcting the signal level of said detail signal (DTL), and an adder circuit (23R, 23G, 23B) for adding said contour signal (DTL 1) to said video signal, wherein said contour signal correction circuit (24) is operable to detect the peak levels of said detail signal (DTL) and to amplify said detail signal (DTL) in accordance with the detected peak levels and in accordance with a pair of adjustable limit signals (Lp, Ln) such that the positive and negative peak levels of said contour signal (DTL 1) are both maintained in a range bounded by said limit signals (Lp, Ln) and the amount of contour enhancement can be controlled by adjusting said limit signals (Lp, Ln). Apparatus according to claim 1, wherein said contour signal correction circuit (24) includes an amplifier circuit (25) for amplifying said detail signal (DTL) thereby generating said contour signal (DTL 1), and a gain control circuit (31-36) varying the gain of said amplifier circuit (25) according to the detected peak levels and the limit signals (Lp, Ln). Apparatus according to claim 2, wherein said gain control circuit (31-36) includes a peak-hold circuit (34) for peak-holding said detail signal (DTL) for detecting the peak levels on the positive side and the negative side of said detail signal (DTL) thereby detecting the envelope thereof and holding the signal level of said detail signal for a predetermined period between points before and after said detail signal (DTL) reaches said peak level, and a correction circuit (32, 36) for setting specifying levels for use in specifying the gain of said amplifier circuit (25) separately for the positive and negative sides and varying the gain of said amplifying circuit (25) when said detail signal has a peak level greater than the specified level on the positive side or smaller than the specified level on the negative side. Apparatus according to claim 3, wherein said contour signal correction circuit (24) includes interpolator means (30) for generating an interpolated signal representing said detail signal (DTL) but having an increased sample frequency. Apparatus according to claim 4, wherein said contour signal correction circuit (24) further includes absolute value generating means (33) for generating an absolute value signal representing an absolute value of said interpolated signal, and polarity detection means (31) for detecting a polarity of said detail signal (DTL). Apparatus according to claim 5, wherein said contour signal correction circuit (24) further comprises decimator means (35) for generating a decimated signal representing said peak signal but having the increased sample frequency. A television camera system comprising: image pickup means (13R, 13G, 13B) for picking up an image of an object and outputting an analog video signal; an analog signal processor circuit (14R, 14G, 14B) for correcting the signal level of said analog video signal; an analog-to-digital converter circuit (15R, 15G, 15B) for converting said analog video signal subjected to the analog signal processing to a digital video signal; and a digital processing apparatus according to any one of the preceding claims.

Inventors: KIHARA TAKU, TANJI ICHIRO, KIHARA, TAKU, TANJI, ICHIRO, Kihara, Taku, c/o Int. Prop. Div., Sony Corp., Tanji, Ichiro, c/o Int. Prop. Div., Sony Corp.
Applicants: SONY CORP, SONY CORPORATION
Application year: 1995
Main classification: H04N9
IPC codes: H04N5, H04N9