KR20070060998A - Display method in small terminal - Google Patents

Display method in small terminal Download PDF

Info

Publication number
KR20070060998A
KR20070060998A KR1020060026254A KR20060026254A KR20070060998A KR 20070060998 A KR20070060998 A KR 20070060998A KR 1020060026254 A KR1020060026254 A KR 1020060026254A KR 20060026254 A KR20060026254 A KR 20060026254A KR 20070060998 A KR20070060998 A KR 20070060998A
Authority
KR
South Korea
Prior art keywords
data
rgb
yuv
screen
screen output
Prior art date
Application number
KR1020060026254A
Other languages
Korean (ko)
Other versions
KR100786386B1 (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 한국전자통신연구원
Publication of KR20070060998A publication Critical patent/KR20070060998A/en
Application granted granted Critical
Publication of KR100786386B1 publication Critical patent/KR100786386B1/en

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E02HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
    • E02BHYDRAULIC ENGINEERING
    • E02B7/00Barrages or weirs; Layout, construction, methods of, or devices for, making same
    • E02B7/20Movable barrages; Lock or dry-dock gates
    • E02B7/26Vertical-lift gates
    • E02B7/28Vertical-lift gates with sliding gates
    • EFIXED CONSTRUCTIONS
    • E02HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
    • E02BHYDRAULIC ENGINEERING
    • E02B7/00Barrages or weirs; Layout, construction, methods of, or devices for, making same
    • E02B7/20Movable barrages; Lock or dry-dock gates
    • E02B7/26Vertical-lift gates
    • E02B7/36Elevating mechanisms for vertical-lift gates
    • EFIXED CONSTRUCTIONS
    • E02HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
    • E02BHYDRAULIC ENGINEERING
    • E02B7/00Barrages or weirs; Layout, construction, methods of, or devices for, making same
    • E02B7/20Movable barrages; Lock or dry-dock gates
    • E02B7/54Sealings for gates
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05YINDEXING SCHEME RELATING TO HINGES OR OTHER SUSPENSION DEVICES FOR DOORS, WINDOWS OR WINGS AND DEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION, CHECKS FOR WINGS AND WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05Y2600/00Mounting or coupling arrangements for elements provided for in this subclass
    • E05Y2600/10Adjustable or movable
    • E05Y2600/30Adjustable or movable characterised by the type of motion
    • E05Y2600/31Linear motion
    • E05Y2600/314Vertical motion
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05YINDEXING SCHEME RELATING TO HINGES OR OTHER SUSPENSION DEVICES FOR DOORS, WINDOWS OR WINGS AND DEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION, CHECKS FOR WINGS AND WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05Y2800/00Details, accessories and auxiliary operations not otherwise provided for
    • E05Y2800/10Additional functions
    • E05Y2800/12Sealing
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05YINDEXING SCHEME RELATING TO HINGES OR OTHER SUSPENSION DEVICES FOR DOORS, WINDOWS OR WINGS AND DEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION, CHECKS FOR WINGS AND WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05Y2900/00Application of doors, windows, wings or fittings thereof
    • E05Y2900/40Application of doors, windows, wings or fittings thereof for gates

Abstract

A displaying method in a small terminal is provided to perform dithering of decompressed YUV data of a moving image, convert the YUV data into RGB color data, and display an image corresponding to the RGB color data in a small low-resolution terminal. A data conversion table which stores RGB data corresponding to YUV data is generated(S501). Decompressed YUV data of an image to be displayed is read, and the read YUV data is converted into RGB data by using the data conversion table(S509). The image is displayed on a display device by using the converted RGB data(S511). The YUV data is dithered, and the dithered YUV data is converted into the RGB data.

Description

소형 단말에서의 화면 출력방법{Display Method in Small Terminal}Display Method in Small Terminal

도 1은 이러한 단말기에서의 동영상 압축 해제 및 데이터 변환 과정을 보이는 흐름도이다.1 is a flowchart illustrating a video decompression and data conversion process in such a terminal.

도 2는 종래의 단말에서의 화면 출력방법을 보이는 흐름도이다.2 is a flowchart illustrating a screen output method of a conventional terminal.

도 3은 본 발명이 적용되는 소형 단말에서의 데이터 처리장치의 예시도이다. 3 is an exemplary diagram of a data processing apparatus in a small terminal to which the present invention is applied.

도 4는 본 발명의 일 실시 예에 따른 데이터 변환 테이블의 구조도이다.4 is a structural diagram of a data conversion table according to an embodiment of the present invention.

도 5는 본 발명의 바람직한 실시 예에 따른 소형 단말에서의 화면 출력방법을 보이는 흐름도이다.5 is a flowchart illustrating a screen output method in a small terminal according to an exemplary embodiment of the present invention.

도 6은 본 발명의 일 실시 예에 따른 소형 단말에서의 화면 출력방법에 있어서 RGB 데이터 변환을 위한 변환표의 생성과정을 보이는 흐름도이다.6 is a flowchart illustrating a process of generating a conversion table for converting RGB data in a screen output method in a small terminal according to an embodiment of the present invention.

도 7은 본 발명과 종래기술의 일 실시 예에 따른 동영상 화면 출력에 따른 데이터 처리량을 비교한 그래프이다.7 is a graph comparing data throughput according to output of a video screen according to an embodiment of the present invention and the prior art.

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

301 : 압축해제부 302 : 중간버퍼301: decompression unit 302: intermediate buffer

303 : 데이터 변환부 304 : 데이터베이스(DB)303: data conversion unit 304: database (DB)

400 : 데이터 변환 테이블400: data conversion table

본 발명은 소형 단말에서의 화면 출력방법에 관한 것으로서, 특히 소형의 저해상도 단말에서 YUV 데이터의 디더링(dithering)을 수행한 후 최종 화면 출력장치의 해상도에 해당되는 RGB 데이터로 변환하여 화면에 출력하는 방법에 관한 것이다.The present invention relates to a screen output method in a small terminal, and in particular, a method for dithering YUV data in a small low resolution terminal and converting it into RGB data corresponding to the resolution of a final screen output device and outputting the screen to a screen. It is about.

일반적으로 단말기에서 동영상을 출력하기 위해서는 압축된 동영상에 대하여 압축을 해제하는 압축 해제 과정과, 압축 해제된 동영상을 화면 출력장치(예:LCD 모니터)에 보여주기 위하여 데이터를 변환하는 데이터 변환 과정을 거쳐야 한다. In general, in order to output a video from a terminal, a decompression process of decompressing a compressed video and a data conversion process of converting data to display the decompressed video on a screen output device (for example, an LCD monitor) are required. do.

도 1은 이러한 단말기에서의 동영상 압축 해제 및 데이터 변환 과정을 보이는 흐름도이다. 도 1을 참조하면, 단말기에서 압축된 동영상 데이터를 수신하면(S101) 그 동영상 데이터에 대한 압축을 해제하여(S103) 중간 버퍼에 일시 저장한다(S105). 이어, 상기 중간 버퍼에서 압축이 해제된 동영상의 YUV 데이터를 읽어 들여 화면 출력장치용 RGB 데이터(컬러 값 데이터)로 변환하고(S107), 상기 RGB 데이터를 화면 출력장치로 전송하여 화면에 해당 동영상을 출력하도록 한다(S109). 1 is a flowchart illustrating a video decompression and data conversion process in such a terminal. Referring to FIG. 1, when the terminal receives compressed video data (S101), the terminal decompresses the video data (S103) and temporarily stores the compressed video data in an intermediate buffer (S105). Subsequently, the YUV data of the decompressed video is read from the intermediate buffer, converted into RGB data (color value data) for the screen output device (S107), and the RGB data is transmitted to the screen output device to display the video on the screen. To output (S109).

이와 같이, 상기 화면 출력장치용 데이터 변환과정(S107)은 동영상에 대한 압축 해제과정(S103)의 결과물인 YUV 데이터를 RGB 데이터로 변환하고, 색조, 명도, 채도 등을 조정하여 화면 밝기나 콘트라스트 조정하는 것과 화면 출력장치의 해상도를 조정하는 것을 말한다. YUV 데이터는 휘도신호(Y), 휘도신호와 적색 성분 의 차(U), 휘도신호와 청색 성분의 차(V)의 3가지 정보로 색을 나타내는 형식으로서, TV에 사용되는 색 표현 방식으로, Y 성분은 오차에 민감하므로 색상 성분인 U와 V보다 많은 비트를 코딩하며, Y:U:V의 비율은 보통 4:2:2이다. 일반적으로 RGB 데이터를 YUV 데이터로 변환하는 식은 Y=0.3R+0.59G+0.11B, U=(B-Y)x0.493, V=(R-Y)x0.877이며, 반대로 YUV 데이터를 RGB 데이터로 변환하는 식은 R=Y+0.956U+0.621V, G=Y+0.272U+0.647V, B=Y+1.1061U+1.703V이다. 즉 빛에 둔감한 칼라 정보라고 판단되어 YUV 신호로 변환하여 사용하고 있다.As described above, the data conversion process (S107) for the screen output device converts YUV data resulting from the decompression process (S103) for the video into RGB data, and adjusts the screen brightness or contrast by adjusting the hue, brightness, saturation, etc. To adjust the resolution of the screen output device. The YUV data is expressed in three types of information: the luminance signal (Y), the difference between the luminance signal and the red component (U), and the difference between the luminance signal and the blue component (V). The Y component is error sensitive, so it codes more bits than the color components U and V, and the ratio Y: U: V is usually 4: 2: 2. In general, the equation for converting RGB data to YUV data is Y = 0.3R + 0.59G + 0.11B, U = (BY) x0.493, V = (RY) x0.877. The formula is R = Y + 0.956U + 0.621V, G = Y + 0.272U + 0.647V, B = Y + 1.1061U + 1.703V. In other words, it is determined to be color information insensitive to light, and is converted to YUV signals.

도 2는 종래의 단말에서의 화면 출력방법을 보이는 흐름도이다.2 is a flowchart illustrating a screen output method of a conventional terminal.

도 2를 참조하면, 압축이 해제된 동영상 데이터가 저장된 중간버퍼에서 특정 동영상 데이터 중 한 화면의 데이터를 읽어 들인다(S201). 이때 압축이 해제된 동영상 데이터는 YUV 데이터이다. 이후 상기 YUV 데이터를 소정의 변환식을 이용하여 RGB 데이터로 변환한 후(S203), 그 RGB 데이터를 대하여 화면 출력장치에 맞게 색상(예컨대, 색조, 채도, 명도 등)을 조절한다(S205). 이와 같이 색상이 조정된 상기 RGB 데이터에 대한 디더링(dithering) 과정을 거친 후(S207), 화상 출력장치의 화면에 해당 동영상을 출력한다(S209). 해당 동영상 재생이 종료되었는지를 판단하여(S211) 종료되지 않았으면 상기 단계(S201)로 진행하여 상기 중간버퍼에서 다른 한 화면의 데이터를 읽어 들이고 이후의 단계들을 계속 수행한다. 여기서, 디더링(dithering)은 요구된 색상의 사용이 불가능할 때 다른 색상들을 섞어서 비슷한 색상을 내기 위해 컴퓨터 프로그램에 의해 시도되는 것으로서, 대개 웹 페이지에 정의된 색상을 브라우저가 지원할 수 없을 때 일어난다. 컬러 표시 장치나 인쇄기에 서는 적색 도트와 백색 도트의 비율을 어떻게 하느냐에 따라서 다양한 계조의 분홍색으로 보이게 한다. 이러한 디더링은 하프톤 화상(halftone image)과 비슷한 화상을 생성하며, 저해상도에서 컴퓨터 도형 처리의 사실감을 높이고, 매끄럽지 못하고 계단 모양으로 울퉁불퉁한 윤곽선이나 대각선을 눈에 띄지 않게 하기 위해 사용된다. Referring to FIG. 2, data of one screen of specific video data is read from an intermediate buffer in which decompressed video data is stored (S201). The decompressed video data is YUV data. Thereafter, the YUV data is converted into RGB data using a predetermined conversion equation (S203), and then the color (eg, hue, saturation, brightness, etc.) of the RGB data is adjusted according to the screen output device (S205). After the dithering process for the RGB data whose color is adjusted as described above (S207), the corresponding video is output on the screen of the image output apparatus (S209). If it is determined that the playback of the video is ended (S211), if not, the process proceeds to the step S201 to read data of another screen from the intermediate buffer and continue the subsequent steps. Here, dithering is an attempt by a computer program to mix different colors and produce a similar color when the required color is not available, usually when the browser cannot support the colors defined in the web page. In a color display device or a printing press, the color may appear pink in various gradations depending on the ratio of the red dot and the white dot. This dithering produces an image similar to a halftone image, and is used to increase the realism of computer graphics processing at low resolutions, and to make the contours or diagonal lines that are not smooth and staircase stand out.

이러한 종래의 화면 출력방법에서는 YUV 데이터를 RGB 데이터로 변환한 후에, 그 변환된 RGB 데이터를 이용하여 화면 출력장치에 맞게 색상을 조절하기 때문에, 최종 화면 출력장치에 이르기 전까지 24 bits로 데이터를 처리하게 되어 소형 단말에서는 많은 부하를 일으키는 원인이 되었다. In the conventional screen output method, after converting YUV data into RGB data and adjusting the color according to the screen output device by using the converted RGB data, the data is processed in 24 bits until the final screen output device. This caused a lot of load in the small terminal.

이러한 문제를 해결하기 위하여 소형 동영상 단말에서 동영상 압축 해제 과정 이후에 영상 데이터를 변환하는 방법에 대해서 계산 성능 향상을 위해 칼라 변환방법, 디더링 방법의 수준 등에서 여러 방법이 제안 되었다. 그러나, 이러한 기존의 방법들은 YUV 데이터에서 RGB 데이터로의 변환, 디더링 방법 등의 개별적인 기술 수준에서 최적화하거나 하드웨어화하는 방법들이다. 이는 개별적 방법의 성능을 매우 향상시켰지만 소형 단말의 최종 화면 출력장치까지 처리할 데이터 량이 크게 변하지 않고 전반적인 최적화 과정이 없기 때문에 소형 단말에서 연산량을 획기적으로 줄이지는 못하였다. 또한, 하드웨어를 통해 목표한 성능을 이루었다 하더라도 소형 단말의 가격상승을 초래하였다.In order to solve this problem, various methods have been proposed for the method of converting image data after video decompression process in a small video terminal to improve computational performance in the level of color conversion method and dithering method. However, these existing methods are methods for optimizing or hardwareizing at an individual technology level such as conversion from YUV data to RGB data and dithering. This greatly improved the performance of the individual methods, but the amount of data to be processed up to the final screen output device of the small terminal did not change significantly and there was no overall optimization process. In addition, even though the target performance is achieved through the hardware, the price of the small terminal is increased.

따라서, 당해 기술분야에서는 동영상 압축 해제 과정이후에 영상 데이터 변환과정을 소프트웨어적으로 처리하면서 화면 출력을 위한 영상 데이터 변환과정의 전반에 걸쳐 처리되는 RGB 칼라 데이터 양을 줄임으로써 소형 단말에서 최적으로 동영상 화면을 출력할 수 있는 방법의 필요성이 대두되었다.Therefore, in the art, the video screen conversion process is performed software after the video decompression process, while reducing the amount of RGB color data that is processed throughout the video data conversion process for screen output, the video screen optimally in a small terminal There is a need for a method that can output the data.

본 발명은 상기와 같은 요구에 부응하고 종래의 문제점을 해결하기 위해 제안된 것으로서, 소형의 저해상도 단말에서 동영상의 압축이 해제된 YUV 데이터의 디더링을 먼저 수행한 후 YUV 데이터를 최종 화면 출력장치에서 출력할 수 있는 RGB 칼라 데이터로 변환하여 출력하도록 하는 소형 단말에서의 화면 출력방법을 제공하는데 그 목적이 있다.The present invention has been proposed to meet the above requirements and to solve the conventional problems, and first performs dithering of decompressed YUV data in a small low resolution terminal, and then outputs YUV data from the final screen output device. It is an object of the present invention to provide a screen output method in a small terminal for converting into RGB color data that can be output.

상기 목적을 달성하기 위한 본 발명은, 소형 단말에서 화면을 화면 출력장치에 출력하기 전에, YUV 데이터에 대응하는 화면 출력장치용 RGB 데이터를 저장하는 데이터 변환 테이블을 생성하는 제1단계; 상기 출력할 화면에 대하여 압축이 해제된 YUV 데이터를 읽어 들이고, 상기 데이터 변환 테이블을 이용하여 상기 읽어 들인 YUV 데이터를 해당 RGB 데이터로 변환하는 제2단계; 및 상기 변환된 RGB 데이터를 이용하여 상기 화면 출력장치에서 화면을 출력하는 제3단계를 포함한다.The present invention for achieving the above object, a first step of generating a data conversion table for storing the RGB data for the screen output device corresponding to the YUV data, before outputting the screen to the screen output device in the small terminal; Reading decompressed YUV data with respect to the screen to be output, and converting the read YUV data into corresponding RGB data using the data conversion table; And a third step of outputting a screen from the screen output apparatus using the converted RGB data.

본 발명의 일 실시 예에서, 상기 RGB 데이터는 YUV 데이터를 디더링하고 상기 디더링된 각 YUV 데이터를 해당 RGB 데이터로 변환한 후 상기 화면 출력장치에 맞게 색상을 조절한 RGB 데이터인 것이 바람직하다.In one embodiment of the present invention, the RGB data is preferably RGB data obtained by dithering YUV data, converting each of the dithered YUV data into corresponding RGB data, and adjusting color to suit the screen output device.

이때, 상기 색상은 색조, 명도, 채도 중 선택되는 적어도 하나를 포함하는 것이 바람직하다.In this case, the color may preferably include at least one selected from hue, lightness, and saturation.

본 발명의 일 실시 예에서, 상기 제1단계는, YUV 데이터에 대한 디더링을 수행하는 단계; 상기 디더링된 YUV 데이터로부터 RGB 데이터를 생성하는 단계; 및 상기 생성된 RGB 데이터를 이용하여 상기 화면 출력장치에 맞도록 색상을 조절한 후 최종 RGB 데이터를 구하고 상기 최종 RGB 데이터를 데이터 변환 테이블에 기록하는 단계를 포함할 수 있다. 여기서, 상기 디더링을 수행하는 단계 이후에, 상기 디더링된 YUV 데이터를 이용하여 상기 화면 출력장치용 해상도로 절삭하는 제4단계를 더 포함할 수도 있다.In an embodiment of the present disclosure, the first step may include performing dithering on YUV data; Generating RGB data from the dithered YUV data; And adjusting the color to fit the screen output device using the generated RGB data, obtaining final RGB data, and recording the final RGB data in a data conversion table. Here, after the dithering step, the dithering operation may further include a fourth step of cutting at the resolution for the screen output device using the dithered YUV data.

본 발명의 일 실시 예에서, 상기 제2단계는, 상기 YUV 데이터를 상기 화면 출력장치의 해상도에 따라 절삭하는 단계; 및 상기 데이터 변환 테이블을 이용하여 상기 절삭된 YUV 데이터에 대응하는 RGB 데이터로 변환하는 단계를 포함할 수 있다.In an embodiment of the present disclosure, the second step may include cutting the YUV data according to the resolution of the screen output device; And converting into RGB data corresponding to the truncated YUV data using the data conversion table.

본 발명의 일 실시 예에서, 상기 소형 단말의 화면 출력장치의 해상도가 X 비트(X=4,8,12,16,20)이고, 상기 압축이 해제된 YUV 데이터는 (24-X) 비트인 것이 바람직하다.In one embodiment of the present invention, the resolution of the screen output device of the small terminal is X bits (X = 4, 8, 12, 16, 20) and the decompressed YUV data is (24-X) bits It is preferable.

이하에서, 본 발명의 바람직한 실시예의 상세한 설명이 첨부된 도면들을 참조하여 설명될 것이다. 하기에서 본 발명을 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되 는 경우에는 본 발명의 요지를 모호하지 않게 하기 위하여 그에 대한 상세한 설명을 생략할 것이다.In the following, a detailed description of a preferred embodiment of the present invention will be described with reference to the accompanying drawings. In the following description of the present invention, when it is determined that detailed descriptions of related well-known functions or constructions may unnecessarily obscure the subject matter of the present invention, detailed description thereof will be omitted so as not to obscure the subject matter of the present invention. something to do.

도 3은 본 발명이 적용되는 소형 단말에서의 데이터 처리장치의 예시도이다. 3 is an exemplary diagram of a data processing apparatus in a small terminal to which the present invention is applied.

도 3을 참조하면, 본 발명이 적용되는 소형 단말에서의 데이터 처리장치(300)는 압축해제부(301), 중간버퍼(302), 데이터변환부(303) 및 데이터베이스(304)를 포함하여 구성된다. Referring to FIG. 3, the data processing apparatus 300 in the small terminal to which the present invention is applied includes a decompression unit 301, an intermediate buffer 302, a data converter 303, and a database 304. do.

상기 압축해제부(301)는 압축된 동영상 데이터를 수신하여 압축을 해제한다. 이때 압축이 해제된 동영상 데이터는 YUV 데이터이다. 이와 같이 압축이 해제된 동영상 데이터는 중간버퍼(302)에 일시 저장된다.The decompressor 301 receives compressed video data and decompresses it. The decompressed video data is YUV data. The decompressed video data is temporarily stored in the intermediate buffer 302.

상기 데이터 변환부(303)는 소형 단말에서의 제어부(미도시)의 제어신호에 따라 상기 중간버퍼(302)에 저장된 동영상 데이터 중 한 화면의 YUV 데이터를 읽어 들이고,상기 데이터베이스(304)에 저장된 데이터 변환 테이블(305)을 이용하여 상기 YUV 데이터를 RGB 데이터로 변환한다. 즉, 상기 데이터 변환부(303)는 상기 데이터베이스(304)내 YUV 데이터에 대한 RGB 데이터의 변환값을 저장하고 있는 데이터 변환 테이블(305)을 검색하여 상기 중간버퍼(302)에서 읽어 들이 YUV 데이터에 대응하는 RGB 데이터를 찾아내어 상기 YUV 데이터를 소형 단말의 화면 출력장치(예컨대, LCD 모니터)용 RGB 데이터로 변환하는 것이다. 여기서 상기 제어부의 제어신호에 따라 읽어 들이는 화면의 수는 다양하게 결정될 수 있다. The data converter 303 reads YUV data of one screen of video data stored in the intermediate buffer 302 according to a control signal of a controller (not shown) in a small terminal, and stores the data stored in the database 304. The YUV data is converted into RGB data using the conversion table 305. That is, the data converter 303 searches the data conversion table 305 which stores the conversion value of the RGB data for the YUV data in the database 304, and reads the data from the intermediate buffer 302 to the YUV data. The corresponding RGB data is found and the YUV data is converted into RGB data for a screen output device (for example, an LCD monitor) of a small terminal. The number of screens to be read may be variously determined according to the control signal of the controller.

상기 데이터베이스(304)는 YUV 데이터를 소형 단말의 화면 출력장치용 RGB 데 이터로 변환한 데이터 변환 테이블(305)을 저장한다. 바람직하게는 상기 데이터 변환 테이블(305)은 소형 단말에 설치되어 상기 데이터 변환부(303)에서 이용할 수 있도록 구현된다. 상기 데이터 변환 테이블(305)은 소형 단말에서 구현 가능한 모든 YUV 데이터를 각각 RGB 데이터로 변환한 값을 저장한다. 이를 보다 구체적으로 설명하면, 상기 데이터 변환 테이블(305)에 저장되는 RGB 데이터는, 소형 단말에서 구현 가능한 모든 YUV 데이터에 대하여 디더링을 수행하고 상기 디더링 수행후의 각 YUV 데이터를 소정의 변환식을 이용하여 RGB 데이터로 변환한 후에, 상기 변환된 RGB 데이터를 화면으로 출력할 화면 출력장치에 맞게 색상을 조절한 상태의 RGB 데이터이다. 즉, 본 발명에서는 소형 단말의 화면 출력장치에서 화면으로 화면(예컨대, 동영상)을 출력하기 전에, 상기 소형 단말에서 구현 가능한 모든 YUV 데이터에 대한 디더링 과정, 상기 디더링된 YUV 데이터의 RGB 데이터 변환 과정, 상기 변환된 RGB 데이터를 이용하여 화면 출력장치에 맞는 색상 조정 과정을 모두 수행한 후의 최종 RGB 데이터를 데이터 변환 테이블(305)에 미리 저장해 놓고 상기 데이터 변환 테이블(305)을 상기 소형 단말에 설치한다. 이로써 소형 단말에서 화면(특히, 동영상)을 출력하는 경우, 해당 화면의 압축해제한 YUV 데이터에 대응하는 최종 RGB 데이터를 상기 데이터 변환 테이블(305)에서 검색하여 상기 YUV 데이터를 대응되는 최종 RGB 데이터로 변환하고 상기 최종 RGB 데이터를 상기 화면 출력장치에서 출력하도록 한다. The database 304 stores a data conversion table 305 obtained by converting YUV data into RGB data for a screen output device of a small terminal. Preferably, the data conversion table 305 is installed in the small terminal and implemented to be used by the data conversion unit 303. The data conversion table 305 stores values obtained by converting all YUV data that can be implemented in the small terminal into RGB data. More specifically, in the RGB data stored in the data conversion table 305, dithering is performed on all YUV data that can be implemented in a small terminal, and each YUV data after the dithering is performed using a predetermined conversion equation. After converting the data, the converted RGB data is RGB data in which the color is adjusted to match the screen output device to output the screen. That is, in the present invention, before outputting a screen (eg, a video) from the screen output device of the small terminal to the screen, the dithering process for all the YUV data that can be implemented in the small terminal, the RGB data conversion process of the dithered YUV data, The final RGB data after performing all color adjustment processes for the screen output apparatus using the converted RGB data is stored in the data conversion table 305 in advance, and the data conversion table 305 is installed in the small terminal. Thus, when outputting a screen (especially a video) from the small terminal, the final RGB data corresponding to the decompressed YUV data of the screen is searched in the data conversion table 305 to convert the YUV data into the corresponding final RGB data. And convert the final RGB data to the screen output device.

상기 색상 조정 과정은 상기 변환된 RGB 데이터에 대하여 상기 화면 출력장치에 맞도록 색상, 채도, 명도 등을 조정하는 것을 의미한다. 이는 보다 선명한 화상 을 출력하기 위한 것으로서 화면을 출력할 화면 출력장치(예컨대, LCD)에 따라서 색상, 채도, 명도 등을 조절하는 것이다.The color adjustment process means adjusting hue, saturation, brightness, etc. of the converted RGB data to fit the screen output device. This is to output a clearer image and adjusts hue, saturation, brightness, etc. according to a screen output device (eg, an LCD) to output a screen.

또한, 상기 YUV 데이터를 RGB 데이터로 변환하는 과정에서 미리 설정된 상기 화면 출력장치의 해상도 및 색상에 맞게 최종 RGB 데이터로 변환할 수도 있다. 이러한 기능은 단말 제조시 미리 설정되도록 구현할 수도 있다. 따라서, 필요에 따라서는 상기 데이터 변환부(303)는 데이터 변환 기능을 비롯하여 해상도 조절 기능 및 색상 조절 기능을 하나의 모듈에서 구현할 수도 있을 것이다. In the process of converting the YUV data into RGB data, the YUV data may be converted into final RGB data according to the resolution and color of the screen output device. Such a function may be implemented to be set in advance when the terminal is manufactured. Therefore, if necessary, the data converter 303 may implement a data conversion function, a resolution adjustment function and a color adjustment function in one module.

도 4는 본 발명의 일 실시 예에 따른 데이터 변환 테이블의 구조도이다.4 is a structural diagram of a data conversion table according to an embodiment of the present invention.

도 4에는 도시된 데이터 변환 테이블(400)은 예를 들어 12 bits, 즉 4096 컬러를 지원하는 경우에 대한 데이터 변환 테이블이다. 데이터 변환 테이블(400)은 기본적으로 본 발명의 소형 단말에서 구현 가능한 각 YUV 데이터를 RGB 데이터로 변환한 값을 저장한다. 상기 각 YUV 데이터에는 인덱스(index)가 각각 할당되며 상기 각 YUV 데이터에 대응되는 RGB 데이터가 소정의 변환식에 의해 변환되어 상기 데이터 변환 테이블(400)에 기록된다. 이때, 주의할 것은 본 발명에 따른 데이터 변환 테이블(400)에는 소형 단말에서 구현 가능한 모든 YUV 데이터를 디더링한 후 소정의 변환식을 이용하여 상기 YUV 데이터를 RGB 데이터로 변환하고, 상기 변환된 RGB 데이터로부터 상기 소형 단말의 화면 출력장치에 맞게 색상을 조절한 후의 최종적인 RGB 데이터가 기록된다는 것이다. 이때, 상기 최종적인 RGB 데이터는 상기 소형 단말의 화면 출력장치용 RGB 데이터이다. 이로써, 소형 단말에서 화면을 출력 할 때 미리 작성된 데이터 변환 테이블을 이용하여 출력할 화면으로부터 읽어 들인 YUV 데이터를 화면 출력장치용 RGB 데이터로 변환하여 화면으로 출력할 수 있다. The data conversion table 400 shown in FIG. 4 is, for example, a data conversion table for a case of supporting 12 bits, that is, 4096 colors. The data conversion table 400 basically stores a value obtained by converting each YUV data that can be implemented in the small terminal of the present invention into RGB data. An index is assigned to each YUV data, and RGB data corresponding to each YUV data is converted by a predetermined conversion equation and recorded in the data conversion table 400. In this case, it should be noted that the data conversion table 400 according to the present invention dithers all the YUV data that can be implemented in the small terminal, converts the YUV data into RGB data using a predetermined conversion equation, and converts the YUV data into RGB data. The final RGB data after adjusting the color to fit the screen output device of the small terminal is recorded. In this case, the final RGB data is RGB data for the screen output device of the small terminal. Thus, when the screen is output from the small terminal, the YUV data read from the screen to be output can be converted into RGB data for the screen output device by using the data conversion table prepared in advance, and output to the screen.

도 4를 참조하면, 본 발명이 적용되는 소형 단말이 예를 들어 4096 컬러를 지원하는 경우, 4096 컬러는 12 bits 컬러를 표현한다는 뜻이므로 RGB 데이터는 각각 4 bits를 차지한다. 그리고, YUV 데이터를 RGB 데이터로 변환하기 때문에 YUV도 12 bits로서, 각각에 대하여 역시 4 bits를 갖는다. 결과적으로 YUV 데이터를 이용하여 RGB 데이터로 변환하는 것은 YUV -> RGB:(4,4,4)bits -> (4,4,4)bits가 되는 것이다.Referring to FIG. 4, when a small terminal to which the present invention is applied supports 4096 colors, for example, 4096 colors represent 12 bits of color, RGB data occupies 4 bits. In addition, since YUV data is converted into RGB data, YUV is also 12 bits, and each bit has 4 bits. As a result, converting RGB data using YUV data results in YUV-> RGB: (4,4,4) bits-> (4,4,4) bits.

도 4에서, 예를 들어 인덱스가 2인 경우는 Y,U,V 데이터가 4 bits로 변환했을 때, 각각 (0,0,2)이며, 이때의 R,G,B 데이터는 4 bits로서 각각 (0,6,0)이 된다.In FIG. 4, for example, when the index is 2, when the Y, U, and V data are converted into 4 bits, they are respectively (0, 0, 2), and the R, G, and B data are 4 bits, respectively. (0,6,0)

이와 같이, 본 발명에서는 이러한 데이터 변환 테이블을 이용하여 화면을 출력함으로써, 소형 단말에서의 화면 출력방법은 디더링, 데이터 변환 등의 모든 과정이 산술 연산 및 논리 연산 없이 데이터 변환 테이블의 참조를 통해 이루어질 수 있다.As described above, in the present invention, the screen is output using the data conversion table, so that the screen output method in the small terminal can be performed through the reference of the data conversion table without arithmetic and logical operations. have.

도 5는 본 발명의 바람직한 실시 예에 따른 소형 단말에서의 화면 출력방법을 보이는 흐름도이다.5 is a flowchart illustrating a screen output method in a small terminal according to an exemplary embodiment of the present invention.

도 5를 참조하면, 본 발명에 따른 소형 단말에서 화면(예컨대, 동영상)을 화면 출력장치에 출력하기 전에, 상기 소형 단말에서 구현 가능한 모든 YUV 데이터를 상기 화면 출력장치용 RGB 데이터로 변환한 데이터 변환 테이블을 생성하여 상기 소형 단말에 설치한다(S501,S503). 이때, 상기 데이터 변환 테이블의 일례가 도 4에 도시되어 있으며 상기 변환된 RGB 데이터는, 모든 YUV 데이터를 디더링하고 상기 디더링된 각 YUV 데이터를 해당 RGB 데이터로 변환한 후 상기 화면 출력장치에 맞게 색상을 조절한 RGB 데이터로서, 상기 화면 출력장치에서 화면으로 출력할 최종 RGB 데이터이다. Referring to FIG. 5, before outputting a screen (eg, a video) to a screen output apparatus in a small terminal according to the present invention, data conversion is performed by converting all YUV data that can be implemented in the small terminal into RGB data for the screen output apparatus. A table is generated and installed in the small terminal (S501, S503). In this case, an example of the data conversion table is illustrated in FIG. 4, and the converted RGB data is configured by dithering all YUV data, converting each of the dithered YUV data into corresponding RGB data, and then adjusting the color to match the screen output device. Adjusted RGB data, which is final RGB data to be output to the screen from the screen output device.

이어, 상기 소형 단말에서 출력할 화면 중 하나의 화면에 대한 데이터를 중간버퍼(302)에서 읽어 들인다(S505). 이때, 상기한 바와 같이 상기 중간버퍼(302)에 저장된 화면 데이터는 바람직하게는 압축이 해제된 YUV 데이터이다. Subsequently, data on one of the screens to be output from the small terminal is read from the intermediate buffer 302 (S505). In this case, as described above, the screen data stored in the intermediate buffer 302 is preferably decompressed YUV data.

상기 읽어 들인 YUV 데이터에 대한 인덱스를 생성하고(S507), 상기 데이터 변환 테이블을 이용하여 상기 YUV 데이터를 상기 인덱스가 할당된 YUV 데이터에 대응하는 RGB 데이터로 변환한다(S509). 이와 같이 변환된 RGB 데이터는 화면 출력장치용 최종 RGB 데이터로써, 이미 YUV 데이터의 디더링, RGB 데이터로의 변환, 화면 출력장치에 맞게 색상조정 기능을 순차적으로 수행한 후의 최종 RGB 데이터 값이다. 따라서, 상기 변환된 최종 RGB 데이터를 이용하여 화면 출력장치에 출력한다(S511). 상기 한 화면에 대한 재생이 완료되었는지를 판단하여(S513), 종료되지 않았으면 상기 단계(S505)로 진행하여 다른 한 화면의 데이터를 중간버퍼(302)에서 읽어 들여서 전체 동영상 화면의 재생이 종료될 때까지 이후의 단계(S505~S513)를 반복하여 수행한다.An index for the read YUV data is generated (S507), and the YUV data is converted into RGB data corresponding to the YUV data to which the index is assigned using the data conversion table (S509). The RGB data converted as described above is final RGB data for a screen output device, and is a final RGB data value after sequentially performing dithering of YUV data, conversion to RGB data, and color adjustment functions according to the screen output device. Therefore, the converted final RGB data is used and output to the screen output device (S511). It is determined whether the playback of the one screen is completed (S513), and if it is not finished, the process proceeds to the step S505 where data of the other screen is read from the intermediate buffer 302 to end the playback of the entire video screen. Repeat the following steps (S505 ~ S513) until.

이와 같이, 본 발명에 따른 소형 단말에서의 화면 출력방법은 YUV 데이터를 RGB 데이터로 변환한 데이터 변환 테이블을 생성하고 상기 테이블에 저장된 RGB 데 이터를 이용하여 화면을 출력한다는 것에 특징이 있다. 또한, 상기 데이터 변환 테이블에서는 YUV 데이터에 대하여 디더링을 먼저 수행한 이후에 상기 YUV 데이터를 화면 출력장치용 RGB 데이터로 변환하여 저장한다는 것에 또 다른 특징이 있다. 특히, 본 발명에서는 상기 테이블에 저장되는 RGB 데이터는 화면 출력장치에 맞게 색상이 조정된 최종 RGB 데이터라는 것에 또 다른 특징이 있다.As described above, the screen output method in the small terminal according to the present invention is characterized by generating a data conversion table that converts YUV data into RGB data and outputs the screen using the RGB data stored in the table. In addition, the data conversion table has another feature of converting and storing the YUV data into RGB data for the screen output device after dithering the YUV data first. In particular, in the present invention, the RGB data stored in the table is another final RGB data whose color is adjusted to fit the screen output device.

도 6은 본 발명의 일 실시 예에 따른 소형 단말에서의 화면 출력방법에 있어서 RGB 데이터 변환을 위한 변환표의 생성과정을 보이는 흐름도이다.6 is a flowchart illustrating a process of generating a conversion table for converting RGB data in a screen output method in a small terminal according to an embodiment of the present invention.

도 6을 참조하면, 우선 데이터 변환 테이블에서 Y,U,V에 대한 초기값을 (0,0,0)으로 설정한다(S601). Y값에 1을 더한 후 Y,U,V 값을 기록한다(S603,S605). 이어, Y값이 255가 되었는지를 판단하여(S607), Y값이 255가 될 때까지 Y값을 1만큼 계속 증가시키면서 그 때의 Y,U,V 값을 각각 기록한다(S603~S609). 상기 단계들(S603~609)을 통하여 Y,U,V 값을 (0,0,0) ~ (255,0,0)까지 모두 기록하게 된다. Referring to FIG. 6, first, initial values of Y, U, and V are set to (0, 0, 0) in the data conversion table (S601). After adding 1 to the Y value, the Y, U, and V values are recorded (S603 and S605). Subsequently, it is determined whether the Y value is 255 (S607), and the Y, U, and V values are recorded at that time while the Y value is continuously increased by 1 until the Y value is 255 (S603 to S609). Through the steps S603 to 609, the Y, U and V values are all recorded from (0,0,0) to (255,0,0).

계속하여, Y값을 0으로 설정하고(S611), U값에 1을 더한 후 Y,U,V 값을 기록한다(S613,S615). 이어 U값이 255가 되었는지를 판단하여(S617), U값이 255가 될 때까지 U값을 1만큼 계속 증가시키면서 그 때의 Y,U,V 값을 각각 기록한다(S613~S619). 이로써 상기 단계들(S613~S619)을 통해 Y,U,V값을 (0,1,0) ~ (0,255,0)까지 모두 기록하게 된다.Subsequently, the Y value is set to 0 (S611), 1 is added to the U value, and the Y, U, and V values are recorded (S613, S615). Subsequently, it is determined whether the U value is 255 (S617), and the Y, U, and V values are then recorded while increasing the U value by 1 until the U value is 255 (S613 to S619). As a result, all of the Y, U, and V values from (0, 1, 0) to (0, 255, 0) are recorded through the steps S613 to S619.

계속하여, U값을 0으로 설정하고(S621), V값에 대해서도 위와 동일한 과정을 통해 Y,U,V값을 (0,0,1)~(0,0,255)까지 모두 기록하게 된다(S623~S629). Subsequently, the U value is set to 0 (S621), and the Y, U, and V values are all recorded from (0,0,1) to (0,0,255) through the same process as above (S623). ~ S629).

이와 같이, 본 발명에서는 상기 단계들(S601~S629)을 거쳐서 모든 Y,U,V 데이터를 기록하게 된다.As described above, in the present invention, all the Y, U, and V data are recorded through the steps S601 to S629.

이어, 상기 기록된 각 YUV 데이터에 대하여 디더링을 수행하고(S631), 상기에서 기술한 소정의 변환식을 이용하여 상기 디더링된 각 YUV 데이터를 RGB 데이터로 변환한다(S633). 상기 변환된 RGB 데이터에 대하여 최종 화면 출력장치에 맞게 색상을 조정한다(S635). 상기 색상 조정은 바람직하게는 색조, 채도, 명도 조정을 포함한다.Subsequently, dithering is performed on each of the recorded YUV data (S631), and each dithered YUV data is converted to RGB data using the predetermined conversion equation described above (S633). The color is adjusted to the final screen output device with respect to the converted RGB data (S635). The color adjustment preferably includes hue, saturation, brightness adjustment.

상기 각 YUV 데이터에 인덱스를 할당하고 상기 각 YUV 데이터에 대응하는 RGB 데이터를 상기 데이터 변환 테이블에 각각 기록한다(S637).An index is allocated to each YUV data and RGB data corresponding to each YUV data is recorded in the data conversion table (S637).

이러한 과정을 통하여 최종적으로 데이터 변환 테이블이 생성된다. 이와 같이 본 발명에서는 상기 데이터 변환 테이블 생성과정에서 미리 YUV 데이터의 디더링 과정, YUV 데이터의 RGB 데이터로의 변환 과정, RGB 데이터에 대한 색상 조정 과정 등을 모두 수행한 후 상기 데이터 변환 테이블에 상기 화면 출력장치에서 화면으로 출력할 최종 RGB 데이터를 저장한다.Through this process, the data conversion table is finally generated. As described above, in the present invention, the screen is output to the data conversion table after performing dithering of YUV data, conversion of YUV data to RGB data, color adjustment for RGB data, etc. Stores the final RGB data for output from the device to the screen.

상기 YUV 데이터는 바람직하게는 (24-X) bits이다. 통상적으로 동영상 출력이 가능한 소형 단말은 4, 8, 12, 16 bits의 해상도를 갖는 화면 출력장치를 장착하고 있기 때문에, 입력되는 YUV 값의 범위는 상대적으로 작다. 따라서, 이러한 YUV 데이터에 대한 RGB 데이터의 변환 테이블을 생성하여도 이를 위한 용량은 그리 크지 않다. 예컨대, 12 bits 해상도를 갖는 소형 단말의 경우 YUV 데이터를 단순히 (4,4,4) bits씩 할당하는 테이블을 작성하여도 테이블 크기는 4096개의 요소를 갖 는 수준으로 소형 단말에서 충분히 수용할 수 있는 것이다. 따라서, 테이블에 RGB 값을 기록하기 위해서 도 6에서 보인 것처럼 동영상 화면 출력 이전에 미리 계산을 하고, 이 테이블을 이용하여 전체적 변환을 참조 한번으로 이루어지도록 하여 소형 단말에서의 화면 출력 성능을 극대화할 수 있다.The YUV data is preferably (24-X) bits. In general, since a small terminal capable of outputting video is equipped with a screen output device having a resolution of 4, 8, 12, and 16 bits, the range of the input YUV value is relatively small. Therefore, even if the conversion table of the RGB data for the YUV data is generated, the capacity for this is not so large. For example, in the case of a small terminal having a 12-bit resolution, even if a table that simply allocates YUV data by (4,4,4) bits is created, the table size has 4096 elements and can be sufficiently accommodated in the small terminal. will be. Therefore, in order to record the RGB values in the table, as shown in FIG. 6, the calculation is performed in advance before outputting the video screen, and the table can be used as a reference to maximize the screen output performance in the small terminal. have.

이상에서 설명한 바와 같이, 본 발명에서는 데이터 변환 테이블의 생성과정에서 YUV 데이터의 디더링 과정을 RGB 데이터 변환 과정보다 우선 수행하고, 그 변환된 RGB 데이터로부터 색상조정을 수행함으로써 소형 단말에서의 화면 출력 성능을 최대화할 수 있다. As described above, in the present invention, the dithering process of the YUV data is performed prior to the RGB data conversion process in the generation of the data conversion table, and the color output is performed from the converted RGB data to improve the screen output performance of the small terminal. It can be maximized.

이를 보다 구체적으로 설명하면, 도 2에 도시된 종래의 화면 출력방법은 압축이 해제된 YUV 데이터를 RGB 데이터로 변환한 이후에 화면 출력장치에 맞게 색상을 조절하여 화면에 출력한다. 즉, 압축이 해제된 YUV 데이터를 사용자가 설정한 색상(채도, 색조, 명도 등)에 따라 화면 출력장치용 칼라값, 즉 RGB 데이터로 변환하게 된다. 상기 RGB 데이터 변환은 24bits YUV 데이터를 입력으로 하여 24bits RGB 데이터를 출력하기 때문에 비록 여러 간략화된 변환식이 존재하지만 여러 회의 덧셈 및 논리 연산을 필요로 한다. 이어서, 상기와 같이 변환된 RGB 값으로 최종 화면 출력장치의 해상도로 절삭하는 과정을 거친 뒤 화면에 출력을 하게 된다. 이러한 방법은 최종 화면 출력 이전까지는 RGB 데이터가 24bits이기 때문에 24bits 산술 및 논리 연산을 하거나 고속을 위해 추가적인 변환 하드웨어를 장착해야만 소형 단말에서 목표로 하는 성능을 얻을 수 있다. 그러나, 본 발명의 화면 출력방법에서는 YUV 디더링 과정이 RGB 데이터 변환과정의 앞부분에서 미리 수행됨에 따라 이후의 과정에서 RGB 데이터를 24bits로 처리하지 않아도 되는 장점이 있다. More specifically, the conventional screen output method illustrated in FIG. 2 converts the decompressed YUV data into RGB data and then adjusts colors to fit the screen output device and outputs them to the screen. That is, the decompressed YUV data is converted into color values for the screen output device, that is, RGB data according to the color (saturation, hue, brightness, etc.) set by the user. The RGB data conversion requires 24 times of addition and logic operations, although several simplified conversion equations exist because 24 bits of YUV data are inputted to output 24 bits of RGB data. Subsequently, the screen is output after the process of cutting to the resolution of the final screen output device using the converted RGB value as described above. Since the RGB data is 24 bits until the final screen output, this method requires 24 bits arithmetic and logic operations or additional conversion hardware for high speed to achieve the target performance in small terminals. However, in the screen output method of the present invention, since the YUV dithering process is performed before the RGB data conversion process in advance, there is an advantage that the RGB data need not be processed to 24 bits in the subsequent process.

또한, 도 2와 도 5를 비교해 보면, 논리적인 과정에서는 큰 차이는 없지만, 도 5의 경우 최종 화면 출력단계까지 RGB 칼라 데이터를 24bits로 유지할 필요가 없고 이러한 이유로 인해 화상도 조절단계와 RGB 데이터 변환단계를 하나의 단계로 합칠 수도 있다.In addition, when comparing Fig. 2 and Fig. 5, there is no significant difference in the logical process, but in the case of Fig. 5 it is not necessary to maintain the RGB color data at 24 bits until the final screen output step, and for this reason, the image is also adjusted and the RGB data conversion. You can combine the steps into one step.

나아가, 종래의 일반적인 경우 디더링은 도 2에 도시된 바와 같이 사용자 눈에 보이는 단계인 최종 화면 출력 단계서 이루어지지만, 본 발명에서는 RGB 칼라 데이터 변환과정 이전에 먼저 수행한다. 이 경우 종래에는 디더링 수행후에는 최종 화면 출력장치용 해상도로 RGB 칼라 데이터값을 절삭하지만, 본 발명에서는 디더링 과정을 먼저 수행하기 때문에 절삭 과정은 행하지 않고 디더링 연산만 수행한다. 만약, 종래의 방법대로 디더링 수행에서 RGB 칼라 데이터 값을 절삭할 경우, RGB 데이터 변환과정이나 해상도 조절과정에서 필연적으로 발생하는 왜곡 현상이 심각하게 발생할 가능성이 있다. 이러한 이유 때문에 본 발명에서는 절삭을 하지 않고 디더링만 수행한다. 본 발명의 일 실시예에서, 상기 YUV 데이터의 디더링 수행은 바람직하게는 다양한 디더링 기법 중에서 자신의 RGB 칼라 데이터값과 좌표값으로만 디더링하는 기법을 사용할 수 있다. 예컨대, 대표적인 방법으로 ORDERED 디더링 방법을 사용할 수 있다.Further, in the conventional general case, dithering is performed in the final screen output step, which is a step visible to the user as shown in FIG. 2, but the present invention is performed before the RGB color data conversion process. In this case, conventionally, after dithering, the RGB color data values are cut at the resolution for the final screen output device. However, in the present invention, since the dithering process is performed first, only the dithering operation is performed without cutting. If the RGB color data values are cut during dithering according to the conventional method, there is a possibility that serious distortion may occur inevitably during RGB data conversion or resolution adjustment. For this reason, in the present invention, only dithering is performed without cutting. In one embodiment of the present invention, the dithering of the YUV data may preferably use a dithering technique using only its own RGB color data values and coordinate values among various dithering techniques. For example, the ORDERED dithering method may be used as a representative method.

또한, 상기 RGB 데이터의 변환단계는 색상 조절단계 이전에 수행되어 동영상 전반적 화질과 성능에 중요한 역할을 한다. 이 부분은 크게 2부분으로 나뉘는데 첫 번째는 Y,U,V 데이터를 최종 화면 출력장치의 해상도에서 필요로 하는 만큼 절삭을 하는 제1과정과, 이 값으로 R,G,B 데이터를 얻어내는 제2과정이다. 이때 RGB 데이터 변환시에는 도 2에서 보이는 기존의 방법대로 간략화된 변환식을 사용하여 RGB 칼라 데이터 변환을 수행하게 된다. 하지만 본 발명에서는 RGB 칼라 데이터 변환 이후에 이전처럼 디더링을 하지 않고 이미 디더링이 수행된 YUV 데이터를 사용하여 RGB 데이터 변환을 수행하며, 이와 같은 RGB 칼라 데이터 변환 이후는 색상 보정만 하기 때문에, 24bits 연산을 수행할 필요가 없다. 즉, 최종 화면 출력 단계에서의 RGB 데이터 값은 화면 출력장치의 해상도로 얻어 내기만 하면 된다. 따라서, YUV 데이터에서 RGB 데이터로의 변환식에서 원하는 해상도로 얻을 수 있도록 해당 변환식을 수정한 후에 연산을 하여도 24bits로 한 것과 동일한 효과를 갖는다. 예컨대, 최종 화면 출력장치의 해상도가 12bits(4096 칼라)라고 하면, R을 얻어 오는 식이 R= F(Y,U,V)라고 할 때, RGB 데이터 변환식은 RGB 데이터 변환후에 12bits 해상도로 절삭을 해야 하기 때문에 R/4096=F(Y,U,V)/4096으로 된다. 여기서 RGB 칼라 데이터 변환함수 F는 단순한 곱셈과 덧셈으로만 된 수식으로써 F(Y,U,V)/4096=F(Y/4096,U/4096,V/4096)으로 변환이 될 수 있다.In addition, the conversion of the RGB data is performed before the color adjustment step to play an important role in the overall image quality and performance. This part is divided into two parts. The first is the first process of cutting the Y, U, and V data as necessary for the resolution of the final display device, and the first to obtain the R, G, and B data. 2 courses. At this time, when converting the RGB data, the RGB color data conversion is performed using a simplified conversion equation according to the conventional method shown in FIG. However, in the present invention, after converting the RGB color data, RGB data conversion is performed using YUV data which has already been dithered without dithering as before, and after such RGB color data conversion, only the color correction is performed. There is no need to do it. In other words, the RGB data values in the final screen output step need only be obtained at the resolution of the screen output device. Therefore, even if the calculation is performed after modifying the conversion equation so as to obtain the desired resolution in the conversion equation from YUV data to RGB data, it has the same effect as 24 bits. For example, if the resolution of the final screen output device is 12 bits (4096 colors), when the equation for obtaining R is R = F (Y, U, V), the RGB data conversion equation must cut to 12 bits resolution after RGB data conversion. Therefore, R / 4096 = F (Y, U, V) / 4096. Here, the RGB color data conversion function F can be converted into F (Y, U, V) / 4096 = F (Y / 4096, U / 4096, V / 4096) as a simple multiplication and addition expression.

이를 정리하면, RGB 데이터 변환과정에서 화면 출력장치의 해상도가 X bits 칼라라고 할 때, R의 경우 R/2^(24-X)=F(Y/2^(24-X),U/2^(24-X),V/2^(24-X))가 된다. 이때, ^는 지수 기호이고, G,B도 동일한 방식이다. 이와 같은 변환식에서 RGB 데이터 변환후에 절삭이라는 특징을 본다면 24bits YUV 데이터는 결국 (24-X)bits YUV 데이터로 변환 후에 RGB 데이터 변환식에 적용되는 것이다.In summary, when the resolution of the screen output device is X bits color during RGB data conversion, R / 2 ^ (24-X) = F (Y / 2 ^ (24-X), U / 2 for R ^ (24-X), V / 2 ^ (24-X)). In this case, ^ is an exponent symbol, and G and B are the same. In this conversion equation, if the feature of cutting after RGB data conversion is 24bits YUV data is converted to (24-X) bits YUV data, it is applied to RGB data conversion equation.

이와 같이, RGB 데이터 변환과정이 수행됨에 따라, 소형 단말에서 화면 출력을 위해 이후의 과정에서 처리해야 할 데이터 양은 도 7에 도시된 바와 같이 줄어들게 된다. As described above, as the RGB data conversion process is performed, the amount of data to be processed in a subsequent process for outputting the screen in the small terminal is reduced as shown in FIG. 7.

도 7은 본 발명과 종래기술의 일 실시 예에 따른 동영상 화면 출력에 따른 데이터 처리량을 비교한 그래프이다. 도 7을 참조하면 종래의 방법(점선 표시)에서는 최종 화면 출력 단계에 와야만 데이터가 출력장치의 해상도로 데이터가 줄어들지만, 본 발명에 따른 방법(실선 표시)에서는 비교적 이전 단계에서부터 최종 해상도로 줄어들어, 이후의 데이터 처리 과정에서는 연산해야 할 데이터 양이 경감되는 효과가 있다.7 is a graph comparing data throughput according to output of a video screen according to an embodiment of the present invention and the prior art. Referring to FIG. 7, in the conventional method (dotted line display), the data is reduced to the resolution of the output device only when it comes to the final screen output stage. However, in the method according to the present invention, the data is reduced to the final resolution from the previous stage. In the subsequent data processing, the amount of data to be calculated is reduced.

상기 도면과 발명의 상세한 설명은 단지 본 발명의 예시적인 것으로서, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.The drawings and detailed description of the invention are merely exemplary of the invention, which are used for the purpose of illustrating the invention only and are not intended to limit the scope of the invention as defined in the appended claims or claims. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible from this. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

상기와 같은 본 발명에서는 디더링 단계를 화면 출력 장치용 변환 과정의 앞 부분에 둠으로써 나머지 부분에서 처리해야 할 데이터 양을 줄여 주고 색상 보정, 명도 조절, 칼라 변환 과정 등이 계산 식이 아닌 변환 표를 이용하여 변환 가능해 짐으로써 경량 단말에서의 소프트웨어적인 것만으로도 충분히 경량 단말기에서 처리 할 수 있게 해 준다.In the present invention as described above, the dithering step is placed at the beginning of the conversion process for the display device, thereby reducing the amount of data to be processed in the remaining parts, and using a conversion table in which color correction, brightness adjustment, and color conversion process are not calculated. By being able to convert, the software in the lightweight terminal can be processed sufficiently in the lightweight terminal.

Claims (7)

소형 단말에서 화면을 화면 출력장치에 출력하기 전에, YUV 데이터에 대응하는 화면 출력장치용 RGB 데이터를 저장하는 데이터 변환 테이블을 생성하는 제1단계;Generating a data conversion table for storing RGB data for the screen output device corresponding to the YUV data before outputting the screen to the screen output device in the small terminal; 상기 출력할 화면에 대하여 압축이 해제된 YUV 데이터를 읽어 들이고, 상기 데이터 변환 테이블을 이용하여 상기 읽어 들인 YUV 데이터를 해당 RGB 데이터로 변환하는 제2단계; 및Reading decompressed YUV data with respect to the screen to be output, and converting the read YUV data into corresponding RGB data using the data conversion table; And 상기 변환된 RGB 데이터를 이용하여 상기 화면 출력장치에서 화면을 출력하는 제3단계; 를 포함하는 것을 특징으로 하는 소형 단말에서의 화면 출력방법.A third step of outputting a screen from the screen output device using the converted RGB data; Screen output method in a small terminal comprising a. 제1항에 있어서, 상기 RGB 데이터는,The method of claim 1, wherein the RGB data, YUV 데이터를 디더링하고 상기 디더링된 각 YUV 데이터를 해당 RGB 데이터로 변환한 후 상기 화면 출력장치에 맞게 색상을 조절한 RGB 데이터인 것을 특징으로 하는 소형 단말에서의 화면 출력방법.Dithering YUV data, converting each of the dithered YUV data into corresponding RGB data, and adjusting the color according to the screen output device. 제2항에 있어서, 상기 색상은,The method of claim 2, wherein the color is, 색조, 명도, 채도 중 선택되는 적어도 하나를 포함하는 것을 특징으로 하는 소형 단말에서의 화면 출력방법.Screen output method in a small terminal, characterized in that it comprises at least one selected from hue, brightness, saturation. 제1항에 있어서, 상기 제1단계는,The method of claim 1, wherein the first step, YUV 데이터에 대한 디더링을 수행하는 단계;Performing dithering on YUV data; 상기 디더링된 YUV 데이터로부터 RGB 데이터를 생성하는 단계; 및Generating RGB data from the dithered YUV data; And 상기 생성된 RGB 데이터를 이용하여 상기 화면 출력장치에 맞도록 색상을 조절한 후 최종 RGB 데이터를 구하고 상기 최종 RGB 데이터를 데이터 변환 테이블에 기록하는 단계; 를 포함하는 것을 특징으로 하는 소형 단말에서의 화면 출력방법.Using the generated RGB data, adjusting color to match the screen output device, obtaining final RGB data, and writing the final RGB data to a data conversion table; Screen output method in a small terminal comprising a. 제4항에 있어서, 상기 디더링을 수행하는 단계 이후에,The method of claim 4, wherein after performing the dithering, 상기 디더링된 YUV 데이터를 이용하여 상기 화면 출력장치용 해상도로 절삭하는 제4단계를 더 포함하는 것을 특징으로 하는 소형 단말에서의 화면 출력방법.And a fourth step of cutting at the resolution for the screen output device using the dithered YUV data. 제1항에 있어서, 상기 제2단계는,The method of claim 1, wherein the second step, 상기 YUV 데이터를 상기 화면 출력장치의 해상도에 따라 절삭하는 단계; 및Cutting the YUV data according to the resolution of the screen output device; And 상기 데이터 변환 테이블을 이용하여 상기 절삭된 YUV 데이터에 대응하는 RGB 데이터로 변환하는 단계; 를 포함하는 것을 특징으로 하는 소형 단말에서의 화면 출력방법.Converting to RGB data corresponding to the truncated YUV data using the data conversion table; Screen output method in a small terminal comprising a. 제1항에 있어서,The method of claim 1, 상기 소형 단말의 화면 출력장치의 해상도가 X 비트(X=4,8,12,16,20)이고, 상기 압축이 해제된 YUV 데이터는 (24-X) 비트인 것을 특징으로 하는 소형 단말에 서의 화면 출력방법.In the small terminal, the resolution of the screen output device of the small terminal is X bits (X = 4,8,12,16,20) and the decompressed YUV data is (24-X) bits. How to print the screen.
KR1020060026254A 2005-12-08 2006-03-22 Display Method in Small Terminal KR100786386B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020050120130 2005-12-08
KR20050120130 2005-12-08

Publications (2)

Publication Number Publication Date
KR20070060998A true KR20070060998A (en) 2007-06-13
KR100786386B1 KR100786386B1 (en) 2007-12-17

Family

ID=38356937

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060026254A KR100786386B1 (en) 2005-12-08 2006-03-22 Display Method in Small Terminal

Country Status (1)

Country Link
KR (1) KR100786386B1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0950262A (en) * 1995-08-08 1997-02-18 Toshiba Corp Method and device for multigradation control applying dither method
JP4100522B2 (en) * 1997-07-24 2008-06-11 セイコーエプソン株式会社 Image processing apparatus, image processing method, and recording medium recording the program
US6326977B1 (en) * 1998-11-03 2001-12-04 Sharp Laboratories Of America, Inc. Rendering of YCBCR images on an RGS display device
JP2002132225A (en) * 2000-10-24 2002-05-09 Sharp Corp Video signal corrector and multimedia computer system using the same
KR100547812B1 (en) * 2002-06-24 2006-01-31 삼성전자주식회사 Apparatus and method for converting color model of pixel data using color reference table

Also Published As

Publication number Publication date
KR100786386B1 (en) 2007-12-17

Similar Documents

Publication Publication Date Title
US7554557B2 (en) Device and method for image compression and decompression
US5977946A (en) Multi-window apparatus
KR101138852B1 (en) Smart clipper for mobile displays
KR100925315B1 (en) Image display apparatus and electronic apparatus
US7679619B2 (en) Data outputting method, data outputting device, liquid crystal panel driving device, and liquid crystal display device
JP3201039B2 (en) Display device
KR20080045132A (en) Hardware-accelerated color data processing
US7227524B2 (en) Image display apparatus and method
US10152945B2 (en) Image processing apparatus capable of performing conversion on input image data for wide dynamic range
JPH0772839A (en) Color video display unit
JP5988696B2 (en) Image compression circuit, image compression method, semiconductor device, and smartphone
JP2001209789A (en) Graphic accelerator and plotting method
KR100786386B1 (en) Display Method in Small Terminal
JPH09326938A (en) Image processing unit and its method
JPH09101771A (en) Picture processor
KR100472464B1 (en) Apparatus and method for serial scaling
JP5132081B2 (en) Display device
JP3332404B2 (en) Image monitor device and control device therefor
US20140327695A1 (en) Image processing apparatus and control method therefor
JPH07140949A (en) Chrominance signal conversion system
JP2005084540A (en) Liquid crystal display controller and liquid crystal display
US6421059B1 (en) Apparatus and method for rendering characters into a memory
JP7028062B2 (en) Image correction program, image correction method, and image correction device
EP3958248A1 (en) Image generation device and image generation method
KR20020006124A (en) Resolution control method

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
G170 Publication of correction
FPAY Annual fee payment

Payment date: 20111129

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee