JP2019216306A - Reading device - Google Patents

Reading device Download PDF

Info

Publication number
JP2019216306A
JP2019216306A JP2018111134A JP2018111134A JP2019216306A JP 2019216306 A JP2019216306 A JP 2019216306A JP 2018111134 A JP2018111134 A JP 2018111134A JP 2018111134 A JP2018111134 A JP 2018111134A JP 2019216306 A JP2019216306 A JP 2019216306A
Authority
JP
Japan
Prior art keywords
reading
image
data
image data
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018111134A
Other languages
Japanese (ja)
Inventor
清水 淳史
Atsushi Shimizu
淳史 清水
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2018111134A priority Critical patent/JP2019216306A/en
Publication of JP2019216306A publication Critical patent/JP2019216306A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Abstract

To provide a reading device capable of reducing a time required for a reading operation when read data of an image of a sheet to be read coincides with stored image data.SOLUTION: The reading device includes: reading means for reading an image of a sheet; generating means for generating the read data from the image during the reading operation; discriminating means for discriminating the kind of the image from the read data; first storing means for storing the relation between the kind of the image and its characteristic area; second storage means for storing image data; and comparison means for comparing the read data with the image data. The discrimination means discriminates the kind of the image from the read data being generated by the generating means. The comparing means compares a part of the characteristic area of the read data with a part of the characteristic area of the image data. The reading means stops the reading operation when both of the parts coincide as a result of the comparison.SELECTED DRAWING: Figure 3

Description

本発明は、読取装置に関する。   The present invention relates to a reading device.

複写機やドキュメントスキャナのような事務機器に搭載される、いわゆるシートスルータイプの読取装置が知られている。この読取装置は、複数枚の用紙を連続に読取動作を行うことができ、また、搬送方向を長尺な用紙の長手方向とすることでその長さに関わらず読取動作を行うことできるという利点を有する。これに伴い、この読取装置は、読み取ったデータを画像データとして記憶することができる。
しかしながら、読取装置の読取部に比較的大量の用紙をセットして読取動作を行うと、用紙の欠落や読取済みの用紙に対する再度の読み取りの問題が生じる場合がある。
特許文献1には、上記問題を解決するために、用紙の原稿に含まれるコンテンツを認識したうえで、認識したコンテンツに関するデータと、すでに記憶装置に記憶されている原稿の元データと比較して、原稿の不整合の検出を行う方法が提案されている。
2. Description of the Related Art A so-called sheet-through type reading device mounted on office equipment such as a copying machine or a document scanner is known. This reading device can perform a reading operation on a plurality of sheets continuously, and can perform a reading operation regardless of the length by setting the transport direction to the longitudinal direction of a long sheet. Having. Along with this, the reading device can store the read data as image data.
However, when a relatively large amount of paper is set in the reading unit of the reading device and the reading operation is performed, there is a case where the paper is missing or a problem of rereading the read paper may occur.
In order to solve the above-mentioned problem, Japanese Patent Application Laid-Open No. H11-150572 discloses a method of recognizing a content included in a paper document and comparing data regarding the recognized content with original data of the document already stored in a storage device. There has been proposed a method for detecting a mismatch of a document.

特開2014−11553号公報JP 2014-11553 A

特許文献1の上記提案によれば、読取部にセットされたすべての用紙の読取動作を行った後に、読み取って認識したコンテンツに関するデータと、保存装置に保存されている元データとの比較を行う。そのため、上記提案の場合、読取部にセットされたすべての用紙の読取動作が行われた後でなければ、原稿の不整合の検出ができない。
特に、近年では、シートスルータイプで最大幅が60インチ(約1.5メートル)の用紙の読取動作が可能な、大型の読取装置が存在する。このような大型の読取装置を用いて比較的長く且つ比較的幅が広い用紙に対する読取動作を行う場合、用紙の面積が大きいほど画像処理に要する時間が長くなる。そのため、大型の読取装置の場合、読取動作の開始から原稿の不整合の検出までの時間が長くなる。
According to the above-mentioned proposal of Patent Literature 1, after performing the reading operation of all the sheets set in the reading unit, the data related to the content read and recognized is compared with the original data stored in the storage device. . For this reason, in the case of the above proposal, the inconsistency of the document cannot be detected until all the sheets set in the reading unit have been read.
In particular, in recent years, there is a large-sized reading apparatus capable of reading a sheet of a sheet-through type having a maximum width of 60 inches (about 1.5 meters). When a reading operation is performed on a relatively long and relatively wide sheet using such a large-sized reading device, the time required for image processing increases as the area of the sheet increases. Therefore, in the case of a large-sized reading device, the time from the start of the reading operation to the detection of the mismatch of the document becomes long.

本発明は、読み取る用紙の画像の読取データが保存済みの画像データに一致する場合に読取動作に要する時間を削減できる読取装置の提供を目的とする。   An object of the present invention is to provide a reading apparatus that can reduce the time required for a reading operation when read data of an image on a sheet to be read matches stored image data.

本発明の読取装置は、用紙に対し相対移動しながら用紙の画像を読み取る読取手段と、前記読取手段の読取動作中に、前記読取手段が読み取る画像から読取データを生成する生成手段と、前記読取データから画像の種類を判別する判別手段と、画像の種類と、用紙における画像の特徴となる特徴領域との関係を保存している第1保存手段と、画像データを保存する第2保存手段と、前記読取データと、前記画像データとを比較する比較手段と、を備え、前記判別手段は、前記生成手段が生成中の前記読取データから読取動作中の用紙の画像の種類を判別し、前記比較手段は、前記関係、前記画像データ及び前記生成手段が生成中の前記読取データを用いて、前記読取データにおける前記特徴領域の部分と、前記画像データにおける前記特徴領域の部分との比較をし、前記読取手段は、前記比較の結果として両部分が一致する場合、読取動作を停止することを特徴とする。   The reading device according to the present invention includes a reading unit that reads an image on a sheet while moving relative to the sheet; a generating unit that generates read data from an image read by the reading unit during a reading operation of the reading unit; Determining means for determining the type of the image from the data, first storing means for storing a relationship between the type of the image and a characteristic region which is a characteristic of the image on the sheet, and second storing means for storing the image data The read data, and a comparing means for comparing the image data, the determining means determines the type of image of the paper being read from the read data being generated by the generating means, The comparison unit uses the relationship, the image data, and the read data being generated by the generation unit to determine a portion of the characteristic region in the read data and the characteristic region in the image data. The comparison of the portion of said reading means, when both parts are identical as a result of said comparison, characterized in that it stops the read operation.

本発明の読取装置は、読み取る用紙の画像の読取データが保存済みの画像データに一致する場合に読取動作に要する時間を削減できる。   The reading device of the present invention can reduce the time required for the reading operation when the read data of the image on the paper to be read matches the stored image data.

読取装置の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a reading device. 読取装置が用紙の読取動作を行っている状態の斜視図である。FIG. 4 is a perspective view illustrating a state in which the reading device is performing a sheet reading operation. 読取動作時のデータ処理についてのフローチャートである。9 is a flowchart illustrating data processing during a reading operation. 読取動作時のデータ処理で用いられる画像の種類を判別するテーブルである。9 is a table for determining a type of an image used in data processing during a reading operation. 読取動作時のデータ処理で用いられる特徴領域のテーブルである。5 is a table of characteristic regions used in data processing during a reading operation. 図3のフローチャートのS3090で行う処理についてのフローチャートである。4 is a flowchart of a process performed in S3090 of the flowchart of FIG. 読取装置が他の用紙の読取動作を行っている状態の斜視図である。FIG. 9 is a perspective view illustrating a state in which the reading device is performing a reading operation of another sheet. 読取装置が備えるUIの表示の一例である。It is an example of a display of a UI provided in the reading device.

以下、本発明の実施の形態(以下、本実施形態という。)の読取装置100(コンピュータの一例)について図面を参照して説明する。本実施形態の読取装置100は、一般的に、ADF(Auto Dоcument Feeder)と呼ばれる装置である。
図1は、本実施形態の読取装置100の構成を示すブロック図である。
読取装置100は、CPU1000と、HDD1010と、ROM1040と、RAM1050と、NVRAM1060と、スキャナユニット1100とを備えている。さらに、読取装置100は、コントローラ1200と、ネットワークドライバ1210と、UI1300と、LANユニット1310とを備えている。
ここで、CPUは、Central Processing Unitの略語で中央演算処理装置を意味する。HDDは、Hard Disk Driveの略語でハードディスクドライブを意味する。ROMは、Read Only Memoryの略語で読み出し専用のメモリを意味する。RAMは、Randоm Access Memoryの略語で書き込み可能のメモリを意味する。NVRAMは、Non−vоlatile Memoryの略語で不揮発性メモリを意味する。UIは、User Interfaceの略語で、本実施形態では読取装置100と操作者との間で情報のやりとりをするためのインターフェースを意味する。
Hereinafter, a reading device 100 (an example of a computer) according to an embodiment of the present invention (hereinafter, referred to as the present embodiment) will be described with reference to the drawings. The reading apparatus 100 of the present embodiment is an apparatus generally called an ADF (Auto Document Feeder).
FIG. 1 is a block diagram illustrating a configuration of the reading device 100 according to the present embodiment.
The reading device 100 includes a CPU 1000, an HDD 1010, a ROM 1040, a RAM 1050, an NVRAM 1060, and a scanner unit 1100. Further, the reading device 100 includes a controller 1200, a network driver 1210, a UI 1300, and a LAN unit 1310.
Here, the CPU is an abbreviation of Central Processing Unit and means a central processing unit. HDD is an abbreviation of Hard Disk Drive, which means a hard disk drive. ROM is an abbreviation of Read Only Memory and means a read-only memory. The RAM is an abbreviation of Random Access Memory and means a writable memory. NVRAM is an abbreviation of Non-volatile Memory and means a non-volatile memory. UI is an abbreviation of User Interface, and in the present embodiment, means an interface for exchanging information between the reading device 100 and an operator.

スキャナユニット1100(生成手段の一例)は、CPU1000によってスキャナユニット1100を駆動させて、用紙2100の画像を読み取って読取データを生成する。
ROM1040は、読取装置100の制御実行コード1040A(プログラム1040A)を備えている。RAM1050は、読取装置100の制御動作において、用紙2100の画像の読取動作後の読取データや読み取り直後の画像データを一時保存として蓄える。NVRAM1060(第1保存手段の一例)は、読取装置100の保守に必要な各種データや読み取った画像の種類や特徴に関する情報を保存する。
HDD1010(第2保存手段の一例)は、スキャナユニット1100による用紙2100の画像の読み取り完了後に、読取データを画像データとして保存する。
CPU1000(比較手段の一例)は、HDD1010に保存されている(複数の)画像データを読み出して、読取データと、読み出した画像データとを比較する。また、CPU1000(判別手段の一例)は、ROM1040又はNVRAM1060に予め保存されている、画像の種類を判別するテーブル(図4参照)と、後述する読取センサ2050とから、画像の種類を判別する。なお、CPU1000は、ROM1040に備えられている制御実行コード1040Aに従い、上記の制御を行う。
The scanner unit 1100 (an example of a generating unit) drives the scanner unit 1100 by the CPU 1000 to read an image on the sheet 2100 and generate read data.
The ROM 1040 includes a control execution code 1040A (program 1040A) for the reading device 100. In the control operation of the reading device 100, the RAM 1050 temporarily stores the read data after the image of the sheet 2100 is read and the image data immediately after the reading. The NVRAM 1060 (an example of a first storage unit) stores various data necessary for maintenance of the reading device 100 and information on the type and characteristics of the read image.
The HDD 1010 (an example of a second storage unit) stores the read data as image data after the scanner unit 1100 completes reading the image on the sheet 2100.
The CPU 1000 (an example of a comparison unit) reads out (a plurality of) image data stored in the HDD 1010 and compares the read data with the read image data. Further, the CPU 1000 (an example of a determination unit) determines the type of the image from a table (see FIG. 4) for determining the type of the image, which is stored in advance in the ROM 1040 or the NVRAM 1060, and a reading sensor 2050 described later. Note that the CPU 1000 performs the above control according to the control execution code 1040A provided in the ROM 1040.

UI1300は、LCD、LED、キー、タッチパネル等を有する表示部及び操作部である。読取装置100の各機能の実行操作、設定等は、操作者がUI1300を用いて行う。CPU1000は、コントローラ1200を介して、表示部に表示する表示内容の制御を行う。
LANユニット1310は、外部機器(不図示)とのインターフェースやネットワークを介して、読取装置100と、サーバーとを接続するためのユニットである。LANユニット1310は、ネットワークドライバ1210を介して外部接続機器やサーバーと実行命令やデータのやり取りを行う。LANユニット1310は、例えば、画像データをネットワーク上のハードディスクに保存する場合や読取データと比較するためにネットワーク上のハードディスクの画像データを読込む際に接続される。
The UI 1300 is a display unit having a LCD, an LED, keys, a touch panel, and the like, and an operation unit. An operator performs an operation, setting, and the like of each function of the reading apparatus 100 by using the UI 1300. The CPU 1000 controls display contents to be displayed on the display unit via the controller 1200.
The LAN unit 1310 is a unit for connecting the reading device 100 and a server via an interface with an external device (not shown) or a network. The LAN unit 1310 exchanges execution instructions and data with externally connected devices and servers via the network driver 1210. The LAN unit 1310 is connected, for example, when saving image data to a hard disk on a network or when reading image data from a hard disk on a network to compare with read data.

図2は、本実施形態の読取装置100が用紙2100の読取動作を行っている状態の斜視図である。読取装置100は、その天面の上部に用紙2100の給紙口2020及びUI1300を有し、その側面の下部に用紙2100の排紙口2040を有する。本実施形態では、給紙口2020及び排紙口2040は、幅が比較的広い用紙(例えば44インチ(約1.1メートル)、60インチ(約1.5メートル)等の用紙)が通過できるような幅を有している。給紙口2020の両端には、用紙2100をその幅方向の両端から押さえる一対の原稿押え2030が設けられている。各原稿押さえは、給紙口2020の幅方向の中央部を中心として、その幅方向の両側に対称に移動可能とされている。一対の原稿押さえ2030は、押さえた用紙2100が給紙口2020及び排紙口2040の幅方向に対して斜めに搬送されることを防止する。なお、各原稿押さえ2030の位置を給紙口2020の内部に備えた位置検出センサ(不図示)を用いて検知して用紙2100の幅を算出するのに使用してもよい。   FIG. 2 is a perspective view illustrating a state in which the reading device 100 of the present embodiment is performing a reading operation of the sheet 2100. The reading device 100 has a paper feed port 2020 and a UI 1300 for the paper 2100 at the top of the top surface, and has a paper discharge port 2040 for the paper 2100 at the bottom of the side surface. In the present embodiment, the paper feed port 2020 and the paper discharge port 2040 can pass a relatively wide sheet (for example, a sheet of 44 inches (about 1.1 meters), 60 inches (about 1.5 meters), or the like). It has such a width. At both ends of the paper feed port 2020, a pair of document pressers 2030 that press the paper 2100 from both ends in the width direction are provided. Each document holder can be symmetrically moved on both sides in the width direction with the center in the width direction of the paper feed port 2020 as a center. The pair of document pressers 2030 prevent the pressed paper 2100 from being conveyed obliquely with respect to the width direction of the paper feed port 2020 and the paper discharge port 2040. Note that the position of each document holder 2030 may be detected using a position detection sensor (not shown) provided inside the paper feed port 2020 and used to calculate the width of the sheet 2100.

給紙口2020と排紙口2040との間には、用紙2100の画像を光学的に読み取るための読取センサ2050(読取手段の他の一例)が備えられている。一般的な読取センサにはCIS(Contact Image Sensor)やCCD(Charge Coupled Devices)と呼ばれるものがあり、それぞれ、主走査方向に並んだ単数又は複数のセンサチップ(不図示)で構成されている。本実施形態の読取センサ2050は、給紙口2020に給紙可能な最大の用紙幅の用紙2100を読取可能なライン型のセンサとされている。なお、ライン型のセンサは、1本で構成される長い幅のセンサであっても、用紙2100の幅方向に隙間無しに複数の短い幅のセンサを跨らせた構成のセンサであってもよい。   A reading sensor 2050 (another example of a reading unit) for optically reading an image of the sheet 2100 is provided between the sheet feeding port 2020 and the sheet discharging port 2040. Common reading sensors include a so-called CIS (Contact Image Sensor) and a CCD (Charge Coupled Devices), each of which is composed of one or more sensor chips (not shown) arranged in the main scanning direction. The reading sensor 2050 of the present embodiment is a line-type sensor that can read a sheet 2100 having the largest sheet width that can be fed to the sheet feeding port 2020. Note that the line-type sensor may be a long sensor composed of one sensor, or a sensor having a configuration in which a plurality of short sensors are straddled in the width direction of the paper 2100 without a gap. Good.

図3は、本実施形態の読取動作時のデータ処理についてのフローチャートである。以下、本データ処理について説明する。本データ処理は、用紙2100の読取開始(S3000)から終了までの間において、後述するS3150で肯定判断がなされた場合を除き、用紙2100の搬送は停止されずに、読取センサ2050による用紙2100の画像の読み取りが継続される。
本データ処理は、用紙2100が給紙口2020にセットされ、操作者がUI1300の操作部を操作して用紙2100の画像の読取動作をする指示をし、コントローラ1200が当該指示を検知すると、その実行が開始される(S3000)。ここで、読取装置100に用紙2100がセットされると、給紙口2020の幅方向の中央側の内部に備えられた用紙検知センサ(不図示)が用紙2100によって遮へいされる。これに伴い、用紙2100が読取装置100にセットされたことは、この用紙検知センサにより検知される。
FIG. 3 is a flowchart illustrating data processing during a reading operation according to the present embodiment. Hereinafter, the data processing will be described. This data processing is performed between the start of reading of the sheet 2100 (S3000) and the end, and the conveyance of the sheet 2100 is not stopped by the reading sensor 2050 unless the affirmative determination is made in S3150 described later. Image reading is continued.
In this data processing, when the sheet 2100 is set in the paper feed port 2020, the operator operates the operation unit of the UI 1300 to issue an instruction to read an image on the sheet 2100, and when the controller 1200 detects the instruction, the controller 1200 detects the instruction. Execution is started (S3000). Here, when the sheet 2100 is set in the reading apparatus 100, a sheet detection sensor (not shown) provided inside the sheet feeding port 2020 on the center side in the width direction is shielded by the sheet 2100. Accordingly, the fact that the sheet 2100 is set in the reading device 100 is detected by the sheet detection sensor.

次いで、用紙2100の画像の読取データについて比較対象となる画像データがHDD1010から読み込まれる(S3020)。S3020は、S3010と並行して行われてもよい。なお、画像データが保存されているHDD1010が読取装置100と接続されたネットワーク上のHDDである場合、ネットワークドライバ1210、LANユニット1310を介して、当該HDDがネットワークに接続される。ネットワークの接続後に、当該HDDが読取装置100に接続されて画像データが読み込まれるようにしてもよい。   Next, image data to be compared with the read data of the image on the sheet 2100 is read from the HDD 1010 (S3020). S3020 may be performed in parallel with S3010. If the HDD 1010 storing the image data is an HDD on the network connected to the reading device 100, the HDD is connected to the network via the network driver 1210 and the LAN unit 1310. After the connection to the network, the HDD may be connected to the reading device 100 to read the image data.

次いで、読取装置100に備えられた用紙搬送用のモーター(不図示)が駆動され、読取センサの発光が開始される(S3010)。S3030は、S3020と並行して行われてもよい。以下の説明では、給紙口2020から排紙口2040に向く方向を、用紙2100の搬送方向とする。これに伴い、給紙口2020から排紙口2040に向けて用紙2100が搬送されながら、搬送方向に搬送中の用紙2100の画像は読取センサ2050により光学的に読み取られる(S3030)。この場合、読み取られた画像は、RGB値の列に変換され、RAM1050における所定の領域に画像データとして逐次蓄えられる(保存される)。用紙2100の画像の読取動作において、用紙2100の搬送方向への搬送や読取センサ2050の発光は、特定の条件を検出した場合や操作者がUI1300の操作部を操作して停止指示をしない限り続行される。   Next, a paper transport motor (not shown) provided in the reading device 100 is driven, and light emission of the reading sensor is started (S3010). S3030 may be performed in parallel with S3020. In the following description, the direction from the paper feed port 2020 to the paper discharge port 2040 is defined as the transport direction of the paper 2100. Accordingly, while the paper 2100 is being conveyed from the paper feed port 2020 to the paper discharge port 2040, the image of the paper 2100 being conveyed in the conveyance direction is optically read by the reading sensor 2050 (S3030). In this case, the read image is converted into a row of RGB values, and is sequentially stored (saved) as image data in a predetermined area in the RAM 1050. In the reading operation of the image of the sheet 2100, the conveyance of the sheet 2100 in the conveyance direction and the emission of the reading sensor 2050 continue unless a specific condition is detected or the operator operates the operation unit of the UI 1300 to issue a stop instruction. Is done.

以降も、読取センサ2050により用紙2100の画像の読み取りが行われると同時に、HDD1010から比較対象とする画像データの読み込みも行われる。ここで、例えば、幅が比較的広い用紙2100の場合、用紙2100の画像の読み取り時の搬送精度の向上のため搬送速度を遅くすることや読取データの処理時間が比較的長いことから、読み取り動作にはその分の時間を要する。そこで、S3010やS3030と並行して比較対象とする画像データの読み込み(S3020)が行われ、読み込まれた画像データがRAM1050における所定の領域に蓄えられることで、読取データの処理時間を短くすることができる。この場合、比較対象が複数の画像データである場合には、RAM1050が使用可能な領域がある限り複数の画像データの読みこみが行われ、読み込まれた画像データがRAM1050における所定の領域に蓄えられる。   Thereafter, the image of the sheet 2100 is read by the reading sensor 2050, and at the same time, the image data to be compared is read from the HDD 1010. Here, for example, in the case of the paper 2100 having a relatively wide width, the reading operation is performed because the transport speed is reduced to improve the transport accuracy when reading the image of the paper 2100 and the processing time of the read data is relatively long. Takes that much time. Therefore, image data to be compared is read (S3020) in parallel with S3010 and S3030, and the read image data is stored in a predetermined area in the RAM 1050, thereby shortening the processing time of the read data. Can be. In this case, if the comparison target is a plurality of image data, reading of the plurality of image data is performed as long as there is an area available in the RAM 1050, and the read image data is stored in a predetermined area in the RAM 1050. .

次いで、用紙2100の画像が用紙2100の先端から所定の位置まで読み込まれたか否かが判断される(S3040)。ここで、所定の位置とは、用紙2100の画像の種類が判別可能とされる、用紙2100の位置をいう。S3040は判断ステップとされているため、S3040は、否定判断がなされた場合、肯定判断がなされるまで繰り返し行われる。これに対して、S3040で肯定判断がなされた場合、次のステップ(S3050)が行われる。
S3050では、読取データから、画像の種類を判別するテーブル(図4)にある判別項目のそれぞれの有無や構成量が抽出され、画像の種類(一例として、図面、表、プレゼンテーション、POP及び写真画像)が判別される。ここで、図4のテーブル(以下、判別テーブルという。)は、本実施形態の読取動作時のデータ処理で用いられる画像の種類を判別するためのものである。判別テーブルは、ROM1040又はNVRAM1060に予め保存されている。
Next, it is determined whether the image of the sheet 2100 has been read from the leading end of the sheet 2100 to a predetermined position (S3040). Here, the predetermined position refers to a position on the sheet 2100 at which the type of the image on the sheet 2100 can be determined. Since S3040 is a determination step, S3040 is repeatedly performed until a positive determination is made when a negative determination is made. On the other hand, if a positive determination is made in S3040, the next step (S3050) is performed.
In step S3050, the presence / absence and configuration amount of each determination item in the table (FIG. 4) for determining the type of image are extracted from the read data, and the type of image (for example, drawing, table, presentation, POP, and photographic image) is extracted. ) Is determined. Here, the table in FIG. 4 (hereinafter, referred to as a determination table) is for determining the type of image used in the data processing at the time of the reading operation of the present embodiment. The determination table is stored in the ROM 1040 or the NVRAM 1060 in advance.

読取センサ2050で読み取られる画像は、図4における「画像に含む判別項目4010」の各項目の識別がされる。具体的には、読取センサ2050で読み取られてスキャナユニット1100により生成された読取データが、画像に含む判別項目4010の各項目について該当するか識別される。ここで、当該識別は、公知の画像認識の方法を用いればよい。外枠、枠線及び等間隔線の検出については、例えば、一般的な技法であるHough変換を用いて線を検出し、検出された数、位置、角度、長さ等から検出が可能とある。文字の検出については、一般的なOCR(Optical Character Reader)技法と同様に検出すればよい。塗りつぶしデータの検出については、例えば読取データのRGBを参照し、1ラインにつき特定長さが連続で続くことを検出することにより、又は、1ラインが複数ラインで続くことを検出することにより検出が可能である。
例えば、読取データの画像に外枠は無い、等間隔線は無い、ベクタデータを検出した、文字量は少ない、文字がない又は文字が少ない、塗りつぶしデータがない、空白部分がある等を検出すると、その画像は図4の判別テーブルにおける「図面」と識別される。このように、「画像に含む判別項目4010」の各項目が図4の判別テーブルを用いて識別された結果、識別の対象となる画像は最も近い「画像の種類判別4020」の欄の何れかに判別される。本実施形態における画像の種類判別4020の欄の画像は、一例として、「図面」、「表」、「プレゼンテーション」、「POP」及び「写真画像」とされている。
図7は、読取装置100が図3の場合と異なる用紙2100の画像の読取動作を行っている状態の斜視図である。図3の場合、CPU1000は、図4の判別テーブルを用い用紙2100が前述の所定の位置まで搬送された時点で用紙2100の画像を「図面」と判別する。これに対して、図7の場合、CPU1000は、図4の判別テーブルを用い用紙2100が前述の所定の位置まで搬送された時点で用紙2100の画像を「プレゼンテーション」と判別する。すなわち、本実施形態では、CPU1000は、スキャナユニット1100が生成中の読取データから読取センサ2050が読取中の用紙2100の種類を判別する。
In the image read by the reading sensor 2050, each item of “determination items 4010 included in the image” in FIG. 4 is identified. Specifically, it is determined whether the read data read by the reading sensor 2050 and generated by the scanner unit 1100 corresponds to each of the determination items 4010 included in the image. Here, a known image recognition method may be used for the identification. As for the detection of the outer frame, the frame line, and the equally-spaced line, for example, it is possible to detect the line using Hough transform, which is a general technique, and detect the line based on the detected number, position, angle, length, and the like. . Characters may be detected in the same manner as a general OCR (Optical Character Reader) technique. Regarding the detection of the fill data, for example, the detection is performed by referring to the RGB of the read data and detecting that a specific length continues continuously for one line, or detecting that one line continues for a plurality of lines. It is possible.
For example, if it is detected that there is no outer frame in the image of the read data, no equidistant lines, vector data is detected, the amount of characters is small, there is no or few characters, there is no fill data, there is a blank part, etc. The image is identified as "drawing" in the determination table of FIG. As described above, as a result of each item of the “discrimination item 4010 included in the image” being identified using the identification table of FIG. 4, the image to be identified is located in one of the closest “image type identification 4020” columns. Is determined. The images in the column of the image type determination 4020 in this embodiment are, for example, “drawing”, “table”, “presentation”, “POP”, and “photo image”.
FIG. 7 is a perspective view of a state in which the reading device 100 is performing an operation of reading an image on a sheet 2100 different from the case of FIG. In the case of FIG. 3, the CPU 1000 determines the image of the sheet 2100 as a “drawing” when the sheet 2100 is transported to the above-described predetermined position using the determination table of FIG. On the other hand, in the case of FIG. 7, the CPU 1000 determines the image of the sheet 2100 to be “presentation” when the sheet 2100 is transported to the above-described predetermined position using the determination table of FIG. That is, in the present embodiment, the CPU 1000 determines the type of the sheet 2100 being read by the reading sensor 2050 from the read data being generated by the scanner unit 1100.

次いで、S3050において判別された読取データの画像の種類と、図5の「画像の種類から特徴領域を求めるテーブル」(以下、特徴領域テーブルという。)とを用いて、特徴領域5020が決定される(S3060)。ここで、「特徴領域」とは、用紙2100における各画像の特徴となる領域を意味する。特徴領域テーブルは、各画像の種類5010と、各画像の種類に対応する特徴領域5020との関係についてのテーブルである。特徴領域テーブルは、ROM1040又はNVRAM1060に予め保存されている。本実施形態では各画像の種類5010に2種類の特徴領域5020を対応させているが、少なくとも何れか一方だけとしてもよい。なお、S3050で画像の種類が判別されると、S3060で判別された画像に対応する特徴領域が一義的に決定される。   Next, the characteristic region 5020 is determined using the image type of the read data determined in S3050 and the “table for obtaining a characteristic region from the image type” in FIG. 5 (hereinafter, referred to as a characteristic region table). (S3060). Here, the “characteristic region” means a region on the sheet 2100 that is a characteristic of each image. The characteristic region table is a table on the relationship between each image type 5010 and a characteristic region 5020 corresponding to each image type. The feature area table is stored in the ROM 1040 or the NVRAM 1060 in advance. In this embodiment, two types of characteristic regions 5020 correspond to each image type 5010, but at least one of them may be used. When the type of the image is determined in S3050, the characteristic region corresponding to the image determined in S3060 is uniquely determined.

次いで、S3060において特徴領域が決定されると、読取センサ2050による搬送方向に搬送中の用紙2100の特定領域の画像の読み取りが完了したか否かが判断される(S3070)。S3070は、肯定判断がなされるまで継続される(S3070のNo参照)。   Next, when the characteristic region is determined in S3060, it is determined whether reading of the image of the specific region of the sheet 2100 being conveyed in the conveyance direction by the reading sensor 2050 is completed (S3070). S3070 is continued until a positive determination is made (see No in S3070).

次いで、S3070で肯定判断がなされた場合、HDD1010から比較対象となる画像データの読み込みが完了したか否かが判断される(S3080)。S3080は、肯定判断がなされるまで継続される(S3080のNo参照)。ここで、比較対象となる画像データとは、例えば、S3050において画像の種類が「表」と判別された場合には、HDD1010に保存されている「表」に関するデータとなる。   Next, when an affirmative determination is made in S3070, it is determined whether reading of the image data to be compared from the HDD 1010 is completed (S3080). S3080 is continued until a positive determination is made (see No in S3080). Here, the image data to be compared is, for example, data relating to “table” stored in the HDD 1010 when the type of image is determined to be “table” in S3050.

次いで、S3080で肯定判断がなされた場合、CPU1000により、読取データと、HDD1010から読み出した画像データとが比較される。ここで、比較される画像データは、S3050で判別された画像の種類についてのデータである。具体的にS3080では、図5に示す画像の種類5010と特徴領域5020との関係、HDD1010から読み出した画像データ及び生成中の読取データが用いられて、読取データにおける特徴領域の部分と、画像データにおける特徴領域の部分とが比較される。   Next, when a positive determination is made in S3080, the CPU 1000 compares the read data with the image data read from the HDD 1010. Here, the image data to be compared is data on the type of the image determined in S3050. Specifically, in step S3080, the relationship between the image type 5010 and the characteristic region 5020 illustrated in FIG. 5, the image data read from the HDD 1010 and the read data being generated are used, and the characteristic region portion in the read data and the image data Is compared with the portion of the characteristic region in.

以下、S3090で行われる処理について図6を用いて詳細に説明する。
まず、操作者がUI1300を介して読取データと画像データとの比較を行わない設定になっているか否かの確認を行う(S6010)。ここで、読取データと画像データとの比較を行うか行わないかは、図8(A)のUI1300の画面800を介して操作者により予め設定される。具体的には、操作者は、画面800に表示された、「する810」及び「しない820」の何れか一方の入力ボタンを選択し、OKボタン830を押して設定する。なお、一度入力ボタンを選択した後にキャンセルする場合には、操作者はCancelボタン840を押せばよい。S6010では、読取データと画像データとの比較を行うか行わないかの設定は、RAM1050又はNVRAM1060の所定の領域に保存される。そして、S6010で肯定判断がなされた場合、S6110において読取データと画像データとは一致しないとみなされる。これに対して、S6010で否定判断がなされた場合、S6020の判断を行われる。
Hereinafter, the processing performed in S3090 will be described in detail with reference to FIG.
First, the operator checks via the UI 1300 whether or not a setting is made not to compare read data with image data (S6010). Here, whether the comparison between the read data and the image data is performed or not is set in advance by the operator via the screen 800 of the UI 1300 in FIG. Specifically, the operator selects one of the input buttons “Yes 810” and “No 820” displayed on the screen 800 and presses the OK button 830 to set. To cancel after selecting the input button once, the operator may press the Cancel button 840. In S6010, the setting of whether or not to compare the read data with the image data is stored in a predetermined area of the RAM 1050 or the NVRAM 1060. If an affirmative determination is made in S6010, it is determined in S6110 that the read data and the image data do not match. On the other hand, if a negative determination is made in S6010, the determination in S6020 is made.

次いで、S6020では、画像データの付帯情報に含まれる機種情報から、当該画像データが読取データと同じ機種の画像形成装置(図示省略)から取得された情報であるか否かが判断される。そして、S6020で否定判断がなされた場合、S6110において読取データと画像データとは一致しないとみなされる。これに対して、S6020で肯定判断がなされた場合、S6030の判断を行われる。本実施形態において、S6020での否定判断の結果、読取データと画像データとは一致しないとした理由は、同一の画像であっても読取装置100のラインセンサのばらつきにより読取データと画像データとが一致しない場合があるためである。   Next, in S6020, it is determined from the model information included in the supplementary information of the image data whether or not the image data is information acquired from an image forming apparatus (not shown) of the same model as the read data. If a negative determination is made in S6020, it is determined in S6110 that the read data and the image data do not match. On the other hand, when a positive determination is made in S6020, the determination in S6030 is performed. In the present embodiment, as a result of the negative determination in S6020, the reason that the read data and the image data do not match is that even if the image is the same, the read data and the image data become This is because they may not match.

次いで、S6030では、画像データの付帯情報に含まれる用紙幅の情報から、用紙幅が同一か否かが判断される。ここで、用紙幅の算出は読取センサ2050を用いることにより算出が可能であるため、読取センサ2050を用いることにより算出してもよく、また、他の方法による算出でもよい。他の方法による算出としては、例えば、原稿押え2030の位置検出センサを用いて用紙幅を算出する方法、給紙口2020の下付近に複数の定点センサ(不図示)を設けて用紙を検知した複数の定点から用紙幅を算出する方法がある。
S6030で否定判断がなされた場合、S6110において読取データと画像データとは一致しないとみなされる。このようにした理由は、用紙幅が異なる場合、読取データは明らかに画像データとは一致しないためである。これに対して、S6030で肯定判断がなされた場合、S6040の判断を行われる。
Next, in S6030, it is determined whether the sheet widths are the same based on the sheet width information included in the supplementary information of the image data. Here, since the calculation of the sheet width can be performed by using the reading sensor 2050, it may be calculated by using the reading sensor 2050, or may be calculated by another method. As another calculation method, for example, a method of calculating a sheet width using a position detection sensor of the document presser 2030, a method of detecting a sheet by providing a plurality of fixed point sensors (not shown) near a lower portion of the sheet feeding port 2020. There is a method of calculating a sheet width from a plurality of fixed points.
If a negative determination is made in S6030, it is determined in S6110 that the read data and the image data do not match. The reason for this is that the read data obviously does not match the image data when the paper width is different. On the other hand, when a positive determination is made in S6030, the determination in S6040 is performed.

次いで、S6040では、読取データの読取解像度と、画像データの読取解像度とが同一であるか否かが判断される。その結果、S6040で否定判断がなされた場合、S6110において読取データと画像データとは一致しないとみなされる。このようにした理由は、読み取りの解像度が異なる場合に読取データと画像データとが一致するか否かの判断が不可能なためである。これに対して、S6040で肯定判断がなされた場合、S6050の判断がなされる。   Next, in S6040, it is determined whether the reading resolution of the read data is the same as the reading resolution of the image data. As a result, if a negative determination is made in S6040, it is determined in S6110 that the read data and the image data do not match. The reason for this is that it is impossible to determine whether the read data and the image data match when the read resolution is different. On the other hand, when an affirmative determination is made in S6040, a determination in S6050 is made.

次いで、S6050では、読取データが圧縮データであるか否かが判断される。ここで、読取データ及び画像データの圧縮形式の情報は、それぞれの付帯情報に含まれている。S6050で否定判断がなされた場合、後述するS6080が行わる。これに対して、S6050で肯定判断がなされた場合、S6060の判断がなされる。
次いで、S6060では、読取データの圧縮方式が所定の方式の圧縮データであるか否かが判断される。ここで、所定の方式とは、ROM1040に保存されている画像データの
圧縮方式である。S6060で否定判断がなされた場合、S6110において読取データと画像データとは一致しないとみなされる。これに対して、S6110で肯定判断がなされた場合、S6070が行われる。
次いで、S6070では、すなわち、S6060で肯定判断がなされた場合には、上記所定の方式の圧縮データを展開する。その結果、読取データと展開により復元された画像データとの比較が可能となる。
Next, in S6050, it is determined whether or not the read data is compressed data. Here, the information of the compression format of the read data and the image data is included in the respective accompanying information. When a negative determination is made in S6050, S6080 described later is performed. On the other hand, if a positive determination is made in S6050, the determination in S6060 is made.
Next, in S6060, it is determined whether or not the compression method of the read data is compression data of a predetermined method. Here, the predetermined method is a compression method of image data stored in the ROM 1040. If a negative determination is made in S6060, it is determined in S6110 that the read data and the image data do not match. On the other hand, if a positive determination is made in S6110, S6070 is performed.
Next, in S6070, that is, when an affirmative determination is made in S6060, the compressed data of the predetermined method is expanded. As a result, it becomes possible to compare the read data with the image data restored by expansion.

S6070後及びS6050で否定判断がなされた場合、S6080が行われる。S6080では、読取データの特徴領域に相当する部分のデータを比較元として、RAM1050における所定の領域のアドレスと長さが指定される(領域A)。圧縮データである場合は、RAM1050における前記の一時展開領域に対して、その領域のアドレスと長さを指定する(こちらを領域Aとする)。
S6080の後、S6090が行われる。S6090では、画像データ内部の特徴領域に相当する部分のデータを比較先として、RAM1050における所定の領域のアドレスと長さが指定される(領域B)。読取データが圧縮データである場合は、RAM1050における前記の一時展開領域に対して、その領域のアドレスと長さを指定する(こちらを領域Bとする)。なお、領域Aのアドレスの長さと領域Bのアドレスの長さとは、同じとなるようにする。
S6090の後、S6100が行われる。S6100では、領域Aと領域Bとについて、RAM1050における所定の領域の全データが比較される。これにより、読取データと画像データとの比較結果が判別される。なお、画像の比較に当たっては、領域Aにおける、傾き、歪み、一般的なノイズ除去フィルタ、色、濃淡が、領域Bの画像データと比較可能になるように補正される。その結果、補正されて生成されたデータを用いて、領域Bとの画像の比較が行われる。
After S6070 and when a negative determination is made in S6050, S6080 is performed. In S6080, the address and length of a predetermined area in the RAM 1050 are designated using the data corresponding to the characteristic area of the read data as the comparison source (area A). If the data is compressed data, the address and length of the temporary expansion area in the RAM 1050 are designated (this area is referred to as area A).
After S6080, S6090 is performed. In S6090, the address and length of a predetermined area in the RAM 1050 are specified with the data of the portion corresponding to the characteristic area inside the image data as the comparison destination (area B). When the read data is compressed data, the address and length of the temporary expansion area in the RAM 1050 are designated (this area is referred to as area B). Note that the address length of the area A and the address length of the area B are set to be the same.
After S6090, S6100 is performed. In S6100, all data in a predetermined area in the RAM 1050 is compared between the area A and the area B. Thereby, the comparison result between the read data and the image data is determined. When comparing the images, the inclination, distortion, general noise removal filter, color, and shading in the area A are corrected so that they can be compared with the image data in the area B. As a result, the image with the region B is compared using the data generated by the correction.

領域Aと領域Bの画像の比較については、一般的な手法である画像毎の差分を取り、平均二乗誤差を計算する。前述の平均二乗誤差の値が小さいほど、領域Aの画像と領域Bの画像とは近い。そのため、前述の平均二乗誤差の値に対する閾値に関する情報を保存し、前述の閾値以下の場合は画像が一致するとみなされる。前述の閾値についての情報は、NVRAM1060に保存されている。
なお、前述の平均二乗誤差については多くの演算量を要することになるため、読取装置100には高速のCPUが必要となる。精密な画像の一致の精度が要求されなければ、領域Aの画像及び領域Bの画像に間引きをかけて、比較する画素数を減らすことにより演算量を削減する方法もある。画像の一致の精度については、画像の種類により異なってよい。前述の方法により判別した画像の種類毎に前述の閾値及び画像の間引きを考慮して比較を行うかどうかの情報を保存し、画像の種類によって画像の比較の一致性についての精度を定めて画像の比較による一致の判定を行うようにしてもよい。
以上が、図3のフローチャートのS3090で行われる処理についての詳細である。
As for the comparison between the images of the area A and the area B, a difference between the images is obtained as a general method, and a mean square error is calculated. The smaller the value of the aforementioned mean square error is, the closer the image of the region A and the image of the region B are. Therefore, information on the threshold value for the value of the above-mentioned mean square error is stored, and when the value is equal to or less than the above-described threshold value, it is considered that the images match. Information on the above-described threshold is stored in the NVRAM 1060.
Note that the above-described mean square error requires a large amount of calculation, and thus the reading apparatus 100 requires a high-speed CPU. If precise matching of images is not required, there is a method of thinning out the image of the area A and the image of the area B to reduce the number of pixels to be compared, thereby reducing the amount of calculation. The accuracy of image matching may differ depending on the type of image. For each type of image determined by the above-described method, information on whether to perform the comparison in consideration of the above-described threshold value and image thinning is stored, and the accuracy of the consistency of the image comparison is determined by the type of the image. May be determined by comparing.
The above is the details of the processing performed in S3090 of the flowchart of FIG.

次に、再度、図3のフローチャートを参照しながら、本データ処理について説明する。
S3090の後、すなわち、S3090で行われるS6010〜S6110(図6参照)の後、S3100が行われる。S3100では、S3090に比較結果が一致するか否か、すなわち、読取データの特徴領域の部分と画像データの特徴領域の部分との両部分が一致するか否かが判断される。この場合、RAM1050の領域Bにおける所定の領域に蓄えられている画像データを比較対象の画像データの内容に置きかえればよい。S3100で否定判断がなされた場合、S3110が行われる。S3100で肯定判断がなされた場合、S3150が行われる。
S3110が行われる場合、すなわち、S3100において読込データが画像データと一致しないと判断された場合、HDD1010に当該画像データの他に比較対象となり得る画像データがあるか否かが判断される。その結果、S3110で肯定判断がなされると、S3120が行われ、HDD1010から他の画像データが読み出される。ここで、既にHDD1010から次の比較対象の画像データがRAM1050に読込済みである場合もある。この場合は、S3120の後に行われるS3080で肯定判断をし、以降の処理が行われる。ここで、以降の処理では再度S3090が行われる。この場合、再度行われるS3090において、読取データの比較対象は、では前回比較対象とされた画像データ以外の画像データとされる。
これに対して、S3110で否定判断がなされた場合、すなわち、HDD1010に保存されている他の画像データが読込データに対して比較対象とならないと判断された場合、S3130が行われる。S3130では用紙2100の画像が最後まで読み取られたかが判断され、S3130で肯定判断がなされると(S3130でYes参照)、S3140で読取データが画像データとしてHDD1010に保存される。この場合、保存先がネットワーク上のHDDである場合は、ネットワークドライバ1210、LANユニット1310を介して当該HDDとネットワーク接続を行う。ネットワーク接続後、当該HDDに接続してS3130で生成した画像データを当該HDDに保存する。また、画像データの生成では、付帯情報に、少なくとも、読取装置100の機種、用紙幅、読み取りの解像度、圧縮データの有無及び圧縮データ方式を設ける。これらの付帯情報と、読取データから得られるデータ(RAW、JPEG,TIFF等)を1つのファイルにして画像データとする。CPU1000は、ROM1040において保持される画像データの生成コード及びファイル作成コードを処理して画像データを生成する。その後、本データ処理は終了する。
Next, the data processing will be described again with reference to the flowchart of FIG.
After S3090, that is, after S6010 to S6110 (see FIG. 6) performed in S3090, S3100 is performed. In S3100, it is determined whether or not the comparison result matches with S3090, that is, whether or not both the characteristic region portion of the read data and the characteristic region portion of the image data match. In this case, the image data stored in a predetermined area in the area B of the RAM 1050 may be replaced with the content of the image data to be compared. If a negative determination is made in S3100, S3110 is performed. If a positive determination is made in S3100, S3150 is performed.
If S3110 is performed, that is, if it is determined in S3100 that the read data does not match the image data, it is determined whether or not the HDD 1010 has image data that can be compared in addition to the image data. As a result, when a positive determination is made in S3110, S3120 is performed, and another image data is read from the HDD 1010. Here, there is a case where the next image data to be compared has already been read from the HDD 1010 into the RAM 1050. In this case, a positive determination is made in S3080 performed after S3120, and the subsequent processing is performed. Here, in the subsequent processing, S3090 is performed again. In this case, in S3090, which is performed again, the comparison target of the read data is set to image data other than the image data that was previously set as the comparison target.
On the other hand, if a negative determination is made in S3110, that is, if it is determined that the other image data stored in the HDD 1010 is not to be compared with the read data, S3130 is performed. In S3130, it is determined whether the image on the sheet 2100 has been read to the end. If an affirmative determination is made in S3130 (see Yes in S3130), the read data is stored in the HDD 1010 as image data in S3140. In this case, if the storage destination is an HDD on the network, the HDD is connected to the network via the network driver 1210 and the LAN unit 1310. After the network connection, the HDD is connected to the HDD and the image data generated in S3130 is stored in the HDD. In the generation of the image data, at least the model of the reading device 100, the paper width, the reading resolution, the presence or absence of the compressed data, and the compressed data system are provided in the supplementary information. These supplementary information and data (RAW, JPEG, TIFF, etc.) obtained from the read data are made into one file and used as image data. The CPU 1000 generates image data by processing the image data generation code and the file creation code stored in the ROM 1040. Thereafter, the data processing ends.

S3100で肯定判断がなされた場合、S3150が行われる。S3150では、読取動作の中止の選択が行われる。S3150では、操作者がUI1300(選択手段の一例)を介して読取動作を中止するか否かの選択を行う。この場合、UI1300に表示される画面900には、図8(B)に示すように、読取動作を中止するかの問いと、「はい(中止)910」及び「いいえ(続行)920」と表示される選択ボタンと、選択結果を確定する「OK930」とが表示される。操作者が画面900を介して「はい(中止)910」を選択してOK930を押すと、S3150で肯定判断がなされたとみなしてS3160が行われる。そして、S3160においてS3150での「はい(中止)910」の選択に従い読取動作が中止となり、本データ処理が終了する。以上のとおり、本実施形態では、S3100での比較結果が一致した場合に、S3150において操作者により読取動作を中止するか否かの選択がなされる。そのため、本実施形態では、S3100で特徴部分が一致するとして肯定判断がなされた場合に特徴部分以外の部分が一致しない場合に、S3150で操作者が読取動作を中止するか否かを選択できる。S3160における読取動作の中止に伴い、読取センサ2050の発光が終了となる。その後、用紙検知センサの遮へいの解除の検知を基準に、搬送ローラー及び搬送モーターを駆動させて、用紙2100を排紙口2040から排紙させる。この場合、読取動作が行われないため、読取時よりも用紙詰まりが起こらない程度とされる、読取動作時よりも速い搬送速度で用紙2100を搬送してもよい。
これに対して、操作者が画面900を介して「いいえ(続行)920」を選択してOK930を押すと、S3150で否定判断がなされたとみなしてS3130以降の処理が行われる。その後、S3140が行われて本データ処理が終了する。
なお、本データ処理が終了すると、読取装置100は待機状態(用紙2100がセットされて、UI1300を介して動作開始の指示があれば動作可能な状態)になる。
If a positive determination is made in S3100, S3150 is performed. In S3150, the user selects to stop the reading operation. In S3150, the operator selects via the UI 1300 (an example of a selection unit) whether or not to stop the reading operation. In this case, as shown in FIG. 8B, the screen 900 displayed on the UI 1300 asks whether to stop the reading operation, and displays “Yes (stop) 910” and “No (continue) 920”. Is displayed, and "OK930" for confirming the selection result are displayed. If the operator selects “Yes (Cancel) 910” via the screen 900 and presses OK 930, it is determined that a positive determination has been made in S3150, and S3160 is performed. Then, in S3160, the reading operation is stopped in accordance with the selection of "Yes (stop) 910" in S3150, and the data processing ends. As described above, in the present embodiment, when the comparison result in S3100 matches, in S3150, the operator selects whether or not to stop the reading operation. Therefore, in the present embodiment, when a positive determination is made in S3100 that the characteristic portions match, if the portions other than the characteristic portions do not match, the operator can select whether to stop the reading operation in S3150. With the stop of the reading operation in S3160, the light emission of the reading sensor 2050 ends. After that, based on the detection of the release of the shielding by the paper detection sensor, the transport roller and the transport motor are driven to discharge the paper 2100 from the paper output port 2040. In this case, since the reading operation is not performed, the sheet 2100 may be transported at a higher transport speed than during the reading operation, which is such that the sheet is not jammed as compared with the reading operation.
On the other hand, if the operator selects “No (continue) 920” via the screen 900 and presses OK 930, it is considered that a negative determination has been made in S3150, and the processing in S3130 and thereafter is performed. Thereafter, S3140 is performed, and the data processing ends.
When the data processing is completed, the reading apparatus 100 enters a standby state (a state in which the sheet 2100 can be operated if the sheet 2100 is set and an operation start instruction is issued via the UI 1300).

本実施形態の読取装置100は、前述の説明のとおり、用紙2100の画像の読取動作中に読取データの特徴部分と、予め保存されている画像データ、判別テーブル等を利用して読取データが画像データに一致するか否かを判断する。したがって、本実施形態の読取装置100は、用紙2100の画像の読取動作の終了前に読取データが画像データに一致するか否かを判断することができる。これに伴い、本実施形態の読取装置100は、読み取る用紙2100の画像の読取データが保存済みの画像データに一致する場合に読取動作に要する時間を削減できる。特に、用紙2100が大きいほど、当該効果は顕著となる。
本実施形態の読取装置100は、読み取る用紙2100の画像の読取データが保存済みの画像データに一致する場合に当該読取データを保存しない。したがって、本実施形態の読取装置100は、読み取る用紙2100の画像の読取データが保存済みの画像データに一致する場合に読取データの保存用HDD1010の使用量を削減できる。これに伴い、本実施形態の場合、比較対象となる画像データをより多く保存することができる。特に、用紙2100が大きいほど、当該効果は顕著となる。
本実施形態の場合、HDD1010には、読取データが画像データと一致しない場合、当該読取データを画像データとして保存する。そのため、保存された当該読取データを、以降の読取動作時に画像データとして利用することができる。
本実施形態の場合、読取データから得られる画像の種類から比較対象とする領域(特徴領域)を特定する。したがって、本実施形態では、より少ないメモリ領域の使用量での比較が可能となるとともに比較に要する時間の短縮が可能になる。
As described above, the reading apparatus 100 according to the present embodiment uses the characteristic part of the read data and the image data and the discrimination table stored in advance to read the image during the reading operation of the image on the sheet 2100. Determine whether the data matches. Therefore, the reading device 100 of the present embodiment can determine whether the read data matches the image data before the end of the operation of reading the image on the sheet 2100. Accordingly, the reading device 100 of the present embodiment can reduce the time required for the reading operation when the read data of the image on the sheet 2100 to be read matches the stored image data. In particular, the effect becomes more remarkable as the size of the sheet 2100 is larger.
The reading device 100 of the present embodiment does not store the read data when the read data of the image on the sheet 2100 to be read matches the stored image data. Therefore, the reading device 100 of the present embodiment can reduce the amount of use of the read data storage HDD 1010 when the read data of the image on the paper 2100 to be read matches the stored image data. Accordingly, in the case of the present embodiment, more image data to be compared can be stored. In particular, the effect becomes more remarkable as the size of the sheet 2100 is larger.
In the case of this embodiment, if the read data does not match the image data, the read data is stored in the HDD 1010 as image data. Therefore, the stored read data can be used as image data in a subsequent read operation.
In the case of the present embodiment, an area (characteristic area) to be compared is specified based on the type of image obtained from the read data. Therefore, in the present embodiment, the comparison can be performed using a smaller amount of the memory area, and the time required for the comparison can be reduced.

以上のとおり、本発明について本実施形態を例として説明したが、本発明の技術的範囲は本実施形態に限定されるものではない。
本実施形態の読取装置100の読取センサ2050は、ライン型のセンサに限らず、用紙2100の主走査方向(幅方向)に往復するキャリッジ型の読取センサでもよい。この場合、搬送方向に搬送される用紙2100に対してキャリッジ型の読取センサが主走査方向に往復移動することで、読取動作が行われる。この変形例の場合であっても本実施形態の場合と同様の効果が得られる。
本実施形態では、用紙2100が搬送方向に搬送される用紙2100の画像を読取センサ2050が読み取ることを説明した。しかしながら、読取センサ2050が用紙2100の画像を読み取ることができれば、例えば、用紙2100が搬送されずに読取センサ2050が用紙2100に対して定められた方向に移動するようにしてもよい。すなわち、用紙2100に対して読取センサ2050が相対移動できる構成であればよい。
本実施形態で説明した特徴領域は、図5で示すような画像の種類5010から特徴領域5020を求めるテーブルで特定される領域に限られない。例えば、特徴領域は、用紙2100の特徴から画像の種類毎に相違点を識別し、当該相違点についての共通箇所を自動判別し、その結果を特徴領域としてもよい。また、操作者が、予め決まった帳票等のフォーマットにおいて相違点となる位置を、特徴領域として設定できるようにしてもよい。この場合、操作者がUI1300(変更手段の一例)を操作することで特徴領域を入力、変更等できるようにしてもよい。この変形例の場合であっても本実施形態と同様の効果が得られる。
本実施形態で説明した比較対象とする画像データが例えば数十以上と多い場合、読取データと複数の画像データとの比較の処理が用紙2100の排紙完了時までに終われない場合が生じ得る。この場合、用紙2100の排紙完了時までに比較が終了しなくても一致した結果を保存しないことによりHDDの容量の削減の効果は得られる。しかしながら、画像データとの比較に要する時間分だけ処理時間が遅延する場合が生じる。このような場合、比較対象とする画像データの付帯情報に読取日時に関する情報を設けておき、例えば、特定の又は操作者がUI1300を介して指定した読取日時の範囲内のデータを比較対象とする画像データとしてもよい。このような設定をすることで、画像データとの比較に要する処理時間を短縮することができる。
As described above, the present invention has been described by taking the present embodiment as an example, but the technical scope of the present invention is not limited to the present embodiment.
The reading sensor 2050 of the reading apparatus 100 according to the present embodiment is not limited to a line-type sensor, and may be a carriage-type reading sensor that reciprocates in the main scanning direction (width direction) of the sheet 2100. In this case, the reading operation is performed by the carriage-type reading sensor reciprocating in the main scanning direction with respect to the sheet 2100 conveyed in the conveying direction. Even in the case of this modification, the same effect as in the case of the present embodiment can be obtained.
In the present embodiment, it has been described that the reading sensor 2050 reads an image of the sheet 2100 in which the sheet 2100 is transported in the transport direction. However, if the reading sensor 2050 can read an image on the sheet 2100, for example, the reading sensor 2050 may move in a predetermined direction with respect to the sheet 2100 without being conveyed. That is, any configuration may be used as long as the reading sensor 2050 can move relative to the sheet 2100.
The characteristic region described in the present embodiment is not limited to the region specified in the table for obtaining the characteristic region 5020 from the image type 5010 as shown in FIG. For example, as for the characteristic region, a difference may be identified for each type of image from the characteristics of the sheet 2100, a common part of the difference may be automatically determined, and the result may be used as the characteristic region. Further, the operator may be allowed to set a position that is different in a predetermined format such as a form as a characteristic region. In this case, the operator may operate the UI 1300 (an example of a changing unit) to input or change a characteristic region. Even in the case of this modification, the same effect as that of the present embodiment can be obtained.
When the image data to be compared described in the present embodiment is as large as several tens or more, for example, the process of comparing the read data with the plurality of image data may not be completed by the time when the discharge of the sheet 2100 is completed. In this case, an effect of reducing the capacity of the HDD can be obtained by not storing the matched result even if the comparison is not completed by the time when the discharge of the sheet 2100 is completed. However, the processing time may be delayed by the time required for comparison with the image data. In such a case, information relating to the reading date and time is provided in the supplementary information of the image data to be compared, and for example, data within a range of the reading date and time specified or specified by the operator via the UI 1300 is set as the comparison target. It may be image data. By making such a setting, the processing time required for comparison with image data can be reduced.

100 読取装置
1000 CPU(判別手段の一例、比較手段の一例)
2050 読取センサ(読取手段の一例)
100 Reading device 1000 CPU (an example of a determination unit, an example of a comparison unit)
2050 Reading sensor (an example of reading means)

Claims (8)

用紙に対し相対移動しながら用紙の画像を読み取る読取手段と、
前記読取手段の読取動作中に、前記読取手段が読み取る画像から読取データを生成する生成手段と、
前記読取データから画像の種類を判別する判別手段と、
画像の種類と、用紙における画像の特徴となる特徴領域との関係を保存している第1保存手段と、
画像データを保存する第2保存手段と、
前記読取データと、前記画像データとを比較する比較手段と、を備え、
前記判別手段は、前記生成手段が生成中の前記読取データから読取動作中の用紙の画像の種類を判別し、
前記比較手段は、前記関係、前記画像データ及び前記生成手段が生成中の前記読取データを用いて、前記読取データにおける前記特徴領域の部分と、前記画像データにおける前記特徴領域の部分との比較をし、
前記読取手段は、前記比較の結果として両部分が一致する場合、読取動作を停止することを特徴とする読取装置。
Reading means for reading an image on a sheet while moving relative to the sheet;
Generating means for generating read data from an image read by the reading means during a reading operation of the reading means;
Determining means for determining the type of image from the read data;
First storage means for storing a relationship between the type of image and a characteristic region which is a characteristic of the image on the sheet;
Second storage means for storing image data;
The read data, and a comparing means for comparing the image data,
The determination unit determines a type of an image of a sheet being read from the read data being generated by the generation unit,
The comparison unit compares the characteristic region in the read data with the characteristic region in the image data using the relationship, the image data, and the read data being generated by the generation unit. And
The reading device, wherein the reading unit stops the reading operation when both portions match as a result of the comparison.
前記比較の結果として両部分が一致しない場合であって前記画像データが複数の画像データのうちの1つの画像データであるとき、
前記比較手段は、前記関係、前記1つの画像データ以外の他の画像データ及び前記生成手段が生成中の前記読取データを用いて、前記読取データにおける前記特徴領域の部分と、前記他の画像データの前記特徴領域の部分とを比較し、
前記読取手段は、前記比較の結果として両部分が一致する場合、読取動作を停止することを特徴とする請求項1に記載の読取装置。
When the two parts do not match as a result of the comparison and the image data is one of a plurality of image data,
The comparison unit uses the relationship, image data other than the one image data, and the read data being generated by the generation unit, and uses the read data being generated by the characteristic region portion in the read data and the other image data. And comparing the feature region with
2. The reading apparatus according to claim 1, wherein the reading unit stops the reading operation when both portions match as a result of the comparison.
前記読取手段は、前記比較の結果として両部分が一致しない場合、読取動作を継続することを特徴とする請求項1又は2に記載の読取装置。   The reading device according to claim 1, wherein the reading unit continues the reading operation when both portions do not match as a result of the comparison. 前記第2保存手段は、前記画像データを圧縮されたデータとして保存し、
前記生成手段は、前記読取データを前記圧縮されたデータと同じ圧縮形式のデータとして生成し、
前記比較手段は、前記圧縮形式のデータを復元することで得られる前記読取データと前記圧縮形式のデータを復元することで得られる前記画像データとを比較することを特徴とする請求項1〜3の何れか1項に記載の読取装置。
The second storage means stores the image data as compressed data;
The generating means generates the read data as data in the same compression format as the compressed data,
4. The apparatus according to claim 1, wherein the comparing unit compares the read data obtained by restoring the data in the compression format with the image data obtained by restoring the data in the compression format. The reading device according to claim 1.
前記画像データは、前記生成手段が前記読取データを生成する毎に、前記第2保存手段が保存するデータとされることを特徴とする請求項1〜4の何れか1項に記載の読取装置。   5. The reading apparatus according to claim 1, wherein the image data is data stored in the second storage unit each time the generation unit generates the read data. 6. . 前記読取手段の読取動作を停止させるか否かを選択させる選択手段を備え、
前記比較の結果として両部分が一致する場合に前記読取手段が読取動作を停止するとき、前記選択手段での選択結果に基づいて、前記読取手段は、読取動作を停止することを特徴とする請求項1〜5の何れか1項に記載の読取装置。
Selecting means for selecting whether to stop the reading operation of the reading means,
When the reading unit stops the reading operation when both portions match as a result of the comparison, the reading unit stops the reading operation based on a result of the selection by the selecting unit. Item 6. The reading device according to any one of Items 1 to 5.
前記特徴領域の設定を変更するための変更手段を備えることを特徴とする請求項1〜6の何れか1項に記載の読取装置。   The reading device according to claim 1, further comprising a changing unit configured to change a setting of the characteristic region. コンピュータを、用紙に対し相対移動しながら用紙の画像を読み取る読取手段、前記読取手段の読取動作中に、前記読取手段が読み取る画像から読取データを生成する生成手段、前記読取データから画像の種類を判別する判別手段、画像の種類と用紙における画像の特徴となる特徴領域との関係を保存している第1保存手段、画像データを保存する第2保存手段、及び、前記読取データと前記画像データとを比較する比較手段として機能させるためのプログラムであって、
前記比較手段に、前記関係、前記画像データ及び前記生成手段が生成中の前記読取データを用いて、前記読取データにおける前記特徴領域の部分と、前記画像データにおける前記特徴領域の部分との比較をさせ、
前記読取手段に、前記比較の結果として両部分が一致する場合、読取動作を停止させることを特徴とするプログラム。
Reading means for reading a paper image while moving the computer relative to the paper; generating means for generating read data from the image read by the reading means during the reading operation of the reading means; Determining means for determining, first storing means for storing a relationship between an image type and a characteristic region which is a characteristic of an image on a sheet, second storing means for storing image data, and the read data and the image data A program for functioning as comparing means for comparing
The comparison means uses the relationship, the image data, and the read data being generated by the generation means to compare a portion of the characteristic region in the read data with a portion of the characteristic region in the image data. Let
A program causing the reading means to stop a reading operation when both portions match as a result of the comparison.
JP2018111134A 2018-06-11 2018-06-11 Reading device Pending JP2019216306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018111134A JP2019216306A (en) 2018-06-11 2018-06-11 Reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018111134A JP2019216306A (en) 2018-06-11 2018-06-11 Reading device

Publications (1)

Publication Number Publication Date
JP2019216306A true JP2019216306A (en) 2019-12-19

Family

ID=68918033

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018111134A Pending JP2019216306A (en) 2018-06-11 2018-06-11 Reading device

Country Status (1)

Country Link
JP (1) JP2019216306A (en)

Similar Documents

Publication Publication Date Title
JP7211238B2 (en) Edge detection device, tilt correction device, reading device, image processing device, and edge detection method
US9219827B2 (en) Image inspection system and image inspection method
EP2606632B1 (en) A method of scanning documents
US8411331B2 (en) Image scanning apparatus, computer readable medium, image management system, and image management methods
JP7338432B2 (en) image forming device
US8879129B2 (en) Method of capturing an image of a document
JP7487523B2 (en) Image reading device, image reading system, image reading method and program
US20180091671A1 (en) Image Reading Apparatus and Image Reading Method That Simply Detect Document Direction in Reading of Book Document, and Recording Medium Therefor
JP2019201381A (en) Image processing apparatus, image processing system, and program
JP2019216306A (en) Reading device
US9270838B2 (en) Verifying accuracy of a scanned document
US8279492B2 (en) Image processing devices and computer program products for processing image data
US9811877B2 (en) Image processing device selecting arrangement method for generating arranged image data
JP4354443B2 (en) Image reading device
JP4347256B2 (en) Image processing apparatus, image processing method, image processing program, and computer-readable recording medium recorded with the same
JP6354705B2 (en) Image processing device
US20240086663A1 (en) Information processing apparatus, inspection system, information processing method, and storage medium
US20240078400A1 (en) Inspection system, inspection apparatus, and method of controlling these
JP2021057640A (en) Method of controlling image processing apparatus
JP7159762B2 (en) Image reader
JP2021153273A (en) Method for controlling image processing apparatus
JP4432961B2 (en) Image processing apparatus and image processing program
JP4339764B2 (en) Facsimile machine
JP4622239B2 (en) Serial number reprinting system and method
JP4056461B2 (en) Image processing apparatus, image processing method, and image processing program