JP2020178220A - Image reading device, image reading method, and computer program - Google Patents

Image reading device, image reading method, and computer program Download PDF

Info

Publication number
JP2020178220A
JP2020178220A JP2019078745A JP2019078745A JP2020178220A JP 2020178220 A JP2020178220 A JP 2020178220A JP 2019078745 A JP2019078745 A JP 2019078745A JP 2019078745 A JP2019078745 A JP 2019078745A JP 2020178220 A JP2020178220 A JP 2020178220A
Authority
JP
Japan
Prior art keywords
image
documents
rearranged
originals
images
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019078745A
Other languages
Japanese (ja)
Other versions
JP7215311B2 (en
Inventor
康行 釜井
Yasuyuki Kamai
康行 釜井
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2019078745A priority Critical patent/JP7215311B2/en
Publication of JP2020178220A publication Critical patent/JP2020178220A/en
Application granted granted Critical
Publication of JP7215311B2 publication Critical patent/JP7215311B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide an image reading device capable of allowing a user to read a plurality of documents more efficiently than before.SOLUTION: An image reading device acquires images 42d, 42e, and 42f to 42i of each of a plurality of documents arranged in a predetermined range by imaging a predetermined range, and performs notification that facilitates a user to perform imaging by removing a proper document other than the document to be rearranged, and rearranging a plurality of documents to be rearranged such that the documents do not overlap, and appropriate images 42f to 42i from among the images 42d, 42e, and 42f to 42i are output in a case in which there are the plurality of documents to be rearranged which are partially overlapped when the imaging is performed in the plurality of documents.SELECTED DRAWING: Figure 12

Description

本発明は、原稿台ガラスに配置された複数の原稿の画像を読み取る技術に関する。 The present invention relates to a technique for reading images of a plurality of original documents arranged on a platen glass.

フラットベッド型の画像読取り装置には、多数枚の原稿を読み取らせるときなどに複数枚の原稿を原稿台ガラスに並べて載置して読み取らせるという使い方がある。このような使い方において、2枚以上の原稿が部分的に重なった状態で読取りが行われる場合があった。この場合、読み取った画像において重なった原稿のうちの上側の原稿の一部が欠けてしまう。この問題を解決するための先行技術が特許文献1に開示されている。 The flatbed type image reading device has a usage in which a plurality of originals are placed side by side on the platen glass and read when reading a large number of originals. In such usage, reading may be performed with two or more originals partially overlapping. In this case, a part of the upper document among the overlapping documents in the scanned image is missing. Prior art for solving this problem is disclosed in Patent Document 1.

特許文献1に記載された画像読取装置は、原稿台ガラスを走査して得られたプレビュー画像データを二値化し、そのデータから原稿の位置を算出する。原稿の位置検出結果が5角形以上の多角形として認識された場合、原稿が重なっているものとしてエラー表示を行い、ユーザにプリント原稿の位置を確認するよう注意する。 The image reading device described in Patent Document 1 binarizes the preview image data obtained by scanning the platen glass, and calculates the position of the document from the data. When the position detection result of the original is recognized as a polygon of pentagon or more, an error is displayed as if the originals are overlapped, and the user is warned to confirm the position of the printed original.

特開2004−260457号公報Japanese Unexamined Patent Publication No. 2004-260457

特許文献1の技術では、原稿台ガラスにおいて複数枚の原稿の全てが重なっていない状態になるまで、エラー表示とユーザによる原稿の位置の確認が繰り返されることになり、ユーザが読取りの作業をなかなか終えることができないことがあるという問題があった。 In the technique of Patent Document 1, error display and confirmation of the position of the original by the user are repeated until all of the plurality of originals are not overlapped on the platen glass, and the user cannot easily perform the reading operation. There was a problem that sometimes it could not be finished.

本発明は、この問題に鑑みてなされたもので、ユーザが複数の原稿を読み取らせる作業を従来よりも効率的に進めることができる画像読取り装置を提供することを目的とする。 The present invention has been made in view of this problem, and an object of the present invention is to provide an image reading device capable of allowing a user to read a plurality of documents more efficiently than before.

本発明の実施形態に係る画像読取り装置は、所定の範囲を撮像することによって前記所定の範囲に配置された複数枚の原稿それぞれの画像を取得する撮像手段と、前記複数枚の原稿の中に前記撮像手段により撮像された際に部分的に重なり合っている複数枚の再配置対象原稿がある場合に、前記複数枚の原稿のうちの前記複数枚の再配置対象原稿以外の適正原稿を取り除きかつ前記複数枚の再配置対象原稿を重ならないように配置し直して前記撮像手段に撮像させることをユーザに促す通知を行う通知手段と、前記画像のうちの前記適正原稿の適正画像を出力する出力手段と、を有する。 The image reading device according to the embodiment of the present invention includes an imaging means for acquiring an image of each of a plurality of documents arranged in the predetermined range by imaging a predetermined range, and the plurality of documents. When there are a plurality of documents to be rearranged that are partially overlapped when imaged by the imaging means, the appropriate documents other than the plurality of documents to be rearranged among the plurality of documents are removed. A notification means for notifying the user to rearrange the plurality of repositioned originals so as not to overlap each other and for the imaging means to take an image, and an output for outputting an appropriate image of the appropriate original among the images. Means and.

本発明によると、ユーザは複数の原稿を読み取らせる作業を従来よりも効率的に進めることができる。 According to the present invention, the user can proceed with the work of scanning a plurality of original documents more efficiently than before.

本発明の一実施形態に係る画像形成装置の概略の構成を示す図である。It is a figure which shows the schematic structure of the image forming apparatus which concerns on one Embodiment of this invention. 画像形成装置のハードウェア構成の例を示す図である。It is a figure which shows the example of the hardware composition of the image forming apparatus. 画像形成装置における一括スキャン動作に関わる機能的構成の例を示す図である。It is a figure which shows the example of the functional configuration related to the batch scan operation in an image forming apparatus. 原稿重なりの一例を示す図である。It is a figure which shows an example of document overlap. 一括スキャン動作の概略の流れを示すフローチャートである。It is a flowchart which shows the outline flow of a batch scan operation. 原稿画像検出処理の流れの例を示すフローチャートである。It is a flowchart which shows the example of the flow of the original image detection processing. 原稿画像検出処理を模式的に示す図である。It is a figure which shows typically the document image detection processing. 図5における原稿重なり検出処理の流れの例を示すフローチャートである。It is a flowchart which shows the example of the flow of the document overlap detection processing in FIG. 図5における保持・通知処理の流れの例を示すフローチャートである。It is a flowchart which shows the example of the flow of the holding / notification processing in FIG. 原稿重なりが生じたことを通知する画面の例を示す図である。It is a figure which shows the example of the screen which notifies that the document overlap has occurred. スキャン画像における原稿画像とプラテンガラスにおける原稿との向きの関係を示す図である。It is a figure which shows the relationship of the orientation of the original image in a scanned image, and the original in a platen glass. 個別取込モードにおける取込の例を示す図である。It is a figure which shows the example of the capture in the individual capture mode. 図5における原稿重なりがあった場合に実行される画像取込処理の流れの例を示す図である。It is a figure which shows the example of the flow of the image import process which is executed when there is overlap of documents in FIG. 個別取込モードにおける取込の他の例を示す図である。It is a figure which shows another example of the capture in the individual capture mode. 一括取込モードにおける取込の例を示す図である。It is a figure which shows the example of the import in the batch import mode. 図5における原稿重なりがあった場合に実行される画像取込処理の流れの他の例を示す図である。It is a figure which shows another example of the flow of the image import process which is executed when there is overlap of documents in FIG. 図5における原稿重なり検出処理の流れの他の例を示す図である。It is a figure which shows another example of the flow of the document overlap detection processing in FIG.

図1は、本発明の一実施形態に係る画像形成装置1の概略の構成を示す図である。図2は、画像形成装置1のハードウェア構成の例を示す図である。図3は、画像形成装置1における一括スキャン動作に関わる機能的構成の例を示す図である。図4は、原稿重なりの一例を示す図である。 FIG. 1 is a diagram showing a schematic configuration of an image forming apparatus 1 according to an embodiment of the present invention. FIG. 2 is a diagram showing an example of the hardware configuration of the image forming apparatus 1. FIG. 3 is a diagram showing an example of a functional configuration related to a batch scan operation in the image forming apparatus 1. FIG. 4 is a diagram showing an example of overlapping documents.

図1および図2に示す画像形成装置1は、一般にMFP(Multi-functional Peripheral)または複合機などと呼ばれる装置であって、コピー、PCプリント、ファックス、スキャナ、およびドキュメントサーバなどの機能を集約した装置である。画像形成装置1は、原稿から画像を読み取る画像読取り装置として動作することができる。 The image forming apparatus 1 shown in FIGS. 1 and 2 is an apparatus generally called an MFP (Multi-functional Peripheral) or a multifunction device, and integrates functions such as copying, PC printing, fax, scanner, and document server. It is a device. The image forming apparatus 1 can operate as an image reading apparatus for reading an image from a document.

PCプリント機能は、パーソナルコンピュータなどの端末装置から画像データを受信して画像をシートに印刷する機能である。「ネットワークプリンタ機能」または「ネットワークプリンティング機能」などと呼ばれることもある。 The PC print function is a function of receiving image data from a terminal device such as a personal computer and printing the image on a sheet. It is also called "network printer function" or "network printing function".

ドキュメントサーバ機能は、ユーザごとに「個人ボックス」または「ボックス」などと呼ばれる、パーソナルコンピュータにおけるフォルダまたはディレクトリなどに相当する記憶領域を設け、管理する機能である。「ボックス機能」と呼ばれることもある。ユーザは、自分のボックスに画像データなどをファイル単位で保存しておくことができる。 The document server function is a function of providing and managing a storage area called a "personal box" or "box" for each user, which corresponds to a folder or directory in a personal computer. Sometimes called "box function". The user can save image data and the like in a file unit in his / her own box.

画像形成装置1は、CPU(Central Processing Unit)10a、RAM(Random Access Memory)10b、ROM(Read Only Memory)10c、大容量記憶装置10d、スキャンユニット10e、印刷ユニット10f、ネットワークインタフェース10g、操作パネル10h、ファクシミリユニット10i、画像処理回路10j、および自動原稿送り装置10kなどによって構成される。 The image forming apparatus 1 includes a CPU (Central Processing Unit) 10a, a RAM (Random Access Memory) 10b, a ROM (Read Only Memory) 10c, a large-capacity storage device 10d, a scanning unit 10e, a printing unit 10f, a network interface 10g, and an operation panel. It is composed of 10h, a facsimile unit 10i, an image processing circuit 10j, an automatic document feeder 10k, and the like.

CPU10aは、画像形成装置1の全体的な制御などを行う制御部である。 The CPU 10a is a control unit that performs overall control of the image forming apparatus 1.

ROM10cまたは大容量記憶装置10dには、上述のコピーおよびスキャナなどの機能を実現するためのオペレーティングシステムおよびミドルウェアなどのソフトウェアがインストールされている。特に、本実施形態では、一括スキャン動作を実現するための一括スキャンプログラム10P(図3参照)がインストールされている。一括スキャン動作は、スキャンユニット10eによって複数の原稿の画像を一括に読み取って1つの画像ファイルまたは原稿ごとの複数の画像ファイルとして記憶する動作である。 Software such as an operating system and middleware for realizing the above-mentioned functions such as copying and scanner is installed in the ROM 10c or the large-capacity storage device 10d. In particular, in the present embodiment, the batch scan program 10P (see FIG. 3) for realizing the batch scan operation is installed. The batch scan operation is an operation in which images of a plurality of originals are collectively read by the scan unit 10e and stored as one image file or a plurality of image files for each original.

これらのソフトウェアを構成するソフトウェアモジュールは、必要に応じてRAM10bにロードされ、CPU10aによって実行される。大容量記憶装置10dとして、HDD(Hard Disk Drive)またはSSD(Solid State Drive)など不揮発性の記憶装置が用いられる。 The software modules constituting these software are loaded into the RAM 10b as needed and executed by the CPU 10a. As the large-capacity storage device 10d, a non-volatile storage device such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive) is used.

ネットワークインタフェース10gは、通信回線を介して外部の装置を相手にTCP/IP(Transmission Control Protocol/Internet Protocol)などのプロトコルで通信を行う。ネットワークインタフェース10gとして、例えばNIC(Network Interface Card)が用いられる。 The network interface 10g communicates with an external device via a communication line using a protocol such as TCP / IP (Transmission Control Protocol / Internet Protocol). As the network interface 10g, for example, a NIC (Network Interface Card) is used.

操作パネル10hは、キー入力部10h1、タッチパネルディスプレイ10h2、および副電源スイッチ10h3などによって構成される。 The operation panel 10h is composed of a key input unit 10h1, a touch panel display 10h2, an auxiliary power switch 10h3, and the like.

キー入力部10h1は、ハードウェアキーを配置したパネルであって、スタートキー10h4とともにストップキー、テンキー、およびファンクションキーなどを有している。 The key input unit 10h1 is a panel on which hardware keys are arranged, and has a stop key, a numeric keypad, a function key, and the like together with a start key 10h4.

タッチパネルディスプレイ10h2には、ユーザに対してメッセージまたは指示を与えるための画面、ユーザが所望する処理の種類および処理条件を入力するための画面、およびCPU10aなどで実行された処理の結果を示す画面などが表示される。ユーザは、これらの画面を見ながらキー入力部10h1またはタッチパネルディスプレイ10h2を操作することによって、画像形成装置1に対して情報および指令を入力することができる。 The touch panel display 10h2 has a screen for giving a message or instruction to the user, a screen for inputting the type and processing conditions of the process desired by the user, a screen showing the result of the process executed by the CPU 10a or the like, and the like. Is displayed. The user can input information and commands to the image forming apparatus 1 by operating the key input unit 10h1 or the touch panel display 10h2 while looking at these screens.

副電源スイッチ10h3は、スリープモードなどの省電力モードへ移行するように画像形成装置1に対してユーザが指示するためのスイッチである。 The auxiliary power switch 10h3 is a switch for instructing the image forming apparatus 1 to shift to a power saving mode such as a sleep mode.

自動原稿送り装置10kは、ADF(Auto Document Feeder)であって、原稿給紙トレイにセットされた原稿を1枚ずつスキャンユニット10eの読取り位置へ搬送し、スキャンユニット10eによる原稿の読取り後に原稿排紙トレイへ原稿を排出する。 The automatic document feeder 10k is an ADF (Auto Document Feeder) that conveys the documents set in the document paper feed tray one by one to the reading position of the scan unit 10e, and ejects the documents after the documents are read by the scan unit 10e. Discharge the document to the paper tray.

また、自動原稿送り装置10kは、原稿セットセンサ10k1を備えている。原稿セットセンサ10k1は、原稿がセットされたことを公知のタクトスイッチによって検知し、CPU10aへ通知する。 Further, the automatic document feeder 10k includes a document set sensor 10k1. The document set sensor 10k1 detects that the document has been set by a known tact switch and notifies the CPU 10a.

さらに、自動原稿送り装置10kは、スキャンユニット10eのプラテンガラス10e2(原稿台ガラス)を覆ったり露出させたりするために背面側の回転軸を中心に回転して開閉することが可能に設けられている。ユーザは、スキャンユニット10eによる読取りにおいて原稿を押さえかつ原稿の周囲の背景(白地面)となる原稿カバー10k2として自動原稿送り装置10kを用いることができる。 Further, the automatic document feeder 10k is provided so as to be able to rotate around a rotation axis on the back side to open and close in order to cover or expose the platen glass 10e2 (document base glass) of the scan unit 10e. There is. The user can use the automatic document feeder 10k as the document cover 10k2 that holds the document and serves as the background (white background) around the document when it is read by the scan unit 10e.

スキャンユニット10eは、プラテンガラス10e2の上面に置かれた原稿を撮像するフラットベッド型のイメージスキャナである。プラテンガラス10e2の下側に主走査のためのラインセンサと副走査方向に移動するスライダーが設けられている。ラインセンサによる撮像の方式は、縮小投影方式でもよいし、密着方式でもよい。縮小投影方式では、スライダーに光源と原稿からの反射光をラインセンサに導くミラーとが設けられる。 The scan unit 10e is a flatbed type image scanner that captures an image of a document placed on the upper surface of the platen glass 10e2. A line sensor for the main scan and a slider for moving in the sub-scan direction are provided on the lower side of the platen glass 10e2. The method of imaging by the line sensor may be a reduced projection method or a close contact method. In the reduced projection method, the slider is provided with a light source and a mirror that guides the reflected light from the document to the line sensor.

スキャンユニット10eは、プラテンガラス10e2の上に載置された原稿シート、書籍、またはその他の印刷物などに記されている写真、文字、絵、図表などからなる画像を光学的に読み取って画像データを生成する。以下、この画像データを「スキャンデータ」と記載することがある。 The scan unit 10e optically reads an image consisting of photographs, characters, pictures, charts, etc. written on a manuscript sheet, a book, or other printed matter placed on the platen glass 10e2 to read image data. Generate. Hereinafter, this image data may be referred to as "scan data".

スキャンユニット10eは、装置持ち上げセンサ10e1を備えている。装置持ち上げセンサ10e1は、自動原稿送り装置10kが持ち上げられたことおよび元に戻されたこと、すなわち原稿カバー10k2が開状態になったことおよび閉状態に戻ったことを公知の磁気センサによって検知し、CPU10aへ通知する。 The scan unit 10e includes a device lifting sensor 10e1. The device lifting sensor 10e1 detects that the automatic document feeder 10k has been lifted and returned, that is, the document cover 10k2 has been opened and returned to the closed state by a known magnetic sensor. , Notifies the CPU 10a.

画像処理回路10jは、スキャンユニット10eから受け取ったスキャンデータにシェーディング補正および色収差補正といった読取り光学系の特性に関わる処理を施す。さらに、印刷用のラスタデータの生成、保存用の圧縮データの生成といったデータ出力処理の一部または全部を受け持つ。画像処理回路10jは、受け持った処理をソフトウェアのみで行う場合よりも高速に行うためのハードウェアを含んで構成される。画像処理回路10jは、ASIC(Application Specific Integrated Circuit)またはFPGA(Field Programmable Gate Array)などによって構成することができる。 The image processing circuit 10j performs processing related to the characteristics of the reading optical system, such as shading correction and chromatic aberration correction, on the scan data received from the scan unit 10e. Furthermore, it is in charge of part or all of the data output processing such as generation of raster data for printing and generation of compressed data for storage. The image processing circuit 10j is configured to include hardware for performing the processing in charge at a higher speed than when the processing is performed only by software. The image processing circuit 10j can be configured by an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or the like.

ファクシミリユニット10iは、公衆電話回線を介してファックス端末との間でG3などのプロトコルで画像データをやり取りするための装置である。 The facsimile unit 10i is a device for exchanging image data with a fax terminal via a public telephone line by a protocol such as G3.

印刷ユニット10fは、スキャンユニット10eによって読み取られた画像のほか、外部の情報処理装置またはファックス端末などから受信した画像データに示される画像をシートに印刷する。 In addition to the image read by the scan unit 10e, the print unit 10f prints an image shown in the image data received from an external information processing device, a fax terminal, or the like on the sheet.

印刷ユニット10fは、画像形成部11、自動両面ユニット12、給紙部13、および給紙キャビネット14などによって構成される。 The printing unit 10f is composed of an image forming unit 11, an automatic double-sided unit 12, a paper feeding unit 13, a paper feeding cabinet 14, and the like.

画像形成部11は、電子写真方式のタンデム型のカラープリンタエンジンであって、感光体ドラム31a,31b,31c,31d、露光走査ユニット32a,32b,32c,32d、転写ベルト33、および前扉センサ34などによって構成される。 The image forming unit 11 is an electrophotographic tandem color printer engine, and includes photoconductor drums 31a, 31b, 31c, 31d, an exposure scanning unit 32a, 32b, 32c, 32d, a transfer belt 33, and a front door sensor. It is composed of 34 and the like.

感光体ドラム31a〜31dは、それぞれ、イエロー、マゼンタ、シアン、および黒に対応する感光体ドラムである。同様に、露光走査ユニット32a〜32dは、それぞれ、イエロー、マゼンタ、シアン、およびブラックに対応する露光走査ユニットである。 The photoconductor drums 31a to 31d are photoconductor drums corresponding to yellow, magenta, cyan, and black, respectively. Similarly, the exposure scanning units 32a to 32d are exposure scanning units corresponding to yellow, magenta, cyan, and black, respectively.

露光走査ユニット32a〜32dは、それぞれ、CPU10aからの信号に基づいて印刷対象の画像に応じて露光することによって、感光体ドラム31a〜31dに静電潜像を作像する。感光体ドラム31a〜31dに各色のトナーが付着することにより、静電潜像がトナー像に可視化される。 Each of the exposure scanning units 32a to 32d creates an electrostatic latent image on the photoconductor drums 31a to 31d by exposing the image to be printed based on the signal from the CPU 10a. By adhering the toner of each color to the photoconductor drums 31a to 31d, the electrostatic latent image is visualized in the toner image.

転写ベルト33には、感光体ドラム31a〜31dのそれぞれに形成された各色のトナー像が重ねられる。これにより、フルカラーのトナー像が転写ベルト33に形成される。 Toner images of each color formed on the photoconductor drums 31a to 31d are superimposed on the transfer belt 33. As a result, a full-color toner image is formed on the transfer belt 33.

前扉センサ34は、公知のタクトスイッチによって、前扉カバーが開放されたことを検知し、CPU10aへ通知する。 The front door sensor 34 detects that the front door cover has been opened by a known tact switch, and notifies the CPU 10a.

給紙部13は、画像形成装置1に標準に装備されている、画像形成部11へシートを供給するためのユニットである。給紙部13は、1つまたは複数の給紙カセット13aおよびピックアップローラ13bなどによって構成される。給紙カセット13aには、用紙が収納される。ピックアップローラ13bは、給紙カセット13aからシートを1枚ずつピックアップして画像形成部11へ搬出する。 The paper feed unit 13 is a unit for supplying a sheet to the image forming unit 11 which is provided as standard in the image forming apparatus 1. The paper feed unit 13 is composed of one or more paper feed cassettes 13a, a pickup roller 13b, and the like. Paper is stored in the paper cassette 13a. The pickup roller 13b picks up the sheets one by one from the paper feed cassette 13a and carries them out to the image forming unit 11.

給紙キャビネット14は、給紙部13と同様に画像形成部11へシートを供給するユニットであるが、画像形成装置1にオプションとして装備される。給紙キャビネット14の給紙カセット14aからピックアップローラ14bによって送り出されたシートは給紙部13を経由して画像形成部11へ供給される。 The paper feed cabinet 14 is a unit that supplies sheets to the image forming unit 11 like the paper feeding unit 13, but is provided as an option in the image forming apparatus 1. The sheet sent out from the paper feed cassette 14a of the paper feed cabinet 14 by the pickup roller 14b is supplied to the image forming unit 11 via the paper feed unit 13.

そして、転写ベルト33に形成されたトナー像が、給紙部13または給紙キャビネット14から搬出されてきたシートに転写される。 Then, the toner image formed on the transfer belt 33 is transferred to the sheet carried out from the paper feed unit 13 or the paper feed cabinet 14.

自動両面ユニット12は、片面に画像が印刷されたシートの裏表を反転させて、通紙経路上で一旦スイッチバックさせ、再度、画像形成部11へ給紙する。これにより、両面印刷が可能になる。 The automatic double-sided unit 12 reverses the front and back of the sheet on which the image is printed on one side, switches back once on the paper passing path, and feeds the image to the image forming unit 11 again. This enables double-sided printing.

図3に示すように、一括スキャンプログラム10Pによると、原稿画像検出部101、原稿重なり検出部102、保持処理部103、原稿重なり通知部104、および画像出力部105などの機能が画像形成装置1に実現される。CPU10aによる一括スキャンプログラム10Pの実行に際して、ワークエリアとしてRAM10bが用いられる。 As shown in FIG. 3, according to the batch scan program 10P, the image forming apparatus 1 has functions such as a document image detection unit 101, a document overlap detection unit 102, a holding processing unit 103, a document overlap notification unit 104, and an image output unit 105. Will be realized. When the batch scan program 10P is executed by the CPU 10a, the RAM 10b is used as a work area.

図3および図4を参照して、CPU10aは、ユーザによるスキャン指示3が操作パネル10hを介して入力されると、スキャンユニット10eに原稿の読取りを指令する。スキャンユニット10eは、この指令が与えられると、プラテンガラス10e2における読取対象領域92の走査を行ってスキャンデータ4を生成する。読取対象領域92は、ユーザによる読取りサイズの指定、または原稿サイズセンサによる検出結果に基づいて決定される。基本的には、読取対象領域92は、主走査および副走査の起点91を頂点としかつ配置された全ての原稿20(20a,20b,20c)を包含する最小の矩形の領域とされる。 With reference to FIGS. 3 and 4, the CPU 10a instructs the scan unit 10e to read the document when the scan instruction 3 by the user is input via the operation panel 10h. When this command is given, the scan unit 10e scans the reading target area 92 on the platen glass 10e2 to generate scan data 4. The scanning target area 92 is determined based on the reading size specified by the user or the detection result by the document size sensor. Basically, the scanning target area 92 is the smallest rectangular area including all the originals 20 (20a, 20b, 20c) arranged with the starting point 91 of the main scan and the sub scan as the apex.

スキャンデータ4には、シェーディング補正、傾き補正、トリミング、および圧縮などの画像処理のうち、モードにより決まる必要な処理が施される。スキャンデータ4は、ファイル化されて画像ファイル5として大容量記憶装置10dに記憶される。その後、画像ファイル5は、大容量記憶装置10dで記憶され続ける(つまり保存される)場合もあるし、直ぐに読み出されて外部のパーソナルコンピュータなどに転送される場合もある。 The scan data 4 is subjected to necessary processing determined by the mode among image processing such as shading correction, tilt correction, trimming, and compression. The scan data 4 is converted into a file and stored as an image file 5 in the large-capacity storage device 10d. After that, the image file 5 may be continuously stored (that is, stored) in the large-capacity storage device 10d, or may be immediately read out and transferred to an external personal computer or the like.

以下において、記憶されているスキャンデータ4の全部または一部を所定の条件が満たされたときにファイル化して画像ファイル5として大容量記憶装置10dに記憶させることを「取込」と記載し、取込を行うことを「取り込む」と表現する。 In the following, it is described as "importing" that all or part of the stored scan data 4 is converted into a file when a predetermined condition is satisfied and stored as an image file 5 in the large-capacity storage device 10d. Taking in is expressed as "taking in".

ところで、画像形成装置1のユーザは、プラテンガラス10e2に複数枚のシート状の原稿20a〜20cを配置し、これらの原稿20a〜20cの画像を画像形成装置1に一斉に読み取らせてデータ化したりコピーしたりすることができる。例えば、買い物のレシート、チケット、または写真など、自動原稿送り装置10kでは搬送できない小サイズまたはサイズが様々な多数のシートの画像をまとめてデータ化する、という場合がある。複数枚ずつ配置して読み取らせることにより、1枚だけ配置しては読み取らせるという動作を繰り返す場合よりも、データ化の作業の手数が少なくなる。作業を早く終えることもできる。コピーの場合も同様である。 By the way, the user of the image forming apparatus 1 arranges a plurality of sheet-shaped documents 20a to 20c on the platen glass 10e2, and causes the image forming apparatus 1 to read the images of these documents 20a to 20c all at once and convert them into data. You can copy it. For example, there are cases where images of a large number of sheets having various small sizes or sizes that cannot be conveyed by the automatic document feeder 10k, such as shopping receipts, tickets, or photographs, are collectively converted into data. By arranging and reading a plurality of sheets at a time, the number of steps for data conversion is reduced as compared with the case where only one sheet is arranged and read. You can also finish the work early. The same applies to copying.

本実施形態において、画像形成装置1は、読取対象領域92を取込の単位とする「一括取込モード」と個々の原稿を取込の単位とする「個別取込モード」とを有し、これらのモードをユーザが選択するように構成されている。図4(A)の例のように3枚の原稿20a〜20cが配置された場合、一括取込モードでは1つの画像ファイル5が生成され、個別取込モードでは3つの画像ファイル5が生成される。 In the present embodiment, the image forming apparatus 1 has a "batch import mode" as a unit for importing the scanning target area 92 and an "individual import mode" as a unit for importing individual documents. It is configured for the user to select these modes. When three originals 20a to 20c are arranged as in the example of FIG. 4A, one image file 5 is generated in the batch import mode, and three image files 5 are generated in the individual import mode. File.

ただし、一括取込モードでも個別取込モードでも、画像形成装置1による原稿20a〜20cとその周囲との判別の精度を高める上で、原稿20a〜20cを配置した後に原稿カバー10k2を閉じるのが好ましい。 However, in both the batch import mode and the individual import mode, in order to improve the accuracy of discrimination between the documents 20a to 20c by the image forming apparatus 1 and its surroundings, it is recommended to close the document cover 10k2 after arranging the documents 20a to 20c. preferable.

しかし、原稿20a〜20cが湾曲していたり折れ曲がっていたりすると、原稿カバー10k2を閉じたときに原稿20a〜20cが原稿カバー10k2に押されて平たくなることによって、原稿20どうしが部分的に重なる「原稿重なり」が生じることがある。 However, if the documents 20a to 20c are curved or bent, the documents 20a to 20c are pushed by the document cover 10k2 and flattened when the document cover 10k2 is closed, so that the documents 20 partially overlap each other. "Overlapping documents" may occur.

また、原稿カバー10k2を開いた状態では、原稿20a〜20cが重ならずに並んでいたとしても、原稿カバー10k2を閉じるときにプラテンガラス10e2との間に生じる気流により原稿20a〜20cが移動して原稿重なりが生じることもある。図4(B)の例では、原稿20aと原稿20bとが重なる原稿重なりが生じている。なお、原稿カバー10k2は、上述した通り背面側の回転軸を中心に回転するので、背面側から前面側へ原稿20a〜20cを移動させる気流が発生する。 Further, in the state where the document cover 10k2 is opened, even if the documents 20a to 20c are lined up without overlapping, the documents 20a to 20c move due to the air flow generated between the document cover 10k2 and the platen glass 10e2 when the document cover 10k2 is closed. Overlapping of documents may occur. In the example of FIG. 4B, there is a document overlap in which the document 20a and the document 20b overlap. Since the document cover 10k2 rotates about the rotation axis on the back side as described above, an air flow that moves the documents 20a to 20c from the back side to the front side is generated.

原稿重なりが生じると、重なり合った複数枚の原稿20のうちの上側の原稿20(図4(B)の例では原稿20b)の重なった部分の画像を読み取ることができず、データ化が不完全になってしまう。ユーザが原稿カバー10k2を開いて原稿20a〜20cの配置を修正したとしても、原稿カバー10k2を閉じたときに再び原稿重なりが生じることがある。したがって、従来のように原稿重なりが生じたことをユーザに警告するだけでは、原稿20a〜20cの配置の修正をユーザに何回も強いるという状況が起こり得る。 When the originals overlap, the image of the overlapping portion of the upper original 20 (the original 20b in the example of FIG. 4B) of the plurality of overlapping originals 20 cannot be read, and the data conversion is incomplete. Become. Even if the user opens the document cover 10k2 and corrects the arrangement of the documents 20a to 20c, the document overlap may occur again when the document cover 10k2 is closed. Therefore, a situation may occur in which the user is forced to correct the arrangement of the documents 20a to 20c many times simply by warning the user that the documents have overlapped as in the conventional case.

そこで、画像形成装置1は、複数枚の原稿の画像を一斉に読み取る場合における画像形成装置1の使い勝手を従来よりも良くする以下の処理を行う。 Therefore, the image forming apparatus 1 performs the following processing to improve the usability of the image forming apparatus 1 when reading the images of a plurality of originals at the same time.

図5は、一括スキャン動作の概略の流れを示すフローチャートである。図6は、原稿画像検出処理の流れの例を示すフローチャートである。図7は、原稿画像検出処理を模式的に示す図である。 FIG. 5 is a flowchart showing a schematic flow of the batch scan operation. FIG. 6 is a flowchart showing an example of the flow of the original image detection process. FIG. 7 is a diagram schematically showing the original image detection process.

図5において、ユーザにより操作パネル10hを用いてスキャナの機能が選択され、必要に応じて原稿サイズおよび解像度などが指定され、その後にスタートキー10h4が押されると、スキャンユニット10eは、読取対象領域92の走査を行う(#201)。スキャンユニット10eは、走査により読取対象領域92の全体を読み取ったスキャン画像40(図7では40a)を示すスキャンデータ4を生成する。 In FIG. 5, when the scanner function is selected by the user using the operation panel 10h, the document size and resolution are specified as necessary, and then the start key 10h4 is pressed, the scanning unit 10e is subjected to the scanning target area. Scan 92 (# 201). The scan unit 10e generates scan data 4 showing a scan image 40 (40a in FIG. 7) in which the entire reading target area 92 is read by scanning.

原稿画像検出部101は、スキャンデータ4に基づいて、スキャン画像40のうちの原稿を撮像した部分である原稿画像42を次の手順によって検出する(#202)。 Based on the scan data 4, the document image detection unit 101 detects the document image 42, which is the portion of the scan image 40 in which the document is captured, by the following procedure (# 202).

図6および図7を参照して、原稿画像検出部101は、スキャン画像40aにおける白地背景レベル(第一の下地レベル)L41と原稿下地レベル(第二の下地レベル)L42とを検出する(図6の#221、#222)。白地背景レベルL41は、スキャン画像40aのうちの原稿画像42(42a,42b,42c)ではない背景画像41の明るさのレベルである。原稿下地レベルL42は、原稿画像42a〜42cそれぞれの下地部分の明るさのレベルである。 With reference to FIGS. 6 and 7, the document image detection unit 101 detects a white background level (first background level) L41 and a document background level (second background level) L42 in the scanned image 40a (FIG. 6). 6 # 221 and # 222). The white background level L41 is the brightness level of the background image 41 that is not the original image 42 (42a, 42b, 42c) of the scanned images 40a. The document background level L42 is the brightness level of the background portion of each of the document images 42a to 42c.

具体的には、原稿カバー10k2の白地面を読み取ったときの画素値(明るさ)を予め記憶している場合には、その画素値を白地背景レベルL41とする。白地面を読み取ったときの画素値を記憶していない場合は、スキャン画像40aの画素値の度数分布(ヒストグラム)を求め、明るい側の所定の画素値範囲内における最も度数の大きい画素値を白地背景レベルL41とする。 Specifically, when the pixel value (brightness) when the white background of the document cover 10k2 is read is stored in advance, the pixel value is set to the white background level L41. If the pixel value when the white background is read is not stored, the frequency distribution (histogram) of the pixel value of the scanned image 40a is obtained, and the pixel value having the highest frequency within a predetermined pixel value range on the bright side is used as the white background. The background level is L41.

原稿下地レベルL42については、スキャン画像40aの画素値の度数分布において、白地背景レベルL41よりも所定の値だけ低い(暗い)画素値範囲内で度数の大きい画素値を原稿下地レベルL42とする。 Regarding the document background level L42, in the frequency distribution of the pixel values of the scanned image 40a, the pixel value having a large frequency within the (dark) pixel value range lower than the white background level L41 by a predetermined value is defined as the document background level L42.

原稿画像検出部101は、図7(B)に示すように、白地背景レベルL41と原稿下地レベルL42の間の画素値をしきい値Lthに設定し、スキャン画像40aをしきい値Lthよりも明るい白領域としきい値Lthよりも暗い黒領域とに分けた2値化画像を生成する。そして、2値化画像から黒領域を抽出する(#223)。または、スキャン画像40aから画素値が原稿下地レベルL42以下の画素のみを抽出する。このような抽出を行うことが原稿画像42a〜42cを検出することになる。 As shown in FIG. 7B, the document image detection unit 101 sets the pixel value between the white background level L41 and the document background level L42 to the threshold value Lth, and sets the scanned image 40a to the threshold value Lth. A binarized image divided into a bright white area and a black area darker than the threshold Lth is generated. Then, the black region is extracted from the binarized image (# 223). Alternatively, only the pixels whose pixel values are the document base level L42 or less are extracted from the scanned image 40a. Performing such extraction will detect the original images 42a to 42c.

原稿画像検出部101は、原稿画像42a〜42cを検出した後、公知のエッジ検出の手法を用いて原稿画像42a〜42cの輪郭43(43ab,43c)を抽出し、輪郭43に対応する画素の位置を示す位置情報を原稿重なり検出部102に通知する(#224)。 After detecting the original images 42a to 42c, the original image detection unit 101 extracts the contours 43 (43ab, 43c) of the original images 42a to 42c by using a known edge detection method, and the pixel corresponding to the contour 43. The position information indicating the position is notified to the document overlap detection unit 102 (# 224).

図5に戻って、原稿重なり検出部102は、原稿画像検出部101により抽出された輪郭43ab,43cに基づいて、原稿重なりを検出する(#203)。検出の方法を後に述べる。 Returning to FIG. 5, the document overlap detection unit 102 detects the document overlap based on the contours 43ab and 43c extracted by the document image detection unit 101 (# 203). The detection method will be described later.

また、原稿重なり検出部102は、ステップ#202の原稿画像検出処理で検出された原稿画像42a〜42cを、適正画像421と不適正画像422とに判別する。適正画像421は、どの部分も他のいずれの原稿にも重なっていない原稿の画像である。不適正画像422は、適正画像421ではない原稿画像42である。なお、不適正画像422は、重なり合った複数枚の原稿のうちの最下の原稿の画像と最下以外の原稿のうち他の原稿と重なっていない部分の画像とで構成される。図7(A)の例のスキャン画像40aでは、原稿画像42cが適正画像421と判別され、原稿画像42a,42bが不適正画像422と判別される。 Further, the document overlap detection unit 102 discriminates the document images 42a to 42c detected in the document image detection process of step # 202 into a proper image 421 and an inappropriate image 422. The proper image 421 is an image of a manuscript in which no part overlaps with any other manuscript. The improper image 422 is a manuscript image 42 that is not the proper image 421. The improper image 422 is composed of an image of the lowest original among a plurality of overlapping originals and an image of a portion of a non-bottom original that does not overlap with other originals. In the scanned image 40a of the example of FIG. 7A, the original image 42c is determined to be the proper image 421, and the original images 42a and 42b are determined to be the inappropriate images 422.

保持処理部103は、原稿重なり検出部102により原稿重なりが検出された場合に(#204でYES)、適正画像421を保持する(#205)。詳しくは、スキャン画像40aにおける適正画像421の位置情報(座標または画素番号)とスキャン画像40aとを紐づけて適正画像保持部106に記憶させる。または、適正画像421の全画素の画素値を画素番号とともに記憶させる。適正画像保持部106は、RAM10b、画像処理回路10j内のメモリ、または大容量記憶装置10dに適正画像421を保持するために設けられる記憶領域である。 The holding processing unit 103 holds the proper image 421 (# 205) when the document overlap detecting unit 102 detects the document overlap (YES in # 204). Specifically, the position information (coordinates or pixel numbers) of the appropriate image 421 in the scanned image 40a is associated with the scanned image 40a and stored in the appropriate image holding unit 106. Alternatively, the pixel values of all the pixels of the proper image 421 are stored together with the pixel numbers. The appropriate image holding unit 106 is a storage area provided for holding the appropriate image 421 in the RAM 10b, the memory in the image processing circuit 10j, or the large-capacity storage device 10d.

また、このステップ#205において、原稿重なり通知部104が、原稿重なりが発生していることをユーザに通知し、それによって原稿の再配置(配置し直すこと)をユーザに促す。 Further, in step # 205, the document overlap notification unit 104 notifies the user that the document overlap has occurred, thereby prompting the user to rearrange (rearrange) the documents.

本実施形態においては、原稿の再配置には次の2つの態様が想定されている。
(A1):重なっていない原稿を取り除き、重なっている原稿の配置を重ならないように変更する。
(A2):(A1)を行い、さらに重なっていない原稿を取り除いたことで空いた領域(スペース)に新たに別の原稿を配置する。
In the present embodiment, the following two modes are assumed for rearranging the manuscript.
(A1): Remove the non-overlapping documents and change the arrangement of the overlapping documents so that they do not overlap.
(A2): Perform (A1) and place another original in the vacant area (space) by removing the non-overlapping originals.

なお、ユーザは、従来から行われる一般的な再配置、すなわち重なっていない原稿を取り除くことなく全ての原稿が重ならないように配置し直す態様(A3)の再配置を行うことも可能である。 It should be noted that the user can also perform a general rearrangement that is conventionally performed, that is, a rearrangement in a mode (A3) in which all the originals are rearranged so as not to overlap without removing the non-overlapping originals.

ユーザが原稿の再配置を行って再びスタートキー10h4を押すと、スキャンユニット10eは、再び読取対象領域92の走査(再走査)を行い、スキャンデータ4を生成する。このスキャンデータ4に基づいて、前回の走査時と同様に、原稿画像の検出および原稿重なりの検出などが行われる。 When the user rearranges the documents and presses the start key 10h4 again, the scan unit 10e scans (rescans) the scanning target area 92 again to generate scan data 4. Based on the scan data 4, the original image is detected, the original overlap is detected, and the like, as in the previous scan.

そして、原稿重なりが検出されなかった場合に、前回の走査時に保持された適正画像421と今回の再走査により得られたスキャン画像40の原稿画像42との取込が画像出力部105によって行われる(#206)。原稿重なりが検出された場合は、再びユーザに原稿の再配置を促す通知が行われる。ただし、再走査によるスキャン画像40に適正画像421があれば、保持処理部103は、適正画像421を保持する。 Then, when the original overlap is not detected, the image output unit 105 captures the proper image 421 held during the previous scan and the original image 42 of the scanned image 40 obtained by the current rescan. (# 206). When the original overlap is detected, the user is notified again to relocate the originals. However, if there is a proper image 421 in the scanned image 40 by rescanning, the holding processing unit 103 holds the proper image 421.

一方、1回目の走査により得られたスキャン画像40において原稿重なりが検出されなかった場合は(#204でNO)、このスキャン画像40について画像出力部105によって取込が行われる(#207)。このとき、一括取込モードであれば、スキャン画像40の全体を示す1つの画像ファイル5が記憶される。個別取込モードであれば、スキャン画像40に含まれる複数の原稿画像それぞれを示す画像ファイル5が記憶される。 On the other hand, if no document overlap is detected in the scanned image 40 obtained by the first scanning (NO in # 204), the scanned image 40 is captured by the image output unit 105 (# 207). At this time, in the batch import mode, one image file 5 showing the entire scanned image 40 is stored. In the individual capture mode, an image file 5 showing each of the plurality of original images included in the scanned image 40 is stored.

以下、ステップ#203からステップ#206までの処理についてさらに詳しく説明する。 Hereinafter, the processes from step # 203 to step # 206 will be described in more detail.

図8は、図5における原稿重なり検出処理の流れの例を示すフローチャートである。図9は、図5における保持・通知処理の流れの例を示すフローチャートである。図10は、原稿重なりが生じたことを通知する画面81,81bの例を示す図である。図11は、スキャン画像40bにおける原稿画像42d,42eとプラテンガラス10e2における原稿20d,20eとの向きの関係を示す図である。 FIG. 8 is a flowchart showing an example of the flow of the document overlap detection process in FIG. FIG. 9 is a flowchart showing an example of the flow of the holding / notification process in FIG. FIG. 10 is a diagram showing an example of screens 81 and 81b for notifying that document overlap has occurred. FIG. 11 is a diagram showing the orientation relationship between the original images 42d and 42e in the scanned image 40b and the originals 20d and 20e in the platen glass 10e2.

図8に示すように、原稿重なり検出部102は、原稿画像検出部101から輪郭43ab,43cを特定する情報を取得する(#231)。次に、取得した情報により特定される輪郭、つまり輪郭43ab,43cのうちの1つに注目し、注目した輪郭43を構成する線が直角に曲がる変曲点を特定してその数および座標を求め(#232)、注目した輪郭43の形状が一般的な原稿の形状である矩形(四角形)であるか否かを判断する(#233)。具体的には、変曲点(頂点)の数が4である場合は矩形であると判断し、4以外である場合は矩形ではないと判断する。 As shown in FIG. 8, the document overlap detection unit 102 acquires information for identifying the contours 43ab and 43c from the document image detection unit 101 (# 231). Next, pay attention to the contour specified by the acquired information, that is, one of the contours 43ab and 43c, identify the inflection point at which the line constituting the focused contour 43 bends at a right angle, and determine the number and coordinates thereof. It is determined (# 232) and whether or not the shape of the contour 43 of interest is a rectangle (quadrangle) which is a general document shape (# 233). Specifically, when the number of inflection points (vertices) is 4, it is determined that it is a rectangle, and when it is other than 4, it is determined that it is not a rectangle.

原稿重なり検出部102は、矩形であると判断した場合に(#233でYES)、注目した輪郭43に包含される原稿画像42を適正画像421と判別する(#234)。なお、矩形の輪郭43における1つの頂点の一方の座標値X(またはY)が他のいずれかの頂点の座標値X(またはY)と同一である場合は、注目した輪郭43は座標軸に対して傾いていないことになる。 When the document overlap detection unit 102 determines that the image is rectangular (YES in # 233), the document overlap detection unit 102 determines that the document image 42 included in the contour 43 of interest is a proper image 421 (# 234). When the coordinate value X (or Y) of one of the vertices in the rectangular contour 43 is the same as the coordinate value X (or Y) of any of the other vertices, the contour 43 of interest is relative to the coordinate axes. It will not be tilted.

一方、原稿重なり検出部102は、注目した輪郭43が矩形ではないと判断した場合に(#233でNO)、注目した輪郭43に包含される原稿画像42を不適正画像422と判別する(#235)。 On the other hand, when the document overlap detection unit 102 determines that the contour 43 of interest is not rectangular (NO in # 233), the document overlap detection unit 102 determines that the document image 42 included in the contour 43 of interest is an inappropriate image 422 (#). 235).

原稿重なり検出部102は、全ての輪郭43に注目したか否かをチェックし(#236)、全ての輪郭43に注目していない場合は(#236でNO)、ステップ#232に戻って注目していない輪郭43の1つに注目する。原稿重なり検出部102は、全ての輪郭43について、それぞれに包含される原稿領域42が適正画像421であるか不適正画像422であるかを判別するまで(#236でYES)、ステップ#232〜ステップ#236の処理を繰り返す。 The document overlap detection unit 102 checks whether or not all contours 43 have been paid attention to (# 236), and if not all contours 43 have been paid attention (NO in # 236), returns to step # 232 and pays attention. Pay attention to one of the contours 43 that are not. The document overlap detection unit 102 determines in all contours 43 whether the document area 42 included in each is a proper image 421 or an inappropriate image 422 (YES in # 236), and steps # 232 to # 232. The process of step # 236 is repeated.

図9に示すように、保持処理部103は、原稿画像検出部101により検出された原稿画像42の1つに注目し、注目した原稿画像42についての原稿重なり検出部102による判別の結果を取得する(#241)。 As shown in FIG. 9, the holding processing unit 103 pays attention to one of the document images 42 detected by the document image detection unit 101, and acquires the result of determination by the document overlap detection unit 102 for the focused document image 42. (# 241).

判別の結果が不適正画像422ではない場合(#242でNO)、つまり適正画像421である場合は、注目した原稿画像42を適正画像保持部106に記憶させることによって保持する(#243)。 When the result of the determination is not the improper image 422 (NO in # 242), that is, the proper image 421, the original image 42 of interest is stored by being stored in the appropriate image holding unit 106 (# 243).

これに対して、判別の結果が不適正画像422である場合は、注目した原稿画像42を保持しないと決定し(#244)、注目した原稿画像42を決定の通り保持しない。 On the other hand, when the result of the determination is an inappropriate image 422, it is determined not to hold the focused manuscript image 42 (# 244), and the focused manuscript image 42 is not held as determined.

保持処理部103は、原稿画像検出部101により検出された全ての原稿画像42について処理を終えたか否かをチェックし(#245)、全ての原稿画像42について処理を終えていない場合は(#245でNO)、ステップ#241に戻って注目していない原稿画像42の1つに注目する。保持処理部103は、全ての原稿画像42について処理を終えるまで(#245でYES)、ステップ#241からステップ#245までの処理を繰り返す。 The holding processing unit 103 checks whether or not all the original image 42 detected by the original image detecting unit 101 has been processed (# 245), and if all the original images 42 have not been processed (# 245). NO at 245), return to step # 241 and focus on one of the manuscript images 42 that has not been noticed. The holding processing unit 103 repeats the processing from step # 241 to step # 245 until the processing for all the original images 42 is completed (YES in # 245).

原稿重なり通知部104は、保持処理部103により保持しないと決定された原稿領域42が1つでもあった場合に(#246でYES)、例えば図10(A)に示す画面81をタッチパネルディスプレイ10h2に表示させることによって、原稿重なりが生じていることをユーザに通知する(#247)。 The document overlap notification unit 104 displays the screen 81 shown in FIG. 10A, for example, on the touch panel display 10h2 when there is even one document area 42 determined not to be held by the holding processing unit 103 (YES in # 246). Notifies the user that the document overlap has occurred (# 247).

画面81は、メッセージ810と、はいボタン811と、いいえボタン812とを有する。メッセージ810は、原稿重なりが生じていることを伝える文と、原稿の再配置をするかしないかをユーザに問うことで暗に再配置を促す文とで構成される。はいボタン811は、再配置をする意思を入力するためのボタンであり、いいえボタン812は、再配置をしない意思を入力するためのボタンである。 The screen 81 has a message 810, a yes button 811 and a no button 812. The message 810 is composed of a sentence notifying that the manuscripts are overlapped and a sentence implicitly prompting the user to rearrange the manuscripts by asking the user whether or not to rearrange the manuscripts. The Yes button 811 is a button for inputting an intention to relocate, and the No button 812 is a button for inputting an intention not to relocate.

画面81においてユーザがはいボタン811にタッチすると、原稿重なり通知部104は、画面81に代えて画面82をタッチパネルディスプレイ10h2に表示させる。画面82は、メッセージ820と、はいボタン821と、いいえボタン822とを有する。 When the user touches the Yes button 811 on the screen 81, the document overlap notification unit 104 causes the screen 82 to be displayed on the touch panel display 10h2 instead of the screen 81. The screen 82 has a message 820, a yes button 821, and a no button 822.

メッセージ820は、重なりのない原稿の画像を保存したいか否かをユーザに問う文である。このメッセージ820を表示することにより、適正画像421を保持する必要があるか否かの判断をユーザに仰ぐことになる。 The message 820 is a sentence asking the user whether or not he / she wants to save the image of the original without overlapping. By displaying this message 820, the user is asked to determine whether or not it is necessary to retain the proper image 421.

はいボタン821は、保存を望むことを入力するためのボタンであり、いいえボタン822は、保存を望まないことを入力するためのボタンである。いいえボタン822がタッチされる場合としては、例えば重なっていない原稿を取り除くことなく重なっている複数の原稿(再配置対象原稿)の配置を修正しようとユーザが思う場合、つまり上に述べた態様(A3)の再配置を行おうと思う場合がある。 The Yes button 821 is a button for inputting that the user wants to save, and the No button 822 is a button for inputting that the user does not want to save. When the no button 822 is touched, for example, when the user wants to correct the arrangement of a plurality of overlapping originals (manuscripts to be rearranged) without removing the non-overlapping originals, that is, the above-described embodiment ( You may want to relocate A3).

画面82においてユーザがはいボタン821にタッチすると、原稿重なり通知部104は、画面82に代えて画面83をタッチパネルディスプレイ10h2に表示させる。 When the user touches the Yes button 821 on the screen 82, the document overlap notification unit 104 causes the screen 83 to be displayed on the touch panel display 10h2 instead of the screen 82.

画面83は、メッセージ830と確認ボタン831とを有する。メッセージ830は、原稿20の再配置を依頼するとともに再配置が終わったときの操作を案内する文章である。確認ボタン831は、再配置が完了したことを入力するためのいわゆるOKボタンである。ユーザは、原稿20の配置ができるだけ変わらないように原稿カバー10k2をゆっくりと開き、重なっていない原稿20を取り除きかつ重なっている複数枚の原稿20を重ならないように配置し直す。そして、原稿カバー10k2を閉じて確認ボタン831にタッチする。画像形成装置1は、原稿カバー10k2の開閉が行われて確認ボタン831がタッチされると、スタートキー10h4の押下を受け付ける。ユーザがスタートキー10h4を押すと、スキャンユニット10eは、読取対象領域92の走査(再走査)を行う。 The screen 83 has a message 830 and a confirmation button 831. The message 830 is a sentence that requests the rearrangement of the manuscript 20 and guides the operation when the rearrangement is completed. The confirmation button 831 is a so-called OK button for inputting that the rearrangement is completed. The user slowly opens the document cover 10k2 so that the arrangement of the documents 20 does not change as much as possible, removes the non-overlapping documents 20 and rearranges the overlapping plurality of documents 20 so as not to overlap. Then, the document cover 10k2 is closed and the confirmation button 831 is touched. When the document cover 10k2 is opened and closed and the confirmation button 831 is touched, the image forming apparatus 1 accepts the press of the start key 10h4. When the user presses the start key 10h4, the scan unit 10e scans (rescans) the read target area 92.

なお、スタートキー10h4の押下を受け付ける状態になると、原稿重なり通知部104は、画面83におけるメッセージ830に代えてスタートキー10h4の押下をユーザに促すメッセージ有した画面をタッチパネルディスプレイ10h2に表示させる。 When the press of the start key 10h4 is accepted, the document overlap notification unit 104 causes the touch panel display 10h2 to display a screen having a message prompting the user to press the start key 10h4 instead of the message 830 on the screen 83.

ところで、ユーザに原稿20の再配置を促すために、画面81ではなく、図10(B)に示す画面81bを表示してもよい。画面81bは、画面81のメッセージ810をメッセージ810bに置き換えた画面である。 By the way, in order to encourage the user to rearrange the document 20, the screen 81b shown in FIG. 10B may be displayed instead of the screen 81. The screen 81b is a screen in which the message 810 of the screen 81 is replaced with the message 810b.

メッセージ810bは、撮像された際に重なっていた原稿20のおおよその位置を示してユーザに原稿20の再配置を要求する文である。 The message 810b is a sentence indicating the approximate position of the overlapping documents 20 at the time of imaging and requesting the user to rearrange the documents 20.

重なっている原稿20の位置を示すにあたっては、図11に示すように、スキャン画像40bを例えば上下左右の4つ区画に分け、不適正画像422が主に占める区画の位置を示せばよい。図示の例では、スキャン画像40bの左上に不適正画像422である原稿画像42d,42eが存在している。 In showing the positions of the overlapping documents 20, as shown in FIG. 11, the scanned image 40b may be divided into four sections, for example, top, bottom, left, and right, and the positions of the sections mainly occupied by the improper image 422 may be shown. In the illustrated example, the original images 42d and 42e, which are inappropriate images 422, are present in the upper left of the scanned image 40b.

注意すべきことは、スキャン画像40bにおける原稿画像42d,42eの配置とプラテンガラス10e2を上から見たときの原稿20d,20eの配置とが表裏を反転した関係になることである。図11の例において、副走査方向M2は同じ方向であるが、主走査方向M1は、スキャン画像40bでは上向きであるのに対してプラテンガラス10e2では下向きである。したがって、原稿画像42d,42eに対応する原稿20d,20eは、プラテンガラス10e2では左下に配置されている。そこで、画面81bのメッセージ810bは、「左下側」の原稿が重なっていることを知らせる文章とされている。 It should be noted that the arrangement of the original images 42d and 42e in the scanned image 40b and the arrangement of the originals 20d and 20e when the platen glass 10e2 is viewed from above are in an inverted relationship. In the example of FIG. 11, the sub-scanning direction M2 is the same direction, but the main scanning direction M1 is upward in the scanned image 40b, whereas it is downward in the platen glass 10e2. Therefore, the documents 20d and 20e corresponding to the document images 42d and 42e are arranged at the lower left of the platen glass 10e2. Therefore, the message 810b on the screen 81b is a sentence informing that the "lower left side" documents are overlapped.

図12は、個別取込モードにおける取込の例を示す図である。図13は、図5における原稿重なりがあった場合に実行される画像取込処理の流れの例を示すフローチャートである。 FIG. 12 is a diagram showing an example of capture in the individual capture mode. FIG. 13 is a flowchart showing an example of a flow of image capture processing executed when there is an overlap of documents in FIG.

図12において、初回(1回目)の走査時にスキャン画像40bが得られている。スキャン画像40bは、原稿画像42d,42e,42f,42g,42h,42iを有している。これらの原稿画像42d〜42iのうち、原稿画像42f〜42iは、適正画像421と判別されて保持される。原稿画像42d,42eは、不適正画像422と判別され、それ故に保持されない。 In FIG. 12, the scanned image 40b is obtained at the time of the first (first) scanning. The scanned image 40b has original images 42d, 42e, 42f, 42g, 42h, 42i. Of these original images 42d to 42i, the original images 42f to 42i are determined to be proper images 421 and are retained. The original images 42d and 42e are determined to be inappropriate images 422 and are therefore not retained.

原稿重なりのあることがユーザに通知され、原稿の再配置が行われる。その際、原稿画像42f〜42iに対応する原稿は取り除かれ、原稿画像42d,42eに対応する2枚の原稿が重ならないように配置される。すなわち上に述べた態様(A1)の再配置が行われる。 The user is notified that the documents overlap, and the documents are rearranged. At that time, the originals corresponding to the original images 42f to 42i are removed, and the two originals corresponding to the original images 42d and 42e are arranged so as not to overlap each other. That is, the rearrangement of the above-described aspect (A1) is performed.

再配置の後に行われる再走査により、スキャン画像40cが得られる。スキャン画像40cは、原稿画像42j,42kを有している。これらの原稿画像42j,42kは、適正画像421である。 A scan image 40c is obtained by rescanning performed after the rearrangement. The scanned image 40c has original images 42j and 42k. These manuscript images 42j and 42k are proper images 421.

初回の走査時に保持された原稿画像42f,42g,42h,42iは、それぞれ画像ファイル5f,5g,5h,5iとして記憶される。 The original images 42f, 42g, 42h, and 42i held during the first scanning are stored as image files 5f, 5g, 5h, and 5i, respectively.

また、再走査により得られた原稿画像42j,42kは、それぞれ画像ファイル5j,5kとして記憶される。 Further, the original images 42j and 42k obtained by rescanning are stored as image files 5j and 5k, respectively.

次に、このような動作を行う画像形成装置1における再走査以降の処理の流れを図13のフローチャートを参照して説明する。 Next, the flow of processing after the rescanning in the image forming apparatus 1 that performs such an operation will be described with reference to the flowchart of FIG.

画像形成装置1は、画面81(または81b)においてユーザによりタッチされたボタンをチェックする(#251)。はいボタン811がタッチされた場合は、保存の問合せとして画面82を表示する(#252)。 The image forming apparatus 1 checks the button touched by the user on the screen 81 (or 81b) (# 251). When the Yes button 811 is touched, the screen 82 is displayed as a save inquiry (# 252).

そして、画面82においてユーザによりはいボタン821がタッチされた場合に、画像形成装置1は、画面83を表示することによってユーザに再配置を促す(#255)。もしも画面82においていいえボタン821がタッチされた場合は、取込を行うことなく処理を終了する。なお、この場合は、処理を終了する際に、適正画像保持部106において適正画像421の保持に用いられているアドレス領域を解放してもよい。 Then, when the yes button 821 is touched by the user on the screen 82, the image forming apparatus 1 prompts the user to relocate by displaying the screen 83 (# 255). If the No button 821 is touched on the screen 82, the process ends without importing. In this case, when the process is completed, the address area used for holding the proper image 421 may be released by the proper image holding unit 106.

一方、ステップ#251のチェックの結果がいいえボタン812であった場合には、画像形成装置1は、再配置が行われないまま適正画像421と不適正画像422とが混在している状態のスキャン画像40を取り込む(#253)。つまり、個別取込モードを解除してスキャン画像40の全体をファイル化して大容量記憶装置10dに記憶させる。 On the other hand, when the result of the check in step # 251 is the No button 812, the image forming apparatus 1 scans a state in which the proper image 421 and the improper image 422 are mixed without being rearranged. Image 40 is captured (# 253). That is, the individual capture mode is canceled, and the entire scanned image 40 is converted into a file and stored in the large-capacity storage device 10d.

ステップ#255で画面83を表示した後、再走査が行われると、画像形成装置1は、再走査によるスキャンデータ4を取得し(#256)、原稿重なり検出を行う(#257)。 When the screen 83 is displayed in step # 255 and then rescanned, the image forming apparatus 1 acquires the scan data 4 by the rescanning (# 256) and detects the document overlap (# 257).

画像形成装置1は、原稿重なりがない場合は(#258でNO)、すなわち再配置によって原稿20の重なりが解消された場合は、今回のスキャン画像40cから原稿画像42j,42kをそれぞれトリミングし(#261)、それぞれ1つの画像ファイル5として取り込む(#262)。続いて、画像形成装置1は、以前の走査時に保持した原稿画像42f〜42iそれぞれを以前のスキャン画像40bからトリミングし(#263)、それぞれ1つの画像ファイル5として取り込む(#264)。 The image forming apparatus 1 trims the original images 42j and 42k from the scanned image 40c this time when the originals do not overlap (NO in # 258), that is, when the overlapping of the originals 20 is eliminated by rearrangement (NO). # 261), each is imported as one image file 5 (# 262). Subsequently, the image forming apparatus 1 trims each of the original images 42f to 42i held during the previous scanning from the previous scanned image 40b (# 263), and captures each as one image file 5 (# 264).

一方、原稿重なりがある場合は(#258でYES)、画像形成装置1は、適正画像421があればそれを保持し(#259)、その後に画面83を表示することによって、さらなる再配置をユーザに促す(#260)。この場合、フローは、ステップ#260からステップ#256へ戻る。 On the other hand, if there is document overlap (YES in # 258), the image forming apparatus 1 holds the proper image 421 if it exists (# 259), and then displays the screen 83 for further rearrangement. Prompt the user (# 260). In this case, the flow returns from step # 260 to step # 256.

図14は、個別取込モードにおける取込の他の例を示す図である。 FIG. 14 is a diagram showing another example of capture in the individual capture mode.

図14(A)には上に述べた態様(A2)の再配置が行われた後の再走査で得られたスキャン画像40dの例が示されている。スキャン画像40dは、図12のスキャン画像40cと同様の原稿画像42j,42kに加えて、原稿画像42p,42q,42r,42s,42tを有する。これらの原稿画像42j,42k,42p〜42tは、全て適正画像421である。 FIG. 14A shows an example of the scanned image 40d obtained by rescanning after the rearrangement of the aspect (A2) described above is performed. The scanned image 40d has the original images 42p, 42q, 42r, 42s, 42t in addition to the original images 42j and 42k similar to the scanned image 40c of FIG. These manuscript images 42j, 42k, 42p to 42t are all proper images 421.

原稿画像42j,42kは、初回の走査時に不適正画像422となっていたものが原稿20の再配置によりそれぞれ適正画像421となったものである。 The original images 42j and 42k, which were inappropriate images 422 at the time of the first scanning, became proper images 421 due to the rearrangement of the original 20.

原稿画像42p〜42tは、今回の再走査に先立つ再配置で初めてプラテンガラス10e2に配置された原稿の画像である。 The original images 42p to 42t are images of the originals arranged on the platen glass 10e2 for the first time in the rearrangement prior to the current rescanning.

図14(B)に示すように、初回の走査によるスキャン画像40bについては、図12の例と同様に、原稿画像42f〜42iがそれぞれ画像ファイル5f〜5iとして記憶される。 As shown in FIG. 14B, for the scanned image 40b obtained by the first scanning, the original images 42f to 42i are stored as image files 5f to 5i, respectively, as in the example of FIG.

今回の再走査によるスキャン画像40dについては、原稿画像42j,42k,42p,42q,42r,42s,42tがそれぞれ画像ファイル5j,5k,5p,5q,5r,5s,5tとして記憶される。 For the scanned image 40d by the rescanning this time, the original images 42j, 42k, 42p, 42q, 42r, 42s, and 42t are stored as image files 5j, 5k, 5p, 5q, 5r, 5s, and 5t, respectively.

図15は、一括取込モードにおける取込の例を示す図である。図16は、図5における原稿重なりがあった場合に実行される画像取込処理の流れの他の例を示すフローチャートである。 FIG. 15 is a diagram showing an example of capture in the batch capture mode. FIG. 16 is a flowchart showing another example of the flow of the image acquisition process executed when the documents overlap in FIG.

図15において、初回の走査によるスキャン画像40bのうちの原稿画像42f〜42iが保持されること、および再走査によるスキャン画像40cが原稿画像42j,42kを有することは、図12の例と同様である。図12の例との差異は次の通りである。 In FIG. 15, it is the same as the example of FIG. 12 that the original images 42f to 42i of the scanned images 40b by the first scanning are retained and that the scanned images 40c by the rescanning have the original images 42j and 42k. is there. The differences from the example of FIG. 12 are as follows.

図15の例では、再走査の後、スキャン画像40cの原稿画像42j,42kと初回の走査時に保持された原稿画像42f〜42iとが重なるか否かをチェックする。つまり、読取対象領域92に原稿画像42j,42kと原稿画像42f〜42iとを全て配置することが可能か否かをチェックする。そして、重ならない場合に、原稿画像42j,42kと原稿画像42f〜42iとが並ぶ1つの集約画像40eを生成し、この集約画像40eを1つの画像ファイル5eとして取り込む。 In the example of FIG. 15, after the rescanning, it is checked whether or not the original images 42j and 42k of the scanned image 40c and the original images 42f to 42i held at the time of the first scanning overlap. That is, it is checked whether or not the original images 42j and 42k and the original images 42f to 42i can all be arranged in the reading target area 92. Then, when they do not overlap, one aggregated image 40e in which the original images 42j and 42k and the original images 42f to 42i are lined up is generated, and the aggregated image 40e is captured as one image file 5e.

なお、集約画像40eは、スキャン画像40bとスキャン画像40cとを、それぞれ原稿画像42f〜42i以外の画素値と原稿画像42j,42k以外の画素値とを白地背景レベルL41とした上で合成する画像処理により生成することができる。または、スキャン画像40b,40cから原稿画像42f〜42i,42j,42kをトリミングして所定の間隔をあけて並べる画像処理により生成してもよい。 The aggregated image 40e is an image obtained by synthesizing the scanned image 40b and the scanned image 40c after setting the pixel values other than the original images 42f to 42i and the pixel values other than the original images 42j and 42k to the white background level L41, respectively. It can be generated by processing. Alternatively, the original images 42f to 42i, 42j, 42k may be trimmed from the scanned images 40b and 40c and generated by image processing in which they are arranged at predetermined intervals.

集約画像(合成画像)40eは、初回の走査に際して原稿が重なっていなかった場合に得られたであろうスキャン画像40と同等の画像である。ユーザは、再配置に際して原稿画像42f〜42iに対応する原稿を取り除いたにもかかわらず、あたかも取り除かなかったかのような読取りの結果を得ることができる。 The aggregated image (composite image) 40e is an image equivalent to the scanned image 40 that would have been obtained if the originals did not overlap during the first scan. The user can obtain a reading result as if the originals corresponding to the original images 42f to 42i were removed at the time of rearrangement, but the originals were not removed.

次に、このような動作を行う画像形成装置1における再走査以降の処理の流れを図16のフローチャートを参照して説明する。 Next, the flow of processing after the rescanning in the image forming apparatus 1 that performs such an operation will be described with reference to the flowchart of FIG.

ステップ#271からステップ#278までの処理、ステップ#279の処理、およびステップ#280の処理は、図13のステップ#251からステップ#258までの処理ステップ#259の処理、およびステップ#260の処理と同様である。 The processing of steps # 271 to # 278, the processing of step # 279, and the processing of step # 280 are the processing of processing steps # 259 and step # 260 from step # 251 to step # 258 in FIG. Is similar to.

画像形成装置1は、原稿重なりがない場合に(#278でNO)、以前に保持した原稿画像42f〜42iと再走査により得られた原稿画像42j,42kとの重なりが生じるか否かを判定する(#281)。詳しくは、原稿画像42f〜42iのいずれかの画素の座標と原稿画像42j、42kのいずれかの画素の座標とが一致する場合に重なりが生じると判定し、それ以外の場合に重なりが生じないと判定する。 The image forming apparatus 1 determines whether or not the previously held original images 42f to 42i overlap with the original images 42j and 42k obtained by rescanning when there is no original overlap (NO in # 278). (# 281). Specifically, it is determined that overlap occurs when the coordinates of any pixel of the original images 42f to 42i and the coordinates of any pixel of the original images 42j or 42k match, and no overlap occurs in other cases. Is determined.

重なりが生じないと判定した場合に(#282でNO)、原稿画像42j,42kと原稿画像42f〜42iとを並べて1つにまとめた集約画像40eを生成して取り込む(#283)。 When it is determined that no overlap occurs (NO in # 282), the original images 42j and 42k and the original images 42f to 42i are arranged side by side to generate and capture the aggregated image 40e (# 283).

重なりが生じると判定した場合は(#282でYES)、個別取込が許されるか否かをチェックする(#284)。例えば、予めこのような場合に個別取込を行うことが許可されている場合、またはユーザに問い合わせる画面を表示して許可を得た場合に個別取込が許される。 If it is determined that overlap occurs (YES in # 282), it is checked whether individual import is permitted (# 284). For example, individual import is permitted when individual import is permitted in advance in such a case, or when a screen for inquiring the user is displayed and permission is obtained.

個別取込が許される場合は(#284でYES)、原稿画像42j,42kおよび原稿画像42f〜42iをそれぞれ個別に画像ファイル5j,5k,5f〜5iとして取り込む(#285)。個別取込が許されない場合は(#284でNO)、ステップ#280に戻ってユーザに再配置を促す。 If individual import is permitted (YES in # 284), the original images 42j, 42k and the original images 42f to 42i are individually imported as image files 5j, 5k, 5f to 5i (# 285). If individual capture is not allowed (NO at # 284), return to step # 280 and prompt the user to relocate.

図17は、図5における原稿重なり検出処理の流れの他の例を示すフローチャートである。 FIG. 17 is a flowchart showing another example of the flow of the document overlap detection process in FIG.

次に、図17を参照して原稿重なり検出処理の変形例を説明する。図8の例では原稿画像42の輪郭43の形状に基づいて原稿重なりを検出したが、図17の変形例では、原稿20の個数と原稿画像42の個数とに基づいて原稿重なりを検出する。 Next, a modified example of the document overlap detection process will be described with reference to FIG. In the example of FIG. 8, the original overlap is detected based on the shape of the contour 43 of the original image 42, but in the modified example of FIG. 17, the original overlap is detected based on the number of the originals 20 and the number of the original images 42.

原稿重なり検出部102は、ユーザにより入力された原稿20の個数(枚数)を取得する(#291)。この変形例において、ユーザは、プラテンガラス10e2に原稿20を配置する前または配置した後に原稿20の枚数を入力し、その後にスタートキー10h4を押して走査を開始させる。 The document overlap detection unit 102 acquires the number (number of sheets) of documents 20 input by the user (# 291). In this modification, the user inputs the number of documents 20 before or after arranging the documents 20 on the platen glass 10e2, and then presses the start key 10h4 to start scanning.

原稿重なり検出部102は、原稿画像検出部101により検出された原稿画像42の個数を数える(#292)。そして、原稿20の枚数と原稿画像42の個数とが等しい(一致する)場合に(#293でYES)、原稿重なりがないと判定する(#294)。 The document overlap detection unit 102 counts the number of document images 42 detected by the document image detection unit 101 (# 292). Then, when the number of documents 20 and the number of document images 42 are equal (match) (YES in # 293), it is determined that there is no document overlap (# 294).

一方、原稿20の枚数と原稿画像42の個数とが等しくない(一致しない)場合は(#293でNO)、原稿重なりがあると判定する(#295)。そして、原稿重なり通知部104と連携して、スキャン画像40、およびユーザに原稿画像42の判別を依頼するメッセージをタッチパネルディスプレイ10h2に表示させる(#296)。詳しくは、スキャン画像40を表示する画面において、重なり合った複数枚の原稿20の画像であるとユーザが判断する原稿画像42にタッチしてもらう。または、重なっていない単一の原稿20の画像であるとユーザが判断する原稿画像42にタッチしてもらう。 On the other hand, if the number of manuscripts 20 and the number of manuscript images 42 are not equal (do not match) (NO in # 293), it is determined that there is document overlap (# 295). Then, in cooperation with the document overlap notification unit 104, the scanned image 40 and a message requesting the user to discriminate the document image 42 are displayed on the touch panel display 10h2 (# 296). Specifically, on the screen for displaying the scanned image 40, the user is asked to touch the original image 42, which is determined by the user to be an image of a plurality of overlapping originals 20. Alternatively, the user is asked to touch the original image 42, which is determined to be an image of a single original 20 that does not overlap.

ユーザが判別の完了を入力するための完了ボタンにタッチすると、原稿重なり検出部102は、ユーザにより行われた原稿画像42の判別の結果に基づいて、原稿画像42を適正画像421と不適正画像422とに判別する(#297)。例えば、重なり合った複数枚の原稿20の画像であるとユーザが判断する原稿画像42にタッチしてもらう場合は、タッチされた原稿画像42を不適正画像422と判別し、タッチされなかった原稿画像42を適正画像421と判別する。 When the user touches the completion button for inputting the completion of discrimination, the document overlap detection unit 102 sets the original image 42 as a proper image 421 and an inappropriate image based on the result of the discrimination of the original image 42 performed by the user. It is determined to be 422 (# 297). For example, when the user touches the original image 42 that is determined to be an image of a plurality of overlapping originals 20, the touched original image 42 is determined to be an inappropriate image 422, and the untouched original image 42 is determined. 42 is determined to be a proper image 421.

なお、検出された原稿画像42の個数が1である場合は、ユーザによる原稿画像42の判別を省略し、原稿画像42を不適正画像422と判別することができる。 When the number of detected original images 42 is 1, the user can omit the determination of the original image 42 and determine the original image 42 as an inappropriate image 422.

以上の実施形態によると、原稿重なりが生じた場合に適正画像421が保持されるので、ユーザがプラテンガラス10e2から重なっていない原稿20を取り除いても、適正画像421を読み取ったことが無駄にならない。このため、ユーザは、重なっていない原稿20を躊躇することなく取り除き、重なっている原稿20を重ならないように配置し直すことができる。重なっていない原稿20を取り除くことで配置する原稿20の枚数が減るので、原稿カバー10k2を閉じたときなどに再び原稿重なりが生じることが起こりにくくなる。何回も配置し直すことが減るので、ユーザは複数の原稿を読み取らせる作業を従来よりも効率的に進めることができる。 According to the above embodiment, the proper image 421 is retained when the originals overlap, so that even if the user removes the non-overlapping original 20 from the platen glass 10e2, the reading of the proper image 421 is not wasted. .. Therefore, the user can remove the non-overlapping documents 20 without hesitation and rearrange the overlapping documents 20 so as not to overlap. By removing the non-overlapping originals 20, the number of originals 20 to be arranged is reduced, so that the originals are less likely to overlap again when the original cover 10k2 is closed. Since the number of re-arrangements is reduced, the user can proceed with the work of scanning a plurality of documents more efficiently than before.

また、個別取込モードでは、重なっていない原稿20を取り除くことで空いたスペースを利用して原稿20を配置し直しても何ら支障はないので、原稿どうしが重ならないように十分に間隔を設けて配置し直すのが従来よりも容易になる。 Further, in the individual import mode, there is no problem even if the originals 20 are rearranged using the vacant space by removing the non-overlapping originals 20, so a sufficient space is provided so that the originals do not overlap with each other. It will be easier than before to relocate.

さらに、適正画像421が保持されるので、重なっていない原稿20を取り除いて空いたスペースに新たな原稿を配置することができる。つまり、配置した複数枚の原稿の一部のみが重なった場合に、重なった原稿20のみを残し、次から次へと新たな原稿20を配置して読取りの作業を進めることができる。重なっていない原稿20を繰り返し読み取る無駄がなくなり。特に、一度に配置し切れない大量の原稿20を読み取る場合に、読取りの作業を効率化することができる。 Further, since the proper image 421 is retained, the non-overlapping document 20 can be removed and a new document can be placed in the vacant space. That is, when only a part of the arranged plurality of originals overlaps, only the overlapped originals 20 can be left, and new originals 20 can be arranged one after another to proceed with the reading operation. Eliminates the waste of repeatedly reading non-overlapping documents 20. In particular, when scanning a large number of documents 20 that cannot be arranged at one time, the scanning operation can be made more efficient.

上に述べた実施形態において、画像出力部105は、保持処理部103により保持された適正画像421と再走査により得られた適正画像421とを個別の画像として取り込む際に、これらの適正画像421どうしが関連することがわかるようにすることができる。例えば、ファイル名に共通の文字列を含ませることができる。これらの適正画像421に対して1つのフォルダを生成し、このフォルダに画像ファイル5を格納することができる。また、例えばPDF(Portable Document Format)のファイルのように、複数の適正画像421を1つずつ1ページに配置した複数ページのドキュメントのファイルを取り込むことができる。 In the embodiment described above, when the image output unit 105 captures the appropriate image 421 held by the holding processing unit 103 and the appropriate image 421 obtained by rescanning as individual images, these appropriate images 421 You can make it clear that they are related. For example, the file name can include a common character string. One folder can be generated for these appropriate images 421, and the image file 5 can be stored in this folder. Further, for example, a file of a multi-page document in which a plurality of appropriate images 421 are arranged one by one on one page, such as a PDF (Portable Document Format) file, can be imported.

画像出力部105は、個別取込モードにおける適正画像421の取込(大容量記憶装置10dへの出力)を随時に行うことができる。例えば、原稿画像42を適正画像421と判別したときに直ちに取込を行ってもよい。 The image output unit 105 can capture the appropriate image 421 (output to the large-capacity storage device 10d) at any time in the individual capture mode. For example, when the original image 42 is determined to be the proper image 421, the original image 42 may be captured immediately.

上に述べた実施形態において、画像出力部105は、集約画像40eを出力する場合に、複数のスキャン画像40b,40cからそれぞれ適正画像421をトリミングし、傾き補正をしてさらに所定の間隔をあけて並べる処理を画像処理回路10jに行わせる。これにより、ユーザは、原稿20を配置する際に傾きのないように気を配らなくても、原稿画像42が整然と並んだ集約画像40eを入手することができる。 In the embodiment described above, when the aggregated image 40e is output, the image output unit 105 trims the appropriate images 421 from the plurality of scanned images 40b and 40c, corrects the inclination, and further establishes a predetermined interval. The image processing circuit 10j is made to perform the process of arranging the images. As a result, the user can obtain the aggregated image 40e in which the document images 42 are arranged in an orderly manner without having to pay attention to the tilt when arranging the document 20.

また、画像出力部105は、合成による集約画像40eを出力する場合に、保持された適正画像421と再走査による適正画像421との重なりが生じるときには、重なりが解消するように適正画像421の位置をシフトさせる処理を画像処理回路10jに行わせる。この場合は、図16において、ステップ#284およびステップ#285を省略し、画像出力部105は、ステップ#282でYESのときに画像処理回路10jに合成を行わせて、得られた集約画像40eを取り込めばよい。 Further, when the image output unit 105 outputs the aggregated image 40e by compositing, when the retained proper image 421 overlaps with the proper image 421 due to rescanning, the position of the proper image 421 so as to eliminate the overlap. Is made to perform the process of shifting the image processing circuit 10j. In this case, in FIG. 16, step # 284 and step # 285 are omitted, and the image output unit 105 causes the image processing circuit 10j to perform composition when YES in step # 282, and the obtained aggregated image 40e Should be taken in.

上に述べた実施形態においては、図5のステップ#205で画面81を表示してユーザに原稿重なりのあることを通知したが、原稿重なりのあることを通知するステップをステップ#203の次に設けてもよい。この場合、保持処理部103は、画面81ではいボタン811がタッチされ、さらに画面82ではいボタン821がタッチされたときに、適正画像421を保持する。これにより、画面82を表示する以前に適正画像421を保持するのとは違って、画面82でいいえボタン822がタッチされて結果的に適正画像421の保持が無駄になってしまうということが起こらない。なお、画面81でいいえボタン812がタッチされた場合には、ステップ#204をスキップしてステップ#208へ進んでスキャン画像40を取り込むようにする。また、画面81で、はいボタン811がタッチされ、画面82で、いいえボタン821がタッチされた場合には、ステップ#201へ戻って、改めて走査を行うようにする。 In the embodiment described above, the screen 81 is displayed in step # 205 of FIG. 5 to notify the user that the document overlaps, but the step of notifying the user that the document overlaps is performed after step # 203. It may be provided. In this case, the holding processing unit 103 holds the proper image 421 when the yes button 811 is touched on the screen 81 and the yes button 821 is touched on the screen 82. As a result, unlike the case where the proper image 421 is held before the screen 82 is displayed, the no button 822 is touched on the screen 82, and as a result, the holding of the proper image 421 is wasted. Absent. If the No button 812 is touched on the screen 81, step # 204 is skipped and step # 208 is performed to capture the scanned image 40. If the Yes button 811 is touched on the screen 81 and the No button 821 is touched on the screen 82, the process returns to step # 201 to perform scanning again.

上に述べた実施形態において、プラテンガラス10e2を覆う原稿カバー10k2として、自動原稿送り装置10kに代えて、下面を白地面とした板またはシートを設けてもよい。 In the embodiment described above, as the document cover 10k2 covering the platen glass 10e2, a plate or sheet having a white ground on the lower surface may be provided instead of the automatic document feeder 10k.

画像読取り装置の例として画像形成装置1を挙げたが、画像読取り装置は、コピー、PCプリント、ファックス、およびドキュメントサーバの機能を有していないものであってよい。 Although the image forming apparatus 1 is mentioned as an example of the image reading apparatus, the image reading apparatus may not have the functions of copying, PC printing, faxing, and a document server.

図7のように原稿領域42の輪郭43を抽出して原稿重なりを検知する場合に、原稿重なり通知部104は、重なり合っている原稿の位置をユーザに知らせるために、スキャン画像40をタッチパネルディスプレイ10h2に表示させてもよい。その際は、読取対象領域92における再配置対象原稿の位置が分かりやすいようにスキャン画像40の表裏を反転させる。 When the contour 43 of the document area 42 is extracted and the document overlap is detected as shown in FIG. 7, the document overlap notification unit 104 displays the scanned image 40 on the touch panel display 10h2 in order to inform the user of the position of the overlapping documents. It may be displayed on. At that time, the front and back sides of the scanned image 40 are reversed so that the position of the document to be rearranged in the scanning target area 92 can be easily understood.

原稿重なりが生じたことをユーザに通知する方法は、メッセージ810,810bの表示に限らない。例えば、エラー表示ランプを点滅させたり、警告音を発したりしてもよい。原稿重なりが生じたことがどのように通知されるか、および通知があったときにどのようにすればよいかを例えば操作マニュアルによりユーザに予め示しておくことができる。 The method of notifying the user that the document overlap has occurred is not limited to the display of the messages 810 and 810b. For example, the error indicator lamp may be blinked or a warning sound may be emitted. It is possible to indicate in advance to the user, for example, an operation manual how to notify that the overlapping of documents has occurred and what to do when the notification is given.

その他、画像形成装置1の全体または各部の構成、処理の内容、順序、またはタイミング、画面81〜84の構成、および不適正画像422(または適正画像421)の位置の通知の仕方などは、本発明の趣旨に沿って適宜変更することができる。 In addition, the configuration of the entire or each part of the image forming apparatus 1, the content, order, or timing of processing, the configuration of screens 81 to 84, and the method of notifying the position of the inappropriate image 422 (or the appropriate image 421) are described in the present invention. It can be changed as appropriate according to the purpose of the invention.

1 画像形成装置(画像読取り装置)
10e スキャンユニット(撮像手段)
10e2 プラテンガラス(原稿台ガラス)
10k2 原稿カバー
20 原稿
40 スキャン画像(範囲画像)
41 背景画像
42 原稿画像(再配置画像)
43 輪郭
92 読取対象領域(所定の範囲)
101 原稿画像検出部(撮像手段)
102 原稿重なり検出部
103 保持処理部
104 原稿重なり通知部(通知手段)
106 画像出力部(出力手段)
421 適正画像
1 Image forming device (image reading device)
10e scan unit (imaging means)
10e2 Platen glass (manuscript stand glass)
10k2 manuscript cover 20 manuscript 40 scanned image (range image)
41 Background image 42 Manuscript image (rearranged image)
43 Contour 92 Read target area (predetermined range)
101 Original image detection unit (imaging means)
102 Document overlap detection unit 103 Holding processing unit 104 Document overlap notification unit (notification means)
106 Image output unit (output means)
421 Appropriate image

Claims (9)

所定の範囲を撮像することによって前記所定の範囲に配置された複数枚の原稿それぞれの画像を取得する撮像手段と、
前記複数枚の原稿の中に前記撮像手段により撮像された際に部分的に重なり合っている複数枚の再配置対象原稿がある場合に、前記複数枚の原稿のうちの前記複数枚の再配置対象原稿以外の適正原稿を取り除きかつ前記複数枚の再配置対象原稿を重ならないように配置し直して前記撮像手段に撮像させることをユーザに促す通知を行う通知手段と、
前記画像のうちの前記適正原稿の適正画像を出力する出力手段と、
を有することを特徴とする画像読取り装置。
An imaging means for acquiring an image of each of a plurality of documents arranged in the predetermined range by imaging a predetermined range, and
When there are a plurality of documents to be rearranged that are partially overlapped when imaged by the imaging means among the plurality of documents, the plurality of documents to be rearranged among the plurality of documents are to be rearranged. A notification means for removing an appropriate original document other than the original document and rearranging the plurality of documents to be rearranged so as not to overlap each other and for notifying the user to have the imaging means take an image.
An output means for outputting an appropriate image of the appropriate original among the images, and
An image reader characterized by having.
前記通知手段は、前記通知を行う際に前記所定の範囲における前記複数枚の再配置対象原稿の撮像された際の位置を前記ユーザに知らせる、
請求項1記載の画像読取り装置。
The notification means informs the user of the position when the plurality of repositioned originals are imaged in the predetermined range when the notification is given.
The image reading device according to claim 1.
前記撮像手段は、さらに、前記所定の範囲に前記複数枚の再配置対象原稿が配置し直された際に前記複数枚の再配置対象原稿を撮像し直すことによって前記複数枚の再配置対象原稿それぞれの再配置画像を取得し、
前記出力手段は、さらに、前記複数枚の再配置対象原稿が撮像し直された際に重なり合っていない場合に、前記複数枚の再配置対象原稿それぞれの前記再配置画像を出力する、
請求項1または請求項2記載の画像読取り装置。
Further, when the plurality of repositioning target documents are rearranged in the predetermined range, the imaging means re-images the plurality of repositioning target documents, thereby causing the plurality of repositioning target documents. Get each rearranged image and
The output means further outputs the rearranged images of the plurality of repositioned originals when they do not overlap when the plurality of repositioned originals are re-imaged.
The image reading device according to claim 1 or 2.
前記撮像手段は、さらに、前記所定の範囲に前記複数枚の再配置対象原稿が配置し直された際に前記複数枚の再配置対象原稿を撮像し直すことによって前記複数枚の再配置対象原稿それぞれの再配置画像を取得し、
前記出力手段は、前記複数枚の再配置対象原稿が撮像し直された際に重なり合っていない場合に、前記適正画像と前記複数枚の再配置対象原稿それぞれの前記再配置画像とが並んだ1つの集約画像を出力することによって、前記適正画像を出力する、
請求項1または請求項2記載の画像読取り装置。
Further, when the plurality of repositioning target documents are rearranged in the predetermined range, the imaging means re-images the plurality of repositioning target documents, thereby causing the plurality of repositioning target documents. Get each rearranged image and
In the output means, the proper image and the rearranged image of each of the plurality of rearranged manuscripts are arranged side by side when the plurality of repositioned originals do not overlap when re-imaged. By outputting one aggregated image, the proper image is output.
The image reading device according to claim 1 or 2.
前記出力手段は、前記集約画像として、前記適正画像と複数の前記再配置画像とが前記所定の範囲における前記適正原稿の撮像された際の位置と前記複数枚の再配置対象原稿の撮像し直された際の位置との関係と同じ位置の関係を有して並んだ画像を出力する、
請求項4記載の画像読取り装置。
As the aggregated image, the output means re-images the position when the proper image and the plurality of the rearranged images are captured in the predetermined range and the plurality of repositioned originals. Outputs images that are lined up with the same positional relationship as the position when they were created.
The image reading device according to claim 4.
前記撮像手段は、さらに、前記所定の範囲に前記複数枚の再配置対象原稿が配置し直された際に前記複数枚の再配置対象原稿を撮像し直すことによって前記複数枚の再配置対象原稿それぞれの再配置画像を取得し、
前記出力手段は、前記複数枚の再配置対象原稿が撮像し直された際に重なり合っていない場合に、ユーザによる選択に従って、前記適正画像と前記複数枚の再配置対象原稿それぞれの前記再配置画像とを個別の画像として出力し、または前記適正画像と前記複数枚の再配置対象原稿それぞれの前記再配置画像とが並んだ1つの集約画像を出力することによって、前記適正画像を出力する、
請求項1または請求項2記載の画像読取り装置。
Further, when the plurality of repositioning target documents are rearranged in the predetermined range, the imaging means re-images the plurality of repositioning target documents, thereby causing the plurality of repositioning target documents. Get each rearranged image and
When the plurality of repositioned originals do not overlap when the plurality of repositioned originals are re-imaged, the output means provides the proper image and the relocated image of each of the plurality of repositioned originals according to the user's selection. Is output as an individual image, or the proper image is output by outputting one aggregated image in which the proper image and the rearranged image of each of the plurality of repositioned originals are arranged.
The image reading device according to claim 1 or 2.
前記所定の範囲を有する原稿台ガラスと、
前記原稿台ガラスを覆う原稿カバーと、を有し、
前記撮像手段は、前記所定の範囲を撮像した範囲画像を前記原稿カバーの背景画像とそれ以外とに区分する処理によって前記画像を取得し、
前記出力手段は、前記画像のうちの輪郭が矩形である画像を前記適正画像として出力する、
請求項1ないし請求項6のいずれかに記載の画像読取り装置。
The platen glass having the predetermined range and
It has a document cover that covers the platen glass, and has
The imaging means acquires the image by a process of dividing a range image obtained by capturing the predetermined range into a background image of the document cover and other images.
The output means outputs an image having a rectangular outline as the appropriate image.
The image reading device according to any one of claims 1 to 6.
画像読取り装置によって複数枚の原稿それぞれの画像を読み取る画像読取り方法であって、
前記画像読取り装置が、
所定の範囲に配置された前記複数枚の原稿を撮像することによって前記画像を取得し、
前記複数枚の原稿の中に撮像された際に部分的に重なり合っている複数枚の再配置対象原稿がある場合に、前記複数枚の原稿のうちの前記複数枚の再配置対象原稿以外の適正原稿を取り除きかつ前記複数枚の再配置対象原稿を重ならないように配置し直して読取りを指示することをユーザに促す通知を行い、
前記画像のうちの前記適正原稿の適正画像を出力する、
ことを特徴とする画像読取り方法。
It is an image reading method that reads the image of each of a plurality of documents by an image reading device.
The image reader
The image is acquired by imaging the plurality of documents arranged in a predetermined range, and the image is acquired.
When there are a plurality of documents to be rearranged that are partially overlapped when imaged in the plurality of documents, the appropriateness of the plurality of documents other than the plurality of documents to be rearranged is appropriate. A notification is given to the user to remove the original and reposition the plurality of originals to be rearranged so as not to overlap each other and instruct the user to read the originals.
Outputs the proper image of the proper original among the images.
An image reading method characterized by that.
複数枚の原稿それぞれの画像を読み取る画像読取り装置において実行されるコンピュータプログラムであって、
前記画像読取り装置が有するコンピュータに、
所定の範囲に配置された前記複数枚の原稿を撮像することによって前記画像を取得する処理を実行させ、
前記複数枚の原稿の中に撮像された際に部分的に重なり合っている複数枚の再配置対象原稿がある場合に、前記複数枚の原稿のうちの前記複数枚の再配置対象原稿以外の適正原稿を取り除きかつ前記複数枚の再配置対象原稿を重ならないように配置し直して読取りを指示することをユーザに促す通知を行う処理を実行させ、
前記画像のうちの前記適正原稿の適正画像を出力する処理を実行させる、
ことを特徴とするコンピュータプログラム。
A computer program that is executed in an image reader that reads the images of each of multiple documents.
To the computer of the image reader
The process of acquiring the image is executed by imaging the plurality of originals arranged in a predetermined range.
When there are a plurality of documents to be rearranged that are partially overlapped when imaged in the plurality of documents, the appropriateness of the plurality of documents other than the plurality of documents to be rearranged is appropriate. A process of removing the originals and rearranging the plurality of originals to be rearranged so as not to overlap each other and instructing the user to read the originals is executed.
A process of outputting an appropriate image of the appropriate original among the images is executed.
A computer program characterized by that.
JP2019078745A 2019-04-17 2019-04-17 Image reading device, image reading method and computer program Active JP7215311B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019078745A JP7215311B2 (en) 2019-04-17 2019-04-17 Image reading device, image reading method and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019078745A JP7215311B2 (en) 2019-04-17 2019-04-17 Image reading device, image reading method and computer program

Publications (2)

Publication Number Publication Date
JP2020178220A true JP2020178220A (en) 2020-10-29
JP7215311B2 JP7215311B2 (en) 2023-01-31

Family

ID=72936410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019078745A Active JP7215311B2 (en) 2019-04-17 2019-04-17 Image reading device, image reading method and computer program

Country Status (1)

Country Link
JP (1) JP7215311B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017130811A (en) * 2016-01-20 2017-07-27 シャープ株式会社 Image processing apparatus, image processing method, image processing program, and recording medium
JP2017228922A (en) * 2016-06-22 2017-12-28 コニカミノルタ株式会社 Image reader, image reading method, and image reading program
JP2019029882A (en) * 2017-08-01 2019-02-21 株式会社東芝 Image processing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017130811A (en) * 2016-01-20 2017-07-27 シャープ株式会社 Image processing apparatus, image processing method, image processing program, and recording medium
JP2017228922A (en) * 2016-06-22 2017-12-28 コニカミノルタ株式会社 Image reader, image reading method, and image reading program
JP2019029882A (en) * 2017-08-01 2019-02-21 株式会社東芝 Image processing device

Also Published As

Publication number Publication date
JP7215311B2 (en) 2023-01-31

Similar Documents

Publication Publication Date Title
JP6072838B2 (en) Image reading apparatus and image forming apparatus
CN1874395A (en) Image processing apparatus, image processing method, and computer product
JP4807068B2 (en) Image reading system
US20090125841A1 (en) Operation panel and electric device including the same
JPH0490258A (en) Color picture processor
EP2784592A2 (en) Image forming apparatus, image forming method, and image forming program
US20090073463A1 (en) Image processing apparatus, image processing method, and computer-readable recording medium
JP2009147799A (en) Image processing apparatus
JP7215311B2 (en) Image reading device, image reading method and computer program
JP6583164B2 (en) Image forming apparatus
JP5552915B2 (en) Image processing device
JP5606949B2 (en) Image forming apparatus and image processing method
JP2004235680A (en) Manuscript reader
JP3629969B2 (en) Image recognition device
JP7383936B2 (en) Image reading device and image forming device
JP7463708B2 (en) Image reading device, control method thereof, and program
WO2022030302A1 (en) Image reading device and image forming device
CN113037940B (en) Image processing apparatus, image processing method, and storage medium
JP7401337B2 (en) Image reading device, control method and control program
JP5489679B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP6245344B2 (en) Image reading apparatus and image forming apparatus
JP5029569B2 (en) Image reading apparatus, image reading method, and image reading program
JP2009194762A (en) Image processing apparatus
JP2007306178A (en) Facsimile apparatus
JP6180383B2 (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220830

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20221028

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221215

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230102

R150 Certificate of patent or registration of utility model

Ref document number: 7215311

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150