KR100312726B1 - Method and Apparatus for Generation of Black and Color Halftoning Process in Consideration of Color Reconstructivity in the Color Printer - Google Patents

Method and Apparatus for Generation of Black and Color Halftoning Process in Consideration of Color Reconstructivity in the Color Printer Download PDF

Info

Publication number
KR100312726B1
KR100312726B1 KR1019990056023A KR19990056023A KR100312726B1 KR 100312726 B1 KR100312726 B1 KR 100312726B1 KR 1019990056023 A KR1019990056023 A KR 1019990056023A KR 19990056023 A KR19990056023 A KR 19990056023A KR 100312726 B1 KR100312726 B1 KR 100312726B1
Authority
KR
South Korea
Prior art keywords
value
color
black
cmy
brightness
Prior art date
Application number
KR1019990056023A
Other languages
Korean (ko)
Other versions
KR20010054991A (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 KR1019990056023A priority Critical patent/KR100312726B1/en
Publication of KR20010054991A publication Critical patent/KR20010054991A/en
Application granted granted Critical
Publication of KR100312726B1 publication Critical patent/KR100312726B1/en

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/525Arrangement for multi-colour printing, not covered by group B41J2/21, e.g. applicable to two or more kinds of printing or marking process
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/015Ink jet characterised by the jet generation process
    • B41J2/04Ink jet characterised by the jet generation process generating single droplets or particles on demand
    • B41J2/045Ink jet characterised by the jet generation process generating single droplets or particles on demand by pressure, e.g. electromechanical transducers
    • B41J2/04501Control methods or devices therefor, e.g. driver circuits, control circuits
    • B41J2/04508Control methods or devices therefor, e.g. driver circuits, control circuits aiming at correcting other parameters
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/21Ink jet for multi-colour printing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/435Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of radiation to a printing material or impression-transfer material
    • B41J2/47Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of radiation to a printing material or impression-transfer material using the combination of scanning and modulation of light
    • B41J2/471Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of radiation to a printing material or impression-transfer material using the combination of scanning and modulation of light using dot sequential main scanning by means of a light deflector, e.g. a rotating polygonal mirror
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/435Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of radiation to a printing material or impression-transfer material
    • B41J2/47Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of radiation to a printing material or impression-transfer material using the combination of scanning and modulation of light
    • B41J2/471Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of radiation to a printing material or impression-transfer material using the combination of scanning and modulation of light using dot sequential main scanning by means of a light deflector, e.g. a rotating polygonal mirror
    • B41J2/473Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of radiation to a printing material or impression-transfer material using the combination of scanning and modulation of light using dot sequential main scanning by means of a light deflector, e.g. a rotating polygonal mirror using multiple light beams, wavelengths or colours
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01JELECTRIC DISCHARGE TUBES OR DISCHARGE LAMPS
    • H01J29/00Details of cathode-ray tubes or of electron-beam tubes of the types covered by group H01J31/00
    • H01J29/46Arrangements of electrodes and associated parts for generating or controlling the ray or beam, e.g. electron-optical arrangement
    • H01J29/70Arrangements for deflecting ray or beam
    • H01J29/701Systems for correcting deviation or convergence of a plurality of beams by means of magnetic fields at least
    • H01J29/702Convergence correction arrangements therefor
    • 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/50Picture reproducers
    • H04N1/506Reproducing the colour component signals picture-sequentially, e.g. with reproducing heads spaced apart from one another in the subscanning direction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3102Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM] using two-dimensional electronic spatial light modulators
    • H04N9/3111Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM] using two-dimensional electronic spatial light modulators for displaying the colours sequentially, e.g. by using sequentially activated light sources
    • H04N9/3114Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM] using two-dimensional electronic spatial light modulators for displaying the colours sequentially, e.g. by using sequentially activated light sources by using a sequential colour filter producing one colour at a time

Landscapes

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

Abstract

본 발명은 3차원 검색 테이블(3D LUT; 3D Look-Up Table)과, 최대 채도/명도 테이블(MaxSL; Maximal Saturation and Lightness table)과, 명도 대 흑색 테이블(LtoBk; Lightness to Black table)과, 톤 보정 테이블(tone correction table)을 저장한 메모리를 구비한 상태에서 입력된 RGB 칼라값을 CIE L*a*b*칼라값으로 변환하여 변환된 L*a*b*칼라값으로부터 명도값(L*)과 채도값(C*)과 색상값(H*)을 계산한 후, 계산된 색상값을 인덱스(index)로 하여 최대 채도/명도 테이블(MaxSL)로부터 색상값에 대한 최대 채도값를 판독함과 더불어 최대 채도값에 대응하는 제 1 명도값을 판독한 후, 제 1 명도값을 인덱스로 삼아 명도 대 흑색 테이블(LtoBk)로부터 주어진 제 1 명도값를 재현할 수 있는 제 1 흑색값을 판독한 다음에 제 1 흑색값을 초기값으로 하고 계산된 칼라의 명도값과 채도값에 의해 정의한 시그모이드 함수(sigmoid function)를 이용하여 입력된 RGB 칼라값에 적합한 흑색값인 제 2 흑색값을 생성한 다음에 CMY 칼라값과 제 1 흑색값을 입력받아 쉐도우 영역에서 나타나는 흑색 잉크와 CMY 칼라 잉크의 조합 특성을 개선하기 위해, 제 2 흑색값에 대한 이진화 문턱치를 가변케 하며 제 2 흑색값의 이진화 결과에 따라 CMY 칼라값에 대한 이진화를 수행하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치 및 방법에 관한 것이다.The present invention relates to a three-dimensional look-up table (3D LUT), a maximal saturation and lightness table (MaxSL), a lightness to black table (LtoBk) and a tone. Brightness value (L * from the L * a * b * color value converted by converting the RGB color value input with the memory storing the tone correction table to CIE L * a * b * color value ), The saturation value (C * ) and the hue value (H * ) are calculated, and the maximum saturation value for the color value is read from the maximum saturation / brightness table (MaxSL) using the calculated color value as an index. In addition, after reading the first brightness value corresponding to the maximum saturation value, the first brightness value can be reproduced from the brightness vs. black table LtoBk using the first brightness value as an index, and then read. The first black value is defined as an initial value and is defined by the calculated brightness and saturation values. The black ink and CMY color appearing in the shadow area by generating the second black value, which is a black value suitable for the input RGB color value by using the sigmoid function, and then receiving the CMY color value and the first black value. In order to improve the combination characteristics of the inks, the black generation and the color reproduction characteristics of the color printer which vary the binarization threshold for the second black value and perform the binarization for the CMY color value according to the binarization result of the second black value, A color halftone processing apparatus and method.

본 발명에 따르면, 상대적으로 저렴한 흑색 잉크를 최대한 이용하면서도 칼라의 명도와 채도를 적절하게 표현할 수 있는 흑색값을 산출할 수 있을 뿐만 아니라 칼라 중간조 처리를 수행할 시에는 쉐도우 영역에서 나타나는 흑색 잉크와 CMY 칼라 잉크의 조합 특성을 개선할 수 있기 때문에 우수한 프린터 출력 영상을 제공할 수 있는 이점이 있다.According to the present invention, it is possible to calculate a black value that can adequately express the brightness and saturation of a color while maximizing the use of a relatively inexpensive black ink, and also when the black halftone treatment is performed, Since the combination characteristics of the CMY color inks can be improved, there is an advantage of providing an excellent printer output image.

Description

칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치 및 방법{Method and Apparatus for Generation of Black and Color Halftoning Process in Consideration of Color Reconstructivity in the Color Printer}Method and Apparatus for Generation of Black and Color Halftoning Process in Consideration of Color Reconstructivity in the Color Printer

본 발명은 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치 및 방법에 관한 것으로, 더욱 상세하게는 칼라 프린터의 칼라 재현 특성을 나타내는 프린터 색역과 입력된 영상의 각 화소에서 연산되는 칼라에 대한 명도 및 채도를 이용하여 K를 생성하고 생성된 CMY 및 K에 적합한 칼라 이진화 알고리즘을 통해 개선된 프린터 출력 영상을 제공할 수 있도록 한 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치 및 방법에 관한 것이다.The present invention relates to a black generation and color halftone processing apparatus and method in consideration of the color reproduction characteristics of a color printer, and more particularly, a color calculated on each pixel of an input image and a printer gamut indicating color reproduction characteristics of a color printer. Black generation and color halftone processing considering color reproduction characteristics of one color printer to generate K using brightness and saturation of and to provide improved printer output image through color binarization algorithm suitable for generated CMY and K An apparatus and method are provided.

칼라 영상은 기본적으로 RGB(Red, Green, Blue)의 3색으로 구성된 가색 혼합(가법 혼색)에 의해 표현되어 칼라 모니터와 같은 소프트 카피(soft copy) 장치에 재현된다. 그러나 디지털 칼라 프린터나 칼라 복사기와 같은 하드 카피(hard copy) 장치에서는 기본적으로 CMY(Cyan, Magenta, Yellow) 3색으로 감색 혼합(감법 혼색)과 중간조(halftoning) 알고리즘에 의한 잉크의 찍힘과 찍히지 않음을 통해칼라 재현을 실현하고 있으며, 근래에는 이 3색에 흑색(K; blacK)을 추가한 4색을 이용하여 인쇄함으로써 인쇄물에 있어서 쉐도우(shadow) 영역의 재현성을 개선함과 동시에 고가인 CMY 색 잉크를 절약하고 있다.The color image is basically represented by an additive color mixture (additive mixed color) consisting of three colors of RGB (Red, Green, Blue) and reproduced in a soft copy device such as a color monitor. However, in hard copy devices such as digital color printers and color copiers, the CMY (Cyan, Magenta, Yellow) three colors are basically used for printing and printing of ink by dark color mixing (subtraction mixed color) and halftoning algorithms. Color reproduction is realized through the use of four colors, and in recent years, printing using four colors of black (K; blacK) added to these three colors improves the reproducibility of shadow areas in printed materials and at the same time expensive CMY. It is saving color ink.

4색 인쇄의 경우, 칼라 영상을 인쇄하기 위해서는 RGB의 3색으로 입력되는 영상의 각 화소를 CMY 및 K 영상으로 변환하는 칼라 분할(color separation) 알고리즘과 생성된 CMY 및 K 영상에 적합한 칼라 이진화 알고리즘을 통해 잉크의 출력을 위한 1(백색)과 0(흑색)의 이진 도트(dot)를 만드는 과정이 필요하다.In the case of four-color printing, in order to print a color image, a color separation algorithm for converting each pixel of an image input in three colors of RGB into CMY and K images and a color binarization algorithm suitable for the generated CMY and K images Through this process, a binary dot of 1 (white) and 0 (black) is required for the output of ink.

RGB 색좌표계를 CMY 색좌표계로 변환하는 식은 잘 알려진 바 있는 수학식 1을 이용한다.Equation 1 for converting an RGB color coordinate system into a CMY color coordinate system is well known.

도 1은 K를 생성하기 위한 각 UCR 알고리즘을 설명하기 위한 예시도이다.1 is an exemplary diagram for describing each UCR algorithm for generating K.

K를 생성하는 알고리즘에는 별도의 K 생성없이 수학식 1을 이용하여 RGB를 CMY로 변환하고, CMY 각각에 대해 이진화를 수행한 후, 3색이 중첩되어 인쇄되는 화소를 K로 대체하여 인쇄하는 방법이 있으며, 하색 제거(UCR; Under Color Removal)법과 같은 알고리즘을 이용하여 별도의 K를 생성하는 방법이 있다.In the algorithm for generating K, a method of converting RGB to CMY using Equation 1 without generating K, performing binarization on each CMY, and then printing by replacing the pixels printed by overlapping three colors with K There is a method of generating a separate K using an algorithm such as the Under Color Removal (UCR) method.

별도의 K 생성없이 3색이 인쇄되는 부분을 대체하기 위해 K를 생성하는 알고리즘에서는 CMY 잉크의 중첩에 의한 감법 혼색은 K를 생성한다는 색 이론을 이용하는 것이다. CMY의 중첩 부분을 K로 대체하여 인쇄한다는 것은 합리적으로 보이지만실제의 경우에 있어서, 이론적으로 완전한 CMY 잉크를 만들 수 없이 이 잉크들의 중첩은 K가 될 수 없으며, K 잉크는 그 특성상, 칼라 잉크와의 대조(contrast)가 커서 다른 잉크들과 섞여 있을 경우, 이진화에 의한 중간조 패턴(halftone-pattern)을 불연속하게 만들어 시각적인 오차를 크게 하는 단점이 있다.In the algorithm for generating K to replace a portion where three colors are printed without a separate K generation, a color theory that subtracts mixed colors by overlapping CMY inks generates K. It would seem reasonable to replace the overlapping portion of CMY with K, but in practice, the overlap of these inks cannot be K without theoretically producing a complete CMY ink, and K ink, by its nature, has If the contrast is large and mixed with other inks, there is a disadvantage in that the halftone pattern due to binarization is discontinuous and the visual error is increased.

UCR 알고리즘에서는 K의 경우, 전파장대에 걸쳐서 일정한 감법 특성을 가지기 때문에 인쇄해야 할 CMY로부터 무채색(gray) 부분의 일정량을 분리하고 이 부분을 K로 치환하는 방법을 이용한다. 여기에는 풀 흑색(full black)법과 스켈리톤 흑색(skeleton black)법이 있다. 풀 흑색법은 수학식 1을 통해 CMY로 변환한 후, 수학식 2에서와 같이, 변환된 CMY값에서 최소값을 K로 치환하여 최대한의 K를 부가해 인쇄한다.In the UCR algorithm, since K has a certain subtractive characteristic over a radio wave length, a method of separating a certain amount of gray portions from the CMY to be printed and replacing the portion with K is used. There is a full black method and a skeleton black method. In the full black method, after converting to CMY through Equation 1, as shown in Equation 2, the minimum value is replaced with K in the converted CMY value, and the maximum K is added.

여기서, mim(C,M,Y)는 C,M,Y 중 최소값을 의미하는 것이다. 이 과정은 도 1의 (a)를 도 1의 (b)로 변환하는 과정으로 표현할 수 있으며, 칼라 잉크의 소비를 최소화하는 가장 경제적인 방법이지만 일반적으로 K 잉크는 농도가 높기 때문에 다른 잉크와 정확히 일치되어 찍히지 않을 경우에는 채도(chroma or saturation) 저하가 발생하는 문제점이 있다.Here, mim (C, M, Y) means the minimum value of C, M, Y. This process can be expressed as a process of converting (a) of FIG. 1 to (b) of FIG. 1, which is the most economical method of minimizing the consumption of color ink, but in general, the K ink has a high density, so it is exactly If the image is not matched, chroma or saturation may be degraded.

풀 블랙법의 문제점을 보완하기 위해 스켈리톤 흑색법에서는 수학식 2에 의한 최소값이 어떤 문턱치(threshold)를 넘었을 때만 UCR을 행함으로써 밝은 하이라이트(highlingt) 부분에서는 K를 생성하지 않도록 함과 동시에 영상 내의 어두운 쉐도우 영역의 재현성을 개선하고 있다. 이 방법은 수학식 3 및 도 1의 (c)와 같이 나타낼 수 있다.In order to solve the problem of the full black method, UCR is performed only when the minimum value of Equation 2 exceeds a certain threshold in the skeleton black method, so as not to generate K in the bright highlight part. The reproducibility of dark shadow areas in the image is improved. This method can be expressed as Equation 3 and FIG.

그러나, 이 방법에서는 쉐도우 영역을 결정하기 위한 비례 상수α에 대한 설정이 매우 어려운 단점이 있다.However, this method has a disadvantage in that it is very difficult to set the proportional constant α for determining the shadow area.

이상의 UCR 방법에 기초하여 개선된 인쇄 특성을 지니는 방법이 미합중국 특허공고 제5,402,245호에 의해 제시되어 있는 데, 이 방법에서는 비선형의 함수를 이용하여 UCR 특성을 개선하고 있다. 이 알고리즘은 풀 흑색 알고리즘과 스켈리톤 흑색 알고리즘을 혼합한 방법으로, 두 개의 문턱치(t1=103,t2=230)와 수학식 4 및 도 2와 같은 비선형 함수의 조합을 통해 K를 생성하고 있다. 도 2는 하색 제거를 위한 비선형 함수를 도시한 파형도이다.A method having improved printing characteristics based on the above UCR method is proposed by US Patent Publication No. 5,402,245, which uses a nonlinear function to improve UCR characteristics. This algorithm is a mixture of full black algorithm and skeleton black algorithm. The algorithm generates K through a combination of two thresholds (t 1 = 103, t 2 = 230) and a nonlinear function such as Equation 4 and FIG. Doing. 2 is a waveform diagram illustrating a nonlinear function for removing color fading.

이상에서 살펴본 CMYK의 4색을 이용하는 칼라 중간조 알고리즘은 단순히 RGB에서 CMY로의 변환과 문턱치 및 최소값에 의해 주어지는 K 레벨의 단순 변환을 이용하여 K를 생성하는 것으로, 입력된 칼라 영상에 대한 K 출력으로 나타나는 칼라 재현성을 고려할 수 없으므로 대조가 큰 K 잉크에 의한 불연속 면을 발생시킬 수 있는 단점이 있다.The color halftone algorithm using the four colors of CMYK described above simply generates K using RGB to CMY conversion and K-level simple conversion given by threshold and minimum value. Since the color reproducibility that appears cannot be taken into consideration, there is a disadvantage that a discontinuous surface due to a large contrast K ink can be generated.

또 다른 방법으로 칼라를 다른 좌표계로 변환한 후, CMYK를 생성하는 방법이 있는 데, 이 방법에서는 RGB로 구성된 칼라를 다른 좌표계로 변환한 후, CMY 및 K를 추출하는 방법으로 정확한 칼라의 재현을 위해 CIE XYZ나 CIE L*a*b*혹은 HSL 좌표계에서 명도와 채도를 이용하여 칼라를 분할한다.Another method is to convert a color to a different coordinate system and then generate a CMYK. In this method, the RGB color is converted to another coordinate system, and then CMY and K are extracted to obtain accurate color reproduction. To split the color using CIE XYZ or CIE L * a * b * or HSL coordinates, use brightness and saturation.

CIE XYZ 좌표계를 이용하는 방법은 칼라 인쇄에 사용되는 CMY 및 K 잉크와 이 잉크의 출력에 의해 만들어지는 도트의 면적에 기반하여 정확한 칼라를 재현하는 CMY 및 K 잉크의 양을 계산하려는 방법이다. 이것은 노이게바우어(Neugebauer) 방정식에 기반한 방법으로 네 가지 잉크의 CIE XYZ값과 입력된 칼라의 CIE XYZ 좌표를 알고 있다는 가정에 기반하여 네 가지 잉크가 찍히는 면적을 추정함으로써 칼라를 분할한다.The method using the CIE XYZ coordinate system is a method for calculating the amount of CMY and K inks that reproduce accurate colors based on the CMY and K inks used for color printing and the area of dots produced by the output of the ink. This is a method based on the Neuugebauer equation that divides the color by estimating the area of the four inks based on the assumption that the CIE XYZ values of the four inks and the input color's CIE XYZ coordinates are known.

다시 말해서, 한 점의 칼라는 네 가지 잉크의 인쇄로 나타나며 잉크의 중복인쇄에 의해 나타나는 면적비를 이용하여 잉크의 출력에 의해 주어지는 칼라를 추정할 수 있음에 기초한다. 네 가지 잉크의 출력에 의해 얻어지는 칼라는 16가지가 되며 이것의 상대적인 면적은 수학식 5와 같이 계산될 수 있다.In other words, the color of a point is based on the printing of four inks and can be estimated by using the area ratio shown by overprinting of the ink to give the color given by the output of the ink. 16 colors are obtained by outputting four inks, and the relative area thereof can be calculated as shown in Equation (5).

여기서, AY, AM, AC및 AK는 각각 Y, M, C 및 K 잉크의 도트 면적을 나타내며, a는 잉크의 출력에 의해 나타나는 상대적인 면적을 의미하는 것이다. 이 면적비에 의한 칼라 혼합에 의해 추정되는 칼라의 XYZ 좌표는 수학식 6과 같이 계산된다.Here, A Y , A M , A C and A K represent the dot areas of the Y, M, C and K inks, respectively, and a means the relative area indicated by the output of the ink. The XYZ coordinates of the color estimated by the color mixing by this area ratio are calculated as in Equation (6).

여기서, Xymck, Yymck, Zymck는 네 가지 잉크의 조합된 출력에 의해 얻어지는 칼라의 CIE XYZ값을 나타내며 Xw, Yw, Zw는 인쇄를 위해 사용되는 종이의 CIE XYZ값을 나타낸다. 이렇게 추정된 CIE XYZ값과 실제 칼라의 XYZ값의 비교를 통해 CMYK 잉크의 면적비를 해로 얻으면 원 칼라를 정확하게 재현할 수 있게 된다. 그러나, 이 방정식으로부터 해를 구하는 것은 어려운 일이며 한 점에 대한 잉크 도트의 중복에 의한 칼라 출력은 번짐 현상에 의해 이웃하는 다른 출력에 영향을 미치며 이에 대한 많은 고려가 이루어져야 한다.Here, X ymck , Y ymck , and Z ymck represent the CIE XYZ values of the colors obtained by the combined output of the four inks, and X w , Y w , Z w represent the CIE XYZ values of the paper used for printing. By comparing the estimated CIE XYZ value with the XYZ value of the actual color, the area ratio of CMYK ink is obtained as a solution so that the original color can be accurately reproduced. However, it is difficult to solve the solution from this equation, and the color output due to the overlap of ink dots for one point affects other neighboring outputs due to the bleeding phenomenon, and much consideration should be given to this.

이러한 방법에 대해 RGB 칼라로부터 명도를 출력하고 이 명도에 기반한 흑률(black rate) 추정 함수를 이용하여 CMY와 K로 색분할하는 방법이 있다. 이 방법에서는 RGB를 이용하여 CMY로 변환한 후, 최소값에 의한 초기 K값을 구하고 칼라의 명도로부터 흑률을 계산한 다음에 수정된 CMYK값을 얻는다.For this method, there is a method of outputting brightness from an RGB color and color-dividing it into CMY and K by using a black rate estimation function based on the brightness. In this method, after converting to CMY using RGB, the initial K value by the minimum value is obtained, the black ratio is calculated from the brightness of the color, and then the modified CMYK value is obtained.

예컨대, 나까무라(Nakamura)는 도 3과 같은 흑률 추정 함수를 이용하고 있다. 도 3은 명도에 대한 흑률 추정 함수를 나타낸 곡선이다. 여기서, 흑률 추정 함수는 수학식 7과 같으며 명도 L*에 의해 구할 수 있다.For example, Nakamura uses the black power estimation function as shown in FIG. 3. 3 is a curve showing the black factor estimation function for lightness. Here, the black factor estimation function is the same as Equation 7 and can be obtained by the brightness L *.

결과적으로 얻어지는 출력 K는 흑률에 K를 곱하여 나타내고 CMY값을 다시 수정해 줌으로써 CMYK를 얻는다. 이 방법에 따르면, 칼라 재현 시, 명도만을 고려하였으므로 낮은 명도로 있으면서 높은 채도를 가지는 칼라를 재현할 시에는 흑색의 출력을 피할 수 없는 단점을 지니고 있다.The resulting output K is obtained by multiplying the black factor by K and modifying the CMY value again to obtain CMYK. According to this method, since only brightness is considered when reproducing color, black output is inevitable when reproducing a color having high saturation with low brightness.

이러한 문제점을 극복하기 위해 채도를 이용하는 방법이 미합중국 특허공고 제5,502,579호에 의해 제시되어 있다. 이 방법에서는 입력 RGB를 CIE L*a*b*로 변환하고 a*b*로부터 채도 특성을 나타내는 C*를 결정한 후, 함수에 의해 흑률을 계산하는 방법을 이용한다. 여기서는 두 점에 대한 채도와 흑률을 알고 있다는 가정을 바탕으로 하고 있으며 한 점(C* 1, Ak1)은 흑색 잉크만을 출력하여 나타내는 채도와 흑률이고 다른 한 점(C* 2, Ak2)은 흑색 잉크의 출력을 제한하기 위한 값으로, 이 채도(C* 2) 이상의 채도를 가진 칼라에 대해서는 흑률을 Ak2로 고정시킨다. 이 경우, 두 점 사이의 채도에 대한 흑률을 선형 함수나 비선형 함수를 이용하여 구할 수 있다.A method of using saturation to overcome this problem is presented by US Patent Publication No. 5,502,579. In this method, the input RGB is converted to CIE L * a * b * , a C * representing saturation characteristics is determined from a * b *, and a black factor is calculated by a function. The assumption here is based on the assumption that we know the saturation and black factor of two points, one point (C * 1 , Ak 1 ) is the saturation and black rate indicated by printing only black ink, and the other point (C * 2 , Ak 2 ) is As a value for limiting the output of black ink, the black ratio is fixed at Ak 2 for a color having a saturation above this saturation (C * 2 ). In this case, the black factor for the saturation between two points can be obtained using a linear or nonlinear function.

미합중국 특허공고 제5,502,579호는 다음과 같은 선형의 1차원 연속 함수와 비선형의 시그모이드(sigmoid) 함수를 이용하여 흑률을 계산한다. 일차원 연속함수의 경우에는 수학식 8과 같이 흑률을 계산할 수 있다.U.S. Patent No. 5,502,579 calculates the black factor using a linear one-dimensional continuous function and a nonlinear sigmoid function as follows. In the case of the one-dimensional continuous function, the black factor can be calculated as shown in Equation 8.

또한, 비선형 함수인 경우, 흑률은 수학식 9를 통해 계산할 수 있다.In addition, in the case of a nonlinear function, the black factor may be calculated through Equation 9.

계산 결과에서 만약α1일 때는 1로 하고,α<0일 때는 0으로 둔다. 이러한 채도에 따른 함수 결과에 의해 얻어진 흑률(α)과 칼라의 L*a*b* α입력과 CMYK의 네 출력을 연결시키는 신경망의 가중치(weight)와 문턱치(threshold)를 구하기 위해 후향 전파(back-propagation) 알고리즘을 적용한다. 즉, 표본 샘플 집합으로 CMYK와 그의 출력에 따른 L*a*b*변환쌍(conversion pair) 대해 신경망에 의한 후향 전파 에너지(back-propagation energy)를 최소로 하는 가중치와 문턱치를 얻는 방법을 취한다. 이러한 방법에서는 흑률 연산에 적용되는 두 점과 신경망 회로의 최적화 시에 적용되는 샘플에 대해 의존도가 매우 높은 단점을 지닌다. 또한 칼라 프린터 출력의 경우 색상에 따라 다른 채도 특성을 지니므로 설정되는 두 점에 대해 K 출력에 많은 제약이 따르게 된다.In the calculation result, if α 1, it is 1, and if α <0, it is 0. Backward propagation (back) to find the weight and threshold of the neural network that connects the black factor ( α ) and the color L * a * b * α input and the four outputs of CMYK obtained by the result of the saturation function. -propagation) algorithm is applied. In other words, a sample sample set is used to obtain weights and thresholds that minimize the back-propagation energy of the neural network for L * a * b * conversion pairs according to CMYK and its output. . This method has a high dependency on the two points applied to the calculation of the black factor and the sample applied when the neural network is optimized. In addition, in the case of color printer output, color saturation characteristics are different depending on the color, so that a lot of restrictions are placed on the K output for the two points to be set.

따라서, 본 발명은 이와 같은 문제를 해결하기 위해 안출된 것으로, 칼라 프린터의 칼라 재현 특성을 나타내는 프린터 색역과 입력된 영상의 각 화소에서 연산되는 칼라에 대한 명도(L*) 및 채도(C*)를 이용하여 K를 생성하고 생성된 CMY 및 K에 적합한 칼라 이진화 알고리즘을 통해 개선된 프린터 출력 영상을 제공할 수 있는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치 및 방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been made to solve such a problem, and includes a printer gamut indicating color reproduction characteristics of a color printer and brightness (L * ) and saturation (C * ) for colors calculated at each pixel of an input image. To provide a black generation and color halftone processing apparatus and method in consideration of the color reproduction characteristics of a color printer capable of generating K by using and using the color binarization algorithm suitable for the generated CMY and K. Its purpose is.

도 1은 K를 생성하기 위한 각 UCR 알고리즘을 설명하기 위한 예시도,1 is an exemplary diagram for explaining each UCR algorithm for generating K;

도 2는 하색 제거를 위한 비선형 함수를 도시한 파형도,2 is a waveform diagram illustrating a nonlinear function for removing color fading;

도 3은 명도에 대한 흑률 추정 함수를 나타낸 곡선,3 is a curve showing the black factor estimation function for lightness,

도 4는 본 발명에 따른 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치의 바람직한 실시예를 나타낸 블록도,4 is a block diagram showing a preferred embodiment of a black generation and color halftone processing apparatus in consideration of color reproduction characteristics of a color printer according to the present invention;

도 5는 본 발명에 따른 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 방법의 바람직한 실시예를 나타낸 순서도,Figure 5 is a flow chart showing a preferred embodiment of the black generation and color halftone processing method in consideration of the color reproduction characteristics of the color printer according to the present invention,

도 6은 본 발명의 칼라 중간조 처리 과정을 나타낸 순서도,6 is a flowchart showing a color halftone treatment process of the present invention;

도 7은 명도와 채도에 의한 삼각형 모델을 나타낸 예시도,7 is an exemplary view showing a triangular model based on brightness and saturation;

도 8은 명도와 채도에 의한 시그모이드 함수를 나타낸 파형도이다.8 is a waveform diagram showing a sigmoid function by brightness and saturation.

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

10 : 3차원 검색 테이블 저장부 20 : 최대 채도/명도 테이블 저장부10: 3D lookup table storage 20: Maximum saturation / brightness table storage

30 : 명도 대 흑색 테이블 저장부 40 : 톤 보정 테이블 저장부30: brightness vs. black table storage 40: tone correction table storage

50 : 칼라 변환부 60 : 채도/색상 계산부50: color conversion unit 60: saturation / color calculation unit

70 : 흑색 생성부 80 : 칼라 중간조 처리부70 black generation unit 80 color halftone processing unit

81 : 임계값 설정부 82 : 흑색/칼라 인쇄부81: threshold setting section 82: black / color printing section

이와 같은 목적을 달성하기 위해 본 발명에 따른 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치 및 방법은, 3차원 검색 테이블(3D LUT; 3D Look-Up Table)과, 최대 채도/명도 테이블(MaxSL; Maximal Saturation and Lightness table)과, 명도 대 흑색 테이블(LtoBk; Lightness to Black table)과, 톤 보정 테이블(tone correction table)을 저장한 메모리를 구비한 상태에서 입력된 RGB 칼라값을 CIE L*a*b*칼라값으로 변환하여 변환된 L*a*b*칼라값으로부터 명도값(L*)과 채도값(C*)과 색상값(H*)을 계산한 후, 계산된 색상값을 인덱스(index)로 하여 최대 채도/명도 테이블(MaxSL)로부터 색상값에 대한 최대 채도값를 판독함과 더불어 최대 채도값에 대응하는 제 1 명도값을 판독한 후, 제 1 명도값을 인덱스로 삼아 명도 대 흑색 테이블(LtoBk)로부터 주어진 제 1 명도값를재현할 수 있는 제 1 흑색값을 판독한 다음에 제 1 흑색값을 초기값으로 하고 계산된 칼라의 명도값과 채도값에 의해 정의한 시그모이드 함수(sigmoid function)를 이용하여 입력된 RGB 칼라값에 적합한 흑색값인 제 2 흑색값을 생성한 다음에 CMY 칼라값과 제 1 흑색값을 입력받아 쉐도우 영역에서 나타나는 흑색 잉크와 CMY 칼라 잉크의 조합 특성을 개선하기 위해, 제 2 흑색값에 대한 이진화 문턱치를 가변케 하며 제 2 흑색값의 이진화 결과에 따라 CMY 칼라값에 대한 이진화를 수행함으로써 상대적으로 저렴한 흑색 잉크를 최대한 이용하면서도 칼라의 명도와 채도를 적절하게 표현할 수 있는 흑색값을 산출할 수 있을 뿐만 아니라 칼라 중간조 처리를 수행할 시에는 쉐도우 영역에서 나타나는 흑색 잉크와 CMY 칼라 잉크의 조합 특성을 개선할 수 있기 때문에 우수한 프린터 출력 영상을 제공할 수 있는 이점이 있다.In order to achieve the above object, a black generation and color halftone processing apparatus and method considering the color reproduction characteristics of a color printer according to the present invention includes a 3D look-up table (3D LUT) and a maximum saturation / RGB color values input with a brightness table (MaxSL; Maximal Saturation and Lightness table), a lightness to black table (LtoBk), and a memory storing a tone correction table. CIE L * a * b * color values are converted to L * a * b * color values, and then the brightness value (L * ), saturation value (C * ), and color value (H * ) are calculated. Read the maximum saturation value for the color value from the maximum saturation / brightness table MaxSL using the color value as an index, and read the first brightness value corresponding to the maximum saturation value, and then index the first brightness value. Brightness value given from the lightness versus black table (LtoBk) RGB color inputted using the sigmoid function defined by the calculated brightness and saturation values of the first black value as an initial value after reading the first reproducible black value. In order to improve the combination characteristics of the black ink and the CMY color ink appearing in the shadow area by generating the second black value suitable for the value and then receiving the CMY color value and the first black value, By varying the binarization threshold and performing binarization of the CMY color value according to the binarization result of the second black value, a black value that can express the brightness and saturation of the color properly while maximizing the use of relatively inexpensive black ink can be calculated. In addition, the color halftone treatment can improve the combination of black ink and CMY color ink in the shadow area. There is the advantage that can provide suhan printer output image.

이하, 본 발명에 따른 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치의 바람직한 실시예를 첨부한 도 4를 참조하여 설명하면 다음과 같다.Hereinafter, with reference to Figure 4 attached to a preferred embodiment of the black color generation and color halftone processing apparatus in consideration of the color reproduction characteristics of the color printer according to the present invention.

도 4는 본 발명에 따른 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치의 바람직한 실시예를 나타낸 블록도이다.Figure 4 is a block diagram showing a preferred embodiment of the black generation and color halftone processing apparatus in consideration of the color reproduction characteristics of the color printer according to the present invention.

본 발명의 장치에 따른 바람직한 실시예는 도 4에 도시한 바와 같이, 칼라 프린터의 칼라 재현 특성을 표현하는 3차원 검색 테이블(3D LUT; 3D Look-Up Table) 저장부(10)와;A preferred embodiment according to the apparatus of the present invention, as shown in Figure 4, 3D LUT (3D Look-Up Table) storage unit for representing the color reproduction characteristics of the color printer;

상기 칼라 프린터의 색역 특성으로부터 얻어지는 각 색상에 대한 최대 채도값과 상기 최대 채도값에 대응하는 명도값을 가지는 최대 채도/명도 테이블(MaxSL; Maximal Saturation and Lightness table) 저장부(20)와;A maximum saturation / brightness table (MaxSL) storage unit having a maximum saturation value for each color obtained from the color gamut characteristics of the color printer and a brightness value corresponding to the maximum saturation value;

인간 시감 특성상의 각 명도값을 인쇄하기 위한 흑색(K) 재현값을 각각 대응시켜 작성한 명도 대 흑색 테이블을 저장하는 명도 대 흑색 테이블(LtoBk; Lightness to Black table) 저장부(30)와;A lightness-to-black table (LtoBk; lightness to black table) storage unit 30 for storing the lightness-to-black table corresponding to each of the black (K) reproduction values for printing each brightness value on the human luminous characteristics;

상기 칼라 프린터의 톤 보정 테이블(tone correction table) 저장부(40)와;A tone correction table storage section 40 of the color printer;

상기 3차원 검색 테이블과 상기 톤 보정 테이블을 참조하여 입력된 RGB 칼라값을 RGB/CMY 색좌표 변환식을 통해 CMY 칼라값으로 변환하고 상기 변환된 CMY 칼라값을 순방향 보간(forward interpolation)을 이용하여 CIE L*a*b*칼라값으로 변환하는 칼라 변환부(50)와;The RGB color values inputted with reference to the 3D lookup table and the tone correction table are converted into CMY color values through an RGB / CMY color coordinate conversion equation, and the converted CMY color values are converted to CIE L using forward interpolation. * a * b * color conversion unit 50 for converting a color value;

상기 변환된 L*a*b*칼라값으로부터 명도값(L*)과 채도값(C*)과 색상값(H*)을 계산하는 채도/색상 계산부(60)와;A saturation / color calculation unit 60 for calculating brightness values L * , saturation values C * , and color values H * from the converted L * a * b * color values;

상기 계산된 색상값을 인덱스(index)로 하여 상기 최대 채도/명도 테이블(MaxSL)로부터 상기 색상값에 대한 최대 채도값를 판독함과 더불어 상기 최대 채도값에 대응하는 제 1 명도값을 판독한 후, 상기 제 1 명도값을 인덱스로 삼아 상기 명도 대 흑색 테이블(LtoBk)로부터 주어진 상기 제 1 명도값를 재현할 수 있는 제 1 흑색값을 판독한 다음에 상기 제 1 흑색값을 초기값으로 하고 계산된 칼라의 명도값과 채도값에 의해 정의한 시그모이드 함수를 이용하여 상기 입력된 RGB 칼라값에 적합한 흑색값인 제 2 흑색값을 생성하여 출력하는 흑색 생성부(70); 및After reading the maximum chroma value for the color value from the maximum chroma / brightness table MaxSL using the calculated color value as an index, and reading the first brightness value corresponding to the maximum chroma value, A color calculated by using the first brightness value as an index, reading a first black value that can reproduce the given first brightness value from the brightness vs. black table LtoBk, and then using the first black value as an initial value. A black generator 70 for generating and outputting a second black value suitable for the input RGB color value by using a sigmoid function defined by the brightness value and the saturation value of the black color value; And

상기 CMY 칼라값과 상기 제 2 흑색값을 입력받아 쉐도우 영역에서 나타나는 흑색 잉크와 CMY 칼라 잉크의 조합 특성을 개선하기 위해, 상기 제 2 흑색값에 대한 이진화 문턱치를 가변케 하며 상기 제 2 흑색값의 이진화 결과에 따라 상기 CMY 칼라값에 대한 이진화를 수행하는 칼라 중간조 처리부(80)를 포함하도록 구성된다.In order to improve the combination characteristics of the black ink and the CMY color ink appearing in the shadow area by receiving the CMY color value and the second black value, the binarization threshold for the second black value is varied and the second black value is changed. It is configured to include a color halftone processing unit 80 for performing the binarization of the CMY color value according to the binarization result.

여기서, 상기 칼라 중간조 처리부(80)는,Here, the collar halftone processing unit 80,

이치화할 주목 화소를 래스터 스캐닝 순으로 선정한 후, 기설정된 칼라 오차 확산법에 기초하여 상기 주목 화소에 인접한 주변 화소의 흑색(K) 오차값 및 CMY 칼라 오차값을 상기 제 2 흑색값 및 상기 CMY 칼라값으로부터 각각 감산하여 수정 흑색값 및 수정 CMY 칼라값을 산출한 다음에 상기 수정 CMY 칼라값의 평균값에 제 1 비례 상수를 곱한 제 1 임계값보다 상기 수정 흑색값이 작거나 같은지를 판단하여 상기 수정 흑색값이 상기 제 1 임계값보다 작거나 같으면, 최대 계조값에 제 2 비례 상수를 곱한 값을 중간 계조값으로부터 감산한 값을 제 2 임계값으로 설정하고, 그렇지 않으면, 상기 최대 계조값에 상기 제 2 비례 상수를 곱한 값과 상기 중간 계조값을 합산한 값을 상기 제 2 임계값으로 설정하는 임계값 설정부(81)와;After selecting the pixel of interest to be binarized in the order of raster scanning, the black (K) error value and the CMY color error value of the neighboring pixel adjacent to the pixel of interest are determined by the second black value and the CMY color value based on a predetermined color error diffusion method. And subtracting each from to calculate a corrected black value and a corrected CMY color value, and then determine whether the corrected black value is less than or equal to a first threshold value multiplied by a first proportional constant to an average value of the corrected CMY color values. If the value is less than or equal to the first threshold value, the value obtained by subtracting the maximum gray scale value by the second proportional constant from the intermediate gray scale value is set as the second threshold value; otherwise, the maximum gray scale value is set to the second threshold value. A threshold setting unit (81) for setting a value obtained by multiplying two proportional constants and the sum value of the intermediate gray level values as the second threshold value;

상기 수정 흑색값이 상기 제 2 임계값보다 크거나 같으면, 상기 주목 화소를 CMY 잉크를 모두 차단한 채로 흑색 잉크로만으로 인쇄한 후, 상기 주목 화소의 흑색값 및 상기 CMY 칼라값에 대한 오차값을 계산하여 저장하는 흑색 이치화 인쇄부(82)와;If the corrected black value is greater than or equal to the second threshold value, the pixel of interest is printed with only black ink with all CMY inks blocked, and then the error value for the black value of the pixel of interest and the CMY color value is determined. A black binarization printing unit 82 for calculating and storing;

상기 수정 흑색값이 상기 제 2 임계값보다 작으면, 상기 수정 CMY 칼라값을 크기순으로 정렬한 후, 상기 수정 CMY 칼라값 중 가장 큰 값이 상기 중간 계조값보다 크거나 같은지를 판단하여 상기 수정 CMY 칼라값 중 가장 큰 값이 상기 중간 계조값보다 크거나 같으면, 상기 주목 화소를 모든 잉크를 차단한 채로 인쇄한 후, 상기 주목 화소의 흑색값 및 상기 CMY 칼라값에 대한 오차값을 계산하여 저장하고, 상기 수정 CMY 칼라값 중 가장 큰 값이 상기 중간 계조값보다 작으면, 상기 수정 CMY 칼라값 중 두 번째로 큰 값이 상기 중간 계조값보다 크거나 같은지를 판단하여 상기 중간 계조값보다 크거나 같으면, 상기 주목 화소를 상기 수정 CMY 칼라값 중 가장 큰 값의 해당 칼라 잉크와 두 번째로 큰 값의 해당 잉크만으로 인쇄하고, 그렇지 않으면, 상기 수정 CMY 칼라값 중 가장 큰 값의 해당 칼라 잉크만으로 인쇄한 후, 상기 주목 화소의 흑색값 및 상기 CMY 칼라값에 대한 오차값을 계산하여 저장하는 칼라 이치화 인쇄부(83)로 구성된다.If the corrected black value is smaller than the second threshold value, the corrected CMY color values are sorted in size order, and then the corrected value is determined by determining whether the largest value among the corrected CMY color values is greater than or equal to the intermediate gradation value. If the largest value among the CMY color values is greater than or equal to the halftone value, the pixel of interest is printed with all the ink blocked, and then the black value of the pixel of interest and the error value for the CMY color value are calculated and stored. And when the largest value among the modified CMY color values is smaller than the intermediate gray scale value, it is determined whether a second largest value among the modified CMY color values is greater than or equal to the intermediate gray scale value, or greater than the intermediate gray scale value. If the same, the pixel of interest is printed with only the corresponding color ink of the largest value of the corrected CMY color values and the corresponding ink of the second largest value, otherwise, the corrected CMY color Consists of a post, the black value of the target pixel and binarizing the color printing unit 83, which calculates and stores the error values for the color values CMY printing with only the color ink of the maximum value.

그리고, 본 발명에 따른 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치의 바람직한 실시예를 첨부한 도 5를 참조하여 설명하면 다음과 같다.And, with reference to Figure 5 attached to a preferred embodiment of the black color generation and color halftone processing apparatus in consideration of the color reproduction characteristics of the color printer according to the present invention is as follows.

도 5는 본 발명에 따른 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 방법의 바람직한 실시예를 나타낸 순서도이다.5 is a flow chart showing a preferred embodiment of the black generation and color halftone processing method in consideration of the color reproduction characteristics of the color printer according to the present invention.

본 발명의 방법에 따른 바람직한 실시예는 도 5에 도시한 바와 같이, 칼라 프린터의 칼라 재현 특성을 표현하는 3차원 검색 테이블과, 상기 칼라 프린터의 색역 특성으로부터 얻어지는 각 색상에 대한 최대 채도값과 상기 최대 채도값에 대응하는 명도값을 가지는 최대 채도/명도 테이블과, 인간 시감 특성상의 각 명도값을인쇄하기 위한 흑색(K) 재현값을 각각 대응시켜 작성한 명도 대 흑색 테이블과, 상기 칼라 프린터의 톤 보정 테이블을 기 저장한 상태에서 입력된 RGB 칼라값을 RGB/CMY 색좌표 변환식을 통해 CMY 칼라값으로 변환하는 단계(S10)와;According to a preferred embodiment of the present invention, as shown in Fig. 5, a three-dimensional retrieval table representing color reproduction characteristics of a color printer, a maximum saturation value for each color obtained from the color gamut characteristics of the color printer, and A brightness versus black table created by matching the maximum saturation / brightness table having a brightness value corresponding to the maximum saturation value with a black (K) reproduction value for printing each brightness value on human visual characteristics, and the tone of the color printer Converting an RGB color value input in a state in which a correction table is pre-stored to a CMY color value through an RGB / CMY color coordinate conversion equation (S10);

상기 3차원 검색 테이블과 상기 톤 보정 테이블을 참조하고 순방향 보간(forward interpolation)을 이용하여 상기 변환된 CMY 칼라값을 CIE L*a*b*칼라값으로 변환하는 단계(S20)와;Referring to the 3D lookup table and the tone correction table and converting the converted CMY color values into CIE L * a * b * color values using forward interpolation (S20);

상기 변환된 L*a*b*칼라값으로부터 명도값(L*)과 채도값(C*)과 색상값(H*)을 계산하는 단계(S30)와;Calculating brightness values (L * ), saturation values (C * ), and color values (H * ) from the converted L * a * b * color values (S30);

상기 계산된 색상값을 인덱스(index)로 하여 상기 최대 채도/명도 테이블(MaxSL)로부터 상기 색상값에 대한 최대 채도값를 판독함과 더불어 상기 최대 채도값에 대응하는 제 1 명도값을 판독하는 단계(S40)와;Reading the maximum chroma value for the color value from the maximum chroma / brightness table MaxSL using the calculated color value as an index, and reading a first brightness value corresponding to the maximum chroma value ( S40);

상기 제 1 명도값을 인덱스로 삼아 상기 명도 대 흑색 테이블(LtoBk)로부터 주어진 상기 제 1 명도값를 재현할 수 있는 제 1 흑색값을 판독하는 단계(S50)와;Reading (S50) a first black value capable of reproducing the first brightness value given from the brightness vs. black table (LtoBk) using the first brightness value as an index;

상기 제 1 흑색값을 초기값으로 하고 계산된 칼라의 명도값과 채도값에 의해 정의한 시그모이드 함수를 이용하여 상기 입력된 RGB 칼라값에 적합한 흑색값인 제 2 흑색값을 생성하여 출력하는 단계(60)와;Generating and outputting a second black value suitable for the input RGB color value by using a sigmoid function defined by the first black value as an initial value and a brightness value and a saturation value of the calculated color; 60;

상기 CMY 칼라값과 상기 제 2 흑색값을 입력받아 쉐도우 영역에서 나타나는 흑색 잉크와 CMY 칼라 잉크의 조합 특성을 개선하기 위해, 상기 제 2 흑색값에 대한 이진화 문턱치를 가변케 하며 상기 제 2 흑색값의 이진화 결과에 따라 상기 CMY칼라값에 대한 이진화를 수행하는 칼라 중간조 처리 단계(S70)를 수행하도록 구성된다.In order to improve the combination characteristics of the black ink and the CMY color ink appearing in the shadow area by receiving the CMY color value and the second black value, the binarization threshold for the second black value is varied and the second black value is changed. According to the binarization result, it is configured to perform a color halftone processing step S70 of performing binarization on the CMY color value.

여기서, 상기 칼라 중간조 처리 단계(S70)는, 도 6에 도시한 바와 같이, 이치화할 주목 화소를 래스터 스캐닝 순으로 선정하는 단계(S71)와;Here, the color halftone processing step (S70), as shown in Figure 6, the step of selecting the pixel of interest to be binarized in the order of raster scanning (S71);

기설정된 칼라 오차 확산법에 기초하여 상기 주목 화소에 인접한 주변 화소의 흑색(K) 오차값 및 CMY 칼라 오차값을 상기 제 2 흑색값 및 상기 CMY 칼라값으로부터 각각 감산하여 수정 흑색값 및 수정 CMY 칼라값을 산출하는 단계(S72)와;Based on a preset color error diffusion method, the black (K) error value and the CMY color error value of the neighboring pixel adjacent to the pixel of interest are subtracted from the second black value and the CMY color value, respectively, to correct the corrected black value and the corrected CMY color value. Calculating (S72);

상기 수정 CMY 칼라값의 평균값에 제 1 비례 상수를 곱한 제 1 임계값보다 상기 수정 흑색값이 작거나 같은지를 판단하는 단계(S73)와;Determining whether the modified black value is less than or equal to a first threshold value obtained by multiplying an average value of the modified CMY color values by a first proportional constant (S73);

상기 수정 흑색값이 상기 제 1 임계값보다 작거나 같으면, 최대 계조값에 제 2 비례 상수를 곱한 값을 중간 계조값으로부터 감산한 값을 제 2 임계값으로 설정하고, 그렇지 않으면, 상기 최대 계조값에 상기 제 2 비례 상수를 곱한 값과 상기 중간 계조값을 합산한 값을 상기 제 2 임계값으로 설정한 후, 상기 수정 흑색값이 상기 제 2 임계값보다 크거나 같은지를 판단하는 단계(S74)와;If the corrected black value is less than or equal to the first threshold value, a value obtained by subtracting the maximum gray scale value by the second proportional constant from the intermediate gray scale value is set as a second threshold value, otherwise, the maximum gray scale value Setting a value obtained by multiplying the second proportionality constant by the second gray scale value to the second threshold value and determining whether the corrected black value is greater than or equal to the second threshold value (S74). Wow;

상기 수정 흑색값이 상기 제 2 임계값보다 크거나 같으면, 상기 주목 화소를 CMY 잉크를 모두 차단한 채로 흑색 잉크로만으로 인쇄한 후, 상기 주목 화소의 흑색값 및 상기 CMY 칼라값에 대한 오차값을 계산하여 저장하는 단계(S75)와;If the corrected black value is greater than or equal to the second threshold value, the pixel of interest is printed with only black ink with all CMY inks blocked, and then the error value for the black value of the pixel of interest and the CMY color value is determined. Calculating and storing (S75);

상기 수정 흑색값이 상기 제 2 임계값보다 작으면, 상기 수정 CMY 칼라값을 크기순으로 정렬하는 단계(S76)와;If the corrected black value is less than the second threshold value, sorting the corrected CMY color values in size order (S76);

상기 수정 CMY 칼라값 중 가장 큰 값이 상기 중간 계조값보다 크거나 같은지를 판단하는 단계(S77)와;Determining whether the largest value among the modified CMY color values is greater than or equal to the intermediate gray level value (S77);

상기 수정 CMY 칼라값 중 가장 큰 값이 상기 중간 계조값보다 크거나 같으면, 상기 주목 화소를 모든 잉크를 차단한 채로 인쇄한 후, 상기 주목 화소의 흑색값 및 상기 CMY 칼라값에 대한 오차값을 계산하여 저장하는 단계(S78); 및If the largest value among the corrected CMY color values is greater than or equal to the halftone value, the pixel of interest is printed with all the ink blocked, and then an error value for the black value of the pixel of interest and the CMY color value is calculated. Storing (S78); And

상기 수정 CMY 칼라값 중 가장 큰 값이 상기 중간 계조값보다 작으면, 상기 수정 CMY 칼라값 중 두 번째로 큰 값이 상기 중간 계조값보다 크거나 같은지를 판단하여 상기 중간 계조값보다 크거나 같으면, 상기 주목 화소를 상기 수정 CMY 칼라값 중 가장 큰 값의 해당 칼라 잉크와 두 번째로 큰 값의 해당 잉크만으로 인쇄하고, 그렇지 않으면, 상기 수정 CMY 칼라값 중 가장 큰 값의 해당 칼라 잉크만으로 인쇄한 후, 상기 주목 화소의 흑색값 및 상기 CMY 칼라값에 대한 오차값을 계산하여 저장하는 단계(S79)를 수행하도록 구성된다.If the largest value among the modified CMY color values is smaller than the intermediate gray scale value, it is determined whether a second largest value among the modified CMY color values is greater than or equal to the intermediate gray scale value, and is greater than or equal to the intermediate gray scale value. Printing the pixel of interest with only the corresponding color ink of the highest value of the corrected CMY color values and the corresponding ink of the second largest value, otherwise printing only with the corresponding color ink of the largest value of the corrected CMY color values And calculating and storing an error value of the black value of the pixel of interest and the CMY color value (S79).

여기서, 본 발명의 장치 및 방법의 바람직한 실시예에서 상기 중간 계조값 및 상기 최대 계조값은 각각 128 및 225인 것이 바람직하고, 상기 제 1 비례 상수 및 상기 제 2 비례 상수는 각각 0.5 및 0.15인 것이 바람직하다.Here, in a preferred embodiment of the apparatus and method of the present invention, the intermediate gray value and the maximum gray value are preferably 128 and 225, respectively, and the first and second proportional constants are 0.5 and 0.15, respectively. desirable.

이와 같이 구성된 본 발명에 따른 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치 및 방법의 바람직한 실시예의 작용 및 수행 과정을 상세하게 설명하기로 한다.The operation and performance of the preferred embodiment of the black generation and color halftone processing apparatus and method in consideration of the color reproduction characteristics of the color printer according to the present invention configured as described above will be described in detail.

본 발명의 요지는 크게 두 부분으로 구성되어 있음을 알 수 있다. 즉, 본 발명은 칼라 프린터의 칼라 재현 특성을 나타내는 프린터 색역과 입력된 영상의 각화소에서 연산되는 칼라에 대한 명도값(L*) 및 채도값(C*)을 이용하여 흑색값(K)을 생성하는 과정과 상기 생성된 CMY 칼라값 및 흑색값(K)에 적합한 칼라 이진화 알고리즘을 통해 개선된 프린터 출력 영상을 제공하는 과정으로 구성된다.It can be seen that the gist of the present invention consists of two parts. That is, the present invention uses the printer color gamut representing the color reproduction characteristics of the color printer and the black value K by using the brightness values L * and saturation values C * for the colors computed in each pixel of the input image. And generating an improved printer output image through a color binarization algorithm suitable for the generated CMY color value and black value (K).

우선, 본 발명의 장치 및 방법에 따른 바람직한 실시예를 실시하기 위해서는, 칼라 프린터의 칼라 재현 특성을 표현하는 3차원 검색 테이블(3D LUT; 3D Look-Up Table)과, 상기 칼라 프린터의 색역 특성으로부터 얻어지는 각 색상에 대한 최대 채도값과 상기 최대 채도값에 대응하는 명도값을 가지는 최대 채도/명도 테이블(MaxSL; Maximal Saturation and Lightness table)과, 인간 시감 특성상의 각 명도값을 인쇄하기 위한 흑색(K) 재현값을 각각 대응시켜 작성한 명도 대 흑색 테이블을 저장하는 명도 대 흑색 테이블(LtoBk; Lightness to Black table)과, 상기 칼라 프린터의 톤 보정 테이블(tone correction table)을 메모리에 미리 저장하고 있어야 함을 전제로 한다.First, in order to implement a preferred embodiment according to the apparatus and method of the present invention, a 3D look-up table (3D LUT) representing the color reproduction characteristics of a color printer and the color gamut characteristics of the color printer are described. Maximal Saturation and Lightness table (MaxSL) having a maximum saturation value for each color to be obtained and a brightness value corresponding to the maximum saturation value, and black for printing each brightness value on human visual characteristics (K Lightness to Black table (LtoBk; Lightness to Black table) for storing the brightness vs. black table corresponding to the reproduction values, and the tone correction table of the color printer should be stored in the memory in advance. On the premise.

칼라 변환부(50)는 상기 3차원 검색 테이블과 상기 톤 보정 테이블을 참조하여 입력된 RGB 칼라값을 RGB/CMY 색좌표 변환식을 통해 CMY 칼라값으로 변환하고 상기 변환된 CMY 칼라값을 순방향 보간(forward interpolation)을 이용하여 CIE L*a*b*칼라값으로 변환한다.The color conversion unit 50 converts the RGB color values input by referring to the 3D search table and the tone correction table into CMY color values through an RGB / CMY color coordinate conversion equation, and forwards the converted CMY color values forward. interpolation) to CIE L * a * b * color values.

채도/색상 계산부(60)는 상기 변환된 L*a*b*칼라값으로부터 수학식 10에 의해 채도값(C*)과 색상값(H*)을 계산한다.The saturation / color calculation unit 60 calculates the saturation value C * and the color value H * from Equation 10 from the converted L * a * b * color values.

이상의 설명을 좀 더 부언하면, 전술한 바와 같이 본 발명의 바람직한 실시예에서는 칼라 프린터의 칼라 재현 특성으로써 프린터 색역이 주어져 있음을 전제로 한다. 어떠한 형태의 색역 표현도 가능하나 입력된 칼라의 CIE L*a*b*칼라값이나 명도값, 채도값 및 색상값을 추정할 수 있어야 한다. 여기에서의 칼라 프린터의 색역은 CMY 칼라에 대해 9 ×9 ×9 조합의 샘플을 만들고 인쇄한 후 측색기(color measurement device)를 이용해 CIE XYZ나 CIE L*a*b*의 값을 측정함으로써 구한다.In addition to the above description, as described above, the preferred embodiment of the present invention assumes that a printer gamut is given as a color reproduction characteristic of a color printer. Any form of gamut can be represented, but the CIE L * a * b * color value, brightness value, saturation value and color value of the input color should be estimated. The color gamut of the color printer here is obtained by making a 9 × 9 × 9 combination sample for the CMY color, printing it, and then measuring the value of CIE XYZ or CIE L * a * b * using a color measurement device.

이렇게 칼라 프린터의 색역이 구해질 경우, 0∼359°의 각도로 표현되는 칼라의 색상(hue)에 대한 최대 채도값과 그에 대응하는 명도값을 가지는 최대 채도/명도 테이블(MaxSL)을 만들 수 있다.When the color gamut of the color printer is obtained as described above, a maximum saturation / brightness table (MaxSL) having a maximum saturation value for the color hue represented by an angle of 0 to 359 ° and a corresponding brightness value can be created. .

K에 대한 사람의 명도 지각 특성을 알기 위해 16레벨의 K 샘플 패치를 만든 후, 측색기를 이용하여 CIE L*값을 측정한다. 각 샘플에 대한 K 레벨과 측정값 L*을 대응시켜 0∼100의 L*에 대한 K 레벨을 추정하기 위한 역함수(inverse function)를 생성하고 이 값들을 명도 대 흑색 테이블(LtoBk)로 저장한다.To determine the human perceptual perception of K, we make a 16-level patch of K samples and measure the CIE L * values using a colorimeter. Correlate the K level for each sample with the measured value L * to generate an inverse function for estimating the K level for L * from 0 to 100 and store these values as a brightness versus black table (LtoBk).

이들 테이블들은 메모리에 저장되고 입력된 칼라의 명도나 색상을 인덱스로 하여 그 값들이 읽혀진다. 입력된 RGB 칼라값은 수학식 1에 의해 CMY 칼라값으로변환되고 이 칼라에 대한 CIE L*a*b*값을 추정한다. 여기서, 9 ×9 ×9로 표현되는 3차원 색역에 대한 순방향 보간과 프린터의 톤 보정 테이블을 통해 CIE L*a*b*칼라값을 추정할 수 있으며, 이 보간 방법에는 삼차원의 3중 선형 보간(trilinear interpolation)과 사면체 보간(tetrahedral interpolation) 방법이 있다.These tables are stored in memory and their values are read using the brightness or color of the input color. The input RGB color value is converted into a CMY color value by Equation 1, and the CIE L * a * b * value for this color is estimated. Here, the CIE L * a * b * color values can be estimated through the forward interpolation for the 3D gamut represented by 9 × 9 × 9 and the printer's tone correction table, and in this interpolation method, three-dimensional triple linear interpolation is performed. trilinear interpolation and tetrahedral interpolation.

이후, 흑색 생성부(70)는 상기 계산된 색상값을 인덱스(index)로 하여 상기 최대 채도/명도 테이블(MaxSL)로부터 상기 색상값에 대한 최대 채도값(α s )를 판독함과 더불어 상기 최대 채도값에 대응하는 제 1 명도값(α l )을 판독한 후, 상기 제 1 명도값(α l )을 인덱스로 삼아 상기 명도 대 흑색 테이블(LtoBk)로부터 주어진 상기 제 1 명도값를 재현할 수 있는 제 1 흑색값(Bk)을 판독한 다음에 상기 제 1 흑색값을 초기값으로 하고 계산된 칼라의 명도값과 채도값에 의해 정의한 시그모이드 함수를 이용하여 상기 입력된 RGB 칼라값에 적합한 흑색값인 제 2 흑색값(K)을 생성하여 출력한다.Thereafter, the black generation unit 70 reads the maximum saturation value α s for the color value from the maximum saturation / brightness table MaxSL using the calculated color value as an index and the maximum value. After reading the first brightness value α l corresponding to the saturation value, the first brightness value given from the lightness versus black table LtoBk can be reproduced using the first brightness value α l as an index. After reading the first black value Bk, the black value suitable for the input RGB color value is determined by using the sigmoid function defined by the calculated brightness and saturation values of the first black value as an initial value. A second black value K, which is a value, is generated and output.

수학식 10을 통해 보간된 CIE L*a*b*칼라값으로부터 칼라의 색상값과 채도값을 알 수 있으며 이것으로 칼라에 대한 명도값, 채도값, 색상값의 L*C*H*를 표현할 수 있다. 명도값를 인덱스로 하여 이 명도값를 출력할 수 있는 K의 레벨(즉, 제 1 흑색값)을 명도 대 흑색 테이블(LtoBk table)로부터 구한다. 색상값을 인덱스로 하여 입력된 칼라의 색상에 대한 최대 채도값과 그에 대응하는 명도값을 가지는 αs와αl을 최대 채도/명도 테이블에서 읽어온다.Equation 10 shows the color value and saturation value of the color from the interpolated CIE L * a * b * color values, and it expresses the brightness value, saturation value, and L * C * H * of the color value. Can be. Using the brightness value as an index, the level of K (that is, the first black value) at which the brightness value can be output is obtained from the lightness versus black table (LtoBk table). Using the color value as an index, α s and α l having the maximum saturation value for the color of the input color and the corresponding brightness value are read from the maximum saturation / brightness table.

프린터의 색역은 색상값을 고정하였을 경우, 도 7과 같이 명도와 채도에 의한 삼각형 모델로 표현될 수 있다. 도 7은 명도와 채도에 의한 삼각형 모델을 나타낸 예시도이다. 이 모델을 이용하여 입력된 칼라의 색상과 명도에 대한 최대 채도값(C* max)를 수학식 11을 이용하여 계산할 수 있다. 도 7에서 1의 경우는 수학식 11의 L*≥αl에 해당되며 2의 경우는 L*< αl에 해당된다.When the color gamut of the printer is fixed, the color gamut may be represented by a triangular model by brightness and saturation as shown in FIG. 7. 7 is an exemplary view showing a triangular model by brightness and saturation. Using this model, the maximum saturation value (C * max ) for the color and brightness of the input color can be calculated using Equation 11. For a 1 in Fig. 7 for the second and the L * ≥α l of Equation (11) corresponds to L *l.

또한 입출력 칼라의 명도를 인덱스로 하여 그 명도를 잘 표현할 수 있는 K의 레벨을 명도 대 흑색 테이블(LtoBk table)에서 읽어 초기 Ki로 표현한다. 이 Ki와 이상에서 구한 값들을 이용하여 입력된 칼라를 가장 잘 재현할 수 있는 K 및 CMY를 수학식 2를 통해 구한다.In addition, using the brightness of the input / output color as an index, the level of K that can express the brightness well is read from the brightness versus black table (LtoBk table) and expressed as the initial K i . Using K i and the values obtained above, K and CMY, which can best reproduce the input color, are obtained through Equation 2.

이때, 계산된 칼라의 명도값과 채도값에 의해 정의한 시그모이드 함수(sigmoid function)는 수학식 12를 통해 구할 수 있다.In this case, a sigmoid function defined by the calculated brightness and saturation values may be obtained through Equation 12.

여기에서 C*'은 칼라 강조를 위하여 추정된 칼라의 C*를 조정한 값으로써 수학식 13을 이용한다.Here, C * 'is used as a value adjusted by adjusting the C * of the estimated color for color enhancement.

이 시그모이드 함수를 이용함으로써 K 생성에 있어서 입력된 칼라의 명도와 채도를 동시에 고려할 수 있게 된다. 즉, 입력된 칼라의 채도가 낮은 경우, 시그모이드 함수의 값은 명도에 관계없이 1에 가까운 값을 가지게 되고, 채도가 높은 경우, 함수값은 0에 가깝게 된다. 또한 같은 채도라 하더라도 명도가 높은 경우 시그모이드 함수값은 0에 가까운 값을 가지며 명도가 낮은 경우 함수값은 0보다 큰 값을 가지게 된다. 그림 8은 명도와 채도에 의한 시그모이드 함수를 나타낸 파형도로, 명도 50과 명도 30의 경우에 대하여 채도에 따라 얻어지는 시그모이드 함수값의 차이를 보이고 있다. 시그모이드 함수를 이용하여 K를 생성하기 위해서 명도에 대한 K의 초기값을 필요로 한다. 이 초기값은 CMY 잉크를 배제하고 K 잉크만으로 0∼255의 계조에 대한 패치를 출력하여 측정한 명도를 가지는 데이터로 구할 수 있다. 이 데이터를 이용하여 명도로부터 K의 크기를 역으로 추정하는 관계식을 만들고 데이터와 추정된 값 사이의 발생되는 오차를 최소로 하면 명도에 대한 K의 초기값을 구할 수 있다. 이 값을 명도에 대한 K값으로 메모리에 기억시켜 두었다가 K생성의 초기값, K로 이용한다. 생성되는 출력 K값은 수학식 14와 같이 구할 수 있다.By using this sigmoid function, the brightness and saturation of the input color can be considered simultaneously in generating K. That is, when the color of the input color is low, the value of the sigmoid function has a value close to 1 regardless of the brightness, and when the saturation is high, the function value is close to zero. Also, even with the same saturation, the sigmoid function has a value close to zero when the brightness is high, and the function value has a value greater than zero when the brightness is low. Fig. 8 is a waveform diagram showing the sigmoid function by brightness and saturation, and shows the difference of the sigmoid function values obtained according to the saturation for the case of brightness 50 and brightness 30. To generate K using the sigmoid function, we need the initial value of K for brightness. This initial value can be obtained from data having brightness measured by removing patches of gray scales of 0 to 255 only with K ink, excluding CMY ink. This data can be used to construct a relation that estimates the magnitude of K from the brightness inversely and minimize the error that occurs between the data and the estimated value to obtain the initial value of K for brightness. This value is stored as a K value for brightness and used as the initial value of K generation, K. The generated output K value may be obtained as shown in Equation 14.

여기에서 Ki=LtoBk[L*]으로 명도 대 흑색 테이블에서 읽혀진 명도 L*에 대한 K의 초기값을 나타낸다. 만약 칼라의 채도가 0에 가깝다면 시그모이드 함수의 값은 1에 가까워지고 이 칼라는 CMY 잉크보다 K의 잉크로 출력하는 것이 유리하다. 또한 출력으로 만들어지는 K값이 실제 측정에 의해 주어지는 명도에 대한 K의 값으로 추정되므로 K 잉크만으로 출력하여도 명도를 보존할 수 있게 된다. 그러나 채도가 높은 칼라라면, 시그모이드 함수의 갑이 0에 가까워지고 이 칼라는 K 잉크보다 CMY 잉크로 출력함으로써 보정된 칼라를 그대로 재현할 수 있게 된다. 본 발명에서의 알고리즘을 이용하여 K를 생성할 경우에는 입력된 칼라의 채도가 작을 경우 순수 명도만으로 표현될 수 있으므로 명도를 가장 잘 표현하는 K를 출력할 수 있으며, 채도가 클 경우에는 K 출력에 의한 채도의 손실을 최소로 하여 칼라의 재현성을 높인다.Here, Ki = LtoBk [L *], which represents the initial value of K for brightness L * read from the brightness versus black table. If the saturation of the color is close to zero, the sigmoid function's value is close to one, and it is advantageous to print the color in K ink rather than CMY ink. In addition, since the K value generated as the output is estimated as the value of K for the brightness given by the actual measurement, the brightness can be preserved even if only K ink is output. However, if the color is high in saturation, the sigmoid function value approaches zero, and this color can be reproduced as CMY ink rather than K ink so that the corrected color can be reproduced as it is. In the case of generating K by using the algorithm of the present invention, if the saturation of the input color is small, it can be expressed only with pure brightness, and thus, K can be output to express the brightness best. The color loss is improved by minimizing the loss of saturation.

이상에서 설명한 시그모이드 함수를 구하는 과정을 정리하면 다음과 같다.The procedure for obtaining the sigmoid function described above is as follows.

우선, 상기 계산된 명도값을 L*로 정하고, 상기 계산된 색상값에 대한 최대 채도값과 상기 최대 채도값에 대응하는 제 1 명도값을 각각α s α l 로 정하며, 상기 계산된 색상값에 대한 최대 명도값과 최소 명도값을 각각 Lmax및 Lmin으로 정할때, 상기 계산된 칼라의 명도값과 채도값에 의해 정의한 시그모이드 함수는,First, the calculated brightness value is determined as L * , the maximum saturation value for the calculated color value and the first brightness value corresponding to the maximum saturation value are respectively defined as α s and α l , and the calculated color value The sigmoid function defined by the calculated brightness and saturation values of the color when the maximum brightness value and the minimum brightness value for are set to L max and L min , respectively. Is,

와 같이 계산한다.Calculate as

여기서,이고, 만일인 경우에는로 정하고, 상기 입력된 칼라의 색상값과 명도값에 대한 최대 채도값(C* max)은here, And if If is The maximum saturation value (C * max ) for the color value and brightness value of the input color is

L*≥αl인 경우,와 같이 계산하고, L*< αl인 경우,와 같이 계산한다.If L * ≥α l And if L *l , Calculate as

이때, 상기 제 2 흑색값은 수학식 14에서와 같이 상기 제 1 흑색값과 상기 시그모이드 함수를 승산함으로써 구할 수 있다.In this case, the second black value may be obtained by multiplying the first black value by the sigmoid function as in Equation (14).

칼라 중간조 처리부(80)는 상기 CMY 칼라값과 상기 제 2 흑색값을 입력받아 쉐도우 영역에서 나타나는 흑색 잉크와 CMY 칼라 잉크의 조합 특성을 개선하기 위해, 상기 제 2 흑색값에 대한 이진화 문턱치를 가변케 하며 상기 제 2 흑색값의 이진화 결과에 따라 상기 CMY 칼라값에 대한 이진화를 수행한다.The color halftone processing unit 80 receives the CMY color value and the second black value and changes the binarization threshold for the second black value in order to improve the combination characteristics of the black ink and the CMY color ink appearing in the shadow area. And binarization of the CMY color value according to the binarization result of the second black value.

이러한 방법에 의해 생성된 CMY 및 K는 칼라 이진화 알고리즘에 의해 잉크의찍함과 찍히지 않음을 나타내는 이진수로 변환된다. 여기에서는 대조가 높게 나타나는 K 잉크와 칼라를 재현하는 데 사용되는 CMY 잉크가 조합되어 조화있는 출력이 아루어져야 한다. 이를 위해 제시되는 칼라 이진화 알고리즘에서는 K와 CMY 값의 비교를 통해 K에 대한 문턱치를 수학식 15와 같이 가변시켜 준다.The CMYs and Ks produced by this method are converted to binary numbers, indicating that ink is taken and not taken by the color binarization algorithm. Here, a combination of K inks with high contrast and CMY inks used to reproduce colors should be combined to produce a harmonious output. In the color binarization algorithm presented for this purpose, the threshold for K is varied as shown in Equation 15 by comparing K and CMY values.

여기서, β는 0.15로 하였으며 이렇게 문턱치를 가변시킴으로서 K로 인쇄되는 쉐도우 영역과 CMY로 인쇄되는 칼라의 연속면에 대한 특성을 개선시킬 수 있다. 가변되는 문턱치보다 K가 클 경우 K를 출력하고 스터키(Stucki)의 오차에 대한 이진화 필터를 적용하여 이진화에 의한 오차를 확산시킨다. K가 출력될 경우에는 CMY를 출력하지 않으므로 이 값을 오차로 하여 확산시켜준다. 그리고, K가 문턱치보다 작을 경우에는 K를 출력하지 않으며 K값을 오차로 하여 확산시키고 CMY 영상을 이진화하여 그 결과를 출력한다. CMY 영상의 이진화에 있어서는 문턱치를 128로 고정하였으며 한 화소에 CMY 잉크가 모두 인쇄되는 경우를 제외하기 위하여 두 색만 인쇄되도록 하였다. 따라서 두색의 혼합에 의한 RGB 및 한 가지 잉크에 의한 CMY, 그리고 인쇄하지 않는 경우인 W(White)에 의하여 칼라가 출력된다.Here, β is 0.15. By varying the threshold value, β can improve the characteristics of the shadow area printed by K and the continuous surface of the color printed by CMY. If K is larger than the variable threshold, K is output and the error due to binarization is diffused by applying a binarization filter for the error of Stucky. If K is outputted, CMY is not outputted. When K is smaller than the threshold value, K is not output and the result is obtained by diffusing the K value as an error and binarizing the CMY image. In binarization of CMY images, the threshold is fixed at 128 and only two colors are printed to exclude all CMY inks printed on one pixel. Therefore, color is output by RGB by mixing two colors, CMY by one ink, and W (White) when not printing.

본원에서 사용되는 용어(terminology)들은 본 발명에서의 기능을 고려하여정의 내려진 용어들로써 이는 당분야에 종사하는 기술자의 의도 또는 관례 등에 따라 달라질 수 있으므로 그 정의는 본원의 전반에 걸친 내용을 토대로 내려져야 할 것이다.Terminologies used herein are terms defined in consideration of functions in the present invention, which may vary according to the intention or custom of a person skilled in the art, and the definition should be based on the contents throughout the present application. will be.

또한, 본원에서는 본 발명의 바람직한 실시예를 통해 본 발명을 설명했으므로 본 발명의 기술적인 난이도 측면을 고려할 때, 당분야에 통상적인 기술을 가진 사람이면 용이하게 본 발명에 대한 또 다른 실시예와 다른 변형을 가할 수 있으므로, 상술한 설명에서 사상을 인용한 실시예와 변형은 모두 본 발명의 청구 범위에 모두 귀속됨은 명백하다.In addition, since the present invention has been described through the preferred embodiment of the present invention, in view of the technical difficulty aspects of the present invention, those having ordinary skill in the art can easily be different from another embodiment of the present invention. Since modifications may be made, it is obvious that both the embodiments and modifications cited in the above description belong to the claims of the present invention.

이상에서 상세하게 설명한 바와 같이, 3차원 검색 테이블(3D LUT; 3D Look-Up Table)과, 최대 채도/명도 테이블(MaxSL; Maximal Saturation and Lightness table)과, 명도 대 흑색 테이블(LtoBk; Lightness to Black table)과, 톤 보정 테이블(tone correction table)을 저장한 메모리를 구비한 상태에서 입력된 RGB 칼라값을 CIE L*a*b*칼라값으로 변환하여 변환된 L*a*b*칼라값으로부터 명도값(L*)과 채도값(C*)과 색상값(H*)을 계산한 후, 계산된 색상값을 인덱스(index)로 하여 최대 채도/명도 테이블(MaxSL)로부터 색상값에 대한 최대 채도값를 판독함과 더불어 최대 채도값에 대응하는 제 1 명도값을 판독한 후, 제 1 명도값을 인덱스로 삼아 명도 대 흑색 테이블(LtoBk)로부터 주어진 제 1 명도값를 재현할 수 있는 제 1 흑색값을 판독한 다음에 제 1 흑색값을 초기값으로 하고 계산된 칼라의 명도값과 채도값에 의해 정의한 시그모이드 함수를 이용하여 입력된 RGB 칼라값에 적합한 흑색값인 제 2 흑색값을 생성한 다음에 CMY 칼라값과 제 1 흑색값을 입력받아 쉐도우 영역에서 나타나는 흑색 잉크와 CMY 칼라 잉크의 조합 특성을 개선하기 위해, 제 2 흑색값에 대한 이진화 문턱치를 가변케 하며 제 2 흑색값의 이진화 결과에 따라 CMY 칼라값에 대한 이진화를 수행하는 본 발명에 따르면, 상대적으로 저렴한 흑색 잉크를 최대한 이용하면서도 칼라의 명도와 채도를 적절하게 표현할 수 있는 흑색값을 산출할 수 있을 뿐만 아니라 칼라 중간조 처리를 수행할 시에는 쉐도우 영역에서 나타나는 흑색 잉크와 CMY 칼라 잉크의 조합 특성을 개선할 수 있기 때문에 우수한 프린터 출력 영상을 제공할 수 있는 이점이 있다.As described in detail above, a 3D Look-Up Table (3D LUT), a Maximal Saturation and Lightness Table (MaxSL), and a Lightness to Black Table (LtoBk) the RGB color values input in a state of having the memory that stores the table) and a tone correction table (tone correction table) from the CIE L * a * b * converted by converting the color values L * a * b * color value After calculating the brightness value (L * ), saturation value (C * ), and color value (H * ), the maximum color value from the maximum saturation / brightness table (MaxSL) is calculated using the calculated color value as an index. A first black value capable of reproducing the first brightness value given from the brightness versus black table (LtoBk) by reading the first brightness value corresponding to the maximum saturation value as well as reading the saturation value. After reading, set the first black value as initial value and calculate the color name. Using the sigmoid function defined by the value and the saturation value, the second black value, which is a black value suitable for the input RGB color value, is generated, and the black ink appearing in the shadow area by receiving the CMY color value and the first black value. According to the present invention, the binarization threshold for the second black value is varied and the binarization of the CMY color value is performed according to the binarization result of the second black value in order to improve the combination property of the ink and the CMY color ink. It is possible to calculate the black value that can express the brightness and saturation of the color properly while maximizing the black ink, and improve the combination characteristics of the black ink and the CMY color ink appearing in the shadow area when performing color halftone processing. Because of this, there is an advantage in providing a good printer output image.

Claims (17)

칼라 프린터의 칼라 재현 특성을 표현하는 3차원 검색 테이블(3D LUT; 3D Look-Up Table) 저장부와;A 3D Look-Up Table (3D LUT) storage unit for expressing color reproduction characteristics of the color printer; 상기 칼라 프린터의 색역 특성으로부터 얻어지는 각 색상에 대한 최대 채도값과 상기 최대 채도값에 대응하는 명도값을 가지는 최대 채도/명도 테이블(MaxSL; Maximal Saturation and Lightness table) 저장부와;A maximum saturation / brightness table (MaxSL) storage unit having a maximum chroma value for each color obtained from the color gamut characteristics of the color printer and a brightness value corresponding to the maximum chroma value; 인간 시감 특성상의 각 명도값을 인쇄하기 위한 흑색(K) 재현값을 각각 대응시켜 작성한 명도 대 흑색 테이블을 저장하는 명도 대 흑색 테이블(LtoBk; Lightness to Black table) 저장부와;A lightness-to-black table (LtoBk; lightness to black table) storage unit for storing a lightness-to-black table corresponding to black (K) reproduction values for printing each brightness value on human visual characteristics; 상기 칼라 프린터의 톤 보정 테이블(tone correction table) 저장부와;A tone correction table storage unit of the color printer; 상기 3차원 검색 테이블과 상기 톤 보정 테이블을 참조하여 입력된 RGB 칼라값을 RGB/CMY 색좌표 변환식을 통해 CMY 칼라값으로 변환하고 상기 변환된 CMY 칼라값을 순방향 보간(forward interpolation)을 이용하여 CIE L*a*b*칼라값으로 변환하는 칼라 변환부와;The RGB color values inputted with reference to the 3D lookup table and the tone correction table are converted into CMY color values through an RGB / CMY color coordinate conversion equation, and the converted CMY color values are converted to CIE L using forward interpolation. * a * b * color conversion for converting the color value unit; 상기 변환된 L*a*b*칼라값으로부터 명도값(L*)과 채도값(C*)과 색상값(H*)을 계산하는 채도/색상 계산부; 및A saturation / color calculation unit configured to calculate a brightness value L * , a saturation value C * , and a color value H * from the converted L * a * b * color values; And 상기 채도/색상 계산부에서 계산된 상기 색상값을 인덱스(index)로 하여 상기 최대 채도/명도 테이블(MaxSL)로부터 상기 색상값에 대한 최대 채도값를 판독함과 더불어 상기 최대 채도값에 대응하는 제 1 명도값을 판독한 후, 상기 제 1 명도값을 인덱스로 삼아 상기 명도 대 흑색 테이블(LtoBk)로부터 주어진 상기 제 1 명도값를 재현할 수 있는 제 1 흑색값을 판독한 다음에 상기 제 1 흑색값을 초기값으로 하고 계산된 칼라의 명도값과 채도값에 의해 정의한 시그모이드 함수(sigmoid function)를 이용하여 상기 입력된 RGB 칼라값에 적합한 흑색값인 제 2 흑색값을 생성하여 출력하는 흑색 생성부를 포함하는 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치.Reading the maximum chroma value for the color value from the maximum saturation / brightness table MaxSL using the color value calculated by the saturation / color calculation unit as an index and corresponding to the maximum saturation value After reading the brightness value, the first brightness value can be read from the brightness vs. black table LtoBk using the first brightness value as an index, and then the first black value is read. A black generation unit that generates and outputs a second black value suitable for the input RGB color value by using a sigmoid function defined as an initial value and a brightness value and a saturation value of the calculated color. A black generation and color halftone processing apparatus in consideration of the color reproduction characteristics of a color printer, comprising. 제 1 항에 있어서,The method of claim 1, 상기 CMY 칼라값과 상기 제 2 흑색값을 입력받아 쉐도우 영역에서 나타나는 흑색 잉크와 CMY 칼라 잉크의 조합 특성을 개선하기 위해, 상기 제 2 흑색값에 대한 이진화 문턱치를 가변케 하며 상기 제 2 흑색값의 이진화 결과에 따라 상기 CMY 칼라값에 대한 이진화를 수행하는 칼라 중간조 처리부를 더 포함하는 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치.In order to improve the combination characteristics of the black ink and the CMY color ink appearing in the shadow area by receiving the CMY color value and the second black value, the binarization threshold for the second black value is varied and the second black value is changed. And a color halftone processing unit which takes into account color reproduction characteristics of a color printer, characterized by further comprising a color halftone processing unit for performing binarization on the CMY color value according to a binarization result. 제 2 항에 있어서, 여기서, 상기 칼라 중간조 처리부는,The method of claim 2, wherein the collar halftone processing unit, 이치화할 주목 화소를 래스터 스캐닝 순으로 선정한 후, 기설정된 칼라 오차확산법에 기초하여 상기 주목 화소에 인접한 주변 화소의 흑색(K) 오차값 및 CMY 칼라 오차값을 상기 제 2 흑색값 및 상기 CMY 칼라값으로부터 각각 감산하여 수정 흑색값 및 수정 CMY 칼라값을 산출한 다음에 상기 수정 CMY 칼라값의 평균값에 제 1 비례 상수를 곱한 제 1 임계값보다 상기 수정 흑색값이 작거나 같은지를 판단하여 상기 수정 흑색값이 상기 제 1 임계값보다 작거나 같으면, 최대 계조값에 제 2 비례 상수를 곱한 값을 중간 계조값으로부터 감산한 값을 제 2 임계값으로 설정하고, 그렇지 않으면, 상기 최대 계조값에 상기 제 2 비례 상수를 곱한 값과 상기 중간 계조값을 합산한 값을 상기 제 2 임계값으로 설정하는 임계값 설정부와;After selecting the pixel of interest to be binarized in the order of raster scanning, the black (K) error value and the CMY color error value of the neighboring pixel adjacent to the pixel of interest are determined based on a predetermined color error diffusion method, and the second black value and the CMY color value. And subtracting each from to calculate a corrected black value and a corrected CMY color value, and then determine whether the corrected black value is less than or equal to a first threshold value multiplied by a first proportional constant to an average value of the corrected CMY color values. If the value is less than or equal to the first threshold value, the value obtained by subtracting the maximum gray scale value by the second proportional constant from the intermediate gray scale value is set as the second threshold value; otherwise, the maximum gray scale value is set to the second threshold value. A threshold setting unit for setting a value obtained by multiplying a proportional constant by two and the intermediate gray level value as the second threshold value; 상기 수정 흑색값이 상기 제 2 임계값보다 크거나 같으면, 상기 주목 화소를 CMY 잉크를 모두 차단한 채로 흑색 잉크로만으로 인쇄한 후, 상기 주목 화소의 흑색값 및 상기 CMY 칼라값에 대한 오차값을 계산하여 저장하는 흑색 이치화 인쇄부; 및If the corrected black value is greater than or equal to the second threshold value, the pixel of interest is printed with only black ink with all CMY inks blocked, and then the error value for the black value of the pixel of interest and the CMY color value is determined. A black binarization printing unit for calculating and storing; And 상기 수정 흑색값이 상기 제 2 임계값보다 작으면, 상기 수정 CMY 칼라값을 크기순으로 정렬한 후, 상기 수정 CMY 칼라값 중 가장 큰 값이 상기 중간 계조값보다 크거나 같은지를 판단하여 상기 수정 CMY 칼라값 중 가장 큰 값이 상기 중간 계조값보다 크거나 같으면, 상기 주목 화소를 모든 잉크를 차단한 채로 인쇄한 후, 상기 주목 화소의 흑색값 및 상기 CMY 칼라값에 대한 오차값을 계산하여 저장하고, 상기 수정 CMY 칼라값 중 가장 큰 값이 상기 중간 계조값보다 작으면, 상기 수정 CMY 칼라값 중 두 번째로 큰 값이 상기 중간 계조값보다 크거나 같은지를 판단하여 상기 중간 계조값보다 크거나 같으면, 상기 주목 화소를 상기 수정 CMY 칼라값 중가장 큰 값의 해당 칼라 잉크와 두 번째로 큰 값의 해당 잉크만으로 인쇄하고, 그렇지 않으면, 상기 수정 CMY 칼라값 중 가장 큰 값의 해당 칼라 잉크만으로 인쇄한 후, 상기 주목 화소의 흑색값 및 상기 CMY 칼라값에 대한 오차값을 계산하여 저장하는 칼라 이치화 인쇄부로 구성되는 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치.If the corrected black value is smaller than the second threshold value, the corrected CMY color values are sorted in size order, and then the corrected value is determined by determining whether the largest value among the corrected CMY color values is greater than or equal to the intermediate gradation value. If the largest value among the CMY color values is greater than or equal to the halftone value, the pixel of interest is printed with all the ink blocked, and then the black value of the pixel of interest and the error value for the CMY color value are calculated and stored. And when the largest value among the modified CMY color values is smaller than the intermediate gray scale value, it is determined whether a second largest value among the modified CMY color values is greater than or equal to the intermediate gray scale value, or greater than the intermediate gray scale value. If it is the same, the pixel of interest is printed with only the corresponding color ink of the highest value among the corrected CMY color values and the corresponding ink of the second largest value, otherwise, the corrected CMY color value And a color binarization printing unit configured to calculate and store an error value for the black value of the pixel of interest and the CMY color value after printing with only the corresponding color ink having the largest value. Considered black production and color halftone processing equipment. 제 3 항에 있어서, 상기 중간 계조값 및 상기 최대 계조값은 각각 128 및 225인 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치.The black generation and color halftone processing apparatus of claim 3, wherein the halftone value and the maximum grayscale value are 128 and 225, respectively. 제 3 항에 있어서, 상기 제 1 비례 상수 및 상기 제 2 비례 상수는 각각 0.5 및 0.15인 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치.4. The apparatus of claim 3, wherein the first proportional constant and the second proportional constant are 0.5 and 0.15, respectively, in consideration of color reproduction characteristics of the color printer. 제 1 항에 있어서, 상기 칼라 프린터의 색역은,The color gamut of claim 1, wherein CMY 칼라에 대해 9 ×9 ×9 조합의 샘플을 만들고 인쇄한 후 측색기(colormeasurement device)를 이용해 CIE XYZ나 CIE L*a*b*의 값을 측정하는 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치.The color reproduction characteristics of color printers are characterized by measuring and measuring the values of CIE XYZ or CIE L * a * b * using a colormeasurement device after making and printing a 9 × 9 × 9 combination sample for CMY colors. Considered black production and color halftone processing equipment. 제 1 항에 있어서,The method of claim 1, 상기 계산된 명도값을 L*로 정하고, 상기 계산된 색상값에 대한 최대 채도값과 상기 최대 채도값에 대응하는 제 1 명도값을 각각α s α l 로 정하며, 상기 계산된 색상값에 대한 최대 명도값과 최소 명도값을 각각 Lmax및 Lmin으로 정할 때,The calculated brightness value is defined as L * , the maximum saturation value for the calculated color value and the first brightness value corresponding to the maximum saturation value are respectively defined as α s and α l , and for the calculated color value When the maximum and minimum brightness values are set to L max and L min , respectively, 상기 계산된 칼라의 명도값과 채도값에 의해 정의한 시그모이드 함수는,Sigmoid function defined by the brightness value and chroma value of the calculated color Is, 와 같이 계산하고,Calculate as 여기서,이고, 만일인 경우에는로 정하고, 상기 입력된 칼라의 색상값과 명도값에 대한 최대 채도값(C* max)은here, And if If is The maximum saturation value (C * max ) for the color value and brightness value of the input color is L*≥αl인 경우,와 같이 계산하고If L * ≥α l And calculate L*< αl인 경우,와 같이 계산하는 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치.If L *l Black generation and color halftone processing apparatus in consideration of the color reproduction characteristics of the color printer, characterized in that calculated as. 제 7 항에 있어서, 상기 제 2 흑색값은,The method of claim 7, wherein the second black value is, 상기 제 1 흑색값과 상기 시그모이드 함수를 승산한 값인 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 장치.The black generation and color halftone processing apparatus in consideration of the color reproduction characteristics of the color printer, characterized in that the value multiplied by the first black value and the sigmoid function. 칼라 프린터의 칼라 재현 특성을 표현하는 3차원 검색 테이블과, 상기 칼라 프린터의 색역 특성으로부터 얻어지는 각 색상에 대한 최대 채도값과 상기 최대 채도값에 대응하는 명도값을 가지는 최대 채도/명도 테이블과, 인간 시감 특성상의 각 명도값을 인쇄하기 위한 흑색(K) 재현값을 각각 대응시켜 작성한 명도 대 흑색 테이블과, 상기 칼라 프린터의 톤 보정 테이블을 기 저장한 상태에서 상기 3차원 검색 테이블과 상기 톤 보정 테이블을 참조하여 입력된 RGB 칼라값을 RGB/CMY 색좌표 변환식을 통해 CMY 칼라값으로 변환하는 단계와;A three-dimensional lookup table representing color reproduction characteristics of the color printer, a maximum saturation / brightness table having a maximum saturation value for each color obtained from the color gamut characteristics of the color printer and a brightness value corresponding to the maximum saturation value, and a human The three-dimensional retrieval table and the tone correction table in a state in which the brightness vs. black table created by matching the black (K) reproduction values for printing each brightness value on the luminous characteristics, and the tone correction table of the color printer are stored in advance. Converting an RGB color value input with reference to a CMY color value through an RGB / CMY color coordinate conversion equation; 상기 3차원 검색 테이블과 상기 톤 보정 테이블을 참조하여 상기 변환된 CMY 칼라값로부터 명도값(L*)과 채도값(C*)과 색상값(H*)을 계산하는 명도/채도/색상 변환 단계와;A brightness / saturation / color conversion step of calculating brightness values (L * ), saturation values (C * ), and color values (H * ) from the converted CMY color values with reference to the three-dimensional lookup table and the tone correction table. Wow; 상기 계산된 색상값을 인덱스(index)로 하여 상기 최대 채도/명도 테이블(MaxSL)로부터 상기 색상값에 대한 최대 채도값를 판독함과 더불어 상기 최대 채도값에 대응하는 제 1 명도값을 판독하는 단계; 및Reading a maximum chroma value for the color value from the maximum chroma / brightness table MaxSL using the calculated color value as an index, and reading a first brightness value corresponding to the maximum chroma value; And 상기 제 1 명도값을 인덱스로 삼아 상기 명도 대 흑색 테이블(LtoBk)로부터 주어진 상기 제 1 명도값를 재현할 수 있는 제 1 흑색값을 판독하는 단계와;Reading a first black value capable of reproducing the first lightness value given from the lightness versus black table (LtoBk) using the first lightness value as an index; 상기 제 1 흑색값을 초기값으로 하고 계산된 칼라의 명도값과 채도값에 의해 정의한 시그모이드 함수(sigmoid function)를 이용하여 상기 입력된 RGB 칼라값에 적합한 흑색값인 제 2 흑색값을 생성하여 출력하는 단계를 포함하는 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 방법.By using the sigmoid function defined by the brightness value and the saturation value of the calculated color as an initial value and the first black value, a second black value which is a black value suitable for the input RGB color value is generated. Black generation and color halftone processing method in consideration of the color reproduction characteristics of the color printer, characterized in that it comprises the step of outputting. 제 9 항에 있어서, 상기 명도/채도/색상 변환 단계는,The method of claim 9, wherein the brightness / saturation / color conversion step comprises: 상기 3차원 검색 테이블과 상기 톤 보정 테이블을 참조하고 순방향 보간(forward interpolation)을 이용하여 상기 변환된 CMY 칼라값을 CIE L*a*b*칼라값으로 변환하는 단계; 및Referring to the three-dimensional lookup table and the tone correction table and converting the converted CMY color values into CIE L * a * b * color values using forward interpolation; And 상기 변환된 L*a*b*칼라값으로부터 명도값(L*)과 채도값(C*)과 색상값(H*)을계산하는 단계로 구성되는 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 방법.Calculating a color reproduction characteristic of the color printer, characterized by calculating brightness values (L * ), saturation values (C * ), and color values (H * ) from the converted L * a * b * color values. Considered black formation and color halftone treatment methods. 제 9 항에 있어서,The method of claim 9, 상기 CMY 칼라값과 상기 제 2 흑색값을 입력받아 쉐도우 영역에서 나타나는 흑색 잉크와 CMY 칼라 잉크의 조합 특성을 개선하기 위해, 상기 제 2 흑색값에 대한 이진화 문턱치를 가변케 하며 상기 제 2 흑색값의 이진화 결과에 따라 상기 CMY 칼라값에 대한 이진화를 수행하는 단계를 더 포함하는 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 방법.In order to improve the combination characteristics of the black ink and the CMY color ink appearing in the shadow area by receiving the CMY color value and the second black value, the binarization threshold for the second black value is varied and the second black value is changed. The method of black generation and color halftone processing in consideration of the color reproduction characteristics of the color printer, characterized in that further comprising the step of performing the binarization of the CMY color value according to the binarization result. 제 11 항에 있어서, 상기 칼라 중간조 처리 단계는,The method of claim 11, wherein the color halftone processing step, 이치화할 주목 화소를 래스터 스캐닝 순으로 선정하는 단계와;Selecting the pixels of interest to be binarized in raster scanning order; 기설정된 칼라 오차 확산법에 기초하여 상기 주목 화소에 인접한 주변 화소의 흑색(K) 오차값 및 CMY 칼라 오차값을 상기 제 2 흑색값 및 상기 CMY 칼라값으로부터 각각 감산하여 수정 흑색값 및 수정 CMY 칼라값을 산출하는 단계와;Based on a preset color error diffusion method, the black (K) error value and the CMY color error value of the neighboring pixel adjacent to the pixel of interest are subtracted from the second black value and the CMY color value, respectively, to correct the corrected black value and the corrected CMY color value. Calculating a; 상기 수정 CMY 칼라값의 평균값에 제 1 비례 상수를 곱한 제 1 임계값보다 상기 수정 흑색값이 작거나 같은지를 판단하는 단계와;Determining whether the corrected black value is less than or equal to a first threshold value multiplied by a first proportional constant to an average value of the corrected CMY color values; 상기 수정 흑색값이 상기 제 1 임계값보다 작거나 같으면, 최대 계조값에 제2 비례 상수를 곱한 값을 중간 계조값으로부터 감산한 값을 제 2 임계값으로 설정하고, 그렇지 않으면, 상기 최대 계조값에 상기 제 2 비례 상수를 곱한 값과 상기 중간 계조값을 합산한 값을 상기 제 2 임계값으로 설정한 후, 상기 수정 흑색값이 상기 제 2 임계값보다 크거나 같은지를 판단하는 단계와;If the corrected black value is less than or equal to the first threshold value, a value obtained by subtracting the maximum gray scale value by the second proportional constant from the intermediate gray scale value is set as a second threshold value, otherwise, the maximum gray scale value Determining whether the corrected black value is greater than or equal to the second threshold after setting a value obtained by multiplying the second proportionality constant by the second gray scale value to the second threshold value; 상기 수정 흑색값이 상기 제 2 임계값보다 크거나 같으면, 상기 주목 화소를 CMY 잉크를 모두 차단한 채로 흑색 잉크로만으로 인쇄한 후, 상기 주목 화소의 흑색값 및 상기 CMY 칼라값에 대한 오차값을 계산하여 저장하는 단계와;If the corrected black value is greater than or equal to the second threshold value, the pixel of interest is printed with only black ink with all CMY inks blocked, and then the error value for the black value of the pixel of interest and the CMY color value is determined. Calculating and storing; 상기 수정 흑색값이 상기 제 2 임계값보다 작으면, 상기 수정 CMY 칼라값을 크기순으로 정렬하는 단계와;If the corrected black value is less than the second threshold, sorting the corrected CMY color values by size; 상기 수정 CMY 칼라값 중 가장 큰 값이 상기 중간 계조값보다 크거나 같은지를 판단하는 단계와;Determining whether the largest value among the modified CMY color values is greater than or equal to the halftone value; 상기 수정 CMY 칼라값 중 가장 큰 값이 상기 중간 계조값보다 크거나 같으면, 상기 주목 화소를 모든 잉크를 차단한 채로 인쇄한 후, 상기 주목 화소의 흑색값 및 상기 CMY 칼라값에 대한 오차값을 계산하여 저장하는 단계; 및If the largest value among the corrected CMY color values is greater than or equal to the halftone value, the pixel of interest is printed with all the ink blocked, and then an error value for the black value of the pixel of interest and the CMY color value is calculated. Storing by; And 상기 수정 CMY 칼라값 중 가장 큰 값이 상기 중간 계조값보다 작으면, 상기 수정 CMY 칼라값 중 두 번째로 큰 값이 상기 중간 계조값보다 크거나 같은지를 판단하여 상기 중간 계조값보다 크거나 같으면, 상기 주목 화소를 상기 수정 CMY 칼라값 중 가장 큰 값의 해당 칼라 잉크와 두 번째로 큰 값의 해당 잉크만으로 인쇄하고, 그렇지 않으면, 상기 수정 CMY 칼라값 중 가장 큰 값의 해당 칼라 잉크만으로 인쇄한 후, 상기 주목 화소의 흑색값 및 상기 CMY 칼라값에 대한 오차값을 계산하여 저장하는 단계를 포함하는 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 방법.If the largest value among the modified CMY color values is smaller than the intermediate gray scale value, it is determined whether a second largest value among the modified CMY color values is greater than or equal to the intermediate gray scale value, and is greater than or equal to the intermediate gray scale value. Printing the pixel of interest with only the corresponding color ink of the highest value of the corrected CMY color values and the corresponding ink of the second largest value, otherwise printing only with the corresponding color ink of the largest value of the corrected CMY color values And calculating and storing an error value of the black value of the pixel of interest and the CMY color value, in consideration of the color reproduction characteristics of the color printer. 제 12 항에 있어서, 상기 중간 계조값 및 상기 최대 계조값은,The method of claim 12, wherein the intermediate gray value and the maximum gray value, 각각 128 및 225인 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 방법.A black generation and color halftone processing method in consideration of the color reproduction characteristics of the color printer, characterized in that it is 128 and 225, respectively. 제 12 항에 있어서, 상기 제 1 비례 상수 및 상기 제 2 비례 상수는,The method of claim 12, wherein the first proportional constant and the second proportional constant, 각각 0.5 및 0.15인 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 방법.A black generation and color halftone processing method in consideration of color reproduction characteristics of a color printer, characterized in that it is 0.5 and 0.15, respectively. 제 9 항에 있어서, 상기 칼라 프린터의 색역은,The method of claim 9, wherein the color gamut of the color printer, CMY 칼라에 대해 9 ×9 ×9 조합의 샘플을 만들고 인쇄한 후 측색기(color measurement device)를 이용해 CIE XYZ나 CIE L*a*b*의 값을 측정하는 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 방법.Color reproduction characteristics of color printers characterized by measuring and measuring the values of CIE XYZ or CIE L * a * b * using a color measurement device after making and printing a 9 × 9 × 9 combination sample for CMY colors. Black generation and color halftone treatment method taking into consideration. 제 9 항에 있어서,The method of claim 9, 상기 계산된 명도값을 L*로 정하고, 상기 계산된 색상값에 대한 최대 채도값과 상기 최대 채도값에 대응하는 제 1 명도값을 각각α s α l 로 정하며, 상기 계산된 색상값에 대한 최대 명도값과 최소 명도값을 각각 Lmax및 Lmin으로 정할 때,The calculated brightness value is defined as L * , the maximum saturation value for the calculated color value and the first brightness value corresponding to the maximum saturation value are respectively defined as α s and α l , and for the calculated color value When the maximum and minimum brightness values are set to L max and L min , respectively, 상기 계산된 칼라의 명도값과 채도값에 의해 정의한 시그모이드 함수는,Sigmoid function defined by the brightness value and chroma value of the calculated color Is, 와 같이 계산하고,Calculate as 여기서,이고, 만일인 경우에는로 정하고, 상기 입력된 칼라의 색상값과 명도값에 대한 최대 채도값(C* max)은here, And if If is The maximum saturation value (C * max ) for the color value and brightness value of the input color is L*≥αl인 경우,와 같이 계산하고If L * ≥α l And calculate L*< αl인 경우,와 같이 계산하는 것을 특징으로 하는칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 방법.If L *l Black generation and color halftone processing method in consideration of the color reproduction characteristics of the color printer, characterized in that calculated as. 제 9 항에 있어서, 상기 제 2 흑색값은,The method of claim 9, wherein the second black value, 상기 제 1 흑색값과 상기 시그모이드 함수를 승산한 값인 것을 특징으로 하는 칼라 프린터의 칼라 재현 특성을 고려한 흑색 생성과 칼라 중간조 처리 방법.The method of black generation and color halftone processing in consideration of the color reproduction characteristics of the color printer, characterized in that the multiplied by the first black value and the sigmoid function.
KR1019990056023A 1999-12-09 1999-12-09 Method and Apparatus for Generation of Black and Color Halftoning Process in Consideration of Color Reconstructivity in the Color Printer KR100312726B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990056023A KR100312726B1 (en) 1999-12-09 1999-12-09 Method and Apparatus for Generation of Black and Color Halftoning Process in Consideration of Color Reconstructivity in the Color Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990056023A KR100312726B1 (en) 1999-12-09 1999-12-09 Method and Apparatus for Generation of Black and Color Halftoning Process in Consideration of Color Reconstructivity in the Color Printer

Publications (2)

Publication Number Publication Date
KR20010054991A KR20010054991A (en) 2001-07-02
KR100312726B1 true KR100312726B1 (en) 2001-11-05

Family

ID=19624452

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990056023A KR100312726B1 (en) 1999-12-09 1999-12-09 Method and Apparatus for Generation of Black and Color Halftoning Process in Consideration of Color Reconstructivity in the Color Printer

Country Status (1)

Country Link
KR (1) KR100312726B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100707262B1 (en) * 2005-01-28 2007-04-17 삼성전자주식회사 Apparatus for converting color-data in use of color-gamut extension and method thereof

Also Published As

Publication number Publication date
KR20010054991A (en) 2001-07-02

Similar Documents

Publication Publication Date Title
US7251058B2 (en) Method for generating customized ink/media transforms
JP4388553B2 (en) Generate a color conversion profile for printing
US6441923B1 (en) Dynamic creation of color test patterns based on variable print settings for improved color calibration
JP3384580B2 (en) Background removal method
EP0658044B1 (en) Image production using color error diffusion
US5710824A (en) System to improve printer gamut
US6381037B1 (en) Dynamic creation of color test patterns for improved color calibration
US7070252B2 (en) System and method for digital watermarking in a calibrated printing path
Bala et al. Color-to-grayscale conversion to maintain discriminability
US7113310B2 (en) Method of processing image
US7411696B2 (en) Smooth gray component replacement strategy that utilizes the full device gamut
JP4294554B2 (en) Method for retrieving encoded information bits in a printed image such as a digital watermark
US8174728B2 (en) Image processing method and device
US20010009463A1 (en) Image data conversion method
EP0454275B1 (en) Color separation method
JPH07152904A (en) Image processor
KR100312726B1 (en) Method and Apparatus for Generation of Black and Color Halftoning Process in Consideration of Color Reconstructivity in the Color Printer
JP3749102B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP4595771B2 (en) Color conversion device
JP4539979B2 (en) Image processing apparatus and image processing method
JP2000050099A (en) Method for converting unprintable color value into printable color value, picture reproduction system for reproducing color picture, and control means provided with color conversion means fitted to the system
JP3736648B2 (en) Color conversion method and apparatus
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them
JP2002374425A (en) Image processing method, image processing program, image processor, and image forming device equipped with image processor
JP4266002B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium

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: 20060928

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee