JP2021011329A - Image reader, control method and control program - Google Patents

Image reader, control method and control program Download PDF

Info

Publication number
JP2021011329A
JP2021011329A JP2019124690A JP2019124690A JP2021011329A JP 2021011329 A JP2021011329 A JP 2021011329A JP 2019124690 A JP2019124690 A JP 2019124690A JP 2019124690 A JP2019124690 A JP 2019124690A JP 2021011329 A JP2021011329 A JP 2021011329A
Authority
JP
Japan
Prior art keywords
medium
transport
unit
image
input image
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
Application number
JP2019124690A
Other languages
Japanese (ja)
Inventor
真人 山元
Masato Yamamoto
真人 山元
勝紀 青山
Masaki Aoyama
勝紀 青山
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP2019124690A priority Critical patent/JP2021011329A/en
Publication of JP2021011329A publication Critical patent/JP2021011329A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controlling Sheets Or Webs (AREA)
  • Registering Or Overturning Sheets (AREA)
  • Image Input (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

To provide an image reader, a control method, and a control program that enable a medium to be transported more appropriately.SOLUTION: An image reader 100 has second transport parts 116, 117 including two transport rollers arranged at intervals in a direction perpendicular to a medium transport direction and rotating independently of each other, a control part 141 that makes an image pickup part 114 generate a first input image while transporting a medium from first transport parts 112, 113 side to the second transport part side, and after making the image pickup part generate the first input image, makes the image pickup part generate a second input image while transporting the medium from the second transport part side to the first transport part side, a tilt detection part 142 detecting a tilt of the medium based on the first input image, and an output part 122 outputting the second input image. The control part compensates a skew of the medium by mutually varying peripheral speeds of the two transport rollers based on the tilt.SELECTED DRAWING: Figure 6

Description

本発明は、画像読取装置、制御方法及び制御プログラムに関し、特に、搬送された媒体の画像を生成する画像読取装置、制御方法及び制御プログラムに関する。 The present invention relates to an image reader, a control method and a control program, and more particularly to an image reader, a control method and a control program for generating an image of a conveyed medium.

一般に、スキャナ等の画像読取装置は、搬送ローラ等の搬送部により媒体を搬送させながら媒体の画像を生成する。しかしながら、このような画像読取装置では、媒体を搬送させて読み取る際に、媒体が傾いて搬送されるスキュー(斜行)が発生し、媒体の一部が撮像装置の撮像範囲外を通過して、媒体全体が撮像されない場合がある。 In general, an image reading device such as a scanner generates an image of a medium while conveying the medium by a conveying unit such as a conveying roller. However, in such an image reading device, when the medium is conveyed and read, skew (skew) in which the medium is inclined and conveyed occurs, and a part of the medium passes outside the imaging range of the imaging device. , The entire medium may not be imaged.

反転前搬送ローラによりシートをスイッチバックパスへ引き込み、スイッチバックパスに設けられた正逆転可能な反転ローラのスイッチバック動作により、シートの先後端を入れ替えるシート搬送装置が開示されている(特許文献1を参照)。このシート搬送装置は、反転前搬送ローラの押し込みによってシートを反転ローラのニップ線に倣うようにして、シートの斜行補正(スキュー補正)を行う。 A sheet transfer device is disclosed in which a sheet is pulled into a switchback path by a pre-reversal transfer roller, and the front and rear ends of the sheet are replaced by a switchback operation of a forward / reverse reversible roller provided in the switchback path (Patent Document 1). See). This sheet transfer device performs skew correction (skew correction) of the sheet by pushing the transfer roller before reversal so that the sheet follows the nip line of the reversal roller.

搬送部により原稿を搬送しながら画像読取部が読み取った原稿の読取画像に基づいて、原稿の斜行量を特定し、特定した斜行量及び予め設定された閾値に基づいて、原稿の搬送を抑制するように搬送部を制御する制御装置が開示されている(特許文献2を参照)。 While transporting the document by the transport unit, the skew amount of the document is specified based on the scanned image of the document read by the image scanning unit, and the document is transported based on the specified skew amount and the preset threshold value. A control device that controls a transport unit so as to suppress it is disclosed (see Patent Document 2).

特開2012−056668号公報Japanese Unexamined Patent Publication No. 2012-0566668 特開2016−001795号公報Japanese Unexamined Patent Publication No. 2016-001795

媒体を搬送させながら画像を生成する画像読取装置では、媒体をより適切に搬送させることが望まれている。 In an image reading device that generates an image while transporting a medium, it is desired to transport the medium more appropriately.

本発明の目的は、媒体をより適切に搬送させることが可能な画像読取装置、制御方法及び制御プログラムを提供することにある。 An object of the present invention is to provide an image reader, a control method, and a control program capable of transporting a medium more appropriately.

本実施形態の一側面に係る画像読取装置は、撮像部と、第1搬送部と、第1搬送部に対して撮像部を挟んで配置され、且つ、媒体搬送方向と直交する方向に間隔を空けて配置されてそれぞれ独立に回転する二つの搬送ローラを含む第2搬送部と、第1搬送部側から第2搬送部側に向けて媒体を搬送させながら撮像部に第1入力画像を生成させ、且つ、撮像部に第1入力画像を生成させた後に、第2搬送部側から第1搬送部側に向けて媒体を搬送させながら撮像部に第2入力画像を生成させる制御部と、第1入力画像に基づいて、媒体の傾きを検出する傾き検出部と、第2入力画像を出力する出力部と、を有し、制御部は、傾きに基づいて、二つの搬送ローラの周速度を相互に異ならせることにより媒体のスキューを補正する。 The image reading device according to one aspect of the present embodiment is arranged with the image pickup unit, the first transport unit, and the first transport unit sandwiching the image pickup unit, and is spaced in a direction orthogonal to the medium transport direction. A second transport unit including two transport rollers that are arranged apart and rotate independently, and a first input image is generated in the image pickup unit while transporting the medium from the first transport unit side to the second transport unit side. A control unit that causes the image pickup unit to generate the first input image, and then causes the image pickup unit to generate the second input image while transporting the medium from the second transport unit side to the first transport unit side. It has a tilt detection unit that detects the tilt of the medium based on the first input image and an output unit that outputs the second input image, and the control unit has the peripheral speeds of the two transport rollers based on the tilt. Correct the skew of the medium by making them different from each other.

また、本実施形態の一側面に係る制御方法は、撮像部と、第1搬送部と、第1搬送部に対して撮像部を挟んで配置され、且つ、媒体搬送方向と直交する方向に間隔を空けて配置されてそれぞれ独立に回転する二つの第2搬送ローラを含む第2搬送部と、出力部とを有する画像読取装置の制御方法であって、第1搬送部側から第2搬送部側に向けて媒体を搬送させながら撮像部に第1入力画像を生成させ、且つ、撮像部に第1入力画像を生成させた後に、第2搬送部側から第1搬送部側に向けて媒体を搬送させながら撮像部に第2入力画像を生成させ、第1入力画像に基づいて、媒体の傾きを検出し、第2入力画像を出力部から出力する、ことを含み、第2入力画像の生成において、傾きに基づいて、二つの第2搬送ローラの周速度を相互に異ならせることにより媒体のスキューを補正する。 Further, the control method according to one aspect of the present embodiment is arranged with the imaging unit sandwiched between the imaging unit, the first transport unit, and the first transport unit, and is spaced in a direction orthogonal to the medium transport direction. This is a control method for an image reader having a second transport unit including two second transport rollers that are arranged apart from each other and rotate independently, and an output unit, from the first transport unit side to the second transport unit. After the image pickup unit generates the first input image while the medium is conveyed toward the side and the image pickup unit generates the first input image, the medium is conveyed from the second transfer unit side toward the first transfer unit side. The second input image is generated by the imaging unit, the inclination of the medium is detected based on the first input image, and the second input image is output from the output unit. In the generation, the skew of the medium is corrected by making the peripheral velocities of the two second transport rollers different from each other based on the inclination.

また、本実施形態の一側面に係る制御プログラムは、撮像部と、第1搬送部と、第1搬送部に対して撮像部を挟んで配置され、且つ、媒体搬送方向と直交する方向に間隔を空けて配置されてそれぞれ独立に回転する二つの第2搬送ローラを含む第2搬送部と、出力部とを有する画像読取装置の制御プログラムであって、第1搬送部側から第2搬送部側に向けて媒体を搬送させながら撮像部に第1入力画像を生成させ、且つ、撮像部に第1入力画像を生成させた後に、第2搬送部側から第1搬送部側に向けて媒体を搬送させながら撮像部に第2入力画像を生成させ、第1入力画像に基づいて、媒体の傾きを検出し、第2入力画像を出力部から出力する、ことを画像読取装置に実行させ、第2入力画像の生成において、傾きに基づいて、二つの第2搬送ローラの周速度を相互に異ならせることにより媒体のスキューを補正する。 Further, the control program according to one aspect of the present embodiment is arranged with the imaging unit sandwiched between the imaging unit, the first transport unit, and the first transport unit, and is spaced in a direction orthogonal to the medium transport direction. This is a control program for an image reader having a second transport unit including two second transport rollers that are arranged apart from each other and rotate independently, and an output unit, from the first transport unit side to the second transport unit. After the image pickup unit generates the first input image while the medium is conveyed toward the side and the image pickup unit generates the first input image, the medium is conveyed from the second transfer unit side toward the first transfer unit side. The image reading device is made to execute that the image pickup unit generates the second input image, detects the inclination of the medium based on the first input image, and outputs the second input image from the output unit. In the generation of the second input image, the skew of the medium is corrected by making the peripheral speeds of the two second transport rollers different from each other based on the inclination.

本実施形態によれば、制御方法及び制御プログラムは、媒体をより適切に搬送させることが可能となる。 According to this embodiment, the control method and the control program can more appropriately convey the medium.

実施形態に従った画像読取装置100の一例の斜視図である。It is a perspective view of an example of an image reading apparatus 100 according to an embodiment. 画像読取装置100内部の搬送経路を説明するための図である。It is a figure for demonstrating the transport path in the image reading apparatus 100. 各搬送ローラの配置について説明するための模式図である。It is a schematic diagram for demonstrating the arrangement of each transfer roller. 画像読取装置100の概略構成を示すブロック図である。It is a block diagram which shows the schematic structure of the image reading apparatus 100. 記憶装置130及びCPU140の概略構成を示す図である。It is a figure which shows the schematic structure of the storage device 130 and the CPU 140. 画像読取処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the image reading process. 第1入力画像の一例を示す模式図である。It is a schematic diagram which shows an example of the 1st input image. 第2入力画像の一例を示す模式図である。It is a schematic diagram which shows an example of the 2nd input image. 他の画像読取処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of other image reading processing. さらに他の画像読取処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of another image reading process. 他の処理回路250の概略構成を示すブロック図である。It is a block diagram which shows the schematic structure of another processing circuit 250.

以下、本発明の一側面に係る画像読取装置について図を参照しつつ説明する。但し、本発明の技術的範囲はそれらの実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶ点に留意されたい。 Hereinafter, the image reading device according to one aspect of the present invention will be described with reference to the drawings. However, it should be noted that the technical scope of the present invention is not limited to those embodiments, but extends to the inventions described in the claims and their equivalents.

図1は、実施形態に従った画像読取装置100の一例を示す斜視図である。 FIG. 1 is a perspective view showing an example of an image reading device 100 according to an embodiment.

画像読取装置100は、媒体を搬送させながら媒体の画像を生成するイメージスキャナ等である。媒体は、原稿、用紙、厚紙、カード、冊子又はパスポート等である。画像読取装置100は、ファクシミリ、複写機、プリンタ複合機(MFP、Multifunction Peripheral)等でもよい。 The image reading device 100 is an image scanner or the like that generates an image of the medium while transporting the medium. The medium is a manuscript, paper, cardboard, card, booklet, passport, or the like. The image reading device 100 may be a facsimile, a copying machine, a multifunction printer (MFP, Multifunction Peripheral) or the like.

画像読取装置100は、下側筐体101、上側筐体102、挿入口103、表示装置104及び操作装置105等を備える。 The image reading device 100 includes a lower housing 101, an upper housing 102, an insertion port 103, a display device 104, an operating device 105, and the like.

上側筐体102は、画像読取装置100の上面を覆う位置に配置され、下側筐体101に係合している。上側筐体102と下側筐体101の間には、媒体の挿入口103が設けられている。図1において矢印A1は媒体の挿入方向を示し、矢印A2は媒体の排出方向を示す。媒体の挿入方向A1及び排出方向A2は、媒体搬送方向の一例である。 The upper housing 102 is arranged at a position covering the upper surface of the image reading device 100 and engages with the lower housing 101. A medium insertion port 103 is provided between the upper housing 102 and the lower housing 101. In FIG. 1, the arrow A1 indicates the insertion direction of the medium, and the arrow A2 indicates the discharge direction of the medium. The medium insertion direction A1 and the medium discharge direction A2 are examples of the medium transport direction.

表示装置104は、LED(Light Emitting Diode)及びLEDを制御するためのインタフェース回路を有し、装置の状態に応じてLEDを点灯又は消灯させる。 The display device 104 has an LED (Light Emitting Diode) and an interface circuit for controlling the LED, and turns the LED on or off according to the state of the device.

操作装置105は、ボタン等の入力デバイス及び入力デバイスから信号を取得するインタフェース回路を有し、利用者による操作を受け付け、利用者の入力に応じた信号を出力する。 The operation device 105 has an input device such as a button and an interface circuit for acquiring a signal from the input device, receives an operation by the user, and outputs a signal according to the input of the user.

図2は、画像読取装置100内部の搬送経路を説明するための図である。 FIG. 2 is a diagram for explaining a transport path inside the image reading device 100.

画像読取装置100内部の搬送経路は、第1発光器111a、第1受光器111b、第1搬送ローラ112a、112b、第2搬送ローラ113a、113b、第1撮像装置114a、第2撮像装置114b、第2発光器115a、第2受光器115b、第3搬送ローラ116a、116b及び第4搬送ローラ117a、117b等を有している。 The transport paths inside the image reader 100 include a first light emitter 111a, a first light receiver 111b, first transport rollers 112a and 112b, second transport rollers 113a and 113b, a first image pickup device 114a, and a second image pickup device 114b. It has a second light emitter 115a, a second light receiver 115b, a third transfer roller 116a, 116b, a fourth transfer roller 117a, 117b, and the like.

以下では、第1搬送ローラ112a及び112bを総じて第1搬送ローラ112と称する場合がある。また、第2搬送ローラ113a及び113bを総じて第2搬送ローラ113と称する場合がある。また、第3搬送ローラ116a及び116bを総じて第3搬送ローラ116と称する場合がある。また、第4搬送ローラ117a及び117bを総じて第4搬送ローラ117と称する場合がある。また、第1撮像装置114a及び第2撮像装置114bを総じて撮像装置114と称する場合がある。 Hereinafter, the first transfer rollers 112a and 112b may be collectively referred to as the first transfer rollers 112. Further, the second transfer rollers 113a and 113b may be collectively referred to as the second transfer rollers 113. Further, the third transfer rollers 116a and 116b may be collectively referred to as the third transfer rollers 116. Further, the fourth transfer rollers 117a and 117b may be collectively referred to as the fourth transfer rollers 117. Further, the first imaging device 114a and the second imaging device 114b may be collectively referred to as an imaging device 114.

上側筐体102の下面は媒体の搬送路の上側ガイド106aを形成し、下側筐体101の上面は媒体の搬送路の下側ガイド106bを形成する。上側ガイド106aと下側ガイド106bにより、媒体の挿入口103と退避口107とが形成される。挿入口103は、読取対象の媒体を画像読取装置100に挿入するための開口部であり、退避口107は、読取対象の媒体を画像読取装置100の外部に一時的に退避させるための開口部である。以下では、上流とは媒体の挿入方向A1の上流のことをいい、下流とは媒体の挿入方向A1の下流のことをいう。 The lower surface of the upper housing 102 forms the upper guide 106a of the medium transport path, and the upper surface of the lower housing 101 forms the lower guide 106b of the medium transport path. The upper guide 106a and the lower guide 106b form the media insertion port 103 and the evacuation port 107. The insertion port 103 is an opening for inserting the medium to be read into the image reading device 100, and the evacuation port 107 is an opening for temporarily retracting the medium to be read to the outside of the image reading device 100. Is. In the following, the upstream means the upstream of the medium insertion direction A1, and the downstream means the downstream of the medium insertion direction A1.

第1発光器111a及び第1受光器111bは、第1搬送ローラ112及び第2搬送ローラ113の上流側に配置される。第1発光器111a及び第1受光器111bは、媒体の搬送路の近傍に、搬送路を挟んで対向して配置される。第1発光器111aは、第1受光器111bに向けて光を放射する。搬送路に媒体が存在しないときは、第1受光器111bは第1発光器111aから放射された光を検知する。一方、搬送路に媒体が存在するときは、第1発光器111aから放射された光は搬送路に存在する媒体に遮られ、第1受光器111bは第1発光器111aから放射された光を検知しない。第1受光器111bは、受光した光の強度に応じて、第1発光器111aと第1受光器111bの間に媒体が存在するか否かを検出し、媒体が存在するか否かを示す第1媒体検出信号を生成して出力する。以下では、第1発光器111a及び第1受光器111bを総じて第1媒体センサ111と称する場合がある。 The first light emitter 111a and the first light receiver 111b are arranged on the upstream side of the first transfer roller 112 and the second transfer roller 113. The first light emitter 111a and the first light receiver 111b are arranged in the vicinity of the transport path of the medium so as to face each other with the transport path in between. The first light emitter 111a emits light toward the first light receiver 111b. When there is no medium in the transport path, the first light receiver 111b detects the light emitted from the first light emitter 111a. On the other hand, when a medium is present in the transport path, the light radiated from the first light emitter 111a is blocked by the medium existing in the transport path, and the first light receiver 111b emits the light radiated from the first light emitter 111a. Not detected. The first light receiver 111b detects whether or not a medium exists between the first light emitter 111a and the first light receiver 111b according to the intensity of the received light, and indicates whether or not the medium exists. The first medium detection signal is generated and output. Hereinafter, the first light emitter 111a and the first receiver 111b may be collectively referred to as the first medium sensor 111.

第1搬送ローラ112及び第2搬送ローラ113は、第1搬送部の一例であり、第1発光器111a及び第1受光器111bの下流側且つ撮像装置114の上流側に設けられ、媒体を撮像装置114に対して移動させる。第1搬送ローラ112及び第2搬送ローラ113は、正転及び逆転可能に設けられている。なお、第1搬送ローラ112及び第2搬送ローラ113の内の一方のローラは従動ローラでもよい。また、第1搬送ローラ112及び第2搬送ローラ113の内の一方のローラの代わりに、パッド等が用いられてもよい。 The first transport roller 112 and the second transport roller 113 are examples of the first transport unit, and are provided on the downstream side of the first light emitter 111a and the first light receiver 111b and on the upstream side of the image pickup device 114 to image a medium. Move relative to device 114. The first transfer roller 112 and the second transfer roller 113 are provided so as to be capable of forward rotation and reverse rotation. One of the first transfer roller 112 and the second transfer roller 113 may be a driven roller. Further, a pad or the like may be used instead of one of the first transfer roller 112 and the second transfer roller 113.

第1撮像装置114aは、撮像部の一例であり、主走査方向に直線状に配列されたCMOS(Complementary Metal Oxide Semiconductor)による撮像素子を備える等倍光学系タイプのCIS(Contact Image Sensor)を有する。また、第1撮像装置114aは、撮像素子上に像を結ぶレンズと、撮像素子から出力された電気信号を増幅し、アナログ/デジタル(A/D)変換するA/D変換器とを有する。第1撮像装置114aは、搬送された媒体の表面を撮像した画像を生成して出力する。 The first image pickup device 114a is an example of an image pickup unit, and has a CIS (Contact Image Sensor) of the same magnification optical system type including an image pickup element by CMOS (Complementary Metal Oxide Semiconductor) arranged linearly in the main scanning direction. .. Further, the first image pickup device 114a includes a lens that forms an image on the image pickup element and an A / D converter that amplifies an electric signal output from the image pickup element and performs analog / digital (A / D) conversion. The first imaging device 114a generates and outputs an image of the surface of the conveyed medium.

同様に、第2撮像装置114bは、撮像部の一例であり、主走査方向に直線状に配列されたCMOSによる撮像素子を備える等倍光学系タイプのCISを有する。また、第2撮像装置114bは、撮像素子上に像を結ぶレンズと、撮像素子から出力された電気信号を増幅し、アナログ/デジタル(A/D)変換するA/D変換器とを有する。第2撮像装置114bは、搬送された媒体の裏面を撮像した画像を生成して出力する。 Similarly, the second image pickup device 114b is an example of an image pickup unit, and has a 1x optical system type CIS including CMOS image pickup elements linearly arranged in the main scanning direction. Further, the second image pickup apparatus 114b includes a lens that forms an image on the image pickup element and an A / D converter that amplifies an electric signal output from the image pickup element and performs analog / digital (A / D) conversion. The second imaging device 114b generates and outputs an image of the back surface of the conveyed medium.

なお、等倍光学系タイプの撮像センサの代わりに縮小光学系タイプの撮像センサが使用され、CMOSの代わりにCCD(Charge Coupled Device)が使用されてもよい。 A reduction optical system type image sensor may be used instead of the 1x optical system type image sensor, and a CCD (Charge Coupled Device) may be used instead of CMOS.

第2発光器115a及び第2受光器115bは、撮像装置114の下流側であり且つ第3搬送ローラ116及び第4搬送ローラ117の上流側に配置される。第2発光器115a及び第2受光器115bは、媒体の搬送路の近傍に、搬送路を挟んで対向して配置される。第2発光器115aは、第2受光器115bに向けて光を放射する。第2受光器115bは、受光した光の強度に応じて、第2発光器115aと第2受光器115bの間に媒体が存在するか否かを検出し、媒体が存在するか否かを示す第2検出信号を生成して出力する。以下では、第2発光器115a及び第2受光器115bを総じて第2媒体センサ115と称する場合がある。 The second light emitter 115a and the second light receiver 115b are arranged on the downstream side of the image pickup apparatus 114 and on the upstream side of the third transfer roller 116 and the fourth transfer roller 117. The second light emitter 115a and the second light receiver 115b are arranged in the vicinity of the transport path of the medium so as to face each other with the transport path in between. The second light emitter 115a emits light toward the second light receiver 115b. The second light receiver 115b detects whether or not a medium exists between the second light emitter 115a and the second light receiver 115b according to the intensity of the received light, and indicates whether or not the medium exists. A second detection signal is generated and output. Hereinafter, the second light emitter 115a and the second light receiver 115b may be collectively referred to as the second medium sensor 115.

第3搬送ローラ116及び第4搬送ローラ117は、第2搬送部の一例であり、撮像装置114及び第2媒体センサ115の下流側に設けられ、媒体を撮像装置114に対して移動させる。即ち、第3搬送ローラ116及び第4搬送ローラ117は、第1搬送ローラ112及び第2搬送ローラ113に対して、撮像装置114を挟んで配置される。このように、第1搬送ローラ112及び第2搬送ローラ113と、第3搬送ローラ116及び第4搬送ローラ117とは、媒体搬送方向に対して撮像装置114の両端に設けられている。第3搬送ローラ116及び第4搬送ローラ117は、正転及び逆転可能に設けられている。なお、第3搬送ローラ116及び第4搬送ローラ117の内の一方のローラの代わりに、パッド等が用いられてもよい。 The third transfer roller 116 and the fourth transfer roller 117 are examples of the second transfer unit, and are provided on the downstream side of the image pickup device 114 and the second medium sensor 115 to move the medium with respect to the image pickup device 114. That is, the third transfer roller 116 and the fourth transfer roller 117 are arranged with respect to the first transfer roller 112 and the second transfer roller 113 with the image pickup device 114 interposed therebetween. As described above, the first transfer roller 112 and the second transfer roller 113, and the third transfer roller 116 and the fourth transfer roller 117 are provided at both ends of the image pickup apparatus 114 with respect to the medium transfer direction. The third transfer roller 116 and the fourth transfer roller 117 are provided so as to be capable of forward rotation and reverse rotation. A pad or the like may be used instead of one of the third transfer roller 116 and the fourth transfer roller 117.

挿入口103から画像読取装置100に挿入された媒体は、上側ガイド106aと下側ガイド106bによりガイドされながら、挿入方向A1に向かって移動し、第1搬送ローラ112と第2搬送ローラ113の間に送り込まれる。媒体は、第1搬送ローラ112が矢印A3の方向に回転し、第2搬送ローラ113が矢印A4の方向に回転することによって、第1撮像装置114aと第2撮像装置114bの間に送り込まれる。撮像装置114により読み取られた媒体は、第3搬送ローラ116が矢印A3の方向に回転し、第4搬送ローラ117が矢印A4の方向に回転することによって退避口107から画像読取装置100の外部に退避する。 The medium inserted into the image reading device 100 from the insertion port 103 moves toward the insertion direction A1 while being guided by the upper guide 106a and the lower guide 106b, and is between the first transfer roller 112 and the second transfer roller 113. Is sent to. The medium is fed between the first imaging device 114a and the second imaging device 114b by rotating the first transport roller 112 in the direction of arrow A3 and the second transport roller 113 in the direction of arrow A4. The medium read by the image pickup device 114 is moved from the evacuation port 107 to the outside of the image reading device 100 by the third transport roller 116 rotating in the direction of arrow A3 and the fourth transport roller 117 rotating in the direction of arrow A4. evacuate.

その後、媒体の後端が撮像装置114の撮像位置を通過したときに、第3搬送ローラ116が矢印A3と反対の方向に回転し、第4搬送ローラ117が矢印A4と反対の方向に回転する。これによって、媒体は、排出方向A2に向かって移動(スイッチバック)し、第1撮像装置114aと第2撮像装置114bの間に戻っていく。撮像装置114により再度読み取られた媒体は、第1搬送ローラ112が矢印A3と反対の方向に回転し、第2搬送ローラ113が矢印A4と反対の方向に回転することによって、挿入口103から画像読取装置100の外部に排出される。 After that, when the rear end of the medium passes the imaging position of the imaging device 114, the third transport roller 116 rotates in the direction opposite to the arrow A3, and the fourth transport roller 117 rotates in the direction opposite to the arrow A4. .. As a result, the medium moves (switches back) toward the discharge direction A2 and returns between the first imaging device 114a and the second imaging device 114b. The medium read again by the image pickup apparatus 114 is an image from the insertion port 103 by the first transport roller 112 rotating in the direction opposite to the arrow A3 and the second transport roller 113 rotating in the direction opposite to the arrow A4. It is discharged to the outside of the reading device 100.

図3は、第1搬送ローラ112、第2搬送ローラ113、第3搬送ローラ116及び第4搬送ローラ117の配置について説明するための模式図である。図3は、上側筐体102を取り外した状態で下側筐体101を上方から見た模式図である。 FIG. 3 is a schematic view for explaining the arrangement of the first transfer roller 112, the second transfer roller 113, the third transfer roller 116, and the fourth transfer roller 117. FIG. 3 is a schematic view of the lower housing 101 viewed from above with the upper housing 102 removed.

図3に示すように、画像読取装置100は、二つの第1搬送ローラ112a、112b及び二つの第3搬送ローラ116a、116bを有している。二つの第1搬送ローラ112a、112bは、媒体の挿入方向A1及び排出方向A2と直交する方向、即ち媒体搬送方向と直交する方向A5に間隔を空けて並べて配置される。二つの第3搬送ローラ116a、116bは、媒体搬送方向と直交する方向A5に間隔を空けて並べて配置される。 As shown in FIG. 3, the image reading device 100 has two first transport rollers 112a and 112b and two third transport rollers 116a and 116b. The two first transport rollers 112a and 112b are arranged side by side at intervals in a direction orthogonal to the medium insertion direction A1 and a medium discharge direction A2, that is, a direction A5 orthogonal to the medium transport direction. The two third transfer rollers 116a and 116b are arranged side by side at intervals in the direction A5 orthogonal to the medium transfer direction.

図示しないが、画像読取装置100は、二つの第2搬送ローラ113a、113b及び二つの第4搬送ローラ117a、117bを有している。二つの第2搬送ローラ113a、113bは、それぞれ二つの二つの第1搬送ローラ112a、112bと対向する位置に、媒体搬送方向と直交する方向A5に間隔を空けて並べて配置される。二つの第4搬送ローラ117a、117bは、それぞれ二つの第3搬送ローラ116a、116bと対向する位置に、媒体搬送方向と直交する方向A5に間隔を空けて並べて配置される。 Although not shown, the image reading device 100 has two second transport rollers 113a and 113b and two fourth transport rollers 117a and 117b. The two second transport rollers 113a and 113b are arranged side by side at positions facing the two first transport rollers 112a and 112b, respectively, in the direction A5 orthogonal to the medium transport direction. The two fourth transport rollers 117a and 117b are arranged side by side at positions facing the two third transport rollers 116a and 116b, respectively, in the direction A5 orthogonal to the medium transport direction.

二つの第3搬送ローラ116a、116bは、それぞれ独立に回転するように別個のモータにより回転駆動される。二つの第4搬送ローラ117a、117bも、それぞれ独立に回転するように別個のモータにより回転駆動される。なお、二つの第1搬送ローラ112a、112bも、それぞれ独立に回転するように別個のモータにより回転駆動されてもよい。また、二つの第2搬送ローラ113もそれぞれ独立に回転するように別個のモータにより回転駆動されてもよい。各モータとして、回転速度を設定(変更)可能なモータが用いられる。 The two third transfer rollers 116a and 116b are rotationally driven by separate motors so as to rotate independently of each other. The two fourth transport rollers 117a and 117b are also rotationally driven by separate motors so that they rotate independently. The two first transport rollers 112a and 112b may also be rotationally driven by separate motors so as to rotate independently. Further, the two second transport rollers 113 may also be rotationally driven by separate motors so as to rotate independently. As each motor, a motor whose rotation speed can be set (changed) is used.

二つの第3搬送ローラ116a、116b及び二つの第4搬送ローラ117a、117bは、それぞれ二つの搬送ローラの一例である。なお、第1搬送ローラ112、第2搬送ローラ113、第3搬送ローラ116及び第4搬送ローラ117の数は、二つに限定されず、三つ以上でもよい。 The two third transfer rollers 116a and 116b and the two fourth transfer rollers 117a and 117b are examples of two transfer rollers, respectively. The number of the first transfer roller 112, the second transfer roller 113, the third transfer roller 116, and the fourth transfer roller 117 is not limited to two, and may be three or more.

図4は、画像読取装置100の概略構成を示すブロック図である。 FIG. 4 is a block diagram showing a schematic configuration of the image reading device 100.

画像読取装置100は、前述した構成に加えて、駆動装置121、インタフェース装置122、記憶装置130、CPU(Central Processing Unit)140及び処理回路150等をさらに有する。 The image reading device 100 further includes a driving device 121, an interface device 122, a storage device 130, a CPU (Central Processing Unit) 140, a processing circuit 150, and the like, in addition to the above-described configuration.

駆動装置121は、複数のモータを有し、CPU140からの制御信号によって、第1〜第4搬送ローラ112、113、116、117を回転させて媒体を搬送させる。駆動装置121は、第1〜第4搬送ローラ112a、113a、116a、117aを回転駆動するための第1モータと、第1〜第4搬送ローラ112b、113b、116b、117bを回転駆動するための第2モータとを別個に有する。 The drive device 121 has a plurality of motors, and rotates the first to fourth transport rollers 112, 113, 116, and 117 according to a control signal from the CPU 140 to transport the medium. The drive device 121 is for rotationally driving the first motor for rotationally driving the first to fourth transport rollers 112a, 113a, 116a, 117a and the first to fourth transport rollers 112b, 113b, 116b, 117b. It has a second motor separately.

インタフェース装置122は、出力部の一例であり、例えばUSB(Universal Serial Bus)等のシリアルバスに準じるインタフェース回路を有する。インタフェース装置122は、不図示の情報処理装置と通信接続して各種の画像及び情報を送受信する。また、インタフェース装置122の代わりに、無線信号を送受信するアンテナと、所定の通信プロトコルに従って、無線通信回線を通じて信号の送受信を行うための無線通信インタフェース回路とを有する通信部が用いられてもよい。所定の通信プロトコルは、例えば無線LAN(Local Area Network)である。 The interface device 122 is an example of an output unit, and has an interface circuit similar to a serial bus such as USB (Universal Serial Bus). The interface device 122 communicates with an information processing device (not shown) to transmit and receive various images and information. Further, instead of the interface device 122, a communication unit having an antenna for transmitting and receiving wireless signals and a wireless communication interface circuit for transmitting and receiving signals through a wireless communication line according to a predetermined communication protocol may be used. The predetermined communication protocol is, for example, a wireless LAN (Local Area Network).

記憶装置130は、RAM(Random Access Memory)、ROM(Read Only Memory)等のメモリ装置、ハードディスク等の固定ディスク装置、又はフレキシブルディスク、光ディスク等の可搬用の記憶装置等を有する。また、記憶装置130には、画像読取装置100の各種処理に用いられるコンピュータプログラム、データベース、テーブル等が格納される。コンピュータプログラムは、コンピュータ読み取り可能な可搬型記録媒体から、公知のセットアッププログラム等を用いて記憶装置130にインストールされてもよい。可搬型記録媒体は、例えばCD−ROM(compact disk read only memory)、DVD−ROM(digital versatile disk read only memory)等である。また、記憶装置130には、データとして、周速度テーブル及び各種の画像等が格納される。周速度テーブルの詳細については後述する。 The storage device 130 includes a memory device such as a RAM (Random Access Memory) and a ROM (Read Only Memory), a fixed disk device such as a hard disk, or a portable storage device such as a flexible disk and an optical disk. Further, the storage device 130 stores computer programs, databases, tables, etc. used for various processes of the image reading device 100. The computer program may be installed in the storage device 130 from a computer-readable portable recording medium using a known setup program or the like. The portable recording medium is, for example, a CD-ROM (compact disk read only memory), a DVD-ROM (digital versatile disk read only memory), or the like. Further, the storage device 130 stores a peripheral speed table, various images, and the like as data. The details of the peripheral speed table will be described later.

CPU140は、予め記憶装置130に記憶されているプログラムに基づいて動作する。なお、CPU140に代えて、DSP(digital signal processor)、LSI(large scale integration)等が用いられてよい。また、CPU140に代えて、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programming Gate Array)等が用いられてもよい。 The CPU 140 operates based on a program stored in the storage device 130 in advance. Instead of the CPU 140, a DSP (digital signal processor), an LSI (large scale integration), or the like may be used. Further, instead of the CPU 140, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programming Gate Array) or the like may be used.

CPU140は、表示装置104、操作装置105、第1媒体センサ111、撮像装置114、第2媒体センサ115、駆動装置121、インタフェース装置122、記憶装置130及び処理回路150等と接続され、これらの各部を制御する。CPU140は、駆動装置121の駆動制御、撮像装置114の媒体読取制御等を行う。 The CPU 140 is connected to a display device 104, an operation device 105, a first medium sensor 111, an image pickup device 114, a second medium sensor 115, a drive device 121, an interface device 122, a storage device 130, a processing circuit 150, and the like. To control. The CPU 140 performs drive control of the drive device 121, medium reading control of the image pickup device 114, and the like.

処理回路150は、撮像装置114から取得した画像に補正処理等の所定の画像処理を施す。なお、処理回路150として、LSI、DSP、ASIC又はFPGA等が用いられてもよい。 The processing circuit 150 performs predetermined image processing such as correction processing on the image acquired from the image pickup apparatus 114. An LSI, DSP, ASIC, FPGA, or the like may be used as the processing circuit 150.

図5は、記憶装置130及びCPU140の概略構成を示す図である。 FIG. 5 is a diagram showing a schematic configuration of a storage device 130 and a CPU 140.

図5に示すように、記憶装置130には、制御プログラム131、傾き検出プログラム132及び出力制御プログラム133等の各プログラムが記憶される。これらの各プログラムは、プロセッサ上で動作するソフトウェアにより実装される機能モジュールである。CPU140は、記憶装置130に記憶された各プログラムを読み取り、読み取った各プログラムに従って動作する。これにより、CPU140は、制御部141、傾き検出部142及び出力制御部143として機能する。 As shown in FIG. 5, each program such as the control program 131, the tilt detection program 132, and the output control program 133 is stored in the storage device 130. Each of these programs is a functional module implemented by software running on the processor. The CPU 140 reads each program stored in the storage device 130 and operates according to each read program. As a result, the CPU 140 functions as a control unit 141, a tilt detection unit 142, and an output control unit 143.

図6は、画像読取装置100の画像読取処理の動作の例を示すフローチャートである。以下、図6に示したフローチャートを参照しつつ、画像読取装置100の画像読取処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め記憶装置130に記憶されているプログラムに基づき主にCPU140により画像読取装置100の各要素と協働して実行される。 FIG. 6 is a flowchart showing an example of the operation of the image reading process of the image reading device 100. Hereinafter, an example of the operation of the image reading process of the image reading device 100 will be described with reference to the flowchart shown in FIG. The operation flow described below is mainly executed by the CPU 140 in cooperation with each element of the image reading device 100 based on the program stored in the storage device 130 in advance.

最初に、制御部141は、挿入口103から媒体が挿入されたことを検出するまで待機する(ステップS101)。制御部141は、第1媒体センサ111から受信する第1媒体検出信号に基づいて、第1媒体センサ111が配置された位置に媒体が存在するか否かを判定する。制御部141は、その位置に媒体が存在すると判定した場合、挿入口103から媒体が挿入されていると判定する。 First, the control unit 141 waits until it detects that the medium has been inserted from the insertion port 103 (step S101). The control unit 141 determines whether or not the medium exists at the position where the first medium sensor 111 is arranged, based on the first medium detection signal received from the first medium sensor 111. When the control unit 141 determines that the medium exists at that position, the control unit 141 determines that the medium is inserted from the insertion port 103.

媒体が挿入されたことを検出すると、制御部141は、第1搬送ローラ112及び第2搬送ローラ113側から第3搬送ローラ116及び第4搬送ローラ117側に向けて媒体を搬送させながら撮像装置114に第1入力画像を生成させる(ステップS102)。制御部141は、駆動装置121を駆動して第1搬送ローラ112及び第3搬送ローラ116を図2の矢印A3の方向に回転させ、第2搬送ローラ113及び第4搬送ローラ117を図2の矢印A4の方向に回転させて、媒体を挿入方向A1へ搬送させる。また、制御部141は、撮像装置114に媒体の撮像を開始させて、第1入力画像を生成させる。 When it is detected that the medium has been inserted, the control unit 141 conveys the medium from the first transfer roller 112 and the second transfer roller 113 side toward the third transfer roller 116 and the fourth transfer roller 117 side, and the image pickup apparatus. Let 114 generate the first input image (step S102). The control unit 141 drives the drive device 121 to rotate the first transfer roller 112 and the third transfer roller 116 in the direction of the arrow A3 in FIG. 2, and the second transfer roller 113 and the fourth transfer roller 117 are shown in FIG. Rotate in the direction of arrow A4 to convey the medium in the insertion direction A1. In addition, the control unit 141 causes the image pickup device 114 to start imaging the medium to generate the first input image.

次に、制御部141は、第2媒体センサ115から受信する第2媒体検出信号に基づいて、媒体の先端全体が撮像装置114の撮像位置を通過したか否かを判定する(ステップS103)。制御部141は、第2媒体検出信号が、媒体が存在しないことを示す状態から媒体が存在することを示す状態に変化した場合、媒体の先端の一部が第2媒体センサ115の位置を通過したと判定する。制御部141は、媒体の先端の一部が第2媒体センサ115の位置を通過したと判定してから所定時間経過した時に、媒体の先端全体が撮像装置114の撮像位置を通過したと判定する。制御部141は、媒体の先端全体が撮像位置を通過するまで待機し、撮像装置114に媒体を撮像させ続ける。これにより、制御部141は、撮像装置114に媒体の先端、即ち第3搬送ローラ116及び第4搬送ローラ117側の端部を撮像させて第1入力画像を生成させる。 Next, the control unit 141 determines whether or not the entire tip of the medium has passed the image pickup position of the image pickup apparatus 114 based on the second medium detection signal received from the second medium sensor 115 (step S103). When the second medium detection signal changes from the state indicating that the medium does not exist to the state indicating that the medium exists, the control unit 141 passes a part of the tip of the medium through the position of the second medium sensor 115. It is determined that it has been done. The control unit 141 determines that the entire tip of the medium has passed the imaging position of the image pickup apparatus 114 when a predetermined time has elapsed after determining that a part of the tip of the medium has passed the position of the second medium sensor 115. .. The control unit 141 waits until the entire tip of the medium passes the imaging position, and keeps the imaging device 114 imaging the medium. As a result, the control unit 141 causes the image pickup device 114 to take an image of the tip of the medium, that is, the ends of the third transfer roller 116 and the fourth transfer roller 117 side to generate the first input image.

一方、媒体の先端全体が撮像位置を通過した場合、制御部141は、撮像装置114によって生成された第1入力画像を撮像装置114から取得し、撮像装置114に媒体の撮像を停止させる。また、制御部141は、第1〜第4搬送ローラ112、113、116及び117を停止させるように駆動装置121を制御する(ステップS104)。 On the other hand, when the entire tip of the medium has passed the imaging position, the control unit 141 acquires the first input image generated by the imaging device 114 from the imaging device 114, and causes the imaging device 114 to stop the imaging of the medium. Further, the control unit 141 controls the drive device 121 so as to stop the first to fourth transport rollers 112, 113, 116 and 117 (step S104).

図7Aは、第1入力画像の一例を示す模式図である。 FIG. 7A is a schematic view showing an example of the first input image.

図7Aに示す第1入力画像700には、傾いて搬送された媒体701の先端部分702が含まれている。図7Aに示すように、撮像装置114は、媒体の先端の一部が第2媒体センサ115の位置を通過してから所定時間経過するまで媒体を撮像し続けることにより、媒体が傾いて搬送されても媒体の先端全体を撮像することができる。 The first input image 700 shown in FIG. 7A includes a tip portion 702 of the medium 701 that has been tilted and conveyed. As shown in FIG. 7A, the image pickup apparatus 114 tilts and conveys the medium by continuing to image the medium until a predetermined time elapses after a part of the tip of the medium passes the position of the second medium sensor 115. However, the entire tip of the medium can be imaged.

次に、傾き検出部142は、第1入力画像に基づいて、媒体の傾きを検出する(ステップS105)。 Next, the tilt detection unit 142 detects the tilt of the medium based on the first input image (step S105).

最初に、傾き検出部142は、第1入力画像から水平方向(主走査方向)、垂直方向(副走査方向)のそれぞれについてエッジ画素を抽出し、水平方向、垂直方向のそれぞれについてエッジ画素からなるエッジ画像を生成する。傾き検出部142は、第1入力画像内の画素の水平方向の両隣の画素の輝度値の差の絶対値(以下、隣接差分値と称する)を算出し、隣接差分値が所定閾値を越える場合、その入力画像上の画素を垂直エッジ画素として抽出する。所定閾値は、例えば、人が画像上の輝度の違いを目視により判別可能な輝度値の差(例えば20)に設定することができる。傾き検出部142は、垂直方向にも同様の処理を行い、水平エッジ画素を抽出する。 First, the tilt detection unit 142 extracts edge pixels in each of the horizontal direction (main scanning direction) and the vertical direction (secondary scanning direction) from the first input image, and is composed of edge pixels in each of the horizontal direction and the vertical direction. Generate an edge image. The tilt detection unit 142 calculates the absolute value of the difference in the brightness values of the pixels on both sides of the pixel in the horizontal direction in the first input image (hereinafter referred to as the adjacent difference value), and when the adjacent difference value exceeds a predetermined threshold value. , The pixels on the input image are extracted as vertical edge pixels. The predetermined threshold value can be set, for example, to a difference in brightness value (for example, 20) in which a person can visually discriminate the difference in brightness on the image. The tilt detection unit 142 performs the same processing in the vertical direction to extract horizontal edge pixels.

なお、傾き検出部142は、第1入力画像内の各画素の輝度値と各画素から水平又は垂直方向に所定距離だけ離れた画素の輝度値との差の絶対値を隣接差分値として算出してもよい。また、傾き検出部142は、各画素の輝度値に代えて、各画素の色値(R値、G値又はB値)を用いて隣接差分値を算出してもよい。また、傾き検出部142は、第1入力画像の輝度値又は色値を所定閾値と比較することによりエッジ画素を抽出してもよい。例えば、傾き検出部142は、特定の画素の輝度値又は色値が所定閾値未満であり、その特定の画素に隣接する画素又はその特定の画素から所定距離だけ離れた画素の輝度値又は色値が所定閾値以上である場合、その特定の画素をエッジ画素とする。 The tilt detection unit 142 calculates the absolute value of the difference between the brightness value of each pixel in the first input image and the brightness value of the pixel separated from each pixel by a predetermined distance in the horizontal or vertical direction as an adjacent difference value. You may. Further, the inclination detection unit 142 may calculate the adjacent difference value using the color value (R value, G value or B value) of each pixel instead of the brightness value of each pixel. Further, the tilt detection unit 142 may extract edge pixels by comparing the brightness value or the color value of the first input image with a predetermined threshold value. For example, the tilt detection unit 142 has a brightness value or a color value of a pixel whose brightness value or color value of a specific pixel is less than a predetermined threshold value and which is adjacent to the specific pixel or a pixel separated from the specific pixel by a predetermined distance. When is equal to or greater than a predetermined threshold value, the specific pixel is defined as an edge pixel.

次に、傾き検出部142は、水平方向、垂直方向の各エッジ画像から複数の直線を抽出する。傾き検出部142は、ハフ変換を用いて直線を検出する。なお、傾き検出部142は、最小二乗法を用いて直線を検出してもよい。また、傾き検出部142は、各エッジ画像内で相互に隣接するエッジ画素をラベリングにより一つのグループとしてまとめ、各グループの水平方向又は垂直方向における両端に位置する二つのエッジ画素を結んだ近似直線を直線として検出してもよい。 Next, the tilt detection unit 142 extracts a plurality of straight lines from each of the horizontal and vertical edge images. The tilt detection unit 142 detects a straight line using the Hough transform. The inclination detection unit 142 may detect a straight line by using the method of least squares. In addition, the tilt detection unit 142 groups edge pixels adjacent to each other in each edge image into one group by labeling, and connects two edge pixels located at both ends in the horizontal or vertical direction of each group. May be detected as a straight line.

次に、傾き検出部142は、検出した直線の中から、略水平方向(例えば水平方向に対して±20°以内)に延伸し且つ所定長さ(例えば一般的なIDカードの短辺サイズに相当する長さ)以上を有する直線を抽出する。傾き検出部142は、抽出した直線の中で最も上端側(最初に撮像された側)に位置する直線を媒体の先端として検出する。傾き検出部142は、第1入力画像内の水平方向に対する媒体の先端の傾斜角(図7Aのθ)の正接値を媒体の傾きとして検出する。なお、傾き検出部142は、第1入力画像内の水平方向に対する媒体の先端の傾斜角自体を媒体の傾きとして検出してもよい。検出される媒体の傾きには、大きさ及び方向(反時計回り方向か時計回り方向か)が含まれる。 Next, the tilt detection unit 142 extends from the detected straight line in a substantially horizontal direction (for example, within ± 20 ° with respect to the horizontal direction) and has a predetermined length (for example, the short side size of a general ID card). A straight line having (corresponding length) or more is extracted. The tilt detection unit 142 detects the straight line located on the uppermost end side (the side first imaged) of the extracted straight lines as the tip of the medium. The tilt detection unit 142 detects the tangent value of the tilt angle (θ in FIG. 7A) of the tip of the medium with respect to the horizontal direction in the first input image as the tilt of the medium. The tilt detection unit 142 may detect the tilt angle itself of the tip of the medium with respect to the horizontal direction in the first input image as the tilt of the medium. The detected media tilt includes magnitude and direction (counterclockwise or clockwise).

次に、制御部141は、操作装置105から媒体の読み取りを指示する操作信号を受信するまで待機する(ステップS106)。制御部141は、利用者により操作装置105を用いて媒体の読み取りを指示する操作が実行された場合に、操作装置105から操作信号を受信する。 Next, the control unit 141 waits until it receives an operation signal instructing the reading of the medium from the operation device 105 (step S106). The control unit 141 receives an operation signal from the operation device 105 when an operation for instructing the reading of the medium is executed by the user using the operation device 105.

操作装置105から操作信号を受信すると、制御部141は、ステップS102と同様にして、第1搬送ローラ112及び第2搬送ローラ113側から第3搬送ローラ116及び第4搬送ローラ117側に向けて媒体を再搬送させる(ステップS107)。 Upon receiving the operation signal from the operation device 105, the control unit 141 moves from the first transfer roller 112 and the second transfer roller 113 side toward the third transfer roller 116 and the fourth transfer roller 117 side in the same manner as in step S102. The medium is re-conveyed (step S107).

次に、制御部141は、第2媒体センサ115から受信する第2媒体検出信号に基づいて、媒体の後端全体が撮像装置114の撮像位置を通過したか否かを判定する(ステップS108)。制御部141は、第2媒体検出信号が、媒体が存在することを示す状態から媒体が存在しないことを示す状態に変化した場合、媒体の後端の一部が第2媒体センサ115の位置を通過したと判定する。制御部141は、媒体の後端の一部が第2媒体センサ115の位置を通過したと判定してから所定時間経過した時に、媒体の後端全体が撮像装置114の撮像位置を通過したと判定する。制御部141は、媒体の後端全体が撮像位置を通過するまで待機し、媒体を搬送させ続ける。 Next, the control unit 141 determines whether or not the entire rear end of the medium has passed the image pickup position of the image pickup apparatus 114 based on the second medium detection signal received from the second medium sensor 115 (step S108). .. When the second medium detection signal changes from the state indicating the presence of the medium to the state indicating the absence of the medium, the control unit 141 partially determines the position of the second medium sensor 115 at the rear end of the medium. Judge that it has passed. When the control unit 141 determines that a part of the rear end of the medium has passed the position of the second medium sensor 115 and a predetermined time elapses, the entire rear end of the medium has passed the imaging position of the image pickup apparatus 114. judge. The control unit 141 waits until the entire rear end of the medium passes the imaging position, and continues to convey the medium.

一方、媒体の後端全体が撮像位置を通過した場合、制御部141は、第1〜第4搬送ローラ112、113、116及び117を一端停止させるように駆動装置121を制御する(ステップS109)。 On the other hand, when the entire rear end of the medium has passed the imaging position, the control unit 141 controls the drive device 121 so as to temporarily stop the first to fourth transport rollers 112, 113, 116 and 117 (step S109). ..

次に、制御部141は、傾き検出部142によって検出された傾きに基づいて、第3搬送ローラ116及び/又は第4搬送ローラ117の周速度を設定する(ステップS110)。この周速度は、排出方向A2への媒体搬送時の周速度である。 Next, the control unit 141 sets the peripheral speed of the third transfer roller 116 and / or the fourth transfer roller 117 based on the inclination detected by the inclination detection unit 142 (step S110). This peripheral speed is the peripheral speed when the medium is conveyed in the discharge direction A2.

例えば、画像読取装置100は、第3搬送ローラ116a及び第4搬送ローラ117aと、第3搬送ローラ116b及び第4搬送ローラ117bとについて、媒体の傾きと、各搬送ローラの周速度との対応関係を示す周速度テーブルを事前に設定しておく。なお、第3搬送ローラ116aの周速度と第4搬送ローラ117aの周速度とは同じ値に設定され、第3搬送ローラ116bの周速度と第4搬送ローラ117bの周速度とは同じ値に設定される。 For example, in the image reading device 100, regarding the third transfer roller 116a and the fourth transfer roller 117a and the third transfer roller 116b and the fourth transfer roller 117b, the correspondence between the inclination of the medium and the peripheral speed of each transfer roller. The peripheral speed table showing the above is set in advance. The peripheral speed of the third transport roller 116a and the peripheral speed of the fourth transport roller 117a are set to the same value, and the peripheral speed of the third transport roller 116b and the peripheral speed of the fourth transport roller 117b are set to the same value. Will be done.

周速度テーブルは、事前の実験により設定される。周速度テーブルにおいて、各周速度は、挿入方向A1への搬送時に媒体の傾きが発生した場合に、排出方向A2への搬送時にその媒体が撮像位置に到達するまでに、その傾きが0になるように設定される。即ち、周速度テーブルでは、媒体の傾きが0でない場合に、第3搬送ローラ116a及び第4搬送ローラ117aの周速度が、第3搬送ローラ116b及び第4搬送ローラ117aの周速度と異なるように設定されている。 The peripheral speed table is set by prior experiments. In the peripheral speed table, when the medium is tilted during transportation in the insertion direction A1, the inclination becomes 0 by the time the medium reaches the imaging position during transportation in the discharge direction A2. Is set. That is, in the peripheral speed table, when the inclination of the medium is not 0, the peripheral speeds of the third transport roller 116a and the fourth transport roller 117a are different from the peripheral speeds of the third transport roller 116b and the fourth transport roller 117a. It is set.

挿入方向A1への搬送時に、媒体の第3搬送ローラ116b側の部分が第3搬送ローラ116a側の部分より先行するように傾いている場合、排出方向A2へ媒体を戻す時には、第3搬送ローラ116a側の部分が第3搬送ローラ116b側の部分より先行する。そこで、周速度テーブルでは、媒体の傾きの方向に基づいて、挿入方向A1への搬送時に先行している部分側に位置する搬送ローラの周速度が、遅れている部分側に位置する搬送ローラの周速度より高く(速く)なるように、各搬送ローラの周速度が設定される。また、周速度テーブルでは、媒体の傾きの大きさが大きいほど、媒体搬送方向と直交する方向A5に並べて配置された二つの搬送ローラの周速度の差が大きくなるように、各搬送ローラの周速度が設定される。 When the portion of the medium on the third transport roller 116b side is tilted ahead of the portion on the third transport roller 116a side during transport in the insertion direction A1, when the medium is returned in the discharge direction A2, the third transport roller The portion on the 116a side precedes the portion on the third transport roller 116b side. Therefore, in the peripheral speed table, based on the direction of inclination of the medium, the peripheral speed of the transport roller located on the portion side that precedes the transport in the insertion direction A1 is the peripheral speed of the transport roller located on the portion side that is behind. The peripheral speed of each transport roller is set so as to be higher (faster) than the peripheral speed. Further, in the peripheral speed table, the larger the inclination of the medium, the larger the difference between the peripheral speeds of the two transport rollers arranged side by side in the direction A5 orthogonal to the medium transport direction. The speed is set.

また、周速度テーブルにおいて、媒体の傾きの大きさが大きいほど各搬送ローラの周速度が小さくなるように各搬送ローラの周速度が設定されてもよい。これにより、制御部141は、挿入方向A1への搬送時の媒体の傾きが大きい場合に、より安定して媒体の傾きを補正することができる。また、周速度テーブルにおいて、各搬送ローラの周速度自体でなく、挿入方向A1への搬送時の各搬送ローラの周速度に対する、排出方向A2への搬送時の各搬送ローラの周速度の比率が設定されてもよい。これにより、制御部141は、利用者によって設定された搬送速度に応じて媒体を搬送しつつ、媒体の傾きを補正できる。 Further, in the peripheral speed table, the peripheral speed of each transport roller may be set so that the peripheral speed of each transport roller decreases as the inclination of the medium increases. As a result, the control unit 141 can correct the inclination of the medium more stably when the inclination of the medium during transportation in the insertion direction A1 is large. Further, in the peripheral speed table, not the peripheral speed of each transport roller itself, but the ratio of the peripheral speed of each transport roller during transport in the discharge direction A2 to the peripheral speed of each transport roller during transport in the insertion direction A1. It may be set. As a result, the control unit 141 can correct the inclination of the medium while transporting the medium according to the transport speed set by the user.

制御部141は、各周速度テーブルを参照して、傾き検出部142によって検出された傾きに対応する各周速度を各搬送ローラの周速度に決定する。 The control unit 141 refers to each peripheral speed table and determines each peripheral speed corresponding to the inclination detected by the inclination detecting unit 142 as the peripheral speed of each conveying roller.

なお、制御部141は、予め設定された算出式を用いて、各搬送ローラの周速度を決定してもよい。算出式は、傾き検出部142によって検出された傾きから、周速度テーブルを用いて決定される場合と同様の周速度が算出されるように設定される。 The control unit 141 may determine the peripheral speed of each transport roller by using a preset calculation formula. The calculation formula is set so that the same peripheral speed as in the case of being determined by using the peripheral speed table is calculated from the tilt detected by the tilt detecting unit 142.

制御部141は、決定した周速度で各搬送ローラが回転するように、駆動装置121に含まれる、各搬送ローラに対応する各モータの回転速度を設定する。これにより、制御部141は、挿入方向A1への搬送時に発生した媒体の傾きが、排出方向A2への搬送時に0に近付くように、媒体の傾きを良好に補正することができる。 The control unit 141 sets the rotation speed of each motor corresponding to each transport roller included in the drive device 121 so that each transport roller rotates at a determined peripheral speed. As a result, the control unit 141 can satisfactorily correct the inclination of the medium so that the inclination of the medium generated during transportation in the insertion direction A1 approaches 0 during transportation in the discharge direction A2.

次に、制御部141は、第3搬送ローラ116及び第4搬送ローラ117側から第1搬送ローラ112及び第2搬送ローラ113側に向けて媒体を搬送させながら撮像装置114に第2入力画像を生成させる(ステップS111)。制御部141は、駆動装置121を駆動して第1搬送ローラ112及び第3搬送ローラ116を図2の矢印A3の反対方向に回転させ、第2搬送ローラ113及び第4搬送ローラ117を図2の矢印A4の反対方向に回転させて、媒体を排出方向A2へ搬送させる。また、制御部141は、撮像装置114に媒体の撮像を開始させて、第2入力画像を生成させる。 Next, the control unit 141 transfers the medium from the third transfer roller 116 and the fourth transfer roller 117 side toward the first transfer roller 112 and the second transfer roller 113 side while transmitting the second input image to the image pickup apparatus 114. Generate (step S111). The control unit 141 drives the drive device 121 to rotate the first transfer roller 112 and the third transfer roller 116 in the direction opposite to the arrow A3 in FIG. 2, and the second transfer roller 113 and the fourth transfer roller 117 are shown in FIG. The medium is conveyed in the discharge direction A2 by rotating in the direction opposite to the arrow A4. Further, the control unit 141 causes the image pickup device 114 to start imaging the medium to generate a second input image.

このように、制御部141は、撮像装置114に第1入力画像を生成させた後に、第3搬送ローラ116及び第4搬送ローラ117側から第1搬送ローラ112及び第2搬送ローラ113側に向けて媒体を搬送させながら撮像装置114に第2入力画像を生成させる。このとき、制御部141は、傾き検出部142により検出された傾きに基づいて、第3搬送ローラ116a及び第4搬送ローラ117aの周速度と、第3搬送ローラ116b及び第4搬送ローラ117aの周速度とを相互に異ならせる。これにより、制御部141は、媒体の傾きが0に近付くように、媒体のスキューを補正する。 In this way, after the image pickup apparatus 114 generates the first input image, the control unit 141 directs the third transfer roller 116 and the fourth transfer roller 117 side toward the first transfer roller 112 and the second transfer roller 113 side. The image pickup device 114 is made to generate the second input image while carrying the medium. At this time, the control unit 141 determines the peripheral speeds of the third transfer roller 116a and the fourth transfer roller 117a and the circumferences of the third transfer roller 116b and the fourth transfer roller 117a based on the inclination detected by the inclination detection unit 142. Make the speed different from each other. As a result, the control unit 141 corrects the skew of the medium so that the inclination of the medium approaches zero.

なお、制御部141は、媒体の先端が撮像装置114の撮像位置を通過した時に、駆動装置121に含まれる、各モータの回転速度を元の回転速度(同一の回転速度)に再設定してもよい。これにより、制御部141は、媒体のスキューが過補正されることを抑制できる。 When the tip of the medium passes the imaging position of the imaging device 114, the control unit 141 resets the rotation speed of each motor included in the driving device 121 to the original rotation speed (same rotation speed). May be good. As a result, the control unit 141 can prevent the skew of the medium from being overcorrected.

次に、制御部141は、第2媒体センサ115から受信する第2媒体検出信号に基づいて、媒体の後端全体が撮像装置114の撮像位置を通過したか否かを判定する(ステップS112)。制御部141は、第2媒体検出信号が、媒体が存在することを示す状態から媒体が存在しないことを示す状態に変化した場合、媒体の後端の一部が第2媒体センサ115の位置を通過したと判定する。制御部141は、媒体の後端の一部が第2媒体センサ115の位置を通過したと判定してから所定時間経過した時に、媒体の後端全体が撮像装置114の撮像位置を通過したと判定する。制御部141は、媒体の後端全体が撮像位置を通過するまで待機し、媒体を搬送させつつ撮像装置114に媒体を撮像させ続ける。 Next, the control unit 141 determines whether or not the entire rear end of the medium has passed the image pickup position of the image pickup apparatus 114 based on the second medium detection signal received from the second medium sensor 115 (step S112). .. When the second medium detection signal changes from the state indicating the presence of the medium to the state indicating the absence of the medium, the control unit 141 partially determines the position of the second medium sensor 115 at the rear end of the medium. Judge that it has passed. When the control unit 141 determines that a part of the rear end of the medium has passed the position of the second medium sensor 115 and a predetermined time elapses, the entire rear end of the medium has passed the imaging position of the image pickup apparatus 114. judge. The control unit 141 waits until the entire rear end of the medium passes the imaging position, and continues to make the imaging device 114 image the medium while transporting the medium.

一方、媒体の後端全体が撮像位置を通過した場合、制御部141は、撮像装置114によって生成された第2入力画像を撮像装置114から取得し、撮像装置114に媒体の撮像を停止させる(ステップS113)。また、制御部141は、媒体の後端全体が撮像位置を通過してから、第2所定時間が経過した時に、第1〜第4搬送ローラ112、113、116及び117を停止させるように駆動装置121を制御する。第2所定時間は、媒体の後端全体が撮像位置を通過してから、第1搬送ローラ112及び第2搬送ローラ113の位置を通過するまでの時間であり、第2所定時間が経過した時、媒体は挿入口103から排出される。 On the other hand, when the entire rear end of the medium has passed the imaging position, the control unit 141 acquires the second input image generated by the imaging device 114 from the imaging device 114, and causes the imaging device 114 to stop the imaging of the medium ( Step S113). Further, the control unit 141 is driven so as to stop the first to fourth transport rollers 112, 113, 116 and 117 when the second predetermined time elapses after the entire rear end of the medium has passed the imaging position. Control device 121. The second predetermined time is the time from when the entire rear end of the medium passes through the imaging position to when it passes through the positions of the first transport roller 112 and the second transport roller 113, and when the second predetermined time elapses. , The medium is discharged from the insertion port 103.

図7Bは、第2入力画像の一例を示す模式図である。 FIG. 7B is a schematic view showing an example of the second input image.

図7Bに示す第2入力画像710には、排出方向A2に向けて搬送された媒体701が含まれている。図7Aに示したように、挿入方向A1への搬送時に媒体701は傾いて搬送されていたが、図7Bに示すように、排出方向A2への搬送時に媒体701のスキューが補正されている。これにより、第2入力画像710には、媒体701がまっすぐに写っており、媒体701全体が欠けることなく含まれている。 The second input image 710 shown in FIG. 7B includes the medium 701 conveyed in the discharge direction A2. As shown in FIG. 7A, the medium 701 was tilted and conveyed during transportation in the insertion direction A1, but as shown in FIG. 7B, the skew of the medium 701 was corrected during transportation in the discharge direction A2. As a result, the medium 701 is shown straight in the second input image 710, and the entire medium 701 is included without being chipped.

次に、出力制御部143は、第2入力画像を、インタフェース装置122を介して不図示の情報処理装置に送信することにより出力し(ステップS114)、一連のステップを終了する。情報処理装置は、画像読取装置から取得した第2入力画像を表示する。なお、出力制御部143は、第2入力画像を、液晶ディスプレイ等を有する不図示の表示装置に表示することにより出力してもよい。 Next, the output control unit 143 outputs the second input image by transmitting it to an information processing device (not shown) via the interface device 122 (step S114), and ends a series of steps. The information processing device displays the second input image acquired from the image reading device. The output control unit 143 may output the second input image by displaying it on a display device (not shown) having a liquid crystal display or the like.

なお、ステップS101において、制御部141は、挿入口103から媒体が挿入されたことを検出するだけでなく、操作装置105から操作信号を受信するまで待機してもよい。その場合、制御部141は、ステップS102〜S114の処理が連続して実行されるように、ステップS104において媒体の搬送を停止させず且つステップS106〜S107の処理を省略する。 In step S101, the control unit 141 may not only detect that the medium has been inserted from the insertion port 103, but may also wait until the operation signal is received from the operation device 105. In that case, the control unit 141 does not stop the transport of the medium in step S104 and omits the processing of steps S106 to S107 so that the processing of steps S102 to S114 is continuously executed.

また、ステップS103及びS104において、制御部141は、媒体の先端全体が撮像位置を通過したときでなく、媒体の後端全体が撮像位置を通過したときに第1入力画像を取得してもよい。その場合、傾き検出部142は、媒体の先端の傾きでなく、媒体の後端の傾きを、媒体の傾きとして検出してもよい。傾き検出部142は、抽出した直線の中で最も下端側(最後に撮像された側)に位置する直線を媒体の後端として検出し、第1入力画像内の水平方向に対する媒体の後端の傾斜角又はその正接値を媒体の傾きとして検出する。この場合、ステップS107〜S109の処理は省略される。 Further, in steps S103 and S104, the control unit 141 may acquire the first input image when the entire rear end of the medium has passed the imaging position, not when the entire tip of the medium has passed the imaging position. .. In that case, the tilt detection unit 142 may detect the tilt of the rear end of the medium as the tilt of the medium instead of the tilt of the front end of the medium. The tilt detection unit 142 detects the straight line located at the lowermost end side (the side last imaged) of the extracted straight lines as the rear end of the medium, and detects the rear end of the medium in the horizontal direction in the first input image. The tilt angle or its tangent value is detected as the tilt of the medium. In this case, the processing of steps S107 to S109 is omitted.

傾き検出部142は、媒体の先端の傾きを媒体の傾きとして検出することにより、より早期に媒体の傾きを検出して、排出方向A2への搬送処理にフィードバックでき、媒体のスイッチバックに要する時間を短縮できる。一方、傾き検出部142は、媒体の後端の傾きを媒体の傾きとして検出することにより、スイッチバック直前の媒体の状態をより高精度に検出でき、媒体のスキューをより高精度に補正できる。 By detecting the inclination of the tip of the medium as the inclination of the medium, the inclination detection unit 142 can detect the inclination of the medium earlier and feed back to the transport process in the discharge direction A2, and the time required for the switchback of the medium. Can be shortened. On the other hand, the tilt detection unit 142 can detect the state of the medium immediately before the switchback with higher accuracy by detecting the tilt of the rear end of the medium as the tilt of the medium, and can correct the skew of the medium with higher accuracy.

また、制御部141は、第3搬送ローラ116a、116b及び第4搬送ローラ117a、117bの全てを回転させながらスキューを補正するのでなく、何れかの搬送ローラを一定時間停止させておくことによりスキューを補正してもよい。 Further, the control unit 141 does not correct the skew while rotating all of the third transfer rollers 116a and 116b and the fourth transfer rollers 117a and 117b, but causes the skew by stopping one of the transfer rollers for a certain period of time. May be corrected.

その場合、ステップS110において、制御部141は、停止させておく搬送ローラ及び停止時間を設定する。例えば、画像読取装置100は、媒体の傾きと、停止させておく搬送ローラと、各搬送ローラの停止時間との対応関係を示す停止時間テーブルを事前に設定しておく。停止時間テーブルは、事前の実験により設定される。停止時間テーブルでは、各停止時間は、挿入方向A1への搬送時に媒体の傾きが発生した場合に、排出方向A2への搬送時にその媒体の傾きが0になるように設定される。停止時間テーブルでは、媒体の傾きの向きに基づいて、挿入方向A1への搬送時に遅れている部分側に位置する搬送ローラが、停止させておく搬送ローラに設定される。また、周速度テーブルでは、媒体の傾きの大きさが大きいほど長くなるように停止時間が設定される。 In that case, in step S110, the control unit 141 sets the transport roller to be stopped and the stop time. For example, the image reading device 100 sets in advance a stop time table showing a correspondence relationship between the tilt of the medium, the transfer rollers to be stopped, and the stop times of each transfer roller. The downtime table is set by prior experimentation. In the stop time table, each stop time is set so that when the medium is tilted during transportation in the insertion direction A1, the tilt of the medium becomes 0 during transportation in the discharge direction A2. In the stop time table, the transfer roller located on the portion side that is delayed during transfer in the insertion direction A1 is set as the transfer roller to be stopped based on the direction of inclination of the medium. Further, in the peripheral speed table, the stop time is set so that the larger the inclination of the medium, the longer the stop time.

ステップS111において、制御部141は、まず、停止させておく搬送ローラとして設定していない搬送ローラの回転を開始させ、その後、停止時間が経過してから、停止させておく搬送ローラとして設定した搬送ローラの回転を開始させる。これにより、制御部141は、より確実に媒体のスキューを補正することができる。 In step S111, the control unit 141 first starts the rotation of the transfer roller that is not set as the transfer roller to be stopped, and then, after the stop time elapses, the transfer set as the transfer roller to be stopped. Start the rotation of the roller. As a result, the control unit 141 can more reliably correct the skew of the medium.

以上詳述したように、画像読取装置100は、図6のフローチャートに従って動作することによって、スイッチバック機構により媒体の撮像を2回行い、1回目の撮像時の画像から媒体の傾きを検出し、検出した傾きに応じて2回目の撮像時に媒体の傾きを補正する。これにより、画像読取装置100は、媒体の傾きをより良好に補正し、媒体をより適切に搬送させることが可能となった。 As described in detail above, the image reading device 100 operates according to the flowchart of FIG. 6 to image the medium twice by the switchback mechanism, and detects the inclination of the medium from the image at the time of the first imaging. The tilt of the medium is corrected at the time of the second imaging according to the detected tilt. This makes it possible for the image reading device 100 to better correct the inclination of the medium and to convey the medium more appropriately.

したがって、画像読取装置100は、媒体の一部が撮像装置114の撮像範囲外を通過してしまい、媒体全体が撮像されなくなることを抑制できる。また、利用者は、媒体が傾いて搬送された時に媒体を再読取させる必要がなくなり、画像読取装置100は、利用者の利便性を向上させることができる。また、画像読取装置100は、媒体の傾きを検出するための特別なセンサを設けることなく、媒体を読み取るための撮像装置114を用いて媒体の傾きを検出するため、装置の軽量化及び低コスト化を図ることができる。また、画像読取装置100は、媒体をスイッチバックさせる過程で媒体のスキューを補正するため、媒体搬送性能を低減させることなく、良好にスキューを補正することができる。 Therefore, the image reading device 100 can prevent a part of the medium from passing outside the imaging range of the imaging device 114 and preventing the entire medium from being imaged. In addition, the user does not need to reread the medium when the medium is tilted and conveyed, and the image reading device 100 can improve the convenience of the user. Further, since the image reading device 100 detects the tilt of the medium by using the image pickup device 114 for reading the medium without providing a special sensor for detecting the tilt of the medium, the weight of the device is reduced and the cost is low. Can be achieved. Further, since the image reading device 100 corrects the skew of the medium in the process of switching back the medium, the skew can be corrected satisfactorily without reducing the medium transport performance.

図8は、他の実施形態に係る画像読取処理の動作の例を示すフローチャートである。図8に示すフローチャートは、図6に示すフローチャートの代わりに実行される。図8のステップS201〜S202、S210〜S214の処理は、それぞれ図6のステップS101〜S102、S110〜S114の処理と同様であるため、詳細な説明を省略し、以下ではステップS203〜S209の処理についてのみ説明する。 FIG. 8 is a flowchart showing an example of the operation of the image reading process according to another embodiment. The flowchart shown in FIG. 8 is executed in place of the flowchart shown in FIG. Since the processes of steps S201 to S202 and S210 to S214 of FIG. 8 are the same as the processes of steps S101 to S102 and S110 to S114 of FIG. 6, detailed description thereof will be omitted, and the processes of steps S203 to S209 will be described below. Will be described only.

ステップS202において、制御部141は、ステップS108と同様にして、媒体の後端全体が撮像装置114の撮像位置を通過したか否かを判定する(ステップS203)。 In step S202, the control unit 141 determines whether or not the entire rear end of the medium has passed the imaging position of the imaging device 114 in the same manner as in step S108 (step S203).

媒体の後端全体が撮像位置を通過した場合、制御部141は、ステップS104と同様にして、撮像装置114によって生成された第1入力画像を撮像装置114から取得し、撮像装置114に媒体の撮像を停止させる。また、制御部141は、第1〜第4搬送ローラ112、113、116及び117を停止させるように駆動装置121を制御する(ステップS204)。この第1入力画像には、媒体全体が含まれる。 When the entire rear end of the medium has passed the imaging position, the control unit 141 acquires the first input image generated by the imaging device 114 from the imaging device 114 in the same manner as in step S104, and causes the imaging device 114 to obtain the first input image of the medium. Stop imaging. Further, the control unit 141 controls the drive device 121 so as to stop the first to fourth transport rollers 112, 113, 116 and 117 (step S204). The first input image includes the entire medium.

次に、傾き検出部142は、ステップS105と同様にして、媒体の傾きを検出する(ステップS205)。傾き検出部142は、第1入力画像内の水平方向に対する媒体の先端の傾斜角又はその正接値を媒体の傾きとして検出する。なお、傾き検出部142は、第1入力画像内の水平方向に対する媒体の後端の傾斜角又はその正接値を媒体の傾きとして検出してもよい。 Next, the tilt detection unit 142 detects the tilt of the medium in the same manner as in step S105 (step S205). The tilt detection unit 142 detects the tilt angle of the tip of the medium or its tangent value with respect to the horizontal direction in the first input image as the tilt of the medium. The tilt detection unit 142 may detect the tilt angle of the rear end of the medium with respect to the horizontal direction in the first input image or the tangent value thereof as the tilt of the medium.

次に、制御部141は、ステップS106と同様にして、操作装置105から操作信号を受信するまで待機する(ステップS206)。 Next, the control unit 141 waits until the operation signal is received from the operation device 105 in the same manner as in step S106 (step S206).

操作装置105から操作信号を受信すると、制御部141は、傾き検出部142により検出された傾きの大きさが閾値未満であるか否かを判定する(ステップS207)。閾値は、例えば、媒体全体が撮像装置114の撮像範囲を通過可能な媒体の傾きの大きさの最小値に設定される。 Upon receiving the operation signal from the operation device 105, the control unit 141 determines whether or not the magnitude of the inclination detected by the inclination detection unit 142 is less than the threshold value (step S207). The threshold value is set to, for example, the minimum value of the inclination of the medium so that the entire medium can pass through the imaging range of the imaging device 114.

傾きの大きさが閾値未満である場合、制御部141は、第1搬送ローラ112及び第2搬送ローラ113側から第3搬送ローラ116及び第4搬送ローラ117側に向けて媒体をさらに搬送させて、媒体を退避口107から排出させる(ステップS208)。 When the magnitude of the inclination is less than the threshold value, the control unit 141 further conveys the medium from the first transfer roller 112 and the second transfer roller 113 side toward the third transfer roller 116 and the fourth transfer roller 117 side. , The medium is discharged from the evacuation port 107 (step S208).

次に、出力制御部143は、ステップS114と同様にして、第1入力画像を、インタフェース装置122を介して不図示の情報処理装置に送信することにより出力し(ステップS209)、一連のステップを終了する。 Next, the output control unit 143 outputs the first input image by transmitting it to an information processing device (not shown) via the interface device 122 in the same manner as in step S114 (step S209), and performs a series of steps. finish.

一方、傾きの大きさが閾値未満である場合、制御部141は、ステップS210〜S214の処理を実行する。 On the other hand, when the magnitude of the inclination is less than the threshold value, the control unit 141 executes the processes of steps S210 to S214.

即ち、制御部141は、傾きの大きさが閾値未満である場合、第3搬送ローラ116及び第4搬送ローラ117側から第1搬送ローラ112及び第2搬送ローラ113側に向けて媒体を搬送させずに、媒体を排出させる。また、その場合、出力制御部143は、第2入力画像に代えて、第1入力画像を出力する。これにより、画像読取装置100は、媒体のスキューが発生していない場合は1回目の撮像時の画像をそのまま出力して画像読取処理の処理時間を低減させつつ、媒体のスキューが発生している場合は傾きが補正された媒体を撮像した画像を出力することができる。 That is, when the magnitude of the inclination is less than the threshold value, the control unit 141 conveys the medium from the third transfer roller 116 and the fourth transfer roller 117 side toward the first transfer roller 112 and the second transfer roller 113 side. Instead, eject the medium. Further, in that case, the output control unit 143 outputs the first input image instead of the second input image. As a result, when the image reading device 100 does not cause skewing of the medium, the image at the time of the first imaging is output as it is to reduce the processing time of the image reading process, and the skew of the medium is generated. In that case, it is possible to output an image obtained by capturing an image of the tilt-corrected medium.

なお、ステップS201において、制御部141は、挿入口103から媒体が挿入されたことを検出するだけでなく、操作装置105から操作信号を受信するまで待機してもよい。その場合、制御部141は、ステップS202〜S214の処理が連続して実行されるように、ステップS204において媒体の搬送を停止させず且つステップS206の処理を省略する。 In step S201, the control unit 141 may not only detect that the medium has been inserted from the insertion port 103, but may also wait until the operation signal is received from the operation device 105. In that case, the control unit 141 does not stop the transfer of the medium in step S204 and omits the process of step S206 so that the processes of steps S202 to S214 are continuously executed.

以上詳述したように、画像読取装置100は、図8のフローチャートに従って動作することによっても、画像読取装置100は、媒体の傾きをより良好に補正し、媒体をより適切に搬送させることが可能となった。 As described in detail above, the image reading device 100 can also perform the operation according to the flowchart of FIG. 8 to better correct the inclination of the medium and convey the medium more appropriately. It became.

図9は、さらに他の実施形態に係る画像読取処理の動作の例を示すフローチャートである。図9に示すフローチャートは、図6に示すフローチャートの代わりに実行される。図9のステップS301〜S303、S312〜S315の処理は、それぞれ図6のステップS101〜S103、S111〜S114の処理と同様であるため、詳細な説明を省略し、以下ではステップS304〜S311の処理についてのみ説明する。 FIG. 9 is a flowchart showing an example of the operation of the image reading process according to still another embodiment. The flowchart shown in FIG. 9 is executed in place of the flowchart shown in FIG. Since the processes of steps S301 to S303 and S312 to S315 of FIG. 9 are the same as the processes of steps S101 to S103 and S111 to S114 of FIG. 6, detailed description thereof will be omitted, and the processes of steps S304 to S311 will be described below. Will be described only.

ステップS303において媒体の先端全体が撮像位置を通過した場合、制御部141は、ステップS104と同様にして、撮像装置114によって生成された第1入力画像を撮像装置114から取得する(ステップS304)。但し、制御部141は、撮像装置114に媒体の撮像を停止させない。即ち、このタイミングで取得した第1入力画像には、媒体の先端部のみが含まれるが、撮像装置114は、媒体の撮像を継続させて、媒体全体が含まれる第1入力画像を生成する。 When the entire tip of the medium has passed the imaging position in step S303, the control unit 141 acquires the first input image generated by the imaging device 114 from the imaging device 114 in the same manner as in step S104 (step S304). However, the control unit 141 does not stop the imaging device 114 from capturing the image of the medium. That is, the first input image acquired at this timing includes only the tip end portion of the medium, but the image pickup apparatus 114 continues the imaging of the medium to generate the first input image including the entire medium.

次に、傾き検出部142は、ステップS105と同様にして、取得した第1入力画像内の媒体の先端、即ち第3搬送ローラ116及び第4搬送ローラ117側の端部の第1傾きを検出する(ステップS305)。傾き検出部142は、ステップS304で取得した第1入力画像内の水平方向に対する媒体の先端の傾斜角又はその正接値を媒体の第1傾きとして検出する。 Next, the inclination detection unit 142 detects the first inclination of the tip of the medium in the acquired first input image, that is, the end on the third transfer roller 116 and the fourth transfer roller 117 side, in the same manner as in step S105. (Step S305). The tilt detection unit 142 detects the tilt angle of the tip of the medium with respect to the horizontal direction in the first input image acquired in step S304 or the tangent value thereof as the first tilt of the medium.

次に、制御部141は、傾き検出部142によって検出された第1傾きに基づいて、第3搬送ローラ116及び第4搬送ローラ117の周速度を変更する(ステップS306)。なお、制御部141は、第3搬送ローラ116及び第4搬送ローラ117の周速度を変更することに代えて、又は加えて、第1搬送ローラ112及び第2搬送ローラ113の周速度を変更してもよい。 Next, the control unit 141 changes the peripheral speeds of the third transfer roller 116 and the fourth transfer roller 117 based on the first inclination detected by the inclination detection unit 142 (step S306). In addition, the control unit 141 changes the peripheral speeds of the first transfer roller 112 and the second transfer roller 113 in place of or in addition to changing the peripheral speeds of the third transfer roller 116 and the fourth transfer roller 117. You may.

例えば、画像読取装置100は、第3搬送ローラ116a及び第4搬送ローラ117aと、第3搬送ローラ116b及び第4搬送ローラ117aとについて、媒体の第1傾きと、各搬送ローラの周速度との対応関係を示す第1周速度テーブルを事前に設定しておく。なお、第1周速度テーブルにおいて、第1搬送ローラ112a及び第2搬送ローラ113aと、第1搬送ローラ112b及び第2搬送ローラ113bとについても、媒体の第1傾きと、各搬送ローラの周速度との対応関係が設定されていてもよい。 For example, in the image reading device 100, with respect to the third transfer roller 116a and the fourth transfer roller 117a and the third transfer roller 116b and the fourth transfer roller 117a, the first inclination of the medium and the peripheral speed of each transfer roller are determined. The first peripheral speed table showing the correspondence relationship is set in advance. In the first peripheral speed table, the first transfer roller 112a and the second transfer roller 113a, and the first transfer roller 112b and the second transfer roller 113b also have the first inclination of the medium and the peripheral speed of each transfer roller. The correspondence with and may be set.

第1周速度テーブルは、周速度テーブルと同様にして、事前の実験により設定される。但し、第1周速度テーブルにおいて、各周速度は、挿入方向A1への搬送時に媒体の先端の傾きが発生した場合に、媒体の後端全体が撮像位置を通過するまでに、その傾きが0になるように設定される。即ち、周速度テーブルでは、媒体の傾きが0でない場合に、第1〜第4搬送ローラ112a、113a、116a及び117aの各周速度が、第1〜第4搬送ローラ112b、113b、116b及び117bの各周速度と異なるように設定されている。 The first peripheral speed table is set by a preliminary experiment in the same manner as the peripheral speed table. However, in the first peripheral speed table, when the tip of the medium is tilted during transportation in the insertion direction A1, the tilt of each peripheral speed is 0 by the time the entire rear end of the medium passes the imaging position. Is set to be. That is, in the peripheral speed table, when the inclination of the medium is not 0, the peripheral speeds of the first to fourth transport rollers 112a, 113a, 116a and 117a are set to the first to fourth transport rollers 112b, 113b, 116b and 117b. It is set to be different from each peripheral speed of.

第1周速度テーブルでは、媒体の第1傾きの方向に基づいて、挿入方向A1への搬送時に遅れている部分側に位置する搬送ローラの周速度が、先行している部分側に位置する搬送ローラの周速度より高く(速く)なるように、各搬送ローラの周速度が設定される。また、周速度テーブルでは、媒体の第1傾きの大きさが大きいほど、媒体搬送方向と直交する方向A5に並べて配置された二つの搬送ローラの周速度の差が大きくなるように、各搬送ローラの周速度が設定される。 In the first peripheral speed table, based on the direction of the first inclination of the medium, the peripheral speed of the conveying roller located on the portion side that is delayed during the conveying in the insertion direction A1 is located on the leading portion side. The peripheral speed of each conveying roller is set so as to be higher (faster) than the peripheral speed of the rollers. Further, in the peripheral speed table, the larger the magnitude of the first inclination of the medium, the larger the difference in peripheral speed between the two transport rollers arranged side by side in the direction A5 orthogonal to the medium transport direction. Peripheral speed is set.

制御部141は、第1周速度テーブルを参照して、傾き検出部142によって検出された第1傾きに対応する各周速度を、各搬送ローラの周速度に決定する。なお、制御部141は、予め設定された第1算出式を用いて、各搬送ローラの周速度を決定してもよい。第1算出式は、傾き検出部142によって検出された第1傾きから、第1周速度テーブルを用いて決定される場合と同様の周速度が算出されるように設定される。 The control unit 141 determines each peripheral speed corresponding to the first inclination detected by the inclination detecting unit 142 as the peripheral speed of each conveying roller with reference to the first peripheral speed table. The control unit 141 may determine the peripheral speed of each transport roller by using the first calculation formula set in advance. The first calculation formula is set so that the same peripheral speed as in the case of being determined using the first peripheral speed table is calculated from the first inclination detected by the inclination detecting unit 142.

制御部141は、決定した周速度で各搬送ローラが回転するように、駆動装置121に含まれる、各搬送ローラに対応する各モータの回転速度を設定(変更)する。このように、制御部141は、傾き検出部142によって検出された第1傾きに基づいて、第1搬送ローラ112及び第2搬送ローラ113側から第3搬送ローラ116及び第4搬送ローラ117側に向けて媒体を搬送させる際の媒体のスキューを補正する。これにより、制御部141は、媒体をスイッチバックさせる前に媒体のスキューを良好に補正することができる。 The control unit 141 sets (changes) the rotation speed of each motor corresponding to each transport roller included in the drive device 121 so that each transport roller rotates at a determined peripheral speed. In this way, the control unit 141 moves from the first transfer roller 112 and the second transfer roller 113 side to the third transfer roller 116 and the fourth transfer roller 117 side based on the first inclination detected by the inclination detection unit 142. Corrects the skew of the medium when it is conveyed toward it. As a result, the control unit 141 can satisfactorily correct the skew of the medium before switching back the medium.

次に、制御部141は、ステップS108と同様にして、媒体の後端全体が撮像装置114の撮像位置を通過したか否かを判定する(ステップS307)。 Next, the control unit 141 determines whether or not the entire rear end of the medium has passed the imaging position of the imaging device 114 in the same manner as in step S108 (step S307).

媒体の後端全体が撮像位置を通過した場合、制御部141は、ステップS104と同様にして、撮像装置114によって生成された第1入力画像を撮像装置114から取得し、撮像装置114に媒体の撮像を停止させる。また、制御部141は、第1〜第4搬送ローラ112、113、116及び117を一端停止させるように駆動装置121を制御する(ステップS308)。この第1入力画像には、媒体全体が含まれる。 When the entire rear end of the medium has passed the imaging position, the control unit 141 acquires the first input image generated by the imaging device 114 from the imaging device 114 in the same manner as in step S104, and causes the imaging device 114 to obtain the first input image of the medium. Stop imaging. Further, the control unit 141 controls the drive device 121 so as to temporarily stop the first to fourth transport rollers 112, 113, 116 and 117 (step S308). The first input image includes the entire medium.

次に、傾き検出部142は、ステップS105と同様にして、第1入力画像内の媒体の後端、即ち第1搬送ローラ112及び第2搬送ローラ113側の端部の第2傾きを検出する(ステップS309)。傾き検出部142は、ステップS308で取得した第1入力画像内の水平方向に対する媒体の後端の傾斜角又はその正接値を媒体の第2傾きとして検出する。 Next, the tilt detection unit 142 detects the second tilt of the rear end of the medium in the first input image, that is, the ends on the side of the first transport roller 112 and the second transport roller 113, in the same manner as in step S105. (Step S309). The tilt detection unit 142 detects the tilt angle of the rear end of the medium with respect to the horizontal direction in the first input image acquired in step S308 or the tangent value thereof as the second tilt of the medium.

次に、制御部141は、ステップS106と同様にして、操作装置105から操作信号を受信するまで待機する(ステップS310)。 Next, the control unit 141 waits until the operation signal is received from the operation device 105 in the same manner as in step S106 (step S310).

操作装置105から操作信号を受信すると、制御部141は、傾き検出部142によって検出された第2傾きに基づいて、第3搬送ローラ116及び第4搬送ローラ117の周速度を設定する(ステップS311)。 Upon receiving the operation signal from the operation device 105, the control unit 141 sets the peripheral speeds of the third transfer roller 116 and the fourth transfer roller 117 based on the second inclination detected by the inclination detection unit 142 (step S311). ).

例えば、画像読取装置100は、第3搬送ローラ116a及び第4搬送ローラ117aと、第3搬送ローラ116b及び第4搬送ローラ117bとについて、媒体の第2傾きと、各搬送ローラの周速度との対応関係を示す第2周速度テーブルを事前に設定しておく。第2周速度テーブルは、周速度テーブルと同様にして、事前の実験により設定される。但し、第2周速度テーブルでは、媒体の第2傾きの向き及び大きさに基づいて、各搬送ローラの周速度が設定される。 For example, in the image reading device 100, with respect to the third transfer roller 116a and the fourth transfer roller 117a and the third transfer roller 116b and the fourth transfer roller 117b, the second inclination of the medium and the peripheral speed of each transfer roller are determined. The second peripheral speed table showing the correspondence relationship is set in advance. The second peripheral speed table is set by a preliminary experiment in the same manner as the peripheral speed table. However, in the second peripheral speed table, the peripheral speed of each conveying roller is set based on the direction and size of the second inclination of the medium.

制御部141は、第2周速度テーブルを参照して、傾き検出部142によって検出された第2傾きに対応する各周速度を、各搬送ローラの周速度に決定する。なお、制御部141は、予め設定された第2算出式を用いて、各搬送ローラの周速度を決定してもよい。第2算出式は、傾き検出部142によって検出された第2傾きから、第2周速度テーブルを用いて決定される場合と同様の周速度が算出されるように設定される。 The control unit 141 determines each peripheral speed corresponding to the second inclination detected by the inclination detecting unit 142 as the peripheral speed of each conveying roller with reference to the second peripheral speed table. The control unit 141 may determine the peripheral speed of each transport roller by using the second calculation formula set in advance. The second calculation formula is set so that the same peripheral speed as in the case of being determined by using the second peripheral speed table is calculated from the second inclination detected by the inclination detecting unit 142.

制御部141は、決定した周速度で各搬送ローラが回転するように、駆動装置121に含まれる、各搬送ローラに対応する各モータの回転速度を設定する。このように、制御部141は、傾き検出部142によって検出された第2傾きに基づいて、第3搬送ローラ116及び第4搬送ローラ117側から第1搬送ローラ112及び第2搬送ローラ113側に向けて媒体を搬送させる際の媒体のスキューを補正する。これにより、制御部141は、媒体の傾きがより0に近付くように、媒体のスキューを補正する。 The control unit 141 sets the rotation speed of each motor corresponding to each transport roller included in the drive device 121 so that each transport roller rotates at a determined peripheral speed. In this way, the control unit 141 moves from the third transfer roller 116 and the fourth transfer roller 117 side to the first transfer roller 112 and the second transfer roller 113 side based on the second inclination detected by the inclination detection unit 142. Corrects the skew of the medium when it is conveyed toward it. As a result, the control unit 141 corrects the skew of the medium so that the inclination of the medium approaches 0.

本実施形態では、制御部141は、挿入方向A1への搬送時に媒体のスキューを補正するため、媒体の後端全体が撮像位置を通過した時点で、媒体の傾きを低減させることができる。そのため、制御部141は、より良好に媒体のスキューを補正することができる。 In the present embodiment, the control unit 141 corrects the skew of the medium when it is conveyed in the insertion direction A1, so that the inclination of the medium can be reduced when the entire rear end of the medium passes the imaging position. Therefore, the control unit 141 can better correct the skew of the medium.

なお、ステップS301において、制御部141は、挿入口103から媒体が挿入されたことを検出するだけでなく、操作装置105から操作信号を受信するまで待機してもよい。その場合、制御部141は、ステップS302〜S315の処理が連続して実行されるように、ステップS308において媒体の搬送を停止させず且つステップS310の処理を省略する。 In step S301, the control unit 141 may not only detect that the medium has been inserted from the insertion port 103, but may also wait until the operation signal is received from the operation device 105. In that case, the control unit 141 does not stop the transfer of the medium in step S308 and omits the process of step S310 so that the processes of steps S302 to S315 are continuously executed.

また、本実施形態においても、ステップS310の後に、図8のステップS207〜S209の処理が実行されてもよい。その場合、画像読取装置100は、ステップS207において第1傾きの大きさ、第2傾きの大きさ又はその両方が閾値未満である場合に、ステップS208〜S209の処理を実行する。 Further, also in this embodiment, the processes of steps S207 to S209 of FIG. 8 may be executed after step S310. In that case, the image reading device 100 executes the processes of steps S208 to S209 when the magnitude of the first tilt, the magnitude of the second tilt, or both are less than the threshold value in step S207.

以上詳述したように、画像読取装置100は、図9のフローチャートに従って動作することによっても、画像読取装置100は、媒体の傾きをより良好に補正し、媒体をより適切に搬送させることが可能となった。 As described in detail above, the image reading device 100 can also perform the operation according to the flowchart of FIG. 9 to better correct the inclination of the medium and convey the medium more appropriately. It became.

図10は、他の実施形態に従った処理回路250の概略構成を示すブロック図である。 FIG. 10 is a block diagram showing a schematic configuration of a processing circuit 250 according to another embodiment.

処理回路250は、処理回路150の代わりに使用され、CPU140の代わりに画像読取処理等を実行する。処理回路250は、制御回路251、傾き検出回路252及び出力制御回路253等を有する。 The processing circuit 250 is used in place of the processing circuit 150, and executes image reading processing or the like in place of the CPU 140. The processing circuit 250 includes a control circuit 251, a tilt detection circuit 252, an output control circuit 253, and the like.

制御回路251は、制御部の一例であり、制御部141と同様の機能を有する。制御回路251は、操作装置105から操作信号を、第1媒体センサ111から第1媒体検出信号を、第2媒体センサ115から第2媒体検出信号を受信し、各信号に従って駆動装置121に駆動信号を送信し、媒体を搬送させる。また、制御回路251は、撮像装置114に制御信号を送信して第1入力画像及び第2入力画像を生成させ、生成された画像を受信して記憶装置130に記憶する。また、制御回路251は、傾き検出回路252から傾きの検出結果を受信し、媒体の傾きに基づいて、搬送ローラの周速度を変更するように駆動装置121を制御して媒体のスキューを補正する。 The control circuit 251 is an example of the control unit, and has the same function as the control unit 141. The control circuit 251 receives an operation signal from the operation device 105, a first medium detection signal from the first medium sensor 111, a second medium detection signal from the second medium sensor 115, and drives the drive device 121 according to each signal. Is transmitted and the medium is conveyed. Further, the control circuit 251 transmits a control signal to the image pickup device 114 to generate a first input image and a second input image, and receives the generated images and stores them in the storage device 130. Further, the control circuit 251 receives the inclination detection result from the inclination detection circuit 252 and controls the drive device 121 so as to change the peripheral speed of the transport roller based on the inclination of the medium to correct the skew of the medium. ..

傾き検出回路252は、検出部の一例であり、傾き検出部142と同様の機能を有する。傾き検出回路252は、記憶装置130から第1入力画像を読み出し、第1入力画像に基づいて媒体の傾きを検出し、検出結果を制御回路251に出力する。 The tilt detection circuit 252 is an example of a detection unit, and has the same function as the tilt detection unit 142. The tilt detection circuit 252 reads the first input image from the storage device 130, detects the tilt of the medium based on the first input image, and outputs the detection result to the control circuit 251.

出力制御回路253は、出力制御部の一例であり、出力制御部143と同様の機能を有する。出力制御回路253は、記憶装置130から第2入力画像を読み出し、インタフェース装置122から出力する。 The output control circuit 253 is an example of the output control unit, and has the same function as the output control unit 143. The output control circuit 253 reads the second input image from the storage device 130 and outputs it from the interface device 122.

本実施形態に従った画像読取装置も、上記した各効果と同様の効果を奏することができる。 The image reading device according to the present embodiment can also exhibit the same effects as the above-mentioned effects.

100 画像読取装置
112 第1搬送ローラ
113 第2搬送ローラ
114 撮像装置
116 第3搬送ローラ
117 第4搬送ローラ
122 インタフェース装置
141 制御部
142 傾き検出部
143 出力制御部
100 Image reader 112 1st transfer roller 113 2nd transfer roller 114 Imaging device 116 3rd transfer roller 117 4th transfer roller 122 Interface device 141 Control unit 142 Tilt detection unit 143 Output control unit

Claims (6)

撮像部と、
第1搬送部と、
前記第1搬送部に対して前記撮像部を挟んで配置され、且つ、媒体搬送方向と直交する方向に間隔を空けて配置されてそれぞれ独立に回転する二つの搬送ローラを含む第2搬送部と、
前記第1搬送部側から前記第2搬送部側に向けて媒体を搬送させながら前記撮像部に第1入力画像を生成させ、且つ、前記撮像部に前記第1入力画像を生成させた後に、前記第2搬送部側から前記第1搬送部側に向けて媒体を搬送させながら前記撮像部に第2入力画像を生成させる制御部と、
前記第1入力画像に基づいて、媒体の傾きを検出する傾き検出部と、
前記第2入力画像を出力する出力部と、を有し、
前記制御部は、前記傾きに基づいて、前記二つの搬送ローラの周速度を相互に異ならせることにより媒体のスキューを補正する、
ことを特徴とする画像読取装置。
Imaging unit and
1st transport unit and
A second transport unit including two transport rollers that are arranged with respect to the first transport unit so as to sandwich the imaging unit and that are arranged at intervals in a direction orthogonal to the medium transport direction and rotate independently of each other. ,
After the image pickup unit generates the first input image while the medium is conveyed from the first transport unit side to the second transport unit side, and the image pickup unit generates the first input image, the image pickup unit generates the first input image. A control unit that causes the image pickup unit to generate a second input image while transporting the medium from the second transport unit side to the first transport unit side.
A tilt detection unit that detects the tilt of the medium based on the first input image,
It has an output unit that outputs the second input image and
The control unit corrects the skew of the medium by making the peripheral speeds of the two transport rollers different from each other based on the inclination.
An image reader characterized by this.
前記制御部は、前記撮像部に媒体の前記第2搬送部側の端部を撮像させて前記第1入力画像を生成させる、請求項1に記載の画像読取装置。 The image reading device according to claim 1, wherein the control unit causes the imaging unit to image an end portion of the medium on the side of the second transport unit to generate the first input image. 前記制御部は、前記傾きの大きさが閾値未満である場合、前記第2搬送部側から前記第1搬送部側に向けて媒体を搬送させず、
前記出力部は、前記傾きの大きさが閾値未満である場合、前記第2入力画像に代えて、前記第1入力画像を出力する、請求項1に記載の画像読取装置。
When the magnitude of the inclination is less than the threshold value, the control unit does not transport the medium from the second transport unit side toward the first transport unit side.
The image reading device according to claim 1, wherein the output unit outputs the first input image instead of the second input image when the magnitude of the inclination is less than the threshold value.
前記傾き検出部は、前記第1入力画像内の媒体の前記第2搬送部側の端部の第1傾き、及び、前記第1入力画像内の媒体の前記第1搬送部側の端部の第2傾きを検出し、
前記制御部は、前記第1傾きに基づいて、前記第1搬送部側から前記第2搬送部側に向けて媒体を搬送させる際の媒体のスキューを補正し、
前記制御部は、前記第2傾きに基づいて、前記第2搬送部側から前記第1搬送部側に向けて媒体を搬送させる際の媒体のスキューを補正する、請求項1または3に記載の画像読取装置。
The tilt detection unit is a first tilt of the end portion of the medium in the first input image on the side of the second transport portion, and an end portion of the medium in the first input image on the side of the first transport portion. Detects the second tilt and
Based on the first inclination, the control unit corrects the skew of the medium when the medium is conveyed from the first conveying unit side toward the second conveying unit side.
The first or third aspect of the present invention, wherein the control unit corrects the skew of the medium when the medium is conveyed from the second conveying unit side to the first conveying unit side based on the second inclination. Image reader.
撮像部と、第1搬送部と、前記第1搬送部に対して前記撮像部を挟んで配置され、且つ、媒体搬送方向と直交する方向に間隔を空けて配置されてそれぞれ独立に回転する二つの第2搬送ローラを含む第2搬送部と、出力部とを有する画像読取装置の制御方法であって、
前記第1搬送部側から前記第2搬送部側に向けて媒体を搬送させながら前記撮像部に第1入力画像を生成させ、且つ、前記撮像部に前記第1入力画像を生成させた後に、前記第2搬送部側から前記第1搬送部側に向けて媒体を搬送させながら前記撮像部に第2入力画像を生成させ、
前記第1入力画像に基づいて、媒体の傾きを検出し、
前記第2入力画像を前記出力部から出力する、ことを含み、
前記第2入力画像の生成において、前記傾きに基づいて、前記二つの第2搬送ローラの周速度を相互に異ならせることにより媒体のスキューを補正する、
ことを特徴とする制御方法。
The image pickup unit, the first transport unit, and the first transport unit are arranged with the image pickup unit interposed therebetween, and are arranged at intervals in a direction orthogonal to the medium transport direction, and rotate independently of each other. A control method for an image reader having a second transport unit including two second transport rollers and an output unit.
After the image pickup unit generates the first input image while the medium is conveyed from the first transport unit side to the second transport unit side, and the image pickup unit generates the first input image, the image pickup unit generates the first input image. While transporting the medium from the second transport unit side toward the first transport unit side, the image pickup unit is made to generate a second input image.
Based on the first input image, the inclination of the medium is detected and
Including that the second input image is output from the output unit.
In the generation of the second input image, the skew of the medium is corrected by making the peripheral speeds of the two second transport rollers different from each other based on the inclination.
A control method characterized by that.
撮像部と、第1搬送部と、前記第1搬送部に対して前記撮像部を挟んで配置され、且つ、媒体搬送方向と直交する方向に間隔を空けて配置されてそれぞれ独立に回転する二つの第2搬送ローラを含む第2搬送部と、出力部とを有する画像読取装置の制御プログラムであって、
前記第1搬送部側から前記第2搬送部側に向けて媒体を搬送させながら前記撮像部に第1入力画像を生成させ、且つ、前記撮像部に前記第1入力画像を生成させた後に、前記第2搬送部側から前記第1搬送部側に向けて媒体を搬送させながら前記撮像部に第2入力画像を生成させ、
前記第1入力画像に基づいて、媒体の傾きを検出し、
前記第2入力画像を前記出力部から出力する、ことを前記画像読取装置に実行させ、
前記第2入力画像の生成において、前記傾きに基づいて、前記二つの第2搬送ローラの周速度を相互に異ならせることにより媒体のスキューを補正する、
ことを特徴とする制御プログラム。
The image pickup unit, the first transport section, and the image pickup section are arranged with respect to the first transport section with the image pickup section interposed therebetween, and are arranged at intervals in a direction orthogonal to the medium transport direction, and rotate independently of each other. A control program for an image reader having a second transport unit including two second transport rollers and an output unit.
After the image pickup unit generates the first input image while the medium is conveyed from the first transport unit side to the second transport unit side, and the image pickup unit generates the first input image, the image pickup unit generates the first input image. While transporting the medium from the second transport unit side toward the first transport unit side, the image pickup unit is made to generate a second input image.
Based on the first input image, the inclination of the medium is detected and
The image reader is made to output the second input image from the output unit.
In the generation of the second input image, the skew of the medium is corrected by making the peripheral speeds of the two second transport rollers different from each other based on the inclination.
A control program characterized by that.
JP2019124690A 2019-07-03 2019-07-03 Image reader, control method and control program Pending JP2021011329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019124690A JP2021011329A (en) 2019-07-03 2019-07-03 Image reader, control method and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019124690A JP2021011329A (en) 2019-07-03 2019-07-03 Image reader, control method and control program

Publications (1)

Publication Number Publication Date
JP2021011329A true JP2021011329A (en) 2021-02-04

Family

ID=74226174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019124690A Pending JP2021011329A (en) 2019-07-03 2019-07-03 Image reader, control method and control program

Country Status (1)

Country Link
JP (1) JP2021011329A (en)

Similar Documents

Publication Publication Date Title
US11772918B2 (en) Medium conveying apparatus for detecting a folding of a medium
JP2006335516A (en) Sheet skew correcting conveying device and image forming device
JP7414932B2 (en) Double feed detection device, control method and control program
JP7467694B2 (en) Image reading device, control method and control program
JP7104650B2 (en) Image reader, image processing system, control method and control program
US20220234856A1 (en) Medium conveying apparatus to correct skew of medium using second roller while moving first roller to be spaced apart from medium
JP2021011329A (en) Image reader, control method and control program
JP6953372B2 (en) Image processing device, control method and control program
JP7229118B2 (en) MEDIUM EJECTING DEVICE, CONTROL METHOD AND CONTROL PROGRAM
JP7207979B2 (en) Document feeder, control method and control program
JP7423246B2 (en) Original reading device
WO2020188811A1 (en) Double feeding detection device, control method, and control program
JP5848085B2 (en) Image reading system and document size detection device
JP2021197715A (en) Media transfer device, control method, and control program
WO2022153497A1 (en) Medium conveyance device, control method, and control program
JP2021042068A (en) Medium conveyance device, control method and control program
WO2023188389A1 (en) Medium ejection device, control method, and control program
WO2023175863A1 (en) Medium conveyance device, medium conveyance method, and control program
JP7417007B2 (en) Media transport device, control method and control program
US11891266B2 (en) Medium conveying apparatus to determine whether multi-feed has occurred based on whether outer shape of object area in input image is rectangular
US11820624B2 (en) Medium conveying apparatus to detect multi-feed based on continuous overlap portion
WO2023131991A1 (en) Medium ejection device, control method, and control program
JP5483844B2 (en) Document reader
JP2021114759A (en) Image reading apparatus
JP2023090551A (en) Image processing apparatus, control method, and control program