JP2006244083A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2006244083A
JP2006244083A JP2005058025A JP2005058025A JP2006244083A JP 2006244083 A JP2006244083 A JP 2006244083A JP 2005058025 A JP2005058025 A JP 2005058025A JP 2005058025 A JP2005058025 A JP 2005058025A JP 2006244083 A JP2006244083 A JP 2006244083A
Authority
JP
Japan
Prior art keywords
image
hole
document
erasing
pass filter
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP2005058025A
Other languages
Japanese (ja)
Other versions
JP4606203B2 (en
Inventor
Hirotaka Watanabe
浩崇 渡辺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Electronics Inc
Original Assignee
Canon Electronics Inc
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 Canon Electronics Inc filed Critical Canon Electronics Inc
Priority to JP2005058025A priority Critical patent/JP4606203B2/en
Publication of JP2006244083A publication Critical patent/JP2006244083A/en
Application granted granted Critical
Publication of JP4606203B2 publication Critical patent/JP4606203B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus that produces a clear image by erasing only hole portions on an image acquired by scanning document with binder holes. <P>SOLUTION: The image processing apparatus comprises an image reading means 7 for reading image information on a document, an image storage part 50, a low pass filter means applied to the image read by the image reading means 7, a feature detection means for detecting features of blocks of continuous image areas in the image read by the image reading means 7, a document hole detection means for detecting holes in the document according to the features detected by the feature detection means, a hole image creation means for leaving only the holes detected by the document hole detection means on the image read by the image reading means 7, and a hole erasing means for erasing the hole portions on the image read by the image reading means 7 according to the image created by the hole image creation means. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、読み取った原稿の画像情報の処理を行う画像処理装置に関する。   The present invention relates to an image processing apparatus that processes image information of a read original.

一般に、画像読取装置は、報告書、議事録、設計図、機密文書などの書類を読み取り、画像データとして保存する装置である。また、画像読取機能以外に白紙スキップ、OCR(光学式文字読取装置)などの画像処理機能が考案されている。一方、バインダーにファイリングする為に原稿にバインダー穴を開けた場合、読取った画像のバインダー穴部分は黒い点となる。これは、画像読取装置の画像読取部分の対向面が黒色であるからである。この画像内のバインダー穴部分は、白紙スキップとOCRが誤動作する原因になる。   In general, an image reading device is a device that reads a document such as a report, a minutes, a design drawing, and a confidential document, and stores it as image data. In addition to the image reading function, image processing functions such as blank page skip and OCR (optical character reader) have been devised. On the other hand, when a binder hole is opened in the document for filing to the binder, the binder hole portion of the read image becomes a black dot. This is because the opposing surface of the image reading portion of the image reading apparatus is black. The binder hole portion in this image causes blank page skip and OCR to malfunction.

イ)ここで、バインダー穴のある原稿がOCR機能に対する影響について説明する。   B) Here, the influence of a document having a binder hole on the OCR function will be described.

図2は、原稿(b)の点線領域を画像読取装置で読み取ったスキャン画像(a)を、OCRにかけた例を示している。ここで、原稿にバインダー穴が開いていた場合、スキャン画像(a)には、穴部分の画像ができる。(以後バインダー穴部分の画像をバインダー穴画像と呼ぶ)このスキャン画像(a)をOCRにかけた場合、バインダー穴部分を「・」と認識してしまい、全体としては、図示したように「・あいう」となってしまう。これは、誤認識である。   FIG. 2 shows an example in which the scanned image (a) obtained by reading the dotted line area of the document (b) with the image reading apparatus is subjected to OCR. Here, if the document has a binder hole, an image of the hole portion is formed in the scanned image (a). (Hereinafter, the image of the binder hole portion is referred to as a binder hole image.) When this scanned image (a) is subjected to OCR, the binder hole portion is recognized as “•”, and as a whole, as shown in FIG. " This is a misrecognition.

ロ)次に、白紙スキップへの影響について説明する。   B) Next, the effect on blank page skip will be described.

白紙スキップの既知の技術としては、「黒画素が画像領域内を占める割合をもとに、白紙を検知し、検知された白紙の読取画像を破棄する」というものがある。図3−aで、具体的な例を示す。ここでは、黒画素が占める割合を2%として設定してある。1枚目,2枚目,3枚目という連続スキャンの最中において、2枚目に白紙原稿があった場合、読取画像の黒画素が占める割合は0%なので、この原稿を読み取った画像は、白紙スキップ処理で破棄される。しかし、図3−bで示すように、原稿にバインダー穴がある場合(ここでは、黒画素が占める割合は、5%であったとする。)、2枚目の画像には、バインダー穴画像ができるので、この画像は白紙と判断されず破棄されない。黒画素の占める割合をバインダー穴の画像が占める割合まで上げた場合、残したい画像まで破棄する可能性がでてくるので、白紙スキップの信頼性が低くなるという問題が出てくる。   As a known technique for skipping blank pages, there is a technique of “detecting blank pages based on the ratio of black pixels occupying the image area and discarding the detected read images of blank pages”. A specific example is shown in FIG. Here, the ratio of black pixels is set to 2%. During the continuous scanning of the first, second, and third sheets, if there is a blank document on the second sheet, the percentage of black pixels in the scanned image is 0%. Discarded by blank page skip processing. However, as shown in FIG. 3B, when the document has a binder hole (here, the proportion of black pixels is 5%), the second image has a binder hole image. Since this is possible, this image is not judged to be blank and is not discarded. When the proportion of black pixels is increased to the proportion of the image of the binder hole, there is a possibility of discarding the image that is desired to be left, so that there is a problem that the reliability of blank page skip is lowered.

上述したOCR、白紙スキップの問題を回避するために、バインダー穴画像を消す技術が考えられた。   In order to avoid the above-described problems of OCR and blank page skip, a technique for deleting the binder hole image has been considered.

バインダー穴画像を消す技術として、図8に示すように「ユーザーが指定した画像領域を消す」という方法がある。これは、図8(a)と図8(b)において、原稿端から点線部分までの領域を白く塗りつぶすというものである。原稿端から点線部分までの幅はユーザーが指定できる。   As a technique for erasing the binder hole image, there is a method of “erasing the image area specified by the user” as shown in FIG. In FIG. 8A and FIG. 8B, the area from the document edge to the dotted line is painted white. The user can specify the width from the document edge to the dotted line.

また、画像読取装置の画像読取部分の対向面を黒色から白色にするという方法がある。こうすると画像内に、バインダー穴が現れなくなる。   Further, there is a method of changing the facing surface of the image reading portion of the image reading apparatus from black to white. This prevents binder holes from appearing in the image.

また、設定された部分領域の中で黒画素をカウントし、そのカウント値によりバインダー穴をノイズとするものがある(例えば、特許文献1参照。)。
特開平2−68676号公報
In addition, there is a method in which black pixels are counted in a set partial area, and a binder hole is used as noise based on the count value (see, for example, Patent Document 1).
Japanese Patent Laid-Open No. 2-68676

しかし、「ユーザーが指定した画像領域を消す」場合、図8で示すように、バインダー穴画像以外も一緒に消してしまうという問題がある。具体的には、図8(a)−(c)の場合、点線で示された領域を消すと、「こんにちは」という文章の「こ」が、穴部分と縦ラインが重なっているため、穴部分の画像を消すときに、一緒に消えてしまう。また、同様に、点線で示される領域を消すと、図8(b)−(d)も同様の理由で、「<1>」の上の部分が消えてしまう。   However, in the case of “deleting the image area specified by the user”, there is a problem that, as shown in FIG. Specifically, FIG. 8 (a) - for In the case of (c), the erase region indicated by the dotted line, the "Hello", "this" in the sentence have overlapped bore portion and a vertical line, the hole When erasing part of the image, it disappears together. Similarly, when the area indicated by the dotted line is erased, the upper part of “<1>” disappears in FIGS. 8B to 8D for the same reason.

また、「画像読取装置の画像読取部分の対向面を黒色から白色にするという方法」では、画像内の原稿のまわりも白くなってしまうので、サイズ検知処理が出来なくなってしまう。ここで、サイズ検知処理について図6を用いて説明する。図6(a)は原稿、(b)は(a)の原稿を画像読取装置で読み取った画像である。この画像読取装置は、画像読取部分の対向面が黒色であるので、読取った画像において原稿のまわりが、斜線で示すように、黒くなる。この画像(b)をまわりから調べていき、黒画素から白画素に変わった位置を検出して原稿のサイズを検知している。このような方法でサイズ検知処理を行う場合、前述した「画像読取装置の画像読取部分の対向面を黒色から白色にするという方法」を用いると、サイズ検知処理が使えないという問題がある。   In addition, in the “method of changing the facing surface of the image reading portion of the image reading apparatus from black to white”, the size of the original in the image is also whitened, so that the size detection process cannot be performed. Here, the size detection process will be described with reference to FIG. FIG. 6A shows an original, and FIG. 6B shows an image obtained by reading the original shown in FIG. In this image reading apparatus, since the facing surface of the image reading portion is black, the area around the original in the read image becomes black as shown by the oblique lines. The image (b) is examined from around and the position of the original pixel is detected by detecting the position where the black pixel is changed to the white pixel. When performing the size detection process by such a method, there is a problem that the size detection process cannot be used if the above-described “method of changing the facing surface of the image reading portion of the image reading apparatus from black to white” is used.

また、特許文献1では、図4の文字605がバインダー穴604にかぶっている場合、バインダー穴を消すことができない。   Moreover, in patent document 1, when the character 605 of FIG. 4 is covering the binder hole 604, a binder hole cannot be erased.

そこで、本発明は、上記の問題を解決するためになされたものであり、第一の目的は図4のようにバインダー穴601,604に文字605や表602がかぶっていた場合でも、バインダー穴を消せる画像処理装置を提供することである。   Therefore, the present invention has been made to solve the above-mentioned problem, and the first object is to form a binder hole even when the characters 605 and the table 602 are covered with the binder holes 601 and 604 as shown in FIG. An image processing apparatus capable of erasing the image is provided.

本発明は、上記目的を解決するために、以下の構成を備える。   In order to solve the above object, the present invention comprises the following arrangement.

原稿の画像情報を読み取る画像読取手段と、画像記憶部と、前記画像読取手段で読み取った読取画像の複製である作業用画像を処理するローパスフィルター手段と、該ローパスフィルター手段で処理された前記作業用画像内にある連続した一塊の画像領域の特徴量を検出する特徴量検出手段と、該特徴量検出手段が検出した特徴量に基づいて原稿の穴の画像を検出する原稿穴検出手段と、前記ローパスフィルター手段で処理された前記作業用画像から前記原稿穴検出手段で検出された穴の画像以外を消去する穴画像作成手段と、該穴画像作成手段で作成された画像に基づいて、前記画像読取手段で読み取った画像の穴部分を消去する穴消去手段を備えることを特徴とする画像処理装置。   Image reading means for reading image information of a document, an image storage unit, low-pass filter means for processing a working image that is a copy of the read image read by the image reading means, and the work processed by the low-pass filter means A feature amount detecting means for detecting a feature amount of a continuous block of image regions in the image for use, a document hole detecting means for detecting an image of a hole in the document based on the feature amount detected by the feature amount detecting means, Based on the image created by the hole image creating means, the hole image creating means for erasing other than the hole image detected by the original hole detecting means from the working image processed by the low pass filter means, An image processing apparatus comprising hole erasing means for erasing a hole portion of an image read by an image reading means.

本発明によれば、位置、形状によらずに、バインダー穴画像のみを消すことができる。また、「ユーザーが指定した画像領域を消す方法」と違い、バインダー穴部分以外を消すことがない。   According to the present invention, only the binder hole image can be erased regardless of the position and shape. Also, unlike the “method of erasing the image area specified by the user”, the area other than the binder hole is not erased.

さらに、バインダー穴が消えることによって、読み取った画像の美観が良くなる。さらに、OCRの認識率向上につながる。   Further, the appearance of the read image is improved by the disappearance of the binder hole. In addition, the recognition rate of OCR is improved.

また、白紙スキップ処理の誤動作防止に貢献することができると共に、バインダー穴画像を消すことによって、無駄な情報を消去できるので、画像圧縮の圧縮率を高めることにも貢献できる。さらに、バインダー穴画像に表の線がかぶっていた場合、またはバインダー穴画像に他の画像がかぶっていた場合でもバインダー穴のみを消すことができる。そして、センサーの対向面が黒色のスキャナを用いた場合、サイズ検知処理とバインダー穴消し処理を併用できる。   In addition, it is possible to contribute to prevention of malfunctions in the blank page skip processing, and it is possible to erase unnecessary information by erasing the binder hole image, thereby contributing to increasing the compression rate of image compression. Furthermore, even when the binder hole image is covered with a front line or when the binder hole image is covered with another image, only the binder hole can be erased. When a scanner having a black sensor facing surface is used, the size detection process and the binder hole erasing process can be used together.

以下に、本発明を実施するための最良の形態を、実施例に基づいて説明する。   The best mode for carrying out the present invention will be described below based on examples.

以下、本発明の実施例について説明する。図1は、画像を読み取る画像読取装置(以下スキャナと呼ぶ)の外観図である。読取原稿は、給紙部1から給紙され、排紙部2から排紙される。図5は、原稿の表面を読み取る流れについての説明図である。原稿3は、搬送方向6に沿って搬送されていき、表面4の表面画像は、請求項1の画像読取手段である読取部7で読み取られ、請求項1の画像記憶部である画像記憶部50に保存される。画像記憶部はスキャナ内にあるメモリのことである。   Examples of the present invention will be described below. FIG. 1 is an external view of an image reading apparatus (hereinafter referred to as a scanner) that reads an image. The read original is fed from the paper feed unit 1 and discharged from the paper discharge unit 2. FIG. 5 is an explanatory diagram of the flow of reading the surface of the document. The document 3 is conveyed along the conveyance direction 6, and the surface image of the front surface 4 is read by the reading unit 7 that is the image reading unit of claim 1, and the image storage unit that is the image storage unit of claim 1. 50. The image storage unit is a memory in the scanner.

次に請求項1の特徴量検出手段について説明する。画像は2値化されているものとする。特徴量検出手段が検出する特徴量の種類は、周囲長、重心位置、面積、円形度がある。領域内画像の周囲長と重心の求め方は、輪郭線追跡処理を用いている。図12は、輪郭線追跡処理の説明図である。まず、画像内を左上端から右下端に向かって走査して輪郭追跡の開始点となる黒画素を決定する(図12−1)。開始点が決定されたら、その点の8近傍を反時計回りで調べる(図12−2)。ここで、8近傍を調べたとき、次の黒画素が存在しない場合は、開始点は孤立点なので処理を中止し、次の領域内画像の開始点まで走査する(図12−3)。孤立点でなかった場合、1番最初に現れた黒画素を次の新たな追跡点として、その追跡点の8近傍を反時計回りで調べる(図12−4)。図12−4の走査を繰り返していくと、1本の輪郭線を得る事ができる。このとき、輪郭線の画素数を周囲長(※斜め方向の長さに対しては、√2倍して補正した。図14参照)とし、輪郭線のx座標とy座標の合計値を、それぞれ輪郭線の画素数で割り重心を求めている。   Next, the feature amount detection means of claim 1 will be described. Assume that the image is binarized. The types of feature quantities detected by the feature quantity detection means include the perimeter, the position of the center of gravity, the area, and the circularity. The method of obtaining the perimeter of the in-region image and the center of gravity uses contour line tracking processing. FIG. 12 is an explanatory diagram of the contour line tracking process. First, the image is scanned from the upper left corner toward the lower right corner to determine a black pixel that is a starting point for contour tracking (FIG. 12-1). When the starting point is determined, the vicinity of the point is examined counterclockwise (FIG. 12-2). Here, when the neighborhood of 8 is examined, if the next black pixel does not exist, the start point is an isolated point, the process is stopped, and scanning is performed up to the start point of the next in-region image (FIG. 12-3). If it is not an isolated point, the black pixel that appears first is set as the next new tracking point, and the vicinity of the tracking point is examined in the counterclockwise direction (FIG. 12-4). When the scanning in FIG. 12-4 is repeated, one contour line can be obtained. At this time, the number of pixels of the contour line is set as the peripheral length (* corrected by multiplying by √2 with respect to the length in the oblique direction. See FIG. 14), and the total value of the x coordinate and y coordinate of the contour line is The center of gravity is obtained by dividing the number of pixels of the contour line.

面積の求め方は、以下に示す塗り潰し処理を用いて求めている。まず、塗りつぶし処理について、図13を用いて説明する。まず図13で示すような、領域内を塗りつぶすとする。初め、開始点((X、Y))を決め、その点から塗りつぶし処理を開始する。開始点(X、Y)から左右方向に走査し、塗りつぶしの境界を探す。境界となる条件は、(1)原稿の端である。(2)色が変わった場合。の2つある。(得られた境界のX座標をそれぞれX、X、とする)(処理1)。次に線分(X、Y)−(X、Y)を塗りつぶす(処理2)。次に、(X、Y+1)−(X、Y+1)を左から走査して、塗りつぶすべき線分の両端の座標を全て探し、バッファに格納する(処理3)(具体的に説明すると、線分(X、Y+1)−(X、Y+1)を走査していき、塗りつぶすべき線分を探す。ここでは、線分a−b、c−cが見つかっている(ここで、c−cは、1画素のみである)。この線分の両端点の座標をバッファに記憶させている。)。次に(X、Y−1)−(X、Y−1)に対しても同様の処理を行う(処理4)。以下、バッファに格納した座標を取り出して処理1〜処理4を繰り返していく。バッファが空になった時点で塗りつぶし処理は完了している。面積は、塗りつぶした画素を数え、その画素数を面積としている。 The method for obtaining the area is obtained by using the following filling process. First, the painting process will be described with reference to FIG. First, assume that the area is filled as shown in FIG. First, a starting point ((X, Y)) is determined, and the filling process is started from that point. Scan from the start point (X, Y) in the left-right direction to find the boundary of filling. The boundary condition is (1) the edge of the document. (2) When the color changes. There are two. (The X coordinates of the obtained boundary are assumed to be X R and X L , respectively) (Process 1). Next, the line segment (X R , Y)-(X L , Y) is painted (process 2). Next, (X R , Y + 1) − (X L , Y + 1) is scanned from the left to find all the coordinates of both ends of the line segment to be filled and stored in the buffer (processing 3) (specifically, The line segments (X R , Y + 1)-(X L , Y + 1) are scanned to search for line segments to be filled in. Here, line segments ab and cc are found (where c− (c is only one pixel.) The coordinates of the end points of this line segment are stored in the buffer.) Next, the same processing is performed for (X R , Y-1)-(X L , Y-1) (processing 4). Thereafter, the coordinates stored in the buffer are taken out and processing 1 to processing 4 are repeated. The fill process is complete when the buffer is empty. For the area, the number of filled pixels is counted, and the number of pixels is defined as the area.

次に円形度の求め方について説明する。円形度は周囲長と面積を以下の公式に当てはめると求められる。   Next, how to determine the circularity will be described. Circularity can be obtained by applying the perimeter and area to the following formula.

D=(4π×Area)/(Length×Length)
ここで、D=円形度。Area=面積。Length=周囲長。
D = (4π × Area) / (Length × Length)
Here, D = circularity. Area = Area. Length = perimeter length.

このDが1になると画像は円となる。実施例1では、バインダー穴の特徴量は0.8以上としている。   When this D becomes 1, the image becomes a circle. In Example 1, the feature amount of the binder hole is 0.8 or more.

次に、バインダー穴画像消し処理について、全体の流れを図9のフローチャートを用いて説明する。まずバインダー穴のある原稿は、スキャナ100で画像情報を読み取られる(S901)。読み取られた表面画像は画像記憶部50に保存され(S902)、2値画像に変換される(S903)。次に2値の表面画像のコピーを作成し、画像記憶部に保存する(S904)。以後この画像を作業用画像と呼ぶ。次に作業用画像に対し、後述するローパスフィルター処理を施す(S905)。次に作業用画像に対し画像内のある一塊の連続した画像領域の特徴量を調べ、バインダー穴部分を検出する(S906)。次に、検出したバインダー穴部分のみの画像を作成する(S907)。以後このバインダー穴のみの画像を穴画像と呼ぶ。次に穴画像をもとに元画像のバインダー穴を削除する(S908)。削除についての詳説は後述する。   Next, the entire flow of the binder hole image erasing process will be described with reference to the flowchart of FIG. First, image information is read by the scanner 100 for a document having a binder hole (S901). The read surface image is stored in the image storage unit 50 (S902) and converted into a binary image (S903). Next, a copy of the binary surface image is created and stored in the image storage unit (S904). Hereinafter, this image is referred to as a work image. Next, a low-pass filter process described later is performed on the work image (S905). Next, the feature amount of a continuous image area in the image is checked with respect to the work image, and the binder hole portion is detected (S906). Next, an image of only the detected binder hole portion is created (S907). Hereinafter, the image of only the binder hole is referred to as a hole image. Next, the binder hole of the original image is deleted based on the hole image (S908). Details of the deletion will be described later.

次に、請求項1のローパスフィルター手段に係るローパスフィルターについて説明する。図7はローパスフィルター手段の動作を説明するための図である。まず、ローパスフィルター手段は、画像の左上端から右下端に向かって主走査方向に走査する。そのとき、連続する黒画素の数を数えておき、注目画素の色が白になった時点で、数えておいた黒画素数nと閾値Tを比較する。n<Tの場合、今まで数えてきた画素を白く塗りつぶしていく。そして、nをゼロに戻す。n≧Tの場合、nをゼロに戻す。以上の走査を右下端まで行っていく。さらに、同様の処理を副走査方向にも行う。以上の処理で原稿画像の中で、幅、高さの画素数がTよりも小さい画像は消去される。このローパスフィルター処理により、図4のようにバインダー穴画像にかぶっている表や文字を消すことができる。   Next, a low pass filter according to the low pass filter means of claim 1 will be described. FIG. 7 is a diagram for explaining the operation of the low-pass filter means. First, the low pass filter means scans in the main scanning direction from the upper left end of the image toward the lower right end. At that time, the number of continuous black pixels is counted, and the threshold value T is compared with the number of black pixels n counted when the color of the target pixel becomes white. In the case of n <T, the pixels counted up to now are painted white. Then, n is returned to zero. If n ≧ T, return n to zero. The above scanning is performed to the lower right end. Further, the same processing is performed in the sub-scanning direction. With the above processing, an image whose width and height are smaller than T in the original image is deleted. By this low-pass filter processing, it is possible to erase the table and characters that are covered with the binder hole image as shown in FIG.

次に請求項1の穴画像作成手段に係る穴画像の作成方法について図10を用いて説明する。図10は、作業用画像からバインダー穴のみの画像を作成するまでのフローチャートであり、図9のステップS906,S907の詳細説明図である。まず、作業用画像を左上端から始まって右下端に向かって走査する(S1001)。S1002では注目画素が右下端かどうかを判断し、右下端であればS1007に進み、処理を終了する。そうでなければ、S1003へ進み、注目画素が黒画素かどうかを判断する。注目画素が黒画素でなければS1001へ戻り、注目画素が黒画素であれば、注目画素を含む一塊の連続した画像領域の特徴量を抽出する(S1004)。次いで、S1005において、抽出した特徴量がバインダー穴と判断するための条件値を満たした場合、S1001に戻り走査を続ける。満たさなかった場合、注目画素を含む一塊の画像領域は、バインダー穴ではないので、その画像領域を白の塗り潰し処理で削除する(S1006)。以後、注目画素が右下端になるまで(S1002においてYes)、前述した処理を続ける。処理が終了すると(S1007)、バインダー穴のみが残った画像(穴画像)が作成される。   Next, a hole image creating method according to the hole image creating means of claim 1 will be described with reference to FIG. FIG. 10 is a flowchart for creating an image of only the binder hole from the working image, and is a detailed explanatory diagram of steps S906 and S907 in FIG. First, the work image is scanned from the upper left end to the lower right end (S1001). In S1002, it is determined whether or not the pixel of interest is at the lower right end. If it is at the lower right end, the process proceeds to S1007, and the process ends. Otherwise, the process proceeds to S1003, and it is determined whether or not the target pixel is a black pixel. If the target pixel is not a black pixel, the process returns to S1001. If the target pixel is a black pixel, a feature amount of a continuous image area including the target pixel is extracted (S1004). Next, in S1005, when the extracted feature amount satisfies the condition value for determining that it is a binder hole, the process returns to S1001 and scanning is continued. If not satisfied, a group of image areas including the target pixel is not a binder hole, and the image area is deleted by white filling processing (S1006). Thereafter, the above-described processing is continued until the target pixel becomes the lower right corner (Yes in S1002). When the processing is completed (S1007), an image (hole image) in which only the binder hole remains is created.

次に抽出した特徴量がバインダー穴のものであると判断するための条件値の一例を表に示す。   Next, an example of a condition value for determining that the extracted feature amount is that of the binder hole is shown in the table.

Figure 2006244083
Figure 2006244083

この表に当てはまった場合バインダー穴とする。上記表に基づいてバインダー穴と判断する処理は、請求項1の原稿穴検出手段に係っている。   When this table is applied, it is considered as a binder hole. The processing for determining the binder hole based on the above table is related to the document hole detecting means of claim 1.

次に請求項1の穴消去手段に係る元画像のバインダー穴を消す処理を図11を参考にして説明する。図11(a)の画像は元画像である。図11(b)の画像は、穴画像である。この2つの画像を重ね合わせ、黒画素同士が重なる部分を白くする。元画像が2値化されていない場合は穴画像に対応する元画像の部分を白くするか、周囲の近似色で置き換える。   Next, the processing for erasing the binder holes in the original image according to the hole erasing means of claim 1 will be described with reference to FIG. The image in FIG. 11A is an original image. The image in FIG. 11B is a hole image. The two images are overlapped, and the portion where the black pixels overlap is whitened. If the original image is not binarized, the portion of the original image corresponding to the hole image is whitened or replaced with a surrounding approximate color.

以上の処理でバインダー穴消し処理が実現できる。   The binder hole eliminating process can be realized by the above process.

ローパスフィルター処理により穴画像の大きさが変化する可能性を考慮して、穴消し処理を施す領域を穴画像より少し広くまたは狭くなるよう設定してもよい。   In consideration of the possibility that the size of the hole image changes due to the low-pass filter processing, the region to be subjected to the hole erasing processing may be set to be slightly wider or narrower than the hole image.

ローパスフィルター手段としては上記の動作を行うものの他、周囲の画素の加重平均を取るものなど、細線を除去できる機能を持つさまざまなものを使用できる。   As the low-pass filter means, in addition to those performing the above operation, various means having a function capable of removing fine lines such as a weighted average of surrounding pixels can be used.

出力画像として2値化画像のみ必要な場合、2値化手段が元画像を2値化した後その複製を作業用画像としてもよい。また元画像と作業用画像の2値化の閾値を変えるよう構成してもよい。   If only a binarized image is required as an output image, the binarizing means binarizes the original image, and then a copy thereof may be used as a work image. Further, the binarization threshold value of the original image and the work image may be changed.

ローパスフィルター手段が多値画像に対して適用可能な場合、ローパスフィルター処理済の作業用画像を2値化するよう構成してもよい。   When the low-pass filter means is applicable to a multi-valued image, the work image that has undergone the low-pass filter processing may be binarized.

またスキャナとそれに接続されたPC等の情報処理機器を一組として画像処理装置と考えることも本発明の範囲に含まれる。この場合、画像記憶部は情報処理機器側だけにあってもよく、また2値化手段、ローパスフィルター手段、特徴量検出手段、原稿穴検出手段、穴画像作成手段、穴消去手段は情報処理機器側に設けてもよい。また2値化手段、ローパスフィルター手段、特徴量検出手段、原稿穴検出手段、穴画像作成手段、穴消去手段は情報処理機器で動作するコンピュータプログラムの機能として実現されていてもよい。   Also, it is within the scope of the present invention to consider a scanner and an information processing device such as a PC connected thereto as an image processing apparatus. In this case, the image storage unit may be provided only on the information processing device side, and the binarizing unit, the low-pass filter unit, the feature amount detecting unit, the document hole detecting unit, the hole image creating unit, and the hole erasing unit It may be provided on the side. Further, the binarizing means, the low-pass filter means, the feature amount detecting means, the document hole detecting means, the hole image creating means, and the hole erasing means may be realized as functions of a computer program that operates on the information processing device.

また情報処理機器と同等の機能も内蔵した画像読取装置として構成し、2値化手段、ローパスフィルター手段、特徴量検出手段、原稿穴検出手段、穴画像作成手段、穴消去手段は画像読取装置内の制御回路に実装されていてもよいし、画像読取装置で動作するコンピュータプログラムの機能として実現されていてもよい。   Further, the image reading apparatus is also provided with a function equivalent to that of the information processing device, and the binarizing means, the low-pass filter means, the feature amount detecting means, the document hole detecting means, the hole image creating means, and the hole erasing means are included in the image reading apparatus. The control circuit may be implemented as a computer program function that operates in the image reading apparatus.

スキャナの外観斜視図External perspective view of the scanner OCR認識の影響についての説明図Illustration of the impact of OCR recognition 白紙スキップの影響についての説明図Illustration of the effect of skipping blank pages バインダー穴に表、文字がかぶっていた場合の例示図Illustration when the front and letters are covered in the binder hole 搬送についての概要図Outline diagram about transportation サイズ検知説明図Size detection explanation diagram ローパスフィルター説明図Low pass filter illustration 領域指定でバインダー穴を消す例の説明図Explanatory drawing of an example to erase the binder hole by specifying the area バインダー穴消し処理の説明1のフローチャートFlowchart of explanation 1 of binder hole erasing process バインダー穴消し処理の説明2のフローチャートFlowchart of explanation 2 of binder hole erasing process 穴画像の使い方説明図Illustration of how to use hole images 輪郭追跡についての説明図Illustration of contour tracking 塗り潰し処理についての説明図Explanatory drawing about the filling process 画素と周囲長の説明図Illustration of pixel and perimeter

符号の説明Explanation of symbols

7 画像読取部(画像読取手段に対応)
50 画像記憶部
100 スキャナ
7 Image reading unit (corresponding to image reading means)
50 Image Storage Unit 100 Scanner

Claims (4)

原稿の画像情報を読み取る画像読取手段と、画像記憶部と、前記画像読取手段で読み取った読取画像の複製である作業用画像を処理するローパスフィルター手段と、該ローパスフィルター手段で処理された前記作業用画像内にある連続した一塊の画像領域の特徴量を検出する特徴量検出手段と、該特徴量検出手段が検出した特徴量に基づいて原稿の穴の画像を検出する原稿穴検出手段と、前記ローパスフィルター手段で処理された前記作業用画像から前記原稿穴検出手段で検出された穴の画像以外を消去する穴画像作成手段と、該穴画像作成手段で作成された画像に基づいて、前記画像読取手段で読み取った画像の穴部分を消去する穴消去手段を備えることを特徴とする画像処理装置。   Image reading means for reading image information of a document, an image storage unit, low-pass filter means for processing a working image that is a copy of the read image read by the image reading means, and the work processed by the low-pass filter means A feature amount detecting means for detecting a feature amount of a continuous block of image regions in the image for use, a document hole detecting means for detecting an image of a hole in the document based on the feature amount detected by the feature amount detecting means, Based on the image created by the hole image creating means, the hole image creating means for erasing other than the hole image detected by the original hole detecting means from the working image processed by the low pass filter means, An image processing apparatus comprising hole erasing means for erasing a hole portion of an image read by an image reading means. 多値データを2値化する2値化手段を附加し、前記読取画像と前記作業用画像は2値化された画像であることを特徴とする請求項1に記載の画像処理装置。   2. The image processing apparatus according to claim 1, further comprising: binarizing means for binarizing the multi-value data, wherein the read image and the work image are binarized images. 多値データを2値化する2値化手段を附加し、該2値化手段で前記作業用画像を2値化した後、前記ローパスフィルター手段で処理することを特徴とする請求項1に記載の画像処理装置。   The binarizing means for binarizing the multi-value data is added, and the work image is binarized by the binarizing means and then processed by the low-pass filter means. Image processing apparatus. 多値データを2値化する2値化手段を附加し、前記ローパスフィルター手段で前記作業用画像を処理した後、前記2値化手段で2値化することを特徴とする請求項1に記載の画像処理装置。   2. The binarization means for binarizing multi-value data is added, and after the working image is processed by the low-pass filter means, the binarization means binarizes. Image processing apparatus.
JP2005058025A 2005-03-02 2005-03-02 Image processing device Active JP4606203B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005058025A JP4606203B2 (en) 2005-03-02 2005-03-02 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005058025A JP4606203B2 (en) 2005-03-02 2005-03-02 Image processing device

Publications (2)

Publication Number Publication Date
JP2006244083A true JP2006244083A (en) 2006-09-14
JP4606203B2 JP4606203B2 (en) 2011-01-05

Family

ID=37050443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005058025A Active JP4606203B2 (en) 2005-03-02 2005-03-02 Image processing device

Country Status (1)

Country Link
JP (1) JP4606203B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034228A (en) * 2010-12-13 2011-04-27 汉王科技股份有限公司 Ancient book image inpainting method and device
CN105139363A (en) * 2015-10-10 2015-12-09 上海中信信息发展股份有限公司 Document image binding hole automatic restoration method and system
CN105469362A (en) * 2014-09-01 2016-04-06 山东新北洋信息技术股份有限公司 Image processing method and image processing device
US9928417B2 (en) 2015-03-31 2018-03-27 Brother Kogyo Kabushiki Kaisha Imaging process for binarization and punched hole extraction
US9977984B2 (en) 2015-03-31 2018-05-22 Brother Kogyo Kabushiki Kaisha Computer-readable storage medium storing image processing program, image processing device, and image processing method
US9978123B2 (en) 2015-03-31 2018-05-22 Brother Kogyo Kabushiki Kaisha Computer-readable storage medium storing image processing program, image processing device, and image processing method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7306150B2 (en) 2019-08-09 2023-07-11 富士フイルムビジネスイノベーション株式会社 Information processing device and information processing program

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61165187A (en) * 1984-12-28 1986-07-25 Fujitsu Ltd Noise removing method
JPS62287385A (en) * 1986-06-06 1987-12-14 Sumitomo Special Metals Co Ltd Removing method for fine particle
JPH0785271A (en) * 1993-09-13 1995-03-31 Ricoh Co Ltd Image processor
JP2003204483A (en) * 2001-11-05 2003-07-18 Hitachi Medical Corp Image display device
JP2004023413A (en) * 2002-06-17 2004-01-22 Pfu Ltd Image processor
JP2004093338A (en) * 2002-08-30 2004-03-25 Nec Corp Appearance inspection device and appearance inspection method
JP2004163416A (en) * 2002-10-23 2004-06-10 Nippon Steel Corp Defect inspection device
JP2004164017A (en) * 2002-11-08 2004-06-10 Sony Corp Labeling processor, labeling processing method, and image processor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61165187A (en) * 1984-12-28 1986-07-25 Fujitsu Ltd Noise removing method
JPS62287385A (en) * 1986-06-06 1987-12-14 Sumitomo Special Metals Co Ltd Removing method for fine particle
JPH0785271A (en) * 1993-09-13 1995-03-31 Ricoh Co Ltd Image processor
JP2003204483A (en) * 2001-11-05 2003-07-18 Hitachi Medical Corp Image display device
JP2004023413A (en) * 2002-06-17 2004-01-22 Pfu Ltd Image processor
JP2004093338A (en) * 2002-08-30 2004-03-25 Nec Corp Appearance inspection device and appearance inspection method
JP2004163416A (en) * 2002-10-23 2004-06-10 Nippon Steel Corp Defect inspection device
JP2004164017A (en) * 2002-11-08 2004-06-10 Sony Corp Labeling processor, labeling processing method, and image processor

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034228A (en) * 2010-12-13 2011-04-27 汉王科技股份有限公司 Ancient book image inpainting method and device
CN105469362A (en) * 2014-09-01 2016-04-06 山东新北洋信息技术股份有限公司 Image processing method and image processing device
CN105469362B (en) * 2014-09-01 2018-09-18 山东新北洋信息技术股份有限公司 Image processing method and image processing apparatus
US9928417B2 (en) 2015-03-31 2018-03-27 Brother Kogyo Kabushiki Kaisha Imaging process for binarization and punched hole extraction
US9977984B2 (en) 2015-03-31 2018-05-22 Brother Kogyo Kabushiki Kaisha Computer-readable storage medium storing image processing program, image processing device, and image processing method
US9978123B2 (en) 2015-03-31 2018-05-22 Brother Kogyo Kabushiki Kaisha Computer-readable storage medium storing image processing program, image processing device, and image processing method
CN105139363A (en) * 2015-10-10 2015-12-09 上海中信信息发展股份有限公司 Document image binding hole automatic restoration method and system
CN105139363B (en) * 2015-10-10 2018-02-27 上海中信信息发展股份有限公司 The self-repairing method and system of file and picture binding hole

Also Published As

Publication number Publication date
JP4606203B2 (en) 2011-01-05

Similar Documents

Publication Publication Date Title
JP4525787B2 (en) Image extraction apparatus and image extraction program
JP3904840B2 (en) Ruled line extraction device for extracting ruled lines from multi-valued images
US8494304B2 (en) Punched hole detection and removal
JP4745830B2 (en) Image processing apparatus, image processing method, and computer program
JP4646797B2 (en) Image processing apparatus, control method therefor, and program
JP4606203B2 (en) Image processing device
US6393150B1 (en) Region-based image binarization system
JP2007028362A (en) Apparatus and method for processing image data with mixed background image and target image
JP4655335B2 (en) Image recognition apparatus, image recognition method, and computer-readable recording medium on which image recognition program is recorded
JP3615333B2 (en) Ruled line eraser
JP5171421B2 (en) Image processing apparatus, image processing method, and computer program
JP4219333B2 (en) Image processing apparatus, image processing method, and image processing program
JP4502001B2 (en) Image processing apparatus and image processing method
KR101903617B1 (en) Method for editing static digital combined images comprising images of multiple objects
JP3268552B2 (en) Area extraction method, destination area extraction method, destination area extraction apparatus, and image processing apparatus
JP2007156741A (en) Character extraction method, character extraction device, and program
JP3927171B2 (en) Noise removing apparatus and method, program, and recording medium
JP2003046746A (en) Method and apparatus for processing image
JPS58197581A (en) Method and device for recognizing character and figure
JP4731748B2 (en) Image processing apparatus, method, program, and storage medium
JP2714012B2 (en) Address area detection device
JP2008234223A (en) Image processing apparatus, image processing method, program, and recording medium
JP2024037299A (en) Image processing device, image processing program, and image processing method
JP2006345456A (en) Image processing apparatus, method, program and storage medium
JPH0728934A (en) Document image processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070330

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100325

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100420

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100705

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20100728

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100907

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101005

R150 Certificate of patent or registration of utility model

Ref document number: 4606203

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131015

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250