JP2021132283A - Medium conveyance device, image processing system, control method, and control program - Google Patents

Medium conveyance device, image processing system, control method, and control program Download PDF

Info

Publication number
JP2021132283A
JP2021132283A JP2020026245A JP2020026245A JP2021132283A JP 2021132283 A JP2021132283 A JP 2021132283A JP 2020026245 A JP2020026245 A JP 2020026245A JP 2020026245 A JP2020026245 A JP 2020026245A JP 2021132283 A JP2021132283 A JP 2021132283A
Authority
JP
Japan
Prior art keywords
medium
determination unit
input image
abnormality
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.)
Granted
Application number
JP2020026245A
Other languages
Japanese (ja)
Other versions
JP7368266B2 (en
Inventor
駿平 古嶋
Shumpei Furushima
駿平 古嶋
真悟 金谷
Shingo Kanaya
真悟 金谷
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 JP2020026245A priority Critical patent/JP7368266B2/en
Publication of JP2021132283A publication Critical patent/JP2021132283A/en
Application granted granted Critical
Publication of JP7368266B2 publication Critical patent/JP7368266B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a medium conveyance device, an image processing system, a control method, and a control program, capable of correcting an input image in which abnormality exists in a shorter period of time.SOLUTION: An image processing system 1 includes: a plurality of sensors 111, 112 for detecting floating at a plurality of parts of a medium mounted on a mounting table 103; a floating determination unit 153 that on the basis of output signals from the plurality of sensors, determines whether or not floating of the medium is generated at any of the plurality of parts; and an image generation unit 152 for generating an input image in which the medium is captured. Any of a medium conveyance device and an information processing device includes: an abnormality determination unit for determining whether or not abnormality exists in the input image's region including a part at which generation of floating of the medium is determined by the floating determination unit; and a correction unit for correcting image information in the input image's region in which existence of abnormality is determined by the abnormality determination unit.SELECTED DRAWING: Figure 14

Description

本発明は、媒体搬送装置、画像処理システム、制御方法及び制御プログラムに関し、特に、媒体を撮像して入力画像を生成する媒体搬送装置、画像処理システム、制御方法及び制御プログラムに関する。 The present invention relates to a medium transport device, an image processing system, a control method and a control program, and more particularly to a medium transport device, an image processing system, a control method and a control program that captures a medium and generates an input image.

スキャナ等の媒体搬送装置は、原稿等の媒体を搬送し、搬送した媒体を読み取って入力画像を生成する。このような媒体搬送装置において、媒体が適切に搬送されなかった場合、入力画像に異常が存在する可能性がある。媒体搬送装置では、入力画像に異常が存在する場合、入力画像を適切に補正することが望まれている。 A medium transporting device such as a scanner transports a medium such as a document, reads the transported medium, and generates an input image. In such a medium transport device, if the medium is not properly transported, there is a possibility that an abnormality exists in the input image. In the medium transport device, when an abnormality is present in the input image, it is desired to appropriately correct the input image.

小切手の搬送方向に互いに離れて設置され、小切手の画像を読み取る2つのイメージセンサを備え、予め設定された設定速度で小切手を搬送方向へ搬送し2つのイメージセンサを通過させる小切手処理装置が開示されている(特許文献1を参照)。この小切手処理装置は、小切手が実際に2つのイメージセンサを通過するときの搬送速度を検出し、検出した搬送速度と設定速度との差異に基づいて、読取画像を伸縮し補正する。 A check processing device that is installed apart from each other in the check transport direction, includes two image sensors that read the image of the check, transports the check in the transport direction at a preset speed, and passes the two image sensors is disclosed. (See Patent Document 1). This check processing device detects the transport speed when the check actually passes through the two image sensors, and expands and contracts and corrects the scanned image based on the difference between the detected transport speed and the set speed.

特開2010−135964号公報Japanese Unexamined Patent Publication No. 2010-135964

媒体搬送装置では、異常が存在する入力画像をより短時間に補正できることが望まれている。 In the medium transfer device, it is desired that the input image in which an abnormality exists can be corrected in a shorter time.

本発明の目的は、異常が存在する入力画像をより短時間に補正することが可能な媒体搬送装置、画像処理システム、制御方法及び制御プログラムを提供することにある。 An object of the present invention is to provide a medium transport device, an image processing system, a control method, and a control program capable of correcting an input image in which an abnormality exists in a shorter time.

本発明の一側面に係る媒体搬送装置は、媒体を載置する載置台と、載置台に載置された媒体を搬送する搬送部と、載置台に載置された媒体の複数部分の浮き上がりを検知するための複数のセンサと、複数のセンサからの出力信号に基づいて、複数部分の何れかの部分で媒体の浮き上がりが発生しているか否かを判定する浮き上がり判定部と、搬送部により搬送された媒体が撮像された入力画像を生成する画像生成部と、浮き上がり判定部により媒体の浮き上がりが発生していると判定された部分が含まれる入力画像の領域において、異常が存在するか否かを判定する異常判定部と、異常判定部により異常が存在すると判定された入力画像の領域内の画像情報を補正する補正部と、を有する。 The medium transporting device according to one aspect of the present invention has a mounting table on which the medium is placed, a transporting section for transporting the medium mounted on the mounting table, and a plurality of parts of the medium mounted on the mounting table. Based on a plurality of sensors for detection and output signals from the plurality of sensors, a lift determination unit for determining whether or not the medium is lifted in any part of the plurality of parts, and a transport unit for transporting. Whether or not there is an abnormality in the region of the input image including the image generation unit that generates the input image in which the captured medium is captured and the portion that is determined by the lift determination unit that the medium is lifted. It has an abnormality determination unit for determining the above, and a correction unit for correcting image information in the region of the input image determined by the abnormality determination unit to have an abnormality.

本発明の一側面に係る画像処理システムは、媒体搬送装置と、情報処理装置とを有する画像処理システムであって、媒体搬送装置が、媒体を載置する載置台と、載置台に載置された媒体を搬送する搬送部と、載置台に載置された媒体の複数部分の浮き上がりを検知するための複数のセンサと、複数のセンサからの出力信号に基づいて、複数部分の何れかの部分で媒体の浮き上がりが発生しているか否かを判定する浮き上がり判定部と、搬送部により搬送された媒体が撮像された入力画像を生成する画像生成部と、を有し、媒体搬送装置又は情報処理装置の何れかが、浮き上がり判定部により媒体の浮き上がりが発生していると判定された部分が含まれる入力画像の領域において、異常が存在するか否かを判定する異常判定部と、異常判定部により異常が存在すると判定された入力画像の領域内の画像情報を補正する補正部と、を有する。 The image processing system according to one aspect of the present invention is an image processing system having a medium transfer device and an information processing device, and the medium transfer device is mounted on a mounting table on which a medium is placed and a mounting table. A transport unit that transports the image, a plurality of sensors for detecting the floating of a plurality of parts of the medium mounted on the mounting table, and any part of the plurality of parts based on output signals from the plurality of sensors. It has a floating determination unit for determining whether or not the medium has been lifted, and an image generation unit for generating an input image in which the medium transported by the transport unit is captured, and has a medium transport device or information processing. An abnormality determination unit that determines whether or not an abnormality exists in the area of the input image including a portion of the device that is determined by the floating determination unit that the medium has been lifted, and an abnormality determination unit. It has a correction unit for correcting image information in the area of the input image determined to have an abnormality.

また、本発明の一側面に係る制御方法は、媒体を載置する載置台と、載置台に載置された媒体を搬送する搬送部と、載置台に載置された媒体の複数部分の浮き上がりを検知するための複数のセンサと、を有する媒体搬送装置を有する画像処理システムの制御方法であって、複数のセンサからの出力信号に基づいて、複数部分の何れかの部分で媒体の浮き上がりが発生しているか否かを判定し、搬送部により搬送された媒体が撮像された入力画像を生成し、媒体の浮き上がりが発生していると判定された部分が含まれる入力画像の領域において、異常が存在するか否かを判定し、異常が存在すると判定された入力画像の領域内の画像情報を補正する。 Further, in the control method according to one aspect of the present invention, a mounting table on which the medium is placed, a transport unit for transporting the medium mounted on the mounting table, and a plurality of parts of the medium mounted on the mounting table are lifted. It is a control method of an image processing system having a plurality of sensors for detecting the above and a medium transporting device having the same. It is determined whether or not it has occurred, an input image in which the medium conveyed by the conveying unit is captured is generated, and an abnormality is found in the area of the input image including the portion where the floating of the medium is determined to occur. Is determined, and the image information in the area of the input image determined to be abnormal is corrected.

また、本発明の一側面に係る制御プログラムは、媒体を載置する載置台と、載置台に載置された媒体を搬送する搬送部と、載置台に載置された媒体の複数部分の浮き上がりを検知するための複数のセンサと、を有する媒体搬送装置の制御プログラムであって、複数のセンサからの出力信号に基づいて、複数部分の何れかの部分で媒体の浮き上がりが発生しているか否かを判定し、搬送部により搬送された媒体が撮像された入力画像を生成し、媒体の浮き上がりが発生していると判定された部分が含まれる入力画像の領域において、異常が存在するか否かを判定し、異常が存在すると判定された入力画像の領域内の画像情報を補正することを媒体搬送装置に実行させる。 Further, in the control program according to one aspect of the present invention, a mounting table on which the medium is placed, a transporting unit for transporting the medium mounted on the mounting table, and a plurality of parts of the medium mounted on the mounting table are lifted. It is a control program of a medium transporting device having a plurality of sensors for detecting the above, and whether or not the floating of the medium occurs in any part of the plurality of parts based on the output signals from the plurality of sensors. Whether or not there is an abnormality in the region of the input image including the portion determined to have raised the medium by generating an input image in which the medium conveyed by the conveying unit is captured. It is determined whether or not, and the medium carrier is made to correct the image information in the area of the input image determined to have an abnormality.

本発明によれば、媒体搬送装置、画像処理システム、制御方法及び制御プログラムは、異常が存在する入力画像をより短時間に補正することが可能となる。 According to the present invention, the medium transfer device, the image processing system, the control method and the control program can correct the input image in which an abnormality exists in a shorter time.

実施形態に従った画像処理システム1の一例の構成図である。It is a block diagram of an example of an image processing system 1 according to an embodiment. 媒体搬送装置100内部の搬送経路を説明するための図である。It is a figure for demonstrating the transport path in the medium transport device 100. 第1センサ111等の配置について説明するための模式図である。It is a schematic diagram for demonstrating the arrangement of the 1st sensor 111 and the like. 第1センサ111等の配置について説明するための模式図である。It is a schematic diagram for demonstrating the arrangement of the 1st sensor 111 and the like. 媒体搬送装置100等の概略構成を示すブロック図である。It is a block diagram which shows the schematic structure of the medium transfer apparatus 100 and the like. 第1記憶装置140及び第1処理回路150の概略構成を示す図である。It is a figure which shows the schematic structure of the 1st storage device 140 and the 1st processing circuit 150. 第2記憶装置210及び第2処理回路220の概略構成を示す図である。It is a figure which shows the schematic structure of the 2nd storage device 210 and the 2nd processing circuit 220. 媒体読取処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the medium reading process. 端部浮き上がり判定処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the edge lift determination process. 第1媒体信号等の特性の一例について説明するための模式図である。It is a schematic diagram for demonstrating an example of a characteristic of a 1st medium signal and the like. 第1媒体信号等の特性の一例について説明するための模式図である。It is a schematic diagram for demonstrating an example of a characteristic of a 1st medium signal and the like. 中央部浮き上がり判定処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the central part lift determination processing. 重送判定処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the double feed determination process. スキュー判定処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the skew determination processing. 画像処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of image processing. 媒体の欠けが存在する入力画像の一例を示す模式図である。It is a schematic diagram which shows an example of the input image in which a chip of a medium exists. 媒体の異形が存在する入力画像の一例を示す模式図である。It is a schematic diagram which shows an example of the input image which a variant of a medium exists. 媒体のカールが存在する入力画像の一例を示す模式図である。It is a schematic diagram which shows an example of the input image which the curl of a medium exists. 媒体のカールが存在する入力画像の他の例を示す模式図である。It is a schematic diagram which shows another example of the input image which the curl of a medium exists. 媒体のシワが存在する入力画像の一例を示す模式図である。It is a schematic diagram which shows an example of the input image which has wrinkles of a medium. 他の媒体読取処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of another medium reading process. 他の第1処理回路350の概略構成を示す図である。It is a figure which shows the schematic structure of another 1st processing circuit 350. 他の第2処理回路420の概略構成を示す図である。It is a figure which shows the schematic structure of another 2nd processing circuit 420.

以下、本発明の一側面に係る画像処理システムについて図を参照しつつ説明する。但し、本発明の技術的範囲はそれらの実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶ点に留意されたい。 Hereinafter, the image processing system 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は、実施形態に従った画像処理システム1の一例の構成図である。 FIG. 1 is a configuration diagram of an example of an image processing system 1 according to an embodiment.

画像処理システム1は、媒体搬送装置100及び情報処理装置200を備える。媒体搬送装置100は、イメージスキャナ等である。媒体搬送装置100は、原稿である媒体を搬送し、撮像する。媒体は、用紙、厚紙、カード、冊子又はパスポート等である。媒体搬送装置100は、ファクシミリ、複写機、プリンタ複合機(MFP、Multifunction Peripheral)等でもよい。情報処理装置200は、パーソナルコンピュータ、多機能携帯端末、携帯電話等である。媒体搬送装置100及び情報処理装置200は、相互に接続されている。 The image processing system 1 includes a medium transfer device 100 and an information processing device 200. The medium transfer device 100 is an image scanner or the like. The medium transport device 100 transports a medium as a document and takes an image. The medium is paper, cardboard, cards, booklets, passports, and the like. The medium transfer device 100 may be a facsimile, a copying machine, a multifunction printer (MFP, Multifunction Peripheral), or the like. The information processing device 200 is a personal computer, a multifunctional mobile terminal, a mobile phone, or the like. The medium transfer device 100 and the information processing device 200 are connected to each other.

媒体搬送装置100は、下側筐体101、上側筐体102、載置台103、排出台104、第1操作装置105及び第1表示装置106等を備える。 The medium transfer device 100 includes a lower housing 101, an upper housing 102, a mounting table 103, a discharge table 104, a first operating device 105, a first display device 106, and the like.

上側筐体102は、媒体搬送装置100の上面を覆う位置に配置され、媒体つまり時、媒体搬送装置100内部の清掃時等に開閉可能なようにヒンジにより下側筐体101に係合している。 The upper housing 102 is arranged at a position covering the upper surface of the medium transport device 100, and is engaged with the lower housing 101 by a hinge so that the upper housing 102 can be opened and closed when the medium is clogged, that is, when the inside of the medium transport device 100 is cleaned. There is.

載置台103は、搬送される媒体を載置可能に下側筐体101に係合している。載置台103は、媒体を載置する載置面103aを有する。排出台104は、排出された媒体を保持可能に下側筐体101に係合している。 The mounting table 103 is engaged with the lower housing 101 so that the medium to be transported can be mounted. The mounting table 103 has a mounting surface 103a on which a medium is mounted. The discharge base 104 is engaged with the lower housing 101 so as to be able to hold the discharged medium.

第1操作装置105は、ボタン等の入力デバイス及び入力デバイスから信号を取得するインタフェース回路を有し、利用者による入力操作を受け付け、利用者の入力操作に応じた操作信号を出力する。第1表示装置106は、液晶、有機EL(Electro-Luminescence)等を含むディスプレイ及びディスプレイに画像データを出力するインタフェース回路を有し、画像データをディスプレイに表示する。 The first 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 input operation by the user, and outputs an operation signal corresponding to the input operation of the user. The first display device 106 has a display including a liquid crystal display, an organic EL (Electro-Luminescence), and an interface circuit for outputting image data to the display, and displays the image data on the display.

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

媒体搬送装置100内部の搬送経路は、第1センサ111、第2センサ112、移動センサ113、第3センサ114、給送ローラ115、ブレーキローラ116、第4センサ117、超音波発信器118a、超音波受信器118b、第1搬送ローラ119、第2搬送ローラ120、第5センサ121、第1撮像装置122a、第2撮像装置122b、第3搬送ローラ123及び第4搬送ローラ124等を有している。なお、各ローラの数は一つに限定されず、各ローラの数はそれぞれ複数でもよい。 The transport paths inside the medium transport device 100 are the first sensor 111, the second sensor 112, the movement sensor 113, the third sensor 114, the feed roller 115, the brake roller 116, the fourth sensor 117, the ultrasonic transmitter 118a, and the super It has a sound wave receiver 118b, a first transfer roller 119, a second transfer roller 120, a fifth sensor 121, a first image pickup device 122a, a second image pickup device 122b, a third transfer roller 123, a fourth transfer roller 124, and the like. There is. The number of each roller is not limited to one, and the number of each roller may be plural.

下側筐体101の上面は、媒体の搬送路の下側ガイド107aを形成し、上側筐体102の下面は、媒体の搬送路の上側ガイド107bを形成する。図2において矢印A1は媒体搬送方向を示す。以下では、上流とは媒体搬送方向A1の上流のことをいい、下流とは媒体搬送方向A1の下流のことをいう。 The upper surface of the lower housing 101 forms the lower guide 107a of the medium transport path, and the lower surface of the upper housing 102 forms the upper guide 107b of the medium transport path. In FIG. 2, the arrow A1 indicates the medium transport direction. In the following, the upstream means the upstream in the medium transport direction A1, and the downstream means the downstream in the medium transport direction A1.

第3センサ114は、第1センサ111、第2センサ112及び移動センサ113より下流側且つ給送ローラ115及びブレーキローラ116より上流側に配置される。第3センサ114は、接触検出センサを有し、載置台103に媒体が載置されているか否かを検出する。第3センサ114は、載置台103に媒体が載置されている状態と載置されていない状態とで信号値が変化する第3媒体信号を生成して出力する。 The third sensor 114 is arranged on the downstream side of the first sensor 111, the second sensor 112, and the movement sensor 113, and on the upstream side of the feed roller 115 and the brake roller 116. The third sensor 114 has a contact detection sensor and detects whether or not a medium is mounted on the mounting table 103. The third sensor 114 generates and outputs a third medium signal whose signal value changes depending on whether the medium is mounted on the mounting table 103 or not.

給送ローラ115は、下側筐体101に設けられ、載置台103に載置された媒体を下側から順に給送する。ブレーキローラ116は、上側筐体102に設けられ、給送ローラ115と対向して配置される。 The feeding roller 115 is provided in the lower housing 101, and feeds the media mounted on the mounting table 103 in order from the lower side. The brake roller 116 is provided on the upper housing 102 and is arranged so as to face the feeding roller 115.

第4センサ117は、給送ローラ115及びブレーキローラ116より下流側且つ第1搬送ローラ119及び第2搬送ローラ120より上流側に配置される。第4センサ117は、その位置に媒体が存在するか否かを検出する。第4センサ117は、媒体の搬送路に対して一方の側に設けられた発光器及び受光器と、搬送路を挟んで発光器及び受光器と対向する位置に設けられたミラー等の反射部材とを含む。発光器は、搬送路に向けて光を照射する。一方、受光器は、発光器により照射され、反射部材により反射された光を受光し、受光した光の強度に応じた電気信号である第4媒体信号を生成して出力する。第4センサ117の位置に媒体が存在する場合、発光器により照射された光はその媒体により遮光されるため、第4センサ117の位置に媒体が存在する状態と存在しない状態とで第4媒体信号の信号値は変化する。なお、発光器及び受光器は、搬送路を挟んで相互に対向する位置に設けられ、反射部材は省略されてもよい。 The fourth sensor 117 is arranged on the downstream side of the feed roller 115 and the brake roller 116 and on the upstream side of the first transfer roller 119 and the second transfer roller 120. The fourth sensor 117 detects whether or not a medium is present at that position. The fourth sensor 117 includes a light emitter and a light receiver provided on one side of the medium transport path, and a reflection member such as a mirror provided at a position facing the light emitter and the light receiver across the transport path. And include. The light emitter irradiates light toward the transport path. On the other hand, the light receiver receives the light irradiated by the light emitter and reflected by the reflecting member, and generates and outputs a fourth medium signal which is an electric signal corresponding to the intensity of the received light. When a medium is present at the position of the fourth sensor 117, the light emitted by the light emitter is blocked by the medium, so that the fourth medium is present or absent at the position of the fourth sensor 117. The signal value of the signal changes. The light emitter and the light receiver are provided at positions facing each other with the transport path interposed therebetween, and the reflective member may be omitted.

超音波発信器118a及び超音波受信器118bは、給送ローラ115及びブレーキローラ116より下流側且つ第1搬送ローラ119及び第2搬送ローラ120より上流側に配置される。超音波発信器118a及び超音波受信器118bは、媒体の搬送路の近傍に、搬送路を挟んで対向して配置される。超音波発信器118aは、超音波を出力する。一方、超音波受信器118bは、超音波発信器118aにより発信され、媒体を通過した超音波を受信し、受信した超音波に応じた電気信号である超音波信号を生成して出力する。以下では、超音波発信器118a及び超音波受信器118bを総じて超音波センサ118と称する場合がある。 The ultrasonic transmitter 118a and the ultrasonic receiver 118b are arranged on the downstream side of the feed roller 115 and the brake roller 116 and on the upstream side of the first transfer roller 119 and the second transfer roller 120. The ultrasonic transmitter 118a and the ultrasonic receiver 118b 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 ultrasonic transmitter 118a outputs ultrasonic waves. On the other hand, the ultrasonic receiver 118b receives the ultrasonic waves transmitted by the ultrasonic transmitter 118a and passed through the medium, and generates and outputs an ultrasonic signal which is an electric signal corresponding to the received ultrasonic waves. Hereinafter, the ultrasonic transmitter 118a and the ultrasonic receiver 118b may be collectively referred to as an ultrasonic sensor 118.

第5センサ121は、媒体搬送方向A1において第1搬送ローラ119及び第2搬送ローラ120より下流側且つ撮像装置122より上流側に、媒体搬送方向と直交する幅方向A2において略中央部に配置される。第5センサ121は、その位置に媒体が存在するか否かを検出する。第5センサ121は、媒体の搬送路に対して一方の側に設けられた発光器及び受光器と、搬送路を挟んで発光器及び受光器と対向する位置に設けられたミラー等の反射部材とを含む。発光器は、搬送路に向けて光を照射する。一方、受光器は、発光器により照射され、反射部材により反射された光を受光し、受光した光の強度に応じた電気信号である第5媒体信号を生成して出力する。第5センサ121の位置に媒体が存在する場合、発光器により照射された光はその媒体により遮光されるため、第5センサ121の位置に媒体が存在する状態と存在しない状態とで第5媒体信号の信号値は変化する。なお、発光器及び受光器は、搬送路を挟んで相互に対向する位置に設けられ、反射部材は省略されてもよい。 The fifth sensor 121 is arranged in the medium transport direction A1 on the downstream side of the first transport roller 119 and the second transport roller 120 and on the upstream side of the image pickup apparatus 122, and substantially in the central portion in the width direction A2 orthogonal to the medium transport direction. NS. The fifth sensor 121 detects whether or not a medium is present at that position. The fifth sensor 121 includes a light emitter and a light receiver provided on one side of the medium transport path, and a reflection member such as a mirror provided at a position facing the light emitter and the light receiver across the transport path. And include. The light emitter irradiates light toward the transport path. On the other hand, the light receiver receives the light irradiated by the light emitter and reflected by the reflecting member, and generates and outputs a fifth medium signal which is an electric signal corresponding to the intensity of the received light. When a medium is present at the position of the fifth sensor 121, the light emitted by the light emitter is blocked by the medium, so that the fifth medium is present or absent at the position of the fifth sensor 121. The signal value of the signal changes. The light emitter and the light receiver are provided at positions facing each other with the transport path interposed therebetween, and the reflective member may be omitted.

第1撮像装置122aは、主走査方向に直線状に配列されたCMOS(Complementary Metal Oxide Semiconductor)による撮像素子を有する等倍光学系タイプのCIS(Contact Image Sensor)によるラインセンサを有する。また、第1撮像装置122aは、搬送される媒体に向けて光を照射する光源と、撮像素子上に像を結ぶレンズと、撮像素子から出力された電気信号を増幅し、アナログ/デジタル(A/D)変換するA/D変換器とを有する。第1撮像装置122aは、一定間隔毎に、搬送されている媒体の表面のラインセンサと対向する領域を撮像してライン画像を順次生成し、出力する。即ち、ライン画像の垂直方向(副走査方向)の画素数は1であり、水平方向(主走査方向)の画素数は複数である。 The first image pickup device 122a has a line sensor by a CIS (Contact Image Sensor) of the same magnification optical system type having an image pickup element by CMOS (Complementary Metal Oxide Semiconductor) arranged linearly in the main scanning direction. Further, the first image pickup apparatus 122a amplifies the light source that irradiates light toward the conveyed medium, the lens that forms an image on the image pickup element, and the electric signal output from the image pickup element, and is analog / digital (A). / D) It has an A / D converter to convert. The first imaging device 122a images a region facing the line sensor on the surface of the conveyed medium at regular intervals, sequentially generates a line image, and outputs the line image. That is, the number of pixels in the vertical direction (sub-scanning direction) of the line image is 1, and the number of pixels in the horizontal direction (main scanning direction) is a plurality.

同様に、第2撮像装置122bは、主走査方向に直線状に配列されたCMOSによる撮像素子を有する等倍光学系タイプのCISによるラインセンサを有する。また、第2撮像装置122bは、搬送される媒体に向けて光を照射する光源と、撮像素子上に像を結ぶレンズと、撮像素子から出力された電気信号を増幅し、アナログ/デジタル(A/D)変換するA/D変換器とを有する。第2撮像装置122bは、一定間隔毎に、搬送されている媒体の裏面のラインセンサと対向する領域を撮像してライン画像を順次生成し、出力する。 Similarly, the second image pickup device 122b has a line sensor according to CIS of the same magnification optical system type having CMOS image pickup elements linearly arranged in the main scanning direction. Further, the second image pickup apparatus 122b amplifies the light source that irradiates light toward the conveyed medium, the lens that forms an image on the image pickup element, and the electric signal output from the image pickup element, and is analog / digital (A). / D) It has an A / D converter to convert. The second image pickup apparatus 122b takes an image of a region facing the line sensor on the back surface of the conveyed medium at regular intervals, sequentially generates a line image, and outputs the line image.

なお、媒体搬送装置100は、第1撮像装置122a及び第2撮像装置122bを一方だけ配置し、媒体の片面だけを読み取ってもよい。また、CMOSによる撮像素子を備える等倍光学系タイプのCISによるラインセンサの代わりに、CCD(Charge Coupled Device)による撮像素子を備える等倍光学系タイプのCISによるラインセンサが利用されてもよい。また、CMOS又はCCDによる撮像素子を備える縮小光学系タイプのラインセンサが利用されてもよい。以下では、第1撮像装置122a及び第2撮像装置122bを総じて撮像装置122と称する場合がある。 In the medium transport device 100, only one of the first image pickup device 122a and the second image pickup device 122b may be arranged, and only one side of the medium may be read. Further, instead of the line sensor by the same magnification optical system type CIS including the image sensor by CMOS, the line sensor by the same magnification optical system type CIS including the image pickup element by CCD (Charge Coupled Device) may be used. Further, a reduction optical system type line sensor including a CMOS or CCD image sensor may be used. Hereinafter, the first imaging device 122a and the second imaging device 122b may be collectively referred to as an imaging device 122.

載置台103に載置された媒体は、給送ローラ115が図2の矢印A4の方向に回転することによって、下側ガイド107aと上側ガイド107bの間を媒体搬送方向A1に向かって搬送される。ブレーキローラ116は、媒体搬送時、矢印A5の方向に回転する。給送ローラ115及びブレーキローラ116の働きにより、載置台103に複数の媒体が載置されている場合、載置台103に載置されている媒体のうち給送ローラ115と接触している媒体のみが分離される。これにより、分離された媒体以外の媒体の搬送が制限されるように動作する(重送の防止)。 The medium mounted on the mounting table 103 is conveyed in the medium transport direction A1 between the lower guide 107a and the upper guide 107b by the feeding roller 115 rotating in the direction of the arrow A4 in FIG. .. The brake roller 116 rotates in the direction of arrow A5 when the medium is conveyed. When a plurality of media are mounted on the mounting table 103 by the action of the feeding roller 115 and the brake roller 116, only the media in contact with the feeding roller 115 among the media mounted on the mounting table 103. Is separated. As a result, it operates so as to limit the transport of media other than the separated medium (prevention of double feeding).

媒体は、下側ガイド107aと上側ガイド107bによりガイドされながら、第1搬送ローラ119と第2搬送ローラ120の間に送り込まれる。媒体は、第1搬送ローラ119及び第2搬送ローラ120がそれぞれ矢印A6及び矢印A7の方向に回転することによって、第1撮像装置122aと第2撮像装置122bの間に送り込まれる。給送ローラ115、ブレーキローラ116、第1搬送ローラ119及び第2搬送ローラ120は、載置台103に載置された媒体を撮像装置122へ搬送する搬送部の一例である。撮像装置122により読み取られた媒体は、第3搬送ローラ123及び第4搬送ローラ124がそれぞれ矢印A8及び矢印A9の方向に回転することによって排出台104上に排出される。 The medium is fed between the first transfer roller 119 and the second transfer roller 120 while being guided by the lower guide 107a and the upper guide 107b. The medium is fed between the first imaging device 122a and the second imaging device 122b by rotating the first conveying roller 119 and the second conveying roller 120 in the directions of the arrows A6 and A7, respectively. The feeding roller 115, the brake roller 116, the first transport roller 119, and the second transport roller 120 are examples of a transport unit that transports the medium mounted on the mounting table 103 to the image pickup apparatus 122. The medium read by the image pickup apparatus 122 is discharged onto the discharge table 104 by rotating the third transfer roller 123 and the fourth transfer roller 124 in the directions of arrows A8 and A9, respectively.

図3〜図4は、第1センサ111、第2センサ112及び移動センサ113等の配置について説明するための模式図である。図3は、媒体搬送装置100の上流側を側方から見た模式図である。図4は、媒体搬送装置100の上流側を上方から見た模式図である。 3 to 4 are schematic views for explaining the arrangement of the first sensor 111, the second sensor 112, the mobile sensor 113, and the like. FIG. 3 is a schematic view of the upstream side of the medium transfer device 100 as viewed from the side. FIG. 4 is a schematic view of the upstream side of the medium transfer device 100 as viewed from above.

図3に示すように、第1センサ111及び第2センサ112は、上側ガイド107bに、即ち媒体の搬送路に対して上側に、且つ、給送ローラ115及びブレーキローラ116より上流側に配置される。また、図4に示すように、第1センサ111及び第2センサ112は、媒体搬送方向A1と直交する幅方向A2において、移動センサ113より外側に配置される。第1センサ111は、載置台103の中央位置P0より一方の側(図4の左側)に配置され、第2センサ112は、載置台103の中央位置P0より他方の側(図4の右側)に配置される。 As shown in FIG. 3, the first sensor 111 and the second sensor 112 are arranged on the upper guide 107b, that is, on the upper side with respect to the transport path of the medium and on the upstream side of the feeding roller 115 and the brake roller 116. NS. Further, as shown in FIG. 4, the first sensor 111 and the second sensor 112 are arranged outside the moving sensor 113 in the width direction A2 orthogonal to the medium transport direction A1. The first sensor 111 is arranged on one side (left side in FIG. 4) from the center position P0 of the mounting table 103, and the second sensor 112 is on the other side (right side in FIG. 4) from the center position P0 of the mounting table 103. Is placed in.

第1センサ111は、赤外線近接距離センサであり、赤外線の照射から反射までの時間差から、対向する位置に存在する物体までの距離を測定する。第1センサ111は、第1発光部111a及び第1受光部111bを含む。第1発光部111aは、載置台103の載置面103a又は載置台103に載置された媒体Mに向けて光(赤外光)を照射する。特に、第1発光部111aは、媒体搬送方向A1において上流側であり、且つ、幅方向A2において第1発光部111aと対向する位置に向けて光を照射する。一方、第1受光部111bは、第1発光部111aにより照射され、載置台103の載置面103a又は載置台103に載置された媒体Mにより反射された光を受光し、受光した光に応じた電気信号である第1媒体信号を生成して、出力信号として出力する。 The first sensor 111 is an infrared proximity sensor, which measures the distance from an object existing at an opposite position from the time difference from irradiation of infrared rays to reflection. The first sensor 111 includes a first light emitting unit 111a and a first light receiving unit 111b. The first light emitting unit 111a irradiates light (infrared light) toward the mounting surface 103a of the mounting table 103 or the medium M mounted on the mounting table 103. In particular, the first light emitting unit 111a irradiates light toward a position on the upstream side in the medium transport direction A1 and facing the first light emitting unit 111a in the width direction A2. On the other hand, the first light receiving unit 111b receives the light irradiated by the first light emitting unit 111a and reflected by the mounting surface 103a of the mounting table 103 or the medium M mounted on the mounting table 103, and the received light is used. A first medium signal, which is a corresponding electric signal, is generated and output as an output signal.

第1媒体信号は、第1発光部111aが光を照射してから第1受光部111bが光を受光するまでの時間及び第1受光部111bが受光した光の光量を示す。したがって、第1媒体信号は、第1センサ111から、載置台103に載置された媒体Mの、第1発光部111aにより照射される第1部分P1までの距離に応じて変化する。第1部分P1は、幅方向A2において、載置台103に載置された媒体Mの中央位置P0より一方の側(図4の左側)に位置する。 The first medium signal indicates the time from when the first light emitting unit 111a irradiates light to when the first light receiving unit 111b receives light and the amount of light received by the first light receiving unit 111b. Therefore, the first medium signal changes according to the distance from the first sensor 111 to the first portion P1 of the medium M mounted on the mounting table 103, which is irradiated by the first light emitting unit 111a. The first portion P1 is located on one side (left side in FIG. 4) of the medium M mounted on the mounting table 103 in the width direction A2 from the center position P0.

同様に、第2センサ112は、赤外線近接距離センサであり、赤外線の照射から反射までの時間差から、対向する位置に存在する物体までの距離を測定する。第2センサ112は、第2発光部112a及び第2受光部112bを含む。第2発光部112aは、載置台103の載置面103a又は載置台103に載置された媒体Mに向けて光(赤外光)を照射する。特に、第2発光部112aは、媒体搬送方向A1において上流側であり、且つ、幅方向A2において第2発光部112aと対向する位置に向けて光を照射する。一方、第2受光部112bは、第2発光部112aにより照射され、載置台103の載置面103a又は載置台103に載置された媒体Mにより反射された光を受光し、受光した光に応じた電気信号である第2媒体信号を生成して、出力信号として出力する。 Similarly, the second sensor 112 is an infrared proximity sensor, which measures the distance to an object existing at an opposite position from the time difference from irradiation of infrared rays to reflection. The second sensor 112 includes a second light emitting unit 112a and a second light receiving unit 112b. The second light emitting unit 112a irradiates light (infrared light) toward the mounting surface 103a of the mounting table 103 or the medium M mounted on the mounting table 103. In particular, the second light emitting unit 112a irradiates light toward a position that is upstream in the medium transport direction A1 and faces the second light emitting unit 112a in the width direction A2. On the other hand, the second light receiving unit 112b receives the light irradiated by the second light emitting unit 112a and reflected by the mounting surface 103a of the mounting table 103 or the medium M mounted on the mounting table 103, and the received light is used. A second medium signal, which is a corresponding electric signal, is generated and output as an output signal.

第2媒体信号は、第2発光部112aが光を照射してから第2受光部112bが光を受光するまでの時間及び第2受光部112bが受光した光の光量を示す。したがって、第2媒体信号は、第2センサ112から載置台103に載置された媒体Mの、第2発光部112aにより照射される第2部分P2までの距離に応じて変化する。第2部分P2は、幅方向A2において、載置台103に載置された媒体Mの中央位置P0より他方の側(図4の右側)に位置する。 The second medium signal indicates the time from when the second light emitting unit 112a irradiates the light until the second light receiving unit 112b receives the light and the amount of light received by the second light receiving unit 112b. Therefore, the second medium signal changes according to the distance from the second sensor 112 to the second portion P2 of the medium M mounted on the mounting table 103, which is irradiated by the second light emitting unit 112a. The second portion P2 is located on the other side (right side in FIG. 4) from the central position P0 of the medium M mounted on the mounting table 103 in the width direction A2.

第1センサ111及び第2センサ112は、載置台103に載置された媒体Mの複数部分(第1部分P1及び第2部分P2)の浮き上がりを検知するために使用される。第1センサ111及び第2センサ112として、例えば、0〜100mmの範囲で、1mmの分解能で距離を測定できる公知の赤外線近接距離センサを利用できる。 The first sensor 111 and the second sensor 112 are used to detect the floating of a plurality of portions (first portion P1 and second portion P2) of the medium M mounted on the mounting table 103. As the first sensor 111 and the second sensor 112, for example, a known infrared proximity sensor capable of measuring a distance in the range of 0 to 100 mm with a resolution of 1 mm can be used.

移動センサ113は、上側ガイド107bに、即ち媒体の搬送路に対して上側に、且つ、給送ローラ115及びブレーキローラ116より上流側に配置される。また、移動センサ113は、幅方向A2において、上側筐体102の中央部に配置される。 The movement sensor 113 is arranged on the upper guide 107b, that is, on the upper side with respect to the transport path of the medium and on the upstream side of the feeding roller 115 and the brake roller 116. Further, the movement sensor 113 is arranged at the center of the upper housing 102 in the width direction A2.

移動センサ113は、アーム113a、支持部113b、遮蔽部113c、移動センサ発光器113d及び移動センサ受光器113e等を有する。 The mobile sensor 113 includes an arm 113a, a support portion 113b, a shielding portion 113c, a mobile sensor light emitter 113d, a mobile sensor receiver 113e, and the like.

支持部113bは、上側筐体102に回転可能に取り付けられる。アーム113aは、上側ガイド107bに、即ち媒体の搬送路に対して上側に、且つ、給送ローラ115及びブレーキローラ116より上流側に、給送される媒体に接触可能に設けられる。アーム113a及び遮蔽部113cは、支持部113bを回転軸として一体に揺動(回転)可能に支持部113bにより支持される。上側筐体102とアーム113aの間には、ねじりコイルばね113fが設けられる。ねじりコイルばね113fは、支持部113bの周りに、アーム113aに矢印A11の方向(高さ方向A3における下方)に力が加えられるように設けられる。また、上側筐体102には、遮蔽部113cを停止させるためのストッパ113gが設けられる。 The support portion 113b is rotatably attached to the upper housing 102. The arm 113a is provided on the upper guide 107b, that is, on the upper side with respect to the transport path of the medium and on the upstream side of the feed roller 115 and the brake roller 116 so as to be in contact with the feed medium. The arm 113a and the shielding portion 113c are supported by the support portion 113b so as to be integrally swingable (rotary) with the support portion 113b as a rotation axis. A torsion coil spring 113f is provided between the upper housing 102 and the arm 113a. The torsion coil spring 113f is provided around the support portion 113b so that a force is applied to the arm 113a in the direction of the arrow A11 (downward in the height direction A3). Further, the upper housing 102 is provided with a stopper 113g for stopping the shielding portion 113c.

移動センサ発光器113dは、移動センサ受光器113eに向けて光を照射する。移動センサ受光器113eは、移動センサ発光器113dにより照射された光を受光し、受光した光の強度に応じた電気信号である移動量信号を生成して出力する。移動センサ発光器113dと移動センサ受光器113eの間に遮蔽部113cが存在する場合、移動センサ発光器113dにより照射された光は遮蔽部113cにより遮光される。そのため、移動量信号の信号値は、遮蔽部113cの位置に応じて、即ち遮蔽部113cとともに移動するアーム113aの移動量に応じて変化する。 The mobile sensor light emitter 113d irradiates light toward the mobile sensor light receiver 113e. The mobile sensor light receiver 113e receives the light emitted by the mobile sensor light emitter 113d, and generates and outputs a movement amount signal which is an electric signal according to the intensity of the received light. When the shielding portion 113c is present between the moving sensor light emitter 113d and the moving sensor receiver 113e, the light emitted by the moving sensor light emitting device 113d is blocked by the shielding portion 113c. Therefore, the signal value of the movement amount signal changes according to the position of the shielding portion 113c, that is, according to the moving amount of the arm 113a moving together with the shielding portion 113c.

載置台103に載置された媒体がアーム113aに接触していない状態では、遮蔽部113cは、ねじりコイルばね113fによって下方に押圧されるアーム113aにより上方に押圧されてストッパ113gに当接して停止する。これにより、遮蔽部113cは、移動センサ発光器113dと移動センサ受光器113eの間に配置され、移動量信号の信号値は、アーム113aが図3に示す初期位置に存在する状態を示す。一方、載置台103に載置された媒体が撓んでアーム113aに接触した場合、アーム113aは撓んだ媒体によって矢印A11の反対方向に押し上げられる。遮蔽部113cは、撓んだ媒体によって上方に押圧されるアーム113aにより下方に移動する。これにより、遮蔽部113cは、移動センサ発光器113dと移動センサ受光器113eの間に存在しなくなり、移動量信号の信号値は、アーム113aが初期位置に存在しない状態を示す。 In a state where the medium mounted on the mounting table 103 is not in contact with the arm 113a, the shielding portion 113c is pressed upward by the arm 113a pressed downward by the torsion coil spring 113f and comes into contact with the stopper 113g to stop. do. As a result, the shielding portion 113c is arranged between the moving sensor light emitter 113d and the moving sensor receiver 113e, and the signal value of the moving amount signal indicates a state in which the arm 113a exists at the initial position shown in FIG. On the other hand, when the medium mounted on the mounting table 103 bends and comes into contact with the arm 113a, the arm 113a is pushed up by the bent medium in the direction opposite to the arrow A11. The shielding portion 113c moves downward by the arm 113a pressed upward by the bent medium. As a result, the shielding portion 113c does not exist between the moving sensor light emitter 113d and the moving sensor receiver 113e, and the signal value of the moving amount signal indicates a state in which the arm 113a does not exist at the initial position.

図5は、媒体搬送装置100及び情報処理装置200の概略構成を示すブロック図である。 FIG. 5 is a block diagram showing a schematic configuration of the medium transfer device 100 and the information processing device 200.

媒体搬送装置100は、前述した構成に加えて、モータ131、第1インタフェース装置132、第1記憶装置140及び第1処理回路150等をさらに有する。 The medium transfer device 100 further includes a motor 131, a first interface device 132, a first storage device 140, a first processing circuit 150, and the like, in addition to the above-described configuration.

モータ131は、1つ又は複数のモータを含み、第1処理回路150からの制御信号によって、給送ローラ115、ブレーキローラ116、第1〜第4搬送ローラ119、120、123及び124を回転させて媒体を搬送させる。 The motor 131 includes one or a plurality of motors, and rotates the feed roller 115, the brake roller 116, and the first to fourth transfer rollers 119, 120, 123, and 124 by a control signal from the first processing circuit 150. To transport the medium.

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

第1記憶装置140は、RAM(Random Access Memory)、ROM(Read Only Memory)等のメモリ装置、ハードディスク等の固定ディスク装置、又はフレキシブルディスク、光ディスク等の可搬用の記憶装置等を有する。また、第1記憶装置140には、媒体搬送装置100の各種処理に用いられるコンピュータプログラム、データベース、テーブル等が格納される。コンピュータプログラムは、コンピュータ読み取り可能な可搬型記録媒体から、公知のセットアッププログラム等を用いて第1記憶装置140にインストールされてもよい。可搬型記録媒体は、例えばCD−ROM(compact disc read only memory)、DVD−ROM(digital versatile disc read only memory)等である。 The first storage device 140 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 first storage device 140 stores computer programs, databases, tables, etc. used for various processes of the medium transfer device 100. The computer program may be installed in the first storage device 140 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 disc read only memory), a DVD-ROM (digital versatile disc read only memory), or the like.

第1処理回路150は、予め第1記憶装置140に記憶されているプログラムに基づいて動作する。第1処理回路150は、例えばCPU(Central Processing Unit)である。第1処理回路150として、DSP(digital signal processor)、LSI(large scale integration)、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)等が用いられてもよい。 The first processing circuit 150 operates based on a program stored in the first storage device 140 in advance. The first processing circuit 150 is, for example, a CPU (Central Processing Unit). As the first processing circuit 150, a DSP (digital signal processor), an LSI (large scale integration), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or the like may be used.

第1処理回路150は、第1操作装置105、第1表示装置106、第1センサ111、第2センサ112、移動センサ113、第3センサ114、第4センサ117、超音波センサ118、第5センサ121、撮像装置122、モータ131、第1インタフェース装置132及び第1記憶装置140等と接続され、これらの各部を制御する。第1処理回路150は、モータ131の駆動制御、撮像装置122の撮像制御等を行い、入力画像を生成し、第1インタフェース装置132を介して情報処理装置200に送信する。また、第1処理回路150は、第1センサ111及び第2センサ112からの第1媒体信号及び第2媒体信号に基づいて媒体の複数部分で浮き上がりが発生しているか否かを判定し、第1インタフェース装置132を介して情報処理装置200に判定結果を送信する。 The first processing circuit 150 includes a first operating device 105, a first display device 106, a first sensor 111, a second sensor 112, a mobile sensor 113, a third sensor 114, a fourth sensor 117, an ultrasonic sensor 118, and a fifth. It is connected to a sensor 121, an image pickup device 122, a motor 131, a first interface device 132, a first storage device 140, and the like, and controls each of these parts. The first processing circuit 150 performs drive control of the motor 131, image pickup control of the image pickup device 122, etc., generates an input image, and transmits the input image to the information processing device 200 via the first interface device 132. Further, the first processing circuit 150 determines whether or not floating occurs in a plurality of parts of the medium based on the first medium signal and the second medium signal from the first sensor 111 and the second sensor 112, and the first processing circuit 150 determines whether or not the floating occurs in a plurality of parts of the medium. The determination result is transmitted to the information processing device 200 via the interface device 132.

一方、情報処理装置200は、第2操作装置201、第2表示装置202、第2インタフェース装置203、第2記憶装置210及び第2処理回路220等をさらに有する。 On the other hand, the information processing device 200 further includes a second operation device 201, a second display device 202, a second interface device 203, a second storage device 210, a second processing circuit 220, and the like.

第2操作装置201は、キーボード、マウス等の入力デバイス及び入力デバイスから信号を取得するインタフェース回路をさらに有し、利用者による操作を受け付け、利用者の入力に応じた信号を第2処理回路220に出力する。第2表示装置202は、液晶、有機EL等から構成されるディスプレイ及びディスプレイに画像データを出力するインタフェース回路を有し、第2処理回路220からの指示に従って、画像データをディスプレイに表示する。 The second operating device 201 further includes an input device such as a keyboard and a mouse, and an interface circuit that acquires a signal from the input device, receives an operation by the user, and receives a signal according to the input of the user in the second processing circuit 220. Output to. The second display device 202 has a display composed of a liquid crystal display, an organic EL, or the like, and an interface circuit for outputting image data to the display, and displays the image data on the display according to an instruction from the second processing circuit 220.

第2インタフェース装置203は、第1インタフェース装置132と同様のインタフェース回路又は無線通信インタフェース回路を有し、媒体搬送装置100と通信接続して各種の画像及び情報を送受信する。 The second interface device 203 has an interface circuit or a wireless communication interface circuit similar to that of the first interface device 132, and communicates with the medium carrier device 100 to transmit and receive various images and information.

第2記憶装置210は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、又はフレキシブルディスク、光ディスク等の可搬用の記憶装置等を有する。また、第2記憶装置210には、情報処理装置200の各種処理に用いられるコンピュータプログラム、データベース、テーブル等が格納される。コンピュータプログラムは、例えばCD−ROM、DVD−ROM等のコンピュータ読み取り可能な可搬型記録媒体から、公知のセットアッププログラム等を用いて第2記憶装置210にインストールされてもよい。また、第2記憶装置210には、各種の画像が格納される。 The second storage device 210 includes a memory device such as RAM and ROM, a fixed disk device such as a hard disk, a portable storage device such as a flexible disk and an optical disk, and the like. Further, the second storage device 210 stores computer programs, databases, tables, etc. used for various processes of the information processing device 200. The computer program may be installed in the second storage device 210 from a computer-readable portable recording medium such as a CD-ROM or a DVD-ROM using a known setup program or the like. In addition, various images are stored in the second storage device 210.

第2処理回路220は、予め第2記憶装置210に記憶されているプログラムに基づいて動作する。第2処理回路220は、例えばCPUである。第2処理回路220として、DSP、LSI、ASIC、FPGA等が用いられてもよい。 The second processing circuit 220 operates based on a program stored in the second storage device 210 in advance. The second processing circuit 220 is, for example, a CPU. As the second processing circuit 220, a DSP, LSI, ASIC, FPGA or the like may be used.

第2処理回路220は、第2操作装置201、第2表示装置202、第2インタフェース装置203及び第2記憶装置210等と接続され、これらの各部を制御する。第2処理回路220は、各装置の制御を行い、媒体搬送装置100から取得した画像に対する画像処理を実行する。 The second processing circuit 220 is connected to the second operating device 201, the second display device 202, the second interface device 203, the second storage device 210, and the like, and controls each of these parts. The second processing circuit 220 controls each device and executes image processing on the image acquired from the medium transfer device 100.

図6は、第1記憶装置140及び第1処理回路150の概略構成を示す図である。 FIG. 6 is a diagram showing a schematic configuration of a first storage device 140 and a first processing circuit 150.

図6に示すように、第1記憶装置140には、制御プログラム141、画像生成プログラム142、第1浮き上がり判定プログラム143、第2浮き上がり判定プログラム144、重送判定プログラム145及びスキュー判定プログラム146等が記憶される。これらの各プログラムは、プロセッサ上で動作するソフトウェアにより実装される機能モジュールである。第1処理回路150は、第1記憶装置140に記憶された各プログラムを読み取り、読み取った各プログラムに従って動作する。これにより、第1処理回路150は、制御部151、画像生成部152、第1浮き上がり判定部153、第2浮き上がり判定部154、重送判定部155及びスキュー判定部156として機能する。 As shown in FIG. 6, the first storage device 140 includes a control program 141, an image generation program 142, a first lift determination program 143, a second lift determination program 144, a double feed determination program 145, a skew determination program 146, and the like. Be remembered. Each of these programs is a functional module implemented by software running on the processor. The first processing circuit 150 reads each program stored in the first storage device 140 and operates according to each read program. As a result, the first processing circuit 150 functions as a control unit 151, an image generation unit 152, a first lift determination unit 153, a second lift determination unit 154, a double feed determination unit 155, and a skew determination unit 156.

図7は、第2記憶装置210及び第2処理回路220の概略構成を示す図である。 FIG. 7 is a diagram showing a schematic configuration of the second storage device 210 and the second processing circuit 220.

図7に示すように、第2記憶装置210には、異常判定プログラム211、補正プログラム212及び表示制御プログラム213等が記憶される。これらの各プログラムは、プロセッサ上で動作するソフトウェアにより実装される機能モジュールである。第2処理回路220は、第2記憶装置210に記憶された各プログラムを読み取り、読み取った各プログラムに従って動作する。これにより、第2処理回路220は、異常判定部221、補正部222及び表示制御部223として機能する。 As shown in FIG. 7, the second storage device 210 stores the abnormality determination program 211, the correction program 212, the display control program 213, and the like. Each of these programs is a functional module implemented by software running on the processor. The second processing circuit 220 reads each program stored in the second storage device 210 and operates according to each read program. As a result, the second processing circuit 220 functions as an abnormality determination unit 221 and a correction unit 222 and a display control unit 223.

図8は、媒体搬送装置100の媒体読取処理の動作の例を示すフローチャートである。 FIG. 8 is a flowchart showing an example of the operation of the medium reading process of the medium transport device 100.

以下、図8に示したフローチャートを参照しつつ、媒体搬送装置100の媒体読取処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め第1記憶装置140に記憶されているプログラムに基づき主に第1処理回路150により媒体搬送装置100の各要素と協働して実行される。図8に示す動作のフローは、定期的に実行される。 Hereinafter, an example of the operation of the medium reading process of the medium conveying device 100 will be described with reference to the flowchart shown in FIG. The operation flow described below is mainly executed by the first processing circuit 150 in cooperation with each element of the medium transfer device 100 based on the program stored in the first storage device 140 in advance. The operation flow shown in FIG. 8 is executed periodically.

最初に、制御部151は、利用者により第1操作装置105を用いて媒体の読み取りの指示が入力されて、媒体の読み取りを指示する操作信号を第1操作装置105から受信するまで待機する(ステップS101)。 First, the control unit 151 waits until the user inputs an instruction to read the medium using the first operation device 105 and receives an operation signal instructing to read the medium from the first operation device 105 ( Step S101).

次に、制御部151は、第3センサ114から第3媒体信号を取得し、取得した第3媒体信号に基づいて、載置台103に媒体が載置されているか否かを判定する(ステップS102)。 Next, the control unit 151 acquires a third medium signal from the third sensor 114, and determines whether or not the medium is mounted on the mounting table 103 based on the acquired third medium signal (step S102). ).

載置台103に媒体が載置されていない場合、制御部151は、ステップS101へ処理を戻し、第1操作装置105から新たに操作信号を受信するまで待機する。 When the medium is not mounted on the mounting table 103, the control unit 151 returns the process to step S101 and waits until a new operation signal is received from the first operating device 105.

一方、載置台103に媒体が載置されている場合、制御部151は、モータ131を駆動し、給送ローラ115、ブレーキローラ116、第1〜第4搬送ローラ119、120、123、124を回転させて、媒体を搬送させる(ステップS103)。 On the other hand, when the medium is mounted on the mounting table 103, the control unit 151 drives the motor 131 to drive the feeding roller 115, the brake roller 116, and the first to fourth transport rollers 119, 120, 123, 124. It is rotated to convey the medium (step S103).

次に、制御部151は、第1浮き上がりフラグ、第2浮き上がりフラグ、中央浮き上がりフラグ、重送フラグ及びスキューフラグをOFFに設定する(ステップS104)。第1浮き上がりフラグは、後述する端部浮き上がり判定処理において、第1センサ111からの第1媒体信号に基づいて、媒体の端部で浮き上がりが発生していると判定されたときにONに設定される。第2浮き上がりフラグは、後述する端部浮き上がり判定処理において、第2センサ112からの第2媒体信号に基づいて、媒体の端部で浮き上がりが発生していると判定されたときにONに設定される。 Next, the control unit 151 sets the first floating flag, the second floating flag, the central floating flag, the double feed flag, and the skew flag to OFF (step S104). The first lift flag is set to ON when it is determined that a lift has occurred at the end of the medium based on the first medium signal from the first sensor 111 in the edge lift determination process described later. NS. The second lift flag is set to ON when it is determined that a lift has occurred at the end of the medium based on the second medium signal from the second sensor 112 in the edge lift determination process described later. NS.

中央部浮き上がりフラグは、後述する中央部浮き上がり判定処理において、移動センサ113からの移動量信号に基づいて、媒体の中央部で浮き上がりが発生しているが発生していると判定されたときにONに設定される。重送フラグは、後述する重送判定処理において、超音波センサ118からの超音波信号に基づいて、媒体の重送が発生していると判定されたときにONに設定される。スキューフラグは、後述するスキュー判定処理において、第5センサ121からの第5媒体信号及び撮像装置122からのライン画像に基づいて、媒体のスキューが発生していると判定されたときにONに設定される。 The central portion lift flag is turned on when it is determined in the central portion lift determination process, which will be described later, that a lift has occurred in the central portion of the medium based on the movement amount signal from the movement sensor 113. Is set to. The double feed flag is set to ON when it is determined that double feed of the medium is occurring based on the ultrasonic signal from the ultrasonic sensor 118 in the double feed determination process described later. The skew flag is set to ON when it is determined that the medium is skewed based on the fifth medium signal from the fifth sensor 121 and the line image from the imaging device 122 in the skew determination process described later. Will be done.

次に、制御部151は、載置台103に載置された媒体の端部で浮き上がりが発生しているか否かを判定する(ステップS105)。制御部151は、第1浮き上がりフラグ又は第2浮き上がりフラグがONであるか否かにより、媒体の端部で浮き上がりが発生しているか否かを判定する。 Next, the control unit 151 determines whether or not floating has occurred at the end of the medium mounted on the mounting table 103 (step S105). The control unit 151 determines whether or not the floating occurs at the end of the medium depending on whether or not the first floating flag or the second floating flag is ON.

媒体の端部で浮き上がりが発生していない場合、制御部151は、第1条件が満たされているか否かを判定する(ステップS106)。制御部151は、例えば媒体の中央部で浮き上がりが発生しており且つ媒体のスキュー及び媒体の重送が発生していない場合に第1条件が満たされると判定し、それ以外の場合に第1条件が満たされないと判定する。制御部151は、中央部浮き上がりフラグがONであるか否かにより、媒体の中央部で浮き上がりが発生しているか否かを判定する。また、制御部151は、スキューフラグがONであるか否かにより、媒体のスキューが発生しているか否かを判定する。また、制御部151は、重送フラグがONであるか否かにより、媒体の重送が発生しているか否かを判定する。第1条件が満たされていない場合、制御部151は、現時点で、媒体の撓み、スキュー等の搬送異常が発生していないと判定し、処理をステップS109へ移行する。 When the floating does not occur at the end of the medium, the control unit 151 determines whether or not the first condition is satisfied (step S106). The control unit 151 determines that the first condition is satisfied when, for example, the floating occurs in the central portion of the medium and the skew of the medium and the double feeding of the medium do not occur, and in other cases, the first condition is satisfied. Judge that the condition is not satisfied. The control unit 151 determines whether or not floating has occurred in the central portion of the medium depending on whether or not the central portion lifting flag is ON. Further, the control unit 151 determines whether or not the medium is skewed depending on whether or not the skew flag is ON. Further, the control unit 151 determines whether or not the double feed of the medium has occurred depending on whether or not the double feed flag is ON. If the first condition is not satisfied, the control unit 151 determines that no transfer abnormality such as bending or skew of the medium has occurred at this time, and shifts the process to step S109.

一方、第1条件が満たされている場合、制御部151は、媒体の撓み、スキュー等の搬送異常が発生したと判定し、モータ131を停止して、媒体の搬送を停止し(ステップS107)、一連のステップを終了する。媒体を下側から順に給送する媒体搬送装置100において、端部での浮き上がり、スキュー及び重送が発生せず且つ中央部での浮き上がりが発生している場合、媒体搬送方向A1に沿って二つ折りにされた媒体が搬送されて中央部が撓んでいる可能性がある。また、この場合、幅方向A2の長さが第1センサ111と第2センサ112の間の距離より短いパスポート等の小型冊子が、綴じ目部が媒体搬送方向A1と直交するように搬送されて、小型冊子全体が撓んでいる可能性もある。制御部151は、第1条件が満たされる場合に、媒体の搬送を停止することにより、媒体のジャムが発生して媒体が損傷することを抑制できる。なお、制御部151は、媒体のスキュー及び/又は媒体の重送が発生しているか否かに関わらず、第1条件が満たされると判定してもよい。 On the other hand, when the first condition is satisfied, the control unit 151 determines that a transfer abnormality such as bending or skew of the medium has occurred, stops the motor 131, and stops the transfer of the medium (step S107). , End a series of steps. In the medium transport device 100 that feeds the media in order from the lower side, when the lift at the end, the skew and the double feed do not occur, and the lift occurs at the center, two along the medium transport direction A1. The folded medium may be transported and the central part may be bent. Further, in this case, a small booklet such as a passport whose length in the width direction A2 is shorter than the distance between the first sensor 111 and the second sensor 112 is transported so that the binding portion is orthogonal to the medium transport direction A1. , The entire small booklet may be bent. When the first condition is satisfied, the control unit 151 can prevent the medium from being jammed and damaged by stopping the transport of the medium. The control unit 151 may determine that the first condition is satisfied regardless of whether or not skew and / or double feeding of the medium has occurred.

一方、媒体の端部で浮き上がりが発生している場合、制御部151は、第2条件が満たされるか否かを判定する(ステップS108)。制御部151は、例えば、媒体のスキュー又は重送の少なくとも一方が発生しており且つ媒体の中央部で浮き上がりが発生していない場合に第2条件が満たされると判定し、それ以外の場合に第2条件が満たされないと判定する。 On the other hand, when the floating occurs at the end of the medium, the control unit 151 determines whether or not the second condition is satisfied (step S108). The control unit 151 determines that the second condition is satisfied when, for example, at least one of skewing or double feeding of the medium has occurred and no floating has occurred in the central portion of the medium, and in other cases, the second condition is satisfied. It is determined that the second condition is not satisfied.

第2条件が満たされている場合、制御部151は、媒体の撓み、スキュー等の搬送異常が発生したと判定し、モータ131を停止して、媒体の搬送を停止し(ステップS107)、一連のステップを終了する。媒体を下側から順に給送する媒体搬送装置100において、中央部での浮き上がりが発生せず、端部での浮き上がりが発生し且つスキュー又は重送が発生している場合、上流側の一端がステイプルで綴じられた媒体が搬送されて端部が撓んでいる可能性がある。また、この場合、媒体搬送方向A1に沿って二つ折りにされた媒体が搬送されて、端部が撓んでいる可能性もある。制御部151は、第2条件が満たされる場合に、媒体の搬送を停止することにより、媒体のジャムが発生して媒体が損傷することを抑制できる。なお、制御部151は、媒体のスキュー又は重送の少なくとも一方が発生している場合、媒体の中央部で浮き上がりが発生しているか否かに関わらず、第2条件が満たされると判定してもよい。 When the second condition is satisfied, the control unit 151 determines that a transfer abnormality such as bending or skew of the medium has occurred, stops the motor 131, stops the transfer of the medium (step S107), and performs a series of operations. End the step of. In the medium transport device 100 that feeds the media in order from the lower side, when the floating at the central portion does not occur, the floating at the end portion occurs, and skew or double feeding occurs, one end on the upstream side is The stapled medium may be transported and the edges may be bent. Further, in this case, there is a possibility that the medium folded in half along the medium transport direction A1 is transported and the end portion is bent. When the second condition is satisfied, the control unit 151 can prevent the medium from being jammed and damaged by stopping the transport of the medium. The control unit 151 determines that the second condition is satisfied regardless of whether or not the floating occurs in the central portion of the medium when at least one of skewing or double feeding of the medium occurs. May be good.

一方、第2条件が満たされていない場合、制御部151は、媒体全体が撮像装置122の撮像位置を通過したか否かを判定する(ステップS109)。制御部151は、第5センサ121から定期的に第5媒体信号を取得し、取得した第5媒体信号に基づいて、第5センサ121の位置に媒体が存在するか否かを判定する。制御部151は、第5媒体信号の信号値が、媒体が存在することを示す値から媒体が存在しないことを示す値に変化したときに、媒体の後端が第5センサ121の位置を通過したと判定する。制御部151は、媒体の後端が第5センサ121の位置を通過してから所定時間が経過した時に媒体全体が撮像位置を通過したと判定する。なお、制御部151は、予め定められた数のライン画像を撮像装置122から取得したときに、搬送された媒体全体が撮像位置を通過したと判定してもよい。まだ媒体全体が撮像位置を通過していない場合、制御部151は、処理をステップS105へ戻し、ステップS105〜S109の処理を繰り返す。 On the other hand, when the second condition is not satisfied, the control unit 151 determines whether or not the entire medium has passed the imaging position of the imaging device 122 (step S109). The control unit 151 periodically acquires a fifth medium signal from the fifth sensor 121, and determines whether or not a medium exists at the position of the fifth sensor 121 based on the acquired fifth medium signal. The control unit 151 passes the rear end of the medium through the position of the fifth sensor 121 when the signal value of the fifth medium signal changes from a value indicating the presence of the medium to a value indicating the absence of the medium. It is determined that it has been done. The control unit 151 determines that the entire medium has passed the imaging position when a predetermined time has elapsed since the rear end of the medium passed the position of the fifth sensor 121. When the control unit 151 acquires a predetermined number of line images from the image pickup apparatus 122, the control unit 151 may determine that the entire conveyed medium has passed the image pickup position. If the entire medium has not yet passed the imaging position, the control unit 151 returns the process to step S105 and repeats the processes of steps S105 to S109.

一方、媒体全体が撮像位置を通過した場合、画像生成部152は、撮像装置122から媒体搬送中に生成された各ライン画像を取得し、取得した全てのライン画像を合成して入力画像を生成する(ステップS110)。 On the other hand, when the entire medium has passed the imaging position, the image generation unit 152 acquires each line image generated during the medium transfer from the imaging device 122, and synthesizes all the acquired line images to generate an input image. (Step S110).

次に、画像生成部152は、入力画像と、第1浮き上がりフラグ及び第2浮き上がりフラグとを、第1インタフェース装置132を介して情報処理装置200へ送信する(ステップS111)。 Next, the image generation unit 152 transmits the input image, the first floating flag, and the second floating flag to the information processing device 200 via the first interface device 132 (step S111).

次に、制御部151は、第3センサ114から取得する第3媒体信号に基づいて載置台103に媒体が残っているか否かを判定する(ステップS112)。載置台103に媒体が残っている場合、制御部151は、ステップS104へ処理を戻し、ステップS104〜S112の処理を繰り返す。 Next, the control unit 151 determines whether or not the medium remains on the mounting table 103 based on the third medium signal acquired from the third sensor 114 (step S112). When the medium remains on the mounting table 103, the control unit 151 returns the process to step S104 and repeats the processes of steps S104 to S112.

一方、載置台103に媒体が残っていない場合、制御部151は、モータ131を停止して、媒体の搬送を停止し(ステップS113)、一連のステップを終了する。 On the other hand, when no medium remains on the mounting table 103, the control unit 151 stops the motor 131, stops the transport of the medium (step S113), and ends a series of steps.

なお、媒体読取処理において、ステップS105〜S108の処理は省略されてもよい。 In the medium reading process, the processes of steps S105 to S108 may be omitted.

図9は、媒体搬送装置100の端部浮き上がり判定処理の動作の例を示すフローチャートである。 FIG. 9 is a flowchart showing an example of the operation of the end lift determination process of the medium transport device 100.

以下、図9に示したフローチャートを参照しつつ、媒体搬送装置100の端部浮き上がり判定処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め第1記憶装置140に記憶されているプログラムに基づき主に第1処理回路150により媒体搬送装置100の各要素と協働して実行される。図9に示す動作のフローは、媒体搬送中に定期的に実行される。 Hereinafter, an example of the operation of the end lift determination process of the medium transfer device 100 will be described with reference to the flowchart shown in FIG. The operation flow described below is mainly executed by the first processing circuit 150 in cooperation with each element of the medium transfer device 100 based on the program stored in the first storage device 140 in advance. The flow of operations shown in FIG. 9 is periodically executed during medium transfer.

最初に、第1浮き上がり判定部153は、第1センサ111から第1媒体信号を取得する(ステップS201)。次に、第1浮き上がり判定部153は、取得した第1媒体信号に示される時間が端部浮き上がり閾値未満であるか否かを判定する(ステップS202)。 First, the first lift determination unit 153 acquires the first medium signal from the first sensor 111 (step S201). Next, the first lift determination unit 153 determines whether or not the time indicated in the acquired first medium signal is less than the edge lift threshold value (step S202).

図10A及び図10Bは、第1媒体信号及び第2媒体信号の特性の一例について説明するための模式図である。 10A and 10B are schematic views for explaining an example of the characteristics of the first medium signal and the second medium signal.

図10Aは、第1部分P1側及び第2部分P2側が折れ曲がっていない媒体が搬送された時の第1媒体信号1001及び第2媒体信号1002を示す。図10Bは、第1部分P1側が折れ曲がっており且つ第2部分P2側が折れ曲がっていない媒体が搬送された時の第1媒体信号1011及び第2媒体信号1012を示す。図10A及び図10Bにおいて、横軸は搬送開始からの時間(モータ131の駆動量)を示し、縦軸は各媒体信号に示される時間を示す。第1媒体信号1001及び第2媒体信号1002が生成されたとき、第1センサ111及び第2センサ112が光を照射する位置で媒体の浮き上がりが発生していなかったため、第1媒体信号1001及び第2媒体信号1002に示される時間は十分に大きい。また、第2媒体信号1012が生成されたとき、第2センサ112が光を照射する位置で媒体の浮き上がりが発生していなかったため、第2媒体信号1012に示される時間も十分に大きい。一方、第1媒体信号1011が生成されたとき、第1センサ111が光を照射する位置で媒体の浮き上がりが発生していたため、第1媒体信号1011に示される時間は低下している。 FIG. 10A shows a first medium signal 1001 and a second medium signal 1002 when a medium in which the first portion P1 side and the second portion P2 side are not bent is conveyed. FIG. 10B shows the first medium signal 1011 and the second medium signal 1012 when a medium in which the first portion P1 side is bent and the second portion P2 side is not bent is conveyed. In FIGS. 10A and 10B, the horizontal axis represents the time from the start of transportation (the amount of drive of the motor 131), and the vertical axis represents the time shown in each medium signal. When the first medium signal 1001 and the second medium signal 1002 were generated, the medium was not lifted at the position where the first sensor 111 and the second sensor 112 were irradiated with light, so that the first medium signal 1001 and the second medium signal 1001 and the first medium signal 1001 were not lifted. The time shown in the two-media signal 1002 is large enough. Further, when the second medium signal 1012 is generated, the medium does not float at the position where the second sensor 112 irradiates the light, so that the time indicated by the second medium signal 1012 is sufficiently long. On the other hand, when the first medium signal 1011 is generated, the medium is lifted at the position where the first sensor 111 irradiates the light, so that the time indicated by the first medium signal 1011 is reduced.

端部浮き上がり閾値Tは、媒体の浮き上がりが発生している時の第1媒体信号及び第2媒体信号に示される時間と、媒体の浮き上がりが発生していない時の第1媒体信号及び第2媒体信号に示される時間との間の値に設定される。第1浮き上がり判定部153は、各媒体信号に示される時間が端部浮き上がり閾値T未満であるか否かを判定することによって、各媒体信号に対応する部分で媒体の浮き上がりが発生しているか否かを判定することができる。 The end levitation threshold value T is the time indicated by the first medium signal and the second medium signal when the levitation of the medium is occurring, and the first medium signal and the second medium when the levitation of the medium is not occurring. Set to a value between the time indicated on the signal. The first levitation determination unit 153 determines whether or not the time indicated by each medium signal is less than the end levitation threshold value T, and thereby whether or not the levitation of the medium occurs in the portion corresponding to each medium signal. Can be determined.

第1浮き上がり判定部153は、第1媒体信号に示される時間が端部浮き上がり閾値以上である場合、媒体の第1部分P1で媒体の浮き上がりが発生していないと判定し(ステップS203)、処理をステップS206へ移行する。一方、第1浮き上がり判定部153は、第1媒体信号に示される時間が端部浮き上がり閾値未満である場合、媒体の第1部分P1で媒体の浮き上がりが発生したと判定する(ステップS204)。次に、第1浮き上がり判定部153は、第1浮き上がりフラグをONに設定する(ステップS205)。 When the time indicated by the first medium signal is equal to or longer than the end floating threshold value, the first floating determination unit 153 determines that the medium has not been lifted in the first portion P1 of the medium (step S203), and processes the process. To step S206. On the other hand, when the time indicated by the first medium signal is less than the end floating threshold value, the first floating determination unit 153 determines that the floating of the medium has occurred in the first portion P1 of the medium (step S204). Next, the first lift determination unit 153 sets the first lift flag to ON (step S205).

次に、第1浮き上がり判定部153は、第2センサ112から第2媒体信号を取得する(ステップS206)。次に、第1浮き上がり判定部153は、取得した第2媒体信号に示される時間が端部浮き上がり閾値未満であるか否かを判定する(ステップS207)。 Next, the first lift determination unit 153 acquires the second medium signal from the second sensor 112 (step S206). Next, the first lift determination unit 153 determines whether or not the time indicated by the acquired second medium signal is less than the edge lift threshold value (step S207).

第1浮き上がり判定部153は、第2媒体信号に示される時間が端部浮き上がり閾値以上である場合、媒体の第2部分P2で媒体の浮き上がりが発生していないと判定し(ステップS208)、一連のステップを終了する。一方、第1浮き上がり判定部153は、第2媒体信号に示される時間が端部浮き上がり閾値未満である場合、媒体の第2部分P2で媒体の浮き上がりが発生したと判定する(ステップS209)。次に、第1浮き上がり判定部153は、第2浮き上がりフラグをONに設定し(ステップS210)、一連のステップを終了する。 When the time indicated by the second medium signal is equal to or longer than the end levitation threshold value, the first levitation determination unit 153 determines that no levitation of the medium has occurred in the second portion P2 of the medium (step S208), and a series of steps. End the step of. On the other hand, when the time indicated by the second medium signal is less than the end floating threshold value, the first floating determination unit 153 determines that the floating of the medium has occurred in the second portion P2 of the medium (step S209). Next, the first lift determination unit 153 sets the second lift flag to ON (step S210), and ends a series of steps.

このように、第1浮き上がり判定部153は、浮き上がり判定部の一例であり、第1センサ111及び第2センサ112センサからの出力信号に基づいて、媒体の複数部分の何れかの部分で媒体の浮き上がりが発生しているか否かを判定する。 As described above, the first lift determination unit 153 is an example of the lift determination unit, and based on the output signals from the first sensor 111 and the second sensor 112 sensor, any part of the plurality of parts of the medium of the medium. Determine if floating has occurred.

なお、第1浮き上がり判定部153は、各媒体信号に示される時間が端部浮き上がり閾値未満であるか否かでなく、各媒体信号に示される時間の変化量が変化閾値以上であるか否かにより、媒体の各部分で媒体の浮き上がりが発生しているか否かを判定してもよい。また、第1浮き上がり判定部153は、搬送直前の各媒体信号に示される時間と、搬送中の各媒体信号に示される時間との差が変化閾値以上であるか否かにより、媒体の各部分で媒体の浮き上がりが発生しているか否かを判定してもよい。変化閾値は、媒体の欠け、異形、カール、シワ又はムラ等の異常が存在する場合に発生する高さ方向A3の変化(例えば1mm)に相当する時間に設定される。これにより、第1浮き上がり判定部153は、媒体の浮き上がりが発生しているか否かを高精度に判定することができる。 The first floating determination unit 153 determines whether or not the time indicated by each medium signal is less than or equal to the end floating threshold value, but whether or not the amount of change in time indicated by each medium signal is equal to or greater than the change threshold value. Therefore, it may be determined whether or not the floating of the medium occurs in each part of the medium. Further, the first lift determination unit 153 determines each part of the medium depending on whether or not the difference between the time indicated by each medium signal immediately before the transfer and the time indicated by each medium signal during transfer is equal to or greater than the change threshold value. It may be determined whether or not the floating of the medium has occurred. The change threshold is set to a time corresponding to a change (for example, 1 mm) in the height direction A3 that occurs when an abnormality such as chipping, irregular shape, curl, wrinkle, or unevenness of the medium is present. As a result, the first lift determination unit 153 can determine with high accuracy whether or not the medium has lifted.

図11は、媒体搬送装置100の中央部浮き上がり判定処理の動作の例を示すフローチャートである。 FIG. 11 is a flowchart showing an example of the operation of the central portion lift determination process of the medium transport device 100.

以下、図11に示したフローチャートを参照しつつ、媒体搬送装置100の中央部浮き上がり判定処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め第1記憶装置140に記憶されているプログラムに基づき主に第1処理回路150により媒体搬送装置100の各要素と協働して実行される。図11に示す動作のフローは、媒体搬送中に定期的に実行される。 Hereinafter, an example of the operation of the central portion lift determination process of the medium transfer device 100 will be described with reference to the flowchart shown in FIG. The operation flow described below is mainly executed by the first processing circuit 150 in cooperation with each element of the medium transfer device 100 based on the program stored in the first storage device 140 in advance. The flow of operations shown in FIG. 11 is periodically executed during medium transfer.

最初に、第2浮き上がり判定部154は、移動センサ113から移動量信号を取得する(ステップS301)。次に、第2浮き上がり判定部154は、取得した移動量信号の信号値が、アーム113aが初期位置に存在する状態を示すか、初期位置に存在しない状態を示すかを判定する(ステップS302)。 First, the second lift determination unit 154 acquires a movement amount signal from the movement sensor 113 (step S301). Next, the second lift determination unit 154 determines whether the signal value of the acquired movement amount signal indicates a state in which the arm 113a exists in the initial position or does not exist in the initial position (step S302). ..

第2浮き上がり判定部154は、移動量信号の信号値が、アーム113aが初期位置に存在する状態を示す場合、媒体の中央部で媒体の浮き上がりが発生していないと判定し(ステップS303)、一連のステップを終了する。一方、第2浮き上がり判定部154は、移動量信号の信号値が、アーム113aが初期位置に存在しない状態を示す場合、媒体の中央部で媒体の浮き上がりが発生していると判定する(ステップS304)。次に、第2浮き上がり判定部154は、中央浮き上がりフラグをONに設定し(ステップS305)、一連のステップを終了する。 When the signal value of the movement amount signal indicates a state in which the arm 113a exists at the initial position, the second lift determination unit 154 determines that the medium has not lifted in the central portion of the medium (step S303). Finish a series of steps. On the other hand, when the signal value of the movement amount signal indicates a state in which the arm 113a does not exist at the initial position, the second lift determination unit 154 determines that the medium is lifted at the center of the medium (step S304). ). Next, the second lift determination unit 154 sets the center lift flag to ON (step S305), and ends a series of steps.

図12は、媒体搬送装置100の重送判定処理の動作の例を示すフローチャートである。 FIG. 12 is a flowchart showing an example of the operation of the double feed determination process of the medium transfer device 100.

以下、図12に示したフローチャートを参照しつつ、媒体搬送装置100の重送判定処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め第1記憶装置140に記憶されているプログラムに基づき主に第1処理回路150により媒体搬送装置100の各要素と協働して実行される。図12に示す動作のフローは、媒体搬送中に定期的に実行される。 Hereinafter, an example of the operation of the double feed determination process of the medium transfer device 100 will be described with reference to the flowchart shown in FIG. The operation flow described below is mainly executed by the first processing circuit 150 in cooperation with each element of the medium transfer device 100 based on the program stored in the first storage device 140 in advance. The flow of operations shown in FIG. 12 is periodically executed during medium transfer.

最初に、重送判定部155は、超音波センサ118から超音波信号を取得する(ステップS401)。次に、重送判定部155は、取得した超音波信号の信号値が重送閾値未満であるか否かを判定する(ステップS402)。重送閾値は、一枚の用紙が搬送されているときの超音波信号の信号値と、用紙の重送が発生しているときの超音波信号の信号値との間の値に設定される。 First, the double feed determination unit 155 acquires an ultrasonic signal from an ultrasonic sensor 118 (step S401). Next, the double feed determination unit 155 determines whether or not the signal value of the acquired ultrasonic signal is less than the double feed threshold value (step S402). The double feed threshold value is set to a value between the signal value of the ultrasonic signal when a sheet of paper is being conveyed and the signal value of the ultrasonic signal when the double feed of paper is occurring. ..

重送判定部155は、超音波信号の信号値が重送閾値以上である場合、媒体の重送が発生していないと判定し(ステップS403)、一連のステップを終了する。一方、重送判定部155は、超音波信号の信号値が重送閾値未満である場合、媒体の重送が発生したと判定する(ステップS404)。次に、重送判定部155は、重送フラグをONに設定し(ステップS405)、一連のステップを終了する。 When the signal value of the ultrasonic signal is equal to or greater than the double feed threshold value, the double feed determination unit 155 determines that double feed of the medium has not occurred (step S403), and ends a series of steps. On the other hand, when the signal value of the ultrasonic signal is less than the double feed threshold value, the double feed determination unit 155 determines that double feed of the medium has occurred (step S404). Next, the double feed determination unit 155 sets the double feed flag to ON (step S405), and ends a series of steps.

図13は、媒体搬送装置100のスキュー判定処理の動作の例を示すフローチャートである。 FIG. 13 is a flowchart showing an example of the operation of the skew determination process of the medium transfer device 100.

以下、図13に示したフローチャートを参照しつつ、媒体搬送装置100の重送判定処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め第1記憶装置140に記憶されているプログラムに基づき主に第1処理回路150により媒体搬送装置100の各要素と協働して実行される。図13に示す動作のフローは、媒体搬送中に定期的に実行される。 Hereinafter, an example of the operation of the double feed determination process of the medium transfer device 100 will be described with reference to the flowchart shown in FIG. The operation flow described below is mainly executed by the first processing circuit 150 in cooperation with each element of the medium transfer device 100 based on the program stored in the first storage device 140 in advance. The flow of operations shown in FIG. 13 is periodically executed during medium transfer.

最初に、スキュー判定部156は、スキュー条件が満たされたか否かを判定する(ステップS501)。スキュー判定部156は、媒体の先端の中央部が第5センサ121の位置に到達したか否かを判定する。スキュー判定部156は、第5センサ121から定期的に第5媒体信号を取得し、取得した第5媒体信号に基づいて、第5センサ121の位置に媒体が存在するか否かを判定する。スキュー判定部156は、第5媒体信号の信号値が、媒体が存在しないことを示す値から媒体が存在することを示す値に変化したときに、媒体の先端の中央部が第5センサ121の位置に到達したと判定する。 First, the skew determination unit 156 determines whether or not the skew condition is satisfied (step S501). The skew determination unit 156 determines whether or not the central portion of the tip of the medium has reached the position of the fifth sensor 121. The skew determination unit 156 periodically acquires a fifth medium signal from the fifth sensor 121, and determines whether or not a medium exists at the position of the fifth sensor 121 based on the acquired fifth medium signal. In the skew determination unit 156, when the signal value of the fifth medium signal changes from a value indicating that the medium does not exist to a value indicating that the medium exists, the central portion of the tip of the medium is the value of the fifth sensor 121. It is determined that the position has been reached.

また、スキュー判定部156は、媒体の先端の各端部が撮像装置122の撮像位置に到達したか否かを判定する。スキュー判定部156は、撮像装置122がライン画像を生成するたびに、撮像装置122からライン画像を取得する。スキュー判定部156は、最新のライン画像と、直前に取得したライン画像のそれぞれについて、ライン画像の両端から所定範囲にある各端部領域内の画素の階調値の平均値を算出する。スキュー判定部156は、最新のライン画像の各端部領域から算出した平均値と、直前のライン画像の各端部領域から算出した平均値との差の絶対値が階調閾値以上である場合、媒体の先端の各端部が撮像位置に到達したと判定する。一方、スキュー判定部156は、その差の絶対値が階調閾値未満である場合、媒体の先端の各端部が撮像位置にまだ到達していないと判定する。階調値は、輝度値又は色値(R値、G値又はB値)である。階調閾値は、例えば、人が画像上の輝度又は色の違いを目視により判別可能な階調値の差(例えば20)に設定される。 Further, the skew determination unit 156 determines whether or not each end of the tip of the medium has reached the image pickup position of the image pickup apparatus 122. The skew determination unit 156 acquires a line image from the image pickup device 122 each time the image pickup device 122 generates a line image. The skew determination unit 156 calculates the average value of the gradation values of the pixels in each end region within a predetermined range from both ends of the line image for each of the latest line image and the line image acquired immediately before. When the absolute value of the difference between the average value calculated from each end region of the latest line image and the average value calculated from each end region of the immediately preceding line image is equal to or greater than the gradation threshold value of the skew determination unit 156. , It is determined that each end of the tip of the medium has reached the imaging position. On the other hand, when the absolute value of the difference is less than the gradation threshold value, the skew determination unit 156 determines that each end of the tip of the medium has not yet reached the imaging position. The gradation value is a luminance value or a color value (R value, G value or B value). The gradation threshold value is set to, for example, a difference in gradation value (for example, 20) that allows a person to visually discriminate a difference in brightness or color on an image.

スキュー判定部156は、媒体の先端の中央部が第5センサ121の位置に到達する前に、媒体の先端の何れかの端部が撮像位置に到達した場合、スキュー条件が満たされたと判定する。なお、スキュー判定部156は、媒体の先端の何れかの端部が撮像位置に到達してから所定時間が経過した時に、媒体の先端の中央部が第5センサ121の位置に到達していない場合、スキュー条件が満たされたと判定してもよい。また、スキュー判定部156は、媒体の先端の中央部が第5センサ121の位置に到達してから所定時間が経過する前に媒体の先端の何れかの端部が撮像位置に到達した場合、スキュー条件が満たされたと判定してもよい。一方、それ以外の場合、スキュー判定部156は、スキュー条件が満たされていないと判定する。 The skew determination unit 156 determines that the skew condition is satisfied if any end of the tip of the medium reaches the imaging position before the central portion of the tip of the medium reaches the position of the fifth sensor 121. .. In the skew determination unit 156, when a predetermined time elapses after any end of the tip of the medium reaches the imaging position, the central portion of the tip of the medium does not reach the position of the fifth sensor 121. In that case, it may be determined that the skew condition is satisfied. Further, when the skew determination unit 156 reaches the imaging position when any end of the tip of the medium reaches the imaging position before a predetermined time elapses after the central portion of the tip of the medium reaches the position of the fifth sensor 121. It may be determined that the skew condition is satisfied. On the other hand, in other cases, the skew determination unit 156 determines that the skew condition is not satisfied.

なお、スキュー判定部156は、媒体の先端の複数の部分のそれぞれが撮像位置に到達した時刻の差が閾値以上であるか否かにより、スキュー条件が満たされるか否かを判定してもよい。また、媒体搬送装置100は、複数の光センサを幅方向A2に間隔を空けて並べて配置し、スキュー判定部156は、媒体の先端が各光センサの位置に到達した時刻の差が閾値以上であるか否かにより、スキュー条件が満たされるか否かを判定してもよい。 The skew determination unit 156 may determine whether or not the skew condition is satisfied depending on whether or not the difference in time when each of the plurality of portions at the tip of the medium reaches the imaging position is equal to or greater than the threshold value. .. Further, the medium transport device 100 arranges a plurality of optical sensors side by side at intervals in the width direction A2, and the skew determination unit 156 has a difference in time when the tip of the medium reaches the position of each optical sensor at a threshold value or more. Whether or not the skew condition is satisfied may be determined depending on whether or not the skew condition is satisfied.

スキュー判定部156は、スキュー条件が満たされていない場合、媒体のスキューが発生していないと判定し(ステップS502)、一連のステップを終了する。一方、スキュー判定部156は、スキュー条件が満たされた場合、媒体のスキューが発生したと判定する(ステップS503)。次に、スキュー判定部156は、スキューフラグをONに設定し(ステップS504)、一連のステップを終了する。 If the skew condition is not satisfied, the skew determination unit 156 determines that the medium has not been skewed (step S502), and ends a series of steps. On the other hand, when the skew condition is satisfied, the skew determination unit 156 determines that the medium has been skewed (step S503). Next, the skew determination unit 156 sets the skew flag to ON (step S504), and ends a series of steps.

図14は、情報処理装置200の画像処理の動作の例を示すフローチャートである。 FIG. 14 is a flowchart showing an example of the operation of image processing of the information processing apparatus 200.

以下、図14に示したフローチャートを参照しつつ、情報処理装置200の画像処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め第2記憶装置210に記憶されているプログラムに基づき主に第2処理回路220により情報処理装置200の各要素と協働して実行される。図14に示す動作のフローは、情報処理装置200の異常判定部221が第2インタフェース装置203を介して媒体搬送装置100から入力画像と、第1浮き上がりフラグ及び第2浮き上がりフラグとを取得した時に実行される。 Hereinafter, an example of the operation of image processing of the information processing apparatus 200 will be described with reference to the flowchart shown in FIG. The operation flow described below is mainly executed by the second processing circuit 220 in cooperation with each element of the information processing device 200 based on the program stored in the second storage device 210 in advance. The operation flow shown in FIG. 14 is when the abnormality determination unit 221 of the information processing device 200 acquires the input image, the first floating flag, and the second floating flag from the medium transfer device 100 via the second interface device 203. Will be executed.

最初に、異常判定部221は、入力画像とともに取得した第1浮き上がりフラグ及び第2浮き上がりフラグがONであるか否かを判定する(ステップS601)。第1浮き上がりフラグ及び第2浮き上がりフラグの両方がOFFである場合、異常判定部221は、処理をステップS606へ移行する。 First, the abnormality determination unit 221 determines whether or not the first floating flag and the second floating flag acquired together with the input image are ON (step S601). When both the first floating flag and the second floating flag are OFF, the abnormality determination unit 221 shifts the process to step S606.

一方、第1浮き上がりフラグ又は第2浮き上がりフラグの内の少なくとも一方がONである場合、異常判定部221は、入力画像内で媒体が含まれる媒体領域を検出する(ステップS602)。異常判定部221は、水平方向、垂直方向のそれぞれについて、入力画像内の各画素の両隣の画素の階調値の差の絶対値(以下、隣接差分値と称する)を算出し、隣接差分値が階調閾値を越える場合、その画素をエッジ画素として抽出する。なお、異常判定部221は、入力画像内の各画素から所定距離だけ離れた二つの画素の階調値の差の絶対値を隣接差分値として算出してもよい。また、異常判定部221は、入力画像内の各画素の階調値を閾値と比較することによりエッジ画素を抽出してもよい。例えば、異常判定部221は、特定の画素の階調値が閾値未満であり、その特定の画素に隣接する画素又はその特定の画素から所定距離だけ離れた画素の階調値が閾値以上である場合、その特定の画素をエッジ画素とする。異常判定部221は、水平方向、垂直方向のそれぞれについてエッジ画素からなるエッジ画像を生成する。 On the other hand, when at least one of the first floating flag and the second floating flag is ON, the abnormality determination unit 221 detects the medium region including the medium in the input image (step S602). The abnormality determination unit 221 calculates the absolute value of the difference in the gradation values of the pixels on both sides of each pixel in the input image in the horizontal direction and the vertical direction (hereinafter referred to as adjacent difference values), and calculates the adjacent difference values. When exceeds the gradation threshold, the pixel is extracted as an edge pixel. The abnormality determination unit 221 may calculate the absolute value of the difference between the gradation values of two pixels separated from each pixel in the input image by a predetermined distance as the adjacent difference value. Further, the abnormality determination unit 221 may extract edge pixels by comparing the gradation value of each pixel in the input image with the threshold value. For example, in the abnormality determination unit 221, the gradation value of a specific pixel is less than the threshold value, and the gradation value of a pixel adjacent to the specific pixel or a pixel separated by a predetermined distance from the specific pixel is equal to or more than the threshold value. In this case, the specific pixel is used as an edge pixel. The abnormality determination unit 221 generates an edge image composed of edge pixels in each of the horizontal direction and the vertical direction.

次に、異常判定部221は、水平方向、垂直方向のそれぞれについて生成した各エッジ画像から複数の直線を抽出する。異常判定部221は、ハフ変換を用いて直線を検出する。なお、異常判定部221は、最小二乗法を用いて直線を検出してもよい。また、異常判定部221は、各エッジ画像内で相互に隣接するエッジ画素をラベリングにより一つのグループとしてまとめ、各グループの水平方向又は垂直方向における両端に位置する二つのエッジ画素を結んだ近似直線を直線として検出してもよい。 Next, the abnormality determination unit 221 extracts a plurality of straight lines from each edge image generated in each of the horizontal direction and the vertical direction. The abnormality determination unit 221 detects a straight line using the Hough transform. The abnormality determination unit 221 may detect a straight line by using the least squares method. Further, the abnormality determination unit 221 groups the 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 direction or the vertical direction of each group. May be detected as a straight line.

次に、異常判定部221は、検出した複数の直線から矩形を検出する。異常判定部221は、検出した複数の直線のうち二本ずつが略直交する四本の直線から構成される複数の矩形候補を抽出する。異常判定部221は、まず水平方向の直線(以下、第1の水平線と称する)を一つ選択し、選択した直線と略平行(例えば±3°以内)かつ第1距離以上離れた水平方向の直線(以下、第2の水平線と称する)を抽出する。次に、異常判定部221は、第1の水平線と略直交する(例えば90°に対して±3°以内)垂直方向の直線(以下、第1の垂直線と称する)を抽出する。次に、異常判定部221は、第1の水平線と略直交し、かつ第1の垂直線と第2距離以上離れた垂直方向の直線(以下、第2の垂直線と称する)を抽出する。なお、第1距離及び第2距離は、媒体搬送装置100の読取りの対象となる媒体のサイズに応じて予め定められ、同じ値としてもよい。 Next, the abnormality determination unit 221 detects a rectangle from the plurality of detected straight lines. The abnormality determination unit 221 extracts a plurality of rectangle candidates composed of four straight lines in which two of the detected straight lines are substantially orthogonal to each other. The abnormality determination unit 221 first selects one horizontal straight line (hereinafter referred to as the first horizontal line), and is substantially parallel to the selected straight line (for example, within ± 3 °) and in the horizontal direction separated by the first distance or more. A straight line (hereinafter referred to as a second horizontal line) is extracted. Next, the abnormality determination unit 221 extracts a straight line in the vertical direction (hereinafter, referred to as the first vertical line) substantially orthogonal to the first horizontal line (for example, within ± 3 ° with respect to 90 °). Next, the abnormality determination unit 221 extracts a straight line in the vertical direction (hereinafter, referred to as a second vertical line) that is substantially orthogonal to the first horizontal line and is separated from the first vertical line by a second distance or more. The first distance and the second distance are predetermined according to the size of the medium to be read by the medium transfer device 100, and may be the same value.

異常判定部221は、抽出した全ての直線について上記の条件を満たす第1の水平線、第2の水平線、第1の垂直線及び第2の垂直線の全ての組合せを抽出し、抽出した各組合せから構成される矩形候補の中で最も面積が大きい矩形候補を媒体領域として検出する。 The abnormality determination unit 221 extracts all combinations of the first horizontal line, the second horizontal line, the first vertical line, and the second vertical line satisfying the above conditions for all the extracted straight lines, and each extracted combination. The rectangle candidate having the largest area among the rectangle candidates composed of is detected as the medium area.

次に、異常判定部221は、第1浮き上がり判定部153により媒体の浮き上がりが発生していると判定された部分が含まれる入力画像の領域を特定する(ステップS603)。異常判定部221は、媒体の浮き上がりが発生していると判定された部分が含まれる入力画像の領域として、ONに設定された浮き上がりフラグに対応する入力画像内の領域を特定する。 Next, the abnormality determination unit 221 specifies an area of the input image including a portion determined by the first floating determination unit 153 that the medium has been lifted (step S603). The abnormality determination unit 221 specifies an area in the input image corresponding to the floating flag set to ON as an area of the input image including the portion determined that the floating of the medium has occurred.

第2記憶装置210には、第1浮き上がりフラグに対応する入力画像内の第1領域と、第2浮き上がりフラグに対応する入力画像内の第2領域とが予め記憶される。例えば、第1領域は、幅方向A2(主走査方向)において第1センサ111による光の照射位置から所定距離(例えば50mm)の範囲内に対応し且つ媒体搬送方向A1(副走査方向)において全範囲にわたる領域に設定される。また、第2領域は、幅方向A2において第2センサ112による光の照射位置から所定距離の範囲内に対応し且つ媒体搬送方向A1において全範囲にわたる領域に設定される。なお、第1領域は、入力画像内で幅方向A2の中央位置より第1センサ111に対応する側の領域に設定され、第2領域は、入力画像内で幅方向A2の中央位置より第2センサ112に対応する側の領域に設定されてもよい。 The second storage device 210 stores in advance a first region in the input image corresponding to the first floating flag and a second region in the input image corresponding to the second floating flag. For example, the first region corresponds to a predetermined distance (for example, 50 mm) from the light irradiation position by the first sensor 111 in the width direction A2 (main scanning direction) and is entirely in the medium transport direction A1 (secondary scanning direction). Set to an area that covers a range. Further, the second region is set to a region corresponding to a predetermined distance from the light irradiation position by the second sensor 112 in the width direction A2 and covering the entire range in the medium transport direction A1. The first region is set in the input image on the side corresponding to the first sensor 111 from the center position in the width direction A2, and the second region is the second region in the input image from the center position in the width direction A2. It may be set in the area on the side corresponding to the sensor 112.

異常判定部221は、第1浮き上がりフラグがONである場合、媒体の浮き上がりが発生していると判定された部分が含まれる入力画像の領域として第1領域を特定する。また、異常判定部221は、第2浮き上がりフラグがONである場合、媒体の浮き上がりが発生していると判定された部分が含まれる入力画像の領域として第2領域を特定する。 When the first floating flag is ON, the abnormality determination unit 221 specifies the first region as the region of the input image including the portion determined to have the floating of the medium. Further, when the second floating flag is ON, the abnormality determination unit 221 specifies the second area as the area of the input image including the portion determined that the medium has been lifted.

次に、異常判定部221は、特定した各領域において、異常が存在するか否かを判定する(ステップS604)。異常判定部221は、特定した各領域において、異常として、媒体の欠け、異形、カール、シワ又はムラが存在するか否かを判定する。なお、異常判定部221は、ステップS603で特定していない領域、即ち第1浮き上がり判定部153により媒体の浮き上がりが発生していると判定されていない部分に対応する入力画像の領域については、異常が存在するか否かを判定しない。 Next, the abnormality determination unit 221 determines whether or not an abnormality exists in each of the specified regions (step S604). The abnormality determination unit 221 determines whether or not the medium is chipped, deformed, curled, wrinkled, or uneven as an abnormality in each of the specified regions. The abnormality determination unit 221 has an abnormality in the region not specified in step S603, that is, the region of the input image corresponding to the portion where the first lift determination unit 153 has not determined that the medium has lifted. Does not determine if is present.

異常判定部221は、媒体領域の四隅に切り欠けが存在する場合に、媒体の欠けが存在すると判定する。異常判定部221は、媒体領域の端部を形成する各直線の内、略直交する二本の直線が相互に交わる位置まで延伸しておらず、且つ、各直線の端部がエッジ画素を介して連なっている場合に、媒体の欠けが存在すると判定する。異常判定部221は、ステップS603で第1領域を特定した場合、媒体の左辺及び上辺を形成する各直線から媒体の左上部で欠けが存在するか否かを判定し、媒体の左辺及び下辺を形成する各直線から媒体の左下部で欠けが存在するか否かを判定する。異常判定部221は、ステップS603で第2領域を特定した場合、媒体の右辺及び上辺を形成する各直線から媒体の右上部で欠けが存在するか否かを判定し、媒体の右辺及び下辺を形成する各直線から媒体の右下部で欠けが存在するか否かを判定する。 The abnormality determination unit 221 determines that the medium is chipped when there are notches at the four corners of the medium region. The abnormality determination unit 221 does not extend to a position where two substantially orthogonal straight lines intersect each other among the straight lines forming the end portion of the medium region, and the end portion of each straight line passes through the edge pixel. If they are connected, it is determined that there is a chip in the medium. When the first region is specified in step S603, the abnormality determination unit 221 determines whether or not there is a chip in the upper left portion of the medium from each straight line forming the left side and the upper side of the medium, and determines whether the left side and the lower side of the medium are chipped. From each straight line formed, it is determined whether or not there is a chip in the lower left part of the medium. When the second region is specified in step S603, the abnormality determination unit 221 determines whether or not there is a chip in the upper right portion of the medium from each straight line forming the right side and the upper side of the medium, and determines whether the right side and the lower side of the medium are chipped. From each straight line formed, it is determined whether or not there is a chip in the lower right part of the medium.

図15Aは、媒体の欠けが存在する入力画像1500の一例を示す模式図である。 FIG. 15A is a schematic view showing an example of the input image 1500 in which the medium is chipped.

図15Aに示す入力画像1500には媒体1503が含まれている。媒体1503の左上部分、左下部分及び右上部分は折れ曲がっておらず、右下部分が折れ曲がっている。そのため、入力画像1500において、第1領域1501には媒体1503の欠けが存在せず、第2領域1502には媒体1503の欠け1504が存在している。この場合、媒体1503の右辺を形成する直線1505と下辺を形成する直線1506は、相互に交わる位置まで延伸していない。また、右辺を形成する直線1505の下端部1507と下辺を形成する直線1506の右端部1508はエッジ画素1509(又はエッジ画素1510)を介して連なっている。したがって、異常判定部221は、略直交する二本の直線が相互に交わる位置まで延伸しているか否かと、各直線の端部がエッジ画素を介して連なっているか否かにより、媒体の欠けが存在するか否かを精度良く判定できる。 The input image 1500 shown in FIG. 15A includes a medium 1503. The upper left portion, the lower left portion, and the upper right portion of the medium 1503 are not bent, and the lower right portion is bent. Therefore, in the input image 1500, the first region 1501 does not have a chipped medium 1503, and the second region 1502 has a chipped medium 1503. In this case, the straight line 1505 forming the right side of the medium 1503 and the straight line 1506 forming the lower side do not extend to the positions where they intersect each other. Further, the lower end portion 1507 of the straight line 1505 forming the right side and the right end portion 1508 of the straight line 1506 forming the lower side are connected via the edge pixel 1509 (or the edge pixel 1510). Therefore, in the abnormality determination unit 221, the medium is chipped depending on whether or not the two substantially orthogonal straight lines extend to a position where they intersect each other and whether or not the ends of the straight lines are connected via the edge pixels. Whether or not it exists can be accurately determined.

また、異常判定部221は、媒体領域内に、サイズが所定範囲内である矩形領域が含まれる場合に、媒体の異形が存在すると判定する。異常判定部221は、ステップS602の処理と同様にして媒体領域内で矩形候補を抽出し、サイズが所定範囲内である矩形候補を抽出した場合、媒体の異形が存在すると判定する。所定範囲は、例えば一般的な付箋紙のサイズ以上であり且つ一般的な写真のサイズ以下である範囲に設定される。異常判定部221は、ステップS603で第1領域を特定した場合、第1領域内で媒体の異形が存在するか否かを判定する。また、異常判定部221は、ステップS603で第2領域を特定した場合、第2領域内で媒体の異形が存在するか否かを判定する。 Further, the abnormality determination unit 221 determines that a variant of the medium exists when the medium area includes a rectangular area having a size within a predetermined range. The abnormality determination unit 221 extracts rectangle candidates in the medium region in the same manner as in the process of step S602, and determines that a variant of the medium exists when the rectangle candidates whose size is within a predetermined range are extracted. The predetermined range is set to, for example, a range that is equal to or larger than the size of a general sticky note and smaller than or equal to the size of a general photograph. When the first region is specified in step S603, the abnormality determination unit 221 determines whether or not there is a variant of the medium in the first region. Further, when the second region is specified in step S603, the abnormality determination unit 221 determines whether or not there is a variant of the medium in the second region.

図15Bは、媒体の異形が存在する入力画像1520の一例を示す模式図である。 FIG. 15B is a schematic view showing an example of the input image 1520 in which a variant of the medium is present.

図15Bに示す入力画像1520には媒体1523が含まれている。媒体1523の左側部分には何も貼り付けられておらず、右側部分には付箋紙が貼り付けられている。そのため、入力画像1520において、第1領域1521には媒体1523の異形が存在せず、第2領域1522には媒体1523の異形1524が存在している。この場合、第2領域1522にはサイズが所定範囲内である矩形候補1524が含まれる。したがって、異常判定部221は、サイズが所定範囲内である矩形候補が存在するか否かにより、媒体の異形が存在するか否かを精度良く判定できる。 The input image 1520 shown in FIG. 15B includes a medium 1523. Nothing is attached to the left side portion of the medium 1523, and a sticky note is attached to the right side portion. Therefore, in the input image 1520, the variant of the medium 1523 does not exist in the first region 1521, and the variant 1524 of the medium 1523 exists in the second region 1522. In this case, the second region 1522 includes rectangular candidate 1524 whose size is within a predetermined range. Therefore, the abnormality determination unit 221 can accurately determine whether or not there is a variant of the medium depending on whether or not there is a rectangular candidate whose size is within a predetermined range.

また、異常判定部221は、垂直方向に延伸する媒体の辺の端部が曲がっている場合に、媒体のカールが存在すると判定する。異常判定部221は、媒体領域の端部を形成する各直線の内、垂直方向に延伸する垂直直線が、水平方向に延伸する水平直線の位置まで延伸している場合、その垂直直線に対応する辺においてカールが存在しないと判定する。一方、異常判定部221は、垂直直線が水平直線の位置まで延伸していない場合、垂直直線を水平直線側に延伸させた近似直線を設定する。異常判定部221は、ステップS602で抽出したエッジ画素の中から、近似直線から所定距離内に位置する周辺エッジ画素を抽出する。異常判定部221は、抽出した周辺エッジ画素の数が所定数以上であり、且つ、垂直直線の水平直線側の端部と各周辺エッジ画素との距離が大きいほど、近似直線と各周辺エッジ画素との距離が大きい場合、媒体のカールが存在すると判定する。異常判定部221は、各周辺エッジ画素が近似直線より媒体の中央側に位置する場合、媒体の先端が撮像装置122から離れる方向にカールしていると判定する。一方、異常判定部221は、各周辺エッジ画素が近似直線より媒体の外側に位置する場合、媒体の先端が撮像装置122に近付く方向にカールしていると判定する。 Further, the abnormality determination unit 221 determines that the curl of the medium is present when the end of the side of the medium extending in the vertical direction is bent. The abnormality determination unit 221 corresponds to the vertical straight line extending in the vertical direction to the position of the horizontal straight line extending in the horizontal direction among the straight lines forming the end portion of the medium region. It is determined that there is no curl on the side. On the other hand, when the vertical straight line is not extended to the position of the horizontal straight line, the abnormality determination unit 221 sets an approximate straight line obtained by extending the vertical straight line to the horizontal straight line side. The abnormality determination unit 221 extracts peripheral edge pixels located within a predetermined distance from the approximate straight line from the edge pixels extracted in step S602. In the abnormality determination unit 221, the larger the number of extracted peripheral edge pixels and the greater the distance between the end of the vertical straight line on the horizontal straight line side and each peripheral edge pixel, the more the approximate straight line and each peripheral edge pixel If the distance from is large, it is determined that the medium is curled. When each peripheral edge pixel is located on the center side of the medium with respect to the approximate straight line, the abnormality determination unit 221 determines that the tip of the medium is curled in the direction away from the image pickup apparatus 122. On the other hand, when each peripheral edge pixel is located outside the medium from the approximate straight line, the abnormality determination unit 221 determines that the tip of the medium is curled in the direction approaching the image pickup apparatus 122.

異常判定部221は、ステップS603で第1領域を特定した場合、媒体の左辺においてカールが存在するか否かを判定する。また、異常判定部221は、ステップS603で第2領域を特定した場合、媒体の右辺においてカールが存在するか否かを判定する。 When the first region is specified in step S603, the abnormality determination unit 221 determines whether or not a curl is present on the left side of the medium. Further, when the second region is specified in step S603, the abnormality determination unit 221 determines whether or not a curl is present on the right side of the medium.

図15Cは、媒体のカールが存在する入力画像1540の一例を示す模式図である。 FIG. 15C is a schematic view showing an example of the input image 1540 in which the curl of the medium is present.

図15Cに示す入力画像1540には媒体1543が含まれている。媒体1543の左辺は湾曲しておらず、右辺は撮像装置122から離れる方向に湾曲している。そのため、入力画像1540において、第1領域1541には媒体1543のカールが存在せず、第2領域1542には媒体1543のカール1544が存在している。この場合、媒体1543の右辺に対応する垂直直線1545は、端部1549までしか延伸しておらず、下辺に対応する水平直線1546の位置まで延伸していない。また、垂直直線1545を水平直線1546側に延伸させた近似直線1547から所定距離内には所定数以上の周辺エッジ画素1548が存在する。また、垂直直線1545の水平直線1546側の端部1549と各周辺エッジ画素1548との距離が大きいほど、近似直線1547と各周辺エッジ画素1548との距離が大きくなっている。また、各周辺エッジ画素1548は、近似直線1547より媒体の中央側に位置し、各周辺エッジ画素1548の周辺には影が存在している。 The input image 1540 shown in FIG. 15C includes a medium 1543. The left side of the medium 1543 is not curved, and the right side is curved in the direction away from the image pickup apparatus 122. Therefore, in the input image 1540, the curl of the medium 1543 does not exist in the first region 1541, and the curl 1544 of the medium 1543 exists in the second region 1542. In this case, the vertical straight line 1545 corresponding to the right side of the medium 1543 extends only to the end 1549, not to the position of the horizontal straight line 1546 corresponding to the lower side. Further, there are a predetermined number or more of peripheral edge pixels 1548 within a predetermined distance from the approximate straight line 1547 in which the vertical straight line 1545 is extended to the horizontal straight line 1546 side. Further, the larger the distance between the end portion 1549 on the horizontal straight line 1546 side of the vertical straight line 1545 and each peripheral edge pixel 1548, the larger the distance between the approximate straight line 1547 and each peripheral edge pixel 1548. Further, each peripheral edge pixel 1548 is located on the center side of the medium with respect to the approximate straight line 1547, and a shadow exists around each peripheral edge pixel 1548.

図15Dは、媒体のカールが存在する入力画像1560の他の例を示す模式図である。 FIG. 15D is a schematic diagram showing another example of the input image 1560 in which the curl of the medium is present.

図15Dに示す入力画像1560には媒体1563が含まれている。媒体1563の左辺はカールしておらず、右辺は撮像装置122に近付く方向にカールしている。そのため、入力画像1560において、第1領域1561には媒体1563のカールが存在せず、第2領域1562には媒体1563のカール1564が存在している。この場合、媒体1563の右辺に対応する垂直直線1565は、端部1569までしか延伸しておらず、下辺に対応する水平直線1566の位置まで延伸していない。また、垂直直線1565を水平直線1566側に延伸させた近似直線1567から所定距離内には所定数以上の周辺エッジ画素1568が存在する。また、垂直直線1565の水平直線1566側の端部1569と各周辺エッジ画素1568との距離が大きいほど、近似直線1567と各周辺エッジ画素1568との距離が大きくなっている。また、各周辺エッジ画素1568は、近似直線1567より媒体の外側に位置し、各周辺エッジ画素1548の周辺は明るくなっている。 The input image 1560 shown in FIG. 15D includes the medium 1563. The left side of the medium 1563 is not curled, and the right side is curled in the direction approaching the image pickup apparatus 122. Therefore, in the input image 1560, the curl of the medium 1563 does not exist in the first region 1561, and the curl 1564 of the medium 1563 exists in the second region 1562. In this case, the vertical straight line 1565 corresponding to the right side of the medium 1563 extends only to the end 1569, not to the position of the horizontal straight line 1566 corresponding to the lower side. Further, there are a predetermined number or more of peripheral edge pixels 1568 within a predetermined distance from the approximate straight line 1567 in which the vertical straight line 1565 is extended to the horizontal straight line 1566 side. Further, the larger the distance between the end portion 1569 on the horizontal straight line 1566 side of the vertical straight line 1565 and each peripheral edge pixel 1568, the larger the distance between the approximate straight line 1567 and each peripheral edge pixel 1568. Further, each peripheral edge pixel 1568 is located outside the medium with respect to the approximate straight line 1567, and the periphery of each peripheral edge pixel 1548 is bright.

したがって、異常判定部221は、垂直直線が水平直線の位置まで延伸しているか否かと、近似直線から所定距離内に存在する周辺エッジ画素の数と、近似直線と各周辺エッジ画素の位置関係とに基づいて、媒体のカールが存在するか否かを精度良く判定できる。また、異常判定部221は、各周辺エッジ画素が、近似直線より媒体の中央側に位置するか外側に位置するかにより、撮像装置122から離れる方向にカールしているか撮像装置122に近付く方向にカールしているかを精度良く判定できる。 Therefore, the abnormality determination unit 221 determines whether or not the vertical straight line extends to the position of the horizontal straight line, the number of peripheral edge pixels existing within a predetermined distance from the approximate straight line, and the positional relationship between the approximate straight line and each peripheral edge pixel. Based on the above, it is possible to accurately determine whether or not the curl of the medium is present. Further, the abnormality determination unit 221 curls in the direction away from the image pickup device 122 or approaches the image pickup device 122 depending on whether each peripheral edge pixel is located on the center side or the outside of the medium with respect to the approximate straight line. It is possible to accurately determine whether or not it is curled.

また、異常判定部221は、機械学習等の公知の技術を用いて、媒体領域内にシワ又はムラが含まれるか否かを判定する。異常判定部221は、画像が入力された場合に、その画像に媒体のシワ又はムラが含まれる確度を出力するように事前学習された識別器により、媒体のシワ又はムラが含まれる確度を算出する。識別器は、ニューラルネットワーク等により、媒体のシワ又はムラが含まれる複数の学習用画像と、媒体のシワ又はムラが含まれない複数の学習用画像とを用いて事前学習され、予め第2記憶装置210に記憶される。異常判定部221は、媒体領域を含む画像を識別器に入力し、識別器から出力された確度が閾値以上であるか否かにより、媒体領域内にシワ又はムラが含まれるか否かを判定する。 Further, the abnormality determination unit 221 determines whether or not wrinkles or unevenness are included in the medium region by using a known technique such as machine learning. When an image is input, the abnormality determination unit 221 calculates the probability that the image contains wrinkles or unevenness of the medium by a discriminator that has been pre-learned to output the probability that the image contains wrinkles or unevenness of the medium. do. The classifier is pre-learned by a neural network or the like using a plurality of learning images including wrinkles or unevenness of the medium and a plurality of learning images not including wrinkles or unevenness of the medium, and is stored in advance in the second memory. It is stored in the device 210. The abnormality determination unit 221 inputs an image including the medium area to the classifier, and determines whether or not the medium area contains wrinkles or unevenness depending on whether or not the accuracy output from the classifier is equal to or higher than the threshold value. do.

また、異常判定部221は、パターンマッチング技術を用いて、媒体領域内にシワ又はムラが含まれるか否かを判定してもよい。その場合、媒体のシワ又はムラが含まれる複数の画像のパターンが予め第2記憶装置210に記憶される。異常判定部221は、媒体領域内の所定の大きさの領域を、その位置をずらしながら切り出して、第2記憶装置210に記憶しておいた画像のパターンとの類似度を算出し、類似度が閾値以上であるか否かにより、媒体領域内にシワ又はムラが含まれるか否かを判定する。類似度は、例えば正規化相互相関値である。 Further, the abnormality determination unit 221 may determine whether or not wrinkles or unevenness are included in the medium region by using the pattern matching technique. In that case, a plurality of image patterns including wrinkles or unevenness of the medium are stored in advance in the second storage device 210. The abnormality determination unit 221 cuts out an area of a predetermined size in the medium area while shifting its position, calculates the degree of similarity with the image pattern stored in the second storage device 210, and calculates the degree of similarity. Whether or not wrinkles or unevenness is included in the medium region is determined based on whether or not is equal to or greater than the threshold value. The similarity is, for example, a normalized cross-correlation value.

異常判定部221は、ステップS603で第1領域を特定した場合、第1領域内で媒体のシワ又はムラが存在するか否かを判定する。また、異常判定部221は、ステップS603で第2領域を特定した場合、第2領域内で媒体のシワ又はムラが存在するか否かを判定する。 When the first region is specified in step S603, the abnormality determination unit 221 determines whether or not there are wrinkles or unevenness of the medium in the first region. Further, when the second region is specified in step S603, the abnormality determination unit 221 determines whether or not there are wrinkles or unevenness of the medium in the second region.

図16は、媒体のシワが存在する入力画像1600の一例を示す模式図である。 FIG. 16 is a schematic view showing an example of the input image 1600 in which wrinkles of the medium are present.

図16に示す入力画像1600には媒体1603が含まれている。媒体1603の左側部分にはシワ又はムラが存在せず、右側部分にはシワが存在する。そのため、入力画像1600において、第1領域1601には媒体1603のシワ又はムラが存在せず、第2領域1602には媒体1603のシワ1604が存在している。異常判定部221は、機械学習技術又はパターンマッチング技術を用いて、媒体のシワ又はムラが存在するか否かを精度良く判定できる。 The input image 1600 shown in FIG. 16 includes the medium 1603. There are no wrinkles or unevenness on the left side portion of the medium 1603, and wrinkles are present on the right side portion. Therefore, in the input image 1600, the first region 1601 does not have wrinkles or unevenness of the medium 1603, and the second region 1602 has wrinkles 1604 of the medium 1603. The abnormality determination unit 221 can accurately determine whether or not there are wrinkles or unevenness in the medium by using the machine learning technique or the pattern matching technique.

異常判定部221は、特定した各領域において異常が存在しないと判定した場合、処理をステップS606へ移行する。 When the abnormality determination unit 221 determines that no abnormality exists in each of the specified regions, the process proceeds to step S606.

一方、異常判定部221が、特定した各領域において異常が存在すると判定した場合、補正部222は、異常判定部221により異常が存在すると判定された入力画像の領域内の画像情報を補正する(ステップS605)。なお、補正部222は、異常判定部221により異常が存在すると判定されていない入力画像の領域、即ち第1浮き上がり判定部153により媒体の浮き上がりが発生していると判定されていない部分に対応する入力画像の領域内の画像情報については補正しない。 On the other hand, when the abnormality determination unit 221 determines that an abnormality exists in each of the specified regions, the correction unit 222 corrects the image information in the region of the input image determined by the abnormality determination unit 221 to have an abnormality (). Step S605). The correction unit 222 corresponds to a region of the input image in which the abnormality determination unit 221 has not determined that an abnormality exists, that is, a portion in which the medium has not been determined to be lifted by the first lift determination unit 153. The image information in the area of the input image is not corrected.

異常判定部221により媒体の欠けが存在すると判定された場合、補正部222は、媒体の欠けを修復するように、媒体の欠けが存在すると判定された入力画像の領域内の画像情報を補正する。補正部222は、媒体の欠けが存在すると判定された角に対応する二本の直線が交わるように、各直線を延伸させる(各直線の延長線上の各画素の階調値を各直線上の画素の階調値の平均値に設定する)。また、補正部222は、各直線の端部の間で連なるエッジ画素に対応する画素の階調値を、媒体の背景の階調値の平均値に設定する。これにより、図15Aに示した入力画像1500では、直線1505と直線1506が交わって媒体1503の右下部に角が形成されるとともに、折り目部1509及び折り返された端部1510による直線が除去される。 When the abnormality determination unit 221 determines that there is a chip in the medium, the correction unit 222 corrects the image information in the region of the input image determined to have the chip in the medium so as to repair the chip in the medium. .. The correction unit 222 stretches each straight line so that the two straight lines corresponding to the corners determined to be chipped in the medium intersect (the gradation value of each pixel on the extension line of each straight line is set on each straight line. Set to the average value of the pixel gradation values). Further, the correction unit 222 sets the gradation value of the pixel corresponding to the edge pixel connected between the ends of the straight lines to the average value of the gradation value of the background of the medium. As a result, in the input image 1500 shown in FIG. 15A, the straight line 1505 and the straight line 1506 intersect to form a corner at the lower right of the medium 1503, and the straight line due to the crease portion 1509 and the folded end portion 1510 is removed. ..

また、異常判定部221により媒体の異形が存在すると判定された場合、補正部222は、媒体の異形を除去するように、媒体の異形が存在すると判定された入力画像の領域内の画像情報を補正する。補正部222は、媒体の異形が存在すると判定された領域(サイズが所定範囲内である矩形候補に対応する領域)内の画素の階調値を、媒体の背景の階調値の平均値に設定する。これにより、図15Bに示した入力画像1520では、異形1524が除去される。 Further, when the abnormality determination unit 221 determines that the irregular shape of the medium exists, the correction unit 222 uses the image information in the region of the input image determined to have the irregular shape of the medium so as to remove the irregular shape of the medium. to correct. The correction unit 222 sets the gradation values of the pixels in the region (the region corresponding to the rectangular candidate whose size is within a predetermined range) determined to have a variant of the medium to the average value of the gradation values of the background of the medium. Set. As a result, in the input image 1520 shown in FIG. 15B, the variant 1524 is removed.

また、異常判定部221により媒体の異形が存在すると判定された場合、補正部222は、媒体の異形を切り出して切り出し画像を生成してもよい。この場合、表示制御部223は、切り出し画像を第2記憶装置210に記憶するとともに、第2表示装置202に表示してもよい。これにより、例えば媒体に写真等が貼り付けられている場合に、情報処理装置200は、写真部分のみを切り出した画像を生成して表示することができる。 Further, when the abnormality determination unit 221 determines that the irregular shape of the medium exists, the correction unit 222 may cut out the irregular shape of the medium to generate a cut-out image. In this case, the display control unit 223 may store the cut-out image in the second storage device 210 and display it in the second display device 202. As a result, for example, when a photograph or the like is attached to a medium, the information processing apparatus 200 can generate and display an image obtained by cutting out only the photograph portion.

また、異常判定部221により媒体のカールが存在すると判定された場合、補正部222は、媒体のカールを除去するように、媒体のカールが存在すると判定された入力画像の領域内の画像情報を補正する。補正部222は、アフィン変換等の公知の幾何変換を用いて、端部が曲がっていると判定された辺上の各画素が近似直線上に配置されるように、画像の変換処理を実行する。 Further, when the abnormality determination unit 221 determines that the curl of the medium is present, the correction unit 222 uses the image information in the region of the input image determined to have the curl of the medium so as to remove the curl of the medium. to correct. The correction unit 222 uses a known geometric transformation such as an affine transformation to execute an image conversion process so that each pixel on the side whose end is determined to be bent is arranged on an approximate straight line. ..

媒体の先端が撮像装置122から離れる方向にカールしている場合、その先端と撮像装置122が有する光源との間の距離が大きくなり、入力画像においてその先端の周辺領域が暗くなる可能性がある。逆に、媒体の先端が撮像装置122に近付く方向にカールしている場合、その先端と撮像装置122が有する光源との間の距離が小さくなり、入力画像においてその先端の周辺領域が明るくなる可能性がある。そのため、補正部222は、ガンマ補正等の公知の階調変換技術を用いて、曲がっていると判定された辺の端部周辺の画素の階調値を変換する。異常判定部221により媒体の先端が撮像装置122から離れる方向にカールしていると判定された場合、補正部222は、ガンマ値が1より小さく且つ先端に近いほど小さくなるようにガンマ値を設定して、ガンマ補正を実行する。一方、異常判定部221により媒体の先端が撮像装置122に近付く方向にカールしていると判定された場合、補正部222は、ガンマ値が1より大きく且つ先端に近いほど大きくなるようにガンマ値を設定して、ガンマ補正を実行する。 When the tip of the medium is curled in a direction away from the image pickup device 122, the distance between the tip end and the light source of the image pickup device 122 becomes large, and the peripheral region of the tip end may be darkened in the input image. .. On the contrary, when the tip of the medium is curled in the direction approaching the imaging device 122, the distance between the tip and the light source of the imaging device 122 becomes small, and the peripheral region of the tip can be brightened in the input image. There is sex. Therefore, the correction unit 222 converts the gradation value of the pixels around the end of the side determined to be bent by using a known gradation conversion technique such as gamma correction. When the abnormality determination unit 221 determines that the tip of the medium is curled in the direction away from the image pickup apparatus 122, the correction unit 222 sets the gamma value so that the gamma value is smaller than 1 and closer to the tip. Then, gamma correction is executed. On the other hand, when the abnormality determination unit 221 determines that the tip of the medium is curled in the direction approaching the image pickup apparatus 122, the correction unit 222 increases the gamma value so that the gamma value is larger than 1 and closer to the tip. To perform gamma correction.

これにより、図15Cに示した入力画像1540では、直線1545及び各周辺エッジ画素1548と直線1546とが直交するように交わって媒体1543の右下部に直角が形成されるとともに、各周辺エッジ画素1548の周辺の影が除去される。また、図15Dに示した入力画像1560では、直線1565及び各周辺エッジ画素1568と直線1566とが直交するように交わって媒体1563の右下部に直角が形成されるとともに、各周辺エッジ画素1568の周辺の明るさが補正される。 As a result, in the input image 1540 shown in FIG. 15C, the straight line 1545 and each peripheral edge pixel 1548 and the straight line 1546 intersect so as to be orthogonal to each other to form a right angle at the lower right portion of the medium 1543, and each peripheral edge pixel 1548 is formed. The shadow around the is removed. Further, in the input image 1560 shown in FIG. 15D, the straight line 1565 and each peripheral edge pixel 1568 and the straight line 1566 intersect so as to be orthogonal to each other to form a right angle at the lower right portion of the medium 1563, and each peripheral edge pixel 1568 is formed. The surrounding brightness is corrected.

また、異常判定部221により媒体のシワ又はムラが存在すると判定された場合、補正部222は、媒体のシワ又はムラを除去するように、媒体のシワ又はムラが存在すると判定された入力画像の領域内の画像情報を補正する。補正部222は、媒体のシワ又はムラが存在すると判定された領域に、平均化フィルタ、ガウシアンフィルタ等の公知の平滑化フィルタを適用する。これにより、図16に示した入力画像1600では、シワ1604が除去される。 When the abnormality determination unit 221 determines that the medium has wrinkles or unevenness, the correction unit 222 determines that the medium has wrinkles or unevenness so as to remove the wrinkles or unevenness of the medium. Correct the image information in the area. The correction unit 222 applies a known smoothing filter such as an averaging filter or a Gaussian filter to a region determined to have wrinkles or unevenness in the medium. As a result, the wrinkles 1604 are removed in the input image 1600 shown in FIG.

次に、表示制御部223は、入力画像を第2記憶装置210に記憶するとともに、第2表示装置202に表示し(ステップS606)、一連のステップを終了する。なお、補正部222は、利用者により第2操作装置201を用いて表示指示が入力された場合に、入力画像を第2表示装置202に表示してもよい。また、補正部222は、入力画像を第2表示装置202に表示することに代えて、又は加えて、入力画像を、第2インタフェース装置203を介して他の装置に送信してもよい。 Next, the display control unit 223 stores the input image in the second storage device 210 and displays it on the second display device 202 (step S606), and ends a series of steps. The correction unit 222 may display the input image on the second display device 202 when the display instruction is input by the user using the second operation device 201. Further, the correction unit 222 may transmit the input image to another device via the second interface device 203 instead of or in addition to displaying the input image on the second display device 202.

なお、媒体搬送装置100において、載置台103に載置された媒体の複数部分の浮き上がりを検知するためのセンサは、第1センサ111及び第2センサ112の二つに限定されない。媒体搬送装置100は、媒体の三つ以上の部分の浮き上がりを検知するための三つ以上のセンサを有してもよい。その場合、各センサは、例えば、媒体搬送方向A1において同じ位置であり、且つ、幅方向A2において相互に異なる位置を照射するように設けられる。異常判定部221は、入力画像を、各センサにより光が照射される媒体の位置に対応する部分が含まれる三つ以上の領域に分けて、異常が存在するか否かを判定する。なお、各センサは、媒体搬送方向A1において相互に異なる位置を照射するように設けられてもよい。その場合、異常判定部221は、入力画像を、各センサにより光が照射される媒体の位置に対応する部分が含まれるように、水平方向だけでなく垂直方向にも分けて、異常が存在するか否かを判定してもよい。これらにより、異常判定部221は、入力画像をより細かく分けて異常の有無を判定することが可能となり、より短時間に異常の有無を判定することが可能となる。 In the medium transfer device 100, the sensors for detecting the floating of a plurality of parts of the medium mounted on the mounting table 103 are not limited to the first sensor 111 and the second sensor 112. The medium transfer device 100 may have three or more sensors for detecting the floating of three or more parts of the medium. In that case, the sensors are provided so as to irradiate, for example, the same position in the medium transport direction A1 and different positions in the width direction A2. The abnormality determination unit 221 divides the input image into three or more regions including a portion corresponding to the position of the medium irradiated with light by each sensor, and determines whether or not an abnormality exists. The sensors may be provided so as to irradiate different positions in the medium transport direction A1. In that case, the abnormality determination unit 221 divides the input image not only in the horizontal direction but also in the vertical direction so as to include a portion corresponding to the position of the medium irradiated with light by each sensor, and an abnormality exists. It may be determined whether or not. As a result, the abnormality determination unit 221 can further divide the input image and determine the presence or absence of an abnormality, and can determine the presence or absence of an abnormality in a shorter time.

以上詳述したように、画像処理システム1は、第1センサ111及び第2センサ112によって媒体の浮き上がりが発生していると判定された部分が含まれる入力画像の領域に対してのみ、異常の有無を判定して補正する。これにより、画像処理システム1は、入力画像全体に対して異常の有無を判定する必要がなくなり、異常が存在する可能性が高い領域に限定して異常の有無を判定して補正することができる。したがって、画像処理システム1は、異常が存在する入力画像をより短時間に補正することが可能となった。 As described in detail above, the image processing system 1 is abnormal only in the region of the input image including the portion determined by the first sensor 111 and the second sensor 112 that the medium is lifted. Determine the presence or absence and correct. As a result, the image processing system 1 does not need to determine the presence or absence of an abnormality in the entire input image, and can determine and correct the presence or absence of an abnormality only in a region where the abnormality is likely to exist. .. Therefore, the image processing system 1 can correct the input image in which the abnormality exists in a shorter time.

特に、画像処理システム1は、撮像装置122が読み取る前の媒体の状態に基づいて、入力画像内で異常が存在する可能性が高い領域を推定することが可能となり、入力画像に異常が存在するか否かをより早期に判定することが可能となった。また、利用者は、生成された画像をより早期に確認することが可能となり、画像処理システム1は、利用者の利便性を向上させることが可能となった。また、画像処理システム1は、異常が存在する可能性が高い領域に限定して異常の有無を判定して補正することにより、画像処理にかかる処理負荷を軽減させることが可能となり、その結果、画像処理による消費電力を低減させることが可能となった。 In particular, the image processing system 1 can estimate a region in the input image where an abnormality is likely to exist based on the state of the medium before the image pickup apparatus 122 reads the image, and the input image has an abnormality. It has become possible to determine whether or not it is possible at an earlier stage. In addition, the user can confirm the generated image earlier, and the image processing system 1 can improve the convenience of the user. Further, the image processing system 1 can reduce the processing load on the image processing by determining and correcting the presence or absence of the abnormality only in the area where the abnormality is likely to exist, and as a result, the image processing system 1 can reduce the processing load. It has become possible to reduce the power consumption of image processing.

また、画像処理システム1は、媒体の端部で浮き上がりが発生していても、媒体のジャムが発生する可能性が低いときは、媒体の搬送を継続させつつ、入力画像に異常が存在する場合には入力画像を補正する。これにより、画像処理システム1は、媒体の一部が浮き上がって搬送される場合でも、媒体読取処理にかかるトータル時間の増大を抑制しつつ、良好な入力画像を生成することが可能となった。 Further, in the image processing system 1, even if the image is lifted at the edge of the medium, when the possibility of jamming of the medium is low, the input image may have an abnormality while continuing the transport of the medium. Corrects the input image. As a result, the image processing system 1 can generate a good input image while suppressing an increase in the total time required for the medium reading process even when a part of the medium is lifted and conveyed.

図17は、他の実施形態に係る媒体搬送装置の媒体読取処理の動作の例を示すフローチャートである。図17に示す媒体読取処理は、図8に示した媒体読取処理に代えて実行される。図17に示す媒体読取処理が実行される場合、情報処理装置200の第2処理回路220の代わりに、媒体搬送装置100の第1処理回路150が、異常判定部、補正部及び表示制御部を有する。図17に示すフローチャートのステップS701〜S710及びS713〜S714の処理は、図8に示したフローチャートのステップS101〜S110及びS112〜S113の処理と同様であるため、詳細な説明を省略する。以下では、ステップS711〜S712についてのみ説明する。 FIG. 17 is a flowchart showing an example of the operation of the medium reading process of the medium conveying device according to another embodiment. The medium reading process shown in FIG. 17 is executed in place of the medium reading process shown in FIG. When the medium reading process shown in FIG. 17 is executed, the first processing circuit 150 of the medium transfer device 100 replaces the second processing circuit 220 of the information processing device 200 with an abnormality determination unit, a correction unit, and a display control unit. Have. Since the processing of steps S701 to S710 and S713 to S714 of the flowchart shown in FIG. 17 is the same as the processing of steps S101 to S110 and S112 to S113 of the flowchart shown in FIG. 8, detailed description thereof will be omitted. Hereinafter, only steps S711 to S712 will be described.

ステップS711において、第1処理回路150の異常判定部、補正部及び表示制御部は、画像処理を実行する(ステップS711)。この画像処理は、図14に示した画像処理と同様である。但し、この場合、ステップS606において、補正部は、入力画像を第1記憶装置140に記憶するとともに、第1表示装置106に表示する。 In step S711, the abnormality determination unit, the correction unit, and the display control unit of the first processing circuit 150 execute image processing (step S711). This image processing is similar to the image processing shown in FIG. However, in this case, in step S606, the correction unit stores the input image in the first storage device 140 and displays it on the first display device 106.

次に、画像生成部152は、入力画像を、第1インタフェース装置132を介して情報処理装置200へ送信する(ステップS712)。情報処理装置200の第2処理回路220は、第2インタフェース装置203を介して媒体搬送装置100から入力画像を受信した場合、受信した入力画像を第2記憶装置210に記憶するとともに、第2表示装置202に表示する。 Next, the image generation unit 152 transmits the input image to the information processing device 200 via the first interface device 132 (step S712). When the second processing circuit 220 of the information processing device 200 receives the input image from the medium transfer device 100 via the second interface device 203, the second processing circuit 220 stores the received input image in the second storage device 210 and displays the second display. Displayed on the device 202.

以上詳述したように、画像処理システムは、媒体搬送装置が異常判定部、補正部及び表示制御部を有する場合も、異常が存在する入力画像をより短時間に補正することが可能となった。 As described in detail above, the image processing system can correct the input image in which the abnormality exists in a shorter time even when the medium transport device has the abnormality determination unit, the correction unit, and the display control unit. ..

なお、媒体搬送装置100の第1処理回路150が異常判定部を有し、情報処理装置200の第2処理回路220が補正部及び表示制御部を有してもよい。その場合、第1処理回路150の異常判定部が、図14に示した画像処理のステップS601〜S604の処理を実行し、入力画像と、異常の判定結果とを第1インタフェース装置132を介して情報処理装置200へ送信する。第2処理回路220の補正部は、第2インタフェース装置203を介して媒体搬送装置100から入力画像と異常の判定結果とを受信し、受信した異常の判定結果に従って、図14のステップS605の処理を実行する。そして、第2処理回路220の表示制御部が、図14のステップS606の処理を実行する。 The first processing circuit 150 of the medium transfer device 100 may have an abnormality determination unit, and the second processing circuit 220 of the information processing device 200 may have a correction unit and a display control unit. In that case, the abnormality determination unit of the first processing circuit 150 executes the processes of the image processing steps S601 to S604 shown in FIG. 14, and inputs the input image and the abnormality determination result via the first interface device 132. It is transmitted to the information processing device 200. The correction unit of the second processing circuit 220 receives the input image and the abnormality determination result from the medium transfer device 100 via the second interface device 203, and according to the received abnormality determination result, the process of step S605 in FIG. To execute. Then, the display control unit of the second processing circuit 220 executes the processing of step S606 of FIG.

図18は、他の実施形態に係る媒体搬送装置における第1処理回路350の概略構成を示す図である。第1処理回路350は、媒体搬送装置100の第1処理回路150の代わりに使用され、第1処理回路150の代わりに、媒体読取処理、端部浮き上がり判定処理、中央部浮き上がり判定処理、重送判定処理及びスキュー判定処理を実行する。第1処理回路350は、制御回路351、画像生成回路352、第1浮き上がり判定回路353、第2浮き上がり判定回路354、重送判定回路355及びスキュー判定回路356等を有する。なお、これらの各部は、それぞれ独立した集積回路、マイクロプロセッサ、ファームウェア等で構成されてもよい。 FIG. 18 is a diagram showing a schematic configuration of a first processing circuit 350 in a medium transfer device according to another embodiment. The first processing circuit 350 is used in place of the first processing circuit 150 of the medium transfer device 100, and instead of the first processing circuit 150, the medium reading process, the edge lift determination process, the central lift determination process, and the double feed. The determination process and the skew determination process are executed. The first processing circuit 350 includes a control circuit 351, an image generation circuit 352, a first floating determination circuit 353, a second floating determination circuit 354, a double feed determination circuit 355, a skew determination circuit 356, and the like. Each of these parts may be composed of independent integrated circuits, microprocessors, firmware, and the like.

制御回路351は、制御部の一例であり、制御部151と同様の機能を有する。制御回路351は、第1操作装置105から操作信号を、第3センサ114から第3媒体信号を、第4センサ117から第4媒体信号を受信し、第1記憶装置140から第1、第2浮き上がりフラグ、中央浮き上がりフラグ、重送フラグ、スキューフラグを読み出す。制御回路351は、受信又は読み出した各情報に応じて媒体の搬送を制御するように、モータ131に制御信号を出力する。 The control circuit 351 is an example of the control unit, and has the same function as the control unit 151. The control circuit 351 receives an operation signal from the first operation device 105, a third medium signal from the third sensor 114, and a fourth medium signal from the fourth sensor 117, and receives first and second media signals from the first storage device 140. Read the lift flag, center lift flag, double feed flag, and skew flag. The control circuit 351 outputs a control signal to the motor 131 so as to control the transport of the medium according to the received or read information.

画像生成回路352は、画像生成部の一例であり、画像生成部152と同様の機能を有する。画像生成回路352は、撮像装置122からライン画像を受信して入力画像を生成し、第1記憶装置140に記憶する。画像生成回路352は、第1記憶装置140から第1浮き上がりフラグ及び第2浮き上がりフラグを読み出し、入力画像とともに第1インタフェース装置132を介して情報処理装置へ送信する。 The image generation circuit 352 is an example of the image generation unit, and has the same function as the image generation unit 152. The image generation circuit 352 receives a line image from the image pickup device 122, generates an input image, and stores it in the first storage device 140. The image generation circuit 352 reads the first floating flag and the second floating flag from the first storage device 140, and transmits the input image together with the input image to the information processing device via the first interface device 132.

第1浮き上がり判定回路353は、第1浮き上がり判定部の一例であり、第1浮き上がり判定部153と同様の機能を有する。第1浮き上がり判定回路353は、第1センサ111から第1媒体信号を、第2センサ112から第2媒体信号を受信し、受信した各信号に基づいて媒体の端部で浮き上がりが発生しているか否かを判定する。第1浮き上がり判定回路353は、第1、第2浮き上がりフラグを第1記憶装置140に記憶する。 The first lift determination circuit 353 is an example of the first lift determination unit, and has the same function as the first lift determination unit 153. The first floating determination circuit 353 receives the first medium signal from the first sensor 111 and the second medium signal from the second sensor 112, and whether the floating occurs at the end of the medium based on each received signal. Judge whether or not. The first floating determination circuit 353 stores the first and second floating flags in the first storage device 140.

第2浮き上がり判定回路354は、第2浮き上がり判定部の一例であり、第2浮き上がり判定部154と同様の機能を有する。第2浮き上がり判定回路354は、移動センサ113から移動量信号を受信し、受信した移動量信号に基づいて媒体の中央部で浮き上がりが発生しているか否かを判定し、中央浮き上がりフラグを第1記憶装置140に記憶する。 The second lift determination circuit 354 is an example of the second lift determination unit, and has the same function as the second lift determination unit 154. The second floating determination circuit 354 receives a movement amount signal from the movement sensor 113, determines whether or not a floating amount has occurred in the central portion of the medium based on the received movement amount signal, and sets the central floating amount flag to the first. Store in the storage device 140.

重送判定回路355は、重送判定部の一例であり、重送判定部155と同様の機能を有する。重送判定回路355は、超音波センサ118から超音波信号を受信し、受信した超音波信号に基づいて媒体の重送が発生しているか否かを判定し、重送フラグを第1記憶装置140に記憶する。 The double feed determination circuit 355 is an example of the double feed determination unit, and has the same function as the double feed determination unit 155. The double feed determination circuit 355 receives an ultrasonic signal from the ultrasonic sensor 118, determines whether or not double feed of the medium has occurred based on the received ultrasonic signal, and sets the double feed flag in the first storage device. Store in 140.

スキュー判定回路356は、スキュー判定部の一例であり、スキュー判定部156と同様の機能を有する。スキュー判定回路356は、第5センサ121から第5媒体信号を、撮像装置122からライン画像を受信し、受信した各情報に基づいて媒体のスキューが発生しているか否かを判定し、スキューフラグを第1記憶装置140に記憶する。 The skew determination circuit 356 is an example of the skew determination unit, and has the same function as the skew determination unit 156. The skew determination circuit 356 receives the fifth medium signal from the fifth sensor 121 and the line image from the image pickup apparatus 122, determines whether or not the medium is skewed based on each received information, and determines whether or not the medium is skewed, and the skew flag Is stored in the first storage device 140.

図19は、他の実施形態に係る情報処理装置における第2処理回路420の概略構成を示す図である。第2処理回路420は、情報処理装置200の第2処理回路220の代わりに使用され、第2処理回路220の代わりに、画像処理を実行する。第2処理回路420は、異常判定回路421、補正回路422及び表示制御回路423等を有する。なお、これらの各部は、それぞれ独立した集積回路、マイクロプロセッサ、ファームウェア等で構成されてもよい。 FIG. 19 is a diagram showing a schematic configuration of a second processing circuit 420 in the information processing apparatus according to another embodiment. The second processing circuit 420 is used in place of the second processing circuit 220 of the information processing apparatus 200, and performs image processing in place of the second processing circuit 220. The second processing circuit 420 includes an abnormality determination circuit 421, a correction circuit 422, a display control circuit 423, and the like. Each of these parts may be composed of independent integrated circuits, microprocessors, firmware, and the like.

異常判定回路421は、異常判定部の一例であり、異常判定部221と同様の機能を有する。異常判定回路421は、第2インタフェース装置203を介して媒体搬送装置から入力画像及び第1、第2浮き上がりフラグを受信し、第2記憶装置210に記憶する。また、異常判定回路421は、受信した各情報に基づいて、入力画像の各領域に異常が存在するか否かを判定し、判定結果を第2記憶装置210に記憶する。 The abnormality determination circuit 421 is an example of the abnormality determination unit, and has the same function as the abnormality determination unit 221. The abnormality determination circuit 421 receives the input image and the first and second floating flags from the medium transfer device via the second interface device 203, and stores them in the second storage device 210. Further, the abnormality determination circuit 421 determines whether or not an abnormality exists in each region of the input image based on each received information, and stores the determination result in the second storage device 210.

補正回路422は、補正部の一例であり、補正部222と同様の機能を有する。補正回路422は、第2記憶装置210から入力画像、第1、第2浮き上がりフラグ及び異常の判定結果を読み出し、読み出した各情報に基づいて入力画像を補正し、第2記憶装置210に記憶する。 The correction circuit 422 is an example of a correction unit, and has the same function as the correction unit 222. The correction circuit 422 reads the input image, the first and second floating flags, and the determination result of the abnormality from the second storage device 210, corrects the input image based on the read information, and stores it in the second storage device 210. ..

表示制御回路423は、表示制御部の一例であり、表示制御部223と同様の機能を有する。表示制御回路423は、第2記憶装置210から入力画像を読み出し、読み出した入力画像を第2表示装置202に表示する。 The display control circuit 423 is an example of the display control unit, and has the same function as the display control unit 223. The display control circuit 423 reads an input image from the second storage device 210, and displays the read input image on the second display device 202.

なお、情報処理装置の第2処理回路の代わりに、媒体搬送装置の第1処理回路が、異常判定回路、補正回路及び/又は表示制御回路を有してもよい。 Instead of the second processing circuit of the information processing device, the first processing circuit of the medium transfer device may include an abnormality determination circuit, a correction circuit, and / or a display control circuit.

以上詳述したように、画像処理システムは、第1処理回路350及び第2処理回路420を用いる場合においても、異常が存在する入力画像をより短時間に補正することが可能となった。 As described in detail above, the image processing system can correct the input image in which an abnormality exists in a shorter time even when the first processing circuit 350 and the second processing circuit 420 are used.

1 画像処理システム、100 媒体搬送装置、103 載置台、111 第1センサ、112 第2センサ、115 給送ローラ、116 ブレーキローラ、119 第1搬送ローラ、120 第2搬送ローラ、152 画像生成部、153 第1浮き上がり判定部、200 情報処理装置、221 異常判定部、222 補正部 1 image processing system, 100 medium transfer device, 103 mounting table, 111 first sensor, 112 second sensor, 115 feed roller, 116 brake roller, 119 first transfer roller, 120 second transfer roller, 152 image generator, 153 1st lift judgment unit, 200 information processing device, 221 abnormality judgment unit, 222 correction unit

Claims (7)

媒体を載置する載置台と、
前記載置台に載置された媒体を搬送する搬送部と、
前記載置台に載置された媒体の複数部分の浮き上がりを検知するための複数のセンサと、
前記複数のセンサからの出力信号に基づいて、前記複数部分の何れかの部分で媒体の浮き上がりが発生しているか否かを判定する浮き上がり判定部と、
前記搬送部により搬送された媒体が撮像された入力画像を生成する画像生成部と、
前記浮き上がり判定部により媒体の浮き上がりが発生していると判定された部分が含まれる前記入力画像の領域において、異常が存在するか否かを判定する異常判定部と、
前記異常判定部により異常が存在すると判定された前記入力画像の領域内の画像情報を補正する補正部と、
を有することを特徴とする媒体搬送装置。
A mounting table on which the medium is placed and
A transport unit that transports the medium placed on the above-mentioned stand, and
A plurality of sensors for detecting the floating of a plurality of parts of the medium mounted on the above-mentioned stand, and
Based on the output signals from the plurality of sensors, a lift determination unit that determines whether or not the medium is lifted in any part of the plurality of parts, and a lift determination unit.
An image generation unit that generates an input image in which the medium conveyed by the transfer unit is captured, and an image generation unit.
An abnormality determination unit that determines whether or not an abnormality exists in the area of the input image including a portion that is determined by the floating determination unit that the medium has been lifted.
A correction unit that corrects image information in the area of the input image determined by the abnormality determination unit to have an abnormality, and a correction unit.
A medium transfer device characterized by having.
前記複数のセンサは、前記出力信号として、前記複数のセンサから前記載置台に載置された媒体の複数部分までの距離に応じた信号を出力する、請求項1に記載の媒体搬送装置。 The medium transfer device according to claim 1, wherein the plurality of sensors output signals as output signals according to the distances from the plurality of sensors to a plurality of parts of the medium mounted on the above-mentioned stand. 前記複数のセンサは、
前記出力信号として、媒体搬送方向と直交する方向において、前記載置台に載置された媒体の中央位置より一方の側の部分までの距離に応じた信号を出力する第1センサと、
前記出力信号として、媒体搬送方向と直交する方向において、前記載置台に載置された媒体内の中央位置より他方の側の部分までの距離に応じた信号を出力する第2センサと、を含む、請求項1または2に記載の媒体搬送装置。
The plurality of sensors
As the output signal, a first sensor that outputs a signal corresponding to a distance from the center position of the medium mounted on the above-mentioned table to a portion on one side in a direction orthogonal to the medium transport direction, and a first sensor.
The output signal includes a second sensor that outputs a signal according to a distance from a central position in the medium mounted on the above-mentioned table to a portion on the other side in a direction orthogonal to the medium transport direction. , The medium transfer device according to claim 1 or 2.
前記異常は、媒体の欠け、異形、カール、シワ又はムラである、請求項1〜3の何れか一項に記載の媒体搬送装置。 The medium transfer device according to any one of claims 1 to 3, wherein the abnormality is chipping, irregular shape, curl, wrinkles or unevenness of the medium. 媒体搬送装置と、情報処理装置とを有する画像処理システムであって、
前記媒体搬送装置が、
媒体を載置する載置台と、
前記載置台に載置された媒体を搬送する搬送部と、
前記載置台に載置された媒体の複数部分の浮き上がりを検知するための複数のセンサと、
前記複数のセンサからの出力信号に基づいて、前記複数部分の何れかの部分で媒体の浮き上がりが発生しているか否かを判定する浮き上がり判定部と、
前記搬送部により搬送された媒体が撮像された入力画像を生成する画像生成部と、を有し、
前記媒体搬送装置又は前記情報処理装置の何れかが、
前記浮き上がり判定部により媒体の浮き上がりが発生していると判定された部分が含まれる前記入力画像の領域において、異常が存在するか否かを判定する異常判定部と、
前記異常判定部により異常が存在すると判定された前記入力画像の領域内の画像情報を補正する補正部と、
を有することを特徴とする画像処理システム。
An image processing system having a medium transfer device and an information processing device.
The medium transfer device
A mounting table on which the medium is placed and
A transport unit that transports the medium placed on the above-mentioned stand, and
A plurality of sensors for detecting the floating of a plurality of parts of the medium mounted on the above-mentioned stand, and
Based on the output signals from the plurality of sensors, a lift determination unit that determines whether or not the medium is lifted in any part of the plurality of parts, and a lift determination unit.
It has an image generation unit that generates an input image in which the medium conveyed by the transfer unit is captured.
Either the medium transfer device or the information processing device
An abnormality determination unit that determines whether or not an abnormality exists in the area of the input image including a portion that is determined by the floating determination unit that the medium has been lifted.
A correction unit that corrects image information in the area of the input image determined by the abnormality determination unit to have an abnormality, and a correction unit.
An image processing system characterized by having.
媒体を載置する載置台と、前記載置台に載置された媒体を搬送する搬送部と、前記載置台に載置された媒体の複数部分の浮き上がりを検知するための複数のセンサと、を有する媒体搬送装置を有する画像処理システムの制御方法であって、
前記複数のセンサからの出力信号に基づいて、前記複数部分の何れかの部分で媒体の浮き上がりが発生しているか否かを判定し、
前記搬送部により搬送された媒体が撮像された入力画像を生成し、
前記媒体の浮き上がりが発生していると判定された部分が含まれる前記入力画像の領域において、異常が存在するか否かを判定し、
前記異常が存在すると判定された前記入力画像の領域内の画像情報を補正する、
ことを特徴とする制御方法。
A pedestal on which the medium is placed, a transport unit for transporting the medium mounted on the pedestal described above, and a plurality of sensors for detecting the floating of a plurality of parts of the medium mounted on the pedestal described above. It is a control method of an image processing system having a medium transport device having the same.
Based on the output signals from the plurality of sensors, it is determined whether or not the medium is lifted in any part of the plurality of parts.
An input image in which the medium transported by the transport unit is captured is generated.
It is determined whether or not there is an abnormality in the region of the input image including the portion where the floating of the medium is determined to occur.
The image information in the area of the input image determined to have the abnormality is corrected.
A control method characterized by that.
媒体を載置する載置台と、前記載置台に載置された媒体を搬送する搬送部と、前記載置台に載置された媒体の複数部分の浮き上がりを検知するための複数のセンサと、を有する媒体搬送装置の制御プログラムであって、
前記複数のセンサからの出力信号に基づいて、前記複数部分の何れかの部分で媒体の浮き上がりが発生しているか否かを判定し、
前記搬送部により搬送された媒体が撮像された入力画像を生成し、
前記媒体の浮き上がりが発生していると判定された部分が含まれる前記入力画像の領域において、異常が存在するか否かを判定し、
前記異常が存在すると判定された前記入力画像の領域内の画像情報を補正する、
ことを前記媒体搬送装置に実行させることを特徴とする制御プログラム。
A pedestal on which the medium is placed, a transport unit for transporting the medium mounted on the pedestal described above, and a plurality of sensors for detecting the floating of a plurality of parts of the medium mounted on the pedestal described above. It is a control program of the medium transport device that it has.
Based on the output signals from the plurality of sensors, it is determined whether or not the medium is lifted in any part of the plurality of parts.
An input image in which the medium transported by the transport unit is captured is generated.
It is determined whether or not there is an abnormality in the region of the input image including the portion where the floating of the medium is determined to occur.
The image information in the area of the input image determined to have the abnormality is corrected.
A control program characterized by causing the medium transfer device to execute the above.
JP2020026245A 2020-02-19 2020-02-19 Media transport device, image processing system, control method and control program Active JP7368266B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020026245A JP7368266B2 (en) 2020-02-19 2020-02-19 Media transport device, image processing system, control method and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020026245A JP7368266B2 (en) 2020-02-19 2020-02-19 Media transport device, image processing system, control method and control program

Publications (2)

Publication Number Publication Date
JP2021132283A true JP2021132283A (en) 2021-09-09
JP7368266B2 JP7368266B2 (en) 2023-10-24

Family

ID=77551319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020026245A Active JP7368266B2 (en) 2020-02-19 2020-02-19 Media transport device, image processing system, control method and control program

Country Status (1)

Country Link
JP (1) JP7368266B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017046342A (en) 2015-08-26 2017-03-02 株式会社リコー Image processing system and image processing method
JP2017208588A (en) 2016-05-16 2017-11-24 京セラドキュメントソリューションズ株式会社 Document feeder and image reader

Also Published As

Publication number Publication date
JP7368266B2 (en) 2023-10-24

Similar Documents

Publication Publication Date Title
JP5858888B2 (en) Medium transport device
JP7047318B2 (en) Transfer device, program and control method of transfer device
JP5911406B2 (en) Image reading apparatus and image processing system
JP6570730B2 (en) Image reading apparatus, control method, and control program
JP7414574B2 (en) Media transport device, control method and control program
JP7414932B2 (en) Double feed detection device, control method and control program
JP7344356B2 (en) Media transport device, control method and control program
JP7104650B2 (en) Image reader, image processing system, control method and control program
JP7467694B2 (en) Image reading device, control method and control program
JP7368266B2 (en) Media transport device, image processing system, control method and control program
JP7349585B2 (en) Media transport device, control method and control program
JP6524001B2 (en) Image reading apparatus, control method and control program
JP7258700B2 (en) MEDIUM CONVEYING DEVICE, CONTROL METHOD AND CONTROL PROGRAM
JP7191198B2 (en) Double feed detection device, control method and control program
JP2020031399A (en) Image processing apparatus, control method, and control program
JP7337727B2 (en) MEDIUM CONVEYING DEVICE, CONTROL METHOD AND CONTROL PROGRAM
US20220258997A1 (en) Medium conveying apparatus to determine whether multi-feed has occurred based on whether outer shape of object area in input image is rectangular
WO2022195685A1 (en) Medium conveyance device, control method, and control program
WO2022153497A1 (en) Medium conveyance device, control method, and control program
JP2024013583A (en) Media transport device, control method and control program
JP2022165199A (en) Medium discharge device, control method and control program
JP2022135045A (en) Medium conveyance device, control method and control program
JP2023119871A (en) Image reader
JP2020155966A (en) Medium reading apparatus, control method, and control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230602

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230613

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230728

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230926

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231012

R150 Certificate of patent or registration of utility model

Ref document number: 7368266

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150