JP4452440B2 - Digital camera and image recording control method thereof - Google Patents

Digital camera and image recording control method thereof Download PDF

Info

Publication number
JP4452440B2
JP4452440B2 JP2002381999A JP2002381999A JP4452440B2 JP 4452440 B2 JP4452440 B2 JP 4452440B2 JP 2002381999 A JP2002381999 A JP 2002381999A JP 2002381999 A JP2002381999 A JP 2002381999A JP 4452440 B2 JP4452440 B2 JP 4452440B2
Authority
JP
Japan
Prior art keywords
image
specific area
recording
recorded
digital camera
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
Application number
JP2002381999A
Other languages
Japanese (ja)
Other versions
JP2004214943A (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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2002381999A priority Critical patent/JP4452440B2/en
Publication of JP2004214943A publication Critical patent/JP2004214943A/en
Application granted granted Critical
Publication of JP4452440B2 publication Critical patent/JP4452440B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Storing Facsimile Image Data (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、画像消去機能を備えるデジタルカメラおよびその画像記録制御方法に関する。
【0002】
【従来の技術】
近年、デジタルカメラの記録画素数が向上し高画質化が進んでいる。それに伴い記録媒体に保存する画像ファイルのサイズも大きくなっている。一方、記録媒体に使用するフラッシュメモリ素子も高集積化が進み大容量の記録媒体が提供されているため、記録媒体の撮影可能枚数に関しては光学式のカメラに比べて遜色が無くなっている。しかし、撮影を行う場合は後の画像加工に有利なように情報量の多い大きな画像サイズを設定することが多く、デジタルカメラにおける記録媒体の容量管理は欠かすことができない。
【0003】
デジタルカメラの画像記録方式には、不要な記録画像を消去し記録媒体を繰り返し使用することができるという利点がある。記録媒体に記録されたすべての画像ファイルをパーソナルコンピュータ等の記憶装置に転送した後、記録媒体の画像ファイルを一括して消去するというような使用法の他に、デジタルカメラの操作で不要な記録画像を個々に選んで消去し、記録媒体の空き容量を増やすことができる。
【0004】
デジタルカメラの操作で個々の記録画像の消去を行う際に、カメラの使用者はその記録画像が不要であると判断して消去する訳であるが、操作を誤り他の画像を消去してしまったり、後になって消去した画像が欲しくなったりすることがある。
【0005】
画像をメモリに蓄積する電子機器において、消去された画像ファイルの復元を可能にする一般的な方法として、パーソナルコンピュータで使用されている「ごみ箱」方式がある。ファイルの消去操作が行われた場合に、実際には消去せずにごみ箱に移しておき、簡単な操作でファイルの復元を可能にしている。
【0006】
しかしながら、画像ファイルはサイズが大きく、電子機器に備えるメモリには限度があるため、従来技術においては、ファイルの復元が必要になる可能性が一般には小さいことを考慮し、画像ファイルをごみ箱に移す際に適当なアルゴリズムを用いて画像ファイルのサイズを縮小して記録し直す方式が採用されている。
【0007】
このような方式を電子ファイルシステムに適用した従来技術として、特許文献1に記載されているものがある。電子ファイルシステムにおいては、原画像の冗長性を取り除く圧縮コード化を行い記録画像ファイルを生成するが、ここでは、消去する画像ファイルから原画像のビットデータを復元し、それに対して一定の縮小アルゴリズムを適用して縮小画像を作成し、元の画像ファイルを削除した後、この縮小画像を圧縮コード化して記録画像ファイルを生成し記録する。このようにすることで、再記録された画像ファイルのデータ量を減らし、そのサイズを縮小している。
【0008】
また、画像をメモリに蓄積して印刷するプリンタに適用した従来技術として特許文献2に記載されているものがある。ここでは、メモリの空き容量が不足する場合に、既にメモリに蓄積されている画像から消去および圧縮が可能なものを選択し、その画像の消去あるいは圧縮を行い、それでも依然としてメモリの空き容量が不足する場合は、その画像を圧縮率がより高くなる別のデータ形式に変換して画像の圧縮を行う。
【0009】
【特許文献1】
特開平5−37746号公報
【特許文献2】
特開2000−165634号公報
【0010】
【発明が解決しようとする課題】
上記従来技術においては、画像ファイルを消去する際に、原画像の縮小画像を作成し再保存し、あるいは別のデータ形式に変換することにより圧縮率が高くなるようにすることにより、メモリの空き容量を増やしている。
【0011】
しかしながら、これらの技術をデジタルカメラに適用することを考えた場合に、原画像の縮小画像を作成し再保存する方法は有効であるが、画像の圧縮率は一定であり、消去画像が蓄積されていくと、いずれごみ箱が満杯になり、ごみ箱の容量を可変する場合はやがて記録媒体の空き容量が圧迫されることになる。
【0012】
また、画像を圧縮率がより高くなる別のデータ形態に変換する方法は、プリンタのメモリに蓄積される画像のように、複数のデータ形式から選択して画像を圧縮できる場合には有効な方法であるが、デジタルカメラのように標準形式の画像で記録媒体に記録する場合には適用できない。
【0013】
本発明は上記事情に鑑みてなされたもので、記録媒体に記録された画像の消去が指定された場合に、画像を選択的に消去するとともに、記録媒体の特定領域(ごみ箱)に記録するデジタルカメラにおいて、特定領域や記録媒体の空き容量を圧迫することが無いデジタルカメラおよびその画像記録制御方法を提供することを目的とする。
【0014】
【課題を解決するための手段】
請求項1のデジタルカメラは、記録媒体に記録された画像を選択的に消去するとともに、選択された画像を前記記録媒体の特定領域に記録する画像消去機能を備えるデジタルカメラであって、画像のデータ量を削減する画像データ量削減手段と、選択された画像を前記特定領域に記録する際に、前記特定領域にすでに記録されているすべての画像を元の容量の1/2以下のデータ量になるように前記画像データ量削減手段で削減して前記特定領域に再記録する画像記録制御手段とを備える。
【0015】
請求項7のデジタルカメラの画像記録方法は、記録媒体に記録された画像を選択的に消去するとともに、選択された画像を前記記録媒体の特定領域に記録する画像消去機能を備えるデジタルカメラの画像記録制御方法であって、選択された画像を前記特定領域に記録する際に、前記特定領域にすでに記録されているすべての画像を元の容量の1/2以下のデータ量になるようにサイズ縮小および/またはデータ圧縮により削減して前記特定領域に再記録する記録ステップを含む。
【0016】
請求項1、に係る発明によれば、記録媒体に記録された画像の消去が指定されたときに、それ以前に特定領域に記録された画像のデータ量を削減して再記録することにより、消去時点が古い画像のデータ削減率を高くすることができるため、消去時に一定の縮小処理を行う従来方式に比べると、特定領域や記録媒体の空き容量を圧迫することがなくなる。より詳細には、画像消去の際に、すでに記録されているすべての画像を元の容量の1/2を越えない大きさのデータ量で特定領域に再記録することで、特定領域の画像を消去順に1/2の比を有する数列で蓄積させることが可能となり、特定領域の画像データの合計を特定領域の1/2以下に抑えることができる。このため、常時1/2の空き容量を特定領域に確保できるため、特定領域の空き容量が不足することがなくなる。
【0017】
請求項2のデジタルカメラは、請求項1記載のデジタルカメラにおいて、前記画像データ量削減手段は、画像のサイズを縮小するものであり、前記画像記録制御手段は、画像サイズを縮小して再記録するものである。
【0018】
請求項3のデジタルカメラは、請求項1または2記載のデジタルカメラにおいて、前記画像データ量削減手段は、画像のデータを圧縮するものであり、前記画像記録制御手段は、画像データの圧縮率を高めて再記録するものである。
【0019】
上記構成によれば、画像サイズの縮小や画像データの圧縮を適用することで画像のデータ量を効果的に削減することができる。
【0020】
請求項4のデジタルカメラは、請求項1から3のいずれか一項記載のデジタルカメラにおいて、前記画像記録制御手段は、選択された画像を前記特定領域の容量に応じて決定したデータ量で前記特定領域に記録するものである。
【0021】
請求項のデジタルカメラの画像記録制御方法は、請求項記載のデジタルカメラの画像記録制御方法において、前記画像記録ステップは、選択された画像を前記特定領域の容量に応じて決定したデータ量で前記特定領域に記録するステップを含むものである。
【0022】
請求項4、に係る発明によれば、特定領域に記録する画像のデータ量を特定領域の容量に関連付けて決定できるため、適切な決定を行うことで消去により特定領域に画像が蓄積されても特定領域の空き容量が圧迫されないようにすることが可能となる。
【0023】
請求項5のデジタルカメラは、請求項4記載のデジタルカメラにおいて、前記画像記録制御手段は、選択された画像を前記特定領域の容量の1/2を越えない大きさのデータ量で前記特定領域に記録するものである。
【0025】
請求項のデジタルカメラの画像記録制御方法は、請求項記載のデジタルカメラの画像記録制御方法において、前記画像記録ステップは、選択された画像を前記特定領域の容量の1/2を越えない大きさのデータ量で前記特定領域に記録するステップを含むものである。
【0027】
請求項5、に係る発明によれば、画像消去の際に、選択された画像を前記特定領域の容量の1/2を越えない大きさのデータ量で特定領域に記録することで、特定領域の空き容量が不足することがなくなる。
【0028】
請求項のデジタルカメラは、請求項1からのいずれか一項記載のデジタルカメラにおいて、前記画像記録制御手段は、選択された画像を元のデータ量のまま前記記録媒体に記録される最大データ量の画像の少なくとも2倍の容量に設定した特定領域に記録するものである。
【0029】
請求項10のデジタルカメラの画像記録制御方法は、請求項からのいずれか一項記載のデジタルカメラの画像記録制御方法において、前記記録ステップは、選択された画像を元のデータ量のまま前記記録媒体に記録される最大データ量の画像の少なくとも2倍の容量に設定した特定領域に記録するステップを含むものである。
【0030】
請求項10に係る発明によれば、直近に消去した画像のデータ量を削減せずに元のデータ量のまま特定領域に記録することで、例えば、誤って画像を消去した場合でも、画質を損なうことなく消去した画像を復元することができる。この場合、特定領域の容量を記録媒体に記録される最大データ量の画像の少なくとも2倍の容量に設定しておくことで、元のデータ量のまま画像を記録しても特定領域の容量不足が生じることはない。
【0031】
【発明の実施の形態】
以下、本発明の実施の形態について図面を参照して説明する。
図1は本発明の一実施の形態に係るデジタルカメラの構成を示すブロック図である。図1において、100はデジタルカメラの制御を行うメインLSI、110は被写体の撮影画像をデジタル画像データに変換して取り込む画像入力系、111は画像を記録する記録媒体、112は制御プログラムおよび画像データが置かれるSRAM、113はロードされる処理プログラムを記憶するフラッシュROMである。
【0032】
また、メインLSI100において、101は処理プログラムを実行するCPU、102はLSI内蔵RAM、103はデジタル画像データを処理する信号処理回路、104は画像圧縮を行うJPEG回路、105はモニタ画像を出力する画像表示回路、106は記録媒体へのアクセスを制御する記録媒体制御回路である。
【0033】
画像入力系110から信号処理回路103を経由して入力されたデジタル画像データは、LSI内蔵RAM102やSRAM112をバッファとして、JPEG回路104による圧縮等の画像処理が施され、記録画像として記録媒体111に記録される。また、モニタ表示用のLCDや外部に接続されるテレビに出力するための表示画像は画像表示回路105に送られ、ここでLCDやテレビを駆動する信号が生成される
【0034】
記録媒体111に記録された画像は、カメラ使用者の操作により、個別の画像を指定して選択的に消去することができる。記録媒体内には、いわゆるごみ箱方式の特定領域が設けてあり、消去することが指定された画像は、その画像を消去する前にごみ箱に移すことで再記録される。
【0035】
ごみ箱に再記録された画像は、カメラ使用者がごみ箱内の画像ファイルを指定して操作することにより、CPU101で実行される処理プログラムがこの画像ファイルを読み込み画像を復元するため、誤操作により画像を消去してしまったような場合に直ちに元の画像を取り戻すことができる。
【0036】
ここで、限られた容量のごみ箱を有効に利用するために、選択的に消去することが指定されごみ箱に再記録される画像は、そのファイル容量が最大でもごみ箱の容量の1/2になるように、画像サイズの縮小あるいは画像データの圧縮、あるいはその双方を実施する。
【0037】
また、消去することが指定された画像データをごみ箱に再記録する前に、これ以前にごみ箱に再記録されたすべての画像ファイルについて、それぞれのファイル容量が以前のファイル容量の1/2になるように処理する。
【0038】
これは、ごみ箱に再記録されたすべての画像ファイルを順に読み出し、それぞれの画像を復元した上で、それぞれのファイル容量が以前のファイル容量の1/2になるように、画像サイズの縮小あるいは画像データの圧縮、あるいはその双方を実施し、ごみ箱のそれぞれのファイルに上書きすることにより実施することができる。
【0039】
このようにすることにより、消去時点が古い画像ファイルの容量縮小比が幾何級数的に高くなるため、消去時に一定の縮小処理を行う従来の方式に比べると、ごみ箱の空き容量を格段に大きくすることができる。また、画像ファイルの容量縮小比を1/2にすることにより、ごみ箱には必ずその容量の1/2の空きができることになるので、消去することが指定された画像を必ずごみ箱に再記録することができ、ごみ箱の容量不足が決して発生しないことになる。
【0040】
ここで、画像ファイルを読み出し処理する順序は論理的には問わないが、実際面では記録媒体のファイル領域管理が効率よく行えるように、ごみ箱に最も新しく再記録されたファイル容量の大きい画像ファイルから順次処理するなどの方法が考えられる。
【0041】
また、ごみ箱の容量を記録媒体に記録される画像の最大データ量の少なくとも2倍に設定すると、ごみ箱の容量不足が決して発生しないばかりでなく、最後にごみ箱に再記録する画像のサイズ縮小、データ圧縮を行う必要が無いため、画像を復元したときに消去する前と同じ画質の画像を復元することができる。
【0042】
最終以前にごみ箱に再記録された画像は、画像を復元したときに画像サイズの縮小あるいは画像データの圧縮を行った分だけ消去する前より画質が劣るが、古い画像ほど復元する必要性が急速に薄れると考えられるため、新しい画像ほど良い画質が得られることで現実的な利便をもたらすことができる。
【0043】
図2および図3は、上記実施の形態に係るデジタルカメラの画像記録制御方法を示すフローチャートである。図2において、ステップS201はデジタルカメラの電源がオンにされた状態であり、通常の撮影を行う他にさまざまなメニュ選択ができる状態である。
【0044】
メニュ選択において、ステップS202で初期設定が選択された場合はステップS203に進み、各種初期設定に加えて、記録媒体に記録された画像を消去しごみ箱に再記録する場合の条件の初期設定を行うことができる。例えば、ごみ箱の有無、画像サイズの縮小可否、画像サイズの縮小倍率、ごみ箱への保存方法がN枚均等保存モードか最終消去画像優先保存モードか、などである。
【0045】
ここで、N枚均等保存モードとは、消去時に画像に一定の縮小処理を行って保存する従来方式の方法であり、最終消去画像優先保存モードとは、上記に説明した方式のように、直近にごみ箱に再記録された画像が最も良い画質を保つようにする方法である。
【0046】
ステップS204では記録媒体に記録された画像の消去が指定されたことを検出する。画像の消去でない場合はステップS205に進み、他のメニュ選択に従って撮影やその他の処理が行われる。画像の消去の場合はステップS206に進み、ごみ箱の有無が調べられる。ごみ箱が無い場合は直ちにステップS218に進み、指定された画像のファイルを消去しメニュ選択に戻る。
【0047】
ごみ箱有りの場合は、ステップS207で、消去モードとしてごみ箱への保存方法設定がN枚均等保存モードか、あるいは最終消去画像優先保存モードかが調べられる。ここで消去モードが本発明に係る最終消去画像優先保存モードであった場合は、ステップS208からS213の処理により、これ以前にごみ箱に再記録されたすべての画像ファイルについて、それぞれのファイル容量を1/2にする処理が行われる。
【0048】
すなわち、ステップS208では最後にごみ箱に再記録された画像ファイルを選択し、ステップS209でこれを読み出し画像を復元する。ステップS210では画像サイズの縮小および/または画像データの圧縮を行い、ファイル容量を元の大きさの1/2にし、このファイルをステップS211でごみ箱の元のファイルに上書きする。
【0049】
図3に示すフローチャートは、ステップS210の処理、すなわち、ファイル容量が元の大きさの1/2以下になるように、画像サイズの縮小または画像データの圧縮、あるいはその双方を実施する方法を説明するフローチャートである。
【0050】
図3において、ステップS301およびS302で、初期設定が画像サイズの縮小と画像データの圧縮のいずれを行うように指定しているかを調べ、ステップS303からS305でそれぞれの処理を行い、最終的にファイル容量が元の大きさの1/2以下になるようにする。
【0051】
ステップS212ではごみ箱に再記録されたすべての画像ファイルについて上記処理が終了したか否かを調べ、終了していない場合はステップS213でごみ箱内の次の画像ファイルを選択し、ステップS209以降の処理を繰り返す。
【0052】
ごみ箱に再記録されたすべての画像ファイルについてファイル容量を1/2にする処理が終了した場合はステップS214に進み、今回消去することが指定された画像のファイル容量がごみ箱の容量の1/2以下であるか否かが調べられる。
【0053】
消去する画像のファイル容量がごみ箱の容量の1/2を越える場合はステップS215に進み、ファイル容量がごみ箱の容量の1/2以下になるように画像サイズの縮小または画像データの圧縮、あるいはその双方が実施される。ここで、前述したように、ごみ箱の容量を記録媒体に記録される画像の最大のデータ量の少なくとも2倍に設定すると、このような処理をする必要が生ぜず、ステップS215の処理が不要になる。
【0054】
このようにして、ごみ箱の容量の1/2以下であることが確定した画像ファイルがステップS217においてごみ箱に書き込まれる。ステップS218では、消去が指定された元の記録媒体内の画像ファイルが消去され、一連の処理を完了したことでメニュ選択に戻る。
【0055】
ステップS207で消去モードがN枚均等保存モードであった場合はステップS216に進む。このモードではごみ箱に再記録されるすべての画像ファイル容量はごみ箱の容量の1/Nとされるため、ファイル容量がごみ箱の容量の1/Nになるように、画像サイズの縮小または画像データの圧縮、あるいはその双方が実施される。
【0056】
このようにして、ごみ箱の容量の1/Nに縮小された画像ファイルがステップS217においてごみ箱に書き込まれる。ステップS218では、消去が指定された元の記録媒体内の画像ファイルが消去され、一連の処理を完了したことでメニュ選択に戻る。この方式ではごみ箱に保存できる画像ファイルはN個に限られるので、それを越えた場合は古い画像ファイルはごみ箱からも消去される。
【0057】
以上のように、本実施の形態により、ごみ箱の容量不足が決して発生しないばかりでなく、最後にごみ箱に再記録された画像データは、画像を復元したときに消去する前と同じ画質の画像を復元することが可能となり、ごみ箱に再記録された時点が新しい画像ほど画像を復元したときに良い画質が得られるごみ箱方式を実現することができる。
【0058】
【発明の効果】
以上説明したように、本発明によれば、記録媒体に記録された画像の消去が指定されたときに、それ以前に特定領域に記録された画像のデータ量を削減して再記録することにより、消去時点が古い画像のデータ削減率を高くすることができるため、消去時に一定の縮小処理を行う従来方式に比べると、特定領域や記録媒体の空き容量を圧迫することがなくなる。
【図面の簡単な説明】
【図1】本発明の一実施の形態に係るデジタルカメラの構成を示すブロック図。
【図2】本発明の一実施の形態に係るデジタルカメラの画像記録制御方法を示すフローチャート。
【図3】ファイル容量を元の大きさの1/2に削減する処理方法を説明するフローチャート。
【符号の説明】
100 メインLSI
101 CPU
102 LSI内蔵RAM
103 信号処理回路
104 JPEG回路
105 画像表示回路
106 記録媒体制御回路
110 画像入力系
111 記録媒体
112 SRAM
113 フラッシュROM
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a digital camera having an image erasing function and an image recording control method thereof.
[0002]
[Prior art]
In recent years, the number of recording pixels of digital cameras has been improved and image quality has been improved. Along with this, the size of image files stored on recording media has also increased. On the other hand, since the flash memory element used for the recording medium is highly integrated and a large-capacity recording medium is provided, the number of shootable recording media is comparable to that of an optical camera. However, when photographing, a large image size with a large amount of information is often set so as to be advantageous for later image processing, and capacity management of the recording medium in the digital camera is indispensable.
[0003]
The image recording system of a digital camera has an advantage that an unnecessary recorded image can be erased and a recording medium can be used repeatedly. Besides transferring all image files recorded on the recording medium to a storage device such as a personal computer and then erasing the image files on the recording medium all at once, unnecessary recording is possible by operating the digital camera. Images can be individually selected and erased to free up space on the recording medium.
[0004]
When erasing an individual recorded image by operating a digital camera, the camera user decides that the recorded image is unnecessary and deletes it. Sometimes, you may want an erased image later.
[0005]
As a general method for enabling restoration of an erased image file in an electronic device that stores images in a memory, there is a “trash box” method used in a personal computer. When a file is erased, it is moved to the recycle bin without actually being erased, and the file can be restored with a simple operation.
[0006]
However, since image files are large in size and have limited memory in electronic devices, the image files are moved to the recycle bin in consideration of the fact that it is generally unlikely that files will need to be restored. At this time, a method of reducing the size of the image file and re-recording it using an appropriate algorithm is employed.
[0007]
As a prior art in which such a method is applied to an electronic file system, there is one described in Patent Document 1. In the electronic file system, a compressed image is generated by removing the redundancy of the original image and a recorded image file is generated. Here, the bit data of the original image is restored from the image file to be erased, and a certain reduction algorithm is applied thereto. Is applied to create a reduced image and the original image file is deleted, and then the reduced image is compressed and encoded to generate and record a recorded image file. In this way, the data amount of the re-recorded image file is reduced and the size thereof is reduced.
[0008]
Further, there is a technique described in Patent Document 2 as a conventional technique applied to a printer that stores and prints an image in a memory. Here, if there is not enough free space in the memory, select an image that can be erased and compressed from the images already stored in the memory, delete or compress the image, and still have insufficient free space in the memory. If so, the image is compressed by converting it to another data format with a higher compression rate.
[0009]
[Patent Document 1]
JP-A-5-37746 [Patent Document 2]
JP 2000-165634 A
[Problems to be solved by the invention]
In the above prior art, when erasing an image file, a reduced image of the original image is created and re-saved, or converted to another data format to increase the compression rate, thereby freeing up memory. Increase capacity.
[0011]
However, when considering applying these technologies to digital cameras, a method of creating and saving a reduced image of the original image is effective, but the compression rate of the image is constant and erased images are stored. As time goes on, the recycle bin will eventually become full, and when the capacity of the recycle bin is changed, the free space of the recording medium will eventually be squeezed.
[0012]
Also, a method for converting an image into another data format with a higher compression ratio is an effective method when an image can be compressed by selecting from a plurality of data formats, such as an image stored in a printer memory. However, this is not applicable when recording a standard format image on a recording medium like a digital camera.
[0013]
The present invention has been made in view of the above circumstances. When erasure of an image recorded on a recording medium is designated, the image is selectively erased and digitally recorded in a specific area (trash box) of the recording medium. It is an object of the present invention to provide a digital camera and an image recording control method thereof that do not press a specific area or a free space of a recording medium in the camera.
[0014]
[Means for Solving the Problems]
The digital camera of claim 1 is a digital camera having an image erasing function for selectively erasing an image recorded on a recording medium and recording the selected image in a specific area of the recording medium. Image data amount reduction means for reducing the data amount, and when the selected image is recorded in the specific area, all the images already recorded in the specific area have a data amount that is 1/2 or less of the original capacity And image recording control means for reducing the image data amount by the image data amount reduction means and re-recording in the specific area .
[0015]
The image recording method of a digital camera according to claim 7 is an image of a digital camera having an image erasing function for selectively erasing an image recorded on a recording medium and recording the selected image in a specific area of the recording medium. In a recording control method, when a selected image is recorded in the specific area, all the images already recorded in the specific area are sized so that the data amount is ½ or less of the original capacity. A recording step of re-recording in the specific area after reduction and / or data compression .
[0016]
According to the first and seventh aspects of the invention, when erasure of an image recorded on a recording medium is designated, the data amount of the image recorded in the specific area before that is reduced and re-recorded. Since the data reduction rate of an image whose erasing time is old can be increased, it does not impose pressure on a specific area or a free space of a recording medium as compared with the conventional method in which a certain reduction process is performed at the time of erasing. More specifically, when erasing an image, all the images that have already been recorded are re-recorded in the specific area with a data amount that does not exceed 1/2 of the original capacity. It is possible to accumulate in a number sequence having a ratio of 1/2 in the erasing order, and the total of the image data in the specific area can be suppressed to 1/2 or less of the specific area. For this reason, a ½ free space can always be secured in the specific area, so that there is no shortage of free space in the specific area.
[0017]
The digital camera according to claim 2 is the digital camera according to claim 1, wherein the image data amount reduction means reduces the size of the image, and the image recording control means reduces the image size and performs re-recording. To do.
[0018]
According to a third aspect of the present invention, in the digital camera according to the first or second aspect, the image data amount reducing unit compresses image data, and the image recording control unit determines a compression rate of the image data. To re-record.
[0019]
According to the above configuration, the amount of image data can be effectively reduced by applying image size reduction or image data compression.
[0020]
The digital camera according to claim 4 is the digital camera according to any one of claims 1 to 3, wherein the image recording control unit is configured to select the selected image with a data amount determined according to a capacity of the specific area. It is recorded in a specific area.
[0021]
The image recording control method for a digital camera according to claim 8 is the image recording control method for a digital camera according to claim 7 , wherein the image recording step includes determining the amount of data determined according to the capacity of the specific area. And a step of recording in the specific area.
[0022]
According to the inventions according to claims 4 and 8 , since the data amount of the image to be recorded in the specific area can be determined in association with the capacity of the specific area, the image is accumulated in the specific area by erasing by making an appropriate determination. It is also possible to prevent the free space in the specific area from being pressed.
[0023]
The digital camera according to claim 5 is the digital camera according to claim 4, wherein the image recording control unit is configured to select the selected area with a data amount that does not exceed a half of the capacity of the specific area. To record.
[0025]
The image recording control method for a digital camera according to claim 9 is the image recording control method for a digital camera according to claim 8 , wherein the image recording step does not exceed a half of the capacity of the specific area. The method includes a step of recording in the specific area with a data amount of size .
[0027]
According to the inventions according to claims 5 and 9 , when erasing an image, the selected image is recorded in the specific area with a data amount that does not exceed 1/2 of the capacity of the specific area. There is no shortage of free space in the area.
[0028]
The digital camera according to claim 6 is the digital camera according to any one of claims 1 to 5 , wherein the image recording control means records the selected image on the recording medium with the original data amount. The data is recorded in a specific area set to at least twice the capacity of the data amount image.
[0029]
The digital camera image recording control method according to claim 10 is the digital camera image recording control method according to any one of claims 7 to 9 , wherein the recording step retains the selected image with the original data amount. The method includes a step of recording in a specific area set to a capacity at least twice that of an image having the maximum data amount recorded on the recording medium.
[0030]
According to the inventions according to claims 6 and 10 , by recording in the specific area with the original data amount without reducing the data amount of the image erased most recently, for example, even when the image is erased by mistake, An erased image can be restored without degrading the image quality. In this case, by setting the capacity of the specific area to at least twice the capacity of the maximum data amount image recorded on the recording medium, the capacity of the specific area is insufficient even if the image is recorded with the original data amount. Will not occur.
[0031]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a digital camera according to an embodiment of the present invention. In FIG. 1, 100 is a main LSI for controlling a digital camera, 110 is an image input system for converting a captured image of a subject into digital image data, 111 is a recording medium for recording an image, 112 is a control program and image data An SRAM 113 is a flash ROM for storing a loaded processing program.
[0032]
In the main LSI 100, 101 is a CPU that executes a processing program, 102 is an LSI built-in RAM, 103 is a signal processing circuit that processes digital image data, 104 is a JPEG circuit that performs image compression, and 105 is an image that outputs a monitor image. A display circuit 106 is a recording medium control circuit that controls access to the recording medium.
[0033]
Digital image data input from the image input system 110 via the signal processing circuit 103 is subjected to image processing such as compression by the JPEG circuit 104 using the LSI built-in RAM 102 or SRAM 112 as a buffer, and is recorded on the recording medium 111 as a recorded image. To be recorded. A display image to be output to a monitor display LCD or a television connected to the outside is sent to the image display circuit 105, where a signal for driving the LCD or television is generated.
Images recorded on the recording medium 111 can be selectively erased by designating individual images by the operation of the camera user. A so-called trash box specific area is provided in the recording medium, and an image designated to be erased is re-recorded by moving it to the trash bin before erasing the image.
[0035]
The image re-recorded in the recycle bin is operated by the camera user specifying the image file in the recycle bin, and the processing program executed by the CPU 101 reads this image file and restores the image. If the image has been erased, the original image can be retrieved immediately.
[0036]
Here, in order to effectively use the recycle bin with a limited capacity, an image that is designated to be selectively deleted and re-recorded in the recycle bin has a file size that is 1/2 of the recycle bin capacity at the maximum. As described above, the image size is reduced and / or the image data is compressed.
[0037]
In addition, before re-recording image data designated to be deleted in the recycle bin, the file size of all image files re-recorded in the recycle bin before this time becomes 1/2 of the previous file size. Process as follows.
[0038]
This is because all the image files re-recorded in the recycle bin are read in order, and each image is restored, and then the image size is reduced or the image size is reduced so that each file capacity becomes 1/2 of the previous file capacity. This can be done by compressing the data, or both, and overwriting each file in the recycle bin.
[0039]
By doing so, the capacity reduction ratio of the image file with the oldest erasing point becomes higher geometrically, so that the free space in the trash can is remarkably increased as compared with the conventional method that performs a certain reduction process at the time of erasing. be able to. Also, by reducing the image file capacity reduction ratio to ½, the trash can always have a half of its capacity, so images that are designated for deletion are always re-recorded in the trash. And there will never be a shortage of recycle bin capacity.
[0040]
Here, the order in which image files are read out does not matter logically, but in practice, from the most recently re-recorded image file with the largest file size in the recycle bin so that file area management of the recording medium can be performed efficiently. A method such as sequential processing is conceivable.
[0041]
In addition, if the capacity of the recycle bin is set to at least twice the maximum data amount of images recorded on the recording medium, not only will the capacity of the recycle bin be insufficient, but the size of the image to be re-recorded in the recycle bin will be reduced. Since it is not necessary to perform compression, it is possible to restore an image having the same image quality as that before erasure when the image is restored.
[0042]
Images rerecorded in the Recycle Bin before the end are inferior in image quality to the extent that the image size was reduced or the image data was compressed when the image was restored, but the need to restore older images is more rapid Therefore, a new image can have a better image quality, which can provide practical convenience.
[0043]
2 and 3 are flowcharts showing an image recording control method of the digital camera according to the above embodiment. In FIG. 2, step S201 is a state in which the power source of the digital camera is turned on, and various menu selections can be made in addition to normal shooting.
[0044]
In the menu selection, if the initial setting is selected in step S202, the process proceeds to step S203, and in addition to various initial settings, initial setting of conditions for erasing the image recorded on the recording medium and re-recording in the trash box is performed. be able to. For example, the presence / absence of a trash can, whether the image size can be reduced, the reduction ratio of the image size, and whether the storage method in the trash can is the N-sheet equal storage mode or the final erased image priority storage mode.
[0045]
Here, the N-sheet equal storage mode is a conventional method in which an image is stored by performing a certain reduction process at the time of erasure, and the final erased image priority storage mode is the latest method as described above. This is a method for ensuring that the image re-recorded in the recycle bin has the best image quality.
[0046]
In step S204, it is detected that erasure of the image recorded on the recording medium is designated. If the image is not erased, the process proceeds to step S205, and shooting and other processing are performed in accordance with another menu selection. In the case of erasing the image, the process proceeds to step S206, and the presence / absence of the trash can is checked. If there is no recycle bin, the process immediately proceeds to step S218 to delete the designated image file and return to the menu selection.
[0047]
If there is a trash box, it is checked in step S207 if the storage method setting in the trash box is the N-sheet equal storage mode or the final erased image priority storage mode. If the erasure mode is the final erased image priority storage mode according to the present invention, the file capacity is set to 1 for all image files re-recorded in the trash before this by the processing from step S208 to S213. The process of setting to / 2 is performed.
[0048]
That is, in step S208, the last image file re-recorded in the trash box is selected, and in step S209, this is read and the image is restored. In step S210, the image size is reduced and / or the image data is compressed, the file capacity is reduced to half of the original size, and this file is overwritten on the original file in the trash box in step S211.
[0049]
The flowchart shown in FIG. 3 illustrates the method of step S210, that is, a method of reducing the image size and / or compressing the image data so that the file capacity is ½ or less of the original size. It is a flowchart to do.
[0050]
In FIG. 3, in steps S301 and S302, it is checked whether the initial setting specifies to reduce the image size or to compress the image data. Each process is performed in steps S303 to S305, and finally the file The capacity should be ½ or less of the original size.
[0051]
In step S212, it is checked whether or not the above process has been completed for all image files re-recorded in the trash. If not, the next image file in the trash box is selected in step S213, and the processes after step S209 are performed. repeat.
[0052]
When the processing for reducing the file capacity to ½ for all the image files re-recorded in the trash is completed, the process proceeds to step S214, and the file capacity of the image designated to be deleted this time is ½ of the capacity of the trash. It is checked whether or not:
[0053]
When the file capacity of the image to be erased exceeds 1/2 of the recycle bin capacity, the process proceeds to step S215, and the image size is reduced or the image data is compressed so that the file capacity is 1/2 or less of the recycle bin capacity. Both are implemented. Here, as described above, when the capacity of the recycle bin is set to at least twice the maximum data amount of the image recorded on the recording medium, such a process does not need to be performed, and the process of step S215 becomes unnecessary. Become.
[0054]
In this way, the image file determined to be ½ or less of the capacity of the trash can is written in the trash can in step S217. In step S218, the image file in the original recording medium designated to be erased is erased, and the menu selection is returned to after completing a series of processes.
[0055]
If it is determined in step S207 that the erase mode is the N-sheet equal storage mode, the process proceeds to step S216. In this mode, the capacity of all image files re-recorded in the recycle bin is 1 / N of the capacity of the recycle bin. Therefore, the image size is reduced or the image data is reduced so that the file capacity is 1 / N of the capacity of the recycle bin. Compression or both are performed.
[0056]
In this way, the image file reduced to 1 / N of the capacity of the recycle bin is written in the recycle bin in step S217. In step S218, the image file in the original recording medium designated to be erased is erased, and the menu selection is returned to after completing a series of processes. In this method, the number of image files that can be stored in the recycle bin is limited to N. If the number of image files exceeds that, old image files are also deleted from the recycle bin.
[0057]
As described above, according to the present embodiment, not only the capacity of the recycle bin will never be insufficient, but the image data re-recorded in the recycle bin at the end will be the same image quality as before the image was deleted when the image was restored. It becomes possible to restore, and it is possible to realize a trash can method that can obtain better image quality when an image is restored as the image is re-recorded in the trash can.
[0058]
【The invention's effect】
As described above, according to the present invention, when erasure of an image recorded on a recording medium is designated, the data amount of an image previously recorded in a specific area is reduced and re-recorded. Since the data reduction rate of an image whose erasing time is old can be increased, it does not impose pressure on a specific area or a free space of a recording medium as compared with the conventional method in which a certain reduction process is performed at the time of erasing.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a digital camera according to an embodiment of the present invention.
FIG. 2 is a flowchart showing an image recording control method for a digital camera according to an embodiment of the present invention.
FIG. 3 is a flowchart for explaining a processing method for reducing the file capacity to ½ of the original size;
[Explanation of symbols]
100 Main LSI
101 CPU
102 LSI built-in RAM
103 signal processing circuit 104 JPEG circuit 105 image display circuit 106 recording medium control circuit 110 image input system 111 recording medium 112 SRAM
113 Flash ROM

Claims (11)

記録媒体に記録された画像を選択的に消去するとともに、選択された画像を前記記録媒体の特定領域に記録する画像消去機能を備えるデジタルカメラであって、
画像のデータ量を削減する画像データ量削減手段と、
選択された画像を前記特定領域に記録する際に、前記特定領域にすでに記録されているすべての画像を元の容量の1/2以下のデータ量になるように前記画像データ量削減手段で削減して前記特定領域に再記録する画像記録制御手段とを備えるデジタルカメラ。
A digital camera having an image erasing function for selectively erasing an image recorded on a recording medium and recording the selected image in a specific area of the recording medium,
Image data amount reduction means for reducing the amount of image data;
When the selected image is recorded in the specific area, all the images already recorded in the specific area are reduced by the image data amount reducing means so that the data amount is 1/2 or less of the original capacity. digital camera and an image recording control means for re-recorded in the specific area to.
前記画像データ量削減手段は、画像のサイズを縮小するものであり、前記画像記録制御手段は、画像サイズを縮小して再記録する請求項1記載のデジタルカメラ。  The digital camera according to claim 1, wherein the image data amount reducing means reduces the size of an image, and the image recording control means reduces the image size and re-records. 前記画像データ量削減手段は、画像のデータを圧縮するものであり、前記画像記録制御手段は、画像データの圧縮率を高めて再記録する請求項1または2記載のデジタルカメラ。  The digital camera according to claim 1, wherein the image data amount reduction unit compresses image data, and the image recording control unit rerecords the image data by increasing a compression rate thereof. 前記画像記録制御手段は、選択された画像を前記特定領域の容量に応じて決定したデータ量で前記特定領域に記録する請求項1から3のいずれか一項記載のデジタルカメラ。  The digital camera according to any one of claims 1 to 3, wherein the image recording control unit records the selected image in the specific area with a data amount determined according to a capacity of the specific area. 前記画像記録制御手段は、選択された画像を前記特定領域の容量の1/2を越えない大きさのデータ量で前記特定領域に記録する請求項4記載のデジタルカメラ。  5. The digital camera according to claim 4, wherein the image recording control means records the selected image in the specific area with a data amount not exceeding 1/2 of the capacity of the specific area. 前記画像記録制御手段は、選択された画像を元のデータ量のまま前記記録媒体に記録される最大データ量の画像の少なくとも2倍の容量に設定した特定領域に記録する請求項1から5のいずれか一項記載のデジタルカメラ。  6. The image recording control unit according to claim 1, wherein the image recording control unit records the selected image in a specific area set to a capacity at least twice that of an image having a maximum data amount recorded on the recording medium with the original data amount. The digital camera according to any one of the above. 記録媒体に記録された画像を選択的に消去するとともに、選択された画像を前記記録媒体の特定領域に記録する画像消去機能を備えるデジタルカメラの画像記録制御方法であって、
選択された画像を前記特定領域に記録する際に、前記特定領域にすでに記録されているすべての画像を元の容量の1/2以下のデータ量になるようにサイズ縮小および/またはデータ圧縮により削減して前記特定領域に再記録する記録ステップを含むデジタルカメラの画像記録制御方法。
An image recording control method for a digital camera having an image erasing function for selectively erasing an image recorded on a recording medium and recording the selected image in a specific area of the recording medium,
When the selected image is recorded in the specific area, all the images already recorded in the specific area are reduced in size and / or compressed so that the data amount is 1/2 or less of the original capacity. An image recording control method for a digital camera, comprising a recording step of reducing and re-recording in the specific area.
前記画像記録ステップは、選択された画像を前記特定領域の容量に応じて決定したデータ量で前記特定領域に記録するステップを含む請求項7記載のデジタルカメラの画像記録制御方法。  8. The image recording control method for a digital camera according to claim 7, wherein the image recording step includes a step of recording the selected image in the specific area with a data amount determined according to the capacity of the specific area. 前記画像記録ステップは、選択された画像を前記特定領域の容量の1/2を越えない大きさのデータ量で前記特定領域に記録するステップを含む請求項8記載のデジタルカメラの画像記録制御方法。  9. The image recording control method for a digital camera according to claim 8, wherein the image recording step includes a step of recording the selected image in the specific area with a data amount not exceeding 1/2 of the capacity of the specific area. . 前記画像記録ステップは、選択された画像を元のデータ量のまま前記記録媒体に記録される最大データ量の画像の少なくとも2倍の容量に設定した特定領域に記録するステップを含む請求項7から9のいずれか一項記載のデジタルカメラの画像記録制御方法。  8. The image recording step includes a step of recording the selected image in a specific area set to a capacity at least twice that of an image having a maximum data amount recorded on the recording medium with the original data amount. The image recording control method for a digital camera according to claim 9. 記録媒体に記録された画像を選択的に消去するとともに、選択された画像を前記記録媒体の特定領域に記録する画像消去機能を備えるデジタルカメラの画像記録制御プログラムであって、コンピュータを、選択された画像を前記特定領域に記録する際に、前記特定領域の容量に応じて前記特定領域にすでに記録されているすべての画像を元の容量の1/2以下のデータ量になるようにサイズ縮小および/またはデータ圧縮により削減して前記特定領域に再記録する手段として機能させるデジタルカメラの画像記録制御プログラム。  An image recording control program for a digital camera having an image erasing function for selectively erasing an image recorded on a recording medium and recording the selected image in a specific area of the recording medium, wherein the computer is selected When the recorded image is recorded in the specific area, the size of all the images already recorded in the specific area is reduced according to the capacity of the specific area so that the data amount is 1/2 or less of the original capacity. And / or an image recording control program for a digital camera that functions as means for re-recording in the specific area after being reduced by data compression.
JP2002381999A 2002-12-27 2002-12-27 Digital camera and image recording control method thereof Expired - Fee Related JP4452440B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002381999A JP4452440B2 (en) 2002-12-27 2002-12-27 Digital camera and image recording control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002381999A JP4452440B2 (en) 2002-12-27 2002-12-27 Digital camera and image recording control method thereof

Publications (2)

Publication Number Publication Date
JP2004214943A JP2004214943A (en) 2004-07-29
JP4452440B2 true JP4452440B2 (en) 2010-04-21

Family

ID=32817746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002381999A Expired - Fee Related JP4452440B2 (en) 2002-12-27 2002-12-27 Digital camera and image recording control method thereof

Country Status (1)

Country Link
JP (1) JP4452440B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4695480B2 (en) * 2005-10-04 2011-06-08 オリンパスイメージング株式会社 camera

Also Published As

Publication number Publication date
JP2004214943A (en) 2004-07-29

Similar Documents

Publication Publication Date Title
US8953066B2 (en) Image file generation device, camera and image file generation method
US20030174219A1 (en) Image pickup and recording apparatus for recording a certain image separately from other image, and an image picking up and recording method
US20080069522A1 (en) Apparatus, method and computer program for processing information
JPH08289241A (en) Digital electronic still camera
KR101342914B1 (en) Electron apparatus having file restore function and method thereof
JP5634057B2 (en) Recording apparatus and recording method
JP4949176B2 (en) Information processing apparatus, recording method, and computer program
JP4452440B2 (en) Digital camera and image recording control method thereof
JP4269926B2 (en) Image processing apparatus and image processing method
JP2005050192A (en) Information recording system
JP2002247515A (en) Image recording device
JP4060462B2 (en) Information management method and information management apparatus
JP2007074213A (en) Camera system, camera, and external storage apparatus
JP3852459B2 (en) Image processing apparatus and image processing method
JP2002135711A (en) Electronic camera device and recording medium
EP1168815B1 (en) Data processing apparatus using recording medium which needs data erasing processing before recording of data
JP2007036582A (en) Information recording apparatus and method
JP3964076B2 (en) Information storage device
JP3840125B2 (en) Image processing device
JP2008219425A (en) Image processor and image processing method
JP3914411B2 (en) Imaging recording device
JP4383320B2 (en) Digital camera
JP2009003984A (en) Information recording device
JP2009200577A (en) Image recording device
JP4882950B2 (en) Recording apparatus, recording method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050215

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060325

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061124

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071108

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071115

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080425

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080611

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080801

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080820

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20080912

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

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees