JP2004342192A - Data recording device and recording method, and digital camera - Google Patents

Data recording device and recording method, and digital camera Download PDF

Info

Publication number
JP2004342192A
JP2004342192A JP2003135965A JP2003135965A JP2004342192A JP 2004342192 A JP2004342192 A JP 2004342192A JP 2003135965 A JP2003135965 A JP 2003135965A JP 2003135965 A JP2003135965 A JP 2003135965A JP 2004342192 A JP2004342192 A JP 2004342192A
Authority
JP
Japan
Prior art keywords
file
recording
data
dummy
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.)
Granted
Application number
JP2003135965A
Other languages
Japanese (ja)
Other versions
JP4179045B2 (en
Inventor
Shingo Takabayashi
深悟 高林
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2003135965A priority Critical patent/JP4179045B2/en
Publication of JP2004342192A publication Critical patent/JP2004342192A/en
Application granted granted Critical
Publication of JP4179045B2 publication Critical patent/JP4179045B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reproduce the recorded image data with a personal computer without finalizing or without incorporating a UDF reader. <P>SOLUTION: A CD-RW disk is initialized. The number of files to be written is decided based on a fixed image size designated by a user, a dummy file is recorded in a fixed directory structure and a file size, then the ISO9660 information is recorded, and the reading-in and reading-out are recorded. A mark indicating incomplete photographing is recorded in accessory information such as an Exif tag. Then, photographed image data is overwritten in a dummy file indicated by an incomplete photographing mark. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、書き換え可能なディスク状記録媒体を使用するデータ記録装置および記録方法、並びにディジタルカメラに関する。
【0002】
【従来の技術】
CD−R/RW(Compact Disc−Recordable/ReWritable)ディスクに対してデータを書き込む方法としては、トラックアットワンス、ディスクアットワンス、パケットライトの3種類が知られている。トラックアットワンスは、保存するデータをひとまとまりとしてトラック単位で書き込む方法である。トラック単位で書き込んだデータを、CD−ROMドライブで読めるようにするためには、ファイナライズという動作が必要である。すなわち、必要なデータをトラック単位で書き込んだ後(複数のトラックにわけて書き込んでもかまわない)、ISO9660の管理情報を作成し、セッションをクローズ(リードインとリードアウトとを書き込む)する必要がある。この状態のディスクに対して追記を行うこともできる。例えば、トラックアットワンスで新たな追記を行う場合には、データの追記を行った後に、上記、ファイナライズ動作をもう一度行う必要がある。また、ファイナライズ動作を行う際に、上記、ファイナライズ動作をもう一度行う必要がある。また、ファイナライズ動作を行う際に、これ以上の追記を禁止するように書き込むパラメータを設定することにより、追記禁止マークが記録され、追記できなくなる。トラックアットワンスで記録されたCD−Rディスクは、適切なファイナライズ動作を行うことにより、基本的にどのCD−ROM(Compact Disc−Read Only Memory)ドライブによっても読み出すことが可能となる。
【0003】
ディスクアットワンスの方法は、リードインからリードアウトまでを一気に書き込む方法である。したがって、ディスクアットワンスで書き込むためには、新しいディスクしか使用できず、一度データを書き込むと、それ以上データを記録することができず、データの改変も不可能である。データの配布・永久保存用として使用できる。
【0004】
パケットライト方法は、UDF(Universal Disc Format) フォーマットを使用して記録するデータをパケットと呼ばれる単位に分割して保存する方法である。パケットライト方式には、二種類の書き込み方式がある。ランダムライト方式とシーケンシャルライト方式である。ランダムライト方式とは、ディスクを、アドレス管理ビットマップを用いて管理し、その単位ごとに、書き込みを行う方式であり、書き込みアドレスは単調増加や単調減少のようにならず、その時々によりランダムなものとなる。シーケンシャルライトは、ディスクの内周から外周に向かって、一方向に書き込まれる方式である。一般的に、ランダムライト方式は、パケットの長さは固定長(64kバイト)であり、シーケンシャルライトは、可変長で行われる。CD−Rディスクは、一度記録した場合には、たとえデータを消去しても二度と書き込めなくなるので、シーケンシャルライト方式が採用され、CD−RWディスクの場合では、同じ場所に繰り返して書き込むことができるので、ランダムライト・シーケンシャルライトのどちらも採用できる。また、パケットライトを行うには、パケットライトソフトウェアを必要とし、読み出しのためにもソフトウェアを必要とする。(シーケンシャルライト方式で、ファイナライズした場合を除く)さらに、パケットライトで記録するときは、まず、CD−R/RWディスクをイニシャライズすることが必要とされる。イニシャライズ後では、マイコンピュータや、エクスプローラの画面でファイルをドラグ・アンド・ドロップするだけで簡単にデータを記録・削除することができる。
【0005】
パケットライト方法で記録されたCD−RWディスクを他のウインドウズ(登録商標)95/98パーソナルコンピュータのCD−ROMドライブでデータを読み出すために、二つの方法が可能である。一つは、UDFフォーマットを理解できる、UDFリーダ等の読み取り専用ソフトウェアを組み込むことによってデータを読み出す方法である。他の一つは、ファイナライズ処理を行い、セッションをクローズすると共に、CD−ROMのボリュームおよびファイルの構造を規定する規格であるISO9660と互換の情報を書き込んだデータベースを作成する方法である。この場合では、何もしないでもCD−ROMドライブでデータを読み出せる。リードインエリアおよびリードアウトエリアを記録することによって、セッションがクローズされる。
【0006】
CD−ROMのファイル構造については、下記の文献に説明されている。
【0007】
【非特許文献1】
中島 平太郎外1名,”図解コンパクトディスク読本(改訂3版)”,平成13年3月25日、株式会社オーム社,p.146−151
【0008】
【発明が解決しようとする課題】
上述した方法は、CD−RWディスクを記憶媒体に持つデジタルカメラにおいて、撮影したCD−RWディスクを取り出し、CD−RWディスク上のデータをパーソナルコンピュータに取り込むために、ファイナライズ、またはパーソナルコンピュータへのソフトのインストールを必要とし、時間的、メディアの容量面で、非常に利便性を損ねていた。
【0009】
したがって、この発明の目的は、ファイナライズ動作を行わずに、パーソナルコンピュータですばやく画像を取り込むことができ、また、ソフトウェアをインストールすることなく画像を取り込むことができるデータ記録装置および記録方法、並びにディジタルカメラを提供することにある。
【0010】
【課題を解決するための手段】
上述した課題を解決するために、請求項1の発明は、書き換え可能なディスク状記録媒体を使用するデータ記録装置において、
予め決定した固定のディレクトリ構造とファイルサイズを規定する管理情報を記録し、
管理情報により規定されるファイルサイズおよびディレクトリ構造を有する、複数のダミーファイルを記録し、
管理情報およびダミーファイルに対してリードインおよびリードアウトを記録し、
ダミーファイルに対して記録画像ファイルを上書きするようにしたデータ記録装置である。
【0011】
請求項5の発明は、書き換え可能なディスク状記録媒体を使用するデータ記録方法において、
予め決定した固定のディレクトリ構造とファイルサイズを規定する管理情報を記録するステップと、
管理情報により規定されるファイルサイズおよびディレクトリ構造を有する、複数のダミーファイルを記録するステップと、
管理情報およびダミーファイルに対してリードインおよびリードアウトを記録するステップと、
ダミーファイルに対して記録画像ファイルを上書きするステップとからなるデータ記録方法である。
【0012】
請求項9の発明は、書き換え可能なディスク状記録媒体に対して撮影画像データを記録するようにしたディジタルカメラにおいて、
撮像素子と、撮像素子で生じた撮像信号を処理する信号処理部と、信号処理部からの撮像信号を記憶するバッファメモリと、初期化されたディスク状記録媒体に対して撮影画像データを記録する記録手段と、制御装置とを備え、
初期化の処理は、
予め決定した固定のディレクトリ構造とファイルサイズを規定する管理情報を記録し、
管理情報により規定されるファイルサイズおよびディレクトリ構造を有する、複数のダミーファイルを記録し、
管理情報およびダミーファイルに対してリードインおよびリードアウトを記録するものであり、
ダミーファイルに対して撮像画像ファイルを上書きするようにしたディジタルカメラである。
【0013】
この発明では、ファイルサイズが固定のダミーファイルを記録し、管理情報例えばCD−ROMのボリュームおよびファイル構造であるISO9660互換の情報を記録し、さらに、リードインとリードアウトを記録する。このようなイニシャライズ処理を行っておき、記録すべき画像ファイルをダミーファイルに対して上書きする。記録後のディスク状記録媒体は、ISO9660の規格に合ったものであり、CD−ROMドライブを備えるパーソナルコンピュータによって読み取り可能である。
【0014】
【発明の実施の形態】
以下、この発明の一実施形態について説明する。図1を参照して最初にISO9660(Information processing−Volume and file structure of CD−ROM for information interchange)について概略的に説明する。ISO9660は、CD−ROMのボリュームおよびファイル構造を規定する国際規格である、ISO9660を採用したCD−ROMディスクでは、ディスクの内周のリードインエリアの直後から2kBを単位としてLBN(Logical Block Number)が0から順に割り振られている。LBN=0の位置は、オーディオ用CDの00分02秒00フレームの位置に相当する。
【0015】
図1に示すように、LBN=0〜15がシステムエリアと規定されている。LBN=16からデータエリアの最後を示す値から150引いた値までがCD−ROMのデータの存在する範囲である。LBN=16が最初の位置であり、ISO9660のファイル構造を持つCD−ROMディスクは、このLBN=16から始まる情報が読まれる。
【0016】
LBN=16から始まる情報は、ボリュームディスクリプタ(VD:ボリューム記述子)と呼ばれる。ボリュームディスクリプタには、大きく分けて5個の記述子のタイプがあり、その中でも最も重要なものが主ボリュームディスクリプタ(PVD)と呼ばれる。図1は、ルートディレクトリに対してファイル1およびサブディレクトリ1が存在し、サブディレクトリ1に対してファイル2が存在する階層構造を想定している。
【0017】
主ボリュームディスクリプタ(PVD)には、VDのタイプ、ファイルフォーマットの識別、ボリュームの大きさ、何番目のCD−ROMか、論理ブロックの大きさ、パステーブルの大きさ、パステーブルのアドレス1、パステーブルのアドレス2、ルートディレクトリレコード等の情報が含まれている。主ボリュームディスクリプタ(PVD)によってボリュームの属性、ルートディレクトリの位置、パステーブルの位置、ボリューム数が指定される。
【0018】
さらに、ボリュームディスクリプタには、副ボリームディスクリプタ(SVD)、ボリーム区画ディスクリプタ、起動レコード、ボリュームディスクリプタ集合終端子がある。図1の例では、LBN=Vがパステーブルの位置であり、LBN=Wにルートディレクトリの実体が存在し、LBN=Xにファイル1の実体が存在し、LBN=Yにディレクトリ1の実体が存在し、LBN=Zにファイル2の実体が存在することが示されている。
【0019】
図2は、この発明が適用されるディジタルカメラの構成の一例を示す。参照符号1で示すレンズ装置を介して被写体光が撮像素子例えばCCD(Charge Coupled Device)1に入射される。CCD1の撮像信号がサンプルホールド回路3に供給される。サンプルホールド回路3は、例えば相関二重サンプリングを行う。サンプルホールド回路3の出力信号がA/Dコンバータ4に供給され、ディジタル撮像信号に変換される。A/Dコンバータ4の出力ディジタル信号が撮像信号処理部5に供給される、RGB信号からYUV信号への変換、ガンマ補正等の処理を受ける。
【0020】
参照符号6がシステム制御および画像データの圧縮エンコーダ用のCPU(Central Processing Unit) を示す。例えばCPU6によってJPEG(Joint Photographic Experts Group)の符号化がなされる。CPU6に対してシャッターボタン検出器7の検出信号が入力され、また、表示装置例えばLCD(Liquid Crystal Display)8が接続されている。LCD8は、撮像時に画像を表示して画角を決めるために使用され、また、撮像画像を表示するのに使用され、さらに、操作メニューを表示するのに使用される。さらに、図示しないが、CPU6に対して、キー等の入力装置が接続されている。
【0021】
CPU6のCPUバスに対してバッファ用のRAM(Randam Access Memory)9、プログラムが格納されているROM(Read Only Memory)10およびドライブコントローラ11が接続されている。ドライブコントローラ11は、ディスクドライブを制御するブロックである。ディスクドライブは、書き込み可能な光ディスク例えばCD−R/Wディスク12をスピンドルモータ13によって回転する構成とされている。CD−R/Wディスク12として、直径が12cmのディスクに限らず、直径が8cmのディスクを使用できる。
【0022】
図2に示すディジタルカメラは、シャッターボタンを押すことによって1枚のディジタル画像がバッファRAM9に取り込まれ、CPU6によって圧縮符号化の処理がなされ、例えばJPEGで圧縮された圧縮画像が生成され、圧縮画像がバッファRAM9に格納される。ユーザのスイッチ操作、またはプログラムによって、圧縮画像がドライブコントローラ11を介してディスクドライブに供給され、CD−RWディスク12に対して書き込まれる。CD−RWディスク12に対する書き込み処理は、パケットライト方式またはトラックアットワンス方式が使用してなされる。
【0023】
上述したディジタルカメラにおいて、CD−RWディスク12を使用するためには、CD−RWディスク12をイニシャライズする必要がある。イニシャライズは、ディジタルカメラまたはCD−RWドライブを備え、ディジタルカメラに同梱された専用のソフトウェアが組み込まれたパーソナルコンピュータによってなされる。CD−RW ディスクのイニシャライズ動作を行う際に、撮影したい画サイズ(例えば1600×1200)をユーザに設定してもらい、その指定画サイズにおけるファイルサイズ(例えば1Mバイト)をカメラ側で一意に決めることにより、各画像エリアのサイズAを決定する。メディアの容量により、撮影可能枚数Bが決まる。撮影したい画サイズは、複数のものが用意されており、上述したもの以外をユーザが選択できるようにされている。
【0024】
その後CD−RWディスク12のイニシャライズを行うが、その際に、以下のようにデータを書き込む。
【0025】
リードインエリアには、CD−RWの規格(OrangeBook)に従い、作成したトラックの情報を書き込む。この情報は、一般的にTOC(Table Of Contents)と呼ばれている。トラック1には、ISO9660 形式に準拠した形で、最初に決定した固定値を用いて、ディレクトリ構造、各画像のファイル名・記録日付・ファイルサイズA等を書き込む。このISO9660互換の情報部分は、撮影とともに書き換えたりしないので、ファイル名や、ファイル作成日時、ファイルサイズ等は、ここで書き込んだデータによる固定のものとなる。以下において、ISO9660情報の用語は、ISO9660互換の情報を意味するものとして使用している。
【0026】
トラック2には、実際にトラック1で決めた情報を元に、画像ファイルをB枚書き込む。書き込み形式は、1 トラック内にパケットトライトでB枚分書き込んでもいいし、B<98であれば、ダミーファイルを各1トラック単位にしても良い。B<98は、トラックナンバーが99を最大値とするために必要な条件である。但し、ダミーファイルを1トラック単位にして書き込むと、トラック間のプリギャップ分だけ無駄が生じる。
【0027】
予め記憶しておく画像ファイルは、パーソナルコンピュータで取り込んだときに、撮影していない画像、すなわち、ダミー画像であることが簡単に判別できるようなJPEG画像ファイルとする。例えば全面黒の画像データである。なお、イニシャライズ直後にパーソナルコンピュータで読み込むと、ダミーの画像ファイルをみることができる。
【0028】
また、JPEGデータをExifファイル形式で保存することにより、付属情報としてのExifタグの中のベンダーユニークなタグを利用して、撮影されているかどうかの付加情報や、サイズAの情報を付与しておく。Exifは、ディジタルスチルカメラ用画像ファイルフォーマット規格である。なお、このタグには撮影日時等の情報を記録しておくエリアもあり、これを利用して正確な撮影日時を保存することができる。ディジタルカメラ等のセット上では、ISO9660 情報のファイル作成日時を使うのではなく、Exifタグ内の撮影日時を表示するようにしても良い。リードアウトエリアには、CD−RW の規格(OrangeBook)に従い、記録を行う。
【0029】
図3Aは、イニシャライズ終了時のディスクの状態の一例を示す。全てのダミーファイル(イメージ1〜イメージN)を1トラック(トラック2)内にパケットライト方法で書き込んだ場合を示す。図3Bは、イニシャライズ終了時のディスクの状態の他の例を示す。図3Bは、1ダミーファイル毎に別トラックに書き込んだ場合、すなわち、トラックアットワンスでダミーファイルを書き込んだ場合を示している。各イメージエリアは、それぞれのイメージエリアのサイズが等しくAとされている。
【0030】
図4は、イニシャライズ動作の流れを示すフローチャートである。ステップS1から開始して、ステップS2において、ユーザ指定の画サイズ(例えば1600×1200)から1ファイルサイズが決定される。ステップS3において、メディア容量から撮影枚数が決定される。書き込み方式に応じて撮影枚数を求めるための計算に調整を加える。ステップS4において、ファイル名・ディレクトリ構造が決定される。一実施形態は、ディジタルスチルカメラであるので、静止画ファイルがカメラファイルシステム規格DCF(Design rule for Camera File system)にしたがったファイル配置、ファイルフォーマットとされている。
【0031】
ステップS5において、ISO9660情報を書き込むトラック1が予約される。ステップS6において、決定したファイルサイズのダミーファイルを作成する。一例としてExifファイル形式とする。また、Exifタグの中でメーカが自由に使用できるタグを用いて、未撮影を意味するマークを記録しておく。さらに、ダミー画像ファイルは、一目でダミーとわかる内容が望ましい。上述したように、例えば全面が黒の画像ファイルが使用される。
【0032】
ステップS7では、2トラック以降にダミーファイルを書き込む。書き込み方法は、任意であり、パケットライトでも、トラックアットワンスの何れでも良い。ステップS8において、ステップS3で決定された撮影枚数分繰り返したかどうかが判定される。撮影枚数分繰り返していなければ、処理がステップS6(ダミーファイルの作成)に戻る。
【0033】
ステップS8において、撮影枚数分繰り返していると判定されると、ステップS9において、予約トラック1に上記の書き込んだファイル名・ディレクトリ構造でISO9660情報を書き込む。そして、リードインエリア(TOC)およびリードアウトエリアを適切に書き込むことによって、セッションをクローズする。
【0034】
図5は、パケットライト方式でダミーファイルを書き込んだ時に、イニシャライズ時に設定するISO9660情報の一例を示す。図5は、DCFの規格に準じた静止画ファイルフォーマットの例であり、ルートディレクトリの直下にディレクトリ名DCIM(Digital Camera IMages)のDCFイメージルートディレクトリが存在する。DCIMの直下にDCFディレクトリが存在する。DCFディレクトリは、DCFオブジェクトを格納するためのディレクトリである。
【0035】
図5では、100MSDCFのディレクトリが示されている。このディレクトリに対して、複数の静止画ファイルDSC00001.JPG,DSC00002.JPG,・・・・が存在している。この例では、DSCがディジタルスチルカメラによる静止画ファイルを表し、拡張子JPGがJPEG形式のファイルであることを表す。
【0036】
上述したようなディレクトリ構造でファイルを格納する場合のISO9660情報の一例について説明する。LBN=0〜15がシステムエリアと規定されている。LBN=16からデータエリアの最後を示す値から150引いた値までがCD−ROMのデータの存在する範囲である。LBN=16が最初の位置であり、ISO9660のファイル構造を持つCD−ROMディスクは、このLBN=16から始まる情報が読まれる。
【0037】
LBN=16から始まる情報は、ボリュームディスクリプタ(VD:ボリューム記述子)と呼ばれる。ボリュームディスクリプタには、大きく分けて5個の記述子のタイプがあり、その中でも最も重要なものが主ボリュームディスクリプタ(PVD)と呼ばれる。
【0038】
主ボリュームディスクリプタ(PVD)には、VDのタイプ、ファイルフォーマットの識別、ボリュームの大きさ、何番目のCD−ROMか、論理ブロックの大きさ、パステーブルの大きさ、パステーブルのアドレス1、パステーブルのアドレス2、ルートディレクトリレコード等の情報が含まれている。主ボリュームディスクリプタ(PVD)によってボリュームの属性、ルートディレクトリの位置、パステーブルの位置、ボリューム数が指定される。
【0039】
さらに、ボリュームディスクリプタには、副ボリームディスクリプタ(SVD)、ボリーム区画ディスクリプタ、起動レコード、ボリュームディスクリプタ集合終端子がある。図1の例では、LBN=Aがパステーブルの位置であり、LBN=Bにルートディレクトリの実体が存在し、LBN=CにDCIMディレクトリの実体が存在し、LBN=Dに100MSDCFのディレクトリの実体が存在する。この100MSDCFのディレクトリの実体までがトラックアットワンスでもってトラック1として記録される。
【0040】
次に、パケットライト方式で複数のダミーファイルDSC00001.JPG,DSC00002.JPG,・・・・が書かれる。各ファイルの実体がLBN=E,LBN=F,LBN=G,・・・に存在していることが100MSDCFのディレクトリによって示されている。
【0041】
図6は、イニシャライズ時にダミーファイルをトラックアットワンス方式で記録する場合に、設定されるISO9660情報の一例を示す。ディレクトリ構造は、図5の場合と同様の例である。トラック1に対してトラックアットワンスで必要な情報を記録することは、図5の例と同様である。ダミーファイルを記録する場合に、トラックアットワンスでトラック3,トラック4,・・・に対してそれぞれダミーファイルが書かれる。
【0042】
次に、CPU6によって制御されるディスク情報初期化処理について、図7のフローチャートを参照して説明する。ステップS21では、ディジタルカメラにCD−RWディスクをセットした時になされる一般的な初期化動作がなされる。例えばセットされたディスクのリードインエリアのTOCの読み込みがなされる。次のステップS22において、ISO9660情報の読み込みがなされる。各ファイルの先頭のアドレスを記憶し、また、ISO9660情報のファイルサイズから各ファイルの固定サイズを取得する。
【0043】
ステップS23において、各ファイルの付属情報例えばExifタグの情報を読み出し、各画像エリアの未撮影マークの有無を確認する。未撮影の画像エリアは、ダミーファイルを記録した空きエリアである。ステップS24において、未撮影マークの数を、残り撮影可能枚数に設定し、初期化処理を終了する。なお、ステップS23において、全ての画像エリアに撮影マークが付加されている場合には、残り撮影可能枚数の表示が0とされる。この場合、ディスクが一杯である旨の警告のメッセージの表示または音声の再生を行うようにしても良い。
【0044】
図8は、CPU6によって制御される撮影動作の流れを示すフローチャートである。ステップS31において、シャッターボタンの押し下げがなされたか否かが検出される。シャッターボタンの押し下げが検出されると、ステップS32において、CCD1からの画像信号の読み出しがなされる。
【0045】
画像エリアのサイズが固定であるので、ステップS33において、撮影画像信号が画像エリア内に収まるように、JPEGの圧縮率が設定される。そして、ステップS34において、JPEG符号化がなされる。ステップS35において、符号化データのファイルサイズが計算される。ステップS36において、(撮影した画像ファイルのサイズ>固定サイズ)か否かが判定される。
【0046】
ステップS36の判定結果が肯定、すなわち、画像ファイルのサイズが大きすぎると判定されると、ステップS37においてJPEGの圧縮率を上げる。圧縮率を上げることは、圧縮後のファイルのサイズをより小とすることである。そして、ステップS34のJPEG符号化がなされる。画像ファイルのサイズが固定サイズ内に収まると判定されるまで、圧縮率が変更される。ステップS36の判定において、画像ファイルのサイズが固定サイズより小であると判定されると、ステップS38において、未撮影マークの付いているファイルに対して符号化画像データファイルが上書きされる。符号化画像データの書き込みは、ダミーファイルの書き込み方式と同じ方法でなされる。そして、上書きされたダミーファイルに関する未撮影マークが撮影マークに変更される。
【0047】
一例として、ステップS33では、平坦な画像等のJPEGで符号化した時に比較的発生データ量が少ない画像を想定した所定の圧縮率が設定される。この場合、撮影画像信号を解析することによって、自動的に適切な圧縮率を設定することも可能である。そして、ステップS36およびS37によって、なるべく高い圧縮率が設定されるようになされる。これは、圧縮率が低い方が一般的に復号画像の画質が良好なためである。
【0048】
なお、CD−RWディスクの場合、ディスク上に物理的な欠陥がある場合には、その部分には記録ができないので、その部分が含まれるエリアをとばして、次のエリアに書き込むこととする。
【0049】
図9Aは、サイズAを有する画像エリアにJPEG符号化データとExifタグのデータとが記録され、エリアの後ろ側に空き部分が生じた場合に、ゼロデータでパディングした例を示す。一方、図9Bは、JPEG符号化データとExifタグのデータとがサイズAを有する画像エリアに丁度配置されている例である。
【0050】
この発明の一実施形態において、画像を消去する際には、いくつかの方法が考えられる。第1の方法は、該当する画像エリアのExifタグ情報部分に、消去マークを埋めこむ方法である。この方法では、消去したはずの画像がパーソナルコンピュータで見えてしまう。第2の方法は、該当する画像エリアのExifタグ情報部分に、未撮影マークを埋め込むとともに、画像データの部分にも、全面黒等の無効画像を書き込んでおく方法である。この方法では、消去した画像がパーソナルコンピュータで見えることがない。なお、画像ファイルの全てではなく、適当数消去しても良く、また、再度、イニシャライズすることによって、メディアを再使用することが可能となる。
【0051】
この発明は、上述したこの発明の一実施形態等に限定されるものでは無く、この発明の要旨を逸脱しない範囲内で様々な変形や応用が可能である。例えば画像データの形式としては、JPEG以外のBMP,GIF,TIFF,PCX等の形式が可能である。また、ディジタルカメラの構成としては、圧縮画像の符号化をハードウェアの構成によって行うようにしても良く、撮像信号を蓄積するメモリと圧縮画像信号を蓄積するメモリとを別の構成としても良い。さらに、ディジタルカメラは、可搬型コンピュータ(所謂ノート型コンピュータ)、携帯電話等に設けられたものであっても良い。さらに、ディスク状記録媒体は、CD−RW等の相変化型ディスクに限らず、光磁気記録ディスク等を使用しても良い。
【0052】
【発明の効果】
以上の説明から明らかなように、この発明によれば、画像データの記録後にファイナライズ動作を行わずに、パーソナルコンピュータで直ちに画像を取り込むことができ、便利である。また、この発明では、ファイナライズをするたびに容量が失われることもなく、容量的にも有利である。さらに、ファイナライズにかかる時間も必要なくなる。
【0053】
また、この発明によれば、パーソナルコンピュータにUDFリーダ等のソフトウェアをインストールすることなく画像を取り込むことができる。一般的なCD−ROMドライブを備えているパーソナルコンピュータであれば、ほぼ何もしないで画像を取り込むことができる。
【0054】
この発明では、CD−RWのパケットライト方式を利用する場合に、UDFファイルフォーマットを実装しなくても良い。また、ダミーファイル部分に画像ファイルを上書きをする際に、1パケットで書き込むようにすれば、パケットライト方式以前に製造された、CD−ROMドライブにおいても、画像ファイルを読み出せる可能性が高い。これは、1ファイルがパケットライト方式に特有なリンクブロックをはさむような2 つの領域に分かれていないためである。
【図面の簡単な説明】
【図1】この発明に使用するISO9660の概略を説明するための略線図である。
【図2】この発明によるディジタルカメラの構成の一例を示す略線図である。
【図3】この発明の一実施形態において、イニシャライズ終了時のディスクの状態を説明するための略線図である。
【図4】この発明の一実施形態において、イニシャライズ処理の流れを示すフローチャートである。
【図5】この発明の一実施形態において、画像エリアをパケットライトの方式で書くようにしたイニシャライズ時に設定するISO9660情報の例を示す略線図である。
【図6】この発明の一実施形態において、画像エリアをトラックアットワンスの方式で書くようにしたイニシャライズ時に設定するISO9660情報の例を示す略線図である。
【図7】この発明の一実施形態において、ディジタルカメラのディスク情報初期化処理の流れを示すフローチャートである。
【図8】この発明の一実施形態において、ディジタルカメラの撮影動作の流れを示すフローチャートである。
【図9】この発明の一実施形態において、画像エリアに画像データを書いた状態を示す略線図である。
【符号の説明】
1・・・CCD、6・・・CPU、11・・・ドライブコントローラ、12・・・CD−RWディスク
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a data recording device and a recording method using a rewritable disk-shaped recording medium, and a digital camera.
[0002]
[Prior art]
As a method of writing data to a CD-R / RW (Compact Disc-Recordable / ReWritable) disc, three types of track-at-once, disc-at-once, and packet write are known. Track-at-once is a method of writing data to be saved as a unit in a track unit. An operation called finalization is necessary so that data written in track units can be read by a CD-ROM drive. That is, after writing necessary data in track units (it may be written in a plurality of tracks), it is necessary to create management information of ISO9660 and close the session (write lead-in and lead-out). . Additional writing can be performed on the disk in this state. For example, in a case where new additional recording is performed by track-at-once, it is necessary to perform the above-mentioned finalizing operation again after performing additional recording of data. When performing the finalizing operation, it is necessary to perform the finalizing operation again. In addition, when the finalizing operation is performed, by setting a write parameter so as to prohibit further additional writing, an additional writing prohibition mark is recorded and additional writing cannot be performed. A CD-R disc recorded by track-at-once can be read by basically any CD-ROM (Compact Disc-Read Only Memory) drive by performing an appropriate finalizing operation.
[0003]
The disc-at-once method is a method of writing from lead-in to lead-out at once. Therefore, only a new disk can be used for writing at disk-at-once, and once data has been written, no more data can be recorded and data cannot be modified. Can be used for data distribution and permanent storage.
[0004]
The packet write method is a method of dividing data to be recorded using a UDF (Universal Disc Format) format into units called packets and storing the data. There are two types of packet writing methods. There are a random write method and a sequential write method. The random write method is a method in which a disk is managed using an address management bitmap, and writing is performed for each unit, and the write address does not become monotonically increasing or decreasing, but becomes more random at times. It will be. Sequential write is a method in which data is written in one direction from the inner circumference to the outer circumference of a disk. Generally, in the random write method, the packet length is fixed length (64 kbytes), and the sequential write is performed in a variable length. CD-R discs, once recorded, cannot be written again even if data is erased. Therefore, a sequential write method is adopted. In the case of a CD-RW disc, data can be repeatedly written in the same place. , Random write and sequential write. In addition, packet writing requires packet writing software, and also requires software for reading. (Excluding the case where the disc is finalized by the sequential write method) Further, when recording by packet writing, it is necessary to first initialize the CD-R / RW disc. After initialization, you can easily record and delete data simply by dragging and dropping files on the screen of My Computer or Explorer.
[0005]
In order to read data from a CD-RW disc recorded by the packet write method using a CD-ROM drive of another Windows (registered trademark) 95/98 personal computer, two methods are possible. One is a method of reading data by incorporating read-only software such as a UDF reader that can understand the UDF format. Another method is to perform a finalizing process, close the session, and create a database in which information compatible with ISO9660, which is a standard that defines the volume and file structure of the CD-ROM, is written. In this case, data can be read by the CD-ROM drive without doing anything. The session is closed by recording the lead-in and lead-out areas.
[0006]
The file structure of the CD-ROM is described in the following document.
[0007]
[Non-patent document 1]
Heitaro Nakajima, one other, "Illustrated Compact Disc Reader (Revised 3rd Edition)", March 25, 2001, Ohmsha, p. 146-151
[0008]
[Problems to be solved by the invention]
The above-described method is to use a digital camera having a CD-RW disc as a storage medium to take out the photographed CD-RW disc and import the data on the CD-RW disc to a personal computer, so as to finalize the data or to execute the software to the personal computer. It required installation and was very inconvenient in terms of time and media capacity.
[0009]
Therefore, an object of the present invention is to provide a data recording apparatus and a recording method which can quickly capture an image with a personal computer without performing a finalizing operation, and can capture an image without installing software, and a digital camera. Is to provide.
[0010]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the invention of claim 1 provides a data recording device using a rewritable disk-shaped recording medium,
Record management information that defines a predetermined fixed directory structure and file size,
Record a plurality of dummy files having a file size and a directory structure defined by management information,
Record lead-in and lead-out for management information and dummy file,
This is a data recording device in which a recording image file is overwritten on a dummy file.
[0011]
The invention according to claim 5 is a data recording method using a rewritable disk-shaped recording medium,
Recording management information defining a predetermined fixed directory structure and file size;
Recording a plurality of dummy files having a file size and a directory structure defined by management information;
Recording lead-in and lead-out for management information and dummy files;
Overwriting a dummy file with a recording image file.
[0012]
According to a ninth aspect of the present invention, there is provided a digital camera which records captured image data on a rewritable disc-shaped recording medium,
An image sensor, a signal processing unit for processing an image signal generated by the image sensor, a buffer memory for storing an image signal from the signal processor, and recording of captured image data on an initialized disk-shaped recording medium Recording means, and a control device,
The initialization process is
Record management information that defines a predetermined fixed directory structure and file size,
Record a plurality of dummy files having a file size and a directory structure defined by management information,
It records lead-in and lead-out for management information and dummy files,
This is a digital camera in which a captured image file is overwritten on a dummy file.
[0013]
According to the present invention, a dummy file having a fixed file size is recorded, management information such as a CD-ROM volume and information conforming to ISO9660 which is a file structure is recorded, and further, lead-in and lead-out are recorded. Such initialization processing is performed, and the image file to be recorded is overwritten on the dummy file. The disc-shaped recording medium after the recording conforms to the standard of ISO9660 and can be read by a personal computer having a CD-ROM drive.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described. Referring first to FIG. 1, an outline of ISO 9660 (Information processing-Volume and file structure of CD-ROM for information interchange) will be given first. ISO9660 is an international standard that defines the volume and file structure of a CD-ROM. For a CD-ROM disc that adopts ISO9660, a logical block number (LBN) is set in units of 2 kB immediately after a lead-in area on the inner circumference of the disc. Are allocated in order from 0. The position of LBN = 0 corresponds to the position of 00:02:00 frame of the audio CD.
[0015]
As shown in FIG. 1, LBN = 0 to 15 is defined as a system area. The range from LBN = 16 to the value obtained by subtracting 150 from the value indicating the end of the data area is the range in which the data of the CD-ROM exists. LBN = 16 is the first position, and information starting from LBN = 16 is read from a CD-ROM disc having the file structure of ISO9660.
[0016]
Information starting from LBN = 16 is called a volume descriptor (VD: volume descriptor). Volume descriptors are roughly divided into five types of descriptors, and the most important one is called a main volume descriptor (PVD). FIG. 1 assumes a hierarchical structure in which file 1 and subdirectory 1 exist for the root directory, and file 2 exists for subdirectory 1.
[0017]
The main volume descriptor (PVD) includes a VD type, file format identification, volume size, CD-ROM number, logical block size, path table size, path table address 1, path Information such as the address 2 of the table and the root directory record is included. The attributes of the volume, the position of the root directory, the position of the path table, and the number of volumes are specified by the main volume descriptor (PVD).
[0018]
Further, the volume descriptor includes a sub-volume descriptor (SVD), a volume partition descriptor, a start record, and a volume descriptor set terminator. In the example of FIG. 1, LBN = V is the position of the path table, the entity of the root directory exists at LBN = W, the entity of file 1 exists at LBN = X, and the entity of directory 1 exists at LBN = Y. It indicates that the file 2 exists at LBN = Z.
[0019]
FIG. 2 shows an example of the configuration of a digital camera to which the present invention is applied. Subject light is incident on an image sensor, for example, a CCD (Charge Coupled Device) 1 via a lens device denoted by reference numeral 1. An image signal of the CCD 1 is supplied to the sample and hold circuit 3. The sample hold circuit 3 performs, for example, correlated double sampling. An output signal of the sample hold circuit 3 is supplied to an A / D converter 4 and converted into a digital image signal. The output digital signal of the A / D converter 4 is supplied to the imaging signal processing unit 5, and undergoes processing such as conversion from RGB signals to YUV signals, gamma correction, and the like.
[0020]
Reference numeral 6 denotes a CPU (Central Processing Unit) for system control and a compression encoder for image data. For example, the CPU 6 encodes JPEG (Joint Photographic Experts Group). A detection signal of the shutter button detector 7 is input to the CPU 6, and a display device such as an LCD (Liquid Crystal Display) 8 is connected to the CPU 6. The LCD 8 is used to display an image at the time of imaging and determine an angle of view, is used to display a captured image, and is used to display an operation menu. Further, although not shown, an input device such as a key is connected to the CPU 6.
[0021]
A buffer RAM (Random Access Memory) 9, a ROM (Read Only Memory) 10 storing a program, and a drive controller 11 are connected to a CPU bus of the CPU 6. The drive controller 11 is a block that controls a disk drive. The disk drive is configured to rotate a writable optical disk, for example, a CD-R / W disk 12, by a spindle motor 13. The CD-R / W disc 12 is not limited to a disc having a diameter of 12 cm, and a disc having a diameter of 8 cm can be used.
[0022]
In the digital camera shown in FIG. 2, when a shutter button is pressed, one digital image is fetched into the buffer RAM 9, compression-encoded by the CPU 6, and a compressed image compressed by, for example, JPEG is generated. Is stored in the buffer RAM 9. The compressed image is supplied to the disk drive via the drive controller 11 and written on the CD-RW disk 12 by a user's switch operation or a program. The writing process to the CD-RW disc 12 is performed by using the packet write method or the track-at-once method.
[0023]
In order to use the CD-RW disc 12 in the digital camera described above, the CD-RW disc 12 needs to be initialized. The initialization is performed by a personal computer equipped with a digital camera or a CD-RW drive and incorporating dedicated software bundled with the digital camera. When performing the initialization operation of the CD-RW disc, the user sets a picture size (for example, 1600 × 1200) to be photographed, and the camera uniquely determines a file size (for example, 1 Mbyte) in the designated picture size. Thus, the size A of each image area is determined. The number B of shootable images is determined by the capacity of the medium. A plurality of image sizes to be photographed are prepared, and the user can select a size other than those described above.
[0024]
After that, the CD-RW disc 12 is initialized. At this time, data is written as follows.
[0025]
In the lead-in area, information on the created track is written in accordance with the CD-RW standard (Orange Book). This information is generally called TOC (Table Of Contents). In the track 1, a directory structure, a file name, a recording date, a file size A, etc. of each image are written using a fixed value determined first in conformity with the ISO9660 format. Since the information portion compatible with ISO9660 is not rewritten at the time of shooting, the file name, file creation date and time, file size, and the like are fixed by the data written here. In the following, the term ISO9660 information is used to mean information compatible with ISO9660.
[0026]
On track 2, B image files are written based on the information actually determined on track 1. As a writing format, B tracks may be written in one track by packet writing, or if B <98, a dummy file may be written in units of one track. B <98 is a condition necessary for the track number to have a maximum value of 99. However, if the dummy file is written in units of one track, a waste occurs by the pre-gap between tracks.
[0027]
The image file stored in advance is a JPEG image file that can be easily identified as an image that has not been shot when captured by a personal computer, that is, a dummy image. For example, the image data is entirely black image data. It should be noted that when read by a personal computer immediately after initialization, a dummy image file can be viewed.
[0028]
Also, by storing JPEG data in the Exif file format, additional information on whether or not the image has been shot and information on the size A have been added by using a vendor-unique tag in the Exif tag as attached information. deep. Exif is an image file format standard for digital still cameras. Note that this tag also has an area for recording information such as the shooting date and time, and the accurate shooting date and time can be stored using this area. On a set such as a digital camera, the shooting date and time in the Exif tag may be displayed instead of using the file creation date and time of the ISO9660 information. In the lead-out area, recording is performed according to the CD-RW standard (Orange Book).
[0029]
FIG. 3A shows an example of the state of the disk at the end of the initialization. This shows a case where all dummy files (image 1 to image N) are written in one track (track 2) by the packet write method. FIG. 3B shows another example of the state of the disc at the end of the initialization. FIG. 3B shows a case where data is written to another track for each dummy file, that is, a case where a dummy file is written by track-at-once. In each image area, the size of each image area is equal to A.
[0030]
FIG. 4 is a flowchart showing the flow of the initialization operation. Starting from step S1, in step S2, one file size is determined from the image size specified by the user (for example, 1600 × 1200). In step S3, the number of shots is determined from the media capacity. The calculation for obtaining the number of shots is adjusted according to the writing method. In step S4, a file name / directory structure is determined. Since the embodiment is a digital still camera, the still image file has a file arrangement and a file format according to the camera file system standard DCF (Design rule for Camera File system).
[0031]
In step S5, track 1 for writing ISO9660 information is reserved. In step S6, a dummy file having the determined file size is created. The Exif file format is used as an example. In addition, a mark indicating non-photographing is recorded using a tag that can be used freely by a manufacturer among Exif tags. Further, the dummy image file desirably has a content that can be identified as a dummy at a glance. As described above, for example, an image file whose entire surface is black is used.
[0032]
In step S7, a dummy file is written to the second and subsequent tracks. The writing method is arbitrary, and may be packet writing or track-at-once. In step S8, it is determined whether the process has been repeated for the number of images determined in step S3. If it has not been repeated for the number of shots, the process returns to step S6 (creation of a dummy file).
[0033]
If it is determined in step S8 that the number of shots has been repeated, then in step S9, the ISO9660 information is written to the reserved track 1 with the written file name / directory structure. Then, the session is closed by appropriately writing the lead-in area (TOC) and the lead-out area.
[0034]
FIG. 5 shows an example of ISO9660 information set at the time of initialization when a dummy file is written by the packet write method. FIG. 5 shows an example of a still image file format conforming to the DCF standard. A DCF image root directory having a directory name DCIM (Digital Camera Images) exists immediately below the root directory. A DCF directory exists immediately below DCIM. The DCF directory is a directory for storing DCF objects.
[0035]
In FIG. 5, a directory of 100MSDCF is shown. A plurality of still image files DSC00001. JPG, DSC00002. JPG,... Exist. In this example, DSC represents a still image file from a digital still camera, and the extension JPG represents a JPEG format file.
[0036]
An example of the ISO9660 information when files are stored in the directory structure as described above will be described. LBN = 0 to 15 is defined as a system area. The range from LBN = 16 to the value obtained by subtracting 150 from the value indicating the end of the data area is the range in which the data of the CD-ROM exists. LBN = 16 is the first position, and information starting from LBN = 16 is read from a CD-ROM disc having the file structure of ISO9660.
[0037]
Information starting from LBN = 16 is called a volume descriptor (VD: volume descriptor). Volume descriptors are roughly divided into five types of descriptors, and the most important one is called a main volume descriptor (PVD).
[0038]
The main volume descriptor (PVD) includes a VD type, file format identification, volume size, CD-ROM number, logical block size, path table size, path table address 1, path Information such as the address 2 of the table and the root directory record is included. The attributes of the volume, the position of the root directory, the position of the path table, and the number of volumes are specified by the main volume descriptor (PVD).
[0039]
Further, the volume descriptor includes a sub-volume descriptor (SVD), a volume partition descriptor, a start record, and a volume descriptor set terminator. In the example of FIG. 1, LBN = A is the position of the path table, the root directory entity exists at LBN = B, the DCIM directory entity exists at LBN = C, and the 100MSDCF directory entity exists at LBN = D. Exists. Up to this directory of 100MSDCF is recorded as track 1 by track-at-once.
[0040]
Next, a plurality of dummy files DSC00001. JPG, DSC00002. JPG, ... are written. The directory of 100MSDCF indicates that the substance of each file exists at LBN = E, LBN = F, LBN = G,.
[0041]
FIG. 6 shows an example of ISO9660 information set when a dummy file is recorded by the track-at-once method at the time of initialization. The directory structure is the same example as in FIG. Recording necessary information on track 1 by track-at-once is the same as in the example of FIG. When recording a dummy file, a dummy file is written for each of track 3, track 4,.
[0042]
Next, the disk information initialization process controlled by the CPU 6 will be described with reference to the flowchart in FIG. In step S21, a general initialization operation performed when a CD-RW disc is set in the digital camera is performed. For example, the TOC of the lead-in area of the set disc is read. In the next step S22, ISO9660 information is read. The head address of each file is stored, and the fixed size of each file is obtained from the file size of the ISO9660 information.
[0043]
In step S23, the attached information of each file, for example, the information of the Exif tag is read, and the presence or absence of an unphotographed mark in each image area is confirmed. The unphotographed image area is an empty area where a dummy file is recorded. In step S24, the number of unphotographed marks is set to the number of remaining photographable images, and the initialization processing ends. In addition, in step S23, when the shooting marks are added to all the image areas, the display of the remaining number of shootable images is set to zero. In this case, a warning message indicating that the disk is full or a sound reproduction may be performed.
[0044]
FIG. 8 is a flowchart showing the flow of the photographing operation controlled by the CPU 6. In step S31, it is detected whether or not the shutter button has been pressed. When the depression of the shutter button is detected, the image signal is read from the CCD 1 in step S32.
[0045]
Since the size of the image area is fixed, the compression rate of JPEG is set in step S33 such that the captured image signal falls within the image area. Then, in step S34, JPEG encoding is performed. In step S35, the file size of the encoded data is calculated. In step S36, it is determined whether or not (the size of the captured image file> the fixed size).
[0046]
If the result of the determination in step S36 is affirmative, that is, if it is determined that the size of the image file is too large, the compression ratio of JPEG is increased in step S37. Increasing the compression ratio means reducing the size of the compressed file. Then, JPEG encoding in step S34 is performed. The compression ratio is changed until it is determined that the size of the image file falls within the fixed size. If it is determined in step S36 that the size of the image file is smaller than the fixed size, in step S38, the encoded image data file is overwritten on the file with the unphotographed mark. Writing of the encoded image data is performed in the same manner as the writing method of the dummy file. Then, the unphotographed mark relating to the overwritten dummy file is changed to a photographed mark.
[0047]
As an example, in step S33, a predetermined compression ratio is set assuming an image having a relatively small amount of generated data when encoded by JPEG such as a flat image. In this case, an appropriate compression ratio can be automatically set by analyzing the captured image signal. Then, by steps S36 and S37, the compression ratio is set as high as possible. This is because the image quality of the decoded image is generally better when the compression ratio is lower.
[0048]
In the case of a CD-RW disc, if there is a physical defect on the disc, recording cannot be performed on that part, so that the area containing that part is skipped and writing is performed on the next area.
[0049]
FIG. 9A shows an example in which JPEG encoded data and Exif tag data are recorded in an image area having a size A, and padding is performed with zero data when a vacant portion is created behind the area. On the other hand, FIG. 9B is an example in which JPEG encoded data and Exif tag data are just arranged in an image area having a size A.
[0050]
In one embodiment of the present invention, there are several methods for erasing an image. The first method is to embed an erasure mark in the Exif tag information portion of the corresponding image area. With this method, an image that should have been erased can be viewed on a personal computer. The second method is a method of embedding an unphotographed mark in the Exif tag information portion of the corresponding image area, and writing an invalid image such as black on the entire image data portion. With this method, the erased image is not visible on the personal computer. Note that not all of the image files but an appropriate number of them may be deleted, and the media can be reused by initializing again.
[0051]
The present invention is not limited to the above-described embodiment of the present invention, and various modifications and applications are possible without departing from the gist of the present invention. For example, as a format of image data, a format other than JPEG such as BMP, GIF, TIFF, or PCX is possible. Further, as the configuration of the digital camera, the encoding of the compressed image may be performed by a hardware configuration, and the memory for storing the imaging signal and the memory for storing the compressed image signal may have different configurations. Further, the digital camera may be provided in a portable computer (a so-called notebook computer), a mobile phone, or the like. Further, the disk-shaped recording medium is not limited to a phase-change type disk such as a CD-RW, but may be a magneto-optical recording disk or the like.
[0052]
【The invention's effect】
As is apparent from the above description, according to the present invention, a personal computer can immediately capture an image without performing a finalizing operation after recording image data, which is convenient. In addition, according to the present invention, the capacity is not lost every time the finalization is performed, and is advantageous in terms of capacity. Furthermore, the time required for finalization is not required.
[0053]
Further, according to the present invention, it is possible to capture an image without installing software such as a UDF reader in a personal computer. A personal computer having a general CD-ROM drive can capture an image with almost no operation.
[0054]
According to the present invention, the UDF file format does not need to be implemented when using the CD-RW packet write method. Further, if the image file is overwritten on the dummy file portion by writing in one packet, there is a high possibility that the image file can be read even in a CD-ROM drive manufactured before the packet write method. This is because one file is not divided into two areas sandwiching a link block specific to the packet write method.
[Brief description of the drawings]
FIG. 1 is a schematic diagram for explaining an outline of ISO9660 used in the present invention.
FIG. 2 is a schematic diagram illustrating an example of a configuration of a digital camera according to the present invention.
FIG. 3 is a schematic diagram for explaining a state of a disk at the end of initialization in one embodiment of the present invention.
FIG. 4 is a flowchart showing a flow of an initialization process in one embodiment of the present invention.
FIG. 5 is a schematic diagram illustrating an example of ISO9660 information set at the time of initialization in which an image area is written by a packet write method according to an embodiment of the present invention.
FIG. 6 is a schematic diagram showing an example of ISO9660 information set at the time of initialization in which an image area is written by a track-at-once method in one embodiment of the present invention.
FIG. 7 is a flowchart showing a flow of a disk information initialization process of the digital camera in one embodiment of the present invention.
FIG. 8 is a flowchart showing a flow of a photographing operation of the digital camera in one embodiment of the present invention.
FIG. 9 is a schematic diagram showing a state in which image data is written in an image area in one embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... CCD, 6 ... CPU, 11 ... Drive controller, 12 ... CD-RW disc

Claims (12)

書き換え可能なディスク状記録媒体を使用するデータ記録装置において、
予め決定した固定のディレクトリ構造とファイルサイズを規定する管理情報を記録し、
上記管理情報により規定されるファイルサイズおよびディレクトリ構造を有する、複数のダミーファイルを記録し、
上記管理情報および上記ダミーファイルに対してリードインおよびリードアウトを記録し、
上記ダミーファイルに対して記録画像ファイルを上書きするようにしたデータ記録装置。
In a data recording device using a rewritable disc-shaped recording medium,
Record management information that defines a predetermined fixed directory structure and file size,
Recording a plurality of dummy files having a file size and a directory structure defined by the management information,
Record lead-in and lead-out for the management information and the dummy file,
A data recording device in which a recording image file is overwritten on the dummy file.
請求項1において、
上記ダミーファイルに対して、記録と未記録とを識別する情報を記録することを特徴とするデータ記録装置。
In claim 1,
A data recording device for recording information for discriminating between recorded and unrecorded in the dummy file.
請求項1において、
上記記録画像ファイルは、圧縮画像データであって、上記圧縮画像データを上書きする時に、上記ダミーファイルのデータサイズ以下となるように、圧縮率を調整する手段を有するデータ記録装置。
In claim 1,
A data recording apparatus, wherein the recording image file is compressed image data, and has a means for adjusting a compression ratio so that when the compressed image data is overwritten, the compression ratio is smaller than the data size of the dummy file.
請求項1において、
ディスク状記録媒体がCD−RWであるデータ記録装置。
In claim 1,
A data recording device in which the disc-shaped recording medium is a CD-RW.
書き換え可能なディスク状記録媒体を使用するデータ記録方法において、
予め決定した固定のディレクトリ構造とファイルサイズを規定する管理情報を記録するステップと、
上記管理情報により規定されるファイルサイズおよびディレクトリ構造を有する、複数のダミーファイルを記録するステップと、
上記管理情報および上記ダミーファイルに対してリードインおよびリードアウトを記録するステップと、
上記ダミーファイルに対して記録画像ファイルを上書きするステップとからなるデータ記録方法。
In a data recording method using a rewritable disc-shaped recording medium,
Recording management information defining a predetermined fixed directory structure and file size;
Recording a plurality of dummy files having a file size and a directory structure defined by the management information,
Recording lead-in and lead-out with respect to the management information and the dummy file;
Overwriting the dummy file with a recording image file.
請求項5において、
上記ダミーファイルに対して、記録と未記録とを識別する情報を記録することを特徴とするデータ記録方法。
In claim 5,
A data recording method characterized by recording information for discriminating between recorded and unrecorded in the dummy file.
請求項5において、
上記記録画像ファイルは、圧縮画像データであって、上記圧縮画像データを上書きする時に、上記ダミーファイルのデータサイズ以下となるように、圧縮率を調整するデータ記録方法。
In claim 5,
The recording image file is a compressed image data, and a data recording method for adjusting a compression ratio such that when the compressed image data is overwritten, the compression ratio is smaller than the data size of the dummy file.
請求項5において、
ディスク状記録媒体がCD−RWであるデータ記録方法。
In claim 5,
A data recording method in which the disc-shaped recording medium is a CD-RW.
書き換え可能なディスク状記録媒体に対して撮影画像データを記録するようにしたディジタルカメラにおいて、
撮像素子と、上記撮像素子で生じた撮像信号を処理する信号処理部と、信号処理部からの撮像信号を記憶するバッファメモリと、初期化されたディスク状記録媒体に対して撮影画像データを記録する記録手段と、制御装置とを備え、
上記初期化の処理は、
予め決定した固定のディレクトリ構造とファイルサイズを規定する管理情報を記録し、
上記管理情報により規定されるファイルサイズおよびディレクトリ構造を有する、複数のダミーファイルを記録し、
上記管理情報および上記ダミーファイルに対してリードインおよびリードアウトを記録するものであり、
上記ダミーファイルに対して撮像画像ファイルを上書きするようにしたディジタルカメラ。
In a digital camera configured to record captured image data on a rewritable disc-shaped recording medium,
An image sensor, a signal processing unit for processing an image signal generated by the image sensor, a buffer memory for storing an image signal from the signal processor, and recording of captured image data on an initialized disc-shaped recording medium Recording means, and a control device,
The initialization process described above
Record management information that defines a predetermined fixed directory structure and file size,
Recording a plurality of dummy files having a file size and a directory structure defined by the management information,
Recording lead-in and lead-out with respect to the management information and the dummy file,
A digital camera in which a captured image file is overwritten on the dummy file.
請求項9において、
上記ダミーファイルに対して、記録と未記録とを識別する情報を記録することを特徴とするディジタルカメラ。
In claim 9,
A digital camera characterized in that information for discriminating between recorded and unrecorded is recorded in the dummy file.
請求項9において、
上記撮像画像ファイルは、圧縮画像データであって、上記圧縮画像データを上書きする時に、上記ダミーファイルのデータサイズ以下となるように、圧縮率を調整する手段を有するディジタルカメラ。
In claim 9,
A digital camera, wherein the captured image file is compressed image data, and has means for adjusting a compression ratio so that when the compressed image data is overwritten, the compression ratio is smaller than the data size of the dummy file.
請求項9において、
ディスク状記録媒体がCD−RWであるディジタルカメラ。
In claim 9,
A digital camera whose disk-shaped recording medium is a CD-RW.
JP2003135965A 2003-05-14 2003-05-14 Data recording apparatus, recording method, and digital camera Expired - Fee Related JP4179045B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003135965A JP4179045B2 (en) 2003-05-14 2003-05-14 Data recording apparatus, recording method, and digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003135965A JP4179045B2 (en) 2003-05-14 2003-05-14 Data recording apparatus, recording method, and digital camera

Publications (2)

Publication Number Publication Date
JP2004342192A true JP2004342192A (en) 2004-12-02
JP4179045B2 JP4179045B2 (en) 2008-11-12

Family

ID=33526080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003135965A Expired - Fee Related JP4179045B2 (en) 2003-05-14 2003-05-14 Data recording apparatus, recording method, and digital camera

Country Status (1)

Country Link
JP (1) JP4179045B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010028166A (en) * 2008-07-15 2010-02-04 Nikon Corp Recording control apparatus
JP2011209942A (en) * 2010-03-29 2011-10-20 Olympus Imaging Corp Imaging device, image management server, image communication system, data structure of image file, and image management method
US8239352B1 (en) * 2004-11-19 2012-08-07 Adobe Systems Incorporated Method and apparatus for determining whether a private data area is safe to preserve

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8239352B1 (en) * 2004-11-19 2012-08-07 Adobe Systems Incorporated Method and apparatus for determining whether a private data area is safe to preserve
US8412686B2 (en) 2004-11-19 2013-04-02 Adobe Systems Incorporated Method and apparatus for determining whether a private data area is safe to preserve
JP2010028166A (en) * 2008-07-15 2010-02-04 Nikon Corp Recording control apparatus
JP2011209942A (en) * 2010-03-29 2011-10-20 Olympus Imaging Corp Imaging device, image management server, image communication system, data structure of image file, and image management method
US8719329B2 (en) 2010-03-29 2014-05-06 Olympus Imaging Corp. Imaging device, imaging system, image management server, image communication system, imaging method, and image management method

Also Published As

Publication number Publication date
JP4179045B2 (en) 2008-11-12

Similar Documents

Publication Publication Date Title
US7457827B2 (en) Information file recording apparatus
JP3750771B2 (en) Image recording method and apparatus
US7809728B2 (en) Recording/playback apparatus and method
JP4051776B2 (en) Video information recording apparatus and video information reproducing apparatus
EP1328120A1 (en) Image recording/reproducing device and method, disk, and image reproducing device
EP1785996A1 (en) Image information recording device and image information display device
JP4176640B2 (en) Recording medium, content recording / playback system, content playback device, content recording device
JP4849020B2 (en) Imaging apparatus, imaging method, and program
JP2001144921A (en) Method for managing image file, electronic camera and image file device
US8280929B2 (en) Recording apparatus
TWI352978B (en)
US7865061B2 (en) Recording apparatus for recording data to recording medium with a Plurality of clusters
JP2003244637A (en) Method of recording still picture on recording medium
JP4179045B2 (en) Data recording apparatus, recording method, and digital camera
US7822320B2 (en) Method and apparatus for creating still picture management data and recording still pictures on a recording medium
JP2005032315A (en) Recording and reproducing device and its method
CN100416514C (en) Image recording apparatus
JP4693735B2 (en) Still image file recording and editing device
JP3552247B2 (en) Electronic still camera
JP2004259138A (en) Recording and reproducing apparatus
JP2001243694A (en) Recording and reproducing device
JP2006165797A (en) Recording device and recording method
JP2005064852A (en) Digital camera and method of determining order of reproducing images
JP2004274136A (en) Recording apparatus
JP2006108925A (en) Reproducing apparatus, reproducing method, and control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060428

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080324

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

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

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

Free format text: PAYMENT UNTIL: 20110905

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees