JP4280475B2 - Imaging device - Google Patents
Imaging device Download PDFInfo
- Publication number
- JP4280475B2 JP4280475B2 JP2002277887A JP2002277887A JP4280475B2 JP 4280475 B2 JP4280475 B2 JP 4280475B2 JP 2002277887 A JP2002277887 A JP 2002277887A JP 2002277887 A JP2002277887 A JP 2002277887A JP 4280475 B2 JP4280475 B2 JP 4280475B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- image data
- recording
- verification
- compressed image
- 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 - Fee Related
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、撮像画像の画像データとその画像データの検証データとを生成する撮像装置に関するものである。
【0002】
【従来の技術】
現在のデジタルカメラには、JPEG方式、RAW方式などの記録方式を有するものがある。JPEG方式は、撮像画像の画像データを複数の画像調整値に従って調整し、調整後の画像データをISO/IEC 10918-1規格に準拠したJPEG圧縮方式に従って圧縮し、圧縮して得たJPEG画像データをその付加データとともに記録する記録方式である。RAW方式は、撮像画像の画像データを画像劣化のない画像圧縮方式であるロスレス圧縮方式に従って圧縮し、圧縮して得たRAW画像データをその付加データとともに記録する記録方式である。
【0003】
【発明が解決しようとする課題】
撮像画像の画像データにその画像データの改変の有無を検証するのに必要な検証データを付加する場合、画像データの記録方式に応じて検証データの生成方法を選択できるにようした方がよい。例えば、RAW画像データは、JPEG画像データよりもデータ量が多いため、RAW画像データの検証データを生成する方法は、JPEG画像データの検証データを生成する方法よりも高速であることが望ましい。
【0004】
しかしながら、現在のデジタルカメラには、画像データの記録方式に応じて検証データの生成方法を選択できるものがなかった。また、画像データの記録方式に応じて検証データの生成方法を選択できるようにした場合は、検証データの生成方法を検証装置に通知する必要がある。さらに、検証データが対象とするデータの所在を検証装置に通知する必要もある。
【0005】
しかしながら、現在のデジタルカメラには、検証データの生成方法を検証装置に通知することができるものも、検証データが対象とするデータの所在を検証装置に通知することができるものもなかった。
【0006】
本発明は前述の問題点にかんがみてなされたもので、画像データの記録方式に応じて検証データの生成方法を選択できるようにすることを目的とする。
【0007】
【課題を解決するための手段】
本発明に係る撮像装置は、画像データを生成する撮像手段と、第1の記録方式が選択されている場合は、前記画像データを不可逆な画像圧縮方式に従って圧縮して第1の圧縮画像データを生成し、第2の記録方式が選択されている場合は、前記画像データをロスレス圧縮方式に従って圧縮して第2の圧縮画像データを生成する画像圧縮手段と、前記第1の記録方式が選択されている場合は、前記第1の圧縮画像データが改変されているか否かを検証するのに必要なデータである第1の検証データを第1の生成方法に従って生成し、前記第2の記録方式が選択されている場合は、前記第2の圧縮画像データが改変されているか否かを検証するのに必要なデータである第2の検証データを前記第1の生成方法によりも高速な第2の生成方法に従って生成する検証データ生成手段と、前記第1の記録方式が選択されている場合は、前記第1の圧縮画像データと、前記第1の検証データとを記録媒体に記録し、前記第2の記録方式が選択されている場合は、前記第2の圧縮画像データと、前記第2の検証データとを前記記録媒体に記録する記録手段とを有することを特徴とする。
【0008】
【発明の実施の形態】
以下、図1〜図8を参照し、本発明に好適な本実施の形態を説明する。
図1は、本実施の形態における撮像装置10の主要な構成を示す図である。撮像装置10は、イメージセンサを用いて被写体の画像データを生成する装置(例えば、デジタルカメラ、スキャナ、コピー機、デジタルカメラ付き携帯情報端末など)である。
【0009】
図1において、撮像部101は、イメージセンサを用いて画像を撮像し、撮像した画像の画像データを生成するユニットである。撮像制御部102は、メイン制御部110からの指示に従って撮像部101の動作を制御するユニットである。この撮像制御部102は、撮像部101で生成された画像データに関する様々な情報をメイン制御部110に提供する。
【0010】
画像処理部103は、ユーザが設定した複数の画像調整値に従い、撮像部101から得た画像データ(未調整)のホワイトバランス、シャープネス、コントラスト、色の濃度、色合い、色空間、画質、サイズなどを調整するユニットである。また、この画像処理部103は、調整後の画像データを不可逆な画像圧縮方式(例えば、ISO/IEC 10918-1規格に準拠したJPEG圧縮方式)に従って圧縮したり、未調整の画像データをロスレス圧縮方式(画質の劣化のない画像圧縮方式)に従って圧縮したりするユニットでもある。
【0011】
メモリ104は、様々なデータを記憶するメモリである。メモリインターフェース部105は、メイン制御部110が指定した画像ファイルをリムーバブルメモリ106に書き込んだり、メイン制御部110が指定した画像ファイルをリムーバブルメモリ106から読み出したりするユニットである。リムーバブルメモリ106は、複数の画像ファイルの記憶が可能なものである。
【0012】
ネットワークインターフェース部107は、メイン制御部110が指定した画像ファイルを外部装置108に送信するユニットである。外部装置108は、撮像装置10をリモートコントロールするアプリケーションプログラム、画像データの画質を複数の画像調整パラメータに従って調整するアプリケーションプログラムなどを有する装置である。
【0013】
表示部109は、撮像部101で生成された画像データの縮小画像データ、リムーバブルメモリ106から読み出した画像ファイルの縮小画像データなどを表示するユニットである。また、この表示部109は、選択画像に関する情報を表示するユニットでもある。
【0014】
メイン制御部110は、撮像装置10の様々な機能を制御するユニットである。ユーザインターフェース部111は、ユーザの指示をメイン制御部110に通知するユニットである。このユーザインターフェース部111は、撮像装置10の電源がオンまたはオフにするスイッチである電源スイッチ、撮像処理の開始を指示するボタンであるシャッターボタン、撮像画像画像データの記録方式を選択するボタンである記録方式選択ボタン、複数の画像調整値を調整する調整パネルなどを有している。
【0015】
図2〜図4は、本実施の形態における撮像装置10の処理手順を示すフローチャートである。
なお、図2〜図4に示す処理手順は、撮像装置10のドライブモードが1コマ撮像モードである場合でも、連続撮像モードである場合でも実行可能である。ここで、1コマ撮像モードとは、1つの画像データを生成して記録するドライブモードである。一方、連続撮影モードとは、複数の画像データを連続的に生成して記録するドライブモードである。
【0016】
まず、図2に示すように、ステップS201では、ユーザが撮像処理の開始を指示したか否かをメイン制御部110で判定する。この判定の結果、ユーザが撮像処理の開始を指示したと判定した場合には、ステップS202に進む。一方、ステップS201の判定の結果、ユーザが撮像処理の開始を指示していないと判定した場合には、ステップS201で待機する。
【0017】
続いて、ステップS202では、ユーザが設定した記録方式がJPEG方式(第1の記録方式)であるか否かをメイン制御部110で判定する。この判定の結果、JPEG方式であると判定した場合には、ステップS204に進む。一方、JPEG方式でないと判定した場合には、ステップS203に進む。
【0018】
続いて、ステップS203では、ユーザが設定した記録方式がRAW方式(第2の記録方式)であるか否かをメイン制御部110で判定する。この判定の結果、RAW方式であると判定した場合には、処理「A」(ステップS301)に進み、RAW方式でなくRAW+JPEG方式(第3の記録方式)であると判定した場合には、処理「B」(ステップS401)に進む。
【0019】
続いて、ステップS204では、イメージセンサを用いて画像を撮像し、撮像した画像の画像データを撮像部101で生成する。
【0020】
続いて、ステップS205では、ユーザが設定した複数の画像調整値に従い、ステップS204で生成された画像データ(未調整)のホワイトバランス、シャープネス、コントラスト、色の濃度、色合い、色空間、画質、サイズなどを画像処理部103で調整する。
【0021】
続いて、ステップS206では、調整済みの画像データをISO/IEC 10918-1規格に準拠したJPEG圧縮方式に従って圧縮し、JPEG画像データを画像処理部103で生成する。なお、本実施の形態では、調整済みの画像データをJPEG圧縮方式に従って圧縮したが、不可逆な画像圧縮方式であれば他の画像圧縮方式(例えば、JPEG−2000に準拠した画像圧縮方式)に置き換えることも可能である。
【0022】
続いて、ステップS207では、JPEG画像データの生成が終了した後、メイン制御部110において、第1の生成方法(図7を参照)に従い、JPEG画像データから検証データAを生成する。ここで、検証データAは、JPEG画像データの改変の有無を検証するのに必要なデータである。さらに、メイン制御部110は、第1の生成方法(図7を参照)に従い、JPEG画像データの付加データから検証データBを生成する。ここで、付加データは、JPEG画像データに関する様々な情報を含むデータである。付加データは、撮像装置10に固有の識別子を示すデバイスIDデータ、JPEG画像データの画質を示す画質データ、JPEG画像データのサイズを示すサイズデータなどを含む。検証データBは、付加データの改変の有無を検証するのに必要なデータである。
【0023】
続いて、ステップS208では、検証データAおよびBの生成が終了した後、メイン制御部110において、JPEG画像データ、付加データ、アルゴリズムデータA、位置データA、検証データA、アルゴリズムデータB、位置データB、検証データBなどを含むJPEG画像ファイルを生成し、生成したJPEG画像ファイルをメモリ104に書き込む。
【0024】
このJPEG画像ファイルの構成の一例を図5に示す。
ここで、アルゴリズムデータAは、検証データAの生成方法(本実施の形態では、第1の生成方法)を示すデータである。アルゴリズムデータAをJPEG画像データに付加することにより、検証データAの生成方法を検証装置に通知することができる。また、位置データAは、検証データAが対象とするデータ(本実施の形態では、JPEG画像データ)の所在を示すデータである。この位置データAをJPEG画像ファイルに付加することにより、検証データAが対象とするデータの所在を検証装置に通知することができる。
【0025】
また、アルゴリズムデータBは、検証データBの生成方法(本実施の形態では、第1の生成方法)を示すデータである。このアルゴリズムデータBをJPEG画像データに付加することにより、検証データBの生成方法を検証装置に通知することができる。また、位置データBは、検証データBが対象とするデータ(本実施の形態では、JPEG画像データの付加データ)の所在を示すデータである。この位置データBをJPEG画像ファイルに付加することにより、検証データBが対象とするデータの所在を検証装置に通知することができる。
【0026】
続いて、ステップS209では、JPEG画像ファイルの生成が終了した後、メモリインターフェース部105において、そのJPEG画像ファイルをメモリ104から読み出し、読み出したJPEG画像ファイルをリムーバブルメモリ106に記録する。
【0027】
続いて、図3に示すステップS301では、イメージセンサを用いて画像を撮像し、撮像した画像の画像データを撮像部101で生成する。
【0028】
続いて、ステップS302では、ステップS301で生成された画像データ(未調整)を画像劣化のない画像圧縮方式であるロスレス圧縮方式に従って圧縮し、RAW画像データを画像処理部103で生成する。
【0029】
続いて、ステップS303では、RAW画像データの生成が終了した後、メイン制御部110において、第1の生成方法よりも高速な第2の生成方法(図8を参照)に従い、RAW画像データから検証データCを生成する。ここで、検証データCは、RAW画像データの改変の有無を検証するのに必要なデータである。この第2の生成方法は、検証データを生成する方法の一つであり、第1の生成方法で使用するハッシュ関数よりも高速なハッシュ関数を用いて対象データの検証データを生成する方法である。
【0030】
さらに、メイン制御部110は、第1の生成方法よりも高速な第2の生成方法(図8を参照)に従い、RAW画像データの付加データから検証データDを生成する。ここで、付加データは、RAW画像データに関する様々な情報を含むデータである。この付加データは、撮像装置10に固有の識別子を示すデバイスIDデータなどを含んでいる。また、検証データDは、付加データの改変の有無を検証するのに必要なデータである。
【0031】
続いて、ステップS304では、検証データCおよびDの生成が終了した後、メイン制御部110において、RAW画像データ、付加データ、画像調整データ、アルゴリズムデータC、位置データC、検証データC、アルゴリズムデータD、位置データD、検証データDなどを含むRAW画像ファイルを生成し、生成したRAW画像ファイルをメモリ104に書き込む。
【0032】
このRAW画像ファイルの構成の一例を図6に示す。ここで、画像調整データは、RAW画像データを生成したときの画像調整値を示すデータである。アルゴリズムデータCは、検証データCの生成方法(本実施の形態では、第2の生成方法)を示すデータである。このアルゴリズムデータCをRAW画像ファイルに付加することにより、検証データCの生成方法を検証装置に通知することができる。また、位置データCは、検証データCが対象とするデータ(本実施の形態では、RAW画像データ)の所在を示すデータである。この位置データCをRAW画像ファイルに付加することにより、検証データCが対象とするデータの所在を検証装置に通知することができる。
【0033】
また、アルゴリズムデータDは、検証データDの生成方法(本実施の形態では、第2の生成方法)を示すデータである。このアルゴリズムデータDをRAW画像ファイルに付加することにより、検証データDの生成方法を検証装置に通知することができる。位置データDは、検証データDが対象とするデータ(本実施の形態では、RAW画像データの付加データ)の所在を示すデータである。この位置データDをRAW画像ファイルに付加することにより、検証データDが対象とするデータの所在を検証装置に通知することができる。
【0034】
続いて、ステップS305では、RAW画像ファイルの生成が終了した後、メモリインターフェース部105において、そのRAW画像ファイルをメモリ104から読み出し、読み出したRAW画像ファイルをリムーバブルメモリ106に記録する。
【0035】
続いて、図4に示すステップS401では、イメージセンサを用いて画像を撮像し、撮像した画像の画像データを撮像部101で生成する。
【0036】
続いて、ステップS402では、ユーザが設定した複数の画像調整値に従い、ステップS401で生成された画像データ(未調整)のホワイトバランス、シャープネス、コントラスト、色の濃度、色合い、色空間、画質、サイズなどを画像処理部103で調整する。
【0037】
続いて、ステップS403では、調整済みの画像データをJPEG圧縮方式に従って圧縮し、JPEG画像データを画像処理部103で生成する。
【0038】
続いて、ステップS404では、JPEG画像データの生成が終了した後、メイン制御部110において、第1の生成方法(図7を参照)に従い、JPEG画像データから検証データAを生成する。ここで、検証データAは、JPEG画像データの改変の有無を検証するのに必要なデータである。さらに、メイン制御部110は、第1の生成方法(図7を参照)に従い、JPEG画像データの付加データから検証データBを生成する。
【0039】
ここで、付加データは、JPEG画像データに関する様々な情報を含むデータである。付加データは、撮像装置10に固有の識別子を示すデバイスIDデータ、JPEG画像データの画質を示す画質データ、JPEG画像データのサイズを示すサイズデータなどを含む。検証データBは、付加データの改変の有無を検証するのに必要なデータである。
【0040】
続いて、ステップS405では、検証データAおよびBの生成が終了した後、メイン制御部110において、JPEG画像データ、付加データ、アルゴリズムデータA、位置データA、検証データA、アルゴリズムデータB、位置データB、検証データBなどを含むJPEG画像ファイルを生成し、生成したJPEG画像ファイルをメモリ104に書き込む。JPEG画像ファイルの構成の一例を図5に示す。
【0041】
続いて、ステップS406では、ステップS401で生成された画像データ(未調整)をロスレス圧縮方式に従って圧縮し、RAW画像データを画像処理部103で生成する。
【0042】
続いて、ステップS407では、RAW画像データの生成が終了した後、メイン制御部110において、第1の生成方法よりも高速な第2の生成方法(図8を参照)に従い、RAW画像データから検証データCを生成する。ここで、検証データCは、RAW画像データの改変の有無を検証するのに必要なデータである。この第2の生成方法は、検証データを生成する方法の一つであり、第1の生成方法で使用するハッシュ関数よりも高速なハッシュ関数を用いて対象データの検証データを生成する方法である。さらに、メイン制御部110は、第1の生成方法よりも高速な第2の生成方法(図8を参照)に従い、RAW画像データの付加データから検証データDを生成する。
【0043】
ここで、付加データは、RAW画像データに関する様々な情報を含むデータである。付加データは、撮像装置10に固有の識別子を示すデバイスIDデータなどを含む。検証データDは、付加データの改変の有無を検証するのに必要なデータである。
【0044】
続いて、ステップS408では、検証データCおよびDの生成が終了した後、メイン制御部110において、RAW画像データ、付加データ、アルゴリズムデータC、位置データC、検証データC、アルゴリズムデータD、位置データDおよび検証データDなどを含むRAW画像ファイルを生成し、生成したRAW画像ファイルをメモリ104に書き込む。RAW画像ファイルの構成の一例を図6に示す。
【0045】
なお、本実施の形態における撮像装置10では、1コマの画像データの撮像処理を高速に行うために、ステップS402からステップS405までの処理と並行して、ステップS406からステップS408までの処理を行うものとする。また、ステップS402からステップS405までの処理はステップS205からステップS208までの処理と同様の処理であり、ステップS406からステップS408までの処理はステップS302からステップS304までの処理と同様の処理である。
【0046】
続いて、ステップS409では、RAW画像ファイルおよびJPEG画像ファイルの生成が終了した後、メモリインターフェース部105において、そのRAW画像ファイルおよびJPEG画像ファイルをメモリ104から読み出し、読み出したRAW画像ファイルおよびJPEG画像ファイルをリムーバブルメモリ106に記録する。
【0047】
図7は、本実施の形態における第1の生成方法の一例を説明するフローチャートである。
【0048】
まず、ステップS701では、ハッシュ関数H1を用いてJPEG画像データからハッシュ値Aをメイン制御部110で演算する。
【0049】
続いて、ステップS702では、ハッシュ値を演算した後、メイン制御部110において、鍵データKを用いてハッシュ値Aを検証データAに変換する。ここで、鍵データKは、共通鍵暗号方式の共通鍵または公開鍵暗号方式の秘密鍵に相当するデータである。
【0050】
続いて、ステップS703では、ハッシュ関数H1を用いてJPEG画像データの付加データからハッシュ値Bをメイン制御部110で演算する。
【0051】
続いて、ステップS704では、ハッシュ値を演算した後、メイン制御部110において、鍵データKを用いてハッシュ値Bを検証データBに変換する。
【0052】
図8は、本実施の形態における第2の生成方法の一例を説明するフローチャートである。
【0053】
まず、ステップS801では、RAW画像データのハッシュ値を高速に生成するために、ハッシュ関数H1よりも高速なハッシュ関数H2を用いてRAW画像データからハッシュ値Cをメイン制御部110で演算する。
【0054】
続いて、ステップS802では、ハッシュ値を演算した後、メイン制御部110において、鍵データKを用いてハッシュ値Cを検証データCに変換する。ここで、鍵データKは、共通鍵暗号方式の共通鍵または公開鍵暗号方式の秘密鍵に相当するデータである。
【0055】
続いて、ステップS803では、メイン制御部110において、RAW画像データの付加データのハッシュ値を高速に生成するために、ハッシュ関数H1よりも高速なハッシュ関数H2を用いてRAW画像データの付加データからハッシュ値Dを演算する。
【0056】
続いて、ステップS804では、ハッシュ値を演算した後、メイン制御部110は、鍵データKを用いてハッシュ値Dを検証データDに変換する。
【0057】
このように、本実施の形態における撮像装置10によれば、撮像画像の画像データの記録方式に適した検証データ生成方法を選択することができる。
【0058】
また、本実施の形態における撮像装置10によれば、撮像画像の画像データを複数の異なる記録方式に従って一度に記録する場合であっても、各記録方式に適した検証データ生成方法を選択することができる。
【0059】
また、本実施の形態における撮像装置10によれば、JPEG画像データを記録する場合は、JPEG画像データおよびその付加データのそれぞれから検証データを生成することができるので、JPEG画像データの改変の有無および付加データの改変の有無を別々に検証することができる。
【0060】
また、本実施の形態における撮像装置10によれば、RAW画像データを記録する場合は、RAW画像データおよびその付加データのそれぞれから検証データを生成することができるので、RAW画像データの改変の有無および付加データの改変の有無を別々に検証することができる。
【0061】
また、本実施の形態における撮像装置10によれば、記録方式がRAW方式またはRAW+JPEG方式である場合は、RAW画像データおよびその付加データから検証データを生成することができる。これにより、RAW画像データおよびそのRAW画像データの付加データが改変されているか否かを検証することができる。
【0062】
また、本実施の形態における撮像装置10によれば、RAW画像データを記録する場合は、画像調整データから検証データを生成しないようにすることができるので、画像調整データの変更を自由に行うことができる。
【0063】
また、本実施の形態における撮像装置10によれば、検証データの生成方法を示すデータであるアルゴリズムデータをJPEG画像データまたはRAW画像データに付加することができるので、その検証データの生成方法を検証装置に通知することができる。
【0064】
また、本実施の形態における撮像装置10によれば、検証データが対象とするデータの所在を示すデータである位置データをJPEG画像データまたはRAW画像データに付加することができるので、検証データが対象とするデータの所在を検証装置に通知することができる。
【0065】
(他の実施の形態)
本発明は、上記の実施の形態に限定されるものではなく、様々な形態で実施することができる。
例えば、JPEG画像データおよびその付加データから1つの検証データを生成し、生成した検証データをJPEG画像ファイルに付加することも可能である。
【0066】
また、RAW画像データおよびその付加データから1つの検証データを生成し、生成した検証データをRAW画像ファイルに付加することも可能である。
【0067】
さらに、記録方式がRAW+JPEG方式である場合は、RAW画像ファイルに検証データCおよびDを付加し、JPEG画像ファイルに検証データAおよびBを付加しないようにすることも可能である。
【0068】
【発明の効果】
本発明によれば、画像データの記録方式に応じて検証データの生成方法を選択することができる。
【図面の簡単な説明】
【図1】本実施の形態における撮像装置の主要な構成を示す図である。
【図2】本実施の形態における撮像装置の処理手順を示すフローチャートである。
【図3】本実施の形態における撮像装置の処理手順を示すフローチャートである。
【図4】本実施の形態における撮像装置の処理手順を示すフローチャートである。
【図5】本実施の形態におけるJPEG画像ファイルの構成を示す図である。
【図6】本実施の形態におけるRAW画像ファイルの構成を示す図である。
【図7】本実施の形態における第1の生成方法の一例を説明する図である。
【図8】本実施の形態における第2の生成方法の一例を説明する図である。
【符号の説明】
10 撮像装置
101 撮像部
102 撮像制御部
103 画像処理部
104 メモリ
105 メモリインターフェース部
106 リムーバブルメモリ
107 ネットワークインターフェース部
108 外部装置
109 表示部
110 メイン制御部
111 ユーザインターフェース部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an imaging apparatus that generates image data of a captured image and verification data of the image data.
[0002]
[Prior art]
Some current digital cameras have a recording method such as a JPEG method or a RAW method. In the JPEG method, JPEG image data obtained by adjusting image data of a captured image according to a plurality of image adjustment values, compressing the adjusted image data according to a JPEG compression method compliant with the ISO / IEC 10918-1 standard, and compressing the image data. Is recorded along with the additional data. The RAW method is a recording method in which image data of a captured image is compressed according to a lossless compression method that is an image compression method without image deterioration, and the RAW image data obtained by the compression is recorded together with the additional data.
[0003]
[Problems to be solved by the invention]
When adding verification data necessary for verifying whether or not the image data has been modified to the image data of the captured image, it is preferable to be able to select a verification data generation method according to the image data recording method. For example, since RAW image data has a larger amount of data than JPEG image data, it is desirable that the method for generating verification data for RAW image data be faster than the method for generating verification data for JPEG image data.
[0004]
However, there is no current digital camera that can select a verification data generation method according to the image data recording method. Further, when the verification data generation method can be selected according to the image data recording method, it is necessary to notify the verification device of the verification data generation method. Furthermore, it is necessary to notify the verification device of the location of data targeted by the verification data.
[0005]
However, none of the current digital cameras can notify the verification device of the method of generating the verification data, and none of the digital cameras can notify the verification device of the location of the data targeted by the verification data.
[0006]
The present invention has been made in view of the above-described problems, and an object of the present invention is to make it possible to select a verification data generation method in accordance with a recording method of image data.
[0007]
[Means for Solving the Problems]
The image pickup apparatus according to the present invention includes an image pickup unit that generates image data, and, when the first recording method is selected, compresses the image data according to an irreversible image compression method to obtain the first compressed image data. And when the second recording method is selected, the image compression means for generating the second compressed image data by compressing the image data according to the lossless compression method, and the first recording method are selected. If the first compressed image data is generated, first verification data, which is data necessary for verifying whether or not the first compressed image data has been altered, is generated according to the first generation method, and the second recording method Is selected, the second verification data, which is data necessary for verifying whether or not the second compressed image data has been altered, is converted to the second verification data that is faster than the first generation method. Follow the generation method And generate the verification data generation means, when the first recording mode is selected, said first compressed image data, recorded in the first verification data and the recording medium, the second recording If system is selected, and the second compressed image data, characterized in that the said second verification data to have a recording means for recording on the recording medium.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
The preferred embodiment of the present invention will be described below with reference to FIGS.
FIG. 1 is a diagram illustrating a main configuration of an
[0009]
In FIG. 1, an
[0010]
In accordance with a plurality of image adjustment values set by the user, the
[0011]
The
[0012]
The
[0013]
The
[0014]
The
[0015]
2 to 4 are flowcharts illustrating a processing procedure of the
2 to 4 can be executed regardless of whether the drive mode of the
[0016]
First, as shown in FIG. 2, in step S <b> 201, the
[0017]
In step S202, the
[0018]
In step S203, the
[0019]
Subsequently, in step S <b> 204, an image is captured using an image sensor, and image data of the captured image is generated by the
[0020]
Subsequently, in step S205, white balance, sharpness, contrast, color density, hue, color space, image quality, size of the image data (unadjusted) generated in step S204 according to a plurality of image adjustment values set by the user. Etc. are adjusted by the
[0021]
Subsequently, in step S <b> 206, the adjusted image data is compressed according to the JPEG compression method compliant with the ISO / IEC 10918-1 standard, and the JPEG image data is generated by the
[0022]
Subsequently, in step S207, after the generation of the JPEG image data is completed, the
[0023]
Subsequently, in step S208, after the generation of the verification data A and B is completed, the
[0024]
An example of the structure of this JPEG image file is shown in FIG.
Here, the algorithm data A is data indicating a generation method of the verification data A (a first generation method in the present embodiment). By adding the algorithm data A to the JPEG image data, a method for generating the verification data A can be notified to the verification device. The position data A is data indicating the location of the data (in this embodiment, JPEG image data) targeted by the verification data A. By adding the position data A to the JPEG image file, the verification apparatus can be notified of the location of the data targeted by the verification data A.
[0025]
The algorithm data B is data indicating a generation method of the verification data B (a first generation method in the present embodiment). By adding this algorithm data B to the JPEG image data, it is possible to notify the verification apparatus of a method for generating the verification data B. The position data B is data indicating the location of data targeted by the verification data B (in this embodiment, additional data of JPEG image data). By adding the position data B to the JPEG image file, the verification device can be notified of the location of the data targeted by the verification data B.
[0026]
In step S209, after the generation of the JPEG image file is completed, the
[0027]
Subsequently, in step S301 illustrated in FIG. 3, an image is captured using an image sensor, and image data of the captured image is generated by the
[0028]
Subsequently, in step S302, the image data (unadjusted) generated in step S301 is compressed according to a lossless compression method that is an image compression method without image deterioration, and RAW image data is generated by the
[0029]
Subsequently, in step S303, after the generation of the RAW image data is completed, the
[0030]
Further, the
[0031]
Subsequently, in step S304, after the generation of the verification data C and D is completed, the
[0032]
An example of the structure of this RAW image file is shown in FIG. Here, the image adjustment data is data indicating an image adjustment value when the RAW image data is generated. The algorithm data C is data indicating a method for generating the verification data C (second generation method in the present embodiment). By adding this algorithm data C to the RAW image file, it is possible to notify the verification apparatus of a method for generating the verification data C. Further, the position data C is data indicating the location of data targeted by the verification data C (RAW image data in the present embodiment). By adding this position data C to the RAW image file, it is possible to notify the verification device of the location of the data targeted by the verification data C.
[0033]
The algorithm data D is data indicating a generation method of the verification data D (second generation method in the present embodiment). By adding this algorithm data D to the RAW image file, it is possible to notify the verification apparatus of a method for generating the verification data D. The position data D is data indicating the location of data targeted by the verification data D (in this embodiment, additional data of RAW image data). By adding the position data D to the RAW image file, it is possible to notify the verification device of the location of the data targeted by the verification data D.
[0034]
In step S305, after the generation of the RAW image file is completed, the
[0035]
Subsequently, in step S401 illustrated in FIG. 4, an image is captured using an image sensor, and image data of the captured image is generated by the
[0036]
Subsequently, in step S402, the white balance, sharpness, contrast, color density, hue, color space, image quality, size of the image data (unadjusted) generated in step S401 according to a plurality of image adjustment values set by the user. Etc. are adjusted by the
[0037]
Subsequently, in step S403, the adjusted image data is compressed according to the JPEG compression method, and the JPEG image data is generated by the
[0038]
Subsequently, in step S404, after the generation of JPEG image data is completed, the
[0039]
Here, the additional data is data including various information regarding the JPEG image data. The additional data includes device ID data indicating an identifier unique to the
[0040]
In step S405, after the generation of the verification data A and B is completed, the
[0041]
Subsequently, in step S406, the image data (unadjusted) generated in step S401 is compressed according to the lossless compression method, and RAW image data is generated by the
[0042]
Subsequently, in step S407, after the generation of the RAW image data is completed, the
[0043]
Here, the additional data is data including various information regarding the RAW image data. The additional data includes device ID data indicating an identifier unique to the
[0044]
Subsequently, in step S408, after the generation of the verification data C and D is completed, the
[0045]
Note that in the
[0046]
Subsequently, in step S409, after the generation of the RAW image file and the JPEG image file is completed, the
[0047]
FIG. 7 is a flowchart for explaining an example of the first generation method in the present embodiment.
[0048]
First, in step S701, the
[0049]
Subsequently, in step S702, after calculating the hash value, the
[0050]
Subsequently, in step S703, the
[0051]
Subsequently, in step S704, after calculating the hash value, the
[0052]
FIG. 8 is a flowchart for explaining an example of the second generation method in the present embodiment.
[0053]
First, in step S801, in order to generate a hash value of RAW image data at high speed, the
[0054]
Subsequently, in step S802, after calculating the hash value, the
[0055]
In step S803, the
[0056]
Subsequently, in step S804, after calculating the hash value, the
[0057]
Thus, according to the
[0058]
Moreover, according to the
[0059]
Further, according to the
[0060]
Further, according to the
[0061]
Further, according to the
[0062]
Further, according to the
[0063]
In addition, according to the
[0064]
Further, according to the
[0065]
(Other embodiments)
The present invention is not limited to the above embodiment, and can be implemented in various forms.
For example, it is possible to generate one verification data from JPEG image data and its additional data, and add the generated verification data to a JPEG image file.
[0066]
It is also possible to generate one piece of verification data from the RAW image data and the additional data and add the generated verification data to the RAW image file.
[0067]
Furthermore, when the recording method is the RAW + JPEG method, it is possible to add the verification data C and D to the RAW image file and not to add the verification data A and B to the JPEG image file.
[0068]
【The invention's effect】
According to the present invention, it is possible to select a verification data generation method according to a recording method of image data.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a main configuration of an imaging apparatus according to an embodiment.
FIG. 2 is a flowchart illustrating a processing procedure of the imaging apparatus according to the present embodiment.
FIG. 3 is a flowchart illustrating a processing procedure of the imaging apparatus according to the present embodiment.
FIG. 4 is a flowchart illustrating a processing procedure of the imaging apparatus according to the present embodiment.
FIG. 5 is a diagram illustrating a configuration of a JPEG image file according to the present embodiment.
FIG. 6 is a diagram showing a configuration of a RAW image file in the present embodiment.
FIG. 7 is a diagram illustrating an example of a first generation method in the present embodiment.
FIG. 8 is a diagram illustrating an example of a second generation method according to the present embodiment.
[Explanation of symbols]
DESCRIPTION OF
Claims (9)
第1の記録方式が選択されている場合は、前記画像データを不可逆な画像圧縮方式に従って圧縮して第1の圧縮画像データを生成し、第2の記録方式が選択されている場合は、前記画像データをロスレス圧縮方式に従って圧縮して第2の圧縮画像データを生成する画像圧縮手段と、
前記第1の記録方式が選択されている場合は、前記第1の圧縮画像データが改変されているか否かを検証するのに必要なデータである第1の検証データを第1の生成方法に従って生成し、前記第2の記録方式が選択されている場合は、前記第2の圧縮画像データが改変されているか否かを検証するのに必要なデータである第2の検証データを前記第1の生成方法によりも高速な第2の生成方法に従って生成する検証データ生成手段と、
前記第1の記録方式が選択されている場合は、前記第1の圧縮画像データと、前記第1の検証データとを記録媒体に記録し、前記第2の記録方式が選択されている場合は、前記第2の圧縮画像データと、前記第2の検証データとを前記記録媒体に記録する記録手段とを有することを特徴とする撮像装置。Imaging means for generating image data;
When the first recording method is selected, the image data is compressed according to an irreversible image compression method to generate first compressed image data, and when the second recording method is selected, Image compression means for compressing image data in accordance with a lossless compression method to generate second compressed image data;
When the first recording method is selected, first verification data, which is data necessary to verify whether or not the first compressed image data has been altered, is determined according to the first generation method. When the second recording method is generated and the second recording method is selected, the second verification data, which is data necessary for verifying whether or not the second compressed image data is altered, is stored in the first recording method. and verification data generation means for generating in accordance with a fast second generation method is also the method of generating,
When the first recording method is selected, the first compressed image data and the first verification data are recorded on a recording medium, and when the second recording method is selected. the second compressed image data, the image pickup apparatus, characterized in that the said second verification data to have a recording means for recording on the recording medium.
前記第2の生成方法は、前記第1のハッシュ関数よりも高速な第2のハッシュ関数を用いて前記第2の圧縮画像データから第2のハッシュ値を生成し、前記第2のハッシュ値から前記第2の検証データを生成する生成方法であることを特徴とする請求項1に記載の撮像装置。The second generation method generates a second hash value from the second compressed image data by using a second hash function that is faster than the first hash function, and uses the second hash value from the second hash value. The imaging apparatus according to claim 1, wherein the imaging apparatus is a generation method for generating the second verification data.
前記第2の記録方式が選択されている場合、前記記録手段は、前記第2の圧縮画像データと、前記第2の検証データとともに、前記第2の生成方法を示すデータを前記記録媒体に記録することを特徴とする請求項1又は2に記載の撮像装置。When the second recording method is selected, the recording unit records data indicating the second generation method on the recording medium together with the second compressed image data and the second verification data. The imaging apparatus according to claim 1 or 2, wherein
前記第2の記録方式が選択されている場合、前記記録手段は、前記第2の圧縮画像データと、前記第2の検証データとともに、前記第2の圧縮画像データの所在を示すデータを前記記録媒体に記録することを特徴とする請求項1から3のいずれか1項に記載の撮像装置。When the second recording method is selected, the recording means records the data indicating the location of the second compressed image data together with the second compressed image data and the second verification data. The image pickup apparatus according to claim 1, wherein the image pickup apparatus is recorded on a medium.
前記第2の記録方式が選択されている場合、前記検証データ生成手段は、前記第2の検証データを前記第2の生成方法に従って生成するだけでなく、前記第2の圧縮画像データに関する情報を含む第2の付加データが改変されているか否かを検証するのに必要なデータである第4の検証データを前記第2の生成方法に従って生成し、When the second recording method is selected, the verification data generation means not only generates the second verification data in accordance with the second generation method but also information on the second compressed image data. Generating fourth verification data, which is data necessary for verifying whether or not the second additional data included is altered, according to the second generation method;
前記第1の記録方式が選択されている場合、前記記録手段は、前記第1の圧縮画像データと、前記第1の検証データとともに、前記第1の付加データと、前記第3の検証データとを前記記録媒体に記録し、When the first recording method is selected, the recording means includes the first compressed image data, the first verification data, the first additional data, and the third verification data. On the recording medium,
前記第2の記録方式が選択されている場合、前記記録手段は、前記第2の圧縮画像データと、前記第2の検証データとともに、前記第2の付加データと、前記第4の検証データとを前記記録媒体に記録することを特徴とする請求項1から4のいずれか1項に記載の撮像装置。When the second recording method is selected, the recording unit includes the second compressed image data, the second verification data, the second additional data, and the fourth verification data. The image pickup apparatus according to claim 1, wherein the image pickup device is recorded on the recording medium.
前記第2の記録方式が選択されている場合、前記記録手段は、前記第2の圧縮画像データと、前記第2の検証データと、前記第2の付加データと、前記第4の検証データとともに、前記第2の付加データの所在を示すデータを前記記録媒体に記録することを特徴とする請求項5に記載の撮像装置。When the second recording method is selected, the recording unit includes the second compressed image data, the second verification data, the second additional data, and the fourth verification data. 6. The imaging apparatus according to claim 5, wherein data indicating a location of the second additional data is recorded on the recording medium.
前記検証データ生成手段は、前記第3の記録方式が選択されている場合は、前記第1の検証データを前記第1の生成方法に従って生成し、かつ、前記第2の検証データを前記第2の生成方法に従って生成し、When the third recording method is selected, the verification data generation unit generates the first verification data according to the first generation method, and generates the second verification data as the second verification data. According to the generation method of
前記記録手段は、前記第3の記録方式が選択されている場合は、前記第1の圧縮画像データと、前記第1の検証データとを前記記録媒体に記録し、かつ、前記第2の圧縮画像データと、前記第2の検証データとを前記記録媒体に記録することを特徴とする請求項1から6のいずれか1項に記載の撮像装置。The recording means records the first compressed image data and the first verification data on the recording medium when the third recording method is selected, and the second compression The image pickup apparatus according to claim 1, wherein the image data and the second verification data are recorded on the recording medium.
前記第2の圧縮画像データは、RAW画像データであることを特徴とする請求項1から8のいずれか1項に記載の撮像装置。The imaging apparatus according to claim 1, wherein the second compressed image data is RAW image data.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002277887A JP4280475B2 (en) | 2002-09-24 | 2002-09-24 | Imaging device |
CNB031575242A CN100525386C (en) | 2002-09-24 | 2003-09-23 | Image shooting device |
US10/669,289 US7415157B2 (en) | 2002-09-24 | 2003-09-24 | Image pickup apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002277887A JP4280475B2 (en) | 2002-09-24 | 2002-09-24 | Imaging device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004120116A JP2004120116A (en) | 2004-04-15 |
JP4280475B2 true JP4280475B2 (en) | 2009-06-17 |
Family
ID=32273358
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002277887A Expired - Fee Related JP4280475B2 (en) | 2002-09-24 | 2002-09-24 | Imaging device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4280475B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4560422B2 (en) * | 2005-02-16 | 2010-10-13 | キヤノン株式会社 | Imaging apparatus and control method thereof |
US7941409B2 (en) * | 2007-09-11 | 2011-05-10 | Hitachi, Ltd. | Method and apparatus for managing data compression and integrity in a computer storage system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4097773B2 (en) * | 1998-04-20 | 2008-06-11 | オリンパス株式会社 | Digital image editing system |
JP4764536B2 (en) * | 1998-11-17 | 2011-09-07 | 株式会社リコー | Image measuring equipment |
JP3550509B2 (en) * | 1999-05-26 | 2004-08-04 | 松下電器産業株式会社 | Image recording / reproducing device, image reproducing device, and unauthorized use prevention method |
JP3683766B2 (en) * | 2000-01-21 | 2005-08-17 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Image processing apparatus and method |
JP4280439B2 (en) * | 2000-11-17 | 2009-06-17 | キヤノン株式会社 | Image verification system, verification data conversion apparatus, program, and recording medium |
-
2002
- 2002-09-24 JP JP2002277887A patent/JP4280475B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004120116A (en) | 2004-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9560270B2 (en) | Moving image generating apparatus, moving image generating method, and storage medium | |
KR20120034412A (en) | Digital photographing apparatus and control method thereof | |
JPH07298112A (en) | Moving image pickup system | |
JP2015076782A (en) | Image processing device, control method therefor, and control program | |
JP6178590B2 (en) | Image processing apparatus, image processing method, program, and storage medium | |
JP2011077654A (en) | Imaging apparatus, control method thereof and program | |
JP6049425B2 (en) | Imaging apparatus, image processing apparatus, and control method | |
JP4280475B2 (en) | Imaging device | |
JP6261191B2 (en) | Display control apparatus, display control method, and program | |
JP2004112698A (en) | Imaging device | |
JP4564708B2 (en) | Imaging device | |
JP6775386B2 (en) | Imaging device, its control method, program and recording medium | |
US7415157B2 (en) | Image pickup apparatus | |
JP5836578B2 (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM | |
JP6366268B2 (en) | Imaging apparatus and control method thereof | |
JP6282136B2 (en) | Imaging apparatus and control method thereof | |
JP6501534B2 (en) | Image recording apparatus, image recording method and program | |
JP2020136823A (en) | Image processing device, imaging device, image processing method, control method for imaging device, and program | |
JP7214538B2 (en) | Imaging device and recording control method | |
JP6192319B2 (en) | Image processing apparatus and image processing method | |
JP5610860B2 (en) | Imaging apparatus and information processing apparatus | |
JP2018023033A (en) | Image data generator, image data reproduction apparatus, and image data editing device | |
JP2018019122A (en) | Image data processor and imaging apparatus | |
JP2022187301A (en) | Image capture apparatus, control method, and program | |
JP2018207418A (en) | Imaging apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050922 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080318 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080519 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090310 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090316 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120319 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130319 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140319 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |