KR980013454A - Color compensation method and its circuit according to luminance variation - Google Patents
Color compensation method and its circuit according to luminance variation Download PDFInfo
- Publication number
- KR980013454A KR980013454A KR1019960032067A KR19960032067A KR980013454A KR 980013454 A KR980013454 A KR 980013454A KR 1019960032067 A KR1019960032067 A KR 1019960032067A KR 19960032067 A KR19960032067 A KR 19960032067A KR 980013454 A KR980013454 A KR 980013454A
- Authority
- KR
- South Korea
- Prior art keywords
- signal
- color
- luminance
- luminance signal
- changed
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/77—Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/67—Circuits for processing colour signals for matrixing
Abstract
루미넌스변화에 따른 칼라 보상 방법과 그 회로가 개시되어 있으며, 칼라 보상 방법은 칼라성분신호를 입력하고, 루미넌스신호와 상기 루미넌스신호를 소정의 처리에 의해 변화된 루미넌스신호를 입력하고, 칼라성분신호를 보상된 루미넌스신호에 근거해서 칼라성분신호의 값을 변화시켜 보상된 칼라성분신호로 출력함으로써 왜곡 없는 칼라신호를 제공할 수 있다.A color compensation method and a circuit therefor according to variation in luminance are provided. In the color compensation method, a color component signal is input, a luminance signal changed by a predetermined process on a luminance signal and a luminance signal, And outputs the corrected color component signal by varying the value of the color component signal based on the luminance signal, thereby providing a distortion-free color signal.
Description
본 발명은 루미넌스 변화에 따른 칼라 보상 방법 및 그 회로에 관한 것으로, 특히 루미넌스 처리를 근거로하여 칼라신호를 독립적으로 처리하는 시스템에 있어서 루미넌스 변화에 따라 칼라값을 변화시키는 칼라 보상 방법 및 그 회로에 관한 것이다. 적, 녹, 청(이하 RGB라고 함) 칼라 처리는 두가지의 기본적인 방법으로 분류할 수 있다. 그 한 방법은 RGB 독립적인 칼라 처리와 다른 한 방법은 루미넌스(Y) 처리를 근거한 칼라 처리이다. 먼저, 도 1은 RGB 칼라 신호를 위한 3가지 독립적인 처리를 위한 칼라 처리 회로의 블럭도로서, RGB 칼라신호는 R처리기(11), G처리기(12), B처리기(13)에 의해 독립적으로 처리되어 결과 칼라신호(R'G'B')를 출력하고 있다. 그러나, 대부분의 칼라 시스템의 응용은 루미넌스 처리를 근거로 한 칼라 처리방법이 시스템의 복잡도를 줄이기 위해서 전형적으로 사용된다. Y에 근거한 칼라 처리는 주어진 RGB 시스템이 Y성분을 포함하는 다른 칼라 시스템으로 변환하도록 하고 있다. 즉, RGB신호는 신호방식에 따라 (Y, I, Q) (Y, U, V), (Y, R-Y, B-Y)칼라 시스템등과 같이 다양하게 다른 색신호로 변환될 수 있다. 본 발명에서는 예를 들어 (Y, U, V)를 칼라 시스템으로 정의하고, 여기서, Y는 루미넌스 성분이고, U, V는 시스템-정의된 칼라 신호들을 나타낸다. 일반적으로, RGB신호와 새로운 칼라 신호(YUV)사이의 관계는 다음 수학식 1과 같이 나타낼 수 있다.The present invention relates to a color compensation method and a circuit therefor according to luminance variation, and more particularly to a color compensation method for changing a color value according to a luminance change in a system for independently processing a color signal based on luminance processing, . Red, green, and blue (hereinafter referred to as RGB) color processing can be classified into two basic methods. One method is RGB independent color processing and the other is color processing based on luminance (Y) processing. First, FIG. 1 is a block diagram of a color processing circuit for three independent processes for RGB color signals. The RGB color signals are independently processed by the R processor 11, the G processor 12, and the B processor 13 And outputs the resultant color signal R'G'B '. However, most color system applications are typically used to reduce the complexity of the color processing method based on luminance processing. Color processing based on Y allows a given RGB system to convert to a different color system containing Y components. That is, the RGB signals can be converted into various different color signals such as (Y, I, Q), (Y, U, V), (Y, R-Y, B-Y) In the present invention, for example, (Y, U, V) is defined as a color system, where Y is a luminance component and U and V represent system-defined color signals. In general, the relationship between the RGB signal and the new color signal YUV can be expressed by the following equation (1).
[수학식 1][Equation 1]
여기서, aij는 계수이다. 도 2는 종래의 Y-처리를 근거로 하는 칼라 처리 회로의 블럭도로서, 변환된 칼라 신호를 Y-처리에 근거하여 칼라 처리를 행하고 있다. 도 2에 있어서, RGB/YUV 변환기(21)에서는 입력되는 RGB신호를 YUV신호로 변환하고, 이중 Y신호는 Y 처리기(22)에서 변화된 루미넌스신호(Y')로 출력된다. YUV/RGB 변환기(23)에서는 Y 처리기(22)에서 출력되는 Y'신호와 RGB/YUV 변환기(21)에서 출력되는 UV신호를 입력하여 R'G'B'신호로 변환한다. 결과 RGB신호는 다음 수학식 2에 도시된 관계에 의해 (Y, U, V)신호로부터 (R, G, B) 칼라 시스템으로의 역변환하는 것에 의해 얻어진다.Here, aij is a coefficient. Fig. 2 is a block diagram of a color processing circuit based on a conventional Y-processing. The converted color signal is subjected to color processing based on Y-processing. 2, the RGB / YUV converter 21 converts the input RGB signal into a YUV signal, and the double Y signal is output as a luminance signal Y 'changed in the Y processor 22. The YUV / RGB converter 23 receives the Y 'signal output from the Y processor 22 and the UV signal output from the RGB / YUV converter 21, and converts the signal into an R'G'B' signal. The resulting RGB signal is obtained by inverse transformation from the (Y, U, V) signal to the (R, G, B) color system by the relationship shown in the following equation (2).
[수학식 2]&Quot; (2) "
따라서, Y성분이 도 2에 도시된 Y 처리기(22)에 의해 Y'으로 변화하고, 결과 RGB 칼라신호는 수학식 3과 같이 나타낼 수 있다.Therefore, the Y component is changed to Y 'by the Y processor 22 shown in FIG. 2, and the resulting RGB color signal can be expressed by Equation (3).
[수학식 3]&Quot; (3) "
여기서, 부자연스런 칼라 왜곡을 초래하지 않도록 하기 위해서 변화된 신호들(Y,U,V)이 (R,G,B) 칼라신호로 역변환할 때 루미넌스 성분의 변화가 적당히 고려되어야 한다. 그러나, 도 2에 도시된 칼라 처리 회로는 칼라 보상기능을 갖지 않는다. 예를 들어, 칼라 시스템이 Y, R-Y, B-Y신호로 구성된다고 고려하고, Y는 소정의 처리에 의해 Y'=Y+Δy로 변화된다고 가정한다. 변화된 칼라 신호(Y',R-Y, B-Y)는 칼라 보상없이 (R,G,B)값으로 변화되고, 결과 칼라신호는 다음 수학식 4 내지 수학식 6과 같이 주어진다.Here, in order to prevent unnatural color distortion, a change in the luminance component should be appropriately taken into consideration when the converted signals (Y, U, V) are inversely transformed into (R, G, B) color signals. However, the color processing circuit shown in Fig. 2 has no color compensation function. For example, it is assumed that the color system is composed of Y, R-Y, and B-Y signals, and Y is changed to Y '= Y +? Y by a predetermined process. The changed color signals (Y ', R-Y, B-Y) are changed to (R, G, B) values without color compensation and the resulting color signals are given by the following equations (4) to (6).
[수학식 4]&Quot; (4) "
R' = (R-Y) + Y' = R + ΔyR '= (R - Y) + Y' = R +
[수학식 5]&Quot; (5) "
G' = (G-Y) + Y' = G + ΔyG '= (G-Y) + Y' = G +
[수학식 6]&Quot; (6) "
B' = (B-Y) + Y' = B + Δy 순수 R,G,B신호가 고려될 때 다음 왜곡 문제를 안다면 칼라 보상의 필요성은 이 예로부터 분명히 알 수 있다. 즉, 칼라 보상이 없다면 Y는 Y'으로 변화할 때, 순수 적신호(R, 0, 0)는 예를 들어, (R+Δy, Δy, Δy)로 맵핑된다. 따라서, 결과 칼라신호는 더 이상 순수 적신호가 아니다. 유사하게, 칼라 보상이 없다면 모든 다른 순수 칼라 신호는 왜곡되는 문제점이 발생된다. 이것은 분명히 원하지 않는 결과이다. 또한, 입력 칼라신호 RGB로부터 Y를 추출해서 추출된 Y로부터 보정신호(correction signal)를 추출해서 위 수학식 4 내지 수학식 6과 같이 각 입력 RGB신호에 보정신호를 더하는 콘트라스트 보정방법은 미합중국 특허번호 제5, 345, 277호에 개시되어 있다.The need for color compensation is evident from this example if we know the next distortion problem when the pure R, G, B signals are taken into account: B '= (B-Y) + Y' = B + That is, when there is no color compensation, when Y changes to Y ', the pure signal (R, 0,0) is mapped to (R + Δy, Δy, Δy), for example. Thus, the resulting color signal is no longer a pure signal. Similarly, if there is no color compensation, all other pure color signals are distorted. This is clearly an unwanted result. A contrast correction method for extracting Y from the input color signals RGB, extracting a correction signal from the extracted Y, and adding a correction signal to each input RGB signal as shown in the above Equations (4) to (6) 5,345, 277, which is incorporated herein by reference.
본 발명의 목적은 루미넌스 처리를 근거로 해서 RGB를 독립적으로 처리할 때, 루미넌스가 변화했을 때 이에 적응하여 칼라신호도 변화시키는 칼라 보상 방법을 제공하는 데 있다. 본 발명의 다른 목적은 루미넌스 처리를 근거로 해서 RGB를 독립적으로 처리할 때, 루미넌스가 변화했을 때 이에 적응하여 칼라신호도 변화시키는 칼라 보상 회로를 제공하는 데 있다. 상기의 목적을 달성하기 위하여, 본 발명에 의한 칼라 보상 방법은 루미넌스신호에 근거해서 칼라 신호를 처리하는 방법에 있어서: (a) 칼라성분신호를 입력하는 단계: (b) 루미넌스신호와 상기 루미넌스신호를 소정의 처리에 의해 변화된 루미넌스신호를 입력하는 단계: 및 (c) 상기 칼라성분신호를 상기 변화된 루미넌스신호에 근거해서 칼라성분신호의 값을 변화시켜 보상된 칼라성분신호로 출력하는 단계를 포함함을 특징으로 하고 있다. 상기의 다른 목적을 달성하기 위하여, 본 발명에 의한 칼라 보상 회로는 루미넌스신호에 근거해서 칼라 신호를 처리하는 회로에 있어서: 입력되는 RGB신호를 루미넌스 신호와 칼라성분신호로 변환하는 제1 변환수단: 상기 루미넌스신호를 소정의 루미넌스 처리에 의해 변화된 루미넌스신호를 출력하는 루미넌스 처리수단: 상기 루미넌스신호, 칼라성분신호와 상기 변화된 루미넌스신호를 입력하여 루미넌스 변화에 따라 칼라성분신호의 값을 변화시켜 보상된 칼라성분신호를 출력하는 칼라 보상수단: 및 상기 변화된 루미넌스신호와 상기 보상된 칼라성분신호를 입력하여 역변환에 의해 결과 칼라신호(R'G'B')를 출력하는 제2 변환수단을 포함함을 특징으로 하고 있다.An object of the present invention is to provide a color compensation method in which, when RGB is processed independently based on luminance processing, the luminance signal is also adapted to change the luminance signal when the luminance is changed. Another object of the present invention is to provide a color compensating circuit that changes the color signal when the luminance is changed when the R, G, and B are independently processed based on luminance processing. In order to achieve the above object, a color compensation method according to the present invention is a method of processing a color signal based on a luminance signal, the method comprising: (a) inputting a color component signal; (b) And (c) outputting the color component signal as the compensated color component signal by varying the value of the color component signal based on the changed luminance signal. . According to another aspect of the present invention, there is provided a circuit for processing a color signal based on a luminance signal, comprising: first conversion means for converting an input RGB signal into a luminance signal and a color component signal; A luminance signal processing unit for inputting the luminance signal, the color component signal and the changed luminance signal, and changing the value of the color component signal according to a luminance change to generate a compensated color signal And second converting means for receiving the changed luminance signal and the compensated color component signal and outputting the resultant color signal (R'G'B ') by inverse transformation, .
도 1은 종래의 RGB 독립 처리를 위한 칼라 처리회로의 블록도이다.1 is a block diagram of a conventional color processing circuit for RGB independent processing.
도 2는 종래의 Y-처리를 근거로 한 칼라 처리회로의 블록도이다.2 is a block diagram of a color processing circuit based on a conventional Y-process.
도 3은 본 발명에 의한 루미넌스 변화에 따른 칼라 보상 방법을 설명하기 위한 도면이다.FIG. 3 is a view for explaining a color compensation method according to the luminance variation according to the present invention.
도 4는 칼라 포화를 방지하기 위한 칼라 보상 라인을 나타내는 도면이다.4 is a diagram showing a color compensation line for preventing color saturation.
도 5는 본 발명에 의한 칼라 보상을 갖는 Y-처리를 근거로 한 칼라 처리회로의 일실시예에 따른 블록도이다.5 is a block diagram according to one embodiment of a color processing circuit based on Y-processing with color compensation according to the present invention.
도 6은 도 5에 도시된 칼라 보상기의 상세회로도이다.6 is a detailed circuit diagram of the color compensator shown in FIG.
도 7은 도 5에 도시된 칼라 보상기의 다른 상세회로도이다.7 is another detailed circuit diagram of the color compensator shown in FIG.
도 8은 본 발명에 의한 칼라 보상을 갖는 Y-처리를 근거로 한 칼라 처리회로의 다른 실시예에 따른 블럭도이다.8 is a block diagram according to another embodiment of a color processing circuit based on Y-processing with color compensation according to the present invention.
먼저, 칼라 보상 방법에 대하여 도 3과 도 4를 결부시켜 설명하기로 한다. C = (R, G, B)와 Y로 주어지고, 소정의 루미넌스 처리에 의해 Y는 Y'로 변화한다고 가정한다. 본 발명의 칼라 보상을 위한 방법의 기본적인 개념은 주어진 칼라를 (R, G, B)공간에서 그 칼라 방향으로 변화한다는 것이다. 우선, 수학식 1로부터 Y는 Y = a11R + a12G + a13B로 나타낼 수 있고, 일정한 Y값을 갖는 (R, G, B)들은 (R, G, B)공간에서 평면을 형성한다. 즉, Y = a11R + a12G + a13B 인 평면상에 놓인 모든 칼라신호는 동일한 루미넌스 값을 가진다. Y에서 Y'로 루미넌스가 변화하는 것은 주어진 칼라 C가 도 3에 도시된 바와 같이 Y'평면으로 이동된다는 것을 내포한다. 이때, 본 발명에서는 C와 C'는 같은 칼라 방향을 가진다고 가정하고, 이것은 라인(OC)이 라인(OC')과 일치한다는 것을 의미한다. 따라서, Y'평면상의 보상된 칼라 C'는 라인(OC)과 Y' 평면의 교점을 찾는 것에 의해 얻어진다. 요약하면, 도 3에 도시된 원래의 칼라 신호 C는 Y평면이 Y'평면에 놓일 때 C'로 맵핑되며, 이것은 라인 OC와 Y'평면의 교점이다. 이제, C'를 구하기 위하여, (l, m, n)를 주어진 칼라 C의 방향 코사인(directional cosine)이라고 정의하고, 이는 다음 수학식 7과 같이 주어진다.First, the color compensation method will be described with reference to FIGS. 3 and 4. FIG. C = (R, G, B) and Y, and Y is changed to Y 'by a predetermined luminance process. The basic idea of the method for color compensation of the present invention is to change a given color from (R, G, B) space to its color direction. First, the plane in Y is Y = a 11 R + a 12 G + a 13 B (R, G, B) can be represented by, having a constant Y values (R, G, B) space from the equation (1) . That is, Y = a 11 R + a 12 G + a 13 every color signal placed on the plane B have the same luminance value. The change in luminance from Y to Y 'implies that a given color C is shifted to the Y' plane as shown in FIG. At this time, in the present invention, it is assumed that C and C 'have the same color direction, which means that the line OC coincides with the line OC'. Thus, the compensated color C 'on the Y' plane is obtained by finding the intersection of the line OC and the Y 'plane. In summary, the original color signal C shown in FIG. 3 is mapped to C 'when the Y plane lies in the Y' plane, which is the intersection of the line OC and the Y 'plane. Now, to find C ', (l, m, n) is defined as the directional cosine of a given color C, which is given by Equation (7).
[수학식 7]&Quot; (7) "
l = R/r, m = G/r, n=B/rl = R / r, m = G / r, n = B / r
여기서,이다.유사하게, 출력 칼라 신호 C' = (R', G', B')의 방향 코사인(l', m', n')은 수학식 8과 같이 나타낼 수 있다.here, Similarly, the direction cosines (l ', m', n ') of the output color signal C' = (R ', G', B ') can be expressed as shown in Equation (8).
[수학식 8]&Quot; (8) "
l' = R'/r', m = G'/r', n' = B'/r'l '= R' / r ', m = G' / r ', n' = B '/ r'
여기서,이다. 이 두가지 칼라가 동일한 칼라 향을 가지도록 하기 위해서, 다음 수학식 9 또는 수학식 10과 같은 관계가 성립하여야 한다.here, to be. In order for these two colors to have the same color direction, the following relation (9) or (10) must be established.
[수학식 9]&Quot; (9) "
l = l', m = m', n = n'l = l ', m = m', n = n '
[수학식 10]&Quot; (10) "
R'/r' =R/r, G'/r' =G/r, B'/r' =B/r 따라서,R '/ r' = R / r, G '/ r' = G / r, B '/ r'
[수학식 11]&Quot; (11) "
[수학식 12]&Quot; (12) "
[수학식 13]&Quot; (13) "
위 수학식 11, 수학식 12 그리고 수학식 13에 주어진 관계를 Y' = a11R' + a12G + a13B' 에 대입하면,Substituting the relation given in the above equations (11), (12) and (13) into Y '= a 11 R' + a 12 G + a 13 B '
[수학식 14]&Quot; (14) "
[수학식 15]&Quot; (15) "
[수학식 16]&Quot; (16) "
이것은 루미넌스의 변화의 비는 칼라의 변화의 비와 같다는 것을 의미하므로 본 발명에서는 루미넌스의 변화에 따라 칼라값을 변화시켜 칼라 보상을 행한다. 한편, 수학식 11 내지 수학식 13은 수학식 17의 결과를 이용하면 아래 수학식 18 내지 수학식 20으로 나타낼 수 있다.This means that the ratio of change of luminance changes to the ratio of change of color, so that color compensation is performed by changing the color value according to the change of luminance. Equation (11) to Equation (13) can be expressed by the following Equations (18) to (20) using the results of Equation (17).
[수학식 18]&Quot; (18) "
[수학식 19]&Quot; (19) "
[수학식 20]&Quot; (20) "
결론적으로, C'는 다음과 같이 얻을 수 있다.In conclusion, C 'can be obtained as follows.
[수학식 21]&Quot; (21) "
C' = (R', G', B')C '= (R', G ', B')
[수학식 22]&Quot; (22) "
= (kR, kG, kB)= (kR, kG, kB)
여기서, k=Y'/Y이고, 이것은 원래의 루미넌스 신호와 결과 루미넌스 신호 사이의 비이다. 위 수학식 22의 결과를 이용하여 다른 칼라 시스템의 칼라 보상도 쉽게 행할 수 있다. 즉, 예를 들어, 주어진(Y, U, V)신호는 위 수학식 22에 주어진 칼라보상의 결과로서 다음 수학식 22 내지 수학식 28에 도시된 바와 같이 (kY, kU, kV)로 변환되어야 한다.Where k = Y '/ Y, which is the ratio between the original luminance signal and the resulting luminance signal. Using the result of Equation (22), color compensation of other color systems can be easily performed. That is, for example, a given (Y, U, V) signal should be converted to (kY, kU, kV) as shown in the following equations 22 to 28 as a result of the color compensation given in equation do.
[수학식 23]&Quot; (23) "
U' = a21R' + a22G' + a23B'U '= a 21 R' + a 22 G '+ a 23 B'
[수학식 24]&Quot; (24) "
= k(a21R + a22G + a23B) = K (a 21 R + a 22 G + a 23 B)
[수학식 25]&Quot; (25) "
= kU= kU
그리고,And,
[수학식 26]&Quot; (26) "
V' = a31R' + a32G' + a33B'V '= a 31 R' + a 32 G '+ a 33 B'
[수학식 27]&Quot; (27) "
k(a31R + a32G + a33B)k (a 31 R + a 32 G + a 33 B)
[수학식 28]&Quot; (28) "
= kV= kV
이제, 상술한 칼라 보상 방법에 의한 칼라 포화(saturation)를 막기 위하여, 다음의 칼라 보상의 가정이 더 고려된다. 루미넌스 비는 k로 주어지고, 도 4에 도시된 보상 라인 (R', G', B')=k(R, G, B)에 의해 칼라 보상을 할 경우, b(=Max/k)레벨과 최대(Max)레벨사이의 칼라신호는 최대값(Max)으로 보상되고, 이것은 포화됨을 내포한다. 왜냐하면 b와 Max사이의 칼라는 상술한 보정방법에 의하면 결과적으로 Max로 맵핑되어 서로 구별이 되지 않기 때문이다. 이 칼라 포화를 막기 위해서, 보상라인 (R, G', B')=k(R, G, B)을 a(=lb)레벨과 최대(Max)레벨사이의 칼라를 위한 보상라인을 (R', G', B')=A(R, G, B)+K으로 근사한다. 여기서, 0 1이고, A와 수학식 29 및 수학식 30과 같이 나타낼 수 있다.Now, in order to prevent color saturation by the above-described color compensation method, the following assumption of color compensation is further considered. The luminance ratio is given by k. When the color compensation is performed by the compensation lines (R ', G', B ') = k (R, G, B) shown in FIG. 4, And the maximum (Max) level is compensated with the maximum value Max, which implies saturation. This is because the color between b and Max is mapped to Max as a result of the above-described correction method and can not be distinguished from each other. In order to prevent this color saturation, a compensation line for a color between a (= lb) level and a maximum (Max) level is set as a compensation line (R, G ', B' ', G', B ') = A (R, G, B) + K. Here, 0 1, which can be expressed as A, (29), and (30).
[수학식 29]&Quot; (29) "
그리고,And,
[수학식 30]&Quot; (30) "
위의 칼라 보상 방법을 수행하는 칼라 보상 회로에 대하여 도 5 내지 도 7을 결부시켜 설명하기로 한다.The color compensation circuit for performing the above color compensation method will be described with reference to FIGS. 5 to 7. FIG.
도 5는 본 발명에 의한 칼라 보상을 갖는 Y-처리를 근거로 한 칼라 처리 회로의 블럭도로서, Y에서 만들어진 변화는 다른 칼라 성분 U,V로 피드입력되는 구성이다.FIG. 5 is a block diagram of a color processing circuit based on Y-processing with color compensation according to the present invention, in which a change made in Y is input to the other color components U and V as feeds.
도 5에 있어서, RGB/YUV 변환기(31)는 입력되는 RGB신호를 YUV로 변환한다. Y 처리기(32)는 RGB/YUV 변환기(31)로부터 출력되는 Y신호를 소정의 처리에 의해 Y'로 변환해서 칼라 보상기(33)에 피드백입력한다. 여기서, 소정의 처리는 화면에 적응하는 비디오신호의 개선을 위한 처리로서 히스토그램 등화를 이용한 콘트라스트 개선, 노이즈 감소 그리고 이득제어등이 될 수 있다.In Fig. 5, the RGB / YUV converter 31 converts the input RGB signal into YUV. The Y processor 32 converts the Y signal output from the RGB / YUV converter 31 into Y 'by a predetermined process and feeds back the Y signal to the color compensator 33. Here, the predetermined processing may be a contrast enhancement using a histogram equalization, a noise reduction, a gain control, or the like as a process for improving a video signal adapted to a screen.
칼라 보상기(33)는 RGB/YUV 변환기(31)로부터 출력되는 YUV신호와 Y 처리기(32)로부터 출력되는 Y' 신호를 입력하여 Y변화에 따라 UV신호를 변화시켜 U V'신호를 출력한다.The color compensator 33 receives the YUV signal output from the RGB / YUV converter 31 and the Y 'signal output from the Y processor 32, and changes the UV signal according to the Y change to output the U V' signal.
YUV/RGB 변환기(34)에서는 Y 처리기(32)로부터 출력되는 Y'신호와 칼라 보상기(33)로부터 출력되는 U' V'신호를 입력하여 역변환에 의해 결과 칼라신호(R', G', B')를 출력한다.The YUV / RGB converter 34 receives the Y 'signal output from the Y processor 32 and the U' V signal output from the color compensator 33 and outputs the resulting color signals R ', G', B ').
도 6은 도 5에 도시된 칼라 보상기(33)의 상세회로도이다.FIG. 6 is a detailed circuit diagram of the color compensator 33 shown in FIG.
도 6에 있어서, 연산기(33.1)는 도 5의 RGB/YUV 변환기(31)로부터 출력되는 Y신호와 Y 처리기(32)로부터 출력되는 Y' 신호간의 비(k) 즉, Y'/Y를 연산한다. 제1승산기(33.2)는 RGB/YUV 변환기(31)로부터 출력되는 U신호와 연산기(33.1)로부터 출력되는 비(k)를 승산해서 U'신호를 출력한다. 제2 승산기(33.3)는 RGB/YUV 변환기(31)로부터 출력되는 V신호와 연산기(33.1)로부터 출력되는 비(k)를 승산해서 V'신호를 출력한다.6, the operator 33.1 calculates a ratio (k) between Y signal output from the RGB / YUV converter 31 and Y 'signal output from the Y processor 32, that is, Y' / Y do. The first multiplier 33.2 multiplies the U signal output from the RGB / YUV converter 31 by the ratio k output from the computing unit 33.1 and outputs a U 'signal. The second multiplier 33.3 multiplies the V signal output from the RGB / YUV converter 31 by the ratio k output from the calculator 33.1 and outputs the V 'signal.
도 7은 도 5에 도시된 칼라 보상기(33)의 다른 상세회로도이다.FIG. 7 is another detailed circuit diagram of the color compensator 33 shown in FIG.
도 7에 있어서, 연산기(33.4)는 도 5의 RGB/YUV 변환기(31)로부터 출력되는 Y신호와 Y 처리기(32)로부터 출력되는 Y'신호간의 비(k) 즉, Y'/Y를 연산한다. 제1 근사치 조정기(33.5)와 제2 근사치 조정기(33.6)는 도 4에 도시된 근사화된 보상라인으로 칼라 포화를 막기 위한 것이다.7, the operator 33.4 calculates a ratio (k) between Y signal outputted from the RGB / YUV converter 31 of FIG. 5 and Y 'signal outputted from the Y processor 32, that is, Y' / Y do. The first approximation adjuster 33.5 and the second approximation adjuster 33.6 are for preventing color saturation with the approximated compensating line shown in FIG.
제1근사치 조정기(33.5)는 도 5의 RGB/YUV 변환기(31)로부터 출력되는 U신호, 연산기(33.4)로부터 출력되는 비(k), 파라미터(l)를 입력해서 도 4에 도시된 바와 같이 최소레벨에서 a(=lb)레벨까지는 보상라인 (R', G, B')=k(R, G, B)에 의해 보상된 U'신호를 출력하고, a레벨에서 최대(Max)레벨까지는 근사화된 보상라인(R', G', B')=A(R, G, B)+K에 의해 보상된 U' 신호를 출력한다.The first approximate value adjuster 33.5 inputs the U signal output from the RGB / YUV converter 31 of FIG. 5, the ratio k output from the operator 33.4, and the parameter 1, The U 'signal compensated by the compensation lines (R', G and B ') = k (R, G, B) is output from the minimum level to the a (= lb) And outputs the U 'signal compensated by the approximated compensation lines (R', G ', B') = A (R, G, B) + K.
이때, 파리미터(l)의 값에 의해 보상라인 (R', G', B')=k(R, G, B)에 의해 보상할 수도 있고, 근사화된 보상라인 (R', G', B')=A(R, G, B)+K에 의해 보상할 수도 있다. 즉, l=1이면 보상라인 (R', G', B')=k(R, G, B)에 의해 보상하고, l=0이면 근사화된 보상라인 (R', G', B')=A(R, G, B)에 의해 보상하고, 0 < 1 < 1이면, 최소레벨에서 a(=lb)레벨까지는 보상라인 (R', G', B')=k(R, G, B)에 의해 보상하고, a레벨에서 최대(Max)레벨까지는 근사화된 보상라인 (R', G', B')=A(R, G, B)+K에 의해 보상한다.G ', B') = k (R, G, B) according to the value of the parameter l and the compensated lines R ', G' ') = A (R, G, B) + K. That is, if l = 1, compensation is performed by the compensation lines R ', G', B '= k (R, G, B) (R ', G', B ') = k (R, G, B) from the minimum level to the a (R, G, B) = A (R, G, B) + K from the a level to the maximum level.
제2근사치 조정기(33.6)는 RGB/YUV 변환기(31)로부터 출력되는 V신호, 연산기(33.4)로부터 출력되는 비(k), 파라미터(l)를 입력해서 최소레벨에서 a레벨까지는 보상라인 (R', G', B')=k(R, G, B)에 의해 보상된 V'신호를 출력하고, a레벨에서 최대(Max)레벨까지는 근사화된 보상라인 (R', G', B')=A(R, G, B)+K에 의해 보상된 V'신호를 출력한다.The second approximate value adjuster 33.6 receives the V signal output from the RGB / YUV converter 31, the ratio k output from the calculator 33.4, and the parameter 1 to the compensation line R G ', B') = k (R, G, B) = k (R, G, B) ) = A (R, G, B) + K.
도 8은 본 발명에 의한 칼라 보상을 갖는 Y-처리를 근거로 한 칼라 처리회로의 다른 실시예에 따른 회로도로서, 위 수학식 22에 도시된 결과에 의한 Y-변화에 따른 R, G, B 보상방법을 구현하기 위한 회로도이다.8 is a circuit diagram according to another embodiment of the color processing circuit based on the Y-process with color compensation according to the present invention. The R, G, and B signals according to the Y- Circuit diagram for implementing the compensation method.
도 8에 잇어서, 매트릭스 회로(41)는 입력되는 RGB신호로부터 Y신호를 추출한다. Y 처리기(42)는 매트릭스회로(41)로부터 출력되는 Y신호를 소정의 처리에 의해 Y'로 변환한다.8, the matrix circuit 41 extracts the Y signal from the input RGB signal. The Y processor 42 converts the Y signal output from the matrix circuit 41 into Y 'by a predetermined process.
칼라 보상기(43)의 연산기(43.1)는 매트릭스 회로(41)로부터 출력되는 Y신호와 Y처리기(42)로부터 출력되는 Y'신호간의 비(k) 즉, Y'/Y를 연산한다.The arithmetic unit 43.1 of the color compensator 43 calculates the ratio k between the Y signal output from the matrix circuit 41 and the Y 'signal output from the Y processor 42, that is, Y' / Y.
제1 승산기 내지 제3 승산기(43.2-43.4)는 입력되는 RGB 각 칼라신호와 연산기(43.1)로부터 출력되는 비(k)를 각각 승산해서 출력 칼라신호 R' G' B'를 출력한다.The first to third multipliers 43.2-43.4 multiply the input RGB color signals by the ratio k output from the operator 43.1 to output the output color signal R 'G' B '.
여기서, 칼라 보상기(43)는 승산기 대신에 도 7에 도시된 바와 같이 근사치 조정기로 구성될 수 있다.Here, the color compensator 43 may be constituted by an approximation adjuster as shown in FIG. 7 instead of the multiplier.
본 발명의 칼라 보상 방법과 그 회로는 루미넌스 처리를 근거로 해서 칼라 신호를 처리하는 경우 루미넌스가 변화했을 때 그 변화에 따라 칼라 값을 변화시킴으로써 왜곡 없는 칼라신호를 제공할 수 있다.The color compensation method and its circuit of the present invention can provide a distortion-free color signal by changing a color value according to a change in luminance when a color signal is processed based on luminance processing.
Claims (32)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019960032067A KR100200610B1 (en) | 1996-07-31 | 1996-07-31 | Color compensation method and circuit due to luminance transform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019960032067A KR100200610B1 (en) | 1996-07-31 | 1996-07-31 | Color compensation method and circuit due to luminance transform |
Publications (2)
Publication Number | Publication Date |
---|---|
KR980013454A true KR980013454A (en) | 1998-04-30 |
KR100200610B1 KR100200610B1 (en) | 1999-06-15 |
Family
ID=19468498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019960032067A KR100200610B1 (en) | 1996-07-31 | 1996-07-31 | Color compensation method and circuit due to luminance transform |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100200610B1 (en) |
-
1996
- 1996-07-31 KR KR1019960032067A patent/KR100200610B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR100200610B1 (en) | 1999-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100509494B1 (en) | Method for color saturation adjustment in an RGB color system | |
US5841422A (en) | Method and apparatus for reducing the number of matrix operations when converting RGB color space signals to YCbCr color space signals | |
US5726682A (en) | Programmable color space conversion unit | |
US8064693B2 (en) | Methods of and apparatus for adjusting colour saturation in an input image | |
JP2969773B2 (en) | Color correction device | |
US6177962B1 (en) | Apparatus and method for preventing oversaturation of chrominance signals | |
US8340410B1 (en) | Intelligent saturation of video data | |
US6972793B1 (en) | Video signal processing device and its method | |
EP0217938B1 (en) | Apparatus and method for processing previously processed video signals | |
US4970595A (en) | Apparatus and method for processing video signals with key signals in accordance with previous processing of the video signals | |
EP0415350B1 (en) | Color-signal enhancing circuit | |
CA2284923C (en) | Contour emphasizing circuit | |
JPH06339017A (en) | Saturation emphasizing method and device for color picture | |
US7012719B1 (en) | Sign sensitive aperture correction system and method | |
JP2002176657A (en) | Edge achromatic circuit and its method | |
KR100404491B1 (en) | Gamma compensation apparatus | |
KR100200610B1 (en) | Color compensation method and circuit due to luminance transform | |
JP2001518248A (en) | Color legalization | |
JP2815474B2 (en) | Image processing device | |
EP1895781A1 (en) | Method of and apparatus for adjusting colour saturation | |
JP2995683B2 (en) | Color correction circuit for color video signals | |
JPH1079871A (en) | Gamma-correction circuit for tv image receiver | |
EP0197767A2 (en) | Video signal processing apparatus | |
EP1232653B1 (en) | Method and apparatus for enhancing green contrast of a color video signal | |
JP3641402B2 (en) | Color correction circuit and color correction method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20080228 Year of fee payment: 10 |
|
LAPS | Lapse due to unpaid annual fee |