KR960012598B1 - Digital color-space converting circuit - Google Patents

Digital color-space converting circuit Download PDF

Info

Publication number
KR960012598B1
KR960012598B1 KR1019930016216A KR930016216A KR960012598B1 KR 960012598 B1 KR960012598 B1 KR 960012598B1 KR 1019930016216 A KR1019930016216 A KR 1019930016216A KR 930016216 A KR930016216 A KR 930016216A KR 960012598 B1 KR960012598 B1 KR 960012598B1
Authority
KR
South Korea
Prior art keywords
signal
multiplier
output
decoder
register
Prior art date
Application number
KR1019930016216A
Other languages
Korean (ko)
Other versions
KR950007565A (en
Inventor
김성정
Original Assignee
대우전자 주식회사
배순훈
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 대우전자 주식회사, 배순훈 filed Critical 대우전자 주식회사
Priority to KR1019930016216A priority Critical patent/KR960012598B1/en
Publication of KR950007565A publication Critical patent/KR950007565A/en
Application granted granted Critical
Publication of KR960012598B1 publication Critical patent/KR960012598B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/67Circuits for processing colour signals for matrixing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The circuit comprises a decoder(10) for generating an enable signal, a luminance signal calculating unit(11) for calculating the signal and X,Y,Z component of input value(KA), the first color signal calculating unit(16,32,37) for calculating the signal(U/I) and X,Y,Z component of input value(KB), the second color signal calculating unit(KC) (22,37,52), the first adder(60) for generating R signal, the second adder(70) for generating G signal, and the third adder(80) for generating B signal.

Description

디지탈 색 공간 변환회로Digital Color Space Conversion Circuit

제1도는 종래의 디지탈 색 공간 변환회로를 나타낸 블록도.1 is a block diagram showing a conventional digital color space conversion circuit.

제2도는 본 발명에 따른 디지탈 색 공간 변환회로를 나타낸 블록도.2 is a block diagram showing a digital color space conversion circuit according to the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

10 : 복호기11 : 휘도 신호 승산부10 decoder 11 luminance signal multiplier

16,32,37 : U신호 승산부22,37,52 : V신호 승산부16,32,37: U signal multiplier 22,37,52: V signal multiplier

60,70,80 : 가산기60,70,80: adder

본 발명은 디지탈 색 공간 변환회로에 관한 것으로, 더욱 상세하게는 매트릭스 방식을 유지하되 소자의 크기를 줄이는 디지탈 색 공간 변환회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital color space conversion circuit, and more particularly, to a digital color space conversion circuit that maintains a matrix method and reduces the size of a device.

일반적으로, 디지탈 색 공간 변환기(digital color space converter)는 매트릭스 구조로 되어 있다. 이러한 디지탈 색 공간 변환기는 휘도 신호(Y) 및 색 신호(U/I,V/Q)를 입력으로 받아 색 신호 R, G, B로 변환하여 출력하는 기능을 갖는다.In general, digital color space converters have a matrix structure. The digital color space converter has a function of receiving the luminance signal Y and the color signals U / I, V / Q as inputs and converting them into color signals R, G, and B.

즉, 입력 데이타를 휘도 신호(Y) 색 신호(U,V)라고 하고, 변환에 필요한 계수를 KAX, KAY, KAZ, KBX, KBY, KBZ, KCX, KCY, KCZ라 하면 출력 R, G, B는 다음과 같이 나타낼 수 있다.In other words, if the input data is referred to as the luminance signal (Y) color signal (U, V), and the coefficients required for conversion are KAX, KAY, KAZ, KBX, KBY, KBZ, KCX, KCY, KCZ, the output R, G, B Can be expressed as:

R=Y*KAX+U*KBX+V*KCX(1)R = Y * KAX + U * KBX + V * KCX (1)

G=Y*KAY+U*KBY+V*KCY(2)G = Y * KAY + U * KBY + V * KCY (2)

B=Y*KAZ+U*KBZ+V*KCZ(3)B = Y * KAZ + U * KBZ + V * KCZ (3)

제1도에는 종래의 디지탈 색 공간 변환회로를 나타내는 블럭도가 도시된다.1 is a block diagram showing a conventional digital color space conversion circuit.

제1도는 상기 식(1), (2), (3)을 회로로 구현한 것으로, 데이타를 홀딩하거나 로드하기 위해 인에이블 신호를 출력하는 복호기(10)와, 상기 복호기(10)의 인에이블 신호에 따라 휘도 신호(Y)와 X성분의 계수(KAX)를 송신하는 제1휘도 신호 승산부(11)와, 상기 복호기(10)의 인에이블 신호에 따라 휘도 신호(Y)와 Y성분의 계수(KAY)를 승산하는 제2휘도 신호 승산부(16)와, 상기 복호기(10)의 인에이블 신호에 따라 휘도 신호(Y)와 Z성분의 계수(KAZ)를 승산하는 제3휘도 신호 승산부(21)와, 상기 복호기(10)의 인에이블 신호에 따라 U신호와 X성분의 계수(KAX)를 승산하는 제1U신호 승산부(26)와, 상기 복호기(10)의 인에이블 신호에 따라 U신호와 Y성분의 계수(KAY)를 승산하는 제2U신호 승산부(31)와, 상기 복호기(10)의 인에이블 신호에 따라 U신호의 Z성분의 계수(KAZ)를 승산하는 제3U신호 승산부(36)와, 상기 복호기(10)의 인에이블 신호에 따라 V신호와 X성분의 계수(KAX)를 승산하는 제1V신호 승산부(41)와, 상기 복호기(10)의 인에이블 신호에 따라 V신호와 Y성분의 계수(KAY)를 승산하는 제2V신호 승산부(46)와, 상기 복호기(10)의 인에이블 신호에 따라 V신호와 Z성분의 계수(KAZ)를 승산하는 제3V신호 승산부(51)와, 상기 제1 내지 제3휘도 신호 승산부(11,16,21)의 출력을 가산하는 제1가산기(60)와, 상기 제1가산기(60)의 출력을 일시 래치하는 레지스터(65)와, 상기 제1 내지 제3U신호 승산부(26,31,36)의 출력을 가산하는 제2가산기(70)와, 상기 제2가산기(70)의 출력을 일시 래치하는 레지스터(75)와, 상기 제1 내지 제3V신호 승산부(41,46,51)의 출력을 가산하는 제3가산기(80)와, 상기 제3가산기(80)의 출력을 일시 래치하는 레지스터(85)로 구성된다.1 is a circuit of the equations (1), (2), and (3). The decoder 10 outputs an enable signal to hold or load data, and the enable of the decoder 10. The first luminance signal multiplier 11 for transmitting the luminance signal Y and the coefficient KAX of the X component in accordance with the signal, and the luminance signal Y and the Y component in accordance with the enable signal of the decoder 10. A second luminance signal multiplier 16 that multiplies the coefficient KAY, and a third luminance signal multiplier that multiplies the luminance signal Y and the coefficient KAZ of the Z component according to the enable signal of the decoder 10. The first U signal multiplier 26 multiplying the U signal by the coefficient KAX of the X component according to the enable signal of the decoder 10, and the enable signal of the decoder 10. The second U signal multiplier 31 multiplying the U signal and the coefficient KAY of the Y component, and the third U multiplying the coefficient KAZ of the Z component of the U signal according to the enable signal of the decoder 10. God A multiplier 36, a first V signal multiplier 41 for multiplying the V signal and the coefficient KAX of the X component according to the enable signal of the decoder 10, and the enable signal of the decoder 10. The second V signal multiplier 46 multiplies the V signal and the coefficient KAY of the Y component according to the second signal and the coefficient KAZ of the Z component and the Z component according to the enable signal of the decoder 10. The output of the 3 V signal multiplier 51, the first adder 60 for adding the outputs of the first to third luminance signal multipliers 11, 16, 21, and the first adder 60 is temporarily suspended. Temporarily latches the output of the second adder 70 and the second adder 70 that adds the register 65 to latch, the outputs of the first to third U signal multipliers 26, 31, and 36. A register 75, a third adder 80 for adding the outputs of the first to third V signal multipliers 41, 46, and 51, and a register for temporarily latching the output of the third adder 80 ( 85).

또한 상기 제1휘도 신호 승산부(11)는, 인에이블단으로 상기 복호기(10)로부터 인에이블 신호를 제공받고 입력단으로 계수 KA를 제공받아 X성분의 계수값을 출력하는 레지스터(12)와, 입력단으로 휘도 신호(Y)를 제공받는 레지스터(13)와, 상기 레지스터(12)의 인에이블단이 인에이블되면 상기 레지스터(12),(13)의 출력을 승산하는 가산기(14)와, 고속 동작을 위해 상기 승산기(14)와, 고속 동작을 위해 상기 승산기(14)의 출력을 일시 래치하는 레지스터(15)로 구성된다.In addition, the first luminance signal multiplier 11 is a register 12 for receiving the enable signal from the decoder 10 to the enable end and the coefficient KA to the input terminal and outputs the coefficient value of the X component, A register 13 for receiving the luminance signal Y at an input terminal, an adder 14 for multiplying the output of the registers 12 and 13 when the enable terminal of the register 12 is enabled, and The multiplier 14 for operation and a register 15 for temporarily latching the output of the multiplier 14 for high speed operation.

한편,상기 제2, 제3휘도 신호 승산부(16),(21)와 제1 내지 제3U신호 승산부(26,31,36) 및 제1 내지 제3V신호 승산부(41,46,51)의 구성은 입력되는 신호만 다를뿐 상기 제1휘도 신호 산부(11)의 구성과 동일하다.Meanwhile, the second and third luminance signal multipliers 16 and 21 and the first to third U signal multipliers 26, 31, and 36, and the first to third V signal multipliers 41, 46, and 51 ) Is the same as the configuration of the first luminance signal calculator 11 except that the input signal is different.

이와같이 구성된 제1도에서, 입력 데이타 Y는 레지스터(13,28,43)에 입력되고, U는 레지스터(18,33,48)에 입력되며, V는 레지스터(23,38,53)에 각각 입력된다.In FIG. 1 configured in this manner, input data Y is input into registers 13, 28, and 43, U is input into registers 18, 33, and 48, and V is input into registers 23, 38, and 53, respectively. do.

그리고, 계수 KA는 레지스터(12,27,42)에 입력되고, 계수 KB는 레지스터(17,32,47)에 입력되며, 계수 KC는 레지스터(22,37,52)는 입력된다. 이때, 상기 레지스터들(12,17,22,27,32,37,42,47,52)은 복호기(10)로부터 출력되는 인에이블 값에 따라 인에이블되어 승산기에 해당 계수의 데이타를 출력한다.The coefficient KA is input to the registers 12, 27 and 42, the coefficient KB is input to the registers 17, 32 and 47, and the coefficient KC is input to the registers 22, 37 and 52. In this case, the registers 12, 17, 22, 27, 32, 37, 42, 47, and 52 are enabled according to the enable value output from the decoder 10 to output data of a corresponding coefficient to the multiplier.

즉, 인에이블 값은 상기 복호기(10)에서 출력되는데 상기 복호기(10)의 출력값이 1일때는 레지스터(12,17,22)가 인에이블되고, 10일때는 레지스터(27,32,37)가 인에이블되며, 11일때는 레지스터(42,47,52)가 인에이블되어 입력된 계수를 출력하고 그 이외에는 홀딩 상태로 있게 된다.That is, the enable value is output from the decoder 10. When the output value of the decoder 10 is 1, the registers 12, 17, 22 are enabled, and when 10, the registers 27, 32, 37 are When enabled, at 11, registers 42, 47, and 52 are enabled to output the input coefficients and otherwise remain in the holding state.

또한, 상기 복호기(10)의 출력값이 0일 경우에 상기 레지스터들(12,17,22,27,32,37,42,47,52)은 모두 홀딩 상태에 있다.In addition, when the output value of the decoder 10 is 0, all of the registers 12, 17, 22, 27, 32, 37, 42, 47, and 52 are in a holding state.

따라서, 각각 3성분으로 되어 있는 입력 계수 KA, KB, KC는 상기 복호기(10)의 출력에 따라 레지스터(12,17,22,27,32,37,42,47,52)에 KAX, KAY, KAZ, …KCX,KCY,KCZ 를 로딩하게 된다.Therefore, the input coefficients KA, KB, and KC, each of which has three components, correspond to KAX, KAY, and K registers in the registers 12, 17, 22, 27, 32, 37, 42, 47, and 52 according to the output of the decoder 10. KAZ,… It will load KCX, KCY and KCZ.

그리고 나서, 상기 복호기(10)의 출력에 따라 로딩된 계수와 입력된 데이타를 승산기에서 승산을 한다. 즉, 상기 복호기(10)의 출력이 1이어서 제1휘도 신호 승산부(11)의 레지스터(12)와 제1U신호 승산부(16)의 레지스터(17)와 제1V신호 승산부(21)의 레지스터(22)가 인에이블되면, 상기 제1휘도 신호 승산기(11)의 승산기(14)에서는 레지스터(12)에서 출력되는 계수(KAX)와 레지스터(13)에서 출력되는 휘도 신호(Y)를 승산한 후(KAX*Y), 고속동작을 위해 파이프 라이닝 레지스터(15)에 일시 래치시킨다.Then, the loaded coefficient and the input data are multiplied by the multiplier according to the output of the decoder 10. That is, since the output of the decoder 10 is 1, the register 12 of the first luminance signal multiplier 11 and the register 17 of the first U signal multiplier 16 and the first V signal multiplier 21 When the register 22 is enabled, the multiplier 14 of the first luminance signal multiplier 11 multiplies the coefficient KAX output from the register 12 and the luminance signal Y output from the register 13. After that (KAX * Y), the pipe lining register 15 is temporarily latched for high speed operation.

그리고 상기 제1U신호 승산부(16)의 승산기(19)에서는 레지스터(17)에서 출력되는 계수(KBX)와 레지스터(18)에서 출력되는 색 신호(U)를 승산한 후(KBX*U), 고속 동작을 위해 파이프 라이닝 레지스터(20)에 일시 래치시킨다.The multiplier 19 of the first U signal multiplier 16 multiplies the coefficient KBX output from the register 17 by the color signal U output from the register 18 (KBX * U), Temporarily latches in pipe lining register 20 for high speed operation.

또한, 상기 제1V신호 승산부(21)의 승산기(24)에서는 레지스터(22)에서 출력되는 계수(KCX)와 레지스터(23)에서 출력되는 색 신호(V)를 승산한 후(KCX*V), 고속 동작을 위해 파이프 라이닝 레지스터(25)에 역시 일시 래치시킨다.The multiplier 24 of the first V signal multiplier 21 multiplies the coefficient KCX output from the register 22 and the color signal V output from the register 23 (KCX * V). It is also temporarily latched in the pipe lining register 25 for high speed operation.

그리고 나서, 가산기(60)에서 상기 제1휘도 신호 승산부(11)의 레지스터(15)의 출력(KAX*Y)과, 제1U신호 승산부(16)의 레지스터(20)의 출력(KBX*U)과 제1V신호 승산부(21)의 레지스터(25)의 출력(KCX*V)를 가산한다(Y*KAX+V*KBX+V*KCX).Then, the adder 60 outputs the output of the register 15 of the first luminance signal multiplier 11 (KAX * Y) and the output of the register 20 of the first U signal multiplier 16 (KBX *). U) and the output (KCX * V) of the register 25 of the first V signal multiplier 21 are added (Y * KAX + V * KBX + V * KCX).

그리고, 상기 가산기(60)의 출력은 파이프 라이닝을 위한 레지스터(65)를 통해 R신호로서 출력된다.The output of the adder 60 is output as an R signal through a register 65 for pipe lining.

한편, 상기 복호기(10)로부터 10이 출력되면 가산기(70)에서 제2휘도 신호 승산부(26)의 출력(KAY*Y)과 제2U신호 승산부(31)의 출력(KBY*U)과 제2V신호 승산부(37)의 출력(KCY*V)이 가산된 후 파이프 라이닝을 위한 레지스터(75)를 통해 G신호로서 출력된다.On the other hand, when 10 is output from the decoder 10, the adder 70 outputs the output of the second luminance signal multiplier 26 (KAY * Y) and the output of the second U signal multiplier 31 (KBY * U) and The output (KCY * V) of the second V signal multiplier 37 is added and then output as a G signal through the register 75 for pipe lining.

또한, 상기 복호기(10)로부터 11이 출력되면 가산기(80)에서 제3휘도 신호 승산부(41)의 출력(KAZ*Y)과 제3U신호 승산부(46)의 출력(KBZ*U)과 제3V신호 승산부(51)의 출력(KCZ*V )이 가산된 후 파이프 라이닝을 위한 레지스터(85)를 통해 B신호로서 출력된다.In addition, when 11 is output from the decoder 10, the adder 80 outputs the output of the third luminance signal multiplier 41 (KAZ * Y) and the output of the third U signal multiplier 46 (KBZ * U) and The output KCZ * V of the third V signal multiplier 51 is added and then output as a B signal through a register 85 for pipe lining.

전술한 바와 같이 상기와 같은 동작은, 입력 데이타 Y, U, V에 일정한 계수를 곱하여 R, G, B로 변환하기 위한 것으로서 변환식 및 변환 계수는 다음과 같이 상기 식(1), (2) 및 (3)과 같다.As described above, the above operation is to multiply the input data Y, U, and V by constant coefficients to convert them to R, G, and B. The conversion equations and conversion coefficients are expressed by the following equations (1), (2) and Same as (3).

R=KAX*Y+KBX*U+KCX*V(1)R = KAX * Y + KBX * U + KCX * V (1)

G=KAY*Y+KBY*U+KCY*V(2)G = KAY * Y + KBY * U + KCY * V (2)

B=KAZ*Y+KBZ*U+KCZ*V(3)B = KAZ * Y + KBZ * U + KCZ * V (3)

이때, 상기 색 신호 U, V 대신 I, Q를 사용할 수도 있다.In this case, I and Q may be used instead of the color signals U and V. FIG.

그리고, 다음의 [표 1] 는 복호기(10)로 입력되는 SEL[1 : 0]의 값에 따른 계수의 로딩/홀딩 상태도를 나타낸다.Table 1 below shows a loading / holding state diagram of coefficients according to the values of SEL [1: 0] input to the decoder 10.

[표 1]TABLE 1

또한, 입력신호 Y, U/I, V/Q를 R, G, B로 변환하는데 사용한 색 공간 변환 계수는 다음의 [표 2]와 같다.In addition, the color space conversion coefficients used to convert the input signals Y, U / I, V / Q into R, G, and B are shown in Table 2 below.

[표 2]TABLE 2

여기서, 2와 3으로 시작하는 숫자는 2의 보수를 나타내고, 모든 숫자는 10비트 16진수를 나타낸다.Here, numbers starting with 2 and 3 represent two's complement and all numbers represent 10-bit hexadecimal numbers.

전술한 바와 같이 디지탈 색 공간 변환기는 YUV, YIQ, RGB등의 색 성분을 변환해야 하는 장비, 즉, 카메라, 영상 획득/처리 및 저장 장치, 카메라와 모니터등과 같은 시스템간의 컬러 매칭장비등에 많이 사용되고 있다.As described above, the digital color space converter is widely used for equipment that needs to convert color components such as YUV, YIQ, RGB, etc., color matching equipment between systems such as cameras, image acquisition / processing and storage devices, cameras and monitors, and the like. have.

그리고, 상기와 같은 장비들은 사용자의 편리성을 도모하기 위하여 가능한 한 그 크기를 소형화는 물론 경량화가 요구된다.In addition, such equipment is required to be as small as possible and light in size to facilitate user convenience.

따라서, 본 발명의 목적은 입력 계수 KAX,KAY,KAZ가 항상 동일한 값으로 입력되는 것을 이용하여 승산기 및 레지스터의 수를 줄임으로써 매트릭스 구조를 이용하되, 소자의 크기를 줄여 제품의 크기를 소형화시키는 디지탈 색 공간 변환회로를 제공하는데 있다.Accordingly, an object of the present invention is to use a matrix structure by reducing the number of multipliers and registers by using the input coefficients KAX, KAY, and KAZ are always input to the same value, but to reduce the size of the device to reduce the size of the product digital To provide a color space conversion circuit.

전술한 바와 같은 목적을 달성하기 위한 본 발명에 따른 디지탈 색 공간 변환 회로의 특징은, 데이타를 홀딩하거나 로드하기 위한 인에이블 신호를 출력하는 복호기와, 상기 복호기의 인에이블 신호에 따라 휘도 신호(Y)와 입력 계수(KA)의 K,Y,Z성분을 각각 승산하기 위한 휘도 신호 승산부와, 상기 복호기의 인에이블 신호에 따라 색 신호(U/I)와 입력 계수(KB)의 X,Y,Z성분을 각각 승산하기 위한 제1색 신호 승산부와, 상기 복호기의 인에이블 신호에 따라 색 신호(V/Q)와 입력 계수(KC)의 X,Y,Z성분을 각각 승산하기 위한 제2색 신호 승산부와, 상기 Y,U/I,V/Q와 입력 계수값 KAX,KBX,KCX의 승산 결과를 가산하여 R신호로 출력하는 제1가산기와, 상기 Y,U/I,V/Q와 입력 계수값 KAY,KBY,KCY의 승산 결과를 가산하여 G신호로 출력하는 제2가산기와, 상기 Y,U/I,V/Q와 입력 계수값 KAZ,KBZ,KCZ의 승산 결과를 가산하여 B신호로 출력하는 제3가산기로 구성된 디지탈 색 공간 변환회로에 있어서, 상기 휘도 신호 승산부는 입력 계수(KA)와 휘도 신호(Y)를 승산하기 위한 하나의 승산기와 파이프 라이닝을 위한 소정의 레지스터로 구성되어, 상기 복호기로부터 제공되는 인에이블 값에 따라 입력 계수(KA)의 X,Y,Z성분과 휘도 신호(Y)의 승산결과를 출력하는데 있다.A feature of the digital color space conversion circuit according to the present invention for achieving the above object is a decoder for outputting an enable signal for holding or loading data, and a luminance signal Y in accordance with the enable signal of the decoder. ) And a luminance signal multiplier for multiplying the K, Y, and Z components of the input coefficient KA, and the X, Y of the color signal U / I and the input coefficient KB according to the enable signal of the decoder. And a first color signal multiplier for multiplying the Z components, and a multiplier for multiplying the X, Y, and Z components of the color signal V / Q and the input coefficient KC according to the enable signal of the decoder. A two-color signal multiplier, a first adder for adding the multiplication result of the Y, U / I, V / Q and the input coefficient values KAX, KBX, KCX and outputting it as an R signal, and the Y, U / I, V A second adder for adding a multiplication result of / Q with the input coefficient values KAY, KBY, KCY and outputting the result as a G signal, and the Y, U / I, V / Q and input coefficient values KAZ, KBZ, K In a digital color space conversion circuit comprising a third adder for adding a multiplication result of CZ and outputting the result as a B signal, the luminance signal multiplier includes a multiplier and a pipe for multiplying the input coefficient KA and the luminance signal Y. It is composed of a predetermined register for lining and outputs a multiplication result of the X, Y, Z components of the input coefficient KA and the luminance signal Y in accordance with the enable value provided from the decoder.

이하, 본 발명에 따른 디지탈 색 공간 변환 회로의 바람직한 일 실시예에 대하여 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, a preferred embodiment of a digital color space conversion circuit according to the present invention will be described in detail with reference to the accompanying drawings.

제2도는 본 발명에 따른 디지탈 색 공간 변환회로를 나타낸 블럭도로서, 입력 계수 KA와 휘도 신호(Y)를 제공받는 제1 내지 제3 휘도 신호 승산부가 하나의 휘도 신호 승산부(11)로 축소된 것을 제외하고는 전술한 종래의 제1도와 동일하다.2 is a block diagram showing a digital color space conversion circuit according to the present invention, in which first to third luminance signal multipliers receiving an input coefficient KA and a luminance signal Y are reduced to one luminance signal multiplier 11. Except for the above, the same as in the conventional first embodiment described above.

즉, 상기 [표 2]와 같이 YIQ또는 YUV로부터 RGB로의 변환 계수중 KA의 X,Y,Z성분의 값이 모두 같다. 따라서, 상기 제1도의 제2, 제3휘도 신호 승산부를 구성하는 승산기 2개와 파이프 라이닝을 위한 일련의 레지스터를 사용하지 않아도 동일한 동작을 하게 된다.That is, as shown in [Table 2], the values of the X, Y, and Z components of KA are the same among the conversion coefficients from YIQ or YUV to RGB. Accordingly, the same operation is performed without using two multipliers constituting the second and third luminance signal multipliers of FIG. 1 and a series of registers for pipe lining.

따라서, 제2도에서는, 상기 복호기(10)의 출력이 1이면 휘도 신호 승산부(11)의 레지스터(12)와 제1U신호 승산부(16)의 레지스터(17)와 제1V신호 승산부(21)의 레지스터(22)가 인에이블되어, 상기 휘도 신호 승산부(11)의 승산기(14)에서는 레지스터(12)에서 출력되는 계수(KAX)와 레지스터(13)에서 출력되는 휘도신호(Y)를 승산한 후(KAX*Y), 고속 동작을 위해 파이프 라이닝 레지스터(15)에 일시 래치시킨다.Accordingly, in FIG. 2, when the output of the decoder 10 is 1, the register 12 of the luminance signal multiplier 11 and the register 17 of the first U signal multiplier 16 and the first V signal multiplier ( The register 22 of 21 is enabled, and the multiplier 14 of the luminance signal multiplier 11 outputs the coefficient KAX output from the register 12 and the luminance signal Y output from the register 13. After multiplying by (KAX * Y), the pipe lining register 15 is temporarily latched for high speed operation.

그리고, 상기 제1U신호 승산부(16)의 승산기(19)에서는 레지스터(17)에서 출력되는 계수(KBX)와 레지스터(18)에서 출력되는 색 신호(U)를 승산한 후(KBX*U), 고속 동작을 위해 파이프 라이닝 레지스터(20)에 일시 래치시킨다.The multiplier 19 of the first U signal multiplier 16 multiplies the coefficient KBX output from the register 17 by the color signal U output from the register 18 (KBX * U). It is temporarily latched in the pipe lining register 20 for high speed operation.

또한, 상기 제1V신호 승산부(21)의 승산기(24)에서는 레지스터(22)에서 출력되는 계수(KCX)와 레지스터(23)에서 출력되는 색 신호(V)를 승산한 후(KCX*V), 고속 동작을 위해 파이프 라이닝 레지스터(25)에 일시 래치시킨다.The multiplier 24 of the first V signal multiplier 21 multiplies the coefficient KCX output from the register 22 and the color signal V output from the register 23 (KCX * V). Temporarily latches in pipe lining register 25 for high speed operation.

그리고 나서, 가산기(60)에서 상기 제1휘도 신호 승산부(11)의 레지스터(15)의 출력(KAX*Y)과 제1U신호 승산부(16)의 레지스터(20)의 출력(KBX*U)과 제1V신호 승산부(21)의 레지스터(25)의 출력(KCX*Y)를 가산한다(Y*KAX+U*KBX+V*KCX).Then, the adder 60 outputs the output of the register 15 of the first luminance signal multiplier 11 (KAX * Y) and the output of the register 20 of the first U signal multiplier 16 (KBX * U). ) And the output (KCX * Y) of the register 25 of the first V signal multiplier 21 (Y * KAX + U * KBX + V * KCX).

그리고, 상기 가산기(60)의 출력은 파이프 라이닝을 위한 레지스터(65)를 통해 R신호로서 출력된다.The output of the adder 60 is output as an R signal through a register 65 for pipe lining.

이때, 상기 휘도 신호 승산부(11)에서 출력되는 계수 KAX,KAY,KAZ가 모두 동일한 값이므로 Y신호를 R신호로 변환할때는 즉, 상기 복호기(10)의 출력이 01일때는 상기 휘도 신호 승산부(11)의 레지스터(12)는 계수 KAX 를 출력하고, U또는 I신호를 G신호로 변환할때는 즉, 상기 복호기(10)의 출력이 10일때는 상기 레지스터(12)는 계수 KAY를 출력하며, V 또는 Q신호를 B신호로 변환할 때 즉, 상기 복호기(10)의 출력이 11일때는 상기 레지스터(12)는 계수 KAZ를 출력한다고 하자.In this case, since the coefficients KAX, KAY, and KAZ output from the luminance signal multiplier 11 are all the same value, when the Y signal is converted into an R signal, that is, when the output of the decoder 10 is 01, the luminance signal multiplier The register 12 of (11) outputs the coefficient KAX, and when the U or I signal is converted to the G signal, that is, when the output of the decoder 10 is 10, the register 12 outputs the coefficient KAY, When the V or Q signal is converted to the B signal, that is, when the output of the decoder 10 is 11, the register 12 outputs the coefficient KAZ.

그러면, 상기 복호기(10)로부터 10이 출력되는 가산기(70)에서 상기 휘도 신호 승산부(11)의 출력(KAY*Y)과 제2U신호 승산부(31)의 출력(KBY*U)과 제2V신호 승산부(37)의 출력(KCY*V)이 가산된후 파이프 라이닝을 위한 레지스터(75)를 통해 G신호로서 출력된다.Then, the adder 70 outputting 10 from the decoder 10 outputs the output of the luminance signal multiplier 11 (KAY * Y) and the output of the second U signal multiplier 31 (KBY * U). After the output KCY * V of the 2V signal multiplier 37 is added, it is output as a G signal through the register 75 for pipe lining.

또한, 상기 복호기(10)로부터 11이 출력되면 가산기(80)에서 상기 휘도 신호 승산부(11)의 출력(KAZ*Y)과 제3U신호 승산부(46)의 출력(KBZ*U)와 제3V신호 승산부(51)의 출력(KCZ*V)이 가산된 후 파이프 라이닝을 위한 레지스터(85)를 통해 B신호로서 출력된다.In addition, when 11 is output from the decoder 10, the adder 80 outputs the output of the luminance signal multiplier 11 (KAZ * Y) and the output of the third U signal multiplier 46 (KBZ * U) and the first. After the output KCZ * V of the 3V signal multiplier 51 is added, it is output as a B signal through the register 85 for pipe lining.

따라서, 입력 데이타 Y,U/I,V/Q에 일정한 계수를 곱하여 R,G,B로 변환하는 변환식 및 변환 계수는 다음식과 같으며, 역시 종래와 동일하다.Therefore, the conversion equation and conversion coefficient for multiplying the input data Y, U / I, V / Q by a constant coefficient and converting them into R, G, and B are as follows.

R=KAX*Y+KBX*U+KCX*V(1)R = KAX * Y + KBX * U + KCX * V (1)

G=KAY*Y+KBY*U+KCY*V(2)G = KAY * Y + KBY * U + KCY * V (2)

B=KAZ*Y+KBZ*U+KCZ*V(3)B = KAZ * Y + KBZ * U + KCZ * V (3)

전술한 바와 같이 본 발명에 따른 디지탈 색 공간 변환 회로에 의하면, YIQ 또는 YUV로부터 RGB로의 변환 계수중 KA의 X,Y,Z성분의 값이 모두 같으므로 계수 KAX와 Y를 승산하기 위한 승산기와 파이프 라이닝을 위한 일련의 레지스터만을 사용하여 종래와 동일한 동작을 수행함으로써, 소자의 크기를 줄여 YUV,YIQ,RGB등의 색 성분을 변환해야 하는 장비 즉, 색 성분 변환 장치, 방송 장비, 시스템과 카메라 및 모니터 간의 색 조화 장치등의 소형화를 이루면서 경제성을 높이는 효과가 있다.As described above, according to the digital color space conversion circuit according to the present invention, the multipliers and pipes for multiplying the coefficients KAX and Y are equal because the values of the X, Y, and Z components of KA are the same among the conversion coefficients from YIQ or YUV to RGB. By performing the same operation as before using only a series of registers for lining, it is necessary to reduce the size of the device to convert color components such as YUV, YIQ, RGB, ie, color component converter, broadcasting equipment, system, camera and The economical efficiency is achieved by miniaturizing the color matching device between monitors.

Claims (1)

데이타를 홀딩하거나 로드하기 위해 인에이블 신호를 출력하는 복호기와, 상기 복호기의 인에이블 신호에 따라 휘도 신호(Y)와 입력 계수(KA)의 X,Y,Z성분을 각각 승산하기 위한 휘도 신호 승산부와, 상기 복호기의 인에이블 신호에 따라 색 신호(U/I)와 입력 계수(KB)의 X,Y,Z 성분을 각각 승산하기 위한 제1색 신호 승산부와, 상기 복호기의 인에이블 신호에 따라 색 신호(V/Q)와 입력 계수(KC)의 X,Y,Z성분을 각각 승산하기 위한 제2색 신호 승산부와, 상기 Y,U/I,V/Q와 입력 계수값 KAX,KBX,KCX의 승산 결과를 가산하여 R신호로 출력하는 제1가산기와, 상기 Y,U/I,V/Q와 입력 계수값 KAY,KBY,KCY의 승산 결과를 가산하여 G신호로 출력하는 제2가산기와, 상기 Y,U/I,V/Q와 입력 계수값 KAZ,KBZ,KCZ의 승산 결과를 가산하여 B 신호로 출력하는 제3가산기로 구성된 디지탈 색 공간 변환회로에 있어서, 상기 휘도 신호 승산부는 입력 계수(KA)와 휘도 신호(Y)를 승산하기 위한 하나의 승산기와 파이프 라이닝을 위한 소정의 레지스터로 구성되어, 상기 복호기로부터 제공되는 인에이블 값에 따라 입력 계수(KA)의 X,Y,Z성분과 휘도 신호(Y)의 승산 결과를 출력함을 특징으로 하는 디지탈 색 공간 변환 회로.A decoder that outputs an enable signal for holding or loading data, and a luminance signal multiplier for multiplying the luminance signal Y and the X, Y, and Z components of the input coefficient KA according to the enable signal of the decoder A first color signal multiplier for multiplying the X, Y, and Z components of the color signal (U / I) and the input coefficient (KB) according to the enable signal of the decoder, and the enable signal of the decoder A second color signal multiplier for multiplying the X, Y, and Z components of the color signal V / Q and the input coefficient KC according to And a first adder for adding the multiplication result of KBX, KCX and outputting it as an R signal, and adding the multiplication result of the Y, U / I, V / Q and input coefficient values KAY, KBY, KCY and outputting it as a G signal. A digital color space conversion circuit comprising a second adder and a third adder for adding the result of multiplication of the Y, U / I, V / Q and the input coefficient values KAZ, KBZ, KCZ and outputting the result as a B signal. The luminance signal multiplier comprises one multiplier for multiplying the input coefficient KA and the luminance signal Y and a predetermined register for pipelining, and according to the enable value provided from the decoder, Outputting a multiplication result of the X, Y, Z component of KA) and the luminance signal (Y).
KR1019930016216A 1993-08-20 1993-08-20 Digital color-space converting circuit KR960012598B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930016216A KR960012598B1 (en) 1993-08-20 1993-08-20 Digital color-space converting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930016216A KR960012598B1 (en) 1993-08-20 1993-08-20 Digital color-space converting circuit

Publications (2)

Publication Number Publication Date
KR950007565A KR950007565A (en) 1995-03-21
KR960012598B1 true KR960012598B1 (en) 1996-09-23

Family

ID=19361659

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930016216A KR960012598B1 (en) 1993-08-20 1993-08-20 Digital color-space converting circuit

Country Status (1)

Country Link
KR (1) KR960012598B1 (en)

Also Published As

Publication number Publication date
KR950007565A (en) 1995-03-21

Similar Documents

Publication Publication Date Title
JP3245171B2 (en) Method and apparatus for performing fast Hadamard transform
US20050249406A1 (en) Method and apparatus for RGB color conversion that can be used in conjunction with lossless and lossy image compression
US4916531A (en) Color video processing circuitry
US4668989A (en) Fading circuit for video signals
EP0517374A1 (en) Digital color matrixing circuit
GB2149538A (en) Digital multiplier
KR960012598B1 (en) Digital color-space converting circuit
EP0637797B1 (en) Calculation apparatus
JP2938115B2 (en) Color signal conversion circuit
KR100255868B1 (en) Multiplier for 2's complement complex number
KR960012599B1 (en) A ditial color-space converting circuit
US6453332B1 (en) Method and apparatus for performing plural matrix multiplication operations
JP2763336B2 (en) Color information signal processing device
US5831687A (en) Color video signal processing method and apparatus for converting digital color difference component signals into digital RGB component signals by a digital conversion
CN109636863B (en) Color space conversion circuit
JPS62200889A (en) Encoding or/and decoding device for color video signal
JPS61232725A (en) Data compression circuit
KR100536703B1 (en) Color signal conversion apparatus and method for video
US4899300A (en) Circuit to perform a linear transformation on a digital signal
JPS60207189A (en) Image signal processor
JP4023267B2 (en) Color image processing apparatus and color image processing method
JP2626093B2 (en) Color signal conversion circuit
JP2001044801A (en) Matched filter
KR100186396B1 (en) Color coordinate system conversion apparatus
JPH0619686A (en) Multiplying circuit and picture processor equipped with the same

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080901

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee