JP2006261824A - Falsification detecting system and method for detecting falsification - Google Patents

Falsification detecting system and method for detecting falsification Download PDF

Info

Publication number
JP2006261824A
JP2006261824A JP2005073694A JP2005073694A JP2006261824A JP 2006261824 A JP2006261824 A JP 2006261824A JP 2005073694 A JP2005073694 A JP 2005073694A JP 2005073694 A JP2005073694 A JP 2005073694A JP 2006261824 A JP2006261824 A JP 2006261824A
Authority
JP
Japan
Prior art keywords
image
unit
feature amount
original image
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005073694A
Other languages
Japanese (ja)
Other versions
JP4192909B2 (en
Inventor
Yoshifumi Murase
嘉史 村瀬
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2005073694A priority Critical patent/JP4192909B2/en
Publication of JP2006261824A publication Critical patent/JP2006261824A/en
Application granted granted Critical
Publication of JP4192909B2 publication Critical patent/JP4192909B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a falsification detecting system and a method for detecting falsification capable of properly deciding the presence of the falsification by using the feature quantity of an image before printing and the feature quantity of the image after the printing. <P>SOLUTION: The falsification detecting system which decides the presence of the falsification of the printing contents of a print, is provided with: an altered image preparation section 118 altering a read image prepared by reading the print with a printed original image and preparing a plurality of altered images obtained by altering respective read images differently; a feature quantity measuring section 102 measuring each feature quantity of the plurality of altered images; a feature quantity difference computing section 122 obtaining the differential value of the feature quantity of the original image and the feature quantity of each altering image; and a decision section 124 deciding whether or not the read image is falsified on the basis of values obtained by the feature quantity difference computing section. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は,印刷物の印刷内容の改ざん有無を判定する改ざん検出システム,改ざん検出方法に関する。   The present invention relates to a falsification detection system and a falsification detection method for determining whether or not falsification of printed content of a printed matter is present.

紙媒体に印刷された文書に対して,その文書が改ざんされているか否かを判別できる装置が必要となっている。改ざんの有無を判別できる装置としては,以下のような技術が知られている。   There is a need for a device that can determine whether a document printed on a paper medium has been tampered with. The following technologies are known as devices that can determine whether or not tampering has occurred.

[1]特開2000−232573「印刷装置,印刷方法及び記録媒体」
少なくとも帳票を含む印刷物に印字データを印刷する際に,上記印字データの他に,上記印字データに対応した電子透かしを印刷することにより,その印刷物を見ただけで印刷したファイルを忠実に複製できるようにすると共に,印刷物に印刷してある電子透かし情報から,印刷結果が改ざんされているか否かを判別できるようにする。改ざんの判定は印刷結果と電子透かしで印字されたものを比較することによって行う。
[1] JP 2000-232573 “Printing apparatus, printing method, and recording medium”
When printing the print data on at least the printed matter including the form, by printing the electronic watermark corresponding to the print data in addition to the print data, the printed file can be faithfully reproduced just by looking at the printed matter. In addition, it is possible to determine whether or not the print result has been tampered with from the electronic watermark information printed on the printed matter. The determination of tampering is performed by comparing the print result with the one printed with the digital watermark.

上記装置によれば,改ざんの判別は電子透かしから取り出した印字内容と,紙面に印刷されている印字内容を目視によって比較しなければならず,人為的なミスにより改ざんを見逃す可能性がある。そこで,改ざんの有無を目視ではなく自動で判別する方法が必要となる。自動で判別するためには,元の文書の特徴量と印刷後の文書の特徴量とを利用し,その特徴量の差の程度によって改ざんの有無を判別する方法が考えられる。具体的には,改ざん有無を判別するための閾値を設定し,上記の特徴量の差と閾値とを比較することによって自動で改ざん有無を判別することが可能となる。   According to the above-described apparatus, in order to determine whether or not tampering has occurred, it is necessary to visually compare the print content extracted from the digital watermark with the print content printed on the paper surface, and there is a possibility that the tampering may be missed due to human error. Therefore, there is a need for a method for automatically determining whether or not tampering has occurred, not by visual inspection. In order to determine automatically, a method of using the feature quantity of the original document and the feature quantity of the document after printing and determining the presence / absence of alteration based on the difference between the feature quantities can be considered. Specifically, it is possible to automatically determine the presence / absence of falsification by setting a threshold value for determining whether or not falsification has occurred and comparing the difference between the feature amounts and the threshold value.

特開2000−232573号公報JP 2000-232573 A

しかし,上記の特徴量を用いて改ざん有無判定を自動で行う場合には,閾値を適切な値に設定しなければならないという問題がある。特に,印刷された文書をスキャナなどの入力装置によって再びコンピュータに入力した場合には,入力の際に発生する回転などの画像変形が原因で入力画像に多くの雑音成分が含まれる。そのため,元の文書の特徴量と入力画像の特徴量との差が大きくなり,設定された閾値によっては,改ざんされていない文書を改ざんされていると判定してしまう改ざん誤検出が発生する可能性がある。一方で,改ざん誤検出を防止できるような値を閾値として設定すると,改ざんされている文書を改ざんされていないと判定してしまう改ざん見逃しが発生する可能性がある。   However, there is a problem that the threshold value must be set to an appropriate value when the tampering determination is automatically performed using the feature amount. In particular, when a printed document is input to the computer again by an input device such as a scanner, many noise components are included in the input image due to image deformation such as rotation that occurs during input. Therefore, the difference between the feature value of the original document and the feature value of the input image becomes large, and depending on the set threshold value, erroneous detection of falsification that may determine that an unmodified document has been altered may occur. There is sex. On the other hand, if a value that can prevent false detection of falsification is set as a threshold, there is a possibility that a falsification miss that determines that a falsified document has not been falsified may occur.

そこで,本発明は,このような問題に鑑みてなされたもので,その目的とするところは,印刷前の画像の特徴量と印刷後の画像の特徴量とを用いて改ざん有無判定を適切に行うことが可能な改ざん検出システムおよび改ざん検出方法を提供することにある。   Therefore, the present invention has been made in view of such problems, and the object of the present invention is to appropriately determine whether or not tampering has occurred using the feature amount of the image before printing and the feature amount of the image after printing. It is an object of the present invention to provide a falsification detection system and a falsification detection method that can be performed.

上記課題を解決するために,本発明のある観点によれば,印刷物の印刷内容の改ざん有無を判定する改ざん検出システムが提供される。本改ざん検出システムは,元画像が印刷された印刷物を読み取って作成された読み取り画像に変更を加えて,読み取り画像に各々異なる変更が加えられた複数の変更画像を作成する変更画像作成部と;複数の変更画像の各々の特徴量を計測する特徴量計測部と;元画像の特徴量と,各変更画像の特徴量との差分値を求める特徴量差分算出部と;特徴量差分算出部によって求められた値に基づいて読み取り画像が改ざんされているか否かを判定する判定部と;を備える。   In order to solve the above problems, according to an aspect of the present invention, there is provided a falsification detection system for determining whether or not falsification of the print contents of a printed matter. The falsification detection system includes a change image creation unit that modifies a read image created by reading a printed matter on which an original image is printed, and creates a plurality of change images in which different changes are made to the read image; A feature amount measuring unit for measuring each feature amount of the plurality of changed images; a feature amount difference calculating unit for obtaining a difference value between the feature amount of the original image and the feature amount of each changed image; and a feature amount difference calculating unit A determination unit that determines whether or not the read image has been tampered with based on the obtained value.

上記発明によれば,元画像との間で特徴量を対比される画像が,変更画像作成部によって読み取り画像に基づいて複数作成される。作成された各画像の特徴量が特徴量計測部によって計測され,計測された各特徴量と元画像の特徴量との差分値が特徴量差分算出部によって求められる。判定部は,特徴量差分算出部によって求められた値に基づいて,読み取り画像が元画像と異なっているか否か,すなわち,改ざんや改変がされているか否かを判定する。判定部は,元画像の特徴量と,作成された変更画像の特徴量とを比較した結果に基づいて判定を行うが,具体的には例えば,特徴量差分算出部によって求められた最小の差分値に基づいて判定を行ってもよいし,特徴量差分算出部によって求められた各値の和や積などに基づいて判定を行ってもよい。換言すると,上記発明にかかる改ざん検出システムは,元画像の特徴量に最も近い特徴量を持つ変更画像を,読み取り画像に基づいて作成された複数の変更画像の中から探し出し,その変更画像と元画像とが同一であるか,又は全く同一ではなくても改ざんや改変がされているとは認められない程度の相違しかないか,を特徴量の差分により判定し,その判定結果によって,読み取り画像が改ざんされているか否かを判断する。かかる構成によれば,元画像を印刷する際のインクやトナーの状態,印刷物の折り目や皺,スキャナでの印刷物の読み込み時の方向のずれなどによって,読み取り画像上における元画像に回転や歪み,インクやトナーの滲み,かすれなど,意図しない変更が加えられた場合でも,改ざんの誤検出を行うことを防止できる。   According to the above invention, a plurality of images whose feature values are compared with the original image are created based on the read image by the modified image creation unit. The feature quantity of each created image is measured by the feature quantity measurement unit, and the difference value between each measured feature quantity and the feature quantity of the original image is obtained by the feature quantity difference calculation unit. The determination unit determines whether or not the read image is different from the original image based on the value obtained by the feature amount difference calculation unit, that is, whether or not falsification or alteration has been performed. The determination unit performs the determination based on the result of comparing the feature amount of the original image with the feature amount of the created changed image. Specifically, for example, the minimum difference obtained by the feature amount difference calculation unit is used. The determination may be performed based on the value, or may be performed based on the sum or product of the values obtained by the feature amount difference calculation unit. In other words, the falsification detection system according to the present invention searches for a modified image having a feature amount closest to the feature amount of the original image from a plurality of modified images created based on the read image, and the modified image and the original image are searched for. Whether or not the image is the same, or is not exactly the same but has a difference that is not recognized as being altered or altered, is determined based on the difference in the feature amount. It is determined whether or not has been tampered with. According to such a configuration, the original image on the scanned image is rotated or distorted due to the state of ink or toner when printing the original image, the folds or wrinkles of the printed material, or the deviation of the direction when the printed material is read by the scanner. Even when an unintended change such as ink or toner bleeding or blurring is made, it is possible to prevent erroneous detection of tampering.

また,上記特徴量計測部は,各画像に対して,ある特定の形状に強く反応する特徴抽出フィルタを1つ以上施して出力される値を,特徴量として計測してもよい。   The feature amount measuring unit may measure a value output as a feature amount by applying one or more feature extraction filters that strongly react to a specific shape to each image.

上記判定部は,特徴量差分算出部によって求められた複数の差分値中の最小の値と,所定の改ざん閾値とに基づいて,読み取り画像が改ざんされているか否かを判定してもよい。かかる構成によれば,読み取り画像に基づいて作成された,元画像の特徴量に最も近い特徴量を持つ変更画像に基づいて,読み取り画像の改ざん有無を判定する。そのため,元画像の印刷時や,印刷物の読み取り時等に,不可避の意図しない変更が加えられた場合であっても,その変更が原因で,改ざんされていない読み取り画像を改ざん有りと判定してしまうことを防止できる。   The determination unit may determine whether the read image has been falsified based on a minimum value among the plurality of difference values obtained by the feature amount difference calculation unit and a predetermined falsification threshold. According to this configuration, the presence or absence of falsification of the read image is determined based on the changed image having the feature amount closest to the feature amount of the original image created based on the read image. Therefore, even if an inevitable unintended change is made when printing the original image or reading the printed matter, it is determined that the read image that has not been tampered with has been tampered with due to the change. Can be prevented.

上記変更画像作成部は,読み取り画像の画素の濃度値を変更するようにしてもよい。かかる構成によれば,元画像の印刷時や印刷物の読み取り時等に,画像中の一部または全部の画素の濃度値に,改ざんではない意図しない変更が加えられた場合に,変更画像作成部により読み取り画像の画素の濃度値を変更することによって,印刷時等に加えられた意図しない変更を取り除くことができる。   The changed image creating unit may change the pixel density value of the read image. According to such a configuration, when an original image is printed or when a printed material is read, if an unintended change that is not falsified is made to the density value of some or all of the pixels in the image, the changed image creation unit Thus, by changing the density value of the pixel of the read image, an unintended change made during printing or the like can be removed.

上記変更画像作成部は,所定の2値化閾値に基づいて,読み取り画像の2値化を行ってもよい。   The modified image creation unit may binarize the read image based on a predetermined binarization threshold.

上記変更画像作成部は,2値化閾値を変更可能であってもよい。かかる構成によれば,変更画像作成部は,閾値を変えることにより,読み取り画像から複数の2値画像を作成することができる。   The changed image creation unit may be capable of changing the binarization threshold. According to this configuration, the changed image creation unit can create a plurality of binary images from the read image by changing the threshold value.

上記変更画像作成部は,黒画素に隣接する白画素を黒画素に置き換えるようにしてもよい。   The modified image creation unit may replace a white pixel adjacent to a black pixel with a black pixel.

上記変更画像作成部は,白画素に隣接する黒画素を白画素に置き換えるようにしてもよい。   The modified image creation unit may replace black pixels adjacent to white pixels with white pixels.

上記変更画像作成部は,読み取り画像を回転,拡大,縮小および/または平行移動するようにしてもよい。かかる構成によれば,元画像の印刷時や印刷物の読み取り時等に,改ざんではない意図しない変更として,画像に傾きや歪み,位置のずれが生じたり,画像が縮小,拡大された場合に,変更画像作成部により読み取り画像をアフィン変換することによって,印刷時等に加えられた意図しない変更を取り除くことができる。   The modified image creation unit may rotate, enlarge, reduce, and / or translate the read image. According to such a configuration, when the original image is printed or when the printed material is read, as an unintentional change that has not been tampered with, the image is tilted, distorted, misaligned, or the image is reduced or enlarged. Unintentional changes made during printing can be removed by affine transformation of the read image by the modified image creation unit.

上記読み取り画像には,元画像の任意の領域の位置情報と任意の領域の特徴量とが関連付けられて埋め込まれており,上記改ざん検出システムは,読み取り画像から埋め込まれている位置情報,および特徴量を抽出する抽出部と;抽出部によって抽出された位置情報に基づいて,読み取り画像における,元画像の任意の領域に対応する領域の位置情報を取得する位置情報取得部と;をさらに備えてもよい。その際,上記変更画像作成部は,位置情報取得部によって取得された位置情報に基づいて,元画像の任意の領域に対応する読み取り画像上の領域から変更画像を作成し,上記特徴量差分算出部は,抽出部によって読み取り画像から抽出された特徴量と,各変更画像の特徴量との差分値を求めてもよい。かかる構成によれば,元画像の任意の領域の画像が,読み取り画像において改ざんされているか否かを判定することができる。   In the read image, position information of an arbitrary region of the original image and a feature amount of the arbitrary region are embedded in association with each other, and the falsification detection system performs the position information embedded in the read image and the feature. An extraction unit that extracts an amount; and a position information acquisition unit that acquires position information of a region corresponding to an arbitrary region of the original image in the read image based on the position information extracted by the extraction unit; Also good. At this time, the modified image creation unit creates a modified image from an area on the read image corresponding to an arbitrary area of the original image based on the position information acquired by the position information acquisition unit, and calculates the feature amount difference. The unit may obtain a difference value between the feature amount extracted from the read image by the extraction unit and the feature amount of each changed image. According to such a configuration, it is possible to determine whether an image in an arbitrary region of the original image has been tampered with in the read image.

上記特徴量計測部は,元画像の任意の領域の特徴量を計測し,上記改ざん検出システムは,元画像の任意の領域の位置情報と任意の領域の特徴量とを関連付けて元画像に埋め込む特徴量埋め込み部と;位置情報に含まれる座標によって特定される点と関連づけて座標の情報を元画像に埋め込む座標情報埋め込み部と;座標情報が埋め込まれた元画像を出力する画像出力部と;出力された元画像が印刷された印刷物を読み取り,読み取り画像を作成する読み取り部と;読み取り画像から,埋め込まれている座標情報を抽出する座標情報抽出部と;をさらに備えてもよい,その際,上記位置情報取得部は,抽出部によって抽出された位置情報および座標情報抽出部によって抽出された座標情報に基づいて,読み取り画像における,元画像の任意の領域に対応する領域の位置情報を取得するようにしてもよい。かかる構成によれば,元画像の印刷時に余白ができた場合でも,元画像に挿入される座標情報により,元画像の任意の領域に対応する読み取り画像上の領域の位置情報を取得することができる。   The feature amount measurement unit measures a feature amount of an arbitrary region of the original image, and the falsification detection system embeds the positional information of the arbitrary region of the original image and the feature amount of the arbitrary region in an embedded manner in the original image. A feature amount embedding unit; a coordinate information embedding unit that embeds coordinate information in an original image in association with a point specified by coordinates included in position information; an image output unit that outputs an original image in which coordinate information is embedded; A reading unit that reads the printed material on which the output original image is printed and creates a read image; and a coordinate information extraction unit that extracts embedded coordinate information from the read image; The position information acquisition unit is configured to select an arbitrary image of the original image in the read image based on the position information extracted by the extraction unit and the coordinate information extracted by the coordinate information extraction unit. It may acquire the position information of an area corresponding to the frequency. According to such a configuration, even when a margin is created when the original image is printed, position information of an area on the read image corresponding to an arbitrary area of the original image can be acquired by coordinate information inserted into the original image. it can.

上記課題を解決するために,本発明の別の観点によれば,印刷物の印刷内容の改ざん有無を判定する改ざん検出方法が提供される。本改ざん検出方法は,元画像が印刷された印刷物を読み取って作成された読み取り画像に変更を加えて,読み取り画像に各々異なる変更が加えられた複数の変更画像を作成する変更画像作成ステップと;複数の変更画像の各々の特徴量を計測する特徴量計測ステップと;元画像の特徴量と,各変更画像の特徴量との差分値を求める特徴量差分算出ステップと;特徴量差分算出部によって求められた値に基づいて読み取り画像が改ざんされているか否かを判定する判定ステップと;を含む。   In order to solve the above problems, according to another aspect of the present invention, there is provided a falsification detection method for determining whether or not falsification of the print contents of a printed matter. The falsification detection method includes a modified image creation step of creating a plurality of modified images in which different modifications are made to the scanned image by modifying the scanned image created by scanning the printed material on which the original image is printed; A feature amount measuring step for measuring each feature amount of the plurality of changed images; a feature amount difference calculating step for obtaining a difference value between the feature amount of the original image and the feature amount of each changed image; and a feature amount difference calculating unit A determination step of determining whether the read image has been tampered with based on the obtained value.

以上説明したように本発明によれば,印刷前の画像の特徴量と印刷後の画像の特徴量とを用いて改ざん有無判定を適切に行うことが可能な改ざん検出システムおよび改ざん検出方法を提供できるものである。   As described above, according to the present invention, there is provided a falsification detection system and a falsification detection method capable of appropriately performing falsification presence / absence determination using a feature amount of an image before printing and a feature amount of an image after printing. It can be done.

以下に添付図面を参照しながら,本発明の好適な実施の形態について詳細に説明する。なお,本明細書及び図面において,実質的に同一の機能構成を有する構成要素については,同一の符号を付することにより重複説明を省略する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the present specification and drawings, components having substantially the same functional configuration are denoted by the same reference numerals, and redundant description is omitted.

本実施形態にかかる改ざん検出システムは,印刷前の画像の特徴量と印刷後の画像の特徴量を用いて印刷後の画像が改ざんされているか否かを検出するシステムである。本システムは,印刷前の画像(以後,元画像とも称する。)の特徴量を計測する機能と,印刷された画像を読み取って作成された画像(以後,読み取り画像とも称する。)の特徴量を計測する機能と,元画像の特徴量と読み取り画像の特徴量とを比較する機能と,比較の結果,読み取り画像が改ざんされているか否かを判断する機能などを備える。本実施形態にかかる改ざん検出システムでは,ひとつのコンピュータに,改ざん検出機能を実現するための上記の各機能が備えられている。しかし,本実施形態のようにひとつのコンピュータに複数の機能が備えられるのではなく,2つ以上の複数のコンピュータに各機能が分散されていてもよい。   The falsification detection system according to the present embodiment is a system that detects whether or not an image after printing has been falsified using the feature amount of the image before printing and the feature amount of the image after printing. This system measures the feature amount of an image before printing (hereinafter also referred to as an original image) and the feature amount of an image created by reading a printed image (hereinafter also referred to as a read image). A function to measure, a function to compare the feature quantity of the original image and the feature quantity of the read image, and a function to determine whether or not the read image has been falsified as a result of the comparison are provided. In the falsification detection system according to the present embodiment, each computer is provided with the above-described functions for realizing a falsification detection function. However, a plurality of functions are not provided in one computer as in this embodiment, but each function may be distributed to two or more computers.

図1は,改ざん検出システム10の機能構成を示すブロック図である。改ざん検出システム10は,例えば,特徴量計測部102と,特徴量埋め込み部104と,座標情報埋め込み部106と,画像出力部108と,読み取り部110と,抽出部112と,座標情報抽出部114と,位置情報取得部116と,変更画像作成部118と,特徴量差分算出部122と,判定部124などを備える。上述の通り,各機能がひとつのコンピュータに備えられていてもよいし,複数のコンピュータに分散されていてもよい。例えば,元画像に対する処理を行う部分(特徴量計測部102,特徴量埋め込み部104,座標情報埋め込み部106および画像出力部108)と,読み取り画像に対する処理を行う部分(読み取り部110,抽出部112,座標情報抽出部114,位置情報取得部116,変更画像作成部118,特徴量計測部102,特徴量差分算出部122および片底部124)とがそれぞれ別のコンピュータに備えられていてもよい。   FIG. 1 is a block diagram showing a functional configuration of the falsification detection system 10. The falsification detection system 10 includes, for example, a feature amount measuring unit 102, a feature amount embedding unit 104, a coordinate information embedding unit 106, an image output unit 108, a reading unit 110, an extracting unit 112, and a coordinate information extracting unit 114. A position information acquisition unit 116, a modified image creation unit 118, a feature amount difference calculation unit 122, a determination unit 124, and the like. As described above, each function may be provided in one computer, or may be distributed among a plurality of computers. For example, a portion that performs processing on the original image (feature amount measurement unit 102, feature amount embedding unit 104, coordinate information embedding unit 106, and image output unit 108) and a portion that performs processing on the read image (reading unit 110, extraction unit 112). , The coordinate information extraction unit 114, the position information acquisition unit 116, the changed image creation unit 118, the feature amount measurement unit 102, the feature amount difference calculation unit 122, and the single bottom portion 124) may be provided in different computers.

特徴量計測部102は,入力された元画像1002の特徴量を計測する機能を有する。元画像1002は,改ざん検出を行う対象の読み取り画像の元となる画像である。特徴量を計測する方法としては,各画像に対してガボールフィルタや公知のフィルタによるフィルタリング処理を行い,フィルタ出力の平均値を求めるなどすることによって各画像の特徴量を得る方法を適用することができる。また,画像を複数の領域に分割し,分割された領域ごとに特徴量を計測することによって,より詳細に特徴量を計測してもよい。また,フィルタリングによる特徴量計測以外にも,縮小画像の生成によるパターンマッチングを行い,その一致度を計測する方法も適用可能である。画像から計測される特徴量は,同一の画像ではほぼ同一の特徴量となる。ただし,同一の画像であっても,印刷前の画像と印刷物の読み取り画像とでは,プリンタやスキャナの性能などによっては読み取り画像に汚れ,インクの滲み,変形等が発生し,その結果,印刷前の画像の特徴量と読み取り画像の特徴量とが異なる場合がある。本実施形態において,特徴量計測部102は,元画像1002から任意の領域を指定し,指定した領域の特徴量を計測する。特徴量計測部102は,任意の領域として,元画像1002の全領域を指定してもよいし,元画像1002の一部分を指定してもよい。   The feature amount measuring unit 102 has a function of measuring the feature amount of the input original image 1002. The original image 1002 is an image that is a source of a read image to be subjected to tampering detection. As a method for measuring the feature amount, a method of obtaining a feature amount of each image by performing a filtering process with a Gabor filter or a known filter on each image and obtaining an average value of the filter output may be applied. it can. Further, the feature amount may be measured in more detail by dividing the image into a plurality of regions and measuring the feature amount for each of the divided regions. Besides the feature quantity measurement by filtering, a method of performing pattern matching by generating a reduced image and measuring the degree of coincidence can be applied. The feature quantity measured from the image is almost the same feature quantity in the same image. However, even if the image is the same, the image before printing and the scanned image of the printed matter may be contaminated, smeared, deformed, etc. depending on the performance of the printer or scanner. In some cases, the feature amount of the image and the feature amount of the read image are different. In the present embodiment, the feature amount measuring unit 102 designates an arbitrary region from the original image 1002 and measures the feature amount of the designated region. The feature amount measuring unit 102 may specify the entire area of the original image 1002 or a part of the original image 1002 as an arbitrary area.

特徴量計測部102によって計測された特徴量と,その特徴量が計測された領域を特定する位置情報は,特徴量埋め込み部104に提供される。特徴量埋め込み部104は,提供された特徴量と位置情報とを関連付けて元画像1002に電子透かしとして埋め込む。   The feature amount measured by the feature amount measuring unit 102 and the position information specifying the region where the feature amount is measured are provided to the feature amount embedding unit 104. The feature amount embedding unit 104 associates the provided feature amount with the position information and embeds the feature amount in the original image 1002 as a digital watermark.

特徴量計測部102によって特徴量が計測された領域を特定する位置情報は,座標情報埋め込み部106にも提供される。座標情報埋め込み部106は,提供された位置情報に含まれる座標によって特定される点と関連づけて,その座標の情報を元画像1002に電子透かしとして埋め込む。具体的には,図3に示すように,特徴量計測部102から取得した位置情報に含まれている座標の情報を,その座標によって特定される元画像上の点に埋め込む。図示の例によれば,特徴量計測部102によって指定され,特徴量が計測された領域の開始位置を示す開始点2002に,開始点2002の座標である(200,200)を電子透かしとして埋め込む。同様に,特徴量が計測された領域の終了位置を示す終了点2004に,終了点2004の座標である(300,300)を電子透かしとして埋め込む。   The position information for specifying the region where the feature amount is measured by the feature amount measuring unit 102 is also provided to the coordinate information embedding unit 106. The coordinate information embedding unit 106 embeds the coordinate information in the original image 1002 as a digital watermark in association with the point specified by the coordinates included in the provided position information. Specifically, as shown in FIG. 3, information on coordinates included in the position information acquired from the feature quantity measurement unit 102 is embedded in a point on the original image specified by the coordinates. According to the illustrated example, the coordinates (200, 200) of the start point 2002 are embedded as a digital watermark at the start point 2002 designated by the feature amount measuring unit 102 and indicating the start position of the region where the feature amount is measured. . Similarly, the coordinates (300, 300) of the end point 2004 are embedded as an electronic watermark at the end point 2004 indicating the end position of the region where the feature amount is measured.

ここで,電子透かしについて説明する。例えば,特開2003−209676号公報「電子透かし埋め込み装置,電子透かし検出装置,電子透かし埋め込み方法,及び,電子透かし検出方法」に示されているように,該電子透かし技術は,任意のドットパターンを用紙に埋め込み,目視を目的とする物理的な情報以外に電子透かしとして情報を伝達する技術である。   Here, the digital watermark will be described. For example, as disclosed in Japanese Patent Application Laid-Open No. 2003-209676, “Digital Watermark Embedding Device, Digital Watermark Detection Device, Digital Watermark Embedding Method, and Digital Watermark Detection Method”, the digital watermark technology uses an arbitrary dot pattern. Is a technology that embeds the image in paper and transmits information as a digital watermark in addition to physical information for visual inspection.

また,電子透かし技術は,用紙に任意の情報を埋め込めるだけでなく,埋め込まれる小さな独自のパターン自体がそのパターン同士の位置関係または用紙に対する位置関係を示し,スキャナ等によって画像が読み取られた後の画像を補正するための基準として利用される。   Digital watermarking technology not only embeds arbitrary information on paper, but also the small unique patterns to be embedded themselves indicate the positional relationship between the patterns or relative to the paper, and after the image is read by a scanner or the like. This is used as a reference for correcting the image.

図11は,電子透かしに埋め込む任意のパターンを説明するための説明図である。図11を参照すると,かかる電子透かしによる画像は,複数の小さなドットで構成されたN個のユニットパターンの集合として表される。この各ユニットパターンが0〜N−1の数値に対応し,例えば,ユニットパターン902は数値0を表し,ユニットパターン904は数値1を表す。上記ユニットパターンは,白黒やカラーで表すことができる。   FIG. 11 is an explanatory diagram for explaining an arbitrary pattern embedded in a digital watermark. Referring to FIG. 11, an image based on such digital watermark is represented as a set of N unit patterns composed of a plurality of small dots. Each unit pattern corresponds to a numerical value of 0 to N−1. For example, the unit pattern 902 represents a numerical value 0 and the unit pattern 904 represents a numerical value 1. The unit pattern can be expressed in black and white or color.

図12は,電子透かしによって印刷された画像(用紙)を説明するための外観図である。図12の用紙全体を参照すると,上記電子透かしによる画像には,その役割に応じて,メイン領域910,属性情報領域912,境界情報領域914に分けることができる。メイン領域910は,情報を埋め込むための主たる領域である。属性情報領域912は,電子透かしを埋め込む領域の大きさやメイン領域910における情報の符号化方法など,メイン領域910に埋め込まれた情報を読み取るために必要な情報が格納されている。境界情報領域914は,予め定められた特定のユニットパターンが印刷されており,読み取り側はこの領域によって電子透かしの境界を識別することができる。   FIG. 12 is an external view for explaining an image (paper) printed with a digital watermark. Referring to the entire sheet of FIG. 12, the image based on the digital watermark can be divided into a main area 910, an attribute information area 912, and a boundary information area 914 according to the role of the image. The main area 910 is a main area for embedding information. The attribute information area 912 stores information necessary for reading the information embedded in the main area 910, such as the size of the area in which the digital watermark is embedded and the information encoding method in the main area 910. A predetermined specific unit pattern is printed in the boundary information area 914, and the reading side can identify the boundary of the digital watermark by this area.

スキャナ等の読み取り側では,このようにして印刷された用紙(以下,単に電子透かし用紙という。)をスキャニングし,用紙中に埋め込まれた個々のユニットパターンを検出する。この検出は,テンプレートマッチングや,任意の方向性や形状に対するフィルタ特性を持つ2次元フィルタ(例えば2次元ガボールフィルタ)等を利用して行われる。   On the reading side such as a scanner, the paper printed in this way (hereinafter simply referred to as digital watermark paper) is scanned to detect individual unit patterns embedded in the paper. This detection is performed using template matching or a two-dimensional filter (for example, a two-dimensional Gabor filter) having a filter characteristic for an arbitrary directionality and shape.

また,上記用紙に電子透かしを埋め込む際,上記境界情報領域914やメイン領域910の特定位置に,特定のユニットパターンを規則正しく配置する。これによって,用紙を読み取る側では,これら位置検出用のユニットパターンを抽出し,この位置情報に基づいて補正を行うことができる。従って,スキャニングしたデータに変位や回転によるズレまたはしわによる偏りがあったとしても,煩わしい手動による補正を行うことなく,元の画像を復元することができる。   Further, when embedding a digital watermark in the paper, specific unit patterns are regularly arranged at specific positions in the boundary information area 914 and the main area 910. Thus, on the paper reading side, these unit patterns for position detection can be extracted and correction can be performed based on the position information. Therefore, the original image can be restored without performing troublesome manual correction even if the scanned data is displaced due to displacement or rotation or biased due to wrinkles.

また,印刷時やスキャニング時などに,このユニットパターンの一部が例えばインクなどで汚され,検知できなくなる可能性が生じる。そこでメイン領域910においては埋め込む情報を複数箇所に分散して配置したり,上記特開2003−209676号公報にあるように誤り耐性符号(パリティチェック符号,ハミング符号,BCH符号など)で埋め込んだりして,例え,ユニットパターンの一部が欠けていたとしても情報の復元が可能なように構成されている。   In addition, when printing or scanning, a part of the unit pattern may be stained with, for example, ink and cannot be detected. Therefore, in the main area 910, information to be embedded is distributed at a plurality of locations, or is embedded with an error resilience code (parity check code, Hamming code, BCH code, etc.) as disclosed in Japanese Patent Laid-Open No. 2003-209676. For example, even if a part of the unit pattern is missing, the information can be restored.

図1に戻り,改ざん検出システム10の機能構成についての説明を続ける。画像出力部108は,特徴量,特徴量が計測された領域の位置情報,および,その領域の座標情報が電子透かしとして埋め込まれた元画像1002を印刷する。なお,画像出力部108は,元画像を印刷するのではなく,電子データとして,フレキシブルディスク,CD(Compact Disk)等の外部記録媒体に出力してもよいし,通信網を介して接続された他のコンピュータに送信してもよい。そして,外部記録媒体に出力された,または他のコンピュータに送信された元画像1002は,他のコンピュータ等により印刷されてもよい。   Returning to FIG. 1, the description of the functional configuration of the falsification detection system 10 will be continued. The image output unit 108 prints the original image 1002 in which the feature amount, the position information of the region where the feature amount is measured, and the coordinate information of the region are embedded as a digital watermark. The image output unit 108 does not print the original image, but may output it as an electronic data to an external recording medium such as a flexible disk or a CD (Compact Disk), or connected via a communication network. It may be sent to another computer. Then, the original image 1002 that has been output to the external recording medium or transmitted to another computer may be printed by another computer or the like.

読み取り部110は,元画像が印刷された印刷物1004を読み取り,読み取り画像を作成する。具体的には,スキャナ等の読み取り手段を介して印刷物を読み取り,読み取られたデータに基づいて読み取り画像を作成する。なお,元画像が印刷された印刷物には,元画像部分の他に余白部分が含まれている場合があるが,読み取り部110によって作成される読み取り画像には,そのような余白部分も含まれている。また,読み取り時に元画像が縮小される場合もある。読み取り部110は,上述のようにスキャナによって印刷物を読み取るほか,例えばデジタルカメラによって印刷物を撮影し,撮影された画像のデータを取り込んで,読み取り画像を作成することもできる。   The reading unit 110 reads a printed material 1004 on which an original image is printed, and creates a read image. Specifically, the printed matter is read through a reading unit such as a scanner, and a read image is created based on the read data. Note that the printed material on which the original image is printed may include a blank portion in addition to the original image portion, but the read image created by the reading unit 110 also includes such a blank portion. ing. In addition, the original image may be reduced during reading. As described above, the reading unit 110 can read a printed matter with a scanner, and can also photograph a printed matter with a digital camera, for example, and take the data of the photographed image to create a read image.

抽出部112は,読み取り部110によって作成された読み取り画像から,埋め込まれている情報,すなわち特徴量と,その特徴量が計測された位置情報と,を抽出する。抽出部112は,抽出した情報を,改ざん検出システム10内の記憶領域に保存する。   The extraction unit 112 extracts the embedded information, that is, the feature amount and the position information where the feature amount is measured, from the read image created by the reading unit 110. The extraction unit 112 stores the extracted information in a storage area in the falsification detection system 10.

座標情報抽出部114は,読み取り画像から,埋め込まれている座標情報を抽出する。位置情報取得部116は,特徴量計測部102によって指定された任意の領域の位置情報,および,座標情報抽出部114によって抽出された座標情報に基づいて,読み取り画像における,元画像の任意の領域に対応する領域(以後,対応領域とも称する。)の位置情報を取得する。   The coordinate information extraction unit 114 extracts embedded coordinate information from the read image. The position information acquisition unit 116, based on the position information of an arbitrary area specified by the feature amount measurement unit 102 and the coordinate information extracted by the coordinate information extraction unit 114, an arbitrary area of the original image in the read image. The position information of the area corresponding to (hereinafter also referred to as the corresponding area) is acquired.

具体的には,図4に示すように,座標情報抽出部114は,読み取り画像の例えば左上端から右下端に向かって,埋め込まれている目視不能な情報を検索し,その情報を抽出する。図示の例によれば,読み取り画像の開始点2002に埋め込まれている(200,200)を示す情報,および終了点2004に埋め込まれている(300,300)を示す情報を抽出する。位置情報取得部116は,座標情報抽出部114によって情報が抽出された点の読み取り画像における座標を取得し,抽出部112によって抽出され,改ざん検出システム10内の記憶領域に保存された情報に基づいて,読み取り画像領域情報を作成する。図示の例によれば,(200,200)の情報が抽出された開始点2002は読み取り画像上では座標(368,248)によって特定される点であり,また,(300,300)の情報が抽出された終了点2004は読み取り画像上では座標(435,315)によって特定される点である。従って,元画像において座標(200,200)および(300,300)で特定される領域は,読み取り画像上では座標(368,248)および(435,315)によって特定される領域と対応していることがわかる。そこで,位置情報取得部116は,対応領域を特定する位置情報「368,248,435,315」と,抽出部112によって抽出された,元画像におけるその領域の特徴量とを関連付けて,改ざん検出システム10内の記憶領域に保存しておく。   Specifically, as shown in FIG. 4, the coordinate information extraction unit 114 searches embedded information that is not visible from the upper left end to the lower right end of the read image and extracts the information. According to the illustrated example, information indicating (200, 200) embedded in the start point 2002 of the read image and information indicating (300, 300) embedded in the end point 2004 are extracted. The position information acquisition unit 116 acquires the coordinates in the read image of the point from which the information is extracted by the coordinate information extraction unit 114, is extracted by the extraction unit 112, and is based on the information stored in the storage area in the falsification detection system 10. Thus, read image area information is created. According to the illustrated example, the start point 2002 from which the information (200, 200) is extracted is a point specified by coordinates (368, 248) on the read image, and the information (300, 300) is The extracted end point 2004 is a point specified by coordinates (435, 315) on the read image. Therefore, the area specified by the coordinates (200, 200) and (300, 300) in the original image corresponds to the area specified by the coordinates (368, 248) and (435, 315) on the read image. I understand that. Therefore, the position information acquisition unit 116 detects the alteration by associating the position information “368, 248, 435, 315” specifying the corresponding region with the feature amount of the region extracted by the extraction unit 112. The data is stored in a storage area in the system 10.

上述のように,座標情報埋め込み部106,座標情報抽出部114および位置情報取得部116により,座標の情報を用いて,元画像と読み取り画像との対応領域を求めることによって,元画像には無かった余白が読み取り画像にできた場合でも,また,印刷物の読み取り時に読み取り方向がずれることにより読み取り画像に位置ずれが生じた場合でも,元画像の任意の領域に正確に対応する読み取り画像上の領域を特定することができる。   As described above, the coordinate information embedding unit 106, the coordinate information extraction unit 114, and the position information acquisition unit 116 use the coordinate information to obtain a corresponding area between the original image and the read image, so that the original image is not included. The area on the read image that accurately corresponds to any area of the original image, even if the margin is formed in the read image, or if the read image is misaligned due to a shift in the reading direction when reading the printed matter Can be specified.

変更画像作成部118は,読み取り画像に変更を加えて,読み取り画像に各々異なる変更が加えられた複数の変更画像を作成する。具体的には,変更画像作成部118は,位置情報取得部116によって求められた,特徴量が計測された元画像の任意の領域に対応する読み取り画像上の領域に対して,画素の濃度値の変更や,アフィン変換を行い,複数の変更画像を作成する。変更画像作成の詳細は後述する。なお,変更画像作成部118は,読み取り画像全体に対して濃度値の変更,アフィン変換を行ってもよい。   The modified image creation unit 118 creates a plurality of modified images in which different modifications are made to the scanned image by modifying the scanned image. Specifically, the changed image creation unit 118 calculates the pixel density value for an area on the read image corresponding to an arbitrary area of the original image from which the feature amount is measured, which is obtained by the position information acquisition unit 116. Or change affine transformation to create multiple modified images. Details of creation of the changed image will be described later. Note that the changed image creation unit 118 may perform density value change and affine transformation on the entire read image.

作成された複数の変更画像は,上述の特徴量計測部102によって,各々特徴量を計測される。   A feature amount of each of the created change images is measured by the feature amount measuring unit 102 described above.

特徴量差分算出部122は,特徴量計測部102によって計測された元画像の任意の領域の特徴量と,同様に特徴量計測部102によって計測された複数の変更画像の特徴量の各々との差分値を求める機能を有する。具体的には,特徴量差分算出部122は,特徴量計測部102による計測結果である複数の特徴量の各々と,抽出部112によって読み取り画像から抽出された特徴量との差分値を求める。   The feature amount difference calculating unit 122 calculates the feature amount of an arbitrary region of the original image measured by the feature amount measuring unit 102 and each of the feature amounts of the plurality of changed images measured by the feature amount measuring unit 102 in the same manner. It has a function for obtaining a difference value. Specifically, the feature amount difference calculation unit 122 obtains a difference value between each of the plurality of feature amounts, which are measurement results by the feature amount measurement unit 102, and the feature amount extracted from the read image by the extraction unit 112.

判定部124は,特徴量差分算出部122によって算出された複数の差分値のなかで,最小の値に基づいて改ざん有無を決定する。具体的には,最小の差分値と,改ざん検出のための閾値(以後,改ざん検出閾値と称する。)とを比較して,差分値が改ざん検出閾値よりも小さければその領域の画像は改ざんされていないと判定し,差分値が改ざん検出閾値以上であれば,改ざんされていると判定する。   The determination unit 124 determines the presence / absence of falsification based on the minimum value among the plurality of difference values calculated by the feature amount difference calculation unit 122. Specifically, the minimum difference value is compared with a threshold value for falsification detection (hereinafter referred to as a falsification detection threshold value). If the difference value is smaller than the falsification detection threshold value, the image in that area is falsified. If the difference value is equal to or greater than the falsification detection threshold, it is determined that the falsification has occurred.

以上,改ざん検出システム10の機能構成について説明した。次に,図2に基づいて,改ざん検出システム10の処理の流れについて説明する。   The functional configuration of the falsification detection system 10 has been described above. Next, the flow of processing of the falsification detection system 10 will be described with reference to FIG.

まず,改ざん検出システム10に画像が元画像として入力される(S102)。元画像となる画像として,本実施形態では,複数の文字が並んで描かれている画像を使用し,改ざん検出システム10は,元画像に描かれている文字が,読み取り画像において改ざんされているか否かを判定する。元画像が入力されると,改ざん検出システム10の特徴量計測部102により,元画像の特徴量が計測される(S104)。本実施形態では,元画像に描かれている複数の文字のうちの任意の1文字を含む領域の特徴量が計測される。計測された特徴量と,特徴量を計測した領域の位置情報,およびその位置情報に含まれる座標の情報が,特徴量埋め込み部104および座標情報埋め込み部106により元画像に埋め込まれる(S106)。元画像は,S106で情報が埋め込まれた後,画像出力部108によって印刷出力される(S108)。   First, an image is input to the falsification detection system 10 as an original image (S102). In the present embodiment, an image in which a plurality of characters are drawn side by side is used as the original image, and the falsification detection system 10 determines whether the characters drawn in the original image have been falsified in the read image. Determine whether or not. When the original image is input, the feature quantity measurement unit 102 of the falsification detection system 10 measures the feature quantity of the original image (S104). In the present embodiment, the feature amount of a region including any one character among a plurality of characters drawn in the original image is measured. The measured feature amount, the position information of the region where the feature amount is measured, and the coordinate information included in the position information are embedded in the original image by the feature amount embedding unit 104 and the coordinate information embedding unit 106 (S106). The original image is printed out by the image output unit 108 after the information is embedded in S106 (S108).

次に,S108において作成された,元画像が印刷された印刷物が,読み取り部110によって読み取られ,読み取り画像が作成される(S110)。作成された読み取り画像から,埋め込まれている情報が,抽出部112および座標情報抽出部114によって抽出され,位置情報取得部116によって,特徴量が計測された元画像上の領域と対応する読み取り画像上の領域が特定される(S112)。   Next, the printed matter created in S108 on which the original image is printed is read by the reading unit 110 to create a read image (S110). The embedded information is extracted from the created read image by the extraction unit 112 and the coordinate information extraction unit 114, and the read image corresponding to the region on the original image in which the feature amount is measured by the position information acquisition unit 116. The upper area is specified (S112).

S112で対応領域が特定されると,変更画像作成部118によって変更画像が作成され(S114),作成された変更画像の特徴量が,特徴量計測部102によって計測される(S116)。S112において抽出部112によって抽出された元画像の特徴量と,S116において計測された変更画像の特徴量の差分値が特徴量差分算出部122によって求められる(S118)。S114〜S118が複数回実行され,作成された複数の変更画像の特徴量と,元画像の特徴量との差分値がそれぞれ求められる。そして,複数回実行されたS118において求められた複数の差分値の中の,最小の値に基づいて,判定部124によって改ざん有無の判定が行われる(S120)。   When the corresponding area is specified in S112, a modified image is created by the modified image creating unit 118 (S114), and the feature amount of the created modified image is measured by the feature amount measuring unit 102 (S116). The feature value difference calculation unit 122 obtains a difference value between the feature value of the original image extracted by the extraction unit 112 in S112 and the feature value of the changed image measured in S116 (S118). Steps S114 to S118 are executed a plurality of times, and difference values between the created feature amounts of the plurality of changed images and the feature amounts of the original image are respectively obtained. Then, based on the minimum value among the plurality of difference values obtained in S118 executed a plurality of times, the determination unit 124 determines whether or not tampering has occurred (S120).

以上,改ざん検出システム10の処理の流れについて説明した。次に,図5〜図10に基づいて,変更画像作成部118による変更画像の作成処理について,詳細に説明する。   The processing flow of the falsification detection system 10 has been described above. Next, the modified image creation processing by the modified image creating unit 118 will be described in detail with reference to FIGS.

変更画像作成部118が変更画像を作成する元となる画像は,読み取り画像における元画像の任意の領域(特徴量を計測された領域)に対応する領域の画像である。上述のように,座標情報埋め込み部106,座標情報抽出部114,および位置情報取得部116により,座標の情報を用いて,読み取り画像における,元画像の任意の領域に対応する領域が求められる。そのため,元画像の任意の領域にほぼ正確に対応する読み取り画像上の領域を特定することができる。ほぼ正確に対応領域が特定できれば,元画像の任意の領域の特徴量と,その領域に対応する読み取り画像上の領域の特徴量とは,読み取り画像のその領域が改ざんされていない限り,ほぼ同等の値になるはずであり,2つの特徴量の差分値は改ざん閾値よりも小さい値となるはずである。   The image from which the modified image creating unit 118 creates the modified image is an image of a region corresponding to an arbitrary region (region in which the feature amount is measured) of the original image in the read image. As described above, the coordinate information embedding unit 106, the coordinate information extraction unit 114, and the position information acquisition unit 116 use the coordinate information to obtain an area corresponding to an arbitrary area of the original image in the read image. For this reason, it is possible to specify a region on the read image that almost exactly corresponds to an arbitrary region of the original image. If the corresponding area can be identified almost accurately, the feature value of an arbitrary area of the original image and the feature value of the area on the read image corresponding to the area are almost equal unless the area of the read image is falsified. The difference value between the two feature amounts should be smaller than the falsification threshold.

しかし,画像出力部108による元画像の印刷時に,元画像の任意の領域に意図しない変更が加えられる場合や,読み取り部110による印刷物の読み取り時に,読み取り画像上の対応領域に意図しない変更が加えられる場合がある。具体的には例えば,元画像の印刷時にインクが滲んで,元画像に描かれている文字,図形,記号等の線の幅が広くなる場合や,インクやトナー不足により文字等がかすれたり,線の幅が狭くなる場合がある。また,印刷物の読み取り時における印刷物の汚れや,印刷物に付着したゴミにより,読み取り画像にノイズが生じる場合がある。また,元画像に電子透かしを埋め込んで印刷した場合には,その電子透かしが原因で元画像と読み取り画像との特徴量に大きな差分が生じる場合があり,そのような場合には電子透かしがノイズになりうる。また,印刷物の読み取り時に,読み取り方向のずれや印刷物の皺などにより,読み取り画像上の文字,図形,記号等に傾き,歪みが生じる場合がある。そのように,元画像や読み取り画像に意図しない変更が加えられた場合には,読み取り画像が改ざんされていない場合であっても,元画像と読み取り画像の特徴量に大きな差が出る可能性がある。元画像の特徴量と読み取り画像の特徴量との間に差が出た結果,特徴量間の差分値が改ざん検出閾値よりも大きくなり,読み取り画像への改ざんは実際にはされていないにもかかわらず,判定部124によって改ざん有りと判定されてしまう場合がある。そこで,変更画像作成部118によって,読み取り画像に複数のパターンの変更を加えることにより,上記意図しない変更が加えられる前の状態に近い変更画像の作成を試みる。そして,上記意図しない変更が加えられる前の状態に最も近い変更画像の特徴量と元画像の特徴量とに基づいて,判定部124が改ざん有無を判定すれば,実際には改ざんされていないにもかかわらず改ざん有りと判定してしまうことを防止できる。以下に,図面を参照して具体的に説明する。   However, when an original image is printed by the image output unit 108, an unintended change is added to an arbitrary area of the original image, or when a printed matter is read by the reading unit 110, an unintended change is added to a corresponding area on the read image. May be. Specifically, for example, when the original image is printed, the ink bleeds and the line width of characters, figures, symbols, etc. drawn on the original image becomes wide, or the characters are faded due to lack of ink or toner, The width of the line may be narrowed. In addition, noise may occur in the scanned image due to dirt on the printed material or dust attached to the printed material when the printed material is read. In addition, when printing is performed with an electronic watermark embedded in the original image, there may be a large difference in the feature quantity between the original image and the read image due to the digital watermark. Can be. In addition, when a printed material is read, there are cases where characters, figures, symbols, etc. on the scanned image are tilted or distorted due to a deviation in the reading direction or wrinkles of the printed material. In this way, if an unintended change is made to the original image or the read image, there may be a large difference in the feature quantity between the original image and the read image even if the read image has not been tampered with. is there. As a result of the difference between the feature value of the original image and the feature value of the read image, the difference value between the feature values becomes larger than the falsification detection threshold, and the read image is not actually falsified. Regardless, the determination unit 124 may determine that there has been tampering. Therefore, the modified image creation unit 118 attempts to create a modified image that is close to the state before the unintended modification is made by adding a plurality of patterns to the read image. If the determination unit 124 determines whether or not falsification has occurred based on the feature amount of the changed image closest to the state before the unintended change is added and the feature amount of the original image, the tampering is not actually performed. Nevertheless, it can be prevented that the tampering is determined. Hereinafter, specific description will be given with reference to the drawings.

図5は,意図しない変更が加えられた場合として,読み取り画像において,画像中の文字の線の幅が元画像に比べて広く,または狭く変化した例を示す。図示のように,元画像202の特徴量は6.0である。一方,線幅が膨張した読み取り画像204の特徴量は4.7であり,線幅が収縮した読み取り画像206の特徴量は7.8である。元画像の特徴量との差分は,それぞれ1.3と1.8であり,改ざん検出閾値を1.0とした場合には,読み取り画像204,206の双方とも,改ざんありと判定される。   FIG. 5 shows an example in which the width of the character line in the read image is wider or narrower than that of the original image in the read image as an unintended change. As illustrated, the feature amount of the original image 202 is 6.0. On the other hand, the feature amount of the read image 204 with the expanded line width is 4.7, and the feature amount of the read image 206 with the contracted line width is 7.8. Differences from the feature amount of the original image are 1.3 and 1.8, respectively, and when the alteration detection threshold is 1.0, both of the read images 204 and 206 are determined to be altered.

そこで,読み取り画像204,206に対して,変更画像作成部118により複数のパターンの変更が加えられ,複数の変更画像が作成される。図6Aは,線幅が膨張した読み取り画像204に基づいて変更画像を作成する場合を示す。変更画像作成部118が,読み取り画像204中の文字の線の幅が広くなるように膨張処理を施した結果,読み取り画像204の変更画像204aが作成される。また,変更画像作成部118が,読み取り画像204中の文字の線の幅が狭くなるように収縮処理を施した結果,読み取り画像204の他の変更画像204bが作成される。膨張処理および収縮処理については図7〜図9を参照して後述する。変更画像204aの特徴量は4.0であり,元画像の特徴量との差分は2.0である。一方,変更画像204bの特徴量は5.9であり,元画像の特徴量との差分は0.9である。図示の例によれば,変更画像は204aおよび204bの2つしか作成されていないので,2つの差分値の中の最初の値である0.1に基づいて,判定部124が改ざん有無の判断を行う。その結果,本例では改ざん検出閾値が1.0であるため,改ざんなしと判断される。なお,変更画像作成部118は,膨張や収縮の程度を変えることにより,複数の変更画像を作成してもよい。また,最小値を取得する複数の特徴量の差分値の中に,変更前の読み取り画像204の特徴量と元画像の特徴量との差分値が含まれていても構わない。   Therefore, a plurality of pattern changes are added to the read images 204 and 206 by the modified image creation unit 118, and a plurality of modified images are created. FIG. 6A shows a case where a modified image is created based on a read image 204 with an expanded line width. As a result of the expansion processing by the modified image creating unit 118 so that the width of the character line in the scanned image 204 is widened, a modified image 204a of the scanned image 204 is created. In addition, as a result of the contraction process performed by the modified image creation unit 118 so that the width of the character line in the scanned image 204 becomes narrower, another modified image 204b of the scanned image 204 is created. The expansion process and the contraction process will be described later with reference to FIGS. The feature amount of the changed image 204a is 4.0, and the difference from the feature amount of the original image is 2.0. On the other hand, the feature amount of the changed image 204b is 5.9, and the difference from the feature amount of the original image is 0.9. According to the example shown in the figure, only two modified images 204a and 204b have been created. Therefore, the determination unit 124 determines whether or not tampering has occurred based on 0.1 as the first value of the two difference values. I do. As a result, in this example, since the falsification detection threshold is 1.0, it is determined that there is no falsification. The modified image creation unit 118 may create a plurality of modified images by changing the degree of expansion or contraction. In addition, the difference value between the feature value of the read image 204 before the change and the feature value of the original image may be included in the difference value of the plurality of feature values for obtaining the minimum value.

図6Bは,線幅が収縮した読み取り画像206に基づいて変更画像を作成する場合を示す。変更画像作成部118が,読み取り画像206中の文字の線の幅が広くなるように膨張処理を施した結果,読み取り画像206の変更画像206aが作成される。また,変更画像作成部118が,読み取り画像206中の文字の線の幅が狭くなるように収縮処理を施した結果,読み取り画像206の他の変更画像206bが作成される。変更画像206aの特徴量は5.8であり,元画像の特徴量との差分は0.2である。一方,変更画像206bの特徴量は8.6であり,元画像の特徴量との差分は2.6である。図示の例によれば,変更画像は206aおよび206bの2つしか作成されていないので,2つの差分値の中の最初の値である0.2に基づいて,判定部124が改ざん有無の判断を行う。その結果,本例では改ざん検出閾値が1.0であるため,改ざんなしと判断される。なお,変更画像作成部118は,膨張や収縮の程度を変えることにより,複数の変更画像を作成してもよい。また,最小値を取得する複数の特徴量の差分値の中に,変更前の読み取り画像206の特徴量と元画像の特徴量との差分値が含まれていても構わない。   FIG. 6B shows a case where a changed image is created based on the read image 206 whose line width is contracted. As a result of the expansion processing by the modified image creating unit 118 so that the width of the character line in the scanned image 206 is widened, a modified image 206a of the scanned image 206 is created. In addition, as a result of the contraction process performed by the modified image creating unit 118 so that the width of the character line in the scanned image 206 is narrowed, another modified image 206b of the scanned image 206 is created. The feature amount of the changed image 206a is 5.8, and the difference from the feature amount of the original image is 0.2. On the other hand, the feature amount of the changed image 206b is 8.6, and the difference from the feature amount of the original image is 2.6. According to the example shown in the figure, only two modified images 206a and 206b have been created, so that the determination unit 124 determines whether or not tampering has occurred based on the initial value 0.2 of the two difference values. I do. As a result, in this example, since the falsification detection threshold is 1.0, it is determined that there is no falsification. The modified image creation unit 118 may create a plurality of modified images by changing the degree of expansion or contraction. Moreover, the difference value between the feature value of the read image 206 before the change and the feature value of the original image may be included in the difference value of the plurality of feature values for obtaining the minimum value.

次に,図7および図8に基づいて,膨張処理と収縮処理について説明する。膨張処理とは,画像に含まれる文字,図形,記号等の線の幅を広くする処理である。膨張処理は,画像中の一部の画素の濃度値を変えることにより実現できる。膨張処理を行う方法としては,例えば,処理対象の画像が2値画像であり,文字,図形,記号等が黒画素で表されている場合には,図7に示したように,黒画素に隣接する白画素を黒画素に変換する方法を用いることができる。黒画素に隣接する白画素を黒画素に変換することにより,文字等の線の幅を広げることができる。また,黒画素に変換する白画素の範囲を変えることにより,膨張の程度を調節することができる。例えば,図7の例によれば,読み取り画像210に対して,黒画素に隣接する白画素を黒画素に変換した結果,変更画像210aが作成される。本例では,黒画素に隣接している白画素のみを変換したが,黒画素に隣接する白画素と,その白画素に隣接している白画素をさらに黒画素に変換するようにすれば,変更画像210aよりもさらに黒画素の多い,つまりさらに文字の線幅が膨張した状態の変更画像を作成できる。   Next, the expansion process and the contraction process will be described with reference to FIGS. The expansion process is a process for widening the line width of characters, figures, symbols, etc. included in the image. The expansion process can be realized by changing the density value of some pixels in the image. For example, when the image to be processed is a binary image and characters, figures, symbols, etc. are represented by black pixels, as shown in FIG. A method of converting adjacent white pixels into black pixels can be used. By converting white pixels adjacent to black pixels to black pixels, the width of a line of characters or the like can be increased. In addition, the degree of expansion can be adjusted by changing the range of white pixels to be converted into black pixels. For example, according to the example of FIG. 7, as a result of converting white pixels adjacent to black pixels into black pixels in the read image 210, a modified image 210a is created. In this example, only the white pixel adjacent to the black pixel is converted, but if the white pixel adjacent to the black pixel and the white pixel adjacent to the white pixel are further converted to black pixels, It is possible to create a modified image having more black pixels than the modified image 210a, that is, a state where the line width of the character is further expanded.

一方,収縮処理とは,画像に含まれる文字,図形,記号等の線の幅を狭くする処理である。収縮処理もまた,画像中の一部の画素の濃度値を変えることにより実現できる。収縮処理を行う方法として,例えば,処理対象の画像が2値画像であり,文字,図形,記号等が黒画素で表されている場合には,図7に示したように,白画素に隣接する黒画素を白画素に変換する方法を用いることができる。白画素に隣接する黒画素を白画素に変換することにより,文字等の線の幅を狭めることができる。また,白画素に変換する黒画素の範囲を変えることにより,収縮の程度を調節することができる。例えば,図7の例によれば,読み取り画像212に対して,白画素に隣接する黒画素を白画素に変換した結果,変更画像212bが作成される。なお,白画素に変換する黒画素の範囲を変えることにより,収縮の程度を調節することができる。   On the other hand, the shrinking process is a process for narrowing the width of lines such as characters, figures, symbols, and the like included in an image. Shrinkage processing can also be realized by changing the density values of some pixels in the image. For example, when the image to be processed is a binary image and characters, figures, symbols, etc. are represented by black pixels, as shown in FIG. A method of converting black pixels to white pixels can be used. By converting a black pixel adjacent to a white pixel into a white pixel, the width of a line such as a character can be reduced. In addition, the degree of contraction can be adjusted by changing the range of black pixels to be converted into white pixels. For example, according to the example of FIG. 7, as a result of converting a black pixel adjacent to a white pixel into a white pixel in the read image 212, a modified image 212b is created. Note that the degree of contraction can be adjusted by changing the range of black pixels to be converted into white pixels.

上記では,処理対象の画像が2値画像である場合について説明した。処理対象の画像が2値画像でない場合には,まず画像の2値化を行い,処理対象の画像を2値画像にした後に,上記の如く黒画素を白画素へ,または白画素を黒画素へ変換する方法を用いることができる。なお,処理対象の画像の2値化を行う前に,図9に示すような平滑化処理を行っても良い。平滑化処理は,メディアンフィルタや移動平均法により実施できる。   In the above description, the case where the image to be processed is a binary image has been described. If the image to be processed is not a binary image, the image is first binarized, and after the image to be processed is converted to a binary image, black pixels are converted into white pixels or white pixels are converted into black pixels as described above. Can be used. Note that smoothing processing as shown in FIG. 9 may be performed before binarization of the image to be processed. The smoothing process can be performed by a median filter or a moving average method.

以上,読み取り画像に意図しない変更が加えられた場合として,読み取り画像において,画像中の文字の線の幅が元画像に比べて広く,または狭く変化した場合について説明した。次に,図9に基づいて,意図しない変更が加えられた場合として,読み取り画像にノイズが生じた場合について説明する。   As described above, as an example in which an unintended change is made to the read image, a case has been described in which the width of the character line in the read image is wider or narrower than that of the original image. Next, based on FIG. 9, a case where noise occurs in the read image as an unintended change will be described.

読み取り画像204は,元画像の任意の領域の位置情報,その任意の領域の特徴量,および位置情報に含まれる座標情報が電子透かしとして埋め込まれた印刷物を読み取って作成された読み取り画像の一部である。そのため,文字,図形,記号等(図示の例では文字「A」)の他にも目視不能な情報が電子透かしとして埋め込まれている。この電子透かしにより,元画像と読み取り画像との特徴量に差が生じる。そこで,画像中の文字,図形,記号等と電子透かしとの分離を行い,電子透かしが除去された状態で特徴量を計測することが望ましい。そのため,変更画像作成部118は,読み取り画像204を2値化し,変更画像として,読み取り画像の2値画像を作成する。2値化を行うことにより,画像中の文字,図形,記号等と電子透かしとの分離が可能となる。画像の2値化は,設定した閾値よりも高い濃度値の画素を白画素に変換し,閾値以下の濃度値の画素を黒画素に変換することにより実行できる。この場合,閾値が低いほど白画素に変換される確率が高くなり,閾値が高ければ黒画素に変換される確率が高くなる。そのため,閾値が高すぎると,電子透かしの一部が黒画素に変換され,文字等と電子透かしの分離が適切に行われない可能性がある。また,閾値を高く設定した場合は,読み取り画像中の,読み取り時に印刷物に汚れやゴミが付着していた部分が黒画素に変換される。また,印刷時に濃度のムラが生じた場合や,読み取り時に輝度のムラが生じた場合,黒画素に変換される部分が多くなる。図示の例によれば,閾値を190に設定して2値化した読み取り画像204fは,190よりも小さい閾値で2値化された204c,204d,204eに比べて黒画素の割合が多くなっている。一方,閾値が低すぎると,読み取り画像中の文字,図形,記号等の一部が白画素に変換されてしまい,文字等がかすれたり,消えたりしてしまう。そこで,変更画像作成部118は,2値化の閾値を変更しながら複数の2値画像を作成する。2値化の閾値を変更することにより,読み取り画像中の文字等のかすれや消滅を防ぎながら,電子透かしと文字等との分離が適切に行われたノイズが少ない変更画像の作成が可能となる。   The read image 204 is a part of a read image created by reading a printed matter in which position information of an arbitrary area of the original image, a feature amount of the arbitrary area, and coordinate information included in the position information are embedded as an electronic watermark. It is. Therefore, in addition to characters, figures, symbols, and the like (character “A” in the illustrated example), invisible information is embedded as a digital watermark. Due to this digital watermark, a difference occurs in the feature amount between the original image and the read image. Therefore, it is desirable to separate characters, graphics, symbols, and the like in the image from the digital watermark, and measure the feature amount with the digital watermark removed. Therefore, the modified image creation unit 118 binarizes the scanned image 204 and creates a binary image of the scanned image as the modified image. By performing binarization, it is possible to separate characters, graphics, symbols, etc. in an image from digital watermarks. The binarization of the image can be executed by converting pixels having a density value higher than a set threshold value to white pixels and converting pixels having a density value equal to or lower than the threshold value to black pixels. In this case, the lower the threshold, the higher the probability of conversion to white pixels, and the higher the threshold, the higher the probability of conversion to black pixels. For this reason, if the threshold is too high, part of the digital watermark is converted to black pixels, and there is a possibility that the character and the digital watermark are not properly separated. If the threshold value is set high, the portion of the scanned image where dirt or dust is attached to the printed material at the time of scanning is converted to black pixels. In addition, when density unevenness occurs during printing or when brightness unevenness occurs during reading, more parts are converted to black pixels. According to the illustrated example, the read image 204f binarized by setting the threshold value to 190 has a higher proportion of black pixels than 204c, 204d, and 204e binarized by a threshold value smaller than 190. Yes. On the other hand, if the threshold is too low, some characters, graphics, symbols, etc. in the scanned image are converted to white pixels, and the characters are faded or disappeared. Therefore, the changed image creation unit 118 creates a plurality of binary images while changing the binarization threshold. By changing the threshold value for binarization, it is possible to create a modified image with less noise in which the electronic watermark is properly separated from the character while preventing the blurring and disappearance of the character in the scanned image. .

図示の例によれば,閾値80で2値化された変更画像204c,閾値110で2値化された変更画像204d,閾値150で2値化された変更画像204e,閾値190で2値化された変更画像204fの順に,画像中の黒画素が多くなっている。変更画像作成部118が204c〜204fの変更画像を作成すると,特徴量計測部102が各変更画像の特徴量を計測する。本例によれば,変更画像204cの特徴量は7.1,変更画像204dの特徴量は6.1,変更画像204eの特徴量は5.6,変更画像204fの特徴量は3.5である。特徴量差分算出部122により,元画像の特徴量6.0と各変更画像の特徴量との差分値が求められ,差分値は図示のように,変更画像204cが1.1,変更画像204dが0.1,変更画像204eが0.4,変更画像204fが2.5となる。判定部は,特徴量差分算出部122によって求められた複数の差分値の中の最小の値に基づいて改ざん有無の判定を行う。本例によれば,最小の値は変更画像204dの0.1であるため,判定部124は0.1と改ざん検出閾値1.0とを比較する。比較の結果,差分値は改ざん検出閾値よりも小さいため,判定部124は改ざん無しと判定する。   According to the illustrated example, the changed image 204 c binarized with the threshold 80, the changed image 204 d binarized with the threshold 110, the changed image 204 e binarized with the threshold 150, and the binarized with the threshold 190. In the order of the changed image 204f, the number of black pixels in the image increases. When the modified image creation unit 118 creates the modified images 204c to 204f, the feature amount measurement unit 102 measures the feature amount of each modified image. According to this example, the feature amount of the modified image 204c is 7.1, the feature amount of the modified image 204d is 6.1, the feature amount of the modified image 204e is 5.6, and the feature amount of the modified image 204f is 3.5. is there. The feature value difference calculation unit 122 obtains a difference value between the feature value 6.0 of the original image and the feature value of each modified image, and the difference value is 1.1 for the modified image 204c and the modified image 204d as illustrated. Is 0.1, the modified image 204e is 0.4, and the modified image 204f is 2.5. The determination unit determines whether or not tampering has occurred based on the minimum value among the plurality of difference values obtained by the feature amount difference calculation unit 122. According to this example, since the minimum value is 0.1 of the changed image 204d, the determination unit 124 compares 0.1 with the alteration detection threshold value 1.0. As a result of the comparison, since the difference value is smaller than the falsification detection threshold, the determination unit 124 determines that there is no falsification.

なお,図9に示したように,読み取り画像の2値化を行う前に,平滑化処理を行っても良い。平滑化処理は,メディアンフィルタや移動平均法により実施できる。   As shown in FIG. 9, smoothing processing may be performed before binarization of the read image. The smoothing process can be performed by a median filter or a moving average method.

上述のように,2値化の閾値を変化させながら,読み取り画像から複数の2値画像を作成し,2値画像の特徴量に基づいて読み取り画像の改ざん有無を判定することにより,画像出力部108が元画像を印刷する際のインクやトナーの濃度や,読み取り部110が印刷物を読みとる際のスキャナの光源の輝度に応じて,読み取り画像全体の平均濃度値の変動や,印刷ムラや読み取り時の輝度ムラによる局所的な濃度値の変動が発生しても,適切な閾値で2値化された結果,元画像に最も近い状態となった読み取り画像に基づいて改ざん有無を判定することができる。また,読み取り画像の特徴量に対する電子透かしの影響も除去できる。また,読み取り画像の画素の濃度値の変動に関わる汚れやゴミが,読み取り時に印刷物に付着していたとしても,適切な閾値で2値化されることにより,その影響を除去できる。従って,実際には改ざんされていない読み取り画像を,上記のような平均濃度値の変化,局所的な濃度値の変化が原因で改ざん有りと誤って判断してしまうことを防止できる。   As described above, by generating a plurality of binary images from the read image while changing the binarization threshold, and determining whether the read image has been tampered with based on the feature amount of the binary image, the image output unit In accordance with the density of ink and toner when the original 108 prints the original image, and the brightness of the light source of the scanner when the reading unit 110 reads the printed matter, the fluctuation of the average density value of the entire read image, printing unevenness, and reading Even if local density value fluctuations occur due to uneven brightness, it is possible to determine the presence or absence of falsification based on the read image that is closest to the original image as a result of binarization with an appropriate threshold. . In addition, the influence of the digital watermark on the feature amount of the read image can be removed. Further, even if dirt or dust related to the fluctuation of the density value of the pixel of the read image adheres to the printed matter at the time of reading, the influence can be removed by binarizing with an appropriate threshold value. Therefore, it is possible to prevent a read image that has not been actually tampered from being erroneously determined to have been tampered with due to the change in the average density value and the local density value as described above.

以上,図9に基づいて,読み取り画像に意図しない変更が加えられた場合として,読み取り画像にノイズが生じた場合について説明した。次に,意図しない変更が読み取り画像に加えられた場合の例として,読み取り画像が傾いている場合について,図10を参照して説明する。   As described above, the case where noise occurs in the read image as the case where an unintended change is added to the read image has been described based on FIG. Next, a case where the read image is tilted will be described with reference to FIG. 10 as an example when an unintended change is made to the read image.

図10では,傾いた状態で印刷物が読み取られることにより,読み取り画像に傾きが生じている状態を示す。読み取り画像の傾きは,読み取り部110がスキャナにより印刷物を読み取る場合には,例えば,読み取り方向のずれや,印刷物の皺などにより生じうる。また,読み取り部110がデジタルカメラにより印刷物を撮影し,撮影された画像を取り込む場合には,例えば,撮影方向のずれによっても読み取り画像の傾きが生じる。図10の例は,印刷物1004をデジタルカメラで撮影した際に,撮影方向のずれにより読み取り画像に傾きが生じている状態を示している。読み取り画像が傾いた結果,読み取り画像204の文字「A」に歪みが生じている。歪みが生じた読み取り画像は,特徴量が4.2であり,元画像の特徴量6.0との差分は1.8である。差分の値1.8は,改ざん検出閾値1.0よりも大きいので,歪みが生じた読み取り画像204は判定部124によって改ざん有りと判定されてしまう。   FIG. 10 shows a state in which the read image is tilted by reading the printed matter in a tilted state. When the reading unit 110 reads a printed material with a scanner, the read image may be inclined due to, for example, a deviation in the reading direction or wrinkles of the printed material. In addition, when the reading unit 110 captures a printed matter with a digital camera and captures the captured image, the read image is inclined due to, for example, a shift in the capturing direction. The example of FIG. 10 illustrates a state in which the read image is tilted due to a shift in the shooting direction when the printed material 1004 is shot with a digital camera. As a result of the tilt of the read image, the character “A” in the read image 204 is distorted. The read image in which the distortion has occurred has a feature amount of 4.2, and a difference from the original image feature amount of 6.0 is 1.8. Since the difference value 1.8 is larger than the tampering detection threshold 1.0, the read image 204 in which the distortion has occurred is determined by the determination unit 124 to be falsified.

そこで,変更画像作成部118は,読み取り画像をアフィン変換して複数の変更画像を作成する。図示の例によれば,読み取り画像の中央横軸を中心に,手前方向に2度回転させた場合の変更画像204jと,奥方向に2度回転させた場合の変更画像204kを作成する。変更画像204jの特徴量は5.7で,変更画像204kの特徴量は4.7であり,変更画像204jに基づいて改ざん有無の判定を行えば,判定部124は改ざん無しと判断する。変更画像作成部118が行うアフィン変換としては,読み取り画像の角度,縮尺,配置を変換することなどが考えられる。上述のように,変更画像作成部118により,読み取り画像から,アフィン変換された複数の変更画像が作成されることにより,読み取り画像に傾きや歪みが生じた場合でも,その傾き,歪みをアフィン変換により取り除いた状態の変更画像に基づいて,改ざん有無の判定を行うことができる。そのため,実際には改ざんされていない読み取り画像を,読み取り時等に生じた傾き,歪みが原因で改ざん有りと誤って判定してしまうことを防止できる。また,読み取り画像に生じる変更としては,上述の傾き,歪みのほかに,配置ずれや,画像の大きさの変更が挙げられる。配置ずれは,例えば,読み取り時における印刷物の紙面の歪み等によって生じる。画像の大きさの変更は,例えば,スキャナでの印刷物の読み取り時に,スキャナにより拡大や縮小が行われることによって生じる。また,カメラで印刷物を撮影する場合には,印刷物からカメラまでの距離やズームの程度に応じて撮影された画像の大きさが異なるため,読み取り画像の大きさが元画像と異なる場合がある。そのように,読み取り画像に配置ずれ,大きさの変更が生じた場合でも,本実施形態にかかる改ざん検出システムによれば,読み取り画像をアフィン変換して回転,拡大,縮小,平行移動させて複数の変更画像を作成し,各変更画像の特徴量を求め,元画像に最も近い特徴量と元画像の特徴量との差分値に基づいて改ざん有無判定を行うことで,より精度の高い改ざん有無の判定を行うことができる。なお,アフィン変換による読み取り画像の回転,拡大,縮小,平行移動は,各々単独で行われても良いし,複数を組み合わせて行われても良い。   Therefore, the modified image creation unit 118 creates a plurality of modified images by affine transformation of the read image. According to the example shown in the figure, a modified image 204j when rotated twice in the near direction around the central horizontal axis of the read image and a modified image 204k when rotated twice in the far direction are created. The feature amount of the changed image 204j is 5.7, and the feature amount of the changed image 204k is 4.7. If the presence / absence of alteration is determined based on the changed image 204j, the determination unit 124 determines that no alteration has occurred. As the affine transformation performed by the modified image creation unit 118, it is conceivable to convert the angle, scale, and arrangement of the read image. As described above, even if the read image is tilted or distorted by creating a plurality of affine-transformed changed images from the read image by the changed image creating unit 118, the tilt and distortion are affine transformed. The presence / absence of falsification can be determined on the basis of the changed image removed in the above. For this reason, it is possible to prevent a read image that has not been tampered with from being erroneously determined to have been tampered with due to inclination or distortion caused during reading or the like. In addition to the inclination and distortion described above, changes that occur in the read image include misalignment and changes in the size of the image. The misalignment occurs due to, for example, distortion of the paper surface of the printed material at the time of reading. The change in the size of the image occurs, for example, when the scanner performs enlargement or reduction when reading a printed matter. Further, when a printed matter is photographed with a camera, the size of the photographed image differs depending on the distance from the printed matter to the camera and the degree of zooming, so the size of the read image may differ from the original image. As described above, even when the read image is misplaced or changed in size, the tamper detection system according to the present embodiment allows the read image to be affine-transformed and rotated, enlarged, reduced, or translated to obtain a plurality of images. By creating a modified image of each image, obtaining the feature value of each modified image, and determining whether or not tampering has occurred based on the difference between the feature value closest to the original image and the feature value of the original image. Can be determined. Note that rotation, enlargement, reduction, and parallel movement of the read image by affine transformation may be performed individually or in combination.

以上,変更画像作成部118による変更画像の作成処理について詳細に説明した。変更画像作成部118は,上述した各変更画像の作成処理を,単独で,または複数を組み合わせて行うことにより,ひとつの読み取り画像から複数の変更画像を作成することができる。   The modified image creation processing by the modified image creating unit 118 has been described in detail above. The modified image creation unit 118 can create a plurality of modified images from one read image by performing the above-described modification image creation processing individually or in combination.

以上説明したように,本実施形態にかかる改ざん検出システム10によれば,まず,元画像において特徴量を計測した領域の位置情報を,座標と関連づけて埋め込むことにより,読み取り画像において対応領域を正確に特定することができる。そして,正確に特定された領域の画像に基づいて複数の変更画像を作成することにより,元画像の印刷時や印刷物の読み取り時等に,その特定された領域に加えられた可能性のある意図しない変更を除去し,元画像に最も近い状態の画像を作成することができる。作成された各変更画像の特徴量を計測し,元画像の特徴量との差分が最も小さい特徴量に基づいて,つまり,元画像に最も近い状態の変更画像に基づいて,読み取り画像に改ざんがされたか否かを判定することにより,上記意図しない変更が加えられたことが原因で,実際には改ざんされていない読み取り画像を改ざん有りと判定してしまう判定の誤りを防止することができる。   As described above, according to the falsification detection system 10 according to the present embodiment, first, the position information of the area where the feature value is measured in the original image is embedded in association with the coordinates, so that the corresponding area in the read image can be accurately determined. Can be specified. Then, by creating multiple modified images based on the image of the accurately specified area, the intention that may have been added to the specified area when printing the original image or reading the printed matter, etc. Unnecessary changes can be removed and an image closest to the original image can be created. The feature value of each created modified image is measured, and the read image is falsified based on the feature value that has the smallest difference from the feature value of the original image, that is, based on the modified image that is closest to the original image. By determining whether or not the image has been changed, it is possible to prevent a determination error in which a read image that has not been actually falsified is determined to have been falsified due to the unintended change.

以上,添付図面を参照しながら本発明の好適な実施形態について説明したが,本発明は係る例に限定されないことは言うまでもない。当業者であれば,特許請求の範囲に記載された範疇内において,各種の変更例または修正例に想到し得ることは明らかであり,それらについても当然に本発明の技術的範囲に属するものと了解される。   As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, it cannot be overemphasized that this invention is not limited to the example which concerns. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are of course within the technical scope of the present invention. Understood.

本発明は,印刷物の印刷内容の改ざん有無を判定する改ざん検出システムに適用可能である。   The present invention can be applied to a falsification detection system that determines whether or not falsification of the printed content of a printed matter is present.

本発明の実施形態にかかる改ざん検出システムを示すブロック図である。It is a block diagram which shows the tampering detection system concerning embodiment of this invention. 同実施の形態における改ざん検出処理を示すフローチャートである。It is a flowchart which shows the tampering detection process in the embodiment. 同実施の形態における座標情報埋め込み処理を示す説明図である。It is explanatory drawing which shows the coordinate information embedding process in the embodiment. 同実施の形態における座標情報抽出処理を示す説明図である。It is explanatory drawing which shows the coordinate information extraction process in the embodiment. 同実施の形態における改ざん有無の判定例を示す説明図である。It is explanatory drawing which shows the example of determination of the presence or absence of falsification in the embodiment. 同実施の形態における変更画像作成処理を示す説明図である。It is explanatory drawing which shows the change image creation process in the embodiment. 同実施の形態における変更画像作成処理を示す説明図である。It is explanatory drawing which shows the change image creation process in the embodiment. 同実施の形態における変更画像作成処理を示す説明図である。It is explanatory drawing which shows the change image creation process in the embodiment. 同実施の形態における変更画像作成処理を示す説明図である。It is explanatory drawing which shows the change image creation process in the embodiment. 同実施の形態における変更画像作成処理を示す説明図である。It is explanatory drawing which shows the change image creation process in the embodiment. 同実施の形態における変更画像作成処理を示す説明図である。It is explanatory drawing which shows the change image creation process in the embodiment. 同実施の形態における電子透かしの埋め込み例を示す説明図である。It is explanatory drawing which shows the example of embedding of the digital watermark in the embodiment. 同実施の形態における電子透かしの埋め込み例を示す説明図である。It is explanatory drawing which shows the example of embedding of the digital watermark in the embodiment.

符号の説明Explanation of symbols

102 特徴量計測部
104 特徴量埋め込み部
106 座標情報埋め込み部
108 画像出力部
110 読み取り部
112 抽出部
114 座標情報抽出部
116 位置情報取得部
118 変更画像作成部
122 特徴量差分算出部
124 判定部
DESCRIPTION OF SYMBOLS 102 Feature-value measurement part 104 Feature-value embedding part 106 Coordinate information embedding part 108 Image output part 110 Reading part 112 Extraction part 114 Coordinate information extraction part 116 Position information acquisition part 118 Changed image creation part 122 Feature-value difference calculation part 124 Determination part

Claims (11)

印刷物の印刷内容の改ざん有無を判定する改ざん検出システムであって:
元画像が印刷された印刷物を読み取って作成された読み取り画像に変更を加えて,前記読み取り画像に各々異なる変更が加えられた複数の変更画像を作成する変更画像作成部と;
前記複数の変更画像の各々の特徴量を計測する特徴量計測部と;
前記元画像の特徴量と,前記各変更画像の特徴量との差分値を求める特徴量差分算出部と;
前記特徴量差分算出部によって求められた値に基づいて前記読み取り画像が改ざんされているか否かを判定する判定部と;
を備えることを特徴とする,改ざん検出システム。
A falsification detection system for determining whether or not a print content of a printed matter has been falsified:
A modified image creating unit that modifies a scanned image created by scanning a printed matter on which an original image is printed, and creates a plurality of modified images in which different modifications are made to the scanned image;
A feature quantity measuring unit that measures the feature quantities of each of the plurality of changed images;
A feature amount difference calculation unit for obtaining a difference value between the feature amount of the original image and the feature amount of each of the changed images;
A determination unit that determines whether or not the read image has been falsified based on a value obtained by the feature amount difference calculation unit;
An alteration detection system characterized by comprising:
前記判定部は,前記特徴量差分算出部によって求められた複数の差分値中の最小の値と,所定の改ざん閾値とに基づいて,前記読み取り画像が改ざんされているか否かを判定することを特徴とする,請求項1に記載の改ざん検出システム。 The determination unit determines whether the read image has been falsified based on a minimum value among a plurality of difference values obtained by the feature amount difference calculation unit and a predetermined falsification threshold. The falsification detection system according to claim 1, wherein 前記変更画像作成部は,前記読み取り画像の画素の濃度値を変更することを特徴とする,請求項1または2に記載の改ざん検出システム。 The falsification detection system according to claim 1 or 2, wherein the changed image creating unit changes a density value of a pixel of the read image. 前記変更画像作成部は,所定の2値化閾値に基づいて,前記読み取り画像の2値化を行うことを特徴とする,請求項3に記載の改ざん検出システム。 The falsification detection system according to claim 3, wherein the modified image creation unit binarizes the read image based on a predetermined binarization threshold. 前記変更画像作成部は,前記2値化閾値を変更可能であることを特徴とする,請求項4に記載の改ざん検出システム。 The falsification detection system according to claim 4, wherein the change image creation unit is capable of changing the binarization threshold. 前記変更画像作成部は,黒画素に隣接する白画素を黒画素に置き換えることを特徴とする,請求項3〜5のいずれか1項に記載の改ざん検出システム。 The falsification detection system according to any one of claims 3 to 5, wherein the modified image creation unit replaces white pixels adjacent to black pixels with black pixels. 前記変更画像作成部は,白画素に隣接する黒画素を白画素に置き換えることを特徴とする,請求項3〜5のいずれか1項に記載の改ざん検出システム。 The falsification detection system according to any one of claims 3 to 5, wherein the modified image creation unit replaces a black pixel adjacent to a white pixel with a white pixel. 前記変更画像作成部は,前記読み取り画像を回転,拡大,縮小および/または平行移動することを特徴とする,請求項1〜7のいずれか1項に記載の改ざん検出システム。 The falsification detection system according to any one of claims 1 to 7, wherein the modified image creation unit rotates, enlarges, reduces, and / or translates the read image. 前記読み取り画像には,前記元画像の任意の領域の位置情報と前記任意の領域の特徴量とが関連付けられて埋め込まれており,
前記読み取り画像から前記埋め込まれている位置情報,および前記特徴量を抽出する抽出部と;
前記抽出部によって抽出された位置情報に基づいて,前記読み取り画像における,前記元画像の任意の領域に対応する領域の位置情報を取得する位置情報取得部と;をさらに備え,
前記変更画像作成部は,前記位置情報取得部によって取得された位置情報に基づいて,前記元画像の任意の領域に対応する読み取り画像上の領域から前記変更画像を作成し,
前記特徴量差分算出部は,前記抽出部によって前記読み取り画像から抽出された特徴量と,前記各変更画像の特徴量との差分値を求めることを特徴とする,請求項1〜8のいずれか1項に記載の改ざん検出システム。
In the read image, position information of an arbitrary area of the original image and a feature amount of the arbitrary area are embedded in association with each other,
An extraction unit that extracts the embedded position information and the feature amount from the read image;
A position information acquisition unit that acquires position information of an area corresponding to an arbitrary area of the original image in the read image based on the position information extracted by the extraction unit;
The modified image creating unit creates the modified image from an area on the read image corresponding to an arbitrary area of the original image based on the position information acquired by the position information acquiring unit,
The feature quantity difference calculation unit obtains a difference value between the feature quantity extracted from the read image by the extraction unit and the feature quantity of each of the changed images. The falsification detection system according to item 1.
前記特徴量計測部は,前記元画像の任意の領域の特徴量を計測し,
前記元画像の任意の領域の位置情報と前記任意の領域の特徴量とを関連付けて前記元画像に埋め込む特徴量埋め込み部と;
前記位置情報に含まれる座標によって特定される点と関連づけて前記座標の情報を前記元画像に埋め込む座標情報埋め込み部と;
前記座標情報が埋め込まれた元画像を出力する画像出力部と;
前記出力された元画像が印刷された印刷物を読み取り,前記読み取り画像を作成する読み取り部と;
前記読み取り画像から,前記埋め込まれている座標情報を抽出する座標情報抽出部と;をさらに備え,
前記位置情報取得部は,前記抽出部によって抽出された位置情報および前記座標情報抽出部によって抽出された座標情報に基づいて,前記読み取り画像における,前記元画像の任意の領域に対応する領域の位置情報を取得することを特徴とする,請求項9に記載の改ざん検出システム。
The feature quantity measuring unit measures a feature quantity of an arbitrary region of the original image;
A feature amount embedding unit that embeds the positional information of an arbitrary region of the original image and the feature amount of the arbitrary region in association with each other;
A coordinate information embedding unit that embeds the coordinate information in the original image in association with a point specified by the coordinates included in the position information;
An image output unit for outputting an original image in which the coordinate information is embedded;
A reading unit that reads a printed matter on which the output original image is printed, and creates the read image;
A coordinate information extraction unit that extracts the embedded coordinate information from the read image;
The position information acquisition unit, based on the position information extracted by the extraction unit and the coordinate information extracted by the coordinate information extraction unit, a position of an area corresponding to an arbitrary area of the original image in the read image The falsification detection system according to claim 9, wherein information is acquired.
印刷物の印刷内容の改ざん有無を判定する改ざん検出方法であって:
元画像が印刷された印刷物を読み取って作成された読み取り画像に変更を加えて,前記読み取り画像に各々異なる変更が加えられた複数の変更画像を作成する変更画像作成ステップと;
前記複数の変更画像の各々の特徴量を計測する特徴量計測ステップと;
前記元画像の特徴量と,前記各変更画像の特徴量との差分値を求める特徴量差分算出ステップと;
前記特徴量差分算出部によって求められた値に基づいて前記読み取り画像が改ざんされているか否かを判定する判定ステップと;
を含むことを特徴とする,改ざん検出方法。

A falsification detection method for determining whether or not a print content of a printed matter has been falsified:
A modified image creation step of creating a plurality of modified images in which different modifications are made to the scanned image by modifying the scanned image created by reading a printed material on which the original image is printed;
A feature quantity measuring step of measuring each feature quantity of the plurality of changed images;
A feature amount difference calculating step for obtaining a difference value between the feature amount of the original image and the feature amount of each changed image;
A determination step of determining whether or not the read image has been falsified based on a value obtained by the feature amount difference calculation unit;
A tamper detection method characterized by including:

JP2005073694A 2005-03-15 2005-03-15 Tamper detection device, tamper detection method Expired - Fee Related JP4192909B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005073694A JP4192909B2 (en) 2005-03-15 2005-03-15 Tamper detection device, tamper detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005073694A JP4192909B2 (en) 2005-03-15 2005-03-15 Tamper detection device, tamper detection method

Publications (2)

Publication Number Publication Date
JP2006261824A true JP2006261824A (en) 2006-09-28
JP4192909B2 JP4192909B2 (en) 2008-12-10

Family

ID=37100616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005073694A Expired - Fee Related JP4192909B2 (en) 2005-03-15 2005-03-15 Tamper detection device, tamper detection method

Country Status (1)

Country Link
JP (1) JP4192909B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010154456A (en) * 2008-12-26 2010-07-08 Mitsubishi Electric Corp Tampering detection apparatus and tampering detection method
JP2010212975A (en) * 2009-03-10 2010-09-24 Mitsubishi Electric Corp Tampering detection information generating apparatus, image generating apparatus and tampering detection apparatus
JP2011066669A (en) * 2009-09-17 2011-03-31 Hitachi Ltd System, method and program for document verification, and recording medium
KR101317208B1 (en) * 2012-01-03 2013-10-10 중앙대학교 산학협력단 Detection apparatus and method of forged image, and recording medium storing program for executing method of the same in computer
JP2019165323A (en) * 2018-03-19 2019-09-26 学校法人 関西大学 Image generation device and user terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010154456A (en) * 2008-12-26 2010-07-08 Mitsubishi Electric Corp Tampering detection apparatus and tampering detection method
JP2010212975A (en) * 2009-03-10 2010-09-24 Mitsubishi Electric Corp Tampering detection information generating apparatus, image generating apparatus and tampering detection apparatus
JP2011066669A (en) * 2009-09-17 2011-03-31 Hitachi Ltd System, method and program for document verification, and recording medium
KR101317208B1 (en) * 2012-01-03 2013-10-10 중앙대학교 산학협력단 Detection apparatus and method of forged image, and recording medium storing program for executing method of the same in computer
JP2019165323A (en) * 2018-03-19 2019-09-26 学校法人 関西大学 Image generation device and user terminal

Also Published As

Publication number Publication date
JP4192909B2 (en) 2008-12-10

Similar Documents

Publication Publication Date Title
EP2270746B1 (en) Method for detecting alterations in printed document using image comparison analyses
JPH10326331A (en) Recording medium with dot code, and code reader
US20090316163A1 (en) Image forming apparatus
JP2006086822A (en) Electronic watermark embedding apparatus and method thereof, and electronic watermark extracting apparatus and method thereof
US20120243785A1 (en) Method of detection document alteration by comparing characters using shape features of characters
JP4859237B2 (en) Image processing apparatus and method
JP4192909B2 (en) Tamper detection device, tamper detection method
JP2007335920A (en) Image processing apparatus and image processing program
US7911653B2 (en) Device using low visibility encoded image to manage copy history
US8064636B2 (en) Image processing apparatus and method of controlling the same
JP5145833B2 (en) Two-dimensional code reading device, two-dimensional code reading method, two-dimensional code reading program, and recording medium
JP4192886B2 (en) Tamper detection system, tamper detection device, threshold determination device, tamper detection method, threshold determination method
EP3100448B1 (en) Embedding data in halftone images
JP2020088780A (en) System, image formation device, method, and program
JP4232689B2 (en) Information embedding method and information extracting method
JP2005043235A (en) Device and program for inspecting printed matter
TWI411927B (en) Method of embedding information in input image, method of extracting information from input image and related apparatuses thereof
JP4158762B2 (en) Tamper detection threshold determination system, evaluation target data creation device, threshold determination device, evaluation target data creation method, threshold determination method
JP4552757B2 (en) Image processing apparatus, image processing method, and image processing program
JP2008148110A (en) Image processor and control method thereof
JP3796425B2 (en) Image processing apparatus and method, computer program, and recording medium
JP3720748B2 (en) Image processing apparatus, control method therefor, computer program, and recording medium
JP2007110196A (en) Information processing system, texture superimposing apparatus, answer extract apparatus, texture superimposing method, and answer extract method
JP4668086B2 (en) Image processing apparatus, image processing method, and computer program
JP2007157076A (en) Image processor and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080520

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080603

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080728

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080908

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131003

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees