KR100269202B1 - Apparatus and method of color transformation using color region division - Google Patents

Apparatus and method of color transformation using color region division Download PDF

Info

Publication number
KR100269202B1
KR100269202B1 KR1019930022953A KR930022953A KR100269202B1 KR 100269202 B1 KR100269202 B1 KR 100269202B1 KR 1019930022953 A KR1019930022953 A KR 1019930022953A KR 930022953 A KR930022953 A KR 930022953A KR 100269202 B1 KR100269202 B1 KR 100269202B1
Authority
KR
South Korea
Prior art keywords
color
patch
rigibi
input
output
Prior art date
Application number
KR1019930022953A
Other languages
Korean (ko)
Other versions
KR950012285A (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 KR1019930022953A priority Critical patent/KR100269202B1/en
Publication of KR950012285A publication Critical patent/KR950012285A/en
Application granted granted Critical
Publication of KR100269202B1 publication Critical patent/KR100269202B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/67Circuits for processing colour signals for matrixing

Abstract

PURPOSE: A method and an apparatus for color calibration using division of a color area is provided to output an original image as a minimum chrominance by comparing an input color space to an RGB space. CONSTITUTION: An apparatus for color calibration using division of a color area comprises a multiplier(10), a comparator(20), a matrices selector(30), and a coefficient lookup table(40). The multiplier(10) multiplies transform matrices adapted for an input RiGiBi. The transform matrices are provided by the coefficient lookup table(40). An RoGoBo as the output of the multiplier(10) is a calibrated value. The comparator(20) divides the input RiGiBi according to each block. The matrices selector(30) selects the matrix by using an output signal the comparator(20) as an address.

Description

색영역 분할을 통한 색보정방법 및 장치Color correction method and device through color gamut segmentation

제1도는 본 발명에 의한 색영역 분할을 통한 색정보방법을 설명하기 위한 흐름도이다.1 is a flowchart illustrating a color information method through color gamut division according to the present invention.

제2도는 제1도에 있어서 제300단계의 상세흐름도이다.FIG. 2 is a detailed flowchart of step 300 of FIG.

제3도는 본 발명에 의한 색영역 분할을 통한 색보정장치의 일실시예에 따른 블럭도이다.3 is a block diagram according to an embodiment of a color correction apparatus through color gamut division according to the present invention.

제4도는 제3도에 있어서 행렬식 선택부의 내부 구조를 나타낸 도면이다.4 is a diagram showing the internal structure of the determinant selection unit in FIG.

제5a도, 제5b도는 종래에 사용된 색영역 분할의 예를 나타낸 도면이다.5A and 5B show examples of color gamut division used in the related art.

제6a도 내지 제6f도는 본 발명에서 사용된 색영역 분할의 예를 나타낸 도면이다.6A to 6F show examples of color gamut division used in the present invention.

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

10 : 승산부 20 : 색구간분할부10: multiplication part 20: color segmentation part

30 : 행렬식 선택부 40 : 계수 룩업 테이블30: determinant selection unit 40: coefficient lookup table

본 발명은 칼라 재현 시스템에 관한 것으로, 특히 최소한의 색차로 원화상을 출력하도록 색보정하기 위한 방법 및 장치에 관한 것이다.The present invention relates to a color reproduction system, and more particularly, to a method and apparatus for color correction to output an original image with a minimum color difference.

최근 들어 매체가 다른 여러 시스템간에서 칼라 재현이 중요하게 부각되고 있다. 통상적으로 스캐너(scanner)에서 읽혀진 영상이나, 모니터에 나타난 영상을 칼라 프린터에 출력하게 되면, 프린터에서 출력되는 화상은 스캐너에서 읽혔거나 모니터에서 생성된 원화상과는 상이하다. 왜냐하면, 모니터의 수상관(CRT) 상의 영상이나 스캐너의 경우 가법혼색계(Additive Color System)를 사용하는 반면, 프린터의 경우 감법혼색계(Subtractive Color System)를 사용하는 등 색재현 방식에서 차이가 나고, 또한 색재현 영역에서 차이가 나기 때문이다. 따라서 프린트할 경우에는 입력색공간에 적합한 색변환(Color Transformation)이 이루어져야 한다.In recent years, color reproduction has become an important issue among systems with different media. In general, when an image read by a scanner or an image displayed on a monitor is output to a color printer, the image output from the printer is different from the original image read from the scanner or generated on the monitor. This is because there is a difference in color reproduction methods such as an image on a CRT of a monitor or an additive color system for a scanner, and a subtractive color system for a printer. This is because there is a difference in the color reproduction area. Therefore, when printing, a color transformation suitable for the input color space should be made.

여기서 색변환의 방법에는 일반적으로 함수식을 이용한 방법, 룩업 테이블(LUT:Look Up Table)을 이용한 방법, 변환행렬식(Transform Matrix)을 이용한 방법 등이 있다. 기존의 색변환에 사용되던 행렬식은 보통 3*3 행렬식, 3*6 행렬식 또는 3*9 행렬식 등이 있고, 이 행렬식은 입력신호 RiGiBi 대 출력신호 RoGoBo의 관계로 다항회귀분석(Multiple Regression Analysis)방법을 이용함으로써 구해지고, 구해진 행렬식은 원화상에 곱함으로써 색보정을 하게 된다.In general, the color transformation method includes a method using a function expression, a method using a look up table (LUT), and a method using a transform matrix. Conventional determinants used for color conversion include 3 * 3 determinant, 3 * 6 determinant, or 3 * 9 determinant, and this determinant is a multiple regression analysis method based on the relationship between the input signal RiGiBi and the output signal RoGoBo. The obtained determinant is color corrected by multiplying the original image.

그러나, 입력신호 RiGiBi의 공간과 출력신호 RoGoBo의 공간 사이의 관계가 선형적이지 않고 불균일하기 때문에 하나의 행렬식만으로 색보정을 하는 것은 충분치 못하다. 이를 해결하기 위한 방법으로서, 첫째는, 신문의 프린터 시스템에서 텔레비젼(TV) 등의 화상을 재현할 때 피부색의 색차를 줄이기 위해 입력신호 RiGiBi 공간을 '피부색' 구간과 '그외의 색' 구간으로 분류하고, 각 구간에 대한 입력신호 RiGiBi 대 출력신호 RoGoBo의 관계를 다항회귀분석을 이용하여 변환행렬식을 구한다.However, since the relationship between the space of the input signal RiGiBi and the space of the output signal RoGoBo is not linear and nonuniform, it is not sufficient to perform color correction with only one determinant. As a method to solve this problem, first, the input signal RiGiBi space is classified into 'skin color' section and 'other color' section in order to reduce the color difference of skin color when reproducing an image such as a TV in a printer system of a newspaper. The relationship between the input signal RiGiBi and the output signal RoGoBo for each section is obtained by polynomial regression analysis.

둘째는, 첫째 방법을 개선한 것으로서 입력색 공간을 '피부색', '무채색', '적(Red)', '녹(Green)', '청(Blue)', 의 다섯 구간으로 분류하고, 각 구간에 대한 입력신호 RiGiBi 대 출력신호 RoGoBo의 관계를 다항회귀분석을 이용하여 변환행렬식을 구한다.Second, as an improvement of the first method, the input color space is classified into five sections of 'skin color', 'achromatic color', 'red', 'green', and 'blue'. The relationship between the input signal RiGiBi and the output signal RoGoBo for the interval is obtained by polynomial regression analysis.

색공간을 나누는 방법은 먼저 RGB 색좌표계를 아래 제(1)식에 의해 제5a도와 제5b도와 같이 2차원 평면상에 투사한다.In the method of dividing the color space, the RGB color coordinate system is first projected on a two-dimensional plane as shown in Figs. 5A and 5B by Equation (1) below.

이 2차원 평면상에 색의 위치를 표시하기 위해서는 좌표축을 p, q로 가정했을 때 아래 제(2)식과 같다.In order to display the position of a color on this two-dimensional plane, it is represented by Formula (2) below, assuming coordinate axes p and q.

즉, 제5a도와 제5b도에서와 같이 '피부색', '무채색', '적(Red)', '녹(Green)', '청(Blue)' 공간을 균등하게 나누어 처리하게 된다. 그러나 이렇게 구간을 나누는 것은 RGB 공간의 특성에 맞게 나눈 것이 아닐 뿐 아니라 프린터의 출력특성을 제대로 반영할 수 없다. 따라서 각 구간내에서 구해진 변환행렬식 자체도 많은 오차를 내포하게 되는 문제점이 있다.That is, as shown in FIGS. 5A and 5B, 'skin color', 'achromatic color', 'red', 'green', and 'blue' spaces are equally divided. However, this division is not only divided into the characteristics of the RGB space, but also cannot accurately reflect the output characteristics of the printer. Therefore, there is a problem that the transformation matrix itself obtained within each interval also contains a lot of errors.

따라서 본 발명의 목적은 상술한 문제점을 해결하기 위하여 입력색공간을 RGB 공간의 특성에 맞게 분류함으로써 색보정을 신속하고 정교하게 하도록 하기 위한 색보정방법을 제공하는데 있다.Accordingly, an object of the present invention is to provide a color correction method for quickly and precisely correcting color by classifying the input color space according to the characteristics of the RGB space in order to solve the above problems.

본 발명의 다른 목적은 상기 색보정방법을 실현하는데 가장 적합한 장치를 제공하는데 있다.It is another object of the present invention to provide an apparatus most suitable for realizing the color correction method.

상기 목적을 달성하기 위하여 본 발명은 임의의 화상입력기기로부터 입력되는 색신호 RiGiBi를 임의의 화상출력기기의 특성에 맞도록 보정하기 위한 색보정방법에 있어서,In order to achieve the above object, the present invention provides a color correction method for correcting a color signal RiGiBi input from an arbitrary image input device to match the characteristics of an arbitrary image output device.

상기 RiGiBi를 입력으로 하는 상기 화상출력기기로부터 출력되는 RoGoBo로부터 형성된 소정갯수의 패치를 측색하고, 측색값을 입력 색공간과의 관계식으로 역계산한 RcGcBc와 상기 패치를 형성할 때의 RoGoBo와의 관계식인 변환행렬식을 구하기 위한 제1단계;Is a relational expression of RcGcBc obtained by colorizing a predetermined number of patches formed from RoGoBo output from the image output device using the RiGiBi as an input, and calculating color values in a relation with an input color space and RoGoBo when forming the patch. A first step of obtaining a transformation matrix;

상기 제1단계에서 구한 상기 변환행렬식을 이용하여 각 변환행렬식의 적용가능범위를 판단하기 위하여 허용 오차값을 입력하기 위한 제2단계;A second step of inputting an allowable error value in order to determine an applicable range of each transform matrix by using the transform matrix obtained in the first step;

상기 제1단계에서 구한 변환행렬식을 적용하여 RcGcBc를 계산하고, 구하고자 하는 RoGoBo와의 오차를 구한 후, 상기 오차가 상기 허용오차값 이내에 있는 패치번호, 갯수 및 변환행렬식을 저장하기 위한 제3단계;A third step of calculating RcGcBc by applying the conversion matrix obtained in the first step, calculating an error with RoGoBo to be obtained, and storing the patch number, the number, and the conversion matrix whose error is within the tolerance value;

상기 제3단계에서 저장한 패치갯수를 기준으로 하여 변환행렬식을 내림차순으로 정렬하기 위한 제4단계;A fourth step of sorting the transformation matrix in descending order based on the number of patches stored in the third step;

상기 제4단계에서 정렬된 순서로 입력되는 RiGiBi의 색구간을 분류하기 위한 제5단계;A fifth step of classifying color sections of RiGiBi inputted in the sorted order in the fourth step;

상기 제5단계에서 분류된 색구간들을 색보정에 사용될 수 있도록 분류된 색구간의 갯수, 각 구간에 적용될 변환행렬식, 각 구간에 해당하는 패치번호들을 저장하기 위한 제6단계; 및A sixth step of storing the number of color sections classified in the fifth step to be used for color correction, a transformation matrix to be applied to each section, and patch numbers corresponding to each section; And

상기 화상입력기기로부터 보정할 색신호 RiGiBi가 입력되면 상기 제6단계에서 저장된 데이터를 이용하여 패치에 어디에 속하는지를 비교하고, 상기 패치가 속한 구간의 변환행렬식을 곱함으로써 색보정을 하기 위한 제7단계로 이루어짐을 특징으로 한다.When the color signal RiGiBi to be corrected is inputted from the image input device, the seventh step for color correction is performed by comparing where the data belongs to the patch using the data stored in the sixth step and multiplying the transformation matrix of the section to which the patch belongs. Characterized in that made.

상기 다른 목적을 달성하기 위하여 본 발명은 임의의 화상입력기기로부터 출력되는 색신호 RiGiBi를 임의의 화상출력기기의 특성에 맞게 보정하기 위한 색보정장치에 있어서,In order to achieve the above another object, the present invention provides a color correction apparatus for correcting a color signal RiGiBi outputted from an arbitrary image input apparatus according to the characteristics of an arbitrary image output apparatus.

상기 RiGiBi가 어느 색구간에 속하는지를 판단하기 위해 상기 RiGiBi의 색구간을 균등하게 나누기 위한 색구간분할부;A color segmentation unit for equally dividing a color segment of the RiGiBi to determine which color segment the RiGiBi belongs to;

상기 색구간분할부에서 출력되는 값을 이용하여 변환행렬식을 선택하기 위한 계수를 출력하기 위한 행렬식 선택부;A determinant selector for outputting coefficients for selecting a transform matrix using values output from the color segmentation unit;

각 패치에 해당하는 변환행렬식을 저장하고 있으며 상기 행렬식 선택부에서 출력되는 계수를 어드레스로 하여 해당 어드레스의 변환행렬식을 출력하기 위한 저장수단; 및Storage means for storing a transformation matrix corresponding to each patch and outputting a transformation matrix of the corresponding address using coefficients output from the determinant selection unit as addresses; And

상기 저장수단에서 출력되는 변환행렬식을 상기 RiGiBi에 곱함으로써 보정된 색신호 RoGoBo를 출력하기 위한 승산부를 포함함을 특징으로 한다.And a multiplier for outputting the color signal RoGoBo corrected by multiplying the conversion matrix output from the storage means by RiGiBi.

이하 첨부된 도면을 참조하여 본 발명의 구성 및 동작에 대하여 상세히 설명하기로 한다.Hereinafter, the configuration and operation of the present invention will be described in detail with reference to the accompanying drawings.

색보정을 이루기 위해서는 먼저 각 구간내의 색변환 행렬식이 구해져 있어야 한다. 제1도는 본 발명에 의한 색영역 분할을 통한 색보정방법을 설명하기 위한 흐름도이다.In order to achieve color correction, the color conversion matrix in each section must be obtained. 1 is a flowchart illustrating a color correction method through color gamut division according to the present invention.

제1도를 참조하면, 제100단계에서는 RGB를 각각 균등하게 증가시키면서 만든 출력물인 각 패치(patch)를 단일 색공간에서 측색하여 그 측색값을 입력 색공간과의 관계식으로 역계산한 RiGiBi와 패치를 만들때의 RoGoBo와의 관계식을 한 패치를 중심으로 8 내지 27개의 패치값들을 사용하여 구한다.Referring to FIG. 1, in step 100, RiGiBi and a patch in which each patch, which is an output produced by uniformly increasing RGB, are measured in a single color space and the color values are inversely calculated in relation to the input color space. The relationship with RoGoBo when creating the system is obtained by using 8 to 27 patch values based on one patch.

여기서 변환 행렬식을 구하는 순서를 상세히 설명하기로 한다.Here, the order of obtaining the transformation determinants will be described in detail.

첫째, 먼저 컴퓨터에 의해 RoGoBo값을 균등하게 나누어 패치를 만들어 프린트한다. 이때 RoGoBo는 예를 들면 R=0, 15, 30,....255, G=0.15, 30 .....255 B=0.15, 30....255로 15단계로 만들었다면 패치의 개수는 17*17*17=4913개의 패치가 생긴다.First, make a patch by dividing the RoGoBo value evenly by computer. If RoGoBo is made into 15 steps with R = 0, 15, 30, .... 255, G = 0.15, 30 ..... 255 B = 0.15, 30 .... 255, the number of patches Will have 17 * 17 * 17 = 4913 patches.

둘째, 출력물의 각 패치를 단일 색공간인 CIE XYZ나 CIE1976 L*a*b*값으로 측색기를 통하여 측색한다.Second, each patch of the output is color coded through a colorimeter with a single color space, CIE XYZ or CIE1976 L * a * b *.

셋째, CIE XYZ나 CIE1976 L*a*b*값으로 화상이 만들어진 소오스, 즉 모니터 혹은 스캐너 등과 단일 색공간과의 관계식을 이용하여 역으로 RcGcBc를 계산한다. 이 RcGcBc는 실제 입력화상의 RGB값이 되고 이 RGB값을 출력하기 위해서는 RoGoBo를 프린터로 출력해야 한다는 의미이다.Third, RcGcBc is calculated inversely using a relationship between a single color space, such as a monitor or scanner, in which an image is created with CIE XYZ or CIE1976 L * a * b * values. This RcGcBc becomes the RGB value of the actual input image, and in order to output this RGB value, RoGoBo must be output to the printer.

즉, 제100단계에서는 상기 순서로 한 패치를 중심으로 8 내지 27개의 패치를 이용하여 RiGiBi로 RoGoBo를 변환하는 변환행렬식을 구한다.That is, in step 100, a conversion matrix for converting RoGoBo to RiGiBi using 8 to 27 patches based on the patches in the above order is obtained.

제200단계에서는 제100단계에서 구한 변환행렬식을 적용하여 계산된 값(RcGcBc)과 원하는 출력값(RoBoBo)과의 오차값이 어느 범위에 있는 것만을 이용할 것인가를 결정하기 위해 외부로부터 허용 오차값을 입력받는다. 여기서, 오차값(△RGB)은In step 200, an allowable error value is input from the outside to determine in which range an error value between the calculated value RcGcBc and the desired output value RoBoBo is applied by applying the conversion matrix obtained in step 100. Receive. Here, the error value ΔRGB is

로 나타낼 수 있다. 이때 한 패치를 중심으로 구해진 변환행렬식을 그 패치 주위로 이동시키면서 적용시킬 경우에 구한 패치에서 멀어질수록 오차값은 커지게 된다. 이때 허용 오차 범위를 작게 할 경우 색영역이 여러개로 분할되는 대신 더 정확한 색보정을 이룰 수 있으며 허용 오차 범위를 크게 할 경우 색영역이 분류되는 갯수가 작아지는 대신 색보정 과정이 간단하게 된다.It can be represented as. In this case, when the transformation matrix obtained around one patch is applied while moving around the patch, the error value increases as the distance from the patch is obtained. In this case, if the tolerance range is reduced, the color gamut may be more accurately corrected instead of being divided into several colors. If the tolerance range is increased, the color correction process is simplified instead of the number of color gamuts being classified.

제300단계에서는 제100단계에서 구한 변환 행렬식으로 패치를 이동해 가면서 그 변환 행렬식이 이동된 패치에서 제200단계에서 입력받은 허용 오차값 이내로 적용이 가능한가를 체크한다. 이때 허용오차값 이내의 패치는 그때의 변환 행렬식에 덧붙여 그 패치의 번호를 저장하고, 전체를 다 끝냈을 경우는 적용할 수 있는 패치의 갯수를 저장한다.In step 300, the patch is moved to the transform matrix obtained in step 100, and it is checked whether the transform matrix is applicable within the allowable error value input in step 200 in the shifted patch. Patches within the tolerance value are stored in the patch number in addition to the conversion determinant, and the number of patches that can be applied when the whole is finished.

제300단계에 대한 상세한 설명을 제2도를 통해 설명하기로 한다.A detailed description of step 300 will be described with reference to FIG. 2.

제2도를 참조하면, 구해진 변환행렬식을 적용하여 RcGcBc를 계산하고(제31, 32단계), 구하고자 하는 RoGoBo와의 차이를 구한 후(제33단계) 그 오차를 입력된 허용 오차값과 비교하고(제34단계), 그 오차가 허용 오차값보다 적으면 현재 패치번호, 범위내의 패치갯수, 그때의 변환행렬식을 저장한다(제35 내지 39단계).Referring to FIG. 2, RcGcBc is calculated using the obtained transformation matrix (steps 31 and 32), the difference from RoGoBo to be calculated (step 33), and the error is compared with the input tolerance value. (Step 34), if the error is smaller than the allowable error value, the current patch number, the number of patches in the range, and the conversion matrix equation at that time are stored (steps 35 to 39).

제400단계에서는 제300단계에서 구해진 허용 오차값 이내의 패치갯수를 기준으로 내림차순으로 정렬한다. 이 정렬된 결과는 각 변환행렬식에 대한 적용범위를 나타낸다.In operation 400, the sorting order is performed in descending order based on the number of patches within the allowable error value obtained in operation 300. This sorted result represents the coverage for each transform matrix.

제500단계에서는 제400단계에서 내림차순 정렬된 결과를 이용하여 입력 색공간을 분류한다. 이때 정렬된 최상단 것은 적용되는 패치의 수가 가장 많으므로 가장 넓게 적용되며 따라서 그때의 변환행렬식의 값과 적용되는 패치의 번호를 저장한 다음 그 패치번호들을 이용하여 정렬되어 있는 리스트들 중에서 중복된 것을 제외한다. 정렬된 최상단의 데이터를 제외한 나머지로 제400단계를 반복수행하고, 입력 색 공간을 모두 적용가능한 상태가 되면 루프를 돈 만큼의 갯수로 색영역을 분류할 수 있다.In operation 500, the input color space is classified using the results arranged in descending order in operation 400. In this case, the sorted top is applied most widely because the number of applied patches is the highest. Therefore, the value of the conversion matrix expression and the number of applied patches are stored and then duplicated among the list sorted using the patch numbers. do. If the operation 400 is repeated except for the sorted topmost data, and the input color space is fully applicable, the color gamut may be classified by the number of loops.

제600단계에서는 각 분류된 구간들을 실제보정에 사용될 수 있도록 한 것으로, 분류된 구간의 갯수와 각 구간에 적용될 변환행렬식, 그리고 각 구간에 해당하는 패치번호를 저장한다.In step 600, each classified section may be used for actual correction. The number of classified sections, a transformation matrix to be applied to each section, and a patch number corresponding to each section are stored.

제700단계에서는 제600단계에서의 값들을 이용해서 색보정을 수행하기 위한 단계로서, 보정할 RiGiBi가 입력되면 패치의 어디에 속하는지를 비교하고 그 패치가 속한 구간의 변환행렬식(M)을 곱함으로써 색보정을 이룬다. 이를 식으로 나타내면 다음과 같다.In step 700, color correction is performed using the values in step 600. When the RiGiBi to be corrected is input, the position of the patch is compared and the color is obtained by multiplying the transformation matrix of the section to which the patch belongs. A correction is made. This is expressed as follows.

제3도는 본 발명에 의한 색영역 분할을 통한 색보정장치의 일실시예에 따른 블럭도이다.3 is a block diagram according to an embodiment of a color correction apparatus through color gamut division according to the present invention.

승산부(10)는 입력되는 RiGiBi에 적합한 변환행렬식을 곱하기 위한 것으로서, 이때 변환행렬식 Mi는 계수 룩업테이블(40)에서 출력된 것이다. 승산부(10)의 출력인 RoGoBo는 색보정된 출력값이다.The multiplier 10 is to multiply the transform matrix suitable for the input RiGiBi, and the transform matrix Mi is output from the coefficient lookup table 40. RoGoBo, which is the output of the multiplier 10, is a color-corrected output value.

색구간분할부(20)는 입력되는 RiGiBi가 어느 구간에 속하는지를 판단하기 위해 먼저 RiGiBi의 구간을 균등하게 나누는데 예를 들어 RiGiBi 전체구간을 27개의 정육면체 형태로 나눈다면 R에 대하여 3개, G에 대하여 3개, B개에 대하여 3개로서, 총 3*3*3=27로 나누어진다.The color segmentation unit 20 first divides the RiGiBi section evenly in order to determine which section the input RiGiBi belongs to. For example, if the entire RiGiBi section is divided into 27 cubes, it is 3 for R and G. 3 for B and 3 for B, totaling 3 * 3 * 3 = 27.

행렬식 선택부(30)는 색구간분할부(20)의 출력신호를 어드레스로 하여 행렬식을 선택한다. 행렬식 선택부(30)는 제1도의 600단계에서 만들어진 0 내지 26까지의 번호와 번호에 대응하는 변환행렬식의 Mi의 i번째 계수값을 출력한다. 제4도는 행렬식 선택부(30)의 내부 구조를 나타낸 도면으로서, 각 패치가 적용되는 변환행렬식이 저장되어 있는 어드레스 번호를 나타낸다. 예를 들어 색구간분할부(20)에서 '2'가 출력되었다면 행렬식 선택부(30)에서는 '2'에 해당하는 '1'을 출력하게 된다.The determinant selection unit 30 selects the determinant using the output signal of the color segmentation unit 20 as an address. The determinant selection unit 30 outputs the i-th coefficient value of Mi of the transformation matrix corresponding to the numbers 0 to 26 generated in step 600 of FIG. 1. 4 is a diagram showing the internal structure of the determinant selection unit 30, and shows an address number in which the transformation matrix to which each patch is applied is stored. For example, if '2' is output from the color segmentation unit 20, the determinant selection unit 30 outputs '1' corresponding to '2'.

계수 룩업테이블(30)는 변환행렬식이 저장된 룩업테이블로서, 행렬식 선택부(30)에서 선택된 값을 어드레스로 하여 해당 어드레스의 변환행렬식을 승산부(10)로 출력한다.The coefficient lookup table 30 is a lookup table in which the transformation matrix is stored. The coefficient lookup table 30 outputs the transformation matrix of the corresponding address to the multiplication unit 10 using the value selected by the determinant selection unit 30 as an address.

본 발명은 모니터 화상의 하드카피, 스캐너 화상의 프린트, 모니터의 색보정, 스캐너의 보정, 기타 칼라기기의 색보정에 이용될 수 있다.The present invention can be used for hard copying of monitor images, printing of scanner images, color correction of monitors, correction of scanners, and color correction of other color devices.

상술한 바와 같이 본 발명에 따른 색영역 분할을 통한 색보정방법 및 장치에서는 기존의 색영역 분할방식에 비해 정교한 색보정이 가능할 뿐 아니라 기존의 룩업테이블을 사용한 색보정 방식에 비해 기억소자의 수를 감소시킬 수 있다.As described above, in the color correction method and apparatus through color gamut division according to the present invention, not only accurate color correction is possible as compared to the conventional color gamut division method but also the number of memory elements compared to the color correction method using a conventional lookup table. Can be reduced.

또한 프린터 이외에 변환행렬식을 사용하는 모든 기기에 사용할 수 있고, 입, 출력기기의 특성을 반영하여 빠른 색보정이 가능하고, 색보정회로를 간소화시킬 수 있는 이점이 있다.In addition, it can be used for all devices using a conversion matrix other than a printer, and it is possible to quickly perform color correction by reflecting characteristics of input and output devices, and to simplify a color correction circuit.

Claims (6)

임의의 화상입력기기로부터 입력되는 색신호 RiGiBi를 임의의 화상출력기기의 특성에 맞도록 보정하기 위한 색보정방법에 있어서,A color correction method for correcting a color signal RiGiBi input from an arbitrary image input device to match the characteristics of an arbitrary image output device, 상기 RiGiBi를 입력으로 하는 상기 화상출력기기로부터 출력되는 RoGoBo로부터 형성된 소정갯수의 패치를 측색하고, 측색값을 입력 색공간과의 관계식으로 역계산한 RcGcBc와 상기 패치를 형성할 때의 RoGoBo와의 관계식인 변환행렬식을 구하기 위한 제1단계;Is a relational expression of RcGcBc obtained by colorizing a predetermined number of patches formed from RoGoBo output from the image output device using the RiGiBi as an input, and calculating color values in a relation with an input color space and RoGoBo when forming the patch. A first step of obtaining a transformation matrix; 상기 제1단계에서 구한 상기 변환행렬식을 이용하여 각 변환행렬식의 적용가능범위를 판단하기 위하여 허용 오차값을 입력하기 위한 제2단계;A second step of inputting an allowable error value in order to determine an applicable range of each transform matrix by using the transform matrix obtained in the first step; 상기 제1단계에서 구한 변환행렬식을 적용하여 RcGcBc를 계산하고, 구하고자 하는 RoGoBo와의 오차를 구한 후, 상기 오차가 상기 허용오차값 이내에 있는 패치번호, 갯수 및 변환행렬식을 저장하기 위한 제3단계;A third step of calculating RcGcBc by applying the conversion matrix obtained in the first step, calculating an error with RoGoBo to be obtained, and storing the patch number, the number, and the conversion matrix whose error is within the tolerance value; 상기 제3단계에서 저장한 패치갯수를 기준으로 하여 각 패치에 대한 변환행렬식을 내림차순으로 정렬하기 위한 제4단계;A fourth step of sorting the transformation matrix for each patch in descending order based on the number of patches stored in the third step; 상기 제4단계에서 정렬된 순서로 입력되는 RiGiBi의 색구간을 분류하기 위한 제5단계;A fifth step of classifying color sections of RiGiBi inputted in the sorted order in the fourth step; 상기 제5단계에서 분류된 색구간들을 색보정에 사용될 수 있도록 분류된 색구간의 갯수, 각 구간에 적용될 변환행렬식, 각 구간에 해당하는 패치번호들을 저장하기 위한 제6단계; 및A sixth step of storing the number of color sections classified in the fifth step to be used for color correction, a transformation matrix to be applied to each section, and patch numbers corresponding to each section; And 상기 화상입력기기로부터 보정할 색신호 RiGiBi가 입력되면 상기 제6단계에서 저장된 데이터를 이용하여 패치에 어디에 속하는지를 비교하고, 상기 패치가 속한 구간의 변환행렬식을 곱함으로써 색보정을 하기 위한 제7단계로 이루어짐을 특징으로 하는 색보정방법.When the color signal RiGiBi to be corrected is inputted from the image input device, the seventh step for color correction is performed by comparing where the data belongs to the patch using the data stored in the sixth step and multiplying the transformation matrix of the section to which the patch belongs. Color correction method characterized in that. 제1항에 있어서, 상기 제1단계에서 구하는 변환행렬식은 하나의 패치를 중심으로 하여 나머지 패치를 이용하여 구해짐을 특징으로 하는 색보정방법.The color correction method of claim 1, wherein the conversion matrix obtained in the first step is obtained by using the remaining patches with respect to one patch. 제1항에 있어서, 상기 제2단계에서 입력되는 허용 오차값이 작은 경우 다수의 색영역으로 분할되고, 상기 허용 오차값이 큰 경우 소수의 색영역으로 분할됨을 특징으로 하는 색보정방법.The color correction method of claim 1, wherein when the tolerance value input in the second step is small, the color gamut is divided into a plurality of color gamuts. 제1항에 있어서, 상기 제5단계는 제4단계에서 정렬된 최상단의 것이 변환행렬식과 적용되는 패치번호를 저장한 다음, 상기 패치번호를 이용하여 정렬되어 있는 리스트 중에서 상기 최상단의 것은 제외한 나머지로 다시 상기 제4단계와 제5단계를 반복수행하여 입력된 RiGiBi의 전체 색공간에 대하여 수행된 경우 상기 제4단계와 제5단계를 반복수행한 회수에 해당하는 수만큼 색공간을 분류함을 특징으로 하는 색보정방법.The method as claimed in claim 1, wherein the fifth step stores the transformation matrix expression and the patch number applied to the uppermost one arranged in the fourth step, and then removes the uppermost one from the list sorted using the patch number. In the case of performing the entire color space of the RiGiBi input by repeating the fourth and fifth steps, the color space is classified as many times as the number of times the fourth and fifth steps are repeated. Color correction method. 임의의 화상입력기기로부터 출력되는 색신호 RiGiBi를 임의의 화상출력기기의 특성에 맞게 보정하기 위한 색보정장치에 있어서,In the color correction device for correcting the color signal RiGiBi output from any image input device according to the characteristics of any image output device, 상기 RiGiBi가 어느 색구간에 속하는지를 판단하기 위해 상기 RiGiBi의 색구간을 균등하게 나누기 위한 색구간분할부;A color segmentation unit for equally dividing a color segment of the RiGiBi to determine which color segment the RiGiBi belongs to; 상기 색구간분할부에서 출력되는 값을 이용하여 변환행렬식을 선택하기 위한 계수를 출력하기 위한 행렬식 선택부;A determinant selector for outputting coefficients for selecting a transform matrix using values output from the color segmentation unit; 각 패치에 해당하는 변환행렬식을 저장하고 있으며 상기 행렬식 선택부에서 출력되는 계수를 어드레스로 하여 해당 어드레스의 변환행렬식을 출력하기 위한 저장수단;및Storage means for storing a transformation matrix corresponding to each patch and outputting a transformation matrix of the corresponding address using coefficients output from the determinant selection unit as addresses; and 상기 저장수단에서 출력되는 변환행렬식을 상기 RiGiBi에 곱함으로써 보정된 색신호 RoGoBo를 출력하기 위한 승산부를 포함함을 특징으로 하는 색보정장치.And a multiplier for outputting a color signal RoGoBo corrected by multiplying the conversion matrix output from the storage means by RiGiBi. 제5항에 있어서, 상기 저장수단은 룩업테이블로 이루어짐을 특징으로 하는 색보정장치.6. The color compensating device according to claim 5, wherein said storage means comprises a lookup table.
KR1019930022953A 1993-10-30 1993-10-30 Apparatus and method of color transformation using color region division KR100269202B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930022953A KR100269202B1 (en) 1993-10-30 1993-10-30 Apparatus and method of color transformation using color region division

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930022953A KR100269202B1 (en) 1993-10-30 1993-10-30 Apparatus and method of color transformation using color region division

Publications (2)

Publication Number Publication Date
KR950012285A KR950012285A (en) 1995-05-16
KR100269202B1 true KR100269202B1 (en) 2000-10-16

Family

ID=19367078

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930022953A KR100269202B1 (en) 1993-10-30 1993-10-30 Apparatus and method of color transformation using color region division

Country Status (1)

Country Link
KR (1) KR100269202B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100304659B1 (en) * 1994-05-31 2001-11-22 윤종용 Method and circuit for color correction

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100408508B1 (en) * 1996-10-31 2004-02-14 삼성전자주식회사 Method and apparatus for processing color, signal using color difference plane separation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100304659B1 (en) * 1994-05-31 2001-11-22 윤종용 Method and circuit for color correction

Also Published As

Publication number Publication date
KR950012285A (en) 1995-05-16

Similar Documents

Publication Publication Date Title
US5553199A (en) Method and apparatus for calibrating a four color printer
US5552904A (en) Color correction method and apparatus using adaptive region separation
US5323249A (en) Method for reproducing color images having one color gamut with a device having a different color gamut
US5818960A (en) Characterization calibration
US5692071A (en) Color image processing method and apparatus for generating device-dependent color signals
US5481655A (en) System for matching a picture on a monitor to a printed picture
US6343147B2 (en) Print preview and setting background color in accordance with a gamma value, color temperature and illumination types
US6690383B1 (en) Color calibration of displays
JPH08511141A (en) Color value conversion method and apparatus
US6163321A (en) Image processing apparatus and method thereof
US7154634B2 (en) Calibration method, calibration apparatus, and memory medium storing the calibration method of printer
JPH06187407A (en) Method and apparatus for processing of color information in image
US7006691B2 (en) Profile correction apparatus and profile correction program storage medium
US5678033A (en) Multi-stage interpolation processor
JPH11317883A (en) Re-proofreading conversion method of color picture reproducing system, its device and its medium
EP3211877A1 (en) Image forming apparatus and computer readable recording medium
US8111430B2 (en) Color conversion apparatus and method
EP0613292A1 (en) An image processing system
US7057765B1 (en) Constrained multi-dimensional color transformation
US7589739B2 (en) Color evaluating method of image display device
US5828470A (en) Color values processing apparatus capable of optimizing a processing description
KR100269202B1 (en) Apparatus and method of color transformation using color region division
EP1011263B1 (en) A method of color correction using multi-level halftoning
JP2000253270A (en) Color conversion table generator, generating method, storage medium recording color conversion table generating program and color converter
US20060082843A1 (en) Method and system for calibration and characterization of joint nonlinear and linear transformations for a color input or output device

Legal Events

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

Payment date: 20130624

Year of fee payment: 14

EXPY Expiration of term