KR930007979B1 - Middle tone picture display method - Google Patents

Middle tone picture display method Download PDF

Info

Publication number
KR930007979B1
KR930007979B1 KR1019910008598A KR910008598A KR930007979B1 KR 930007979 B1 KR930007979 B1 KR 930007979B1 KR 1019910008598 A KR1019910008598 A KR 1019910008598A KR 910008598 A KR910008598 A KR 910008598A KR 930007979 B1 KR930007979 B1 KR 930007979B1
Authority
KR
South Korea
Prior art keywords
local
wave
boundary
halftone
brightness difference
Prior art date
Application number
KR1019910008598A
Other languages
Korean (ko)
Other versions
KR920022813A (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 KR1019910008598A priority Critical patent/KR930007979B1/en
Publication of KR920022813A publication Critical patent/KR920022813A/en
Application granted granted Critical
Publication of KR930007979B1 publication Critical patent/KR930007979B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/23Reproducing arrangements
    • H04N1/27Reproducing arrangements involving production of a magnetic intermediate picture

Landscapes

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

Abstract

The edge of a letter is emphasized to increase decipherability and the image data is transmitted at high speed by a dithering method which uses wave dither matrix. The method comprises the steps of: (A) scanning a manuscript by pixel unit and storing the scanned data on a buffer; (B) deciding the local brightness difference of the current scan data; (C) discriminating edge by inspecting that the brightness difference is larger than local inverse value; (D) converting half tone to white when the brightness difference is larger than local inverse value and the current pixel is brighter than local brightness and otherwise converting to black; and (E) discriminating that current pixel is not edge when local brightness difference is less than local inverse value and coding the current pixel by binary code.

Description

중간조 화상 표현방법Halftone image representation

제 1 도는 본 발명을 수행하기 위한 팩시밀리 시스템의 블럭 구성도.1 is a block diagram of a facsimile system for carrying out the present invention.

제 2 도는 본 발명에 따른 흐름도.2 is a flow chart according to the present invention.

제 3 도는 본 발명에 따른 웨이브디더 매트릭스 예시도.3 is a diagram illustrating a wave dither matrix according to the present invention.

제 4 도는 본 발명의 경계 판별을 위한 검색 윈도우 예시도.4 is an exemplary view of a search window for boundary determination of the present invention.

제 5 도는 본 발명의 중간조 화상 표현에 따른 데이타 변환 설명도.5 is an explanatory diagram of data conversion according to the halftone image representation of the present invention.

제 6 도는 본 발명의 중간조 화상 표현을 위한 메모리맵도.6 is a memory map diagram for halftone image representation of the present invention.

제 7 도는 본 발명에 따른 웨이브 디더링 설명도.7 is a diagram illustrating wave dithering according to the present invention.

본 발명은 화상처리 시스템의 중간조 화상 표현 방법에 관한 것으로, 특히 문자의 경계(edge)를 강조하여 문자의 판독성을 향상시키는 동시에 웨이브디더 매트릭스(wave dither matrix)를 이용한 디더링(dithering)에 의해 화상데이타의 고속 전송이 가능하도록 하는 중간조 화상 표현 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a halftone image representation method of an image processing system, and in particular, to enhance the readability of a character by emphasizing the edge of the character and at the same time by dithering using a wave dither matrix. The present invention relates to a halftone image representation method enabling high-speed data transfer.

일반적으로 팩시밀리(facsimile) 이미지 스캐너(image scanner), 프린터, 복사기등의 화상 처리 시스템에서는 디더 매트릭스를 이용하여 사진, 그림 등 제조가 있는 원고의 계조 화상 데이타로부터 중간조 화상표현을 얻고 있다.In general, image processing systems such as facsimile image scanners, printers, and copiers use a dither matrix to obtain halftone image representation from grayscale image data of manufactured originals such as photographs and drawings.

상기 중간조에는 실제의 중간조(real half tone)와 모조의 중간조(dummy half tone)가 있으며 그 표현 방법도 각기 다르다. 본 발명은 모조의 중간조에 관한 것이므로 전자의 경우에 대한 언급은 생략하고 후자의 표현방법들에 대해서만 설명하기로 한다. 모조의 중간조를 표현하는 방법에는 조직적 디더법, 랜덤(random)디더법, 오차 배분법, 평균 오차 최소(오차분산)법, 평균치, 제한법, 농도 패턴법 등이 있다.The halftone includes a real halftone and a dummy halftone, and their expression methods are also different. Since the present invention relates to the counterfeit half of the dummy, the description of the former case will be omitted and only the latter expression methods will be described. The method of expressing the halftone of the counterfeit includes a systematic dither method, a random dither method, an error distribution method, an average error minimum (error variance) method, an average value, a limit method, and a concentration pattern method.

상기 표현방법들 중 조직적 디더법은 2치화하는 역치(threshold)를 각 화소의 위치 정보로부터 결정하며 전 화상에 대해 매칭하는 매트릭스내의 역치위치가 변하지 않는 가장 단순한 방법으로써, 스파이럴(spiral), 스크롤(scroll)등과 같은 도트(dot) 집중형과 베이어(Bayer), 도트(Dot)등과 같이 도트의 공간 주파수가 높은 특성을 갖는 도트 분산형이 있다.Among the above expression methods, the systematic dither method determines the threshold value to be binarized from the position information of each pixel, and is the simplest method that does not change the threshold position in the matching matrix for the whole image. There are a dot intensive type such as scroll and the like and a dot dispersion type having high spatial frequency characteristics such as Bayer and Dot.

상기와 같은 디더 매트릭스를 이용하여 일정계조로 양자화된 계조화상으로부터 중간조 화상표현을 얻는 종래의 방법은 본원 출원인과 동일 출원인의 1990년 특허출원 제 16884 호에 상세히 개시되어 있다.A conventional method of obtaining halftone image representation from a gradation image quantized with a constant gradation using the dither matrix as described above is disclosed in detail in 1990 Patent Application No. 16884 of the applicant and the same applicant.

그러나 종래의 디더 매트릭스를 이용한 중간조 화상 표현 방법은 문자와 배경의 경계에 민감한 인간의 시각적 특성을 고려치 않음으로써 경계 부분에서 화질의 열화가 발생될 뿐만 아니라 얻어진 중간조 화상 데이타를 전송시 전송시간이 길어지는 문제점이 있었다.However, the conventional halftone image representation method using the dither matrix does not consider human visual characteristics that are sensitive to the boundary between text and background, resulting in deterioration of image quality at the boundary portion and transfer time in transferring the obtained halftone image data. There was a problem with this lengthening.

따라서 본 발명의 목적은 화상 처리 시스템에서 계조화상 데이타의 중간조 화상 표현 방법에 있어서, 인간의 시각적 특성을 고려하여 문자와 배경의 경계를 강조하여 문자의 판독성을 향상시킬 수 있는 중간조 화상 표현 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a halftone image representation method of grayscale image data in an image processing system, which can improve readability of a character by emphasizing the boundary between a character and a background in consideration of human visual characteristics. In providing.

본 발명의 다른 목적은 계조 화상 데이타의 중간조 화상 표현 방법에 있어서, 중간조 화상 데이타의 전송시간을 단축시킬 수 있도록 웨이브(wave) 디더 매트릭스를 이용하여 중간조 화상 데이타의 평균 런렝스(run length)를 늘일 수 있는 중간조 화상 표현 방법을 제공함에 있다.Another object of the present invention is a method for expressing a halftone image of grayscale image data, the average run length of halftone image data using a wave dither matrix to shorten the transmission time of the halftone image data. It is to provide a halftone image representation method that can be increased).

이하 본 발명을 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제 1 도는 본 발명중 수행하기 위한 팩시밀리 시스템의 블럭 구성도로서, 시스템을 제어하고 각종 연산을 수행하는 중앙처리장치(이하 CPU라함)(10)와, 상기 CPU(10)의 제어에 의해 원고를 주사하여 아나로그 화상신호를 생성하고 생성된 아나로그 화상신호를 디지탈 데이타로 변환하여 출력하는 원고주사부(20)와, 상기 원고주사부(20)에서 출력되는 화상데이타와 수신된 화상데이타 및 디더 매트릭스를 내부의 메모리에 저장하며 다른 시스템과의 화상데이타 송수신시 부호화(encoding) 및 복호화(decoding)를 하는 신호처리부(30)와, 상기 신호처리부(30)에 저장된 화상데이타를 상기 CPU(10)에 제어에 의해 입력하여 기록 용지에 기록하는 기록부(40)와, 상기 신호처리부(30)에 저장된 화상데이타를 상기 CPU(10)의 제어에 의해 공중회선망을 통하여 다른 시스템으로 송신 및 타 시스템으로부터 수신하는 전송부(50)로 구성된다.1 is a block diagram of a facsimile system for carrying out the present invention, in which a central processing unit (hereinafter referred to as CPU) 10 for controlling a system and performing various operations, and a document under the control of the CPU 10; An original scanning unit 20 for scanning and generating an analog image signal, converting the generated analog image signal into digital data, and outputting the image data output from the original scanning unit 20, and received image data and dither The CPU 10 stores the matrix in an internal memory and encodes and decodes the image data to and from another system, and the image data stored in the signal processor 30. The recording unit 40 which is inputted by the control unit to record on the recording sheet and the image data stored in the signal processing unit 30 is transferred to another system through the public circuit network under the control of the CPU 10. And it consists of a transmitting unit (50) for receiving from the other system.

상기 제 1 도의 구성은 일반적인 팩시밀리 시스템의 블럭 구성도이다. 제 2 도는 본 발명에 따른 흐름도로서, 원고를 화소 단위로 주사 및 설정 계조의 화상 데이타로 변환하여 현재 화소값을 버퍼에 저장하는 주사과정과, 상기 주사과정의 현재 화소(주목화소)에 대한 검색 윈도우내의 국부 밝기차를 결정하는 국부 밝기차 결정 과정과, 상기 국부 밝기차가 국부 역치보다 큰가를 검사하는 경계 판별과정과, 상기 경계 판별 과정에서 국부 밝기값차가 국부 역치보다 클시 현재 화소가 경계부분이라고 판단하여 국부 밝기값보다 크면 중간조 화상을 "백"으로 이치화하고 작으면 "흑"으로 이치화하여 경계를 강조하는 경계강조 과정과, 상기 경계 판별 과정에서 현재 화소값이 국부 역치보다 크면 중간조 화상을 "백"으로 이치화하고 작으면 "흑"으로 이치화하는 웨이브 디더링 과정과, 상기 경계 강조 과정 및 웨이브 디더링과정 수행후 원고에 대한 주사완료 여부를 검사하여 완료되지 않았을 시 상기 주사 과정으로 진행하고 완료되었을시 종료하는 종료 과정으로 이루어진다.The configuration of FIG. 1 is a block diagram of a general facsimile system. 2 is a flowchart according to the present invention, which includes a scanning process of converting an original into pixel data and converting the image into image data of a preset gray scale to store a current pixel value in a buffer, and searching for a current pixel (main pixel) of the scanning process. A local brightness difference determination process for determining a local brightness difference in a window; a boundary discrimination process for checking whether the local brightness difference is greater than a local threshold; and a current pixel is a boundary portion when the local brightness value difference is greater than a local threshold in the boundary discrimination process. If it is larger than the local brightness value, the image is half-weighted to "white", and if it is small, it is "black" to emphasize the boundary; if the current pixel value is larger than the local threshold, the half-tone image A wave dithering process, which binarizes to "white" and a small to "black", the boundary enhancement process and the wave dithering process After the completion of the scan is carried out to check whether the completion of the scan proceeds to the scanning process, and when it is completed, the end process is completed.

제 3 도는 본 발명에 따른 웨이브 디더 매트릭스 예시도로서, 입력 화상이 16계조를 가지는 계조 화상일 경우 16계조의 대응 역치가 4행×4열의 단위 매트릭스 내에서 라인내의 화소간에 연속성을 가지며 각 라인이 8행×8열의 웨이브 형태로 배열되는 것을 나타낸 것이다.3 is a diagram illustrating a wave dither matrix according to the present invention, in which the corresponding threshold of 16 grays is continuity between pixels in a line in a unit matrix of 4 rows x 4 columns when the input image is 16 grays. It shows arrangement in wave form of 8 rows x 8 columns.

상기 제 3 도의 웨이브 디더 매트릭스는 신호 처리부(30)의 제 2 메모리 영역에 저장되어 있게되며, 입력화상의 계조에 따라 대응 역치의 계조 및 행과 열을 변경시키면 된다.The wave dither matrix of FIG. 3 is stored in the second memory area of the signal processor 30, and the gray level of the corresponding threshold value, the row and the column may be changed according to the gray level of the input image.

제 4 도는 본 발명의 경계 판별을 위한 검색 윈도우 예시도로써, 원고의 ⅰ번째 라인(행), j번째열의 화소의 밝기 값을 현재 화소값(Pk)이라 할 때 상기 현재 화소값(Pk)과 이전라인 화소값(PA-PC)과, 현재 라인의 이전화소값(Pk')을 검색 윈도우로 지정함을 나타낸 것이다.4 is a diagram illustrating a search window for boundary determination according to the present invention. When the brightness values of pixels in the X-th line (row) and j-th column of the document are the current pixel value Pk, the current pixel value Pk is compared with the current pixel value Pk. The previous line pixel value PA-PC and the previous pixel value Pk 'of the current line are designated as a search window.

제 5 도는 본 발명의 중간조 화상 표현에 따른 데이타 변환 설명도로서, 제 5a 도는 원고의 ⅰ번째 라인, j번째 열의 화소 P(i,j)를 현재 화소값(Pk)이라 할 때 원고의 주사 및 이치화 처리에 따라 현재 라인(ⅰ)의 이전화소값 P(i,0), P(i,1), …, P(i,j-2)과 1라인 이전라인(i-1)의 화소값 P(i-1,j-1), P(i-1,j), P(i-1,j+1), P(i-1,j+2), …, P(i-1,n-1), P(i-1,n)이 신호처리부(30)의 1라인 메모리인 제 1 메모리영역에 저장되는 것을 나타낸 것이다. 제 5b 도는 상기 제 5a 도의 화소 P(i,j)에 대한 이치화 처리완료후 다음 화소 P(i,j+1)를 현재 화소값(Pk)으로 할 때의 데이타 변환을 나타낸 것이다.FIG. 5 is an explanatory diagram of data conversion according to the halftone image representation of the present invention. FIG. 5A is a scan of an original when the pixel P (i, j) of the ninth line and the jth column of the original is the current pixel value Pk. And previous pixel values P (i, 0), P (i, 1),... Of the current line in accordance with the binarization processing. P (i-1, j-1), P (i-1, j), P (i-1, j + of the pixel values P (i, j-2) and one line previous line i-1 1), P (i-1, j + 2),... , P (i-1, n-1) and P (i-1, n) are stored in the first memory area, which is a one-line memory of the signal processing unit 30. FIG. 5B shows data conversion when the next pixel P (i, j + 1) is set to the current pixel value Pk after completion of binarization processing for the pixel P (i, j) of FIG. 5A.

제 6 도는 본 발명의 중간조 표현을 위한 메모리맵도로서, Tdif는 현재 화소값(Pk)에 대하여 경계여부를 판별하기 위하여 미리 설정한 국부 역치이며, Pk는 현재 화소의 밝기값이며, Pk'는 현재 화소값(Pk)에 대한 현재 라인에서의 이전 화소값이며, Bdif는 현재 화소에 대한 검색 윈도우내의 화소중 최대 밝기값과 최소 밝기값의 차인 국부 밝기차로서 상기 국부 역치(Tdif)와 비교하여 현재 화소의 경계부분 여부를 판별하기 위한 값이며, Bv는 현재 화소가 경계부분일시 현재 화소값(Pk)을 이치화하기 위하여 상기 최대 밝기값과 최소 밝기값을 산술 평균한 국부 밝기 값이다.6 is a memory map for halftone representation of the present invention, where Tdif is a local threshold set in advance to determine whether a boundary is present with respect to the current pixel value Pk, and Pk is a brightness value of the current pixel, and Pk ' Is the previous pixel value in the current line with respect to the current pixel value Pk, and Bdif is the local brightness difference that is the difference between the maximum and minimum brightness values among the pixels in the search window for the current pixel and compared with the local threshold Tdif. A value for determining whether the current pixel is a boundary part, and Bv is a local brightness value obtained by arithmetically averaging the maximum brightness value and the minimum brightness value to binarize the current pixel value Pk when the current pixel is the boundary part.

상기 제 6 도의 값들은 신호처리부(30)로부터 CPU(10)의 내부 버퍼에 로드되어 저장되어 있게 된다.The values of FIG. 6 are loaded and stored in the internal buffer of the CPU 10 from the signal processor 30.

제 7 도는 본 발명에 따른 웨이브 디더 매트릭스를 사용한 웨이브 디더링 설명도로서, 제 7a 도는 원고를 주사하여 16계조로 디지탈 변환된 계조 화상의 예시도이며, 제 7b 도는 종래의 베이어 디더 매트릭스의 예시도이다. 제 7c 도는 상기 제 7a 도의 계조 화상에 대하여 상기 제 7b 도의 베이어 디더 매트릭스를 사용하여 디더링시의 중간조 표현 예시도이며, 제 7d 도는 상기 제 7a 도의 계조 화상에 대하여 본 발명의 상기 제 3 도의 웨이브 디더 매트릭스를 사용하여 디더링시의 중간조 표현 예시도이다.FIG. 7 is an explanatory diagram of wave dithering using the wave dither matrix according to the present invention. FIG. 7a is an exemplary diagram of a grayscale image digitally converted into 16 grayscales by scanning an original, and FIG. 7b is an exemplary diagram of a conventional Bayer dither matrix. . FIG. 7C is an illustration of halftone representation when dithering using the Bayer dither matrix of FIG. 7B with respect to the grayscale image of FIG. 7A, and FIG. 7D is the wave of FIG. 3 of the present invention with respect to the grayscale image of FIG. It is an illustration of halftone representation when dithering using a dither matrix.

제 7e 도는 라인형태 디너 매트릭스의 예시도이다.7E is an illustration of a line-shaped dinner matrix.

이하 본 발명의 일실시예의 동작을 첨부한 제 1 도 내지 제 7 도를 참조하여 상세히 설명한다.Hereinafter, an operation of an embodiment of the present invention will be described in detail with reference to FIGS. 1 to 7.

우선 제 1 도에서 CPU(10)의 제어에 의해 원고 주사부(20)는 원고를 주사하여 샘플링 및 n비트로 양자화하여 설정 계조의 화상데이타로 변환한다. 이때 입력원고가 A4사이즈의 용지라면 상기 원고 주사부(20)에서 200dpi(dot per inch)로 샘플링을 할 때 1라인의 화소수는 1728개가 된다. 상기 원고주사부(20)의 출력은 신호처리부(30)에 입력되어 1라인의 계조화상 데이타를 저장할 수 있는 저장 영역을 가지는 라인 메모리에 저장된다. 여기서 지금부터 상기 계조 화상 데이타가 4비트 양자화되어 0-15의 계조를 가진다고 하고 1라인의 화소수가 상기와 같이 1728개라고 가정하여 설명한다.First, in Fig. 1, under the control of the CPU 10, the document scanning unit 20 scans an original, quantizes it into sampling and n bits, and converts the image into image data having a set gradation. At this time, if the input document is A4 size paper, the number of pixels per line becomes 1728 when the document scanning unit 20 samples at 200 dpi (dot per inch). The output of the document scanning unit 20 is input to the signal processing unit 30 and stored in a line memory having a storage area capable of storing one line of grayscale image data. The following description will be given on the assumption that the gray-scale image data is 4-bit quantized to have a gray scale of 0-15, and that the number of pixels in one line is 1728 as described above.

또한 상기 CPU(10)는 상기 신호처리부(30)의 저장 계조 화상 데이타를 이치화 및 부호화하여 전송부(50)를 통하여 공중 회선망으로 전송한다.In addition, the CPU 10 binarizes and encodes the stored grayscale image data of the signal processing unit 30 and transmits the same to the public line network through the transmission unit 50.

한편 상기 공중회선망으로부터 전송부(50)에 수신되는 신호는 신호처리부(30)에서 복호화 및 재생되어 기록부(40)에서 기록용지에 재생된다.On the other hand, the signal received by the transmission unit 50 from the public line network is decoded and reproduced by the signal processing unit 30 and reproduced on the recording paper by the recording unit 40.

지금 제 1 도의 시스템이 지금 사진, 그림 등 계조가 있는 원고를 주사하여 중간조 화상 표현을 얻는 동작을 시작한다면, CPU(10)는 제 6 도와 같은 내부 버퍼를 초기화 시킨후 제 2 도의 (2a)단계를 수행한다. 이때 국부 역치(Tdif)를 신호처리부(30)로부터 내부 버퍼에 로드하여 이전화소값(Pk')과 현재화소값(Pk)과 국부 밝기차(Bdif) 및 국부 밝기값(Bv)를 클리어 한다. 상기 (2a)단계에서 원고 주사부(20)를 제어하며 원고를 화상 단위로 국사하여 현재화소(주목화소)값(Pk)을 제 6 도와 같은 버퍼에 저장한다.If the system of FIG. 1 now starts the operation of scanning a gradated document such as a picture or a picture to obtain a halftone image representation, the CPU 10 initializes an internal buffer such as that of FIG. 6 and then (2a) in FIG. Perform the steps. At this time, the local threshold Tdif is loaded from the signal processor 30 into the internal buffer to clear the previous pixel value Pk ', the current pixel value Pk, the local brightness difference Bdif, and the local brightness value Bv. In step (2a), the document scanning unit 20 is controlled, and the document is copied in image units, and the current pixel (primary pixel) value Pk is stored in the same buffer as the sixth degree.

다음에 (2b)단계에서 제 4 도와 같은 검색윈도우(Sw)를 현재 화소(Pk)에 대하여 설정하고 상기 검색 윈도우(Sw)내의 인접 화소값(PA-PC)을 신호처리부(30)의 제 1 메모리 영역(라인 메모리)로부터 제 6 도의 버퍼에 로드한후, 검색 윈도우(Sw)내의 화소중 최대 밝기값과 최소 밝기값을 검색하고 검색된 최대 밝기값과 최소 밝기값의 밝기차를 연산에 의해 결정하여 국부 밝기차(Bdif)로 제 6b 도와 같이 버퍼에 저장한다. 이때 상기 인접 화소값(PA-PC)은 이미 중간조 표현 처리된 이전 라인에서의 인접 화소의 밝기 값이며 현재 화소가 원고의 처음 라인의 처음 화소라면 신호처리부(30)의 라인 메모리 및 CPU(10)의 내부버퍼의 상기 초기화에 따라 클리어된 값이 된다.Next, in step (2b), a search window Sw equal to the fourth degree is set for the current pixel Pk, and the adjacent pixel value PA-PC in the search window Sw is set as the first signal of the signal processor 30. After loading from the memory area (line memory) into the buffer of FIG. 6, the maximum brightness value and the minimum brightness value of the pixels in the search window Sw are searched and the brightness difference between the searched maximum brightness value and the minimum brightness value is determined by calculation. And store it in the buffer as shown in FIG. 6b as the local brightness difference Bdif. In this case, the adjacent pixel value PA-PC is a brightness value of the adjacent pixel in the previous line that has been halftone-expressed, and if the current pixel is the first pixel of the first line of the original, the line memory and the CPU 10 of the signal processor 30 may be used. It becomes the value cleared according to the initialization of the internal buffer.

다음에 (2c)단계에서 상기 국부 밝기차(Bdif)가 제 6 도의 국부역치(Tdif)보다 큰가를 검사하여 크면 현재 화소가 문자와 배경의 경계 부분에 있다고 판단하여 (2d)단계로 진행하여 경계를 강조하고, 작으면 경계부분이 아니라고 판단하여 (2h)단계로 진행하여 웨이브 디더링을 한다.Next, in step 2c, it is determined whether the local brightness difference Bdif is greater than the local threshold value Tdif of FIG. 6, and if it is large, it is determined that the current pixel is in the boundary between the character and the background, and the process proceeds to step 2d. If it is small, determine that it is not the boundary part, and proceed to step (2h) to perform wave dithering.

상기 (2d)단계에서는 상기 최대 밝기값과 최소 밝기값의 합을 2로 나누어 국부 밝기차(Bv)을 결정하여 제 6 도와 같은 버퍼에 저장한후, (2e~2g)단계에서 현재 화소 밝기차(Pk)이 상기 국부 밝기차(Bv)보다 큰가를 검사하여 크면 현재 화소에 대한 중간조 화상을 "백"으로 이치화하고 작으면 "흑"으로 이치화하여 문자의 경계를 강조한다.In step (2d), the sum of the maximum brightness value and the minimum brightness value is divided by two to determine a local brightness difference (Bv) and stored in the same buffer as the sixth degree, and in step (2e ~ 2g), the current pixel brightness difference ( Checking whether Pk) is greater than the local brightness difference Bv, if it is large, binarizes the halftone image for the current pixel to "white", and if it is small, to "black" to emphasize the boundary of the character.

상기 (2h)단계에서는 현재 화소값(Pk)이 신호처리부(30)의 제 2 메모리 영역에 저장되어 있는 제 3 도와 같은 웨이브 디더 매트릭스의 대응되는 행과 열의 대응 역치보다 큰가를 검사함으로써 웨이브 디더링을 한다. 이때 현재 화소의 밝기값(Pk)이 대응역치보다 크면 (2g)단계로 진행하여 현재 화소에 대한 중간조 화상을 "백"으로 이치화하고 작으면 (2f)단계로 진행하여 "흑"으로 이치화한다. 여기서 대응역치가 제 3 도와 같이 라인의 화소간에 연속성을 가지는 웨이브 매트릭스를 사용하여 웨이브 디더링을 함으로써, 종래의 불규칙한 계조 배열을 가지는 디더 매트릭스를 이용한 디더링에 비하여 이치화한 중간조 화상데이타의 런렝스가 휠씬 길어진다.In step (2h), wave dithering is performed by checking whether the current pixel value Pk is larger than the corresponding threshold of the corresponding row and column of the wave dither matrix, such as the third degree, stored in the second memory area of the signal processor 30. do. At this time, if the brightness value Pk of the current pixel is larger than the corresponding threshold, the process proceeds to step (2g) to binarize the halftone image of the current pixel to "white", and to step (2f) to binarize to "black". . Here, as the corresponding threshold is wave dithering using the wave matrix having the continuity between the pixels of the line as shown in the third diagram, the run length of the half-tone image data which is binarized compared to the dithering using the dither matrix having the irregular gradation array is conventional. Longer

즉 일예를 들어 제 7a 도의 계조 화상에 대하여 제 7b 도와 같은 종래의 베이어 디더 매트릭스를 사용하여 디더링시 제 7c 도와 같이 중간조 표현되는데 비하여, 제 3 도와 같은 본 발명에 따른 웨이브 디더 매트릭스의 좌측 상위 4×4를 사용하여 디더링시 제 7d 도와 같이 중간조 표현됨을 알 수 있다.In other words, for example, halftones are represented in the grayscale image of FIG. 7a by using the conventional Bayer dither matrix, such as the 7b diagram. It can be seen that the halftone is expressed as the 7d degree when dithering using x4.

그러므로 흑 및 백의 평균 런렝스가 증가됨으로서 중간조 화상표현된 데이타의 전송시간이 대폭적으로 단축되며, 실험결과에 의하면 1/3정도로 전송시간을 단축시킬 수 있었다. 또한 상기 웨이브 디더 매트릭스는 4행×4열 본 발명의 각 라인이 8행×8열에서 웨이브 형태로 배열되므로 중간조 표현에 따른 화상이 웨이브형태가 되어 종래의 베이어 디더 매트릭스등에 비해 인간의 눈에 거슬리는 중간정도의 밝기값들을 갖는 부분들을 보다 자연스럽게 표현할 수 있게 되어 시각적인 측면에서의 화질을 크게 향상시킬 수 있다.Therefore, as the average run length of black and white is increased, the transfer time of half-tone image representation data is greatly shortened. According to the experimental results, the transfer time can be shortened to about 1/3. In addition, since the wave dither matrix is arranged in a wave form in each of the four rows x four columns of the eight rows x eight columns, the image according to the halftone expression becomes a wave shape, which is more effective in the human eye than a conventional Bayer dither matrix. It is possible to express more natural parts with uncomfortable intermediate brightness values, which can greatly improve the visual quality.

그리고 제 7e 도와 같은 단순한 라일 형태의 디더 매트릭스에 의한 디더링시 약간 어두운 배경에서의 문자에 대하여는 문자를 판독하기 어려운데 반하여 상기 웨이브 디더 매트릭스에 의한 디더링은 각 라인의 인접 라인과 연속성을 가지지 않으므로 약간 어두운 배경에 대한 중간조 표현형태가 문자의 가로획과 구별이 됨으로써 문자의 판독성을 크게 향상시킬 수 있게 된다.And when dithering by a simple lyric dither matrix such as the 7e diagram, it is difficult to read the character on a slightly dark background, whereas the dithering by the wave dither matrix does not have continuity with adjacent lines of each line. Since the halftone representation of the is distinguished from the horizontal stroke of the character, the readability of the character can be greatly improved.

상기 (2f) 및 (2g)단계 수행에 의해 현재 화소에 대하여 중간조 표현을 얻은 후 (2i-2j)단계에서 아직 주사되지 않은 다음 인접라인의 처리를 위하여 이전 화소값(Pk')을 신호처리부(30)의 라인 메모리에 제 5 도와 같이 저장하고, 다음 화소의 처리를 위하여 상기 현재 화소값(Pk)을 제 6 도의 버퍼에 이전 화소값(Pk')으로 저장한다.After the halftone expression is obtained for the current pixel by performing the steps (2f) and (2g), the signal processor may convert the previous pixel value Pk 'to process the next adjacent line which has not yet been scanned in steps 2i-2j. The current pixel value Pk is stored as the previous pixel value Pk 'in the buffer of FIG. 6 for processing of the next pixel.

그후 (2k)단계에서 원고에 대하여 주사완료 되었는가 검사하여 완료되지 않았으면 상기 (2a)단계로 루핑하여 전술한 과정을 반복함으로써 다음 인접 화소를 처리하며, 원고주사 완료시 종료한다.Thereafter, if the document has been scanned for completion in step (2k) and is not completed, the next step is processed by looping to step (2a) and repeating the above-described process, and the process ends when document scanning is completed.

상술한 본 발명의 설명에서 팩시밀리 시스템에서 예를들어 설명하였으나 이미지 스캐너, 프린터, 복사기등 중간조 화상 표현을 하는 화상처리 시스템에 공히 적용할 수 있다.In the above-described description of the present invention, a facsimile system has been described as an example, but it can be applied to an image processing system that performs halftone image representation such as an image scanner, a printer, a copier, and the like.

상술한 바와 같이 본 발명은 화상 시스템의 계조화상 데이타의 중간조 표현 방법에 있어서, 인간의 시각적 특성에 민감한 경계를 강조함으로써 중간조 화상의 화질을 개선시킬뿐아니라 특히 문자가 혼재된 문서에 있어서 문자의 경계부분을 강조함으로써 문자의 판독성을 크게 향상시킬 수 있는 잇점이 있다.As described above, the present invention, in the halftone representation method of the grayscale image data of the image system, not only improves the image quality of the halftone image by emphasizing a boundary sensitive to human visual characteristics, but also especially in a document having mixed characters. By emphasizing the boundary of, the readability of the characters can be greatly improved.

또한 웨이브 디더 매트릭스를 이용함으로써 종래의 디더 매트릭스사용시에 비해 디더링시 평균 런렝스가 훨씬 길어짐에 따라 전송시간을 단축할 수 있으며 16계조를 갖는 입력화상을 거의 64계조 인것처럼 표현하는 것이 가능한 효과가 있다.In addition, by using the wave dither matrix, the average run length is much longer when dithering than when using the conventional dither matrix. Therefore, the transmission time can be shortened, and the input image having 16 gradations can be expressed as almost 64 gradations. .

Claims (5)

화상처리 시스템의 계조화상 데이타의 중간조 표현방법에 있어서, 원고를 화소 단위로 주사 및 설정계조의 화상 데이타로 변환하여 현재 화소값을 버퍼에 저장하는 주사과정과, 상기 주사과정의 현재 화소에 대한 검색 윈도우내의 국부 밝기차를 결정하는 국부 밝기차 결정 과정과, 상기 국부 밝기차가 국부 역치보다 큰가를 검사하는 경계 판별 과정과, 상기 경계 판별 과정에서 국부 밝기차가 국부 역치보다 클시 현재 화소가 경계부분이라고 판단하여 국부 밝기값보다 크면 중간조 화상을 "백"으로 이치화하고 작으면 "흑"으로 이치화하여 경계를 강조하는 경계 강조 과정과, 상기 경계 판별 과정에서 국부 밝기차가 국부 역치보다 작을시 현재 화소가 경계 부분이 아니라고 판단하여 웨이브 디더 매트릭스의 대응역치보다 크면 중간조 화상을 "백"으로 이치화하고 작으면 "흑"으로 이치화하는 웨이브 디더링 과정으로 이루어짐을 특징으로 하는 중간조 화상 표현 방법.A halftone representation method of gradation image data of an image processing system, comprising: a scanning process for converting an original into pixel data and converting the image into image data of a preset gradation and storing a current pixel value in a buffer; A local brightness difference determination process for determining a local brightness difference in a search window; a boundary discrimination process for checking whether the local brightness difference is greater than a local threshold; and a current pixel being a boundary portion when the local brightness difference is greater than a local threshold in the boundary discrimination process. If it is larger than the local brightness value, the halftone image is binarized to "white" and if small, it is binarized to "black" to emphasize the boundary; and if the local brightness difference is less than the local threshold in the boundary discrimination process, the current pixel If it is determined that it is not a boundary and is larger than the corresponding threshold of the wave dither matrix, the halftone image is set to "white". A halftone image representation method comprising a wave dithering process that is binarized and small if it is "black". 제 1 항에 있어서, 상기 중간조 표현 방법이 상기 경계 강조 과정 및 웨이브 디더링과정 수행후 원고에 대한 주사완료 여부를 검사하여 완료되지 않았을시 상기 주사과정으로 진행하고 완료되었을시 종료하는 종료과정을 더 포함하여 이루어짐을 특징으로 하는 중간조 화상 표현 방법.The method of claim 1, wherein the halftone expression method further checks whether or not the document has been scanned after the boundary enhancement process and the wave dithering process. Halftone image representation method comprising a. 제 1 항에 있어서, 상기 웨이브 디더링 과정의 웨이브 디더 매트릭스가 각 라인에 속한 대응역치간에 연속성을 가지며 각 라인의 대응역치들이 웨이브 형태로 배열되는 것을 특징으로 하는 중간조 화상 표현 방법.The halftone image representation method of claim 1, wherein the wave dither matrix of the wave dithering process has continuity between corresponding thresholds belonging to each line, and the corresponding thresholds of each line are arranged in a wave form. 제 3 항에 있어서, 상기 웨이브 디더 매트릭스가 각 라인의 대응 역치들이 인접라인의 대응 역치들과 연속성을 갖지 않음을 특징으로 하는 중간조 화상 표현 방법.4. The method of claim 3, wherein the wave dither matrix has no corresponding thresholds of each line continuity with corresponding thresholds of adjacent lines. 제 4 항에 있어서, 상기 웨이브 디더 매트릭스가 16계조의 입력 계조 화상 데이타에 대응하여 16계조 대응 역치들이 8행×8열로 이루어짐을 특징으로 하는 중간조 화상 표현 방법.5. The halftone image representation method according to claim 4, wherein said wave dither matrix is composed of eight rows x eight columns corresponding to sixteen grayscale levels corresponding to sixteen grayscale input grayscale image data.
KR1019910008598A 1991-05-27 1991-05-27 Middle tone picture display method KR930007979B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910008598A KR930007979B1 (en) 1991-05-27 1991-05-27 Middle tone picture display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910008598A KR930007979B1 (en) 1991-05-27 1991-05-27 Middle tone picture display method

Publications (2)

Publication Number Publication Date
KR920022813A KR920022813A (en) 1992-12-19
KR930007979B1 true KR930007979B1 (en) 1993-08-25

Family

ID=19314972

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910008598A KR930007979B1 (en) 1991-05-27 1991-05-27 Middle tone picture display method

Country Status (1)

Country Link
KR (1) KR930007979B1 (en)

Also Published As

Publication number Publication date
KR920022813A (en) 1992-12-19

Similar Documents

Publication Publication Date Title
EP0696129B1 (en) Method and system for image conversion utilizing dynamic error diffusion
US7633650B2 (en) Apparatus and method for processing binary image produced by error diffusion according to character or line drawing detection
JP3313399B2 (en) Image processing device
US5444552A (en) Method for compressing, processing, and storing grayscale bitmaps
JPS59223073A (en) Picture processor
JPS5932026B2 (en) How to reproduce the scanned image
US5442459A (en) Process for encoding a half tone image considering similarity between blocks
US4996602A (en) Image-processing apparatus
US5689588A (en) Method and apparatus for increasing compressibility of multibit image data with the LSB value determined in the thresholding operation based on pixel position
JP2756371B2 (en) Image processing device
US5301039A (en) Image processing apparatus with pixel tone discrimination
KR930007979B1 (en) Middle tone picture display method
KR100213472B1 (en) Image data processing device
KR930007980B1 (en) Middle tone picture display method
KR940007683B1 (en) Bloc cording method of middle tone picture
KR930007984B1 (en) Two-tone picture method for fax
KR0159418B1 (en) Apparatus for improving the transmission picture quality in the facsimile system and method thereof
KR100229028B1 (en) Binarization method based on continuity
JPH06339028A (en) Picture display device
JPS60102060A (en) Picture binary-coding device
KR930005131B1 (en) Histogram equalization for picture tone
JP3291101B2 (en) Image processing device
JPS6253074A (en) Picture processor
KR910008524B1 (en) Black puttern repeadly encoding method for fax
JPS6333973A (en) Picture processor

Legal Events

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

Payment date: 20030730

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee