KR20010026635A - Color Error Diffusion Method Using Multi-threshold in Color Printing System - Google Patents

Color Error Diffusion Method Using Multi-threshold in Color Printing System Download PDF

Info

Publication number
KR20010026635A
KR20010026635A KR1019990038034A KR19990038034A KR20010026635A KR 20010026635 A KR20010026635 A KR 20010026635A KR 1019990038034 A KR1019990038034 A KR 1019990038034A KR 19990038034 A KR19990038034 A KR 19990038034A KR 20010026635 A KR20010026635 A KR 20010026635A
Authority
KR
South Korea
Prior art keywords
value
cyan
component
threshold
magenta
Prior art date
Application number
KR1019990038034A
Other languages
Korean (ko)
Other versions
KR100334105B1 (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 KR1019990038034A priority Critical patent/KR100334105B1/en
Publication of KR20010026635A publication Critical patent/KR20010026635A/en
Application granted granted Critical
Publication of KR100334105B1 publication Critical patent/KR100334105B1/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/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
    • B41J2/2103Features not dealing with the colouring process per se, e.g. construction of printers or heads, driving circuit adaptations
    • 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
    • B41J2/2132Print quality control characterised by dot disposition, e.g. for reducing white stripes or banding
    • 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
    • B41J2/2132Print quality control characterised by dot disposition, e.g. for reducing white stripes or banding
    • B41J2/2139Compensation for malfunctioning nozzles creating dot place or dot size errors
    • 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
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/52Circuits or arrangements for halftone screening

Abstract

PURPOSE: A method for diffusing multi-stage color error in color printing system is provided to achieve an enhanced color printing quality by preventing colors of identical line from being overlapped with each other. CONSTITUTION: A method comprises a first step(S10) of designating pixels in the order of raster scanning, and converting chromatic component into cyan, magenta and yellow components; a second step(S20) of calculating modified cyan component value by performing error diffusion with respect to cyan; a third step(S30) of judging whether the modified cyan component value is higher than a first threshold value; a fourth step(S40) of determining the cyan component of the subject pixel as cyan, subtracting the maximum gradation value from the modified cyan component value, and storing the result as a cyan gradation error value, if the modified cyan component value is higher than or equal to the first threshold value; a fifth step(S50) of judging whether the modified cyan component value is lower than the first threshold and higher than or equal to the second threshold, if the modified cyan component value is lower than the first threshold; a sixth step(S60) of determining the cyan component of the subject pixel as light cyan, calculating an average threshold, subtracting the modified cyan component value from the average threshold and storing the subtraction result as a cyan gradation error value if the modified cyan component value is lower than the average threshold, and subtracting the average threshold value from the modified cyan component value and storing the result as a cyan gradation error value if else, if it is judged in the fifth step that the modified cyan component value is lower than the first threshold and higher than or equal to the second threshold; a seventh step(S70) of determining the cyan component of the subject pixel as white and storing the modified cyan component value as a cyan gradation error value, if the modified cyan component value is lower than the second threshold.

Description

칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법{Color Error Diffusion Method Using Multi-threshold in Color Printing System}Color Error Diffusion Method Using Multi-threshold in Color Printing System

본 발명은 화상 시스템에서의 칼라 중간조 처리 방법에 관한 것으로, 더욱 상세하게는 6색 칼라 오차 확산 방법에 있어서, 임계값을 다단계로 설정함으로써 토너 또는 잉크의 겹침을 방지하여 계조 표현 단계를 세분화할 수 있도록 하여 인쇄 화질을 개선한 칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법에 관한 것이다.The present invention relates to a color halftone processing method in an image system, and more particularly, in a six-color color error diffusion method, by setting a threshold value in multiple steps to prevent overlapping of toner or ink to subdivide the gradation expression step. The present invention relates to a multi-stage color error diffusion method of a color printing system capable of improving print quality.

중간조 처리 기법 중의 하나인 오차 확산 방법은 고정된 임계값을 기준으로 하여 임계값보다 큰 계조값에는 인쇄를 수행하는 도트로 할당하고, 그렇지 않은 계조값에는 인쇄를 수행하지 않는 도트로 할당하도록 하는 임계값 처리(threshold process)를 통해 연속 계조 화상을 중간조 화상으로 변환·처리한다. 이때, 고정된 임계값을 사용함에 따라 정확도가 결여되는 현상이 발생할 수 있는 데, 이에 따라 오차 확산 방법에서는 연속 계조 화상의 화소값(target pixel value)과 임계화된 이진 화소값(binary pixel value) 간의 오차(error)를 인접한 화소들에 확산(diffusion)시킴으로써 이를 보상하여 이와 같은 문제를 극복하고 있다. 다시 말해서, 현시점에서 처리하고 있는 연속 계조 화상의 이치화 대상 화소값과 임계화된 이진 화소값 간의 오차(error)를 가중치 결정에 참여하는 인접 화소들에 전파시킴으로써 상기한 바와 같은 문제를 해결하고 있는 데, 이와 같은 접근 방식은 몇몇 소수의 도트들에 의해 둘러 쌓인 작은 영역에 걸쳐 있는 연속 계조(continuous tone)를 표현할 시에 더욱 더 우수한 특성을 보이고 있다.The error diffusion method, which is one of the halftone processing techniques, assigns a gray scale value larger than the threshold value as a dot for printing based on a fixed threshold value, and assigns a non-printing dot to a gray scale value other than the threshold value. A continuous gradation image is converted and processed into a halftone image through a threshold process. In this case, a lack of accuracy may occur as a result of using a fixed threshold value. Accordingly, in the error diffusion method, a target pixel value and a thresholded binary pixel value of a continuous grayscale image may occur. This problem is overcome by compensating the error of the liver by diffusing the adjacent pixels. In other words, the above-mentioned problem is solved by propagating an error between the binarization target pixel value and the thresholded binary pixel value of the continuous grayscale image being processed at present to adjacent pixels participating in the weight determination. This approach is even better when it comes to expressing continuous tones over a small area surrounded by some few dots.

일반적으로, 오차 확산 방법은 정렬 디더 방법에 비해 상대적으로 복잡도가 높기 때문에 구현 시, 보다 많은 하드웨어적인 구성 요소가 필요하지만, 화질적인 측면에서 이를 상쇄시킬 수 있을 만큼의 우수한 계조 표현 능력을 갖고 있다.In general, the error diffusion method has a relatively higher complexity than the alignment dither method, and thus requires more hardware components in implementation, but has an excellent gradation expression capability that can offset this in terms of image quality.

그러나, 기본적으로 오차 확산 방법은 워엄 아티팩트(worm artifact), 스타트-업 아티팩트(start-up artifact) 등이 발생하는 단점이 있으며, 중간 밝기값 즉, 8비트의 256 계조 화상을 기준할 때, 127 부근의 계조값이 넓게 분포되어 있는 문서 영역에서 오차값이 잘못 누적됨에 기인하여 일정한 패턴이 연속적으로 생성되어 극심한 시각적 거부감을 초래하는 단점이 있다. 이상에서 살펴본 바와 같은 오차 확산 방법을 적용하여 칼라 프린팅을 수행하기 위해서는 CMY 색체계를 이용하는 칼라 스린팅 시스템을 이용하게 된다.However, the error diffusion method has a disadvantage in that worm artifacts, start-up artifacts, and the like are generated, and based on an intermediate brightness value, that is, 127 gray scale images of 8 bits, 127 An error pattern is accumulated incorrectly in a document area in which adjacent gray scale values are widely distributed, and thus a constant pattern is continuously generated, resulting in severe visual rejection. In order to perform color printing by applying the error diffusion method as described above, a color printing system using a CMY color system is used.

기본적으로, 칼라 프린팅 시스템은 CMY 색좌표계에 입각하여 청록색(Cyan; C), 심홍색(Magenta; M), 노란색(Yellow; Y)의 3 가지색의 잉크를 감색 혼합하여 칼라 프린팅을 수행하고 있다. 이 경우, 한 화소에 대해 청록색(Cyan; C), 심홍색(Magenta; M), 노란색(Yellow; Y), 청색(Blue=Cyan+Magenta; C+M), 적색(Red=Magenta+Yellow; M+Y), 녹색(Green=Yellow +Cyan; Y+C), 흑색(Black=Cyan+Magenta+Yellow; C+M+Y)의 7가지 조합의 칼라를 프린트할 수 있으며, 어떠한 색의 잉크도 찍지 않는 경우(백색, White)를 포함하면 8가지의 색상을 인쇄할 수 있다.Basically, the color printing system performs color printing by mixing three colors of inks, cyan (C), magenta (M), and yellow (Yellow; Y), based on the CMY color coordinate system. In this case, Cyan (C), Magenta (M), Yellow (Y), Blue (Blue = Cyan + Magenta; C + M), and Red (Red = Magenta + Yellow; M) for one pixel. + Y), green (Yellow + Cyan; Y + C), and black (Black = Cyan + Magenta + Yellow; C + M + Y) colors can be printed, and any color ink can be printed. If you do not shoot (white), you can print eight colors.

이에 따라, 칼라 오차 확산 이치화 처리를 수행하기 위해서는 입력 칼라 화상에서 래스터 스캐닝 순으로 주목 화소를 지정하여 주목 화소의 색상 성분을 분리하여 청록색(Cyan; C), 심홍색(Magenta; M), 노란색(Yellow; Y) 계열로 변환한다. 입력 칼라 화상은 RGB 색좌표로 구성되어 있는 것이 일반적임에 따라 이를 CMY 색좌표로 변환할 필요가 있는 데, RGB 색좌표계를 CMY 색좌표계로 변환하는 식은 잘 알려진 바 있는 수학식 1을 이용한다.Accordingly, in order to perform the color error diffusion binarization process, the pixel of interest is designated in the order of raster scanning from the input color image, and the color components of the pixel of interest are separated and cyan (C), magenta (M), and yellow (Yellow). ; Y) Convert to series. As the input color image is generally composed of RGB color coordinates, it is necessary to convert it to CMY color coordinates. The equation for converting an RGB color coordinate system to a CMY color coordinate system uses Equation 1, which is well known.

이 경우, 종래의 3색 칼라 인쇄를 위한 칼라 오차 확산 방법으로는 청록색(Cyan; C), 심홍색(Magenta; M), 노란색(Yellow; Y)에 각각 독립적으로 오차 확산을 적용하는 방법이 대표적이다. 그러나, 이러한 3색 칼라 프린팅 시스템에서는 흑색 색상이 제대로 재현되지 않는 단점이 있기 때문에 흑색 잉크를 첨가한 4색 칼라 프린팅 시스템이 등장하였으며, 최근에는 칼라 재현성을 개선하기 위해 CMYK에 밝은 청록색(light cyan; C')과 밝은 심홍색(light magenta; M')이 추가된 6색 칼라 프린팅 시스템이 적극적으로 도입되고 있는 추세이다.In this case, the conventional method of spreading the color error for three-color printing is a method of applying the error diffusion independently to cyan (Cyan; C), magenta (M), and yellow (Yellow; Y). . However, such a three-color printing system has a disadvantage in that black colors are not reproduced properly, and thus, a four-color color printing system with black ink has been introduced, and in recent years, a light cyan; Six color printing systems with C ') and light magenta (M') are being actively introduced.

4색 또는 6색 칼라 프린팅 시스템에서처럼 토너나 잉크의 종류가 많아지면 서로 겹쳐지면서 종이에 도포된 토너나 잉크는 벗겨지거나 얼룩이 생기게 된다. 또한, 잉크처럼 액상인 경우는 그 물질의 특성상 겹치게 되면 종이가 찌그러지거나 잉크의 소모가 많아지고 계조 표현의 범위가 좁아지게 된다. 특히, CMYKC'M'의 색상이 고르게 분포되어 있는 원고를 프린트하거나 복사할 경우 단일 임계값을 이용하게 되면 동일 계열 색상의 토너나 잉크들, 즉, C와 C' 또는 M과 M'가 같은 화소에서 겹치게 되는 경우가 발생하는 문제점이 있다.As with four or six color printing systems, toner or ink increases in number, and the toner or ink applied to the paper is peeled off or stained. In addition, in the case of a liquid like ink, when overlapping due to the properties of the material, the paper is crushed or the ink is consumed more and the range of gradation expression is narrowed. In particular, when printing or copying a document with evenly distributed CMYKC'M 'colors, using a single threshold value, toners or inks of the same color, ie, C and C' or M and M 'are the same pixel There is a problem that occurs when overlapping.

따라서, 본 발명은 이와 같은 문제점을 해결하기 위해 안출된 것으로, 6색 칼라 프린팅 시스템의 칼라 오차 확산 방법에 있어서, 동일 계열 색상의 임계값을 서로 다른 값을 갖도록 다단계로 설정함으로써 C와 C' 또는 M과 M'와 같은 동일 계열 색상끼리 겹치는 현상을 차단하여 칼라 프린팅 화질을 개선하도록 한 칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been made to solve such a problem, in the color error diffusion method of the six-color color printing system, by setting the threshold value of the same series color in multiple stages to have different values C or C 'or It is an object of the present invention to provide a multi-stage color error diffusion method of a color printing system which improves color printing quality by blocking overlapping colors of the same series such as M and M '.

도 1a 및 도 1b는 본 발명에 따른 칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법의 바람직한 실시예를 나타낸 순서도,1a and 1b is a flow chart showing a preferred embodiment of a multi-stage color error diffusion method of a color printing system according to the present invention,

도 2a 및 도 2b는 각각 플로이드-스타인베르그 및 스터키가 제안한 오차 확산 마스크를 나타낸 예시도,2A and 2B are exemplary diagrams showing an error diffusion mask proposed by Floyd-Ssteinberg and Stucky, respectively.

도 3은 고정 임계값을 이용하는 기존의 6칼라 프린팅 시스템의 칼라 오차 확산 방법에 의한 프린팅 색상 영역의 분할을 나타낸 예시도,3 is an exemplary diagram showing division of a printing color gamut by a color error diffusion method of a conventional six-color printing system using a fixed threshold value.

도 4는 복수의 임계값들을 이용하는 본 발명에 의한 프린팅 색상 영역의 분할을 나타낸 예시도이다.4 is an exemplary diagram illustrating division of a printing color gamut according to the present invention using a plurality of thresholds.

이와 같은 목적을 달성하기 위해 본 발명에 따른 칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법은, 청록색(Cyan; C), 심홍색(Magenta; M), 노란색(Yellow; Y), 밝은 청록색(Light Cyan; C'), 밝은 심홍색(Light Magenta; M')을 프린팅 원색으로 포함하는 칼라 프린팅 시스템의 오차 확산 방법에 있어서, 한 개의 화소를 여러 가지 칼라를 사용하여 표현할 경우, 특히, 심홍색과 밝은 심홍색로 구성된 청록색 계열과 심홍색과 밝은 심홍색으로 구성된 심홍색 계열을 표현할 경우, 하나의 화소에 대해 여러 개의 임계값을 설정하고 그 설정된 임계 구간 내에서는 지정된 칼라만 표현되도록 함으로써 서로 다른 칼라가 중복되어 출력되는 것을 방지함으로써 동일 계열 색상이 겹치는 현상을 차단하여 칼라 프린팅 화질을 개선한 것이 특징이다.In order to achieve the above object, the multi-stage color error diffusion method of the color printing system according to the present invention includes cyan, cyan, magenta, m, yellow, y, and light cyan. '), In the error diffusion method of a color printing system that includes a light magenta (M') as a printing primary color, when one pixel is expressed using a plurality of colors, in particular a cyan color consisting of magenta and light magenta When expressing series and magenta series composed of magenta and bright magenta, set multiple thresholds for one pixel and express only the designated color within the set threshold section to prevent different colors from being duplicated. It is characterized by improving color printing quality by preventing overlapping of series colors.

이하, 본 발명에 따른 칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법의 바람직한 실시예를 첨부한 도 1a 및 도 1b를 참조하여 설명하면 다음과 같다.Hereinafter, a preferred embodiment of the multi-stage color error diffusion method of the color printing system according to the present invention will be described with reference to FIGS. 1A and 1B.

도 1a 및 도 1b는 본 발명에 따른 칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법의 바람직한 실시예를 나타낸 순서도이다.1A and 1B are flowcharts showing a preferred embodiment of the multi-stage color error diffusion method of the color printing system according to the present invention.

본 발명에 따른 칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법의 바람직한 실시예를 도 1a 및 도 1b에 도시한 바와 같이, 연속 계조를 갖는 이치화 대상 화상의 화소값과 임계화된 이진 화소값 간의 계조 오차값(gray level error value)을 기설정된 가중치에 따라 인접 화소들에 확산시켜 이치화를 수행하는 칼라 프린팅 시스템의 오차 확산 방법에 있어서, 입력 칼라 화상에서 래스터 스캐닝 순으로 주목 화소를 지정하여 주목 화소의 색상 성분을 분리한 후, 청록색(Cyan; C) 성분, 심홍색(Magenta; M) 성분, 노란색(Yellow; Y) 성분으로 변환하는 단계(S10)와;As shown in Figs. 1A and 1B, a preferred embodiment of the multi-stage color error diffusion method of the color printing system according to the present invention, the gray level error value between the pixel value of the binarized target image having the continuous gray level and the thresholded binary pixel value In an error diffusion method of a color printing system in which a gray level error value is diffused to adjacent pixels according to a predetermined weight to perform binarization, a color component of a pixel of interest is specified by specifying the pixel of interest in the order of raster scanning in an input color image. Separating and converting into a cyan (Cyan; C) component, a magenta (M) component, a yellow (Yellow; Y) component (S10);

상기 청록색 성분(C)에 대해 오차 확산 처리를 수행하여 수정 청록색 성분값을 산출하는 단계(S20)와;Calculating a corrected cyan component value by performing an error diffusion process on the cyan component (C) (S20);

상기 수정 청록색 성분값이 제 1 임계값(th1, 본원에서는 170임)보다 크거나 같은지를 판단하는 단계(S30)와;Determining whether the corrected cyan component value is greater than or equal to a first threshold (th1, herein 170) (S30);

상기 수정 청록색 성분값이 상기 제 1 임계값(th1)보다 크거나 같으면, 상기 주목 화소의 청록색 성분을 청록색으로 인쇄하는 것으로 결정한 후, 상기 수정 청록색 성분값에서 최대 계조값을 감산하여 청록색 계조 오차값으로 저장하는 단계(S40)와;If the corrected cyan component value is greater than or equal to the first threshold value th1, after determining that the cyan component of the pixel of interest is printed in cyan, the maximum gray value is subtracted from the correct cyan component value, and the cyan gray error value is determined. Storing at step S40;

상기 수정 청록색 성분값이 상기 제 1 임계값(th1)보다 작으면, 상기 수정 청록색 성분값이 상기 제 1 임계값(th1)보다 작고 제 2 임계값(th2, 본원에서는 85임)보다 크거나 같은지를 판단하는 단계(S50)와;If the modified cyan component value is less than the first threshold th1, whether the modified cyan component value is less than the first threshold th1 and greater than or equal to a second threshold th2 (here, 85). Determining (S50);

상기 수정 청록색 성분값이 상기 제 1 임계값(th1)보다 작고 상기 제 2 임계값(th2)보다 크거나 같으면, 상기 주목 화소의 청록색 성분을 밝은 청록색(C')으로 인쇄하는 것으로 결정한 후, 상기 제 1 임계값(th1)과 상기 제 2 임계값(th2)을 평균한 평균 임계값을 산출하여 상기 수정 청록색 성분값이 상기 평균 임계값보다 작으면 상기 평균 임계값으로부터 상기 수정 청록색 성분값을 감산하여 청록색 계조 오차값으로 저장하고 그렇게 않으면, 상기 수정 청록색 성분값으로부터 상기 평균 임계값을 감산하여 청록색 계조 오차값으로 저장하는 단계(S60)와;If the corrected cyan component value is less than the first threshold th1 and greater than or equal to the second threshold th2, it is determined that the cyan component of the pixel of interest is printed with light cyan (C ′). An average threshold value obtained by averaging a first threshold value th1 and the second threshold value th2 is calculated, and if the corrected cyan component value is smaller than the average threshold value, the corrected cyan component value is subtracted from the average threshold value. Storing as a cyan gradation error value; otherwise, subtracting the average threshold value from the corrected cyan constituent value and storing it as a cyan gradation error value (S60);

상기 수정 청록색 성분값이 상기 제 2 임계값(th2)보다 작으면, 상기 주목 화소의 청록색 성분을 흰색으로 처리하는 것으로 결정한 후, 상기 수정 청록색 성분값을 청록색 계조 오차값으로 저장하는 단계(S70)와;If the corrected cyan component value is smaller than the second threshold value th2, after determining that the cyan component of the pixel of interest is processed to white, storing the corrected cyan component value as a cyan gray scale error value (S70). Wow;

상기 심홍색 성분(M)에 대해 오차 확산 처리를 수행하여 수정 심홍색 성분값을 산출하는 단계(S80)와;Calculating a corrected magenta component value by performing an error diffusion process on the magenta component (M) (S80);

상기 수정 심홍색 성분값이 제 1 임계값(th1)보다 크거나 같은지를 판단하는 단계(S90)와;Determining whether the corrected magenta component value is greater than or equal to a first threshold value th1 (S90);

상기 수정 심홍색 성분값이 상기 제 1 임계값(th1)보다 크거나 같으면, 상기 주목 화소의 심홍색 성분을 심홍색으로 인쇄하는 것으로 결정한 후, 상기 수정 심홍색 성분값에서 최대 계조값을 감산하여 심홍색 계조 오차값으로 저장하는 단계(S100)와;If the corrected magenta component value is greater than or equal to the first threshold th1, after determining that the magenta component of the pixel of interest is to be printed in magenta, the maximum gray scale value is subtracted from the correct magenta component value to increase the magenta gray scale error value. Storing at step S100;

상기 수정 심홍색 성분값이 상기 제 1 임계값(th1)보다 작으면, 상기 수정 심홍색 성분값이 상기 제 1 임계값(th1)보다 작고 제 2 임계값(th2)보다 크거나 같은지를 판단하는 단계(S110)와;If the corrected magenta component value is less than the first threshold th1, determining whether the corrected magenta component value is less than the first threshold th1 and greater than or equal to a second threshold th2 ( S110);

상기 수정 심홍색 성분값이 상기 제 1 임계값(th1)보다 작고 상기 제 2 임계값(th2)보다 크거나 같으면, 상기 주목 화소의 심홍색 성분을 밝은 심홍색(M')으로 인쇄하는 것으로 결정한 후, 상기 제 1 임계값(th1)과 상기 제 2 임계값(th2)을 평균한 평균 임계값을 산출하여 상기 수정 심홍색 성분값이 상기 평균 임계값보다 작으면 상기 평균 임계값으로부터 상기 수정 심홍색 성분값을 감산하여 심홍색 계조 오차값으로 저장하고 그렇게 않으면, 상기 수정 심홍색 성분값으로부터 상기 평균 임계값을 감산하여 심홍색 계조 오차값으로 저장하는 단계(S120)와;If the corrected magenta component value is less than the first threshold value th1 and greater than or equal to the second threshold value th2, after determining that the magenta component of the pixel of interest is printed in bright magenta M ′, the An average threshold value obtained by averaging a first threshold value th1 and the second threshold value th2 is calculated, and if the corrected magenta component value is smaller than the average threshold value, the corrected magenta component value is subtracted from the average threshold value. Storing as a magenta gradation error value; otherwise, subtracting the average threshold value from the corrected magenta constituent value and storing it as a magenta gradation error value (S120);

상기 수정 심홍색 성분값이 상기 제 2 임계값(th2)보다 작으면, 상기 주목 화소의 심홍색 성분을 흰색으로 처리하는 것으로 결정한 후, 상기 수정 심홍색 성분값을 심홍색 계조 오차값으로 저장하는 단계(S130)와;If the corrected magenta component value is smaller than the second threshold value th2, determining that the magenta component of the pixel of interest is processed in white, and then storing the corrected magenta component value as a magenta gradation error value (S130). Wow;

상기 노란색 성분(Y)에 대해 오차 확산 처리를 수행하여 수정 노란색 성분값을 산출하는 단계(S140)와;Calculating a corrected yellow component value by performing an error diffusion process on the yellow component (Y) (S140);

상기 수정 노란색 성분값이 중간 계조값보다 크거나 같은지를 판단하는 단계(S150)와;Determining whether the corrected yellow component value is greater than or equal to a halftone value (S150);

상기 수정 노란색 성분값이 상기 중간 계조값보다 크거나 같으면, 상기 주목 화소의 노란색 성분을 노란색으로 인쇄하는 것으로 결정한 후, 상기 수정 노란색 성분값에서 최대 계조값을 감산하여 노란색 계조 오차값으로 저장하는 단계(S160)와;If the corrected yellow component value is greater than or equal to the intermediate gray scale value, determining to print the yellow component of the pixel of interest in yellow, and then subtracting the maximum gray scale value from the corrected yellow component value as a yellow gray error value (S160);

상기 수정 노란색 성분값이 상기 중간 계조값보다 작으면, 상기 주목 화소의 노란색 성분을 흰색으로 처리하는 것으로 결정한 후, 상기 수정 노란색 성분값을 노란색 계조 오차값으로 저장하는 단계(S170)를 수행하도록 구성된다.If the corrected yellow component value is smaller than the intermediate gray scale value, it is determined to process the yellow component of the pixel of interest as white, and then storing the corrected yellow component value as a yellow gray error value (S170). do.

여기서, 상기 제 1 임계값(th1) 및 상기 제 2 임계값(th2)은 각각 화소당 비트수가 8비트인 경우를 기준할 때, 각각 170 및 85인 것이 바람직하고, 상기 중간 계조값과 상기 최대 계조값은 각각 128 및 255인 것이 바람직하다.Here, the first threshold value th1 and the second threshold value th2 are preferably 170 and 85, respectively, based on the case where the number of bits per pixel is 8 bits, respectively. The gradation value is preferably 128 and 255, respectively.

이와 같이 구성된 본 발명에 따른 칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법의 바람직한 실시예의 작용을 도면을 참조하여 상세하게 설명하기로 한다.The operation of the preferred embodiment of the multi-stage color error diffusion method of the color printing system according to the present invention configured as described above will be described in detail with reference to the accompanying drawings.

주지하다시피, 공지된 오차 확산 방법 중 대표적인 방법은 플로이드와 스타인베르그(Floyd-Steinberg)가 제안한 방법이 있으며, 또 다른 대표적인 방법으로는 스터키(Stucki)가 제안한 방법이 있다.As is well known, a representative method of the known error diffusion methods is a method proposed by Floyd and Steinberg, and another representative method is a method proposed by Stucki.

도 2a는 플로이드와 스타인베르그가 제안한 오차 확산 마스크이고, 도 2b는 스터키가 제안한 오차 확산 마스크이다.FIG. 2A is an error diffusion mask proposed by Floyd and Steinberg, and FIG. 2B is an error diffusion mask proposed by Stucky.

플로이드-스타인베르그에 의한 오차 확산 방법은 23 오차 확산 마스크를 이용하기 때문에 비교적 적은 메모리를 필요로 할뿐만 아니라 화질면에서도 어느 정도의 성능을 보장받을 수 있는 장점이 있는 반면에 오차 확산 마스크의 크기가 너무 작은 관계로 주변 화소를 적절하게 고려하지 못함에 따라 오차값이 잘못 누적되는 경우가 자주 발생한다. 이런 문제를 해결하기 위한 하나의 대안으로 스터키는 도 2b의 35 오차 확산 마스크를 공지하고 있다.Error diffusion method by Floyd Steinberg is 2 The use of 3 error diffusion masks not only requires relatively little memory, but also has some advantages in terms of image quality.However, due to the size of the error diffusion masks, the surrounding pixels are properly considered. Failure to do so often results in incorrect error accumulation. As an alternative to solving this problem, Stucky has shown 3 in FIG. Five error diffusion masks are known.

예컨대, 플로이드와 스타인베르그((Floyd-Steinberg)가 제안한 오차 확산 마스크(error diffusion mask)는 도 2a와 같은 데, 이 오차 확산 마스크의 각 셀(cell) 내에 기술된 숫자들은 해당 위치의 화소가 갖는, 이치화 시에 발생한 계조 오차값들의 가중치를 의미한다. 통상, 오차 확산 방법은 라인 메모리를 통해 이전 라인의 계조 오차값을 저장하고 있어야 함은 가장 기본적인 전제 사항이다.For example, the error diffusion mask proposed by Floyd-Steinberg is shown in FIG. 2A, and the numbers described in each cell of the error diffusion mask are represented by In other words, the error diffusion method is the most basic premise that the error diffusion method should store the gray level error value of the previous line through the line memory.

수학식 2와 같이, 현 좌표 위치(v, h)의 주목 화소값 I(v, h)과 인접 화소들의 계조 오차값들E(v-1, h-1), E(v-1, h), E(v-1, h+1), E(v, h-1)에 상관성 정도에 따라 각각 1/16, 5/16, 3/16, 7/16의 가중치를 적용하여 수정 주목 화소값 I(v,h)을 산출한다. 여기서, v는 수직 좌표(vertical coordinate)이며, h는 수평 좌표(horizontal coordinate)이다.As shown in Equation 2, the pixel value I (v, h) of interest at the current coordinate position (v, h) and the gray level error values E (v-1, h-1) and E (v-1, h of adjacent pixels ), E (v-1, h + 1), and E (v, h-1) by applying weights of 1/16, 5/16, 3/16, and 7/16, respectively, depending on the degree of correlation Calculate the value I (v, h). Where v is vertical coordinate and h is horizontal coordinate.

수학식 2를 통해 수정 주목 화소값 I'(v,h)을 산출한 후, 수학식 3과 같은 조건식에 의해 현 좌표 위치(v, h)에 대한 이치화 결과값 O(v,h)을 산출하고, 해당 위치에 대한 계조 오차값 E(v, h)을 산출한다.After calculating the corrected pixel value I '(v, h) through Equation 2, the binarized result value O (v, h) with respect to the current coordinate position (v, h) is calculated using the conditional expression as shown in Equation 3 below. Then, the tone error value E (v, h) for the position is calculated.

다시 말해서, 수정 주목 화소값 I'(v,h)이 기설정된 고정 임계값(TH`_F, 화소당 비트수가 8비트인 256 계조 화상을 기준할 때, 127이 됨)보다 크거나 같으면, 이치화 결과값 O(v,h)으로 백색(WHITE)을 출력한 후, 주목 화소값 I(v, h)에서 최대 계조값(화소당 비트수가 8비트인 256 계조 화상을 기준할 때, 255가 됨)을 감산하여 해당 위치에 대한 계조 오차값 E(v, h)으로 지정하고, 그렇지 않으면, 이치화 결과값 O(v,h)으로 흑색(BLOCK)을 출력한 후, 주목 화소값 I(v, h)을 해당 위치에 대한 계조 오차값 E(v, h)으로 지정한다.In other words, if the corrected pixel value of interest I '(v, h) is greater than or equal to the preset fixed threshold value (TH`_F, which becomes 127 when referring to a 256-gradation image having 8 bits per pixel), After outputting white (WHITE) with the result value O (v, h), the maximum grayscale value at the pixel value I (v, h) of interest becomes 255 when referring to a 256 grayscale image with 8 bits of pixels. ) Is subtracted and specified as the gradation error value E (v, h) for the corresponding position, otherwise, black (BLOCK) is output as the binarization result value O (v, h), and the pixel value I (v, h) is designated as the gradation error value E (v, h) for the corresponding position.

본 발명은 기본적으로, 청록색(Cyan; C), 심홍색(Magenta; M), 노란색(Yellow; Y), 흑색(blacK; K), 밝은 청록색(Light Cyan; C'), 밝은 심홍색(Light Magenta; M')을 프린팅 원색으로 구성된 6 칼라 프린팅 시스템에 기반한다.The present invention basically includes Cyan (C), Magenta (M), Yellow (Y), Black (K), Light Cyan (C '), Light Magenta (Light Magenta). M ') is based on a six-color printing system consisting of printing primary colors.

도 3은 고정 임계값을 이용하는 기존의 6칼라 프린팅 시스템의 칼라 오차 확산 방법에 의한 프린팅 색상 영역의 분할을 나타낸 예시도이고, 도 4는 복수의 임계값들을 이용하는 본 발명에 의한 프린팅 색상 영역의 분할을 나타낸 예시도이다.FIG. 3 is an exemplary diagram showing division of a printing color gamut by a color error diffusion method of a conventional six-color printing system using a fixed threshold, and FIG. 4 is a division of a printing color gamut according to the present invention using a plurality of thresholds. It is an exemplary diagram showing.

기존의 6칼라 프린팅 시스템의 칼라 오차 확산 방법은 도 3에 도시한 바와 같이, 각 칼라 성분에 대해 고정 임계값만을 사용하기 때문에 C와 C' 및 M과 M'와 같은 동일 계열 색상이 겹치는 현상이 발생되는 데, 본 발명에서는 이와 같은 겹침 현상을 차단하기 위해 도 4와 같이 복수의 임계값들을 사용하고 있다.In the conventional color error diffusion method of the conventional six-color printing system, as shown in FIG. 3, since only a fixed threshold value is used for each color component, the same series colors such as C and C 'and M and M' overlap with each other. In order to prevent such overlapping phenomenon, the present invention uses a plurality of threshold values as shown in FIG. 4.

우선, 단계(S10)에서는 입력 칼라 화상에서 래스터 스캐닝 순으로 주목 화소를 지정하여 주목 화소의 색상 성분을 분리한 후, 청록색(Cyan; C) 성분, 심홍색(Magenta; M) 성분, 노란색(Yellow; Y) 성분으로 변환한다.First, in step S10, the pixel of interest is separated by specifying the pixel of interest in the order of raster scanning from the input color image, and then the cyan (C) component, the magenta (M) component, and the yellow (Yellow; Y) Convert to component.

이후, 단계(S20)에서는 상기 청록색 성분(C)에 대해 오차 확산 처리를 수행하여 수정 청록색 성분값을 산출한다.Subsequently, in step S20, an error diffusion process is performed on the cyan component C to calculate a correct cyan component value.

다음으로, 단계(S30)에서는 상기 수정 청록색 성분값이 제 1 임계값(th1)보다 크거나 같은지를 판단한다.Next, in step S30, it is determined whether the corrected cyan component value is greater than or equal to the first threshold value th1.

단계(S30)의 판단 결과, 상기 수정 청록색 성분값이 상기 제 1 임계값(th1)보다 크거나 같으면, 단계(S40)에서는 상기 주목 화소의 청록색 성분을 청록색으로 인쇄하는 것으로 결정한 후, 상기 수정 청록색 성분값에서 최대 계조값을 감산하여 청록색 계조 오차값으로 저장한다.As a result of the determination in step S30, if the corrected cyan component value is greater than or equal to the first threshold value th1, in step S40, after determining that the cyan component of the pixel of interest is printed in cyan, the correct cyan color is determined. The maximum gray value is subtracted from the component value and stored as a cyan error value.

반면, 단계(S30)의 판단 결과, 상기 수정 청록색 성분값이 상기 제 1 임계값(th1)보다 작으면, 단계(S50)에서는 상기 수정 청록색 성분값이 상기 제 1 임계값(th1)보다 작고 제 2 임계값(th2)보다 크거나 같은지를 판단한다.On the other hand, if the corrected cyan component value is smaller than the first threshold value th1 as a result of the determination in step S30, the corrected cyan component value is smaller than the first threshold value th1 in step S50. It is determined whether it is greater than or equal to two thresholds th2.

단계(S50)의 판단 결과, 상기 수정 청록색 성분값이 상기 제 1 임계값(th1)보다 작고 상기 제 2 임계값(th2)보다 크거나 같으면, 단계(S60)에서는 상기 주목 화소의 청록색 성분을 밝은 청록색(C')으로 인쇄하는 것으로 결정한 후, 상기 제 1 임계값(th1)과 상기 제 2 임계값(th2)을 평균한 평균 임계값을 산출하여 상기 수정 청록색 성분값이 상기 평균 임계값보다 작으면 상기 평균 임계값으로부터 상기 수정 청록색 성분값을 감산하여 청록색 계조 오차값으로 저장하고 그렇게 않으면, 상기 수정 청록색 성분값으로부터 상기 평균 임계값을 감산하여 청록색 계조 오차값으로 저장한다.As a result of the determination in step S50, when the corrected cyan component value is less than the first threshold th1 and greater than or equal to the second threshold th2, in step S60, the cyan component of the pixel of interest is bright. After determining to print in cyan (C '), an average threshold is obtained by averaging the first threshold th1 and the second threshold th2 so that the corrected cyan component value is less than the average threshold. If so, the corrected cyan component value is subtracted from the average threshold and stored as a cyan gradation error value. Otherwise, the average threshold value is subtracted from the corrected cyan component value and stored as a cyan gradation error value.

단계(S50)의 판단 결과, 상기 수정 청록색 성분값이 상기 제 2 임계값(th2)보다 작으면, 단계(S70)에서는 상기 주목 화소의 청록색 성분을 흰색으로 처리하는 것으로 결정한 후, 상기 수정 청록색 성분값을 청록색 계조 오차값으로 저장한다.As a result of the determination in step S50, if the corrected cyan component value is smaller than the second threshold value th2, in step S70 it is determined that the cyan component of the pixel of interest is treated as white, and then the corrected cyan component The value is stored as a cyan error value.

이와 같은 동일 계열의 색상인 청록색(C)과 밝은 청록색(C')의 임계값이 서로 다른 값을 갖도록 다단계로 설정함으로써 C과 C'이 겹치는 현상을 차단하여 칼라 프린팅 화질을 개선할 수 있다.By setting the threshold values of the same series of colors of cyan (C) and light cyan (C ') to have different values, the color printing quality can be improved by blocking the phenomenon of C and C' overlapping.

이하의 과정에서는 청록색 계열의 처리에서와 마찬가지로, 심홍색 계열에서도 M과 M'이 겹치는 현상을 차단하기 위해 다음과 오차 확산 처리를 수행한다.In the following process, as in the turquoise series process, the following error diffusion process is performed in order to prevent the phenomenon of M and M 'overlapping in the magenta series.

단계(S80)에서는 상기 심홍색 성분(M)에 대해 오차 확산 처리를 수행하여 수정 심홍색 성분값을 산출한다.In step S80, an error diffusion process is performed on the deep red component M to calculate a corrected deep red component value.

단계(S90)에서는 상기 수정 심홍색 성분값이 제 1 임계값(th1)보다 크거나 같은지를 판단한다.In step S90, it is determined whether the corrected magenta component value is greater than or equal to the first threshold value th1.

단계(S90)의 판단 결과, 상기 수정 심홍색 성분값이 상기 제 1 임계값(th1)보다 크거나 같으면, 단계(S100)에서는 상기 주목 화소의 심홍색 성분을 심홍색으로 인쇄하는 것으로 결정한 후, 상기 수정 심홍색 성분값에서 최대 계조값을 감산하여 심홍색 계조 오차값으로 저장한다.As a result of the determination in step S90, if the corrected magenta component value is greater than or equal to the first threshold value th1, in step S100, after determining that the magenta component of the pixel of interest is printed in magenta, the correction magenta The maximum gray value is subtracted from the component value and stored as a magenta gray error value.

반면, 단계(S90)의 판단 결과, 상기 수정 심홍색 성분값이 상기 제 1 임계값(th1)보다 작으면, 단계(S110)에서는 상기 수정 심홍색 성분값이 상기 제 1 임계값(th1)보다 작고 제 2 임계값(th2)보다 크거나 같은지를 판단한다.On the other hand, if it is determined in step S90 that the corrected magenta component value is less than the first threshold value th1, then in step S110 the corrected magenta component value is smaller than the first threshold value th1 and is equal to the first threshold value th1. It is determined whether it is greater than or equal to two thresholds th2.

단계(S110)의 판단 결과, 상기 수정 심홍색 성분값이 상기 제 1 임계값(th1)보다 작고 상기 제 2 임계값(th2)보다 크거나 같으면, 단계(S120)에서는 상기 주목 화소의 심홍색 성분을 밝은 심홍색(M')으로 인쇄하는 것으로 결정한 후, 상기 제 1 임계값(th1)과 상기 제 2 임계값(th2)을 평균한 평균 임계값을 산출하여 상기 수정 심홍색 성분값이 상기 평균 임계값보다 작으면 상기 평균 임계값으로부터 상기 수정 심홍색 성분값을 감산하여 심홍색 계조 오차값으로 저장하고 그렇게 않으면, 상기 수정 심홍색 성분값으로부터 상기 평균 임계값을 감산하여 심홍색 계조 오차값으로 저장한다.As a result of the determination in step S110, when the corrected magenta component value is less than the first threshold th1 and greater than or equal to the second threshold th2, in step S120, the magenta component of the pixel of interest is bright. After determining to print in magenta (M '), an average threshold value obtained by averaging the first threshold value th1 and the second threshold value th2 is calculated so that the corrected magenta component value is less than the average threshold value. If so, the corrected magenta component value is subtracted from the average threshold value and stored as a magenta gradation error value. Otherwise, the average threshold value is subtracted from the corrected magenta component value and stored as a magenta gradation error value.

반면에 단계(S110)의 판단 결과, 상기 수정 심홍색 성분값이 상기 제 2 임계값(th2)보다 작으면, 단계(S130)에서는 상기 주목 화소의 심홍색 성분을 흰색으로 처리하는 것으로 결정한 후, 상기 수정 심홍색 성분값을 심홍색 계조 오차값으로 저장한다.On the other hand, if it is determined in step S110 that the corrected magenta component value is less than the second threshold value th2, in step S130 it is determined that the magenta component of the pixel of interest is treated as white, and then the correction is made. The magenta component value is stored as a magenta tone error value.

이와 같은 동일 계열의 색상인 심홍색(M)과 밝은 심홍색(M')의 임계값이 서로 다른 값을 갖도록 다단계로 설정함으로써 M과 M'이 겹치는 현상을 차단하여 칼라 프린팅 화질을 개선할 수 있다.By setting the threshold values of the magenta (M) and the bright magenta (M '), which are the same color, in different stages, color printing quality can be improved by blocking the overlapping phenomenon of M and M'.

한편, 6색 칼라 프린팅 시스템을 기준할 때, 노란색은 일반적인 칼라 오차 확산 방법에 따라 오차 확산 처리를 수행한다.On the other hand, when referring to the six-color color printing system, yellow performs the error diffusion process according to the general color error diffusion method.

단계(S140)에서는 상기 노란색 성분(Y)에 대해 오차 확산 처리를 수행하여 수정 노란색 성분값을 산출하고, 단계(S150)에서는 상기 수정 노란색 성분값이 중간 계조값보다 크거나 같은지를 판단한다.In step S140, an error diffusion process is performed on the yellow component Y to calculate a corrected yellow component value. In step S150, it is determined whether the corrected yellow component value is greater than or equal to the intermediate gray value.

단계(S150)의 판단 결과, 상기 수정 노란색 성분값이 상기 중간 계조값보다 크거나 같으면, 단계(S160)에서는 상기 주목 화소의 노란색 성분을 노란색으로 인쇄하는 것으로 결정한 후, 상기 수정 노란색 성분값에서 최대 계조값을 감산하여 노란색 계조 오차값으로 저장한다.If the corrected yellow component value is greater than or equal to the intermediate gradation value as a result of the determination in step S150, in step S160, after determining that the yellow component of the pixel of interest is printed in yellow, the maximum value of the corrected yellow component value is determined. The gray scale value is subtracted and stored as a yellow gray scale error value.

단계(S150)의 판단 결과, 상기 수정 노란색 성분값이 상기 중간 계조값보다 작으면, 단계(S170)에서는 상기 주목 화소의 노란색 성분을 흰색으로 처리하는 것으로 결정한 후, 상기 수정 노란색 성분값을 노란색 계조 오차값으로 저장한다.As a result of the determination in step S150, if the corrected yellow component value is smaller than the intermediate gray scale value, in step S170, it is determined that the yellow component of the pixel of interest is processed in white, and then the corrected yellow component value is yellow in gray scale. Store as an error value.

본원에서 사용되는 용어(terminology)들은 본 발명에서의 기능을 고려하여 정의 내려진 용어들로써 이는 당분야에 종사하는 기술자의 의도 또는 관례 등에 따라 달라질 수 있으므로 그 정의는 본원의 전반에 걸친 내용을 토대로 내려져야 할 것이다.Terminologies used herein are terms defined in consideration of functions in the present invention, which may vary according to the intention or customs of those skilled in the art, and the definitions 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.

이상에서 설명한 바와 같이, 청록색(Cyan; C), 심홍색(Magenta; M), 노란색(Yellow; Y), 밝은 청록색(Light Cyan; C'), 밝은 심홍색(Light Magenta; M')을 프린팅 원색으로 포함하는 칼라 프린팅 시스템의 오차 확산 방법에 있어서, 한 개의 화소를 여러 가지 칼라를 사용하여 표현할 경우, 특히, 심홍색과 밝은 심홍색로 구성된 청록색 계열과 심홍색과 밝은 심홍색으로 구성된 심홍색 계열을 표현할 경우, 하나의 화소에 대해 여러 개의 임계값을 설정하고 그 설정된 임계 구간 내에서는 지정된 칼라만 표현되도록 함으로써 서로 다른 칼라가 중복되어 출력되는 것을 방지하도록 한 본 발명에 따르면, 동일 계열 색상이 겹치는 현상을 차단하여 칼라 프린팅 화질을 개선할 수 있는 이점이 있다.As described above, cyan (C), magenta (M), yellow (Y), light cyan (C '), and light magenta (M') are used as printing primary colors. In the error diffusion method of a color printing system including a single pixel when using a plurality of colors, in particular, when representing a cyan series composed of magenta and light magenta, and a magenta series composed of magenta and light magenta, According to the present invention, a plurality of threshold values are set for a pixel, and only specified colors are expressed within the set threshold section, thereby preventing overlapping of different colors. There is an advantage that can improve the image quality.

또한, 도포된 토너나 잉크는 벗겨지거나 얼룩이 생기는 것을 억제할 수 있기 때문에 상대적으로 자연스러운 계조 표현 능력을 갖도록 하여 고화질의 칼라 중간조 화상을 획득할 수 있는 이점이 있다.In addition, since the applied toner or ink can be suppressed from peeling off or staining, it is advantageous to obtain a high quality color halftone image by having a relatively natural gray scale expressing ability.

Claims (4)

청록색(Cyan; C), 심홍색(Magenta; M), 노란색(Yellow; Y), 밝은 청록색(Light Cyan; C'), 밝은 심홍색(Light Magenta; M')을 프린팅 원색으로 포함하는 칼라 프린팅 시스템의 오차 확산 방법에 있어서,Color printing system including Cyan (C), Magenta (M), Yellow (Y), Light Cyan (C '), Light Magenta (M') as printing primary colors In the error diffusion method, 입력 칼라 화상에서 래스터 스캐닝 순으로 주목 화소를 지정하여 주목 화소의 색상 성분을 분리한 후, 청록색(Cyan; C) 성분, 심홍색(Magenta; M) 성분, 노란색(Yellow; Y) 성분으로 변환하는 단계와;Specifying the pixel of interest in the input color image in order of raster scanning, separating the color component of the pixel of interest, and converting the color component of the pixel of interest into a cyan (Cyan) component, a magenta (M) component, and a yellow (Yellow; Y) component. Wow; 상기 청록색 성분(C)에 대해 오차 확산 처리를 수행하여 수정 청록색 성분값을 산출하는 단계와;Calculating a corrected cyan component value by performing an error diffusion process on the cyan component (C); 상기 수정 청록색 성분값이 제 1 임계값보다 크거나 같은지를 판단하는 단계와;Determining whether the corrected cyan component value is greater than or equal to a first threshold value; 상기 수정 청록색 성분값이 상기 제 1 임계값보다 크거나 같으면, 상기 주목 화소의 청록색 성분을 청록색으로 인쇄하는 것으로 결정한 후, 상기 수정 청록색 성분값에서 최대 계조값을 감산하여 청록색 계조 오차값으로 저장하는 단계와;If the correct cyan component value is greater than or equal to the first threshold value, it is determined that the cyan component of the pixel of interest is printed in cyan, and then the maximum gray value is subtracted from the correct cyan component value and stored as a cyan gradation error value. Steps; 상기 수정 청록색 성분값이 상기 제 1 임계값보다 작으면, 상기 수정 청록색 성분값이 상기 제 1 임계값보다 작고 제 2 임계값보다 크거나 같은지를 판단하는 단계와;If the modified cyan component value is less than the first threshold value, determining whether the modified cyan component value is less than the first threshold value and greater than or equal to a second threshold value; 상기 수정 청록색 성분값이 상기 제 1 임계값보다 작고 상기 제 2 임계값보다 크거나 같으면, 상기 주목 화소의 청록색 성분을 밝은 청록색(Light Cyan; C')으로 인쇄하는 것으로 결정한 후, 상기 제 1 임계값과 상기 제 2 임계값을 평균한 평균 임계값을 산출하여 상기 수정 청록색 성분값이 상기 평균 임계값보다 작으면 상기 평균 임계값으로부터 상기 수정 청록색 성분값을 감산하여 청록색 계조 오차값으로 저장하고 그렇게 않으면, 상기 수정 청록색 성분값으로부터 상기 평균 임계값을 감산하여 청록색 계조 오차값으로 저장하는 단계; 및If the corrected cyan component value is less than the first threshold and greater than or equal to the second threshold, the first threshold is determined after printing the cyan component of the pixel of interest in light cyan (C '). Calculates an average threshold value obtained by averaging a value and the second threshold value, and if the corrected cyan component value is less than the average threshold value, the corrected cyan component value is subtracted from the average threshold value and stored as a cyan gradation error value. Otherwise, subtracting the average threshold value from the corrected cyan component value and storing it as a cyan gradation error value; And 상기 수정 청록색 성분값이 상기 제 2 임계값보다 작으면, 상기 주목 화소의 청록색 성분을 흰색으로 처리하는 것으로 결정한 후, 상기 수정 청록색 성분값을 청록색 계조 오차값으로 저장하는 단계를 포함하는 것을 특징으로 하는 칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법.And if the correct cyan component value is less than the second threshold, determining that the cyan component of the pixel of interest is to be processed in white, and then storing the correct cyan component value as a cyan gradation error value. Multistage color error diffusion method of color printing system. 제 1 항에 있어서,The method of claim 1, 상기 심홍색 성분(M)에 대해 오차 확산 처리를 수행하여 수정 심홍색 성분값을 산출하는 단계와;Calculating a corrected magenta component value by performing an error diffusion process on the magenta component (M); 상기 수정 심홍색 성분값이 제 1 임계값보다 크거나 같은지를 판단하는 단계와;Determining whether the corrected magenta component value is greater than or equal to a first threshold value; 상기 수정 심홍색 성분값이 상기 제 1 임계값보다 크거나 같으면, 상기 주목 화소의 심홍색 성분을 심홍색으로 인쇄하는 것으로 결정한 후, 상기 수정 심홍색 성분값에서 최대 계조값을 감산하여 심홍색 계조 오차값으로 저장하는 단계와;If the corrected magenta component value is greater than or equal to the first threshold, determining that the magenta component of the pixel of interest is to be printed in magenta, and then subtracting the maximum gray value from the correct magenta component value and storing it as a magenta gray error value. Steps; 상기 수정 심홍색 성분값이 상기 제 1 임계값보다 작으면, 상기 수정 심홍색 성분값이 상기 제 1 임계값보다 작고 제 2 임계값보다 크거나 같은지를 판단하는 단계와;If the corrected magenta component value is less than the first threshold, determining whether the corrected magenta component value is less than the first threshold and greater than or equal to a second threshold; 상기 수정 심홍색 성분값이 상기 제 1 임계값보다 작고 상기 제 2 임계값보다 크거나 같으면, 상기 주목 화소의 심홍색 성분을 밝은 심홍색(Light Magenta; M')으로 인쇄하는 것으로 결정한 후, 상기 제 1 임계값과 상기 제 2 임계값을 평균한 평균 임계값을 산출하여 상기 수정 심홍색 성분값이 상기 평균 임계값보다 작으면 상기 평균 임계값으로부터 상기 수정 심홍색 성분값을 감산하여 심홍색 계조 오차값으로 저장하고 그렇게 않으면, 상기 수정 심홍색 성분값으로부터 상기 평균 임계값을 감산하여 심홍색 계조 오차값으로 저장하는 단계; 및If the corrected magenta component value is less than the first threshold and greater than or equal to the second threshold, the first threshold is determined after printing the magenta component of the pixel of interest as light magenta (M ′). Calculates an average threshold value obtained by averaging a value and the second threshold value, and if the corrected magenta component value is less than the average threshold value, the corrected magenta component value is subtracted from the average threshold value and stored as a magenta gradation error value. Otherwise, subtracting the average threshold value from the corrected magenta component value and storing it as a magenta gradation error value; And 상기 수정 심홍색 성분값이 상기 제 2 임계값보다 작으면, 상기 주목 화소의 심홍색 성분을 흰색으로 처리하는 것으로 결정한 후, 상기 수정 심홍색 성분값을 심홍색 계조 오차값으로 저장하는 단계를 더 포함하는 것을 특징으로 하는 칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법.If the corrected magenta component value is less than the second threshold, determining that the magenta component of the pixel of interest is to be processed in white, and then storing the corrected magenta component value as a magenta gradation error value. Multistage color error diffusion method of color printing system. 제 2 항에 있어서,The method of claim 2, 상기 노란색 성분(Y)에 대해 오차 확산 처리를 수행하여 수정 노란색 성분값을 산출하는 단계와;Calculating a corrected yellow component value by performing an error diffusion process on the yellow component (Y); 상기 수정 노란색 성분값이 중간 계조값보다 크거나 같은지를 판단하는 단계와;Determining whether the corrected yellow component value is greater than or equal to a halftone value; 상기 수정 노란색 성분값이 상기 중간 계조값보다 크거나 같으면, 상기 주목 화소의 노란색 성분을 노란색으로 인쇄하는 것으로 결정한 후, 상기 수정 노란색 성분값에서 최대 계조값을 감산하여 노란색 계조 오차값으로 저장하는 단계; 및If the corrected yellow component value is greater than or equal to the intermediate gray scale value, determining to print the yellow component of the pixel of interest in yellow, and then subtracting the maximum gray scale value from the corrected yellow component value as a yellow gray error value ; And 상기 수정 노란색 성분값이 상기 중간 계조값보다 작으면, 상기 주목 화소의 노란색 성분을 흰색으로 처리하는 것으로 결정한 후, 상기 수정 노란색 성분값을 노란색 계조 오차값으로 저장하는 단계를 더 포함하는 것을 특징으로 하는 칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법.If the correction yellow component value is smaller than the intermediate gray value, determining that the yellow component of the pixel of interest is processed in white, and then storing the corrected yellow component value as a yellow gray error value. Multistage color error diffusion method of color printing system. 제 3 항에 있어서, 상기 제 1 임계값 및 상기 제 2 임계값은 각각 화소당 비트수가 8비트인 경우를 기준할 때, 각각 170 및 85이고, 상기 중간 계조값과 상기 최대 계조값은 각각 128 및 255인 것을 특징으로 하는 칼라 프린팅 시스템의 다단계 칼라 오차 확산 방법.The method of claim 3, wherein the first threshold value and the second threshold value are 170 and 85, respectively, based on the case where the number of bits per pixel is 8 bits, respectively, and the intermediate gray value and the maximum gray value are 128, respectively. And 255, the multi-stage color error diffusion method of the color printing system.
KR1019990038034A 1999-09-08 1999-09-08 Color Error Diffusion Method Using Multi-threshold in Color Printing System KR100334105B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990038034A KR100334105B1 (en) 1999-09-08 1999-09-08 Color Error Diffusion Method Using Multi-threshold in Color Printing System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990038034A KR100334105B1 (en) 1999-09-08 1999-09-08 Color Error Diffusion Method Using Multi-threshold in Color Printing System

Publications (2)

Publication Number Publication Date
KR20010026635A true KR20010026635A (en) 2001-04-06
KR100334105B1 KR100334105B1 (en) 2002-05-02

Family

ID=19610503

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990038034A KR100334105B1 (en) 1999-09-08 1999-09-08 Color Error Diffusion Method Using Multi-threshold in Color Printing System

Country Status (1)

Country Link
KR (1) KR100334105B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100662211B1 (en) * 2006-02-27 2006-12-28 김호진 Method for controlling raster image processing of large format printer
KR100731582B1 (en) * 2005-12-16 2007-06-22 경북대학교 산학협력단 Six Color Printer System and Method for Separating Six Color at the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100731582B1 (en) * 2005-12-16 2007-06-22 경북대학교 산학협력단 Six Color Printer System and Method for Separating Six Color at the same
KR100662211B1 (en) * 2006-02-27 2006-12-28 김호진 Method for controlling raster image processing of large format printer

Also Published As

Publication number Publication date
KR100334105B1 (en) 2002-05-02

Similar Documents

Publication Publication Date Title
US6393148B1 (en) Contrast enhancement of an image using luminance and RGB statistical metrics
EP0732843B1 (en) Combined color halftoning
US8395832B2 (en) Image processing apparatus
US6813043B1 (en) Image processing device, image forming device incorporating the same, and storage medium for storing program used thereby
JP2000354172A (en) Error diffusion halftone method
US5715073A (en) Processing by separate stages monochrome digital images to provide halftone color images
EP0591977A1 (en) Image processor and printing apparatus
US5930010A (en) Method and apparatus for color halftoning using different halftoning techniques for halftoning different dot planes
US6956673B2 (en) Image processing apparatus and method to reduce gray levels of image
KR100334105B1 (en) Color Error Diffusion Method Using Multi-threshold in Color Printing System
JP3734703B2 (en) Image processing method, image processing apparatus, and image forming apparatus
JP3360476B2 (en) Image processing method and apparatus
JP2848558B2 (en) Color image processing equipment
JPH07152904A (en) Image processor
KR100621097B1 (en) Image processing method and image processing apparatus
KR100561453B1 (en) Adaptive color halftoning processing method for 4-color printing in printer
KR100306756B1 (en) Method for Enhancing the Edge of Color Image Based on Luminance Component
KR100381651B1 (en) Apparatus for processing color halftoning
JP3907871B2 (en) Color image processing device
KR100522589B1 (en) Adaptive Color Error Diffusion Method
KR100268336B1 (en) Error diffusion method using variable threshold value
KR19980079985A (en) Image Processing Method Using Error Diffusion
JP3244405B2 (en) Image processing device
KR100321299B1 (en) Adaptive Error Diffusion Method Based on High Pass Filtering
JP2002252782A (en) Image processing method, image processor, and image forming device

Legal Events

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

Payment date: 20070329

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee