KR20050105648A - Method for coping by removing image area - Google Patents

Method for coping by removing image area Download PDF

Info

Publication number
KR20050105648A
KR20050105648A KR1020040030860A KR20040030860A KR20050105648A KR 20050105648 A KR20050105648 A KR 20050105648A KR 1020040030860 A KR1020040030860 A KR 1020040030860A KR 20040030860 A KR20040030860 A KR 20040030860A KR 20050105648 A KR20050105648 A KR 20050105648A
Authority
KR
South Korea
Prior art keywords
data
gray scale
text
image
image data
Prior art date
Application number
KR1020040030860A
Other languages
Korean (ko)
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 KR1020040030860A priority Critical patent/KR20050105648A/en
Publication of KR20050105648A publication Critical patent/KR20050105648A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1242Image or content composition onto a page
    • 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/387Composing, repositioning or otherwise geometrically modifying originals
    • 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/407Control or modification of tonal gradation or of extreme levels, e.g. background level
    • H04N1/4072Control or modification of tonal gradation or of extreme levels, e.g. background level dependent on the contents of the original
    • H04N1/4074Control or modification of tonal gradation or of extreme levels, e.g. background level dependent on the contents of the original using histograms

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

픽셀의 그레이 스케일 값을 이용하여 구분한 이미지 데이터를 제거하여 복사하는 방법 및 그 장치를 제공한다. 본 발명에 따른 복사 방법은 픽셀의 그레이 스케일 값을 이용하여 대상물의 데이터를 텍스트 데이터와 이미지 데이터로 구분하는 단계, 구분된 이미지 데이터를 제거하여 대상물 데이터를 저장하는 단계 및 저장된 대상물의 데이터를 복사하는 단계를 포함한다. 본 발명에 따르면, 인쇄시 토너 및 카트리지, 현상기, 종이 등의 소비를 줄일 수 있고 텍스트 데이터를 위치를 보다 적절하게 편집할 수 있다.A method and apparatus for copying by removing image data classified using gray scale values of a pixel are provided. The copying method according to the present invention comprises the steps of dividing the object data into text data and image data using grayscale values of pixels, storing the object data by removing the separated image data, and copying the stored object data. Steps. According to the present invention, it is possible to reduce the consumption of toner and cartridge, a developer, paper, and the like during printing, and to edit the text data more appropriately.

Description

이미지 영역을 제거하여 복사하는 방법{Method for coping by removing image area}How to copy by removing an image area {Method for coping by removing image area}

본 발명은 복사 대상물에 포함된 이미지 영역를 삭제하여 복사하는 방법 및 그 장치에 관한 것으로, 더욱 상세하게는 복사 대상물에 텍스트 영역과 이미지 영역이 포함된 경우에 이미지 영역이라 판단되는 부분의 데이터를 삭제하여 인쇄하거나 이미지 영역이 삭제된 위치로 텍스트 영역의 데이터를 이동하여 복사하는 방법 및 그 장치에 관한 것이다.The present invention relates to a method and apparatus for copying by deleting an image area included in a copy object, and more particularly, to delete data of a portion determined to be an image area when a copy object includes a text area and an image area. A method and apparatus for copying by moving or copying data in a text area to a position where printing or an image area has been deleted.

복사라 함은 대상물을 지면 등에 인쇄하는 유형적 복사뿐만 아니라 대상물의 데이터를 다른 매체에 전송하는 것도 포함한다.Copying includes not only tangible copying of an object on the ground, but also transmission of the object's data to another medium.

종래의 복사 방법은 대상물에 텍스트 영역과 이미지 영역 등이 모두 포함된 경우에 대상물을 스캔하여 판독(구별)하는 문제에만 중점을 두었다. 이는 텍스트 영역, 이미지 영역 등에 따라 인쇄, 확대, 축소시 강조하는 기법이 다르기 때문이었다. The conventional copying method focuses only on the problem of scanning and reading an object when the object includes both a text area and an image area. This is because the emphasis on printing, enlargement, and reduction depends on the text area, image area, etc.

그러나 대상물을 인쇄하거나 전송할 때 필요하지 않은 이미지 영역이 포함됨으로써, 인쇄시 토너 및 카트리지, 현상기, 종이 등을 낭비하는 문제점이 있었다. 인터넷이 발달함에 따라 이미지가 많이 포함된 웹문서를 복사할 경우 더욱 그러하다. However, by including an image area that is not necessary when printing or transmitting an object, there is a problem in that toner and cartridges, a developer, paper, etc. are wasted during printing. This is especially true if you copy a web document that contains a lot of images as the Internet develops.

따라서, 본 발명의 목적은 복사할 대상물에서 이미지 데이터를 구분하여 제거하고 필요한 텍스트만 복사하거나 전송할 수 있는 복사 방법 및 장치를 제공함에 있다. 또한 이미지 데이터가 있던 영역에 텍스트 데이터를 이동시킴으로써 텍스트 데이터를 적절하게 편집할 수 있는 복사 방법 및 장치를 제공함에 있다.Accordingly, an object of the present invention is to provide a copying method and apparatus capable of classifying and removing image data from an object to be copied and copying or transmitting only necessary text. Another object of the present invention is to provide a copying method and apparatus capable of appropriately editing text data by moving text data to an area where image data has been located.

본 발명에 따른 복사 방법은 픽셀의 그레이 스케일 값을 이용하여 대상물의 데이터를 텍스트 데이터와 이미지 데이터로 구분하는 단계, 구분된 이미지 데이터를 제거하여 대상물의 데이터를 저장하는 단계 및 저장된 대상물의 데이터를 복사하는 단계를 포함한다.In the copying method according to the present invention, the data of the object is divided into text data and image data by using the gray scale value of the pixel, the data of the object is stored by removing the separated image data, and the data of the stored object is copied. It includes a step.

텍스트 데이터와 이미지 데이터를 구분하는 단계는 대상물의 데이터의 전체 픽셀 중 소정 개수의 픽셀을 윈도우를 사용하여 선택하는 과정, 선택된 소정 개수의 픽셀의 그레이 스케일 값의 평균을 구하여 픽셀 전체를 그레이 스케일 값의 평균을 기준으로 픽셀들을 분류하는 과정 및 평균 그레이 스케일 값보다 큰 그레이 스케일 값을 갖는 픽셀들의 평균 그레이 스케일 값과 평균 그레이 스케일 값보다 작은 그페이 스케일 값을 갖는 픽셀들의 평균 그레이 스케일 값의 차이를 소정 기준값과 비교하여 텍스트 데이터와 이미지 데이터를 구분하는 과정을 포함하는 것이 바람직하다.The step of distinguishing the text data from the image data may include selecting a predetermined number of pixels from all the pixels of the object using a window, obtaining an average of the gray scale values of the selected predetermined number of pixels, and then determining the total pixels of the gray scale values. A process of classifying pixels based on an average and determining a difference between an average gray scale value of pixels having a gray scale value larger than the average gray scale value and an average gray scale value of pixels having a gfa scale value smaller than the average gray scale value. It is preferable to include a process of distinguishing text data from image data in comparison with a reference value.

텍스트 데이터와 이미지 데이터를 구분하는 단계는 대상물을 스캔하는 과정, 스캔한 대상물을 디지털 데이터로 변환하여 메모리에 저장하는 과정, 저장된 디지털 데이터를 구성하는 픽셀의 그레이 스케일 값의 분포를 나타내는 히스토그램을 생성하는 과정 및 히스토그램에 나타난 그레이 스케일 값의 분포 및 스파이크에 따라 텍스트 데이터와 이미지 데이터로 구분하는 과정을 포함하는 것이 바람직하다. The step of distinguishing the text data from the image data may include scanning an object, converting the scanned object into digital data, storing the scanned object in memory, and generating a histogram indicating a distribution of gray scale values of pixels constituting the stored digital data. It is preferable to include a process of dividing into text data and image data according to the distribution and spike of gray scale values shown in the process and histogram.

구분된 이미지 데이터를 제거하여 대상물의 데이터를 저장하는 단계는 구분된 이미지 데이터를 제거하는 과정 및 이미지 데이터가 제거된 위치에 텍스트 데이터 중 일부를 이동시켜 대상물의 데이터를 저장하는 과정을 포함하는 것이 바람직하다.The storing of the data of the object by removing the divided image data may include removing the separated image data and storing the data of the object by moving some of the text data to a location where the image data is removed. Do.

본 발명에 따른 복사 장치는 대상물을 스캔하는 비디오 스캐너, 스캔한 대상물을 디지털 데이터로 변환하는 A/D 컨버터, 디지털 데이터를 저장하는 메모리, 디지털 데이터를 구성하는 각 픽셀의 그레이 스케일 값을 이용하여 대상물의 영역을 텍스트 영역과 이미지 영역으로 구분하는 데이터 분리부 및, 이미지 영역의 데이터를 메모리에서 제거하며 메모리에서의 텍스트 데이터의 위치를 조정하는 위치 조정부를 포함한다.The copying apparatus according to the present invention uses a video scanner for scanning an object, an A / D converter for converting the scanned object into digital data, a memory for storing digital data, and a gray scale value of each pixel constituting the digital data. And a data separator for dividing the region of the text into an image region and an image region, and a position adjuster for removing data from the image region from the memory and adjusting the position of the text data in the memory.

이하 본 발명의 바람직한 실시예를 첨부 도면을 참조하여 상세히 설명하기로 한다. 본 발명을 설명함에 있어, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명이 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그에 대한 상세한 설명은 생략하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, detailed descriptions of related known functions or configurations will be omitted when it is determined that the present invention may unnecessarily obscure the subject matter.

도 1은 본 발명에 따른 복사 장치의 블럭도를 도시한 도면이다.1 is a block diagram of a copying apparatus according to the present invention.

복사 장치는 비디오 스캐터(110), A/D 컨버터(120), 메모리(130), 데이터 분리부(140) 및 위치 조정부(150)를 포함한다. The copy apparatus includes a video scatter 110, an A / D converter 120, a memory 130, a data separator 140, and a position adjuster 150.

비디오 스캐터(110)는 대상물을 광전자적인 방법으로 스캔한다. 스캔을 통해 추출한 대상물은 A/D 컨버터(120)에 의하여 디지털 데이터로 변환된다. 변환된 디지털 데이터는 메모리(130)에 저장된다. The video scatter 110 scans the object in an optoelectronic manner. The object extracted through the scan is converted into digital data by the A / D converter 120. The converted digital data is stored in the memory 130.

데이터 분리부(140)는 디지털 데이터를 구성하는 각 픽셀의 그레이 스케일 값을 이용하여 텍스트 데이터와 이미지 데이터로 구분한다. 스캔된 대상물의 데이터는 윈도우(window)를 이용하여 텍스트 데이터와 이미지 데이터로 구분된다. The data separator 140 divides the text data into the image data by using the gray scale value of each pixel constituting the digital data. The data of the scanned object is divided into text data and image data by using a window.

도 2는 텍스트 데이터와 이미지 데이터를 구분하는데 이용되는 윈도우의 예를 도시한 도면이다. 도 2를 참조하여 윈도우를 이용하여 텍스트 데이터와 이미지 데이터를 구분하는 것에 대하여 상설하면, 3*3 윈도우(220)를 이용하여 대상물의 데이터(210)를 이루는 픽셀 중 9개의 픽셀을 취하여 9개의 픽셀의 그레이 스케일 값의 평균(Mo)을 구한다. 9개의 픽셀의 그레이 스케일 값의 합은 4+4+2+3+2+4+1+5+4 = 9이다. 픽셀이 9개이므로, Mo는 29/9 = 3.666..으로 약 3.67이다. 산출된 평균(Mo)보다 큰 그레이 스케일 값들의 평균(Mh)과 평균 보다 작은 그레이 스케일 값들의 평균(Ml)의 차이(Md)를 소정 기준값과 비교하여 텍스트 데이터와 이미지 데이터를 구분한다. 도 2에서, Mh = (4+4+4+5+4)/5 = 4.2, Ml = (2+3+2+1)/4 = 2이다. 그리고 Md = Mh - Ml = 4.2 - 2 = 2.2 가 된다. 소정 기준값은 그레이 스케일 값의 히스토그램을 기준으로 하여 결정할 수 있다. 평균의 차이인 2.2가 소정 기준값보다 크면 텍스트 데이터로, 평균의 차이인 2.2가 소정 기준값보다 작으면 이미지 데이터로 구분하게 된다.2 is a diagram illustrating an example of a window used to distinguish text data from image data. Referring to FIG. 2, a method of distinguishing text data from image data using a window is performed by taking 9 pixels among the pixels constituting the data 210 of the object using the 3 * 3 window 220, and 9 pixels. The average Mo of the gray scale values of is obtained. The sum of the gray scale values of nine pixels is 4 + 4 + 2 + 3 + 2 + 4 + 1 + 5 + 4 = 9. Since there are 9 pixels, Mo is about 3.67 with 29/9 = 3.666. The difference Md between the average Mh of the gray scale values larger than the calculated average Mo and the average Ml of the gray scale values smaller than the average is compared with a predetermined reference value to distinguish the text data from the image data. In Figure 2, Mh = (4 + 4 + 4 + 5 + 4) / 5 = 4.2, Ml = (2 + 3 + 2 + 1) / 4 = 2. And Md = Mh-Ml = 4.2-2 = 2.2. The predetermined reference value may be determined based on the histogram of the gray scale value. If the difference of 2.2 is greater than the predetermined reference value, the text data is divided. If the difference of 2.2 is less than the predetermined reference value, the data is classified into image data.

도 2에서는 격자 모양의 3*3 윈도우를 이용하였지만, 윈도우의 모양이나 크기는 고정되어 있는 것은 아니다. 도 2에 나타난 격자모양의 윈도우는 부분적으로 겹치도록 이동하면서 픽셀을 선택하여, 대상물의 데이터를 구성하는 픽셀 전부에 대하여 텍스트 데이터와 이미지 데이터를 구분하게 된다. 특정 윈도우에서 텍스트 영역이 우세한지 이미지 영역이 우세한지를 판단하기 위한 결정은 그 윈도우가 가지고 있는 통계적인 변수에 의해 결정된다. 이 결정의 정확성을 높이기 위해 윈도의 "엣지 길이(edge length)"가 텍스트의 두 개의 연속적인 선 사이 거리보다 크도록 선택한다. 텍스트와 이미지를 판단하는 통계적인 변수는 위해 각각의 윈도우에서 발생한 그레이스케일(grayscale) 값의 히스토그램 분포를 기준으로 한다. In FIG. 2, a grid-shaped 3 * 3 window is used, but the shape and size of the window are not fixed. The grid-shaped window shown in FIG. 2 selects pixels while partially moving to overlap each other, thereby distinguishing text data from image data for all pixels constituting the object data. The decision to determine whether a text area prevails or an image area prevails in a particular window is determined by the statistical variables of that window. To increase the accuracy of this decision, select the window's "edge length" to be larger than the distance between two consecutive lines of text. Statistical variables for determining text and images are based on the histogram distribution of grayscale values generated in each window.

도 3a는 윈도우에 선택된 픽셀의 그레이 스케일 값 및 그 히스토그램을 도시한 도면이다. 도 3a 참조하면, 간단한 영상을 구성하는 픽셀의 그레이 스케일 값이 좌측의 표(310)과 같을 때 이 영상의 히스토그램은 우축의 표(320)과 같다. 영상 히스토그램은 영상의 밝기 분포를 나타내는 유용한 정보이다. 또한 영상의 명암대비(contrast) 정보도 내포하고 있다. 히스토그램에서 x축은 그레이스케일(gray cale) 값을 나태내고, y축은 빈도수(주파수)를 나타낸다. 도 3b는 간단한 영상의 히스토그램을 도시한 도면이다. 도 3b를 참조하면, 여인의 이미지가 도시된 영상(330) 및 그 히스토그램(340)을 나타내고 있다.3A is a diagram illustrating a gray scale value and a histogram of selected pixels in a window. Referring to FIG. 3A, when the gray scale values of pixels constituting the simple image are as shown in the table 310 on the left, the histogram of the image is as in the table 320 on the right axis. The image histogram is useful information that indicates the brightness distribution of the image. It also contains contrast information. In the histogram, the x-axis represents gray scale values and the y-axis represents frequency (frequency). 3B shows a histogram of a simple image. Referring to FIG. 3B, an image 330 showing a woman's image and a histogram 340 are shown.

도 3c는 텍스트 영역 및 이미지 영역의 히스토그램의 예를 도시한 도면이다. 텍스트 영역의 히스토그램(350)은 흑색 아니면 백색으로 편중되기 때문에 그레이 스케일 값의 분포가 고르지 않은 반면, 이미지 영역의 히스토그램(360)은 이미지의 특성상 그레이 스케일 값의 분포가 텍스트 영역의 히스토그램에 비하여 고르게 나타난다. 그리고 스파이크 또한 차이가 있다. 윈도우에 선택된 각 픽셀의 그레이 스케일 값(GSV)에 따른 주파수(F)의 스파이크(spike) 및 분포를 참고하여 텍스트 영역과 이미지 영역을 구분한다. 3C is a diagram illustrating an example of a histogram of a text area and an image area. Since the histogram 350 of the text area is biased toward black or white, the distribution of gray scale values is uneven, whereas the histogram 360 of the image area shows the distribution of gray scale values evenly compared to the histogram of the text area due to the characteristics of the image. . And spikes are also different. The text area and the image area are distinguished by referring to the spike and distribution of the frequency F according to the gray scale value GSV of each pixel selected in the window.

위치 조정부(150)는 분리된 이미지 데이터를 메모리에서 제거하고 메모리에서의 텍스트 데이터의 위치를 조정한다. 위치 조정에 대해서는 하기에서 설명한다. 위치가 조정된 데이터가 인쇄됨으로써 복사가 완료된다. The position adjusting unit 150 removes the separated image data from the memory and adjusts the position of the text data in the memory. Position adjustment is demonstrated below. Copying is completed by printing the adjusted data.

도 4는 본 발명에 따른 복사 방법의 흐름도이다.4 is a flowchart of a copying method according to the present invention.

도 1 및 도 4를 참조하여 설명한다. 비디오 스캐너(110)를 통해 복사할 자료(대상물)를 스캔한다(S410). 복사할 자료가 한 번에 스캔할 수 없는 경우에는 스캔 완료 여부를 확인하여 여러 번에 걸쳐 자료를 스캔할 수 있다(S420).It demonstrates with reference to FIG. 1 and FIG. The document (object) to be copied is scanned through the video scanner 110 (S410). If the data to be copied cannot be scanned at one time, the data may be scanned several times by checking whether the scan is completed (S420).

A/D 컨버터(120)는 스캔한 자료의 데이터를 아날로그 데이터에서 디지털 데이터로 변환하여 메모리(130)에 저장한다(S430).The A / D converter 120 converts the data of the scanned data from analog data to digital data and stores it in the memory 130 (S430).

메모리(130)에 저장된 데이터 중 이미지 데이터를 제거할지 여부를 확인한다(S440). 이미지 데이터를 제거하지 않는 경우에는 메모리(130)에 저장된 데이터를 인쇄한다. 도 5a 및 도 5b는 텍스트 데이터와 이미지 데이터가 모두 표시되어 인쇄된 자료의 예를 도시한 도면이다. 도 5a 및 도 5b를 참조하면, 이미지 데이터가 제거되지 않고 인쇄되어 있다. It is checked whether image data is removed from the data stored in the memory 130 (S440). If the image data is not removed, the data stored in the memory 130 is printed. 5A and 5B are diagrams showing an example of a printed material in which both text data and image data are displayed. 5A and 5B, image data is printed without being removed.

이미지 데이터를 제거하는 경우에는 텍스트 데이터와 이미지 데이터를 구분한 후 이미지 데이터를 제거한다(S450). 각 픽셀의 그레이 스케일 값을 이용하여 텍스트 데이터와 이미지 데이터를 구분하는 것에 대한 설명은 상기에서 설명한 부분과 중복되므로 생략한다. 윈도우를 이동하면서 대상물을 구성하는 픽셀 전부에 대하여 구분하게 된다.When the image data is removed, the image data is removed after separating the text data from the image data (S450). The description of distinguishing the text data from the image data using the gray scale value of each pixel is omitted because it overlaps with the above-described parts. As you move the window, you distinguish between all the pixels that make up the object.

이미지 데이터가 제거된 위치에 텍스트 데이터를 이동할지 여부를 확인한다(S460). 텍스트 데이터를 이동하지 않는 경우에는 이미지 데이터만 제거한 상태로 인쇄한다. 도 6a 및 도 6b는 각각 도 5a 및 도 5b에 도시된 자료 중 이미지 데이터를 제거하여 인쇄한 자료의 예를 도시한 도면이다. 도 6a는 도 5a에 도시된 자료 중 이미지 데이터를 제거하여 인쇄된 자료이며 및 도 6b는 도 5b에 도시된 자료 중 이미지 데이터를 제거하여 인쇄된 자료를 나타내고 있다. 이미지 데이터만 제거한 상태로 인쇄하는 방법은 이미지가 저장된 메모리의 데이터를 디펄트(Default) 값(흰색)으로 적재한다. 즉 이미지 데이터가 저장된 영역의 데이터를 인쇄하지 않도록 디펄트(Default) 값을 적재한다. 메모리에 저장된 텍스트 데이터와 디펄트 값(이미지가 삭제된 영역)을 인쇄하면 인쇄된 종이에는 텍스트 영역들만 인쇄되고 디펄트 값으로 인하여 이미지 영역은 도 6a 및 도 6b에 도시된 것처럼 아무것도 찍히지 않게 된다.It is checked whether the text data is moved to the position where the image data is removed (S460). If the text data is not moved, only the image data is removed and printed. 6A and 6B are diagrams showing an example of data printed by removing image data from the data shown in FIGS. 5A and 5B, respectively. FIG. 6A is a material printed by removing image data among the data shown in FIG. 5A, and FIG. 6B shows a material printed by removing image data among the data shown in FIG. 5B. The printing method with only the image data removed removes the data of the memory where the image is stored as a default value (white). That is, a default value is loaded so as not to print the data of the area where the image data is stored. When printing the text data stored in the memory and the default value (the area in which the image is deleted), only the text areas are printed on the printed paper, and the image area is not printed as shown in FIGS. 6A and 6B due to the default value.

텍스트 데이터를 이동하는 경우에는 이미지 데이터가 위치했던 곳에 텍스트 데이터를 적재하여 메모리에 저장한다(S470). 그리고 메모리에 저장된 텍스트 데이터를 인쇄하게 된다. 도 7a 및 도 7b는 각각 도 5a 및 도 5b에 도시된 자료 중 이미지 데이터를 제거하고 텍스트 데이터를 이동하여 인쇄한 자료의 예를 도시한 도면이다. 도 5a 및 도 7a를 참조하여 텍스트 데이터를 이동시켜 인쇄하는 방법을 설명하면, 이미지 영역1에 저장된 메모리의 데이터를 삭제하고 그 메모리 주소에 텍스트 영역 2에 저장된 데이터를 저장함으로써 텍스트 영역 1, 2가 메모리에 차례로 저장된다. 메모리에 저장된 텍스트 영역 1, 2의 데이터를 인쇄하면, 도 7a에 도시된 것처럼 삭제된 이미지 영역 1에 텍스트 영역 2가 인쇄된다. 물론 텍스트 영역 1, 2의 위치를 바꾸어 적재할 수 도 있다. 도 5b 및 도 7b를 참조하여 설명하면, 맨 처음부터 메모리를 읽다가 이미지가 저장된 데이터를 보면 이미지 데이터를 삭제하고 만약 그 텍스트 영역 3의 데이터와 영역 4의 데이터 사이에 공백의 데이터가 크다면 이 공간을 제거하고 그 다음에 위치하는 텍스트 데이터, 즉 텍스트 영역 4를 적재시킨다. 따라서 도 7b에 도시된 것처럼 인쇄되도록 메모리에 텍스트 3, 4의 데이터가 차례로 적재된다. In the case of moving the text data, the text data is loaded and stored in the memory where the image data is located (S470). The text data stored in the memory is printed. 7A and 7B are diagrams showing examples of data printed by removing image data and moving text data among the materials shown in FIGS. 5A and 5B, respectively. Referring to FIGS. 5A and 7A, a method of moving and printing text data is described. The text areas 1 and 2 are deleted by deleting data in the memory stored in the image area 1 and storing the data stored in the text area 2 at the memory address. It is stored in memory one after the other. When data of the text areas 1 and 2 stored in the memory is printed, the text area 2 is printed in the deleted image area 1 as shown in Fig. 7A. Of course, you can change the position of text areas 1 and 2 to load them. Referring to FIGS. 5B and 7B, when the memory is read from the beginning and the data stored in the image is deleted, the image data is deleted, and if the blank data is large between the data of the text area 3 and the data of the area 4, The space is removed and the text data located next, ie text area 4, is loaded. Therefore, data of texts 3 and 4 are sequentially loaded into the memory so as to be printed as shown in Fig. 7B.

이미지 데이터를 제거하거나 이미지 데이터를 제거하고 텍스트 영역을 이동하여 인쇄하는 것뿐만 아니라 컴퓨터, 팩시밀리 등 다른 장치로 전송할 수도 있을 것이다. In addition to removing image data or removing image data and moving and printing text areas, it could be transferred to other devices such as computers and facsimiles.

복사할 데이터에서 이미지 파일을 추출, 제거하여 필요한 텍스트만 복사함으로써, 인쇄시 토너 및 카트리지, 현상기, 종이 등의 소비를 줄일 수 있고 복사, 전송 속도도 높일 수 있다. 또한 텍스트 데이터를 이미지 데이터를 제거한 위치로 이동시킴으로써 텍스트 데이터의 위치를 보다 적절하게 편집하여 복사할 수 있다.By extracting and removing image files from the data to be copied, copying only the necessary text, it is possible to reduce the consumption of toner, cartridge, developer, paper, etc., and to increase the copy and transfer speed. Also, by moving the text data to a position where the image data is removed, the position of the text data can be edited and copied more appropriately.

본 발명은 상술한 특정의 바람직한 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 실시가 가능한 것은 물론이고, 그와 같은 변경은 청구범위 기재의 범위 내에 있게 된다.The present invention is not limited to the above-described specific preferred embodiments, and various modifications can be made by any person having ordinary skill in the art without departing from the gist of the present invention claimed in the claims. Of course, such changes will fall within the scope of the claims.

도 1은 본 발명에 따른 복사 장치의 블럭도를 도시한 도면,1 is a block diagram of a copying apparatus according to the present invention;

도 2는 텍스트 데이터와 이미지 데이터를 구분하는데 이용되는 윈도우의 예를 도시한 도면,2 illustrates an example of a window used to distinguish text data from image data;

도 3a는 윈도우에 선택된 픽셀의 그레이 스케일 값 및 그 히스토그램을 도시한 도면,3A shows a gray scale value of a selected pixel in a window and a histogram thereof;

도 3b는 간단한 영상의 히스토그램을 도시한 도면,3b shows a histogram of a simple image;

도 3c는 텍스트 영역 및 이미지 영역의 히스토그램의 예를 도시한 도면,3C shows an example of a histogram of a text area and an image area;

도 4는 본 발명에 따른 복사 방법의 흐름도,4 is a flowchart of a copying method according to the present invention;

도 5a 및 도 5b는 텍스트 데이터와 이미지 데이터가 모두 표시되어 인쇄된 자료의 예를 도시한 도면5A and 5B show an example of a printed material in which both text data and image data are displayed.

도 6a 및 도 6b는 각각 도 5a 및 도 5b에 도시된 자료 중 이미지 데이터를 제거하여 인쇄한 자료의 예를 도시한 도면, 그리고6A and 6B are views showing an example of a material printed by removing image data among the materials shown in FIGS. 5A and 5B, respectively; and

도 7a 및 도 7b는 각각 도 5a 및 도 5b에 도시된 자료 중 이미지 데이터를 제거하고 텍스트 데이터를 이동하여 인쇄한 자료의 예를 도시한 도면이다. 7A and 7B are diagrams showing examples of data printed by removing image data and moving text data among the materials shown in FIGS. 5A and 5B, respectively.

Claims (5)

소정의 대상물의 복사 방법에 있어서,In the copying method of a predetermined object, 픽셀의 그레이 스케일 값을 이용하여 상기 대상물의 데이터를 텍스트 데이터와 이미지 데이터로 구분하는 단계; Dividing data of the object into text data and image data by using a gray scale value of a pixel; 상기 구분된 이미지 데이터를 제거하여 상기 대상물의 데이터를 저장하는 단계; 및Removing the separated image data to store data of the object; And 상기 저장된 대상물의 데이터를 복사하는 단계;를 포함하는 것을 특징으로 복사 방법.Copying data of the stored object. 제 1항에 있어서,The method of claim 1, 상기 텍스트 데이터와 이미지 데이터를 구분하는 단계는 Distinguishing the text data from the image data 상기 대상물의 데이터의 전체 픽셀 중 소정 개수의 픽셀을 윈도우를 사용하여 선택하는 과정;Selecting a predetermined number of pixels of all pixels of the data of the object by using a window; 상기 선택된 소정 개수의 픽셀의 그레이 스케일 값의 평균을 구하여 상기 픽셀 전체를 상기 그레이 스케일 값의 평균을 기준으로 픽셀들을 분류하는 과정; 및Obtaining a mean of gray scale values of the selected predetermined number of pixels and classifying the entire pixels based on the mean of the gray scale values; And 상기 평균 그레이 스케일 값보다 큰 그레이 스케일 값을 갖는 픽셀들의 평균 그레이 스케일 값과 상기 평균 그레이 스케일 값보다 작은 그페이 스케일 값을 갖는 픽셀들의 평균 그레이 스케일 값의 차이를 소정 기준값과 비교하여 텍스트 데이터와 이미지 데이터를 구분하는 과정을 포함하는 것을 특징으로 하는 복사 방법.The difference between the average gray scale value of the pixels having a gray scale value larger than the average gray scale value and the average gray scale value of the pixels having a gPay scale value smaller than the average gray scale value is compared with a predetermined reference value to compare the text data and the image. A copying method comprising the step of classifying data. 제 1항에 있어서,The method of claim 1, 상기 텍스트 데이터와 이미지 데이터를 구분하는 단계는 Distinguishing the text data from the image data 상기 대상물을 스캔하는 과정;Scanning the object; 상기 스캔한 대상물을 디지털 데이터로 변환하여 메모리에 저장하는 과정; Converting the scanned object into digital data and storing the scanned object in a memory; 상기 저장된 디지털 데이터를 구성하는 픽셀의 그레이 스케일 값의 분포를 나타내는 히스토그램을 생성하는 과정; 및Generating a histogram representing a distribution of gray scale values of pixels constituting the stored digital data; And 상기 히스토그램에 나타난 상기 그레이 스케일 값의 분포 및 스파이크에 따라 텍스트 데이터와 이미지 데이터로 구분하는 과정을 포함하는 것을 특징으로 하는 복사 방법.And dividing into text data and image data according to the distribution and spike of the gray scale value shown in the histogram. 제 1항에 있어서,The method of claim 1, 상기 구분된 이미지 데이터를 제거하여 상기 대상물의 데이터를 저장하는 단계는The storing of the object data by removing the divided image data may include 상기 구분된 이미지 데이터를 제거하는 과정; 및Removing the separated image data; And 상기 이미지 데이터가 제거된 위치에 상기 텍스트 데이터 중 일부를 이동시켜 상기 대상물의 데이터를 저장하는 과정을 포함하는 것을 특징으로 하는 복사 방법. Copying the text data to a position where the image data is removed, and storing the data of the object. 소정의 대상물을 복사하는 장치에 있어서,In the apparatus for copying a predetermined object, 상기 대상물을 스캔하는 비디오 스캐너;A video scanner for scanning the object; 상기 스캔한 대상물을 디지털 데이터로 변환하는 A/D 컨버터;An A / D converter converting the scanned object into digital data; 상기 디지털 데이터를 저장하는 메모리; A memory for storing the digital data; 상기 디지털 데이터를 구성하는 각 픽셀의 그레이 스케일 값을 이용하여 상기 대상물의 영역을 텍스트 영역과 이미지 영역으로 구분하는 데이터 분리부; 및A data separation unit for dividing the area of the object into a text area and an image area by using gray scale values of each pixel constituting the digital data; And 상기 이미지 영역의 데이터를 상기 메모리에서 제거하며 상기 메모리에서의 상기 텍스트 데이터의 위치를 조정하는 위치 조정부;를 포함하는 것을 특징으로 하는 복사 장치.And a position adjusting unit which removes data of the image area from the memory and adjusts the position of the text data in the memory.
KR1020040030860A 2004-05-01 2004-05-01 Method for coping by removing image area KR20050105648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040030860A KR20050105648A (en) 2004-05-01 2004-05-01 Method for coping by removing image area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040030860A KR20050105648A (en) 2004-05-01 2004-05-01 Method for coping by removing image area

Publications (1)

Publication Number Publication Date
KR20050105648A true KR20050105648A (en) 2005-11-08

Family

ID=37282789

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040030860A KR20050105648A (en) 2004-05-01 2004-05-01 Method for coping by removing image area

Country Status (1)

Country Link
KR (1) KR20050105648A (en)

Similar Documents

Publication Publication Date Title
US7692834B2 (en) Image processing system, image forming apparatus, control method for the same, and program for implementing the control method
US8494304B2 (en) Punched hole detection and removal
JP4574235B2 (en) Image processing apparatus, control method therefor, and program
JP4098087B2 (en) Method and apparatus for analyzing images
US8515163B2 (en) System and method for identifying and classifying color regions from a digital image
US8244035B2 (en) Image processing apparatus and control method thereof
US20080137153A1 (en) Image processing apparatus and method
JP2007174270A (en) Image processing apparatus, image processing method, storage medium, and program
US20090074291A1 (en) Image processing apparatus and image processing method
US20090284801A1 (en) Image processing apparatus and image processing method
JP2008146258A (en) Image processor and image processing method
CN101197896A (en) Image processing apparatus, image processing method
US7813565B2 (en) Image processing apparatus, image forming apparatus, and image processing method
US6807301B1 (en) Image production controlling device, image producing device, image production controlling method, and a storage medium
JP5178490B2 (en) Image processing apparatus, image processing method, and computer program
JP6147020B2 (en) Image processing apparatus, image processing method, and program
JP3899872B2 (en) Image processing apparatus, image processing method, image processing program, and computer-readable recording medium recording the same
JP4541770B2 (en) Image processing apparatus, control method therefor, and program
KR20050105648A (en) Method for coping by removing image area
JP2006197172A (en) Black and white/color original discrimination device, black and white/color original discrimination method, and image reader equipped with the same
JP6373448B2 (en) Image processing apparatus, image processing method, and program
JP2011095889A (en) Image reader
CN101246326A (en) Image processing method, image processing apparatus, image forming apparatus, and image reading apparatus
JP2008227825A (en) Image processor, image forming apparatus provided with the same, and image processing method
JP2002185721A (en) Device and method for reading image

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination