KR100438298B1 - Apparatus and Method for auto-setting a max Gain - Google Patents

Apparatus and Method for auto-setting a max Gain Download PDF

Info

Publication number
KR100438298B1
KR100438298B1 KR10-2001-0087503A KR20010087503A KR100438298B1 KR 100438298 B1 KR100438298 B1 KR 100438298B1 KR 20010087503 A KR20010087503 A KR 20010087503A KR 100438298 B1 KR100438298 B1 KR 100438298B1
Authority
KR
South Korea
Prior art keywords
value
rgb
gain
gain value
maximum
Prior art date
Application number
KR10-2001-0087503A
Other languages
Korean (ko)
Other versions
KR20030057128A (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 KR10-2001-0087503A priority Critical patent/KR100438298B1/en
Publication of KR20030057128A publication Critical patent/KR20030057128A/en
Application granted granted Critical
Publication of KR100438298B1 publication Critical patent/KR100438298B1/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/73Colour balance circuits, e.g. white balance circuits or colour temperature control
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed

Abstract

본 발명에 따른 최대 게인값 자동 설정 장치는, 아날로그 영상신호를 디지털 영상신호로 변환하고, 이 과정에서 바이어스값과 게인값을 설정하는 신호 변환부와; 상기 신호 변환부에서 출력되는 디지털 영상신호의 각 RGB 값과 Y 값을 버퍼에 저장한 후, 상기 영상신호에 대한 스케일링을 수행하는 영상 처리부와; 외부의 명령을 해석하고, 상기 신호 변환부에 입력되는 신호에 따라 상기 버퍼에 새로 저장되는 각 RGB 값 및 Y 값을 이용하여, 상기 신호 변환부의 각 RGB 게인값 및 Y 게인값을 최대로 조정하는 제어부; 및 상기 제어부의 동작에 필요한 데이터를 저장하는 메모리; 를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided an apparatus for automatically setting a maximum gain value, the apparatus including: a signal converter configured to convert an analog video signal into a digital video signal and to set a bias value and a gain value in this process; An image processor configured to store RGB values and Y values of the digital image signal output from the signal converter in a buffer and then perform scaling on the image signal; By interpreting an external command, and using each of the RGB value and Y value newly stored in the buffer in accordance with the signal input to the signal converter, to adjust the maximum of each RGB gain and Y gain value of the signal converter Control unit; And a memory configured to store data necessary for the operation of the controller. Characterized in that it comprises a.

이와같은 본 발명에 따른 최대 게인값 자동 설정 장치는, 각 게인값의 최대값을 자동적으로 설정해주므로, 이후 화이트 밸런스를 조정하는 과정에서 보다 정확한 화이트 밸런스를 갖게 해줄 수 있고, 256계조를 표현할 수 있게 해주는 장점이 있다.Since the automatic maximum gain value setting apparatus according to the present invention automatically sets the maximum value of each gain value, it is possible to have a more accurate white balance in the process of adjusting the white balance later, and to express 256 gray levels. It has the advantage.

Description

최대 게인값 자동 설정 장치 및 방법{Apparatus and Method for auto-setting a max Gain}Apparatus and Method for auto-setting a max Gain}

본 발명은 최대 게인값 자동 설정 장치 및 방법에 관한 것으로, 특히 영상신호가 스케일링되기 전에 버퍼에 저장되는 RGB 값 및 Y 값을 이용하여 각 게인값을 최대로 설정하는 최대 게인값 자동 설정 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for automatically setting a maximum gain value, and more particularly, to an apparatus and method for automatically setting a maximum gain value using an RGB value and a Y value stored in a buffer before an image signal is scaled. It is about.

도 1은 일반적인 멀티화면 디스플레이 장치를 나타낸 것이다.1 illustrates a general multi-screen display apparatus.

도 1을 참조하면, 일반적인 멀티화면 디스플레이 장치는, 아날로그 RGB신호를 디지털 RGB신호로 변환하는 A/D 컨버터(110)와; 아날로그 Y/C신호를 디지털 YUV신호로 디코더(120)와; 상기 A/D 컨버터(110) 및 디코더(120)에서 출력된 신호에 대한 이미지 처리를 수행하고, 이미지 처리가 끝난 디지털 YUV신호를 디지털 RGB신호로 변환하는 스케일러(130); 및 상기 스케일러(130)에서 출력되는 두개의 RGB 신호에 따라 멀티화면을 구현하는 디스플레이부(140); 를 포함하여 구성되어 있다.Referring to FIG. 1, a general multi-screen display apparatus includes an A / D converter 110 for converting an analog RGB signal into a digital RGB signal; A decoder 120 into an analog Y / C signal into a digital YUV signal; A scaler (130) for performing image processing on the signals output from the A / D converter (110) and the decoder (120) and converting the image-processed digital YUV signal into a digital RGB signal; And a display unit 140 for implementing a multi-screen according to two RGB signals output from the scaler 130. It is configured to include.

상기와 같은 구성을 갖는 종래의 멀티화면 디스플레이 장치는, 아날로그 RGB 신호와 Y/C 신호(예컨대, 비디오 신호)를 입력받아 디지털 신호로 변환하고, 변환된 신호를 스케일러(130)를 통해 각종 이미지 처리를 수행한 후 최종적으로 RGB 신호로 변환하여 디스플레이 하게 된다.In the conventional multi-screen display device having the above configuration, an analog RGB signal and a Y / C signal (eg, a video signal) are received and converted into a digital signal, and the converted signal is processed through the scaler 130 for various images. After performing, convert to RGB signal and display.

이러한 신호 처리 과정에서 상기 A/D 컨버터(110) 및 디코더(120)는 아날로그 신호를 디지털 신호로 변환하는 역할을 담당하는데, 이때 도 2, 도 3에서 보는 바와 같이 입력되는 신호의 조건에 따라 적절한 바이어스(Bais)와 게인(Gain)값을 설정하게 된다. 여기서, 도 2는 일반적인 A/D 컨버터의 내부 신호 처리과정을 나타낸 것이고, 도 3은 일반적인 디코더의 내부 신호 처리 과정을 나타낸 것이다.In the signal processing, the A / D converter 110 and the decoder 120 play a role of converting an analog signal into a digital signal. In this case, as shown in FIGS. Set the bias and gain values. 2 illustrates an internal signal processing of a general A / D converter, and FIG. 3 illustrates an internal signal processing of a general decoder.

한편, 상기과정에서 설정한 바이어스와 게인값에 따라 A/D 컨버터(110) 및 디코더(120)의 출력이 결정되므로, 상기 바이어스와 게인값은 디스플레이부(140)에서 출력되는 영상에도 영향을 주게 된다. 즉, 상기 바이어스 값이 입력신호의 기준입력보다 높게 설정되면, 전체적으로 화면이 떠 보이는 현상이 나타나고, 낮게 설정되면, 어두운 부분이 모두 같은 색으로 출력되는 현상이 나타난다. 또한, 게인이 높게 설정되어 있으며, 밝은색 부분이 포화되어 밝은색 간의 구별이 없어지고, 낮게 설정되어 있으면, 256 컬러의 전체 계조가 출력되지 못하므로, 콘트라스트(ContMeanwhile, since the outputs of the A / D converter 110 and the decoder 120 are determined according to the bias and gain values set in the above process, the bias and gain values also affect the image output from the display unit 140. do. That is, when the bias value is set higher than the reference input of the input signal, a phenomenon in which the screen floats as a whole appears. When the bias value is set low, all dark parts are output in the same color. In addition, if the gain is set high and the bright part is saturated and there is no distinction between the bright colors, and if it is set low, the entire grayscale of 256 colors cannot be output, the contrast (Cont

rast)가 떨어지게 된다.rast) falls.

이러한 이유에서 바이어스 값과 게인값을 최적화 시켜주는 것이 중요한데, 그 중에서도 게인값의 경우 256 컬러의 전체 계조가 표현되도록 최적화 범위내의 최대값으로 설정해 주는 것이 중요하다.For this reason, it is important to optimize the bias and gain values. Among them, it is important to set the gain value to the maximum value within the optimization range so that the entire grayscale of 256 colors can be expressed.

그러나, 종래의 경우 바이어스 값을 자동으로 설정해주는 방법은 제시되었으나, 최대 게인값을 자동으로 설정해주는 방법은 제시되지 않았기 때문에, 최대 게인값이 아닌 상태에서 화이트 밸런스를 조정해야 했고, 이로 인해 비교적 정확하게 화이트 밸런스를 조정하여도 원래의 영상과 같은 컬러가 구현되지 않는 문제점이 있었다.However, in the related art, a method of automatically setting a bias value has been proposed, but a method of automatically setting a maximum gain value has not been suggested. Therefore, the white balance should be adjusted at a state not the maximum gain value, and thus, a relatively accurate Even if the white balance is adjusted, there is a problem that the same color as the original image is not realized.

본 발명은 상기와 같은 여건을 감안하여 창출된 것으로서, 정확한 화이트 밸런스를 찾을 수 있도록, 화이트 밸런스 조정 전 단계에서 자동적으로 각 게인을 최대값으로 설정해주는 최대 게인값 자동 설정 장치 및 방법을 제시하는데 그 목적이 있다.The present invention has been made in consideration of the above-described conditions, and provides an apparatus and method for automatically setting a maximum gain value for automatically setting each gain to a maximum value in the previous step of white balance adjustment so that an accurate white balance can be found. There is a purpose.

또한 본 발명은 사용자의 기호에 맞게 영상의 화이트 밸런스를 조정할 수 있도록 이미 설정된 게인값을 다시 각 게인의 최대값으로 재설정해주는 최대 게인값 설정 장치 및 방법을 제시하는데 다른 목적이 있다.Another object of the present invention is to provide an apparatus and method for setting a maximum gain value for resetting an already set gain value back to a maximum value of each gain so as to adjust the white balance of an image according to a user's preference.

도 1은 일반적인 멀티화면 디스플레이 장치를 나타낸 도면이고,1 is a view showing a general multi-screen display device,

도 2는 일반적인 A/D 컨버터의 내부 신호 처리과정을 나타낸 도면이고,2 is a view showing an internal signal processing of a general A / D converter,

도 3은 일반적인 디코더의 내부 신호 처리 과정을 나타낸 도면이고,3 is a diagram illustrating an internal signal processing process of a general decoder;

도 4는 본 발명에 따른 최대 게인값 자동 설정 장치를 개략적으로 나타낸 도면이고,4 is a view schematically showing an apparatus for automatically setting a maximum gain value according to the present invention;

도 5는 본 발명에 있어서 RGB 게인 설정 알고리즘을 나타낸 순서도이고,.5 is a flowchart showing an RGB gain setting algorithm in the present invention.

도 6은 본 발명에 있어서 Y 게인 설정 알고리즘을 나타낸 순서도이고,6 is a flowchart showing a Y gain setting algorithm according to the present invention;

도 7은 본 발명에 있어서 RGB 게인 재설정 알고리즘을 나타낸 순서도이다.7 is a flowchart illustrating an RGB gain reset algorithm according to the present invention.

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

110: A/D 컨버터(Convertor) 120: 디코더(Decoder)110: A / D converter 120: decoder

130: 스케일러(Scaler) 140: 디스플레이부130: scaler 140: display unit

410: 신호 변환부 420: 영상 처리부410: signal converter 420: image processor

421: 버퍼(Buffer) 422: 스케일러421: Buffer 422: Scaler

430: 제어부 440: 메모리430: control unit 440: memory

상기의 목적을 달성하기 위하여, 본 발명에 따른 최대 게인값 자동 설정 장치는, 아날로그 영상신호를 디지털 영상신호로 변환하고, 이 과정에서 바이어스값과 게인값을 설정하는 신호 변환부와; 상기 신호 변환부에서 출력되는 디지털 영상신호의 각 RGB 값과 Y 값을 버퍼에 저장한 후, 상기 영상신호에 대한 스케일링을 수행하는 영상 처리부와; 외부의 명령을 해석하고, 상기 신호 변환부에 입력되는 신호에 따라 상기 버퍼에 새로 저장되는 각 RGB 값 및 Y 값을 이용하여, 상기 신호 변환부의 각 RGB 게인값 및 Y 게인값을 최대로 조정하는 제어부; 및 상기 제어부의 동작에 필요한 데이터를 저장하는 메모리; 를 포함하는 것을 특징으로 한다.In order to achieve the above object, the apparatus for automatically setting a maximum gain value according to the present invention includes: a signal converter for converting an analog video signal into a digital video signal and setting a bias value and a gain value in this process; An image processor configured to store RGB values and Y values of the digital image signal output from the signal converter in a buffer and then perform scaling on the image signal; By interpreting an external command, and using each of the RGB value and Y value newly stored in the buffer in accordance with the signal input to the signal converter, to adjust the maximum of each RGB gain and Y gain value of the signal converter Control unit; And a memory configured to store data necessary for the operation of the controller. Characterized in that it comprises a.

상기의 목적을 달성하기 위하여, 본 발명에 따른 표시장치의 입력신호 처리장치의 공장모드에서의 최대 게인값 자동 설정 방법은, 외부에서 게인 설정 명령이 제어부에 인가되는 단계와; 제어부에서 RGB 게인 설정 알고리즘을 실행하여 각 RGB의 최대 게인값을 설정하는 단계; 및 제어부에서 Y 게인 설정 알고리즘을 실행하여 Y의 최대 게인값을 설정하는 단계; 를 포함하는 것을 특징으로 한다.In order to achieve the above object, the method for automatically setting the maximum gain value in the factory mode of the input signal processing apparatus of the display device according to the present invention comprises the steps of: applying a gain setting command from the outside to the controller; Executing a RGB gain setting algorithm in the control unit to set a maximum gain value of each RGB; And executing a Y gain setting algorithm in the control unit to set a maximum gain value of Y; Characterized in that it comprises a.

여기서, 상기 RGB 게인 설정 알고리즘은, 각 RGB의 게인값을 초기값으로 설정한 후 RGB Full White 패턴을 신호 변환부에 입력하는 단계와; 상기 RGB Full White 패턴이 입력됨에 따라 버퍼에 새로 저장되는 각 RGB 값을 읽어들여 특정값과 비교하는 단계와; 비교결과 상기 버퍼에 저장된 각 RGB 값이 상기 특정값과 일치할 때까지 각 RGB 게인값을 증가시키는 단계; 및 상기 버퍼에 저장된 각 RGB 값이 상기 제 2영역에 저장된 특정값과 일치하는 경우, 이때의 각 게인값을 해당 RGB의 최대 게인값으로 결정하는 단계; 를 포함하는 것을 특징으로 한다.The RGB gain setting algorithm may include: setting a gain value of each RGB as an initial value and inputting an RGB full white pattern to the signal converter; Reading each RGB value newly stored in a buffer as the RGB Full White pattern is input, and comparing the RGB value with a specific value; Increasing each RGB gain value until each RGB value stored in the buffer matches the specific value as a result of the comparison; And when each RGB value stored in the buffer coincides with a specific value stored in the second area, determining each gain value as the maximum gain value of the corresponding RGB. Characterized in that it comprises a.

그리고, 상기 Y 게인 설정 알고리즘은Y 게인값을 초기값으로 설정한 후 Video Full White 패턴을 신호 변환부에 입력하는 단계와; 상기 Video Full White 패턴이 입력됨에 따라 버퍼에 새로 저장되는 Y 값을 읽어들여 특정값과 비교하는 단계와; 비교결과 상기 버퍼에 저장된 Y 값이 상기 특정값과 일치할 때까지 Y 게인값을 증가시키는 단계; 및 상기 버퍼에 저장된 각 Y 값이 상기 특정값과 일치하는 경우, 이때의 각 게인값을 Y의 최대 게인값으로 결정하는 단계; 를 포함하는 것을 특징으로 한다.The Y gain setting algorithm may include setting a Y gain value as an initial value and inputting a video full white pattern to the signal converter; Reading the Y value newly stored in the buffer as the Video Full White pattern is input and comparing the value with a specific value; Increasing the Y gain value until the Y value stored in the buffer matches the specific value as a result of the comparison; And determining each gain value as the maximum gain value of Y when each Y value stored in the buffer coincides with the specific value. Characterized in that it comprises a.

상기의 목적을 달성하기 위하여, 본 발명에 따른 표시장치의 입력신호 처리장치의 사용자모드에서의 최대 게인값 자동 설정 방법은, 외부에서 게인 재설정 명령이 제어부에 인가되는 단계와; 제어부에서 RGB 게인 재설정 알고리즘을 실행하여 각 RGB의 최대 게인값을 구하는 단계; 및 상기 각 RGB의 최대 게인값으로 신호 변환부의 각 RGB 게인값을 변경하는 단계; 를 포함하는 것을 특징으로 한다.In order to achieve the above object, the method for automatically setting the maximum gain value in the user mode of the input signal processing apparatus of the display device according to the present invention comprises the steps of: externally applying a gain reset command to the controller; Executing a RGB gain reset algorithm in the control unit to obtain a maximum gain value of each RGB; And changing each RGB gain value of the signal converter to the maximum gain value of each RGB. Characterized in that it comprises a.

여기서, 상기 RGB 게인 재설정 알고리즘은, 신호 변환부에서 기존의 각 RGB 게인값을 읽어들여 저장하는 단계와; 신호 변환부에 RGB Full White 패턴을 입력하고, 이에 따라 버퍼에 새로 저장되는 B 값을 이용하여 B의 최대 게인값을 구하는 단계; 및 상기 B의 최대 게인값과 저장된 기존의 RGB 게인값의 비율을 이용하여 나머지 G 와 R의 최대 게인값을 구하는 단계; 를 포함하는 것을 특징으로 한다.The RGB gain resetting algorithm may include: reading and storing each existing RGB gain value by a signal converter; Inputting an RGB Full White pattern into the signal converter, and obtaining a maximum gain value of B using the B value newly stored in the buffer; And obtaining the maximum gain values of the remaining G and R using the ratio of the maximum gain value of B to the existing RGB gain values stored. Characterized in that it comprises a.

이하, 첨부된 도면을 참조하여 본 발명에 따른 실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 4는 본 발명에 따른 최대 게인값 자동 설정 장치를 개략적으로 나타낸 것이다.4 schematically shows an apparatus for automatically setting a maximum gain value according to the present invention.

도 4를 참조하면, 본 발명에 따른 최대 게인값 자동 설정 장치는, 아날로그 영상신호를 디지털 영상신호로 변환하고, 이 과정에서 바이어스값과 게인값을 설정하는 신호 변환부(410)와; 상기 신호 변환부(410)에서 출력되는 디지털 영상신호의 각 RGB 값과 Y 값을 버퍼(421)에 저장한 후, 상기 영상신호에 대한 스케일링을 수행하는 영상 처리부(420)와; 외부의 명령을 해석하고, 상기 신호 변환부(410)에 입력되는 신호에 따라 상기 버퍼(421)에 새로 저장되는 각 RGB 값 및 Y 값을 이용하여, 상기 신호 변환부(410)의 각 RGB 게인값 및 Y 게인값을 최대로 조정하는 제어부(430); 및 상기 제어부(430)의 동작에 필요한 데이터를 저장하는 메모리(440); 를 포함하여 구성된다.Referring to FIG. 4, an apparatus for automatically setting a maximum gain value according to the present invention includes a signal converter 410 for converting an analog video signal into a digital video signal and setting a bias value and a gain value in this process; An image processor 420 for storing the RGB values and the Y values of the digital image signals output from the signal converter 410 in the buffer 421 and then scaling the image signals; Analyzing an external command and using each RGB value and Y value newly stored in the buffer 421 according to the signal input to the signal converter 410, each RGB gain of the signal converter 410 A control unit 430 for adjusting the value and the Y gain value to the maximum; And a memory 440 for storing data necessary for the operation of the controller 430; It is configured to include.

여기서, 상기 영상 처리부(420)는 버퍼(421)와 스케일러(422)로 구성되는데, 상기 스케일러(422)는 신호 변환부(410)에서 출력된 디지털 영상신호에 대한 각종 이미지 처리를 수행하고, 이미지 처리가 끝난 디지털 YUV신호를 디지털 RGB신호로 변환하는 장치이다. 그리고, 상기 버퍼(421)는 신호 변환부(410)에서 출력되는 디지털 영상신호의 각 RGB 값과 Y 값을 스케일링되기 전에 임시로 저장하는 장치이다.Here, the image processor 420 is composed of a buffer 421 and a scaler 422. The scaler 422 performs various image processing on the digital image signal output from the signal converter 410, and the image This device converts the processed digital YUV signal into a digital RGB signal. The buffer 421 temporarily stores each RGB value and Y value of the digital image signal output from the signal converter 410 before being scaled.

그럼, 상기와 같은 구성을 갖는 최대 게인값 자동 설정 장치의 동작을 통해 본 발명에 따른 최대 게인값 자동 설정 방법을 설명하기로 한다.Then, the method of automatically setting the maximum gain value according to the present invention will be described through the operation of the apparatus for automatically setting the maximum gain value having the above configuration.

먼저, 공장모드인 경우, 외부에서 공장모드에 따른 게인 설정 명령이 인가되면, 제어부(430)에서는 상기 명령을 해석하여, RGB Full White 패턴을 상기 신호 변환부(410)에 입력하고, RGB 게인 설정 알고리즘을 실행하여 RGB 게인의 최대값을 구한다. 여기서, 공장모드라는 것은 최초의 화이트 밸런스 조정을 위한 전 단계로 바이어스값과 게인값을 설정하기 위한 모드이고, 이때 제어부(430)에서 실행되는 RGB 개인 설정 알고리즘은 도 5와 같은데, 이를 설명하면 다음과 같다. 도 5는 본 발명에 있어서 RGB 게인 설정 알고리즘을 나타낸 순서도이다.First, in the factory mode, when a gain setting command according to the factory mode is applied from the outside, the controller 430 interprets the command, inputs an RGB full white pattern to the signal converter 410, and sets the RGB gain. Run the algorithm to find the maximum value of RGB gain. Here, the factory mode is a mode for setting the bias value and the gain value as a previous step for the first white balance adjustment, and the RGB personalization algorithm executed by the controller 430 is as shown in FIG. 5. Same as 5 is a flowchart showing an RGB gain setting algorithm in the present invention.

먼저, 제어부(430)에서는 각 RGB 게인값을 초기값으로 설정하고(S501), RGB Full White 패턴이 입력됨에 따라(S502) 상기 버퍼(421)에 새로 저장되는 B 값을 읽어들인 후(S503) 이를 특정값과 비교한다(S504). 상기 특정값은 상기 신호 변환부(410)를 구성하는 제품(예컨대, A/D 컨버터 또는 디코더)의 특성에 따라 조금씩 달라질 수 있는데, 여기서는 255로 설정하기로 한다.First, the controller 430 sets each RGB gain value as an initial value (S501), and as the RGB Full White pattern is input (S502), reads the B value newly stored in the buffer 421 (S503). This is compared with a specific value (S504). The specific value may vary slightly depending on the characteristics of a product (eg, an A / D converter or a decoder) constituting the signal converter 410. Here, the specific value is set to 255.

비교결과 상기 버퍼(421)에 저장된 B 값이 255가 될 때까지 B 게인값을 증가시키고(S505), 이후 상기 버퍼(421)에 저장된 B 값이 255와 일치하는 경우, 이때의 B 게인값을 B의 최대 게인값으로 결정한다(S506).As a result of the comparison, the B gain value is increased until the B value stored in the buffer 421 becomes 255 (S505). Then, when the B value stored in the buffer 421 matches 255, the B gain value at this time is increased. The maximum gain value of B is determined (S506).

그런 다음, 상기와 같은 과정(S501 ~ S506)을 G 와 R에 대해서도 반복적으로 수행하여 각각의 최대 게인값을 결정한다.Then, the same process (S501 ~ S506) is repeatedly performed for G and R to determine the respective maximum gain value.

여기서는, 각 RGB의 최대 게인값을 구하기 위하여 255와 비교하는 과정(S504Here, the process of comparing with 255 to obtain the maximum gain value of each RGB (S504)

)을 한번만 수행하였지만, 보다 정확한 각 RGB의 최대 게인값을 구하기 위해서 상기와 같은 과정을 수번 반복할 수 있다. 이때는 상기과정(S506)에서 구한 각 RGB 게인값에서 게인을 하나 더 감소시키고, 이에 따라 버퍼(421)에 새로 저장되는 RGB 값이 255가 되는지를 비교해보는 방법이 유용하다.) Is performed only once, but the above process can be repeated several times in order to obtain a more accurate maximum gain value of each RGB. In this case, it is useful to reduce the gain by one more gain from each RGB gain value obtained in step S506, and to compare whether the RGB value newly stored in the buffer 421 becomes 255.

한편, 각 RGB의 최대 게인값이 구해지면, 제어부(430)에서는 Video Full White 패턴을 상기 신호 변환부(410)에 입력하고, Y 게인 설정 알고리즘을 실행하여 Y의 최대 게인값을 구한다. 이때 제어부(430)에서 실행되는 Y 게인 설정 알고리즘은 도 6과 같은데, 이를 설명하면 다음과 같다. 도 6은 본 발명에 있어서 Y 게인 설정 알고리즘을 나타낸 순서도이다.On the other hand, when the maximum gain value of each RGB is obtained, the controller 430 inputs the Video Full White pattern to the signal converter 410, and executes a Y gain setting algorithm to obtain the maximum gain value of Y. At this time, the Y gain setting algorithm executed in the control unit 430 is as shown in FIG. 6. 6 is a flowchart showing a Y gain setting algorithm in the present invention.

먼저, 제어부(430)에서는 Y 게인을 초기값으로 설정하고(S601), RGB Full White 패턴이 입력됨에 따라(S602) 상기 버퍼(421)에 새로 저장되는 B 값을 읽어들인 후(S603) 이를 255와 비교한다(S604).First, the controller 430 sets the Y gain to an initial value (S601), and as the RGB Full White pattern is input (S602), reads the B value newly stored in the buffer 421 (S603) and then 255 It is compared with (S604).

비교결과 상기 버퍼(421)에 저장된 Y 값이 255가 될 때까지 Y 게인값을 증가시키고, 이후 상기 버퍼(421)에 저장된 Y 값이 255와 일치하는 경우, 이때의 Y 게인값을 Y의 최대 게인값으로 결정한다.As a result of the comparison, the Y gain value is increased until the Y value stored in the buffer 421 becomes 255. Subsequently, when the Y value stored in the buffer 421 matches 255, the Y gain value at this time is the maximum value of Y. Determine the gain value.

이와 같은 방법을 통해 상기 제어부(430)는, RGB 및 Y의 최대 게인값을 결정하고, 결정된 최대 게인값으로 상기 신호 변환부(410)의 게인값을 대체한다.Through this method, the controller 430 determines the maximum gain values of RGB and Y, and replaces the gain value of the signal converter 410 with the determined maximum gain value.

다음으로, 사용자모드인 경우, 외부에서 사용자모드에 따른 게인 재설정 명령이 입력되면, 제어부(430)에서는 상기 명령을 해석하여, RGB Full White 패턴을상기 신호 변환부(410)에 입력하고, RGB 게인 재설정 알고리즘을 실행시킨다. 여기서, 사용자모드라는 것은 화이트 밸런스 조정을 통해 조정된 RGB 값을 사용자가 자신의 취향에 맞게 다시 조정하기 위한 전 단계로 기존의 RGB 게인값을 재설정하기 위한 모드이고, 이때 제어부(430)에서 실행되는 RGB 개인 재설정 알고리즘은 도 7과 같은데, 이를 설명하면 다음과 같다. 도 7은 본 발명에 있어서 RGB 게인 재설정 알고리즘을 나타낸 순서도이다.Next, in the user mode, when a gain reset command according to the user mode is input from the outside, the controller 430 interprets the command, inputs an RGB full white pattern to the signal converter 410, and receives an RGB gain. Run the reset algorithm. Here, the user mode is a mode for resetting the existing RGB gain value as a previous step for the user to re-adjust the RGB value adjusted through the white balance adjustment to his or her taste, and the control unit 430 The RGB personal reset algorithm is shown in FIG. 7, which will be described below. 7 is a flowchart illustrating an RGB gain reset algorithm according to the present invention.

먼저, 제어부(430)는 화이트 밸런스 조정에 따라 설정된 기존의 RGB 게인값을 신호 변환부(410)로부터 읽어들여 메모리(440)에 저장한다(S701).First, the controller 430 reads an existing RGB gain value set according to the white balance adjustment from the signal converter 410 and stores it in the memory 440 (S701).

이후, 제어부(430) 상기 RGB Full White 패턴이 입력됨에 따라(S702) 상기 버퍼(421)에 새로 저장되는 B 값을 읽어들인 후 상기 메모리(440)에 '초기 B값'으로 저장한다(S703).Thereafter, as the RGB full white pattern is input (S702), the controller 430 reads the B value newly stored in the buffer 421 and stores the initial B value in the memory 440 (S703). .

한편, 제어부(430)는 신호 변환부(410)의 B 게인값을 기준값으로 설정하고, 이에 따라 상기 버퍼(421)에 새로 저장되는 B값을 읽어들인 후(S704) 이를 상기 '초기 B값'과 비교한다(S705). 상기 기준값 또한 상기 신호 변환부(410)를 구성하는 제품(예컨대, A/D 컨버터 또는 디코더)의 특성에 따라 조금씩 달라질 수 있는데, 여기서는 64로 설정하기로 한다.Meanwhile, the controller 430 sets the B gain value of the signal converter 410 as a reference value, and accordingly reads the B value newly stored in the buffer 421 (S704) and then sets the 'initial B value'. It is compared with (S705). The reference value may also vary slightly depending on the characteristics of a product (eg, an A / D converter or a decoder) constituting the signal converter 410, which is set to 64.

비교결과 '초기 B값'이 크면, B의 게인값을 증가시켜(S706) 다시 비교를 수행하고, 비교결과 '초기 B값'이 크지 않으면, B의 게인을 하나 증가시킨 후 이때의 B값을 '최대 B값'으로 상기 메모리(440)에 저장한다(S707).If the initial value of B is large, the gain of B is increased (S706), and the comparison is performed again. If the initial value of B is not large, the gain of B is increased by one. The memory device 440 stores the maximum B value in the memory 440 (S707).

이후, 제어부(430)는 버퍼(421)에서 Y값을 읽어들인 후(S708) 이를 상기 '최대 B값' 과 비교한다(S709)Thereafter, the controller 430 reads the Y value from the buffer 421 (S708) and compares it with the 'maximum B value' (S709).

비교결과 '최대 B값'이 작으면, B의 게인값을 증가시켜(S710) 다시 비교를 수행하고, 비교결과 '최대 B값'이 작지 않으면, B의 게인을 하나 감소시킨 후 이때의 값을 최대 B게인값으로 결정한다(S711).If the 'maximum B value' is small as a result of comparison, increase the gain value of B (S710) and perform comparison again.If the 'maximum B value' is not small as a result of comparison, decrease the gain of B and decrease the value at this time. The maximum B gain is determined (S711).

한편, 최대 B 게인값이 결정되면, 나머지 G 와 R의 최대 게인값은 각 RGB 게인의 비율을 통해 결정된다(S712)(S713). 다시 말하여 메모리(440)에는 화이트 밸런스 조정에 따라 설정된 기존의 RGB 게인값이 저장되어 있으므로, 최대 B 게인값만 알 수 있다면, 나머지 G 와 R의 최대 게인값은 다음 식을 통해 자동적으로 계산된다.On the other hand, when the maximum B gain value is determined, the maximum gain values of the remaining G and R are determined through the ratio of the respective RGB gains (S712) (S713). In other words, since the existing RGB gain value set according to the white balance adjustment is stored in the memory 440, if only the maximum B gain value is known, the maximum gain values of the remaining G and R are automatically calculated by the following equation. .

Gmax게인 = (G 게인 /B 게인)× Bmax G max gain = (G gain / B gain) × B max

Rmax게인 = (R 게인 /B 게인)× Bmax R max gain = (R gain / B gain) × B max

상기와 같은 과정을 통해 본 발명에 따른 최대 게인값 자동 설정 장치는, 각 RGB 및 Y의 게인 최대값을 자동으로 설정해 주기 때문에, 이후 화이트 밸런스 조정시보다 유리한 환경을 조성해주며, 256계조를 표현할 수 있게 해준다.Through the above process, the automatic maximum gain value setting apparatus according to the present invention automatically sets the gain maximum value of each RGB and Y, thereby creating an environment more favorable than white balance adjustment and expressing 256 gray levels. To make it possible.

이상, 전술한 실시예는 예시의 목적을 위해 개시된 것으로, 당업자라면 본 발명의 기술사상을 일탈하지 아니하는 범위에서 다양한 변경, 개량, 대체 및 부가 등의 수정이 가능함을 알 수 있을 것이다. 따라서, 본 발명의 기술적 범위는 이하 첨부되는 특허청구의 범위에 의하여 정하여야만 한다.As described above, the above embodiments are disclosed for the purpose of illustration, and those skilled in the art will appreciate that various modifications, improvements, substitutions, and additions may be made without departing from the spirit of the present invention. Accordingly, the technical scope of the present invention should be defined by the appended claims.

이상의 설명에서와 같이 본 발명에 따른 최대 게인값 자동 설정 장치 및 방법은, 각 게인값의 최대값을 자동적으로 설정해주므로, 이후 화이트 밸런스를 조정하는 과정에서 보다 정확한 화이트 밸런스를 갖게 해줄 수 있고, 256계조를 표현할 수 있게 해주는 장점이 있다.As described above, the apparatus and method for automatically setting the maximum gain value according to the present invention automatically sets the maximum value of each gain value, thereby allowing a more accurate white balance in the subsequent white balance adjustment process. It has the advantage of being able to express gradation.

또한, 본 발명에 따른 최대 게인값 자동 설정 장치 및 방법은, 사용자의 요구에 따라 이미 설정된 게인값을 각 게인의 최대값으로 다시 설정하여 할 수 있게 해줌으로써, 사용자 자신의 기호에 맞는 영상을 제공해주는 장점이 있다.In addition, the apparatus and method for automatically setting the maximum gain value according to the present invention enables the user to set the gain value already set according to the user's request to the maximum value of each gain, thereby providing an image suitable for the user's preference. It has the advantage.

또한, 본 발명에 따른 최대 게인값 자동 설정 장치 및 방법은, 게인값의 범위를 최대로 설정해 주므로, 이후 Y/C 포맷을 갖는 신호를 RGB 포맷의 신호로 변환시 발생되는 오차가 최소화되는 장점이 있다.In addition, the apparatus and method for automatically setting the maximum gain value according to the present invention sets the range of the gain value to the maximum, thereby minimizing an error generated when the signal having the Y / C format is converted into the RGB format signal. .

Claims (7)

아날로그 영상신호를 디지털 영상신호로 변환하고, 이 과정에서 바이어스값과 게인값을 설정하는 신호 변환부와;A signal converter for converting an analog video signal into a digital video signal and setting a bias value and a gain value in this process; 상기 신호 변환부에서 출력되는 디지털 영상신호의 각 RGB 값과 Y 값을 버퍼에 저장한 후, 상기 영상신호에 대한 스케일링을 수행하는 영상 처리부와;An image processor configured to store RGB values and Y values of the digital image signal output from the signal converter in a buffer and then perform scaling on the image signal; 외부의 명령을 해석하고, 상기 신호 변환부에 입력되는 신호에 따라 상기 버퍼에 새로 저장되는 각 RGB 값 및 Y 값을 이용하여, 상기 신호 변환부의 각 RGB 게인값 및 Y 게인값을 최대로 조정하는 제어부; 및By interpreting an external command, and using each of the RGB value and Y value newly stored in the buffer in accordance with the signal input to the signal converter, to adjust the maximum of each RGB gain and Y gain value of the signal converter Control unit; And 상기 제어부의 동작에 필요한 데이터를 저장하는 메모리; 를 포함하는 것을 특징으로 하는 최대 게인값 자동 설정 장치.A memory for storing data necessary for the operation of the controller; Maximum gain value automatic setting device comprising a. 외부에서 게인 설정 명령이 제어부에 인가되는 단계와;Applying a gain setting command to the controller from the outside; 제어부에서 RGB 게인 설정 알고리즘을 실행하여 각 RGB의 최대 게인값을 설정하는 단계; 및Executing a RGB gain setting algorithm in the control unit to set a maximum gain value of each RGB; And 제어부에서 Y 게인 설정 알고리즘을 실행하여 Y의 최대 게인값을 설정하는 단계; 를 포함하는 것을 특징으로 하는 표시장치의 입력신호 처리장치의 공장모드에서의 최대 게인값 자동 설정 방법.Executing the Y gain setting algorithm in the control unit to set a maximum gain value of Y; Automatically setting the maximum gain value in the factory mode of the input signal processing device of the display device comprising a. 제 2항에 있어서, 상기 RGB 게인 설정 알고리즘은,The method of claim 2, wherein the RGB gain setting algorithm, 각 RGB의 게인값을 초기값으로 설정한 후 RGB Full White 패턴을 신호 변환부에 입력하는 단계와;Setting a gain value of each RGB as an initial value and inputting an RGB full white pattern to the signal converter; 상기 RGB Full White 패턴이 입력됨에 따라 버퍼에 새로 저장되는 각 RGB 값을 읽어들여 특정값과 비교하는 단계와;Reading each RGB value newly stored in a buffer as the RGB Full White pattern is input, and comparing the RGB value with a specific value; 비교결과 상기 버퍼에 저장된 각 RGB 값이 상기 특정값과 일치할 때까지 각 RGB 게인값을 증가시키는 단계; 및Increasing each RGB gain value until each RGB value stored in the buffer matches the specific value as a result of the comparison; And 상기 버퍼에 저장된 각 RGB 값이 상기 제 2영역에 저장된 특정값과 일치하는 경우, 이때의 각 게인값을 해당 RGB의 최대 게인값으로 결정하는 단계; 를 포함하는 것을 특징으로 하는 표시장치의 입력신호 처리장치의 공장모드에서의 최대 게인값 자동 설정 방법.Determining each gain value as the maximum gain value of the corresponding RGB when each RGB value stored in the buffer coincides with a specific value stored in the second area; Automatically setting the maximum gain value in the factory mode of the input signal processing device of the display device comprising a. 제 2항에 있어서, 상기 Y 게인 설정 알고리즘은,The method of claim 2, wherein the Y gain setting algorithm, Y 게인값을 초기값으로 설정한 후 Video Full White 패턴을 신호 변환부에 입력하는 단계와;Setting the Y gain value to an initial value and inputting a Video Full White pattern to the signal conversion unit; 상기 Video Full White 패턴이 입력됨에 따라 버퍼에 새로 저장되는 Y 값을 읽어들여 특정값과 비교하는 단계와;Reading the Y value newly stored in the buffer as the Video Full White pattern is input and comparing the value with a specific value; 비교결과 상기 버퍼에 저장된 Y 값이 상기 특정값과 일치할 때까지 Y 게인값을 증가시키는 단계; 및Increasing the Y gain value until the Y value stored in the buffer matches the specific value as a result of the comparison; And 상기 버퍼에 저장된 각 Y 값이 상기 특정값과 일치하는 경우, 이때의 각 게인값을 Y의 최대 게인값으로 결정하는 단계; 를 포함하는 것을 특징으로 하는 표시장치의 입력신호 처리장치의 공장모드에서의 최대 게인값 자동 설정 방법.If each Y value stored in the buffer coincides with the specific value, determining each gain value at this time as a maximum gain value of Y; Automatically setting the maximum gain value in the factory mode of the input signal processing device of the display device comprising a. 외부에서 게인 재설정 명령이 제어부에 인가되는 단계와;Externally applying a gain reset command to the control unit; 제어부에서 RGB 게인 재설정 알고리즘을 실행하여 각 RGB의 최대 게인값을 구하는 단계; 및Executing a RGB gain reset algorithm in the control unit to obtain a maximum gain value of each RGB; And 상기 각 RGB의 최대 게인값으로 신호 변환부의 각 RGB 게인값을 변경하는 단계; 를 포함하는 것을 특징으로 하는 표시장치의 입력신호 처리장치의 사용자모드에서의 최대 게인값 자동 설정 방법.Changing each RGB gain value of the signal converter to the maximum gain value of each RGB; Automatic setting method of the maximum gain value in the user mode of the input signal processing apparatus of the display device comprising a. 제 5항에 있어서, 상기 RGB 게인 재설정 알고리즘은,The method of claim 5, wherein the RGB gain reset algorithm, 신호 변환부에서 기존의 각 RGB 게인값을 읽어들여 저장하는 단계와;Reading and storing each existing RGB gain value in the signal converter; 신호 변환부에 RGB Full White 패턴을 입력하고, 이에 따라 버퍼에 새로 저장되는 B 값을 이용하여 B의 최대 게인값을 구하는 단계; 및Inputting an RGB Full White pattern into the signal converter, and obtaining a maximum gain value of B using the B value newly stored in the buffer; And 상기 B의 최대 게인값과 저장된 기존의 RGB 게인값의 비율을 이용하여 나머지 G 와 R의 최대 게인값을 구하는 단계; 를 포함하는 것을 특징으로 하는 표시장치의 입력신호 처리장치의 사용자모드에서의 최대 게인값 자동 설정 방법.Obtaining a maximum gain value of the remaining G and R using a ratio of the maximum gain value of B to the existing stored RGB gain value; Automatic setting method of the maximum gain value in the user mode of the input signal processing apparatus of the display device comprising a. 제 6항에 있어서, 최대 B 게인값을 구하는 단계는,7. The method of claim 6, wherein obtaining the maximum B gain value comprises: 신호 변환부에 RGB Full White 패턴이 입력됨에 따라 상기 버퍼에 새로 저장되는 B 값을 읽어들인 후 '초기 B값'으로 저장하는 단계와;Reading the B value newly stored in the buffer as the RGB full white pattern is input to the signal converter and storing the initial B value as an initial B value; 신호 변환부의 B 게인값을 기준값으로 설정하고, 이에 따라 상기 버퍼에 새로 저장되는 B값을 읽어들인 후 이를 상기 '초기 B값'과 비교하는 단계와;Setting the B gain value of the signal converter as a reference value, thereby reading the B value newly stored in the buffer and comparing it with the initial B value; 비교결과 '초기 B값'이 크면 B의 게인값을 증가시켜 다시 비교를 수행하고, 비교결과 '초기 B값'이 크지 않으면 B의 게인을 하나 증가시킨 후 이때의 B값을 '최대 B값'으로 저장하는 단계와;If the 'initial B value' is large, increase the gain value of B and perform comparison again.If the 'initial B value' is not large, increase the gain of B by one and then increase the value of B. Storing as; 상기 버퍼에서 Y 값을 읽어들인 후 이를 상기 '최대 B값' 과 비교하는 단계; 및Reading a Y value from the buffer and comparing it with the 'maximum B value'; And 비교결과 '최대 B값'이 작으면 B의 게인값을 증가시켜 다시 비교를 수행하고, 비교결과 '최대 B값'이 작지 않으면 B의 게인을 하나 감소시킨 후 이때의 값을 B의 최대 게인값으로 결정하는 단계; 를 포함하는 것을 특징으로 하는 표시장치의 입력신호 처리장치의 사용자모드에서의 최대 게인값 자동 설정 방법.If the 'maximum B value' is small as a result of comparison, increase the gain value of B and perform comparison again. Determining as; Automatic setting method of the maximum gain value in the user mode of the input signal processing apparatus of the display device comprising a.
KR10-2001-0087503A 2001-12-28 2001-12-28 Apparatus and Method for auto-setting a max Gain KR100438298B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0087503A KR100438298B1 (en) 2001-12-28 2001-12-28 Apparatus and Method for auto-setting a max Gain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0087503A KR100438298B1 (en) 2001-12-28 2001-12-28 Apparatus and Method for auto-setting a max Gain

Publications (2)

Publication Number Publication Date
KR20030057128A KR20030057128A (en) 2003-07-04
KR100438298B1 true KR100438298B1 (en) 2004-07-02

Family

ID=32215249

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0087503A KR100438298B1 (en) 2001-12-28 2001-12-28 Apparatus and Method for auto-setting a max Gain

Country Status (1)

Country Link
KR (1) KR100438298B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920015937A (en) * 1991-01-12 1992-08-27 강진구 White balance automatic adjustment circuit and method
JPH08126022A (en) * 1994-10-19 1996-05-17 Sharp Corp White balance adjustment circuit
KR0138096Y1 (en) * 1993-02-19 1999-05-01 김광호 Auto white balance adjustable circuit by bus control
KR100211461B1 (en) * 1996-06-24 1999-08-02 전주범 The white balance auto-correction apparatus of tv receiver
KR20010063947A (en) * 1999-12-24 2001-07-09 윤종용 A method of controlling a gain of a video signal in a video display system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920015937A (en) * 1991-01-12 1992-08-27 강진구 White balance automatic adjustment circuit and method
KR0138096Y1 (en) * 1993-02-19 1999-05-01 김광호 Auto white balance adjustable circuit by bus control
JPH08126022A (en) * 1994-10-19 1996-05-17 Sharp Corp White balance adjustment circuit
KR100211461B1 (en) * 1996-06-24 1999-08-02 전주범 The white balance auto-correction apparatus of tv receiver
KR20010063947A (en) * 1999-12-24 2001-07-09 윤종용 A method of controlling a gain of a video signal in a video display system

Also Published As

Publication number Publication date
KR20030057128A (en) 2003-07-04

Similar Documents

Publication Publication Date Title
US7242409B2 (en) Interpolated color transform for changing color of an application user interface
JP3749722B2 (en) Method and apparatus for improving adaptive color in color video
KR100457534B1 (en) Apparatus and method for adjusting brightness and color temperature
US7809186B2 (en) Image processing apparatus, image processing method, program thereof, and recording medium
JP2005353069A (en) Chroma-adaptive image improvement device and method
US10733957B2 (en) Method and system for display color calibration
US20070237391A1 (en) Device and method for image compression and decompression
JP2006229925A (en) Dynamic image saturation enhancement apparatus
JP2000152018A (en) Method and device for picture processing and recording medium
JP2001230941A (en) Device and method for processing image and computer- readable recording medium with recorded image processing program
US6999213B2 (en) Image processing system, image processing apparatus, image processing method, and storage medium thereof
JP6764446B2 (en) Image processing equipment and calibration method
KR100438298B1 (en) Apparatus and Method for auto-setting a max Gain
JP2004254303A (en) Color processing method, color processing apparatus, color processing program, and storage medium
JPH06315084A (en) Color reproducing method and device for outputting device
JP2012060459A (en) Image processing apparatus, image processing method, program, and recording medium
KR100474076B1 (en) Auto white balance circuit responds to light source and movie camera using auto white balence circuit responds to light source
CN113781586B (en) Method and system for adjusting skin color of human skin area in image
JP7252400B2 (en) Image processing device
JP2008228050A (en) Device and method for creating composite look-up table
JPH11331593A (en) Film scanner
JP4224933B2 (en) Image processing method, image processing apparatus, and recording medium on which image processing program is recorded
JP2008306447A (en) Image processor and program
KR20030030644A (en) Metod for automatically color adjusting for a monitor
JP2005012273A (en) Image processing apparatus, image processing method, image processing program, and recording medium

Legal Events

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

Payment date: 20070418

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee