High frequency components of a video signal are attenuated for avoiding aliasing when the video signal is corrected by a non-linear gamma correction circuit. Such high frequency components arise from the video signal harmonics, and also are generated in image contour processing of the video signal. The high frequency components are band limited, thereby linearizing the gamma correction circuit and preventing aliasing. Up-converting the sampling frequency increases a desired band limitation area and defers the generation of high frequency components that cause aliasing. The non-linear gamma correction function is divided into a plurality of sections which are replaced by respective straight-line segments each represented by a linear expression, and gamma correction is effected with a straight-line segment corresponding to the amplitude of the digital video signal.
|
9. A digital video signal processing method for modifying an amplitude level of said digital video signal according to a non-linear curve, said method comprising the steps of:
low pass filtering said digital video signal to produce a filtered digital video signal;
generating a multiplying coefficient and an adding coefficient from a respective linear expression of one of line segments of the non-linear curve, each of said line segments being expressed by dividing said non-linear curve into a plurality of sections and replacing each of said sections with a respective line segment which can be expressed as a linear expression to form a succession of line segments;
multiplying said amplitude level of said digital video signal by said multiplying coefficient; and
adding an output of said multiplying step and said adding coefficient,
wherein the filtered digital video signal that has a frequency higher than a predetermined frequency is attenuated in the low pass filter step to have an amplitude smaller than a deviation between two successive sampling points on the non-linear curve.
5. A digital video signal processing apparatus for modifying an amplitude level of said digital video signal according to a non-linear curve comprising:
a low pass filter to which said digital video signal is supplied to produce a filtered digital video signal;
a generator for generating a multiplying coefficient and an adding coefficient from a respective linear expression of one of line segments of the non-linear curve, each of said line segments being expressed by dividing said non-linear curve into a plurality of sections and replacing each of said sections with a respective line segment which can be expressed as a linear expression to form a succession of line segments;
a multiplier for multiplying said amplitude level of said digital video signal by said multiplying coefficient; and
an adder for adding an output of said multiplier and said adding coefficient,
wherein the filtered digital video signal that has a frequency higher than a predetermined frequency is attenuated in the low pass filter to have an amplitude smaller than a deviation between two successive sampling points on the non-linear curve.
1. A digital video signal processing apparatus for modifying an amplitude level of said digital video signal according to a non-linear curve comprising:
low pass filter means to which said digital video signal is supplied to produce a filtered digital video signal;
coefficient generating means for generating a multiplying coefficient and an adding coefficient from a respective linear expression of one of line segments of the non-linear curve, each of said line segments being expressed by dividing said non-linear curve into a plurality of sections and replacing each of said sections with a respective line segment which can be expressed as a linear expression to form a succession of line segments;
multiplying means for multiplying said amplitude level of said digital video signal by said multiplying coefficient; and
adding means for adding an output of said multiplying means and said adding coefficient,
wherein the filtered digital video signal that has a frequency higher than a predetermined frequency is attenuated in the low pass filter means to have an amplitude smaller than a deviation between two successive sampling points on the non-linear curve.
2. The digital video signal processing apparatus of
means for detecting an amplitude level of said filtered digital video signal;
means for selecting said one of the line segments corresponding to the detected amplitude level; and
means for outputting said multiplying coefficient and said adding coefficient of the linear expression of said one of said line segments.
3. The digital video signal processing apparatus of
4. The digital video signal processing apparatus of
6. The digital video signal processing apparatus of
a detector for detecting an amplitude level of said filtered digital video signal;
a selector for selecting said one of the line segments corresponding to the detected amplitude level; and
an output for outputting said multiplying coefficient and said adding coefficient of the linear expression of said one of said line segments.
7. The digital video signal processing apparatus of
8. The digital video signal processing apparatus of
10. The digital video signal processing method of
detecting an amplitude level of said filtered digital video signal;
selecting said one of the line segments corresponding to the detected amplitude level; and
outputting said multiplying coefficient and said adding coefficient of the linear expression of said one of said line segments.
11. The digital video signal processing method of
12. The digital video signal processing method of
|
This application is a continuation application of U.S. patent application Ser. No. 09/026,956, filed Feb. 20, 1998, now abandoned which is a divisional of application Ser. No. 08/690,557, filed Jul. 31, 1996, now U.S. Pat. No. 6,515,699, granted Feb. 4, 2003.
The present invention relates to video camera processing and, more particularly, to preventing aliasing in video camera signals.
A known digital video camera is shown in
The digital video camera of
The gamma correction circuit of 134 receives digital samples of the video signal at a sampling rate fs and converts each received digital sample into a value which best fits the gamma correction function shown in
The aliasing problem is graphically illustrated by
Harmonics also arise when image contour processing is applied to the video signal. For example, in the video camera of
The image contour processing also generates high frequency components which give rise to the aliasing problem. More specifically, when the gamma correction circuit 134 digitally samples the contour signals contained in the output of adder 130 and which contains high frequency components, aliasing occurs and the original contour signal cannot be reconstructed.
Although the problem of aliasing which arises from contour image processing would be avoided if the contour image signal is combined with the video signal after gamma correction, another problem arises because the gamma correction function serves to amplify the video signal. Therefore, if the contour image signal is combined with the video signal after gamma correction, the contour image signal is relatively small as compared with the amplified video signal. As a result, the contour of an image is not adequately represented in the displayed video picture. Thus, it is not a sufficient solution to combine the image contour signal with the gamma corrected video signal after gamma correction.
The problem of aliasing will be further explained with reference to
It will be noted from
Therefore, it is an object of the present invention to provide a video camera which avoids the undesirable effects of aliasing.
Another object of the present invention is to provide a video camera or the like which can avoid aliasing due to non-linear processing, especially gamma correction processing, and carry out contour highlighting irrespective of the level of the main line video signal.
A further object of the invention is to provide a method for processing a digital video signal in a video camera so as to provide gamma correction or other signal modifications in accordance with non-linear functions while avoiding aliasing.
In accordance with an aspect of this invention, a video camera is provided with a signal modifying circuit for modifying an amplitude level of a digital video signal according to a non-linear curve that represents a desired modified digital video signal as a function of the digital video signal, such circuit comprising:
In accordance with another aspect of this invention, a video camera having means for generating a digital video signal is further provided with:
In accordance with a further aspect of this invention, a method of processing a digital video signal in a video camera comprises the steps of correcting high frequency components of said digital video signal by applying a linear correction function to said high frequency components within a frequency range affected by aliasing; and
The above, and other objects, features, and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments which is to be considered in connection with the accompanying drawings, in which:
Referring now to the drawings, wherein like reference numerals designate identical or corresponding parts throughout the several views, it will be seen that an embodiment of the invention is shown on
An image signal comprised of the three channels R, G and B from the CCD image sensor 10 is supplied through a pre-amplifier 11 to a video amplifying circuit 12 in which black/white balance adjustment, black/white shading distortion correction, flare correction and the like are effected and also the signal amplification is carried out. An output signal from the video amplifying circuit 12 is converted into a digital video signal by an analog-to-digital (A/D) converter 13 and sent to a defect correction circuit 14 in which defects, for example, due to defective pixels of the CCD image sensor 10 are suitably corrected.
After the defect correction, the digital video signal is sent to a contour highlight signal generating circuit for carrying out contour highlight processing in horizontal and vertical directions, that is, for generating a contour highlight signal which is a high frequency signal for correcting an image contour so as to increase resolution. The contour highlight signal generating circuit is composed of 1H delay circuits 15, 16 and 17, a digital high pass filter (HPF) 21 for the vertical direction, a digital low pass filter (LPF) 22 for the horizontal direction, a digital low pass filter (LPF) 24 for the vertical direction, a digital high pass filter (HPF) 25 for the horizontal direction, multipliers 23 and 27, an adder 28 and a limiter 29.
In the contour highlight signal generating circuit, the 1H delay circuits 15, 16 and 17 are connected to each other in series to delay the digital video signal supplied through the defect correction circuit 14 by 1H (H being a horizontal period) in sequence, and also input respectively delayed digital video data. By reason of the series connection of the delay circuits 15, 16 and 17, the digital video signals output from the delay circuits 15, 16 and 17 are respectively delayed by one, two and three lines in the vertical direction relative to the digital video signal being concurrently input to the delay circuit 15.
In the preferred embodiment of the invention shown in
Returning to
The vertical direction image contour component or signal extracted by the HPF 21 and LPF 22 is sent to the multiplier 23, which multiples the vertical direction image contour signal by a gain adjustment value applied to a terminal 44 for emphasizing the vertical direction image contour signal. The horizontal direction image contour signal extracted by LPF 24 and HPF 25 is, in the illustrated embodiment of the invention, fed through a low pass filter (LPF) 26, whose function is hereinafter further described, to multiplier 27 for multiplication by a gain adjustment value applied to a terminal 45 so as to emphasize the horizontal direction image contour signal. The adder 28 combines the emphasized vertical and horizontal image contour signals from the multipliers 23 and 27, respectively, and supplies the resulting combined image contour signal to a limiter 29 which limits the combined signal to a normalized range. The limited combined image contour signal from limiter 28 is applied as one of the inputs to a multiplier 30.
In the illustrative embodiment of the invention, the digital video signal to which the combined image contour or highlight signal is to be added, as hereinafter described, is derived from the zero insertion circuit 19 and is also sent to a low pass filter (LPF) 31 that attenuates the high frequency components of the digital video signal on the so-called main line. The attenuated video signal is supplied from LPF 31 to a linear matrix 32 which is provided in order to correct a color reproduction error resulting from the photographing performance of the CCD image sensor 10 being different from an ideal photographing performance thereof.
Non-linear processing of the digital video data from linear matrix 32 are affected in a knee correction circuit 33 and then in a gamma correction circuit 34 which function, for example, as a level compressing/expanding means. The high frequencies of the video signal on the main line are attenuated in the LPF 31 so as to have an amplitude that is smaller than a deviation between two successive sampling points on the gamma correction function (
In the preferred embodiment, the coefficients (a, b) are stored in tables, herein referred to as the a-table and the b-table, and which are shown in
It will be appreciated that the video signal at this point contains the main portion of the video picture with various colors. This means that the level of the attenuated video signal will vary and, therefore, come within different linear or straight-line segments of the gamma correction function depending on the particular color. In other words, the line segment chosen for the linear gamma correction of the high frequency components may be any of the straight-line segments with various slopes and DC offsets. Thus, the line segment chosen to correct the video signal will likely include both the inclination coefficient (a) and the adding coefficient (b). In the preferred embodiment, therefore, the a-table and b-table are employed for determining the co-efficients of the respective line segment as shown in
In this manner, the high frequencies of the video signal are gamma corrected by a linear function. The low frequencies, on the other hand, are not attenuated by the low pass filter 31, but are gamma corrected according to the non-linear gamma function (
Turning now to the aliasing problem arising from image contour processing, a similar technique for gamma correcting the image signal will be described. It will be recalled that the conventional video camera of
The present invention prevents aliasing, yet adequately amplifies the image contour signal by applying gamma correction to the image contour signal before combining the image contour signal with the video signal. More specifically, as shown in
It will be appreciated that the linear gamma correction function for correcting the image contour signal does not utilize the adding coefficient (b). The inclination coefficient (a) corresponds to a slope of a line segment of the gamma correction function (
After the gamma corrected video signal is combined with the gamma corrected image contour signal in the adder 52, the resulting video signal is sent through a B/W clip processor 35 to a low pass filter (LPF) 36 and then through a decimation circuit 37. The decimation circuit 37 decimates the video signal, for example, as required by PAL television standards, and feeds the decimated signal to a matrix circuit 38 for matrixing the decimated signal. More, particularly in matrix circuit 38, the digital video signal having luminance (Y) and color difference components (R-Y) and B-Y) is formed from the digital video data having the above-mentioned R, G and B values. The matrixed signal is sent to both a composite signal output 42 and a serial digital data output 43. The composite video signal is generated by encoding the matrixed signal by an encoder 39 and then converting the encoded signal into an analog wave form by a digital-to-analog converter 40. The serial digital data is generated by forwarding the matrixed signal from circuit 38 to a parallel-to-serial converter 41. In this manner, the image received by the video camera is digitally processed without aliasing and output either as a composite video signal and/or as serial digital data.
It will be appreciated that the described circuit arrangement embodying the present invention is frequency sensitive. The image contour signals in the lower frequencies outside a frequency range affected by aliasing are gamma corrected with the non-linear gamma correction function (
The manner in which the circuit arrangement described with reference to
More specifically, in
An output signal D from the HPF 62 is sent to a multiplier 66 corresponding to the multiplier 30 shown in
An output signal G from the multiplier 66 which represents the contour highlight signal (namely, the high band signal) is added in an adder 68 with the output signal C from the gamma correction circuit 67 which represents the main line signal. An output signal H from the adder 68 is applied to a terminal 69 which may be connected to the B/W clip circuit 35 shown in
The signals at respective positions in
The high pass filter 62, as noted above, represents the image contour signal processing and yields the image contour signal (Ds) shown in
The same desirable results are achieved when the input video signal is in the form of a burst wave video signal. The burst wave video signal is input and digitized into the signal (AB) shown in
In the actual configuration of the gamma correction circuit 34 shown in
Further, the coefficient generating circuit 72 may be actually constituted as shown in
In the digital signal processing camera in accordance with the present invention as described above with reference to
In order to reconstruct the video signal from a sampled video signal, the sampling rate must be at least the Nyquist rate. Another way to visualize this is by observing the band-widths of each harmonic. As shown in
It is note-worthy that the particular type of video camera envisioned as embodying the present invention attenuates harmonics lying outside the desired band limitation area (for example, by use of a low pass filter). Since this type of video camera does not produce a high gain, there is essentially no problem arising from the zero insertion technique.
In any event, the problem of frequency harmonics falling outside the frequency range fs/2 should be carefully treated. As shown in
Therefore, it is imperative that the band limitation for each of the low pass filters includes a sharp cut-off at the frequency fs/2 to ensure that the unwanted folding harmonics do not “leak” into the desired band limitation area and cause an image distortion. The cut-off of the low pass filters must not only be sharp, but approach the frequency fs/2 very closely. For example, assume that the frequency f of the ordinal (i.e., original) video signal=fs/2+α, where α is a slight deviation from the frequency fs/2 (i.e., α<<fs/2), that is, f is slightly greater than the folding frequency fs/2. The folding component of f folded about the sampling frequency fs is the signal at frequency (fs−f) shown in
Now assuming that the ordinal frequency f=fs/3+α(α<<fs/2), then the folding component at the third order harmonic of the folding component (fs−f) from fs is the signal at 3(fs−f)−fs′ shown in
In the case where f=fs/4+α (α is <<fs/2), the second harmonic is positioned at (fs/3+α) and its folding component is (fs−2f) or (fs/2−α). In such case, the folding component of the second harmonic is just within the desired band limitation area (fs/2) when α approaches zero.
In each of the above instances, the second harmonic generates folding components within the desired band limitation area. Therefore, it is preferred that attenuation factors in the vicinities of the second harmonic for each of these instances (i.e., at frequencies fs/2, 2fs/3 and 3fs/4) be set as large as possible.
However, low pass filters are defined for a single band, the present case being within the frequency band (fs/2). As a solution for attenuating the second harmonics at the frequencies (2fs/3) and (3fs/4), the sampling is carried out in advance at a frequency (fs) higher than a necessary band. This solution tends to make the attenuation factor in the vicinity of the frequency (fs/2) larger, thereby adequately attenuating all unwanted harmonics.
It will be appreciated, however, that the space pixel shifting technique has little influence in reality because the CCD image sensor suffers from a magnification chromatic aberration at the peripheral portion of the screen. This aberration generates high frequency components along the periphery of the screen, resulting in a folding distortion. It will be noted that the screen periphery distortion may be an acceptable alternative, however, because it is smaller by a factor of ten than the image distortion resulting from the described up-conversion.
As a practical matter and as previously mentioned, the CCD image sensing device 10 comprises three channels of 500,000 pixels each. Due to the high number of pixels per screen, the sampling frequency (fs) is at a maximum and, therefore, the up-conversion frequency (fs′) cannot be made too high. This is not a problem, however, because the signal band of the CCD image sensing or pickup device is limited to a range from DC to 6 MHz according to the CCIR Recommendation 601. Thus, the attenuation factor is set in the present invention at the frequency equal to or more than 9 MHz (
Post-processing of the video signal after non-linear processing will now be discussed. The post-processing consumption of power is proportional to the sampling frequency. In order to reduce the consuming of power, therefore, the sampling frequency is down-converted (or decimated), as in the circuit 37, before post-processing. Harmonic components are folded, however, when a decimation process is performed, giving rise to aliasing. Therefore, the LPF 36 is provided in advance of the decimation circuit 37 to eliminate this folding image distortion. This can be seen from
It will be noted that the folding component of the ordinal signal at frequency (f) is down-shifted to the frequency (fs−f). When the down-conversion sampling frequency (fs″) is greater than the frequency (fs/2), the LPF 36 filters out the high frequency components at frequencies greater than (fs/2) as before. On the other hand, where the down-conversion frequency (fs″) is smaller than the frequency (fs/2), the LPF 36 must filter out high frequency components with frequencies greater than the frequency (fs″/2) in order to cancel the folding distortion components in the area between the frequencies (fs″/2 and fs/2).
It will be appreciated that the down-conversion frequency (fs″) does not have to return to the original sampling frequency (fs). For example, the original sampling frequency (fs) may be set to 18 Mhz (in correspondence to the horizontal driving frequency of the CCD in the sensing or pickup device 10 with 500,000 pixels), while the non-linear processing frequency (fs′) may be set to 36 MHz (which is twice the original sampling frequency). The down-conversion frequency (fs″) is, then, set to 13.5 MHz to be in accordance, for example, with a serial digital communication standard. It is to be understood that other frequency settings are possible to suit other situations.
Thus, the present invention provides an anti-aliasing video camera for preventing aliasing arising from high frequency folding distortion, especially due to non-linear processing.
Although an illustrative embodiment of the invention has been described in detail herein with reference to the accompanying drawings, it is to be noted that the invention is not limited to that embodiment, and that various changes and modifications may be affected therein by one skilled in the art without departing from the scope and spirit of the invention which is intended to be defined by the appended claims.
Kihara, Taku, Sudo, Fumihiko, Tanji, Ichiro
Patent | Priority | Assignee | Title |
7920212, | Oct 26 2005 | Sharp Kabushiki Kaisha | Digital gamma correction circuit and digital gamma correction method |
8854512, | Nov 24 2006 | Robert Bosch GmbH | Process, apparatus and computer program for enhancing detail visibility in an input |
Patent | Priority | Assignee | Title |
4415923, | Aug 25 1980 | Hitachi, Ltd. | Signal processing circuit |
4812903, | Aug 29 1986 | Agfa-Gevaert Aktiengesellschaft | Method of electronically improving the sharpness and contrast of a colored image for copying |
4855829, | Mar 31 1987 | Sony Corp. | Aperture correction circuit |
5068718, | Nov 04 1988 | FUJIFILM Corporation | Image quality correcting system for use with an imaging apparatus |
5087966, | Apr 21 1989 | Sony Corporation | Digital gamma correction |
5103299, | Oct 04 1989 | SONY CORPORATION, A CORP OF JAPAN | Signal processing circuit for solid state imaging apparatus including digital enhancement circuit |
5175621, | Aug 10 1989 | Ikegami Tsushinki Co., Ltd. | Gamma correction circuit and method thereof |
5194943, | Nov 06 1990 | Hitachi, Ltd. | Video camera having a γ-correction circuit for correcting level characteristics of a luminance signal included in a video signal |
5235410, | Aug 08 1990 | Sony United Kingdom Limited | Apparatus and methods for non-linear processing of digital signals |
5235413, | Jul 26 1991 | Tektronix, Inc. | Method and apparatus for processing component signals to preserve high frequency intensity information |
5243426, | May 14 1990 | Sony Corporation | Circuit for gamma correction of a digital video signal and having a memory for storing data defining a desired gamma correction characteristic |
5280353, | Aug 15 1989 | CINTEL INTERNATIONAL LIMITED, A U K CORP | Method and apparatus for signal processing by interpolation and filtering with simultaneous frequency response compensation and offset generation |
5345265, | Dec 31 1992 | Samsung Electronics Co., Ltd. | Gamma correction circuit for a video camera |
5349381, | Feb 28 1992 | Sony Corporation | Video camera with aperture correction having reduced power consumption |
5420633, | Jun 24 1991 | Canon Kabushiki Kaisha | Apparatus for suppressing pseudo-contours in video signals |
5473372, | Mar 18 1991 | Canon Kabushiki Kaisha | Gamma correction circuit approximating non-linear digital conversion |
5481317, | Jan 14 1992 | Canon Kabushiki Kaisha | Gamma correction circuit which selects one of a plurality of gamma corrected signals as an output signal based on the level of an input signal |
5534948, | Aug 15 1989 | Blackmagic Design Pty Ltd | Method and apparatus for reducing the effect of alias components produced through non-linear digital signal processing, such as gamma correction, by selective attenuation |
5546135, | Feb 28 1992 | MATSUSHITA ELECTRIC INDUSTRIAL CO , LTD | Contour restoration apparatus |
5557340, | Dec 13 1990 | Blackmagic Design Pty Ltd | Noise reduction in video signals |
5661575, | Oct 09 1990 | Matsushita Electric Industrial Co., Ltd. | Gradation correction method and device |
5710594, | Aug 06 1994 | SAMSUNG ELECTRONICS CO , LTD | Digital gamma correction method and apparatus |
5818521, | Dec 28 1992 | Canon Kabushiki Kaisha | Image pickup apparatus having computational gamma correction facility |
DE4300304, | |||
EP457522, | |||
EP6605212, | |||
GB2246924, | |||
GB2250886, | |||
GB2258782, | |||
JP1206775, | |||
JP1209367, | |||
JP4140980, | |||
JP4220882, | |||
JP432372, | |||
JP4341814, | |||
JP4355587, | |||
JP445688, | |||
JP5610789, | |||
JP686096, | |||
JP767129, | |||
WO9103122, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Sep 30 2003 | Sony Corporation | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Aug 27 2012 | REM: Maintenance Fee Reminder Mailed. |
Jan 13 2013 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Jan 13 2012 | 4 years fee payment window open |
Jul 13 2012 | 6 months grace period start (w surcharge) |
Jan 13 2013 | patent expiry (for year 4) |
Jan 13 2015 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jan 13 2016 | 8 years fee payment window open |
Jul 13 2016 | 6 months grace period start (w surcharge) |
Jan 13 2017 | patent expiry (for year 8) |
Jan 13 2019 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jan 13 2020 | 12 years fee payment window open |
Jul 13 2020 | 6 months grace period start (w surcharge) |
Jan 13 2021 | patent expiry (for year 12) |
Jan 13 2023 | 2 years to revive unintentionally abandoned end. (for year 12) |