[go: up one dir, main page]

JP2006235959A - Digital camera with function of verifying originality of image picked up and its verification program - Google Patents

Digital camera with function of verifying originality of image picked up and its verification program Download PDF

Info

Publication number
JP2006235959A
JP2006235959A JP2005049118A JP2005049118A JP2006235959A JP 2006235959 A JP2006235959 A JP 2006235959A JP 2005049118 A JP2005049118 A JP 2005049118A JP 2005049118 A JP2005049118 A JP 2005049118A JP 2006235959 A JP2006235959 A JP 2006235959A
Authority
JP
Japan
Prior art keywords
image
data
partial image
information
verification
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.)
Withdrawn
Application number
JP2005049118A
Other languages
Japanese (ja)
Inventor
Yutaka Tsuda
豊 津田
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.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP2005049118A priority Critical patent/JP2006235959A/en
Priority to PCT/JP2006/302630 priority patent/WO2006090622A1/en
Publication of JP2006235959A publication Critical patent/JP2006235959A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Storage Device Security (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technique for guaranteeing or verifying the originality of a picked up image. <P>SOLUTION: A digital camera includes an imaging part, an information processing part, a verification data creating part, and a recording part. The image pickup part creates image data by photographing a subject. The information processing part creates or obtains the photography information of the image data. The verification data creating part creates image verification data for falsification detection for data about an image area within the image data. The verification data creating part creates information verification data for falsification detection also for the photography information. The recording part records the image data, the photography information, the image verification data, and the information verification data on a recording medium. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、撮像画像のオリジナル性を証明する機能を備えた電子カメラに関する。
また、本発明は、撮像画像のオリジナル性を検証する検証プログラムに関する。
The present invention relates to an electronic camera having a function of proving originality of a captured image.
The present invention also relates to a verification program for verifying the originality of a captured image.

近年、電子カメラの普及に伴い、証明写真を電子カメラで撮影するケースが増えている。ところで、電子カメラで撮影された画像データは、汎用の画像処理ソフトを用いて改ざんが可能である。そのため、上述した証明写真の用途においては、画像データの改ざんを検出する技術が重要になる。   In recent years, with the widespread use of electronic cameras, cases of taking ID photographs with electronic cameras are increasing. By the way, image data photographed with an electronic camera can be altered using general-purpose image processing software. Therefore, in the above-described use of ID photographs, a technique for detecting falsification of image data becomes important.

このような画像データの改ざん検出技術として、下記の特許文献1が知られている。この特許文献1では、画像データの改ざん検出に使用する検証用データとして、チェックサム、CRC、ハッシュ関数のいずれかを作成する。この検証用データは暗号化された上で、画像データと一体に記録媒体に記録される。後日、この検証用データを解読し、解読後の検証用データを画像データと照合することによって、画像データの改ざんを検出することができる。
特開平11−215452号公報
As such a technique for detecting falsification of image data, the following Patent Document 1 is known. In Patent Document 1, any one of a checksum, a CRC, and a hash function is created as verification data used for detecting falsification of image data. The verification data is encrypted and then recorded on the recording medium together with the image data. At a later date, the verification data can be decrypted, and the verification data after decryption can be compared with the image data to detect alteration of the image data.
Japanese Patent Laid-Open No. 11-215452

ところで、画像データ内には、画像領域のデータと共に、Exifなどの撮影情報が格納されている。画像処理ソフトの中には、ユーザーが知らない内に、この撮影情報を消去または書き換えるものが存在する。この場合、従来の技術では、ユーザーが関知しない撮影情報の変化まで検出して、『画像が改ざんされた!』と敏感に反応してしまうおそれがあった。   Incidentally, in the image data, shooting information such as Exif is stored together with the image area data. Some image processing software erases or rewrites this shooting information without the user's knowledge. In this case, the conventional technique detects even a change in shooting information that the user does not care about, and “The image has been tampered with! There was a risk of reacting sensitively.

また、パスポート用などの証明写真は、画面中に占める顔の比率や、顔の位置が厳格に定められている。そのため、撮像後の画像をクロップ(トリミング)して、顔の比率や位置を微調整するケースが予想される。このようなケースは、顔の画像が書き換えられるわけではなく、証明写真としてオリジナル状態を保っていると判断することが好ましい。しかしながら、従来の技術では、被写体と無関係な周辺画像の変化を敏感に検出し、改ざんと一律に判断してしまうという問題があった。   In the ID photo for passports, the ratio of the face in the screen and the position of the face are strictly determined. Therefore, it is expected that the image after the image is cropped (trimmed) to finely adjust the face ratio and position. In such a case, it is preferable to determine that the face image is not rewritten and the original state is maintained as the ID photo. However, the conventional technique has a problem in that a change in a peripheral image irrelevant to a subject is sensitively detected and is uniformly determined to be falsified.

したがって、証明写真の諸事情を考慮して、証明写真としてのオリジナル性をもっと柔軟に検証する技術が求められる。
そこで、本発明は、改ざん以外の処理を経て変化した画像データについても、適切にオリジナル性を検証できる技術(改ざんを検出する技術)を提供することである。
Therefore, a technique for more flexibly verifying the originality of the ID photo is required in consideration of various circumstances of the ID photo.
Therefore, the present invention is to provide a technique (a technique for detecting falsification) that can appropriately verify originality of image data that has changed through processing other than falsification.

《請求項1》
請求項1の電子カメラは、撮像部、情報処理部、検証用データ作成部、および記録部を備える。
撮像部は、被写体を撮影して画像データを生成する。
情報処理部は、画像データの撮影情報を生成または取得する。
検証用データ作成部は、画像データ内の画像領域のデータについて改ざん検出用の画像検証用データを作成する。また検証用データ作成部は、撮影情報についても改ざん検出用の情報検証用データを作成する。
記録部は、画像データ、撮影情報、画像検証用データ、および情報検証用データを記録媒体に記録する。
<Claim 1>
An electronic camera according to a first aspect includes an imaging unit, an information processing unit, a verification data creation unit, and a recording unit.
The imaging unit shoots a subject and generates image data.
The information processing unit generates or acquires shooting information of image data.
The verification data creation unit creates image verification data for falsification detection with respect to data in the image area in the image data. The verification data creation unit also creates information verification data for falsification detection for the shooting information.
The recording unit records image data, shooting information, image verification data, and information verification data on a recording medium.

《請求項2》
請求項2の電子カメラは、撮像部、画像抽出部、検証用データ作成部、および記録部を備える。
撮像部は、被写体を撮影して画像データを生成する。
画像抽出部は、画像データから複数の部分画像領域を抽出する。
検証用データ作成部は、部分画像領域ごとに改ざん検出用の部分画像検証用データを作成する。
記録部は、画像データ、および部分画像検証用データを記録媒体に記録する。
<Claim 2>
An electronic camera according to a second aspect includes an imaging unit, an image extraction unit, a verification data creation unit, and a recording unit.
The imaging unit shoots a subject and generates image data.
The image extraction unit extracts a plurality of partial image regions from the image data.
The verification data creation unit creates partial image verification data for falsification detection for each partial image region.
The recording unit records the image data and the partial image verification data on a recording medium.

《請求項3》
請求項3の電子カメラは、撮像部、画像抽出部、検証用データ作成部、探索情報処理部、および記録部を備える。
撮像部は、被写体を撮影して画像データを生成する。
画像抽出部は、画像データから部分的な部分画像領域を抽出する。
検証用データ作成部は、部分画像領域について改ざん検出用の部分画像検証用データを作成する。
探索情報処理部は、部分画像領域を画像領域内から位置探索するための探索用データを作成する。
記録部は、画像データ、部分画像検証用データ、および探索用データを記録媒体に記録する。
<Claim 3>
An electronic camera according to a third aspect includes an imaging unit, an image extraction unit, a verification data creation unit, a search information processing unit, and a recording unit.
The imaging unit shoots a subject and generates image data.
The image extraction unit extracts a partial partial image area from the image data.
The verification data creation unit creates partial image verification data for falsification detection in the partial image region.
The search information processing unit creates search data for searching the position of the partial image region from within the image region.
The recording unit records image data, partial image verification data, and search data on a recording medium.

《請求項4》
請求項4の検証プログラムは、コンピュータを、入力部、画像改ざん検出部、および情報改ざん検出部として機能させる。
入力部は、請求項1に記載の電子カメラで生成された画像データ、撮影情報、画像検証用データ、および情報検証用データを取り込む。
画像改ざん検出部は、画像データ内の画像領域と画像検証用データとを照合することにより、画像領域の改ざんを判別する。
情報改ざん検出部は、撮影情報と情報検証用データとを照合することにより、撮影情報の改ざんを判別する。
<Claim 4>
A verification program according to a fourth aspect causes a computer to function as an input unit, an image alteration detection unit, and an information alteration detection unit.
The input unit captures image data, photographing information, image verification data, and information verification data generated by the electronic camera according to claim 1.
The image alteration detection unit determines whether the image region has been altered by comparing the image region in the image data with the image verification data.
The information alteration detection unit determines whether the imaging information has been altered by comparing the imaging information with the information verification data.

《請求項5》
請求項5の検証プログラムは、コンピュータを、入力部、部分画像取得部、および部分画像改ざん検出部として機能させる。
入力部は、請求項2に記載の電子カメラで生成された画像データおよび部分画像検証用データを取り込む。
部分画像取得部は、画像データから複数の部分画像領域を抽出する。
部分画像改ざん検出部は、部分画像領域ごとに部分画像検証用データと照合して、部分画像ごとに改ざんを判別することにより、画像領域内の改ざん箇所を特定する。
<Claim 5>
A verification program according to a fifth aspect causes a computer to function as an input unit, a partial image acquisition unit, and a partial image alteration detection unit.
The input unit captures image data and partial image verification data generated by the electronic camera according to claim 2.
The partial image acquisition unit extracts a plurality of partial image regions from the image data.
The partial image alteration detection unit identifies the alteration location in the image area by comparing the partial image verification data with the partial image verification data and discriminating alteration for each partial image.

《請求項6》
請求項6の検証プログラムは、請求項5に記載の検証プログラムにおいて、部分画像改ざん検出部は、特定した改ざん箇所が顔領域内に含まれるか否かを顔認識技術を用いて判定する。部分画像改ざん検出部は、改ざん箇所が顔領域内に含まれる場合には、証明写真としての画像データの利用を禁止することを特徴する。
<Claim 6>
A verification program according to a sixth aspect is the verification program according to the fifth aspect, wherein the partial image alteration detection unit determines whether or not the specified alteration location is included in the face area using a face recognition technique. The partial image alteration detection unit is characterized by prohibiting the use of the image data as the ID photo when the alteration location is included in the face area.

《請求項7》
請求項7の検証プログラムは、コンピュータを、入力部、位置探索部、および部分画像改ざん検出部として機能させる。
入力部は、請求項3に記載の電子カメラで生成された画像データ、部分画像検証用データ、および探索用データを取り込む。
位置探索部は、部分画像検証用データの作成元である部分画像領域を、探索用データを用いて画像データの画像領域内から位置探索する。
部分画像改ざん検出部は、位置探索部で位置探索された部分画像領域と、部分画像検証用データとを照合することにより、部分画像領域の改ざんを判別する。
<Claim 7>
A verification program according to a seventh aspect causes a computer to function as an input unit, a position search unit, and a partial image alteration detection unit.
The input unit captures image data, partial image verification data, and search data generated by the electronic camera according to claim 3.
The position search unit searches the position of the partial image area, which is the generation source of the partial image verification data, from the image area of the image data using the search data.
The partial image alteration detection unit determines whether the partial image region has been altered by comparing the partial image region whose position has been searched by the position search unit with the partial image verification data.

《請求項1,4》
請求項1の電子カメラは、『画像領域のデータ』と『撮影情報』とを区別し、それぞれについて検証用データ(画像検証用データ,情報検証用データ)を作成し記録する。
したがって、請求項1の電子カメラは、『画像領域のデータ』と『撮影情報』のそれぞれについて、オリジナル状態(カメラ内で作成されたままの状態)であることを独立に保証することができる。
<Claims 1 and 4>
The electronic camera according to claim 1 distinguishes “image area data” from “imaging information”, and creates and records verification data (image verification data, information verification data) for each.
Therefore, the electronic camera according to claim 1 can independently guarantee that each of the “image area data” and the “photographing information” is in the original state (the state as created in the camera).

一方、請求項4の検証プログラムは、2種類の検証用データ(画像検証用データ,情報検証用データ)を照合することで、『画像領域の改ざん』と『撮影情報の改ざん』をそれぞれ独立に判断できる。   On the other hand, the verification program according to claim 4 independently checks “falsification of image area” and “falsification of imaging information” by collating two kinds of verification data (image verification data and information verification data). I can judge.

例えば、撮影情報内に撮影日時を含めた場合、撮影情報の改ざん判別によって、証明写真の撮影日付について真偽を判断することができる。
また例えば、撮影情報内に撮影場所(GPSデータなど)や撮影者情報を含めた場合、撮影情報の改ざん判別によって、信頼できる機関等で確かに撮影された証明写真であるか否かを判断することができる。
また、画像処理ソフトやOS(オペレーションシステム)による撮影情報の変化とは無関係に、画像領域の改ざんのみを判定することができる。
For example, when the shooting date and time is included in the shooting information, the authenticity of the shooting date of the identification photo can be determined by falsification determination of the shooting information.
Also, for example, when the shooting location (GPS data or the like) and photographer information are included in the shooting information, it is determined whether or not it is an ID photo that has been taken by a reliable organization or the like by falsification determination of the shooting information. be able to.
In addition, it is possible to determine only the alteration of the image area regardless of the change in the shooting information by the image processing software or the OS (operation system).

《請求項2,5,6》
請求項2の電子カメラは、画像領域から複数の部分画像領域を抽出し、これら部分画像領域ごとに部分画像検証用データを作成し記録する。したがって、請求項2の電子カメラでは、画像内の複数の部分画像領域ごとに、オリジナル状態(カメラ内で作成されたままの状態)であることを保証することができる。
<< Claims 2, 5, 6 >>
The electronic camera of claim 2 extracts a plurality of partial image areas from the image area, and creates and records partial image verification data for each of the partial image areas. Therefore, in the electronic camera according to the second aspect, it is possible to guarantee that each of the plurality of partial image areas in the image is in the original state (the state as created in the camera).

一方、請求項5の検証プログラムは、部分画像領域ごとに部分画像検証用データと照合することで、画面内の部分画像領域ごとに改ざんの有無を判断することができる。その結果、単に画像の改ざんの有無を知るだけではなく、どの部分画像領域が改ざんされたかを特定することが可能になる。   On the other hand, the verification program according to claim 5 can determine the presence or absence of falsification for each partial image area in the screen by collating with the partial image verification data for each partial image area. As a result, it is possible not only to know whether the image has been tampered with, but also to identify which partial image region has been tampered with.

また、請求項6の検証プログラムでは、画像内の顔領域を公知の顔認識技術などで特定し、この顔領域内に相当する部分画像領域に改ざんが無ければ証明写真として採用するといった態様が可能になる。   In the verification program of claim 6, a face area in an image is specified by a known face recognition technique or the like, and if a partial image area corresponding to this face area is not altered, it can be adopted as an ID photo. become.

《請求項3,7》
請求項3の電子カメラは、画像領域から部分的に部分画像領域を少なくとも1つ抽出し、この部分画像領域について部分画像検証用データを作成し記録する。さらに、請求項3の電子カメラは、部分画像領域を画像領域内から位置探索できるように、探索用データを作成し記録する。
<< Claims 3 and 7 >>
According to another aspect of the present invention, at least one partial image area is partially extracted from the image area, and partial image verification data is created and recorded for the partial image area. Furthermore, the electronic camera according to claim 3 creates and records search data so that the position of the partial image area can be searched from within the image area.

一方、請求項7の検証プログラムは、この探索用データを用いて画像領域内から部分画像領域を探索する。そして、探索された部分画像領域と、部分画像検証用データとを照合することで、この部分画像領域の改ざんを判別する。その結果、クロップ処理などを経て、部分画像領域の位置が変化しても、その部分画像領域を位置探索して改ざんを検証することが可能になる。   On the other hand, a verification program according to a seventh aspect searches for a partial image area from the image area using the search data. Then, by comparing the searched partial image area with the partial image verification data, the alteration of the partial image area is determined. As a result, even if the position of the partial image area changes through the cropping process or the like, it is possible to verify the alteration by searching the position of the partial image area.

《第1実施形態》
第1実施形態は、請求項1に対応する電子カメラと、請求項4に対応する検証プログラムに関する実施形態である。
図1は、第1実施形態の電子カメラ11を示すブロック図である。
図1において、電子カメラ11には、撮影レンズ12が装着される。レンズ制御部12aは、この撮影レンズ12のフォーカス駆動や絞り制御などを実施する。この撮影レンズ12の像空間には、シャッタ(不図示)を介して撮像素子13の受光面が配置される。この撮像素子13は、撮像制御部14によって駆動される。撮像素子13から出力される画像データは、信号処理部15、およびA/D変換部16を介して処理された後、メモリ17に一時蓄積される。
このメモリ17は、バス18に接続される。このバス18には、レンズ制御部12a、撮像制御部14、マイクロプロセッサ19、画像処理部20、記録部22、およびモニタ表示部23も接続される。
上記のマイクロプロセッサ19には、レリーズ釦などの操作部19aが接続される。また、上記の記録部22には、記録媒体22aが装着される。
<< First Embodiment >>
The first embodiment is an embodiment relating to an electronic camera corresponding to claim 1 and a verification program corresponding to claim 4.
FIG. 1 is a block diagram illustrating an electronic camera 11 according to the first embodiment.
In FIG. 1, a photographing lens 12 is attached to the electronic camera 11. The lens control unit 12a performs focus driving, aperture control, and the like of the photographing lens 12. In the image space of the photographic lens 12, a light receiving surface of the image sensor 13 is disposed via a shutter (not shown). The imaging element 13 is driven by the imaging control unit 14. Image data output from the image sensor 13 is processed via the signal processing unit 15 and the A / D conversion unit 16 and then temporarily stored in the memory 17.
This memory 17 is connected to a bus 18. The bus 18 is also connected with a lens control unit 12a, an imaging control unit 14, a microprocessor 19, an image processing unit 20, a recording unit 22, and a monitor display unit 23.
The microprocessor 19 is connected to an operation unit 19a such as a release button. The recording unit 22 is loaded with a recording medium 22a.

[電子カメラ側の動作説明]
図2は、第1実施形態におけるデータ処理の全体的な流れを説明する図である。
図3は、第1実施形態における電子カメラ側の動作を説明する流れ図である。以下、図2および図3に示すステップ番号に沿って動作説明を行う。
[Explanation of operation on the electronic camera]
FIG. 2 is a diagram for explaining the overall flow of data processing in the first embodiment.
FIG. 3 is a flowchart for explaining the operation on the electronic camera side in the first embodiment. Hereinafter, the operation will be described along the step numbers shown in FIGS.

ステップS1: ユーザーのレリーズ操作に従って、マイクロプロセッサ19は、レンズ制御部12aおよび撮像制御部14を駆動して、撮像素子13の露出制御および画像読み出しを実施する。撮像素子13から読み出された画像データは、信号処理部15およびA/D変換部16を経た後、デジタルの画像データとしてメモリ17に一時蓄積される。
画像処理部20は、メモリ17内の画像データに対して画像処理を施し、記録ファイルの規格(RAWファイル、JPEGファイルなど)に合わせた画像データを作成する。
Step S1: In accordance with the user's release operation, the microprocessor 19 drives the lens control unit 12a and the imaging control unit 14 to perform exposure control of the imaging element 13 and image reading. The image data read from the image sensor 13 is temporarily stored in the memory 17 as digital image data after passing through the signal processing unit 15 and the A / D conversion unit 16.
The image processing unit 20 performs image processing on the image data in the memory 17 and creates image data that conforms to the standard of the recording file (RAW file, JPEG file, etc.).

ステップS2: マイクロプロセッサ19は、撮影情報を取得または生成する。
例えば、マイクロプロセッサ19は、画像データの撮影時に使用した露出制御のデータ(絞り値、電荷蓄積時間、撮像感度、または閃光発光の有無など)に基づいて撮影情報を生成する。
また例えば、マイクロプロセッサ19は、次の情報の少なくとも1つを取得して、撮影情報としてもよい。
(1)撮影日時(電波時計のように外部から調整変更できないものが好ましい)
(2)撮影場所(GPS情報のように外部から変更できないものが好ましい)
(3)カメラの機種情報
(4)カメラの個体識別情報
(5)撮影者を特定するための情報
(6)撮影者の生体識別情報
(7)被写体の生体識別情報
これら情報は、不図示のカメラ内蔵機構から取得してもよい。また、これら情報は、外部接続装置から取得してもよい。また、これら情報は、LANやインターネットなどの通信媒体(信頼可能な機関の情報提供サービスを受けることが好ましい)を介して取得してもよい。
なお、このような撮影情報は、後述する画像領域のデータに比べてバリエーションが少ないため、後述する暗号キーの解読が比較的容易となる。そこで、ノイズ値などの本来無意味な数値を撮影情報に混入させることで撮影情報のバリエーションを増やし、解読行為を困難にすることが好ましい。
Step S2: The microprocessor 19 acquires or generates shooting information.
For example, the microprocessor 19 generates shooting information based on exposure control data (aperture value, charge accumulation time, imaging sensitivity, presence / absence of flash emission, etc.) used when shooting image data.
Further, for example, the microprocessor 19 may acquire at least one of the following pieces of information as shooting information.
(1) Shooting date and time (preferably a radio clock that cannot be adjusted from outside)
(2) Shooting location (preferably one that cannot be changed externally like GPS information)
(3) Camera model information (4) Camera individual identification information (5) Information for specifying a photographer (6) Photographer biometric identification information (7) Subject biometric identification information These information are not shown. You may acquire from a camera built-in mechanism. Moreover, you may acquire these information from an external connection apparatus. Further, these pieces of information may be acquired via a communication medium such as a LAN or the Internet (preferably receiving an information providing service from a reliable institution).
Note that since such shooting information has less variation than data in an image area described later, it is relatively easy to decrypt an encryption key described later. Therefore, it is preferable to increase the variation of the photographic information by mixing numerically meaningless numerical values such as a noise value into the photographic information to make the decoding operation difficult.

ステップS3: マイクロプロセッサ19は、ステップS2で得た撮影情報の一部または全部を処理して、改ざん検出用の情報検証用データを作成する。元の撮影情報が異なれば、この情報検証用データは所定規則に従って異なる値を示すものである。このような情報検証用データの作成には、例えば、ハッシュ関数、チェックサム、またはCRCなどの処理が選択使用できる。
また、ここでは、撮影情報から所定の項目を抽出し、その抽出された項目について情報検証用データを作成してもよい。また、撮影情報を、項目や所定のデータ区画に分割し、これら分割単位のいくつかについて情報検証用データを作成してもよい。
Step S3: The microprocessor 19 processes part or all of the photographing information obtained in Step S2, and creates information verification data for alteration detection. If the original photographing information is different, the information verification data shows different values according to a predetermined rule. For creation of such information verification data, for example, processing such as a hash function, checksum, or CRC can be selected and used.
Here, a predetermined item may be extracted from the shooting information, and information verification data may be created for the extracted item. Further, the photographing information may be divided into items and predetermined data sections, and information verification data may be created for some of these division units.

ステップS4: マイクロプロセッサ19は、メモリ17内の画像データから画像領域のデータを読み出して処理し、改ざん検出用の画像検証用データを作成する。元の画像領域のデータが異なれば、この画像検証用データは所定規則に従って異なる値を示すものである。このような画像検証用データの作成にも、例えば、ハッシュ関数、チェックサム、またはCRCなどの処理が選択使用できる。 Step S4: The microprocessor 19 reads out and processes image area data from the image data in the memory 17, and creates image verification data for falsification detection. If the original image area data is different, the image verification data shows different values according to a predetermined rule. For creation of such image verification data, for example, processing such as a hash function, checksum, or CRC can be selected and used.

ステップS5: マイクロプロセッサ19は、ステップS3で得た情報検証用データと、ステップS4で得た画像検証用データとを暗号化キーで暗号化し、暗号データを作成する。この暗号化は、まとめて行って1つの暗号データを作成してもよいし、個別に行って複数の暗号データを作成してもよい。 Step S5: The microprocessor 19 encrypts the information verification data obtained in Step S3 and the image verification data obtained in Step S4 with an encryption key to create encrypted data. This encryption may be performed collectively to create one encrypted data, or may be performed individually to create a plurality of encrypted data.

ステップS6: 記録部22は、画像データ、撮影情報、および暗号データを格納した画像ファイルを、記録媒体22aに記録保存する。 Step S6: The recording unit 22 records and saves the image file storing the image data, the shooting information, and the encrypted data in the recording medium 22a.

[検証プログラム側の動作説明]
図4は、検証プログラムによるコンピュータ動作を説明する流れ図である。以下、図2および図4に示すステップ番号に沿って動作説明を行う。
[Explanation of verification program side]
FIG. 4 is a flowchart for explaining a computer operation by the verification program. Hereinafter, the operation will be described along the step numbers shown in FIGS.

ステップS11: コンピュータには、上述した処理(図3)で作成された画像ファイルが入力される。コンピュータは、この画像ファイルから、画像データ、撮影情報および暗号データをそれぞれ読み出す。 Step S11: The image file created by the above-described processing (FIG. 3) is input to the computer. The computer reads image data, shooting information, and encrypted data from the image file.

ステップS12: コンピュータは、読み出した撮影情報に対して、上述したステップS3と同様の処理を実施し、情報検証用データを作成する。 Step S12: The computer performs the same processing as the above-described step S3 on the read photographing information, and creates information verification data.

ステップS13: コンピュータは、読み出した画像データ中の画像領域のデータに対して、上述したステップS4と同様の処理を実施し、画像検証用データを作成する。 Step S13: The computer performs the same process as in step S4 described above on the data of the image area in the read image data, and creates image verification data.

ステップS14: コンピュータは、読み出した暗号データを、予め与えられた復号キーを用いて復号化処理し、上述したステップS5で暗号化する前の画像検証用データと情報検証用データを得る。 Step S14: The computer decrypts the read encrypted data using a predetermined decryption key, and obtains image verification data and information verification data before being encrypted in step S5 described above.

ステップS15: コンピュータは、復号化された画像検証用データと、ステップS13で作成した画像検証用データとを照合する。 Step S15: The computer collates the decoded image verification data with the image verification data created in step S13.

ステップS16: コンピュータは、画像検証用データが整合している場合、ステップS17に動作を移行する。逆に、画像検証用データが不整合の場合、ステップS18に動作を移行する。 Step S16: If the image verification data is consistent, the computer shifts the operation to step S17. Conversely, if the image verification data is inconsistent, the operation proceeds to step S18.

ステップS17: コンピュータは、画像検証用データが整合したため、画像のオリジナル性を保証する旨の情報表示を行う。この動作の後、コンピュータはステップS19に動作を移行する。 Step S17: Since the image verification data is matched, the computer displays information indicating that the originality of the image is guaranteed. After this operation, the computer shifts the operation to step S19.

ステップS18: コンピュータは、画像検証用データが不整合であるため、画像領域のデータは改ざんされていると判断する。この場合、コンピュータは、画像がオリジナルではない旨の情報表示を行う。この動作の後、コンピュータはステップS19に動作を移行する。 Step S18: Since the image verification data is inconsistent, the computer determines that the image area data has been tampered with. In this case, the computer displays information indicating that the image is not original. After this operation, the computer shifts the operation to step S19.

ステップS19: コンピュータは、復号化された情報検証用データと、ステップS13で作成した情報検証用データとを照合する。撮影情報の項目や分割などの区分ごとに情報検証用データが作成されている場合は、これら区分ごとに情報検証用データの照合を実施する。 Step S19: The computer collates the decrypted information verification data with the information verification data created in step S13. When information verification data is created for each category of shooting information items and divisions, information verification data is collated for each of these categories.

ステップS20: コンピュータは、情報検証用データが整合している場合、ステップS21に動作を移行する。逆に、情報検証用データが不整合の場合、ステップS22に動作を移行する。 Step S20: If the information verification data is consistent, the computer moves the operation to step S21. Conversely, if the information verification data is inconsistent, the operation proceeds to step S22.

ステップS21: コンピュータは、情報検証用データが整合したため、撮影情報のオリジナル性を保証する旨の情報表示を行う。この動作の後、コンピュータはステップS23に動作を移行する。 Step S21: Since the information verification data is matched, the computer displays information to assure the originality of the shooting information. After this operation, the computer shifts the operation to step S23.

ステップS22: コンピュータは、情報検証用データが不整合であるため、撮影情報は改ざんされていると判断する。この場合、コンピュータは、撮影情報がオリジナルではない旨の情報表示を行う。なお、影情報の項目や分割などの区分ごとに情報検証用データを照合している場合は、不整合となった区分(撮影日付、撮影場所、撮影者データ、撮影者の生体識別情報、被写体の生体識別情報など)についても表示する。 Step S22: Since the information verification data is inconsistent, the computer determines that the imaging information has been tampered with. In this case, the computer displays information indicating that the shooting information is not original. If information verification data is collated for each category such as shadow information items and divisions, the inconsistent category (shooting date, shooting location, photographer data, photographer's biometric identification information, subject Display biometric identification information).

ステップS23: コンピュータには、証明写真の採用条件が、その使用用途(パスポート用、運転免許用、クレジットカード用、学生証用、同好クラブ用、工事写真提出用など)に応じて予め設定されている。コンピュータは、画像領域の検証結果と、撮影情報の検証結果とを、これら採用条件に照らして判定し、証明写真として採用可能か否かを決定する。このような検証動作の後、コンピュータでは、採用可能な画像ファイルに限って、証明写真として登録や認証したり、証明カード内に保存記録するなどの処理が実施される。 Step S23: In the computer, the conditions for using the ID photo are set in advance according to the usage (passport, driver's license, credit card, student card, club, submission of construction photo, etc.). Yes. The computer determines the verification result of the image area and the verification result of the photographing information in light of these adoption conditions, and determines whether or not the identification photograph can be adopted. After such a verification operation, the computer performs processing such as registration and authentication as an ID photo, and saving and recording in an ID card only for employable image files.

[第1実施形態の効果など]
第1実施形態では、撮影情報と画像領域について別々に検証用データを作成する。したがって、撮影情報と画像領域について独立に改ざんを見破ることができる。その結果、画像処理ソフトやOSによる撮影情報の意図しない書き換えと、悪意による画像領域の改ざんとを明確に区別することも可能になる。このような細かな判断に基づいて、撮影情報のオリジナル性を不問に付すなどの柔軟な対応が可能になる。この場合、ユーザーが関知しない撮影情報の変化まで検出して『画像が改ざんされた!』と敏感に警報するといった不具合を回避することができる。
[Effects of First Embodiment]
In the first embodiment, verification data is created separately for imaging information and image areas. Therefore, it is possible to see whether the photographing information and the image area are falsified independently. As a result, it is possible to clearly distinguish unintentional rewriting of shooting information by image processing software or the OS and falsification of an image area due to malicious intention. Based on such a detailed determination, it is possible to flexibly cope with the originality of the shooting information without question. In this case, even a change in shooting information that the user is unaware of is detected and “the image has been tampered with! It is possible to avoid problems such as sensitive alarms.

また、撮影情報について独立に改ざん検出を実施することによって、証明写真として重要な撮影日時、撮影場所、撮影者の情報などを確実に検証することも可能になる。その結果、撮影日付を改ざんした古い証明写真や、出所を改ざんした証明写真を確実に見破ることが可能になる。
次に、別の実施形態について説明する。
In addition, by performing falsification detection independently on shooting information, it is possible to reliably verify shooting date and time, shooting location, photographer information, etc., which are important as ID photos. As a result, it is possible to reliably see old ID photos with altered shooting dates and ID photos with altered sources.
Next, another embodiment will be described.

《第2実施形態》
第2実施形態は、請求項2に対応する電子カメラと、請求項5,6に対応する検証プログラムに関する実施形態である。なお、電子カメラの構成については、第1実施形態(図1)と同じため、ここでの説明を省略する。
<< Second Embodiment >>
The second embodiment is an embodiment relating to an electronic camera corresponding to claim 2 and a verification program corresponding to claims 5 and 6. Since the configuration of the electronic camera is the same as that of the first embodiment (FIG. 1), description thereof is omitted here.

[電子カメラ側の動作説明]
図5は、第2実施形態の動作を説明する流れ図である。以下、図5に示すステップ番号に沿って動作説明を行う。
[Explanation of operation on the electronic camera]
FIG. 5 is a flowchart for explaining the operation of the second embodiment. Hereinafter, the operation will be described along the step numbers shown in FIG.

ステップS31〜S33: 第1実施形態のステップS1〜S3と同じ処理。 Steps S31 to S33: The same processing as steps S1 to S3 of the first embodiment.

ステップS34: マイクロプロセッサ19は、メモリ17内の画像データから画像領域のデータを読み出して、複数の部分画像領域を抽出する。ここでの抽出処理は、画像領域をタイル状などに区画するものでもよい。この区画を細かくすれば、後述する改ざん箇所の検出精度を高めることができる。また、画像領域内の重要範囲(目,顔、鼻、または口の範囲など)を個々に取り出して、複数の部分画像領域としてもよい。
また、JPEGなどの圧縮データでは、リスタートマーカコード毎に圧縮データを分割することで、部分画像領域を抽出することが好ましい。
なお、この部分画像領域の分割ルール(区分方法、位置、範囲、または数など)について、決定事項として検証プログラム側と情報共有している場合がある。この場合は、分割ルールを画像ファイル(撮影情報や暗号データなど)に含めない方がセキュリティーの観点から好ましい。
また、部分画像領域の分割ルールについて、検証プログラム側と情報共有していない場合がある。この場合は、分割ルール(好ましくは分割ルールを暗号化したデータ)を検証プログラム側に伝達できるよう、画像ファイルと一体に格納するか、または専用ファイルに別に格納しておくことが好ましい。
Step S34: The microprocessor 19 reads the image area data from the image data in the memory 17, and extracts a plurality of partial image areas. The extraction process here may divide the image area into tiles or the like. If this section is made fine, it is possible to increase the accuracy of detection of a falsification location described later. In addition, an important range (such as a range of eyes, a face, a nose, or a mouth) in an image area may be individually extracted to form a plurality of partial image areas.
For compressed data such as JPEG, it is preferable to extract a partial image area by dividing the compressed data for each restart marker code.
In some cases, information about the division rule (partition method, position, range, number, etc.) of the partial image area is shared with the verification program as a decision item. In this case, it is preferable from the viewpoint of security that the division rule is not included in the image file (photographing information, encrypted data, etc.).
In some cases, the division rule of the partial image area is not shared with the verification program side. In this case, it is preferable that the division rule (preferably data obtained by encrypting the division rule) is stored integrally with the image file or stored separately in a dedicated file so that it can be transmitted to the verification program.

ステップS35: マイクロプロセッサ19は、このような部分画像領域をそれぞれ処理して、改ざん検出用の部分画像検証用データを作成する。元の部分画像領域が異なれば、この部分画像検証用データは所定規則で異なる値を示すものである。このような部分画像検証用データの作成にも、例えば、ハッシュ関数、チェックサム、またはCRCなどの処理が選択使用できる。 Step S35: The microprocessor 19 processes each of such partial image areas, and creates partial image verification data for alteration detection. If the original partial image areas are different, the partial image verification data shows different values according to a predetermined rule. For generating such partial image verification data, for example, processing such as a hash function, checksum, or CRC can be selected and used.

ステップS36: マイクロプロセッサ19は、ステップS33で得た情報検証用データと、ステップS35で得た複数の部分画像検証用データとを暗号化キーで暗号化し、暗号データを作成する。この暗号化は、まとめて行って1つの暗号データを作成してもよいし、個別に行って複数の暗号データを作成してもよい。 Step S36: The microprocessor 19 encrypts the information verification data obtained in step S33 and the plurality of partial image verification data obtained in step S35 with an encryption key to create encrypted data. This encryption may be performed collectively to create one encrypted data, or may be performed individually to create a plurality of encrypted data.

ステップS37: 記録部22は、画像データ、撮影情報、および暗号データを格納した画像ファイルを、記録媒体22aに記録保存する。 Step S37: The recording unit 22 records and saves the image file storing the image data, the shooting information, and the encrypted data in the recording medium 22a.

[検証プログラム側の動作説明]
図6は、検証プログラムによるコンピュータ動作を説明する流れ図である。以下、図6に示すステップ番号に沿って動作説明を行う。
[Explanation of verification program side]
FIG. 6 is a flowchart for explaining a computer operation by the verification program. Hereinafter, the operation will be described along the step numbers shown in FIG.

ステップS41: コンピュータには、上述した処理(図5)で作成された画像ファイルが入力される。コンピュータは、この画像ファイルから、画像データ、撮影情報および暗号データをそれぞれ読み出す。 Step S41: The image file created by the above-described processing (FIG. 5) is input to the computer. The computer reads image data, shooting information, and encrypted data from the image file.

ステップS42: コンピュータは、読み出した撮影情報に対して、上述したステップS33と同様の処理を実施し、情報検証用データを作成する。 Step S42: The computer performs the same processing as the above-described step S33 on the read photographing information, and creates information verification data.

ステップS43: コンピュータは、読み出した画像データ中の画像領域のデータに対して、上述したステップS34と同様の分割ルールで処理を実施し、部分画像領域を抽出する。
なお、カメラ側の分割ルールが事前に知らされていない場合、コンピュータは画像ファイル内または別の専用ファイルを介して分割ルールを情報取得する。
Step S43: The computer processes the data of the image area in the read image data according to the same division rule as that of Step S34 described above, and extracts a partial image area.
In addition, when the division rule on the camera side is not known in advance, the computer acquires information on the division rule in the image file or via another dedicated file.

ステップS44: コンピュータは、抽出した部分画像領域それぞれに対して、上述したステップS35と同様の処理を実施し、部分画像検証用データを作成する。 Step S44: The computer performs the same process as step S35 described above on each of the extracted partial image areas, and creates partial image verification data.

ステップS45: コンピュータは、読み出した暗号データを、予め与えられた復号キーを用いて復号化処理し、上述したステップS36で暗号化する前の部分画像検証用データと情報検証用データを得る。 Step S45: The computer decrypts the read encrypted data using a predetermined decryption key, and obtains partial image verification data and information verification data before being encrypted in step S36 described above.

ステップS46〜S49: 第1実施形態のステップS19〜S22と同じ処理。 Steps S46 to S49: The same processing as Steps S19 to S22 of the first embodiment.

ステップS50: コンピュータは、復号化された部分画像検証用データと、ステップS44で作成した部分画像検証用データとを照合する。 Step S50: The computer collates the decoded partial image verification data with the partial image verification data created in step S44.

ステップS51: コンピュータは、部分画像検証用データが全て整合している場合、ステップS54に動作を移行する。逆に、部分画像検証用データが一つでも不整合の場合、ステップS52に動作を移行する。 Step S51: If the partial image verification data are all consistent, the computer shifts the operation to Step S54. Conversely, if even one partial image verification data is inconsistent, the operation proceeds to step S52.

ステップS52: コンピュータは、不整合を示した部分画像領域を改ざん箇所として特定し、その改ざん箇所を画面上で点滅させるなどの警告表示を行う。 Step S52: The computer specifies a partial image area indicating inconsistency as a falsification location, and displays a warning such as blinking the falsification location on the screen.

ステップS53: コンピュータは、顔認識技術を用いて、改ざん箇所が顔領域の内部に該当するか否かを判定する。ここでは、例えば、肌色などの色情報や、顔輪郭の情報や、髪の毛の特徴や、目鼻口などの位置解析に基づいて顔領域を特定することにより、改ざん箇所が顔領域の内側に位置するか否かを判定する。 Step S53: Using the face recognition technology, the computer determines whether the falsified portion falls within the face area. Here, for example, by specifying the face area based on color information such as skin color, face contour information, hair characteristics, and position analysis of the eyes, nose, and the like, the tampered portion is located inside the face area. It is determined whether or not.

ステップS54: コンピュータは、下記の少なくとも3点についての条件判定が可能である。
(1)画像領域に改ざん箇所が存在する。
(2)改ざん箇所は顔領域である。
(3)撮影情報が改ざんされている。
これら3点の条件判定を適宜に組み合わせることで、証明写真の採用条件を細かく定めることができる。
例えば、コンピュータは、厳格な使用用途については、条件(1)〜(3)の全てを判定し、そのいずれか1つを満たしただけで、証明写真としての画像利用を禁止する。
また、コンピュータは、比較的緩い使用用途については、条件(2)のみを判定し、顔領域の改ざんのみを検出する。この場合、顔領域の改ざんを検出すれば、証明写真としての画像利用を禁止する。一方、顔領域以外の改ざんについては不問に付す。
このような検証動作の後、コンピュータは、利用が許可された画像ファイルに限って、証明写真として登録や認証したり、証明カード内に保存記録するなどの処理を実施する。
Step S54: The computer can determine the condition for at least the following three points.
(1) A falsified location exists in the image area.
(2) The tampered part is a face area.
(3) The shooting information has been tampered with.
By appropriately combining these three condition determinations, it is possible to finely determine the ID photo employment conditions.
For example, the computer determines all of the conditions (1) to (3) for a strict use application, and prohibits the use of an image as an ID photo only by satisfying any one of them.
In addition, the computer determines only condition (2) for relatively loose usage, and detects only alteration of the face area. In this case, if the alteration of the face area is detected, the use of the image as the ID photo is prohibited. On the other hand, any alteration other than the face area is not questioned.
After such a verification operation, the computer performs processing such as registration or authentication as an ID photo or saving and recording in an ID card only for image files that are permitted to be used.

[第2実施形態の効果など]
第2実施形態では、第1実施形態と同様の効果を得ることができる。
さらに、第2実施形態では、部分画像領域ごとに改ざんの有無を検証することにより、画像内の改ざん箇所を特定することができる。
さらに、この改ざん箇所が顔領域か否かを判定することにより、証明写真として許可されるべきか否かをより適切に検証することができる。
次に、別の実施形態について説明する。
[Effects of Second Embodiment, etc.]
In the second embodiment, the same effect as in the first embodiment can be obtained.
Furthermore, in the second embodiment, it is possible to specify a falsification location in an image by verifying the presence or absence of falsification for each partial image region.
Furthermore, by determining whether or not the falsified portion is a face region, it can be more appropriately verified whether or not the ID photo should be permitted.
Next, another embodiment will be described.

《第3実施形態》
第3実施形態は、請求項3に対応する電子カメラと、請求項7に対応する検証プログラムに関する実施形態である。なお、電子カメラの構成については、第1実施形態(図1)と同じため、ここでの説明を省略する。
<< Third Embodiment >>
The third embodiment is an embodiment relating to an electronic camera corresponding to claim 3 and a verification program corresponding to claim 7. Since the configuration of the electronic camera is the same as that of the first embodiment (FIG. 1), description thereof is omitted here.

[電子カメラ側の動作説明]
図7は、第3実施形態の動作を説明する流れ図である。以下、図7に示すステップ番号に沿って動作説明を行う。
[Explanation of operation on the electronic camera]
FIG. 7 is a flowchart for explaining the operation of the third embodiment. Hereinafter, the operation will be described along the step numbers shown in FIG.

ステップS61〜S63: 第1実施形態のステップS1〜S3と同じ処理。 Steps S61 to S63: The same processing as Steps S1 to S3 of the first embodiment.

ステップS64: マイクロプロセッサ19は、メモリ17内の画像データから画像領域のデータを読み出す。マイクロプロセッサ19は、この画像領域から、証明写真として重要な所定範囲を抽出し、部分画像領域とする。この所定範囲としては、証明写真として顔が位置するおおよその範囲を設定することが好ましい。
なお、上述した顔認識技術により顔領域を特定し、その顔領域を含む範囲を所定範囲としてもよい。
また、画像周辺部の処理(例えば、クロップ処理、周辺減光補正処理、または倍率色収差補正処理など)の影響を受けない画像中央域を所定範囲に設定してもよい。
Step S64: The microprocessor 19 reads the image area data from the image data in the memory 17. The microprocessor 19 extracts a predetermined range important as an ID photo from the image area and sets it as a partial image area. As the predetermined range, it is preferable to set an approximate range where the face is located as the ID photo.
Note that a face area may be specified by the face recognition technique described above, and a range including the face area may be set as a predetermined range.
Further, the image central area that is not affected by the processing of the peripheral portion of the image (for example, cropping processing, peripheral light reduction correction processing, or magnification chromatic aberration correction processing) may be set to a predetermined range.

ステップS65: マイクロプロセッサ19は、この部分画像領域を画像領域内から位置探索するために必要なデータを作成して、探索用データとする。例えば、部分画像領域の一部の画像パターンをパターンマッチングの参照データとして抽出して探索用データとしてもよい。また例えば、部分画像領域の高域成分(エッジや輪郭構造など)を抽出して探索用データとしてもよい。 Step S65: The microprocessor 19 creates data necessary for searching the position of the partial image area from the image area and uses it as search data. For example, a part of the image pattern of the partial image area may be extracted as reference data for pattern matching and used as search data. Further, for example, high frequency components (edges, contour structures, etc.) of the partial image region may be extracted and used as search data.

ステップS66: マイクロプロセッサ19は、この部分画像領域を処理して、改ざん検出用の部分画像検証用データを作成する。このような部分画像検証用データの作成にも、例えば、ハッシュ関数、チェックサム、またはCRCなどの処理が選択使用できる。 Step S66: The microprocessor 19 processes this partial image area to create partial image verification data for falsification detection. For generating such partial image verification data, for example, processing such as a hash function, checksum, or CRC can be selected and used.

ステップS67: マイクロプロセッサ19は、ステップS63で得た情報検証用データと、ステップS66で得た部分画像検証用データと、ステップS65で得た探索用データを暗号化キーで暗号化し、暗号データを作成する。この暗号化は、まとめて行って1つの暗号データを作成してもよいし、個別に行って複数の暗号データを作成してもよい。 Step S67: The microprocessor 19 encrypts the information verification data obtained in Step S63, the partial image verification data obtained in Step S66, and the search data obtained in Step S65 with an encryption key, and stores the encrypted data. create. This encryption may be performed collectively to create one encrypted data, or may be performed individually to create a plurality of encrypted data.

ステップS68: 記録部22は、画像データ、撮影情報、および暗号データを格納した画像ファイルを、記録媒体22aに記録保存する。 Step S68: The recording unit 22 records and saves the image file storing the image data, the shooting information, and the encrypted data in the recording medium 22a.

[検証プログラム側の動作説明]
図8は、検証プログラムによるコンピュータ動作を説明する流れ図である。以下、図8に示すステップ番号に沿って動作説明を行う。
[Explanation of verification program side]
FIG. 8 is a flowchart for explaining the computer operation by the verification program. Hereinafter, the operation will be described along the step numbers shown in FIG.

ステップS71: コンピュータには、上述した処理(図7)で作成された画像ファイルが入力される。コンピュータは、この画像ファイルから、画像データ、撮影情報、および暗号データをそれぞれ読み出す。 Step S71: The image file created by the above-described process (FIG. 7) is input to the computer. The computer reads image data, shooting information, and encrypted data from the image file.

ステップS72: コンピュータは、読み出した撮影情報に対して、上述したステップS63と同様の処理を実施し、情報検証用データを作成する。 Step S72: The computer performs the same processing as the above-described step S63 on the read photographing information, and creates information verification data.

ステップS73: コンピュータは、読み出した暗号データを、予め与えられた復号キーを用いて復号化処理し、上述したステップS67で暗号化する前の部分画像検証用データ、情報検証用データ、および探索用データを得る。 Step S73: The computer decrypts the read encrypted data using a predetermined decryption key, and the partial image verification data, the information verification data, and the search data before being encrypted in Step S67 described above. Get the data.

ステップS74: コンピュータは、探索用データを用いて、画像領域内から部分画像領域の位置を探索し、特定する。例えば、探索用データとして部分画像領域の一部の画像パターンや輪郭画像などが記録されていた場合は、画像領域内でパターンマッチング(残差逐次検定法など)を行って、部分画像領域の位置を特定すればよい。
なお、部分画像領域の位置が特定できない場合は、大きく改ざんされていると推測されるため、部分画像領域が改ざんされたと即座に判断してもよい。また、上述したステップS64と同じ手順を経て部分画像領域をとりあえず決定することで、後述する照合動作(ステップS80)に判断を委ねてもよい。
Step S74: The computer searches and specifies the position of the partial image area from within the image area using the search data. For example, if a partial image pattern or contour image of a partial image area has been recorded as search data, pattern matching (residual sequential test etc.) is performed within the image area, and the position of the partial image area Should be specified.
If the position of the partial image area cannot be specified, it is estimated that the partial image area has been largely tampered with, and therefore it may be immediately determined that the partial image area has been tampered with. Further, the determination may be left to the collation operation (step S80) described later by determining the partial image region for the time being through the same procedure as in step S64 described above.

ステップS75: コンピュータは、画像領域の特定された位置から、部分画像領域を抽出する。コンピュータは、抽出した部分画像領域に対して、上述したステップS66と同様の処理を実施し、部分画像検証用データを作成する。 Step S75: The computer extracts a partial image area from the specified position of the image area. The computer performs the same process as in step S66 described above on the extracted partial image area, and creates partial image verification data.

ステップS76〜S79: 第1実施形態のステップS19〜S22と同じ処理。 Steps S76 to S79: The same processing as Steps S19 to S22 of the first embodiment.

ステップS80: コンピュータは、復号化された部分画像検証用データと、ステップS75で作成した部分画像検証用データとを照合する。 Step S80: The computer collates the decoded partial image verification data with the partial image verification data created in step S75.

ステップS81: コンピュータは、部分画像検証用データが整合している場合、ステップS83に動作を移行する。逆に、部分画像検証用データが不整合の場合、ステップS82に動作を移行する。 Step S81: When the partial image verification data is consistent, the computer shifts the operation to Step S83. Conversely, if the partial image verification data is inconsistent, the operation proceeds to step S82.

ステップS82: コンピュータは、不整合を示した部分画像領域を改ざん箇所とし、その改ざん箇所を画面上で点滅させるなどの警告表示を行う。 Step S82: The computer displays a warning such as setting a partial image area indicating inconsistency as a falsified position and blinking the falsified position on the screen.

ステップS83: コンピュータは、下記の少なくとも2点についての条件判定が可能である。
(1)部分画像領域が改ざんされている。
(2)撮影情報が改ざんされている。
これら2点の条件判定を適宜に組み合わせることで、証明写真の採用条件を細かく定めることができる。
例えば、コンピュータは、厳格な使用用途については、条件(1)〜(2)の全てを判定し、そのいずれか1つを満たしただけで、証明写真としての画像利用を禁止する。
また、コンピュータは、比較的緩い使用用途については、条件(1)のみを判定し、部分画像領域の改ざんのみを検出する。この場合、証明写真として重要な部分画像領域さえオリジナルであれば、証明写真としての画像利用が許可される。
このような検証動作の後、コンピュータは、利用が許可された画像ファイルに限って、証明写真として登録や認証したり、証明カード内に保存記録するなどの処理を実施する。
Step S83: The computer can determine the conditions for at least the following two points.
(1) The partial image area has been tampered with.
(2) Shooting information has been tampered with.
By appropriately combining these two determinations of conditions, it is possible to define the employment conditions for ID photographs in detail.
For example, the computer determines all of the conditions (1) to (2) for a strict use application, and prohibits the use of an image as an ID photo only by satisfying any one of them.
Further, the computer determines only the condition (1) for a relatively loose usage and detects only alteration of the partial image area. In this case, as long as the partial image region important as the ID photo is original, the use of the image as the ID photo is permitted.
After such a verification operation, the computer performs processing such as registration or authentication as an ID photo or saving and recording in an ID card only for image files that are permitted to be used.

[第3実施形態の効果など]
第3実施形態では、第1実施形態と同様の効果を得ることができる。
さらに、第3実施形態では、探索用データを用いて部分画像領域を特定する。したがって、画像領域のクロップ処理により部分画像領域が画面上で移動していても、部分画像領域を改めて位置特定(追跡)してその改ざんの有無を検出することができる。
したがって、従来技術のように、証明写真用に顔部分の画面内比率や位置をクロップ処理しただけで画像改ざんと見なすことはなくなる。その上、証明写真として重要な箇所(部分画像領域)の改ざん検出によって、証明写真として許可すべきか否かを適切に検証することが可能になる。
[Effects of Third Embodiment]
In the third embodiment, the same effect as in the first embodiment can be obtained.
Furthermore, in the third embodiment, the partial image region is specified using the search data. Therefore, even if the partial image area is moved on the screen by the cropping process of the image area, the partial image area can be specified again (tracked) and the presence / absence of the alteration can be detected.
Therefore, unlike the prior art, it is not considered that the image has been tampered simply by cropping the in-screen ratio and position of the face portion for the ID photo. In addition, it is possible to appropriately verify whether or not the ID photo should be permitted by detecting falsification of an important part (partial image area) as the ID photo.

《実施形態の補足事項》
なお、上述した実施形態では、暗号データ(検証用データ)を画像ファイル内に格納している。しかしながら、本発明はこれに限定されるものではない。例えば、暗号データ(検証用データ)を画像ファイルと別のファイルに格納してもよい。
<< Additional items of embodiment >>
In the embodiment described above, encrypted data (verification data) is stored in the image file. However, the present invention is not limited to this. For example, the encryption data (verification data) may be stored in a file different from the image file.

また、上述した実施形態では、画像圧縮前のデータから検証用データを作成してもよいし、画像領域の画像圧縮後のデータから検証用データを作成してもよい。   In the above-described embodiment, verification data may be generated from data before image compression, or verification data may be generated from data after image compression in an image area.

なお、上述した実施形態では、画像領域や部分画像領域について検証用データを作成している。しかしながら、本発明はこれに限定されるものではない。例えば、画像領域から所定の空間周波数成分を抽出してフィルタ画像を生成し、そのフィルタ画像やその部分画像領域について検証用データを作成してもよい。このようなフィルタ画像の生成には、ウェーブレット変換などの周波数変換が利用できる。このような処理を加えることによって検証用データの偽造行為を困難にすることができる。   In the above-described embodiment, the verification data is created for the image area and the partial image area. However, the present invention is not limited to this. For example, a filter image may be generated by extracting a predetermined spatial frequency component from the image region, and verification data may be created for the filter image or the partial image region. Frequency filter such as wavelet transform can be used for generating such a filter image. By adding such processing, forgery of verification data can be made difficult.

また、上述した実施形態では、検証用データの算出方法として、ハッシュ関数、チェックサム、またはCRCをあげている。しかしながら、本発明はこれに限定されるものではない。一般には、元データの改ざんを反映して異なるデータを算出する算出方法であればよい。   In the above-described embodiment, a hash function, checksum, or CRC is used as a method for calculating verification data. However, the present invention is not limited to this. In general, any calculation method that calculates different data reflecting the alteration of the original data may be used.

以上説明したように、本発明は、電子カメラや検証プログラム(コンピュータ)などに利用可能な技術である。   As described above, the present invention is a technique that can be used for an electronic camera, a verification program (computer), and the like.

電子カメラ11を示すブロック図である。1 is a block diagram showing an electronic camera 11. FIG. 第1実施形態におけるデータ処理の全体的な流れを説明する図である。It is a figure explaining the whole flow of the data processing in 1st Embodiment. 第1実施形態における電子カメラ側の動作を説明する流れ図である。It is a flowchart explaining the operation | movement by the side of the electronic camera in 1st Embodiment. 検証プログラムによるコンピュータ動作を説明する流れ図である。It is a flowchart explaining the computer operation | movement by a verification program. 第2実施形態における電子カメラ側の動作を説明する流れ図である。It is a flowchart explaining the operation | movement by the side of the electronic camera in 2nd Embodiment. 検証プログラムによるコンピュータ動作を説明する流れ図である。It is a flowchart explaining the computer operation | movement by a verification program. 第3実施形態における電子カメラ側の動作を説明する流れ図である。It is a flowchart explaining the operation | movement by the side of the electronic camera in 3rd Embodiment. 検証プログラムによるコンピュータ動作を説明する流れ図である。It is a flowchart explaining the computer operation | movement by a verification program.

符号の説明Explanation of symbols

11 電子カメラ
12 撮影レンズ
12a レンズ制御部
13 撮像素子
14 撮像制御部
15 信号処理部
16 A/D変換部
17 メモリ
18 バス
19 マイクロプロセッサ
19a 操作部
20 画像処理部
22 記録部
22a 記録媒体
23 モニタ表示部
DESCRIPTION OF SYMBOLS 11 Electronic camera 12 Shooting lens 12a Lens control part 13 Imaging element 14 Imaging control part 15 Signal processing part 16 A / D conversion part 17 Memory 18 Bus 19 Microprocessor 19a Operation part 20 Image processing part 22 Recording part 22a Recording medium 23 Monitor display Part

Claims (7)

被写体を撮影して画像データを生成する撮像部と、
前記画像データの撮影情報を生成または取得する情報処理部と、
前記画像データ内の画像領域のデータについて改ざん検出用の画像検証用データを作成し、かつ前記撮影情報について改ざん検出用の情報検証用データを作成する検証用データ作成部と、
前記画像データ、前記撮影情報、前記画像検証用データ、および前記情報検証用データを記録媒体に記録する記録部と
を備えたことを特徴とする電子カメラ。
An imaging unit that shoots a subject and generates image data;
An information processing unit for generating or acquiring shooting information of the image data;
A verification data creation unit for creating image verification data for falsification detection for data of an image region in the image data, and creating information verification data for falsification detection for the photographing information;
An electronic camera comprising: the image data, the shooting information, the image verification data, and a recording unit that records the information verification data on a recording medium.
被写体を撮影して画像データを生成する撮像部と、
前記画像データから複数の部分画像領域を抽出する画像抽出部と、
前記部分画像領域ごとに改ざん検出用の部分画像検証用データを作成する検証用データ作成部と、
前記画像データ、および前記部分画像検証用データを記録媒体に記録する記録部と
を備えたことを特徴とする電子カメラ。
An imaging unit that shoots a subject and generates image data;
An image extraction unit for extracting a plurality of partial image regions from the image data;
A verification data creation unit for creating partial image verification data for falsification detection for each partial image region;
An electronic camera comprising: a recording unit that records the image data and the partial image verification data on a recording medium.
被写体を撮影して画像データを生成する撮像部と、
前記画像データから部分的な部分画像領域を抽出する画像抽出部と、
前記部分画像領域について改ざん検出用の部分画像検証用データを作成する検証用データ作成部と、
前記部分画像領域を画像領域内から位置探索するための探索用データを作成する探索情報処理部と、
前記画像データ、前記部分画像検証用データ、および探索用データを記録媒体に記録する記録部と
を備えたことを特徴とする電子カメラ。
An imaging unit that shoots a subject and generates image data;
An image extraction unit for extracting a partial partial image region from the image data;
A verification data creation unit for creating partial image verification data for falsification detection for the partial image region;
A search information processing unit for creating search data for searching the position of the partial image region from within the image region;
An electronic camera comprising: a recording unit that records the image data, the partial image verification data, and search data on a recording medium.
コンピュータを、
請求項1に記載の電子カメラで生成された前記画像データ、前記撮影情報、前記画像検証用データ、および前記情報検証用データを取り込む入力部と、
前記画像データ内の画像領域と前記画像検証用データとを照合することにより、前記画像領域の改ざんを判別する画像改ざん検出部と、
前記撮影情報と前記情報検証用データとを照合することにより、前記撮影情報の改ざんを判別する情報改ざん検出部と
して機能させるための検証プログラム。
Computer
An input unit that captures the image data generated by the electronic camera according to claim 1, the imaging information, the image verification data, and the information verification data;
An image tampering detection unit for determining tampering of the image region by comparing the image region in the image data with the image verification data;
A verification program for functioning as an information falsification detection unit that determines whether the photographing information has been falsified by comparing the photographing information with the information verification data.
コンピュータを、
請求項2に記載の電子カメラで生成された前記画像データおよび前記部分画像検証用データを取り込む入力部と、
前記画像データから複数の部分画像領域を抽出する部分画像取得部と、
前記部分画像領域ごとに前記部分画像検証用データと照合して、前記部分画像領域ごとに改ざんを判別することにより、画像領域内の改ざん箇所を特定する部分画像改ざん検出部と
して機能させるための検証プログラム。
Computer
An input unit that captures the image data generated by the electronic camera according to claim 2 and the partial image verification data;
A partial image acquisition unit that extracts a plurality of partial image regions from the image data;
In order to function as a partial image alteration detection unit that identifies the alteration location in the image area by collating with the partial image verification data for each partial image area and determining alteration for each partial image area. Verification program.
請求項5に記載の検証プログラムにおいて、
前記部分画像改ざん検出部は、
特定した改ざん箇所が顔領域内に含まれるか否かを顔認識技術を用いて判定し、改ざん箇所が顔領域内に含まれる場合には、証明写真としての前記画像データの利用を禁止する
ことを特徴する検証プログラム。
The verification program according to claim 5,
The partial image alteration detection unit
Use facial recognition technology to determine whether the specified alteration location is included in the face area. If the alteration location is included in the facial area, use of the image data as an ID photo is prohibited. A verification program featuring:
コンピュータを、
請求項3に記載の電子カメラで生成された前記画像データ、前記部分画像検証用データ、および探索用データを取り込む入力部と、
前記部分画像検証用データの作成元である部分画像領域を、前記探索用データを用いて前記画像データの画像領域内から位置探索する位置探索部と、
前記位置探索部で位置探索された前記部分画像領域と、前記部分画像検証用データとを照合することにより、前記部分画像領域の改ざんを判別する部分画像改ざん検出部と
して機能させるための検証プログラム。
Computer
An input unit that captures the image data generated by the electronic camera according to claim 3, the partial image verification data, and search data;
A position search unit for searching for a position of a partial image area from which the partial image verification data is created from within the image area of the image data using the search data;
Verification for functioning as a partial image alteration detection unit for determining whether or not the partial image region has been altered by collating the partial image region searched for by the location search unit with the partial image verification data. program.
JP2005049118A 2005-02-24 2005-02-24 Digital camera with function of verifying originality of image picked up and its verification program Withdrawn JP2006235959A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2005049118A JP2006235959A (en) 2005-02-24 2005-02-24 Digital camera with function of verifying originality of image picked up and its verification program
PCT/JP2006/302630 WO2006090622A1 (en) 2005-02-24 2006-02-15 Electronic camera and method attesting originality of acquired image and verification program for verifying the originality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005049118A JP2006235959A (en) 2005-02-24 2005-02-24 Digital camera with function of verifying originality of image picked up and its verification program

Publications (1)

Publication Number Publication Date
JP2006235959A true JP2006235959A (en) 2006-09-07

Family

ID=36927263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005049118A Withdrawn JP2006235959A (en) 2005-02-24 2005-02-24 Digital camera with function of verifying originality of image picked up and its verification program

Country Status (2)

Country Link
JP (1) JP2006235959A (en)
WO (1) WO2006090622A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008245070A (en) * 2007-03-28 2008-10-09 Seiko Epson Corp Image data recording system, drive recorder, and image data alteration determination method.
JP2009003643A (en) * 2007-06-20 2009-01-08 Mitsubishi Electric Corp Electronic data authentication system
JP2010534455A (en) * 2007-03-24 2010-11-04 躍軍 閻 Portable digital imaging system combining positioning navigation information and image information
JP2011091622A (en) * 2009-10-22 2011-05-06 Nippon Telegr & Teleph Corp <Ntt> Authentication code embedding device for falsification detection, falsification detection device, authentication code embedding method for falsification detection, falsification detection method, and computer program
WO2014063524A1 (en) * 2012-10-25 2014-05-01 华为技术有限公司 Device and method for detecting whether camera is interfered with, and video monitoring system
JP2016072972A (en) * 2014-09-30 2016-05-09 株式会社リコー Application program, smart device, information processing apparatus, information processing system and information processing method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112907598B (en) * 2021-02-08 2023-03-10 东南数字经济发展研究院 Method for detecting falsification of document and certificate images based on attention CNN

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000152148A (en) * 1998-11-13 2000-05-30 Hitachi Ltd Electronic camera
JP3805121B2 (en) * 1999-02-02 2006-08-02 キヤノン株式会社 Image processing apparatus and method, and storage medium
JP2001309149A (en) * 2000-04-18 2001-11-02 Fuji Photo Film Co Ltd Image processing unit, image processing system, and recording medium
JP2002287628A (en) * 2001-03-23 2002-10-04 Seiko Epson Corp Electronic signature method and apparatus
JP4143441B2 (en) * 2002-04-24 2008-09-03 キヤノン株式会社 Information processing method and apparatus, computer program, and computer-readable storage medium
JP3960597B2 (en) * 2002-11-11 2007-08-15 株式会社リコー Code generation apparatus, image processing apparatus, code generation program, image processing program, and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010534455A (en) * 2007-03-24 2010-11-04 躍軍 閻 Portable digital imaging system combining positioning navigation information and image information
JP2008245070A (en) * 2007-03-28 2008-10-09 Seiko Epson Corp Image data recording system, drive recorder, and image data alteration determination method.
JP2009003643A (en) * 2007-06-20 2009-01-08 Mitsubishi Electric Corp Electronic data authentication system
JP2011091622A (en) * 2009-10-22 2011-05-06 Nippon Telegr & Teleph Corp <Ntt> Authentication code embedding device for falsification detection, falsification detection device, authentication code embedding method for falsification detection, falsification detection method, and computer program
WO2014063524A1 (en) * 2012-10-25 2014-05-01 华为技术有限公司 Device and method for detecting whether camera is interfered with, and video monitoring system
JP2016072972A (en) * 2014-09-30 2016-05-09 株式会社リコー Application program, smart device, information processing apparatus, information processing system and information processing method

Also Published As

Publication number Publication date
WO2006090622A1 (en) 2006-08-31

Similar Documents

Publication Publication Date Title
US7770019B2 (en) Imaging method and device using biometric information for operator authentication
JP4174244B2 (en) Image capturing apparatus and control method thereof
US7650511B2 (en) Information processing method, falsification verification method and device, storage medium, and program
US20030123700A1 (en) Image generation apparatus, image file generation method, image verification apparatus and image verification method
JP2004023733A (en) Image photographing device and its control method
CN108959884B (en) Human authentication verification device and method
WO2006090622A1 (en) Electronic camera and method attesting originality of acquired image and verification program for verifying the originality
JP2005011207A (en) Ic card, biometrics authentication system and method for authenticating biometrics
US20030123699A1 (en) Image generating apparatus and verification data generation method
US20070217680A1 (en) Digital Image Pickup Device, Display Device, Rights Information Server, Digital Image Management System and Method Using the Same
CN112101200A (en) A face anti-recognition method, system, computer equipment and readable storage medium
JP7159681B2 (en) Issuing system, server, issuing device, issuing method, program
JP2000115624A (en) Image pickup device, and control method and storage medium therefor
US20230136234A1 (en) Id card and method for manufacturing same, id card issuing device and system, and face authentication device and system
JP7192293B2 (en) Issuing device, issuing method
CN111325113A (en) Image detection method, apparatus, device and medium
JP2003204427A (en) Processor and method for processing information, method of processing image data, recording medium, and program
JP2024527263A (en) Mobile device user authentication method
JP6989025B2 (en) Biometric device, counterfeit discrimination program and counterfeit discrimination method
JP4882520B2 (en) Verification program
US20210067683A1 (en) Flat surface detection in photographs
JP7650306B2 (en) Information processing device, information processing method, and program
WO2007050792A1 (en) Content authentication system and method
JP4221396B2 (en) Unauthorized shooting prevention system, image data generation device, unauthorized shooting prevention method, and program
JP5229372B2 (en) Verification program

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080513