KR100193840B1 - Video arbitrary magnification conversion method - Google Patents

Video arbitrary magnification conversion method Download PDF

Info

Publication number
KR100193840B1
KR100193840B1 KR1019960036481A KR19960036481A KR100193840B1 KR 100193840 B1 KR100193840 B1 KR 100193840B1 KR 1019960036481 A KR1019960036481 A KR 1019960036481A KR 19960036481 A KR19960036481 A KR 19960036481A KR 100193840 B1 KR100193840 B1 KR 100193840B1
Authority
KR
South Korea
Prior art keywords
image
area
magnification
binarized
converted
Prior art date
Application number
KR1019960036481A
Other languages
Korean (ko)
Other versions
KR19980016789A (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 KR1019960036481A priority Critical patent/KR100193840B1/en
Publication of KR19980016789A publication Critical patent/KR19980016789A/en
Application granted granted Critical
Publication of KR100193840B1 publication Critical patent/KR100193840B1/en

Links

Abstract

가. 청구범위에 기재된 발명이 속한 기술분야end. The technical field to which the invention described in the claims belongs

디지탈 영상처리시스템에서 영상을 임의의 배율로 변환하는 방법에 관한 것이다.A method of converting an image to an arbitrary magnification in a digital image processing system.

나. 발명이 해결하려고 하는 기술적 과제I. The technical problem that the invention is trying to solve

팩시밀리에서 수신한 이치화 영상을 그림 혹은 글씨영역으로 구분하여 선택적으로 중간조 영상화하는 과정을 거치게 함으로써 영상의 확대 혹은 축소를 용이하게 하고 화질의 저하를 없게 하는 방법을 제공함에 있다.By dividing the binarized image received from the facsimile into a picture or text area and selectively performing halftone imaging, it provides a method of facilitating enlargement or reduction of the image and without deterioration of image quality.

다. 발명의 해결방법의 요지All. Summary of Solution of the Invention

본 영상 임의 배율 변환방법은 먼저 팩시밀리에서 수신한 이치화 영상을 그림영역과 글씨영역으로 구분하여 별도의 처리를 한다. 즉 그림영역에 대해서는 중간조 영상화 즉 이진값을 로우패스 필터링하여 그레이 레벨의 데이터로 변환하고 상기 그레이 레벨의 데이터를 임의의 배율로 변환한 후 그 배율 변환된 데이터를 다시 이진화하고, 글씨영역에 대해서는 이치값 그대로 배율을 변환함을 특징으로 한다.In this image random magnification conversion method, the binarized image received from the facsimile is divided into a picture area and a letter area, and then processed separately. That is, halftone imaging, that is, binary image, is converted to gray level data by low-pass filtering on the image area, and the gray level data is converted to an arbitrary magnification, and the scaled data is binarized again. It is characterized in that the magnification is converted as it is.

라. 발명의 중요한 용도la. Important uses of the invention

팩시밀리, 복사기 등에서 화질의 저하없이 영상을 소수배 확대 혹은 축소하여 프린트하는 데 사용한다.It is used to print a small magnification or reduction of images without loss of quality in facsimile machines and copiers.

Description

영상 임의 배율 변환방법Video arbitrary magnification conversion method

본 발명은 디지탈 영상처리시스템에 있어서 영상을 임의의 배율로 변환하는 방법에 관한 것으로, 특히 화질의 저하없이 영상을 소수배 확대 혹은 축소하는 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for converting an image to an arbitrary magnification in a digital image processing system, and more particularly to a method of magnification or reduction of an image by a few times without deterioration of image quality.

통상적으로 영상처리시스템에서는 입력 영상을 임의의 배율로 변환하여 출력해야 할 때가 있다. 팩시밀리의 경우 현재 CCITT에서 정한 통신규격이 203dpi(dot per inch)라 전송은 203dpi로 이루어지고 있는데 반하여, 프린터의 해상도는 300dpi 혹은 600dpi로 상승하고 있는 추세인 관계로 이들 사이의 정합을 위해 해상도(dpi)의 변환은 필수적이 되었다. 다시 말해서, 300dp의 프린터를 사용하고 있는 경우에는 팩시밀리에서 수신한 영상데이터는 203dpi이므로 이 203dpi의 영상데이터를 300dpi로 변환해주어야 한다. 프린터의 경우에도 사용자가 원하는, 임의의 영상데이터가 용지에 프린트된 결과가 다양하므로 인치(inch)계와 센티미터(centimeter)계에서의 소수배 확대 및 축소에 대한 필요성은 더욱 커지고 있다.In general, an image processing system sometimes needs to convert an input image to an arbitrary magnification and output it. In the case of facsimile, the communication standard set by CCITT is 203dpi (dot per inch) and the transmission is 203dpi, whereas the resolution of printer is rising to 300dpi or 600dpi. ) Conversion became necessary. In other words, if a 300dp printer is used, the image data received from the facsimile is 203 dpi, so the 203 dpi image data must be converted to 300 dpi. Even in the case of a printer, since the result of printing arbitrary image data desired by the user on the paper varies, the necessity for magnification and reduction of the magnification in the inch and centimeter systems is increasing.

지금까지 알려진 이치화 영상에 대한 확대 혹은 축소 알고리즘은 다음 두가지 정도이다. 그 첫번째가 정수배의 확대 혹은 축소인데, 이는 단순히 동일 화소를 여러번 반복해서 출력하거나 누락시킴으로써 해당 영상을 이루는 화소의 수를 늘이거나 줄인 다음 영상의 모서리부분을 다듬는 것이었다. 팩시밀리로 수신된 이진 영상이 흑(black)과 백(white)의 두 값으로 이루어져 있기 때문에, 예를 들어 영상을 2배 확대한다고 가정하고 그 확대할 영상의 일부분이 '백백흑백' 화소들으로 이루어져 있다고 가정하면 확대결과는 '백백백백흑흑백백'이 된다. 두번째는 이치화 영상을 전처리(pre-prossing)를 거치지 않고 보간법을 이용하여 확대한 후 이를 단순 이치화하는 것이다.There are two known algorithms for zooming in or out on binarized images. The first is the expansion or reduction of an integer multiple, which simply increases or decreases the number of pixels forming the image by repeatedly outputting or missing the same pixel, and then trims the edges of the image. Since the binary image received by the facsimile consists of two values, black and white, for example, assume that the image is enlarged twice, and the portion of the image to be enlarged is composed of 'white and white' pixels. Assume that the expansion result is 'white and white and black and white'. The second is to simply binarize the binarized image after interpolation without pre-prossing.

첫 번째 방법과 같이 단순하게 동일 화소를 반복해서 출력하거나 누락시키는 것은 소수배의 확대나 축소가 불가능하다. 실제로 전술한 203dpi의 영상데이터를 300dpi로 변환하는 경우 약 0.48배 더 확대해주어야 하지만 한 화소 단위의 반복 출력이나 누락으로는 그 구현이 불가능할 수 밖에 없다. 두 번째 방법의 경우 영상의 질이 원래의 영상과 크게 차이가 날 수 있다. 스캐너를 이용하여 입력한 중간조 영상은 데이터량이 많기 때문에 문제가 없지만, 팩시밀리에서 수신한 이치화 영상은 이미 많은 정보를 손실한 상태이기 때문에 소수배로 확대하거나 축소를 하게 되면 화질에 치명적인 영향을 미친다. 부연하면, 팩시밀리나 디지탈 복사기에서 영상을 이치화할 때는 글씨영역은 단순 이치화하지만 그림영역은 디더(dither)법이나 오차확산(error diffusion)법을 이용하기 때문에 이 영역의 영상을 단순히 확대 또는 축소하여 이치화할 경우 원 영상에는 분리되어 있던 점이나 선이 서로 중첩되거나 연결되는 결과를 초래하여 화질이 원래의 영상에 비하여 크게 훼손되는 경우가 있다.Like the first method, simply outputting or omitting the same pixel repeatedly cannot be enlarged or reduced by a few times. In fact, when converting the above-described 203dpi image data to 300dpi, the magnification should be increased by about 0.48 times. However, the repetitive output or omission of one pixel unit is impossible to implement. In the second method, the image quality can be significantly different from the original image. The halftone image input using the scanner is not a problem because of the large amount of data, but since the binarized image received from the facsimile has already lost a lot of information, the magnification of the halftone image has a fatal effect on the image quality. In other words, when binarizing an image in a facsimile or digital copier, the text area is simply binarized, but the picture area is dithered or error diffusion, so it is simply enlarged or reduced. In this case, the original image may result in the overlapping or connecting of the separated points or lines with each other, and thus the image quality may be greatly deteriorated compared to the original image.

따라서 본 발명의 목적은 팩시밀리에서 수신한 이치화 영상을 그림 혹은 글씨영역으로 구분하여 선택적으로 중간조 영상화하는 과정을 거치게 함으로써 영상의 확대 혹은 축소를 용이하게 하고 화질의 저하를 없게 하는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method of facilitating enlargement or reduction of an image and without deterioration of image quality by subjecting the binarized image received from the facsimile to a halftone image by selectively classifying the binarized image. .

도 1은 본 발명이 적용되는 팩시밀리의 구성도1 is a block diagram of a facsimile to which the present invention is applied

도 2는 본 발명의 일 실시예에 따른 중간조 영상 및 그 일부분을 확대 표시한 도면2 is an enlarged view of a halftone image and a portion thereof according to an embodiment of the present invention;

도 3은 본 발명의 일 실시예에 따른 중간조 영상 임의 배율 변환 과정을 나타낸 도면3 is a diagram illustrating a halftone image random magnification conversion process according to an embodiment of the present invention;

이하 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 우선 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 한해서는 비록 다른 도면상에 표시되더라도 가능한한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한 하기 설명에서는 구체적인 회로의 구성 소자등과 같은 많은 특정(特定) 사항들이 나타나고 있는데, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐 이러한 특정사항들 없이도 본 발명이 실시될 수 있음은 이 기술분야에서 통상의 지식을 가진자에게는 자명하다할 것이다. 그리고 본 발명을 설명함에 있어, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. First, in adding reference numerals to the components of each drawing, it should be noted that the same reference numerals have the same reference numerals as much as possible even if displayed on different drawings. In addition, in the following description, many specific details such as components of specific circuits are shown, which are provided to help a more general understanding of the present invention, and the present invention may be practiced without these specific details. It will be obvious to those skilled in the art. In the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

도 1은 본 발명이 적용되는 팩시밀리의 구성도이다. 제어부 111은 설정된 프로그램에 따라 팩시밀리의 송신모드, 수신모드 및 복사모드의 전반적인 동작을 제어한다. 또한 상기 제어부 111은 프로그램 메모리 및 데이터 메모리를 내장하거나 또는 참조부호 119와 같이 외부에 연결할 수 있다. 상기 프로그램 메모리에는 본 발명의 프로그램이 저장되어 있으며, 데이터 메모리에는 프로그램 수행 중에 발생되는 데이터를 일시적으로 저장한다. OPE(Operating Pannel) 112는 키입력부 220과 표시부 210으로 구성된다. 상기 OPE 112의 키입력부 220은 사용자가 각 모드의 지정 및 지정된 모드의 동작 수행을 위해 누르는 키의 데이터를 발생하여 상기 제어부 111로 출력한다. 또한 상기 OPE 112의 표시부 210은 상기 제어부 111에서 각 모드를 수행할 때 시스템의 동작상태를 표시하는 표시 데이터를 입력하여 표시하는 기능을 수행한다. 센서부 113은 원고의 입력 유무 및 프린트용지의 유무를 감지하며, 감지된 상태 신호를 상기 제어부 111로 출력한다. 스캐너 114는 CCD(도시하지 않았슴.)가 원고로부터 화상 데이터를 읽어들이고 광전변환하여 출력하는 데이터를 상기 제어부 111에 전달한다. 화상처리부 115는 상기 스캐너 114에서 출력되는 화상 데이터와 모뎀 117에서 출력되는 화상 데이터를 부호화 및 복호화 한다. 즉 상기 스캐너 104로부터 입력한 화상데이터를 배경(background)과 텍스트(text)로 구별하거나 중간조 화상 데이터를 생성하는 등의 처리를 함으로써 수신측에서 실제 화상과 거의 동일하게 수신할 수 있도록 하는 역할을 한다. 프린트부 116은 상기 제어부 111의 제어를 받아 수신모드 및 복사모드 수행시 상기 화상처리부 115에서 입력되는 화상데이터를 프린트용지에 프린트한다. 모뎀 117은 상기 제어부 111의 제어를 받으며, 상기 제어부 111에서 출력되는 데이터를 아날로그 변조하여 출력하고 전송라인을 통해 수신되는 신호를 디지탈 복조하여 출력한다. 즉 송신모드시 상기 화상처리부 115에서 출력하는 화상데이터를 송신 형태- 팩시밀리의 표준 규격-에 맞도록 변조하여 전송하고, 수신모드시에는 전송라인을 통해 입력되는 부호화된 화상신호를 상기 모뎀 117에서 처리할 수 있도록 원래의 형태로 복조한다. NCU(Network Control Unit) 118은 상기 제어부 111의 제어를 받아 전화라인(tip, ring)과 모뎀 117의 송수신 통로를 형성한다.1 is a block diagram of a facsimile to which the present invention is applied. The control unit 111 controls the overall operation of the transmission mode, the reception mode, and the copy mode of the fax according to the set program. In addition, the control unit 111 may include a program memory and a data memory or may be externally connected as shown by reference numeral 119. The program of the present invention is stored in the program memory, and the data generated during the execution of the program is temporarily stored in the data memory. The OPE 112 includes a key input unit 220 and a display unit 210. The key input unit 220 of the OPE 112 generates data of a key pressed by the user to designate each mode and perform an operation of the designated mode, and output the data to the controller 111. In addition, the display unit 210 of the OPE 112 performs a function of inputting and displaying display data indicating an operation state of the system when the controller 111 performs each mode. The sensor unit 113 detects the presence or absence of an input document and print paper, and outputs the detected state signal to the control unit 111. The scanner 114 transmits the data, which the CCD (not shown) reads image data from the original, photoelectrically converts it, and outputs the data to the controller 111. The image processor 115 encodes and decodes the image data output from the scanner 114 and the image data output from the modem 117. That is, the image data input from the scanner 104 is divided into a background and a text or a half-tone image data is processed so that the receiving side can receive the image almost identical to the actual image. do. The print unit 116 prints the image data input from the image processing unit 115 on a print sheet when the receiving mode and the copy mode are controlled under the control of the control unit 111. The modem 117 is controlled by the control unit 111 and performs analog modulation on the data output from the control unit 111 and digitally demodulates the signal received through the transmission line. That is, in the transmission mode, the image data output from the image processing unit 115 is modulated and transmitted in accordance with the transmission type-the standard of the facsimile, and in the reception mode, the modem 117 processes the encoded image signal input through the transmission line. Demodulate in original form so that you can The network control unit (NCU) 118 forms a transmission / reception path between the telephone line (tip, ring) and the modem 117 under the control of the control unit 111.

본 발명에 따르면, 이치화로 처리되어 수신된 팩시밀리 영상에 대해서 데이터의 정보를 인위적으로 증가시킬 수 있어서 1% 미만의 확대 혹은 축소가 가능하다. 팩시밀리로 수신된 이치화 영상은 대부분 베이어 디더링(bayer dithering)이나 에러 확산(error diffusion)된 이치화 영상이다. 이러한 영상에서 어두운 부분은 검은 점(black pixel)이 많이 존재하고 밝은 부분은 흰 점이 많으므로 그 특성을 이용할 수 있다. 즉 이치화된 영상으로부터 검은 점의 분포를 가지고 역으로 그레이(gray) 레벨의 값, 즉 명암을 강제적으로 복원해낸다. 이렇게 손실된 정보를 복구하는 데 이용하는 방법은 로우패스 필터(lowpass filter)라는 스무딩(smoothing) 알고리즘을 이용한다. 상기 로우패스 필터에 따르면, 검은 점이 많은 곳은 순차적으로 어두워지는 그레이값을 갖게 되고 검은 점이 드문드문 분포하는 곳은 밝은 그레이 레벨의 값을 갖게 된다. 본 실시예에서는 이러한 특성을 근거로 다음과 두가지 조건을 설정하고 실험을 거듭하여 각각에 대한 임계치를 설정한다. 첫번째 조건은 그림으로 나타나는 부분에는 오차 확산이나 디더링(dithering)의 알고리즘상 검은 점이 연속해서 일렬로 나타나지 않는다는 것이다. 본 실시예에서는 그 임계치(제1임계치)를 5로 한다. 두번째 조건은 글씨가 나타나는 부분에는 검은 점이 화소의 방향상 수평 및 수직방향으로 인접해 있는 분포의 비율이 높다. 본 실시예에서는 그 임계치(제2임계치)를 5로 한다.According to the present invention, information of data can be artificially increased for facsimile images received by binarization, so that enlargement or reduction of less than 1% is possible. The binarized images received by the facsimile are mostly Bayer dithering or error diffusion binarized images. In this image, the dark part has a lot of black pixels, and the bright part has many white points, and thus its characteristics can be used. In other words, the gray level distribution from the binarized image is forcibly restored to the gray level value, that is, the contrast. The method used to recover this lost information uses a smoothing algorithm called a lowpass filter. According to the low pass filter, a place where many black points have a dark value sequentially darkens, and a place where black points have sparse distributions has a light gray level value. In the present embodiment, the following two conditions are set based on these characteristics, and the experiment is repeated to set threshold values for each. The first condition is that the black spots do not appear in a row in the algorithm of error diffusion or dithering. In this embodiment, the threshold (first threshold) is set to five. The second condition is that the proportion of the distribution where the black dots are adjacent in the horizontal and vertical directions in the direction of the pixel is high in the area where the text appears. In this embodiment, the threshold (second threshold) is set to five.

도 2는 본 발명의 일 실시예에 따른 팩시밀리 수신 영상 및 그 일부분에 대한 7×7 마스킹(masking) 상태를 나타낸 도면이다. (2a)는 팩시미리에서 수신한 영상이고, (2b)는 상기 (2a)에서 그림부분 A의 일부분 C에 대하여 7×7 마스크를 씌운 상태를 나타낸 것이며, (2c)는 상기 (2b)에서 문자부분 B의 일부분 D에 대하여 7×7 마스크를 씌운 상태를 나타낸 것이다.2 is a diagram illustrating a 7 × 7 masking state of a facsimile received image and a portion thereof according to an embodiment of the present invention. (2a) is an image received from the facsimile, (2b) shows a state in which the 7 × 7 mask is applied to a part C of the picture portion A in (2a), (2c) is a character in (2b) The 7x7 mask is shown with respect to the part D of the part B. FIG.

도 3은 본 발명의 일 실시예에 따른 이치화 영상 임의 배율 변환 과정을 나타낸 도면이다. 본 실시예에서는 팩시밀리에서 수신한 이치화 영상을 임의의 배율로 변환하는 경우를 예로 들어 설명한다. 또한 제1 및 제2임계치는 각각 5라고 가정한다. 3a단계에서 제어부 111은 전화라인과 NCU 118 및 모뎀 117을 통해 상대방으로부터 전달되는 이치화 영상을 수신한다. 그리고 3b단계로 진행하여 상기 이치화 영상에서 3라인의 이진값(흑, 백)을 읽는다. 그리고 7×7 마스크를 이동해가면서 해당 영역이 그림부분인지 아니면 글씨부분인지 체크한다. 도 2의 (2c)를 참조하면, 임의의 화소 Q(4,4)를 중심으로 마스크를 씌우고 그 주변 화소의 특성을 조사한다. 이때 상기 화소 Q(4,4)를 중심으로 연속된 점이 9개이다. 상기 연속된 점의 갯수 9는 전술한 첫번째 조건에 따른 제1임계치 5 보다 크다. 또한 상기 9개의 점들은 수직 및 수평의 방향을 가지고 연결되어 있으므로 이 값 또한 전술한 두번째 조건에 따른 제2임계치 5 보다 크므로 상기 화소 Q(4,4)는 글씨의 특성을 갖는 점(글씨부분)으로 인식된다. 3c단계에서 상기 체크결과가 글씨영역으로 판명되면 3d단계로 진행하여 상기 화소 Q(4,4)에 대한 글씨 위치정보를 발생한다. 즉 상기 점의 좌표를 문자점으로 저장한다. 한편 상기 3c단계에서 해당 영역이 글씨부분이 아니라고 판명된 경우 3f단계로 진행하여 그림부분인지 체크한다. 도 2의 (2b)를 참조하면, 임의의 화소 P(4,4)를 중심으로 검은 점의 분포를 조사했을 경우 상기 화소 P(4,4)는 연속된 검은 점이 하나이다. 그러므로 제1임계치 5보다 작아서 상기 화소 P(4,4)는 그림의 특성을 갖는 점(그림부분)으로 인식된다. 이와 같이 상기 체크결과가 그림부분으로 판명되면 3g단계에서 상기 화소 P(4,4)에 대한 그림 위치정보를 발생한다. 즉 상기 점의 좌표를 그림점으로 저장한다. 이렇게 각각의 처리를 거친 그림(영상) 모든 화소에 대한 위치정보는 메모리의 특정 영역에 저장되고, 이 위치정보를 기준으로 그림영역과 글씨영역을 구분하여 처리하게 된다.3 is a diagram illustrating a binarized image random magnification conversion process according to an embodiment of the present invention. In this embodiment, a case where the binarized image received by the facsimile is converted to an arbitrary magnification will be described as an example. It is also assumed that the first and second thresholds are five, respectively. In step 3a, the control unit 111 receives the binarized image transmitted from the other party through the telephone line, the NCU 118, and the modem 117. In step 3b, binary values (black and white) of three lines are read from the binarized image. Move the 7 × 7 mask and check whether the area is a picture or a text. Referring to (2c) of FIG. 2, a mask is covered around an arbitrary pixel Q (4,4) and the characteristics of the surrounding pixels are examined. At this time, nine consecutive points are formed around the pixels Q (4,4). The number of consecutive points 9 is greater than the first threshold value 5 according to the first condition described above. In addition, since the nine points are connected in the vertical and horizontal directions, this value is also larger than the second threshold value 5 according to the second condition described above. Is recognized. If the check result is found in the writing region in step 3c, the process proceeds to step 3d to generate the font position information for the pixel Q (4,4). That is, the coordinates of the point are stored as text points. On the other hand, if it is determined in step 3c that the area is not a letter part, the process proceeds to step 3f and checks whether it is a picture part. Referring to (2b) of FIG. 2, when the distribution of black points is examined centering on an arbitrary pixel P (4,4), the pixel P (4,4) has one continuous black point. Therefore, the pixel P (4,4) is smaller than the first threshold value 5 and is recognized as a point (picture portion) having characteristics of a picture. As such, when the check result is found to be a picture part, in step 3g, picture position information of the pixel P (4, 4) is generated. That is, the coordinates of the points are stored as picture points. The location information of all the processed pixels (images) is stored in a specific area of the memory, and the picture area and the text area are classified and processed based on the location information.

구체적으로, 글씨영역의 경우는 3e단계로 진행하여 1차 보간법을 통해 확대하거나 재표본화 기법으로 축소하는 등 기본적인 알고리즘으로 소수배(1% 미만) 확대 혹은 축소를 한다. 그리고 필요한 경우 에지강조기법을 수행한다. 반면에 그림영역의 경우는 3h단계로 진행하여 로우패스 필터링(평균화)을 통해 중간조 영상데이터, 즉 이치화하기 전의 그레이 레벨 데이터로 역변환(복원)한다. 이때 검은 점이 많은 곳은 평균을 내더라도 검은 그레이 레벨값을 갖고 반대 지역은 반대의 그레이 레벨 값을 갖게 된다. 이후 3i단계에서 상기 그레이 레벨의 데이터를 상기와 마찬가지로 1차 보간법이나 재표본화 기법 등 기본적인 알고리즘으로 소수배(1% 미만) 확대 혹은 축소한다. 그리고 3j 단계에서 상기 소수배 확대 혹은 축소된 데이터를 디더링 혹은 에러 확산을 통해 다시 이진화한다. 3k단계에서 제어부 111은 상기 저장된 데이터를 메모리로부터 읽어내어 프린트부 116으로 전달하여 용지에 출력하게 한다.Specifically, in the case of the text area, the process proceeds to the step 3e to enlarge or reduce the prime number (less than 1%) by the basic algorithm such as expanding by the first interpolation method or reducing by the resampling method. And if necessary, edge enhancement technique is performed. On the other hand, in the case of a picture area, the process proceeds to step 3h and inversely transforms (restores) the halftone image data, that is, the gray level data before binarization, through low pass filtering (averaging). At this point, even though the average of many black spots is averaged, the black gray level value is obtained and the opposite area has the opposite gray level value. Subsequently, in step 3i, the gray level data is enlarged or reduced by a small number of times (less than 1%) using basic algorithms such as first-order interpolation or resampling. In step 3j, the decimal magnified or reduced data is binarized again by dithering or error spreading. In step 3k, the control unit 111 reads the stored data from the memory, transfers the stored data to the print unit 116, and outputs it to the paper.

한편 본 발명의 상세한 설명에서는 구체적인 실시예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도내에서 여러가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 않되며 후술하는 특허청구의 범위뿐 만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined not only by the scope of the following claims, but also by the equivalents of the claims.

이치화 영상을 일단 그레이 레벨로 변환하여 더 많은 정보(여러 단계의 밝기값)를 갖게 한 다음 확대 혹은 축소하고, 이를 다시 높은 해상도를 갖는 프린터에 맞도록 이진화함으로써 일반 영상데이터는 물론이고 사진 등의 데이터를 훨씬 부드럽고 정교한 영상을 얻을 수 있다. 또한 이치화 영상을 가상의 그레이 레벨로 변환하여 확대 혹은 축소함으로써 소수배의 확대 혹은 축소가 용이한 장점이 있다.Once the binarized image is converted to gray level to have more information (multiple levels of brightness), it can be enlarged or reduced, and then binarized to fit the printer with higher resolution. You can get much smoother and more sophisticated images. In addition, by converting the binarized image into a virtual gray level to enlarge or reduce it, it is easy to enlarge or reduce the number of times.

Claims (4)

디지탈 영상처리시스템에서 이치화 영상을 임의의 배율로 변환하는 방법에 있어서,In the method for converting a binarized image to an arbitrary magnification in a digital image processing system, 상기 이치화 영상을 그림영역과 글씨영역으로 구분하고, 상기 그림영역은 중간조 영상으로 변환하여 배율을 변환한 다음 다시 이진화하고 상기 글씨영역은 그대로 배율을 변환하여 새로운 이치화 영상을 생성함을 특징으로 하는 방법.The binarized image is divided into a picture area and a letter area, and the picture area is converted into a halftone image to convert the magnification and then binarized again, and the letter area is converted into a magnification to generate a new binarized image. Way. 디지탈 영상처리시스템에서 이치화 영상을 임의의 배율로 변환하는 방법에 있어서,In the method for converting a binarized image to an arbitrary magnification in a digital image processing system, 상기 이치화 영상을 그림영역과 글씨영역으로 구분하고 그 위치정보를 저장하는 과정과,Dividing the binarized image into a picture area and a letter area, and storing location information thereof; 상기 위치정보에 따라 그림영역에 해당하는 이진데이터는 로우패스 필터링하여 그레이 레벨의 데이터를 갖는 중간조 영상으로 변환하고 그 변환된 그레이 레벨의 데이터로써 배율 변환을 한 다음 다시 이진화하며, 글씨영역에 해당하는 이진데이터는 그대로 배율 변환하여 새로운 이치화 영상을 생성하는 과정으로 이루어짐을 특징으로 하는 방법.The binary data corresponding to the picture area is converted to a halftone image having gray level data by low pass filtering according to the position information, and then scaled with the converted gray level data, and then binarized again. Binary data is a process of generating a new binarized image by scaling conversion as it is. 제2항에 있어서, 상기 임의의 배율은 1% 미만의 소수배 확대 혹은 축소를 위한 배율임을 특징으로 하는 방법.3. The method of claim 2, wherein the arbitrary magnification is a magnification for scaling up or down a fraction of 1%. 팩시밀리에서 수신한 이치화 영상을 소수배 확대 혹은 축소하는 방법에 있어서,In the method of magnification or reduction of the binarized image received from the facsimile, 상기 이치화 영상에서 소정 단위의 마스크를 이동해가면서 각 점에 대하여 그 점을 기준으로 검은 점이 연속해서 일렬로 제1임계치 이상 존재할 때 그림영역으로 판단하며 상기 점을 기준으로 검은 점이 수평 및 수직방향으로 인접해 있는 분포의 비율이 제2임계치 이상일 때 글씨영역으로 판단하고 그 위치정보를 저장하는 과정과,In the binarized image, when moving a mask of a predetermined unit, the black area is judged as a picture area when there are more than a first threshold value in series with respect to each point based on the point, and the black point is adjacent in the horizontal and vertical directions based on the point. When the ratio of the distribution is greater than or equal to the second threshold, determining the text area and storing the location information; 상기 위치정보에 따라 상기 그림영역에 해당하는 이진데이터는 로우패스 필터링하여 그레이 레벨의 데이터를 갖는 중간조 영상으로 변환하고 그 변환된 그레이 레벨의 데이터로써 소수배 확대 혹은 축소를 한 다음 다시 이진화하며, 상기 글씨영역에 해당하는 이진데이터는 그대로 소수배 확대 혹은 축소하여 새로운 이치화 영상을 생성하는 과정으로 이루어짐을 특징으로 하는 방법.According to the position information, the binary data corresponding to the picture area is low-pass filtered and converted into a halftone image having gray level data, and then scaled up or down by a small number of times with the converted gray level data, and then binarized again. The binary data corresponding to the letter area is characterized in that the process of generating a new binarized image by expanding or reducing the number of times as it is.
KR1019960036481A 1996-08-29 1996-08-29 Video arbitrary magnification conversion method KR100193840B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960036481A KR100193840B1 (en) 1996-08-29 1996-08-29 Video arbitrary magnification conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960036481A KR100193840B1 (en) 1996-08-29 1996-08-29 Video arbitrary magnification conversion method

Publications (2)

Publication Number Publication Date
KR19980016789A KR19980016789A (en) 1998-06-05
KR100193840B1 true KR100193840B1 (en) 1999-06-15

Family

ID=66322005

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960036481A KR100193840B1 (en) 1996-08-29 1996-08-29 Video arbitrary magnification conversion method

Country Status (1)

Country Link
KR (1) KR100193840B1 (en)

Also Published As

Publication number Publication date
KR19980016789A (en) 1998-06-05

Similar Documents

Publication Publication Date Title
US7684085B2 (en) Methods and apparatus for reconstructing digitized images
US5649031A (en) Image information processor for producing high-quality output image
KR100214332B1 (en) Method for changing image ratio
US20140160533A1 (en) Image processing apparatus and control method therefor
US6289137B1 (en) Image processing apparatus and method
US5271072A (en) Image reduction of binary images using filtering processing
US5452107A (en) Image processing apparatus providing a bilevel image signal by changing binarization threshold value based on densities of original image areas incuding target pixel and less than all surrounding pixels
EP0496599B1 (en) Image processing apparatus and method for smoothing contours
US5898800A (en) Pixel binarization device and method for image processing system
KR100193840B1 (en) Video arbitrary magnification conversion method
EP1202553B1 (en) Image processing apparatus
JP3915795B2 (en) Image processing apparatus and image processing program
JP2004153817A (en) Method of forming output image by transforming input image
US7336390B2 (en) Method and apparatus for reducing multi-bit image data
CA2215555C (en) Image processing device
KR19980016783A (en) Video arbitrary magnification conversion method
EP1416718A2 (en) Transforming an input image to produce an output image
JP4437621B2 (en) Region detection apparatus and method
JP2976386B2 (en) Binary image scaling device
JP3220217B2 (en) Facsimile machine
KR940000934B1 (en) Binal processing system of picture for fax
KR100214331B1 (en) Image decimation method
EP1061731A2 (en) Method of and system for distinguishing regions in black and white image information
Hou et al. Digital Processing of Halftone Images
Hou Digital processing of low resolution halftone images

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

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee