Gradation correcting apparatus

Abstract: The present invention relates to a gradation correcting apparatus for correcting the gradation of the picture signal with the use of the histogram memories in the television image receiving machine, video tape recorder and so on. Especially when the color picture signals have been inputted, the picture portion having the particular color component is detected so as to digitally effect the gradation correcting operation in accordance with the color component.

Description: BACKGROUND OF THE INVENTION The present invention generally relates to a gradation correcting apparatus which is capable of correcting the gradation of picture signals in picture apparatuses such as television image receiving machines, video tape recorders and so on. In recent years, the gradation correcting apparatus is regarded as important in terms of the more dynamic expression of the picture signals on a cathode-ray tube (CRT) as the television image receiving machines become larger in size, higher in picture quality. The conventional gradation correcting apparatus will be described hereinafter in one example with reference to the drawings. Fig. 3 is a block diagram of a conventional gradation correcting apparatus as e.g. disclosed in JP-A-3126377 (which was however, published after the priority date of the present patent). In Fig. 3, reference numeral 1 is an analog digital (AD) converter for converting an input luminance signal a which is an analog signal into a digital data so as to output a luminance signal data b. Reference numeral 2 is a histogram memory. The histogram memory is a memory where a memory address is set corresponding to the luminance signal data b, the data of the address data shows a histogram corresponding to the respective input luminance, the data of the luminance is read as a histogram memory output data e in accordance with the input luminance. In the histogram memory 2, after a particular summing data has been calculated into a histogram memory output data e by an externally provided adder 9, it is stored in an address corresponding to the luminance of the input luminance signal (histogram memory input data f). Here the particular summing data means, for example, "1". Reference numeral 4 is a cumulative addition normalized arithmetic unit, which cumulatively adds as the input the histogram data c from the histogram memory 2, normalizes so that the maximum value after the cumulative addition thereof may become a maximum value of the output brilliance so as to output the cumulative normalized histogram data d. Reference numeral 5 is a look up table which has memories therein. The look up table 5 has addresses established in accordance with the luminance of the luminance data b, stores the cumulative normalized histogram data d in the address, reads the data of the address corresponding to the luminance data so as to be synchronized with the input of the luminance data b, and outputs it as an output luminance signal data g. Reference numeral 6 is a digital analog (DA) converter, which converts the output luminance signal data g into the output luminance signal h of the analog so as to output it. The gradation correcting apparatus constructed as described hereinabove will be described hereinafter in its operation with reference to Fig. 3 and Fig. 4. The input brilliance signal a is converted into the luminance signal data b by the AD converter 1. The data of the address of the histogram memory corresponding to the luminance signal data b (luminance thereof) is selected and becomes the histogram memory output data e. The data e has the addition data (1) added by the adder 9, becomes a histogram memory input data f, is stored again in the previous address of the histogram memory 2. The histogram is provided about one sheet of or several sheets of pictures in this manner. The histogram obtained in this manner is shown in, for example, Fig. 4 (a). After the histogram has been provided, the data (histogram data c) from the histogram memory 2 is read into the cumulative addition normalized arithmetic unit 4 in order from the smaller address (smaller input brilliance). The cumulative histogram is calculated in the arithmetic unit 4, and the maximum value of the cumulative value is normalized so that it becomes the maximum value of the input luminance signal data. This is Fig. 4 (b). The data whose normalization has been finished is inputted into the look-up table 5 as the cumulative normalized histogram data d. The look-up table 5 is composed of random access memory (RAM), where the address is used to become the input luminance, the data of the address is used to become the cumulative normalized histogram data d. When the setting of the data d is finished in the look up table 5, the gradation correction is effected. In the gradation correction, the input luminance signal data b is inputted into the look-up able 5, an address is set in accordance with the data b to read the data of the address. This becomes an output luminance signal data g (Fig. 4 (c)). The data g is inputted into the DA converter 6, is converted into analog amount. The output luminance signal h is obtained, which allows the gradation correction to be effected. The above described processing is generally called histogram conversion processing in the field of the picture processing. In such a conventional gradation correcting apparatus, no problems are caused in the processing of white/black signals. When the processing has been applied to the color picture signals, problems are provided in that the portion where the gradation wants to be actually enlarged, the portion near the I shaft of NTSC system regarded as colors sensitive to, for example, the human faces, eyes are not sufficiently enlarged in gradation, and so on, because the color information is not inputted. In WO-A-87-06089, it is disclosed a digital color image processing method including the steps of generating color reproduction functions by normalizing samples of color values from the image, and processing the color components of the color digital image by applying the color reproduction functions to the respective color components of the digital image. The color components are selected from the digital image by operating on a luminance component of the digital color image with an image detail detection operator to detect regions of the image representing luminance detail, and operating on the color components of the digital image in the luminance detail region with a contrast detection filter to detect the contrast of the color components of the image in the luminance detail regions. The color values in the luminance detail regions are separated into contrast intervals, and histograms in the contrast intervals are formed. One of the contrast intervals is selected based on the similarity in shape of the color value histograms in the contrast interval. The color reproduction functions are formed by normalizing the histograms in the selected contrast interval. EP-A-0 352 491 discloses a method wherein experiential gradation correction curves for sample images are prepared. By analyzing the experiential gradation correction curves and accumulated density histrograms of the sample images, two points (Y 1 , Q 1 ) and (Y 2 , Q 2 ) are specified, where Y 1 and Y 2 are values of accumulated occurrence and Q 1 and Q 2 are halftone dot percentages for image reproduction. The values Y 1 and Y 2 are converted into reference values x 1 and x 2 through an accumulated density histogram of an original image whose gradation is to be corrected. A gradation correction curve Q = G(x) is determined so as to pass through the two points (x 1 , Q 1 ) and (x 2 , Q 2 ). SUMMARY OF THE INVENTION Accordingly, an essential object of the present invention has been developed with a view to substantially eliminating the above discussed drawbacks inherent in the prior art, and has for its essential object to provide an improved gradation correcting apparatus. Another important object of the present invention is to provide an improved gradation correcting apparatus, which detects the portion of the picture having the particular color and luminance or either of both, the histogram addition data in the provision of the histogram is corrected so that the gradation of the portion may become enlarged, with the result that what wants actually to be enlarged in the gradation may be corrected sufficiently in gradation. In accomplishing these and other objects, according to the present invention, there is provided a gradation correcting apparatus comprising a histogram memory for obtaining a histogram on an input luminance signal wherein the histogram indicates how the pixels per screen are distributed in accordance with the input luminance signal, an arithmetic unit for having the histogram data outputted from the histogram memory as inputs so as to obtain the cumulative histogram, normalizing the cumulative histogram in accordance with the given luminance level, an output circuit for having the output of the arithmetic unit as the input so as to synchronize the input luminance signal with the normalized arithmetic unit output and for outputting the arithmetic unit output as the luminance signal data, a correction color detecting circuit for having a color signal and the luminance signal as the input, detecting the picture component having at least either of the particular color and luminance and outputting correction color detection data, and a controlling circuit for correcting summing data, which are added to the histogram memory output data to be retained in the histogram memory in accordance with the correction color detection data. When a portion having a particular color is detected by the correction color detecting circuit from the color signal data and the luminance signal data by the above described construction so as to add the summing data of the histogram memory by the result, the present invention has the width of the selection thereof in accordance with the detected correction color as the correction data, instead of the conventional particular correction data. As a result, the histogram summing data of the luminance portion becomes larger. When the cumulative normalized operation is effected, the variation amount in the luminance portion becomes larger, and the gradation is enlarged. BRIEF DESCRIPTION OF THE DRAWINGS These and other objects and features of the present invention will become apparent from the following description taken in conjunction with the preferred embodiment thereof with reference to the accompanying drawings, in which; Fig. 1 is a block diagram of a gradation correcting apparatus in one embodiment of the present invention; Fig. 2 shows characteristic graphs for illustrating the operation of Fig. 1; Fig. 3 is a block diagram of the conventional gradation correcting apparatus; and Fig. 4 shows characteristic graphs for illustrating the operation of Fig. 3. DETAILED DESCRIPTION OF THE INVENTION Before the description of the present invention proceeds, it is to be noted that like parts are designated by like reference numerals throughout the accompanying drawings. Referring now to the drawings, there is shown in Fig. 1, a block diagram of a gradation correcting apparatus according to one preferred embodiment of the present invention, which includes an AD converter 1, a histogram memory 2, a cumulative addition normalized arithmetic unit, a look-up table 5, a DA converter 6, which are similar to those in the conventional embodiment. Reference numeral 3 is an addition summing data controller, which is adapted to add the addition data corresponding to the correction color detecting data k into the histogram memory output data e so as to output the histogram memory input data f. Reference numeral 7 is an AD converter, which is adapted to effect the AD conversion of an input color signal i (color carrier wave signal, color difference signals R-Y, B-Y, G-Y or I, Q signals) so as to output an input color signal data j. Reference numeral 8 is a correction color detecting circuit, where the input luminance signal data b, the input color signal data j are provided as inputs, a color portion for strengthening the gradation correction which is an object is detected from the size of these signals so as to output the detection result as the correction color detection data k. The gradation correcting apparatus constructed as described hereinabove will be described hereinafter in its operation with reference to Fig. 1 and Fig. 2. Fig. 2 shows the current of the histogram conversion in the present embodiment in the order of (a) → (b) → (c). The difference between the conventional embodiment and the present embodiment is in that the addition summing data controller 3, instead of the adder 9 in the conventional embodiment, is provided in the present embodiment, and the addition summing data is varied with the input color signal i and the input luminance signal a. The input color signal i is inputted into the color signal AD converter 7, and is converted into the input color signal data j. The input color signal data j and the input luminance signal data b are inputted into the correcting color detecting circuit 8 so as to detect a portion having the particular color and luminance or either of them. In order to detect, for example, the portion of the flesh tint, the computation of a · (R - Y) - b · (B - Y ) where the input color signal i shows the color difference signals(R - Y)and(B - Y). a, b are assumed to be positive constants). When the result in the equation is large, it is judged to be close to the flesh tint. As the flesh tint is comparatively high in luminance, a judgment result that the luminance is bright is added to the judgment result. Namely, a portion where the size of the input luminance signal data b inputted into the correction color detecting circuit 8 is large is detected through the construction of a comparing circuit and so on, so that the detecting result becomes correct. In this manner, in the portion having the particular color, luminance, the detection of the portion is effected so as to output the correcting color signal data k. This signal k is inputted into the addition summing data controller 3. The addition summing data controller 3 determines the summing data for adding into the histogram memory output data e in accordance with the correcting color signal data k. Although, in the conventional embodiment, a value 1 has been added, in the present embodiment, the addition summing data is controlled so that it may become larger when the particular portion has been detected. Therefore, the addition summing data of the histogram memory becomes larger in the portion detected by the correction color detecting circuit 8. As a result, the cumulative normalized histogram data d obtained through the cumulation and normalization of the histogram obtained as described hereinabove becomes larger in its inclination (variation amount) in the portion detected by the correcting color detecting circuit 8 as described in Fig. 2 (b). As a result, the luminance in that portion is to be enlarged as shown in Fig. 2 (c). According to the present embodiment as described hereinabove, a color signal AD converter 7 for AD converting the color signal is provided. A portion having a particular color is detected by the correction color detecting circuit 8 from the color signal data j to be obtained by it and the input luminance signal data existing b from the conventional embodiment. When the summing data of the histogram memory 2 is added by the results, the histogram summing data of the luminance portion becomes larger by the provision of the addition summing data controller 3 for having the larger value, instead of the conventional 1, as the addition data. As a result, the variation amount of the luminance portion becomes larger when the cumulative normalizing operation is effected, so that the gradation may be enlarged. Although the color difference signal is used in the (1) equation in the present embodiment, it may be I, Q signals, a color carrier wave signal. Also, it may be a plurality of signals or either of them. Also, although the addition summing data controller 3, the cumulative adder 4, the normalizing arithmetic unit 4, and the correction color detecting circuit 8 are respectively shown additionally, a general purpose arithmetic apparatus such as microprocessor or the like may be used for them and one portion thereof. Also, although the histogram memory 2 and the look-up table 5 are shown separately, they may use one memory in common. As is clear from the foregoing description, according to the arrangement of the present invention, by the addition summing data controller, the color signal AD converter, and the correction color detecting circuit are provided in addition to the construction of the gradation correcting apparatus using the conventional histogram memory, the portion of the picture having the particular color and luminance or either of them is detected, the histogram addition data in having the histogram is corrected so that the gradation of the portion may be enlarged, so that what wants to be really enlarged can be sufficiently corrected in gradation.

Claims: A gradation correcting apparatus comprising: a histogram memory (2) for obtaining a histogram of an input luminance signal (b), wherein the histogram indicates how the pixels per screen are distributed in accordance with the input luminance signal (b), an arithmetic unit (4) having the histogram data (c) outputted from the histogram memory (2) as inputs, for calculating a cumulative histogram and for normalizing the cumulative histogram in accordance with a given luminance level, an output circuit (5) having the output (d) of the arithmetic unit (4) and the input luminance signal (b) as inputs, for converting the input luminance signal (b) in accordance with the normalized arithmetic unit output (d) and for outputting output luminance data (g), a correction color detecting circuit (8) having an input color signal (i) and the input luminance signal (b) as inputs, for detecting a picture component having at least either of a particular color and luminance, and for outputting correction color detection data (k), and a controlling circuit (3) for correcting summing data in accordance to the correction color detection data (k) and for adding the summing data to histogram memory output data (e) to obtain histogram memory input data (f) to be stored in the histogram memory (2). A gradation correcting apparatus in accordance with claim 1, where the portion, larger in size, of the input luminance signal data (b) to be inputted into the correction color detecting circuit (8) is adapted to be detected by means of a comparing circuit. A gradation correcting apparatus in accordance with claim 1 or 2, wherein the controlling circuit (3) determines the summing data to be added to the histogram memory output data (e) in accordance with the correcting color detection data (k). A gradation correction apparatus in accordance with claim 3, wherein the correction color detecting circuit (8) and the controlling circuit (3) are adapted to respectively process the signal data with digital data.

Inventors: KAGEYAMA ATSUHISA, KAGEYAMA, ATSUHISA
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1991
Main classification: H04N1
IPC codes: H04N1, H04N5, H04N9