KR100895622B1 - Image forming apparatus and image forming method - Google Patents

Image forming apparatus and image forming method Download PDF

Info

Publication number
KR100895622B1
KR100895622B1 KR1020070046466A KR20070046466A KR100895622B1 KR 100895622 B1 KR100895622 B1 KR 100895622B1 KR 1020070046466 A KR1020070046466 A KR 1020070046466A KR 20070046466 A KR20070046466 A KR 20070046466A KR 100895622 B1 KR100895622 B1 KR 100895622B1
Authority
KR
South Korea
Prior art keywords
image
text area
shape
document
characters
Prior art date
Application number
KR1020070046466A
Other languages
Korean (ko)
Other versions
KR20080100587A (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 KR1020070046466A priority Critical patent/KR100895622B1/en
Publication of KR20080100587A publication Critical patent/KR20080100587A/en
Application granted granted Critical
Publication of KR100895622B1 publication Critical patent/KR100895622B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets

Landscapes

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

Abstract

본 발명은 화상형성장치 및 화상형성방법에 관한 것이다. 본 발명에 따른 화상형성방법은, 촬상 화상으로부터 조도 차이를 추출하여 문서의 모양을 추정하는 단계와, 촬상 화상을 이용하여 텍스트 영역을 추출하고 텍스트 영역의 사각형 코너 포인트를 산출하는 단계와, 텍스트 영역의 문자들의 속성정보와 추정된 문서 모양을 이용하여 상기 텍스트 영역의 문자들의 세로 간격을 조정하는 단계와, 사각형 코너 포인트의 좌표에 각 포인트의 위치를 직사각형 형태로 변환하는 역행렬을 곱하고, 상기 텍스트 영역의 각 화소를 적응적으로 위치시키는 단계를 제공한다. 이에 의해, 서적을 스캐닝하는 경우 발생하는 촬상 화상의 왜곡을 사용자가 보기 쉽도록 보정 할 수 있다. The present invention relates to an image forming apparatus and an image forming method. An image forming method according to the present invention comprises the steps of: extracting a difference in roughness from a captured image to estimate the shape of the document; extracting a text region using the captured image and calculating a rectangular corner point of the text region; Adjusting the vertical spacing of the characters of the text area by using the attribute information of the characters and the estimated document shape, multiplying the coordinates of the rectangular corner points by the inverse matrix of converting the position of each point into a rectangular shape, Adaptively positioning each pixel of the lens. Thereby, distortion of the picked-up image which arises when scanning a book can be corrected so that a user may see it easily.

Description

화상형성장치 및 화상형성방법{IMAGE FORMING APPARATUS AND IMAGE FORMING METHOD}Image forming apparatus and image forming method {IMAGE FORMING APPARATUS AND IMAGE FORMING METHOD}

도 1은 화상형성장치에서 서적을 스캐닝하는 상태를 도시한 도면이고,1 is a diagram illustrating a state of scanning a book in an image forming apparatus;

도 2는 본 발명의 일실시예에 따른 화상형성장치의 스캐너부의 구성을 도시한 도면이고,2 is a diagram illustrating a configuration of a scanner unit of an image forming apparatus according to an embodiment of the present invention.

도 3은 본 발명의 일실시예에 따른 화상형성장치의 상부를 도시한 도면이고,3 is a diagram illustrating an upper portion of an image forming apparatus according to an embodiment of the present invention.

도 4는 본 발명의 일실시예에 따른 화상형성장치의 구성을 도시한 도면이고,4 is a diagram illustrating a configuration of an image forming apparatus according to an embodiment of the present invention.

도 5는 본 발명을 설명하기 위한 촬상 화상을 도시한 도면이고,5 is a view showing a captured image for explaining the present invention;

도 6은 본 발명의 일실시예에 따른 화상형성장치의 화상처리부를 도시한 도면이고,6 is a diagram illustrating an image processing unit of an image forming apparatus according to an embodiment of the present invention.

도 7은 본 발명의 일실시예에 따른 화상형성방법의 흐름도를 도시한 도면이고,7 is a flowchart illustrating an image forming method according to an embodiment of the present invention.

도 8은 본 발명의 일실시예가 도 5에 도시된 화상에 적용되어 보정된 경우를 도시한 도면이다. FIG. 8 is a diagram illustrating a case where an embodiment of the present invention is applied and corrected in the image shown in FIG. 5.

본 발명은 화상형성장치 및 화상형성방법에 관한 것으로, 상세하게는 서적을 스캐닝하는 경우 발생하는 촬상 화상의 왜곡을 보정하는 화상형성장치 및 화상형성방법에 관한 것이다. The present invention relates to an image forming apparatus and an image forming method, and more particularly, to an image forming apparatus and an image forming method for correcting distortion of a captured image generated when a book is scanned.

화상형성장치는 일반적으로 스캐너, 프린터, 복사기 및 팩시밀리 등을 말한다. 특히 최근에는 사무 효율을 개선하고 사무 자동화를 실현하기 위하여, 다양한 기능, 예를 들면 복사기/프린터, 또는 복사기/팩시밀리/프린터의 기능을 복합적으로 구현한 복합기(Multi-Function Peripheral)가 화상형성장치의 하나로 널리 사용되고 있다. The image forming apparatus generally refers to a scanner, a printer, a copier, a facsimile and the like. In particular, in recent years, in order to improve office efficiency and to realize office automation, a multi-function peripheral, which has a complex implementation of various functions such as a copier / printer or a copier / facsimile / printer, has been developed. It is widely used as one.

스캐너 모듈을 구비한 화상형성장치는 일반적으로 사용자가 도 1에 도시된 스캐너 모듈의 유리(102) 상에 시트 원고를 한 장 올려놓고 스캐닝 버튼을 누르면 스캐닝을 수행한다. 그러나 화상형성장치의 스캐닝 원고로서는 시트 원고뿐만 아니라 책 등의 서적 원고도 취급되고, 그와 같은 경우에도, 스캐너 모듈의 유리(102) 상에 서적 원고를 올려놓고, 원고를 스캐닝하게 된다. In general, an image forming apparatus having a scanner module performs scanning when a user places one sheet document on the glass 102 of the scanner module shown in FIG. 1 and presses a scanning button. However, not only sheet documents but also book documents such as books are handled as scanning documents of the image forming apparatus. In such a case, the book documents are placed on the glass 102 of the scanner module to scan the documents.

그러나 서적 원고를 스캐닝하는 경우에는 도 1에 도시된 바와 같이, 서적(100)의 페이지를 꿰맨 영역(이하 '접힘부'라고 한다)(101)이 스캐너 모듈의 유리(102) 상에 들떠 초점면에서 분리되기 때문에, 들뜬 영역의 스캐닝 화상에 의해 화상 왜곡 등의 화질 열화가 발생한다. 따라서 열화한 접힘부(101)의 화상을 그대로 인쇄하면 사용자가 읽기 어려울 뿐만 아니라 문자인식기(OCR)의 인식률도 현저하게 떨어진다.However, when scanning a book manuscript, as shown in FIG. 1, an area where the pages of the book 100 are stitched (hereinafter referred to as a “fold”) 101 is held on the glass 102 of the scanner module by the focal plane. Since it is separated from, the image quality deterioration such as image distortion occurs due to the scanned image of the excited region. Therefore, when the deteriorated image of the folded portion 101 is printed as it is, it is not only difficult for the user to read, but also the recognition rate of the character recognizer (OCR) is remarkably decreased.

이러한 서적(100)의 접힘부(101)에 의한 왜곡된 스캐닝 화상을 보정하기 위 한 다양한 기술들이 특허문헌 등에 게재되어 있다. 예를 들면, 일본공개특허 평5-161002호에는 삼각 측량 방식에 의해 서적의 형상을 측정하고 왜곡을 보정하는 방법이 개시되어 있으며, 일본공개특허 평11-41455호에는 스캐닝 화상의 페이지 외형의 형상을 이용하여 서적 표면의 3차원 형상을 추정하는 방법이 개시되어 있다. Various techniques for correcting the distorted scanning image by the folded portion 101 of the book 100 are disclosed in the patent literature and the like. For example, Japanese Laid-Open Patent Publication No. Hei 5-161002 discloses a method of measuring the shape of a book by a triangulation method and correcting distortion, and Japanese Laid-Open Patent Publication Hei 11-41455 describes the shape of the page appearance of a scanning image. A method of estimating a three-dimensional shape of a book surface using is disclosed.

그러나 일본공개특허 평5-161002호에 기재된 방법에 의하면, 삼각 측량 방식에 의해 서적의 형상을 측정하기 위한 특별한 형상 계측 장치가 필요하며, 일본공개특허 평11-41455호에 기재된 방법에 의하면, 작은 계산량으로 왜곡 보정을 할 수 있지만, 조건에 따라 유효한 보정을 할 수 없는 경우가 발생한다. However, according to the method described in Japanese Patent Laid-Open No. 5-161002, a special shape measuring device for measuring the shape of a book by a triangulation method is required, and according to the method described in Japanese Patent Laid-Open No. 11-41455, The distortion can be corrected by the amount of calculation, but there is a case where an effective correction cannot be made depending on the conditions.

따라서, 본 발명은 서적을 스캐닝하는 경우 발생하는 스캐닝 화상의 왜곡을 효과적으로 보정하는 화상형성장치 및 화상형성방법을 제공하는 것을 목적으로 한다.Accordingly, an object of the present invention is to provide an image forming apparatus and an image forming method for effectively correcting distortion of a scanning image generated when a book is scanned.

또한, 본 발명은 촬상 화상의 왜곡을 보정하여 사용자에게 읽기 쉬운 서적화상을 제공하는 화상형성장치 및 화상형성방법을 제공하는 것을 목적으로 한다.It is also an object of the present invention to provide an image forming apparatus and an image forming method for correcting distortion of a captured image to provide a book image that is easy for a user to read.

상기와 같은 목적을 달성하기 위해, 본 발명은 문서에 대한 촬상 화상을 보정하는 화상형성방법에 있어서, 상기 촬상 화상으로부터 조도 차이를 추출하여 상기 문서의 모양을 추정하는 단계와, 상기 촬상 화상을 이용하여 텍스트 영역을 추 출하고 상기 텍스트 영역의 사각형 코너 포인트를 산출하는 단계와, 상기 텍스트 영역의 문자들의 속성정보와 상기 추정된 문서의 모양을 이용하여 상기 텍스트 영역의 문자들의 세로 간격을 조정하는 단계와, 상기 사각형 코너 포인트의 좌표에 각 포인트의 위치를 직사각형 형태로 변환하는 역행렬을 곱하고, 상기 텍스트 영역의 각 화소를 적응적으로 위치시키는 단계를 제공한다. In order to achieve the above object, the present invention provides an image forming method for correcting a captured image for a document, comprising: estimating the shape of the document by extracting a difference in roughness from the captured image, and using the captured image. Extracting a text area and calculating a rectangular corner point of the text area, and adjusting vertical intervals of characters in the text area by using attribute information of characters in the text area and the estimated shape of the document. And multiplying the coordinates of the rectangular corner points by an inverse matrix that converts the position of each point into a rectangular shape, and adaptively positioning each pixel of the text area.

상기 텍스트 영역의 추출은, 상기 촬상 화상에 대하여 웨이브렛 변환을 수행하여 추출하는 것이 바람직하다.Extraction of the text area is preferably performed by performing wavelet transform on the captured image.

상기 텍스트 영역의 추출은, 상기 촬상 화상의 조도 변화를 보정한 화상에 대하여 웨이브렛 변환을 수행하여 추출하는 것이 바람직하다.The extraction of the text area is preferably performed by performing wavelet transform on the image of which the illuminance change of the captured image is corrected.

상기 텍스트 영역의 사각형 코너 포인트의 산출은, 상기 보정된 화상을 이진화하고, 상기 이진화된 화상을 이용하여 산출하는 것이 바람직하다.It is preferable to calculate the square corner point of the text area by binarizing the corrected image and using the binarized image.

상기 텍스트 영역의 상기 이진화된 화상의 텍스트 라인 정보를 이용하여 가로선 방향의 휘어진 정도를 판단하는 단계를 더 포함하는 것이 바람직하다.The method may further include determining a degree of warp in the horizontal line direction using text line information of the binarized image of the text area.

상기 문서의 모양 추정은, 2차원 화상으로부터 3차원 형상을 복원하는 음영으로부터 형상(Shape From Shading) 알고리즘에 의해 추정하는 것이 바람직하다.It is preferable that the shape estimation of the document is estimated by a shape from shading algorithm that restores the three-dimensional shape from the two-dimensional image.

상기 텍스트 영역의 문자들의 속성 정보는, 문자의 간격 및 문자의 두께를 포함한다. Attribute information of the characters of the text area includes spacing of characters and thickness of characters.

상기 텍스트 영역의 각 화소의 적응적인 위치는, 상기 촬상 화상 또는 상기 이진화된 화상의 모든 좌표에 상기 역행렬을 곱하는 것이 바람직하다. Preferably, the adaptive position of each pixel of the text area is multiplied by the inverse of all coordinates of the picked-up image or the binarized image.

상기와 같은 본 발명의 목적은 문서에 대한 촬상 화상을 보정하는 화상형성 장치에 있어서, 상기 촬상 화상으로부터 조도 차이를 추출하여 상기 문서의 모양을 추정하는 모양 추정부와, 상기 촬상 화상의 조도변화를 산출하여 상기 촬상 화상을 보정하고, 상기 보정된 화상을 이진화하는 화상 변환부와, 상기 보정된 화상 및 상기 이진화된 화상을 이용하여 텍스트 영역 및 상기 텍스트 영역의 사각형 코너 포인트를 추출하는 영역 추출부와, 상기 텍스트 영역의 문자들의 속성정보와 상기 추정된 문서의 모양을 이용하여 상기 텍스트 영역의 문자들의 세로 간격을 조정하는 세로 간격 조정부와, 상기 사각형 코너 포인트의 좌표에 각 포인트의 위치를 직사각형 형태로 변환하는 역행렬을 곱하고, 상기 텍스트 영역의 각 화소를 적응적으로 위치시키는 화상 보정부에 의해 달성된다.An object of the present invention as described above is an image forming apparatus for correcting a picked-up image for a document, comprising: a shape estimating unit for extracting a difference in roughness from the picked-up image and estimating the shape of the document; An image conversion unit for calculating and correcting the captured image, and for binarizing the corrected image, an area extraction unit for extracting a text area and a rectangular corner point of the text area using the corrected image and the binarized image; And a vertical spacing adjusting unit for adjusting the vertical spacing of the characters of the text area by using the attribute information of the characters of the text area and the estimated shape of the document, and the position of each point in the rectangular corner point coordinates in the form of a rectangle. Multiplying inverse matrix to transform, and adaptively positioning each pixel of the text area It is achieved by the correction section.

이하, 본 발명의 바람직한 실시예를 첨부된 도면을 참조하여 더욱 상세하게 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in more detail with reference to the accompanying drawings.

도 2는 본 발명의 일실시예에 따른 화상형성장치의 스캐너 모듈의 구성을 도시한 도면이고, 도 3은 본 발명의 일실시예에 따른 화상형성장치의 상부를 도시한 도면이고, 도 4는 본 발명의 일실시예에 따른 화상형성장치의 구성을 도시한 도면이다. 2 is a view showing the configuration of a scanner module of the image forming apparatus according to an embodiment of the present invention, Figure 3 is a view showing an upper portion of the image forming apparatus according to an embodiment of the present invention, Figure 4 FIG. 7 is a diagram illustrating a configuration of an image forming apparatus according to an exemplary embodiment.

도 2에 도시된 바와 같이, 스캐너 모듈(1)은, 원고를 올려놓는 유리(2)와, 원고의 노광용의 노광 램프(3) 및 제1 반사 미러(4)로 이루어진 제1 주행체(5)와, 제2 반사 미러(6) 및 제3 반사 미러(7)로 이루어진 제2 주행체(8)와, 원고의 화상을 독취하는 촬상소자로서의 CCD(Charge Coupled Device)(9)와, 이 CCD(9)에 결상 시키기 위한 렌즈 유닛(10)과, 원고를 올려놓는 기준이 되는 원고 기준대(11)와, 이 원고 기준대(11)의 하측에 설치된 쉐이딩 보정용의 백 기준판(12) 및 프레임(14)을 구비하고 있으며, CCD(9)는 센서 포트(13) 상에 위치되어 있다.As shown in FIG. 2, the scanner module 1 includes a glass 2 on which an original is placed, a first traveling body 5 including an exposure lamp 3 and a first reflective mirror 4 for exposing an original. ), A second traveling body 8 composed of the second reflection mirror 6 and the third reflection mirror 7, a CCD (Charge Coupled Device) 9 as an image pickup device for reading an image of an original, and A lens unit 10 for forming an image on the CCD 9, an original reference table 11 serving as a reference for placing an original, and a white reference plate 12 for shading correction provided below the original reference table 11. And a frame 14, the CCD 9 being located on the sensor port 13.

도 3에 도시된 바와 같이, 스캐너 모듈(1)에는 유리(2)에 대하여 개폐가 자유로운 누름판(17)과 이 누름판(17)의 개폐를 검출하는 검출 센서(18)가 구비되어 있다. 또 복사기(16)에 구비되는 프린터 모듈로서는, 전자 사진 방식 이외에 잉크젯 방식, 열전사 방식 및 직접 감열 기록 방식 등 각각의 인쇄 방식을 적용할 수 있다.As shown in FIG. 3, the scanner module 1 is provided with the press plate 17 which can open and close with respect to the glass 2, and the detection sensor 18 which detects the opening and closing of this press plate 17. As shown in FIG. As the printer module included in the copying machine 16, in addition to the electrophotographic method, respective printing methods such as an inkjet method, a thermal transfer method and a direct thermal recording method can be applied.

도 4에 도시된 바와 같이, 스캐너 모듈(1)의 제어계는, 스캐너 모듈(1)의 전체를 제어하는 메인 제어부(19)와, CCD(9)에서 독취한 촬상 화상에 각종 화상 처리를 수행하는 화상처리부(20)와, 제1 주행체(5) 및 제2 주행체(8)를 제어하는 서보 제어부(21)와, 복사기(16)의 각종 조작을 받고, 또 각종 메시지를 표시하는 조작 패널(22)과, CCD(9)에서 독취한 촬상 화상 또는 소정의 데이터 등을 저장하는 메모리(23)가 접속되어 있다. 또한 조작 패널(22)에는, 복사를 수행하기 위한 복사 시작키 등이 구비되어 있다. 또한 서보 제어부(21)에는 노광 램프(3)와, 제1 주행체(5) 및 제2 주행체(8)를 구동하는 스테핑 모터(24)와, 제1 주행체(5) 및 제2 주행체(8)가 홈 위치에 있는지 아닌지를 검출하는 홈 위치 센서(HP 센서)(25) 및 개폐 센서(18)가 접속되어 있다.As shown in FIG. 4, the control system of the scanner module 1 performs various image processing on the main control unit 19 for controlling the entirety of the scanner module 1, and the captured image read by the CCD 9. An operation panel that receives various operations of the image processing unit 20, the servo control unit 21 for controlling the first traveling body 5 and the second traveling body 8, and the copier 16 and displays various messages. 21 and a memory 23 for storing a captured image read out by the CCD 9, predetermined data, or the like are connected. In addition, the operation panel 22 is provided with a copy start key and the like for performing copying. The servo control unit 21 further includes a stepping motor 24 for driving the exposure lamp 3, the first traveling body 5, and the second traveling body 8, the first traveling body 5, and the second traveling body. The home position sensor (HP sensor) 25 and the opening / closing sensor 18 which detect whether the sieve 8 is in the home position are connected.

상술한 구성을 갖는 화상형성장치에서, 사용자가 스캐너 모듈(1)의 유리(2) 상에 서적을 복사하기 위해 도 1에서 도시된 바와 같이 서적을 올려놓고, 조작 패 널(22)에 위치한 복사 시작키를 누르면, 스테핑 모터(24)에 의해 제1 주행체(5) 및 제2 주행체(8)가 이동하고 노광 램프(3)에서 원고를 노광 주사한다. 그리고 그 반사광을 제1 반사 미러(4), 제2 반사 미러(6) 및 제3 반사 미러(7)에서 반사하여 렌즈 유닛(10)을 통해 CCD(9)에 결상시킨다. 서적 원고를 스캐닝하면서 CCD(9)에서 독취되어 화상처리부(20)로 출력되는 화상을 스캐닝 화상이라고 한다. 한편, 본 발명의 청구범위에 기재된 촬상 화상은 이러한 스캐닝 화상뿐만 아니라, 일반 디지털 카메라를 포함한 촬상소자에서 문서를 촬영하는 경우에 화상이 왜곡되는 경우를 포함한다. In the image forming apparatus having the above-described configuration, a user places a book as shown in FIG. 1 for copying a book on the glass 2 of the scanner module 1, and a copy located on the operation panel 22. When the start key is pressed, the first traveling body 5 and the second traveling body 8 are moved by the stepping motor 24, and the exposure lamp 3 exposes the original for scanning. The reflected light is reflected by the first reflecting mirror 4, the second reflecting mirror 6, and the third reflecting mirror 7 to form an image on the CCD 9 through the lens unit 10. An image which is read by the CCD 9 and output to the image processing unit 20 while scanning a book original is called a scanning image. On the other hand, the picked-up image described in the claims of the present invention includes a case in which the image is distorted in the case of photographing a document in an image pickup device including a general digital camera as well as such a scanning image.

도 5는 본 발명을 설명하기 위해 상술한 CCD(9)에서 출력되는 스캐닝 화상을 도시한 도면이다. 도 5에 도시된 왜곡된 스캐닝 화상을 프린터 모듈을 통해 인쇄하거나 모니터 등에 표시하여 읽으려고 하면 화상의 왜곡으로 인하여 읽기 어려우며, 문자인식기(OCR)를 이용하여 문서 영상을 텍스트로 변환하고자 할 때 인식률도 많이 저하된다.5 is a diagram showing a scanning image output from the above-described CCD 9 for explaining the present invention. When the distorted scanning image illustrated in FIG. 5 is printed through a printer module or displayed on a monitor to read, it is difficult to read due to the distortion of the image, and the recognition rate is also used when the document image is converted to text using an OCR. Deteriorates a lot.

도 6은 본 발명의 일실시예에 따른 화상형성장치의 화상처리부를 도시한 도면이고, 도 8은 본 발명에 의해 출력되는 화상을 도시한 도면이다. 화상형성장치(16)의 화상처리부(20)는 조도 검출부(61), 모양 추정부(62), 화상 변환부(63), 영역 추출부(64), 가로선 정렬부(65), 세로선 정렬부(66), 세로 간격 조정부(67), 화상 복원부(68)를 포함한다.6 is a view showing an image processing unit of the image forming apparatus according to an embodiment of the present invention, Figure 8 is a view showing an image output by the present invention. The image processor 20 of the image forming apparatus 16 includes an illuminance detector 61, a shape estimator 62, an image converter 63, an area extractor 64, a horizontal line aligner 65, and a vertical line aligner. 66, a vertical space | interval adjustment part 67, and the image restoration part 68 are included.

조도 검출부(61)는 CCD(9)로부터 입력되는 화상의 조도 변화를 검출한다. 그레이 또는 컬러로 취득된 화상은 그 모양과 주변의 조명 위치에 따라 위치마다 다 른 조도를 갖는다. 즉, 카메라 렌즈로부터의 거리(depth) 차이에 의해 조도의 차이가 생기는데, 렌즈로부터 가까운 쪽은 조도가 높고, 먼 쪽은 조도가 낮다. 특히 플래쉬를 터뜨리는 경우는 조도 차이가 심하다. 또한, 이들 이외에 추가적으로 조도에 영향을 미치는 요소로서는 화상을 취득하는 과정에서 화상의 중앙부분에 비해 모서리와 주변부의 조도가 낮아지는 렌즈 자체에 의한 비네팅(Vignetting) 현상이 있다. 조도 검출부(61)는 화상의 조도에 영향을 미치는 다양한 요소들을 고려하여 문서 화상의 조도 변화를 검출한다.The illuminance detection unit 61 detects the illuminance change of the image input from the CCD 9. An image acquired in gray or color has different illuminance for each position depending on its shape and surrounding illumination position. That is, the difference in illuminance is caused by the difference in distance from the camera lens. The illuminance near the lens is high and the far end is low. In particular, the difference in illuminance is great when the flash is fired. In addition, other factors affecting the illuminance include vignetting caused by the lens itself in which illuminance of edges and periphery is lower than that of the center of the image in the process of acquiring an image. The illuminance detector 61 detects the change in the illuminance of the document image in consideration of various factors affecting the illuminance of the image.

모양 추정부(62)는 조도 검출부(61)에서 출력되는 조도 변화 정보를 이용하여 서적 원고의 모양을 추정한다. 이러한 조도 변화 정보 중에서 문서 모양에 의한 조도 차이를 추출하기 위해 2차원 화상으로부터 3차원 물체의 형태를 복원하는 음영으로부터 형상(Shape From Shading : SFS) 알고리즘을 사용한다. 조도의 변화를 이용하면 대략적인 문서의 3차원 형태가 결정되고, 문서 정점의 설정 및 또는 렌즈로부터의 문서의 거리(depth)를 구할 수 있다. 즉, 물체의 각 지점에서 수직 성분과 접평면(tangential plane)을 복원하고, 이를 통해 거리(depth)를 산출한다. 이 SFS를 이용하여 추정한 문서 모양은 화상 변환부(63) 및 세로 간격 조정부(67)에 공급된다. The shape estimating unit 62 estimates the shape of the book document by using the illuminance change information output from the illuminance detecting unit 61. The Shape From Shading (SFS) algorithm is used to restore the shape of the three-dimensional object from the two-dimensional image in order to extract the illuminance difference due to the shape of the document. The change in illuminance determines the approximate three-dimensional shape of the document and allows setting of document vertices and / or the distance of the document from the lens. That is, the vertical component and the tangential plane are restored at each point of the object, and the depth is calculated through this. The document shape estimated using this SFS is supplied to the image conversion unit 63 and the vertical gap adjusting unit 67.

화상 변환부(63)는 조도 검출부(61)에서 출력되는 조도 변화 정보를 이용하여 스캐닝된 화상을 보정하고, 보정된 스캐닝 화상을 이진화한다. 즉, 조도 검출부(61)에서 언급한 바와 같이, 스캐닝 화상에서 영역마다 조도의 차이를 일으키는 요소에는 여러 가지가 있다. 이들을 종합적으로 고려하여 조도변화에 대한 수학적 인 모델을 만들 수 있다. 즉, 보통 일정한 밝기를 가진 물체에 플래쉬나 외부 광원이 곱해져서 다른 조도가 나타난 것으로 모델링을 한다. 따라서 이 모델을 이용하여 일정한 값들을 화소값에서 나누어 줌으로써 조도가 보정된다. The image converting unit 63 corrects the scanned image using the illuminance change information output from the illuminance detecting unit 61, and binarizes the corrected scanning image. That is, as mentioned in the illuminance detection section 61, there are various elements causing the difference in illuminance for each region in the scanned image. Taking these into account, a mathematical model of the change in illuminance can be created. In other words, it is usually modeled as a different illuminance by multiplying a flashlight or an external light source with an object having a constant brightness. Therefore, illuminance is corrected by dividing certain values by pixel values using this model.

이 경우 역변환으로 보정할 수 있는 요소는 우선 역변환으로 보정하여 평활화한다. 여기서, 역변환이란 서적의 스캐닝 동안 발생한 조도 차이에 의한 획득 화상을 원본 화상의 조도에 가깝게 바꾸는 것을 의미하며, 평활화(equalization)란 화상 전체에서 조도 차이에 의하여 밝은 부분과 어두운 부분이 있을 때 밝은 부분은 조금 어둡게 하고, 어두운 부분은 조금 밝게 하여 어두운 부분에서 잘 보이지 않던 영역을 잘 보일 수 있도록 처리하는 것을 의미한다. 즉, 스캐닝 화상에서도 반사가 적어 어두운 영역이 발생하는데 이 어두운 영역을 디지털 처리로 강제로 끌어 올리면 문자와 바탕의 대비도가 보다 선명해진다.In this case, elements that can be corrected by inverse transform are first smoothed by inverse transform. Here, the inverse transformation means to change the acquired image due to the illumination difference generated during the scanning of the book to be close to the illumination of the original image, and the equalization means that when there are light and dark parts due to the illumination difference in the whole image, It's a bit darker, and the darker part is a little brighter, which means you can see areas that are hard to see in the darker part. In other words, even in the scanned image, there is less reflection and a dark area is generated. If the dark area is forcibly pulled up by digital processing, the contrast between the text and the background becomes clearer.

또한 역변환으로 평활화되지 않는 나머지 요소들은 영역별로 블록을 형성하여 블록 내부에서 국부적으로 평활화할 수 있다. 즉, 위에서 평활화 과정을 통해서도 전체적인 밝기가 고르게 나타나지 않을 수 있다. 이 경우에는 밝은 영역과 어두운 영역에 다른 알고리즘을 적용하거나, 같은 알고리즘을 적용하더라도 다른 파라미터를 적용해야 하므로 블록별로 화상을 처리해야 한다. 즉, 어느 정도 작은 크기의 블록을 설정하고 이를 움직이면서 이 안에 있는 화소들에 대해서 영역별 처리를 한다. 전체적으로 밝기에 차이가 있더라도 블록 안에 있는 화소들의 평균 밝기는 같기 때문에 이 안에서는 같은 알고리즘 또는 같은 파라미터를 적용하여 문서의 이진화를 수행할 수 있다. In addition, the remaining elements that are not smoothed by the inverse transform may be locally smoothed by forming blocks by area. That is, the overall brightness may not appear evenly through the above smoothing process. In this case, different algorithms should be applied to the light and dark areas, or even if the same algorithm is applied, different parameters must be applied to block-by-block images. In other words, by setting a block of a somewhat small size and moving it, the pixels in the area are processed by area. Even though there is a difference in overall brightness, the average brightness of the pixels in the block is the same, so that the same algorithm or the same parameter can be used to binarize the document.

영역 추출부(64)는 웨이브렛 변환을 이용한 문서 분석을 통하여 주어진 영역이 텍스트 영역인지 그래픽 영역인지 그림 영역인지 등을 판별한다. 즉, 영역 추출부(64)는 화상 변환부(63)에서 보정된 화상에 대하여 웨이브렛 변환을 수행하고, 또한 이진화된 화상을 이용하여 글자들의 바운딩 박스를 찾는다. 이진화된 화상을 이용하여 이진화된 화상의 각 화소가 문자인지 배경인지를 쉽게 구분할 수 있다. 즉, 각 화소는 0(검정색) ~ 255(흰색) 중 하나의 값을 가지게 되는데, 어떤 임계치를 기준으로 임계치보다 작으면 문자로, 임계치보다 크면 배경으로 인식하도록 하는 과정이다. 이 경우 임계치는 고정된 값이 아니라 위에서 설명한 바와 같이 블록별로 적응적으로 변화할 수 있다. The area extractor 64 determines whether a given area is a text area, a graphic area, or a picture area by analyzing a document using wavelet transform. That is, the area extracting unit 64 performs wavelet transform on the image corrected by the image converting unit 63, and also finds the bounding box of the letters by using the binarized image. The binarized image can be used to easily distinguish whether each pixel of the binarized image is a character or a background. That is, each pixel has a value of one of 0 (black) to 255 (white), which is a process of recognizing it as a character if it is smaller than the threshold based on a certain threshold and a background if it is larger than the threshold. In this case, the threshold may be adaptively changed block by block as described above, rather than a fixed value.

또한, 얻어진 텍스트 영역의 사방 끝점을 찾아서 텍스트 영역에 씌울 사각형 메쉬의 코너 포인트를 추출한다. 즉, 텍스트 영역이 결정되면 사각형 메쉬의 코너 포인트를 쉽게 추출할 수 있다. 구체적인 방법으로는 이진화된 화상의 가장자리로부터 안쪽으로 진행하면서 최초에 0이 아닌 화소가 나오는 지점을 찾으면 된다.In addition, the four corners of the obtained text area are found to extract corner points of the rectangular mesh to be covered in the text area. In other words, once the text area is determined, the corner points of the square mesh can be easily extracted. As a specific method, it is necessary to find the point where the non-zero pixel first appears while proceeding inward from the edge of the binarized image.

가로선 정렬부(65)는 텍스트 영역에서 가로로 흐르는 에지들과 텍스트 라인 사이의 빈공간의 모양 등을 이용하여 이로부터 사각형 메쉬의 가로 방향선들을 정렬한다. 즉, 서적의 휘어짐 정도와 비슷하게 텍스트 라인도 곡선의 형태를 띄게 된다. 따라서 이를 통해 휘어진 정도를 판단하고, 메쉬를 직선으로 정렬하는 정보로 이용한다. The horizontal line aligning unit 65 aligns the horizontal direction lines of the rectangular meshes from the horizontal line using the shape of the empty space between the edges flowing horizontally in the text area and the text line. In other words, text lines are curved like a book. Therefore, the degree of deflection is determined through this, and the mesh is used as information for aligning the straight lines.

문자의 바닥을 따라 가면서 휘어진 정도를 판단하거나 문자 라인과 라인 사이의 빈 공간을 따라 가면서 휘어진 정도를 판단한다. 이 경우 에지 방향 검출 알 고리즘으로 허프 변환(Hough Transform)을 사용할 수 있다Determine the degree of curvature along the bottom of the text, or determine the degree of warp along the empty space between the text lines. In this case, Hough Transform can be used as the edge direction detection algorithm.

세로선 정렬부(66)는 영역 추출부(64)에서 만들어진 사각형 메쉬를 세로 방향을 따라 우선 일정한 간격으로 나눈다. 간격의 두께는 그 안에 충분한 양의 텍스트 정보가 들어가도록 조정한다. 즉, 저해상도인 경우에는 비교적 넓게 고해상도인 경우에는 비교적 좁게 간격을 조정한다.The vertical line aligning unit 66 first divides the rectangular mesh made by the area extracting unit 64 at regular intervals along the vertical direction. The thickness of the gap is adjusted to accommodate a sufficient amount of text information in it. That is, the interval is adjusted relatively narrowly in the case of low resolution and relatively narrowly in the case of high resolution.

세로 간격 조정부(67)는 영역 추출부(64)에 의한 텍스트 영역의 문자들의 속성정보와 모양 추정부(62)에 의해 추정된 문서의 모양을 이용하여 텍스트 영역의 세로 간격을 조정한다. 텍스트 영역의 문자들의 속성 정보는, 문자의 간격 및 문자의 두께를 포함한다. 그리고 문서 정점으로부터 멀어진 영역의 휘어져 있는 부분의 문자들은 비스듬히 찍힌 부분이므로 문자와 공란의 두께가 정점으로부터의 깊이에 비례하여 작아지며, 포커스 또한 흐려진다. 포커스가 잘 맞는 부분과 흐린 부분에서 나타나는 차이점 중 세로 방향 에지 부분에서의 조도 변화율을 이용한다. 포커스가 잘 맞는 부분에서는 에지가 날카로울 것이므로 조도 변화율이 크게 나타나고, 포커스가 흐려진 부분에서는 조도 변화율이 작게 나타난다. 이와 같이 문자와 공란의 두께, 그리고 포커스가 흐려진 정도를 이용하면 문서의 가장 높은 지점으로부터 그 부분이 얼마나 멀리 있는지를 유추할 수 있다. The vertical space adjusting unit 67 adjusts the vertical space of the text area by using the attribute information of the characters of the text area by the area extraction unit 64 and the shape of the document estimated by the shape estimating unit 62. Attribute information of the characters of the text area includes the spacing of the characters and the thickness of the characters. In addition, since the characters in the curved part of the area far from the document vertex are obliquely photographed, the thickness of the character and the blank becomes smaller in proportion to the depth from the vertex, and the focus is also blurred. Use the rate of change of illuminance at the vertical edge of the difference between good focus and blur. In the well-focused areas, the edges will be sharp, so the rate of change in illuminance is high, and the rate of change in illuminance is small. Using the text, the thickness of the blanks, and the degree of defocusing, you can infer how far the part is from the highest point in the document.

즉, 이 요소들을 이용하여 화상에서의 하나의 세로 간격이 문서를 복원했을 때는 모두 동일하도록 세로 라인들의 간격을 조정한다. 또한, 상술한 텍스트 영역의 문자정보 이외에도 모양 추정부(3)에서 추정된 문서 모양을 이용하여 더 정확한 세로 간격 조정을 수행할 수 있다.That is, by using these elements, the spacing of the vertical lines is adjusted so that one vertical spacing in the image is the same when the document is restored. In addition to the above-described character information of the text area, it is possible to perform more accurate vertical spacing adjustment using the document shape estimated by the shape estimating unit 3.

화상 복원부(68)는 영역 추출부(64)에서 구한 사각형 메쉬가 일정한 간격의 반듯한 메쉬가 되도록 각 포인트의 변환식을 유도하고 이 변환식에 따라 텍스트 영역의 각 화소를 적응적으로 위치 변화를 시킨다. 이에 의해, 복원된 화상을 얻을 있다. The image restoring unit 68 induces a transformation equation of each point so that the square mesh obtained by the region extraction unit 64 becomes a smooth mesh at regular intervals, and adaptively changes the position of each pixel in the text area according to this transformation equation. Thereby, the restored image can be obtained.

즉, 화상 변환부(63)에서 출력되는 스캐닝 화상 또는 이진화된 스캐닝 화상 그리고 세로선 정렬부(66)에 출력되는 정렬된 스캐닝 화상은 왜곡되기 이전의 서적화상의 화소의 좌표에 행렬이 곱해져 이루어진 것이다. 따라서 이들 스캐닝 화상의 모든 화소에 사각형 메쉬를 펴는 역행렬을 곱함으로써 왜곡되기 전의 화상을 얻을 수 있다. 부연하면, 원래 직사각형 모양의 서적 원본이 도 5에 도시된 것처럼 기하학적으로 왜곡된 것은 직사각형 모양의 서적 원본의 각 점이 어떤 행렬 곱에 의하여 다른 점으로 이동된 것이라 할 수 있다. 따라서 앞에서 얻은 다수의 파라미터를 종합하여 이 행렬이 무엇인지를 파악한 후 이 행렬의 역행렬을 구하여 곱함으로써 도 8에 도시된 바와 같은 보정된 스캐닝 화상, 즉, 원본 화상에 가까운 화상을 얻을 수 있다. That is, the scanning image or the binarized scanning image output from the image conversion unit 63 and the aligned scanning image output to the vertical line alignment unit 66 are obtained by multiplying the matrix of the pixel of the book image before distortion. . Therefore, by multiplying all the pixels of these scanning images by the inverse matrix of the square mesh, an image before distortion can be obtained. In other words, the geometrically distorted original book-shaped original as shown in FIG. 5 may be said that each point of the original book-shaped rectangle is moved to another point by a certain matrix product. Therefore, by combining a plurality of parameters obtained above to find out what this matrix is, and then obtaining the inverse of the matrix and multiplying it, a corrected scanning image as shown in FIG. 8, that is, an image close to the original image can be obtained.

도 7은 본 발명의 일실시예에 따른 화상형성방법의 흐름도를 도시한 도면이다. 7 is a flowchart illustrating an image forming method according to an embodiment of the present invention.

서적을 유리(2) 위에 올려 놓고 스캐닝 버튼을 누르면 CCD(9)에서 스캐닝 화상을 생성하며, 이 스캐닝 화상은 화상처리부(20)의 조도 검출부(61)로 출력된다.조도 검출부(61)는 스캐닝 화상의 조도에 영향을 미치는 다양한 요소들을 고려하여 스캐닝 화상의 조도 차이를 검출한다(S71), When the book is placed on the glass 2 and the scanning button is pressed, a scanning image is generated by the CCD 9. The scanning image is output to the illuminance detection unit 61 of the image processing unit 20. The illuminance detection unit 61 scans In consideration of various factors affecting the illuminance of the image, the illuminance difference of the scanned image is detected (S71).

모양 추정부(62)는 검출된 스캐닝 화상의 조도 변화 정보 중에서 문서 모양에 의한 조도 차이를 이용하여 문서의 모양을 추정한다(S72). 이 문서의 모양 추정은, 2차원 화상으로부터 3차원 형상을 복원하는 음영으로부터 형상(Shape From Shading) 알고리즘에 의해 추정하는 것이 바람직하다.The shape estimating unit 62 estimates the shape of the document using the illuminance difference due to the shape of the document among the illumination intensity change information of the detected scanning image (S72). It is preferable that the shape estimation of this document is estimated by a shape from shading algorithm that restores the three-dimensional shape from the two-dimensional image.

조도 검출부(61)에서 검출된 스캐닝 화상의 조도 변화 정보는 화상 변환부(63)에 출력되어 화상 변환부(63)로 입력되는 스캐닝 화상, 즉, 서적을 스캐닝하는 동안 발생한 조도 차이에 의한 획득 화상을 원본 화상의 조도에 가깝게 보정하기 위해 이용된다. 또한, 화상 변환부는 조도가 보정된 화상을 이진화하여 이진화된 화상을 출력한다(S73).The illuminance change information of the scanned image detected by the illuminance detector 61 is output to the image convertor 63 and input to the image convertor 63, that is, an acquired image due to the illuminance difference generated while scanning a book. Is used to correct close to the illuminance of the original image. In addition, the image converting unit binarizes the image whose illuminance is corrected and outputs the binarized image (S73).

영역 추출부(64)는 화상 변환부(63)에서 조도가 보정된 화상에 대하여 웨이브렛 변환을 이용한 문서 분석을 통하여 텍스트 영역인지 그래픽 영역인지를 판별한다(S74). 이 경우 텍스트 영역의 추출은 스캐닝 화상에 대하여 웨이브렛 변환을 수행하여 추출할 수도 있다. 또한 영역 추출부(64)는 화상 변화부(63)에서 출력되는 이진화된 화상을 이용하여 텍스트 영역의 사각형 메쉬의 코너 포인트를 추출한다(S75). The area extracting unit 64 determines whether the image area is a text area or a graphic area through document analysis using wavelet transform on the image whose illuminance has been corrected (S74). In this case, the text area may be extracted by performing wavelet transform on the scanned image. Also, the area extractor 64 extracts a corner point of the rectangular mesh of the text area using the binarized image output from the image changer 63 (S75).

가로선 정렬부(65)는 영역 추출부(64)에서 출력된 정보를 이용하여 텍스트 영역에서의 이진화된 화상에 의해 구한 텍스트의 라인 정보를 이용하여 가로선 방향의 휘어진 정도를 판단하고, 이로부터 사각형 메쉬의 가로선들을 정렬한다(S76). The horizontal line aligning unit 65 determines the degree of warp in the horizontal line direction using the line information of the text obtained by the binarized image in the text area using the information output from the area extracting unit 64, and from this the square mesh Align the horizontal lines of (S76).

세로선 정렬부(66)는 영역 추출부(64)에서 출력된 사각형 메쉬를 세로 방향을 따라 일정한 간격으로 나눈다(S77). 이 경우 간격의 두께는 그 안에 충분한 양 의 텍스트 정보가 들어가도록 조정한다.The vertical line aligning unit 66 divides the square mesh output from the area extracting unit 64 at regular intervals along the vertical direction (S77). In this case, the thickness of the gap is adjusted so that a sufficient amount of text information is contained therein.

세로 간격 조정부(67)는 텍스트 영역의 문자들의 속성정보와 모양 추정부(62)에서 추정된 문서의 모양을 이용하여 텍스트 영역의 문자들의 세로 간격을 조정한다(S78). 텍스트 영역의 문자들의 속성 정보는 문자의 간격 및 두께를 말하며, 이들 정보 이외에도 포커스가 흐려진 정도를 포함한다.The vertical spacing adjusting unit 67 adjusts the vertical spacing of the characters of the text area by using the attribute information of the characters of the text area and the shape of the document estimated by the shape estimating unit 62 (S78). The attribute information of the characters of the text area refers to the spacing and thickness of the characters, and includes the degree of focus defocusing in addition to these information.

화상 보정부(68)는 사각형 코너 포인트의 좌표에 각 포인트의 위치를 직사각형 형태로 변환하는 역행렬을 곱하고, 텍스트 영역의 각 화소를 적응적으로 위치시킨다(S79). 이 경우 텍스트 영역의 각 화소의 적응적인 위치는 스캐닝 화상 또는 이진화된 화상의 모든 좌표에 역행렬을 곱하여 적응적으로 위치시킬 수 있다.The image correction unit 68 multiplies the coordinates of the rectangular corner points by an inverse matrix for converting the position of each point into a rectangular shape, and adaptively positions each pixel of the text area (S79). In this case, the adaptive position of each pixel of the text area may be adaptively positioned by multiplying an inverse matrix of all coordinates of the scanning image or the binarized image.

이상에서는 스캐닝모듈을 구비한 화상형성장치에 대하여 설명하고 있지만, 스캐닝모듈을 구비하고 있지 않은 경우에도 본 발명을 적용할 수 있다. 즉, 스캐너에 의해 서적을 스캐닝한 화상을 인쇄하기 위해 입력받은 프린터는 입력된 촬상 화상에 대해 본 발명에 따른 화상보정을 수행한 후에 인쇄를 할 수 있다. 따라서 본 발명의 적용은 스캐닝 모듈을 구비한 경우로 한정되지 아니한다. Although the image forming apparatus having the scanning module has been described above, the present invention can be applied even when the scanning module is not provided. That is, the printer received to print the image scanned by the scanner by the scanner can print after performing the image correction according to the present invention on the input captured image. Therefore, the application of the present invention is not limited to the case with the scanning module.

또한, 본 발명은 서적을 스캐닝하는 경우를 들어 설명하고 있지만, 원고를 카메라 등으로 촬영하는 경우에 발생하는 왜곡에 대해서도 적용이 가능하다. In addition, although the present invention has been described taking the case of scanning a book, the present invention can also be applied to distortion generated when photographing an original with a camera or the like.

본 발명에 따르면, 서적을 스캐닝하는 경우 발생하는 스캐닝 화상의 왜곡을 효과적으로 보정 할 수 있다.According to the present invention, distortion of the scanning image generated when scanning a book can be effectively corrected.

또한, 촬상 화상의 왜곡을 보정하여 사용자에게 읽기 쉬운 서적 화상을 보여주는 것이 가능하며, 문서 인식기의 인식률을 높일 수 있다. In addition, it is possible to correct the distortion of the picked-up image to show the user an easy-to-read book image, and to increase the recognition rate of the document recognizer.

Claims (9)

문서에 대한 촬상 화상을 보정하는 화상형성방법에 있어서,An image forming method for correcting a captured image for a document, 상기 촬상 화상으로부터 조도 차이를 추출하여 상기 문서의 모양을 추정하는 단계와;Estimating the shape of the document by extracting an illuminance difference from the captured image; 상기 촬상 화상을 이용하여 텍스트 영역을 추출하고 상기 텍스트 영역의 사각형 코너 포인트를 산출하는 단계와; Extracting a text area using the captured image and calculating a rectangular corner point of the text area; 상기 텍스트 영역의 문자들의 속성정보와 상기 추정된 문서의 모양을 이용하여 상기 텍스트 영역의 문자들의 세로 간격을 조정하는 단계와;Adjusting vertical spacing of characters in the text area by using attribute information of the characters in the text area and the shape of the estimated document; 상기 사각형 코너 포인트의 좌표에 각 포인트의 위치를 직사각형 형태로 변환하는 역행렬을 곱하고, 상기 텍스트 영역의 각 화소를 적응적으로 위치시키는 단계를 포함하는 것을 특징으로 하는 화상형성방법.And multiplying the coordinates of the rectangular corner points by an inverse matrix for converting the position of each point into a rectangular shape, and adaptively positioning each pixel of the text area. 제1항에 있어서,The method of claim 1, 상기 텍스트 영역의 추출은, 상기 촬상 화상에 대하여 웨이브렛 변환을 수행하여 추출하는 것을 특징으로 하는 화상형성방법. And extracting the text area by performing wavelet transformation on the picked-up image. 제1항에 있어서, The method of claim 1, 상기 텍스트 영역의 추출은, 상기 촬상 화상의 조도 변화를 보정한 화상에 대하여 웨이브렛 변환을 수행하여 추출하는 것을 특징으로 하는 화상형성방법. The extracting of the text area is performed by performing wavelet transform on the image of which the illuminance change of the picked-up image is corrected. 제3항에 있어서,The method of claim 3, 상기 텍스트 영역의 사각형 코너 포인트의 산출은, 상기 보정된 화상을 이진화하고, 상기 이진화된 화상을 이용하여 산출하는 것을 특징으로 하는 화상형성방법. The calculation of the rectangular corner point of the text area is characterized by binarizing the corrected image, and calculating using the binarized image. 제3항 또는 제4항에 있어서,The method according to claim 3 or 4, 상기 텍스트 영역의 상기 이진화된 화상의 텍스트 라인 정보를 이용하여 가로선 방향의 휘어진 정도를 판단하는 단계를 더 포함하는 것을 특징으로 하는 화상형성방법.And determining a degree of warp in a horizontal line direction using text line information of the binarized image of the text area. 제1항에 있어서, The method of claim 1, 상기 문서의 모양 추정은, 2차원 화상으로부터 3차원 형상을 복원하는 음영으로부터 형상(Shape From Shading) 알고리즘에 의해 추정하는 것을 특징으로 하는 화상형성방법. And the shape estimation of the document is estimated by a shape from shading algorithm which restores a three-dimensional shape from a two-dimensional image. 제1항에 있어서,The method of claim 1, 상기 텍스트 영역의 문자들의 속성 정보는, 문자의 간격 및 문자의 두께를 포함하는 것을 특징으로 하는 화상형성방법. The attribute information of the characters of the text area includes an interval of characters and a thickness of characters. 제4항에 있어서,The method of claim 4, wherein 상기 텍스트 영역의 각 화소의 적응적인 위치는, 상기 촬상 화상 또는 상기 이진화된 화상의 모든 좌표에 상기 역행렬을 곱하는 것을 특징으로 하는 화상형성방법. And the adaptive position of each pixel of the text area is multiplied by the inverse of all coordinates of the captured image or the binarized image. 문서에 대한 촬상 화상을 보정하는 화상형성장치에 있어서,An image forming apparatus for correcting a captured image for a document, 상기 촬상 화상으로부터 조도 차이를 추출하여 상기 문서의 모양을 추정하는 모양 추정부와;A shape estimating unit for extracting a light intensity difference from the picked-up image to estimate the shape of the document; 상기 촬상 화상의 조도 변화를 산출하여 상기 촬상 화상을 보정하고, 상기 보정된 화상을 이진화하는 화상 변환부와;An image converter which calculates a change in illuminance of the captured image to correct the captured image and binarizes the corrected image; 상기 보정된 화상 및 상기 이진화된 화상을 이용하여 텍스트 영역 및 상기 텍스트 영역의 사각형 코너 포인트를 추출하는 영역 추출부와;An area extracting unit extracting a text area and a rectangular corner point of the text area using the corrected image and the binarized image; 상기 텍스트 영역의 문자들의 속성정보와 상기 추정된 문서의 모양을 이용하여 상기 텍스트 영역의 문자들의 세로 간격을 조정하는 세로 간격 조정부와; A vertical spacing adjusting unit which adjusts a vertical spacing of the characters of the text area by using attribute information of the characters of the text area and the shape of the estimated document; 상기 사각형 코너 포인트의 좌표에 각 포인트의 위치를 직사각형 형태로 변환하는 역행렬을 곱하고, 상기 텍스트 영역의 각 화소를 적응적으로 위치시키는 화상 보정부를 포함하는 것을 특징으로 하는 화상형성장치.And an image correction unit for multiplying the coordinates of the rectangular corner points by an inverse matrix for converting the position of each point into a rectangular shape, and adaptively positioning each pixel of the text area.
KR1020070046466A 2007-05-14 2007-05-14 Image forming apparatus and image forming method KR100895622B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070046466A KR100895622B1 (en) 2007-05-14 2007-05-14 Image forming apparatus and image forming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070046466A KR100895622B1 (en) 2007-05-14 2007-05-14 Image forming apparatus and image forming method

Publications (2)

Publication Number Publication Date
KR20080100587A KR20080100587A (en) 2008-11-19
KR100895622B1 true KR100895622B1 (en) 2009-05-06

Family

ID=40287040

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070046466A KR100895622B1 (en) 2007-05-14 2007-05-14 Image forming apparatus and image forming method

Country Status (1)

Country Link
KR (1) KR100895622B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05161002A (en) * 1991-12-05 1993-06-25 Minolta Camera Co Ltd Original reader
JP2000182053A (en) 1998-12-15 2000-06-30 Toshiba Corp Method and device for processing video and recording medium in which a video processing procedure is recorded
KR100537827B1 (en) 2003-04-24 2005-12-19 주식회사신도리코 Method for the Separation of text and Image in Scanned Documents using the Distribution of Edges
KR20060118255A (en) * 2005-05-16 2006-11-23 삼성전자주식회사 Image reading apparatus and method for revision of book-scan image use the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05161002A (en) * 1991-12-05 1993-06-25 Minolta Camera Co Ltd Original reader
JP2000182053A (en) 1998-12-15 2000-06-30 Toshiba Corp Method and device for processing video and recording medium in which a video processing procedure is recorded
KR100537827B1 (en) 2003-04-24 2005-12-19 주식회사신도리코 Method for the Separation of text and Image in Scanned Documents using the Distribution of Edges
KR20060118255A (en) * 2005-05-16 2006-11-23 삼성전자주식회사 Image reading apparatus and method for revision of book-scan image use the same

Also Published As

Publication number Publication date
KR20080100587A (en) 2008-11-19

Similar Documents

Publication Publication Date Title
US9036223B2 (en) Systems and methods for edge detection during an imaging operation
US7016081B2 (en) Image distortion correction apparatus, distortion correction method therefor, recording media, image scanner and image construction apparatus
US20070053586A1 (en) Image processing apparatus and image processing method
JP3907433B2 (en) Digital imaging device using background training
JP7130436B2 (en) IMAGE PROCESSING APPARATUS FOR MULTI-CROP PROCESSING, METHOD AND PROGRAM FOR GENERATING IMAGE IN UNIT OF DOCUMENT USING MULTI-CROP PROCESSING
JP6426815B2 (en) Image processing apparatus and image processing method
JP2010157916A (en) Image reader, and wrinkle region determination method in the same, and program
JP2005260657A (en) Photographing apparatus, image processing method and program therefor
JP3582988B2 (en) Non-contact image reader
JP4277768B2 (en) Photo image area extraction device and copy device
KR100895622B1 (en) Image forming apparatus and image forming method
JP6859779B2 (en) Image reader, image reading method and image reading program
RU2368091C2 (en) System and method for scanning and copying
JP2000261653A (en) Image processing unit
JP3852247B2 (en) Image forming apparatus and transfer image distortion correction method
JP5550309B2 (en) Image processing apparatus and display control method
JP4093726B2 (en) Image processing method, image processing apparatus, image processing program, and recording medium
JP2007200068A (en) Photographic image processing method and device thereof
JP6950621B2 (en) Image forming device, image processing device, and image processing method
JP3989687B2 (en) Color image processing method, color image processing apparatus, color image processing program, and recording medium
JP3877535B2 (en) Color image processing method, color image processing apparatus, color image processing program, and recording medium
RU2298292C2 (en) System and method for scanning
JP2004318896A (en) Non-contact image reading apparatus
JP2007148612A (en) Photographing device, image processing method and image processing program
JP4623214B2 (en) Photo image area extraction device and copy device

Legal Events

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

Payment date: 20130422

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20140421

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20150420

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20160420

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20170420

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee