JP2019080169A - Image processing device and image processing method - Google Patents

Image processing device and image processing method Download PDF

Info

Publication number
JP2019080169A
JP2019080169A JP2017205618A JP2017205618A JP2019080169A JP 2019080169 A JP2019080169 A JP 2019080169A JP 2017205618 A JP2017205618 A JP 2017205618A JP 2017205618 A JP2017205618 A JP 2017205618A JP 2019080169 A JP2019080169 A JP 2019080169A
Authority
JP
Japan
Prior art keywords
image
density
document
detection unit
image density
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
JP2017205618A
Other languages
Japanese (ja)
Other versions
JP7003568B2 (en
Inventor
渡辺 将史
Masashi Watanabe
将史 渡辺
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2017205618A priority Critical patent/JP7003568B2/en
Publication of JP2019080169A publication Critical patent/JP2019080169A/en
Application granted granted Critical
Publication of JP7003568B2 publication Critical patent/JP7003568B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

To detect double feed when feeding originals, without using a mechanism dedicated to detection of double feed.SOLUTION: The device detects image density of an original expressed by image information on the basis of the image information. In a case where a difference between a first image density being an image density related with a first original detected on the basis of first image information and second image density being an image density related with a second original detected on the basis of second image information is larger than a predetermined value, the device detects occurrence of overlapping of the first original or the second original.SELECTED DRAWING: Figure 8

Description

本発明は、画像処理装置、画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method.

近年、情報の電子化が推進される傾向にあり、電子化された情報の出力に用いられるプリンタやファクシミリおよび書類の電子化に用いるスキャナ等の画像処理装置は欠かせない機器となっている。このような画像処理装置は、撮像機能、画像形成機能および通信機能等を備えることにより、プリンタ、ファクシミリ、スキャナ、複写機として利用可能な複合機として構成されることが多い。   In recent years, computerization of information tends to be promoted, and image processing apparatuses such as printers and facsimiles used for outputting computerized information and scanners used for computerizing documents have become indispensable devices. Such an image processing apparatus is often configured as a multifunction peripheral that can be used as a printer, a facsimile, a scanner, and a copier by including an imaging function, an image forming function, a communication function, and the like.

このような画像処理装置において、ADF(Auto Document Feeder:自動給紙装置)によって原稿をスキャナに搬送し、読み取り画像を生成するものがある。ADFで原稿をスキャナに搬送するときに、原稿が複数枚重なった状態で搬送される、いわゆる「重送」が発生して目的とする原稿を読み取ることができない場合がある。   Among such image processing apparatuses, there is one which conveys a document to a scanner by an ADF (Auto Document Feeder) and generates a read image. When the document is conveyed to the scanner by the ADF, a so-called "multi-feed" may occur in which a plurality of documents are conveyed in an overlapping state, and it may not be possible to read the target document.

これに対して、反射型または透過型のセンサを利用した重送検知技術が知られている(例えば、特許文献1参照)。特許文献1には、反射型または透過型のセンサを原稿の搬送経路に配置し、反射光量および透過光量の関係に基づいて原稿の重送が発生しているか否かを判定する技術が開示されている。   On the other hand, a double feed detection technique using a reflective or transmissive sensor is known (see, for example, Patent Document 1). Patent Document 1 discloses a technique in which a sensor of reflection type or transmission type is disposed in a conveyance path of a document, and it is determined whether double feeding of a document is occurring or not based on the relationship between the reflected light amount and the transmitted light amount. ing.

しかし、特許文献1に開示された技術では、反射型または透過型のセンサなどの重送検知専用の機構を配置する必要がある。   However, in the technology disclosed in Patent Document 1, it is necessary to dispose a mechanism dedicated to double feed detection such as a reflective or transmissive sensor.

本発明は、重送検知専用の機構を用いることなく、原稿搬送時の重送を検知することを目的とする。   An object of the present invention is to detect double feeding during document conveyance without using a mechanism dedicated to double feeding detection.

上記課題を解決するために、本発明の一態様は、原稿を読み取って画像情報を生成する画像処理装置であって、前記画像情報に基づいて前記原稿の画像濃度を検知する画像濃度検知部と、第1画像情報に基づいて検知された第1原稿に係る画像濃度である第1画像濃度と、第2画像情報に基づいて検知された第2原稿に係る画像濃度である第2画像濃度との差が所定よりも大きい場合に、前記第1原稿もしくは前記第2原稿のいずれかにおいて原稿の重複が発生していることを検知する重複検知部と、を含むことを特徴とする。   In order to solve the above problems, one aspect of the present invention is an image processing apparatus that reads an original and generates image information, and an image density detection unit that detects an image density of the original based on the image information A first image density that is an image density related to a first document detected based on the first image information, and a second image density that is an image density related to a second document detected based on the second image information And a duplication detection unit that detects that duplication of a document has occurred in either the first document or the second document when the difference of is larger than a predetermined value.

本発明によれば、重送検知専用の機構を用いることなく、原稿搬送時の重送を検知することができる。   According to the present invention, double feeding at the time of document conveyance can be detected without using a mechanism dedicated to double feeding detection.

本発明の実施の形態に係る画像処理装置のハードウェア構成を示すブロック図。FIG. 1 is a block diagram showing a hardware configuration of an image processing apparatus according to an embodiment of the present invention. 本発明の実施の形態に係る画像処理装置の機能構成を示すブロック図。FIG. 1 is a block diagram showing a functional configuration of an image processing apparatus according to an embodiment of the present invention. 本発明の実施の形態に係る画像処理部の内部構成を示すブロック図。FIG. 2 is a block diagram showing an internal configuration of an image processing unit according to the embodiment of the present invention. 本発明の実施の形態に係る重複検知部が実行する処理の全体の流れを示すフローチャート。The flowchart which shows the flow of the whole process which the duplication detection part which concerns on embodiment of this invention performs. 本発明の実施の形態に係る1枚の原稿が読み取られて生成された読み取り画像を示す図。FIG. 6 is a view showing a read image generated by reading one original according to the embodiment of the present invention. 本発明の実施の形態に係る複数枚の原稿が読み取られて生成された読み取り画像を示す図。FIG. 6 is a view showing a read image generated by reading a plurality of originals according to the embodiment of the present invention. 本発明の実施の形態に係る第1濃度検知処理の流れを示すフローチャート。The flowchart which shows the flow of the 1st concentration detection processing concerning the embodiment of the present invention. 本発明の実施の形態に係る重複した原稿の影が表現された読み取り画像を示す図。FIG. 6 is a view showing a read image in which the shadow of an overlapping original according to the embodiment of the present invention is expressed. 本発明の実施の形態に係る第2濃度検知処理の流れを示すフローチャート。The flowchart which shows the flow of the 2nd density detection processing concerning an embodiment of the invention. 本発明の実施の形態に係る影検知処理の流れを示すフローチャート。5 is a flowchart showing a flow of shadow detection processing according to the embodiment of the present invention. 本発明の実施の形態に係る第3濃度検知処理の流れを示すフローチャート。The flowchart which shows the flow of the 3rd density detection processing concerning an embodiment of the invention.

以下、図面を参照して、本発明の実施形態について説明する。本実施形態においては、読み取り対象の原稿をスキャナユニットに給紙する給紙部としてADF(Auto Document Feeder)が搭載されたMFP(MultiFunction Peripheral:複合機)などの画像処理装置に本発明を適用した例について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the present embodiment, the present invention is applied to an image processing apparatus such as an MFP (Multi Function Peripheral: multifunction device) equipped with an ADF (Auto Document Feeder) as a sheet feeding unit for feeding a document to be read to a scanner unit. An example will be described.

まず、本実施形態に係る画像処理装置1全体のハードウェア構成について説明する。図1は本実施形態に係る画像処理装置1のハードウェア構成を示すブロック図である。画像処理装置1は、コントローラ100とエンジン部23とをPCI(Peripheral Component Interface)バスで接続した構成となる。   First, the hardware configuration of the entire image processing apparatus 1 according to the present embodiment will be described. FIG. 1 is a block diagram showing the hardware configuration of the image processing apparatus 1 according to the present embodiment. The image processing apparatus 1 has a configuration in which the controller 100 and the engine unit 23 are connected by a PCI (Peripheral Component Interface) bus.

コントローラ100は、画像処理装置1全体の制御と描画、通信、操作部からの入力を制御するコントローラである。エンジン部23は、PCIバスに接続可能なプリンタエンジンなどであり、たとえば白黒プロッタ、1ドラムカラープロッタ、4ドラムカラープロッタ、スキャナまたはファックスユニットなどである。なお、このエンジン部23には、プロッタなどのいわゆるエンジン部分に加えて、誤差拡散やガンマ変換などの画像処理部分が含まれる。   The controller 100 is a controller that controls the entire image processing apparatus 1 and performs drawing, communication, and input from the operation unit. The engine unit 23 is a printer engine or the like connectable to the PCI bus, and is, for example, a black-and-white plotter, a 1-drum color plotter, a 4-drum color plotter, a scanner or a fax unit. The engine unit 23 includes an image processing unit such as error diffusion and gamma conversion in addition to a so-called engine unit such as a plotter.

コントローラ100は、CPU11、ノースブリッジ(NB)13、システムメモリ(MEM‐P)12、サウスブリッジ(SB)14、ローカルメモリ(MEM‐C)17、ASIC(Application Specific Integrated Circuit)16、ハードディスクドライブ(HDD)103を含む。また、ノースブリッジ(NB)13とASIC16とが、AGP(Accelerated Graphics Port)バス15によって接続される。さらに、MEM‐P12は、ROM(Read Only Memory)12a、RAM(Random Access Memory)12bを含む。   The controller 100 includes a CPU 11, a north bridge (NB) 13, a system memory (MEM-P) 12, a south bridge (SB) 14, a local memory (MEM-C) 17, an application specific integrated circuit (ASIC) 16, a hard disk drive HDD) 103 is included. Further, the north bridge (NB) 13 and the ASIC 16 are connected by an accelerated graphics port (AGP) bus 15. Further, the MEM-P 12 includes a ROM (Read Only Memory) 12 a and a RAM (Random Access Memory) 12 b.

CPU11は、画像処理装置1全体の動作を制御し、NB13、MEM‐P12、SB14を含むチップセットを含む構成であり、このチップセットを介して他の機器と接続される。NB13は、CPU11とMEM‐P12、SB14、AGPバス15とを接続するためのブリッジであり、MEM‐P12に対する読み書きなどを制御するメモリコントローラと、PCIマスタおよびAGPターゲットとを含む構成である。MEM‐P12は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いるシステムメモリであり、ROM12aとRAM12bとを含む。   The CPU 11 controls the entire operation of the image processing apparatus 1 and includes a chip set including the NB 13, the MEM-P 12, and the SB 14, and is connected to other devices via the chip set. The NB 13 is a bridge for connecting the CPU 11 to the MEM-P 12, the SB 14, and the AGP bus 15, and includes a memory controller that controls reading and writing to the MEM-P 12, a PCI master and an AGP target. The MEM-P 12 is a system memory used as a memory for storing programs and data, a memory for expanding programs and data, a memory for drawing a printer, and the like, and includes a ROM 12a and a RAM 12b.

ROM12aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM12bは、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いる書き込みおよび読み出し可能なメモリである。SB14は、NB13とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB14は、PCIバスを介してNB13と接続されており、このPCIバスには、ネットワークインタフェース(I/F)部が接続される構成であってもよい。   The ROM 12a is a read-only memory used as a storage memory for programs and data, and the RAM 12b is a writable and readable memory used as a development memory for programs and data, a drawing memory for a printer, and the like. The SB 14 is a bridge for connecting the NB 13 to PCI devices and peripheral devices. The SB 14 may be connected to the NB 13 via the PCI bus, and a network interface (I / F) unit may be connected to the PCI bus.

ASIC16は、画像処理用のハードウェア要素を有する画像処理用途向けのIC(Integrated Circuit)であり、AGPバス15、PCIバス、HDD125およびMEM‐C17をそれぞれ接続するブリッジの機能を実現する。ASIC16は、PCIターゲットおよびAGPマスタと、ASIC16の中核をなすアービタ(ARB)と、MEM‐C17を制御するメモリコントローラと、ハードウェアロジックなどにより画像データの回転などをおこなう複数のDMAC(Direct Memory Access Controller)と、エンジン部23との間でPCIバスを介したデータ転送をおこなうPCIユニットとを含む。   The ASIC 16 is an IC (Integrated Circuit) for image processing application having a hardware element for image processing, and realizes a function of a bridge connecting the AGP bus 15, the PCI bus, the HDD 125 and the MEM-C 17 respectively. The ASIC 16 includes a PCI target and an AGP master, an arbiter (ARB) that forms the core of the ASIC 16, a memory controller that controls the MEM-C 17, and a plurality of DMACs (Direct Memory Access) that rotate image data by hardware logic. Controller) and a PCI unit that transfers data between the engine unit 23 via the PCI bus.

ASIC16には、PCIバスを介してFCU(Facsimile Control Unit)18、USB(Universal Serial Bus)19、IEEE1394(the Institute of Electrical and Electronics Engineers 1394)インタフェース21が接続される。操作表示部24はASIC16に直接接続されている。MEM‐C17は、コピー用画像バッファ、符号バッファとして用いるローカルメモリである。   Connected to the ASIC 16 are an FCU (Facsimile Control Unit) 18, a USB (Universal Serial Bus) 19, and an IEEE 1394 (the Institute of Electrical and Electronics Engineers 1394) interface 21 through the PCI bus. The operation display unit 24 is directly connected to the ASIC 16. The MEM-C 17 is a local memory used as a copy image buffer and a code buffer.

HDD25は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、フォームの蓄積を行うためのストレージであり、画像処理装置1において実行されるアプリケーションソフトウェアのプログラムファイルが保存されている。AGPバス15は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレータカード用のバスインタフェースであり、MEM‐P12に高スループットで直接アクセスすることにより、グラフィックスアクセラレータカードを高速にするものである。   The HDD 25 is a storage for storing image data, storing programs, storing font data, and storing forms, and stores a program file of application software executed in the image processing apparatus 1. The AGP bus 15 is a bus interface for a graphics accelerator card proposed to accelerate graphics processing, and makes the graphics accelerator card faster by directly accessing the MEM-P 12 with high throughput. .

このようなハードウェア構成において、ROM12aに格納されたプログラムのステップや、HDD25もしくは光学ディスクなどの記憶媒体からRAM12bにロードされたプログラムのステップに従ってCPU11が演算を行うことにより、ソフトウェア制御部が構成される。このようにして構成されたソフトウェア制御部と、ハードウェアとの組み合わせによって、本実施形態に係る画像処理装置1の機能を実現する機能ブロックが構成され、画像処理方法、画像処理プログラムが実現される。   In such a hardware configuration, the software control unit is configured by the CPU 11 performing operations according to the steps of the program stored in the ROM 12 a and the steps of the program loaded to the RAM 12 b from the storage medium such as the HDD 25 or the optical disk. Ru. The combination of the software control unit configured as described above and hardware configures a functional block that implements the function of the image processing apparatus 1 according to the present embodiment, and an image processing method and an image processing program are implemented. .

次に、本実施形態に係る画像処理装置1の機能構成について、図2を参照して説明する。図2に示すように、本実施形態に係る画像処理装置1は、コントローラ100、ADF(Auto Document Feeder:原稿自動搬送装置)101、スキャナユニット102、排紙トレイ103、ディスプレイパネル104、給紙テーブル105、プリントエンジン106、排紙トレイ107およびネットワークI/F108を有する。   Next, the functional configuration of the image processing apparatus 1 according to the present embodiment will be described with reference to FIG. As shown in FIG. 2, the image processing apparatus 1 according to the present embodiment includes a controller 100, an ADF (Auto Document Feeder) 101, a scanner unit 102, a sheet discharge tray 103, a display panel 104, and a sheet feeding table. A print engine 106, a discharge tray 107, and a network I / F 108 are provided.

また、コントローラ100は、主制御部110、エンジン制御部120、画像処理部130、操作表示制御部140および入出力制御部150を含む。図2に示すように、本実施形態に係る画像処理装置1は、スキャナユニット102、プリントエンジン106を有する複合機として構成されている。なお、図2においては、電気的接続を実線の矢印で示しており、用紙の流れを破線の矢印で示している。   The controller 100 also includes a main control unit 110, an engine control unit 120, an image processing unit 130, an operation display control unit 140, and an input / output control unit 150. As shown in FIG. 2, the image processing apparatus 1 according to the present embodiment is configured as a multifunction machine having a scanner unit 102 and a print engine 106. In FIG. 2, the electrical connection is indicated by a solid arrow and the flow of the sheet is indicated by a broken arrow.

ディスプレイパネル104は、画像処理装置1の状態を視覚的に表示する表示部であると共に、タッチパネルとしてユーザが画像処理装置1を直接操作し、もしくは、画像処理装置1に対して情報を入力する際の入力部でもある。すなわち、ディスプレイパネル104は、ユーザによる操作を受けるための画像を表示する機能を含む。ディスプレイパネル104は、図1に示す操作表示部24によって実現される。   The display panel 104 is a display unit for visually displaying the state of the image processing apparatus 1 and as a touch panel, when the user directly operates the image processing apparatus 1 or inputs information to the image processing apparatus 1 It is also an input part of That is, the display panel 104 includes a function of displaying an image for receiving an operation by the user. The display panel 104 is realized by the operation display unit 24 shown in FIG.

ネットワークI/F108は、画像処理装置1がネットワーク4を介して他の機器と通信するためのインタフェースであり、Ethernet(登録商標)やUSB(Universal Serial Bus)インタフェースなどが用いられる。ネットワークI/F108は、TCP/IPプロトコルによる通信が可能である。また、ネットワークI/F108は、画像処理装置1がファクシミリとして機能する際に、ファクシミリ送信を実行するためのインタフェースとしても機能する。そのため、ネットワークI/F108は、電話回線にも接続されている。ネットワークI/F108は、図1に示すUSB19、IEEE1394インタフェース21によって実現される。   A network I / F 108 is an interface for the image processing apparatus 1 to communicate with another device via the network 4, and an Ethernet (registered trademark) or a USB (Universal Serial Bus) interface or the like is used. The network I / F 108 can communicate by the TCP / IP protocol. The network I / F 108 also functions as an interface for executing facsimile transmission when the image processing apparatus 1 functions as a facsimile. Therefore, the network I / F 108 is also connected to the telephone line. The network I / F 108 is realized by the USB 19 and the IEEE 1394 interface 21 shown in FIG.

コントローラ100は、ソフトウェアとハードウェアとの組み合わせによって構成される。具体的には、ROM12aや不揮発性メモリならびにHDD25や光学ディスク等の不揮発性記憶媒体に格納されたプログラムが、RAM12b等の揮発性メモリ(以下、メモリ)にロードされ、CPU11がそのプログラムに従って演算を行うことにより構成されるソフトウェア制御部とASIC16などのハードウェアとによって構成される。コントローラ100は、画像処理装置1全体を制御する制御部として機能する。   The controller 100 is configured by a combination of software and hardware. Specifically, a program stored in a non-volatile storage medium such as the ROM 12a or non-volatile memory, HDD 25 or an optical disk is loaded into a volatile memory (hereinafter memory) such as the RAM 12b, and the CPU 11 executes an operation according to the program It is comprised by the software control part comprised by performing, and hardwares, such as ASIC16. The controller 100 functions as a control unit that controls the entire image processing apparatus 1.

主制御部110は、コントローラ100に含まれる各部を制御する役割を担い、コントローラ100の各部に命令を与える。エンジン制御部120は、プリントエンジン106やスキャナユニット102などを制御もしくは駆動する駆動手段としての役割を担う。画像処理部130は、主制御部110の制御に従い、印刷出力すべき画像情報に基づいて描画情報を生成する。この描画情報とは、画像形成部であるプリントエンジン106が画像形成動作において形成すべき画像を描画するための情報であるラスターデータである。   The main control unit 110 plays a role of controlling each unit included in the controller 100, and gives an instruction to each unit of the controller 100. The engine control unit 120 plays a role as a driving unit that controls or drives the print engine 106, the scanner unit 102, and the like. The image processing unit 130 generates drawing information based on image information to be printed out under the control of the main control unit 110. The drawing information is raster data which is information for drawing an image to be formed in the image forming operation by the print engine 106 which is an image forming unit.

また、画像処理部130は、スキャナユニット102から入力される撮像データを処理し、画像データを生成する。この画像データとは、スキャナ動作の結果物として画像処理装置1の記憶領域に格納され、もしくはネットワークI/F108を介して他の情報処理端末や記憶装置に送信される情報である。   The image processing unit 130 also processes imaging data input from the scanner unit 102 to generate image data. The image data is information that is stored as a result of the scanner operation in the storage area of the image processing apparatus 1 or transmitted to another information processing terminal or storage device via the network I / F 108.

操作表示制御部140は、ディスプレイパネル104に情報表示を行い、もしくはディスプレイパネル104を介して入力された情報を主制御部110に通知する。入出力制御部150は、ネットワークI/F108を介して入力される情報を主制御部110に入力する。また、主制御部110は、入出力制御部150を制御し、ネットワークI/F108を介してネットワークに接続された他の機器にアクセスする。   The operation display control unit 140 displays information on the display panel 104 or notifies the main control unit 110 of information input through the display panel 104. The input / output control unit 150 inputs information input via the network I / F 108 to the main control unit 110. Further, the main control unit 110 controls the input / output control unit 150, and accesses other devices connected to the network via the network I / F 108.

画像処理装置1がプリンタとして動作する場合は、まず、入出力制御部150がネットワークI/F108を介して印刷ジョブを受信する。入出力制御部150は、受信した印刷ジョブを主制御部110に転送する。主制御部110は、印刷ジョブを受信すると、画像処理部130を制御して印刷ジョブに含まれる文書情報もしくは画像情報に基づいて描画情報を生成させる。   When the image processing apparatus 1 operates as a printer, first, the input / output control unit 150 receives a print job via the network I / F 108. The input / output control unit 150 transfers the received print job to the main control unit 110. When the main control unit 110 receives the print job, the main control unit 110 controls the image processing unit 130 to generate drawing information based on document information or image information included in the print job.

画像処理部130によって描画情報が生成されると、エンジン制御部120は、プリントエンジン106を制御し、生成された描画情報に基づき、給紙テーブル105から搬送される用紙に対して画像形成を実行させる。プリントエンジン106の具体的態様としては、インクジェット方式による画像形成機構や電子写真方式による画像形成機構などを用いることが可能である。プリントエンジン106によって画像形成が施された文書は排紙トレイ107に排紙される。   When drawing information is generated by the image processing unit 130, the engine control unit 120 controls the print engine 106, and executes image formation on the sheet conveyed from the sheet feeding table 105 based on the generated drawing information. Let As a specific aspect of the print engine 106, it is possible to use an image forming mechanism by an ink jet method, an image forming mechanism by an electrophotographic method, or the like. A document on which an image has been formed by the print engine 106 is discharged to the discharge tray 107.

画像処理装置1がスキャナとして動作する場合は、ユーザによるディスプレイパネル104の操作もしくはネットワークI/F108を介して他の端末から入力されるスキャン実行指示に応じて、操作表示制御部140もしくは入出力制御部150が主制御部110にスキャン実行信号を転送する。主制御部110は、受信したスキャン実行信号に基づき、エンジン制御部120を制御する。   When the image processing apparatus 1 operates as a scanner, the operation display control unit 140 or the input / output control according to a user's operation on the display panel 104 or a scan execution instruction input from another terminal via the network I / F 108. The unit 150 transfers the scan execution signal to the main control unit 110. The main control unit 110 controls the engine control unit 120 based on the received scan execution signal.

エンジン制御部120は、ADF101を駆動し、ADF101にセットされた撮像対象の原稿をスキャナユニット102に搬送する。また、エンジン制御部120は、スキャナユニット102を駆動し、ADF101から搬送される原稿を撮像する。また、ADF101に原稿がセットされておらず、スキャナユニット102に直接原稿がセットされた場合、スキャナユニット102は、エンジン制御部120の制御に従い、セットされた原稿を撮像する。   The engine control unit 120 drives the ADF 101, and transports the document to be imaged set in the ADF 101 to the scanner unit 102. Further, the engine control unit 120 drives the scanner unit 102 to capture an image of a document conveyed from the ADF 101. Further, when a document is not set in the ADF 101 and is directly set in the scanner unit 102, the scanner unit 102 captures an image of the set document according to the control of the engine control unit 120.

撮像動作においては、スキャナユニット102に含まれるCIS(Contact Image Sensor)やCCD(charge−coupled device)等の光学素子が原稿を光学的に走査し、光学情報に基づいて撮像情報が生成される。これらの光学素子は、スキャナユニット102に搬送されてくる原稿を、主走査方向に分割した領域ごとに走査し、走査した領域ごとに撮像情報を生成する。   In an imaging operation, an optical element such as a contact image sensor (CIS) or a charge-coupled device (CCD) included in the scanner unit 102 optically scans a document, and imaging information is generated based on optical information. These optical elements scan the document conveyed to the scanner unit 102 for each area divided in the main scanning direction, and generate imaging information for each area scanned.

本実施形態においては、主走査方向に分割された領域のことを、以後、「ライン」という。エンジン制御部120は、スキャナユニット102が生成した撮像情報を画像処理部130に転送する。画像処理部130は、主制御部110の制御に従い、エンジン制御部120から受信した撮像情報に基づいて画像情報を生成する。   In the present embodiment, the area divided in the main scanning direction is hereinafter referred to as "line". The engine control unit 120 transfers the imaging information generated by the scanner unit 102 to the image processing unit 130. The image processing unit 130 generates image information based on the imaging information received from the engine control unit 120 according to the control of the main control unit 110.

画像処理部130が生成した画像情報は主制御部110が取得し、主制御部110がHDD40などの画像処理装置1に装着された記憶媒体に保存する。すなわち、スキャナユニット102、エンジン制御部120および画像処理部130が連動して、画像入力部として機能する。画像処理部130によって生成された画像情報は、ユーザの指示に応じてそのままHDD40などの記憶媒体に格納され、もしくは、入出力制御部150およびネットワークI/F108を介して外部の装置に送信される。   The main control unit 110 acquires the image information generated by the image processing unit 130, and the main control unit 110 stores the image information in a storage medium mounted on the image processing apparatus 1 such as the HDD 40. That is, the scanner unit 102, the engine control unit 120, and the image processing unit 130 work together to function as an image input unit. Image information generated by the image processing unit 130 is stored as it is in a storage medium such as the HDD 40 according to a user's instruction, or is transmitted to an external device via the input / output control unit 150 and the network I / F 108. .

また、画像処理装置1が複写機として動作する場合は、エンジン制御部120がスキャナユニット102から受信した撮像情報もしくは画像処理部130が生成した画像情報に基づき、画像処理部130が描画情報を生成する。その描画情報に基づいてプリンタ動作の場合と同様に、エンジン制御部120がプリントエンジン106を駆動する。なお、描画情報と撮像情報との情報形式が同一である場合は、撮像情報をそのまま描画情報として用いることも可能である。   When the image processing apparatus 1 operates as a copying machine, the image processing unit 130 generates drawing information based on imaging information received from the scanner unit 102 by the engine control unit 120 or image information generated by the image processing unit 130. Do. The engine control unit 120 drives the print engine 106 based on the drawing information as in the printer operation. In addition, when the information format of drawing information and imaging information is the same, it is also possible to use imaging information as drawing information as it is.

本実施形態に係る画像処理装置1は、スキャナユニット102から入力される撮像データに基づいて、原稿が重複して搬送される、いわゆる「重送」が発生しているか否かを検知する。次に、撮像データを処理する制御を行う画像処理部130の内部機能について説明する。   The image processing apparatus 1 according to the present embodiment detects, based on imaging data input from the scanner unit 102, whether a so-called “double feed” in which originals are transported in duplicate is generated. Next, an internal function of the image processing unit 130 that performs control to process imaging data will be described.

図3は、本実施形態に係る画像処理部130の内部機能を示す機能ブロック図である。図3に示すように、画像処理部130は、読取画像生成部131、重複検知部132、γ変換処理部133、フィルタ処理部134、色変換処理部135、中間調処理部136を含む。   FIG. 3 is a functional block diagram showing internal functions of the image processing unit 130 according to the present embodiment. As shown in FIG. 3, the image processing unit 130 includes a read image generation unit 131, an overlap detection unit 132, a γ conversion processing unit 133, a filter processing unit 134, a color conversion processing unit 135, and a halftone processing unit 136.

読取画像生成部131は、光学素子が原稿を走査して得られた光学情報に基づいて、撮像情報を生成する。読取画像生成部131は、例えば、撮像情報として、RGBをそれぞれ8ビットの値(0〜255)で表したデジタル画像データである読み取り画像を生成する。   The read image generation unit 131 generates imaging information based on optical information obtained by the optical element scanning a document. The read image generation unit 131 generates, for example, a read image which is digital image data in which RGB are each represented by 8-bit values (0 to 255) as imaging information.

重複検知部132は、読取画像生成部131が生成した読み取り画像に基づいて、読み取り画像における原稿の重複が発生しているか否かを検知する。なお、重複検知部132が行う具体的な処理の態様については、後述する。   Based on the read image generated by the read image generation unit 131, the overlap detection unit 132 detects whether duplication of a document in the read image has occurred. In addition, the aspect of the specific process which the duplication detection part 132 performs is mentioned later.

γ変換処理部133は、読取画像生成部131が生成した読み取り画像に対して、階調特性を補正する処理を実行する。そして、γ変換処理部133は、階調特性を変換した読み取り画像をフィルタ処理部134に送信する。   The γ conversion processing unit 133 executes a process of correcting the gradation characteristic on the read image generated by the read image generation unit 131. Then, the γ conversion processing unit 133 transmits the read image obtained by converting the gradation characteristics to the filter processing unit 134.

フィルタ処理部134は、γ変換処理部133から取得した読み取り画像に対して協調や平滑化などのフィルタ処理を実行する。そして、フィルタ処理部134は、フィルタ処理を実行した読み取り画像を色変換処理部135に送信する。   The filter processing unit 134 performs filter processing such as cooperation and smoothing on the read image acquired from the γ conversion processing unit 133. Then, the filter processing unit 134 transmits the read image subjected to the filter processing to the color conversion processing unit 135.

色変換処理部135は、フィルタ処理部134から取得した読み取り画像に対して、RGBデータで表現された色情報をCMYK(Cyan、Magenta、Yellow、Key plate)データに変換する。そして、色変換処理部135は、色変換を行った読み取り画像を、中間調処理部136に送信する。   The color conversion processing unit 135 converts color information represented by RGB data into CMYK (Cyan, Magenta, Yellow, Key plate) data with respect to the read image acquired from the filter processing unit 134. Then, the color conversion processing unit 135 transmits the read image subjected to the color conversion to the halftone processing unit 136.

中間調処理部136は、色変換処理部135から取得した読み取り画像に対して、ディザ処理や誤差拡散処理などを実行し、階調数を変換する。中間調処理部136によって階調数を変換された読み取り画像が描画情報である。   The halftone processing unit 136 performs dither processing, error diffusion processing, and the like on the read image acquired from the color conversion processing unit 135 to convert the number of gradations. The read image whose tone number has been converted by the halftone processing unit 136 is the drawing information.

以上説明したような構成によって、本実施形態に係る画像処理装置1は、取得した画像に対し、画像処理を実行して描画情報を生成し、画像形成出力を実行する。また、本実施形態に係る画像処理装置1は、読み取り画像を生成する際に、読み取り対象の原稿に重複が発生しているか否かを重複検知部132によって判定する。   With the configuration as described above, the image processing apparatus 1 according to the present embodiment performs image processing on the acquired image to generate drawing information, and executes image formation output. In addition, when the image processing apparatus 1 according to the present embodiment generates a read image, the overlap detection unit 132 determines whether duplication is occurring in the document to be read.

次に、図4を参照して、本実施形態に係る重複検知部132が実行する重送検知処理の流れについて説明する。図4は、重複検知部132が実行する処理の全体の流れを示すフローチャートである。   Next, with reference to FIG. 4, the flow of the double feed detection process performed by the duplicate detection unit 132 according to the present embodiment will be described. FIG. 4 is a flowchart showing the entire flow of the process performed by the duplication detection unit 132.

重複検知部132は、読取画像生成部131から取得した読み取り画像に対して第1濃度検知処理を実行する(S401)。重複検知部132は、第1濃度検知処理として、原稿1枚分の地肌部分の紙の濃度を算出し、保存する。第1濃度検知処理の詳細については、図7で説明する。   The overlap detection unit 132 executes the first density detection process on the read image acquired from the read image generation unit 131 (S401). The overlap detection unit 132 calculates and stores the density of the paper of the ground portion of one original sheet as the first density detection process. Details of the first concentration detection process will be described with reference to FIG.

次に、重複検知部132は、読取画像生成部131から取得した読み取り画像に対して第2濃度検知処理を実行する(S402)。重複検知部132は、第2濃度検知処理として、現ラインおよび数ライン分、すなわちMライン分に相当する画像領域における地肌部分の濃度を算出する。第2濃度検知処理の詳細については図9で説明する。   Next, the overlap detection unit 132 executes a second density detection process on the read image acquired from the read image generation unit 131 (S402). The overlap detection unit 132 calculates the density of the background portion in the image area corresponding to the current line and several lines, that is, M lines, as the second density detection process. Details of the second concentration detection process will be described with reference to FIG.

次に、重複検知部132は、読み取り画像に対して、影検知処理を実行する(S403)。重複検知部132は、影検知処理として、読み取り画像において影部分の画像領域である影領域が検知されたか否かを判定する。また、重複検知部132は、影検知処理の結果に基づいて、「status」の値を更新する。   Next, the overlap detection unit 132 executes shadow detection processing on the read image (S403). The overlap detection unit 132 determines whether or not a shadow area that is an image area of a shadow portion is detected in the read image as the shadow detection process. In addition, the duplication detection unit 132 updates the value of “status” based on the result of the shadow detection process.

なお、「status」とは、影領域が検知されたか否かを示すパラメータである。「status=0」は、影領域が検知されていないことを示す。また、「status=1」は、影領域から地肌領域へと切り替わる領域であることを示す。「status=2」は、「status=1」であり、かつ、影領域の近傍の領域同士で濃度の比較ができる状態であることを示す。影検知処理の詳細については図10で説明する。   Note that “status” is a parameter indicating whether or not a shadow area has been detected. “Status = 0” indicates that a shadow area is not detected. Also, “status = 1” indicates that the area is switched from the shadow area to the background area. “Status = 2” indicates that “status = 1” and that regions in the vicinity of the shadow region can be compared in density. Details of the shadow detection process will be described with reference to FIG.

影検知処理が終了すると、重複検知部132は、「status」の値が1かどうかを判定する(S404)。「status=1」と判定された場合(S404/YES)、現ラインおよび1ライン前の画像領域は、影領域と地肌領域との境界、すなわち、影領域から地肌領域へと画素が切り替わっている領域である。   When the shadow detection process ends, the duplication detection unit 132 determines whether the value of “status” is 1 (S404). When it is determined that “status = 1” (S404 / YES), in the image area of the current line and the previous line, the pixel is switched from the shadow area to the background area, ie, from the shadow area to the background area It is an area.

重複検知部132は、S404でYESの場合、第3濃度検知処理を実行する(S405)。重複検知部132は、第3濃度検知処理として、数ライン分の地肌領域の紙の濃度を算出し、保存する。また、重複検知部132は、第3濃度検知処理の結果に基づいて、statusの値を更新する。第3濃度検知処理の詳細は図11で説明する。   If YES in S404, the overlap detection unit 132 executes the third density detection process (S405). The overlap detection unit 132 calculates and stores the paper density of the background region of several lines as the third density detection process. In addition, the overlap detection unit 132 updates the value of status based on the result of the third concentration detection process. Details of the third density detection process will be described with reference to FIG.

第3濃度検知処理が終了すると、重複検知部132は、「status」の値が2かどうかを判定する(S406)。「status=2」と判定された場合(S406/YES)、数ライン分の地肌領域は、影領域から地肌領域へと画素が切り替わっているラインであって、濃度の比較ができる影領域のラインを含んで構成される領域である。   When the third concentration detection process is completed, the duplication detection unit 132 determines whether the value of “status” is 2 (S406). When it is determined that "status = 2" (S406 / YES), the background area of several lines is a line in which pixels are switched from the shadow area to the background area, and the lines of the shadow area where the density can be compared Is an area configured to include

一方で、「status=2」と判定されなかった場合(S406/NO)、重複検知部132は、次のラインについて、再度S401からの処理を実行する。なお、影領域の前後において、濃度の変化が所定より小さい場合には、「status=2」と判定される。   On the other hand, when it is not determined that “status = 2” (S406 / NO), the duplication detection unit 132 executes the processing from S401 again for the next line. Before and after the shadow area, when the change in density is smaller than a predetermined value, it is determined that “status = 2”.

重複検知部132は、S406でYESの場合、第2濃度検知処理の結果である「L2sum」と第3濃度検知処理の結果である「L3sum」との差が「Fth」より大きいか否かを判定する(S407)。   If YES in S406, the duplicate detection unit 132 determines whether the difference between “L2sum”, which is the result of the second density detection process, and “L3sum”, which is the result of the third density detection process, is larger than “Fth”. It determines (S407).

なお、「Fth」の値は、原稿の紙厚や紙種により最適値が変化する。したがって、「Fth」の値を、予め原稿の紙厚や紙種ごとにデータテーブルとしてコントローラ100に記憶させる構成や、ユーザの任意の値をディスプレイパネル104から入力する構成であってもよい。   The value of “Fth” changes its optimum value depending on the paper thickness and paper type of the document. Therefore, the value of “Fth” may be stored in advance in controller 100 as a data table for each sheet thickness and sheet type of the document, or may be configured to input an arbitrary value from the display panel 104 by the user.

「L2sum」と「L3sum」との差が「Fth」より大きい場合(S407/YES)、重複検知部132は、原稿の重複を検知し、原稿の重送が発生していることを示す重送発生情報を主制御部110に送信する(S408)。主制御部110は、重送発生情報を受信すると、ADF101およびスキャナユニット102の動作を制御し、原稿の読み取りを停止させる(S409)。   If the difference between “L2sum” and “L3sum” is larger than “Fth” (S 407 / YES), the duplication detection unit 132 detects duplication of the originals, and indicates that double feeding of the originals is occurring. The generation information is transmitted to the main control unit 110 (S408). When the double control occurrence information is received, the main control unit 110 controls the operations of the ADF 101 and the scanner unit 102, and stops the reading of the document (S409).

主制御部110は、原稿の読み取りを停止させると、重送を検知したことを、操作表示制御部140を介してディスプレイパネル104に表示させる(S410)。重複検知部132は、主制御部110によって、重送を検知した表示が実行されると、本処理を終了する。   When the reading of the document is stopped, the main control unit 110 causes the operation display control unit 140 to display on the display panel 104 that the double feed has been detected (S410). The duplication detection unit 132 ends the present process when the main control unit 110 executes the display in which the double feed is detected.

なお、「L2sum」と「L3sum」との差が「Fth」より小さい場合(S407/NO)、重複検知部132は、statusを0に更新する(S411)。S411の場合、原稿の重送は発生していない。   When the difference between “L2sum” and “L3sum” is smaller than “Fth” (S407 / NO), the duplication detection unit 132 updates the status to 0 (S411). In the case of S411, double feed of the document has not occurred.

そして、重複検知部132は、原稿に含まれる全てのラインに対してS401からの一連の処理を実行すると(S412/YES)、本処理を終了する。以上説明したように、本実施形態においては、読み取り画像に含まれる原稿の画像領域における画素の濃度の変化に基づいて原稿の重送が発生しているか否かを検知することができる。   Then, when the duplication detection unit 132 executes a series of processing from S401 on all the lines included in the document (S412 / YES), this processing ends. As described above, in the present embodiment, it is possible to detect whether double feed of a document has occurred based on a change in the density of pixels in the image area of the document included in the read image.

図5は、本実施形態に係る1枚の原稿が読み取られて生成された読み取り画像P1である。なお、読み取り画像P1の濃度を示す情報を、原稿のサイズ、紙質、紙種別に予めROM12aやHDD25に記憶させておいてもよい。   FIG. 5 shows a read image P1 generated by reading one original document according to the present embodiment. The information indicating the density of the read image P1 may be stored in advance in the ROM 12a or the HDD 25 according to the size of the document, the paper quality, and the paper type.

正常に読み取られたならば読み取り画像P1が生成される原稿であっても、重送された場合には、原稿が重複した領域の濃度が異なる。この例を図6に示す読み取り画像P2を用いて説明する。図6に示すように、複数枚の原稿が重送されると、複数枚の原稿が重複することになるため、読み取り画像P2に表現される原稿の画像は、複数枚の原稿を重ねた厚みの紙に相当する濃度となる。   Even if the original is a document from which the read image P1 is generated if it is read normally, if the document is sent twice, the density of the area where the document overlaps is different. This example will be described using the read image P2 shown in FIG. As shown in FIG. 6, when a plurality of originals are double-fed, the plurality of originals overlap, so the image of the original represented in the read image P2 has a thickness obtained by overlapping the plurality of originals. The density corresponds to that of paper.

したがって、読み取り画像P2の濃度は、読み取り画像P1の濃度よりも高くなるため、複数の読み取り画像の濃度を比較することで、重送を検知することが可能である。   Therefore, since the density of the read image P2 is higher than the density of the read image P1, double feeding can be detected by comparing the densities of a plurality of read images.

次に、重複検知部132が、S401で実行する第1濃度検知処理について図7を参照して説明する。図7は、本実施形態に係る第1濃度検知処理の流れを示すフローチャートである。   Next, the first concentration detection process performed by the overlap detection unit 132 in S401 will be described with reference to FIG. FIG. 7 is a flowchart showing the flow of the first concentration detection process according to the present embodiment.

第1濃度検知処理では、まず、原稿1枚分の地肌部分に相当する第1画像情報である読み取り画像P1の濃度を算出する。なお、地肌部分とは、文字や画像が表現されていない原稿上の領域であり、読み取り画像P1においては、読み取り画像P1の元となった第1原稿のそのものの色によって表現される領域である。また、読み取り画像P1の画像の濃度、すなわち、第1画像濃度をあらかじめROM12aやHDD25などに記憶させておき、濃度情報記憶部として構成してもよい。   In the first density detection process, first, the density of the read image P1, which is the first image information corresponding to the background portion of one original, is calculated. The background portion is an area on the document where characters and images are not expressed, and in the read image P1, an area expressed by the color of the first original which is the origin of the read image P1. . Alternatively, the density of the image of the read image P1, that is, the first image density may be stored in advance in the ROM 12a, the HDD 25, or the like, and may be configured as a density information storage unit.

そして、読み取り画像P1の濃度と第2画像情報である読み取り画像P2の濃度とを比較することによって、原稿の重送か発生しているか否かを判定する。なお、第1濃度処理においては、原稿の四辺が重複して搬送された読み取り画像における重送を検知することができる。   Then, by comparing the density of the read image P1 with the density of the read image P2, which is the second image information, it is determined whether double feed of the document has occurred. In the first density processing, double feeding in a read image in which the four sides of the document overlap and are transported can be detected.

まず、重複検知部132による、読み取り画像P2の濃度、すなわち、第2画像濃度を算出する処理について説明する。なお、読み取り画像P2は、スキャナユニット102で読み取られた第2原稿の撮像情報に基づいて、読取画像生成部131によって生成される。したがって、重複検知部132は、読み取り画像P2に表現された原稿の画像濃度を検知する画像濃度検知部として機能する。   First, the process of calculating the density of the read image P2, that is, the second image density by the overlap detection unit 132 will be described. The read image P2 is generated by the read image generation unit 131 based on the imaging information of the second document read by the scanner unit 102. Therefore, the overlap detection unit 132 functions as an image density detection unit that detects the image density of the document expressed in the read image P2.

重複検知部132は、読取画像生成部131から取得した読み取り画像P2を、主走査方向に一定の間隔で分割し、分割した画像DIV1、画像DIV2、・・・、DIVnごとに、画像濃度の平坦性の変化、色成分の変化、明度の変化に基づいて平坦性判定、無彩色判定、明るさ判定をそれぞれ実行する(S701)。ここで、主走査方向に分割した画像をそれぞれ画像DIV1、画像DIV2、・・・、DIVnとして、以後の説明を行う。また、画像DIV1は地肌領域の画像、画像DIVXは地肌領域ではない画像である。   The overlap detection unit 132 divides the read image P2 acquired from the read image generation unit 131 at regular intervals in the main scanning direction, and flattens the image density for each of the divided image DIV1, the image DIV2, ..., DIVn. Flatness determination, achromatic determination, and brightness determination are respectively executed based on the change of the color, the change of the color component, and the change of the lightness (S701). Here, the image divided in the main scanning direction will be described as the image DIV1, the image DIV2,..., DIVn, respectively. Further, the image DIV1 is an image of a background region, and the image DIVX is an image which is not a background region.

重複検知部132は、濃度の平坦性判定として、RGBの色成分ごとに、画像DIV1における画像信号の最大値および最小値を抽出する。そして、重複検知部132は、抽出した画像DIV1における画像信号の最大値と最小値との差分が、RGBのすべての色成分で所定の値THより小さければ、画像DIV1の濃度が平坦であると判定する。   The overlap detection unit 132 extracts the maximum value and the minimum value of the image signal in the image DIV1 for each of the RGB color components as the density flatness determination. Then, the overlap detection unit 132 determines that the density of the image DIV1 is flat if the difference between the maximum value and the minimum value of the image signal in the extracted image DIV1 is smaller than the predetermined value TH for all color components of RGB. judge.

すなわち、重複検知部132は、(画像DIV1における赤成分の画像信号の最大値−画像DIV1における赤成分の画像信号の最小値)<TH_R、かつ、(画像DIV1における緑成分の画像信号の最大値−画像DIV1における緑成分の画像信号の最小値)<TH_G、かつ、(画像DIV1における青成分の画像信号の最大値−画像DIV1における青成分画像信号の最小値)<TH_Bである場合に、画像DIV1の濃度が平坦であると判定する。   That is, the overlap detection unit 132 sets (maximum value of image signal of red component in image DIV1−minimum value of image signal of red component in image DIV1) <TH_R, and (maximum value of image signal of green component in image DIV1 -The minimum value of the image signal of the green component in the image DIV1 <TH_G, and (the maximum value of the image signal of the blue component in the image DIV1-the minimum value of the blue component image signal in the image DIV1) <TH_B It is determined that the density of DIV1 is flat.

重複検知部132は、無彩色判定として、画像DIV1を代表する画像信号値である代表値色成分を相互に比較し、その最大値と最小値を抽出する。このとき、重複検知部132は、画像DIV1における画像信号の平均値あるいは中間値(画像信号の大きさ順に並べ、その中間に位置する信号値のことを示す)、あるいは、画像DIV1およびその周辺の画像信号の平均値あるいは中間値を算出し、代表値色成分としてもよい。   The overlap detection unit 132 compares representative value color components, which are image signal values representing the image DIV1, with each other as achromatic color determination, and extracts the maximum value and the minimum value. At this time, the overlap detection unit 132 detects an average value or an intermediate value of the image signals in the image DIV1 (arranged in order of the size of the image signals and indicates a signal value located in the middle) or the image DIV1 and its periphery An average value or an intermediate value of the image signal may be calculated as a representative value color component.

そして、重複検知部132は、抽出した代表値色成分の最大値と最小値との差分が、所定の値TH_Nより小さければ無彩であると判定する。すなわち、重複検知部132は、(代表値色成分の最大値−代表値色成分の最小値)<TH_Nである場合に、画像DIV1が無彩色であると判定する。   Then, if the difference between the maximum value and the minimum value of the extracted representative value color components is smaller than a predetermined value TH_N, the overlap detection unit 132 determines that the color is achromatic. That is, the overlap detection unit 132 determines that the image DIV1 is achromatic when (maximum value of representative value color components−minimum value of representative value color components) <TH_N.

重複検知部132は、明るさ判定として、画像DIV1における代表値の各色成分が、それぞれ所定の閾値TH_Lより明るい場合に明るいと判定する処理を行う。すなわち、重複検知部132は、画像DIV1における代表値の赤成分>TH_L、かつ、画像DIV1における代表値の緑成分>TH_L、かつ、画像DIV1における代表値の青成分>TH_Lである場合に、画像DIV1が明るいと判定する。   The overlap detection unit 132 performs a process of determining that each color component of the representative value in the image DIV1 is brighter than the predetermined threshold TH_L as the brightness determination. That is, the overlap detection unit 132 generates an image when red component of the representative value in the image DIV1> TH_L, green component of the representative value in the image DIV1> TH_L, and blue component of the representative value in the image DIV1> TH_L. It is determined that DIV1 is bright.

次に重複検知部132は、濃度の平坦性判定、無彩色判定、明るさ判定の結果にもとづいて、分割した画像ごとに地肌領域であるか否かを判定する(S702)。一般的に、原稿においては、白い紙に画像が形成されているため、地肌領域においては、色の変動および明暗の変動が少なく、明度が明るい。したがって、重複検知部132は、画像DIV1において、画像DIV1の濃度が平坦であり、かつ、画像DIV1が無彩色であり、かつ、画像DIV1が明るい場合に、画像DIV1が地肌領域であると判定する。   Next, the overlap detection unit 132 determines whether or not it is a ground area for each of the divided images, based on the results of density flatness determination, achromatic color determination, and brightness determination (S702). Generally, in an original, an image is formed on white paper, so in the background area, the variation in color and the variation in brightness and darkness are small, and the lightness is bright. Therefore, in the image DIV1, when the density of the image DIV1 is flat, the image DIV1 is achromatic, and the image DIV1 is bright, the overlap detection unit 132 determines that the image DIV1 is a background region. .

S702でYESの場合、重複検知部132は、画像DIV1について「ground=1」とする(S703)。なお、「ground」とは、画像が地肌領域であるか否かを示すパラメータである。S702でNOの場合、重複検知部132は、画像DIVXについて「ground=0」とする(S704)。   In the case of YES in S702, the duplication detection unit 132 sets “ground = 1” for the image DIV1 (S703). Note that "ground" is a parameter indicating whether the image is a background region. If NO in S702, the duplication detection unit 132 sets “ground = 0” for the image DIVX (S704).

次に、重複検知部132は、濃度平均値加算処理を実行する。濃度平均値加算処理の一つとして、重複検知部132は、地肌判定を行った画像DIV1、・・・、DIVnについて、例えば、画像DIV1のように、「ground=1」の場合は画像の濃度の平均値Dを算出し、読み取り画像P2の濃度値Lに加算する。なお、「ground=0」の場合、重複検知部132は何もしないが、その場合も濃度平均値加算処理の一つの形態に含まれる。   Next, the overlap detection unit 132 executes density average value addition processing. As one of the density average value addition processing, the overlap detection unit 132 determines the density of the image in the case of “ground = 1” as in the case of the image DIV1, for example, with respect to the images DIV1,. The average D of the image is calculated and added to the density L of the read image P2. In the case of “ground = 0”, the duplication detection unit 132 does nothing, but also in that case, it is included in one form of density average value addition processing.

また、画像DIV1のように地肌領域であると判定されるごとに、重複検知部132は、濃度平均値加算処理の一つとして、地肌領域であると判定された画像DVInの数を示す「groundAsum」に「ground」の値を加算する(S705)。   In addition, each time it is determined that the background area is determined as in the image DIV1, the overlap detection unit 132 indicates “the number of images DVIn determined to be the background area as one of the density average value addition processing. The value of "ground" is added to (S705).

なお、濃度値Lは、例えば、読み取り画像の最初のラインについて処理を実行するときに初期化される。また、「groundAsum」についても、読み取り画像の最初のラインについて処理を実行するときに初期化され、副走査方向下流のラインの処理を実行する際には、常にその値がRAM12bやHDD25に保持されている。   The density value L is initialized, for example, when processing is performed on the first line of the read image. In addition, “groundAsum” is also initialized when processing is performed on the first line of the read image, and the value is always stored in the RAM 12 b or the HDD 25 when processing of the line downstream in the sub scanning direction is performed. ing.

次に、重複検知部132は、S705までの処理を主走査方向すべて、すなわち、1ラインに相当する読み取り画像P2の画像領域について行ったどうかを判定する(S706)。S706でYESの場合、重複検知部132は、読み取り画像P2の地肌の濃度値LGに濃度値Lを加算する(S707)。   Next, the duplication detection unit 132 determines whether or not the processing up to S705 has been performed on the image area of the read image P2 corresponding to all in the main scanning direction, that is, one line (S706). In the case of YES in S706, the overlap detection unit 132 adds the density value L to the density value LG of the background of the read image P2 (S707).

なお、濃度値LGは、例えば、読み取り画像の最初のラインについて処理を実行するときに初期化され、副走査方向下流のラインの処理を実行する際には、常にその値がRAM12bやHDD25に保持されている。次に、重複検知部132は、S707までの処理を、読み取り画像P2を構成する全てのラインについて実行したか否かを判定し(S708)、全てのラインについてS701からS707までの処理を実行する。   Note that the density value LG is initialized, for example, when processing is performed on the first line of the read image, and the value is always stored in the RAM 12 b or the HDD 25 when processing of the line downstream in the sub scanning direction is performed. It is done. Next, the duplication detection unit 132 determines whether or not the processing up to S707 has been performed for all the lines constituting the read image P2 (S708), and executes the processing from S701 to S707 for all the lines. .

S707でYESの場合、重複検知部132は、紙の地肌の濃度値LGの総和を、地地肌領域であると判定された画像DIVnの数の総和「groundAsum」で割り、読み取り画像P2に含まれる地肌領域の濃度の平均値「LGave」を算出する(S709)。   In the case of YES in S707, the overlap detection unit 132 divides the sum of the density values LG of the background of the paper by the sum “groundAsum” of the number of the images DIVn determined to be the ground area and included in the read image P2. The average value "LGave" of the density of the background area is calculated (S709).

次に、重複検知部132は、「LGave」と1ページ前の読み取り画像P1に含まれる地肌領域の濃度の平均値「L(G−1)ave」の差が「Tth」より大きいかを判定する(S710)。このとき、読み取り画像P2が、最初の原稿である場合には、1ページ前の原稿が存在しない。したがって、複数ある原稿のうち、1ページ目については、「Tth」以下と判定する。   Next, the overlap detection unit 132 determines whether the difference between “LGave” and the average value “L (G−1) ave” of the density of the background region included in the read image P1 one page before is larger than “Tth”. (S710). At this time, if the read image P2 is the first document, there is no document of one page before. Therefore, for the first page among a plurality of originals, it is determined that "Tth" or less.

なお、「Tth」は紙厚や紙種により最適値が変わる。そのため、紙厚や紙種ごとに予め「Tth」の値をデータテーブルとしてROM12aやHDD25に記憶させておいてもよいし、ディスプレイパネル104からユーザが任意の値を設定できるようにしてもよい。   The optimum value of "Tth" changes depending on the paper thickness and paper type. Therefore, the value of "Tth" may be stored in advance as a data table in the ROM 12a or the HDD 25 for each sheet thickness or sheet type, or the user may set an arbitrary value from the display panel 104.

S710でYESの場合、すなわち、読み取り画像P2における濃度の平均値と読み取り画像P1における濃度の平均値との差が大きい場合、重複検知部132は、読み取り画像P1もしくは読み取り画像P2において、原稿が重複していることを検知する(S711)。重複検知部132が原稿の重複を検知した場合、主制御部110は、スキャナユニット102による原稿の読み取りを停止させ(S712)、原稿が重複していることを通知する画面をディスプレイパネル104に表示させる。   If YES in S710, that is, if the difference between the average value of the density in the read image P2 and the average value of the density in the read image P1 is large, the overlap detection unit 132 determines that the document overlaps in the read image P1 or the read image P2. It detects that it is doing (S711). If the duplication detection unit 132 detects duplication of documents, the main control unit 110 stops reading of the documents by the scanner unit 102 (S 712), and displays a screen notifying that the documents are duplicates on the display panel 104. Let

S710でNOの場合、すなわち、読み取り画像P2における濃度の平均値と読み取り画像P1における濃度の平均値との差が小さい場合、読み取り画像P1もしくは読み取り画像P2には、原稿の重複が発生していない。このとき、重複検知部132は、次の原稿に備え「L(G−1)ave」で指定されている値を「LGave」の値として更新する(S713)。   In the case of NO at S710, that is, when the difference between the average value of the density in the read image P2 and the average value of the density in the read image P1 is small, duplication of the document does not occur in the read image P1 or the read image P2. . At this time, the duplication detection unit 132 updates the value designated by “L (G−1) ave” in preparation for the next document as the value of “LGave” (S713).

以上説明したように、第1濃度検知処理では、原稿の四辺が重複して搬送された読み取り画像における重送を検知することができる。ところが、複数枚の原稿がずれた状態で搬送されることによって、図8に示すように、重複した原稿の影が表現された読み取り画像P3が生成されることがある。   As described above, in the first density detection process, it is possible to detect double feeding in the read image in which the four sides of the document overlap and are transported. However, when a plurality of originals are conveyed in a shifted state, as shown in FIG. 8, a read image P3 may be generated in which the shadows of the overlapping originals are expressed.

図8では、影領域より副走査方向下流のラインにある地肌部分では原稿が重複しておらず、影領域より副走査方向上流のラインの地肌部分では原稿が重複している。したがって、複数枚の原稿が重複した部分では、複数枚の原稿を重ねた厚みの紙に相当する濃度となるために、影領域より副走査方向下流のラインにある地肌部分の濃度と影領域より副走査方向上流のラインにある地肌部分とでは、画像の濃度が異なる。   In FIG. 8, the originals do not overlap in the background portion in the line downstream of the shadow region in the sub scanning direction, and the originals overlap in the background portion of the line upstream in the sub scanning direction from the shadow region. Therefore, in a portion where a plurality of originals overlap, the density corresponds to a sheet of paper having a thickness in which the plurality of originals overlap, so the density of the background portion and the shadow area on the line downstream of the shadow area in the sub scanning direction The density of the image is different in the background portion in the line upstream in the sub scanning direction.

そこで、本実施形態では、現ラインと副走査方向に数ライン下流の地肌部分の読み取り画像P3の濃度を算出する。このとき算出される濃度は、重複した原稿の影の画像領域、すなわち影領域より副走査方向上流のラインにある地肌部分の濃度である。重複検知部132は、第2濃度検知処理として、影領域の近傍、すなわち、影領域より副走査方向上流のラインにある地肌部分の濃度と、影領域より副走査方向下流のラインの地肌部分の濃度とを比較することによって重送かどうかを判定する。   Therefore, in the present embodiment, the density of the read image P3 of the background portion of several lines downstream in the current line and the sub scanning direction is calculated. The density calculated at this time is the density of the background area in the image area of the shadow of the overlapped original, that is, the line upstream of the shadow area in the sub scanning direction. The overlap detection unit 132 performs, as the second density detection process, the density of the background portion in the vicinity of the shadow region, that is, the line upstream of the shadow region in the sub scanning direction and the background portion of the line downstream of the shadow region in the sub scanning direction. It is determined whether or not double feeding is made by comparing the concentration.

次に、重複検知部132が、S402で実行する第2濃度検知処理について図9を参照して説明する。重複検知部132は、読取画像生成部131から取得した読み取り画像P3の「status」が「status=0」であるか否かを判定する(S901)。   Next, the second concentration detection process performed by the overlap detection unit 132 in S402 will be described with reference to FIG. The duplication detection unit 132 determines whether “status” of the read image P3 acquired from the read image generation unit 131 is “status = 0” (S901).

「status=0」ではない場合(S901/NO)、重複検知部132は、本処理を終了する。これは、「status=0」ではない場合には、影領域Sがすでに検知されていて、副走査方向下流側のラインにおける画像濃度を検知して画像濃度の比較を行うためである。   If “status = 0” is not satisfied (S901 / NO), the duplication detection unit 132 ends this processing. This is because if the status is not “status = 0”, the shadow area S has already been detected, and the image density in the line downstream in the sub scanning direction is detected to compare the image density.

「status=0」である場合(S901/YES)、重複検知部132は、読み取り画像P3に対してS701と同様に濃度の平坦性判定、無彩色判定、明るさ判定を行う(S902)。したがって、重複検知部132は、読み取り画像P3に表現された原稿の画像濃度を検知する画像濃度検知部として機能する。   If “status = 0” (S901 / YES), the overlap detection unit 132 performs density flatness determination, achromatic determination, and brightness determination on the read image P3 as in S701 (S902). Therefore, the overlap detection unit 132 functions as an image density detection unit that detects the image density of the document expressed in the read image P3.

このとき、読み取り画像P3において影領域Sが検知されていない状態であり、副走査方向下流側のラインにおける画像濃度を検知しなければ、読み取り画像P3に影領域Sが存在するか否かは不明である。   At this time, if the shadow area S is not detected in the read image P3 and the image density in the line downstream in the sub scanning direction is not detected, it is unknown whether the shadow area S exists in the read image P3. It is.

次に、重複検知部132は、S902における地肌判定の結果に基づいて、地肌判定を行った画像DIVnごとに「ground」の値を制御する(S903)。S902で地肌と判定された場合、すなわち、S903でYESの場合、重複検知部132は、画像DIVnの「ground」を「ground=1」とする(S904)。   Next, the overlap detection unit 132 controls the value of “ground” for each of the images DIVn for which the background determination has been performed, based on the result of the background determination in S902 (S903). When it is determined in S902 that the ground is the ground, that is, in the case of YES in S903, the duplication detection unit 132 sets “ground” of the image DIVn as “ground = 1” (S904).

S902で地肌でないと判定された場合、すなわち、S903でNOの場合、重複検知部132は、画像DIVnの「ground」を「ground=0」とする(S905)。   If it is determined in S902 that the image is not the ground, that is, NO in S903, the overlap detection unit 132 sets “ground” of the image DIVn to “ground = 0” (S905).

次に、重複検知部132は、濃度平均値加算処理を実行する。重複検知部132は、地肌判定を行った画像DIV1、・・・、DIVnについて、例えば、画像DIV1のように、「ground=1」の場合は画像の濃度の平均値Dを算出し、読み取り画像P3の濃度値Lに加算する。なお、「ground=0」の場合、重複検知部132は何もしないが、この処理も濃度平均値加算処理の一つである。   Next, the overlap detection unit 132 executes density average value addition processing. The overlap detection unit 132 calculates the average value D of the image density in the case of “ground = 1” as in the image DIV1 for the images DIV1 to DIVn subjected to the background determination, for example, and reads the image Add to the density value L of P3. In the case of “ground = 0”, the duplication detection unit 132 does nothing, but this process is also one of the density average value addition processes.

また、画像DIV1のように地肌領域であると判定されるごとに、重複検知部132は、濃度平均値加算処理の一つとして、地肌領域であると判定された画像DVInの数を示す「groundBsum」に「ground」の値を加算する(S906)。   In addition, each time it is determined that the background area is the image DIV1, the overlap detection unit 132 indicates “the number of images DVIn determined to be the background area as one of the density average value addition processing. The value of "ground" is added to (S906).

なお、濃度値Lは、例えば、読み取り画像P3の最初のラインについて処理を実行するときに初期化される。また、「groundBsum」についても、読み取り画像の最初のラインについて処理を実行するときに初期化され、副走査方向下流のラインの処理を実行する際には、常にその値がRAM12bやHDD25に保持されている。   The density value L is initialized, for example, when processing is performed on the first line of the read image P3. In addition, “groundBsum” is also initialized when processing is performed on the first line of the read image, and the value is always stored in the RAM 12 b or the HDD 25 when processing of the line downstream in the sub scanning direction is performed. ing.

次に、重複検知部132は、S906までの処理を主走査方向すべて、すなわち、1ラインに相当する読み取り画像P3の画像領域について行ったどうかを判定する(S907)。S907でYESの場合、重複検知部132は、読み取り画像P3の地肌領域の画像濃度値LNに濃度値Lを加算し、「groundBsum」で割る事により平均値を算出する(S908)。   Next, the duplication detection unit 132 determines whether or not the processing up to S906 has been performed on the image area of the read image P3 corresponding to all lines in the main scanning direction, that is, one line (S907). In the case of YES in S907, the duplication detection unit 132 adds the density value L to the image density value LN of the background area of the read image P3 and divides it by "groundBsum" to calculate an average value (S908).

なお、画像濃度値LNは、読み取り画像P3の最初のラインについて処理を実行するときに初期化される。次に、重複検知部132は、「L0」から「LN」までの総和である「L2sum」を算出する(S909)。「L2sum」は、処理中のラインおよび地肌領域であると判定された画像DIVnにおける画像の濃度の総和である。   The image density value LN is initialized when processing is performed on the first line of the read image P3. Next, the duplication detection unit 132 calculates “L2sum” which is the total sum from “L0” to “LN” (S909). “L2sum” is the sum of image density in the image DIVn determined to be the line being processed and the background region.

そして、重複検知部132は、「L(N−1)=LN」、「L(N−2)=L(N−1)」、・・・、「L0=L1」、・・・として、次のラインに対する処理を実行するための情報の更新を行い(S910)、本処理を終了する。   Then, the duplication detection unit 132 sets “L (N−1) = LN”, “L (N−2) = L (N−1)”,..., “L0 = L1”,. The information for executing the process for the next line is updated (S910), and the process ends.

このとき、読み取り画像P3には、図8に示すように、重複した原稿の影である影領域Sが表現されている。重複検知部132は、影領域Sと地肌領域E1(もしくは地肌領域E2)との境目を検知し、影領域の前後の画像、すなわち地肌領域E1と地肌領域E2とにおける濃度を比較するために、読み取り画像P3において影領域Sを検知する影検知処理を実行する。したがって、重複検知部132は、影領域検知部として機能する。次に、重複検知部132がS403で実行する影検知処理について、図10を参照して説明する。   At this time, in the read image P3, as shown in FIG. 8, a shadow area S which is a shadow of the overlapping original is represented. The overlap detection unit 132 detects the boundary between the shadow area S and the background area E1 (or background area E2), and compares the density in the images before and after the shadow area, that is, the background area E1 and the background area E2. Shadow detection processing for detecting a shadow area S in the read image P3 is executed. Therefore, the overlap detection unit 132 functions as a shadow area detection unit. Next, the shadow detection process performed by the overlap detection unit 132 in step S403 will be described with reference to FIG.

重複検知部132は、読取画像生成部131から取得した読み取り画像P3の「status」が「status=0」であるか否かを判定する(S1001)。「status=0」でない場合(S1001/NO)、重複検知部132は、本処理を終了する。このとき、すでに、読み取り画像P3において影領域Sを検知しているためである。   The duplication detection unit 132 determines whether “status” of the read image P3 acquired from the read image generation unit 131 is “status = 0” (S1001). If “status = 0” is not satisfied (S1001 / NO), the duplication detection unit 132 ends this processing. At this time, the shadow area S is already detected in the read image P3.

「status=0」である場合(S1001/YES)、重複検知部132は、読み取り画像P3に対してS701と同様に濃度の平坦性判定、無彩色判定、明るさ判定を行う(S1002〜S1004)。このとき、影領域Sを検知するために、重複検知部132は、S1002の明るさ判定では明度の閾値を小さくして黒に近い色を検知できるようにする。   If “status = 0” (S1001 / YES), the overlap detection unit 132 performs density flatness determination, achromatic determination, and brightness determination on the read image P3 as in S701 (S1002 to S1004). . At this time, in order to detect the shadow area S, the overlap detection unit 132 reduces the lightness threshold value in the brightness determination in S1002 so that a color close to black can be detected.

S1002からS1004のいずれかの処理において、地肌領域であると判定されたラインについて、重複検知部132は、「Black_M」の値を「Black_M=0」と制御する(S1007)。なお、「Black_M」は、影領域Sであるか否かを示す値であって、「Black_M=0」の場合には、影領域Sではなく、「Black_M=1」の場合には影領域Sであることを示す。   The overlap detection unit 132 controls the value of “Black_M” to “Black_M = 0” for the line determined to be the background region in the processing in any of S1002 to S1004 (S1007). Note that “Black_M” is a value indicating whether or not it is a shadow area S, and in the case of “Black_M = 0”, it is not the shadow area S, but in the case of “Black_M = 1”, the shadow area S To indicate that

次に重複検知部132は、S1004までの処理を主走査方向すべて、すなわち、1ラインに相当する読み取り画像P3の画像領域について行ったどうかを判定する(S1005)。S1005でYESの場合、重複検知部132は、「Black_M」の値を「Black_M=1」と制御する(S1006)。   Next, the overlap detection unit 132 determines whether or not the processing up to S1004 has been performed on the image area of the read image P3 corresponding to all the main scanning directions, that is, one line (S1005). In the case where S1005 is YES, the duplication detection unit 132 controls the value of “Black_M” to “Black_M = 1” (S1006).

次に重複検知部132は、Mライン分に相当する画像領域が影領域Sであるか否かを判定するために、Mライン分に相当する領域の最初のラインについての「Black_M」の値、すなわち「Black_0」から「Black_M」の総和がMとなるかどうかを判定する(S1008)。   Next, the overlap detection unit 132 determines the value of “Black_M” for the first line of the area corresponding to M lines, in order to determine whether the image area corresponding to M lines is a shadow area S, That is, it is determined whether the sum of "Black_0" to "Black_M" is M (S1008).

画像そのため、紙厚や紙種別のMの値をデータテーブルとしてRAM12bやHDD25に記憶しておいてもよく、ユーザの任意のMの値をディスプレイパネル104から設定できるようにしてもよい。   For this reason, the value of M of paper thickness and paper type may be stored as a data table in the RAM 12 b or the HDD 25, and an arbitrary M value of the user may be set from the display panel 104.

S1008がYESの場合、すなわち、「Black_0」から「Black_M」の総和がMとなる場合、重複検知部132は、Mライン分に相当する画像領域の「Shadow_M」の値を「Shadow_M=1」と制御する(S1009)。なお、「Shadow_M」は、Mライン分に相当する画像領域が影領域Sであるか否か示す値であり、「Shadow_M=1」は影領域Sであることを示し、「Shadow_M=0」は影領域Sではないことを示す。   If S1008 is YES, that is, if the sum of “Black_0” to “Black_M” is M, the overlap detection unit 132 sets the value of “Shadow_M” of the image area corresponding to M lines as “Shadow_M = 1”. Control is performed (S1009). "Shadow_M" is a value indicating whether the image area corresponding to M lines is a shadow area S, "Shadow_M = 1" indicates a shadow area S, and "Shadow_M = 0" is a value. It indicates that it is not a shadow area S.

S1008がNOの場合、すなわち、「Black_0」から「Black_M」の総和がMとならない場合、重複検知部132は、Mライン分に相当する画像領域の「Shadow_M」の値を「Shadow_M=0」とする(S1010)。また、Mラインにおける「Black_M=0」の場合、Mライン目は、影領域Sではないため、重複検知部132は、「Shadow_M=0」とする。   If S1008 is NO, that is, if the sum of "Black_0" to "Black_M" does not become M, the overlap detection unit 132 sets the "Shadow_M" value of the image area corresponding to M lines as "Shadow_M = 0". To do (S1010). Further, in the case of “Black_M = 0” in the M line, since the M-th line is not the shadow area S, the overlap detection unit 132 sets “Shadow_M = 0”.

次に重複検知部132は、「Shadow_M=0」かつ「Shadow_(M−1)=1」であるか否かを判定する(S1011)。「Shadow_(M−1)」はMライン分に相当する画像領域の全ラインが影領域Sであるか否かを示す。   Next, the duplication detection unit 132 determines whether “Shadow_M = 0” and “Shadow_ (M−1) = 1” (S1011). “Shadow_ (M−1)” indicates whether all the lines of the image area corresponding to M lines are the shadow area S or not.

S1011において、「Shadow_M=0」かつ「Shadow_(M−1)=1」となる場合(S1011/YES)、Mライン分に相当する画像領域は影領域Sから地肌領域E1(もしくは地肌領域E2)への切り替わり部分である。そのため、S1101でYESの場合、重複検知部132は、Mライン分に相当する画像領域の「status」を「status=1」とし(S1012)、本処理を終了する。   In S1011, when “Shadow_M = 0” and “Shadow_ (M−1) = 1” (S1011 / YES), the image area corresponding to the M line corresponds to the shadow area S to the background area E1 (or background area E2) It is a switching part to Therefore, in the case of YES in S1101, the duplication detection unit 132 sets “status” of the image area corresponding to M lines to “status = 1” (S1012), and ends this processing.

S1011において、「Shadow_M=0」かつ「Shadow_(M−1)=1」でない場合(S1011/NO)、重複検知部132は、「Shadow_(M−1)=Shadow_M」、「Black_(M−1)=Black_M」、「Black_(M−2)=Black_(M−1)」、・・・、「Black_0=Black_1」として情報を更新し(S1013)、本処理を終了する。   In S1011, when “Shadow_M = 0” and “Shadow_ (M−1) = 1” are not (S1011 / NO), the duplication detection unit 132 determines that “Shadow_ (M−1) = Shadow_M”, “Black_ (M−1) The information is updated as “Black_M”, “Black_ (M−2) = Black_ (M−1)”,..., “Black_0 = Black_1” (S1013), and this process ends.

そして、重複検知部132は、検知した影領域Sに対して、影領域より副走査方向下流側の数ライン分の地肌領域E2の濃度を算出し、影領域より副走査方向上流側のラインの地肌領域E1の濃度と比較する第3濃度検知処理を実行する。重複検知部132は、影領域より副走査方向下流側の数ライン分の地肌領域E2の濃度と影領域より副走査方向上流側のラインの地肌領域E1の濃度とを比較することによって原稿が重複しているか否かを判定する。   Then, the overlap detection unit 132 calculates, for the detected shadow area S, the density of the background area E2 for several lines downstream of the shadow area in the sub scanning direction, and the line upstream of the shadow area in the sub scanning direction. A third density detection process is performed to compare with the density of the background area E1. The overlap detection unit 132 overlaps the original by comparing the density of the background area E2 of several lines downstream of the shadow area in the sub scanning direction with the density of the background area E1 of the line upstream of the shadow area in the sub scanning direction. It is determined whether the

次に、重複検知部132が、S405で実行する第3濃度検知処理について図11を参照して説明する。図11は、本実施形態に係る第3濃度検知処理の流れを示すフローチャートである。   Next, the third concentration detection process performed by the overlap detection unit 132 in S405 will be described with reference to FIG. FIG. 11 is a flowchart showing the flow of the third concentration detection process according to the present embodiment.

重複検知部132は、重複検知部132は、読み取り画像P3に対してS701と同様に濃度の平坦性判定、無彩色判定、明るさ判定を行う(S1101)。重複検知部132は、濃度の平坦性判定、無彩色判定、明るさ判定の結果に基づいて、分割した画像ごとに地肌領域であるか否かを判定する(S1102)。   In the overlap detection unit 132, the overlap detection unit 132 performs the density flatness determination, the achromatic determination, and the brightness determination on the read image P3 as in S701 (S1101). The overlap detection unit 132 determines, for each of the divided images, whether it is a ground area or not based on the results of the density flatness determination, the achromatic determination, and the brightness determination (S1102).

S1102でYESの場合、重複検知部132は、画像DIV1について「ground=1」とする(S1103)。一方で、S1102でNOの場合、重複検知部132は、画像DIVXについて「ground=0」とする(S1104)。   In the case of YES in S1102, the duplication detection unit 132 sets “ground = 1” for the image DIV1 (S1103). On the other hand, in the case of NO in S1102, the duplication detection unit 132 sets “ground = 0” for the image DIVX (S1104).

次に、重複検知部132は、濃度平均値加算処理を実行する。濃度平均値加算処理の一つとして、重複検知部132は、地肌判定を行った画像DIV1、・・・、DIVnについて、例えば、画像DIV1のように、「ground=1」の場合は画像の濃度の平均値Dを算出し、読み取り画像P3の濃度値Lに加算する。なお、「ground=0」の場合、重複検知部132は何もしないが、この処理も濃度平均値加算処理の一つである。   Next, the overlap detection unit 132 executes density average value addition processing. As one of the density average value addition processing, the overlap detection unit 132 determines the density of the image in the case of “ground = 1” as in the case of the image DIV1, for example, with respect to the images DIV1,. The average D of the image is calculated and added to the density L of the read image P3. In the case of “ground = 0”, the duplication detection unit 132 does nothing, but this process is also one of the density average value addition processes.

また、画像DIV1のように地肌領域であると判定されるごとに、重複検知部132は、濃度平均値加算処理の一つとして、地肌領域であると判定された画像DVInの数を示す「groundBsum」に「ground」の値を加算する(S1105)。   In addition, each time it is determined that the background area is the image DIV1, the overlap detection unit 132 indicates “the number of images DVIn determined to be the background area as one of the density average value addition processing. The value of “ground” is added to “(S1105)”.

なお、濃度値Lは、例えば、読み取り画像の最初のラインについて処理を実行するときに初期化される。また、「groundBsum」についても、読み取り画像の最初のラインについて処理を実行するときに初期化され、副走査方向下流のラインの処理を実行する際には、常にその値がRAM12bやHDD25に保持されている。   The density value L is initialized, for example, when processing is performed on the first line of the read image. In addition, “groundBsum” is also initialized when processing is performed on the first line of the read image, and the value is always stored in the RAM 12 b or the HDD 25 when processing of the line downstream in the sub scanning direction is performed. ing.

次に、重複検知部132は、S1105までの処理を主走査方向すべて、すなわち、1ラインに相当する読み取り画像P3の画像領域について行ったどうかを判定する(S1106)。S1106でYESの場合、重複検知部132は、読み取り画像P3の地肌領域の濃度値Lを「groundCsum」で割り、読み取り画像P3の地肌領域の濃度の平均値を算出する(S1107)。   Next, the overlap detection unit 132 determines whether or not the processing up to S1105 has been performed for the image area of the read image P3 corresponding to all the main scanning directions, that is, one line (S1106). In the case of YES in S1106, the overlap detection unit 132 divides the density value L of the background area of the read image P3 by "groundCsum" to calculate the average value of the density of the background area of the read image P3 (S1107).

なお、濃度値LはMライン分に相当する画像領域において、地肌領域と判定された画像の濃度の総和であり、「groundCsum」はMライン分に相当する画像領域において地肌領域と判定されたラインの数をカウントしている。濃度値Lおよび「groundCsum」は読み取り画像P3の最初のラインに対して処理を行う際に初期化される。   The density value L is the sum of the densities of the images determined to be background regions in the image region corresponding to M lines, and “groundCsum” is a line determined to be a background region in the image regions corresponding to M lines The number of has been counted. Density values L and "groundCsum" are initialized when processing the first line of the read image P3.

次に、重複検知部132は、算出した読み取り画像P3の地肌領域の濃度の平均値を、「L3sum」に加算する。なお、「L3sum」は影領域Sから副走査方向にNライン分に相当する画像領域における地肌領域E2の画像の濃度値である(S1108)。   Next, the overlap detection unit 132 adds the calculated average value of the density of the background region of the read image P3 to “L3sum”. “L3sum” is the density value of the image of the background area E2 in the image area corresponding to N lines in the sub scanning direction from the shadow area S (S1108).

次に、重複検知部132は、影領域Sから副走査方向にNライン分に相当する画像領域において、S1101からS1108までの処理を実行したか否かを判定する(S1109)。S1109でNOの場合、重複検知部132は、残りのラインに対してS1101からの処理を実行する。S1109でYESの場合、重複検知部132は、「status」の値を「status=2」とし、本処理を終了する。   Next, the overlap detection unit 132 determines whether the processing from S1101 to S1108 has been executed in the image area corresponding to N lines in the sub scanning direction from the shadow area S (S1109). In the case of NO at S1109, the duplication detection unit 132 executes the processing from S1101 on the remaining lines. In the case of YES in S1109, the duplication detection unit 132 sets the value of “status” to “status = 2”, and ends this processing.

以上説明したように、本実施形態では、複数の読み取り画像の濃度を比較することによって、原稿の重送を検知する専用の機構を設けることなく重送を検知することが可能である。したがって、画像処理装置1の筐体を小型化し、さらには、画像処理装置1の製造コストを低減させることができる。   As described above, in the present embodiment, by comparing the densities of a plurality of read images, it is possible to detect double feeding without providing a dedicated mechanism for detecting double feeding of a document. Therefore, the housing of the image processing apparatus 1 can be miniaturized, and furthermore, the manufacturing cost of the image processing apparatus 1 can be reduced.

なお、原稿の重複による原稿のずれは、読み取り画像の端部の画像濃度の差となって現れることが多い。そのため、重複検知部132は、読み取り画像の端部から、例えば5センチメートルの範囲の領域において原稿の画像濃度を検知して、原稿の重複を検知してもよい。   Misalignment of the document due to duplication of the document often appears as a difference in image density at the end of the read image. Therefore, the overlap detection unit 132 may detect the overlap of the originals by detecting the image density of the originals in an area of, for example, 5 cm from the end of the read image.

1 画像処理装置
11 CPU
12 MEM‐P
13 NB
14 SB
16 ASIC
17 MEM‐C
18 FCU
19 USB
21 IEEE1394
22 NFC
23 エンジン
24 操作表示部
25 HDD
100 コントローラ
101 ADF
102 スキャナユニット
103 排紙トレイ
104 ディスプレイパネル
105 給紙テーブル
106 プリントエンジン
107 排紙トレイ
108 ネットワークI/F
110 主制御部
120 エンジン制御部
130 画像処理部
131 読取画像生成部
132 重複検知部
133 γ変換処理部
134 フィルタ処理部
135 色変換処理部
136 中間調処理部
140 操作表示制御部
150 入出力制御部
1 Image processing device 11 CPU
12 MEM-P
13 NB
14 SB
16 ASIC
17 MEM-C
18 FCU
19 USB
21 IEEE 1394
22 NFC
23 Engine 24 Operation Display 25 HDD
100 Controller 101 ADF
102 scanner unit 103 output tray 104 display panel 105 paper feed table 106 print engine 107 output tray 108 network I / F
110 main control unit 120 engine control unit 130 image processing unit 131 read image generation unit 132 overlap detection unit 133 γ conversion processing unit 134 filter processing unit 135 color conversion processing unit 136 halftone processing unit 140 operation display control unit 150 input / output control unit

特開2009−292549号公報JP, 2009-292549, A

Claims (10)

原稿を読み取って画像情報を生成する画像処理装置であって、
前記画像情報に基づいて前記原稿の画像濃度を検知する画像濃度検知部と、
第1画像情報に基づいて検知された第1原稿に係る画像濃度である第1画像濃度と、第2画像情報に基づいて検知された第2原稿に係る画像濃度である第2画像濃度との差が所定よりも大きい場合に、前記第1原稿もしくは前記第2原稿のいずれかにおいて原稿の重複が発生していることを検知する重複検知部と、
を含む画像処理装置。
An image processing apparatus that reads an original and generates image information,
An image density detection unit that detects an image density of the document based on the image information;
A first image density, which is the image density of the first document detected based on the first image information, and a second image density, which is the image density of the second document detected based on the second image information A duplication detection unit that detects that duplication of a document occurs in either the first document or the second document when the difference is larger than a predetermined value;
An image processing apparatus including:
前記第1画像濃度の情報が記憶されている濃度情報記憶部
を含み、
前記重複検知部は、
前記第1画像濃度と前記第2画像濃度との差が所定よりも大きい場合に、前記第2原稿において原稿の重複が発生していることを検知する請求項1に記載の画像処理装置。
A density information storage unit storing information on the first image density;
The duplicate detection unit
The image processing apparatus according to claim 1, wherein when the difference between the first image density and the second image density is larger than a predetermined value, it is detected that an overlap of originals occurs in the second original.
前記第1画像濃度は、前記第1原稿に係る地肌領域から算出される濃度であり、前記第2画像濃度は、前記第2原稿に係る地肌領域から算出される濃度である請求項1または2に記載の画像処理装置。   The first image density is a density calculated from a background area of the first document, and the second image density is a density calculated from the background area of the second document. The image processing apparatus according to claim 1. 原稿を読み取って画像情報を生成する画像処理装置であって、
前記画像情報に基づいて当該画像情報に表現された原稿の画像濃度を検知する画像濃度検知部と、
前記画像濃度の変化に基づいて前記画像情報に含まれる前記原稿の影領域を検知する影領域検知部と、
前記画像情報において前記影領域が検知された場合に、当該影領域の近傍の異なる複数の画像領域におけるそれぞれの前記画像濃度の差が所定よりも大きい場合に、前記原稿の重複が発生していることを検知する重複検知部と、
を含む画像処理装置。
An image processing apparatus that reads an original and generates image information,
An image density detection unit that detects an image density of a document expressed in the image information based on the image information;
A shadow area detection unit that detects a shadow area of the document included in the image information based on a change in the image density;
When the difference between the image density in each of a plurality of different image areas in the vicinity of the shadow area is larger than a predetermined value when the shadow area is detected in the image information, the duplication of the document occurs. A duplicate detection unit that detects
An image processing apparatus including:
前記影領域検知部は、
前記画像情報における明度の変化に基づいて前記影領域を検知する請求項4に記載の画像処理装置。
The shadow area detection unit
The image processing apparatus according to claim 4, wherein the shadow area is detected based on a change in lightness in the image information.
前記画像濃度検知部は、
前記画像情報に含まれる領域において濃度の平坦性が所定よりも小さい領域の画像濃度を前記原稿の画像濃度として検知する請求項1から請求項5のいずれか一項に記載の画像処理装置。
The image density detection unit
The image processing apparatus according to any one of claims 1 to 5, wherein the image density of the area in which the flatness of the density is smaller than a predetermined value is detected as the image density of the document in the area included in the image information.
前記画像濃度検知部は、
前記画像情報に含まれる領域において色成分の変化が所定よりも小さい領域の画像濃度を前記原稿の画像濃度として検知する請求項6に記載の画像処理装置。
The image density detection unit
7. The image processing apparatus according to claim 6, wherein an image density of an area in which a change in color component is smaller than a predetermined value in an area included in the image information is detected as an image density of the document.
前記画像濃度検知部は、
前記画像情報に含まれる領域において明度の変化が所定よりも小さい領域の画像濃度を前記原稿の画像濃度として検知する請求項7に記載の画像処理装置。
The image density detection unit
The image processing apparatus according to claim 7, wherein an image density of an area in which a change in lightness is smaller than a predetermined value in an area included in the image information is detected as an image density of the document.
原稿を読み取って画像情報を生成する画像処理方法であって、
前記画像情報に基づいて前記原稿の画像濃度を検知し、
第1画像情報に基づいて検知された第1原稿に係る画像濃度である第1画像濃度と、第2画像情報に基づいて検知された第2原稿に係る画像濃度である第2画像濃度との差が所定よりも大きい場合に、前記第1原稿もしくは前記第2原稿のいずれかにおいて原稿の重複が発生していることを検知する、
画像処理方法。
An image processing method for reading an original and generating image information, comprising:
Detecting an image density of the document based on the image information;
A first image density, which is the image density of the first document detected based on the first image information, and a second image density, which is the image density of the second document detected based on the second image information When the difference is larger than a predetermined value, it is detected that duplication of documents occurs in either the first document or the second document,
Image processing method.
原稿を読み取って画像情報を生成する画像処理方法であって、
前記画像情報に基づいて前記原稿の画像濃度を検知し、
前記画像濃度の変化に基づいて前記画像情報に含まれる前記原稿の影領域を検知し、
前記画像情報において前記影領域が検知された場合に、当該影領域の近傍の異なる複数の画像領域におけるそれぞれの前記画像濃度の差が所定よりも大きい場合に、前記原稿の重複が発生していることを検知する、
画像処理方法。
An image processing method for reading an original and generating image information, comprising:
Detecting an image density of the document based on the image information;
A shadow area of the document included in the image information is detected based on a change in the image density;
When the difference between the image density in each of a plurality of different image areas in the vicinity of the shadow area is larger than a predetermined value when the shadow area is detected in the image information, the duplication of the document occurs. To detect that
Image processing method.
JP2017205618A 2017-10-24 2017-10-24 Image processing device, image processing method Active JP7003568B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017205618A JP7003568B2 (en) 2017-10-24 2017-10-24 Image processing device, image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017205618A JP7003568B2 (en) 2017-10-24 2017-10-24 Image processing device, image processing method

Publications (2)

Publication Number Publication Date
JP2019080169A true JP2019080169A (en) 2019-05-23
JP7003568B2 JP7003568B2 (en) 2022-01-20

Family

ID=66628848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017205618A Active JP7003568B2 (en) 2017-10-24 2017-10-24 Image processing device, image processing method

Country Status (1)

Country Link
JP (1) JP7003568B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11770487B2 (en) 2020-10-01 2023-09-26 Ricoh Company, Ltd. Reading device, image forming apparatus, and state detection method to detect a multi-feed state of an object using reflected light in a visible wavelength and an invisible wavelength and comparing reading value results to references associated with the invisible and visible wavelength reference values

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08214109A (en) * 1995-02-07 1996-08-20 Konica Corp Image reader
JP2001197314A (en) * 2000-01-05 2001-07-19 Ricoh Co Ltd Picture processor
JP2008034987A (en) * 2006-07-26 2008-02-14 Kyocera Mita Corp Image reader and image forming apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08214109A (en) * 1995-02-07 1996-08-20 Konica Corp Image reader
JP2001197314A (en) * 2000-01-05 2001-07-19 Ricoh Co Ltd Picture processor
JP2008034987A (en) * 2006-07-26 2008-02-14 Kyocera Mita Corp Image reader and image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11770487B2 (en) 2020-10-01 2023-09-26 Ricoh Company, Ltd. Reading device, image forming apparatus, and state detection method to detect a multi-feed state of an object using reflected light in a visible wavelength and an invisible wavelength and comparing reading value results to references associated with the invisible and visible wavelength reference values

Also Published As

Publication number Publication date
JP7003568B2 (en) 2022-01-20

Similar Documents

Publication Publication Date Title
JP4717906B2 (en) Image processing apparatus, image processing apparatus control method, program, and storage medium
US20070086068A1 (en) Image processing apparatus
US8274707B2 (en) Image processing apparatus, image processing method, and program for determining or computing an extended region of a block region of image data or an input image
US20100007915A1 (en) Image sending apparatus
JP5039736B2 (en) Image processing apparatus, control method, and program
JP2008067018A (en) Image color deciding device, image color deciding method, and program
JP2009272774A (en) Image processor, image forming apparatus, image processing method, and computer program
US20120050828A1 (en) Image forming apparatus and method of processing image thereof
JP3560776B2 (en) Color type discriminator
JP6147020B2 (en) Image processing apparatus, image processing method, and program
US8294954B2 (en) Image forming apparatus and method for reducing the difference of image qualities between the image data read by a plurality of reading units
JP7003568B2 (en) Image processing device, image processing method
US7835045B2 (en) Image processing device and image processing method
JP2009159123A (en) Image processing device and image reading device
JP5884362B2 (en) Image processing method, image reading apparatus, and image processing program
JP2015154411A (en) Read image processing apparatus, image reading device, image forming apparatus, read image processing program, and read image processing method
EP1898625A2 (en) Apparatus and method for deciding image color
JP6373448B2 (en) Image processing apparatus, image processing method, and program
US11863717B2 (en) Image reading apparatus and image reading method
JP2013222983A (en) Image processing system, image processing method, and computer program
JP7361513B2 (en) Image forming apparatus, its control method, and program
JP4917952B2 (en) Image reading device
JP2006279830A (en) Image processing apparatus and image forming device
JP6394079B2 (en) Read image processing apparatus, image reading apparatus, image forming apparatus, read image processing program, and read image processing method
JP2020150337A (en) Image processing device, method, and program

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20200107

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20200221

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200819

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210525

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210726

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211213