KR0126108B1 - Color space conversion method & its apparatus - Google Patents

Color space conversion method & its apparatus

Info

Publication number
KR0126108B1
KR0126108B1 KR1019940011689A KR19940011689A KR0126108B1 KR 0126108 B1 KR0126108 B1 KR 0126108B1 KR 1019940011689 A KR1019940011689 A KR 1019940011689A KR 19940011689 A KR19940011689 A KR 19940011689A KR 0126108 B1 KR0126108 B1 KR 0126108B1
Authority
KR
South Korea
Prior art keywords
component
color
digital
conversion
value
Prior art date
Application number
KR1019940011689A
Other languages
Korean (ko)
Other versions
KR950035456A (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 KR1019940011689A priority Critical patent/KR0126108B1/en
Publication of KR950035456A publication Critical patent/KR950035456A/en
Application granted granted Critical
Publication of KR0126108B1 publication Critical patent/KR0126108B1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/77Circuits 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Processing (AREA)

Abstract

디지털 Y, Cb, Cr 칼라성분과 디지털 R, G, B 칼라성분과의 사이에서 정, 역방향으로 변환할 수 있으며, 정방향만으로 변환시켜도 비교적 저렴하게 효율이 높게 된다.It is possible to convert the digital Y, Cb, Cr color components and the digital R, G, B color components in the forward and reverse directions, and the conversion in the forward direction alone is relatively inexpensive.

룩업테이블수단에 구비한 다수의 어드레스 입력단에 의해 디지털 Y, Cb, Cr 칼라성분을 디지털 R, G, B 칼라성분으로 변환하며 디지털 Y, Cb, Cr 칼라성분으로 변환하는 각각 변환식세트의 어느 한쪽에 따른 성분 변환값을 수취함과 동시에, 다수의 가산기를 상기 룩업테이블수단에 연결하여 상기 룩업테이블수단의 출력을 받도록 하고, 원시 스페이스의 칼라성분과 대응하는 변환 스페이스에 있어서의 각 칼라성분의 각각 변환값을 가산하여 변환 스페이스의 각 칼라성분을 발생시키도록 한다.A plurality of address input stages provided in the lookup table means convert digital Y, Cb and Cr color components into digital R, G and B color components and convert them into digital Y, Cb and Cr color components. Receiving a component conversion value, and connecting a plurality of adders to the look-up table means to receive the output of the look-up table means, and each converted value of each color component in the conversion space corresponding to the color component of the raw space. Is added to generate each color component of the transform space.

Description

칼라 스페이스 변환방법 및 그 장치Color space conversion method and apparatus

제1도는 본 발명의 제1실시예에 있어서의 디지털 Y, Cb, Cr 칼라성분과 디지털 R, G, B 칼라성분 사이에서 호환 수행하는 칼라 스페이스 변환장치의 블럭도이다.1 is a block diagram of a color space converting apparatus which performs compatibility between digital Y, Cb, Cr color components and digital R, G, B color components in the first embodiment of the present invention.

제2도는 제1도의 변환장치에 있어서의 어드레스 디코더와 제1보수수단의 연결 태양 표시도이다.FIG. 2 is a diagram showing the connection mode of the address decoder and the first repair means in the converter of FIG.

제3도는 제1도에 있어서의 어느 극성 제어수단의 개략 블럭도이다.3 is a schematic block diagram of any polarity control means in FIG.

제4도는 본 발명의 제2실시예에 있어서의 디지털 Y, Cb, Cr 칼라성분을 디지털 R, G, B 칼라성분으로 변환하는 장치의 블럭도이다.4 is a block diagram of an apparatus for converting digital Y, Cb, Cr color components into digital R, G, B color components in the second embodiment of the present invention.

제5도는 제1도에 있어서의 변환장치의 프로그래밍 가능한 칼라 룩업테이블수단의 프로그래밍 프로세서 표시도이다.5 is a programming processor representation of the programmable color lookup table means of the converter in FIG.

제6도는 본 발명에 사용되는 어드레스 디코딩방법의 표시도이다.6 is a display diagram of an address decoding method used in the present invention.

제7도는 제1도의 변환장치에 있어서의 프로그래밍 가능한 칼라 룩업테이블수단이 사용하는 프로그래밍 제어회로를 다른 조작을 시키기위한 선택신호의 조합 표시도이다.FIG. 7 is a combination display diagram of selection signals for different operation of the programming control circuit used by the programmable color lookup table means in the converter of FIG.

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

1 : 칼라 룩업 테이블수단11-19 : 제1-제9세그멘트DESCRIPTION OF SYMBOLS 1: Color lookup table means 11-19: 1st-9th segment

21-23 : 제1-제3보수수단31-39 : 제1-제9극성 제어수단21-23: first-third repair means 31-39: first-ninth polarity control means

51-53 : 제1-제3보상/리미트회로51-53: 1st-3rd compensation / limit circuit

본 발명은 칼라 스페이스 변환방법 및 장치에 관한 것으로, 특히 디지털 Y, Cb, Cr 칼라성분과 디지털 R, G, B 칼라성분의 변환을 정, 역 양방향으로 행할 수 있으며, 또한 정방향만 행하더러도 비교적 저렴하고 효율적인 칼라 스페이스 변환방법 및 장치에 관한 것이다.The present invention relates to a color space conversion method and apparatus, and in particular, the conversion of digital Y, Cb, Cr color components and digital R, G, B color components can be performed in the forward and reverse directions, and even in the forward direction, relatively. The present invention relates to an inexpensive and efficient color space conversion method and apparatus.

최근, 멀티 미디어의 도래와 함께 디지털 가청데이타나 디지털 영상데이타의 참신한 처리기술이 점점 중시되게 되었지만, 디지털 영상 데이타량이 극히 방대한 것이므로, 현재의 한정된 컴퓨터 시스템의 저장 스페이스 및 전송망의 대역폭으로는 그 부하에 대응할 수 없고, 그 때문에 디지털 영상에 상당히 많은 용장 데이타가 있어 감쇠 압축해도 영상 품질에 확실한 영향을 미치지 않는 특성을 살려 디지털 영상데이타를 발송 혹은 저장하기 전에 압축 처리하며, 반대로 기억장치나 전송망으로부터 송출할 때 그 압축데이타를 신장처리하여 원래의 디지털 영상데이타로 복귀시키고 있다.In recent years, with the advent of multimedia, the novel processing techniques of digital audio data and digital video data have become more and more important. However, since the amount of digital video data is extremely large, the storage space of the current limited computer system and the bandwidth of the transmission network are limited. Because of this, there is a large amount of redundant data in the digital image, so that the compression process is performed before sending or storing the digital image data, taking advantage of the characteristics that attenuation and compression do not have a definite effect on the image quality. At that time, the compressed data is decompressed to return to the original digital video data.

그리고, 상기 디지털 Y, Cb, Cr 성분 중, Y 성분은 휘도를 나타내고, Cb 성분(B-Y)는 블루값(B)과 휘도(Y) 사이에 있어서의 비례색차를 나타내고, Cr 성분은 레드값(R-Y)과 휘도(Y) 사이에 있어서의 비례색차를 나타내는 것이며, 디지털 Y, Cb, Cr 성분이 필요로 하는 대역폭이 아날로그 R, G, B 신호를 아날로그 디지털변환수단(A-D 변환기)를 거치게 하여 형성한 디지털 R, G, B(RED-GREEN-BLUE) 성분에 비해 적으므로 사용되는 주지의 압축연산법이다. 즉 현재의 화상표시장치는 아날로그 R, G, B 신호를 사용하여 화상 표시하고 있으며, 따라서 압축처리하기 전에 우선 아날로그 R, G, B 신호를 아날로그 디지털 변환수단에 의해 디지털 Y, Cb, Cr 성분으로 변환한 후 압축하는 것이며, 동시에 그 압축된 디지털 Y, Cb, Cr 성분을 신장 처리하여 디지털 R, G, B 성분으로 변환하여 사용함과 함께, 만약 필요하다면 D-A 변환기에 의해 상기 아날로그 R, G, B 신호로 변환시킬 수도 있다.Among the digital Y, Cb, and Cr components, the Y component represents luminance, the Cb component BY represents a proportional color difference between the blue value B and the luminance Y, and the Cr component represents a red value ( RY) and the proportional color difference between luminance (Y), and the bandwidth required by digital Y, Cb, and Cr components is formed by passing analog R, G, and B signals through analog to digital conversion means (AD converter). It is a well-known compression calculation method used because it is less than one digital R, G, and B (RED-GREEN-BLUE) component. That is, the current image display apparatus displays images using analog R, G, and B signals. Therefore, before performing the compression process, the analog R, G, and B signals are first converted into digital Y, Cb, and Cr components by analog to digital conversion means. Converting and compressing the same, and simultaneously compressing the compressed digital Y, Cb and Cr components and converting them into digital R, G, and B components. You can also convert it to a signal.

현재, 칼라 스페이스의 변환에 사용되는 종래 기술에는 여러 가지의 것이 있지만, 그 어느 것이나 모드 중에서밖에 변환할 수 없으며, 즉 Y, Cb, Cr 성분을 R, G, B 성분으로 변환하거나, 혹은 R, G, B 성분을 Y, Cb, Cr 성분으로 변환하거나의 어느 한 방향으로의 변환 모드만이며, 또한 이 변환처리는 상기와 같이 대량의 메모리를 필요로 하므로 원가가 높아, 예를 들어 승법기를 대신 사용한다 할지라도 원가가 높기는 마찬가지이며, 또한 처리속도가 저하되어 효율에 영향을 초래하는 문제가 있다.Currently, there are various conventional techniques used for color space conversion, but any of them can be converted only in mode, that is, Y, Cb, Cr components are converted into R, G, B components, or R, It is only a conversion mode in one direction of converting G and B components into Y, Cb, and Cr components, and this conversion process requires a large amount of memory as described above, resulting in high cost. Even if it is used, the cost is the same, and there is a problem that the processing speed is lowered, which affects the efficiency.

상기 종래의 칼라 스페이스 변환방법 및 그 장치에 있어서의 문제점을 감안하여, 본 발명은 디지털 Y, Cb, Cr 칼라성분과 디지털 R, G, B 칼라성분의 변환을 정, 역 양방향으로 행할 수 있으며, 정방향만을 행하는 경우에도 비교적 저렴하면서도 효율이 높은 칼라 스페이스 변환방법 및 그 장치를 제공하는 것을 목적으로 한다.In view of the above problems in the conventional color space conversion method and apparatus, the present invention can perform the conversion of digital Y, Cb, Cr color components and digital R, G, B color components in both forward and reverse directions, It is an object of the present invention to provide a method and apparatus for converting color spaces which are relatively inexpensive and highly efficient even when performing only the forward direction.

상기 목적을 달성하기 위해, 본 발명의 변환장치는 디지털 Y, Cb, Cr 칼라성분과 디지털 R, G, B 칼라성분 사이의 칼라 스페이스 변환을 정, 역 양방향으로 실행할 수 있도록 형성하며, 그 프로그래밍 가능한 칼라 룩업테이블수단에 다수의 어드레스입력과 제1-제9세그멘트를 배설(配設)하여 디지털 Y, Cb 및 Cr 성분의 변환식에 따라 Y-in-R 성분, Cb-in-R 성분, Cr-in-R 성분, Y-in-G 성분, Cb-in-G 성분, Cr-in-G 성분, Y-in-B 성분, Cb-in-B 성분, Cr-in-B 성분과 대응하는 각각 디지털성분 변환값을 저장함과 동시에, 각 디지털성분 변환값을 상기 제1-제9세그멘트에 있어서 각각 Y-in-R 성분, Y-in-G 성분, Y-in-B 성분, Cb-in-R 성분, Cb-in-G 성분, Cb-in-B 성분, Cr-in-R 성분, Cr-in-G 성분, Cr-in-B 성분에 대응시켜 적절히 칼라 룩업테이블수단의 어드레스 입력단에 분포 입력시키며, 또한 Y-in-R 성분 변환값, Cb-in-R 성분 변환값, Cr-in-R 성분 변환값에 의해 디지털 R 성분을, Y-in-G 성분 변환값, Cb-in-G 성분 변환값, Cr-in-G 성분 변환값에 의해 디지털 G 성분을, Y-in-B 성분 변환값, Cb-in-B 성분 변환값, Cr-in-B 성분 변환값에 의해 디지털 B 성분 변환값을 각각 산출하여 디지털 Y, Cb 및 Cr 성분을 디지털 R, G 및 B 성분으로 변환할 수 있도록 함과 동시에, 디지털 R, G 및 B 성분의 변환식에 따른 R-in-Y 성분, G-in-Y 성분, B-in-Y 성분, R-in-Cb 성분, G-in-Cb 성분, B-in-Cb 성분, R-in-Cr 성분, C-in-Cr 성분, B-in-Cr 성분과 대응하는 각각 디지털성분 변환값을 저장함과 동시에, 각 디지털성분 변환값을 상기 제1-제9세그멘트에 있어서 각각 R-in-Y 성분, R-in-Cb 성분, R-in-Cr 성분, G-in-Y 성분, G-in-Cb 성분, G-in-Cr 성분, B-in-Y 성분, B-in-Cb 성분, B-in-Cr 성분에 대응시켜 적절히 칼라 룩업테이블수단의 어드레스 입력단에 분포 입력시키며, 또한 R-in-Y 성분 변환값, G-in-Y 성분 변환값, B-in-Y 성분 변환값에 의해 디지털 Y 성분을, R-in-Cb 성분 변환값, G-in-Cb 성분 변환값, B-in-Cb 성분 변환값에 의해 디지털 Cb 성분을,및 R-in-Cr 성분 변환값, G-in-Cr 성분 변환값, B-in-Cr 성분 변환값에 의해 디지털 Cr 성분을 각각 산출하여 디지털 R, G 및 B 성분을 디지털 Y, Cb 및 Cr 성분으로 변환할 수 있도록 구성된다.In order to achieve the above object, the conversion device of the present invention is configured to perform color space conversion between digital Y, Cb, Cr color components and digital R, G, B color components in both forward and reverse directions, and the programmable A plurality of address inputs and first through ninth segments are disposed in the color lookup table means, and the Y-in-R component, Cb-in-R component, Cr- according to the conversion formula of the digital Y, Cb, and Cr components. respectively corresponding to in-R component, Y-in-G component, Cb-in-G component, Cr-in-G component, Y-in-B component, Cb-in-B component, Cr-in-B component While storing the digital component converted values, the digital component converted values are stored in the Y-in-R component, Y-in-G component, Y-in-B component, and Cb-in- in the first to ninth segments, respectively. The R, Cb-in-G, Cb-in-B, Cr-in-R, Cr-in-G and Cr-in-B components are appropriately distributed to the address input terminal of the color lookup table means. Y-in-R component The digital R component is converted into the Y-in-G component conversion value, the Cb-in-G component conversion value, and the Cr-in-G component by the ring value, the Cb-in-R component conversion value, and the Cr-in-R component conversion value. The digital G component is calculated using the converted value, and the digital B component converted value is calculated using the Y-in-B component conversion value, the Cb-in-B component conversion value, and the Cr-in-B component conversion value, respectively. And converting the Cr component into the digital R, G, and B components, and R-in-Y, G-in-Y, and B-in-Y according to the conversion formula of the digital R, G, and B components. Digital component conversion respectively corresponding to component, R-in-Cb component, G-in-Cb component, B-in-Cb component, R-in-Cr component, C-in-Cr component, B-in-Cr component At the same time, each digital component conversion value is stored in the first through ninth segments, and the R-in-Y component, R-in-Cb component, R-in-Cr component, G-in-Y component, The color lookup table means can be appropriately matched to the G-in-Cb component, G-in-Cr component, B-in-Y component, B-in-Cb component, or B-in-Cr component. The digital Y component is converted into R-in-Y component conversion value, G-in-Y component conversion value, and B-in-Y component conversion value. Digital Cb component, G-in-Cr component conversion value, G-in-Cr component conversion value, B-in-Cr component conversion by G-in-Cb component conversion value and B-in-Cb component conversion value The digital Cr component is calculated based on the values, and the digital R, G, and B components are converted into digital Y, Cb, and Cr components.

그리고, 디지털 Y, Cb, Cr 칼라성분을 디지털 R, G, B 칼라성분으로 일방향 변환하는 경우에는 상기 칼라 룩업테이블 수단의 각각 적절한 디지털성분 변환값을 수반한 제1세그멘트를 Cb-in-G 성분으로, 제2세그멘트를 Cb-in-B 성분으로, 제3의 세그멘트를 Cr-in-R 성분으로, 제4세그멘트를 Cr-in-G 성분으로 각각 대응시키는 단계와, 디지털 Y, Cb 및 Cr 성분을 칼라 룩업 테이블수단의 어드레스 입력으로, Cb-in-G 성분, Cb-in-B 성분, Cr-in-R 성분, Cr-in-G 성분의 각각 대응 성분 변환값을 대응시켜 분포 입력하는 단계와, Y성분과 Cr-in-R 성분의 대응 성분 변환값에 의해 R 성분을 산출하는 단계와, Y성분과 Cb-in-G 성분의 대응 성분 변환값 및 Cr-in-G의 대응 성분 변환값에 의해 G 성분을 산출하는 단계와, Y성분과 Cb-in-B 성분의 대응 성분 변환값에 의해 B 성분을 산출하는 단계를 순서대로 행할 수 있도록 구성한다.When the digital Y, Cb, Cr color components are unidirectionally converted into digital R, G, and B color components, the first segment with appropriate digital component conversion values of the color lookup table means is respectively converted into Cb-in-G components. The second segment corresponds to the Cb-in-B component, the third segment corresponds to the Cr-in-R component, and the fourth segment corresponds to the Cr-in-G component. The component is inputted to the address of the color lookup table means, and the distribution input corresponding to the corresponding component conversion values of the Cb-in-G component, Cb-in-B component, Cr-in-R component, and Cr-in-G component Calculating an R component based on a corresponding component conversion value of the Y component and the Cr-in-R component, a corresponding component conversion value of the Y component and the Cb-in-G component, and a corresponding component of the Cr-in-G component. Calculating the G component based on the converted value, and calculating the B component based on the corresponding component conversion value between the Y component and the Cb-in-B component It is configured to be performed at a.

상기와 같이 구성된 본 발명은 디지털 Y, Cb, Cr 칼라성분과 디지털 R, G, B 칼라성분 사이에 있어서의 칼라 스페이스 변환을 종래 기술보다 대폭 적은 메모리에서 동시에 처리속도를 손상하지 않고 정, 역 양방향으로 행할 수 있다.According to the present invention configured as described above, the color space conversion between digital Y, Cb, Cr color components and digital R, G, B color components can be reversed in both forward and reverse directions without compromising the processing speed at the same time in a memory significantly smaller than that of the prior art. This can be done.

본 발명에 있어서 각각 디지털화의 Y, Cb, Cr 성분 및 각각 디지털화의 R, G, B 성분은 각각 8비트 성분이며, 그 R, G, B 성분을 직접 Y, Cb, Cr 성분으로 변환할 때에는 하기 변환식(a)에 따라 행해진다.In the present invention, the Y, Cb and Cr components of the digitization and the R, G and B components of the digitization, respectively, are 8-bit components, respectively, and when the R, G and B components are directly converted into the Y, Cb and Cr components, It is performed according to the conversion formula (a).

또한, 디지털 Y, Cb, Cr 성분을 직접 디지털 R, G, B 성분으로 변환할 때에는 하기 변환식(b)에 따라 행한다.In addition, when converting a digital Y, Cb, Cr component into a digital R, G, B component directly, it performs according to the following conversion formula (b).

그리고, 상기 변환식(a) 와 (b)는 다음 방정식에 의해 나타낼 수 있다.The conversion equations (a) and (b) can be represented by the following equations.

상기 방정식(c)에 있어서 PIm은 원시 스페이스(original space)의 칼라성분, POn은 변환 스페이스의 칼라성분, Cnm은 변환 스페이스에 있어서의 원시 스페이스의 제m칼라성분과 대응하는 제n칼라성분이라고 각각 정의되며, 동시에 Cnm과 PIm-128의 승적(乘積)은 PIm-in-POn 성분과 대응하는 성분 변환값이라 정의된다. 따라서 본 실시예에 있어서, PO1, PO2 및 PO3이 각각 Y, Cb 및 Cr 성분을 나타낼 때에는 PI1, PI2 및 PI3가 각각 R, G 및 B 성분을 나타내며, 마찬가지로 PO1, PO2 및 PO3가 각각 Y, Cb 및 Cr 성분을 나타낼 때에는 PI1, PI2 및 PI3가 각각 Y, Cb 및 Cr 성분을 나타낸다. 또한, 상기 방정식(c)으로부터 알 수 있는 바와 같이, 변환 스페이스에 있어서의 임의의 칼라성분(POn)은 원시 스페이스에 있어서의 3가지 칼라성분의 라인조합에 상수 128을 더하여 형성되며, 또한 원시 스페이스에 있어서의 각 칼라성분(PIm)은 모두 상수 128을 중심으로 변환을 행하는 것으로, 기함수의 대칭 분포를 나타내며, 즉 각 1쌍의 128로부터 등거리에 있는 수치는 절대수치가 같게 정부(正負)의 부호가 다른 관계를 유지한다. 따라서, 8비트로 표시한 PIm값은 0과 128 이외에 기타 1,2,3…127과 129,130,131…255의 합계 254의 수치는 1이 255와, 2가 254와, …와 같이 각각 쌍으로 대응한다.In the above equation (c), PIm is the color component of the original space, POn is the color component of the conversion space, and Cnm is the nth color component corresponding to the m-th color component of the raw space in the conversion space, respectively. At the same time, the product of Cnm and PIm-128 is defined as the component conversion value corresponding to the PIm-in-POn component. Therefore, in the present embodiment, when PO1, PO2, and PO3 represent Y, Cb, and Cr components, respectively, PI1, PI2, and PI3 represent R, G, and B components, and similarly, PO1, PO2, and PO3 represent Y, Cb, respectively. And when representing the Cr component, PI1, PI2 and PI3 represent the Y, Cb and Cr components, respectively. As can be seen from the above equation (c), any color component POn in the conversion space is formed by adding a constant 128 to the line combination of the three color components in the raw space, and further, the raw space. Each color component (PIm) in the equation is transformed around a constant of 128, indicating a symmetric distribution of the odd function, that is, a numerical value equidistant from each pair of 128 has the same absolute value as the absolute value. Maintains a different sign. Therefore, the PIm value expressed in 8 bits is not limited to 0 and 128, but other 1,2,3. 127 and 129,130,131... The sum of 255 is 254, 1 is 255, 2 is 254, and so on. Each pair corresponds to

이 특징을 이용하여 절대값 PIm-128 및 그 대응계수 Cnm의 승적을 2의 보수로 인코딩하는 것으로, 본 발명은 8비트(28=256)의 모든 수치를 인코딩하여 제공하며, 따라서 상기 254개의 기함수 대칭을 나타내는 수치는 127개의 인코딩값을 형성하고, 나머지 0도 1개의 인코딩값을 차지하며, 128은 인코딩값을 0으로 고정하므로 인코딩하지 않고 출력시 출력값을 0으로 강제시키는 것만으로, 즉 전체 128개의 인코딩값이 필요해져, 종래의 모든 수치 인코딩에 비해 인코딩 수치가 반감됨과 동시에, 이 인코딩수치 반감에 대응하여 상기 대칭하는 PIm값을 동일부호 어드레스로, 또한 나머지 0을 그 소정 어드레스로, 128은 0과 동일 어드레스로 각각 비추는 것이며, 이것이 PIm값에 있어서 생기는 대칭어드레스로서 어드레스 인코딩에 사용되며, 각 대칭하는 PIm값을 동일 어드레스값으로 비추어 출력시에 Cnm(PIm-128)의 Cnm|PIm -128|과 상대되는 극성으로 회복시켜, 128보다 작은 PIm은 모든 극성의 변환처리를 행하며, 128보다 큰 PIm의 극성은 그대로 유지시킴과 동시에 PIm 값이 128일 때에는 그 출력값을 0으로 강제한다. 이것이 본 발명이 사용하는 대칭 인코딩법이다.By using this feature to encode the product of the absolute value PIm-128 and its corresponding coefficient Cnm with two's complement, the present invention encodes and provides all numerical values of 8 bits (2 8 = 256), and thus the 254 Numerical values of geometric symmetry form 127 encoded values, the remaining 0s occupy one encoded value, and 128 is fixed to zero, so forcing the output to zero at output without encoding, i.e. A total of 128 encoding values are required, and the encoding value is halved compared with all conventional numerical encodings, and correspondingly, the symmetric PIm value is converted into the same coded address and the remaining 0 is the predetermined address. 128 is the same address as 0, respectively, and this is a symmetric address generated in PIm value, which is used for address encoding, and each symmetric PIm value is the same. In response to the response value, the output is restored to the polarity of Cnm (PIm-128) relative to Cnm | PIm-128 | If the PIm value is 128, the output value is forced to zero. This is the symmetric encoding method used by the present invention.

그리고, 제1도, 제2도 및 제3도를 참조하면 알 수 있는 바와 같이, 본 발명의 제1실시예에 있어서의 디지털 Y, Cb, Cr 성분과 디지털 R, G, B 성분 사이에 있어서 실행하는 칼라 스페이스 변환장치는 프로그램 가능한 칼라 룩업테이블수단(1), 제1-제3보수수단(21)-(23), 제1-제9의 극성제어수단(31)-(39), 제1-제3가산수단(41)-(46) 및 제1-제3보상/제어회로(51)-(53)이 포함된다.1, 2, and 3, the digital Y, Cb, Cr component and the digital R, G, and B components in the first embodiment of the present invention can be seen. The color space converting apparatus to be executed is programmable color lookup table means 1, first-third repair means 21-23, first-ninth polarity control means 31-39, One-third addition means 41-46 and first-third compensation / control circuits 51-53 are included.

그 중, 상기 룩업테이블수단(1)은 프로그래밍 가능한 RAM 장치이며, 복수의 어드레스 입력단과 제1-제9세그멘트(11-19) 및 입력수단(101-103)을 구비하여 상기 입력수단(101),(102),(103)에 의해 어드레스 입력단을 어드레스 지정하기 위한 디지털(P11),(P12),(P13)을 수취하고, 본 실시예에 있어서는 각각 입력수단(101),(102),(103)이 어드레스 디코더로서, R, G, B 성분을 Y, Cb, Cr 성분으로 변환할 때에는 변환식(a)에 따라 R-in-Y 성분, R-in-Cb 성분, R-in-Cr 성분, G-in-Y 성분, G-in-Cb 성분, G-in-Cr 성분, B-in-Y, B-in-Cb 및 B-in-Cr 성분과 대응하는 디지털성분 변환값을 각각 제1-제9세그멘트(11-19)에 분포 프로그래밍하고, 제5도, 제6도에 도시한 바와 같이 상기 룩업테이블수단(1)의 프로그래밍은 프로그래밍 제어회로(8) 및 디멀티플렉서(9)에 의해 완성된다. 상기 디멀티플렉서(9)는 상기 제1, 제2 및 제3보수수단(21),(22),(23)과 연결되고, 이 프로그래밍 제어회로(8)는 기입 신호 라인 및 룩업테이블수단(1)의 제1-제9세그멘트(11-19)와 연결된 데이타 버스를 구비하고 있음과 동시에, 디멀티플렉서(9)와 연결된 선택신호 라인 및 어드레스신호 라인을 구비하고 있으며, 또한, 2비트의 선택 신호를 상기 선택신호라인 경유로 디멀티플렉서(9)에 공급한다. 그리고, 선택신호가 01이면 제1-제3세그멘트(11),(12),(13)가 선택되어 프로그래밍 하고, 선택신호가 10이면 제4-제6세그멘트(14),(15),(16)이 선택되어 프로그래밍하며, 선택신호가 11이면 제7-제9세그멘트(17),(18),(19)가 선택되어 프로그래밍함과 동시에, 선택신호가 00이면 룩업테이블수단(1)의 프로그래밍이 정지한다. 또한 룩업테이블수단(1)의 원시 스페이스에 있어서의 동일 성분과 대응하는 세그멘트(11)-(19)는 동시에 그 속에 기입되므로, 이 전체 룩업테이블수단(1)의 프로그래밍은 3×128의 기입 사이클만으로 충분하다. 한편, Y, Cb, Cr 성분을 R, G, B 성분으로 변환할 때에는 변환식(b)에 따라 Y-in-R, Y-in-G, Y-in-B, Cb-in-R, Cb-in-G, Cb-in-B, Cr-in-R, Cr-in-G 및 Cr-in-B와 대응하는 각각 디지털성분 변환값을 상기와 마찬가지의 프로그래밍 프로세스로 제1-제9세그멘트(11-19)로 프로그래밍한다.The lookup table means 1 is a programmable RAM device, and includes a plurality of address input terminals, first-ninth segments 11-19, and input means 101-103, and the input means 101. (102), (103) receives digital (P11), (P12), (P13) for addressing the address input terminal, and in this embodiment, input means (101), (102), (( 103) is an address decoder, when converting the R, G, and B components into Y, Cb, and Cr components, the R-in-Y component, R-in-Cb component, and R-in-Cr component according to the conversion equation (a). And converting the digital component conversion values corresponding to the G-in-Y component, G-in-Cb component, G-in-Cr component, B-in-Y, B-in-Cb and B-in-Cr components, respectively. The programming of the look-up table means 1 is carried out by programming control circuit 8 and demultiplexer 9 as shown in FIG. 5 and FIG. 6 by distributed programming in the 1-ninth segment 11-19. Is completed. The demultiplexer 9 is connected to the first, second and third repair means 21, 22, 23, and the programming control circuit 8 is a write signal line and lookup table means 1 And a select signal line and an address signal line connected to the demultiplexer 9, and a two-bit select signal. The demultiplexer 9 is supplied via the selection signal line. If the selection signal is 01, the first to third segments 11, 12, and 13 are selected and programmed. If the selection signal is 10, the fourth to sixth segments 14, 15, and ( 16) is selected and programmed, and if the selection signal is 11, the seventh-ninth segments 17, 18, and 19 are selected and programmed, and if the selection signal is 00, the look-up table means 1 Programming stops. In addition, since the segments 11 and 19 corresponding to the same component in the raw space of the lookup table means 1 are simultaneously written therein, the programming of the entire lookup table means 1 is performed by a write cycle of 3x128. It is enough. On the other hand, when converting the Y, Cb, Cr components into R, G, and B components, Y-in-R, Y-in-G, Y-in-B, Cb-in-R, and Cb according to the conversion formula (b). Digital component conversion values corresponding to -in-G, Cb-in-B, Cr-in-R, Cr-in-G, and Cr-in-B, respectively, are converted into the first to ninth segments by the same programming process as described above. Program it as (11-19).

이와 같이 디지털 Y, Cb, Cr 성분으로부터 디지털화 R, G, B 성분으로의 변환은 디지털 R, G, B 성분으로부터 디지털 Y, Cb, Cr 성분의 변환과 유사하며, 본 발명의 일실시예에 있어서의 다음 성분은 단순히 그 중의 디지털 R, G, B 성분으로부터 디지털 Y, Cb, Cr 성분으로의 변환에 따른 것이다. 그리고, 변환식(b)을 사용하면 반대로 Y, Cb, Cr 성분을 R, G, B 성분으로 변환시킬 수 있다.As such, the conversion from the digital Y, Cb, Cr components to the digitized R, G, B components is similar to the conversion of the digital R, G, B components from the digital Y, Cb, Cr components, and in one embodiment of the present invention. The next component of simply depends on the conversion of digital R, G, and B components into digital Y, Cb, and Cr components. In addition, by using the conversion formula (b), the Y, Cb, and Cr components can be converted into R, G, and B components.

제1의 보수수단(21)은 입력수단(101)과 연결하여 디지털 R 칼라성분을 수취하고, R 칼라성분의 최상위 비트(PIm7)가 0일때, R 칼라성분의 비교적 낮은 7비트(PIm6-PIm0)에 대해 2의 보수를 발생한다.The first maintenance means 21 is connected to the input means 101 to receive the digital R color component, and when the most significant bit (PIm7) of the R color component is 0, a relatively low 7 bit (PIm6-PIm0) of the R color component We generate 2's reward for).

제2의 보수수단(22)은 입력수단(102)과 연결하여 디지털 G 칼라성분을 수취하고, G 칼라성분의 최상위 비트가 0일때, G 칼라성분의 비교적 낮은 7비트에 대해 2의 보수를 발생한다.The second complementary means 22 is connected to the input means 102 to receive the digital G color component and, when the most significant bit of the G color component is zero, generates two's complement for the relatively low 7 bits of the G color component. do.

제3의 보수수단(23)은 입력수단(103)과 연결하여 디지털 B 칼라성분을 수취하고, B 칼라성분의 최상위 비트가 0일때, B 칼라성분의 비교적 낮은 7비트에 대해 2의 보수를 발생한다.The third complementary means 23 receives the digital B color component in connection with the input means 103, and generates two's complement for the relatively low 7 bits of the B color component when the most significant bit of the B color component is zero. do.

제1의 극성제어수단(31)은 룩업테이블수단(1)에 있어서의 제1세그멘트(11)의 출력단과 연결한 보수수단(310), 이 보수수단(310)에 연결한 출력음영회로(output shading circuit, 311) 및 탐지기(312)를 구비하여 디지털 R 칼라성분의 최상위비트(PIm7)가 0일때, 이 보수수단(310)이 룩업테이블수단(1)의 제1세그멘트(11)의 출력에 대해 2의 보수를 취한다. 그리고, 이 탐지기(312)가 입력수단(101)으로부터 어드레스신호(Am0)와 R 칼라성분의 최상위비트(PIm)에 의해 디지털 R 성분값이 128인지 아닌지를 탐지함과 동시에, R 성분의 값이 128이면 사용 금지 신호를 발생하는 한편, 이 음영회로(311)는 이 탐지기(312)로부터 사용금지신호를 받으면 0의 값을 출력하고, 그렇지 않으면 보수수단(310)의 출력을 출력한다.The first polarity control means 31 is a maintenance means 310 connected to the output end of the first segment 11 in the lookup table means 1, and an output shading circuit connected to this maintenance means 310. With a shading circuit 311 and a detector 312, when the most significant bit PIm7 of the digital R color component is zero, this repair means 310 is connected to the output of the first segment 11 of the lookup table means 1. Take 2's reward. The detector 312 detects whether or not the digital R component value is 128 by the address signal Am0 and the most significant bit PIm of the R color component from the input means 101, and the value of the R component is If it is 128, the use prohibition signal is generated. On the other hand, the shading circuit 311 outputs a value of 0 when receiving the prohibition signal from the detector 312, and outputs the output of the maintenance means 310.

제2의 극성제어수단(32)의 구성은 상기 제1의 극성제어수단(31)과 비슷하며, 그 보수수단(도시하지 않음)이 룩업테이블수단(1)의 제2세그멘트(12)의 출력단과 연결하고, 그 출력음영회로(도시하지 않음)는 보수수단과 연결하여, 디지털 R 칼라성분의 최상위비트가 0이 되었을 때, 이 보수수단의 룩업테이블수단(1)에 있어서의 제2세그멘트(12)의 출력에 대해 2의 보수를 취한다. 또한, 상기 탐지기(도시하지 않음)는 입력수단(101)의 어드레스신호와 R 성분의 최상위비트에 의해 디지털 R 성분이 128인지 아닌지를 탐지하여, 상기 R 성분의 값이 128이면 상기 제2의 극성수단(32)의 탐지기가 사용금지신호를 발생하여, 상기 음영회로는 상기 탐지기로부터 사용금지신호를 받으면 0값을 출력하고, 그렇지 않으면 상기 음영회로는 보수수단의 출력을 출력한다.The configuration of the second polarity control means 32 is similar to that of the first polarity control means 31, and its repair means (not shown) is the output end of the second segment 12 of the lookup table means 1. And an output shade circuit (not shown) connected to the repair means, when the most significant bit of the digital R color component becomes zero, the second segment of the lookup table means 1 of the repair means; Take 2's complement for the output of 12). Further, the detector (not shown) detects whether or not the digital R component is 128 based on the address signal of the input means 101 and the most significant bit of the R component. When the value of the R component is 128, the second polarity is detected. The detector of the means 32 generates a prohibition signal so that the shading circuit outputs a zero value when receiving the prohibition signal from the detector, otherwise the shading circuit outputs the output of the maintenance means.

제3의 극성제어수단(33)은 상기 제1의 극성제어수단(31)과 비슷한 구성이며, 그 보수수단(도시하지 않음)이 룩업테이블수단(1)의 제3의 세그멘트(13)의 출력단과 연결하고, 그 출력음영회로(도시하지 않음)은 보수수단과 연결하여, 디지털 R 칼라성분의 최상위비트가 0이 되면 상기 보수수단이 룩업테이블수단(1)의 제3세그멘트(13)의 출력에 대해 2의 보수를 취한다. 그리고 상기 탐지기(도시하지 않음)는 입력수단(101)의 어드레스신호와 R 성분의 최상위비트에 의해 디지털 R 성분이 128인지 아닌지를 탐지하여, 상기 R 성분의 값이 128이면 상기 제3의 극성제어수단(33)의 탐지기가 사용금지신호를 발생하며, 상기 음영회로는 상기 탐지기로부터 사용금지신호를 받으면 0값을 출력하고, 그렇지 않으면 상기 음영회로는 보수수단의 출력을 출력한다.The third polarity control means 33 has a configuration similar to that of the first polarity control means 31, and its repair means (not shown) is an output end of the third segment 13 of the lookup table means 1. And the output shade circuit (not shown) is connected to the repair means, and when the most significant bit of the digital R color component becomes 0, the repair means outputs the third segment 13 of the lookup table means 1. Take 2's reward for. The detector (not shown) detects whether or not the digital R component is 128 based on the address signal of the input means 101 and the most significant bit of the R component. When the value of the R component is 128, the third polarity control is performed. The detector of the means 33 generates a prohibition signal, and the shading circuit outputs a zero value when receiving the prohibition signal from the detector, otherwise the shading circuit outputs the output of the maintenance means.

제4의 극성제어수단(34)의 구조는 거의 상기 제1의 극성제어수단(31)과 유사하며, 그 보수수단(도시하지 않음)은 룩업테이블수단(1)의 제4세그멘트(14)의 출력단과 연결하고, 그 출력음영회로(도시하지 않음)은 보수수단과 연결하여 디지털 G 칼라성분의 최상위비트가 0이 되면 상기 보수수단이 룩업테이블수단(1)의 제4세그멘트(14)의 출력에 대해 2의 보수를 취한다. 그리고, 상기 탐지기(도시하지 않음)는 입력수단(102)의 어드레스신호와 G 성분의 최상위비트에 의해 디지털 G 성분이 128인지 아닌지를 탐지하여, 상기 G 성분의 값이 128이면 상기 제4의 극성제어수단(34)의 탐지기가 사용금지신호를 발생하며, 상기 음영회로는 상기 탐지기로부터 사용금지신호를 받으면 0값을 출력하고, 그렇지 않은 경우에는 상기 음영회로는 보수수단의 출력을 출력한다.The structure of the fourth polarity control means 34 is almost similar to that of the first polarity control means 31, and the repairing means (not shown) is formed of the fourth segment 14 of the lookup table means 1. The output shade circuit (not shown) is connected to the maintenance means, and when the most significant bit of the digital G color component is zero, the maintenance means outputs the fourth segment 14 of the lookup table means 1. Take 2's reward for. The detector (not shown) detects whether or not the digital G component is 128 based on the address signal of the input unit 102 and the most significant bit of the G component. When the value of the G component is 128, the fourth polarity is detected. The detector of the control means 34 generates a prohibition signal, and the shading circuit outputs a zero value when receiving the prohibition signal from the detector, otherwise the shading circuit outputs the output of the repair means.

제5의 극성제어수단(35)은 상기 제1의 극성제어수단(31)과 거의 동일한 구조를 나타내며, 상기 보수수단(도시하지 않음)이 룩업테이블수단(1)의 제5의 세그멘트(15)의 출력단과 연결하고, 상기 출력음영회로(도시하지 않음)은 보수수단에 연결하여, 디지털 G 칼라성분의 최상위비트가 0이 되었을 때, 상기 보수수단이 룩업테이블수단(1)의 제5세그멘트(15)의 출력에 대해 2의 보수를 취한다. 그리고, 상기 탐지기(도시하지 않음)는 입력수단(102)의 어드레스신호 및 G 성분의 최상위비트를 사용하여 디지털 G 성분이 128인지 아닌지를 탐지하여, 상기 G 성분의 값이 128이면 상기 탐지기가 사용금지신호를 발생하며, 상기 음영회로가 상기 탐지기로부터 사용금지신호를 받으면 0값을 출력하고, 그렇지 않은 경우에는 상기 음영회로는 보수수단의 출력을 출력한다.The fifth polarity control means 35 has a structure substantially the same as that of the first polarity control means 31, and the maintenance means (not shown) is the fifth segment 15 of the lookup table means 1. The output shade circuit (not shown) is connected to a maintenance means, and when the most significant bit of the digital G color component is zero, the maintenance means is connected to the fifth segment of the lookup table means (1). Take 2's complement for the output of 15). The detector (not shown) detects whether the digital G component is 128 using the address signal of the input unit 102 and the most significant bit of the G component, and uses the detector when the value of the G component is 128. Generates a prohibition signal, and outputs a value of zero when the shading circuit receives the prohibition signal from the detector; otherwise, the shading circuit outputs the output of the repair means.

제6의 극성제어수단(36)은 거의 제1의 극성제어수단(31)과 동일한 구조를 하고 있으며, 상기 보수수단(도시하지 않음)을 룩업테이블수단(1)의 제6세그멘트(16)의 출력단과 연결하고, 상기 출력음영회로(도시하지 않음)은 보수수단과 연결하여, 디지털 G 칼라성분의 최상위비트가 0이 되면, 상기 보수수단이 룩업테이블수단(1)의 제6세그멘트(16)의 출력에 대해 2의 보수를 취한다. 그리고, 상기 탐지기(도시하지 않음)는 입력수단(102)의 어드레스신호 및 G 성분의 최상위비트에 의해 디지털 G 성분이 128인지 아닌지를 탐지하여, 상기 G 성분의 값이 128이면 상기 탐지기가 사용금지신호를 발생하며, 상기 음영회로는 상기 탐지기로부터 사용금지신호를 받으면 0값을 출력하고, 그렇지 않은 경우에는 상기 음영회로는 보수수단의 출력을 출력한다.The sixth polarity control means 36 has a structure substantially the same as the first polarity control means 31, and the repair means (not shown) is used for the sixth segment 16 of the lookup table means 1. Connected to an output terminal, and the output shade circuit (not shown) is connected to a repairing means, and when the most significant bit of the digital G color component is zero, the repairing means is connected to the sixth segment 16 of the lookup table means 1. Take a two's complement for the output of. The detector (not shown) detects whether or not the digital G component is 128 based on the address signal of the input unit 102 and the most significant bit of the G component. If the value of the G component is 128, the detector is prohibited to use. Generates a signal, and the shading circuit outputs a zero value when receiving the prohibition signal from the detector; otherwise, the shading circuit outputs the output of the repair means.

제7의 극성제어수단(37)은 상기 제1의 극성제어수단과 비슷하며, 그 보수수단(도시하지 않음)을 룩업테이블수단(1)의 제7세그멘트(17)의 출력단과 연결하고, 그 출력음영회로(도시하지 않음)은 보수수단과 연결하여, 디지털 B 칼라성분의 최상위비트가 0이 되면, 상기 보수수단이 룩업테이블수단(1)의 제7세그멘트(17)의 출력에 대해 2의 보수를 취한다. 그리고, 상기 탐지기(도시하지 않음)는 입력수단(103)의 어드레스신호와 B 성분의 최상위비트에 의해 디지털 B 성분이 128인지 아닌지를 탐지하여, 상기 B 성분의 값이 128이면 상기 탐지기가 사용금지신호를 발생하며, 상기 음영회로는 상기 탐지기로부터 사용금지신호를 받으면 0값을 출력하고, 그렇지 않은 경우에는 상기 음영회로는 보수수단의 출력을 출력한다.The seventh polarity control means 37 is similar to the first polarity control means, and connects the maintenance means (not shown) with the output terminal of the seventh segment 17 of the lookup table means 1, and The output shading circuit (not shown) is connected to the repairing means, and when the most significant bit of the digital B color component becomes zero, the repairing means is equal to 2 for the output of the seventh segment 17 of the lookup table means 1. Take a reward. The detector (not shown) detects whether or not the digital B component is 128 by the address signal of the input unit 103 and the most significant bit of the B component. If the value of the B component is 128, the detector is prohibited to use. Generates a signal, and the shading circuit outputs a zero value when receiving the prohibition signal from the detector; otherwise, the shading circuit outputs the output of the repair means.

제8의 극성제어수단(38)은 상기 제1의 극성제어수단(31)과 동일한 구조를 나타내며, 상기 보수수단(도시하지 않음)을 룩업테이블수단(1)의 제8세그멘트(18)의 출력단에 연결하고, 그 출력음영회로(도시하지 않음)을 보수수단과 연결하여, 디지털 B 칼라성분의 최상위비트가 0이 되면, 상기 보수수단이 룩업테이블수단(1)의 제8세그멘트(18)의 출력에 대해 2의 보수를 취한다. 그리고, 상기 탐지기(도시하지 않음)는 입력수단(103)의 어드레스신호와 B 성분의 최상위비트에 의해 디지털 B 성분이 128인지 아닌지를 탐지하여, 만약 128이면 상기 탐지기가 사용금지신호를 발생하며, 상기 음영회로가 그 사용금지신호를 받으면 0값을 출력하며, 그렇지 않으면 상기 음영회로는 보수수단의 출력을 출력한다.The eighth polarity control means 38 has the same structure as the first polarity control means 31, and the maintenance means (not shown) is connected to the output end of the eighth segment 18 of the lookup table means 1. And the output shading circuit (not shown) with the repairing means so that when the most significant bit of the digital B color component becomes zero, the repairing means of the eighth segment 18 of the lookup table means 1 is connected. Take a two's complement of the output. The detector (not shown) detects whether or not the digital B component is 128 based on the address signal of the input unit 103 and the most significant bit of the B component, and if it is 128, the detector generates a prohibition signal. The shading circuit outputs a value of zero when the shading circuit receives the prohibition signal; otherwise, the shading circuit outputs the output of the maintenance means.

제9의 극성제어수단(39)의 구조도 상기 제1의 극성제어수단(31)과 유사하며, 상기 보수수단(도시하지 않음)은 룩업테이블수단(1)의 제9세그멘트(19)의 출력단과 연결하고, 상기 출력음영회로(도시하지 않음)은 보수수단과 연결하여, 디지털 B 칼라성분의 최상위비트가 0이 되면, 상기 보수수단이 룩업테이블수단(1)의 제9세그멘트(19)의 출력에 대해 2의 보수를 취한다. 그리고, 상기 탐지기(도시하지 않음)는 입력수단(103)의 어드레스신호 및 B 성분의 최상위비트에 의해 디지털 B 성분이 128인지 아닌지를 탐지하여, 상기 B 성분의 값이 128이면 상기 탐지기가 사용금지신호를 발생하며, 상기 음영회로는 상기 사용금지신호를 받으면 0값을 출력하고, 그렇지 않은 경우에는 상기 음영회로는 보수수단의 출력을 출력한다.The structure of the ninth polarity control means 39 is similar to that of the first polarity control means 31, and the maintenance means (not shown) is an output end of the ninth segment 19 of the lookup table means 1. And the output shading circuit (not shown) is connected to a repair means, and when the most significant bit of the digital B color component becomes zero, the repair means is connected to the ninth segment 19 of the lookup table means 1. Take a two's complement of the output. The detector (not shown) detects whether or not the digital B component is 128 based on the address signal of the input unit 103 and the most significant bit of the B component. If the value of the B component is 128, the detector is prohibited to use. Generates a signal, and the shading circuit outputs a value of zero upon receiving the prohibition signal; otherwise, the shading circuit outputs the output of the maintenance means.

제1가산수단은 제1가산기(41) 및 제2가산기(42)를 구비하여 상기 제1가산기(41)는 제1의 극성제어수단(31)의 출력음영회로(311)와 제4의 극성제어회로(34)의 출력음영회로에 연결하고, 제1의 극성제어수단(31)의 음영회로(311)의 출력과 제4의 극성제어수단(34)의 음영회로의 출력총화에 대응하여 출력한다. 상기 제2가산기(42)는 제7의 극성제어수단(37)의 출력음영회로와 상기 제1가산기(41)에 연결하여 상기 제1가산기(41)의 출력과 제7의 극성제어수단(37)의 출력의 총화에 대응하여 출력하여 디지털 Y성분을 얻도록 한다.The first adder comprises a first adder 41 and a second adder 42, the first adder 41 having an output shader circuit 311 and a fourth polarity of the first polarity control means 31. Connected to the output shading circuit of the control circuit 34, and corresponding to the output of the shading circuit 311 of the first polarity control means 31 and the output of the shading circuit of the fourth polarity control means 34; do. The second adder 42 is connected to the output shader circuit of the seventh polarity control means 37 and the first adder 41 to output the first adder 41 and the seventh polarity control means 37. Outputs corresponding to the sum of the outputs of

제2가산수단은 제3가산기(43) 및 제4가산기(44)를 구비하고 있으며, 상기 제3의 가산기(43)는 제2의 극성제어수단(32)의 출력음영회로와 제5의 극성제어수단(35)의 출력음영회로에 연결하여 제2의 극성제어수단(32)의 출력과 제5의 극성제어수단(35)의 출력의 총화에 대응하여 출력하고, 상기 제4가산기(44)는 제3가산기(43)과 제8의 극성제어수단(38)의 출력음영회로에 연결하여 상기 제3가산기(43)의 출력과 제8의 극성제어수단(38)의 출력의 총화에 대응하여 출력하여 디지털 Cb 성분을 얻도록 한다.The second adding means comprises a third adder 43 and a fourth adder 44, wherein the third adder 43 is the output shader circuit of the second polarity control means 32 and the fifth polarity. The fourth adder 44 is connected to an output shading circuit of the control means 35 so as to correspond to the sum of the output of the second polarity control means 32 and the output of the fifth polarity control means 35. Is connected to the output shader circuit of the third adder 43 and the eighth polarity control means 38 to correspond to the sum of the output of the third adder 43 and the output of the eighth polarity control means 38. Output to obtain the digital Cb component.

제3가산수단은 제5가산기(45) 및 제6가산기(46)를 구비하고 있으며, 상기 제5의 가산기(45)는 제3의 극성제어수단(33)의 출력음영회로 및 제6의 극성제어수단(36)의 출력음영회로에 연결하여, 상기 제3의 극성제어수단(33)의 출력과 제6의 극성제어수단(36)의 출력의 총화에 대응하여 출력하고, 상기 제6가산기(46)는 제5가산기(45)과 제9의 극성제어수단(39)의 출력음영회로에 연결하여 상기 제5가산기(45)의 출력과 제9의 극성제어수단(39)의 출력의 총화에 대응하여 출력하여 디지털 Cr 성분을 얻도록 한다.The third adding means comprises a fifth adder 45 and a sixth adder 46, wherein the fifth adder 45 is an output shader circuit of the third polarity control means 33 and a sixth polarity. Connected to the output shading circuit of the control means 36, corresponding to the sum of the output of the third polarity control means 33 and the output of the sixth polarity control means 36, and outputting the sixth adder ( 46 is connected to the output shader circuit of the fifth adder 45 and the ninth polarity control means 39 to sum the output of the fifth adder 45 and the output of the ninth polarity control means 39. Corresponding output is obtained to obtain digital Cr component.

제1보상/리미트회로(51)는 제1가산수단의 제2가산기(42)와 연결하여 디지털 Y성분을 수취함과 동시에, 제2가산기(42)로부터의 Y성분의 값으로 정수를 보상함과 아울러, 상기 Y성분의 값을 0-255 사이로 제한하여, 즉 상기 Y성분의 보상된 값이 255를 넘으면 255이내로 부수(負數)가 되면 0으로 각각 규제한다.The first compensation / limit circuit 51 is connected to the second adder 42 of the first adder to receive the digital Y component, and compensates the integer by the value of the Y component from the second adder 42. In addition, the value of the Y component is limited to 0 to 255, that is, if the compensated value of the Y component exceeds 255, it is regulated to 0 when it becomes an incidental number within 255.

제2보상/리미트회로(52)는 제2가산수단의 제4가산기(44)와 연결하여 디지털 Cb 성분을 수취함과 동시에, 제4가산기(44)로부터의 Cb 성분의 값으로 정수를 보상함과 아울러, 상기 Cb 성분의 값을 0-255 사이로 규제하여, 즉 상기 Cb 성분의 보상된 값이 255를 넘으면 255이내로 부수(負數)가 되면 0으로 각각 규제한다.The second compensation / limit circuit 52 is connected to the fourth adder 44 of the second adding means to receive the digital Cb component, and compensates the integer by the value of the Cb component from the fourth adder 44. In addition, the value of the Cb component is regulated to be 0-255, that is, if the compensated value of the Cb component exceeds 255, it is regulated to 0, respectively, if it is incidentally within 255.

제3보상/리미트회로(53)는 제3가산수단의 제6가산기(46)와 연결하여 디지털 Cr 성분을 수취함과 동시에, 제6가산기(46)로부터의 Cr 성분의 값으로 정수를 보상함과 아울러, 상기 Cr 성분의 값을 0-255 사이로 규제하여, 즉 상기 Cr성분의 보상된 값이 255를 넘으면 255이내로, 부수(負數)가 되면 0으로 각각 규제한다. 그리고, 이들 제1, 제2 및 제3보상/리미트회로(51),(52),(53)은 수평이동 가능하면서도 오버플로우 발생저지가 가능하도록 설계된다.The third compensation / limit circuit 53 is connected to the sixth adder 46 of the third adding means to receive the digital Cr component, and compensates the integer by the value of the Cr component from the sixth adder 46. In addition, the value of the Cr component is regulated to be 0 to 255, that is, the compensated value of the Cr component is regulated to 255 or less when the compensated value of the Cr component is more than 255, respectively. The first, second and third compensation / limit circuits 51, 52, and 53 are designed to be horizontally movable and to prevent overflow.

상기 제1-제3보상수단(21),(22),(23) 및 제1-제9의 극성제어수단(31),(32),(33),(34),(35),(36),(37),(38)(39)을 사용함에 대해 하기와 같이 설명한다. 제1도와 제6도를 참조하면, 본 실시예의 디지털 칼라성분은 8비트 성분이므로 PIm값은 0부터 255의 범위내에 있으며, 이것으로부터 1-127의 범위내에 있어서의 PIm값의 2의 보수가 129-255의 범위내에 있어서의 것과 완전히 동일하게 대응하고 있음을 알 수 있다. 예를 들어, 1에 대한 2의 보수는 255에 대한 것과 동일하며, 2에 대한 2의 보수는 254에 대한 것과 동일하다. …등이며, 즉 변환식(a) 및 (b)를 사용했을 때, 1 및 255의 PIm값과 대응하는 성분 변환값의 절대수치는 크기에서 같고 극성에서 다르며, 또한 2 및 254의 PIm값과 대응하는 성분 변환값의 절대수치는 크기에서 같고 극성에서 다른… 등을 나타낸다. 따라서, 1과 255의 PIm값은 같은 어드레스를 적용할 수 있으며, 2 및 254의 PIm값등도 마찬가지로 동일한 어드레스를 공용할 수 있음과 동시에, 그 128의 PIm값은 0의 PIm값을 부호화한 어드레스를 적용할 수 있으며, 이에 따라 룩업테이블수단(1)의 기억체에 대한 요구를 9×27×8=1.152K 바이트로 감소할 수 있다. 제1-제3보수수단(21),(22),(23)은 0-127의 범위내에 있어서의 PIm값의 2의 보수를 발생함과 동시에 룩업테이블수단(1)의 어드레스 입력단에 전송하여 그 대응하는 성분 변환값을 발생시키는데 사용되며, 극성제어수단(31),(32),(33),(34),(35),(36),(37),(38),(39)은 PIm값이 0-127의 범위내에 있는 경우에 있어서의 대응 성분 변환값의 극성을 전환하는데 사용된다.The first to third compensation means 21, 22, 23 and the first to ninth polarity control means 31, 32, 33, 34, 35, and ( The use of 36, 37, 38 and 39 will be described as follows. 1 and 6, since the digital color component of this embodiment is an 8-bit component, the PIm value is in the range of 0 to 255, from which the two's complement of the PIm value in the range of 1 to 127 is 129. It can be seen that it corresponds exactly to that in the range of -255. For example, the two's complement of 1 is the same as for 255, and the two's complement of 2 is the same as for 254. … That is, when the conversion equations (a) and (b) are used, the absolute values of the component conversion values corresponding to PIm values of 1 and 255 are the same in magnitude and different in polarity, and also correspond to PIm values of 2 and 254. The absolute values of the component conversion values are the same in magnitude and different in polarity. And the like. Therefore, the same address can be applied to the PIm values of 1 and 255, and the PIm values of 2 and 254 can share the same address as well, and the 128 PIm values represent the addresses encoding 0 PIm values. can be applied, and thus it is possible to reduce the need for a storage element of the lookup table means 1 to 9 × 2 7 × 8 = 1.152K bytes. The first to third repair means 21, 22, and 23 generate a two's complement of the PIm value within the range of 0 to 127, and transmit it to the address input terminal of the lookup table means 1. It is used to generate the corresponding component conversion value, and it is used to control the polarity control means 31, 32, 33, 34, 35, 36, 37, 38, 39 Is used to switch the polarity of the corresponding component conversion value when the PIm value is in the range of 0-127.

본 발명에 있어서의 제1실시예는 제1-제3보수수단(21),(22),(23) 및 제1-제9의 극성제어수단(31)-(39)이 사용되고 있지 않을 때에도 운용할 수 있으며, 즉 제1-제3보수수단(21),(22),(23)과 극성제어수단(31)-(39)을 사용하지 않는 경우, R, G, B 성분을 Y, Cb, Cr 성분으로 변환할때에는 성분 변환값을 하기 변환식(d)에 따라 칼라 룩업테이블수단과의 제1-제9세그멘트 (11)-(19)에 프로그래밍 입력한다.In the first embodiment of the present invention, even when the first-third repair means 21, 22, 23 and the first-ninth polarity control means 31-39 are not used. Can be operated, i.e., when the first-third repair means (21), (22), (23) and the polarity control means (31)-(39) are not used, When converting to the Cb and Cr components, the component conversion values are programmatically inputted into the first to ninth segments (11) to (19) with the color lookup table means in accordance with the following conversion formula (d).

또한, 디지털 Y, Cb, Cr 성분을 R, G, B 성분으로 변환할 때에는 하기 변환식(e)에 따라 행한다.In addition, when converting digital Y, Cb, Cr component into R, G, B component, it performs according to following conversion formula (e).

이 경우, 기억장치의 수요가 비교적 커지지만, 그래도 9×28×8=2.304K 바이트에 머물러 종래의 칼라 스페이스 변환장치에 비해 상당히 작아진다.In this case, becomes larger demand for storage is relatively, but remains in 9 × 2 8 × 8 = 2.304K bytes is considerably smaller compared to the conventional color space conversion apparatus.

제4도는 본 발명에 있어서의 제2실시예를 나타낸 도면으로서, 제2실시예는 Y, Cb, Cr 성분을 R, G, B 성분으로 변환하는데 사용된다. 변환식(e)에 있어서, Y-in-R 성분, Y-in-G 성분, Y-in-B 성분과 대응하는 변환계수가 모두 1이며, 또한 Cb-in-R 성분과 Cr-in-B 성분과 대응하는 변환계수가 거의 0에 가깝기 때문에 다수의 어드레스 입력단 및 제1-제4세그멘트(11A-14A)만을 구비한 간단한 룩업테이블수단(1A)을 사용할 수 있다. 본 실시예에 있어서는 룩업테이블수단이 ROM 장치이며, 또한 디지털 Cb와 디지털 Cr을 받아 어드레스 지정하여 어드레스 입력하는 입력수단(102A, 103A)를 포함하며, Cb-in-G, Cb-in-B, Cr-in-R 및 Cr-in-G의 각각 성분과 대응하는 변환값은 각각 제1-제4세그멘트(11A-14A)에 위치되어 있다. 그리고, 제1보수수단(22A)는 입력수단(102A)와 연결하여 디지털 Cb 칼라성분을 수취함과 동시에, Cb 칼라성분의 최상위비트가 0에 가까울 때, 상기 Cb 칼라성분의 비교적 낮은 7비트에 대해 2의 보수를 취한다.4 is a diagram showing a second embodiment in the present invention, which is used to convert the Y, Cb, and Cr components into R, G, and B components. In the conversion formula (e), the conversion coefficients corresponding to the Y-in-R component, the Y-in-G component, and the Y-in-B component are all 1, and the Cb-in-R component and Cr-in-B Since the conversion coefficient corresponding to the component is nearly zero, a simple lookup table means 1A having only a plurality of address input stages and first-fourth segments 11A-14A can be used. In the present embodiment, the look-up table means is a ROM device, and includes input means 102A and 103A for receiving and addressing digital Cb and digital Cr, and including Cb-in-G, Cb-in-B, The conversion values corresponding to the respective components of Cr-in-R and Cr-in-G are located in the first to fourth segments 11A-14A, respectively. The first repairing means 22A is connected to the input means 102A to receive the digital Cb color component and, when the most significant bit of the Cb color component is close to zero, for the relatively low 7 bits of the Cb color component. Take two's reward.

제2보수수단(23A)은 입력수단(103A)과 연결하여 디지털 Cr 칼라성분을 수취하고, 동시에 Cr 칼라성분의 최상위비트가 0이면, 상기 Cr 칼라성분의 비교적 낮은 7비트에 대해 2의 보수를 취한다.The second repair means 23A is connected to the input means 103A to receive the digital Cr color component. At the same time, if the most significant bit of the Cr color component is 0, the second repair means 23A compensates for 2 relatively low 7 bits of the Cr color component. Take it.

또한, 제1의 극성제어수단(31A)은 룩업테이블수단(1A)의 제1세그멘트(11A)와 연결하여 상기 제1세그멘트(11A)의 출력을 수취하며, 디지털 Cb 성분이 128일 때에 상기 제1의 극성제어수단(31A)이 0의 값을 출력하고, 128이 아닐 때에는 상기 제1의 극성제어수단(31A)이 Cb 성분의 최상위비트가 0이 되었을 때 제1세그멘트(11A)의 출력에 대해 2개의 보수를 취하며, 상기 Cb 성분의 최상위비트가 1일 때 상기 제1세그멘트(11A)의 출력을 출력시킨다.Further, the first polarity control means 31A is connected to the first segment 11A of the lookup table means 1A to receive the output of the first segment 11A, and when the digital Cb component is 128, the first polarity control means 31A If the polarity control means 31A of 1 outputs a value of 0, and if it is not 128, the first polarity control means 31A is connected to the output of the first segment 11A when the most significant bit of the Cb component becomes zero. It takes two complements, and outputs the output of the first segment 11A when the most significant bit of the Cb component is one.

제2의 극성제어수단(32A)은 룩업테이블수단(1A)의 제2세그멘트(12A)와 연결하여 상기 제2세그멘트(12A)의 출력을 수취함과 동시에, 디지털 Cb 성분이 128일 때에 0의 값을 출력시키도록 하며, 128이 아닌 때에는 상기 제2의 극성제어수단(32A)이 Cb 성분의 최상위비트가 0일 때 제2세그멘트(12A)의 출력에 2의 보수를 취하고, 또한 상기 최상위비트가 1일 때 상기 제2세그멘트(12A)의 출력을 출력시킨다.The second polarity control means 32A is connected to the second segment 12A of the lookup table means 1A to receive the output of the second segment 12A, and at the same time, a value of zero when the digital Cb component is 128. If not 128, the second polarity control means 32A takes two's complement to the output of the second segment 12A when the most significant bit of the Cb component is 0, and the most significant bit is When 1, the output of the second segment 12A is output.

제3의 극성제어수단(33A)은 룩업테이블수단(1A)의 제3세그멘트(13A)와 연결하여 상기 제3세그멘트(13A)의 출력을 수취함과 동시에, 디지털 Cr 성분이 128일 때에 0의 값을 출력시키도록 하며, 128이 아닌 때에는 상기 제3의 극성제어수단(33A)이 Cr 성분의 최상위비트가 0일 때 제3세그멘트(13A)의 출력에 2의 보수를 취하고, 또한 상기 최상위비트가 1일 때 상기 제3세그멘트(13A)의 출력을 출력시킨다.The third polarity control means 33A is connected to the third segment 13A of the lookup table means 1A to receive the output of the third segment 13A and has a value of zero when the digital Cr component is 128. If not 128, the third polarity control means 33A takes two's complement to the output of the third segment 13A when the most significant bit of the Cr component is 0, and the most significant bit is When 1, the output of the third segment 13A is output.

제4의 극성제어수단(34A)은 룩업테이블수단(1A)의 제4세그멘트(14A)와 연결하여 상기 제4세그멘트(14A)의 출력을 수취함과 동시에, 디지털 Cr 성분이 128일 때에 0의 값을 출력시키도록 하며, 128이 아닌 때에는 상기 제4의 극성제어수단(34A)이 Cr 성분의 최상위비트가 0일 때 제4세그멘트(14A)의 출력에 2의 보수를 취하고, 또한 상기 최상위비트가 1일 때 상기 제4세그멘트(14A)의 출력을 출력시킨다.The fourth polarity control means 34A is connected to the fourth segment 14A of the lookup table means 1A to receive the output of the fourth segment 14A and has a value of zero when the digital Cr component is 128. If not 128, the fourth polarity control means 34A takes two's complement to the output of the fourth segment 14A when the most significant bit of the Cr component is 0, and the most significant bit is When 1, the output of the fourth segment 14A is output.

제1가산수단은 제1가산기(41A)를 구비하고, Y성분과 제3의 극성제어수단(33A)의 출력의 총화에 대응하는 출력을 하여 디지털 R 성분을 얻는다.The first adding means includes a first adder 41A, and outputs corresponding to the sum of the outputs of the Y component and the third polarity control means 33A to obtain the digital R component.

제2가산수단은 제2가산기(42A)와 제3가산기(43A)를 구비하고, 상기 제2가산기(42A)를 제1의 극성제어수단(31A) 및 제4의 극성제어수단(34A)에 연결하고, 제1의 극성제어수단(31A)의 출력 및 제4의 극성제어수단(34A)의 출력의 총화에 대응하는 출력을 한다. 상기 제3가산기(43A)는 제2가산기(42A)와 연결하여 Y성분을 수취함과 동시에, Y성분과 상기 제2가산기(42A)의 출력의 총화와 대응하는 출력을 하여 디지털 G 성분을 얻는다.The second adding means includes a second adder 42A and a third adder 43A, and the second adder 42A is connected to the first polarity control means 31A and the fourth polarity control means 34A. And an output corresponding to the sum of the output of the first polarity control means 31A and the output of the fourth polarity control means 34A. The third adder 43A is connected to the second adder 42A to receive a Y component, and outputs a digital G component corresponding to the sum of the Y component and the output of the second adder 42A.

제3가산수단은 제4가산기(44A)를 구비하고, Y성분과 제2의 극성제어수단(32A)의 출력과의 총화에 대응하여 출력하여 디지털 B 성분을 얻는다.The third adding means includes a fourth adder 44A and outputs corresponding to the sum of the Y component and the output of the second polarity control means 32A to obtain a digital B component.

제1리미트회로(71)는 제1가산기(41A)와 연결하여 디지털 R 성분을 수취하고, 상기 디지털 R 성분의 값을 0-255사이로 제한하며, 상기 R 성분의 값이 255를 넘은 경우에는 255로 제한하고, 부수인 경우에는 0으로 제한한다.The first limit circuit 71 receives the digital R component in connection with the first adder 41A, limits the value of the digital R component to between 0 and 255, and 255 when the value of the R component exceeds 255. Limit to 0, and if limited to 0.

제2리미트회로(72)는 제3가산기(43A)와 연결하여 디지털 G 성분을 수취하고, 상기 디지털 G 성분의 값을 0-255사이로 제한한다. 즉, 상기 디지털 G 성분의 값이 255를 넘은 경우에는 255로 제한하고, 부수인 경우에는 0으로 제한한다.The second limit circuit 72 is connected to the third adder 43A to receive the digital G component and limits the value of the digital G component to 0-255. That is, if the value of the digital G component exceeds 255, it is limited to 255, and if it is a negative number, it is limited to zero.

제3리미트회로(73)는 제4가산기(44A)와 연결하여 디지털 B 성분을 수취하고, 상기 디지털 B 성분의 값을 0-255사이로 제한하여 만약 255를 넘은 경우에는 255로, 부수인 경우에는 0으로 각각 제한한다.The third limit circuit 73 is connected to the fourth adder 44A to receive the digital B component. The third limit circuit 73 limits the value of the digital B component to 0-255 to 255 if it exceeds 255, and if it is incidental. Limit each to zero.

이와 같이, 본 발명의 칼라 스페이스 변환방법 및 그 장치에 있어서의 제1실시예는 변환식(a),(b)에 따른 성분 변환값을 프로그램 가능한 칼라 룩업테이블수단에 프로그램하여, 디지털 Y, Cb, Cr 성분과 디지털 R, G, B 성분 사이에 있어서 정, 역 양방향으로 칼라 스페이스 변환을 행할 수 있으며, 기억체에 대한 수요를 감소하여 9×28×8=1.152K 바이트로 저장할 수 있다. 또한, 제2실시예는 디지털 Y, Cb, Cr 성분을 디지털 R, G, B 성분으로 변환하는 장치로서, 극히 단순한 구조를 나타내 기억체에 대한 수요를 감소하고 있다. 따라서 양 실시예 모두 원가를 경감시킬 수 있음과 동시에 변환속도가 높은 효과가 있다.Thus, the first embodiment in the color space conversion method and apparatus of the present invention programs the component conversion values according to the conversion equations (a) and (b) into programmable color lookup table means, so that digital Y, Cb, Color space conversion can be performed in the positive and reverse directions between the Cr component and the digital R, G, and B components, and can be stored as 9 x 2 8 x 8 = 1.152 K bytes by reducing the demand on the storage body. Further, the second embodiment is a device for converting digital Y, Cb, Cr components into digital R, G, and B components, and has a very simple structure, thereby reducing the demand for a storage body. Therefore, both embodiments can reduce costs and at the same time have a high conversion speed.

Claims (10)

디지털 R, G, B 칼라성분과 디지털 Y, Cb, Cr 칼라성분 사이에서 칼라 스페이스를 변환방법에 있어서, (A) 디지털 R, G, B 칼라성분을 디지털 Y, Cb, Cr 칼라성분으로 변환할 때, (a1) 다수의 어드레스입력과 제1-제9세그멘트를 구비한 프로그래머블 칼라 룩업테이블수단이 디지털 R, G, B 성분의 변환에 따라 각각 R-in-Y 성분, R-in-Cb 성분, R-in-Cr 성분, G-in-Y 성분, G-in-Cb 성분, G-in-Cr 성분, B-in-Y 성분, B-in-Cb 성분, B-in-Cr 성분에 대응하는 디지털 성분 변환값을 상기 제1-제9세그멘트에 분포시키고, 상기 R-in-Y 성분, G-in-Y 성분, B-in-Y 성분, R-in-Cb 성분, G-in-Cb 성분, B-in-Cb 성분, R-in-Cr 성분, G-in-Cr 성분, B-in-Cr 성분에 각각 대응시키는 단계와, 상기 R 칼라성분의 최상위비트가 0이 되면 상기 R 칼라성분에 대해 2의 보수를 발생하는 단계와, 상기 G 칼라성분의 최상위 비트가 0이 되면 상기 G 칼라성분에 대해 2의 보수를 발생하는 단계와, (a2) 상기 디지털 R, G, B 성분을 상기 칼라 룩업테이블수단의 어드레스 입력단에 입력하고, 상기 R-in-Y 성분, G-in-Y 성분, B-in-Y 성분, R-in-Cb 성분, G-in-Cb 성분, B-in-Cb 성분, R-in-Cr 성분, G-in-Cr 성분 및 B-in-Cr 성분의 각각에 대응하는 기준을 발생시키는 단계와, 상기 RGB 색성분과 YCbCr 색성분의 각각이 8-비트성분이고 상기 단계(a1)의 변환셋트가A method of converting color space between digital R, G, B color components and digital Y, Cb, Cr color components, the method comprising: (A) converting digital R, G, B color components into digital Y, Cb, Cr color components; (A1) The programmable color lookup table means having a plurality of address inputs and first to ninth segments respectively has an R-in-Y component and an R-in-Cb component in accordance with the conversion of digital R, G, and B components. , R-in-Cr component, G-in-Y component, G-in-Cb component, G-in-Cr component, B-in-Y component, B-in-Cb component, B-in-Cr component A corresponding digital component conversion value is distributed in the first to ninth segments, and the R-in-Y component, G-in-Y component, B-in-Y component, R-in-Cb component, and G-in -Corresponding to a -Cb component, a B-in-Cb component, an R-in-Cr component, a G-in-Cr component, and a B-in-Cr component, respectively, and when the most significant bit of the R color component becomes zero, Generating a two's complement for the R color component, and if the most significant bit of the G color component is zero, Generating a two's complement to the G color component, (a2) inputting the digital R, G, and B components to an address input terminal of the color lookup table means, wherein the R-in-Y component and G-in -Y component, B-in-Y component, R-in-Cb component, G-in-Cb component, B-in-Cb component, R-in-Cr component, G-in-Cr component and B-in- Generating a reference corresponding to each of the Cr components, wherein each of the RGB color component and the YCbCr color component is an 8-bit component and the conversion set of step (a1) 이고, 상기 R 칼라성분의 최상위비트가 0이 되면 상기 대응하는 R-in-Y 변환 성분값, 상기 대응하는 R-in-Cb 변환 성분값 및 R-in-Cr 변환 성분값의 극성을 반전하고, 상기 G 칼라성분의 최상위비트가 0이 되면 상기 대응하는 G-in-Y 변환 성분값, 상기 대응하는 G-in-Cb 변환 성분값 및 G-in-Cr 변환 성분값의 극성을 반전하고, B 칼라성분의 최상위비트가 0이 되면 상기 대응하는 B-in-Y 변환 성분값, 상기 대응하는 B-in-Cb 변환 성분값 및 B-in-Cr 변환 성분값의 극성을 반전하는 단계와, (a3) 상기 R-in-Y 성분, G-in-Y 성분, B-in-Y 성분의 대응하는 각각 성분 변환값을 가산하여 디지털 Y를 얻는 단계와, (a4) 상기 R-in-Cb 성분, G-in-Cb 성분, B-in-Cb 성분의 대응하는 각각 성분 변환값을 가산하여 디지털 Cb를 얻는 단계와, (a5) 상기 R-in-Cr 성분, G-in-Cr 성분, B-in-Cr 성분의 대응하는 각각 성분 변환값을 가산하여 디지털 Cr을 얻는 단계를 포함하는 칼라 스페이스 변환방법.When the most significant bit of the R color component becomes 0, the polarity of the corresponding R-in-Y conversion component value, the corresponding R-in-Cb conversion component value and R-in-Cr conversion component value is inverted. When the most significant bit of the G color component becomes 0, the polarity of the corresponding G-in-Y conversion component value, the corresponding G-in-Cb conversion component value and G-in-Cr conversion component value is inverted, Inverting the polarity of the corresponding B-in-Y conversion component value, the corresponding B-in-Cb conversion component value and the B-in-Cr conversion component value when the most significant bit of the B color component becomes zero; (a3) adding the respective component conversion values of the R-in-Y component, G-in-Y component, and B-in-Y component to obtain digital Y; (a4) the R-in-Cb Adding the respective component conversion values of the component, the G-in-Cb component, and the B-in-Cb component to obtain digital Cb; (a5) the R-in-Cr component, the G-in-Cr component, The corresponding respective component of the B-in-Cr component Adding a conversion value to obtain a digital Cr. 제1항에 있어서, 상기 (a3),(a4),(a5)의 단계를 동시에 실행하는 칼라 스페이스 변환방법.The color space conversion method according to claim 1, wherein the steps (a3), (a4) and (a5) are executed simultaneously. (B) 디지털 Y, Cb, Cr 칼라성분을 디지털 R, G, B 칼라성분으로 변환할 때, (b1) 상기 칼라 룩업테이블 수단이 각 디지털 Y, Cb, Cr 성분의 변환식 세트에 따른 Y-in-R 성분, Cb-in-R 성분, Cr-in-R 성분, Y-in-G 성분, Cb-in-G 성분, Cr-in-G 성분, Y-in-B 성분, Cb-in-B 성분, Cr-in-B 성분과 대응하는 각각 디지털성분 변환값을 상기 제1-제9세그멘트에 위치시켜 Y-in-R 성분, Y-in-G 성분, Y-in-B 성분, Cb-in-R 성분, Cb-in-G 성분, Cb-in-B 성분, Cr-in-R 성분, Cr-in-G 성분, Cr-in-B 성분에 대응시키는 단계와, (b2) 상기 디지털 Y, Cb, Cr 성분을 상기 칼라 룩업테이블수단의 어드레스 입력단에 입력하여, 상기 Y-in-R 성분, Y-in-G 성분, Y-in-B 성분, Cb-in-R 성분, Cb-in-G 성분, Cb-in-B 성분, Cr-in-R 성분, Cr-in-G 성분 및 Cr-in-B 성분의 각각 대응하는 기준을 발생시키는 단계와, (b3) 상기 Y-in-R 성분, Cb-in-R 성분, Cr-in-R 성분의 대응하는 각각 성분 변환값을 가산하여 디지털 R 성분을 산출하는 단계와, (b4) 상기 Y-in-G 성분, Cb-in-G 성분, Cr-in-G 성분의 대응하는 각각 성분 변환값을 가산하여 디지털 G 성분을 산출하는 단계와, (b5) 상기 Y-in-B 성분, Cb-in-B 성분, Cr-in-B 성분의 대응하는 각각 성분 변환값을 가산하여 디지털 B를 산출하는 단계를 포함하는 칼라 스페이스 변환방법.(B) When converting digital Y, Cb, Cr color components into digital R, G, B color components, (b1) the color lookup table means is Y-in according to the conversion set of each digital Y, Cb, Cr component. -R component, Cb-in-R component, Cr-in-R component, Y-in-G component, Cb-in-G component, Cr-in-G component, Y-in-B component, Cb-in- The digital component conversion values corresponding to the B component and the Cr-in-B component are placed in the first to ninth segments, respectively, so that the Y-in-R component, the Y-in-G component, the Y-in-B component, and the Cb component are located. corresponding to the -in-R component, the Cb-in-G component, the Cb-in-B component, the Cr-in-R component, the Cr-in-G component, the Cr-in-B component, and (b2) the Digital Y, Cb, Cr components are inputted to the address input terminal of the color lookup table means, so that the Y-in-R component, Y-in-G component, Y-in-B component, Cb-in-R component, Cb generating corresponding criteria of the -in-G component, the Cb-in-B component, the Cr-in-R component, the Cr-in-G component and the Cr-in-B component, respectively, (b3) the Y- vs. in-R component, Cb-in-R component, Cr-in-R component Calculating a digital R component by adding corresponding component conversion values, and (b4) respectively converting corresponding component conversion values of the Y-in-G component, the Cb-in-G component, and the Cr-in-G component. Calculating the digital G component by adding the components; and (b5) calculating the digital B by adding respective component conversion values of the Y-in-B component, the Cb-in-B component, and the Cr-in-B component. Color space conversion method comprising the step. 제3항에 있어서, 상기 (b3),(b4),(b5) 단계를 동시에 실행하는 칼라 스페이스 변환방법.4. The method of claim 3, wherein the steps (b3), (b4), and (b5) are executed simultaneously. 제3항에 있어서, 상기 (b1) 단계를 변환식The method of claim 3, wherein the step (b1) 에 따라 행하는 칼라 스페이스 변환방법.Color space conversion method according to the method. 제3항에 있어서, 상기 (b) 단계 전에 상기 Y칼라성분의 최상위비트가 0가 되면 상기 Y칼라성분에 대해 2의 보수를 취하는 단계와, 상기 Cb 칼라성분의 최상위 비트가 0이 되면 상기 Cb 칼라성분에 대해 2의 보수를 취하는 단계와, 상기 Cr 칼라성분의 최상위 비트가 0가 되면 상기 Cr 칼라성분에 대해 2의 보수를 취하는 단계를 포함하며, 상기 (b3),(b4),(b5) 단계 이전에, 상기 Y칼라성분의 최상위비트가 0일 때, 상기 Y-in-R 성분, Y-in-G 성분 및 Y-in-B 성분의 각각 극성을 변환하는 단계와, 상기 Cb 칼라성분의 최상위비트가 0일때, 상기 Cb-in-R 성분, Cb-in-G 성분 및 Cb-in-B 성분의 각각 극성을 변환하는 단계와, 상기 Cr 칼라성분의 최상위비트가 0일때, 상기 Cr-in-R 성분, Cr-in-G 성분 및 Cr-in-B 성분의 각각 대응하는 성분 변환값에 대해 극성을 변환하는 단계를 포함하며, R, G, B 칼라성분과, Y, Cb, Cr 칼라성분이 각각 8비트 성분이며, 상기 단계를 변환식4. The method of claim 3, wherein if the most significant bit of the Y color component becomes zero before the step (b), the step 2 takes a complement of 2 for the Y color component; and if the most significant bit of the Cb color component becomes 0, the Cb Taking a two's complement for the color component, and taking a two's complement for the Cr color component when the most significant bit of the Cr color component is zero, wherein (b3), (b4), and (b5) Before step), when the most significant bit of the Y color component is 0, converting polarities of the Y-in-R component, the Y-in-G component, and the Y-in-B component, respectively, and the Cb color. Converting polarities of the Cb-in-R component, the Cb-in-G component, and the Cb-in-B component when the most significant bit of the component is 0; and when the most significant bit of the Cr color component is 0, the Converting the polarity of each of the Cr-in-R component, Cr-in-G component, and Cr-in-B component to corresponding component conversion values, wherein R, G, B This is the 8-bit components, each component and La, Y, Cb, Cr color component, the transformation step 에 따라 행하는 칼라 스페이스 변환방법.Color space conversion method according to the method. 복수의 어드레스 입력과 제1-제9세그멘트를 구비하고, 상기 제1-제9세그멘트에 있어서 R-in-Y 성분, G-in-Y 성분, B-in-Y 성분, R-in-Cb 성분, G-in-Cb 성분, B-in-Cb 성분, R-in-Cr 성분, G-in-Cr 성분, B-in-Cr 성분과 대응하는 각각 성분 변환값을 저장함과 동시에, 수취한 디지털 R, G 및 B 성분을 상기 어드레스 입력단에 적절히 분포하여 어드레싱하며, 상기 R, G, B 칼라성분이 8비트 성분이고, 그 변환식이And a plurality of address inputs and a first-ninth segment, wherein the R-in-Y component, the G-in-Y component, the B-in-Y component, and the R-in-Cb in the first-ninth segment. The component, G-in-Cb component, B-in-Cb component, R-in-Cr component, G-in-Cr component, and B-in-Cr component respectively store the component conversion values and receive The digital R, G, and B components are properly distributed and addressed at the address input terminal, and the R, G, and B color components are 8-bit components, and the conversion equation is 인 룩업테이블수단과, 상기 룩업테이블수단에 있어서의 제1세그멘트의 출력, 제4세그멘트의 출력 및 제7세그멘트의 출력의 총화에 대응 출력하여, 디지털 Y성분을 얻는 제1가산수단과, 상기 룩업테이블수단에 있어서의 제2세그멘트의 출력, 제5세그멘트의 출력 및 제8세그멘트의 출력의 총화에 대응 출력하여 디지털 Cb 성분을 얻는 제2가산수단과, 상기 룩업테이블수단에 있어서의 제3세그멘트의 출력, 제6세그멘트의 출력 및 제9세그멘트의 출력의 총화에 대응 출력하여 디지털 Cr 성분을 얻는 제3가산수단과, 상기 룩업테이블수단이 어드레스 입력단과 연결하여 R 칼라성분의 최상위비트가 0일때, 상기 R 칼라성분의 수취하여 상기 R 칼라성분에 대해 2의 보수를 행하는 제1보수수단과, 상기 룩업테이블수단이 어드레스 입력단과 연결하여 G 칼라성분의 최상위비트가 0일 때, 상기 G 칼라성분을 수취하여 상기 G 칼라성분에 대해 2의 보수를 행하는 제2보수수단과, 상기 룩업테이블수단이 어드레스 입력단과 연결하여 B 칼라성분의 최상위비트가 0일때, 상기 B 칼라성분을 수취하여 상기 B 칼라성분에 대해 2의 보수를 행하는 제3보수수단과, 상기 룩업테이블수단의 제1세그멘트와 제1가산수단의 사이에 연결되며, R 칼라성분의 최상위 비트가 0인 경우에 상기 룩업테이블수단의 제1세그멘트로부터 오는 R-in-Y 변환 분량값의 극성을 바꾸는 제1의 극성제어수단과, 상기 룩업테이블수단의 제2세그멘트와 제2가산수단의 사이에 연결되며, R 칼라성분의 최상위 비트가 0인 경우에 상기 룩업테이블수단의 제2세그멘트로부터 오는 R-in-Cb 변환 분량값의 극성을 바꾸는 제2의 극성제어수단과, 상기 룩업테이블수단의 제3세그멘트와 제3가산수단의 사이에 연결되며, R 칼라성분의 최상위 비트가 0인 경우에 상기 룩업테이블수단의 제3세그멘트로부터 오는 R-in-Cr 변환 분량값의 극성을 바꾸는 제3의 극성제어수단과, 상기 룩업테이블수단의 제4세그멘트와 제1가산수단이 사이에 연결되며, G 칼라성분의 최상위 비트가 0이 되면 상기 룩업테이블수단의 제4세그멘트로부터 오는 G-in-Y 변환 분량값의 극성을 바꾸는 제4의 극성제어수단과, 상기 룩업테이블수단의 제5세그멘트와 제2가산수단의 사이에 연결되며, G 칼라성분의 최상위 비트가 0이 되면 상기 룩업테이블수단의 제5세그멘트로부터 오는 G-in-Cb 변환 분량값의 극성을 바꾸는 제5의 극성제어수단과, 상기 룩업테이블수단의 제6세그멘트와 제3가산수단의 사이에 연결되며, G 칼라성분의 최상위 비트가 0이 되면 상기 룩업테이블수단의 제6세그멘트로부터 오는 G-in-Cr 변환 분량값의 극성을 바꾸는 제6의 극성제어수단과, 상기 룩업테이블수단의 제7세그멘트와 제1가산수단의 사이에 연결되며, B 칼라성분의 최상위 비트가 0이 되면 상기 룩업테이블수단의 제7세그멘트로부터 오는 B-in-Y 변환 분량값의 극성을 바꾸는 제7의 극성제어수단과, 상기 룩업테이블수단의 제8세그멘트와 제2가산수단의 사이에 연결되며, B 칼라성분의 최상위 비트가 0이 되면 상기 룩업테이블수단의 제8세그멘트로부터 오는 B-in-Cb 변환 분량값의 극성을 바꾸는 제8의 극성제어수단과, 상기 룩업테이블수단의 제9세그멘트와 제3가산수단의 사이에 연결되며, B 칼라성분의 최상위 비트가 0인 경우에 상기 룩업테이블수단의 제9세그멘트로부터 오는 B-in-Cr 변환 분량값의 극성을 바꾸는 제9의 극성제어수단을 구비하여 디지털 R, G, B 칼라성분을 디지털 Y, Cb, Cr 칼라성분으로 변환하는 칼라 스페이스 변환장치.An in-look-up table means, first adding means for outputting a first segment, an output of a fourth segment, and an output of a seventh segment in said look-up table means to obtain a digital Y component, and said look-up Second adding means for outputting the second segment in the table means, outputting the fifth segment, and output of the eighth segment to obtain a digital Cb component, and third segment in the lookup table means. A third addition means for outputting a digital Cr component by corresponding output of the output, the output of the sixth segment and the output of the ninth segment, and the lookup table means connected to an address input terminal so that the most significant bit of the R color component is zero; First complementary means for receiving the R color component and performing a two's complement to the R color component, and the lookup table means connected to an address input terminal to obtain a maximum of the G color component; When the above bit is 0, second complementary means for receiving the G color component and performing two's complement on the G color component, and when the lookup table means is connected to an address input terminal and the most significant bit of the B color component is zero. A third repair means for receiving the B color component and performing a two's complement on the B color component, and a first segment of the lookup table means and a first addition means, the most significant bit of the R color component; Is 0, between the first polarity control means for changing the polarity of the R-in-Y conversion amount value coming from the first segment of the lookup table means, and between the second segment and the second addition means of the lookup table means. Second polarity control means for changing the polarity of the R-in-Cb conversion amount value coming from the second segment of the lookup table means when the most significant bit of the R color component is zero; Third generation A third polarity control connected between the third and third adding means and changing the polarity of the R-in-Cr conversion amount value coming from the third segment of the lookup table means when the most significant bit of the R color component is zero; Means, and the fourth segment of the lookup table means and the first adding means are connected between each other, and when the most significant bit of the G color component becomes zero, the G-in-Y conversion amount value from the fourth segment of the lookup table means A fourth polarity control means for changing the polarity of and between the fifth segment and the second addition means of the lookup table means, and if the most significant bit of the G color component is zero, from the fifth segment of the lookup table means. The fifth polarity control means for changing the polarity of the coming G-in-Cb conversion amount value and the sixth segment and the third addition means of the lookup table means, and when the most significant bit of the G color component becomes zero, The lookup table A sixth polarity control means for changing the polarity of the G-in-Cr conversion amount value coming from the sixth segment of the stage, and between the seventh segment and the first addition means of the lookup table means, The seventh polarity control means for changing the polarity of the B-in-Y conversion amount value coming from the seventh segment of the lookup table means when the most significant bit becomes zero, and the eighth segment and the second addition means of the lookup table means; And eighth polarity control means for changing the polarity of the B-in-Cb conversion amount value coming from the eighth segment of the lookup table means when the most significant bit of the B color component becomes zero, and between the lookup table means. A ninth segment connected between the ninth segment and the third addition means and changing the polarity of the B-in-Cr conversion amount value coming from the ninth segment of the lookup table means when the most significant bit of the B color component is zero; With polarity control means W digital R, G, B color space converter for converting color components into a digital Y, Cb, Cr color component. 디지털 변환된 YCbCr 색성분들을 디지털 변환된 RGB 색성분으로 변환하는 방법에 있어서, (1) 룩업 테이블수단에 구비한 다수의 어드레스 입력에 있어서의 제1세그멘트의 디지털성분 변환값을 Cb-in-G 성분으로, 제2세그멘트의 디지털성분 변환값을 Cb-in-B 성분으로, 제3세그멘트의 디지털성분 변환값을 Cr-in-R 성분으로 제4세그멘트의 디지털성분 변환값을 Cr-in-G 성분으로 각각 대응시키는 단계와, 상기 Cb 칼라성분의 최상위비트가 0가 되면 상기 Cb 칼라성분에 대해 2의 보수를 발생하는 단계와, 상기 Cr 칼라성분의 최상위 비트가 0가 되면 상기 Cr 칼라성분에 대해 2의 보수를 발생하는 단계와, (2) 상기 디지털 변환된 Cb, Cr 성분을 상기 룩업테이블수단의 상기 어드레스입력에 입력하여, 상기 대응하는 Cb-in-G 변환성분값, 상기 대응하는 Cb-in-B 변환 성분값, 상기 대응하는 Cr-in-R 변환 성분값, 상기 대응하는 Cr-in-G 변환 성분값의 기준을 생성하는 단계와, 상기 RGB 색성분과 YCbCr 색성분의 각각이 8-비트성분이고 상기 변환셋트가A method of converting digitally converted YCbCr color components into digitally converted RGB color components, the method comprising: (1) converting a digital component conversion value of a first segment in a plurality of address inputs provided in a lookup table means into a Cb-in-G component; The digital component converted value of the second segment to the Cb-in-B component, the digital component converted value of the third segment to the Cr-in-R component, and the digital component converted value of the fourth segment to the Cr-in-G component. Respectively corresponding to each other; generating a complement of two for the Cb color component when the most significant bit of the Cb color component becomes zero; and two for the Cr color component when the most significant bit of the Cr color component becomes zero. And (2) inputting the digitally converted Cb and Cr components into the address input of the lookup table means to generate the corresponding Cb-in-G converted component values and the corresponding Cb-in. -B conversion component value, above ; And each of the RGB color components and YCbCr color components 8-bit components to generate a response Cr-in-R transformation component value, a standard of said corresponding Cr-in-G transformation component value and said conversion set 이고, 상기 Cb 칼라성분의 최상위비트가 0가 되면 상기 대응하는 Cb-in-G 변환 성분값과 상기 대응하는 Cb-in-B 변환 성분값의 극성을 반전하고, 상기 Cr 칼라성분의 최상위비트가 0가 되면 상기 대응하는 Cr-in-R 변환 성분값과 상기 대응하는 Cr-in-G 변환 성분값의 극성을 반전하는 단계와, (3) 상기 Y성분과 상기 대응하는 Cr-in-R 변환 성분값을 가산하는 디지털 R를 얻는 단계와, (4) 상기 Y성분, 상기 대응하는 Cb-in-G 변환 성분값, 상기 대응하는 Cr-in-G 변환 성분값을 가산하여 디지털 G를 얻는 단계와, (5) 상기 Y성분과 상기 대응하는 Cb-in-B 변환 성분값을 가산하여 디지털 B를 얻는 단계를 포함하여 Y, Cb, Cr 칼라성분을 R, G, B 칼라성분으로 변환하는 칼라 스페이스 변환방법.When the most significant bit of the Cb color component becomes 0, the polarity of the corresponding Cb-in-G transform component value and the corresponding Cb-in-B transform component value is inverted, and the most significant bit of the Cr color component is Inverting the polarity of the corresponding Cr-in-R conversion component value and the corresponding Cr-in-G conversion component value if zero; (3) the Y component and the corresponding Cr-in-R conversion Obtaining a digital R that adds a component value, and (4) obtaining a digital G by adding the Y component, the corresponding Cb-in-G converted component value, and the corresponding Cr-in-G converted component value. And (5) a color for converting the Y, Cb, Cr color components into R, G, and B color components, including the step of adding the Y component and the corresponding Cb-in-B conversion component values to obtain a digital B. Space conversion method. 디지털 R, G, B 칼라성분과 디지털 Y, Cb, Cr 칼라성분사이에서 칼라 스페이스를 변환방법에 있어서, (A) 디지털 R, G, B 칼라성분을 디지털 Y, Cb, Cr 칼라성분으로 변환할 때, (a1) 다수의 어드레스 입력과 제1-제9세그멘트를 구비한 프로그래머블 칼라 룩업테이블수단이 디지털 R, G, B 성분의 변환에 따라 각각 R-in-Y 성분, R-in-Cb 성분, R-in-Cr 성분, G-in-Y 성분, G-in-Cb 성분, G-in-Cr 성분, B-in-Y 성분, B-in-Cb 성분, B-in-Cr 성분과 대응하는 디지털 성분 변환값을 상기 제1-제9세그멘트에 분포시키고, 상기 R-in-Y 성분, G-in-Y 성분, B-in-Y 성분, R-in-Cb 성분, G-in-Cb 성분, B-in-Cb 성분, R-in-Cr 성분, G-in-Cr 성분, B-in-Cr 성분에 각각 대응시키는 단계와, 상기 R 칼라성분의 최상위비트가 0가 되면 상기 R 칼라성분에 대해 2의 보수를 발생하는 단계와, 상기 G 칼라성분의 최상위비트가 0가 되면 상기 G 칼라성분에 대해 2의 보수를 발생하는 단계와, (a2) 상기 디지털 R, G, B 성분을 상기 칼라 룩업테이블수단의 어드레스 입력단에 입력하고, 상기 R-in-Y 성분, G-in-Y 성분, B-in-Y 성분, R-in-Cb 성분, G-in-Cb 성분, B-in-Cb 성분, R-in-Cr 성분, G-in-Cr 성분 및 B-in-Cr 성분의 각각에 대응하는 기준을 발생시키는 단계와, 상기 RGB 색성분과 YCbCr 색성분의 각각이 8-비트성분이고 상기 단계(a1)의 변환셋트가A method of converting color space between digital R, G, B color components and digital Y, Cb, Cr color components, the method comprising: (A) converting digital R, G, B color components into digital Y, Cb, Cr color components; (A1) The programmable color lookup table means having a plurality of address inputs and first to ninth segments respectively has an R-in-Y component and an R-in-Cb component in accordance with the conversion of the digital R, G, and B components. , R-in-Cr component, G-in-Y component, G-in-Cb component, G-in-Cr component, B-in-Y component, B-in-Cb component, B-in-Cr component A corresponding digital component conversion value is distributed in the first to ninth segments, and the R-in-Y component, G-in-Y component, B-in-Y component, R-in-Cb component, and G-in -Corresponding to a -Cb component, a B-in-Cb component, an R-in-Cr component, a G-in-Cr component, and a B-in-Cr component, respectively, and when the most significant bit of the R color component becomes zero, Generating a two's complement for the R color component, and if the most significant bit of the G color component is zero, Generating a two's complement for the existing G color component, and (a2) inputting the digital R, G, and B components to an address input terminal of the color lookup table means, wherein the R-in-Y component and G-in -Y component, B-in-Y component, R-in-Cb component, G-in-Cb component, B-in-Cb component, R-in-Cr component, G-in-Cr component and B-in- Generating a reference corresponding to each of the Cr components, wherein each of the RGB color component and the YCbCr color component is an 8-bit component and the conversion set of step (a1) 이고, 상기 R 칼라성분의 최상위비트가 0가 되면 상기 대응하는 R-in-Y 변환 성분값, 상기 대응하는 R-in-Cb 변환 성분값 및 R-in-Cr 변환 성분값의 극성을 반전하고, 상기 G 칼라성분의 최상위비트가 0가 되면 상기 대응하는 G-in-Y 변환 성분값, 상기 대응하는 G-in-Cb 변환 성분값 및 G-in-Cr 변환 성분값의 극성을 반전하고, B 칼라성분의 최상위비트가 0가 되면 상기 대응하는 B-in-Y 변환 성분값, 상기 대응하는 B-in-Cb 변환 성분값 및 B-in-Cr 변환 성분값의 극성을 반전하는 단계와, (a3) 상기 R-in-Y 성분, G-in-Y 성분, B-in-Y 성분의 대응하는 각각 성분 변환값을 가산하여 디지털 Y를 얻는 단계와, (a4) 상기 R-in-Cb 성분, G-in-Cb 성분, B-in-Cb 성분의 대응하는 각각 성분 변환값을 가산하여 디지털 Cb를 얻는 단계와, (a3) 상기 R-in-Cr 성분, G-in-Cr 성분, B-in-Cr 성분의 대응하는 각각 성분 변환값을 가산하여 디지털 Cr를 얻는 단계를 포함하며, (B) 디지털 Y 칼라성분을 디지털 R, G, B 칼라성분으로 변환할 때, (b1) 상기 칼라 룩업테이블수단이 각 디지털 Y, Cb, Cr 성분의 변환식 세트에 따른 Y-in-R 성분, Cb-in-R 성분, Cr-in-R 성분, Y-in-G 성분, Cb-in-G 성분, Cr-in-G 성분, Y-in-B 성분, Cb-in-B 성분, Cr-in-B 성분과 대응하는 각각 디지털성분 변환값을 상기 제1-제9세그멘트에 위치시켜 Y-in-R 성분, Y-in-G 성분, Y-in-B 성분, Cb-in-R 성분, Cb-in-G 성분, Cb-in-B 성분, Cr-in-R 성분, Cr-in-G 성분, Cr-in-B 성분에 대응시키는 단계와, (b2) 상기 디지털 Y, Cb, Cr 성분을 상기 칼라 룩업테이블수단의 어드레스 입력단에 입력하여, 상기 Y-in-R 성분, Y-in-G 성분, Y-in-B 성분, Cb-in-R 성분, Cb-in-G 성분, Cb-in-B 성분, Cr-in-R 성분, Cr-in-G 성분 및 Cr-in-B 성분의 각각 대응하는 기준을 발생시키는 단계와, (b3) 상기 Y-in-R 성분, Cb-in-R 성분, Cr-in-R 성분의 대응하는 각각 성분 변환값을 가산하여 디지털 R 성분을 산출하는 단계와, (b4) 상기 Y-in-G 성분, Cb-in-G 성분, Cr-in-G 성분의 대응하는 각각 성분 변환값을 가산하여 디지털 G 성분을 산출하는 단계와, (b5) 상기 Y-in-B 성분, Cb-in-B 성분, Cr-in-B 성분의 대응하는 각각 성분 변환값을 가산하여 디지털 B 성분을 산출하는 단계를 포함하는 칼라 스페이스 변환방법.When the most significant bit of the R color component becomes 0, the polarity of the corresponding R-in-Y conversion component value, the corresponding R-in-Cb conversion component value, and R-in-Cr conversion component value is reversed. When the most significant bit of the G color component becomes 0, the polarity of the corresponding G-in-Y conversion component value, the corresponding G-in-Cb conversion component value and G-in-Cr conversion component value is inverted, Inverting the polarity of the corresponding B-in-Y conversion component value, the corresponding B-in-Cb conversion component value and the B-in-Cr conversion component value when the most significant bit of the B color component becomes zero; (a3) adding the respective component conversion values of the R-in-Y component, G-in-Y component, and B-in-Y component to obtain digital Y; (a4) the R-in-Cb Adding the respective component conversion values of the component, the G-in-Cb component, and the B-in-Cb component to obtain digital Cb; (a3) the R-in-Cr component, the G-in-Cr component, The corresponding respective component of the B-in-Cr component Adding a conversion value to obtain a digital Cr, and (B) converting a digital Y color component into a digital R, G, and B color component, wherein (b1) the color lookup table means is adapted for each digital Y, Cb, Y-in-R component, Cb-in-R component, Cr-in-R component, Y-in-G component, Cb-in-G component, Cr-in-G component, Y according to the conversion set of Cr component The digital component conversion values corresponding to the -in-B component, the Cb-in-B component, and the Cr-in-B component, respectively, are placed in the first to ninth segments so that the Y-in-R component and Y-in-G Component, Y-in-B Component, Cb-in-R Component, Cb-in-G Component, Cb-in-B Component, Cr-in-R Component, Cr-in-G Component, Cr-in-B Component (B2) inputting the digital Y, Cb, and Cr components to an address input terminal of the color lookup table means, wherein the Y-in-R component, Y-in-G component, and Y-in-B Generate corresponding criteria for each of component, Cb-in-R component, Cb-in-G component, Cb-in-B component, Cr-in-R component, Cr-in-G component and Cr-in-B component Making a step, (b3) calculating a digital R component by adding respective component conversion values of the Y-in-R component, the Cb-in-R component, and the Cr-in-R component, and (b4) the Y-in Calculating a digital G component by adding respective component conversion values of -G component, Cb-in-G component and Cr-in-G component, and (b5) the Y-in-B component and Cb-in Calculating a digital B component by adding respective component conversion values of the -B component and the Cr-in-B component. 다수의 어드레스 입력단과, 디지털 Y, Cb, Cr 성분의 변환식에 따라 Cb-in-G 성분과, 대응하는 디지털성분 변환값을 제공하는 제1세그멘트, Cb-in-B 성분과, 대응하는 디지털성분 변환값을 제공하는 제2세그멘트와, Cb-in-R 성분과, 대응하는 디지털성분 변환값을 제공하는 제3세그멘트와, Cr-in-G 성분과, 대응하는 디지털성분 변환값을 제공하는 제4세그멘트와, 디지털 Cb와 Cr 성분을 수취하여 상기 어드레스 입력단에 어드레싱하며, 상기 R, G, B 칼라성분이 8비트 성분이고, 그 변환식이A first segment, a Cb-in-B component that provides a plurality of address input terminals, a Cb-in-G component according to a conversion formula of digital Y, Cb, Cr components, a corresponding digital component conversion value, and a corresponding digital component A second segment providing a conversion value, a Cb-in-R component, a third segment providing a corresponding digital component conversion value, a Cr-in-G component, and a corresponding digital component conversion value It receives four segments and digital Cb and Cr components and addresses them to the address input terminal, wherein the R, G, and B color components are 8-bit components, and the conversion equation is 인 수단을 구비한 룩업테이블수단과, 상기 Y성분과 상기 룩업테이블수단의 제3세그멘트의 출력 총화에 대응 출력하여, 디지털 R 성분을 얻는 제1가산수단과, 상기 Y성분과 상기 룩업테이블수단의 제1,4세그멘트의 각각 출력 총화에 대응 출력하여, 디지털 G 성분을 얻는 제2가산수단과, 상기 Y성분과 상기 룩업테이블수단의 제2세그멘트의 출력 총화에 대응 출력하여, 디지털 B 성분을 얻는 제3가산수단과, 상기 룩업테이블수단의 어드레스 입력단과 연결하여 디지털 Cb 칼라성분을 수취하고, Cb 칼라성분의 최상위 비트가 0이 되면 상기 Cb 칼라성분에 대해 2의 보수를 취하는 제1보수수단과, 상기 룩업테이블수단의 어드레스 입력단과 연결하여 디지털 Cr 칼라성분을 수취하고, Cr 칼라성분의 최상위 비트가 0이 되면 상기 Cr 칼라성분에 대해 2의 보수를 취하는 제2보수수단과, 상기 룩업테이블수단의 제1세그멘트와 상기 제2가산수단의 사이에 연결하여, Cb 칼라성분의 최상위 비트가 0가 되면 룩업테이블수단의 제1세그멘트로부터 오는 Cb-in-G 성분 변환값의 극성을 전환하는 제1의 극성제어수단과, 상기 룩업테이블수단의 제2세그멘트와 상기 제3가산수단의 사이에 연결하여, Cb 칼라성분의 최상위 비트가 0가 되면 룩업테이블수단의 제2세그멘트로부터 오는 Cb-in-B 성분 변환값의 극성을 전환하는 제2의 극성제어수단과, 상기 룩업테이블수단의 제3세그멘트와 상기 제1가산수단의 사이에 연결하여, Cr 칼라성분의 최상위 비트가 0가 되면 룩업테이블수단의 제3세그멘트로부터 오는 Cb-in-R 성분 변환값의 극성을 전환하는 제3의 극성제어수단과, 상기 룩업테이블수단의 제4세그멘트와 상기 제2가산수단의 사이에 연결하여, Cr 칼라성분의 최상위 비트가 0가 되면 룩업테이블수단의 제4세그멘트로부터 오는 Cb-in-G 성분 변환값의 극성을 바꾸는 제4의 극성제어수단으로 이루어지며, 디지털 Y, Cb, Cr 칼라성분을 디지털 R, G, B 칼라성분으로 변환하는 칼라 스페이스 변환장치.A look-up table means having a drawing means, first addition means for outputting a corresponding output sum of the third segment of said Y component and said look-up table means, to obtain a digital R component, and said Y component and said look-up table means. Outputting corresponding to the output sum of each of the first and fourth segments to obtain a digital G component, and outputting corresponding to the output sum of the second segment of the Y component and the lookup table means to obtain a digital B component. First complementary means for receiving a digital Cb color component in connection with a third addition means and an address input terminal of the lookup table means, and performing a two's complement to the Cb color component when the most significant bit of the Cb color component becomes zero; And a digital Cr color component connected to the address input terminal of the lookup table means, and when the most significant bit of the Cr color component is zero, the two color complements are taken for the Cr color component. Cb-in-G coming from the first segment of the lookup table means when the most significant bit of the Cb color component becomes zero by connecting between the second repair means and the first segment of the lookup table means and the second addition means. The first polarity control means for switching the polarity of the component conversion value and the second segment of the lookup table means and the third addition means, and when the most significant bit of the Cb color component becomes zero, A second polarity control means for switching the polarity of the Cb-in-B component conversion value coming from the second segment, and connected between the third segment of the lookup table means and the first addition means, Third polarity control means for switching the polarity of the Cb-in-R component conversion value coming from the third segment of the lookup table means when the most significant bit becomes zero, the fourth segment and the second addition means of the lookup table means; Link between For example, when the most significant bit of the Cr color component is zero, the fourth polarity control means changes the polarity of the Cb-in-G component conversion value coming from the fourth segment of the lookup table means. Color space converter that converts components into digital R, G, and B color components.
KR1019940011689A 1994-05-27 1994-05-27 Color space conversion method & its apparatus KR0126108B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940011689A KR0126108B1 (en) 1994-05-27 1994-05-27 Color space conversion method & its apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940011689A KR0126108B1 (en) 1994-05-27 1994-05-27 Color space conversion method & its apparatus

Publications (2)

Publication Number Publication Date
KR950035456A KR950035456A (en) 1995-12-30
KR0126108B1 true KR0126108B1 (en) 1997-12-19

Family

ID=19383944

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940011689A KR0126108B1 (en) 1994-05-27 1994-05-27 Color space conversion method & its apparatus

Country Status (1)

Country Link
KR (1) KR0126108B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100242640B1 (en) * 1997-01-31 2000-02-01 윤종용 Method and apparatus for converting chromaticity
KR100416229B1 (en) * 2001-08-31 2004-01-31 한국전자통신연구원 Rgb format converter for image processing

Also Published As

Publication number Publication date
KR950035456A (en) 1995-12-30

Similar Documents

Publication Publication Date Title
US5510852A (en) Method and apparatus using symmetrical coding look-up tables for color space conversion
US5363219A (en) Image processing method and apparatus
JP5051087B2 (en) Lossless compression coding apparatus and lossless decoding apparatus
JP2009273035A (en) Image compression apparatus, image decompression apparatus, and image processor
IL133689A (en) Efficient table-lookup based visually-lossless image compression scheme
JPH04255191A (en) Method of coding picture
US6778187B1 (en) Methods and devices to process graphics and/or video data
KR100359181B1 (en) A memory based vlsi architecture for image compression
US8224103B2 (en) Image encoding method and device, image decoding method and device, and imaging device
US6362831B1 (en) Method and apparatus for performing plural matrix multiplication operations using a single coded look-up table
KR20010041170A (en) Digital correction of linear approximation of gamma
US5748771A (en) Look-up table forming method and device
KR0126108B1 (en) Color space conversion method & its apparatus
JPH11167094A (en) Color lcd drive unit
CN110087085B (en) Image processing apparatus
US7283073B2 (en) System for speeding up the arithmetic coding processing and method thereof
US4636839A (en) Method of and apparatus for generating color matte signals
EP0680223B1 (en) Method and apparatus using color look-up tables for color space conversion
US5136615A (en) Predictive decoder
US6097398A (en) Apparatus for converting color signals
EP0501988B1 (en) Storage of digital image composition control signal
JP2828901B2 (en) Color space conversion method and apparatus
US6323872B1 (en) Process for converting the representation of a video image between two coding systems
US4973973A (en) Code converter and encoder for converting a unipolar binary coded signal into a bipolar binary coded signal
JPH07254993A (en) Yuv/rgb conversion circuit

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120925

Year of fee payment: 16

FPAY Annual fee payment

Payment date: 20130913

Year of fee payment: 17

EXPY Expiration of term