KR100547102B1 - Adaptive error diffusion method based on the interval of black pixels - Google Patents

Adaptive error diffusion method based on the interval of black pixels Download PDF

Info

Publication number
KR100547102B1
KR100547102B1 KR1019990001420A KR19990001420A KR100547102B1 KR 100547102 B1 KR100547102 B1 KR 100547102B1 KR 1019990001420 A KR1019990001420 A KR 1019990001420A KR 19990001420 A KR19990001420 A KR 19990001420A KR 100547102 B1 KR100547102 B1 KR 100547102B1
Authority
KR
South Korea
Prior art keywords
pixel
value
interest
black
error diffusion
Prior art date
Application number
KR1019990001420A
Other languages
Korean (ko)
Other versions
KR20000051140A (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 KR1019990001420A priority Critical patent/KR100547102B1/en
Publication of KR20000051140A publication Critical patent/KR20000051140A/en
Application granted granted Critical
Publication of KR100547102B1 publication Critical patent/KR100547102B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/405Halftoning, i.e. converting the picture signal of a continuous-tone original into a corresponding signal showing only two levels
    • H04N1/4051Halftoning, i.e. converting the picture signal of a continuous-tone original into a corresponding signal showing only two levels producing a dispersed dots halftone pattern, the dots having substantially the same size
    • H04N1/4052Halftoning, i.e. converting the picture signal of a continuous-tone original into a corresponding signal showing only two levels producing a dispersed dots halftone pattern, the dots having substantially the same size by error diffusion, i.e. transferring the binarising error to neighbouring dot decisions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0077Types of the still picture apparatus
    • H04N2201/0082Image hardcopy reproducer

Landscapes

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

Abstract

본 발명은, 연속 계조 화상의 화소값과 역치화된 이진 화소값 간의 계조 오차값(gray level error value)을 기설정된 가중치에 따라 인접 화소들에 확산시켜 이치화를 수행하는 오차 확산 방법에 있어서, 연속 계조 화상을 대상으로 오차 확산 방법을 적용할 시에 현 시점에서 중간조 처리를 수행하고자 하는 주목 화소값의 크기가 연속 계조 화상의 전체 계조 범위 중 상위 90% 이상의 계조값에 속할 경우에는 워엄 아티팩트와 스타트-업 아티팩트의 발생을 억제하기 위해 흑색으로 중간조 처리된 가장 가까운 화소와의 거리가 일정하게 유지되도록 중간조 처리를 수행하는 흑화소 이격에 기반한 적응형 오차 확산 방법에 관한 것이다.The present invention relates to an error diffusion method in which a gray level error value between a pixel value of a continuous grayscale image and a thresholded binary pixel value is diffused to adjacent pixels according to a predetermined weight to perform binarization. When the error diffusion method is applied to the grayscale image, if the size of the pixel value of interest to be subjected to the halftone processing is included in the upper 90% or more of the gray scale range of the continuous grayscale image, the worm artifact and the In order to suppress the occurrence of start-up artifacts, the present invention relates to an adaptive error diffusion method based on black pixel spacing in which halftone processing is performed such that a distance from the nearest pixel halftone processed in black is kept constant.

본 발명에 따르면, 워엄 아티팩트(worm artifacts)와 스타트-업 아티팩트(start-up artifacts)를 효과적으로 억제하여 고화질의 중간조 화상을 획득할 수 있는 이점이 있다.According to the present invention, there is an advantage of effectively suppressing worm artifacts and start-up artifacts to obtain a high quality halftone image.

Description

흑화소 이격에 기반한 적응형 오차 확산 방법{Adaptive error diffusion method based on the interval of black pixels} Adaptive error diffusion method based on the interval of black pixels             

도 1은 중간조 화상에서의 블루 노이즈 패턴을 나타낸 예시도,1 is an exemplary view showing a blue noise pattern in a halftone image;

도 2는 오차 확산 이치화 처리된 중간조 화상에서의 워엄 아티팩트 패턴을 나타낸 예시도,2 is an exemplary view showing a worm artifact pattern in an error diffusion binarized halftone image;

도 3은 종래의 오차 확산 방법에 적용할 시에 스타트-업 아티팩트가 발생한 이치화 화상을 나타낸 예시도,3 is an exemplary view showing a binarized image in which start-up artifacts are generated when applied to a conventional error diffusion method.

도 4는 본 발명에 따른 흑화소 이격에 기반한 적응형 오차 확산 방법의 바람직한 실시예를 나타낸 블록도4 is a block diagram showing a preferred embodiment of an adaptive error diffusion method based on black pixel spacing according to the present invention.

도 5a는 플로이드와 스타인베르그가 제안한 오차 확산 마스크를 나타낸 예시도,5a is an exemplary view showing an error diffusion mask proposed by Floyd and Steinberg,

도 5b는 스터키가 제안한 오차 확산 마스크를 나타낸 예시도,5B is an exemplary diagram showing an error diffusion mask proposed by Stucky;

도 6은 본 발명에 따른 흑화소 이격에 기반한 적응형 오차 확산 방법을 적용하여 스타트-업 아티팩트를 제거한 결과 이치화 화상을 나타낸 예시도이다.6 is an exemplary view showing a binarized image as a result of removing the start-up artifact by applying the adaptive error diffusion method based on black pixel spacing according to the present invention.

본 발명은 화상 시스템에서의 칼라 중간조 처리 방법에 관한 것으로, 더욱 상세하게는 오차 확산 방법에 있어서, 연속 계조 화상에서 흑색으로 중간조 처리된 가장 가까운 화소와의 거리가 일정하게 유지되도록 함에 따라 워엄 아티팩트(worm artifacts)와 스타트-업 아티팩트(start-up artifacts)를 효과적으로 억제하여 고화질의 중간조 화상을 획득하도록 한 흑화소 이격에 기반한 적응형 오차 확산 방법에 관한 것이다.The present invention relates to a color halftone processing method in an image system, and more particularly to an error diffusion method, in which a distance from the closest pixel halftone processed in black in a continuous grayscale image is kept constant. The present invention relates to an adaptive error diffusion method based on black pixel spacing that effectively suppresses worm artifacts and start-up artifacts to obtain high quality halftone images.

중간조 처리 기법은 제한된 계조값 재현 특성을 갖는 장치에서 화소당 양자화 계조를 줄이면서도 원래의 화상에 가깝게 보이게 만드는 화상 처리 기법이다. 이 기법은 인쇄 윤전기(cylinder printing press), 잉크젯 프린터(ink-jet printer), 레이져 프린터(laser printer)와 액정 표시 장치(Liquid Crystal Display; LCD), CRT(Cathode Ray Tube)와 같은 각종 디스플레이 장치 및 화상 출력 장치 등에 광범위하게 이용되고 있다.Halftone processing is an image processing technique that makes a device appear to be close to the original image while reducing the quantization grayscale per pixel in a device having limited grayscale value reproduction characteristics. This technique can be used for various display devices such as printing presses, ink-jet printers, laser printers and liquid crystal displays (LCDs), and cathode ray tubes (CRTs). Widely used in image output apparatuses and the like.

특히, 인쇄 측면에서 보면, 중간조 처리 기법은 점묘법의 일종으로 디더링(dithering) 처리와 더불어 화상 데이터를 문서 형태로 인쇄할 시에 가장 대표적으로 채택되고 있는 화상 처리 기법인데, 화상의 계조값(gray level)들을 단위 공간 내에 인쇄되는 점의 밀집도를 통해 표현하며, 신문, 서적, 판촉물, 홍보 전단 등과 같은 대부분의 인쇄물의 인쇄 방법으로 채택되고 있다. 일례로 이를 이용하면, 가장 단순하게는 통상 8비트로 표현되는 화상 데이터의 화소를 1비트의 이진 데이터로 변환할 수 있음에 따라 원화상 데이터의

Figure 111999000300980-pat00001
로 인쇄 화상 데이터량을 감축할 수 있다.In particular, from the printing point of view, the halftone processing technique is a type of dot scattering and is the most commonly adopted image processing technique when printing image data in the form of a document together with dithering processing. Levels are expressed through the density of dots printed in the unit space, and are adopted as a printing method of most printed materials such as newspapers, books, promotional materials, and promotional flyers. Using this as an example, it is possible to convert the pixel of the image data represented by 8 bits to the 1-bit binary data most simply.
Figure 111999000300980-pat00001
The amount of printed image data can be reduced.

특히, 상대적으로 저가형의 프린터는 구현의 용이성과 비용 절감을 기하기 위해 중간조 화상을 인쇄하도록 설계되는 것이 일반적이며, 인쇄소와 같이 대량으로 인쇄물을 출력하는 분야에 있어서, 중간조 화상이 원래의 연속 계조 화상( continuous tone image)과 가급적 시각적으로 차이가 없는 것처럼 보이면서 동시에 인쇄 속도에 중대한 영향을 미치는 변환 시간을 감축시킬 수 있는 적정한 변환 기법을 개발하고자 함은 오랜 시간에 걸쳐 해결하고자 하는 현안이다.In particular, relatively inexpensive printers are generally designed to print halftone images for ease of implementation and cost reduction, and in the field of printing a large quantity of prints, such as a print shop, halftone images are originally continuous. It is a long-standing issue to develop an appropriate conversion technique that can reduce the conversion time, which seems to be visually indistinguishable from the continuous tone image and at the same time has a significant effect on the printing speed.

종래 기술에 따른 중간조 처리 방법은 잘 알려진 바 있는 정렬 디더 방법(ordered dither method), 오차 확산 방법(error diffusion method), 도트 확산 방법(dot diffusion method) 등이 가장 대표적이다.The halftone processing method according to the prior art is the most well known ordered dither method (error diffusion method), dot diffusion method (dot diffusion method).

로버트 울리크니(Robert Ulichney)에 의해 저술되어 MIT 출판부(Massachusetts Institute Technology press)에서 발간한 "디지털 중간조 처리(Digital Halftoning)"와 찬(Chan)에 의해 출원되어 미합중국 특허 번호 5,140,432 호를 얻은 "정렬 디더와 오차 확산을 이용한 단색 및 칼라 화상을 복원하기 위한 방법 및 시스템(Method and System for Reproducing Monochrome and Color Images Using Ordered Dither and Error Diffusion)"에 이러한 내용들이 상 세하게 기술되어 있지만 본 발명에 대한 이해를 돕기 위해 본원에서 종래 기술에 대한 중간조 처리 방법을 간략하게 살펴보면 다음과 같다."Alignment" by Robert Ulichney and filed by "Digital Halftoning" and Chan, published by the Massachusetts Institute Technology press, obtained US Patent No. 5,140,432 Although these are described in detail in "Method and System for Reproducing Monochrome and Color Images Using Ordered Dither and Error Diffusion", the understanding of the present invention is understood. Briefly look at the halftone treatment method for the prior art in the present application as follows.

먼저, 상기 정렬 디더 방법은 랜덤 디더 방법(random dither method)이 랜덤하게 역치를 발생시키는 것에 반해, 기설정된 역치 배열인 디더 행렬(dither matrix)을 가지고 1차 역치 처리(simple thresholding process, 즉, 단순 역치 처리)를 수행하는 단색 중간조 처리 방법으로, 상기 디더 행렬은 다수의 구성 원소들을 구비하여 화소 공간상에서 물리적인 공간을 점유하게 된다. First, in contrast to the random dither method generating random thresholds, the alignment dither method has a simple thresholding process, that is, a simple thresholding process with a dither matrix that is a preset threshold array. In this method, the dither matrix is provided with a plurality of constituent elements to occupy physical space in the pixel space.

이러한 디더 행렬은 연속 계조 화상(continuous-tone image) 상에 매핑되며, 상기 연속 계조 화상의 각 화소는 대응되는 상기 디더 행렬의 각 원소들과 화소 단위(pixel by pixel)로 비교되는 데, 만일, 연속 계조 화상의 화소값이 대응되는 디더 행렬의 원소값(즉, 역치값) 보다 크면, 중간조 화상의 대응되는 위치의 도트(dot, 점)는 인쇄되지 않는 반면에 그렇지 않은 경우에는 상기 도트를 인쇄함으로써 전체적으로 자연스러운 중간조 화상을 발생시키고자 한다.This dither matrix is mapped onto a continuous-tone image, and each pixel of the continuous grayscale image is compared pixel by pixel with each element of the corresponding dither matrix. If the pixel value of the continuous gradation image is larger than the element value (ie, the threshold value) of the corresponding dither matrix, the dot at the corresponding position of the halftone image is not printed, otherwise the dot is discarded. By printing, a natural halftone image is generated as a whole.

이때, 디더 행렬이 점유하는 공간의 크기가 연속 계조 화상의 크기 보다 작으면, 상기 디더 행렬을 전체 연속 계조 화상의 크기에 맞도록 복제함으로써 화상의 크기에 제한을 받지 않고 중간조 처리를 수행할 수 있다.In this case, if the size of the space occupied by the dither matrix is smaller than the size of the continuous grayscale image, the dither matrix may be duplicated to fit the size of the entire continuous grayscale image so that halftone processing may be performed without being limited to the size of the image. have.

한편, 또 다른 방법인 오차 확산 방법은 고정된 역치를 기준으로 하여 상기 역치보다 큰 계조값에는 인쇄를 수행하는 도트로 할당하고, 그렇지 않은 계조값에는 인쇄를 수행하지 않는 도트로 할당하도록 하는 역치 처리(threshold process)를 통해 연속 계조 화상을 중간조 화상으로 변환·처리한다.On the other hand, the error diffusion method, which is another method, is a threshold processing for assigning a gray scale value larger than the threshold value as a dot for printing based on a fixed threshold value and assigning the gray scale value to a dot for which no printing is performed. The continuous gradation image is converted and processed into a halftone image through a threshold process.

이때, 고정된 역치를 사용함에 따라 정확도가 결여되는 현상이 발생할 수 있는 데, 이에 따라 오차 확산 방법에서는 연속 계조 화상의 화소값(target pixel value)과 역치화된 이진 화소값(binary pixel value) 간의 오차(error)를 인접한 화소들에 확산(diffusion)시킴으로써 이를 보상하여 이와 같은 문제를 극복하고 있다.In this case, a lack of accuracy may occur due to the use of a fixed threshold value. Accordingly, in the error diffusion method, a difference between a target pixel value and a thresholded binary pixel value of a continuous grayscale image may occur. This problem is overcome by compensating for an error by diffusing the adjacent pixels.

다시 말해서, 현시점에서 처리하고 있는 연속 계조 화상의 이치화 대상 화소값과 역치화된 이진 화소값 간의 오차(error)를 가중치 결정에 참여하는 인접 화소들에 전파시킴으로써 상기한 바와 같은 문제를 해결하고 있는 데, 이와 같은 접근 방식은 몇몇 소수의 도트들에 의해 둘러 쌓인 작은 영역에 걸쳐 있는 연속 계조(continuous tone)를 표현할 시에 더욱 더 우수한 특성을 보이고 있다.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.

그러나, 종래의 오차 확산 방법은 전반적으로 도 1과 같은 블루 노이즈(blue) 특성을 보이는 우수한 계조 표현 능력을 가지고 있는 반면에 8비트의 256 계조 화상을 기준할 때, 계조값이 대략 230 이상(즉, 연속 계조 화상의 전체 계조 범위 중 90% 이상의 상위 계조값에 속할 경우)에서 도 2와 같은 워엄 아티팩트(worm artifacts)가 발생하는 문제점이 있었다.However, while the conventional error diffusion method has excellent gray scale representation capability showing the blue noise characteristic as shown in FIG. 1, the gray scale value is approximately 230 or more (that is, when referring to 256 gray scale images of 8 bits). In the case of belonging to a higher gradation value of 90% or more of the entire gradation range of the continuous gradation image), worm artifacts as shown in FIG. 2 have occurred.

본 발명의 출원인도 이러한 문제점을 개선하기 위해 대한민국 특허출원 제 1998-031156 호, "고화질 인쇄를 위한 이치화 방법"을 출원한 바 있는 데, 특히, 이러한 워엄 아티팩트는 중간조 화상 전반에 걸쳐 연속적으로 생성되어 시각적으로 몹시 거슬리기 때문에 이진 중간조 화상에 심각한 화질 열화를 초래하는 문제점이 있었다.Applicants of the present invention have also filed a Korean Patent Application No. 1998-031156, "Digestion Method for High Definition Printing," in order to remedy this problem, in particular, such worm artifacts are continuously generated throughout halftone images. There is a problem that serious visual deterioration in the binary halftone image because it is visually annoying.

또한, 종래의 오차 확산 방법은 워엄 아티팩트(start-up artifacts) 이외에도 스타트-업 아티팩트(start-up artifacts)라고 하는 또 다른 종류의 아티팩트가 발생하는 단점이 있다. In addition, the conventional error diffusion method has a disadvantage in that, in addition to the start-up artifacts, another kind of artifacts called start-up artifacts occurs.

도 3은 종래의 오차 확산 방법에 적용할 시에 스타트-업 아티팩트가 발생한 이치화 화상을 나타낸 예시도이다.3 is an exemplary view showing a binarized image in which start-up artifacts are generated when applied to a conventional error diffusion method.

스타트-업 아티팩트(start-up artifacts)란 도 3에서 살펴볼 수 있듯이, 오차 확산 이치화 처리를 수행할 시에 어두운 계조를 가진 영역에서 밝은 계조를 가진 영역으로 이동할 때, 밝은 계조에 속하는 화소들의 계조 오차가 처음에는 작기 때문에 어느 정도의 화소를 처리하고 나서야 흑색으로 이치화되는 화소가 출현하게 되는 데, 이렇게 흑색으로 이치화되는 화소가 나오기 전까지는 계조 오차가 누적되는 동안 백색의 영역이 지속되는 현상으로 인해 화질 열화가 발생하는 것을 말한다. As shown in FIG. 3, start-up artifacts are gradation errors of pixels belonging to a light gradation when moving from a region having a dark gradation to a region having a bright gradation when performing an error diffusion binarization process. Is small at first, and after processing a certain amount of pixels, pixels that are binarized to black do not appear.However, until the pixels are binarized to black, the white area is accumulated while the gray level error is accumulated. Deterioration occurs.

따라서, 본 발명은 이와 같은 문제점을 해결하기 위해 안출된 것으로, 오차 확산 방법에 있어서, 연속 계조 화상에서 흑색으로 중간조 처리된 가장 가까운 화소와의 거리가 일정하게 유지되도록 함에 따라 워엄 아티팩트(worm artifacts)와 스타트-업 아티팩트(start-up artifacts)를 효과적으로 억제하여 고화질의 중간조 화상을 획득하도록 한 흑화소 이격에 기반한 적응형 오차 확산 방법을 제공함에 그 목적이 있다.
Accordingly, the present invention has been made to solve such a problem, and in the error diffusion method, the worm artifacts are maintained as the distance from the closest pixel half-tone processed in black in the continuous grayscale image is kept constant. It is an object of the present invention to provide an adaptive error diffusion method based on black pixel spacing, which effectively suppresses) and start-up artifacts to obtain high quality halftone images.

이와 같은 목적을 달성하기 위해 흑화소 이격에 기반한 적응형 오차 확산 방법은, 연속 계조 화상의 화소값과 역치화된 이진 화소값 간의 계조 오차값(gray level error value)을 기설정된 가중치에 따라 인접 화소들에 확산시켜 이치화를 수행하는 오차 확산 방법에 있어서, 연속 계조 화상을 대상으로 오차 확산 방법을 적용할 시에 현 시점에서 중간조 처리를 수행하고자 하는 주목 화소값의 크기가 연속 계조 화상의 전체 계조 범위 중 상위 90% 이상의 계조값에 속할 경우에는 워엄 아티팩트와 스타트-업 아티팩트의 발생을 억제하기 위해 흑색으로 중간조 처리된 가장 가까운 화소와의 거리가 일정하게 유지되도록 중간조 처리를 수행하는 것이 특징이다.In order to achieve the above object, an adaptive error diffusion method based on black pixel spacing includes an adjacent pixel according to a predetermined weight based on a gray level error value between a pixel value of a continuous grayscale image and a thresholded binary pixel value. In the error diffusion method for diffraction and binarization, the size of the pixel value of interest to be subjected to halftone processing at the present time is the total gray level of the continuous grayscale image when the error diffusion method is applied to the continuous grayscale image. If it belongs to the gray level value of the upper 90% or more of the range, the halftone process is performed so that the distance between the closest pixel halftoned to black is kept constant to suppress the occurrence of worm artifacts and start-up artifacts. to be.

이하, 본 발명에 따른 흑화소 이격에 기반한 적응형 오차 확산 방법의 바람직한 실시예를 첨부한 도 4를 참조하여 설명하면 다음과 같다.Hereinafter, a preferred embodiment of the adaptive error diffusion method based on black pixel spacing according to the present invention will be described with reference to FIG. 4.

도 4는 본 발명에 따른 흑화소 이격에 기반한 적응형 오차 확산 방법의 바람직한 실시예를 나타낸 블록도이다.4 is a block diagram showing a preferred embodiment of an adaptive error diffusion method based on black pixel spacing according to the present invention.

본 발명에 따른 흑화소 이격에 기반한 적응형 오차 확산 방법의 바람직한 실 시예를 도 4에 도시한 바와 같이, 연속 계조를 갖는 이치화 대상 화상의 화소값과 역치화된 이진 화소값 간의 계조 오차값(gray level error value)을 기설정된 가중치에 따라 인접 화소들에 확산시켜 이치화를 수행하는 오차 확산 방법에 있어서,As shown in FIG. 4, a preferred embodiment of the adaptive error diffusion method based on black pixel spacing according to the present invention, the gray level error value between the pixel value of the binarized target image having continuous gray levels and the thresholded binary pixel value (gray In an error diffusion method of performing binarization by diffusing a level error value) to adjacent pixels according to a predetermined weight,

상기 이치화 대상 화상에서 이치화할 주목 화소를 래스터 스캐닝 순으로 지정하는 단계(S10)와;Designating a pixel of interest to be binarized in the binarization target image in raster scanning order (S10);

상기 주목 화소에 인접한 주변 화소의 상기 계조 오차값을 상기 주목 화소에 가산하여 수정 주목 화소값을 산출하는 단계(S20)와;Calculating a corrected pixel value of interest by adding the gray level error value of the neighboring pixel adjacent to the pixel of interest to the pixel of interest (S20);

상기 주목 화소값의 크기가 기설정된 아티팩트 발생 구간에 포함되는지 여부를 계조값 비교를 통해 판단하는 단계(S30)와;Determining whether the magnitude of the pixel value of interest is included in a preset artifact generation period through comparison of grayscale values (S30);

상기 주목 화소값의 크기가 상기 상위 계조값 구간에 포함되지 않으면, 상기 수정 주목 화소값을 대상으로 정상적인 오차 확산 이치화 처리를 수행하는 제 1 이치화 단계(S40); 및A first binarizing step (S40) of performing normal error diffusion binarization processing on the corrected pixel value of interest if the size of the pixel value of interest is not included in the upper grayscale value section; And

상기 주목 화소값의 크기가 상기 아티팩트 발생 구간에 포함되면, 상기 주목 화소에서 최단 거리상에 존재하는 흑색으로 이치화된 화소와의 이격 거리인 제 1 흑화소 이격 거리를 이용하여 상기 주목 화소에 대한 이치화 처리를 수행하는 제 2 이치화 단계(S50)로 구성된다.When the magnitude of the pixel value of interest is included in the artifact generation period, the binarization processing is performed on the pixel of interest using a first black pixel distance, which is a distance from the pixel that is binarized with the black color that exists on the shortest distance from the pixel of interest. It consists of a second binarization step (S50) to perform.

여기서, 상기 제 1 이치화 단계(S40)는 상기 수정 주목 화소값이 상기 중간 계조값보다 크거나 같은지를 판단하는 단계(S41)와;Here, the first binarization step (S40) may include determining whether the corrected pixel value of interest is greater than or equal to the halftone value (S41);

상기 판단 단계(S41)의 판단 결과, 상기 수정 주목 화소값이 상기 중간 계조값보다 크거나 같으면, 상기 주목 화소를 백색으로 이치화한 후, 상기 수정 주목 화소값에서 최대 계조값을 감산하여 새로운 계조 오차값으로 지정하는 단계(S42); 및As a result of the determination in S41, if the corrected pixel value of interest is greater than or equal to the intermediate gray value, the pixel of interest is binarized to white, and then the new gray level error is subtracted from the corrected pixel value of interest. Assigning a value (S42); And

상기 판단 단계(S41)의 판단 결과, 상기 수정 주목 화소값이 상기 중간 계조값보다 작으면, 상기 주목 화소를 흑색으로 이치화한 후, 상기 수정 주목 화소값을 새로운 계조 오차값으로 지정하는 단계(S43)로 구성된다.As a result of the determination in S41, if the corrected pixel value of interest is smaller than the intermediate gray level value, the pixel of interest pixel is binarized to black, and then the modified pixel value of interest is designated as a new gray level error value (S43). It is composed of

여기서, 상기 제 2 이치화 단계(S50)는 상기 제 1 흑화소 이격 거리가 기설정된 강제 이격 거리보다 작은지를 판단하는 단계(S51)와;Here, the second binarization step (S50) may include determining whether the first black pixel separation distance is smaller than a preset forced separation distance (S51);

상기 판단 단계(S51)의 판단 결과, 상기 제 1 흑화소 이격 거리가 상기 강제 이격 거리보다 작으면, 상기 주목 화소를 백색으로 이치화한 후, 상기 수정 주목 화소값에서 최대 계조값을 감산하여 새로운 계조 오차값으로 지정하는 단계(S52); 및If the first black pixel separation distance is smaller than the forced separation distance as a result of the determination in operation S51, the pixel of interest is binarized to white, and the new gray level is subtracted from the corrected pixel value of correction. Specifying as an error value (S52); And

상기 판단 단계(S51)의 판단 결과, 상기 제 1 흑화소 이격 거리가 상기 강제 이격 거리보다 작지 않으면, 상기 주목 화소를 흑색으로 이치화한 후, 상기 수정 주목 화소값을 새로운 계조 오차값으로 지정하는 단계(S53)로 구성된다.If the first black pixel separation distance is not smaller than the forced separation distance as a result of the determination in operation S51, after binarizing the pixel of interest to black, designating the corrected pixel value of interest as a new gray level error value. It consists of S53.

한편, 상기 아티팩트 발생 구간은 상기 계조 화상의 전체 계조 범위 중 상위 90% 이상의 계조값 구간인 것이 바람직하다.On the other hand, it is preferable that the artifact generation section is a gradation value section of at least 90% of the entire gradation range of the gradation image.

예컨대, 화소당 비트수가 8비트일 때, 상기 중간 계조값은 127이고, 상기 최대 계조값은 255이며, 상기 워엄 아티팩트 구간은 230 이상인 것이 바람직하다.For example, when the number of bits per pixel is 8 bits, the intermediate gray value is 127, the maximum gray value is 255, and the worm artifact interval is preferably 230 or more.

상기 강제 이격 거리는 화소당 비트수에 따라 기설정된 고정 이격 거리값과 상기 고정 이격 거리의 ±25% 범위 내에서 랜덤하게 발생시킨 거리값을 합산한 값 인 것이 바람직하다.The forced spacing distance is preferably a sum of a predetermined fixed spacing distance value and a randomly generated distance value within a range of ± 25% of the fixed spacing distance according to the number of bits per pixel.

이와 같이 구성된 본 발명에 따른 흑화소 이격에 기반한 적응형 오차 확산 방법의 바람직한 실시예의 수행 과정을 첨부한 도면을 참조하여 상세하게 설명하기로 한다. With reference to the accompanying drawings, a process of carrying out the preferred embodiment of the adaptive error diffusion method based on the black pixel spacing according to the present invention configured as described above will be described in detail.

우선, 단계 S10에서는 상기 이치화 대상 화상에서 이치화할 주목 화소를 래스터 스캐닝 순으로 지정한다.First, in step S10, the pixel of interest to be binarized in the binarization target image is designated in raster scanning order.

이어서, 단계 S20에서는 상기 주목 화소에 인접한 주변 화소의 상기 계조 오차값을 상기 주목 화소에 가산하여 수정 주목 화소값을 산출하다.Subsequently, in step S20, the corrected pixel value of interest is calculated by adding the gray level error value of the peripheral pixel adjacent to the pixel of interest to the pixel of interest.

단계 S30에서는 상기 주목 화소값의 크기가 기설정된 아티팩트 발생 구간에 포함되는지 여부를 계조값 비교를 통해 판단하는 데, 이때, 아티팩트 발생 구간은 상기 계조 화상의 전체 계조 범위 중 상위 90% 이상의 계조값 구간으로 설정한다. 화소당 비트수가 8비트일 때, 워엄 아티팩트 구간은 보통 230 이상으로 정하며, 이 구간은 특별한 이론적인 근거에 의해 정해진 구간이라기 보다는 다분히 실험적인 방법에 의해 정해진 구간임에 따라 실험적으로 결정한 구간인 계조값 220~230을 중심으로 다소 변동이 가능함은 주지의 사실이다.In operation S30, it is determined whether the magnitude of the pixel value of interest is included in a preset artifact generation interval by comparing grayscale values, wherein the artifact generation interval is a higher than 90% of the grayscale value interval of the entire grayscale range of the grayscale image. Set to. When the number of bits per pixel is 8 bits, the worm artifact interval is usually set to 230 or more, and the interval is an interval determined experimentally because the interval is determined by an experimental method rather than the interval determined by a special theoretical basis. It is well known that the fluctuations can be made around 220 ~ 230.

단계 S30의 판단 결과, 상기 주목 화소값의 크기가 상기 상위 계조값 구간에 포함되지 않으면, 제 1 이치화 단계(S40)에서는 상기 수정 주목 화소값을 대상으로 정상적인 오차 확산 이치화 처리를 수행한다.As a result of the determination in step S30, when the size of the pixel value of interest is not included in the upper grayscale value section, in the first binarization step S40, a normal error diffusion binarization process is performed on the corrected pixel value of interest.

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

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

예컨대, 플로이드와 스타인베르그((Floyd-Steinberg)가 제안한 오차 확산 마스크(error diffusion mask)는 도 5a와 같은 데, 이 오차 확산 마스크의 각 셀(cell) 내에 기술된 숫자들은 해당 위치의 화소가 갖는, 이치화 시에 발생한 계조 오차값들의 가중치를 의미한다. 통상, 오차 확산 방법은 라인 메모리를 통해 이전 라인의 계조 오차값을 저장하고 있어야 함은 가장 기본적인 전제 사항이다.For example, an error diffusion mask proposed by Floyd-Steinberg is shown in FIG. 5A, 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.

수학식 1과 같이, 현 좌표 위치

Figure 111999000300980-pat00002
의 주목 화소값
Figure 111999000300980-pat00003
과 인접 화소들의 계조 오차값들
Figure 111999000300980-pat00004
에 상관성 정도에 따라 각각 1/16, 5/16, 3/16, 7/16의 가중치를 적용하여 수정 주목 화소값
Figure 111999000300980-pat00005
을 산출한다. 여기서,
Figure 111999000300980-pat00006
는 수직 좌표(vertical coordinate)이며,
Figure 111999000300980-pat00007
는 수평 좌표(horizontal coordinate)이다.As in Equation 1, the current coordinate position
Figure 111999000300980-pat00002
Attention pixel value of
Figure 111999000300980-pat00003
Tone Error Values of N and N
Figure 111999000300980-pat00004
Attention pixel value modified by applying weights of 1/16, 5/16, 3/16, and 7/16, respectively, according to the degree of correlation
Figure 111999000300980-pat00005
To calculate. here,
Figure 111999000300980-pat00006
Is the vertical coordinate,
Figure 111999000300980-pat00007
Is the horizontal coordinate.

Figure 111999000300980-pat00008
Figure 111999000300980-pat00008

수학식 1을 통해 수정 주목 화소값

Figure 111999000300980-pat00009
을 산출한 후, 수학식 2와 같은 조건식에 의해 현 좌표 위치
Figure 111999000300980-pat00010
에 대한 이치화 결과치
Figure 111999000300980-pat00011
를 산출하고, 해당 위치에 대한 계조 오차값
Figure 111999000300980-pat00012
을 산출한다.Corrected attention pixel value through Equation 1
Figure 111999000300980-pat00009
After calculating the current position of the coordinates by the conditional expression
Figure 111999000300980-pat00010
Binarization result for
Figure 111999000300980-pat00011
To calculate the gradation error value
Figure 111999000300980-pat00012
To calculate.

Figure 111999000300980-pat00013
Figure 111999000300980-pat00013

다시 말해서, 수정 주목 화소값

Figure 111999000300980-pat00014
이 기설정된 고정 역치값(
Figure 111999000300980-pat00015
, 화소당 비트수가 8비트인 256 계조 화상을 기준할 때, 127이 됨)보다 크거나 같으면, 이치화 결과치
Figure 111999000300980-pat00016
로 백색(WHITE)을 출력한 후, 주목 화소값
Figure 111999000300980-pat00017
에서 최대 계조값(화소당 비트수가 8비트인 256 계조 화상을 기준할 때, 255가 됨)을 감산하여 해당 위치에 대한 계조 오차값
Figure 111999000300980-pat00018
으로 지정하고, 그렇지 않으면, 이치화 결과치
Figure 111999000300980-pat00019
로 흑색(BLOCK)을 출력한 후, 주목 화소값
Figure 111999000300980-pat00020
을 해당 위치에 대한 계조 오차값
Figure 111999000300980-pat00021
으로 지정한다.In other words, the modified pixel value of interest
Figure 111999000300980-pat00014
This preset fixed threshold value (
Figure 111999000300980-pat00015
Is greater than or equal to 127 when referring to a 256-gradation image having 8 bits per pixel).
Figure 111999000300980-pat00016
Pixel value of interest after outputting white (WHITE)
Figure 111999000300980-pat00017
The gray level error value for the position is subtracted by subtracting the maximum gray value (which becomes 255 when referring to 256 gray scale images with 8 bits per pixel)
Figure 111999000300980-pat00018
Otherwise, the binarization result
Figure 111999000300980-pat00019
Pixel value of interest after outputting black (BLOCK)
Figure 111999000300980-pat00020
Is the gradation error value for that position.
Figure 111999000300980-pat00021
To be specified.

이상의 내용을 정리하는 차원에서, 상기 제 1 이치화 단계(S40)의 수행 과정을 도 3을 참조하여 설명하면, 우선, 단계 S41에서 상기 수정 주목 화소값이 상기 중간 계조값보다 크거나 같은지를 판단한다.In order to summarize the above, the process of performing the first binarization step S40 will be described with reference to FIG. 3. First, in step S41, it is determined whether the corrected pixel value of interest is greater than or equal to the intermediate gradation value. .

상기 판단 단계(S41)의 판단 결과, 상기 수정 주목 화소값이 상기 중간 계조값보다 크거나 같으면, 단계 S42에서는 상기 주목 화소를 백색으로 이치화한 후, 상기 수정 주목 화소값에서 최대 계조값을 감산하여 새로운 계조 오차값으로 지정하고 그렇지 않으면, 단계 S43에서 상기 주목 화소를 흑색으로 이치화한 후, 상기 수정 주목 화소값을 새로운 계조 오차값으로 지정한다.As a result of the determination in the determining step S41, if the corrected pixel value of interest is greater than or equal to the intermediate gray value, in step S42, the pixel of interest is binarized to white, and then the maximum gray value is subtracted from the corrected pixel value of interest. Otherwise, the pixel of interest is binarized to black in step S43, and then the corrected pixel of interest is designated as a new tone error value.

반면에, 단계 S30의 판단 결과, 상기 주목 화소값의 크기가 상기 아티팩트 발생 구간에 포함되면, 제 2 이치화 단계(S50)에서는 상기 주목 화소값의 크기가 상기 아티팩트 발생 구간에 포함되면, 제 1 흑화소 이격 거리를 이용하여 상기 주목 화소에 대한 이치화 처리를 수행한다.On the other hand, when the size of the pixel of interest is included in the artifact generation period as a result of the determination in step S30, when the size of the pixel of interest is included in the artifact generation period in the second binarization step S50, the first black color is included in the artifact generation period. A binarization process is performed on the pixel of interest using the pixel separation distance.

본 발명에 대한 이해를 돕기 위해 제 2 이치화 단계(S50)의 수행 과정을 좀 더 상술하면, 우선, 단계 S51에서는 제 1 흑화소 이격 거리가 기설정된 강제 이격 거리보다 작은지를 판단한다.The process of performing the second binarization step S50 will be described in more detail to help understand the present invention. First, in step S51, it is determined whether the first black pixel separation distance is smaller than the predetermined forced separation distance.

이때, 상기 강제 이격 거리(

Figure 111999000300980-pat00022
)로는 수학식 3과 같이, 화소당 비트수에 따라 기설정된 고정 이격 거리값(
Figure 111999000300980-pat00023
)과 상기 고정 이격 거리값(
Figure 111999000300980-pat00024
)의 ±25% 범위 내에서 랜덤 함수(random function)를 통해 발생시킨 거리값(
Figure 111999000300980-pat00025
)을 합산한 값을 이용한다.At this time, the forced separation distance (
Figure 111999000300980-pat00022
), As shown in Equation 3, the fixed distance distance value (
Figure 111999000300980-pat00023
) And the fixed separation distance value (
Figure 111999000300980-pat00024
Distance value generated by random function within ± 25% of
Figure 111999000300980-pat00025
) Is used.

Figure 111999000300980-pat00026
Figure 111999000300980-pat00026

여기서, 고정 이격 거리값(

Figure 111999000300980-pat00027
)은 입력 화상의 계조수에 따라 고정된 역치값이고, 통상, 특별한 이론적인 근거에 의해 정해진 값이라기 보다는 모의 실험을 통해 실험적인 방법으로 정하는 값이다.Where the fixed separation distance value (
Figure 111999000300980-pat00027
) Is a fixed threshold value according to the number of gray levels of the input image, and is usually a value determined by an experimental method through simulation rather than a value determined by a special theoretical basis.

상기 판단 단계(S51)의 판단 결과, 상기 제 1 흑화소 이격 거리가 상기 강제 이격 거리보다 작으면, 단계 S52에서는 상기 주목 화소를 백색으로 이치화한 후, 상기 수정 주목 화소값에서 최대 계조값을 감산하여 새로운 계조 오차값으로 지정 하고, 상기 판단 단계(S51)의 판단 결과, 상기 제 1 흑화소 이격 거리가 상기 강제 이격 거리보다 작지 않으면, 단계 S53에서는 상기 주목 화소를 흑색으로 이치화한 후, 상기 수정 주목 화소값을 새로운 계조 오차값으로 지정한다.If the first black pixel separation distance is smaller than the forced separation distance as a result of the determination in step S51, in step S52, the pixel of interest is binarized to white and the maximum gray value is subtracted from the corrected pixel value of interest. If the first black pixel separation distance is not smaller than the forced separation distance, in step S53, the pixel of interest is binarized to black, and the correction is performed. The pixel value of interest is specified as a new gradation error value.

이와 같은 모든 과정이 끝나면 단계 S10으로 되돌아가서 다음의 주목 화소를 래스터 스캐닝 순으로 지정하여 모든 화소에 대한 중간조 처리가 완료될 때까지 동일한 과정을 반복 수행한다.When all of these processes are completed, the process returns to step S10 to specify the next pixel of interest in raster scanning order, and repeats the same process until the halftone processing for all the pixels is completed.

도 6은 본 발명에 따른 흑화소 이격에 기반한 적응형 오차 확산 방법을 적용하여 스타트-업 아티팩트를 제거한 결과 이치화 화상을 나타낸 예시도이다.6 is an exemplary view showing a binarized image as a result of removing the start-up artifact by applying the adaptive error diffusion method based on black pixel spacing according to the present invention.

본 발명에 따르면, 도 6을 통해 확인할 수 있는 바와 같이, 도 2와 같은 워엄 아티팩트와 도 3과 같은 스타트-업 아티팩트가 효과적으로 억제됨을 확인할 수 있다.According to the present invention, as can be seen through FIG. 6, it can be seen that the worm artifacts as shown in FIG. 2 and the start-up artifacts as shown in FIG. 3 are effectively suppressed.

이상에서 설명한 본 발명의 핵심 사상은 상기 주목 화소에서 최단 거리상에 존재하는 흑색으로 이치화된 화소와의 이격 거리가 기설정된 강제 이격 거리로 일정하게 유지되도록 함으로써 워엄 아티팩트와 스타트-업 아티팩트를 제거하면서 밝은 계조에서의 패턴이 블루 노이즈 특성을 가지도록 한다. 즉, 이미 이치화 처리된 화소 중에서 흑색으로 처리된 가장 가까운 화소를 탐색하여 주목 화소와의 거리를 구하고 이 거리가 일정한 거리(

Figure 111999000300980-pat00028
)보다 가까울 때는 무조건 주목 화소를 백색으로 이치화하여 부정적인 상관 패턴(correlated patterm)인 워엄 아티팩트(worm artifact)의 발생을 억제하고 이 거리가 일정한 거리(
Figure 111999000300980-pat00029
) 이상이 될 경우에는 무조건 주목 화소를 흑색으로 이치화하여 스타트업 아티팩트(start-up artifact)의 발생을 억제한다.The above-described core idea of the present invention is to remove the worm artifacts and the start-up artifacts by removing the worm artifacts and the start-up artifacts by keeping the separation distance from the pixel displaced to the black pixels located on the shortest distance from the target pixel at a predetermined forced separation distance. The pattern in gradation has a blue noise characteristic. In other words, from among the pixels which have already been binarized, the nearest pixel treated with black is searched to find a distance from the pixel of interest, and the distance is a constant distance (
Figure 111999000300980-pat00028
), The pixel of interest is binarized unconditionally to suppress the occurrence of worm artifacts, which are correlated patterms.
Figure 111999000300980-pat00029
), The pixel of interest is binarized unconditionally to black to suppress the occurrence of start-up artifacts.

본원에서 사용되는 용어(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.

이상에서 설명한 바와 같이, 연속 계조 화상의 화소값과 역치화된 이진 화소값 간의 계조 오차값(gray level error value)을 기설정된 가중치에 따라 인접 화소들에 확산시켜 이치화를 수행하는 오차 확산 방법에 있어서, 연속 계조 화상을 대상으로 오차 확산 방법을 적용할 시에 현 시점에서 중간조 처리를 수행하고자 하는 주목 화소값의 크기가 연속 계조 화상의 전체 계조 범위 중 상위 90% 이상의 계 조값 구간에 속할 경우에는 워엄 아티팩트와 스타트-업 아티팩트의 발생을 억제하기 위해 흑색으로 중간조 처리된 가장 가까운 화소와의 거리가 일정하게 유지되도록 중간조 처리를 수행하는 본 발명에 따르면, 워엄 아티팩트(worm artifacts)와 스타트-업 아티팩트(start-up artifacts)를 효과적으로 억제하여 고화질의 중간조 화상을 획득할 수 있는 이점이 있다.As described above, in an error diffusion method in which gray level error values between a pixel value of a continuous grayscale image and a thresholded binary pixel value are diffused to adjacent pixels according to a predetermined weight to perform binarization. When the error diffusion method is applied to the continuous grayscale image, if the size of the pixel value of interest to be subjected to the halftone processing at this point belongs to the upper 90% or more of the grayscale range of the grayscale range of the continuous grayscale image, According to the present invention, in which halftone processing is performed such that the distance between the closest pixel half-toned in black is kept constant to suppress the occurrence of warm artifacts and start-up artifacts, worm artifacts and start-up There is an advantage in that high-quality halftone images can be obtained by effectively suppressing start-up artifacts.

Claims (6)

연속 계조를 갖는 이치화 대상 화상의 화소값과 역치화된 이진 화소값 간의 계조 오차값(gray level error value)을 기설정된 가중치에 따라 인접 화소들에 확산시켜 이치화를 수행하는 오차 확산 방법에 있어서,In an error diffusion method of performing binarization by diffusing a gray level error value between a pixel value of a binarization target image having a continuous gray level and a thresholded binary pixel value to adjacent pixels according to a predetermined weight, 상기 이치화 대상 화상에서 이치화할 주목 화소를 래스터 스캐닝 순으로 지정하는 단계와;Designating a pixel of interest to be binarized in the binarization target image in raster scanning order; 상기 주목 화소에 인접한 주변 화소의 상기 계조 오차값을 상기 주목 화소에 가산하여 수정 주목 화소값을 산출하는 단계와;Calculating a corrected pixel value of interest by adding the gray level error value of a peripheral pixel adjacent to the pixel of interest to the pixel of interest; 상기 주목 화소값의 크기가 기설정된 아티팩트 발생 구간에 포함되는지 여부를 계조값 비교를 통해 판단하는 단계와; Determining whether the magnitude of the pixel value of interest is included in a preset artifact generation period by comparing grayscale values; 상기 주목 화소값의 크기가 상기 상위 계조값 구간에 포함되지 않으면, 상기 수정 주목 화소값을 대상으로 정상적인 오차 확산 이치화 처리를 수행하고, 상기 수정 주목 화소값이 상기 중간 계조값보다 크거나 같은지를 판단하는 제 1 이치화 단계; 및If the magnitude of the pixel value of interest is not included in the upper grayscale value section, a normal error diffusion binarization process is performed on the correction pixel value of interest, and it is determined whether the pixel value of correction pixel is greater than or equal to the intermediate gray value. A first binarization step; And 상기 주목 화소값의 크기가 상기 아티팩트 발생 구간에 포함되면, 상기 주목 화소에서 최단 거리상에 존재하는 흑색으로 이치화된 화소와의 이격 거리인 제 1 흑화소 이격 거리를 이용하여 상기 주목 화소에 대한 이치화 처리를 수행하는 제 2 이치화 단계를 포함하는 것을 특징으로 하는 흑화소 이격에 기반한 적응형 오차 확산 방법.When the magnitude of the pixel value of interest is included in the artifact generation period, the binarization processing is performed on the pixel of interest using a first black pixel distance, which is a distance from the pixel that is binarized with the black color that exists on the shortest distance from the pixel of interest. Adaptive error diffusion method based on black pixel spacing, characterized in that it comprises a second binarization step of performing. 제 1 항에 있어서, 상기 제 1 이치화 단계는,The method of claim 1, wherein the first binarization step, 상기 수정 주목 화소값이 상기 중간 계조값보다 크거나 같으면, 상기 주목 화소를 백색으로 이치화한 후, 상기 수정 주목 화소값에서 최대 계조값을 감산하여 새로운 계조 오차값으로 지정하는 단계; 및If the corrected pixel value of interest is greater than or equal to the intermediate gray value, binarizing the pixel of interest to white, and subtracting the maximum gray value from the corrected pixel value of interest to designate a new gray level error value; And 상기 수정 주목 화소값이 상기 중간 계조값보다 작으면, 상기 주목 화소를 흑색으로 이치화한 후, 상기 수정 주목 화소값을 새로운 계조 오차값으로 지정하는 단계로 구성되는 것을 특징으로 하는 흑화소 이격에 기반한 적응형 오차 확산 방법.If the correction pixel value of interest is smaller than the intermediate grayscale value, the pixel of interest pixel is configured to be blacked, and then the pixel of interest pixel value is set to a new gray level error value. Adaptive Error Diffusion Method. 제 1 항에 있어서, 상기 제 2 이치화 단계는,The method of claim 1, wherein the second binarization step, 상기 제 1 흑화소 이격 거리가 기설정된 강제 이격 거리보다 작은지를 판단하는 단계와;Determining whether the first black pixel separation distance is smaller than a preset forced separation distance; 상기 제 1 흑화소 이격 거리가 상기 강제 이격 거리보다 작으면, 상기 주목 화소를 백색으로 이치화한 후, 상기 수정 주목 화소값에서 최대 계조값을 감산하여 새로운 계조 오차값으로 지정하는 단계; 및If the first black pixel separation distance is smaller than the forced separation distance, binarizing the pixel of interest to white and subtracting the maximum gray value from the corrected pixel value of interest to specify a new gray level error value; And 상기 제 1 흑화소 이격 거리가 상기 강제 이격 거리보다 작지 않으면, 상기 주목 화소를 흑색으로 이치화한 후, 상기 수정 주목 화소값을 새로운 계조 오차값으로 지정하는 단계로 구성되는 것을 특징으로 하는 흑화소 이격에 기반한 적응형 오차 확산 방법.If the first black pixel separation distance is not smaller than the forced separation distance, the pixel of interest is binarized to black, and then the corrected pixel pixel value is designated as a new gray level error value. Adaptive error diffusion method based on. 제 1 항에 있어서, 상기 아티팩트 발생 구간은 상기 계조 화상의 전체 계조 범위 중 상위 90% 이상의 계조값 구간인 것을 특징으로 하는 흑화소 이격에 기반한 적응형 오차 확산 방법.The adaptive error diffusion method of claim 1, wherein the artifact generation interval is a gradation value interval of at least 90% of the entire gradation range of the gradation image. 제 4 항에 있어서, 화소당 비트수가 8비트일 때, 상기 중간 계조값은 127이고, 상기 최대 계조값은 255이며, 상기 워엄 아티팩트 구간은 230 이상인 것을 특징으로 하는 흑화소 이격에 기반한 적응형 오차 확산 방법.The adaptive error based on black pixel separation according to claim 4, wherein when the number of bits per pixel is 8 bits, the intermediate gray value is 127, the maximum gray value is 255, and the worm artifact interval is 230 or more. Diffusion method. 제 1 항에 있어서, 상기 강제 이격 거리는 화소당 비트수에 따라 기설정된 고정 이격 거리값과 상기 고정 이격 거리의 ±25% 범위 내에서 랜덤 함수를 통해 발생시킨 거리값을 합산한 값인 것을 특징으로 하는 흑화소 이격에 기반한 적응형 오차 확산 방법.The method of claim 1, wherein the forced distance is a sum of a predetermined distance and a distance generated by a random function within a range of ± 25% of the fixed distance according to the number of bits per pixel. Adaptive error diffusion method based on black pixel spacing.
KR1019990001420A 1999-01-19 1999-01-19 Adaptive error diffusion method based on the interval of black pixels KR100547102B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990001420A KR100547102B1 (en) 1999-01-19 1999-01-19 Adaptive error diffusion method based on the interval of black pixels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990001420A KR100547102B1 (en) 1999-01-19 1999-01-19 Adaptive error diffusion method based on the interval of black pixels

Publications (2)

Publication Number Publication Date
KR20000051140A KR20000051140A (en) 2000-08-16
KR100547102B1 true KR100547102B1 (en) 2006-01-26

Family

ID=19571703

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990001420A KR100547102B1 (en) 1999-01-19 1999-01-19 Adaptive error diffusion method based on the interval of black pixels

Country Status (1)

Country Link
KR (1) KR100547102B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100780204B1 (en) * 2006-12-13 2007-11-27 삼성전기주식회사 A camera module having a ground dummy board

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06164934A (en) * 1992-03-23 1994-06-10 Murata Mach Ltd Binarization processing method for picture element signal
JPH09163141A (en) * 1995-10-06 1997-06-20 Seiko Epson Corp Image processing method and its device
US5737453A (en) * 1996-05-17 1998-04-07 Canon Information Systems, Inc. Enhanced error-diffusion method for color or black-and-white reproduction
JPH1097618A (en) * 1996-05-01 1998-04-14 Canon Inf Syst Res Australia Pty Ltd Seamless parallel adjacent processing for halftone
KR100277729B1 (en) * 1998-07-31 2001-01-15 윤종용 Binarization Method for High Quality Printing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06164934A (en) * 1992-03-23 1994-06-10 Murata Mach Ltd Binarization processing method for picture element signal
JPH09163141A (en) * 1995-10-06 1997-06-20 Seiko Epson Corp Image processing method and its device
JPH1097618A (en) * 1996-05-01 1998-04-14 Canon Inf Syst Res Australia Pty Ltd Seamless parallel adjacent processing for halftone
US5737453A (en) * 1996-05-17 1998-04-07 Canon Information Systems, Inc. Enhanced error-diffusion method for color or black-and-white reproduction
KR100277729B1 (en) * 1998-07-31 2001-01-15 윤종용 Binarization Method for High Quality Printing

Also Published As

Publication number Publication date
KR20000051140A (en) 2000-08-16

Similar Documents

Publication Publication Date Title
US5353127A (en) Method for quantization gray level pixel data with extended distribution set
EP0702482B1 (en) Error diffusion halftoning with homogeneous response in high/low intensity image regions
US5051844A (en) Digital halftoning with error diffusion
EP0838940B1 (en) Multiple spatial channel processing
US5325448A (en) Image treatment method and apparatus with error dispersion and controllable quantization
EP0531170B1 (en) Method for quantization gray level pixel data with application of under compensated error diffusion
US8208175B2 (en) Blended error diffusion and adaptive quantization
JP5260865B2 (en) Method, apparatus and computer program for halftoning a digital image
US7064862B2 (en) Printer and printing method for image-quality correction
EP0781034B1 (en) Image processing apparatus and method
JP2009100228A (en) Image processing apparatus and control method therefor
EP1366618B1 (en) Error diffusion with partial dots method and system
US6307647B1 (en) Digital halftoning with error diffusion
Fan Dot-to-dot error diffusion
US20010038465A1 (en) Threshold matrix, and method and apparatus of reproducing gray levels using threshold matrix
KR100547102B1 (en) Adaptive error diffusion method based on the interval of black pixels
EP0696131A2 (en) A method and system for processing image information using screening and error diffusion
KR100268336B1 (en) Error diffusion method using variable threshold value
KR100522589B1 (en) Adaptive Color Error Diffusion Method
KR100381651B1 (en) Apparatus for processing color halftoning
KR100251551B1 (en) Non-casual error diffusion for digital image quantization
KR100321299B1 (en) Adaptive Error Diffusion Method Based on High Pass Filtering
KR20000066828A (en) Error diffusion method based on the random-replacement of a portion of modifying target pixel value
JPH08321949A (en) Binarization processing method for intermediate tone image
KR100561453B1 (en) Adaptive color halftoning processing method for 4-color printing in printer

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee