JP5807545B2 - Image reading device - Google Patents

Image reading device Download PDF

Info

Publication number
JP5807545B2
JP5807545B2 JP2011285919A JP2011285919A JP5807545B2 JP 5807545 B2 JP5807545 B2 JP 5807545B2 JP 2011285919 A JP2011285919 A JP 2011285919A JP 2011285919 A JP2011285919 A JP 2011285919A JP 5807545 B2 JP5807545 B2 JP 5807545B2
Authority
JP
Japan
Prior art keywords
image
document
reading
unit
original
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.)
Active
Application number
JP2011285919A
Other languages
Japanese (ja)
Other versions
JP2013135399A (en
Inventor
享嗣 山田
享嗣 山田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2011285919A priority Critical patent/JP5807545B2/en
Publication of JP2013135399A publication Critical patent/JP2013135399A/en
Application granted granted Critical
Publication of JP5807545B2 publication Critical patent/JP5807545B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Handling Of Sheets (AREA)
  • Image Input (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)

Description

重送された複数の原稿のうち全体が読み取られた原稿の画像を抽出する技術に関する。   The present invention relates to a technique for extracting an image of a document that has been entirely read from a plurality of documents that have been double-fed.

従来、スキャナやコピー機などの画像読取装置において、複数の原稿が重送されている場合に、最先の原稿の読み取りを開始してから一枚の原稿の読み取りに要する時間が経過したときまでに読み取った画像データを、最先の原稿全体を表す画像データとして格納するものが知られている(例えば、特許文献1参照)。   Conventionally, when a plurality of originals are fed multiple times in an image reading apparatus such as a scanner or a copier, until the time required to read one original elapses after the start of reading the first original The image data read in the above is stored as image data representing the entire original document (see, for example, Patent Document 1).

特開2007−104578号公報JP 2007-104578 A

ところで、上述した従来の技術は、最先の原稿は重送されている複数の原稿のうち本来最初に読み取られるべき原稿であることを前提としたものである。例えば全原稿のうち3、4、5枚目が重送されているとすると、従来の技術では最先の原稿は3枚目の原稿であることを前提としている。   By the way, the above-described conventional technique is based on the premise that the earliest document is a document that should be read first among a plurality of documents that are being fed. For example, if the third, fourth, and fifth sheets of all the originals are double-fed, the conventional technique assumes that the first original is the third original.

しかしながら、複数の原稿が重送される場合、最先の原稿が必ずしも本来最初に読み取られるべき原稿でない場合もある。例えば上述した例の場合、5、4、3枚目の原稿の順で重送されることもあり得る。この場合、最先の原稿は5枚目の原稿であることになるので、3枚目の原稿全体を表す画像データとして格納された画像データが表す画像は、実際には5枚目の原稿の一部を表す画像や4枚目の原稿の一部を表す画像を含んだものになってしまうという問題がある。   However, when a plurality of documents are double-fed, the earliest document may not necessarily be the document that should originally be read first. For example, in the case of the above-described example, the fifth, fourth, and third originals may be fed in order. In this case, since the earliest document is the fifth document, the image represented by the image data stored as image data representing the entire third document is actually that of the fifth document. There is a problem that an image representing a part or an image representing a part of the fourth original is included.

本明細書では、重送された複数の原稿のうち全体が読み取られた原稿の画像をより確実に抽出できる技術を開示する。   The present specification discloses a technique that can more reliably extract an image of a document that has been read entirely from a plurality of documents that have been multi-fed.

本明細書によって開示される画像読取装置は、1枚以上の原稿が積載される積載部と、前記積載部に積載されている前記原稿を1枚ずつ搬送する搬送部と、前記搬送部によって搬送されている前記原稿を読み取って画像を生成する読取部と、前記画像を出力する出力部と、処理部と、を備え、前記処理部は、前記原稿の重送を検知する重送検知処理と、前記重送検知処理によって重送が検知された場合に、重送されている複数の前記原稿からなる原稿群を前記読取部によって読み取って生成された一の画像から、前記原稿の辺であって前記原稿の搬送方向に直交する方向に延びる辺を表すエッジを検出するエッジ検出処理と、前記一の画像において互いに隣り合う前記エッジの間隔が最大となる領域を抽出する画像抽出処理と、前記出力部を制御して、前記画像抽出処理によって抽出された領域を出力する出力処理と、を実行する。   An image reading apparatus disclosed in this specification includes a stacking unit on which one or more originals are stacked, a transporting unit that transports the originals stacked on the stacking unit one by one, and transported by the transporting unit. A reading unit that reads the document and generates an image; an output unit that outputs the image; and a processing unit, wherein the processing unit detects a double feed of the document; When a double feed is detected by the double feed detection process, a side of the original is detected from one image generated by reading the original group consisting of a plurality of the originals being fed by the reading unit. An edge detection process for detecting an edge representing a side extending in a direction orthogonal to the document transport direction, an image extraction process for extracting an area in which the interval between the adjacent edges in the one image is maximum, Output part And your, executes an output process of outputting the area extracted by the image extraction processing.

また、前記処理部は、前記画像抽出処理において、前記一の画像において前記原稿の搬送方向に相当する方向の下流側にある1以上の前記エッジのうち最も上流側にあるエッジと、前記搬送方向に相当する方向の上流側にある1以上の前記エッジのうち最も下流側にあるエッジとに挟まれた領域を抽出してもよい。   Further, in the image extraction process, the processing unit may include an edge on the most upstream side among the one or more edges on the downstream side in the direction corresponding to the conveyance direction of the document in the one image, and the conveyance direction. A region sandwiched between the one or more edges on the upstream side in the direction corresponding to the edge on the most downstream side may be extracted.

また、上記画像読取装置は、ユーザに情報を報知する報知部を備え、前記処理部は、前記報知部を制御して、前記原稿群に含まれる前記原稿のうち本来最初に読み取られるべき原稿以外の原稿が全原稿のうち何枚目の原稿であるかをユーザに報知する報知処理を実行してもよい。   In addition, the image reading apparatus includes a notifying unit for notifying a user of information, and the processing unit controls the notifying unit to control a document other than a document to be originally read among the documents included in the document group. An informing process for informing the user of what number of all the originals is the original may be executed.

また、前記処理部は、前記報知処理において、前記重送検知処理によって重送が検知される前に前記読取部によって読み取られた前記原稿の枚数と前記エッジの数とから、本来最初に読み取られるべき原稿以外の原稿が全原稿のうち何枚目の原稿であるかを判断してもよい。   In the notification process, the processing unit is originally read first from the number of documents and the number of edges read by the reading unit before the double feed is detected by the double feed detection process. It may be determined what number of originals other than the original should be.

また、前記処理部は、前記報知処理において、前記一の画像において互いに隣り合う前記エッジの間隔が最大となる前記領域を挟んで前記搬送方向に相当する方向の下流側にあるエッジの数及び前記上流側にあるエッジの数がともに2以上である場合は、本来最初に読み取られるべき原稿以外の原稿が全原稿のうち何枚目の原稿であるかをユーザに報知しないようにしてもよい。   Further, in the notification process, the processing unit includes the number of edges on the downstream side in the direction corresponding to the transport direction across the region where the interval between the edges adjacent to each other in the one image is the maximum, and the If the number of edges on the upstream side is both 2 or more, the user may not be notified of what number of originals other than the original that should be read first.

また、上記画像読取装置は、前記搬送部によって搬送されている前記原稿の厚みに相関する情報を検出する検出部を備え、前記処理部は、前記重送検知処理において、前記検出部から前記原稿の2枚分以上の厚みを示す前記情報が出力された場合に、前記原稿が重送されていると判断してもよい。   The image reading apparatus includes a detection unit that detects information correlated with the thickness of the document being conveyed by the conveyance unit, and the processing unit is configured to detect the document from the detection unit in the multifeed detection process. If the information indicating the thickness of two sheets or more is output, it may be determined that the document is being fed in multiple.

また、前記処理部は、前記重送検知処理によって重送が検知されると、前記原稿の読み取りを中断し、読み取りを継続するか又は読み取りを中止するかの選択をユーザから受け付ける選択処理を実行し、前記選択処理によって読み取りを継続することが選択された場合は前記読取部を制御して前記原稿の読み取りを継続させ、前記選択処理によって読み取りを中止することが選択された場合は前記読取部を制御して前記原稿の読み取りを中止させてもよい。   When the double feed is detected by the double feed detection process, the processing unit executes a selection process for interrupting reading of the document and accepting a selection from the user to continue reading or to stop reading. When the selection process is selected to continue reading, the reading unit is controlled to continue reading the document, and when the selection process is selected to stop reading, the reading unit is selected. May be controlled to stop reading the original.

なお、この技術は、画像読取プログラム、画像読取方法、画像読取プログラムを記録した記録媒体等の種々の態様で実現することができる。   This technique can be realized in various modes such as an image reading program, an image reading method, and a recording medium on which the image reading program is recorded.

上記の画像読取装置によると、重送された複数の原稿のうち全体が読み取られた原稿の画像をより確実に抽出できる。   According to the above-described image reading apparatus, it is possible to more reliably extract an image of a document that has been read entirely from among a plurality of documents that have been multi-fed.

実施形態1に係る積載部、搬送部、及び、読取部の模式図。FIG. 3 is a schematic diagram of a stacking unit, a transport unit, and a reading unit according to the first embodiment. イメージスキャナの電気的構成を示すブロック図。FIG. 3 is a block diagram showing an electrical configuration of the image scanner. 原稿が重送される例を示す模式図。FIG. 3 is a schematic diagram illustrating an example in which a document is double-fed. 原稿が重送される例を示す模式図。FIG. 3 is a schematic diagram illustrating an example in which a document is double-fed. 原稿が重送される例を示す模式図。FIG. 3 is a schematic diagram illustrating an example in which a document is double-fed. 原稿読取処理の流れを示すフローチャート。6 is a flowchart showing a flow of document reading processing. 原稿読取処理の流れを示すフローチャート。6 is a flowchart showing a flow of document reading processing. 原稿読取処理の流れを示すフローチャート。6 is a flowchart showing a flow of document reading processing. 抽出処理の流れを示すフローチャート。The flowchart which shows the flow of an extraction process. 上流側のエッジが2以上、下流側のエッジが1つの場合の処理の流れを示すフローチャート。The flowchart which shows the flow of a process in case the upstream edge is 2 or more and the downstream edge is one. 上流側のエッジが1つ、下流側のエッジが2以上の場合の処理の流れを示すフローチャート。The flowchart which shows the flow of a process when there is one upstream edge and two or more downstream edges. 再読取報知処理の流れを示すフローチャート。The flowchart which shows the flow of a reread alerting | reporting process. 実施形態2に係る原稿読取処理の流れを示すフローチャート。9 is a flowchart showing a flow of document reading processing according to the second embodiment.

<実施形態1>
実施形態1を図1ないし図12によって説明する。
(1)積載部、搬送部、及び、読取部の構成
図1は、実施形態1に係る画像読取装置としてのイメージスキャナ1(図2参照)が備える原稿トレイ14、ADF(Auto Document Feeder)15、及び、読取部30の構成を簡略化して示す模式図である。なお、読取部30には図2に示すデバイス制御部32、AFE33、及び、画像処理部34も含まれる。原稿トレイ14は積載部の一例である。また、ADF15は搬送部の一例である。
<Embodiment 1>
The first embodiment will be described with reference to FIGS.
(1) Configuration of Stacking Unit, Conveying Unit, and Reading Unit FIG. 1 illustrates a document tray 14 and an ADF (Auto Document Feeder) 15 included in an image scanner 1 (see FIG. 2) as an image reading apparatus according to the first embodiment. 2 is a schematic diagram showing a simplified configuration of a reading unit 30. FIG. The reading unit 30 also includes a device control unit 32, an AFE 33, and an image processing unit 34 shown in FIG. The document tray 14 is an example of a stacking unit. The ADF 15 is an example of a transport unit.

イメージスキャナ1の筐体10は概ね箱形に形成されており、上部に第1プラテンガラス11と第2プラテンガラス12とが並設されている。
原稿カバー13は上述した各プラテンガラスを覆う閉姿勢とそれらのプラテンガラスを開放する開姿勢とに回動可能に筐体10に連結されている。原稿カバー13には、1枚以上の原稿が積載される原稿トレイ14、原稿トレイ14に積載されている原稿を1枚ずつ搬送するADF15、ADF15によって搬送された原稿が排紙される排紙トレイ16などが設けられている。
A housing 10 of the image scanner 1 is formed in a generally box shape, and a first platen glass 11 and a second platen glass 12 are juxtaposed on the top.
The document cover 13 is connected to the housing 10 so as to be rotatable between a closed posture that covers the platen glasses and an open posture that opens the platen glasses. The document cover 13 has a document tray 14 on which one or more documents are stacked, an ADF 15 that transports documents stacked on the document tray 14 one by one, and a sheet discharge tray on which documents transported by the ADF 15 are discharged. 16 etc. are provided.

ADF15の内部には、分離ローラ17、分離ローラ17を軸支する軸に基端側を軸支されたアームの先端部に回転自在に設けられている吸入ローラ18、搬送ローラ19、20、排紙ローラ21、これらに圧接する複数の従動ローラ22が設けられている。原稿はこれらのローラによって搬送経路T上を搬送され、読取デバイス23によって読み取られる位置を通過して排紙トレイ16上に排紙される。   Inside the ADF 15, there are a separation roller 17, a suction roller 18, a conveyance roller 19, 20, and a discharge roller that are rotatably provided at the distal end of an arm that is pivotally supported by the shaft that supports the separation roller 17. A paper roller 21 and a plurality of driven rollers 22 that press against these are provided. The original is transported on the transport path T by these rollers, passes through a position where it is read by the reading device 23, and is discharged onto the paper discharge tray 16.

読取デバイス23は、RGB3色のLEDなどで構成される光源、複数の受光素子が紙面垂直方向(主走査方向)に直線状に配列されたイメージセンサ、原稿で反射された反射光をイメージセンサの各受光素子に結像させる光学系、これらが搭載されるキャリッジなどを備えて構成されている。   The reading device 23 includes a light source composed of RGB RGB LEDs and the like, an image sensor in which a plurality of light receiving elements are linearly arranged in the direction perpendicular to the paper surface (main scanning direction), and reflected light reflected from the document. An optical system for forming an image on each light receiving element, a carriage on which these are mounted, and the like are provided.

搬送機構24は、駆動ローラ25、図示しない従動ローラ、これらに掛け回されたタイミングベルト26、図示しないステッピングモータなどを備えて構成されている。   The transport mechanism 24 includes a driving roller 25, a driven roller (not shown), a timing belt 26 wound around these, a stepping motor (not shown), and the like.

読取デバイス23は、第1プラテンガラス11に載置されている原稿を読み取るときは搬送機構24によって第1プラテンガラス11の盤面に平行な副走査方向(図中のA方向)に搬送され、副走査方向に搬送されつつ光源の色を順に切り替えながら原稿を1ラインずつ読み取って後述するAFE33に画像信号を出力する。   When reading a document placed on the first platen glass 11, the reading device 23 is transported by the transport mechanism 24 in the sub-scanning direction (A direction in the figure) parallel to the surface of the first platen glass 11, The original is read line by line while sequentially switching the color of the light source while being conveyed in the scanning direction, and an image signal is output to the AFE 33 described later.

一方、ADF15によって搬送される原稿を読み取るときは、読取デバイス23は搬送機構24によって第2プラテンガラス12の直下に移動され、第2プラテンガラス12の直下に停止した状態で光源の色を順に切り替えながら原稿を1ラインずつ読み取って後述するAFE33に画像信号を出力する。   On the other hand, when reading a document transported by the ADF 15, the reading device 23 is moved directly below the second platen glass 12 by the transport mechanism 24, and sequentially switches the color of the light source in a state of being stopped just below the second platen glass 12. The original is read line by line, and an image signal is output to the AFE 33 described later.

超音波センサ26は、搬送経路Tを挟んで対向する一方の側に設けられ、他方の側に向かって超音波を発生する超音波発生部26aと、当該他方の側に設けられ、受信した超音波の強度に応じた出力信号を制御部31に出力する超音波受信部26bとで構成されている。超音波センサ26は検出部の一例である。   The ultrasonic sensor 26 is provided on one side facing the conveyance path T, and an ultrasonic generator 26a that generates an ultrasonic wave toward the other side. The ultrasonic sensor 26 is provided on the other side and receives the received ultrasonic wave. The ultrasonic receiving unit 26b outputs an output signal corresponding to the intensity of the sound wave to the control unit 31. The ultrasonic sensor 26 is an example of a detection unit.

原稿検知センサ27は、原稿トレイ14に積載されている原稿を検知し、検知信号を制御部31に出力するセンサである。
後端検出センサ28は、読取デバイス23によって読み取られる位置よりも搬送経路Tの上流側の検出位置において原稿の後端を検出し、制御部31に後端検出信号を出力するセンサである。
The document detection sensor 27 is a sensor that detects a document stacked on the document tray 14 and outputs a detection signal to the control unit 31.
The trailing edge detection sensor 28 is a sensor that detects the trailing edge of the document at a detection position upstream of the position read by the reading device 23 and outputs a trailing edge detection signal to the control unit 31.

(2)イメージスキャナの電気的構成
図2は、イメージスキャナ1の電気的構成を示すブロック図である。イメージスキャナ1は、制御部31、ADF15、デバイス制御部32、AFE(Analog Front End)33、読取デバイス23、搬送機構24、画像処理部34、表示部35、操作部36、通信インタフェース部37、超音波センサ26、原稿検知センサ27、後端検出センサ28などを備えて構成されている。
(2) Electrical Configuration of Image Scanner FIG. 2 is a block diagram showing the electrical configuration of the image scanner 1. The image scanner 1 includes a control unit 31, an ADF 15, a device control unit 32, an AFE (Analog Front End) 33, a reading device 23, a transport mechanism 24, an image processing unit 34, a display unit 35, an operation unit 36, a communication interface unit 37, An ultrasonic sensor 26, a document detection sensor 27, a rear end detection sensor 28, and the like are provided.

制御部31は、CPU38、ROM39、RAM40などを備えて構成されている。CPU38はROM39に記憶されている各種のプログラムを実行することによってイメージスキャナ1の各部を制御する。ROM39にはCPU38によって実行される制御プログラムや各種のデータなどが記憶されている。RAM40はCPU38が各種の処理を実行するための主記憶装置として用いられる。また、RAM40には後述する処理で用いられる各種のカウンタやフラグなどが記憶される。制御部31は処理部の一例である。   The control unit 31 includes a CPU 38, a ROM 39, a RAM 40, and the like. The CPU 38 controls each unit of the image scanner 1 by executing various programs stored in the ROM 39. The ROM 39 stores a control program executed by the CPU 38 and various data. The RAM 40 is used as a main storage device for the CPU 38 to execute various processes. In addition, the RAM 40 stores various counters and flags used in processing to be described later. The control unit 31 is an example of a processing unit.

デバイス制御部32は制御部31からの指示の下で読取デバイス23の光源やイメージセンサを制御する回路である。
AFE33はイメージセンサから出力された画像信号のゲイン調整、ゲイン調整された画像信号をデジタルの画像信号に変換するA/D変換などを行う回路である。以降の説明ではA/D変換された画像信号のことを読取データという。
画像処理部34は、AFE33から出力されてRAM40に記憶されている読取データを読み出し、ガンマ補正やシェーディング補正、その他各種の画像処理を施して画素毎にRGB3色の濃度値を持つ画像を生成する回路である。
The device control unit 32 is a circuit that controls the light source and the image sensor of the reading device 23 under an instruction from the control unit 31.
The AFE 33 is a circuit that performs gain adjustment of the image signal output from the image sensor, A / D conversion for converting the gain-adjusted image signal into a digital image signal, and the like. In the following description, the A / D converted image signal is referred to as read data.
The image processing unit 34 reads the read data output from the AFE 33 and stored in the RAM 40, and performs gamma correction, shading correction, and other various image processing to generate an image having three RGB density values for each pixel. Circuit.

表示部35は、液晶ディスプレイなどの表示装置、表示装置を駆動する駆動回路などで構成されている。表示部35は報知部の一例である。
操作部36は、ユーザが原稿の読み取りを指示するためのボタン、表示部35に表示されるGUI(Graphical User Interface)を操作するためのボタンなど、ユーザがイメージスキャナ1を操作するための各種のボタンを有している。
The display unit 35 includes a display device such as a liquid crystal display, a drive circuit that drives the display device, and the like. The display unit 35 is an example of a notification unit.
The operation unit 36 includes various buttons for the user to operate the image scanner 1 such as a button for instructing the user to read a document and a button for operating a GUI (Graphical User Interface) displayed on the display unit 35. Has a button.

通信インタフェース部37は、LAN(LocalArea Network)などの通信ネットワーク、USB(Universal Serial Bus)、パラレル回線などを介してパーソナルコンピュータなどの外部の装置と通信するためのインタフェースである。通信インタフェース部37は出力部の一例である。   The communication interface unit 37 is an interface for communicating with an external device such as a personal computer via a communication network such as a LAN (Local Area Network), a USB (Universal Serial Bus), a parallel line, or the like. The communication interface unit 37 is an example of an output unit.

実施形態1に係るイメージスキャナ1は所謂PCスキャンを実行可能に構成されており、外部の装置から原稿の読み取りが指示されると原稿を読み取って画像を生成し、生成した画像を当該外部の装置に送信する。   The image scanner 1 according to the first embodiment is configured to be able to perform so-called PC scanning, and when an external device is instructed to read a document, the image scanner 1 reads the document to generate an image, and the generated image is output to the external device. Send to.

(3)ADFによって搬送される原稿が重送される例
図3〜図5は、ADF15によって搬送される原稿が重送される例を示す模式図である。図3〜図5ではADF15によって第2のプラテンガラス上を搬送される原稿Mを読取デバイス23から見た場合を示している。
(3) Example in which documents conveyed by ADF are double-fed FIG. 3 to FIG. 5 are schematic diagrams showing examples in which documents conveyed by ADF 15 are double-fed. 3 to 5 show a case where the document M conveyed on the second platen glass by the ADF 15 is viewed from the reading device 23.

図3は、3、4、5枚目の原稿Mが重送された場合を示しており、その場合に、これら3枚の原稿Mのうち本来最初に読み取られるべき3枚目の原稿Mより先に5枚目の原稿Mの搬送方向の下流側である先端部分、及び、4枚目の原稿Mの搬送方向の下流側である先端部分が読み取られた場合を示している。3、4、5枚目の原稿Mは重送された複数の原稿からなる原稿群の一例である。なお、本来最初に読み取られるべき原稿は、重送された複数の原稿Mのうち原稿トレイ14に積載されていたとき最も早い順番で搬送される予定であった原稿ということもできる。   FIG. 3 shows a case where the third, fourth, and fifth originals M are double-fed. In this case, from among the three originals M to be originally read out of these three originals M, FIG. The case where the front end portion on the downstream side in the conveyance direction of the fifth original M and the front end portion on the downstream side in the conveyance direction of the fourth original M are read first. The third, fourth, and fifth originals M are an example of a group of originals composed of a plurality of multi-fed originals. It should be noted that the original document that should be read first may be the original document that was to be conveyed in the earliest order when it was stacked on the original document tray 14 among the multiple fed documents M.

図3において画像50は、重送された複数の原稿Mからなる原稿群を読み取って生成された一の画像を示している。画像50において横方向に直線状に延びるエッジ51〜54は、原稿Mの辺であって原稿Mの搬送方向に直交する方向に延びる辺を表すエッジを示している。   In FIG. 3, an image 50 indicates one image generated by reading a document group including a plurality of documents M that are double-fed. Edges 51 to 54 that extend linearly in the horizontal direction in the image 50 indicate edges that are sides of the document M and extend in a direction orthogonal to the conveyance direction of the document M.

ところで、複数の原稿が重送される場合、それら複数の原稿のうち本来最初に読み取られるべき原稿は、それら複数の原稿が読取部30によって読み取られるとき一番下(図3においては一番上)にあるので、本来最初に読み取られるべき原稿は他の原稿とともに重送されたとしても原稿全体が読み取られる。これに対し、重送されている他の原稿はそれより下にある原稿に隠されることによって一部が読み取られない。   By the way, when a plurality of originals are double-fed, the original that should be read first among the plurality of originals when the plurality of originals are read by the reading unit 30 (the highest in FIG. 3). Therefore, even if the original that should be read first is double-fed together with other originals, the entire original is read. On the other hand, a part of the other document that is being double-fed is hidden by the document below it, so that a part of the document cannot be read.

つまり、重送された複数の原稿からなる原稿群を読み取って生成された一の画像において、原稿の搬送方向に直交する方向に延びる辺を表すエッジ間の間隔が最大となる領域は、重送された複数の原稿のうち本来最初に読み取られるべき原稿全体を表していることになる。図示する例では重送された3、4、5枚目の原稿Mのうち本来最初に読み取られるべき原稿は3枚目の原稿Mであるので、それらのエッジに挟まれた複数の領域55、56、57のうちエッジ間の間隔が最大となる領域57は3枚目の原稿M全体を表していることになる。   That is, in one image generated by reading a document group composed of a plurality of documents that have been multi-fed, the region in which the interval between edges representing the sides extending in the direction orthogonal to the document transport direction is maximized This represents the entire original that should be read first among the plurality of originals. In the example shown in the drawing, since the original document to be read first among the third, fourth, and fifth originals M is the third original M, a plurality of areas 55 sandwiched between the edges thereof, An area 57 in which the interval between the edges is the maximum among the edges 56 and 57 represents the entire third original M.

そこで、イメージスキャナ1は、エッジ間の間隔が最大となる領域57を、本来最初に読み取られるべき原稿全体の画像として抽出する。このようにすれば、重送された複数の原稿のうち本来最初に読み取られるべき原稿については再読み取りを不要にすることができる。   Therefore, the image scanner 1 extracts the region 57 in which the interval between the edges is maximum as an image of the entire document that should be read first. In this way, it is possible to eliminate the need for re-reading a document that should originally be read first among a plurality of documents that have been multi-fed.

ここで、重送されている複数の原稿Mのうち本来最初に読み取られるべき原稿が全原稿のうち何枚目の原稿であるかは、それより前に読み取りが終了している原稿の枚数に1を加算した枚数として特定できる。例えば、図示する例では1枚目及び2枚目の原稿Mの読み取りが終了しているので、本来最初に読み取られるべき原稿は3枚目の原稿Mであることになる。   Here, the number of originals that should be read first among a plurality of originals M being fed is the number of originals that have been read before that. It can be specified as the number obtained by adding 1. For example, since the reading of the first and second originals M has been completed in the illustrated example, the original that should be read first is the third original M.

イメージスキャナ1は、上述した一の画像において原稿の搬送方向に直交する方向に延びる辺を表すエッジの数から、重送された原稿の枚数を判断する。そして、イメージスキャナ1は重送された複数の原稿のうち本来最初に読み取られるべき原稿以外の原稿について、当該原稿がそれぞれ全原稿のうち何枚目の原稿であるかを判断し、再読み取りが必要な原稿としてユーザに報知する。図示する例の場合は4枚目、5枚目の原稿Mが、再読み取りが必要な原稿として報知される。   The image scanner 1 determines the number of documents fed in double from the number of edges representing sides extending in a direction orthogonal to the document conveyance direction in the above-described one image. Then, the image scanner 1 determines the number of the originals other than the original that should be read first among the multiple fed originals, and rereads the originals. Inform the user as a required document. In the case of the example shown in the figure, the fourth and fifth originals M are notified as originals that need to be read again.

図4は、3、4、5枚目の原稿Mが重送された場合を示しており、これら3枚の原稿Mのうち最初に読み取られるべき3枚目の原稿M全体が先に読み取られ、その後に4枚目の原稿Mの後端部分、及び、5枚目の原稿Mの後端部分が読み取られた場合を示している。また、画像60は重送された複数の原稿からなる原稿群を読み取って生成された一の画像を示している。   FIG. 4 shows a case where the third, fourth, and fifth originals M are double-fed. Of these three originals M, the entire third original M to be read first is read first. Then, the rear end portion of the fourth original M and the rear end portion of the fifth original M are read. An image 60 shows one image generated by reading a group of documents composed of a plurality of documents fed in a double feed.

図4に示す例の場合も、エッジ間の間隔が最大となる領域65は重送された3、4、5枚目の原稿Mのうち本来最初に読み取られるべき原稿である3枚目の原稿M全体を表している。そして、4枚目、5枚目の原稿が、再読み取りが必要な原稿として報知される。   Also in the example shown in FIG. 4, the region 65 where the distance between the edges is the maximum is the third original, which is the original that should be read first, among the third, fourth, and fifth originals M. M represents the whole. Then, the fourth and fifth originals are notified as originals that need to be read again.

図5は、更に多くの原稿が重送された場合を示している。図5において画像70は重送された複数の原稿からなる原稿群を読み取って生成された一の画像を示している。
前述した図3及び図4に示す例では隣り合うエッジ間の間隔が最大の領域を挟んで搬送方向に相当する方向の上流側又は下流側のいずれか一方の側にのみ複数のエッジがあり、他方の側にはエッジが一つしかない場合を示しているが、図5では上流側にも下流側にもエッジが複数ある。この場合も、エッジ間の間隔が最大となる領域71が、本来最初に読み取られるべき原稿全体の画像として抽出される。
FIG. 5 shows a case where more originals are double fed. In FIG. 5, an image 70 shows one image generated by reading a document group composed of a plurality of documents fed in a double feed.
In the example shown in FIG. 3 and FIG. 4 described above, there are a plurality of edges only on either the upstream side or the downstream side in the direction corresponding to the transport direction across the region where the interval between adjacent edges is the largest. Although the case where there is only one edge on the other side is shown, there are a plurality of edges on both the upstream side and the downstream side in FIG. Also in this case, the region 71 in which the interval between the edges is the maximum is extracted as an image of the entire document that should be read first.

ただし、上流側にも下流側にもエッジが複数ある場合は、重送された原稿の枚数をエッジの数から判断すると判断を誤る虞がある。なぜなら、6枚目、7枚目の原稿が隠れてしまっており、3枚目の原稿の搬送方向の上流側に見えている原稿Mは8枚目の原稿Mや9枚目の原稿Mである可能性もあるからである。
そのため、イメージスキャナ1は、搬送方向に相当する方向の上流側にも下流側にもエッジが複数ある場合は、原稿の再読み取りが必要であることはユーザに報知するものの、再読み取りが必要な原稿が全原稿のうち何枚目の原稿であるかまでは報知しない。
However, if there are a plurality of edges on both the upstream side and the downstream side, there is a risk of misjudging if the number of documents fed in duplicate is determined from the number of edges. This is because the sixth and seventh originals are hidden, and the original M seen on the upstream side in the conveyance direction of the third original is the eighth original M and the ninth original M. This is because there is a possibility.
Therefore, when there are a plurality of edges on both the upstream side and the downstream side in the direction corresponding to the conveyance direction, the image scanner 1 notifies the user that the document needs to be read again, but needs to be read again. It does not notify the original number of all originals.

(4)原稿読取処理
図6〜図8は、イメージスキャナ1による原稿読取処理の流れを示すフローチャートである。本処理は外部の装置からPCスキャンが指示されると開始される。
(4) Document Reading Processing FIGS. 6 to 8 are flowcharts showing the flow of document reading processing by the image scanner 1. This process is started when a PC scan is instructed from an external device.

S101では、制御部31は原稿の読み取り枚数をカウントする読取枚数カウンタを0に初期化する。
S102では、制御部31は読取枚数カウンタに1を加算する。
S103では、制御部31は本処理において用いる各種のカウンタを0に初期化するとともに、各種のフラグに初期値としてオフを設定する。
In step S101, the control unit 31 initializes a reading number counter that counts the number of originals to be read to zero.
In S102, the control unit 31 adds 1 to the reading sheet counter.
In S103, the control unit 31 initializes various counters used in this processing to 0, and sets various flags to OFF as an initial value.

S104では、制御部31は読取部30を制御して原稿を1ライン分読み取らせ、読取部30から1ライン分の読取データを取得する。制御部31は取得した読取データをRAM40に記憶する。
S105では、制御部31は重送を検知する。具体的には例えば、制御部31は超音波センサ26から出力信号を取得し、原稿の2枚分以上の厚みを示す出力信号を取得した場合に、原稿が重送されていると判断する。制御部31は、原稿が重送されていると判断した場合は重送フラグをオンにする。超音波センサ26の出力信号は、原稿の2枚分以上の厚みを示す情報の一例である。また、S105は重送検知処理の一例である。
In step S <b> 104, the control unit 31 controls the reading unit 30 to read the original for one line, and acquires read data for one line from the reading unit 30. The control unit 31 stores the acquired read data in the RAM 40.
In S105, the control unit 31 detects double feeding. Specifically, for example, when the control unit 31 acquires an output signal from the ultrasonic sensor 26 and acquires an output signal indicating the thickness of two or more originals, the control unit 31 determines that the originals are being double-fed. When the control unit 31 determines that the document is being double-fed, the control unit 31 turns on the double-fed flag. The output signal of the ultrasonic sensor 26 is an example of information indicating the thickness of two or more originals. S105 is an example of a double feed detection process.

S106では、制御部31は重送フラグがオンであるか否かを判断し、オンである場合、すなわち原稿が重送されている場合はS107に進み、オフである場合、すなわち原稿が重送されていない場合はS116に進む。
S107では、制御部31は読取部30を制御して読み取りを中断する。
In S106, the control unit 31 determines whether or not the double feed flag is on. If it is on, that is, if the document is double-fed, the process proceeds to S107. If it is off, that is, the document is double-fed. If not, the process proceeds to S116.
In S107, the control unit 31 controls the reading unit 30 to interrupt reading.

S108では、制御部31は原稿が重送されている旨のメッセージを表示部35に表示させ、ユーザが操作部36の所定のボタンを押下するまで待機する。制御部31はユーザが所定のボタンを押下するとS109に進む。
S109では、制御部31は原稿の読み取りを継続するか又は中止するかをユーザに問い合わせるメッセージを表示部35に表示させ、ユーザが操作部36を操作して継続又は中止のいずれか一方を選択するまで待機する。制御部31はユーザが継続を選択した場合はS110に進み、中止を選択した場合はS118に進む。S109は選択処理の一例である。
In S <b> 108, the control unit 31 displays a message indicating that the document is being double-fed on the display unit 35, and waits until the user presses a predetermined button on the operation unit 36. When the user presses a predetermined button, the control unit 31 proceeds to S109.
In S109, the control unit 31 causes the display unit 35 to display a message asking the user whether to continue or stop reading the document, and the user operates the operation unit 36 to select either continuation or cancellation. Wait until. The control unit 31 proceeds to S110 when the user selects continuation, and proceeds to S118 when the user selects cancellation. S109 is an example of a selection process.

S110では、制御部31は読取部30を制御して原稿を1ライン分読み取らせ、読取部30から1ライン分の読取データを取得する。制御部31は取得した読取データをRAM40に記憶する。
S111では、制御部31は原稿の読み取りが終了したか否かを判断する。具体的には、制御部31は後端検出センサ28から後端検出信号が出力されると一定時間が経過するまで読み取りを継続し、一定時間が経過すると原稿の読み取りが終了したと判断する。この一定時間は原稿の後端が読取デバイス23によって読み取られる位置に到達するまでに要する時間に相当する。
制御部31は、原稿の読み取りが終了した場合(S111:Yes)はS112に進み、終了していない場合(S111:No)はS110に戻って処理を繰り返す。
In S <b> 110, the control unit 31 controls the reading unit 30 to read the original for one line, and obtains read data for one line from the reading unit 30. The control unit 31 stores the acquired read data in the RAM 40.
In S111, the control unit 31 determines whether or not the reading of the document is completed. Specifically, when the trailing edge detection signal is output from the trailing edge detection sensor 28, the control unit 31 continues reading until a predetermined time elapses, and determines that the reading of the document is finished when the certain time elapses. This fixed time corresponds to the time required for the trailing edge of the document to reach the position where it is read by the reading device 23.
If the reading of the document is completed (S111: Yes), the control unit 31 proceeds to S112, and if not completed (S111: No), the control unit 31 returns to S110 and repeats the process.

上述した原稿の読み取りの間、画像処理部34はRAM40に所定ライン数分の読取データが記憶される毎にそれらの読取データから当該所定ライン数分の画像を生成し、生成した画像をRAM40に記憶させる。これを繰り返すことによって最終的に原稿(複数の原稿が重送されている場合は原稿群)を表す一の画像が生成される。   During the reading of the original, the image processing unit 34 generates an image for the predetermined number of lines from the read data every time the read data for the predetermined number of lines is stored in the RAM 40, and the generated image is stored in the RAM 40. Remember. By repeating this, one image that finally represents the original (a group of originals when a plurality of originals are double-fed) is generated.

S112では、制御部31は抽出処理を実行する。抽出処理は、重送された複数の原稿からなる原稿群を読み取って生成された一の画像からそれら複数の原稿のうち本来最初に読み取られるべき原稿全体の画像を抽出する処理である。   In S112, the control unit 31 executes an extraction process. The extraction process is a process of extracting an image of the entire original that should originally be read first from among the plurality of originals from one image generated by reading a group of originals made up of a plurality of multi-fed originals.

S113では、制御部31はS112で抽出した画像を、本来最初に読み取られるべき原稿の画像として外部の装置に送信する。ここで、本来最初に読み取られるべき原稿が全原稿のうち何枚目の原稿であるかは、読取枚数カウンタの値によって特定される。S113は出力処理の一例である。
S114では、制御部31は原稿検知センサ27から検知信号を取得して原稿トレイ14に次の原稿があるか否かを判断し、次の原稿がない場合(S114:No)はS115に進み、次の原稿がある場合(S114:Yes)はS102に戻る。
In step S113, the control unit 31 transmits the image extracted in step S112 to an external apparatus as an original image that should be read first. Here, the number of original documents to be read first is specified by the value of the read number counter. S113 is an example of output processing.
In S114, the control unit 31 obtains a detection signal from the document detection sensor 27 and determines whether or not there is a next document on the document tray 14, and if there is no next document (S114: No), the process proceeds to S115. If there is a next original (S114: Yes), the process returns to S102.

S115では、制御部31は再読取報知処理を実行する。再読取報知処理は、原稿の重送が検知された場合に、再読み取りが必要であることをユーザに報知する処理である。   In S115, the control unit 31 executes a reread notification process. The re-reading notification process is a process for notifying the user that re-reading is necessary when double feeding of documents is detected.

S116〜S117はS106で重送フラグがオフと判定された場合の処理である。
S116では、制御部31は原稿の読み取りが終了したか否かを判断し、終了した場合(S116:Yes)はS117に進み、終了していない場合(S116:No)はS104に戻って処理を繰り返す。
S117では、制御部31は画像処理部34によって生成されてRAM40に記憶されている1枚分の原稿の画像を外部の装置に送信する。
S116 to S117 are processes when it is determined in S106 that the double feed flag is off.
In S116, the control unit 31 determines whether or not the reading of the document has been completed. If the reading has been completed (S116: Yes), the process proceeds to S117. repeat.
In S117, the control unit 31 transmits an image of one original document generated by the image processing unit 34 and stored in the RAM 40 to an external device.

S118〜S119はS109でユーザが読み取りの中止を選択した場合の処理である。
S118では、制御部31はS104でRAM40に記憶した読取データを全て破棄する。
S119では、制御部31は読取部30を制御して読み取り途中の原稿を排紙する。
S118 to S119 are processes performed when the user selects to cancel reading in S109.
In S118, the control unit 31 discards all the read data stored in the RAM 40 in S104.
In step S119, the control unit 31 controls the reading unit 30 to discharge a document being read.

(5)抽出処理
図9は、S112で実行される抽出処理の流れを示すフローチャートである。
S201では、制御部31は重送された複数の原稿からなる原稿群を読み取って生成された一の画像から、原稿の辺であって原稿の搬送方向に直交する方向に延びる辺を表すエッジを検出する。S201はエッジ検出処理の一例である。
(5) Extraction Processing FIG. 9 is a flowchart showing the flow of extraction processing executed in S112.
In step S <b> 201, the control unit 31 reads an edge representing a side of the document that extends in a direction orthogonal to the document transport direction from one image generated by reading a document group including a plurality of documents fed in a double feed. To detect. S201 is an example of edge detection processing.

S202では、制御部31は重送された複数の原稿からなる原稿群を読み取って生成された一の画像において、互いに隣り合うエッジの間隔が最大となる領域を特定する。
具体的には例えば、制御部31は当該一の画像において搬送方向に相当する方向をY方向とした場合に、各エッジのY座標を特定し、互いに隣り合うエッジ間のY座標の差が最も大きい領域を、互いに隣り合うエッジの間隔が最大となる領域として特定する。
In S <b> 202, the control unit 31 specifies an area in which the interval between adjacent edges is the maximum in one image generated by reading a document group composed of a plurality of documents that have been multi-fed.
Specifically, for example, when the direction corresponding to the conveyance direction in the one image is the Y direction, the control unit 31 specifies the Y coordinate of each edge, and the difference in the Y coordinate between adjacent edges is the largest. A large area is specified as an area where the interval between adjacent edges is maximum.

S203では、制御部31は当該一の画像においてS202で特定した領域を挟んで原稿の搬送方向に相当する方向の上流側、下流側ともエッジが2以上であるか、又は、上流側、下流側ともエッジが1つである場合はS204に進み、上流側のエッジが2以上であり下流側のエッジが1つである場合はS205に進み、上流側のエッジが1つであり下流側のエッジが2以上である場合はS206に進む。   In S203, the control unit 31 has two or more edges on the upstream side and the downstream side in the direction corresponding to the document transport direction across the area specified in S202 in the one image, or the upstream side and the downstream side. If there is only one edge, the process proceeds to S204. If the number of upstream edges is 2 or more and the number of downstream edges is one, the process proceeds to S205, where there is one upstream edge and the downstream edge. If is 2 or more, the process proceeds to S206.

S204では、制御部31は当該一の画像において、互いに隣り合うエッジによって挟まれる領域のうち間隔が最大となる領域を抽出する。
S205では、制御部31は上流側のエッジが2以上、下流側のエッジが一つの場合の処理を実行する。
S206では、制御部31は上流側のエッジが一つ、下流側のエッジが2以上の場合の処理を実行する。
上述したS204〜S206は画像抽出処理の一例である。
S207では、制御部31は再読取報知フラグをオンにする。
In S <b> 204, the control unit 31 extracts a region having the maximum interval from regions sandwiched between adjacent edges in the one image.
In step S205, the control unit 31 executes processing when there are two or more upstream edges and one downstream edge.
In S206, the control unit 31 executes processing when there is one upstream edge and two or more downstream edges.
S204 to S206 described above are an example of image extraction processing.
In S207, the control unit 31 turns on the reread notification flag.

(6)上流側のエッジが2以上、下流側のエッジが1つの場合の処理
図10は、上流側のエッジが2以上、下流側のエッジが1つの場合の処理の流れを示すフローチャートである。
S301では、制御部31は上流側にあるエッジの数から重送された原稿の枚数を判断する。
(6) Processing when there are two or more upstream edges and one downstream edge FIG. 10 is a flowchart showing a processing flow when there are two or more upstream edges and one downstream edge. .
In step S <b> 301, the control unit 31 determines the number of documents fed in double from the number of edges on the upstream side.

S302では、制御部31は重送された原稿の枚数と、読取枚数カウンタの値とから、再読み取りが必要な原稿を判断する。
例えば、重送された原稿の枚数が3であり、読取枚数カウンタの値が3であるとすると、重送された原稿は3、4、5枚目であることになる。このうち、本来最初に読み取られるべき原稿である3枚目の原稿の画像は前述した一の画像から抽出されるので再読み取りは不要である。従って、この場合は再読み取りが必要な原稿は4、5枚目の原稿であることになる。
In S <b> 302, the control unit 31 determines a document that needs to be read again from the number of documents fed in double and the value of the number-of-reads counter.
For example, if the number of documents fed double is 3 and the value of the reading sheet counter is 3, the documents fed double are 3, 4 and 5. Of these, the image of the third original, which is the original that should be read first, is extracted from the above-mentioned one image, so that re-reading is unnecessary. Accordingly, in this case, the originals that need to be read again are the fourth and fifth originals.

S303では、制御部31はS302で判断した再読み取りが必要な原稿を示す情報を再読取原稿情報としてRAM40に記憶する。例えばS302に示す例では再読取原稿情報として4枚目及び5枚目を示す情報が記憶される。
S304では、制御部31は再読取原稿報知フラグをオンにする。
S305では、制御部31は前述した一の画像において互いに隣り合うエッジの間隔が最大となる領域を、重送された複数の原稿のうち本来最初に読み取られるべき原稿の画像として抽出する。例えばS302で示す例では、互いに隣り合うエッジの間隔が最大となる領域は3枚目の原稿の画像として抽出される。
In step S303, the control unit 31 stores information indicating the document that needs to be re-read determined in step S302 in the RAM 40 as re-read document information. For example, in the example shown in S302, information indicating the fourth and fifth sheets is stored as the reread document information.
In S304, the control unit 31 turns on the reread document notification flag.
In S <b> 305, the control unit 31 extracts an area in which the interval between adjacent edges in the one image described above is the maximum as an image of a document that should be originally read from among the plurality of documents that have been fed. For example, in the example shown in S302, an area where the interval between adjacent edges is the maximum is extracted as an image of the third original.

(7)上流側のエッジが1つ、下流側のエッジが2以上の場合の処理
図11は、上流側のエッジが1つ、下流側のエッジが2以上の場合の処理の流れを示すフローチャートである。ここでは図10に示すフローチャートと実質的に同一の処理には同一の符号を付して説明を省略する。
S401では、制御部31は下流側にあるエッジの数から重送された原稿の枚数を判断する。
(7) Processing when there is one upstream edge and two or more downstream edges FIG. 11 is a flowchart showing a processing flow when there is one upstream edge and two or more downstream edges. It is. Here, processes that are substantially the same as those in the flowchart shown in FIG.
In step S <b> 401, the control unit 31 determines the number of documents fed in double from the number of edges on the downstream side.

(8)再読取報知処理
図12は、S115で実行される再読取報知処理の流れを示すフローチャートである。
S501では、制御部31は再読取報知フラグがオンであるか否かを判定し、オンである場合はS502に進み、オフである場合は本処理を終了して戻る。
(8) Reread Notification Process FIG. 12 is a flowchart showing the reread notification process executed in S115.
In S501, the control unit 31 determines whether or not the reread notification flag is on. If it is on, the control unit 31 proceeds to S502, and if it is off, the process ends and returns.

S502では、制御部31は再読取原稿報知フラグがオンであるか否かを判定し、オフである場合はS503に進み、オンである場合はS504に進む。
S503では、制御部31は再読み取りが必要であることをユーザに報知する。例えば、制御部31は「重送された原稿があります。原稿の再読み取りが必要です」という旨のメッセージを表示部35に表示させる。
In S502, the control unit 31 determines whether or not the reread document notification flag is on. If it is off, the control unit 31 proceeds to S503, and if it is on, proceeds to S504.
In S503, the control unit 31 notifies the user that rereading is necessary. For example, the control unit 31 causes the display unit 35 to display a message stating that “there is a multi-fed document. The document needs to be read again”.

S504では、制御部31は再読み取りが必要であること、及び、何枚目の原稿が重送されたかをユーザに報知する。例えば、前述した再読取原稿情報として4及び5が記憶されている場合は、制御部31は「4枚目、5枚目の原稿の再読み取りが必要です」という旨のメッセージを表示部35に表示させる。S504は報知処理の一例である。   In step S <b> 504, the control unit 31 notifies the user that re-reading is necessary and how many originals have been double-fed. For example, when 4 and 5 are stored as the reread document information described above, the control unit 31 displays a message on the display unit 35 that “the fourth and fifth documents need to be read again”. Display. S504 is an example of a notification process.

(9)実施形態の効果
以上説明した実施形態1に係るイメージスキャナ1によると、重送された原稿群を読み取って生成された一の画像から原稿の搬送方向に直交する方向に延びる辺を表すエッジを検出し、互いに隣り合うエッジの間隔が最大となる領域を抽出する。
このようにすると、重送されている複数の原稿のうち最先の原稿が本来最初に読み取られるべき原稿でない場合であっても、本来最初に読み取られるべき原稿の画像を抽出することができる。例えば図3に示すように5、4、3枚目の原稿の順で重送されたとしても、それらの原稿を読み取って生成された一の画像から、3枚目の原稿全体を表す画像を抽出することができる。
よってイメージスキャナ1によると、重送された複数の原稿のうち全体が読み取られた原稿の画像をより確実に抽出できる。
(9) Effects of the Embodiment The image scanner 1 according to the first embodiment described above represents a side extending in a direction orthogonal to the document conveyance direction from one image generated by reading the multi-feed document group. Edges are detected, and a region where the interval between adjacent edges is maximized is extracted.
In this way, even if the earliest original document among the plurality of originals that are being fed is not the original document that should be read first, the original image that should be read first can be extracted. For example, as shown in FIG. 3, even if the fifth, fourth, and third documents are fed in order, an image representing the entire third document is obtained from one image generated by reading these documents. Can be extracted.
Therefore, according to the image scanner 1, it is possible to more reliably extract an image of a document that has been read entirely from among a plurality of documents that have been multi-fed.

また、イメージスキャナ1によると、超音波センサを用いた従来の技術に比べ、原稿全体が読み取られた原稿の画像をより確実に抽出できる。
より具体的に説明すると、従来の技術においては、超音波センサが発信及び受信する超音波を用いて、超音波の減衰の結果により重送か否かを判断し、重送と判断された原稿について、超音波の減衰の結果から最先の原稿の先端と後端とを検出していた。しかしながら、この方法では重送される原稿の枚数が多くなると受信する超音波の減衰結果について差が小さくなるので、原稿の枚数が多いと原稿の先端と後端とを検出することが困難になる。そのため、重送される原稿の枚数が多くなると原稿の領域に応じた画像データを取得することが困難になるという問題があった。
これに対し、イメージスキャナ1によると、互いに隣り合うエッジによって挟まれる領域のうち面積が最大となる領域を抽出するので、従来の技術に比べ、重送された複数の原稿を読み取って生成された一の画像から当該複数の原稿のうち原稿全体が読み取られた原稿の画像をより確実に抽出できる。
Further, according to the image scanner 1, compared to the conventional technique using an ultrasonic sensor, an image of a document in which the entire document is read can be extracted more reliably.
More specifically, in the prior art, using the ultrasonic wave transmitted and received by the ultrasonic sensor, it is determined whether or not the double feed is made based on the result of the attenuation of the ultrasonic wave. The leading and trailing edges of the earliest document were detected from the result of ultrasonic attenuation. However, in this method, the difference between the attenuation results of the received ultrasonic waves becomes smaller as the number of documents fed in multiple increases, so that it becomes difficult to detect the leading edge and the trailing edge of the document when the number of documents is large. . For this reason, there is a problem in that it becomes difficult to acquire image data corresponding to the area of the original as the number of originals to be double fed increases.
On the other hand, according to the image scanner 1, since the area having the maximum area is extracted from the areas sandwiched between the adjacent edges, the image scanner 1 is generated by reading a plurality of multi-fed originals as compared with the conventional technique. An image of a document in which the entire document is read from the plurality of documents can be more reliably extracted from one image.

更に、イメージスキャナ1によると、重送された複数の原稿からなる原稿群に含まれる原稿のうち本来最初に読み取られるべき原稿以外の原稿が全原稿のうち何枚目の原稿であるかをユーザに報知する。原稿が重送された場合、何枚目の原稿が重送されたかをユーザに報知すると、ユーザは何枚目の原稿の読み取りを再度行えばよいかを把握できるのでユーザの利便性が向上する。   Furthermore, according to the image scanner 1, the user can determine how many originals of the originals other than the original that should be read first among the originals included in the original group consisting of the multiple fed originals. To inform. When a document is double-fed, if the user is notified of how many originals have been double-fed, the user can know what number of originals should be read again, which improves user convenience. .

更に、イメージスキャナ1によると、重送が検知される前に読取部30によって読み取られた原稿の枚数とエッジの数とから、重送された原稿群に含まれる原稿のうち本来最初に読み取られるべき原稿以外の原稿が全原稿のうち何枚目の原稿であるかを判断することにより、何枚目の原稿が重送されたかを判断できる。   Furthermore, according to the image scanner 1, the original is first read out of the originals included in the multifeed original group from the number of originals and the number of edges read by the reading unit 30 before the double feed is detected. By determining the number of originals other than the original should be determined, it is possible to determine how many originals have been double-fed.

更に、イメージスキャナ1によると、一の画像において互いに隣り合うエッジの間隔が最大となる領域を挟んで搬送方向に相当する方向の上流側にあるエッジの数及び下流側にあるエッジの数がともに2以上である場合は、重送された原稿群に含まれる原稿のうち本来最初に読み取られるべき原稿以外の原稿が全原稿のうち何枚目の原稿であるかをユーザに報知しない。
間隔が最大となる領域を挟んで搬送方向に相当する方向の上流側にあるエッジの数及び下流側にあるエッジの数がともに2以上である場合は、重送された原稿の枚数をエッジの数から判断すると判断を誤る虞がある。
イメージスキャナ1によると、上流側にあるエッジの数及び下流側にあるエッジの数がともに2以上である場合は何枚目の原稿であるかをユーザに報知しないので、何枚目の原稿が重送されたかを誤って報知してしまうことを抑制できる。
Furthermore, according to the image scanner 1, both the number of edges on the upstream side and the number of edges on the downstream side in the direction corresponding to the conveyance direction across the region where the distance between adjacent edges in the image is maximized are both included. When the number is two or more, the user is not notified of the number of originals other than the original that should be read first among the originals included in the double-fed original group.
If the number of edges on the upstream side and the number of edges on the downstream side in the direction corresponding to the conveyance direction across the area where the interval is maximum is two or more, the number of documents fed in double is the edge There is a risk of misjudging if judging from numbers.
According to the image scanner 1, when the number of edges on the upstream side and the number of edges on the downstream side are both 2 or more, the user is not notified of which document is, so what document is It is possible to suppress erroneous notification of whether double feeding has been performed.

更に、イメージスキャナ1によると、超音波センサ26から原稿の2枚分以上の厚みを示す出力信号が出力された場合に原稿が重送されていると判断することにより、原稿が重送されているか否かを判断できる。
更に、イメージスキャナ1によると、原稿が重送されていると判断された場合に、原稿の読み取りを継続するか中止するかをユーザが選択できる。
Further, according to the image scanner 1, when the output signal indicating the thickness of two or more originals is output from the ultrasonic sensor 26, it is determined that the originals are double-fed so that the originals are double-fed. It can be determined whether or not.
Further, according to the image scanner 1, the user can select whether to continue reading or to stop reading the original when it is determined that the original is being fed double.

<実施形態2>
次に、実施形態2を図13によって説明する。
実施形態1では1枚の原稿の読み取り途中で重送を検知し、原稿が重送されている場合は原稿が重送されている旨のメッセージを原稿の読み取り途中で表示する場合を例に説明したが、実施形態2では原稿の読み取りが終了した後に重送を検知する。
また、実施形態2では画像読取装置としてファクシミリ(FAX)装置を例に説明する。
<Embodiment 2>
Next, Embodiment 2 will be described with reference to FIG.
In the first embodiment, an example is described in which a double feed is detected in the middle of reading one original, and a message indicating that the original is being double fed is displayed during the reading of the original when the original is double fed. However, in the second embodiment, the double feed is detected after the reading of the document is completed.
In the second embodiment, a facsimile (FAX) apparatus will be described as an example of the image reading apparatus.

図13は、実施形態2に係る原稿読取処理の流れを示すフローチャートである。   FIG. 13 is a flowchart showing the flow of document reading processing according to the second embodiment.

S601では、制御部31は原稿の読み取り枚数をカウントする読取枚数カウンタを0に初期化する。
S602では、制御部31は読取枚数カウンタに1を加算する。
S603では、制御部31は本処理において用いる各種のカウンタを0に初期化するとともに、各種のフラグに初期値としてオフを設定する。
In step S <b> 601, the control unit 31 initializes a read number counter that counts the number of originals read to 0.
In step S602, the control unit 31 adds 1 to the reading sheet counter.
In S603, the control unit 31 initializes various counters used in this processing to 0, and sets various flags to OFF as initial values.

S604では、制御部31は読取部30を制御して原稿を1ライン分読み取らせ、読取部30から1ライン分の読取データを取得する。制御部31は取得した読取データをRAM40に記憶する。
S605では、制御部31は原稿の読み取りが終了したか否かを判断し、終了した場合(S605:Yes)はS606に進み、終了していない場合(S605:No)はS604に戻って処理を繰り返す。
In step S <b> 604, the control unit 31 controls the reading unit 30 to read the original for one line, and acquires read data for one line from the reading unit 30. The control unit 31 stores the acquired read data in the RAM 40.
In S605, the control unit 31 determines whether or not the reading of the document has been completed. If it has been completed (S605: Yes), the process proceeds to S606. repeat.

S606では、制御部31は重送を検知する。制御部31は重送の検知によって原稿が重送されていることを検出した場合は重送フラグをオンにする。
重送の検知は、具体的には例えば原稿の読み取り中に超音波センサ26から出力される出力信号を記憶しておき、その出力信号を用いて行ってもよい。あるいは、原稿の読み取りを開始する前にユーザに原稿サイズを指定させ、生成された画像のピクセル数であって原稿が搬送される方向に相当する方向のピクセル数と、ユーザによって指定された原稿サイズに対応するピクセル数とを比較することによって行ってもよい。この場合は、生成された画像のピクセル数が、指定された原稿サイズに対応するピクセル数より多い場合に原稿の重送が検出されることになる。
In S606, the control unit 31 detects double feeding. The control unit 31 turns on the double feed flag when it is detected that the original is being double fed by detecting the double feed.
Specifically, the double feed detection may be performed using, for example, an output signal output from the ultrasonic sensor 26 during reading of an original and storing the output signal. Alternatively, the user can specify the document size before starting to read the document, and the number of pixels of the generated image corresponding to the direction in which the document is conveyed and the document size specified by the user May be performed by comparing the number of pixels corresponding to. In this case, when the number of pixels of the generated image is larger than the number of pixels corresponding to the designated document size, double feeding of the document is detected.

S607では、制御部31は重送フラグがオンである場合はS608に進み、オフである場合はS613に進む。
S608では、制御部31は抽出処理を実行する。
S609では、制御部31は抽出した画像を1枚分の原稿の画像としてFAX送信する。
In S607, the control unit 31 proceeds to S608 when the double feed flag is on, and proceeds to S613 when it is off.
In S608, the control unit 31 executes an extraction process.
In step S <b> 609, the control unit 31 transmits the extracted image as a document image for one fax.

S610では、制御部31は再読取報知処理を実行する。
S611では、制御部31は再読み取り準備が完了したか否かをユーザに問い合わせるメッセージを表示部35に表示し、ユーザが操作部36の所定のボタンを押下するまで待機する。ユーザは重送された原稿を再読み取りさせるために原稿トレイ14に戻し、その後に上述した所定のボタンを押下する。
In S610, the control unit 31 executes a reread notification process.
In step S <b> 611, the control unit 31 displays a message for inquiring the user whether or not preparation for rereading is completed on the display unit 35, and waits until the user presses a predetermined button on the operation unit 36. The user returns to the document tray 14 to reread the double-fed document, and then presses the predetermined button described above.

S612では、制御部31は原稿トレイ14に次の原稿があるか否かを判断し、次の原稿がある場合(S612:Yes)はS602に戻り、次の原稿がない場合(S612:No)は本処理を終了する。
S613では、制御部31はRAM40に記憶されている1枚分の原稿の画像をFAX送信する。
In S612, the control unit 31 determines whether or not there is a next document on the document tray 14, and if there is a next document (S612: Yes), the process returns to S602, and if there is no next document (S612: No). Ends this processing.
In step S <b> 613, the control unit 31 transmits the image of one original stored in the RAM 40 by FAX.

以上説明した実施形態2に係るイメージスキャナ1によると、重送された複数の原稿のうち全体が読み取られた原稿の画像をより確実に抽出できる。   According to the image scanner 1 according to the second embodiment described above, it is possible to more reliably extract an image of a document that has been read entirely from among a plurality of documents that have been multi-fed.

<他の実施形態>
上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も技術的範囲に含まれる。
<Other embodiments>
The present invention is not limited to the embodiments described with reference to the above description and the drawings, and for example, the following embodiments are also included in the technical scope.

(1)上記実施形態では互いに隣り合うエッジ間のY座標の差が最も大きい領域を互いに隣り合うエッジの間隔が最大となる領域として抽出する場合を例に説明したが、一の画像において原稿の搬送方向に相当する方向の上流側にある1以上のエッジのうち最も下流側にあるエッジと、搬送方向に相当する方向の下流側にある1以上のエッジのうち最も上流側にあるエッジとに挟まれた領域を、互いに隣り合うエッジの間隔が最大となる領域として抽出してもよい。   (1) In the above-described embodiment, the case where the region having the largest Y coordinate difference between the adjacent edges is extracted as the region having the maximum interval between the adjacent edges has been described as an example. Among the one or more edges on the upstream side in the direction corresponding to the transport direction, the edge on the most downstream side, and on the most upstream edge among one or more edges on the downstream side in the direction corresponding to the transport direction The sandwiched region may be extracted as a region where the interval between adjacent edges is maximized.

例えば図3に示す例の場合、一の画像50において原稿の搬送方向に相当する方向の上流側にある1以上のエッジのうち最も下流側にあるエッジはエッジ54であり、搬送方向に相当する方向の下流側にある1以上のエッジ51、52、53のうち最も上流側にあるエッジはエッジ53であり、それらのエッジに挟まれた領域は領域57である。
なお、この場合、一の画像において原稿の搬送方向に相当する方向の中間の位置を、当該一の画像を上流側と下流側とに区切る位置としてもよい。
For example, in the case of the example shown in FIG. 3, the edge on the most downstream side among the one or more edges on the upstream side in the direction corresponding to the document transport direction in one image 50 is the edge 54, which corresponds to the transport direction. Of the one or more edges 51, 52, 53 on the downstream side in the direction, the edge on the most upstream side is the edge 53, and the region sandwiched between these edges is the region 57.
In this case, an intermediate position in the direction corresponding to the document conveyance direction in one image may be a position that divides the one image into the upstream side and the downstream side.

(2)上記実施形態では処理部として制御部31を例に説明したが、処理部は制御部31と画像処理部34とによって構成されてもよい。   (2) In the above embodiment, the control unit 31 is described as an example of the processing unit. However, the processing unit may be configured by the control unit 31 and the image processing unit 34.

1・・・イメージスキャナ、14・・・原稿トレイ、15・・・ADF、23・・・読取デバイス、24・・・搬送機構、32・・・デバイス制御部、33・・・AFE、34・・・画像処理部、35・・・表示部、36・・・操作部、37・・・通信インタフェース部、50・・・画像、51〜54・・・エッジ、55〜57・・・領域、60・・・画像、65・・・領域、70・・・画像、71・・・領域
DESCRIPTION OF SYMBOLS 1 ... Image scanner, 14 ... Document tray, 15 ... ADF, 23 ... Reading device, 24 ... Conveyance mechanism, 32 ... Device control part, 33 ... AFE, 34. ..Image processing unit, 35... Display unit, 36... Operation unit, 37 .. communication interface unit, 50... Image, 51 to 54. 60 ... image, 65 ... area, 70 ... image, 71 ... area

Claims (6)

1枚以上の原稿が積載される積載部と、
前記積載部に積載されている前記原稿を1枚ずつ搬送する搬送部と、
前記搬送部によって搬送されている前記原稿を読み取って画像を生成する読取部と、
前記画像を出力する出力部と、
処理部と、
を備え、
前記処理部は、
前記原稿の重送を検知する重送検知処理と、
前記重送検知処理によって重送が検知された場合に、重送されている複数の前記原稿からなる原稿群を前記読取部によって読み取って生成された一の画像から、前記原稿の辺であって前記原稿の搬送方向に直交する方向に延びる辺を表すエッジを検出するエッジ検出処理と、
前記一の画像において互いに隣り合う前記エッジの間隔が最大となる領域を抽出する画像抽出処理と、
前記出力部を制御して、前記画像抽出処理によって抽出された領域を出力する出力処理と、
を実行する、画像読取装置。
A stacking unit on which one or more documents are stacked;
A transport unit that transports the originals stacked on the stack unit one by one;
A reading unit that reads the original document transported by the transport unit and generates an image;
An output unit for outputting the image;
A processing unit;
With
The processor is
A double feed detection process for detecting double feed of the document;
When a double feed is detected by the multi-feed detection process, a side of the original is obtained from one image generated by reading the original group consisting of a plurality of the originals being multi-feeded by the reading unit. Edge detection processing for detecting an edge representing a side extending in a direction perpendicular to the document conveyance direction;
An image extraction process for extracting an area in which the interval between the edges adjacent to each other in the one image is maximum;
An output process for controlling the output unit to output an area extracted by the image extraction process;
An image reading apparatus that executes
請求項1に記載の画像読取装置であって、
ユーザに情報を報知する報知部を備え、
前記処理部は、前記報知部を制御して、前記原稿群に含まれる前記原稿のうち本来最初に読み取られるべき原稿以外の原稿が全原稿のうち何枚目の原稿であるかをユーザに報知する報知処理を実行する、画像読取装置。
The image reading apparatus according to claim 1 ,
A notification unit for notifying the user of information;
The processing unit controls the notifying unit to notify the user of what number of originals other than the original that should be read first among the originals included in the original group. An image reading apparatus that executes notification processing.
請求項に記載の画像読取装置であって、
前記処理部は、前記報知処理において、前記重送検知処理によって重送が検知される前に前記読取部によって読み取られた前記原稿の枚数と前記エッジの数とから、本来最初に読み取られるべき原稿以外の原稿が全原稿のうち何枚目の原稿であるかを判断する、画像読取装置。
The image reading apparatus according to claim 2 ,
In the notification process, the processing unit originally reads a document to be originally read from the number of documents and the number of edges read by the reading unit before the double feed is detected by the double feed detection process. An image reading apparatus that determines the number of originals other than the originals.
請求項3に記載の画像読取装置であって、
前記処理部は、前記報知処理において、前記一の画像において互いに隣り合う前記エッジの間隔が最大となる前記領域を挟んで前記搬送方向に相当する方向の下流側にあるエッジの数及び前記搬送方向に相当する方向の上流側にあるエッジの数がともに2以上である場合は、本来最初に読み取られるべき原稿以外の原稿が全原稿のうち何枚目の原稿であるかをユーザに報知しない、画像読取装置。
The image reading apparatus according to claim 3 ,
In the notification process, the processing unit includes the number of edges on the downstream side in the direction corresponding to the transport direction across the region where the interval between the edges adjacent to each other in the one image is maximum, and the transport direction. When the number of edges on the upstream side in the direction corresponding to is both 2 or more, the user is not notified of which original document other than the original document that should be read first is the original document, Image reading device.
請求項1乃至請求項のいずれか一項に記載の画像読取装置であって、
前記搬送部によって搬送されている前記原稿の厚みに相関する情報を検出する検出部を備え、
前記処理部は、前記重送検知処理において、前記検出部から前記原稿の2枚分以上の厚みを示す前記情報が出力された場合に、前記原稿が重送されていると判断する、画像読取装置。
An image reading apparatus according to any one of claims 1 to 4 ,
A detection unit that detects information correlated with the thickness of the document being conveyed by the conveyance unit;
In the multi-feed detection process, the processing unit determines that the original is being double-fed when the information indicating the thickness of two or more sheets of the original is output from the detection unit. apparatus.
請求項1乃至請求項のいずれか一項に記載の画像読取装置であって、
前記処理部は、
前記重送検知処理によって重送が検知されると、前記原稿の読み取りを中断し、読み取りを継続するか又は読み取りを中止するかの選択をユーザから受け付ける選択処理を実行し、
前記選択処理によって読み取りを継続することが選択された場合は前記読取部を制御して前記原稿の読み取りを継続させ、前記選択処理によって読み取りを中止することが選択された場合は前記読取部を制御して前記原稿の読み取りを中止させる、画像読取装置。
An image reading apparatus according to any one of claims 1 to 5 ,
The processor is
When a double feed is detected by the double feed detection process, the reading of the original is interrupted, and a selection process for receiving a selection from the user to continue reading or to stop reading is executed.
When the selection process is selected to continue reading, the reading unit is controlled to continue reading the document, and when the selection process is selected to stop reading, the reading unit is controlled. An image reading device that stops reading the original.
JP2011285919A 2011-12-27 2011-12-27 Image reading device Active JP5807545B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011285919A JP5807545B2 (en) 2011-12-27 2011-12-27 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011285919A JP5807545B2 (en) 2011-12-27 2011-12-27 Image reading device

Publications (2)

Publication Number Publication Date
JP2013135399A JP2013135399A (en) 2013-07-08
JP5807545B2 true JP5807545B2 (en) 2015-11-10

Family

ID=48911802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011285919A Active JP5807545B2 (en) 2011-12-27 2011-12-27 Image reading device

Country Status (1)

Country Link
JP (1) JP5807545B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06105062A (en) * 1992-09-21 1994-04-15 Ricoh Co Ltd Method and device for multifeed detection
JPH10155055A (en) * 1996-11-21 1998-06-09 Fujitsu Ltd Paper carrier controller for optical image reader
JP4347841B2 (en) * 2005-10-07 2009-10-21 シャープ株式会社 Document reader
JP5101362B2 (en) * 2007-03-29 2012-12-19 キヤノン電子株式会社 Image reading apparatus, image reading apparatus control method, and image reading apparatus control program
JP5451520B2 (en) * 2010-05-14 2014-03-26 株式会社Pfu Multifeed processing apparatus, multifeed processing method, and multifeed processing program

Also Published As

Publication number Publication date
JP2013135399A (en) 2013-07-08

Similar Documents

Publication Publication Date Title
JP5333400B2 (en) Image reading device
JP5724311B2 (en) Image processing apparatus, image processing system, and image processing program
JP7171415B2 (en) Double feed detection device, control method and control program
JP2013031090A (en) Image reader and reading control program
JP2011024129A (en) Image reading apparatus, image forming apparatus, and program
JP5278413B2 (en) Image reading apparatus and program used therefor
JP2015198327A (en) Image reading device, image reading method, and computer program
JP2016010094A (en) Image reading apparatus
JP5807545B2 (en) Image reading device
US11558520B2 (en) Image reading device, image forming apparatus, image correction method, and non-transitory recording medium
JP7298367B2 (en) Reader and double feed detection method
JP6716013B2 (en) Image reading device, control method, and control program
JP2001350225A (en) Original feeder
JP2022128248A (en) Image reading device and image forming apparatus
JP5765169B2 (en) Image processing apparatus, image reading apparatus, and image processing program
JP2015130658A (en) Reading device and reading method, and image forming system
JP2011024055A (en) Image reading apparatus and image processor
JP6561732B2 (en) Reader and program
JP5383296B2 (en) Image reading apparatus and method, and program
JP6428057B2 (en) Reading device, notification method, and program
JP2005073036A (en) Double-side reading system
JP2018140864A (en) Paper carrying device, control method and control program
JP2005073035A (en) Double-side reading system
JP2010245889A (en) Image reader
JP2013046361A (en) Image reader and image forming apparatus

Legal Events

Date Code Title Description
RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20140408

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150210

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150401

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150824

R150 Certificate of patent or registration of utility model

Ref document number: 5807545

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150