JP3521723B2 - Digital camera and image authentication system using the same - Google Patents

Digital camera and image authentication system using the same

Info

Publication number
JP3521723B2
JP3521723B2 JP01140898A JP1140898A JP3521723B2 JP 3521723 B2 JP3521723 B2 JP 3521723B2 JP 01140898 A JP01140898 A JP 01140898A JP 1140898 A JP1140898 A JP 1140898A JP 3521723 B2 JP3521723 B2 JP 3521723B2
Authority
JP
Japan
Prior art keywords
image data
digital camera
data
detection data
tampering detection
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.)
Expired - Lifetime
Application number
JP01140898A
Other languages
Japanese (ja)
Other versions
JPH11215452A (en
Inventor
靖雅 中島
信太郎 市原
和人 最上
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP01140898A priority Critical patent/JP3521723B2/en
Publication of JPH11215452A publication Critical patent/JPH11215452A/en
Application granted granted Critical
Publication of JP3521723B2 publication Critical patent/JP3521723B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、撮影した画像をデ
ジタルデータとして記録するデジタルカメラに関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital camera that records captured images as digital data.

【0002】[0002]

【従来の技術】従来より、写真を撮影するときには、レ
ンズから取り込まれた光がフィルムの上に照射され、化
学反応が起きることで画像が記録されるカメラが用いら
れている。上記のカメラでは、フィルムを現像し、印画
紙に焼き付けることにより写真をプリントすることがで
きる。上記の化学反応として一般に塩化銀の反応が利用
されるため、このようなカメラによって撮影された写真
を銀塩写真という。
2. Description of the Related Art Conventionally, when taking a picture, a camera has been used which records an image by irradiating a film with light taken in from a lens and causing a chemical reaction. With the above cameras, photographs can be printed by developing the film and printing it on photographic paper. Since the reaction of silver chloride is generally used as the above chemical reaction, a photograph taken by such a camera is called a silver salt photograph.

【0003】一方、近年ではCCD等の光センサにより
光を電気信号に変換し、それをデジタル信号に変換して
から、フラッシュメモリ等の記録媒体に記録するデジタ
ルカメラが普及している。デジタルカメラを用いると、
パソコン等を用いて画像の保存や様々な加工を個人で手
軽に行えるほか、プリンタで出力することによりフィル
ムの現像をすることなしに写真を印刷することができ
る。プリンタの印刷品質の向上により、銀塩写真とほと
んど区別がつかないほど品質の高い写真も印刷できるよ
うになってきている。
On the other hand, in recent years, a digital camera is widely used, which converts light into an electric signal by an optical sensor such as CCD, converts the light into a digital signal, and then records it in a recording medium such as a flash memory. With a digital camera,
Images can be saved and various processing can be easily done by individuals using a personal computer, etc., and by printing with a printer, photographs can be printed without developing the film. Improvements in the print quality of printers have made it possible to print high-quality photographs that are almost indistinguishable from silver halide photographs.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、損害保
険等の証明写真にデジタルカメラで撮影した写真を用い
ようとする場合に、デジタルカメラで撮影された画像は
パソコン等により容易に加工が可能であり、銀塩写真と
比較して加工の跡を残さずに加工することができるた
め、不正に加工されたいわゆる改ざんされた写真が用い
られていても判別することが困難であり、悪用される恐
れがあるという問題がある。
However, when a photograph taken by a digital camera is used as a certification photograph for property insurance, the image photographed by the digital camera can be easily processed by a personal computer or the like. Since it can be processed without leaving a trace of processing as compared with silver salt photographs, it is difficult to determine even if an illegally processed so-called tampered photograph is used, and it may be misused. There is a problem that there is.

【0005】したがって、本発明の目的は撮影時の画像
データから変更されたか否かを確認することのできる画
像データを出力するデジタルカメラおよびそれを用いた
画像認証システムを提供することにある。
Therefore, it is an object of the present invention to provide a digital camera which outputs image data capable of confirming whether or not the image data at the time of photographing is changed, and an image authentication system using the same.

【0006】[0006]

【課題を解決するための手段】本発明の請求項1に記載
のデジタルカメラによれば、複数の画素を有する光セン
サと、光センサの出力をデジタル信号からなる画像デー
タに変換する手段と、画像データを不可逆圧縮する圧縮
手段と、不可逆圧縮した画像データを記録する記録媒体
と、を有するデジタルカメラにおいて、不可逆圧縮した
画像データから改ざん検出用データとしてチェックサ
ム、CRCまたは一方向ハッシュ関数のいずれかを生成
する手段と、改ざん検出用データのいずれかを暗号化す
る手段と、不可逆圧縮した画像データと暗号化した改ざ
ん検出用データのいずれかとを一体に記録媒体に記録す
る手段と、を備える。従って、撮影時に記録媒体に記録
された画像データが、デジタルカメラから出力後に1ビ
ットでも変更された場合には、画像データと改ざん検出
用データとが不整合となるため、撮影後に画像データが
変更されたと判断することができる。また、画像データ
と改ざん検出用データとの整合性がとれていれば、画像
は撮影時のままであると判断することができる。改ざん
検出用データを生成する方法としては、画像データのチ
ェックサムを求める方法や、CRC(Cyclic Redundanc
y check)あるいは一方向ハッシュ関数(one-way hash
function)などを用いることができる。
According to the digital camera of the present invention, an optical sensor having a plurality of pixels, means for converting the output of the optical sensor into image data composed of digital signals, In a digital camera having a compression means for irreversibly compressing image data and a recording medium for recording the irreversibly compressed image data, either a checksum, a CRC or a one-way hash function is used as tampering detection data from the irreversibly compressed image data. And a means for encrypting any of the alteration detection data, and a means for integrally recording the lossy compressed image data and the encrypted alteration detection data on a recording medium. . Therefore, if the image data recorded on the recording medium at the time of shooting is changed by even one bit after being output from the digital camera, the image data and the tampering detection data are inconsistent, and the image data is changed after shooting. It can be judged that it was done. Further, if the image data and the tampering detection data are consistent with each other, it can be determined that the image remains as it was at the time of shooting. As a method for generating the tampering detection data, a method for obtaining a checksum of the image data or a CRC (Cyclic Redundanc) is used.
y check) or one-way hash function
function) can be used.

【0007】また、改ざん検出用データは暗号化される
ため、画像データが同一の改ざん検出用データを得られ
る別の画像データに変更されることや、画像データの変
更に合わせて改ざん検出用データが書き換えられるのを
防ぐことができる。
Further, since the tampering detection data is encrypted, the image data may be changed to another image data for which the same tampering detection data can be obtained, or the tampering detection data may be changed in accordance with the change of the image data. Can be prevented from being rewritten.

【0008】本発明の請求項2に記載のデジタルカメラ
によれば、記録媒体は着脱自在であるため、記録媒体を
デジタルカメラからの出力手段として用いることができ
る。また、デジタルカメラから取り外した記録媒体をパ
ソコン等により直接読取って画像データを入力する場合
に、撮影時から変更されたか否かを判断可能な画像デー
タとして出力するためには、画像データと改ざん検出用
データとが記録媒体に一体に記録されることが必要であ
る。
According to the digital camera of the second aspect of the present invention, since the recording medium is detachable, the recording medium can be used as an output means from the digital camera. In addition, when inputting image data by directly reading the recording medium removed from the digital camera with a personal computer, etc., in order to output as image data that can be judged whether it has been changed from the time of shooting, image data and tampering detection It is necessary that the usage data and the recording data are recorded integrally on the recording medium.

【0009】本発明の請求項3に記載の画像認証システ
ムによれば、一体に記録された不可逆圧縮した画像デー
タと暗号化した改ざん検出用データのいずれかとを入力
する手段と、不可逆圧縮した画像データを解読された暗
号化した改ざん検出用データのいずれかにより照合する
手段と、を備えるため、入力された画像データがデジタ
ルカメラによって記録されてから変更されたか否かを判
断することができる。
According to the image authentication system of the third aspect of the present invention, a means for inputting the integrally recorded lossy compressed image data and the encrypted alteration detection data, and the lossy compressed image. And a means for collating the data with any of the decrypted and encrypted alteration detection data, it is possible to determine whether or not the input image data is changed after being recorded by the digital camera.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.

【0011】図2は本発明の実施例のデジタルカメラ1
を説明するためのブロック図である。制御装置11、集
光レンズ12、光センサとしてのCCD(Charge Coupl
ed Device)13、A/D変換器14、RAM(Random
Access Memory)15、画像データを記録する画像記録
媒体としてのフラッシュメモリ16、フラッシュメモリ
16の内容を外部のパソコン20等に出力するためのイ
ンターフェイス17などから構成される。制御装置11
はCPUと、デジタルカメラ1の様々な制御を行うため
のプログラムが記録されたROMと、入出力手段とを備
える。
FIG. 2 shows a digital camera 1 according to an embodiment of the present invention.
It is a block diagram for explaining. Control device 11, condenser lens 12, CCD (Charge Coupl) as an optical sensor
ed Device) 13, A / D converter 14, RAM (Random
Access memory) 15, a flash memory 16 as an image recording medium for recording image data, an interface 17 for outputting the contents of the flash memory 16 to an external personal computer 20, and the like. Control device 11
Includes a CPU, a ROM in which a program for performing various controls of the digital camera 1 is recorded, and an input / output unit.

【0012】図1はデジタルカメラ1により撮影が行わ
れる行程を示すフローチャートである。ユーザーがデジ
タルカメラ1のシャッターを押すと、ステップS10
で、集光レンズ12により集光された光がCCD13に
入力され、電気信号に変換される。集光レンズ12の絞
りやシャッタースピード、すなわちCCD13の蓄積時
間は制御装置11によって自動的に、またはユーザーの
指示によって制御される。CCD13として、例えば図
3に示すようにR(Red)、G(Green)、B(Blue)の
原色フィルタを有する複数の画素がマトリックス状に配
置されたCCD13を用いることにより、カラー画像を
撮影することができる。C(Cyan)、M(Magenta)、
Y(Yellow)、G(Green)の補色フィルタを有するC
CDを用いる場合もある。
FIG. 1 is a flow chart showing a process of photographing by the digital camera 1. When the user presses the shutter of the digital camera 1, step S10
Then, the light condensed by the condenser lens 12 is input to the CCD 13 and converted into an electric signal. The aperture of the condenser lens 12 and the shutter speed, that is, the accumulation time of the CCD 13 are controlled automatically by the control device 11 or by user's instruction. As the CCD 13, for example, as shown in FIG. 3, a CCD 13 in which a plurality of pixels having R (Red), G (Green), and B (Blue) primary color filters are arranged in a matrix is used to capture a color image. be able to. C (Cyan), M (Magenta),
C with Y (Yellow) and G (Green) complementary color filters
Sometimes a CD is used.

【0013】ステップS11では、CCD13から出力
された電気信号がA/D変換器14によりデジタル信号
に変換され、ステップS12ではA/D変換器14から
出力されたデジタルデータが高速化のためDMA(Dire
ct Memory Access)により制御装置11を介さずに直接
RAM15のアドレスを指定して記録される。RAM1
5としてはセルフリフレッシュ機能をもつDRAMを用
いることができる。
In step S11, the electric signal output from the CCD 13 is converted into a digital signal by the A / D converter 14, and in step S12 the digital data output from the A / D converter 14 is DMA ( Dire
It is recorded by directly specifying the address of the RAM 15 by the ct Memory Access) without going through the control device 11. RAM1
As 5, a DRAM having a self-refresh function can be used.

【0014】ステップS13では、RAM15に記録さ
れたデータについて、ホワイトバランスの調整、補間処
理、色補正などの各種の画像補正が行われる。
In step S13, various image corrections such as white balance adjustment, interpolation processing, and color correction are performed on the data recorded in the RAM 15.

【0015】ステップS14では、画像記録媒体への記
録枚数を多くするためにステップS13で補正されたデ
ータをJPEG(Joint Photographic Experts Group)
などの方式により圧縮し、容量の小さな画像データを生
成する。JPEGはR、G、Bの各色256階調の約1
670万色の画像を扱うことができ、一般に用いられる
不可逆画像圧縮方法であり、圧縮率を変更することによ
り保存画質を調整することができる。JPEG圧縮は、
制御装置11によってソフトウェア的に行うほか、高速
化のために専用の回路を用いることができる。
In step S14, the data corrected in step S13 in order to increase the number of recordings on the image recording medium is processed by JPEG (Joint Photographic Experts Group).
The image data is compressed by a method such as the above to generate a small amount of image data. JPEG has about 1 of 256 gradations for each color of R, G and B.
It is an irreversible image compression method that can handle 6.7 million-color images, and the storage image quality can be adjusted by changing the compression rate. JPEG compression is
In addition to the software operation by the control device 11, a dedicated circuit can be used for speeding up.

【0016】ステップS15では、ステップS14で生
成された画像データに基づいて、制御装置11により改
ざん検出用データを生成する。改ざん検出用データとし
ては、例えばチェックサムを用いることができる。ここ
で、画像データ32を2進数で表したものが、図4のよ
うに示されるとする。図4のAに示すように、画像デー
タの横方向の8ビットの桁上げなしの合計値を制御装置
11によりそれぞれの行で計算し、それをチェックサム
33とすると、画像データ32が変更された場合には、
画像データ32から求められる合計値とチェックサム3
3が不整合となるので、画像データ32とチェックサム
33とを照合することにより画像データ32が変更され
たか否かを判断することができる。この場合、1行の中
で2ビットが変更されると、変更されたことを検出する
ことができないため、図4のBに示すように縦方向の8
ビットについてもそれぞれの列で合計値を計算したチェ
ックサム33をさらに用いてもよい。
In step S15, the tampering detection data is generated by the control device 11 based on the image data generated in step S14. A checksum, for example, can be used as the tampering detection data. Here, it is assumed that the binary representation of the image data 32 is shown in FIG. As shown in FIG. 4A, the control device 11 calculates a total value of 8 bits without carry in the horizontal direction of the image data, and when it is used as a checksum 33, the image data 32 is changed. If
Checksum 3 and total value obtained from image data 32
Since 3 is inconsistent, it is possible to determine whether the image data 32 has been changed by collating the image data 32 with the checksum 33. In this case, if 2 bits are changed in one row, it cannot be detected that the change has been made. Therefore, as shown in FIG.
For bits, the checksum 33 in which the total value is calculated in each column may be further used.

【0017】また、チェックサムの他にCRC方式、一
方向ハッシュ関数等、データがオリジナルから変更され
ているか否かを検出することができる、データ通信等に
用いられる誤り検出に関する公知の方法を本発明に適用
することができる。これらの方法を用いることにより、
各々の画像データに対して異なる改ざん検出用データを
割り当てることができ、また、改ざん検出用データから
元の画像データを再現することは非常に困難であり、実
用上の問題は無いといえる。
In addition to the checksum, a known method for error detection used in data communication, which can detect whether the data has been changed from the original, such as a CRC method and a one-way hash function, is provided. It can be applied to the invention. By using these methods,
Different tampering detection data can be assigned to each image data, and it is very difficult to reproduce the original image data from the tampering detection data, and it can be said that there is no practical problem.

【0018】ステップS16では、チェックサム33等
の改ざん検出用データが解析されたり容易に書き換えら
れたりしないように、制御装置11により暗号化して暗
号化データ34とする。暗号化の方法としては、公開鍵
と秘密鍵を用いるRAS方式など、公知の方法を用いる
ことができる。秘密鍵で暗号化した暗号化データ34
は、秘密鍵と対になった公開鍵を用いて解読することが
できる。秘密鍵はデジタルカメラ1内に記憶されてお
り、他人に知られてはならない。また、ユーザーが秘密
鍵を知らなくてもよい。しかし、公開鍵から秘密鍵を求
めることは非常に困難である。これにより、画像データ
32が同一のチェックサム33を得られる別の画像デー
タに変更されることや、画像データ32の変更に合わせ
てチェックサム33が書き換えられるのを防ぐことがで
きる。
In step S16, the tampering detection data such as the checksum 33 is encrypted by the control device 11 into the encrypted data 34 so as not to be analyzed or easily rewritten. As an encryption method, a known method such as an RAS method using a public key and a secret key can be used. Encrypted data 34 encrypted with a private key
Can be decrypted using the public key paired with the private key. The private key is stored in the digital camera 1 and should not be known to others. Also, the user does not need to know the private key. However, it is very difficult to obtain the private key from the public key. As a result, it is possible to prevent the image data 32 from being changed to another image data that can obtain the same checksum 33 and the checksum 33 from being rewritten in accordance with the change of the image data 32.

【0019】ステップS17では、画像データ32と暗
号化データ34とを一体にJPEGファイル30として
画像記録媒体としてのフラッシュメモリ16に記録す
る。フラッシュメモリ16は通電し続けなくても一旦記
録した内容を保持することのできる書換え可能な記録媒
体であり、デジタルカメラ1に内蔵されるか、あるいは
着脱自在にデジタルカメラ1に取り付けられている。J
PEGファイル30は一般に図5に示すようにデータ
長、圧縮率等の情報を含むヘッダ部31と、画像データ
32とから構成される。デジタルカメラ1によって記録
されるJPEGファイル30の場合は、撮影日やシャッ
タースピード等の撮影条件等の情報もヘッダ部31に記
録することができる。本実施例では、ヘッダ部31に暗
号化データ34を更に加えて記録している。
In step S17, the image data 32 and the encrypted data 34 are integrally recorded as a JPEG file 30 in the flash memory 16 as an image recording medium. The flash memory 16 is a rewritable recording medium that can retain the contents that have been recorded without continuing to energize, and is built in the digital camera 1 or detachably attached to the digital camera 1. J
As shown in FIG. 5, the PEG file 30 generally includes a header section 31 containing information such as data length and compression rate, and image data 32. In the case of the JPEG file 30 recorded by the digital camera 1, information such as shooting date and shooting conditions such as shutter speed can also be recorded in the header section 31. In this embodiment, the encrypted data 34 is further added to the header part 31 and recorded.

【0020】フラッシュメモリ16がデジタルカメラ1
に内蔵されていて、取り外しが不可能な場合には、フラ
ッシュメモリ16には暗号化データ34等の改ざん検出
用データを含まないJPEGファイル30を記録してお
き、インターフェイス17を介して外部のパソコン20
に出力する段階で改ざん検出用データを生成し、JPE
Gファイル30のヘッダ部31に付加して出力すること
も可能である。なお、パソコン20からデジタルカメラ
1に画像を転送できるようになっている場合は、JPE
Gファイル30のヘッダ部31等により区別して、再度
パソコン20に転送するときには改ざん検出用データを
付加しないようにする必要がある。
The flash memory 16 is the digital camera 1.
If the JPEG file 30 does not include the tampering detection data such as the encrypted data 34, it is stored in the flash memory 16 if it cannot be removed. 20
Alteration detection data is generated at the stage of outputting to
It is also possible to add and output to the header part 31 of the G file 30. If you can transfer images from the personal computer 20 to the digital camera 1, JPE
It is necessary to distinguish the header portion 31 of the G file 30 and the like so that the alteration detection data is not added when the G file 30 is transferred to the personal computer 20 again.

【0021】一方、フラッシュメモリ16がデジタルカ
メラ1から着脱自在で、その内容をパソコン等によって
読み取り可能な場合、あるいはデジタルカメラ1自体に
画像を修正する機能が備えられている場合には、画像デ
ータと改ざん検出用データとを一体に出力するためには
画像データがフラッシュメモリ16に記録される段階
で、同時に改ざん検出用データが記録されている必要が
ある。
On the other hand, if the flash memory 16 is detachable from the digital camera 1 and its contents can be read by a personal computer or the like, or if the digital camera 1 itself has a function of correcting an image, image data In order to integrally output the tampering detection data and the tampering detection data, it is necessary that the tampering detection data be simultaneously recorded when the image data is recorded in the flash memory 16.

【0022】上記のようなデジタルカメラ1と、デジタ
ルカメラ1から出力された画像データを入力する手段を
備えるパソコン20と、デジタルカメラ1によって記録
された画像データが変更されたか否かを判定するために
パソコン20等のコンピュータにインストールされた認
証プログラムとによって画像認証システムが構成され
る。
To determine whether or not the digital camera 1 as described above, the personal computer 20 having means for inputting the image data output from the digital camera 1, and the image data recorded by the digital camera 1 have been changed. An image authentication system is configured by the authentication program installed in a computer such as the personal computer 20.

【0023】パソコン20に画像データと改ざん検出用
データを入力する手段としては、シリアルケーブル18
等を介してデジタルカメラ1のインターフェイス17と
接続してフラッシュメモリ16内のJPEGファイルを
パソコン20に転送する方法や、フラッシュメモリ16
が着脱自在でパソコン20と互換性のある形式でフォー
マットされている場合には、アダプタを介してフラッシ
ュメモリ16に記録されたJPEGファイル30をパソ
コン20で直接読み取ることも可能である。
As a means for inputting image data and tampering detection data to the personal computer 20, a serial cable 18 is used.
A method of transferring the JPEG file in the flash memory 16 to the personal computer 20 by connecting to the interface 17 of the digital camera 1 via the
In the case where the JPEG file 30 is removable and is formatted in a format compatible with the personal computer 20, the personal computer 20 can directly read the JPEG file 30 recorded in the flash memory 16 via the adapter.

【0024】JPEGファイル30のヘッダ部31内の
暗号化データ34がデジタルカメラ1内で秘密鍵によっ
て暗号化されている場合、認証プログラムは公開鍵を用
いることにより、秘密鍵によって暗号化されたことを確
認すると同時に暗号を解読することができる。解読され
た改ざん検出用データと、画像データとを照合すること
によって、改ざん検出用データが生成された時点から画
像データが変更されているか否かを判断することができ
る。暗号化データ34が存在しない、暗号化データ34
が公開鍵で解読できない、解読された改ざん検出用デー
タと画像データとが不整合である場合には、その画像デ
ータは本発明実施例のデジタルカメラ1で撮影されたも
のではないか、撮影後に変更されたものとみなされる。
When the encrypted data 34 in the header portion 31 of the JPEG file 30 is encrypted by the private key in the digital camera 1, the authentication program uses the public key to encrypt it by the private key. You can decrypt the code at the same time. By collating the decoded tampering detection data with the image data, it is possible to determine whether or not the image data has been changed since the time when the tampering detection data was generated. If the encrypted data 34 does not exist, the encrypted data 34
If the decrypted tampering detection data and the image data are inconsistent, the image data may not have been captured by the digital camera 1 of the embodiment of the present invention, or It is considered changed.

【0025】したがって、本発明実施例の画像認証シス
テムを使用する場合、写真の提出者は、デジタルカメラ
1から出力して変更を加えていない画像データを含むフ
ァイル(本実施例ではJPEGファイル30)をフロッ
ピー等の記録媒体に記録したもの、あるいは着脱可能な
記録媒体であるフラッシュメモリ16をデジタルカメラ
1から取り外したものを、印刷した写真と共に相手の求
めに応じて提出する。受け取り側は、パソコン20にイ
ンストールされた認証プログラムを用いて受け取ったフ
ァイルを読み込んで調べることにより、そのファイルの
画像データがデジタルカメラ1から出力された時点から
変更されていないということを確認することができる。
Therefore, when the image authentication system according to the embodiment of the present invention is used, the person who submits the photograph includes a file including the image data which is output from the digital camera 1 and is not changed (the JPEG file 30 in this embodiment). Is recorded on a recording medium such as a floppy disk, or a removable recording medium from which the flash memory 16 is removed from the digital camera 1 is submitted together with a printed photograph at the request of the other party. The receiving side reads the file received by using the authentication program installed in the personal computer 20 and examines it to confirm that the image data of the file has not been changed since the time when it was output from the digital camera 1. You can

【0026】また、認証プログラムにJPEGファイル
30等の画像データの画像を表示する機能をもたせるこ
とにより、印刷された写真と表示された画像が同一であ
ることを確認することができる。
By providing the authentication program with the function of displaying the image of the image data such as the JPEG file 30, it can be confirmed that the printed photograph and the displayed image are the same.

【0027】以上、実施例によって説明したように、本
発明のデジタルカメラおよびそれを用いた画像認証シス
テムを用いることにより、デジタルカメラで撮影した写
真が撮影時から変更されていない、改ざんされていな
い、オリジナルのものであることを確認することができ
る。
As described above with reference to the embodiments, by using the digital camera of the present invention and the image authentication system using the same, the photograph taken by the digital camera has not been changed since the time of photographing, and has not been tampered with. , You can confirm that it is the original one.

【0028】上記の実施例では、JPEG圧縮したもの
を画像データとして画像記録媒体に記録したが、本発明
は他の圧縮方法で圧縮したものや、無圧縮のデータを画
像データとして記録したものにも適用できる。また、改
ざん検出用データをJPEGファイルのヘッダ部に記録
したが、本発明としては改ざん検出用データは画像デー
タのどの位置にあってもよい。画像データが無圧縮であ
るか、可逆圧縮されたものであるか、あるいは不可逆圧
縮されたものであるかに関わらず、電子すかしの技術に
より、肉眼では判別できないように改ざん検出用データ
の情報を画像データの内部に含ませることも可能であ
る。
In the above embodiment, JPEG-compressed data is recorded as image data on the image recording medium, but the present invention can be compressed by other compression methods or uncompressed data can be recorded as image data. Can also be applied. Further, although the alteration detection data is recorded in the header portion of the JPEG file, the alteration detection data may be located at any position in the image data in the present invention. Regardless of whether the image data is uncompressed, reversibly compressed, or lossy compressed, the information of tampering detection data cannot be discriminated by the naked eye by the electronic watermark technology. Can be included in the image data.

【0029】また、本実施例では改ざん検出用データと
画像データとを一体にJPEGファイルとして記録した
が、改ざん検出用データを別ファイルとして記録し、画
像データに関連付けてもよい。
Further, in this embodiment, the alteration detection data and the image data are integrally recorded as a JPEG file, but the alteration detection data may be recorded as a separate file and associated with the image data.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例におけるデジタルカメラにより
画像を記録する手順を示すフローチャートである。
FIG. 1 is a flowchart showing a procedure for recording an image by a digital camera according to an embodiment of the present invention.

【図2】本発明の実施例によるデジタルカメラを示すブ
ロック図である。
FIG. 2 is a block diagram showing a digital camera according to an embodiment of the present invention.

【図3】本発明の実施例によるデジタルカメラに用いら
れるのCCDを示す模式図である。
FIG. 3 is a schematic diagram showing a CCD used in a digital camera according to an embodiment of the present invention.

【図4】本発明の実施例による画像データのチェックサ
ムを算出する方法を説明するための図である。
FIG. 4 is a diagram illustrating a method of calculating a checksum of image data according to an embodiment of the present invention.

【図5】本発明の実施例による画像データと改ざん検出
用データの記録方法を説明するための図である。
FIG. 5 is a diagram for explaining a method of recording image data and tampering detection data according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 デジタルカメラ 11 制御装置 12 集光レンズ 13 CCD(光センサ) 14 A/D変換器 15 RAM 16 フラッシュメモリ(画像記録媒体) 17 インターフェイス 18 接続ケーブル 20 パソコン 30 JPEGファイル 31 ヘッダ部 32 画像データ 33 チェックサム(改ざん検出用データ) 34 暗号化データ(改ざん検出用データ) 1 digital camera 11 Control device 12 Condensing lens 13 CCD (optical sensor) 14 A / D converter 15 RAM 16 Flash memory (image recording medium) 17 Interface 18 connection cable 20 personal computers 30 JPEG files 31 Header 32 image data 33 Checksum (tampering detection data) 34 Encrypted data (tampering detection data)

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平10−164549(JP,A) 特開 平11−98461(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 5/76 - 5/956 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-10-164549 (JP, A) JP-A-11-98461 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04N 5/76-5/956

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の画素を有する光センサと、前記光
センサの出力をデジタル信号からなる画像データに変換
する手段と、前記画像データを不可逆圧縮する圧縮手段
と、不可逆圧縮した画像データを記録する記録媒体と、
を有するデジタルカメラにおいて、 前記不可逆圧縮した画像データから改ざん検出用データ
としてチェックサム、CRCまたは一方向ハッシュ関数
のいずれかを生成する手段と、 前記改ざん検出用データのいずれかを暗号化する手段
と、 前記不可逆圧縮した画像データと暗号化した改ざん検出
用データのいずれかとを一体に前記記録媒体に記録する
手段と、を備えるデジタルカメラ。
1. An optical sensor having a plurality of pixels, means for converting the output of the optical sensor into image data composed of digital signals, compression means for irreversibly compressing the image data, and recording irreversibly compressed image data. Recording medium,
A digital camera having: a means for generating either a checksum, a CRC, or a one-way hash function as tampering detection data from the lossy-compressed image data; and a means for encrypting any of the tampering detection data. A digital camera comprising: a unit configured to integrally record the lossy-compressed image data and the encrypted tampering detection data on the recording medium.
【請求項2】 前記記録媒体が着脱自在である請求項1
に記載のデジタルカメラ。
2. The recording medium is removable.
Digital camera described in.
【請求項3】 請求項1または2のいずれか一項に記載
のデジタルカメラを用いた画像認証システムであって、 前記一体に記録された不可逆圧縮した画像データと暗号
化した改ざん検出用データのいずれかとを入力する手段
と、 前記不可逆圧縮した画像データを解読された前記暗号化
した改ざん検出用データのいずれかにより照合する手段
と、を備える画像認証システム。
3. An image authentication system using the digital camera according to claim 1, wherein the lossy compressed image data recorded integrally and the encrypted tampering detection data are recorded. An image authentication system comprising: a means for inputting any one of them; and a means for collating the lossy compressed image data with any one of the decrypted encrypted alteration detection data.
JP01140898A 1998-01-23 1998-01-23 Digital camera and image authentication system using the same Expired - Lifetime JP3521723B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01140898A JP3521723B2 (en) 1998-01-23 1998-01-23 Digital camera and image authentication system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01140898A JP3521723B2 (en) 1998-01-23 1998-01-23 Digital camera and image authentication system using the same

Publications (2)

Publication Number Publication Date
JPH11215452A JPH11215452A (en) 1999-08-06
JP3521723B2 true JP3521723B2 (en) 2004-04-19

Family

ID=11777203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01140898A Expired - Lifetime JP3521723B2 (en) 1998-01-23 1998-01-23 Digital camera and image authentication system using the same

Country Status (1)

Country Link
JP (1) JP3521723B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002010058A (en) 2000-06-20 2002-01-11 Matsushita Electric Ind Co Ltd Electronic watermark embedding method, electronic watermark taking-out method, recording medium, image recording device and image reproducing device
US7093131B1 (en) 2000-09-29 2006-08-15 Seiko Epson Corporation Information authenticating apparatus and authenticating station
JP2002287628A (en) * 2001-03-23 2002-10-04 Seiko Epson Corp Electronic signature method and apparatus
JP5108312B2 (en) * 2007-01-25 2012-12-26 株式会社堀場製作所 Drive recorder, drive recorder program, falsification analysis program, data analysis system, and image falsification detection method
JP2008245070A (en) * 2007-03-28 2008-10-09 Seiko Epson Corp Image data recording system, drive recorder and image data tampering judgment method
JP5034921B2 (en) 2007-12-14 2012-09-26 ソニー株式会社 Information processing apparatus, disk, information processing method, and program

Also Published As

Publication number Publication date
JPH11215452A (en) 1999-08-06

Similar Documents

Publication Publication Date Title
US7984300B2 (en) System and method of authenicating a digitally captured image
JP3997085B2 (en) Image generation device
JP4097773B2 (en) Digital image editing system
US20040095600A1 (en) Image processing system, image capturing device, image processing terminal, image processing data storage terminal, program for the device, program for the terminal, data structure of image data, method of processing image, and method of generating image data
JP2007189428A (en) Apparatus and program for index image output
JP5341615B2 (en) Information processing apparatus and control method thereof
JP3521723B2 (en) Digital camera and image authentication system using the same
JP2002157166A (en) Digital imaging apparatus having image authentication capability
JP3164215B2 (en) Digital camera and image tampering detection system
JP5035050B2 (en) Imaging device, image file generation method, and image file creation program
JP3246660B2 (en) Digital camera and image tampering detection system
JP2000050043A (en) Method and device for processing image, computer readable storage medium recording program for executing the method for computer and image pickup device
JP3528700B2 (en) Digital camera and image tampering detection system
JP2009027503A (en) Imaging apparatus, alteration detecting method, and alteration detecting device
JP3431130B2 (en) Digital camera function addition method and recording medium
JP4632445B2 (en) Image file generation apparatus, image file generation method, program, and storage medium
JP2003348536A (en) Digital camera
JP4239449B2 (en) Method and apparatus for recording image ancillary information and photographing apparatus
US20050076062A1 (en) Image server and method of controlling same
JP4143516B2 (en) Image processing apparatus, image verification method, program, and storage medium
JPH1198406A (en) Electronic image pickup device and electronic image reproducing device
JP2005286823A (en) Image input device, communication system, control method, computer program, and storage medium
JP2006165814A (en) Image output system, image output method, program, image pickup device, image output device, control method for image output device and control method of image pickup device
JP4338190B2 (en) Image processing apparatus, method, program, and recording medium
WO2024079962A1 (en) Information terminal and program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040202

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

Free format text: PAYMENT UNTIL: 20080220

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100220

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110220

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110220

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120220

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130220

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130220

Year of fee payment: 9

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term