JP2012044513A - Image processing device, image processing system and program - Google Patents

Image processing device, image processing system and program Download PDF

Info

Publication number
JP2012044513A
JP2012044513A JP2010184918A JP2010184918A JP2012044513A JP 2012044513 A JP2012044513 A JP 2012044513A JP 2010184918 A JP2010184918 A JP 2010184918A JP 2010184918 A JP2010184918 A JP 2010184918A JP 2012044513 A JP2012044513 A JP 2012044513A
Authority
JP
Japan
Prior art keywords
image
medium
pixel
foreground
region
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
JP2010184918A
Other languages
Japanese (ja)
Other versions
JP5682180B2 (en
Inventor
Junichi Matsunoshita
純一 松野下
Kensuke Ito
健介 伊藤
Tetsuya Kimura
哲也 木村
Tadashi Amaya
征 天谷
Shinji Okano
真士 岡野
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2010184918A priority Critical patent/JP5682180B2/en
Publication of JP2012044513A publication Critical patent/JP2012044513A/en
Application granted granted Critical
Publication of JP5682180B2 publication Critical patent/JP5682180B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimiles In General (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To specify the position of an image corresponding to an image in a certain area included in a first medium image scanned from a surface of a medium by image scanning means, on a second medium image scanned from the surface of the medium separately from the first medium image by the image scanning means.SOLUTION: A second foreground pixel specification unit 48 specifies foreground pixels in a second document image. A reference information acquisition unit 50 acquires a first mask image obtained by excluding the pixels at positions according to the foreground pixels from a reference image in a first document image. For each of plural comparison target images in a second document image, a comparison target information acquisition unit 52 acquires a second mask image obtained by excluding the pixels at positions according to the foreground pixels from the comparison target image. A deviation information generation unit 58 generates deviation information indicating the deviation of the position of one comparison target image selected based on a comparison result of the first mask image and each of the second mask images and the position of the reference image.

Description

本発明は、画像処理装置、画像処理システム及びプログラムに関する。   The present invention relates to an image processing apparatus, an image processing system, and a program.

下記、特許文献1には、媒体(例えば、紙媒体)の表面の像を示す画像を予め登録された画像と比較することによって、当該媒体の真贋を判定する装置が開示されている。   Patent Document 1 below discloses an apparatus that determines the authenticity of a medium by comparing an image showing an image of the surface of the medium (for example, a paper medium) with a previously registered image.

特開2005−038389号公報JP 2005-038389 A

本発明の目的は、画像読取手段によって媒体の表面から読み取られた第1の媒体画像に含まれる或る領域の画像、に対応する画像の、画像読取手段によって第1の媒体画像とは別に上記媒体の表面から読み取られた第2の媒体画像における位置を特定することである。   The object of the present invention is to provide an image corresponding to an image of a certain area included in the first medium image read from the surface of the medium by the image reading means separately from the first medium image by the image reading means. Identifying a position in the second media image read from the surface of the media.

上記課題を解決するための請求項1の発明は、画像読取手段が媒体の表面から読み取った第1の媒体画像に含まれる第1領域の画像を取得する取得手段と、画像読取手段が前記第1の媒体画像とは別に前記媒体の表面から読み取った第2の媒体画像を取得する手段と、前記第2の媒体画像に含まれる、前記取得手段により取得された前記第1領域の画像に対応する画像、の位置を特定する位置特定手段と、を含む画像処理装置である。   According to a first aspect of the present invention for solving the above-described problem, an acquisition unit that acquires an image of a first area included in a first medium image read by the image reading unit from the surface of the medium, and the image reading unit includes the first reading unit. Corresponding to means for acquiring a second medium image read from the surface of the medium separately from the one medium image, and an image of the first area acquired by the acquiring means included in the second medium image An image processing apparatus including position specifying means for specifying a position of an image to be processed.

また、請求項2の発明は、請求項1の発明において、前記第1領域の位置と、前記位置特定手段により特定された位置と、のずれを示すずれ情報を出力する出力手段をさらに含むことを特徴とする。   The invention of claim 2 further includes output means for outputting deviation information indicating a deviation between the position of the first region and the position specified by the position specifying means in the invention of claim 1. It is characterized by.

また、請求項3の発明は、請求項1又は請求項2の発明において、利用者による前記第1領域を指定するための操作を受け付ける受付手段をさらに含み、前記取得手段は、利用者によって指定された前記第1領域の画像を取得することを特徴とする。   The invention of claim 3 further includes a receiving means for accepting an operation for designating the first area by the user in the invention of claim 1 or claim 2, wherein the obtaining means is designated by the user. The obtained image of the first area is acquired.

また、請求項4の発明は、請求項1乃至請求項3のいずれかの発明において、前記第2の媒体画像に含まれる前景に係る画素である前景画素を特定する特定手段と、前記取得手段により取得された前記第1領域の画像から前記特定手段により特定された前記前景画素に応じた位置の画素が除外された画像、に基づく第1情報を取得する第1情報取得手段と、前記第2の媒体画像に含まれる複数の第2領域の各々について、当該第2領域の画像から前記特定手段により特定された前記前景画素に応じた位置の画素が除外された画像、に基づく第2情報を取得する第2情報取得手段と、前記第1情報と、各第2領域について取得された第2情報の各々と、を比較する比較手段と、をさらに含み、前記位置特定手段は、前記比較手段の比較結果に基づいて選択される一の第2領域の位置を特定することを特徴とする。   According to a fourth aspect of the present invention, in any of the first to third aspects of the present invention, a specifying unit that specifies a foreground pixel that is a pixel related to a foreground included in the second medium image, and the acquisition unit First information acquisition means for acquiring first information based on an image obtained by excluding a pixel at a position corresponding to the foreground pixel specified by the specifying means from the image of the first region acquired by Second information based on each of a plurality of second regions included in the second medium image, the image of the second region being excluded from a pixel at a position corresponding to the foreground pixel specified by the specifying unit. A second information acquisition means for acquiring the first information, and a comparison means for comparing the first information and each of the second information acquired for each of the second regions, wherein the position specifying means Based on comparison results And identifies the position of one second region that are selected are.

また、請求項5の発明は、請求項4の発明において、前記第1媒体画像に含まれる前景に係る画素である第1前景画素を特定する手段をさらに含み、前記特定手段は、前記第2媒体画像に含まれる前景に係る前記前景画素である第2前景画素を特定し、前記第1情報取得手段は、前記第1領域の画像から前記第1前景画素及び前記第2前景画素のそれぞれに応じた位置の画素が除外された画像、に基づく前記第1情報を取得し、前記第2領域の画像から前記第1前景画素及び前記第2前景画素のそれぞれに応じた位置の画素が除外された画像、に基づく前記第2情報を取得すること、を特徴とする。   The invention of claim 5 further includes means for specifying a first foreground pixel which is a pixel relating to a foreground included in the first medium image in the invention of claim 4, wherein the specifying means includes the second foreground. A second foreground pixel, which is the foreground pixel related to the foreground included in the medium image, is specified, and the first information acquisition unit applies each of the first foreground pixel and the second foreground pixel from the image of the first region. The first information based on the image in which the pixel at the corresponding position is excluded is acquired, and the pixel at the position corresponding to each of the first foreground pixel and the second foreground pixel is excluded from the image of the second region. Obtaining the second information based on the obtained image.

また、上記課題を解決するための請求項6の発明は、画像読取手段が媒体の表面から読み取った第1の媒体画像に含まれる第1領域の画像を取得する取得手段、画像読取手段が前記第1の媒体画像とは別に前記媒体の表面から読み取った第2の媒体画像を取得する手段、及び前記第2の媒体画像に含まれる、前記取得手段により取得された前記第1領域の画像に対応する画像、の位置を特定する位置特定手段、としてコンピュータを機能させるプログラムである。   According to a sixth aspect of the present invention for solving the above problem, the image reading means acquires the image of the first region included in the first medium image read from the surface of the medium by the image reading means. Means for acquiring a second medium image read from the surface of the medium separately from the first medium image, and an image of the first area acquired by the acquiring means included in the second medium image; This is a program that causes a computer to function as position specifying means for specifying the position of a corresponding image.

また、上記課題を解決するための請求項7の発明は、画像読取手段が媒体の表面から読み取った第1の媒体画像を取得する第1媒体画像取得手段と、画像読取手段が前記第1の媒体画像とは別に前記媒体の表面から読み取った第2の媒体画像を取得する第2媒体画像取得手段と、前記第2の媒体画像に含まれる第1領域の画像を取得する取得手段と、前記第2の媒体画像に含まれる、前記取得手段により取得された前記第1領域の画像に対応する画像、の位置を特定する位置特定手段と、を含む画像処理システムである。   According to a seventh aspect of the present invention for solving the above-described problem, a first medium image obtaining unit that obtains a first medium image read from the surface of the medium by the image reading unit; A second medium image acquisition means for acquiring a second medium image read from the surface of the medium separately from the medium image; an acquisition means for acquiring an image of a first region included in the second medium image; An image processing system including position specifying means for specifying a position of an image corresponding to the image of the first area acquired by the acquiring means, which is included in a second medium image.

請求項1、請求項6、請求項7の発明によれば、画像読取手段によって媒体の表面から読み取られた第1の媒体画像に含まれる或る領域の画像、に対応する画像の、画像読取手段によって第1の媒体画像とは別に上記媒体の表面から読み取られた第2の媒体画像における位置を特定することができる。   According to the first, sixth, and seventh aspects of the present invention, image reading of an image corresponding to an image of a certain area included in the first medium image read from the surface of the medium by the image reading means is performed. The position in the second medium image read from the surface of the medium can be specified separately from the first medium image by the means.

請求項2の発明によれば、位置を特定する基準となる模様が印刷された媒体(例えば、テストチャート)を用いなくても、画像読取手段による画像の読み取り時に生じた歪みを検出することができる。   According to the second aspect of the present invention, it is possible to detect distortion generated when an image is read by the image reading unit without using a medium (for example, a test chart) on which a pattern for specifying a position is printed. it can.

請求項3の発明によれば、ユーザによって指定された領域の画像に対応する画像の、第2媒体画像における位置を特定することができる。   According to the invention of claim 3, the position of the image corresponding to the image of the area designated by the user in the second medium image can be specified.

請求項4、請求項5の発明によれば、上記領域の画像に対応する画像の第2媒体の画像における位置を、本構成を有しない場合に比較してより正確に特定することができる。   According to the fourth and fifth aspects of the present invention, the position of the image corresponding to the image of the region in the image of the second medium can be specified more accurately than in the case where the present configuration is not provided.

本発明の一実施形態に係る画像処理システムの構成の例を示す図である。It is a figure showing an example of composition of an image processing system concerning one embodiment of the present invention. 本発明の一実施形態に係る画像処理装置のハードウェア構成の例を示す図である。It is a figure which shows the example of the hardware constitutions of the image processing apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係る画像処理システムにて実現される機能群を例示する機能ブロック図である。It is a functional block diagram which illustrates the function group implement | achieved with the image processing system which concerns on one Embodiment of this invention. 本発明の一実施形態に係る第1原稿画像を例示する図である。It is a figure which illustrates the 1st original picture concerning one embodiment of the present invention. 第1ブロック領域について説明するための図である。It is a figure for demonstrating a 1st block area | region. 本発明の一実施形態に係る画像処理システムにて実現される機能群を例示する機能ブロック図である。It is a functional block diagram which illustrates the function group implement | achieved with the image processing system which concerns on one Embodiment of this invention. 本発明の一実施形態に係る第2原稿画像を例示する図である。It is a figure which illustrates the 2nd original picture concerning one embodiment of the present invention. 本発明の一実施形態に係る比較対象画像の取得方法について説明するための図である。It is a figure for demonstrating the acquisition method of the comparison target image which concerns on one Embodiment of this invention. 第1マスク画像の生成方法を示す図である。It is a figure which shows the production | generation method of a 1st mask image. 第2マスク画像の生成方法を示す図である。It is a figure which shows the production | generation method of a 2nd mask image.

以下、本発明の実施形態の例について図面に基づき詳細に説明する。   Hereinafter, examples of embodiments of the present invention will be described in detail with reference to the drawings.

[画像処理システム]
図1は、本発明の一実施形態に係る画像処理システム1の構成の例を示す図である。同図に示すように、画像処理システム1は、複数の画像処理装置2と、データベース4と、を含む。画像処理装置2は、例えばスキャナ機能を備えたプリンタであり、データベース4は、例えばデータベースサーバである。各画像処理装置2は、データベース4とネットワークを介して通信可能に接続されている。
[Image processing system]
FIG. 1 is a diagram showing an example of the configuration of an image processing system 1 according to an embodiment of the present invention. As shown in FIG. 1, the image processing system 1 includes a plurality of image processing apparatuses 2 and a database 4. The image processing apparatus 2 is, for example, a printer having a scanner function, and the database 4 is, for example, a database server. Each image processing device 2 is communicably connected to the database 4 via a network.

[画像処理装置]
図2は、画像処理装置2のハードウェア構成の例を示す図である。同図に示すように、画像処理装置2は、制御部6と、主記憶8と、ハードディスク10と、表示部12と、操作入力部14と、ネットワークインタフェース16(以下、ネットワークIF16と記載する)と、スキャナ18と、を含む。また、ここでは図示していないが、画像処理装置2は、紙媒体に画像を形成する画像形成部なども含む。
[Image processing device]
FIG. 2 is a diagram illustrating an example of a hardware configuration of the image processing apparatus 2. As shown in the figure, the image processing apparatus 2 includes a control unit 6, a main memory 8, a hard disk 10, a display unit 12, an operation input unit 14, and a network interface 16 (hereinafter referred to as a network IF 16). And the scanner 18. Although not shown here, the image processing apparatus 2 also includes an image forming unit that forms an image on a paper medium.

制御部6は、例えばマイクロプロセッサであり、主記憶8に記憶されるプログラムに従って情報処理を実行する。   The control unit 6 is a microprocessor, for example, and executes information processing according to a program stored in the main memory 8.

主記憶8は、例えばRAMである。主記憶8には上記プログラムが格納される。このプログラムは、フレキシブルディスク、CD−ROM、DVD(登録商標)−ROM、磁気テープ、ハードディスク、MO、MD、ICカード等のコンピュータ読取可能な情報記憶媒体から読み出されて主記憶8に格納されてもよいし、インターネットなどの通信ネットワーク等の通信網から供給されて主記憶8に格納されてもよい。   The main memory 8 is a RAM, for example. The main memory 8 stores the above program. This program is read from a computer-readable information storage medium such as a flexible disk, CD-ROM, DVD (registered trademark) -ROM, magnetic tape, hard disk, MO, MD, IC card, and stored in the main memory 8. Alternatively, it may be supplied from a communication network such as the Internet and stored in the main memory 8.

また、主記憶8には情報処理の過程で必要となる各種データも格納される。   The main memory 8 also stores various data necessary for information processing.

ハードディスク10は、補助記憶装置として用いられる記憶媒体であり、各種情報が格納される。ハードディスク10の記憶内容については後述する。   The hard disk 10 is a storage medium used as an auxiliary storage device, and stores various information. The contents stored in the hard disk 10 will be described later.

表示部12は、例えば画像処理装置2の側面に設けられた液晶ディスプレイであり、制御部6から出力される情報を表示する。   The display unit 12 is a liquid crystal display provided on the side surface of the image processing apparatus 2, for example, and displays information output from the control unit 6.

操作入力部14は、ユーザが操作入力を行うためのインタフェースであり、ユーザの操作内容を示す信号を制御部6に出力する。   The operation input unit 14 is an interface for a user to perform an operation input, and outputs a signal indicating a user operation content to the control unit 6.

ネットワークIF16は、画像処理装置2をネットワークと接続するためのインタフェースであり、例えば、ネットワークインタフェースカードである。ネットワークIF16は、ネットワークから受信した情報を制御部6に出力したり、制御部6から出力される情報をネットワークに送信したりする。   The network IF 16 is an interface for connecting the image processing apparatus 2 to a network, and is a network interface card, for example. The network IF 16 outputs information received from the network to the control unit 6 and transmits information output from the control unit 6 to the network.

スキャナ18は、コンタクトガラス上に置かれた原稿の表面の像を示す原稿画像を制御部6に出力する。このスキャナ18では、ユーザ自身が原稿をコンタクトガラス上に置くか、又は、自動原稿送り装置(Auto Document Feeder)に原稿をコンタクトガラス上へ搬送させるか、をユーザが選択できるようになっている。以下、ユーザ自身が原稿をコンタクトガラス上に置く方式を手動スキャン方式と呼び、自動紙送り装置に原稿を搬送させる方式を自動スキャン方式と呼ぶ。   The scanner 18 outputs a document image indicating an image of the surface of the document placed on the contact glass to the control unit 6. In the scanner 18, the user can select whether the user himself places the document on the contact glass or causes the automatic document feeder (Auto Document Feeder) to transport the document onto the contact glass. Hereinafter, a method in which the user himself places the document on the contact glass is referred to as a manual scanning method, and a method in which the automatic paper feeding device conveys the document is referred to as an automatic scanning method.

[画像処理システムの利用形態]
画像処理システム1は、例えば、画像処理装置2の設置や保守点検、修理などを行う技術者(以下、「サービスマン」と記載する)によって利用される。サービスマンは、原稿の表面の像の登録を行う。具体的には、サービスマンは、例えば白紙の原稿(以下、原稿Aと記載する)の登録を指示する登録指示操作を行って、原稿Aを登録用の画像処理装置2(例えば、図1の左から一番目の画像処理装置2)にスキャンさせる。こうすることにより、サービスマンは、原稿Aを構成する繊維によって原稿Aの表面に形成された固有の紋様を画像処理システム1に登録する。例えば、本実施形態では、原稿Aを構成する紙の繊維によって原稿Aの表面に形成された紋様(以下、紙指紋と呼ぶ)を画像処理システム1に登録する。
[Usage of image processing system]
The image processing system 1 is used, for example, by an engineer (hereinafter referred to as a “service man”) who performs installation, maintenance, inspection, and repair of the image processing apparatus 2. The service person registers the image on the surface of the document. Specifically, the service person performs a registration instruction operation for instructing registration of, for example, a blank document (hereinafter referred to as document A), and registers the document A with the image processing apparatus 2 for registration (for example, FIG. 1). The first image processing apparatus 2) is scanned from the left. By doing so, the service person registers the unique pattern formed on the surface of the original A by the fibers constituting the original A in the image processing system 1. For example, in the present embodiment, a pattern (hereinafter referred to as a paper fingerprint) formed on the surface of the original A by paper fibers constituting the original A is registered in the image processing system 1.

なお、通常、サービスマンは、手動スキャン方式で原稿Aをスキャンさせる。但し、登録用の画像処理装置2の自動原稿送り装置の性能がよい場合、自動スキャン方式で原稿Aをスキャンさせることもある。   Usually, the service person scans the document A by the manual scanning method. However, when the performance of the automatic document feeder of the registration image processing apparatus 2 is good, the document A may be scanned by the automatic scanning method.

こうして、原稿Aの紙指紋を登録したサービスマンは、顧客の依頼等があったときなどに、顧客の画像処理装置2(例えば、図1の左から二番目の画像処理装置2)のメンテナンスを行う。メンテナンスの際には、サービスマンは、顧客の画像処理装置2の現在の性能を検査するために性能検査を指示する性能検査指示操作を行う。性能検査指示操作を行うことにより、サービスマンは、自動スキャン方式で、原稿Aを顧客の画像処理装置2にスキャンさせる。その結果、予め登録された原稿Aの紙指紋と、顧客の画像処理装置2によって読み取られた原稿Aの原稿画像と、が比較され、この比較結果から顧客の画像処理装置2の現在の性能が検査される。   In this way, the service person who registered the paper fingerprint of the document A performs maintenance of the customer's image processing apparatus 2 (for example, the second image processing apparatus 2 from the left in FIG. 1) at the customer's request or the like. Do. During maintenance, the service person performs a performance inspection instruction operation for instructing a performance inspection in order to inspect the current performance of the customer's image processing apparatus 2. By performing the performance inspection instruction operation, the service person causes the customer's image processing apparatus 2 to scan the document A by the automatic scanning method. As a result, the paper fingerprint of the document A registered in advance and the document image of the document A read by the customer's image processing device 2 are compared, and the current performance of the customer's image processing device 2 is determined from the comparison result. Inspected.

なお、サービスマンは、原稿Aの紙指紋の登録をメンテナンスに先立って行うのではなく、メンテナンスの際に顧客の画像処理装置2を用いて原稿Aの紙指紋の登録を行う場合もある。但し、この場合、サービスマンは、紙指紋の登録に手動スキャン方式を用いることになる。   The service person may not register the paper fingerprint of the document A prior to the maintenance, but may register the paper fingerprint of the document A using the customer's image processing apparatus 2 during the maintenance. However, in this case, the service person uses the manual scanning method for registering the paper fingerprint.

[機能ブロックその一]
図3は、サービスマンが原稿Aに関して登録指示操作を行った場合に、画像処理システム1にて実現される機能群を例示する機能ブロック図である。同図に示す機能群は、登録指示操作を受け付けた画像処理装置2(以下、「第1の画像処理装置」と記載する)の制御部6が、上記プログラムに従って動作することによって、実現される。
[Function block 1]
FIG. 3 is a functional block diagram illustrating a function group realized in the image processing system 1 when the service person performs a registration instruction operation on the document A. The function group shown in the figure is realized by the control unit 6 of the image processing apparatus 2 (hereinafter referred to as “first image processing apparatus”) that has received a registration instruction operation operating according to the above program. .

[第1原稿画像取得部]
第1原稿画像取得部20は、第1の画像処理装置のスキャナ18が読み取った原稿Aの表面の像を示す第1原稿画像を取得する。
[First Document Image Acquisition Unit]
The first document image acquisition unit 20 acquires a first document image indicating an image of the surface of the document A read by the scanner 18 of the first image processing apparatus.

図4は、第1原稿画像を例示する図である。第1原稿画像は複数の画素を含む。各画素の位置は、その画素のX座標値及びY座標値によって表される。   FIG. 4 is a diagram illustrating a first document image. The first document image includes a plurality of pixels. The position of each pixel is represented by the X coordinate value and Y coordinate value of that pixel.

第1原稿画像には、原稿Aに固有の紙指紋が含まれる。また、原稿Aが自動スキャン方式でスキャンされた場合、場合によっては、第1原稿画像には、前景画素が含まれる。ここで、本実施形態の場合、前景画素とは、前景に係る画素であり、具体的には、原稿Aの搬送時に原稿Aに付着したゴミ等の異物に起因して第1原稿画像に表れた前景に係る画素である。符号30により指し示されている部分が前景を示している。同図に示すように、前景30のX座標値及びY座標値は、それぞれ、XA、YAとなっている。なお、前景画素以外の画素に係る画像が、背景の画像となる。背景の画像には、紙指紋が含まれる。   The first document image includes a paper fingerprint unique to document A. Further, when the document A is scanned by the automatic scanning method, the foreground pixels are included in the first document image in some cases. Here, in the present embodiment, the foreground pixel is a pixel relating to the foreground, and specifically, appears in the first document image due to foreign matters such as dust attached to the document A when the document A is transported. This pixel is related to the foreground. The part indicated by reference numeral 30 indicates the foreground. As shown in the figure, the X coordinate value and the Y coordinate value of the foreground 30 are XA and YA, respectively. Note that an image related to pixels other than the foreground pixels is a background image. The background image includes a paper fingerprint.

ハードディスク10には、複数の第1ブロック領域の各々の範囲を示す座標(以下、座標範囲と記載する)が予め記憶されている。図5は、第1ブロック領域について説明するための図である。本実施形態の場合、48個の第1ブロック領域が予め定められている。縦の点線及び横の点線に囲まれる領域が第1ブロック領域を示している。各第1ブロック領域は、同じサイズを有するように設定された矩形形状の領域であり、各第1ブロック領域の座標範囲がハードディスク10に予め記憶されている。各第1ブロック領域の位置は、その第1ブロック領域の代表点の座標値により表される。ここでは、第1ブロック領域の代表点とは、第1ブロック領域の左下の頂点である。例えば、X軸方向の範囲が「X3以上X4以下」であり、Y軸方向の範囲が「Y3以上Y4以下」である第1ブロック領域31の位置のX座標値及びY座標値は、それぞれ、「X3」、「Y4」となる。   The hard disk 10 stores in advance coordinates indicating the ranges of the plurality of first block areas (hereinafter referred to as coordinate ranges). FIG. 5 is a diagram for explaining the first block region. In the case of this embodiment, 48 first block areas are predetermined. An area surrounded by a vertical dotted line and a horizontal dotted line indicates the first block area. Each first block area is a rectangular area set to have the same size, and the coordinate range of each first block area is stored in the hard disk 10 in advance. The position of each first block area is represented by the coordinate value of the representative point of the first block area. Here, the representative point of the first block area is the lower left vertex of the first block area. For example, the X coordinate value and the Y coordinate value of the position of the first block region 31 in which the range in the X axis direction is “X3 or more and X4 or less” and the range in the Y axis direction is “Y3 or more and Y4 or less” are respectively “X3” and “Y4”.

なお、以下、左からN番目の列に位置し、且つ、上からM番目の行に位置する第1ブロック領域を、第1ブロック領域(N、M)と記載する。   Hereinafter, the first block region located in the Nth column from the left and located in the Mth row from the top is referred to as a first block region (N, M).

[登録部]
登録部22は、第1原稿画像から各第1ブロック領域の画像を切り出し、各第1ブロック領域の位置と対応付けてデータベース4に登録する。以下、第1ブロック領域(N、M)の画像のことを第1ブロック画像(N、M)と記載する。
[Registration Department]
The registration unit 22 cuts out an image of each first block area from the first document image and registers it in the database 4 in association with the position of each first block area. Hereinafter, the image of the first block region (N, M) is referred to as a first block image (N, M).

[機能ブロックその二]
図6は、サービスマンが性能検査指示操作を行った場合に、画像処理システム1にて実現される機能群を例示する機能ブロック図である。同図に示す機能群は、性能検査指示操作を受け付けた画像処理装置2(以下、「第2の画像処理装置」と記載する)の制御部6が、上記プログラムに従って動作することによって、実現される。なお、第1の画像処理装置と第2の画像処理装置とは同一であってよい。
[Function block 2]
FIG. 6 is a functional block diagram illustrating a functional group realized in the image processing system 1 when a serviceman performs a performance inspection instruction operation. The function group shown in the figure is realized by the control unit 6 of the image processing apparatus 2 (hereinafter referred to as “second image processing apparatus”) having received the performance inspection instruction operation operating according to the above program. The Note that the first image processing apparatus and the second image processing apparatus may be the same.

[第2原稿画像取得部]
第2原稿画像取得部40は、第2の画像処理装置のスキャナ18が原稿Aを搬送しながら原稿Aの表面から読み取った画像、を示す第2原稿画像を取得する。
[Second Document Image Acquisition Unit]
The second document image acquisition unit 40 acquires a second document image indicating an image read from the surface of the document A while the scanner 18 of the second image processing apparatus conveys the document A.

図7は、第2原稿画像を例示する図である。第2原稿画像も、第1原稿画像と同様に複数の画素を含み、各画素の位置は、その画素のX座標値及びY座標値によって表される。   FIG. 7 is a diagram illustrating a second document image. Similarly to the first document image, the second document image also includes a plurality of pixels, and the position of each pixel is represented by the X coordinate value and Y coordinate value of the pixel.

第2原稿画像にも、原稿Aに固有の紙指紋が含まれる。また、場合によっては、第2原稿画像に、上記前景画素が含まれる。符号32により指し示されている部分が前景を示している。同図に示すように、前景32のX座標値及びY座標値は、それぞれ、XB、YBとなっている。   The second document image also includes a paper fingerprint unique to document A. In some cases, the foreground pixel is included in the second document image. The part indicated by reference numeral 32 indicates the foreground. As shown in the figure, the X coordinate value and the Y coordinate value of the foreground 32 are XB and YB, respectively.

以下、第1原稿画像が第1の媒体画像に相当し、第2原稿画像が第2の媒体画像に相当することとして説明を続けるが、第1原稿画像が第2の媒体画像に相当し、第2原稿画像が第1の媒体画像に相当していてもよい。   Hereinafter, the description will be continued assuming that the first document image corresponds to the first medium image and the second document image corresponds to the second medium image. However, the first document image corresponds to the second medium image, The second document image may correspond to the first medium image.

ハードディスク10には、第1ブロック領域の各々に対応する複数の第2ブロック領域の座標範囲が記憶されている。本実施形態の場合、48個の第2ブロック領域が予め定められている。各第2ブロック領域は、それぞれ同じサイズを有する矩形形状の領域であり、その第2ブロック領域に対応する第1ブロック領域を含む。図7に示す第2ブロック領域33は、第1ブロック領域31に対応する第2ブロック領域であり、X軸方向の座標範囲が「X3以上Xa以下」であり且つY軸方向の座標範囲が「Y3以上Ya以下」となっている。同図を見てもわかるように、第2ブロック領域33は、第1ブロック領域31を含んでいる。各第2ブロック領域の位置は、その第2ブロック領域の代表点の座標値により表される。ここでは、第2ブロック領域の代表点とは、第2ブロック領域の左下の頂点である。例えば、第2ブロック領域33の位置のX座標値及びY座標値は、それぞれ、「X3」、「Ya」となる。   The hard disk 10 stores a coordinate range of a plurality of second block areas corresponding to each of the first block areas. In the case of this embodiment, 48 second block areas are determined in advance. Each second block area is a rectangular area having the same size, and includes a first block area corresponding to the second block area. The second block area 33 shown in FIG. 7 is a second block area corresponding to the first block area 31, the coordinate range in the X-axis direction is “X3 or more and Xa or less”, and the coordinate range in the Y-axis direction is “ Y3 or more and Ya or less ". As can be seen from the figure, the second block area 33 includes the first block area 31. The position of each second block area is represented by the coordinate value of the representative point of the second block area. Here, the representative point of the second block area is the lower left vertex of the second block area. For example, the X coordinate value and the Y coordinate value of the position of the second block region 33 are “X3” and “Ya”, respectively.

なお、以下、第1ブロック領域(N、M)に対応する第2ブロック領域を、第2ブロック領域(N、M)と記載する。なお、第2ブロック領域(N、M)は、左からN番目の列に位置し、且つ、上からM番目の行に位置する第2ブロック領域でもある。   Hereinafter, the second block area corresponding to the first block area (N, M) is referred to as a second block area (N, M). The second block region (N, M) is also a second block region located in the Nth column from the left and located in the Mth row from the top.

[比較対象画像取得部]
比較対象画像取得部42は、第2原稿画像に含まれる、比較の対象となる比較対象画像を生成する。
[Comparison image acquisition unit]
The comparison target image acquisition unit 42 generates a comparison target image that is included in the second document image and that is to be compared.

具体的には、比較対象画像取得部42は、第2原稿画像から、第2ブロック領域を順次切り出すことによって、各第2ブロック領域の画像(以下、第2ブロック画像)を生成する。ここでは、比較対象画像取得部42は、最初に第2ブロック領域(1、1)の画像を生成した後、比較部54からの指示に応じて、次の第2ブロック領域の画像を生成する。   Specifically, the comparison target image acquisition unit 42 generates an image of each second block area (hereinafter referred to as a second block image) by sequentially cutting out the second block area from the second document image. Here, the comparison target image acquisition unit 42 first generates an image of the second block region (1, 1), and then generates an image of the next second block region in accordance with an instruction from the comparison unit 54. .

以下、第2ブロック領域(N、M)の画像を第2ブロック画像(N、M)と記載する。   Hereinafter, the image of the second block region (N, M) is referred to as a second block image (N, M).

また、比較対象画像取得部42は、第2ブロック画像が取得されるごとに、当該第2ブロック画像Xから複数の比較対象画像を生成する。   The comparison target image acquisition unit 42 generates a plurality of comparison target images from the second block image X every time the second block image is acquired.

図8は、比較対象画像の取得方法について説明するための図である。図8において符号70で指し示される画像は、第2ブロック画像Xを示している。ここでは、符号70で指し示される第2ブロック画像Xが第2ブロック領域33(図7参照)の画像である場合を例に取り上げている。また、点線で示される領域72A(図8の(A)参照)、72B(図8の(B)参照)、72C(図8の(C)参照)、72D(図8の(D)参照)、は、それぞれ、比較対象領域を示している。ここで、各比較対象領域は、第2ブロック領域Xに含まれる領域であり、その座標範囲がハードディスク10に予め記憶されている。また、各比較対象領域は、第1ブロック領域と同一サイズ及び同一形状を有している。   FIG. 8 is a diagram for explaining a method for acquiring a comparison target image. The image indicated by reference numeral 70 in FIG. 8 indicates the second block image X. Here, a case where the second block image X indicated by reference numeral 70 is an image of the second block region 33 (see FIG. 7) is taken as an example. In addition, regions 72A (see FIG. 8A), 72B (see FIG. 8B), 72C (see FIG. 8C), 72D (see FIG. 8D) indicated by dotted lines And, respectively, indicate comparison target regions. Here, each comparison target area is an area included in the second block area X, and its coordinate range is stored in the hard disk 10 in advance. In addition, each comparison target area has the same size and the same shape as the first block area.

比較対象領域の位置は、比較対象領域の代表点の座標値により表される。ここでは、比較対象領域の代表点とは、比較対象領域の左下の頂点である。例えば、比較対象領域72Aの位置のX座標値及びY座標値は、上述のように、比較対象領域のサイズ及び形状が第1ブロック領域と同じであるから、それぞれ、「X3」、「Y3」となる(図5及び図8の(A)参照)。   The position of the comparison target area is represented by the coordinate value of the representative point of the comparison target area. Here, the representative point of the comparison target area is the lower left vertex of the comparison target area. For example, since the X coordinate value and the Y coordinate value of the position of the comparison target region 72A are the same as the first block region in the size and shape of the comparison target region as described above, “X3” and “Y3”, respectively. (See (A) of FIGS. 5 and 8).

比較対象画像取得部42は、第2ブロック画像が取得されるごとに、取得された第2ブロック画像Xから、比較対象領域72Aの画像である比較対象画像74A(図8の(A)参照)、比較対象領域72Bの画像である比較対象画像74B(図8の(B)参照)、比較対象領域72Cの画像である比較対象画像74C(図8の(C)参照)、及び比較対象領域72Dの画像である比較対象画像74D(図12の(D)参照)、の各々を順番に生成する。より詳しくは、比較対象画像取得部42は、最初に比較対象画像74Aを生成した後、比較部54からの指示に応じて、次の比較対象画像を生成する。   Each time the second block image is acquired, the comparison target image acquisition unit 42 compares the acquired second block image X with a comparison target image 74A that is an image of the comparison target region 72A (see FIG. 8A). The comparison target image 74B (see FIG. 8B), which is the image of the comparison target region 72B, the comparison target image 74C (see FIG. 8C), which is the image of the comparison target region 72C, and the comparison target region 72D Each of the comparison target images 74D (see (D) of FIG. 12), which is an image of, is generated in order. More specifically, the comparison target image acquisition unit 42 first generates the comparison target image 74A, and then generates the next comparison target image in response to an instruction from the comparison unit 54.

なお、以下、比較対象画像74A、比較対象画像74B、比較対象画像74C、及び比較対象画像74D、を総称して、「比較対象画像」と記載する場合がある。   Hereinafter, the comparison target image 74A, the comparison target image 74B, the comparison target image 74C, and the comparison target image 74D may be collectively referred to as “comparison target image”.

[基準画像取得部]
基準画像取得部44は、第1原稿画像に含まれる基準画像を取得する。ここで、基準画像とは、画像処理装置2の性能を検査する際の基準となる画像である。
[Reference image acquisition unit]
The reference image acquisition unit 44 acquires a reference image included in the first document image. Here, the reference image is an image serving as a reference when the performance of the image processing apparatus 2 is inspected.

具体的には、基準画像取得部44は、データベース4に格納された第1ブロック画像のそれぞれを基準画像として順番に読み出す。より詳しくは、基準画像取得部44は、最初に第1ブロック画像(1、1)を基準画像として読み出した後、比較部54からの指示に応じて、次の第1ブロック画像(すなわち、次の基準画像)を読み出す。   Specifically, the reference image acquisition unit 44 sequentially reads each of the first block images stored in the database 4 as a reference image. More specifically, the reference image acquisition unit 44 first reads out the first block image (1, 1) as a reference image, and then, in response to an instruction from the comparison unit 54, the next first block image (that is, the next block image). (Reference image).

[第1前景画素特定部]
第1前景画素特定部46は、第1原稿画像に含まれる上記前景画素である第1前景画素を特定する。
[First foreground pixel specifying unit]
The first foreground pixel specifying unit 46 specifies the first foreground pixel that is the foreground pixel included in the first document image.

本実施形態の場合、第1前景画素特定部46は、基準画像が取得されるごとに、取得された基準画像Xについて第1前景画素を特定する。すなわち、第1前景画素特定部46は、第1前景画素の位置を特定する。   In the case of the present embodiment, the first foreground pixel specifying unit 46 specifies the first foreground pixel for the acquired reference image X every time the reference image is acquired. That is, the first foreground pixel specifying unit 46 specifies the position of the first foreground pixel.

具体的には、第1前景画素特定部46は、基準画像Xのうちから予め設定された基準値以上の画素値(濃度値)を有する画素を第1前景画素として特定する。ここで、上記基準値は、第1原稿画像に含まれる全画素数に対する、第1原稿画像に含まれる上記基準値以上の画素値を有する画素の画素数の割合が、所定割合以下になるように設定されている。例えば基準画像Xが第1ブロック領域31の第1ブロック画像(4、4)である場合(図5参照)、前景30の座標値(XA、YA)が、第1前景画素の座標値として特定されることになる。   Specifically, the first foreground pixel specifying unit 46 specifies a pixel having a pixel value (density value) equal to or higher than a preset reference value from the reference image X as the first foreground pixel. Here, the reference value is such that the ratio of the number of pixels having a pixel value equal to or greater than the reference value included in the first document image to the total number of pixels included in the first document image is equal to or less than a predetermined ratio. Is set to For example, when the reference image X is the first block image (4, 4) in the first block region 31 (see FIG. 5), the coordinate values (XA, YA) of the foreground 30 are specified as the coordinate values of the first foreground pixels. Will be.

なお、本実施形態の場合、基準画像が第1原稿画像から取得されるので、第1前景画素特定部46は、第1原稿画像に含まれる前景画素を特定していることになる。   In the present embodiment, since the reference image is acquired from the first document image, the first foreground pixel specifying unit 46 specifies the foreground pixels included in the first document image.

[第2前景画素特定部]
第2前景画素特定部48は、第2原稿画像に含まれる上記前景画素である第2前景画素を特定する。
[Second foreground pixel specifying unit]
The second foreground pixel specifying unit 48 specifies the second foreground pixel that is the foreground pixel included in the second document image.

本実施形態の場合、比較対象画像が第2原稿画像から取得されるので、第2前景画素特定部48は、比較対象画像が取得されるごとに、取得された比較対象画像Xについて第2前景画素を特定する。すなわち、第2前景画素特定部48は、第2前景画素の位置を特定する。   In the present embodiment, since the comparison target image is acquired from the second document image, the second foreground pixel specifying unit 48 performs the second foreground for the acquired comparison target image X each time the comparison target image is acquired. Identify the pixel. That is, the second foreground pixel specifying unit 48 specifies the position of the second foreground pixel.

具体的には、第2前景画素特定部48は、比較対象画像Xのうちから予め定められた基準値以上の画素値(濃度値)を有する画素を第2前景画素として特定する。ここで、上記基準値は、第2原稿画像に含まれる全画素数に対する、第2原稿画像に含まれる上記基準値以上の画素値を有する画素の画素数の割合が、所定割合以下になるように設定されている。例えば比較対象画像Xが第2ブロック領域33の画像(図7参照)から生成された比較対象画像である場合、前景32の座標値(XB、YB)が、第2前景画素の座標値として特定されることになる。   Specifically, the second foreground pixel specifying unit 48 specifies, from the comparison target image X, a pixel having a pixel value (density value) equal to or higher than a predetermined reference value as the second foreground pixel. Here, the reference value is such that the ratio of the number of pixels having a pixel value equal to or greater than the reference value included in the second document image to the total number of pixels included in the second document image is equal to or less than a predetermined ratio. Is set to For example, when the comparison target image X is a comparison target image generated from the image of the second block region 33 (see FIG. 7), the coordinate values (XB, YB) of the foreground 32 are specified as the coordinate values of the second foreground pixel. Will be.

なお、本実施形態の場合、比較対象画像が第2原稿画像から取得されるので、第2前景画素特定部48は、第2原稿画像に含まれる前景画素を特定していることになる。   In the present embodiment, since the comparison target image is acquired from the second original image, the second foreground pixel specifying unit 48 specifies the foreground pixels included in the second original image.

ところで、以上では、第2原稿画像から比較対象画像が生成され、第1原稿画像から基準画像が生成されているが、第1原稿画像から比較対象画像が生成され、第2原稿画像から基準画像が生成されてもよい。すなわち、比較対象画像取得部42が、第1原稿画像から比較対象画像を生成し、基準画像取得部44が第2原稿画像から基準画像を生成するようにしてもよい。   In the above, the comparison target image is generated from the second document image and the reference image is generated from the first document image. However, the comparison target image is generated from the first document image and the reference image is generated from the second document image. May be generated. That is, the comparison target image acquisition unit 42 may generate a comparison target image from the first document image, and the reference image acquisition unit 44 may generate a reference image from the second document image.

[基準情報取得部]
基準情報取得部50は、基準画像取得部44よって取得された基準画像から、第1画素(後述)と、第2画素(後述)と、を除外した第1マスク画像、に基づく基準情報を生成する。
[Standard information acquisition unit]
The reference information acquisition unit 50 generates reference information based on the first mask image excluding the first pixel (described later) and the second pixel (described later) from the reference image acquired by the reference image acquisition unit 44. To do.

本実施形態の場合、基準情報取得部50は、基準画像が取得されるごとに、取得された基準画像Xから上記第1画素と上記第2画素とを除外した上記第1マスク画像を、上記基準情報として生成する。   In the case of this embodiment, the reference information acquisition unit 50 obtains the first mask image obtained by excluding the first pixel and the second pixel from the acquired reference image X every time the reference image is acquired. Generate as reference information.

[比較対象情報取得部]
また、比較対象情報取得部52は、比較対象画像取得部42によって取得された比較対象画像から上記第1画素と上記第2画素とを除外した第2マスク画像に基づく比較対象情報を生成する。
[Comparison target information acquisition unit]
Further, the comparison target information acquisition unit 52 generates comparison target information based on a second mask image in which the first pixel and the second pixel are excluded from the comparison target image acquired by the comparison target image acquisition unit 42.

本実施形態の場合、比較対象情報取得部52は、比較対象画像が取得されるごとに、取得された比較対象画像Xから上記第1画素と上記第2画素とを除外した上記第2マスク画像を、上記比較対象情報として生成する。   In the case of this embodiment, the comparison target information acquisition unit 52 excludes the first pixel and the second pixel from the acquired comparison target image X every time the comparison target image is acquired. Is generated as the comparison object information.

ここで、第1画素とは、第1前景画素特定部46によって特定された第1前景画素の座標値(Xα、Yα)が示す位置に応じた位置の画素であり、例えば、基準画像X及び比較対象画像Xの左端から右に「Xα−Xβ」離れ、且つ、基準画像X及び比較対象画像Xの上端から下に「Yα−Yβ」離れている位置の画素である。ここで、「Xβ」は基準画像Xの左端のX座標値であり、「Yβ」は基準画像Xの上端のY座標値である。例えば、基準画像Xが第1ブロック領域31(図5参照)の第1ブロック画像(4、4)である場合、前景30のX座標値「XA」及びY座標値「YA」がそれぞれ「Xα」及び「Yα」に相当し、且つ、基準画像Xの左端のX座標値「X3」及び基準画像Xの上端のY座標値「Y3」がそれぞれ「Xβ」及び「Yβ」に相当する。よって、左端から右に「XA−X3」離れ、且つ、上端から下に「YA−Y3」離れている位置の画素が、第1画素列となる。   Here, the first pixel is a pixel at a position corresponding to the position indicated by the coordinate values (Xα, Yα) of the first foreground pixel specified by the first foreground pixel specifying unit 46, for example, the reference image X and This is a pixel at a position that is “Xα−Xβ” away from the left end of the comparison target image X to the right and “Yα−Yβ” away from the upper end of the reference image X and the comparison target image X. Here, “Xβ” is the X coordinate value of the left end of the reference image X, and “Yβ” is the Y coordinate value of the upper end of the reference image X. For example, when the reference image X is the first block image (4, 4) of the first block region 31 (see FIG. 5), the X coordinate value “XA” and the Y coordinate value “YA” of the foreground 30 are “Xα”, respectively. ”And“ Yα ”, and the X coordinate value“ X3 ”at the left end of the reference image X and the Y coordinate value“ Y3 ”at the upper end of the reference image X correspond to“ Xβ ”and“ Yβ ”, respectively. Therefore, the pixels at positions “XA-X3” away from the left end to the right and “YA-Y3” away from the upper end are the first pixel column.

また、第2画素とは、第2前景画素特定部48によって特定された第2前景画素の座標値(Xγ、Yγ)が示す位置に応じた位置の画素であり、例えば、基準画像X及び比較対象画像Xの左端から右に「Xγ−Xδ」離れ、且つ、基準画像X及び比較対象画像Xの上端から下に「Yγ−Yδ」離れている位置の画素である。ここで、「Xγ」は比較対象画像Xの左端のX座標値であり、「Yγ」は比較対象画像Xの上端のY座標値である。例えば、比較対象画像Xが比較対象画像74A(図8の(A)参照)である場合、前景32のX座標値「XB」及びY座標値「YB」(図7参照)がそれぞれ「Xα」及び「Yα」に相当し、且つ、比較対象画像Xの左端のX座標値「X3」及び基準画像Xの上端のY座標値「Y3」がそれぞれ「Xβ」及び「Yβ」に相当する。よって、左端から右に「XB−X3」離れ、且つ、上端から下に「YB−Y3」離れている位置の画素が、第2画素列となる。   The second pixel is a pixel at a position corresponding to the position indicated by the coordinate values (Xγ, Yγ) of the second foreground pixel specified by the second foreground pixel specifying unit 48, for example, the reference image X and the comparison This is a pixel at a position that is “Xγ−Xδ” away from the left end of the target image X to the right, and “Yγ−Yδ” away from the upper end of the reference image X and the comparison target image X. Here, “Xγ” is the X coordinate value of the left end of the comparison target image X, and “Yγ” is the Y coordinate value of the upper end of the comparison target image X. For example, when the comparison target image X is the comparison target image 74A (see FIG. 8A), the X coordinate value “XB” and the Y coordinate value “YB” (see FIG. 7) of the foreground 32 are “Xα”, respectively. Also, the X coordinate value “X3” at the left end of the comparison target image X and the Y coordinate value “Y3” at the upper end of the reference image X correspond to “Xβ” and “Yβ”, respectively. Therefore, the pixel at a position that is “XB-X3” apart from the left end to the right and “YB-Y3” away from the top end is the second pixel column.

図9Aは、第1マスク画像の生成方法を示す図であり、図9Bは、第2マスク画像の生成方法を示す図である。ここで、符号76で指し示される画像は、基準画像Xを示し、符号78で指し示される画像は、比較対象画像Xを示している。ここでは、符号76で指し示される基準画像Xが第1ブロック領域31の第1ブロック画像(4、4)であり(図5参照)、符号78で指し示される比較対象画像Xが比較対象画像74A(図8の(A)参照)である場合を例に取り上げる。   FIG. 9A is a diagram illustrating a method for generating a first mask image, and FIG. 9B is a diagram illustrating a method for generating a second mask image. Here, the image indicated by reference numeral 76 indicates the reference image X, and the image indicated by reference numeral 78 indicates the comparison target image X. Here, the reference image X indicated by reference numeral 76 is the first block image (4, 4) of the first block region 31 (see FIG. 5), and the comparison target image X indicated by reference numeral 78 is the comparison target image. The case of 74A (see FIG. 8A) is taken as an example.

この場合、図9Aに示すように、符号76で指し示される基準画像Xから、左端から右に「XA−X3」離れ且つ上端から下に「YA−Y3」離れた位置の第1画素80と、左端から右に「XB−X3」離れ且つ上端から下に「YB−Y3」離れた位置の第2画素82と、が除外されて第1マスク画像84が基準情報として生成される。同様に、図9Bに示すように、符号78で指し示される比較対象画像Xから、画素列80と第2画素82とが除外されて、第2マスク画像86が照合対象情報として生成される。   In this case, as shown in FIG. 9A, the first pixel 80 at a position away from the reference image X indicated by reference numeral 76 from the left end to the right by “XA-X3” and from the top to the bottom by “YA-Y3”; The second pixel 82 at a position away from the left end by “XB-X3” and from the upper end by “YB-Y3” is excluded, and the first mask image 84 is generated as reference information. Similarly, as shown in FIG. 9B, the pixel array 80 and the second pixel 82 are excluded from the comparison target image X indicated by reference numeral 78, and the second mask image 86 is generated as the verification target information.

なお、基準情報取得部50は、こうして生成した第1マスク画像に基づいて、基準情報を生成してもよい。例えば、基準情報取得部50は、第1マスク画像の特徴ベクトルを、基準情報として生成してよい。また、比較対象情報取得部52は、こうして生成した第2マスク画像に基づいて、比較対象情報を生成してもよい。例えば、比較対象情報取得部52は、第2マスク画像の特徴ベクトルを、比較対象情報として生成してよい。   The reference information acquisition unit 50 may generate reference information based on the first mask image generated in this way. For example, the reference information acquisition unit 50 may generate a feature vector of the first mask image as reference information. Further, the comparison target information acquisition unit 52 may generate the comparison target information based on the second mask image generated in this way. For example, the comparison target information acquisition unit 52 may generate a feature vector of the second mask image as the comparison target information.

[比較部]
比較部54は、基準情報取得部50によって取得された基準情報と、比較対象情報取得部52によって取得された比較対象情報と、を比較する。本実施形態の場合、第1マスク画像と、第2マスク画像と、を比較する。
[Comparison part]
The comparison unit 54 compares the reference information acquired by the reference information acquisition unit 50 with the comparison target information acquired by the comparison target information acquisition unit 52. In the case of this embodiment, the first mask image and the second mask image are compared.

具体的には、比較部54は、下記の数式に従って、第1マスク画像と第2マスク画像との類似度を示す相関値を算出する。   Specifically, the comparison unit 54 calculates a correlation value indicating the degree of similarity between the first mask image and the second mask image according to the following mathematical formula.

Figure 2012044513
Figure 2012044513

Figure 2012044513
Figure 2012044513

ここで、Fは第1マスク画像であり、Gは第2マスク画像であり、fは第1マスク画像の個々の画素の画素値であり、Nは第1マスク画像(第2マスク画像)の総画素数であり、gは第2マスク画像の個々の画素の画素値であり、faveは第1マスク画像の個々の画素値の平均値であり、gaveは第2マスク画像の個々の画素値の平均値である。 Here, F is the first mask image, G is the second mask image, f i is the pixel value of each pixel of the first mask image, and N is the first mask image (second mask image). , G i is the pixel value of each pixel of the second mask image, f ave is the average value of the individual pixel values of the first mask image, and g ave is the value of the second mask image. It is an average value of individual pixel values.

なお、本実施形態の場合、比較部54は、相関値を算出するごとに、次の比較対象画像の取得を比較対象画像取得部42に指示する。   In the case of this embodiment, the comparison unit 54 instructs the comparison target image acquisition unit 42 to acquire the next comparison target image every time the correlation value is calculated.

また、本実施形態の場合、比較部54は、相関値をL(ここではL=4)回算出するごとに、次の第1ブロック画像(すなわち、次の基準画像)の取得を基準画像取得部44に指示するとともに次の第2ブロック画像の取得を比較対象画像取得部42に指示する。ここで「L」は、一つの第2ブロック画像から生成される比較対象画像の数である。   In the case of the present embodiment, the comparison unit 54 acquires the next first block image (that is, the next reference image) every time the correlation value is calculated L (here, L = 4) times. And instructing the comparison target image acquisition unit 42 to acquire the next second block image. Here, “L” is the number of comparison target images generated from one second block image.

こうして、基準画像及び第2ブロック画像が取得されるごとに、取得された基準画像Xの第1マスク画像と、取得された第2ブロック画像Xから生成される比較対象画像74A〜74Cの各々の第2マスク画像と、の相関値が算出される。   Thus, each time the reference image and the second block image are acquired, each of the acquired first mask image of the reference image X and the comparison target images 74A to 74C generated from the acquired second block image X. A correlation value with the second mask image is calculated.

[選択部]
選択部56は、基準画像Xの第1マスク画像と、比較対象画像74A,74B,74C,74Dの各々の第2マスク画像と、の比較結果(すなわち、相関値)に基づいて、比較対象領域72A,72B,72C,72Dのうちの一を選択する。本実施形態の場合、選択部56は、最大の相関値が得られたときの比較対象画像を含む比較対象領域(以下、「比較対象領域MAX」と記載する)を選択するとともに、比較対象領域MAXの位置を特定する。比較対象領域MAXの画像が、基準画像Xに対応する画像となる。
[Selection part]
The selection unit 56 selects the comparison target region based on the comparison result (that is, the correlation value) between the first mask image of the reference image X and the second mask images of the comparison target images 74A, 74B, 74C, and 74D. One of 72A, 72B, 72C, 72D is selected. In the case of the present embodiment, the selection unit 56 selects a comparison target region (hereinafter referred to as “comparison target region MAX”) including the comparison target image when the maximum correlation value is obtained, and also compares the comparison target region. The position of MAX is specified. The image of the comparison target area MAX is an image corresponding to the reference image X.

[ずれ情報生成部]
そして、ずれ情報生成部58は、比較対象領域MAXの位置と、基準画像Xを含む第1ブロック領域Xの位置と、のずれを示すずれ情報を生成し、出力する。本実施形態の場合、ずれ情報生成部58は、第1ブロック領域Xの位置から比較対象領域MAXの位置までの方向ベクトルDを算出する。例えば、第1ブロック領域Xが第1ブロック領域31(図5参照)であり、且つ、比較対象領域MAXが比較対象領域72A(図8の(A)参照)である場合、第1ブロック領域31の位置と比較対象領域72Aの位置とは同じなので、方向ベクトルDの大きさは「0」になる。
[Displacement information generator]
Then, the shift information generation unit 58 generates and outputs shift information indicating the shift between the position of the comparison target area MAX and the position of the first block area X including the reference image X. In the case of the present embodiment, the deviation information generation unit 58 calculates a direction vector D from the position of the first block area X to the position of the comparison target area MAX. For example, when the first block area X is the first block area 31 (see FIG. 5) and the comparison target area MAX is the comparison target area 72A (see FIG. 8A), the first block area 31 And the position of the comparison target area 72A are the same, the magnitude of the direction vector D is “0”.

こうして生成されたずれ情報は、第2の画像処理装置の自動紙送り装置の性能検査に供される。例えば、ずれ情報は、自動紙送り装置のアライメント特性(例えば、スキュー特性、直線性、平行度、レジストレーション)の測定に供される。なお、ずれ情報(方向ベクトルD)によって示されるずれの大きさが基準値以上である場合に、警告メッセージが出力されてもよい。   The deviation information generated in this way is used for performance inspection of the automatic paper feeder of the second image processing apparatus. For example, the deviation information is used for measurement of alignment characteristics (for example, skew characteristics, linearity, parallelism, registration) of the automatic paper feeder. Note that a warning message may be output when the magnitude of the deviation indicated by the deviation information (direction vector D) is greater than or equal to a reference value.

なお、本発明の実施形態は上記実施形態だけに限らない。   The embodiment of the present invention is not limited to the above embodiment.

例えば、サービスマンが、手動スキャン方式で原稿Aの紙指紋を登録する場合、自動紙送り装置によって原稿Aが搬送されるということがないので、自動紙送り装置による搬送時に原稿Aの表面にゴミが付着するような事態が発生しなくなる。このような場合に鑑み、第1前景画素特定部46が省略されてもよい。この場合、基準画像から第2画素だけを除外した画像が第1マスク画像に相当し、比較対象画像から第2画素だけを除外した画像が第2マスク画像に相当することとなる。   For example, when the service person registers the paper fingerprint of the document A by the manual scanning method, the document A is not transported by the automatic paper feeder, so that the dust on the surface of the document A during transportation by the automatic paper feeder The situation that adheres will not occur. In view of such a case, the first foreground pixel specifying unit 46 may be omitted. In this case, an image obtained by excluding only the second pixel from the reference image corresponds to the first mask image, and an image obtained by excluding only the second pixel from the comparison target image corresponds to the second mask image.

また、以上では、原稿Aが白紙である場合の実施形態について説明したが、原稿Aは白紙でなくてもよい。例えば、原稿Aは、文字や画像(以下、「文字等」と記載する)が印刷された原稿であってもよい。この場合、第1原稿画像や第2原稿画像に含まれる文字等に係る部分も「前景」に相当することとなる。   In the above, the embodiment in which the document A is a blank sheet has been described, but the document A may not be a blank sheet. For example, the document A may be a document on which characters and images (hereinafter referred to as “characters”) are printed. In this case, the portion related to the characters and the like included in the first document image and the second document image also corresponds to the “foreground”.

また、例えば、サービスマンは、第1ブロック領域を指定するための指定操作を行うことにより、所望の第1ブロック領域を指定してもよい。例えば、サービスマンは、指定操作を行って、所望の第1ブロック領域の位置を入力する。そして、基準画像取得部44が、入力された位置に対応付けられた基準画像を読み出し、比較対象画像取得部42が、サービスマンによって指定された第1ブロック領域に対応する第2ブロック領域から第2ブロック画像を取得するとともに、当該第2ブロック画像から比較対象画像を取得すればよい。   Further, for example, the service person may designate a desired first block area by performing a designation operation for designating the first block area. For example, the service person performs a designation operation and inputs a desired position of the first block area. Then, the reference image acquisition unit 44 reads the reference image associated with the input position, and the comparison target image acquisition unit 42 starts from the second block region corresponding to the first block region specified by the serviceman. What is necessary is just to acquire a 2 block image and acquire a comparison object image from the said 2nd block image.

また、例えば、第1原稿画像及び第2原稿画像の両方が、手動スキャン方式で原稿Aの表面から読み取られた画像であってもよい。   Further, for example, both the first document image and the second document image may be images read from the surface of the document A by the manual scanning method.

1 画像処理システム、2 画像処理装置、4 データベース、6 制御部、8 主記憶、10 ハードディスク、12 表示部、14 操作入力部、16 ネットワークインタフェース、18 スキャナ、20 第1原稿画像取得部、22 登録部、30,32 前景、31 第1ブロック領域、33 第2ブロック領域、40 第2原稿画像取得部、42 比較対象画像取得部、44 基準画像取得部、46 第1前景画素特定部、48 第2前景画素特定部、50 基準情報取得部、52 比較対象情報取得部、54 比較部、56 選択部、58 ずれ情報生成部、70 第2ブロック画像、72A,72B,72C,72D 比較対象領域、74A,74B,74C,74D、78 比較対象画像、76 基準画像、80 第1画素、82 第2画素、84 第1マスク画像、86 第2マスク画像。   DESCRIPTION OF SYMBOLS 1 Image processing system, 2 Image processing apparatus, 4 Database, 6 Control part, 8 Main memory, 10 Hard disk, 12 Display part, 14 Operation input part, 16 Network interface, 18 Scanner, 20 1st original image acquisition part, 22 Registration , 30, 32 Foreground, 31 First block area, 33 Second block area, 40 Second document image acquisition unit, 42 Comparison target image acquisition unit, 44 Reference image acquisition unit, 46 First foreground pixel specifying unit, 48 2 foreground pixel identification unit, 50 reference information acquisition unit, 52 comparison target information acquisition unit, 54 comparison unit, 56 selection unit, 58 shift information generation unit, 70 second block image, 72A, 72B, 72C, 72D comparison target region, 74A, 74B, 74C, 74D, 78 comparison target image, 76 reference image, 80 first pixel, 82 second pixel, 4 the first mask image, 86 the second mask image.

Claims (7)

画像読取手段が媒体の表面から読み取った第1の媒体画像に含まれる第1領域の画像を取得する取得手段と、
画像読取手段が前記第1の媒体画像とは別に前記媒体の表面から読み取った第2の媒体画像を取得する手段と、
前記第2の媒体画像に含まれる、前記取得手段により取得された前記第1領域の画像に対応する画像、の位置を特定する位置特定手段と、
を含む画像処理装置。
An acquisition means for acquiring an image of a first region included in the first medium image read by the image reading means from the surface of the medium;
Means for acquiring a second medium image read from the surface of the medium separately from the first medium image by the image reading means;
Position specifying means for specifying the position of the image corresponding to the image of the first area acquired by the acquiring means, which is included in the second medium image;
An image processing apparatus.
前記第1領域の位置と、前記位置特定手段により特定された位置と、のずれを示すずれ情報を出力する出力手段をさらに含むこと、
を特徴とする請求項1に記載の画像処理装置。
An output unit that outputs deviation information indicating a deviation between the position of the first region and the position specified by the position specifying unit;
The image processing apparatus according to claim 1.
利用者による前記第1領域を指定するための操作を受け付ける受付手段をさらに含み、
前記取得手段は、
利用者によって指定された前記第1領域の画像を取得すること、
を特徴とする請求項1又は2に記載の画像処理装置。
A receiving unit that receives an operation for designating the first area by a user;
The acquisition means includes
Obtaining an image of the first region specified by the user;
The image processing apparatus according to claim 1, wherein:
前記第2の媒体画像に含まれる前景に係る画素である前景画素を特定する特定手段と、
前記取得手段により取得された前記第1領域の画像から前記特定手段により特定された前記前景画素に応じた位置の画素が除外された画像、に基づく第1情報を取得する第1情報取得手段と、
前記第2の媒体画像に含まれる複数の第2領域の各々について、当該第2領域の画像から前記特定手段により特定された前記前景画素に応じた位置の画素が除外された画像、に基づく第2情報を取得する第2情報取得手段と、
前記第1情報と、各第2領域について取得された第2情報の各々と、を比較する比較手段と、をさらに含み、
前記位置特定手段は、
前記比較手段の比較結果に基づいて選択される一の第2領域の位置を特定すること、
を特徴とする請求項1乃至3のいずれかに記載の画像処理装置。
Specifying means for specifying a foreground pixel that is a pixel related to a foreground included in the second medium image;
First information acquisition means for acquiring first information based on an image obtained by excluding a pixel at a position corresponding to the foreground pixel specified by the specification means from the image of the first region acquired by the acquisition means; ,
For each of a plurality of second regions included in the second medium image, an image obtained by excluding a pixel at a position corresponding to the foreground pixel specified by the specifying unit from the image of the second region. 2nd information acquisition means which acquires 2 information,
A comparison means for comparing the first information with each of the second information acquired for each second region;
The position specifying means includes
Identifying the position of one second region selected based on the comparison result of the comparison means;
The image processing apparatus according to claim 1, wherein:
前記第1媒体画像に含まれる前景に係る画素である第1前景画素を特定する手段をさらに含み、
前記特定手段は、
前記第2媒体画像に含まれる前景に係る前記前景画素である第2前景画素を特定し、
前記第1情報取得手段は、
前記第1領域の画像から前記第1前景画素及び前記第2前景画素のそれぞれに応じた位置の画素が除外された画像、に基づく前記第1情報を取得し、
前記第2領域の画像から前記第1前景画素及び前記第2前景画素のそれぞれに応じた位置の画素が除外された画像、に基づく前記第2情報を取得すること、
を特徴とする請求項4に記載の画像処理装置。
Means for identifying a first foreground pixel that is a pixel associated with a foreground included in the first medium image;
The specifying means is:
Identifying a second foreground pixel that is the foreground pixel relating to the foreground included in the second medium image;
The first information acquisition means includes
Obtaining the first information based on an image obtained by excluding a pixel at a position corresponding to each of the first foreground pixel and the second foreground pixel from the image of the first region;
Obtaining the second information based on an image obtained by excluding pixels at positions corresponding to the first foreground pixels and the second foreground pixels from the image of the second region,
The image processing apparatus according to claim 4.
画像読取手段が媒体の表面から読み取った第1の媒体画像に含まれる第1領域の画像を取得する取得手段、
画像読取手段が前記第1の媒体画像とは別に前記媒体の表面から読み取った第2の媒体画像を取得する手段、及び
前記第2の媒体画像に含まれる、前記取得手段により取得された前記第1領域の画像に対応する画像、の位置を特定する位置特定手段、
としてコンピュータを機能させるプログラム。
Acquisition means for acquiring an image of a first region included in a first medium image read by the image reading means from the surface of the medium;
Means for acquiring a second medium image read from the surface of the medium separately from the first medium image by the image reading means; and the first acquired by the acquiring means included in the second medium image Position specifying means for specifying the position of an image corresponding to an image in one region;
As a program that allows the computer to function.
画像読取手段が媒体の表面から読み取った第1の媒体画像を取得する第1媒体画像取得手段と、
画像読取手段が前記第1の媒体画像とは別に前記媒体の表面から読み取った第2の媒体画像を取得する第2媒体画像取得手段と、
前記第2の媒体画像に含まれる第1領域の画像を取得する取得手段と、
前記第2の媒体画像に含まれる、前記取得手段により取得された前記第1領域の画像に対応する画像、の位置を特定する位置特定手段と、
を含むことを特徴とする画像処理システム。
First medium image acquisition means for acquiring a first medium image read by the image reading means from the surface of the medium;
Second medium image acquisition means for acquiring a second medium image read from the surface of the medium by the image reading means separately from the first medium image;
Obtaining means for obtaining an image of a first region included in the second medium image;
Position specifying means for specifying the position of the image corresponding to the image of the first area acquired by the acquiring means, which is included in the second medium image;
An image processing system comprising:
JP2010184918A 2010-08-20 2010-08-20 Inspection device, inspection system, and program Expired - Fee Related JP5682180B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010184918A JP5682180B2 (en) 2010-08-20 2010-08-20 Inspection device, inspection system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010184918A JP5682180B2 (en) 2010-08-20 2010-08-20 Inspection device, inspection system, and program

Publications (2)

Publication Number Publication Date
JP2012044513A true JP2012044513A (en) 2012-03-01
JP5682180B2 JP5682180B2 (en) 2015-03-11

Family

ID=45900289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010184918A Expired - Fee Related JP5682180B2 (en) 2010-08-20 2010-08-20 Inspection device, inspection system, and program

Country Status (1)

Country Link
JP (1) JP5682180B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005038389A (en) * 2003-06-24 2005-02-10 Fuji Xerox Co Ltd Method, apparatus and program for authenticity determination
JP2006053736A (en) * 2004-08-11 2006-02-23 Fuji Xerox Co Ltd Method, apparatus and program for determining authenticity
JP2008147719A (en) * 2006-12-05 2008-06-26 Canon Inc Image processing apparatus and image processing method, program, and storage medium
JP2008293267A (en) * 2007-05-24 2008-12-04 Canon Inc Image forming apparatus equipped with original conveyance device and original reading device and method for controlling image processor
JP2010050551A (en) * 2008-08-19 2010-03-04 Canon Inc Image formation device
JP2010068198A (en) * 2008-09-10 2010-03-25 Canon Inc Image forming apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005038389A (en) * 2003-06-24 2005-02-10 Fuji Xerox Co Ltd Method, apparatus and program for authenticity determination
JP2006053736A (en) * 2004-08-11 2006-02-23 Fuji Xerox Co Ltd Method, apparatus and program for determining authenticity
JP2008147719A (en) * 2006-12-05 2008-06-26 Canon Inc Image processing apparatus and image processing method, program, and storage medium
JP2008293267A (en) * 2007-05-24 2008-12-04 Canon Inc Image forming apparatus equipped with original conveyance device and original reading device and method for controlling image processor
JP2010050551A (en) * 2008-08-19 2010-03-04 Canon Inc Image formation device
JP2010068198A (en) * 2008-09-10 2010-03-25 Canon Inc Image forming apparatus

Also Published As

Publication number Publication date
JP5682180B2 (en) 2015-03-11

Similar Documents

Publication Publication Date Title
JP4907725B2 (en) Calibration device, defect detection device, defect repair device, display panel, display device, calibration method
US20110129154A1 (en) Image Processing Apparatus, Image Processing Method, and Computer Program
TWI500925B (en) Check the device, check the method and check the program
CN101170627A (en) Scanning apparatus and method having image correction function
JP2020120160A5 (en)
JP2010071951A (en) Visual inspection device and visual inspection method
US11244192B2 (en) Image judging system, image judging apparatus, and image judging method
JP2014197762A (en) Image processing system and image processing program
JP2009110070A (en) Image processor, image processing method, and computer program
KR101653861B1 (en) Drawing data generating method, drawing method, drawing data generating apparatus and drawing apparatus
JP5682180B2 (en) Inspection device, inspection system, and program
JP2018036279A5 (en)
JP5178781B2 (en) Sensor output data correction device and sensor output data correction method
CN112261394B (en) Method, device and system for measuring deflection rate of galvanometer and computer storage medium
JP2023175441A (en) Image processing apparatus, control method thereof, and program
JPH1091752A (en) Device and method for correcting picture
JP5206499B2 (en) Measuring method, measuring device, measurement control program
JP3036444B2 (en) Lattice strain evaluation method and apparatus using convergent electron diffraction pattern
JP2009093595A (en) Image forming apparatus and program
US20230398776A1 (en) Inspection apparatus, inspection method, and storage medium
JP2024014720A (en) Inspection device, control method thereof, inspection system, and program
JPH08334476A (en) Method and device for setting inspection area and inspection device using the same
JP2007216561A (en) Image forming apparatus and its registration inspection method
JP5594012B2 (en) Image processing system, image processing apparatus, and program
JP2023164056A (en) Image processing device, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130724

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140715

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140911

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141229

R150 Certificate of patent or registration of utility model

Ref document number: 5682180

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees