JP2011139371A - Image processor, image processing method, and program by which computer executes - Google Patents
Image processor, image processing method, and program by which computer executes Download PDFInfo
- Publication number
- JP2011139371A JP2011139371A JP2009298865A JP2009298865A JP2011139371A JP 2011139371 A JP2011139371 A JP 2011139371A JP 2009298865 A JP2009298865 A JP 2009298865A JP 2009298865 A JP2009298865 A JP 2009298865A JP 2011139371 A JP2011139371 A JP 2011139371A
- Authority
- JP
- Japan
- Prior art keywords
- crease line
- detection result
- read image
- image
- read
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 9
- 238000001514 detection method Methods 0.000 claims abstract description 100
- 238000012937 correction Methods 0.000 claims abstract description 37
- 238000012545 processing Methods 0.000 claims description 56
- 238000000034 method Methods 0.000 claims description 20
- 230000008602 contraction Effects 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 28
- 230000006870 function Effects 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 231100000241 scar Toxicity 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
本発明は、画像処理装置、画像処理方法、およびコンピュータが実行可能なプログラムに関し、詳細には、紙文書などの読取媒体を光学的に読み取って得られた画像情報から、読取媒体の折り目が原因で、読取画像に重畳するノイズを検出する処理を実行する画像処理装置、画像処理方法、およびコンピュータが実行可能なプログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and a computer-executable program, and in particular, causes of a fold in the reading medium from image information obtained by optically reading a reading medium such as a paper document. Thus, the present invention relates to an image processing apparatus, an image processing method, and a computer-executable program that execute processing for detecting noise superimposed on a read image.
折り目の付いた紙文書を、スキャナなどの読取装置を用いて読み取ると、折り目の部分が細線(以降、折目線と称する)となって読み取られることがある。これらの細線は、原稿上に描かれたものではないため、殆どの利用者にとっては不要な情報のはずである。加えて、OCRや像域分離といった画像認識の用途があると、折目線が認識精度を落とす原因にもなり得る。このため、折目線は消去または目立たなくすることが望ましい。 When a creased paper document is read using a reading device such as a scanner, the fold portion may be read as a thin line (hereinafter referred to as a crease line). Since these thin lines are not drawn on the manuscript, they should be unnecessary information for most users. In addition, if there is an application for image recognition such as OCR or image area separation, the crease line may cause a decrease in recognition accuracy. For this reason, it is desirable that the crease line is erased or not noticeable.
折目線を消去または目立たなくする技術としては、例えば、特許文献1の画像処理装置や特許文献2の画像情報の折目ノイズ除去装置などが提案されている。特許文献1では、読取画像の中から「周囲との明度差は大きいが、色差が小さい箇所」を探索し、それらが線状に連なっている場合に折目線として検出する。そして、折目線として検出した箇所に対して、周囲の明度に類似させることで折目線を目立たなくしている。
For example, an image processing apparatus disclosed in
また、特許文献2では、読取画像を白黒画像に変換し、「白黒画像の任意の1辺と平行な向きに所定以上のランレングスをもち、同様のランレングスが垂直な向きに連続する箇所」を折目線として検出している。そして、折目線として検出した箇所に対して、周囲の濃度に類似させることで折目線を目立たなくしている。
Further, in
両特許文献では、折目線の色や形といった見た目に注目して、読取画像の中から折目線を検出している。確かに、折目線には特徴的な色や形があるため、それらを検出条件として使うことは妥当と考えられる。しかしながら、紙文書には文字や線、図形といった様々な物が描かれるため、見た目だけに注目したのでは、折目線そっくりなものを折目線と誤検出する可能性がある。 In both patent documents, the crease line is detected from the read image by paying attention to the appearance such as the color and shape of the crease line. Certainly, the crease lines have characteristic colors and shapes, so it is considered appropriate to use them as detection conditions. However, since various objects such as characters, lines, and figures are drawn on the paper document, if attention is paid only to the appearance, there is a possibility that an object that looks exactly like the crease line is erroneously detected as a crease line.
本発明は、上記に鑑みてなされたものであって、読取媒体を光学的に読み取って得られた読取画像の折目線を高精度に検出することが可能な画像処理装置、画像処理方法、およびコンピュータが実行可能なプログラムを提供することを目的とする。 The present invention has been made in view of the above, and is an image processing apparatus, an image processing method, and an image processing apparatus that can detect a crease line of a read image obtained by optically reading a reading medium with high accuracy. An object is to provide a computer-executable program.
上述した課題を解決し、目的を達成するために、本発明は、読取媒体を光学的に読み取って得られた読取画像の折目線を検出する画像処理装置であって、前記読取媒体の第1面の読取画像の折目線検出結果と、前記読取媒体の第2面の読取画像の折目線検出結果とを折目線の幾何学的な特徴を利用して比較し、前記第1面および前記第2面の読取画像の折目線検出結果を補正する補正手段を備えたことを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention provides an image processing apparatus for detecting a fold line of a read image obtained by optically reading a read medium, wherein A crease line detection result of the read image of the surface and a crease line detection result of the read image of the second surface of the reading medium are compared using a geometric feature of the crease line, and the first surface and the first surface are compared. The image forming apparatus includes a correcting unit that corrects the crease line detection result of the two-side read image.
また、上述した課題を解決し、目的を達成するために、本発明は、読取媒体を光学的に読み取って得られた読取画像の折目線を検出する画像処理方法であって、前記読取媒体の第1面の読取画像の折目線検出結果と、前記読取媒体の第2面の読取画像の折目線検出結果とを折目線の幾何学的な特徴を利用して比較し、前記第1面および前記第2面の読取画像の折目線検出結果を補正する補正工程を含むことを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention provides an image processing method for detecting a crease line of a read image obtained by optically reading a read medium, A fold line detection result of the read image of the first surface and a fold line detection result of the read image of the second surface of the reading medium are compared using a geometric feature of the fold line, and the first surface and A correction step of correcting a crease line detection result of the read image on the second surface is included.
本発明にかかる画像処理装置によれば、読取媒体を光学的に読み取って得られた読取画像の折目線を検出する画像処理装置であって、前記読取媒体の第1面の読取画像の折目線検出結果と、前記読取媒体の第2面の読取画像の折目線検出結果とを折目線の幾何学的な特徴を利用して比較し、前記第1面および前記第2面の読取画像の折目線検出結果を補正する補正手段を備えているので、読取媒体を光学的に読み取って得られた読取画像の折目線を高精度に検出することが可能な画像処理装置を提供することが可能になるという効果を奏する。 According to the image processing apparatus of the present invention, the image processing apparatus detects a crease line of a read image obtained by optically reading the read medium, and the crease line of the read image on the first surface of the read medium. The detection result and the fold line detection result of the read image on the second surface of the reading medium are compared using the geometric feature of the fold line, and the folding of the read images on the first surface and the second surface is compared. Since the correction means for correcting the line-of-sight detection result is provided, it is possible to provide an image processing apparatus capable of detecting the crease line of the read image obtained by optically reading the reading medium with high accuracy. The effect of becoming.
以下に、この発明にかかる画像処理装置、画像処理方法、およびコンピュータが実行可能なプログラムの実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。また、下記実施の形態における構成要素には、当業者が容易に想定できるものまたは実質的に同一のものが含まれる。 Embodiments of an image processing apparatus, an image processing method, and a computer-executable program according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments. In addition, constituent elements in the following embodiments include those that can be easily assumed by those skilled in the art or that are substantially the same.
(本発明の原理)
本発明は、紙文書などの読取媒体を光学的に読み取って得られた画像情報から、読取媒体の折り目が原因で読取画像に重畳するノイズを高精度に検出するものである。図1は、本発明の原理を説明するための図である。
(Principle of the present invention)
According to the present invention, noise superimposed on a read image due to a fold of the read medium is detected with high accuracy from image information obtained by optically reading a read medium such as a paper document. FIG. 1 is a diagram for explaining the principle of the present invention.
図1において、紙文書などの折り目は、紙が折り曲げられたことで起こる傷跡である(101参照)。紙文書の折り目は両面に入る。紙文書を光学的に読み取ると、第1面と第2面の読取画像に重畳する折目線は鏡面座標を持つことになる。同図では、折り目を広げた紙文書(第1面:101参照)を水平方向および垂直方向に裏返した(反転)させた状態(第2面:102、103参照)を示しており、第1面と第2面の折目線は、鏡面座標を有している。本発明では、読取媒体の第1面の読取画像の折目線検出結果と、読取媒体の第2面の読取画像の折目線検出結果とを折目線の幾何学的な特徴、すなわち、同一の読取媒体の第1面と第2面の折目線は鏡面関係を有しているという特徴を利用して、第1面および第2面の読取画像の折目線検出結果を補正することで、折目線の検出精度を向上させるものである。 In FIG. 1, a crease in a paper document or the like is a scar caused by folding the paper (see 101). The fold line of the paper document enters both sides. When a paper document is optically read, the crease line superimposed on the read images on the first surface and the second surface has mirror coordinates. The figure shows a state where a paper document (first side: 101) with an expanded fold is turned over (reversed) in the horizontal and vertical directions (second side: 102, 103). The crease line between the surface and the second surface has specular coordinates. In the present invention, the crease line detection result of the read image on the first surface of the reading medium and the fold line detection result of the read image on the second surface of the reading medium are represented by the geometric characteristics of the crease line, that is, the same reading. By using the feature that the crease line between the first surface and the second surface of the medium has a mirror surface relationship, the crease line detection result of the read images of the first surface and the second surface is corrected, thereby making the crease line Is improved.
(実施の形態)
図2は、本発明の実施の形態にかかる画像処理装置の構成例を模式的に示した図である。画像処理装置1は、図2に示すように、読取部11と、出力部12と、操作部13と、検出部14と、補正部15と、記録部16と、制御部17等の各部位を備えている。
(Embodiment)
FIG. 2 is a diagram schematically illustrating a configuration example of the image processing apparatus according to the embodiment of the present invention. As shown in FIG. 2, the
読取部11は、読取媒体を光学的に読み取り、読取画像を生成する部位である。読取部11は、読取媒体を水平方向および/または垂直方向に反転させる機構を備えており、読取媒体の両面(第1面、第2面)を読み取り可能に構成されている。折り目の付いた紙文書を読み取ると、生成される読取画像に折目線が重畳する。
The
検出部14は、読取画像の中から折目線を検出するための部位である。具体的には、検出部14は、読取画像を構成する各画素について、折目線であるか否かの判定を行い、読取画像と同サイズの2値データを検出結果として生成する。
The
記録部16は、読取画像とその折目線検出結果とを関連づけて記録するための部位である。記録部16は、例えば、記録媒体としてのRAM(Random Access Memory)を使用することができ、記録情報を部分的に読み書きすることができる。また、記録部16の記録容量は、少なくとも読取画像と折目線検出結果とを各々2面分だけ記録可能な大きさである。
The
補正部15は、検出部14の折目線検出結果を補正する部位である。具体的には、補正部15は、記録部16から折目線検出結果を読み出し、必要に応じて、検出結果を修正して、記録部16に書き戻す。
The
出力部12は、読取画像と折目線検出結果とを出力するための部位である。出力部12は、例えば、画像処理(例えば、読取画像に重畳する折目線を目立たなくする処理)を実施する機器が接続される。
The
操作部13は、画像処理装置1の利用者が種々の設定を行ったり、本画像処理装置1の利用者に種々の情報を提供したりするための部位である。操作部13は、例えば、タッチパネルのようなソフトキーを表示できる表示装置で構成することができる。
The
制御部17は、CPU,ROM、RAM、A/D変換器、ポート等で構成されており、画像処理装置1の各部位の動作を制御するための部位である。制御部17は、後述する基本動作の開始から終了までの期間、それぞれの部位を制御する。
The control unit 17 includes a CPU, a ROM, a RAM, an A / D converter, a port, and the like, and is a part for controlling the operation of each part of the
図3〜図6を参照して、図2の画像処理装置1の基本動作を説明する。図3は、図2の画像処理装置1の動作シーケンスの一例を示している。特に、図3は各部位の動作及び情報の流れを時系列に表したものであり、Scan動作,Detection動作,本発明の特徴的部分であるCorrection動作、Output動作の4つに区別される。Correction動作では、同一原稿の表面と裏面の折目線検出結果が必要となるため、Correction動作を開始する以前に、同一原稿の表面と裏面についてのScan動作とDetection動作を各々実行する。図4は、操作部13の操作画面の一例を示している。図5は、折目線検出結果の一例を示す図である。図6は、記録部16に記録されたデータの一例を示す図である。
The basic operation of the
図3において、まず、画像処理装置1では、紙文書を光学的に読み取って、その読取画像を記録部16に記録するScan動作が行われる。具体的には、利用者は読取部11に紙文書を設置し、操作部13を用いて設定情報(少なくとも、(1)紙文書の大きさ、(2)紙文書の見開き方向、(3)読取面の3種類)の設定を行い、確定ボタンを押すと設定情報が確定して、スキャン動作が開始される。操作部13の操作画面は、例えば、図4に示すように、(1)紙文書の大きさを選択するボタン(A3,B4,Letter)、(2)紙文書の見開き方向を選択するボタン(左右開き、上下開き)、(3)読取面を選択するボタン(表面、裏面)、確定ボタンを備えている。
In FIG. 3, first, the
確定した設定情報は一旦、操作部13から制御部17に送信される(ステップS1)。制御部17は、受信した設定情報に基づいて、利用者の設定に従う動作を実現するための制御パラメーラを各部位に転送する(ステップS2)。制御情報を受け取った各部位は、ステータス信号1を制御部17に返信する(ステップS3)。
The confirmed setting information is once transmitted from the
制御部17は、全ての部位からステータス信号1を受け取ると、読取部11に対して読取動作の開始を指示する(ステップS4)。読取部11は、読取動作の開始の指示を受け取ると、紙文書の大きさだけ読取動作を行って読取画像を生成し、読取画像を記録部16に転送する(ステップS5)。記録部16は、紙文書の大きさ、見開き方向、読取面の3種類の情報を読取画像と関連付けて記憶する。読取画像の記録が終了すると、記録部16は、ステータス信号2を制御部に返信し(ステップS6)、制御部17は、ステータス信号2を受信するとScan動作を終了する。
When receiving the
つぎに、画像処理装置1では、記録部16に記憶されている読取画像の中から折目線を検出するDetection動作が行われる。具体的には、まず、制御部17から検出部14に対して検出動作の開始が指示されると(ステップS7)、検出部14は記録部16から読取画像を読み出して(ステップS8)、各画素が折目線であるか否かの判定を行う。判定のアルゴリズムは、例えば、従来技術と同様とすることができるので詳細な説明を省略する。判定が終了すると、検出部14は、読取画像と同サイズの2値のビットマップデータを折目線検出結果として生成し、読取画像と関連付けて記録部16に蓄積する(ステップS9)。
Next, in the
読取画像と同サイズの2値のビットマップデータは、読取画像の各画素について「0」または「1」の状態を表すことができるので、例えば、図5に示すように、折目線であれば「1」、折目線でなければ「0」を割り付けることとができる。また、記録部16には、図6に示すように、読取媒体の大きさ、見開き方向、読取面、折目線検出結果、読取画像が互いに関連付けられて記録されることになる。
Since binary bitmap data having the same size as the read image can represent the state of “0” or “1” for each pixel of the read image, for example, as shown in FIG. If it is “1” and not a crease line, “0” can be assigned. Further, as shown in FIG. 6, the
折目線検出結果の蓄積が終了すると、記録部16は、ステータス信号3を制御部17に返信する(ステップS10)。制御部17が、ステータス信号3を受信するとDetection動作を終了する。
When the accumulation of the crease line detection results is completed, the
上記のScan動作とDetection動作は、同一原稿の表面と裏面について、各々実行される。 The Scan operation and the Detection operation are executed for the front and back surfaces of the same document.
記録部16に記録された折目線検出結果を補正するCorrection動作について説明する。制御部17から補正部15に対して補正動作の開始が指示されると(ステップS11)、補正部15は、記録部16に記録されている同一原稿の表面と裏面の折目線検出結果を適時読み出し(ステップS12)、折目線が持つ幾何学的な特徴を使って、両者の折目線検出結果を補正する。折目線検出結果を補正するアルゴリズムの詳細については後述する(図8〜図13参照)。補正部15は、折目線検出結果の補正が覆った箇所、すなわち、「0」が「1」に、または「1」が「0」に補正された箇所については、新しい結果を記録部16に上書きする(ステップS13)。補正部15は、全ての折目線検出結果について補正が終了すると、ステータス信号4を制御部17に返信する(ステップS14)。制御部17はステータス信号4を受信するとCorrection動作を終了する。
The Correction operation for correcting the crease line detection result recorded in the
最後に、画像処理装置1では、記録部16に蓄積されている読取画像と折目線検出結果を、出力部12から外部装置へ出力するOutput動作が行われる。具体的には、まず、制御部17から出力部12に対して出力動作の開始が指示されると(ステップS15)、出力部12は記録部16から読取画像と折目線検出結果を読み出し(ステップS16)、外部装置が解釈可能な形式に変換した後に外部装置に出力する(ステップS17)。読取画像と折目線検出結果が全て出力されると、出力部12は、ステータス信号5を制御部17に返信する(ステップS18)。制御部17がステータス信号5を受信するとOutput動作を終了する。
Finally, in the
図7−1〜図14を参照して、上記Correction動作の折目線検出結果を補正するアルゴリズムについて詳細に説明する。図7−1および図7−2は、折目線検出結果の一例を示す図である。図8は、Correction動作の一例を説明するためのフロチャートである。図9は、グループ処理の実例を示す図である。図10−1、図10−2、図11−1および図11−2は、折目線の幾何学的な特徴の一例を示す図である。図12は、鏡面処理の一例を説明するための図である。図13は、収縮処理の一例を説明するための図である。図14は、膨張処理の一例を説明するための図である。 With reference to FIGS. 7A to 14, an algorithm for correcting the crease line detection result of the correction operation will be described in detail. 7A and 7B are diagrams illustrating an example of the crease line detection result. FIG. 8 is a flowchart for explaining an example of the correction operation. FIG. 9 is a diagram illustrating an example of group processing. 10-1, FIG. 10-2, FIG. 11-1, and FIG. 11-2 are diagrams showing examples of geometric features of crease lines. FIG. 12 is a diagram for explaining an example of the mirror surface processing. FIG. 13 is a diagram for explaining an example of the contraction process. FIG. 14 is a diagram for explaining an example of the expansion process.
ここでは、一例として、図7−1に示すような左右開きの紙文書について、Scan動作とDetection動作を行った結果、図7−2に示すような折目線検出結果が2値データとして記録部16に記録されている場合について説明する。 Here, as an example, as a result of performing the Scan operation and the Detection operation on the left and right open paper document as shown in FIG. 7A, the crease line detection result as shown in FIG. The case of being recorded in No. 16 will be described.
図8に示すように、Correction動作は、グループ処理と(ステップS21)、鏡面処理と(ステップS22)、収縮処理と(ステップS23)、膨張処理と(ステップS24)の4つの工程を含んでいる。 As shown in FIG. 8, the correction operation includes four steps of group processing (step S21), mirror surface processing (step S22), contraction processing (step S23), and expansion processing (step S24). .
グループ処理(ステップS21)では、連続して折目線と判定された領域が1単位となるように、折目線検出結果をグループ化する。例えば、図7−2に示すような折目線検出結果の場合は、図9に示すように、表面の折目線検出結果はグループA〜E、裏面の折目線検出結果はグループF〜Lにグループ化することができる。 In the group processing (step S21), the crease line detection results are grouped so that the area continuously determined as the crease line is one unit. For example, in the case of the crease line detection result as shown in FIG. 7-2, as shown in FIG. 9, the crease line detection result on the front surface is grouped into groups A to E, and the crease line detection result on the back surface is grouped into groups F to L. Can be
鏡面処理(ステップS22)では、裏面の折目線検出結果を水平方向または垂直方向に鏡面化したものを作成して、表面の折目線検出結果と重ね合わせる。この場合、鏡面化する向きは読取媒体の見開き方向によって切り替える。なぜなら、見開き方向によって、読取媒体と読取画像との天地が切り替わるからである。例えば、左右開きの読取媒体(図10−1参照)の場合は、表面と裏面の読取画像に重畳する折目線は水平方向に鏡面関係(図10−2参照)を有する。上下開き(図11−1参照)の場合は、垂直方向に鏡面関係(図11−2参照)を有する。図9の場合は、元となる紙文書(図7−1参照)が左右開きであるので、水平方向に鏡面化したものを重ねると、図12に示すような結果となる。なお、図12では、折目線検出結果の重なりが見易いように、少しだけズラして重ねた図としている。 In the mirror surface processing (step S22), a crease line detection result on the back surface is made a mirror surface in the horizontal direction or the vertical direction, and is superimposed on the crease line detection result on the front surface. In this case, the mirroring direction is switched depending on the spread direction of the reading medium. This is because the top and bottom of the reading medium and the read image are switched depending on the spread direction. For example, in the case of a left-and-right reading medium (see FIG. 10-1), the crease line superimposed on the front and back read images has a mirror-surface relationship in the horizontal direction (see FIG. 10-2). In the case of vertical opening (see FIG. 11-1), it has a mirror surface relationship (see FIG. 11-2) in the vertical direction. In the case of FIG. 9, the original paper document (see FIG. 7-1) opens left and right. Therefore, if the mirrored ones are overlapped in the horizontal direction, the result shown in FIG. 12 is obtained. Note that FIG. 12 is a diagram in which the overlapping of the crease line detection results is slightly shifted so as to be easily seen.
収縮処理(ステップS23)では、鏡面処理が済んだものに対してグループ単位で第1の補正を行う。具体的には、表面と裏面の両方で折目線と検出されていた箇所が重なっているグループは、そのままの検出結果(つまり折目線であるという判定結果のまま)とし、表面と裏面の両方で折目線と検出されていた箇所が重なっていないグループは検出結果を修正する(つまり折目線では無いという判定結果に変える)。 In the contraction process (step S23), the first correction is performed on a group basis for the mirror-finished process. Specifically, the group where the fold line is detected on both the front and back surfaces is the same as the detection result (that is, the determination result that it is a crease line). The detection result is corrected for a group in which the fold line and the detected part do not overlap each other (that is, the determination result is changed to a determination result indicating that the fold line is not present).
例えば、鏡面処理の済んだものが図12とすると、表面のグループAは裏面のグループF,H、表面のグループBは裏面のグループI,J,K、表面のグループCは裏面のグループJ、表面のグループEは裏面のグループLと重なっているので、これらのグループは折目線であるという判定結果を変えない。他方、グループDとGは重なるグループが見つからないため折目線では無いという判定結果に変える。すなわち、図12に示す結果は、収縮処理により、図13に示す結果に補正される。 For example, if the mirror-finished surface is FIG. 12, the front surface group A is the back surface groups F and H, the front surface group B is the back surface groups I, J, and K, the front surface group C is the back surface group J, Since the front surface group E overlaps the rear surface group L, the determination result that these groups are crease lines is not changed. On the other hand, the groups D and G are changed to a determination result that they are not crease lines because no overlapping group is found. That is, the result shown in FIG. 12 is corrected to the result shown in FIG. 13 by the contraction process.
膨張処理(ステップS24)では、収縮処理が済んだものに対して、画素単位で第2の補正を行う。具体的には、表面および裏面のいずれか一方で折目線と検出されていた箇所があれば、それは両面で折目線が検出されたものと補正する。例えば、収縮処理の済んだものが図13とした場合、膨張処理で図14に示すように補正される。 In the expansion process (step S24), the second correction is performed on a pixel-by-pixel basis for the processed contraction process. Specifically, if there is a part that has been detected as a crease line on either the front surface or the back surface, it is corrected that the crease line has been detected on both sides. For example, when the contraction process is completed as shown in FIG. 13, the expansion process corrects as shown in FIG.
以上説明したように、本実施の形態によれば、検出部14は、読取媒体の第1面および第2面の読取画像の折目線をそれぞれ検出し、補正部15は、第1面の読取画像の折目線検出結果と第2面の読取画像の折目線検出結果とを折目線の幾何学的な特徴を利用して比較し、第1面および第2面の読取画像の折目線検出結果を補正することとしたので、折目線そっくりなものを折目線と誤検出することを防止でき、読取画像の折目線の検出結果を向上させることが可能となる。
As described above, according to the present embodiment, the
また、補正部15は、第1面の読取画像の折目線検出結果と第2面の読取画像の折目線検出結果とを比較する場合には、水平または垂直方向に鏡面関係を有する位置の結果同士を比較することとしたので、折目線が持つ幾何学的な特徴を利用した比較が可能になる。
Further, when the
また、水平もしくは垂直方向に鏡面関係とする向きは、読取媒体と読取画像の天地の状態によって決定することとしたので、同一の折目線を正しく比較することが可能になる。 In addition, since the direction having a mirror-like relationship in the horizontal or vertical direction is determined by the top and bottom state of the reading medium and the read image, the same crease line can be correctly compared.
また、補正部15は、第1面の読取画像の折目線検出結果と第2面の読取画像の折目線検出結果を比較する場合には、折目線として検出された箇所が連続する領域を最小単位とすることとしたので、折目線が持つ幾何学的な特徴を利用した比較の精度を高めることが可能となる。
Further, when comparing the crease line detection result of the read image on the first surface and the crease line detection result of the read image on the second surface, the
また、補正部15は、第1面の読取画像の折目線検出結果と第2面の読取画像の折目線検出結果のうち、両面で折目線が検出されない場合は、両面とも折目線が検出されなかったものと補正する収縮処理を実行することとしたので、折目線の過検出を補正することが可能となる。
Further, the
また、補正部15は、第1面の読取画像の折目線検出結果と前記第2面の読取画像の折目線検出結果のうち、少なくとも一方で折目線が検出されている場合は、両面で折目線が検出されたものと補正する膨張処理を実行することとしたので、折目線の検出不足を補正することが可能となる。
Further, the
また、補正部15は、収縮処理を実行した後に膨張処理を実行することとしたので、より多くの過検出と検出不足を補正することが可能となる。
Further, since the
(プログラム)
なお、本発明の画像処理装置は、複数の機器(例えば、ホストコンピュータ、インターフェイス機器、スキャナ、プリンタ等)から構成されるシステムに適用しても、1つの機器から構成される装置(ホストコンピュータ等)に適用しても良い。
(program)
Note that the image processing apparatus according to the present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a scanner, a printer, and the like). ) May be applied.
また、本発明の目的は、上述した画像処理装置の機能を実現するソフトウエアのプログラムコードを記録した記録媒体を、システムまたは装置に供給し、そのシステムまたは装置のコンピュータ(または、CPU、MPU、DSP)が記録媒体に格納されたプログラムコードを実行することによっても達成することが可能である。この場合、記録媒体から読み出されたプログラムコード自体が前述した画像処理装置の機能を実現することになり、そのプログラムコードまたはそのプログラムを記憶した記録媒体は本発明を構成することになる。プログラムコードを供給するための記録媒体としては、例えば、FD、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリ、ROMなどの光記録媒体、磁気記録媒体、光磁気記録媒体、半導体記録媒体を使用することができる。 Another object of the present invention is to supply a recording medium recording a program code of software for realizing the functions of the above-described image processing apparatus to the system or apparatus, and the computer of the system or apparatus (or CPU, MPU, It can also be achieved by the DSP) executing the program code stored in the recording medium. In this case, the program code read from the recording medium itself realizes the functions of the image processing apparatus described above, and the program code or the recording medium storing the program constitutes the present invention. Examples of the recording medium for supplying the program code include an FD, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory, an optical recording medium such as a ROM, and a magnetic recording medium. A magneto-optical recording medium or a semiconductor recording medium can be used.
また、コンピュータが読み出したプログラムコードを実行することにより、前述した画像処理装置の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した画像処理装置の機能が実現される場合も含まれること言うまでもない。 Further, by executing the program code read by the computer, not only the functions of the image processing apparatus described above are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. However, it goes without saying that a case where the function of the image processing apparatus described above is realized by performing part or all of the actual processing.
また、記録媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した画像処理装置の機能が実現される場合も含まれることは言うまでもない。 In addition, after the program code read from the recording medium is written in a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the above-described functions of the image processing apparatus are realized by the processing.
1 画像処理装置
11 読取部
12 出力部
13 操作部
14 検出部
15 補正部
16 記録部
17 制御部
DESCRIPTION OF
Claims (9)
前記読取媒体の第1面の読取画像の折目線検出結果と、前記読取媒体の第2面の読取画像の折目線検出結果とを折目線の幾何学的な特徴を利用して比較し、前記第1面および前記第2面の読取画像の折目線検出結果を補正する補正手段を備えたことを特徴とする画像処理装置。 An image processing apparatus for detecting a crease line of a read image obtained by optically reading a reading medium,
The crease line detection result of the read image on the first surface of the read medium is compared with the crease line detection result of the read image on the second surface of the read medium using a geometric feature of the crease line, and An image processing apparatus comprising correction means for correcting a crease line detection result of a read image on the first surface and the second surface.
前記読取媒体の第1面の読取画像の折目線検出結果と、前記読取り媒体の第2面の読取画像の折目線検出結果とを折目線の幾何学的な特徴を利用して比較し、前記第1面および前記第2面の読取画像の折目線検出結果を補正する補正工程を含むことを特徴とする画像処理方法。 An image processing method for detecting a crease line of a read image obtained by optically reading a reading medium,
The crease line detection result of the read image on the first surface of the read medium is compared with the crease line detection result of the read image on the second surface of the read medium using a crease line geometric feature, An image processing method comprising: a correction step of correcting a crease line detection result of a read image on the first surface and the second surface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009298865A JP2011139371A (en) | 2009-12-28 | 2009-12-28 | Image processor, image processing method, and program by which computer executes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009298865A JP2011139371A (en) | 2009-12-28 | 2009-12-28 | Image processor, image processing method, and program by which computer executes |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011139371A true JP2011139371A (en) | 2011-07-14 |
Family
ID=44350327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009298865A Pending JP2011139371A (en) | 2009-12-28 | 2009-12-28 | Image processor, image processing method, and program by which computer executes |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011139371A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019087957A (en) * | 2017-11-10 | 2019-06-06 | セイコーエプソン株式会社 | Reading device, image processing program, and image production method |
-
2009
- 2009-12-28 JP JP2009298865A patent/JP2011139371A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019087957A (en) * | 2017-11-10 | 2019-06-06 | セイコーエプソン株式会社 | Reading device, image processing program, and image production method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3840471B2 (en) | Document reading apparatus and image forming apparatus having the same | |
JP6288521B2 (en) | Image processing device | |
KR100788444B1 (en) | Log data recording device and log data recording method | |
JP6885111B2 (en) | Image processing equipment and image forming equipment | |
JP4498266B2 (en) | Image forming apparatus and control method thereof | |
JP5850295B2 (en) | Image reading apparatus, image forming apparatus, and program | |
US8681385B2 (en) | Image processing apparatus | |
US20150116788A1 (en) | Image processing apparatus, controlling method thereof, and program | |
JP2021114653A (en) | Image processing device and image processing method | |
US20150058798A1 (en) | Image processing apparatus, image processing method, and storage medium | |
US10834281B2 (en) | Document size detecting by matching between image of entire document and read size image | |
JP2011139371A (en) | Image processor, image processing method, and program by which computer executes | |
US11233911B2 (en) | Image processing apparatus and non-transitory computer readable medium for image processing | |
US9179036B2 (en) | Image processing apparatus corresponding to a plurality of documents on a document plate, method for controlling the same, and program | |
JP4168957B2 (en) | Image processing program and apparatus | |
JP2006072506A (en) | Photographic processor | |
JP2006262535A (en) | Document reader and image forming apparatus comprising same | |
US20160094747A1 (en) | Power supply control device and method, image display apparatus, image forming apparatus, and non-transitory computer readable medium | |
JP2007049603A (en) | Image processing apparatus, image forming apparatus, image processing method and program | |
JP2007174479A (en) | Read control system | |
JP2006325260A (en) | Image forming system | |
JP6876917B2 (en) | Original size detection device, original size detection program and image processing system | |
JP2018173839A (en) | Image processing device, processing method, and program | |
JP4803243B2 (en) | Image processing apparatus and image processing program | |
JP2009100099A (en) | Image reading apparatus |