JP7141973B2 - Image reading device, image processing system, control method and control program - Google Patents
Image reading device, image processing system, control method and control program Download PDFInfo
- Publication number
- JP7141973B2 JP7141973B2 JP2019053577A JP2019053577A JP7141973B2 JP 7141973 B2 JP7141973 B2 JP 7141973B2 JP 2019053577 A JP2019053577 A JP 2019053577A JP 2019053577 A JP2019053577 A JP 2019053577A JP 7141973 B2 JP7141973 B2 JP 7141973B2
- Authority
- JP
- Japan
- Prior art keywords
- medium
- input image
- image
- unit
- vertical
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012545 processing Methods 0.000 title claims description 62
- 238000000034 method Methods 0.000 title claims description 29
- 238000003384 imaging method Methods 0.000 claims description 87
- 230000032258 transport Effects 0.000 claims description 77
- 238000001514 detection method Methods 0.000 claims description 64
- 230000010365 information processing Effects 0.000 claims description 29
- 238000003702 image correction Methods 0.000 claims description 26
- 238000010586 diagram Methods 0.000 description 26
- 230000008569 process Effects 0.000 description 19
- 238000003780 insertion Methods 0.000 description 13
- 230000037431 insertion Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 12
- 238000011144 upstream manufacturing Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 239000000428 dust Substances 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000005401 electroluminescence Methods 0.000 description 2
- 239000003292 glue Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 210000003205 muscle Anatomy 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Facsimile Scanning Arrangements (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
本発明は、画像読取装置、画像処理システム、制御方法及び制御プログラムに関する。 The present invention relates to an image reading device, an image processing system, a control method and a control program.
一般的なイメージスキャナ等の画像読取装置では、ラインセンサ等の撮像部を用いて、媒体を搬送させながら撮像する。そのため、撮像部のガラス面に、紙粉、埃、のり等の異物が付着すると、媒体を撮像した入力画像に縦筋のノイズが発生することがある。 An image reading device such as a general image scanner uses an imaging unit such as a line sensor to capture an image while conveying a medium. Therefore, if foreign matter such as paper dust, dust, or glue adheres to the glass surface of the imaging unit, vertical streak noise may occur in the input image obtained by imaging the medium.
例えば、特許文献1の画像読取装置は、媒体を1回通紙することで、媒体の第1面の画像を読取り位置Aで読み取る第1読取り手段及び媒体の第2面の画像を読取り位置Bで読み取る第2の読取り手段を備えている。1回目の通紙で両面の画像を読み取られた媒体は表裏を反転され、2回目の通紙で第2面の画像が第1読取り手段で読み取られ、第1面の画像が第2読取り手段で読み取られる。画像読取装置は、読取り手段にて読み取られた同一面の画像データを比較して筋ノイズが少ないほうの画像データを出力する。 For example, in the image reading apparatus disclosed in Patent Document 1, by passing the medium once, the first reading means reads the image on the first side of the medium at the reading position A and the image on the second side of the medium is read at the reading position B. and a second reading means for reading with. The medium on which the images on both sides have been read in the first pass is turned over, and in the second pass, the image on the second side is read by the first reading means, and the image on the first side is read by the second reading means. is read by The image reading device compares the image data of the same surface read by the reading means and outputs the image data with less line noise.
画像読取装置では、入力画像内で除去対象である縦筋を高精度に検出することが望まれている。 Image reading apparatuses are desired to detect, with high accuracy, vertical streaks to be removed in an input image.
本発明は、入力画像内で除去対象である縦筋を高精度に検出することが可能な画像読取装置を提供することを目的とする。 SUMMARY OF THE INVENTION It is an object of the present invention to provide an image reading apparatus capable of detecting, with high accuracy, vertical streaks to be removed in an input image.
本実施形態の一側面に係る画像読取装置は、媒体を搬送する搬送部と、搬送部により搬送される媒体を撮像して、入力画像を生成する撮像部と、搬送部により媒体を搬送させながら、撮像部により第1の入力画像を生成させた後に、搬送部により再度媒体を搬送させながら、撮像部により第1の入力画像と同じ面を撮像させて第2の入力画像を生成させる制御部と、第1の入力画像及び第2の入力画像からそれぞれ縦筋候補を検出する縦筋候補検出部と、第1の入力画像内の媒体上の縦筋候補の位置と第2の入力画像内の媒体上の縦筋候補の位置とが異なる場合に、縦筋候補が除去対象であると判定する除去判定部と、を有する。 An image reading apparatus according to one aspect of the present embodiment includes a transport unit that transports a medium, an imaging unit that captures an image of the medium transported by the transport unit and generates an input image, and a medium that is transported by the transport unit. a control unit for generating a second input image by causing the image capturing unit to capture the same surface as the first input image while causing the transport unit to transport the medium again after the image capturing unit generates the first input image; a vertical-stripe candidate detection unit that detects vertical-stripe candidates from the first input image and the second input image; positions of the vertical-stripe candidates on the medium in the first input image; a removal determination unit that determines that the vertical streak candidate is to be removed if the position of the vertical streak candidate on the medium is different from that of the vertical streak candidate.
本実施形態の一側面に係る画像処理システムは、画像読取装置と、情報処理装置とを有する画像処理システムであって、画像読取装置は、媒体を搬送する搬送部と、搬送部により搬送される媒体を撮像して、入力画像を生成する撮像部と、搬送部により媒体を搬送させながら、撮像部により第1の入力画像を生成させた後に、搬送部により再度媒体を搬送させながら、撮像部により第1の入力画像と同じ面を撮像させて第2の入力画像を生成させる制御部と、を有し、情報処理装置は、第1の入力画像及び第2の入力画像からそれぞれ縦筋候補を検出する縦筋候補検出部と、第1の入力画像内の媒体上の縦筋候補の位置と第2の入力画像内の媒体上の縦筋候補の位置とが異なる場合に、縦筋候補が除去対象であると判定する除去判定部と、を有する。 An image processing system according to one aspect of the present embodiment is an image processing system including an image reading device and an information processing device. an imaging unit that captures an image of a medium and generates an input image; and an imaging unit that generates a first input image while conveying the medium by the conveying unit and then conveys the medium again by the conveying unit. and a control unit for generating a second input image by imaging the same surface as the first input image by and a vertical stripe candidate detection unit that detects a vertical stripe candidate when the position of the vertical stripe candidate on the medium in the first input image is different from the position of the vertical stripe candidate on the medium in the second input image. and a removal determination unit that determines that the is to be removed.
また、本実施形態の一側面に係る制御方法は、媒体を搬送する搬送部と、搬送部により搬送される媒体を撮像して、入力画像を生成する撮像部と、を有する画像読取装置の制御方法であって、搬送部により媒体を搬送させながら、撮像部により第1の入力画像を生成させた後に、搬送部により再度媒体を搬送させながら、撮像部により第1の入力画像と同じ面を撮像させて第2の入力画像を生成させ、第1の入力画像及び第2の入力画像からそれぞれ縦筋候補を検出し、第1の入力画像内の媒体上の縦筋候補の位置と第2の入力画像内の媒体上の縦筋候補の位置とが異なる場合に、縦筋候補が除去対象であると判定する。 Further, a control method according to one aspect of the present embodiment provides control of an image reading apparatus having a transport unit that transports a medium and an imaging unit that captures an image of the medium transported by the transport unit and generates an input image. In the method, after the first input image is generated by the imaging unit while the medium is conveyed by the conveying unit, the same surface as the first input image is captured by the imaging unit while the medium is conveyed again by the conveying unit. imaging is performed to generate a second input image; vertical stripe candidates are detected from the first input image and the second input image; If the position of the vertical stripe candidate on the medium in the input image is different from that of the vertical stripe candidate, it is determined that the vertical stripe candidate is to be removed.
また、本実施形態の一側面に係る制御プログラムは、媒体を搬送する搬送部と、搬送部により搬送される媒体を撮像して、入力画像を生成する撮像部と、を有する画像読取装置の制御プログラムであって、搬送部により媒体を搬送させながら、撮像部により第1の入力画像を生成させた後に、搬送部により再度媒体を搬送させながら、撮像部により第1の入力画像と同じ面を撮像させて第2の入力画像を生成させ、第1の入力画像及び第2の入力画像からそれぞれ縦筋候補を検出し、第1の入力画像内の媒体上の縦筋候補の位置と第2の入力画像上の縦筋候補の位置とが異なる場合に、縦筋候補が除去対象であると判定する、ことを画像読取装置に実行させる。 A control program according to one aspect of the present embodiment controls an image reading device having a transport unit that transports a medium and an imaging unit that captures an image of the medium transported by the transport unit and generates an input image. The program causes the imaging unit to generate a first input image while conveying the medium by the conveying unit, and then reproduces the same surface as the first input image by the imaging unit while conveying the medium again by the conveying unit. imaging is performed to generate a second input image; vertical stripe candidates are detected from the first input image and the second input image; If the position of the vertical streak candidate on the input image is different from that of the vertical streak candidate, the image reading device determines that the vertical streak candidate is to be removed.
本実施形態によれば、入力画像内で除去対象である縦筋を高精度に検出することが可能な画像読取装置が提供される。 According to this embodiment, there is provided an image reading apparatus capable of detecting with high accuracy vertical streaks to be removed in an input image.
以下、本発明の一側面に係る画像処理システムについて図を参照しつつ説明する。但し、本発明の技術的範囲はそれらの実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶ点に留意されたい。 An image processing system according to one aspect of the present invention will be described below 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 invention described in the claims and equivalents thereof.
図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は、複写機、ファクシミリ、MFP(Multifunction Peripheral)等でもよい。媒体は、用紙、厚紙、カード、冊子又はパスポート等である。画像読取装置100は、ファクシミリ、複写機、プリンタ複合機(MFP、Multifunction Peripheral)等でもよい。情報処理装置200は、パーソナルコンピュータ、多機能携帯端末、携帯電話等である。画像読取装置100及び情報処理装置200は、相互に接続されている。
The image processing system 1 includes an
画像読取装置100は、下側筐体101、上側筐体102、挿入口103、第1表示装置104及び第1操作装置105等を備える。
The
上側筐体102は、画像読取装置100の上面を覆う位置に配置され、下側筐体101に係合している。上側筐体102と下側筐体101の間には、媒体の挿入口103が設けられている。図1において方向A1は媒体の挿入方向を示し、方向A1とは反対の方向A2は媒体の排出方向を示す。方向A1は、第1の方向の一例であり、方向A2は、第2の方向の一例である。
The
第1表示装置104は、LED(Light Emitting Diode)及びLEDを制御するためのインタフェース回路を有し、装置の状態に応じてLEDを点灯又は消灯させる。
The
第1操作装置105は、ボタン等の入力デバイス及び入力デバイスから信号を取得するインタフェース回路を有し、利用者による操作を受け付け、利用者の入力に応じた信号を出力する。
The
図2は、画像読取装置100内部の搬送経路を説明するための図である。
FIG. 2 is a diagram for explaining the transport path inside the
画像読取装置100内部の搬送経路は、第1発光器111a、第1受光器111b、第1搬送ローラ112a、112b、第2搬送ローラ113a、113b、撮像装置114、第2発光器115a、第2受光器115b、第3搬送ローラ116a、116b及び第4搬送ローラ117a、117b等を有している。
A conveying path inside the
以下では、第1搬送ローラ112a及び112bを総じて第1搬送ローラ112と称する場合がある。また、第2搬送ローラ113a及び113bを総じて第2搬送ローラ113と称する場合がある。また、第3搬送ローラ116a及び116bを総じて第3搬送ローラ116と称する場合がある。また、第4搬送ローラ117a及び117bを総じて第4搬送ローラ117と称する場合がある。
Hereinafter, the
上側筐体102の下面は媒体の搬送路の上側ガイド106aを形成し、下側筐体101の上面は媒体の搬送路の下側ガイド106bを形成する。上側ガイド106aと下側ガイド106bにより、媒体の挿入口103と退避口107とが形成される。挿入口103は、読取対象の媒体を画像読取装置100に挿入するための開口部であり、退避口107は、読取対象の媒体を画像読取装置100の外部に一時的に退避させるための開口部である。以下では、上流とは媒体が挿入される方向A1の上流のことをいい、下流とは媒体の方向A1の下流のことをいう。
The lower surface of the
第1発光器111a及び第1受光器111bは、第1搬送ローラ112及び第2搬送ローラ113の上流側に配置される。第1発光器111a及び第1受光器111bは、媒体の搬送路の近傍に、搬送路を挟んで対向して配置される。第1発光器111aは、第1受光器111bに向けて光を放射する。搬送路に媒体が存在しないときは、第1受光器111bは第1発光器111aから放射された光を検知する。一方、搬送路に媒体が存在するときは、第1発光器111aから放射された光は搬送路に存在する媒体に遮られ、第1受光器111bは第1発光器111aから放射された光を検知しない。第1受光器111bは、受光した光の強度に応じて、第1発光器111aと第1受光器111bの間に媒体が存在するか否かを検出し、媒体が存在するか否かを示す第1媒体検出信号を生成して出力する。以下では、第1発光器111a及び第1受光器111bを総じて第1媒体センサ111と称する場合がある。
The
第1搬送ローラ112及び第2搬送ローラ113は、第1発光器111a及び第1受光器111bの下流側且つ撮像装置114の上流側に設けられ、媒体を撮像装置114に対して移動させる。第1搬送ローラ112及び第2搬送ローラ113は、正転及び逆転可能に設けられている。
A
撮像装置114は、撮像部の一例であり、主走査方向に直線状に配列されたCCD(Charge Coupled Device)による撮像素子を備える等倍光学系タイプのCIS(Contact Image Sensor)を有する。また、撮像装置114は、撮像素子上に像を結ぶレンズと、撮像素子から出力された電気信号を増幅し、アナログ/デジタル(A/D)変換するA/D変換器とを有する。撮像装置114は、第1搬送ローラ112、第2搬送ローラ113、第3搬送ローラ116及び第4搬送ローラ117により搬送される媒体を撮像して、入力画像を生成し、出力する。
The
なお、CCDの代わりにCMOS(Complementary Metal Oxide Semiconductor)が使用されてもよい。また、CISの代わりに縮小光学系タイプの撮像センサが使用されてもよい。 A CMOS (Complementary Metal Oxide Semiconductor) may be used instead of the CCD. Also, a reduction optics type imaging sensor may be used instead of the CIS.
第2発光器115a及び第2受光器115bは、撮像装置114の下流側であり且つ第3搬送ローラ116及び第4搬送ローラ117の上流側に配置される。第2発光器115a及び第2受光器115bは、媒体の搬送路の近傍に、搬送路を挟んで対向して配置される。第2発光器115aは、第2受光器115bに向けて光を放射する。第2受光器115bは、受光した光の強度に応じて、第2発光器115aと第2受光器115bの間に媒体が存在するか否かを検出し、媒体が存在するか否かを示す第2検出信号を生成して出力する。以下では、第2発光器115a及び第2受光器115bを総じて第2媒体センサ115と称する場合がある。
The
第3搬送ローラ116及び第4搬送ローラ117は、撮像装置114、第2発光器115a及び第2受光器115bの下流側に設けられ、媒体を撮像装置114に対して移動させる。第3搬送ローラ116及び第4搬送ローラ117は、正転及び逆転可能に設けられている。このように、第1搬送ローラ112及び第2搬送ローラ113と、第3搬送ローラ116及び第4搬送ローラ117とは、媒体搬送方向に対して撮像装置114の両端に設けられている。第1搬送ローラ112、第2搬送ローラ113、第3搬送ローラ116及び第4搬送ローラ117は、媒体を搬送する搬送部の一例である。
A third conveying
図3Aは、搬送部により媒体を搬送させながら、撮像装置114により第1の入力画像を生成させる動作の例を示す図である。
FIG. 3A is a diagram illustrating an example of an operation of generating a first input image by the
挿入口103に挿入された媒体Dは、上側ガイド106aと下側ガイド106bによりガイドされて、第1搬送ローラ112と第2搬送ローラ113の間に送り込まれる。そして、媒体は、第1搬送ローラ112が方向A4に回転し、第2搬送ローラ113が方向A5に回転することによって方向A1に搬送され、撮像装置114の読取面の下に送り込まれる。その後、撮像装置114により読み取られた媒体Dは、第3搬送ローラ116が方向A4に回転し、第4搬送ローラ117が方向A5に回転することによって退避口107から画像読取装置100の外部に退避される。撮像装置114により読み取られた媒体Dの画像は、第1の入力画像として出力される。
The medium D inserted into the
図3Bは、搬送部により再度媒体を搬送させながら、撮像装置114により第2の入力画像を生成させる動作の例を示す図である。
FIG. 3B is a diagram showing an example of the operation of causing the
媒体Dの後端が撮像装置114の読取面の下を通過すると、第3搬送ローラ116が方向A4と反対の方向A6に回転し、第4搬送ローラ117が方向A5と反対の方向A7に回転する。これにより、媒体Dは方向A2に搬送され(スイッチバックされ)、撮像装置114の読取面の下に再度送り込まれる。その後、撮像装置114により再度読み取られた媒体Dは、第1搬送ローラ112が方向A6に回転し、第2搬送ローラ113が方向A7に回転することによって挿入口103から画像読取装置100の外部に排出される。撮像装置114により再度読み取られた媒体Dの画像は、第2の入力画像として出力される。
When the trailing edge of the medium D passes under the reading surface of the
図4は、画像読取装置100及び情報処理装置200の概略構成を示すブロック図である。
FIG. 4 is a block diagram showing a schematic configuration of the
画像読取装置100は、前述した構成に加えて、第1インタフェース装置131、第1記憶装置140、第1CPU(Central Processing Unit)150及び第1処理回路160等を更に有する。
The
第1インタフェース装置131は、出力部の一例であり、例えばUSB(Universal Serial Bus)等のシリアルバスに準じるインタフェース回路を有する。第1インタフェース装置131は、情報処理装置200と通信接続して各種の画像及び情報を送受信する。また、第1インタフェース装置131の代わりに、無線信号を送受信するアンテナと、所定の通信プロトコルに従って、無線通信回線を通じて信号の送受信を行うための無線通信インタフェース回路とを有する通信部が用いられてもよい。所定の通信プロトコルは、例えば無線LAN(Local Area Network)である。
The
第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)等である。また、第1記憶装置140には、データとして、各種の画像が格納される。
The
第1CPU150は、予め第1記憶装置140に記憶されているプログラムに基づいて動作する。なお、第1CPU150に代えて、DSP(Digital Signal Processor)、LSI(Large Scale Integration)等が用いられてよい。また、第1CPU150に代えて、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)等が用いられてもよい。
The
第1CPU150は、第1表示装置104、第1操作装置105、第1媒体センサ111、第2媒体センサ115、撮像装置114、駆動装置121、第1インタフェース装置131、第1記憶装置140及び第1処理回路160等とバス180を介して接続される。第1CPU150は、これらの各部を制御する。第1CPU150は、駆動装置121の駆動制御、撮像装置114の媒体読取制御等を行う。
The
第1CPU150は、第1媒体センサ111及び第2媒体センサ115から出力される信号を、バス180を介して受信する。第1媒体センサ111及び第2媒体センサ115のそれぞれは、アナログデジタル変換回路を有しているが、各センサと第1CPU150の間にアナログデジタル変換回路が設けられてもよい。
The
第1処理回路160は、撮像装置114から取得した画像に補正処理等の所定の画像処理を施す。なお、第1処理回路160として、LSI、DSP、ASIC又はFPGA等が用いられてもよい。
The
情報処理装置200は、第2表示装置201、第2操作装置202、第2インタフェース装置203、第2記憶装置210、第2CPU220及び第2処理回路230等を有する。
The
第2表示装置201は、液晶、有機EL(Electro-Luminescence)等から構成されるディスプレイ及びディスプレイに画像データを出力するインタフェース回路を有し、第2CPU220からの指示に従って、画像データをディスプレイに表示する。
The
第2操作装置202は、入力デバイス及び入力デバイスから信号を取得するインタフェース回路を更に有し、利用者による操作を受け付け、利用者の入力に応じた信号を第2CPU220に出力する。
The
第2インタフェース装置203は、第1インタフェース装置131と同様のインタフェース回路又は無線通信インタフェース回路を有し、画像読取装置100と通信接続して各種の画像及び情報を送受信する。
The
第2記憶装置210は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、又はフレキシブルディスク、光ディスク等の可搬用の記憶装置等を有する。また、第2記憶装置210には、情報処理装置200の各種処理に用いられるコンピュータプログラム、データベース、テーブル等が格納される。コンピュータプログラムは、例えばCD-ROM、DVD-ROM等のコンピュータ読み取り可能な可搬型記録媒体から、公知のセットアッププログラム等を用いて第2記憶装置210にインストールされてもよい。また、第2記憶装置210には、データとして、各種の画像が格納される。
The
第2CPU220は、予め第2記憶装置210に記憶されているプログラムに基づいて動作する。なお、第2CPU220に代えて、DSP、LSI、ASIC、FPGA等が用いられてもよい。
The
第2CPU220は、第2表示装置201、第2操作装置202、第2インタフェース装置203、第2記憶装置210及び第2処理回路230等とバス240を介して接続され、これらの各部を制御する。第2CPU220は、各装置の制御を行い、画像読取装置100から取得した画像に対する画像処理を実行する。
The
第2処理回路230は、画像読取装置100から取得した画像に補正処理等の所定の画像処理を施す。なお、第2処理回路230として、LSI、DSP、ASIC又はFPGA等が用いられてもよい。
The
図5は、画像読取装置100の第1記憶装置140及び第1CPU150の概略構成を示す図である。
FIG. 5 is a diagram showing a schematic configuration of the
図5に示すように、第1記憶装置140には、制御プログラム141、縦筋候補検出プログラム142、除去判定プログラム143、画像補正プログラム144、出力制御プログラム145及び媒体ずらしプログラム146等の各プログラムが記憶される。これらの各プログラムは、プロセッサ上で動作するソフトウェアにより実装される機能モジュールである。第1CPU150は、第1記憶装置140に記憶された各プログラムを読み取り、読み取った各プログラムに従って動作する。これにより、第1CPU150は、制御部151、縦筋候補検出部152、除去判定部153、画像補正部154、出力制御部155及び媒体ずらし部156として機能する。
As shown in FIG. 5, the
図6は、画像読取装置100の全体処理の動作の例を示すフローチャートである。以下、図6に示したフローチャートを参照しつつ、画像読取装置100の全体処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め第1記憶装置140に記憶されているプログラムに基づき主に第1CPU150により画像読取装置100の各要素と協働して実行される。
FIG. 6 is a flow chart showing an example of the overall processing operation of the
最初に、制御部151は、挿入口103から媒体が挿入されたことを検出し、且つ、第1操作装置105から媒体の読み取りを指示する操作信号を受信するまで待機する(ステップS101)。制御部151は、第1媒体センサ111から受信する第1媒体検出信号に基づいて、第1媒体センサ111が配置された位置に媒体が存在するか否かを判定する。制御部151は、その位置に媒体が存在すると判定した場合、挿入口103から媒体が挿入されていると判定する。また、制御部151は、利用者により第1操作装置105を用いて媒体の読み取りを指示する操作が実行された場合に、第1操作装置105から操作信号を受信する。
First, the
次に、制御部151は、駆動装置121を駆動して、第1搬送ローラ112及び第3搬送ローラ116を図2の方向A4に回転させ、第2搬送ローラ113及び第4搬送ローラ117を図2の方向A5に回転させる。これにより、制御部151は、第1搬送ローラ112、第2搬送ローラ113、第3搬送ローラ116及び第4搬送ローラ117により媒体を方向A1に搬送させる(ステップS102)。即ち、媒体は、撮像装置114によって、媒体の上端(方向A1の下流端)側から媒体の下端(方向A1の上流端)側へ読み取られるように、撮像装置114の読取面の下を移動する。
Next, the
次に、制御部151は、第1搬送ローラ112、第2搬送ローラ113、第3搬送ローラ116及び第4搬送ローラ117により媒体を方向A1に移動させながら、撮像装置114により媒体を撮像させて第1の入力画像を生成させる。そして、制御部151は、生成された第1の入力画像を撮像装置114から取得する(ステップS103)。即ち、第1の入力画像は、撮像装置114の主走査方向に延伸する媒体の各ラインを、副走査方向の上端から下端に向けて順に撮影した画像である。
Next, the
次に、制御部151は、第2媒体センサ115から受信する第2媒体検出信号に基づいて、媒体の後端が撮像装置114の位置を通過したか否かを判定する(ステップS104)。制御部151は、第2媒体検出信号が、媒体が存在することを示す状態から媒体が存在しないことを示す状態に変化した場合、媒体の後端が第2媒体センサ115の位置を通過しており、撮像装置114の位置を通過したと判定する。媒体の後端が撮像装置114を通過していない場合、制御部151は、媒体の後端が撮像装置114を通過するまで、媒体を移動させる。
Next, based on the second medium detection signal received from the second
一方、媒体の後端が撮像装置114を通過した場合、制御部151は、媒体を、方向A1と反対の方向A2に搬送させる。制御部151は、駆動装置121を駆動して、第1搬送ローラ112及び第3搬送ローラ116を図2の方向A4と反対の方向に回転させ、第2搬送ローラ113及び第4搬送ローラ117を図2の方向A5と反対の方向に回転させる。これにより、制御部151は、撮像装置114により第1の入力画像を生成させた後に、第1搬送ローラ112、第2搬送ローラ113、第3搬送ローラ116及び第4搬送ローラ117により媒体を方向A2に搬送させる(ステップS105)。即ち、媒体は、撮像装置114によって、媒体の下端(方向A1の上流端)側から媒体の上端(方向A1の下流端)側へ読み取られるように、撮像装置114の読取面の下を移動する。
On the other hand, when the trailing edge of the medium has passed the
次に、制御部151は、第1搬送ローラ112、第2搬送ローラ113、第3搬送ローラ116及び第4搬送ローラ117により媒体を方向A2に搬送させながら、撮像装置114により第1の入力画像と同じ面を撮像させて第2の入力画像を生成させる。そして、制御部151は、生成された第2の入力画像を撮像装置114から取得する(ステップS106)。即ち、第2の入力画像は、撮像装置114の主走査方向に延伸する媒体の各ラインを、副走査方向の下端から上端に向けて順に撮影した画像である。なお、第1の入力画像及び第2の入力画像における垂直方向の媒体の向きが一致するように、第2の入力画像の各ラインは並べ替えられる。
Next, the
次に、縦筋候補検出部152、除去判定部153及び画像補正部154は、縦筋検出処理を実行する(ステップS107)。縦筋検出処理において、縦筋候補検出部152、除去判定部153及び画像補正部154は、各入力画像から縦筋候補を検出し、除去対象と判定された縦筋候補を補正して補正画像を生成する。縦筋検出処理の詳細については後述する。
Next, the vertical streak
次に、出力制御部155は、入力画像又は補正画像を、第1インタフェース装置131を介して情報処理装置200に送信することにより出力し(ステップS108)、一連のステップを終了する。出力制御部155は、縦筋検出処理において補正画像が生成された場合、補正画像を情報処理装置200へ出力し、縦筋検出処理において補正画像が生成されなかった場合、入力画像を情報処理装置200へ出力する。情報処理装置200は、第2インタフェース装置203を介して補正画像又は入力画像を取得し、取得した画像を第2表示装置201に表示する。
Next, the
なお、第1の入力画像及び第2の入力画像を生成させる方法は、上記の方法に限定されない。例えば、画像読取装置100は、媒体を方向A1に搬送しながら第1の入力画像を生成した後に、媒体を退避口107へ一旦排出し、再度利用者によって媒体を退避口107に挿入させて、媒体を方向A2に搬送しながら第2の入力画像を生成してもよい。
Note that the method of generating the first input image and the second input image is not limited to the above method. For example, after generating the first input image while conveying the medium in direction A1, the
または、画像読取装置100は、媒体を同じ方向に搬送させながら、第1の入力画像と第2の入力画像を生成させてもよい。例えば、画像読取装置100は、媒体を方向A1に搬送しながら第1の入力画像を生成した後に、媒体を退避口107へ一旦排出し、再度利用者によって媒体を挿入口103に挿入させて、媒体を方向A1に搬送しながら第2の入力画像を生成してもよい。
Alternatively, the
または、画像読取装置100には、退避口107から排出された媒体を挿入口103へ搬送する搬送路を設けられてもよい。その場合、画像読取装置100は、媒体を方向A1に搬送しながら第1の入力画像を生成した後に、媒体をその搬送路を介して挿入口103へ戻し、再度方向A1に搬送しながら第2の入力画像を生成する。
Alternatively, the
図7は、図6のステップS107における縦筋検出処理の例を示すフローチャートである。 FIG. 7 is a flowchart showing an example of vertical streak detection processing in step S107 of FIG.
最初に、縦筋候補検出部152は、第1の入力画像及び第2の入力画像からそれぞれ縦筋候補を検出する(ステップS201)。
First, the vertical-stripe
縦筋候補検出部152は、例えば入力画像内の水平ライン毎に各画素の階調値の平均値を算出し、注目画素の階調値と、注目画素が属する水平ラインについて算出された平均値との差の絶対値が所定閾値以上である画素を縦筋候補画素として抽出する。次に、縦筋候補検出部152は、抽出した縦筋候補画素の内、垂直方向に所定数(例えば入力画像の垂直方向の画素数の90%)以上連結する縦筋候補画素を縦筋として検出する。縦筋候補検出部152は、抽出した各縦筋候補画素について、垂直方向に連結するか(隣接する縦筋候補画素が存在するか)否かを判定する。縦筋候補検出部152は、相互に連結する縦筋候補画素を一つのグループとしてまとめ、各グループの垂直方向の画素数が所定数以上である場合に、そのグループを縦筋として検出する。
The vertical streak
図8Aは、第1の入力画像810及び第2の入力画像820の一例を示す模式図である。図8Bは、第1の入力画像830及び第2の入力画像840の他の例を示す模式図である。
FIG. 8A is a schematic diagram showing an example of a
図8Aに示す第1の入力画像810及び第2の入力画像820には、それぞれ媒体811及び媒体821と、縦筋812及び縦筋822とが含まれている。この縦筋812及び縦筋822は、撮像装置114の読取面に紙粉、埃、のり等の異物が付着しており、その異物が撮像装置114によって撮像されることにより発生している。一方、図8Bに示す第1の入力画像830及び第2の入力画像840には、それぞれ媒体831及び媒体841と、縦筋832及び縦筋842とが含まれている。この縦筋832及び縦筋842は、媒体831及び媒体841に最初から記載されている。
A
また、媒体が搬送されるたびに、媒体と各搬送ローラの間でスリップが発生したり、各ギアの係合がずれたりすることにより、搬送路上を媒体が通過する際の幅方向の位置又は傾きに少なからず差異が発生する。そのため、第1の入力画像810及び第2の入力画像820において、媒体811の位置に対して媒体821の位置は変化し、第1の入力画像830及び第2の入力画像840において、媒体831の位置に対して媒体841の位置は変化している。画像読取装置100は、このような僅かなずれを識別できるだけの読取解像度を有している。
In addition, every time the medium is conveyed, a slip occurs between the medium and the conveying rollers, or the gears are disengaged. Not a little difference occurs in the inclination. Therefore, in the
図8Aに示す第1の入力画像810及び第2の入力画像820からは縦筋812及び縦筋822が縦筋候補として検出され、図8Bに示す第1の入力画像830及び第2の入力画像840からは縦筋832及び縦筋842が縦筋候補として検出される。
次に、縦筋候補検出部152は、第1の入力画像及び第2の入力画像からそれぞれ媒体領域を検出する(ステップS202)。
Next, the vertical streak
最初に、縦筋候補検出部152は、入力画像からエッジ画素を抽出する。縦筋候補検出部152は、入力画像内の各画素の水平又は垂直方向の両隣の画素の輝度値の差の絶対値(以下、隣接差分値と称する)を算出し、隣接差分値が第1閾値を越える画素をエッジ画素として抽出する。なお、縦筋候補検出部152は、各画素の水平又は垂直方向の所定距離だけ離れた画素の輝度値の差の絶対値を隣接差分値として算出してもよい。また、縦筋候補検出部152は、各画素の輝度値に代えて、各画素の色値(R値、G値又はB値)を用いて隣接差分値を算出してもよい。また、縦筋候補検出部152は、入力画像の輝度値又は色値を第1閾値と比較することによりエッジ画素を抽出してもよい。例えば、縦筋候補検出部152は、特定の画素の輝度値又は色値が第1閾値未満であり、その特定の画素に隣接する画素又はその特定の画素から所定距離だけ離れた画素の輝度値又は色値が第1閾値以上である場合、その特定の画素をエッジ画素とする。
First, the vertical stripe
次に、縦筋候補検出部152は、抽出したエッジ画素から直線を検出する。縦筋候補検出部152は、ハフ変換を用いて直線を検出する。なお、縦筋候補検出部152は、最小二乗法を用いて直線を検出してもよい。次に、縦筋候補検出部152は、検出した直線から媒体領域を検出する。縦筋候補検出部152は、検出された複数の直線のうち二本ずつが略直交する四本の直線から構成される複数の媒体領域候補を抽出する。そして、縦筋候補検出部152は、抽出した媒体領域候補の内、最も面積が大きい媒体領域候補の外接矩形又は内接矩形を媒体領域として検出する。
Next, the vertical stripe
図8Aに示す第1の入力画像810及び第2の入力画像820からは媒体811及び媒体821が媒体領域として検出され、図8Bに示す第1の入力画像830及び第2の入力画像840からは媒体831及び媒体841が媒体領域として検出される。
A medium 811 and a medium 821 are detected as medium areas from the
次に、除去判定部153は、第1の入力画像内の媒体の上の縦筋候補の位置と、第2の入力画像内の媒体上の縦筋候補の位置とが異なるか否かを判定する(ステップS203)。
Next, the
除去判定部153は、各入力画像から検出された各媒体領域上の各縦筋候補の位置を特定する。例えば、除去判定部153は、各媒体領域の左上角の画素を原点とし、各媒体領域の上端部に相当する直線及び左端部に相当する直線とを座標軸とする座標系における縦筋候補の位置(座標)を特定する。除去判定部153は、第1の入力画像及び第2の入力画像からそれぞれ検出された媒体領域内の縦筋候補の上端位置の差(距離)と、下端位置の差(距離)の合計値を算出する。除去判定部153は、算出した合計値が第2閾値以上である場合、第1の入力画像内の媒体の上の縦筋候補の位置と、第2の入力画像内の媒体上の縦筋候補の位置とが異なると判定する。一方、除去判定部153は、算出した合計値が第2閾値未満である場合、第1の入力画像内の媒体の上の縦筋候補の位置と、第2の入力画像内の媒体上の縦筋候補の位置とが同一であると判定する。
The
なお、除去判定部153は、合計値として、各媒体領域内で各縦筋を縦筋の延伸方向に沿って延伸させたときに、各縦筋が各媒体領域の上端と交わる交点位置の差(距離)と、各縦筋が各媒体領域の下端と交わる交点位置の差(距離)の合計値を算出してもよい。
Note that the
図8Aに示す第1の入力画像810及び第2の入力画像820では、媒体811の位置に対して媒体821の位置が変動しているが、縦筋候補812の位置に対して縦筋候補822の位置は変動していない。したがって、媒体811上の縦筋候補812の位置と、第2の入力画像820内の媒体821上の縦筋候補822の位置とは異なると判定される。一方、図8Bに示す第1の入力画像830及び第2の入力画像840では、媒体831の位置に対して媒体841の位置が変動し、媒体831の位置に対する媒体841の位置の変動にあわせて、縦筋候補832の位置に対する縦筋候補842の位置が変動している。したがって、媒体831上の縦筋候補832の位置と、第2の入力画像840内の媒体841上の縦筋候補842の位置とは同一であると判定される。
In the
このように、除去判定部153は、二つの入力画像内の縦筋候補と媒体の位置関係を比較することにより、縦筋候補が、撮像装置114の読取面に付着した異物によるものであるか、媒体に最初から記載されたものであるかを高精度に判別することができる。
In this way, the
第1の入力画像内の媒体上の縦筋候補の位置と第2の入力画像内の媒体上の縦筋候補の位置とが異なる場合、除去判定部153は、縦筋候補が除去対象であると判定する(ステップS204)。
If the position of the vertical streak candidate on the medium in the first input image is different from the position of the vertical streak candidate on the medium in the second input image, the
次に、画像補正部154は、入力画像内の矩形領域から縦筋を除去するように入力画像を補正した補正画像を生成し(ステップS205)、縦筋検出処理を終了する。
Next, the
画像補正部154は、除去判定部153により除去対象と判定された第1の入力画像及び第2の入力画像の一方の画像内の媒体上の縦筋候補を、他方の画像内の媒体上の対応する位置の画素データで置換して補正する。画像補正部154は、補正対象の入力画像内の縦筋候補に係る画素の画素値を、媒体領域に係る座標系の座標位置がその画素と同一である、他方の入力画像内の画素の画素値に置換する。これにより、画像補正部154は、一方の入力画像に発生した縦筋を、他方の入力画像を用いて完全に除去することができる。
The
なお、補正対象の入力画像内の縦筋候補に係る画素に対応する、他方の入力画像内の画素も縦筋候補に含まれる場合、画像補正部154は、例えば、公知の線形補間技術を利用して、縦筋領域の周辺画素の階調値を用いて縦筋領域を補正してもよい。これにより、画像補正部154は、縦筋の周辺が単調な背景である場合、縦筋を背景に埋没させることができる。
Note that if pixels in the other input image that correspond to pixels related to vertical streak candidates in the input image to be corrected are also included in the vertical streak candidates, the
図8Aに示す画像850は、第2の入力画像820を用いて、第1の入力画像810を補正した補正画像の一例である。補正画像850では、縦筋812が良好に除去されている。
An
一方、第1の入力画像内の媒体上の縦筋候補の位置と第2の入力画像内の媒体上の縦筋候補の位置とが同一である場合、除去判定部153は、縦筋候補が除去対象でないと判定し(ステップS206)、縦筋検出処理を終了する。この場合、画像補正部154は、入力画像を補正しない。
On the other hand, when the position of the vertical streak candidate on the medium in the first input image is the same as the position of the vertical streak candidate on the medium in the second input image,
図8Bに示す例では、第1の入力画像830又は第2の入力画像840のいずれかがそのまま情報処理装置200に送信される。
In the example shown in FIG. 8B, either the
以上のように、画像読取装置100は、同一のイメージセンサを用いて同一媒体の読み取りを2回行い、画像上に検出された縦筋候補の位置が2回の読み取りで互いに異なる場合に、縦筋候補が撮像装置114に付着した異物によるものであると判定する。これにより、画像読取装置100は、入力画像内で除去対象である縦筋を高精度に検出することができる。
As described above, the
また、画像読取装置100は、媒体をスイッチバックさせて同一媒体の読み取りを2回行う。これにより、画像読取装置100は、撮像された媒体を挿入口103側に戻すような搬送路を設けることなく、同一媒体の読み取りを2回行うことが可能となり、装置サイズ又は装置コストが増大することを抑制できる。また、画像読取装置100は、利用者に媒体を2回搬送させることなく、同一媒体の読み取りを2回行うことが可能となり、利用者の利便性を向上させることが可能となる。
Further, the
上述の実施形態は、いずれも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならない。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 The above-described embodiments are merely examples of specific implementations of the present invention, and the technical scope of the present invention should not be construed to be limited by these. That is, the present invention can be embodied in various forms without departing from its technical concept or main features.
例えば、縦筋候補が除去対象であるか否かをより判定しやすくするために、画像読取装置100は、第1の入力画像が生成されてから第2の入力画像が生成されるまでに、撮像装置114の読取面に対する媒体の幅方向の位置又は角度をずらすようにしてもよい。
For example, in order to make it easier to determine whether or not a vertical streak candidate is to be removed, the
図9は、画像読取装置100の全体処理の動作の他の例を示すフローチャートである。図9に示す動作のフローは図6に示す動作のフローに代えて実行される。本実施形態では、第3搬送ローラ116aと第3搬送ローラ116bは、それぞれ独立に回転駆動可能に構成される。図9のステップS301~S304、S306~S309は、それぞれ、図6のステップS101~S104、S105~S108と同様であるため、詳細な説明を省略する。
FIG. 9 is a flow chart showing another example of the operation of the overall processing of the
ステップS305において、媒体ずらし部156は、撮像装置114の読取面に対する媒体の幅方向の位置又は角度をずらす媒体ずらし処理を実行する(ステップS305)。媒体ずらし部156は、例えば第3搬送ローラ116a及び116bの内の一方のみを回転させつつ他方を停止させるように駆動装置121を駆動することにより、媒体ずらし処理を実行する。
In step S305, the
図10A~図10Cは、媒体ずらし処理について説明するための模式図である。 10A to 10C are schematic diagrams for explaining the medium shifting process.
制御部151は、ステップS302において、図10Aに示すように、第1搬送ローラ112a及び112bと、第3搬送ローラ116a及び116bとを全て回転させて媒体Dを方向A1に搬送させる。一方、媒体ずらし部156は、ステップS305において、図10Bに示すように、第3搬送ローラ116a及び116bの内の一方のみを回転させつつ他方を停止させて、媒体Dの位置及び角度をずらす。その後、制御部151は、ステップS306において、図10Cに示すように、第1搬送ローラ112a及び112bと、第3搬送ローラ116a及び116bとを再度全て回転させて媒体Dを方向A1とは反対の方向A2に搬送させる。
In step S302, as shown in FIG. 10A, the
このように、媒体ずらし部156は、第1の入力画像が生成されてから第2の入力画像が生成されるまでに、媒体ずらし処理を実行する。これにより、媒体Dが方向A1に搬送されるときと、媒体Dが方向A2に搬送されるときとで、撮像装置114の読取面に対する媒体Dの幅方向の位置に確実にずれが生じる。この結果、撮像装置114の読取面の汚れ等によって第1の入力画像に生じた縦筋ノイズの位置と、第2の入力画像に生じた縦筋ノイズの位置との間に確実にずれが生じ、除去判定部153は、縦筋候補が除去対象であるか否かをより高精度に判定できる。
In this manner, the
なお、ステップS305において、媒体ずらし部156は、第3搬送ローラ116及び第4搬送ローラ117から離間するまで媒体を搬送させることにより、媒体ずらし処理を実行してもよい。その場合、撮像装置114側が下方に向くように傾斜された排出台が退避口107に設けられる。媒体は、一旦、第3搬送ローラ116及び第4搬送ローラ117から離間して退避口107から排出台に排出され、その後、自重により排出台を滑って、再度、第3搬送ローラ116及び第4搬送ローラ117に挟持される。したがって、ステップS306において、媒体は、撮像装置114に向けて再搬送される。この場合も、媒体が方向A1に搬送されるときと、方向A2に搬送されるときとで、撮像装置114の読取面に対する媒体の幅方向の位置に確実にずれが生じ、除去判定部153は、縦筋候補が除去対象であるか否かをより高精度に判定できる。
In step S<b>305 , the
図11は、更に他の実施形態に係る媒体搬送装置における処理回路400の概略構成を示す図である。処理回路400は、画像読取装置100の第1処理回路160の代わりに使用され、第1CPU150の代わりに、媒体読取処理、縦筋候補検出処理、除去判定処理、画像補正処理及び出力制御処理を実行する。処理回路400は、制御回路401、縦筋候補検出回路402、除去判定回路403、画像補正回路404及び出力制御回路405等を有する。なお、これらの各部は、それぞれ独立した集積回路、マイクロプロセッサ、ファームウェア等で構成されてもよい。
FIG. 11 is a diagram showing a schematic configuration of a
制御回路401は、制御部の一例であり、制御部151と同様の機能を有する。制御回路401は、第1媒体センサ111から第1媒体検出信号を、第2媒体センサ115から第1媒体検出信号を受信し、受信した各信号に基づいて、駆動装置121を駆動する。また、制御回路401は、撮像装置114から入力画像を受信し、縦筋候補検出部152に出力する。
The
縦筋候補検出回路402は、縦筋候補検出部の一例であり、縦筋候補検出部152と同様の機能を有する。縦筋候補検出回路402は、制御回路401から入力画像を受信し、縦筋候補を検出し、検出結果を除去判定回路403に出力する。
The vertical stripe
除去判定回路403は、除去判定部の一例であり、除去判定部153と同様の機能を有する。除去判定回路403は、縦筋候補検出回路402から縦筋候補の検出結果を受信し、縦筋候補が除去対象であるか否かを判定し、判定結果を画像補正回路404に出力する。
The
画像補正回路404は、画像補正部の一例であり、画像補正部154と同様の機能を有する。画像補正回路404は、除去判定回路403から除去対象の判定結果を受信し、入力画像から補正画像を生成し、出力制御回路405に出力する。
The
出力制御回路405は、出力制御部の一例であり、出力制御部155と同様の機能を有する。出力制御回路405は、画像補正回路404から補正画像を受信し、第1インタフェース装置131を介して情報処理装置200に出力する。
The
図12は、さらに他の実施形態に従った情報処理装置200の第2記憶装置210及び第2CPU220の概略構成を示す図である。
FIG. 12 is a diagram showing a schematic configuration of the
本実施形態では、画像読取装置100の代わりに、情報処理装置200が縦筋検出処理を実行する。
In this embodiment, instead of the
図12に示すように、第2記憶装置210には、受信プログラム211、縦筋候補検出プログラム212、除去判定プログラム213、画像補正プログラム214及び出力制御プログラム215等の各プログラムが記憶される。これらの各プログラムは、プロセッサ上で動作するソフトウェアにより実装される機能モジュールである。第2CPU220は、第2記憶装置210に記憶された各プログラムを読み取り、読み取った各プログラムに従って動作する。これにより、第2CPU220は、受信部221、縦筋候補検出部222、除去判定部223、画像補正部224及び出力制御部225として機能する。なお、本実施形態では、画像読取装置100は、縦筋候補検出部152、除去判定部153及び画像補正部154を有さない。
As shown in FIG. 12, the
図13は、情報処理装置200の縦筋検出処理の動作の例を示すフローチャートである。以下、図13に示したフローチャートを参照しつつ、情報処理装置200の縦筋検出処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め第2記憶装置210に記憶されているプログラムに基づき主に第2CPU220により情報処理装置200の各要素と協働して実行される。
FIG. 13 is a flow chart showing an example of the operation of the vertical streak detection process of the
本実施形態では、図6に示す画像読取装置100の全体処理において、ステップS107の縦筋検出処理は省略される。また、ステップS108において、出力制御部155は、第1の入力画像及び第2の入力画像を、第1インタフェース装置131を介して情報処理装置200に送信する。
In this embodiment, the vertical streak detection process in step S107 is omitted in the overall process of the
まず、受信部221は、第2インタフェース装置203を介して画像読取装置100から第1の入力画像及び第2の入力画像を受信する(ステップS401)。ステップS402~S407の処理は、図7のステップS201~S206の処理と同様である。但し、ステップS402~S403の処理は、縦筋候補検出部222により実行され、ステップS404~S405、S407の処理は、除去判定部223により実行され、ステップS406の処理は、画像補正部224により実行される。
First, the receiving
ステップS408において、出力制御部225は、入力画像又は補正画像を第2表示装置201に表示することにより出力し(ステップS408)、縦筋検出処理を終了する。なお、出力制御部225は、入力画像又は補正画像を、第2インタフェース装置203を介して不図示のサーバ等に送信することにより出力してもよい。
In step S408, the
本実施形態に従った画像処理システムも、上記した各効果と同様の効果を奏することができる。 The image processing system according to this embodiment can also achieve the same effects as the above-described effects.
図14は、さらに他の実施形態に従った第2処理回路500の概略構成を示すブロック図である。
FIG. 14 is a block diagram showing a schematic configuration of a
第2処理回路500は、情報処理装置200の第2処理回路230の代わりに使用され、第2CPU220の代わりに、縦筋検出処理等を実行する。第2処理回路500は、受信回路501、縦筋候補検出回路502、除去判定回路503、画像補正回路504及び出力制御回路505等を有する。なお、これらの各部は、それぞれ独立した集積回路、マイクロプロセッサ、ファームウェア等で構成されてもよい。
The
受信回路501は、受信部の一例であり、受信部221と同様の機能を有する。縦筋候補検出回路502は、縦筋候補検出部の一例であり、縦筋候補検出部222と同様の機能を有する。除去判定回路503は、除去判定部の一例であり、除去判定部223と同様の機能を有する。画像補正回路504は、画像補正部の一例であり、画像補正部224と同様の機能を有する。出力制御回路505は、出力制御部の一例であり、出力制御部225と同様の機能を有する。
The
本実施形態に従った画像処理システムも、上記した各効果と同様の効果を奏することができる。 The image processing system according to this embodiment can also achieve the same effects as the above-described effects.
なお、画像読取装置及び情報処理装置の各部を画像読取装置と情報処理装置の何れに配置するかは適宜変更可能である。また、クラウドコンピューティングの形態で画像処理のサービスを提供できるように、ネットワーク上に複数の情報処理装置を分散して配置し、各情報処理装置が協働して、各処理を分担してもよい。 It should be noted that it is possible to appropriately change in which of the image reading device and the information processing device each part of the image reading device and the information processing device is arranged. Also, in order to provide image processing services in the form of cloud computing, a plurality of information processing devices may be distributed over a network, and each information processing device may work together to share each process. good.
1 画像処理システム、100 画像読取装置、112 第1搬送ローラ、113 第2搬送ローラ、114 撮像装置、116 第3搬送ローラ、117 第4搬送ローラ、131 第1インタフェース装置、151 制御部、152 縦筋候補検出部、153 除去判定部、154 画像補正部、155 出力制御部、156 媒体ずらし部、200 情報処理装置。
1
Claims (7)
前記搬送部により搬送される媒体を撮像して、入力画像を生成する撮像部と、
前記搬送部により媒体を搬送させながら、前記撮像部により第1の入力画像を生成させた後に、前記搬送部により再度媒体を搬送させながら、前記撮像部により前記第1の入力画像と同じ面を撮像させて第2の入力画像を生成させる制御部と、
前記第1の入力画像及び前記第2の入力画像からそれぞれ縦筋候補を検出する縦筋候補検出部と、
前記第1の入力画像内の媒体の相互に直交する端部を基準にした座標系における前記縦筋候補の位置と前記第2の入力画像内の媒体の相互に直交する端部を基準にした座標系における前記縦筋候補の位置とが異なる場合に、前記縦筋候補が除去対象であると判定する除去判定部と、
を有することを特徴とする画像読取装置。 a transport unit that transports the medium;
an imaging unit that captures an image of the medium conveyed by the conveying unit and generates an input image;
After the first input image is generated by the imaging unit while the medium is transported by the transport unit, the same surface as the first input image is captured by the imaging unit while the medium is transported again by the transport unit. a control unit that captures and generates a second input image;
a vertical-stripe candidate detection unit that detects vertical-stripe candidates from each of the first input image and the second input image;
Positions of the vertical stripe candidates in a coordinate system based on mutually orthogonal edges of the medium in the first input image and mutually orthogonal edges of the medium in the second input image a removal determination unit that determines that the vertical stripe candidate is to be removed when the position of the vertical stripe candidate is different from the position of the vertical stripe candidate in a coordinate system ;
An image reading device comprising:
請求項1に記載の画像読取装置。 The control unit causes the medium to be conveyed in the first direction by the conveying unit, causes the imaging unit to generate the first input image, and then conveys the medium in the first direction again by the conveying unit. Generate the second input image by imaging the same surface as the first input image by the imaging unit while conveying in the opposite second direction;
The image reading device according to claim 1.
請求項1又は2に記載の画像読取装置。 The vertical streak candidate on the medium in one of the first input image and the second input image that has been determined to be removed by the removal determining unit is moved to a corresponding position on the medium in the other image. further comprising an image correction unit that replaces and corrects with the pixel data of
The image reading device according to claim 1 or 2.
請求項1~3のいずれか一項に記載の画像読取装置。 Further comprising a medium shifting unit that shifts the position or angle of the medium in the width direction with respect to the reading surface of the imaging unit from the generation of the first input image to the generation of the second input image,
The image reading device according to any one of claims 1 to 3.
前記画像読取装置は、
媒体を搬送する搬送部と、
前記搬送部により搬送される媒体を撮像して、入力画像を生成する撮像部と、
前記搬送部により媒体を搬送させながら、前記撮像部により第1の入力画像を生成させた後に、前記搬送部により再度媒体を搬送させながら、前記撮像部により前記第1の入力画像と同じ面を撮像させて第2の入力画像を生成させる制御部と、
を有し、
前記情報処理装置は、
前記第1の入力画像及び前記第2の入力画像からそれぞれ縦筋候補を検出する縦筋候補検出部と、
前記第1の入力画像内の媒体の相互に直交する端部を基準にした座標系における前記縦筋候補の位置と前記第2の入力画像内の媒体の相互に直交する端部を基準にした座標系における前記縦筋候補の位置とが異なる場合に、前記縦筋候補が除去対象であると判定する除去判定部と、
を有することを特徴とする画像処理システム。 An image processing system having an image reading device and an information processing device,
The image reading device is
a transport unit that transports the medium;
an imaging unit that captures an image of the medium conveyed by the conveying unit and generates an input image;
After the first input image is generated by the image pickup unit while the medium is conveyed by the conveyance unit, the same surface as the first input image is captured by the image pickup unit while the medium is conveyed again by the conveyance unit. a control unit that captures and generates a second input image;
has
The information processing device is
a vertical-stripe candidate detection unit that detects vertical-stripe candidates from each of the first input image and the second input image;
Positions of the vertical stripe candidates in a coordinate system based on the mutually orthogonal edges of the medium in the first input image and based on mutually orthogonal edges of the medium in the second input image a removal determination unit that determines that the vertical stripe candidate is to be removed when the position of the vertical stripe candidate is different from the position of the vertical stripe candidate in a coordinate system ;
An image processing system comprising:
前記搬送部により媒体を搬送させながら、前記撮像部により第1の入力画像を生成させた後に、前記搬送部により再度媒体を搬送させながら、前記撮像部により前記第1の入力画像と同じ面を撮像させて第2の入力画像を生成させ、
前記第1の入力画像及び前記第2の入力画像からそれぞれ縦筋候補を検出し、
前記第1の入力画像内の媒体の相互に直交する端部を基準にした座標系における前記縦筋候補の位置と前記第2の入力画像内の媒体の相互に直交する端部を基準にした座標系における前記縦筋候補の位置とが異なる場合に、前記縦筋候補が除去対象であると判定する、
ことを特徴とする制御方法。 A control method for an image reading device having a transport unit that transports a medium and an imaging unit that captures an image of the medium transported by the transport unit and generates an input image,
After the first input image is generated by the imaging unit while the medium is transported by the transport unit, the same surface as the first input image is captured by the imaging unit while the medium is transported again by the transport unit. imaging to generate a second input image;
detecting vertical stripe candidates from the first input image and the second input image;
Positions of the vertical stripe candidates in a coordinate system based on the mutually orthogonal edges of the medium in the first input image and based on mutually orthogonal edges of the medium in the second input image determining that the vertical-stripe candidate is to be removed if the position of the vertical-stripe candidate differs from the position of the vertical-stripe candidate in a coordinate system ;
A control method characterized by:
前記搬送部により媒体を搬送させながら、前記撮像部により第1の入力画像を生成させた後に、前記搬送部により再度媒体を搬送させながら、前記撮像部により前記第1の入力画像と同じ面を撮像させて第2の入力画像を生成させ、
前記第1の入力画像及び前記第2の入力画像からそれぞれ縦筋候補を検出し、
前記第1の入力画像内の媒体の相互に直交する端部を基準にした座標系における前記縦筋候補の位置と前記第2の入力画像内の媒体の相互に直交する端部を基準にした座標系における前記縦筋候補の位置とが異なる場合に、前記縦筋候補が除去対象であると判定する、
ことを前記画像読取装置に実行させることを特徴とする制御プログラム。 A control program for an image reading device having a transport unit that transports a medium and an imaging unit that captures an image of the medium transported by the transport unit and generates an input image,
After the first input image is generated by the imaging unit while the medium is transported by the transport unit, the same surface as the first input image is captured by the imaging unit while the medium is transported again by the transport unit. imaging to generate a second input image;
detecting vertical stripe candidates from the first input image and the second input image;
Positions of the vertical stripe candidates in a coordinate system based on mutually orthogonal edges of the medium in the first input image and mutually orthogonal edges of the medium in the second input image determining that the vertical-stripe candidate is to be removed if the position of the vertical-stripe candidate differs from the position of the vertical-stripe candidate in a coordinate system ;
A control program that causes the image reading device to execute:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019053577A JP7141973B2 (en) | 2019-03-20 | 2019-03-20 | Image reading device, image processing system, control method and control program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019053577A JP7141973B2 (en) | 2019-03-20 | 2019-03-20 | Image reading device, image processing system, control method and control program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2020155970A JP2020155970A (en) | 2020-09-24 |
| JP7141973B2 true JP7141973B2 (en) | 2022-09-26 |
Family
ID=72559940
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019053577A Active JP7141973B2 (en) | 2019-03-20 | 2019-03-20 | Image reading device, image processing system, control method and control program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7141973B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012044370A (en) | 2010-08-17 | 2012-03-01 | Canon Inc | Image reader, image reader control method, and program |
| JP2013172306A (en) | 2012-02-21 | 2013-09-02 | Nec Access Technica Ltd | Document reading-device and document reading-method |
-
2019
- 2019-03-20 JP JP2019053577A patent/JP7141973B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012044370A (en) | 2010-08-17 | 2012-03-01 | Canon Inc | Image reader, image reader control method, and program |
| JP2013172306A (en) | 2012-02-21 | 2013-09-02 | Nec Access Technica Ltd | Document reading-device and document reading-method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2020155970A (en) | 2020-09-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11102364B2 (en) | Inclination detecting device, reading device, image processing apparatus, and method of detecting inclination | |
| JP7633366B2 (en) | DOUBLE FEED DETECTION DEVICE, CONTROL METHOD, AND CONTROL PROGRAM | |
| US10230867B2 (en) | Image processing apparatus, rectangle region detection method, and computer-readable, non-transitory medium | |
| JP2009267652A (en) | Image processing apparatus, image reading apparatus, and image processing method | |
| JP7333733B2 (en) | MEDIUM CONVEYING DEVICE, CONTROL METHOD AND CONTROL PROGRAM | |
| US20150215493A1 (en) | Image processing apparatus, image processing method, and computer-readable, non-transitory medium | |
| JP7141973B2 (en) | Image reading device, image processing system, control method and control program | |
| JP7104650B2 (en) | Image reader, image processing system, control method and control program | |
| US9628666B2 (en) | Image processing device generating combined imaged data by using first image data and second image data | |
| JP6953372B2 (en) | Image processing device, control method and control program | |
| JP7399329B2 (en) | Image forming apparatus, image forming system, image forming method, and control program | |
| JP2021042068A (en) | Medium conveyance device, control method and control program | |
| JP7565712B2 (en) | MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM | |
| JP2009284190A (en) | Image reading apparatus and image reading system | |
| US11050890B1 (en) | Medium conveying apparatus for determining conveyance abnormality based on images acquired by changing backing member | |
| JP6905393B2 (en) | Image reader | |
| US10097722B1 (en) | Image reading apparatus | |
| JP7827449B2 (en) | Image processing device, control method, and control program | |
| US11856170B2 (en) | Medium carrying device, control method, and control program | |
| JP7478627B2 (en) | MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM | |
| US20220116509A1 (en) | Image reading apparatus for detecting end portion of front end or rear end of medium | |
| JP2022126440A (en) | Medium conveyance device, control method and control program | |
| JP2010245688A (en) | Document reader | |
| JP2021011329A (en) | Image reader, 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: 20210916 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220606 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220705 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220805 |
|
| 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: 20220823 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220912 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7141973 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |