JP3777721B2 - Image data storage device, image data storage method, imaging method, and storage medium - Google Patents

Image data storage device, image data storage method, imaging method, and storage medium Download PDF

Info

Publication number
JP3777721B2
JP3777721B2 JP15129497A JP15129497A JP3777721B2 JP 3777721 B2 JP3777721 B2 JP 3777721B2 JP 15129497 A JP15129497 A JP 15129497A JP 15129497 A JP15129497 A JP 15129497A JP 3777721 B2 JP3777721 B2 JP 3777721B2
Authority
JP
Japan
Prior art keywords
image data
image
mode
stored
information
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
JP15129497A
Other languages
Japanese (ja)
Other versions
JPH1056612A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP15129497A priority Critical patent/JP3777721B2/en
Publication of JPH1056612A publication Critical patent/JPH1056612A/en
Application granted granted Critical
Publication of JP3777721B2 publication Critical patent/JP3777721B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、デジタルカメラ等の画像データ記憶装置、画像データ記憶方法、撮像方法、及び記憶媒体に係り、特に撮像して記憶媒体に記憶された画像の画質レベルを変更可能な画像データ記憶装置、画像データ記憶方法、撮像方法、及び記憶媒体に関する。
【0002】
【従来の技術】
近時、撮像した画像をフィルムの代わりに電子的に記憶するデジタルカメラ(電子カメラ)が普及している。かかるデジタルカメラは、撮影者がシャッターを押すと、レンズを通った被写体の画像がCCD素子によって捕捉され、カメラ内部の回路を通じてデータ圧縮等がなされて内部の記憶媒体に書き込まれる。
【0003】
また、デジタルカメラにおいては、撮影時に操作者が画質レベルを選択して、この選択された画質レベルに応じたデータ圧縮率で、撮像した画像を圧縮して記録するものも知られている。
【0004】
【発明が解決しようとする課題】
しかしながら、従来のデジタルカメラにあっては、撮影時に画質レベルを選択して撮影をおこなっていたため、画質レベルを間違って撮影してしまったり、撮影後に画質レベルを変更できない等の問題があった。また、画質レベルを設定していたためシャッターチャンスを逃してしまう等の問題があった。
【0005】
更に、記憶媒体の残記憶容量が不足した場合には、必要のなくなった画像データを操作者が消去しなければならず、その操作が煩わしいという問題があった。
【0006】
本発明は、上記課題に鑑みてなされたものであり、撮影後に画質レベルを変更したり、自動的に新たに撮影する画像を記憶するための記憶領域を確保できる画像データ記憶装置、画像データ記憶方法、撮像方法、及び記憶媒体を提供することを目的とする。
【0007】
【課題を解決するための手段】
請求項1記載の画像データ記憶装置は、被写体の画像を撮像して、複数の圧縮率のうちの所定圧縮率で圧縮し、記憶媒体にこの圧縮した画像を記憶する画像データ記憶装置において、前記複数の圧縮率のうち所定の圧縮率を指示する指示手段と、この指示手段により指示された圧縮率より低い圧縮率で前記撮像した画像を圧縮して前記記憶媒体に記憶するとともに、該画像データと対応付けて該画像データが前記指示された圧縮率より低い圧縮率で圧縮して記憶された画像データであることを示す情報を記憶する第1の記憶制御手段と、前記記憶媒体の記憶容量を検出するメモリ容量検出手段と、前記メモリ容量検出手段により検出された記憶容量により画像データを記憶することが不可能であると判断したとき、前記記憶媒体に記憶されている画像データのうち前記情報が対応付けて記憶されている画像データを前記指示された圧縮率で再圧縮する再圧縮手段と、前記メモリ容量検出手段により検出された記憶容量により画像データを記憶することが不可能であると判断したとき、前記記憶媒体に記憶されている画像データのうち前記情報が対応付けて記憶されている画像データを消去する消去手段と、この消去手段により消去された画像データが記憶されていた記憶領域に前記再圧縮手段により再圧縮された画像データを記憶する第2の記憶制御手段とを備えたことを特徴としている。
【0008】
すなわち、請求項1記載の画像データ記憶装置によれば、被写体の画像を撮像して、複数の圧縮率のうちの所定圧縮率で圧縮し、記憶媒体にこの圧縮した画像を記憶する画像データ記憶装置において、指示手段は複数の圧縮率のうち所定の圧縮率を指示し、第1の記憶制御手段は指示手段により指示された圧縮率より低い圧縮率で撮像した画像を圧縮して記憶媒体に記憶するとともに、該画像データと対応付けて該画像データが指示された圧縮率より低い圧縮率で圧縮して記憶された画像データであることを示す情報を記憶し、メモリ容量検出手段は記憶媒体の記憶容量を検出し、再圧縮手段はメモリ容量検出手段により検出された記憶容量により画像データを記憶することが不可能であると判断したとき、記憶媒体に記憶されている画像データのうち情報が対応付けて記憶されている画像データを指示された圧縮率で再圧縮し、消去手段はメモリ容量検出手段により検出された記憶容量により画像データを記憶することが不可能であると判断したとき、記憶媒体に記憶されている画像データのうち情報が対応付けて記憶されている画像データを消去し、第2の記憶制御手段は消去手段により消去された画像データが記憶されていた記憶領域に再圧縮手段により再圧縮された画像データを記憶する
【0009】
したがって、指示された画像の圧縮率よりも低い圧縮率で撮像した画像データを記憶媒体に記憶する構成である故、常に、高画質で画像データを記憶することが可能となり、操作者の使い勝手が良くなる。
また、記憶媒体のメモリ容量を確認して、残メモリ容量がないと判断した場合に、記憶媒体に記憶されている画像データをより低い画質レベルで再圧縮する構成である故、自動的に、新たに撮影する画像を記憶するための記憶領域を確保することが可能となり、操作者の使い勝手が良くなる。
【0013】
また、この場合、請求項2記載の画像データ記憶装置の如く、前記第1の記憶制御手段は、前記指示手段により前記所定の圧縮率が指示された場合、該指示された所定の圧縮率より低い圧縮率で前記撮像した画像を圧縮して前記記憶媒体に記憶するとともに、該画像データと対応付けて、該画像データが前記指示された所定の圧縮率より低い圧縮率で圧縮して記憶された画像データであることを示す情報として前記指示された所定の圧縮率に関する情報を記憶し、前記再圧縮手段は、前記メモリ容量検出手段により検出された記憶容量により画像データを記憶することが不可能であると判断したとき、前記記憶媒体に記憶されている画像データのうち前記所定の圧縮率に関する情報が対応付けて記憶されている画像データを前記指示された所定の圧縮率で再圧縮し、前記消去手段は、前記メモリ容量検出手段により検出された記憶容量により画像データを記憶することが不可能であると判断したとき、前記記憶媒体に記憶されている画像データのうち前記所定の圧縮率に関する情報が対応付けて記憶されている画像データを消去することが有効である。
即ち、請求項2記載の画像データ記憶装置によれば、請求項1記載の画像データ記憶装置において、第1の記憶制御手段は、指示手段により所定の圧縮率が指示された場合、該指示された所定の圧縮率より低い圧縮率で撮像した画像を圧縮して記憶媒体に記憶するとともに、該画像データと対応付けて、該画像データが指示された所定の圧縮率より低い圧縮率で圧縮して記憶された画像データであることを示す情報として指示された所定の圧縮率に関する情報を記憶し、再圧縮手段は、メモリ容量検出手段により検出された記憶容量により画像データを記憶することが不可能であると判断したとき、記憶媒体に記憶されている画像データのうち所定の圧縮率に関する情報が対応付けて記憶されている画像データを指示された所定の圧縮率で再圧縮し、消去手段は、メモリ容量検出手段により検出された記憶容量により画像データを記憶することが不可能であると判断したとき、記憶媒体に記憶されている画像データのうち所定の圧縮率に関する情報が対応付けて記憶されている画像データを消去する。
【0014】
また、この場合、請求項3記載の画像データ記憶装置の如く、前記記憶媒体は、前記所定の圧縮率に関する情報を記憶する圧縮率領域と圧縮画像を記憶する画像領域を備え、
前記第1の記憶制御手段は、前記圧縮画像を前記画像領域に記憶するとともに、前記所定の圧縮率に関する情報を前記圧縮率領域に記憶することが有効である。
即ち、請求項記載の画像データ記憶装置によれば、請求項記載の画像データ記憶装置において、記憶媒体は、所定の圧縮率に関する情報を記憶する圧縮率領域と圧縮画像を記憶する画像領域を備え、第1の記憶制御手段は、圧縮画像を画像領域に記憶するとともに、所定の圧縮率に関する情報を圧縮率領域に記憶する。
【0015】
したがって、記憶媒体の圧縮率領域に画像データの圧縮率の情報を記憶する一方、画像領域に圧縮画像データを記憶する構成であるので、記憶媒体において、所望の圧縮率の画像を指定することが容易となる。
【0016】
また、この場合、請求項記載の画像データ記憶装置の如く、記指示手段は、前記複数の圧縮率のうち前記所定の圧縮率よりも低い圧縮率を指示する手段を含み、前記第1の記憶制御手段は、前記指示手段により前記所定の圧縮率より低い圧縮率が指示された場合、該指示された所定の圧縮率より低い圧縮率で前記撮像した画像を圧縮して前記記憶媒体に記憶するとともに、該画像データと対応付けて前記指示された所定の圧縮率より低い圧縮率に関する情報を記憶する手段を含むことを特徴としている。
即ち、請求項4記載の画像データ記憶装置によれば、請求項2記載の画像データ記憶装置において、指示手段は、複数の圧縮率のうち所定の圧縮率よりも低い圧縮率を指示する手段を含み、第1の記憶制御手段は、指示手段により所定の圧縮率より低い圧縮率が指示された場合、該指示された所定の圧縮率より低い圧縮率で撮像した画像を圧縮して記憶媒体に記憶するとともに、該画像データと対応付けて指示された所定の圧縮率より低い圧縮率に関する情報を記憶する手段を含む。
【0017】
また、この場合、請求項5記載の画像データ記憶装置の如く、前記記憶媒体に画像データと対応付けて記憶されている前記所定の圧縮率に関する情報及び又は前記所定の圧縮率よりも低い圧縮率に関する情報を、前記所定の圧縮率よりも低い圧縮率に関する情報及び又は前記所定の圧縮率に関する情報に変更する情報変更手段を更に備えたことを特徴としている。
即ち、請求項記載の画像データ記憶装置によれば、請求項記載の画像データ記憶装置において、記憶媒体に画像データと対応付けて記憶されている所定の圧縮率に関する情報及び又は所定の圧縮率よりも低い圧縮率に関する情報を、所定の圧縮率よりも低い圧縮率に関する情報及び又は所定の圧縮率に関する情報に変更する情報変更手段を更に備える。
【0018】
したがって、記憶媒体の圧縮率領域に記憶した圧縮率情報を変更可能な構成である故、操作者が、撮影時には高画質のまま保存したいと考えていたが、低画質に変更してもよいと考える場合や、逆に、撮影時には低画質に変更してもよいと考えていたが、高画質のまま保存したいと考えが変わった場合に対処可能となり、使い勝手が良くなる。
【0019】
また、請求項記載の画像データ記憶方法は、撮像画像を第1の圧縮率で圧縮して記憶媒体に記憶する第1の記憶モードと、該第1の圧縮率より高い圧縮率で撮像画像を圧縮して該記憶媒体に記憶する第2の記憶モードとを有し、モード情報とともに圧縮画像データを記憶する画像データ記憶方法において、画像データの取り込み時に前記第2の記憶モードが指定されていても、前記記憶媒体の記憶容量に余裕があるときは取り込んだ画像データに対して前記第1の記憶モードに基づく処理を行い、該圧縮画像データと前記第2の記憶モードが指定されていたことを示すモード情報とを共に記憶することを特徴としている。
【0020】
すなわち、請求項記載の画像データ記憶方法によれば、撮像画像を第1の圧縮率で圧縮して記憶媒体に記憶する第1の記憶モードと、該第1の圧縮率より高い圧縮率で撮像画像を圧縮して該記憶媒体に記憶する第2の記憶モードとを有し、モード情報とともに圧縮画像データを記憶する画像データ記憶方法において、画像データの取り込み時に第2の記憶モードが指定されていても、記憶媒体の記憶容量に余裕があるときは取り込んだ画像データに対して第1の記憶モードに基づく処理を行い、該圧縮画像データと第2の記憶モードが指定されていたことを示すモード情報とを共に記憶する。
【0023】
また、この場合、請求項記載の画像データ記憶方法の如く、前記記憶媒体の記憶容量が不足したときに、前記第2の記憶モードが指定されていたことを示すモード情報と共に記憶されている画像データを、該第2の記憶モードで再記憶することが有効である。
【0024】
即ち、請求項記載の画像データ記憶方法によれば、請求項記載の画像データ記憶方法において、記憶媒体の記憶容量が不足したときに、第2の記憶モードが指定されていたことを示すモード情報と共に記憶されている画像データを、該第2の記憶モードで再記憶する。
【0025】
請求項記載の撮像方法は、撮像画像を相対的に高画質で情報量の多い画像データとなるように処理を行ってメモリに保存する第1の撮像モードと、撮像画像を相対的に低画質で情報量の少ない画像データとなるように処理を行って前記メモリに保存する第2の撮像モードとを有し、モード情報とともに画像データを記憶するデジタルカメラにおける撮像方法であって、撮像時に前記第2の撮像モードが指定されていても、前記相対的に高画質で情報量の多い第1の撮像モードで撮像して得られた画像データを、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶しておき、前記メモリの残量が所定容量より少なくなった際には、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶されている画像データを、前記相対的に低画質で情報量の少ない画像データに変換して前記メモリに保存することを特徴としている。
【0026】
請求項記載の撮像方法によれば、撮像画像を相対的に高画質で情報量の多い画像データとなるように処理を行ってメモリに保存する第1の撮像モードと、撮像画像を相対的に低画質で情報量の少ない画像データとなるように処理を行ってメモリに保存する第2の撮像モードとを有し、モード情報とともに画像データを記憶するデジタルカメラにおける撮像方法であって、撮像時に第2の撮像モードが指定されていても、相対的に高画質で情報量の多い第1の撮像モードで撮像して得られた画像データを、第2の撮像モードが指定されていたことを示すモード情報と共にメモリに記憶しておき、メモリの残量が所定容量より少なくなった際には、第2の撮像モードが指定されていたことを示すモード情報と共にメモリに記憶されている画像データを、相対的に低画質で情報量の少ない画像データに変換してメモリに保存する。
【0027】
したがって、新たに撮像する画像を記憶するための所定容量を自動的に確保することができ、予期しないシャッターチャンスで撮影時にメモリ残量の確認をできなかった場合等にも、操作者の意志に反して必要な画像に上書きされてしまう、撮像した画像が保存されない等の問題点を解消することができ、操作者の使い勝手が良くなる。
【0028】
請求項記載の撮像方法は、撮像画像を相対的に高画質で情報量の多い画像データとなるように処理を行ってメモリに保存する第1の撮像モードと、撮像画像を相対的に低画質で情報量の少ない画像データとなるように処理を行って前記メモリに保存する第2の撮像モードとを有し、モード情報とともに画像データを記憶するデジタルカメラにおける撮像方法であって、撮像時に前記第2の撮像モードが指定されていても、前記相対的に高画質で情報量の多い第1の撮像モードで撮像して得られた画像データを、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶しておき、所定の操作により、前記第2の撮像モードを示すモード情報を前記第1の撮像モードを示すモード情報に変更可能であることを特徴としている。
【0029】
請求項記載の撮像方法によれば、撮像画像を相対的に高画質で情報量の多い画像データとなるように処理を行ってメモリに保存する第1の撮像モードと、撮像画像を相対的に低画質で情報量の少ない画像データとなるように処理を行ってメモリに保存する第2の撮像モードとを有し、モード情報とともに画像データを記憶するデジタルカメラにおける撮像方法であって、撮像時に第2の撮像モードが指定されていても、相対的に高画質で情報量の多い第1の撮像モードで撮像して得られた画像データを、第2の撮像モードが指定されていたことを示すモード情報と共にメモリに記憶しておき、所定の操作により、第2の撮像モードを示すモード情報を第1の撮像モードを示すモード情報に変更可能である。
【0030】
したがって、撮影時に誤った撮像モード指定をしてしまった場合、撮影時には相対的に低画質な画像でよいと判断したが後に高画質な画像が必要になった場合、予期しないシャッターチャンスで撮影時に操作者の意志で撮像モードを指定できなかった場合等にも、撮像画像を相対的に高画質な画像データとしてメモリに保存し、撮影後に所定の操作により当該撮像画像を相対的に高画質な画像データのまま保存するようにモード変更をすることができる。
【0031】
請求項10記載の撮像方法は、撮像画像を相対的に高画質で情報量の多い画像データとなるように処理を行ってメモリに保存する第1の撮像モードと、撮像画像を相対的に低画質で情報量の少ない画像データとなるように処理を行って前記メモリに保存する第2の撮像モードとを有し、モード情報とともに画像データを記憶できると共にパーソナルコンピュータと接続できるデジタルカメラにおける撮像方法であって、撮像時に前記第2の撮像モードが指定されていても、前記相対的に高画質で情報量の多い第1の撮像モードで撮像して得られた画像データを、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶しておき、前記デジタルカメラから前記パーソナルコンピュータへ画像データを転送する際は、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶されている画像データも前記相対的に低画質で情報量の少ない画像データに変換することなく前記相対的に高画質で情報量の多い画像データのまま転送することを特徴としている。
【0032】
請求項10記載の撮像方法によれば、撮像画像を相対的に高画質で情報量の多い画像データとなるように処理を行ってメモリに保存する第1の撮像モードと、撮像画像を相対的に低画質で情報量の少ない画像データとなるように処理を行ってメモリに保存する第2の撮像モードとを有し、モード情報とともに画像データを記憶できると共にパーソナルコンピュータと接続できるデジタルカメラにおける撮像方法であって、撮像時に第2の撮像モードが指定されていても、相対的に高画質で情報量の多い第1の撮像モードで撮像して得られた画像データを、第2の撮像モードが指定されていたことを示すモード情報と共にメモリに記憶しておき、デジタルカメラからパーソナルコンピュータへ画像データを転送する際は、第2の撮像モードが指定されていたことを示すモード情報と共にメモリに記憶されている画像データも相対的に低画質で情報量の少ない画像データに変換することなく相対的に高画質で情報量の多い画像データのまま転送する。
【0033】
また、請求項11記載の記憶媒体は、撮像画像を相対的に高画質で情報量の多い画像データとなるように処理を行ってメモリに保存する第1の撮像モードと、撮像画像を相対的に低画質で情報量の少ない画像データとなるように処理を行って前記メモリに保存する第2の撮像モードとを有し、モード情報とともに画像データを記憶できると共にパーソナルコンピュータと接続できるデジタルカメラによって実行されるプログラムを記憶した記憶媒体であって、撮像時に前記第2の撮像モードが指定されていても、前記相対的に高画質で情報量の多い第1の撮像モードで撮像して得られた画像データを、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶するプログラムステップと、前記デジタルカメラから前記パーソナルコンピュータへ画像データを転送する際は、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶されている画像データも前記相対的に低画質で情報量の少ない画像データに変換することなく前記相対的に高画質で情報量の多い画像データのまま転送するプログラムステップと、を含むことを特徴としている。
【0034】
請求項11記載の記憶媒体によれば、撮像画像を相対的に高画質で情報量の多い画像データとなるように処理を行ってメモリに保存する第1の撮像モードと、撮像画像を相対的に低画質で情報量の少ない画像データとなるように処理を行ってメモリに保存する第2の撮像モードとを有し、モード情報とともに画像データを記憶できると共にパーソナルコンピュータと接続できるデジタルカメラによって実行されるプログラムを記憶した記憶媒体であって、撮像時に第2の撮像モードが指定されていても、相対的に高画質で情報量の多い第1の撮像モードで撮像して得られた画像データを、第2の撮像モードが指定されていたことを示すモード情報と共にメモリに記憶するプログラムステップと、デジタルカメラからパーソナルコンピュータへ画像データを転送する際は、第2の撮像モードが指定されていたことを示すモード情報と共にメモリに記憶されている画像データも相対的に低画質で情報量の少ない画像データに変換することなく相対的に高画質で情報量の多い画像データのまま転送するプログラムステップと、を含む。
【0035】
したがって、撮影時には相対的に低画質な画質でよいと指定された画像データでも高画質の画像データとしてコンピュータに転送することが可能であるので、コンピュータによる画像編集、印刷等の各種処理時に高画質な画像データとして扱うことができる等の利点がある。
【0036】
【発明の実施の形態】
以下、図1〜図9を参照して本発明が適用される好適な実施の形態を説明する。
【0037】
(第1の実施の形態)
図1〜図5は、本発明をデジタルカメラに適用した第1の実施の形態を示す図である。
まず、構成を説明する。
【0038】
図1は、本実施の形態のデジタルカメラ1の外観構成を示す斜視図である。
図1においてデジタルカメラ1は、カメラ部3と本体部2とから構成されており、このカメラ部3と本体部2とは相対的に回転自在に結合されている。
【0039】
カメラ部3には、図中背面側に撮像レンズ7が設けられており、このカメラ部3を本体部2を軸にして図中前方、或いは後方に回転させることで、撮像レンズの位置を、例えば、図中前面側の位置に移動させるなど、様々な位置に設定することができる。図1では、後方に180°回動した状態を示している。
【0040】
一方、本体部2には、図中前面側にLCD6(Liquid Crystal Display:液晶ディスプレイ)が設けられている。このLCD6には、撮影時に撮像レンズ7を介して取り込んだ被写体の画像を表示することが、また、撮影後に撮像した画像を再生表示することができる。また、このLCD6右側には、上下へのスライド操作により撮影モード、設定モード、再生モード、及び通信モードなどの切換えを指示するファンクション切換キー18が設けられている。
【0041】
そして、本体部2は、ケース4の上面に、電源スイッチ8、「シャッター」キー9、[DEL」キー10、「+」キー11、「−」キー12、「MODE」キー13、「DSP(ディスプレイ)」キー14、「画質変換」キー15、「変換実行」キー16、及び「画質モード」キー19等を備えると共に、開閉蓋17内に、図示しない外部電源端子、ビデオ出力端子、デジタル端子を備えている。また、ケース4の下面には開閉式の電池蓋(図示せず)が設けられている。
【0042】
図2は、図1に示したデジタルカメラ1の回路構成を示すブロック図である。図2に示すデジタルカメラ1は、上記図1に示したLCD6と、CCD20、バッファ21、A/D変換器22、駆動回路23、タイミングジェネレータ24、DRAM25、圧縮/伸長回路26、フラッシュメモリ27、ROM28、RAM29、キー入力部30、CPU31、シグナルジェネレータ32、VRAM33、D/A変換器34、バッファ35、及びI/Oポート36と、により構成されている。
【0043】
CCD(Charge Coupled Device )20は、フォトダイオードなどの受光部に転送電極を重ねた素子(画素)を平面状に多数配設した画素面と、各画素に蓄積された電荷を電圧に変換して出力する出力部とから構成される。撮像レンズ7を介して入射した光は前記画素面で受光され、各画素には受光量に比例した電荷が蓄積される。各画素の蓄積電荷は、駆動回路23から供給される駆動信号に応じて前記出力部により電気信号として1画素分ずつ順次読み出され、撮像信号(アナログ信号)としてバッファ21を介してA/D変換器22に出力される。
【0044】
A/D(Analog to Digital)変換器22は、CCD20からバッファ21を介して入力される撮像信号をアナログ信号からデジタル信号に変換し、これをタイミングジェネレータ24に供給する。
【0045】
駆動回路23は、タイミングジェネレータ24から供給されるタイミング信号に基づいてCCD20の露光及び読み出しタイミングを駆動制御する。また、タイミングジェネレータ24は、CPU31から入力される映像取り込み信号に基づいて駆動回路23を制御するタイミング信号を生成する。
【0046】
DRAM(Dynamic Random Access Memory )25は、シグナルジェネレータ32から供給される撮像した画像データ、或いはCPU31によりフラッシュメモリ27から読み出され、後述する圧縮/伸長回路26により伸長処理された画像データを一時的に格納する半導体メモリである。
【0047】
圧縮/伸長回路26は、DRAM25に格納された画像データを符号化により圧縮処理する。具体的には、画像データを所定の符号化方式、すなわち、取り扱う画像の種類(この場合、静止画)に応じた、例えば、JPEG(Joint Photographic Experts Group)アルゴリズムによる8×8画素毎のDCT(Discrete Cosine Transform:離散コサイン変換)、量子化、ハフマン符号化により圧縮処理(符号化処理)し、この圧縮処理した画像データをフラッシュメモリ27に出力する。また、フラッシュメモリ27に格納されている圧縮処理された画像データを復号化して伸長処理し、DRAM25に格納する。
【0048】
また、圧縮/伸長回路26は、複数の圧縮率で画像データをデータ圧縮することが可能であり、低圧縮率でデータ圧縮を行うモード(高画質モード)と高圧縮率でデータ圧縮を行うモード(メモリ容量節約モード)とを備えているが、圧縮/伸長回路26は、撮影時には、「画質モード」キー19により「FINE」(高画質モード)及び「エコノミー」(メモリ容量節約モード)のいずれが選択された場合でも、低圧縮率で画像データを圧縮する。
【0049】
フラッシュメモリ27は、圧縮/伸長回路26により圧縮処理された画像データを複数格納する半導体メモリである。図3は、フラッシュメモリ27のメモリ構成の一例を示す図である。
図3に示す如く、フラッシュメモリ27は、撮像した画像の情報を管理するヘッダ部(テーブル)27Aと、撮像した画像の画像データが記憶される画像データ記憶部27Bとから構成されている。
【0050】
ヘッダ部27Aは、画像の「ページ番号」と、撮像した画像の画像データが記憶される画像データ記憶部27Bの「先頭アドレス」と、撮像した画像をそれぞれに識別するための「画像種類」と、入力部30の「画質モード」キー19で選択された画質レベルを示す「画質モードフラグ」(「画質モード」キー19で「FINE」が選択された場合は「H」、「エコノミー」が選択された場合は「L」)の各データが対応づけられて複数格納され、画像データ記憶部27Bに画像データが新たに記憶される場合や、記憶されている画像データの態様(データ圧縮率)が変更される毎にヘッダ部27Aのヘッダ情報は更新される。
【0051】
画像データ記憶部27Bは、ヘッダ部27Aにアドレス管理され、アドレス順で時系列にブロック単位で画像データを記憶する。
尚、図3に示される例では、画像1、3のデータがデータ記憶部27Bの先頭アドレスX1、X3のブロックに低圧縮率で夫々記憶され、また、画質モードフラグとして「FINE」を示す「H」が設定されている。そして、画像2、4のデータがデータ記憶部27Bの先頭アドレスX2、X4のブロックに低圧縮率で夫々記憶され、また、画質モードフラグとして「エコノミー」を示す「L」が設定されている。
【0052】
ROM(Read Only Memory)28は、CPU31により実行される各種制御プログラムや、そのプログラム処理で使用されるデータ等を格納しており、各種制御プログラムとしては、例えば、図4のフローチャートに示す撮影時画質変更処理を実行するための撮影時画質変更処理プログラムや図5のフローチャートに示すヘッダ情報変更処理を実行するためのヘッダ情報変更処理プログラム等がある。この各種制御プログラムは、CPU31が読み取り可能なプログラムコードの形態で記憶されている。
【0053】
RAM(Random Access Memory)29は、CPU31により各種制御処理が実行される際に、処理される各種データを一時的に格納するワークエリアを形成する。
【0054】
キー入力部30は、図1に示す、シャッターを所定時間開き、画像の撮像を指示する「シャッター」キー9、「DEL」キー10、「+」キー11、「−」キー12、「MODE」キー13、「DSP」キー14、画質変換モードの設定を指示する「画質変換」キー15、フラッシュメモリ27のヘッダ部27Aの画質モードフラグの変更を指示する「変換実行」キー16、ファンクション切換キー18、及び撮影時に、画質レベルを選択するための「画質モード」キー19により構成され、各キーの入力操作に応じた各種操作信号をCPU31に出力する。
【0055】
CPU(Central Processing Unit )31は、ROM28に記憶された各種プログラムに基づいて、RAM29のワークメモリを作業領域に使用しつつ、キー入力部30の各キーの操作に応じた処理を実行して、デジタルカメラ1の各部を制御する。
【0056】
また、CPU31は、キー入力部30の「DSP」キー14が押下されると、画像再生処理を実行して、フラッシュメモリ27から所定の圧縮した画像データを読み出して、圧縮/伸長回路26に転送し、この圧縮/伸長部回路26で伸長された画像データをシグナルジェネレータ32に転送し、シグナルジェネレータ32でビデオ信号に変換させた後、LCD6に出力して画像を表示する。
【0057】
また、CPU31は、後述する撮影時画質変更処理を実行する。具体的には、CPU31は、キー入力部30の「シャッター」キー9が押下されると、フラッシュメモリ27の残メモリ容量を確認し、空き容量(記憶可能メモリ容量)がある場合には、通常の撮影処理を実行する。
【0058】
即ち、CPU31は、タイミングジェネレータ24に映像取り込み信号を出力して、タイミングジェネレータ24からタイミング信号を駆動回路23に対して出力させることにより、CCD20からバッファ21、A/D変換器22、タイミングジェネレータ24を介して撮像信号をシグナルジェネレータ32に入力させ、更に、シグナルジェネレータ32において色演算処理を行わせて画像データを生成させて、該生成された画像データをDRAM25に格納させ、このDRAM25に格納された画像データを圧縮/伸長回路26に転送して低圧縮率でデータ圧縮させる。そして、この圧縮された画像データをフラッシュメモリ27のデータ記憶部27Bに記憶すると共に、ヘッダ部27Aの画質モードフラグには、「画質モード」キー19により「FINE」が選択されている場合には”H”を、「エコノミー」が選択されている場合は、”L”を設定する。
【0059】
他方、フラッシュメモリ27に空き容量がない場合には、フラッシュメモリ27のヘッダ部27Aを参照し、画質モードフラグが「エコノミー」を示す”L”が設定され、かつ先頭アドレスの小さい画像データをデータ記憶部27Bから読出し、この画像データを圧縮/伸長回路26で伸長させ、伸長された画像データを高圧縮率でデータ圧縮してデータ量を低減し、この再圧縮された画像データをフラッシュメモリ27のデータ記憶部27Bに格納して新たな画像を記憶可能なメモリ領域を確保する。
【0060】
また、CPU31は後述するヘッダ情報変更処理を実行して、「画質変更」キー15及び「画質モード」キー19の操作に応じて、フラッシュメモリ27内のヘッダ部27Aのヘッダ情報を書き換える。
【0061】
シグナルジェネレータ32は、タイミングジェネレータ24を介して供給される撮像信号(デジタル信号)に対して色演算処理を行ない、輝度信号(Yデータ)と色信号(Cデータ)により構成される画像データを生成し、生成した画像データ(Yデータ及びCデータ)をDRAM25に出力する。
【0062】
また、シグナルジェネレータ32は、CPU31によりDRAM25から供給された画像データに同期信号を付加する等してビデオ信号(デジタル信号)を生成して一旦、VRAM33に格納し、その後、VRAM33に格納したビデオ信号をD/A変換器34及びバッファ35を介してLCD6に出力する。
【0063】
VRAM(Video Random Access Memory)33は、シグナルジェネレータ32により生成されたビデオ信号(表示データ)を一時的に格納するビデオメモリである。
【0064】
D/A(Digital to Analog)変換器34は、シグナルジェネレータ32によりVRAM33から供給されるビデオ信号(表示データ)をデジタル信号からアナログ信号に変換し、バッファ35を介してLCD6に出力する。
【0065】
LCD6は、D/A変換器34及びバッファ35を介して入力されるビデオ信号(表示データ)に基づいて液晶を駆動して画像を表示する。
【0066】
I/O(Input / Output)ポート36は、当該デジタルカメラ1とシリアル入出力端子36a及びケーブルを介して接続された外部機器との間で授受されるシリアルデータ(画像データ、制御信号など)を制御するインターフェースである。シリアル入出力端子36aには、例えば、RS232C(シリアル形式)などのケーブルが接続可能である。
【0067】
次に、本実施の形態のデジタルカメラの動作を説明する。
図4は、CPU31により実行される撮影時画質変更処理を説明するためのフローチャートである。以下、図4を参照して当該撮影時画質変更処理を説明する。
【0068】
図4において、まず、CPU31は、キー入力部30のキー入力待ちとなり(ステップS1)、キー入力があった場合はステップS2に移行して、そのキー入力が「シャッター」キー9の入力であるか否かを判断し、「シャッター」キー9である場合はステップS3に移行する一方、「シャッター」キー9の入力でない場合は、ステップS12に移行して、ステップS1で為されたキー操作に応じた処理を実行して当該フローを終了する。
【0069】
ステップS3では、CPU31は、フラッシュメモリ27のデータ記憶部27Bの容量がFULLか否か、即ち残メモリ容量(記憶可能メモリ容量)があるか否かを判断し、容量がFULLである場合はステップS4に移行し、他方、FULLでない場合は、ステップS11に移行して通常の撮影処理を実行する。
【0070】
即ち、ステップS11の撮影処理では、CPU31は、タイミングジェネレータ24に映像取り込み信号を出力して、タイミングジェネレータ24からタイミング信号を駆動回路23に対して出力させることにより、CCD20からバッファ21、A/D変換器22、タイミングジェネレータ24を介して撮像信号をシグナルジェネレータ32に入力させる。そして、シグナルジェネレータ32において色演算処理を行わせて画像データを生成させ、該生成された画像データをDRAM25に格納させ、このDRAM25に格納された画像データを圧縮/伸長回路26に転送する。次いで、CPU31は、「画質モード」キー19により「FINE」及び「エコノミー」のいずれが選択されている場合でも、圧縮/伸長回路26によってFINEモード(低圧縮率)で画像データを圧縮させ、この圧縮された画像データをフラッシュメモリ27のデータ記憶部27Bに格納すると共に、ヘッダ部27Aにこの画像データに関するヘッダ情報を書き込む。この場合、ヘッダ部27Aの画質モードフラグには、「画質モード」キー19により「FINE」が選択された場合には、”H”を「エコノミー」が選択された場合には、”L”を設定する。
【0071】
また、容量がFULLである場合は、以下のステップS4〜S10により、フラッシュメモリ27に[FINE」モード(低圧縮率)で記憶されている画像データを「エコノミー」モード(高圧縮率)で再圧縮してデータ量を低減した後、フラッシュメモリ27に再記憶して記憶可能なメモリ領域を確保し、そして、新たに撮影した画像の画像データを、確保されたメモリ領域に記憶する処理を実行する。
【0072】
まず、ステップS4では、CPU31は、フラッシュメモリ27のヘッダ部27Bの内容を参照し、画質変更対象画像として、画質モードフラグがエコノミーを示す「L」が設定され、かつ先頭アドレスの若い画像データをデータ記憶部27Bから読出し、この画像データを圧縮/伸長回路26に転送し、データ伸長処理を実行させる。
【0073】
次いで、CPU31は、伸長された画像データを「エコノミーモード」、即ち、高圧縮率で再圧縮させる(ステップS6)。そして、読出された画像データが格納されていたフラッシュメモリ27のデータ記憶部27Bのブロックのデータを消去する。続いて、CPU31は、このエコノミーモード(高圧縮率)で再圧縮した画像データをフラッシュメモリ27のデータ記憶部27Bの対応する領域に格納する(ステップS7)。
【0074】
そして、CPU31は、新たな画像データを記憶する処理を行う。すなわち、CPU31は、CCD20からバッファ21、A/D変換器22、タイミングジェネレータ24を介して撮像信号をシグナルジェネレータ32に入力させ、シグナルジェネレータ32において新たな画像データを生成させて、該生成された画像データをDRAM25に格納する。そして、DRAM25に格納された画像データを圧縮/伸長回路26に転送して、画像データをフラッシュメモリの残容量に応じたデータ圧縮率で圧縮させ(ステップS9)、この圧縮された画像データをフラッシュメモリ27に格納する。
【0075】
次いで、CPU31は、再圧縮された画像データ及び新たに格納された画像データに関するヘッダ部27Bのヘッダ情報の書き換え及び書込を行い、当該フローを終了する。この場合、再圧縮された画像データは、フラッシュメモリ27のデータ記憶部27Bに記憶される実際の画質レベルがエコノミーモード(高圧縮率)となっているので、再度画質レベルが変更されるのを防止するために、ヘッダ部27Aの画質モードフラグを、「L」から実際にエコノミーモードの画質で記憶されていることを示す「RL(リアル・エコノミー)」に変更する。
【0076】
以上の構成によれば、フラッシュメモリ27に空き容量がある場合には、撮影の際には、「画質モード」キー19により「FINE」及び「エコノミー」のいずれが選択されている場合でも、FINEモード(低圧縮率)で画像データを圧縮してフラッシュメモリ27に格納し、一方、ヘッダ部27Aの画質モードフラグには、「画質モード」キー19により「FINE」が選択された場合には、”H”を「エコノミー」が選択されている場合は、”L”を書き込む構成である。即ち、メモリに空き容量がある場合は、すべてFINEの画質で、画像を記憶し、画質モードフラグのみ選択された画質モードを示す値を書き込む構成である。
【0077】
また、フラッシュメモリ27に空き容量がない場合に、撮影が指示されると、フラッシュメモリのヘッダ部27Aを参照し、画質モードフラグが「エコノミー」に設定され、かつ先頭アドレスの若い画像データをデータ記憶部27Bから読出し、撮影した画像データを格納するのに必要なメモリ領域を確保するため、FINEモードで記録されている画像データをエコノミーモードで再圧縮する。
【0078】
すなわち、メモリに空き容量がない場合には、撮影の際にエコノミーが選択された画像を、撮影の古いものから順番に、実際にエコノミーの画質に変換してメモリ領域を確保して新しい画像を記憶する構成である。
【0079】
したがって、フラッシュメモリの空き容量がある時は、常に、高画質で画像データを記憶することが可能となり、また、フラッシュメモリの空き容量がない場合は、撮影時に低画質でもよいと操作者が考えていた画像データを、古いデータから順に、高画質から低画質に変換して(再圧縮し)メモリ領域を確保する構成であるので、自動的に撮影可能枚数を確保することができ、操作者の使い勝手がよくなる。
【0080】
尚、上記した構成では、撮影時に、フラッシュメモリ27のメモリ容量を確認してフラッシュメモリ27に記憶された画像データの画質レベルを変更する構成であるが、この画質レベルを変更する処理の実行は、撮影時に限られるものではなく、再生モード時や電源投入時に行ってもよい。
【0081】
図5は、CPU31により実行されるヘッダ情報変更処理を説明するためのフローチャートである。以下、図5を参照してヘッダ情報変更処理を説明する。
【0082】
図5において、まず、CPU31は、キー入力部30のキー入力待ちとなり(ステップS20)、キー入力があった場合はステップS21に移行して、そのキー入力が「画質変換」キー15の入力であるか否かを判断し、「画質変換」キー15の入力である場合は、ステップS22に移行する一方、「画質変換」キー15の入力でない場合は、ステップS27に移行して、ステップS1で為されたキー操作に応じた処理を実行して当該フローを終了する。
【0083】
ステップS22では、「+」キー11及び「ー」キー12の操作によりフラッシュメモリ27のヘッダ部27Bの画質モードフラグを変更する画像を選択する(ステップS22)。次いで、「変換実行」キー16が操作されて、ヘッダ部27Aの画質モードフラグを「FINE」→「エコノミー」に変更する指示があった場合には、ステップS24に移行して、ヘッダ部27Aにおいて、選択された画像の画質モードフラグを「H」から「L」に変更する処理を実行してステップS25に移行する。一方、画質モードフラグを「エコノミー」→「FINE」に変更する指示があった場合には、ステップS26に移行して選択された画像の画質モードフラグを「L」から「H」に変更する処理を実行してステップS25に移行する。
【0084】
ステップS25では、「モード解除」キーの入力があるか否かを判断して、「モード解除」キーの入力がある場合は当該フローを終了する一方、「モード解除」キーの入力が無い場合は、ステップS22に移行して、再度、画質モードフラグを変更する処理を行う。
【0085】
以上説明したように、上記したヘッダ情報変更処理においては、フラッシュメモリ内のヘッダ部27Aの画質モードフラグを変更することが可能な構成である故、操作者が、撮影時には高画質のまま保存したいと考えていたが低画質に変更してもよいと考えが変わった場合や、逆に、撮影時には低画質に変更してもよいと考えていたが高画質のまま保存したいと考えが変わった場合に対処可能となり、操作者の使い勝手が良くなる。
【0086】
尚、上記した実施の形態では、画質レベルをエコノミー(高圧縮率モード)とFINE(低圧縮率モード)の2レベルとしたが、本発明はこれに限定されるものではなく、画質レベルを3レベル、若しくは3レベル以上としてもよいことは言うまでもない。
【0087】
尚、上記した実施の形態では、圧縮した画像データをフラッシュメモリに記憶する構成としたが、本発明はこれに限定されるものではなく、圧縮した画像データを他の半導体メモリや磁気的、光学的記憶媒体に記憶する構成としてもよく、更に、これらの半導体メモリや記憶媒体はデジタルカメラに対して着脱自在に装着可能な構成であってもよい。
【0088】
(第2の実施の形態)
次に、図6〜図9を参照して、第2の実施の形態を説明する。
本第2の実施の形態では、デジタルカメラとパーソナルコンピュータとからなる画像処理システムにおいて、撮像された画像データをデジタルカメラからパーソナルコンピュータに転送する場合について述べる。
【0089】
まず、構成を説明する。
図6は、第2の実施の形態におけるデジタルカメラ50の内部回路構成を示すブロック図である。
なお、この図6において、上記第1の実施の形態におけるデジタルカメラ1のブロック構成(図2参照)と同一の構成要素には同一番号を付し、要部のみを説明するものとする。
【0090】
図6においてデジタルカメラ50は、前記図2に示したLCD6、CCD20、バッファ21、A/D変換器22、駆動回路23、タイミングジェネレータ24、DRAM25、圧縮/伸長回路26、フラッシュメモリ27、RAM29、キー入力部30、シグナルジェネレータ32、VRAM33、D/A変換器34、バッファ35、及びI/Oポート36と、ROM40、CPU41、及び赤外線通信部42とにより構成されている。
【0091】
ROM40は、当該デジタルカメラ50と外部機器との間で行なわれるデータ通信(例えば、シリアル入出力端子36aにRS232Cなどのケーブルを介して接続された外部機器と当該デジタルカメラ50との間で行なわれるデータ通信(有線)や、赤外線通信機能を備える外部機器と当該デジタルカメラ50との間で行なわれる赤外線によるデータ通信(無線))を制御する各種通信制御処理(後述する画像転送処理(図8参照)を含む)などの、CPU41により実行されるデジタルカメラ50の各部を制御するための各種制御プログラムを格納する。この各種制御プログラムは、CPU41が読み取り可能なプログラムコードの形態で記憶されている。
【0092】
CPU41は、ROM40に格納される各種制御プログラムに従ってデジタルカメラ50の各部を制御する中央演算処理装置である。具体的には、CPU41は、ファンクション切換キー18がスライド操作されて通信モードが指定されると、当該デジタルカメラ50と外部機器との間で行なわれるデータ通信の通信形態に応じた通信制御処理プログラムをROM40から読み出して実行し、例えば、後述する画像転送処理(図8参照)を実行する。
【0093】
この画像転送処理において、CPU41は、「+」キー11が押圧操作された場合は、次の「ページ番号」の画像データをフラッシュメモリ27から読み出してLCD6に再生表示し、また、「−」キー12が押圧操作された場合は、1つ前の「ページ番号」の画像データをフラッシュメモリ27から読み出してLCD6に再生表示する。
【0094】
そして、CPU41は、LCD6に表示された画像をパーソナルコンピュータ100等の外部機器に転送するとして「シャッター」キー9が押圧操作されると、当該画像データをデジタルカメラ50から通信ケーブル、I/Oポート36を介してパーソナルコンピュータ100に送信する。
【0095】
この際、CPU41は、転送指定された画像データについて、フラッシュメモリ27内のヘッダ部27A(図3参照)に記憶された「画質モードフラグ」(「画質モード」キー19で「FINE」が選択された場合は「H」、「エコノミー」が選択された場合は「L」)を判別し、高画質モードのまま転送することを指示された場合は、「画質モードフラグ」が「H」,「L]のいずれであっても、フラッシュメモリ27内の画像データ記憶部27Bに記憶された高画質の画像データを圧縮率を変更せずに転送する。
【0096】
すなわち、低圧縮率でデータ圧縮を行うモード(高画質モード)で圧縮された画像データは、前記「画質モードフラグ」で「L」(「エコノミー」(メモリ容量節約モード):相対的に低画質な画質モード)が指定されていたとしても、高画質な画像データのままパーソナルコンピュータ100に転送される。
【0097】
また、CPU41は、送信する際に低画質モードで転送することを指示された場合は、当該画像データを圧縮/伸長回路26によって高圧縮率でデータ圧縮してデータ量を低減した後、パーソナルコンピュータ100に転送する。
【0098】
赤外線通信部42は、IrDA(Infrared Data Association )方式に対応する赤外線通信を制御するためのインターフェース回路である。
【0099】
I/Oポート36は、当該デジタルカメラ50とシリアル入出力端子36a及びケーブルを介して接続された外部機器との間で授受されるシリアルデータ(画像データ、制御信号など)を制御するインターフェースである。
【0100】
以上が本実施の形態におけるデジタルカメラ50の構成である。
【0101】
次に、図7は、デジタルカメラ50の外部機器として設けられたパーソナルコンピュータ100の内部回路構成を示すブロック図である。
図7においてパーソナルコンピュータ100は、入力装置111、RAM112、I/Oポート113、圧縮/伸長回路114、赤外線通信部115、CPU116、表示装置117、及び記憶装置118により構成されており、各部はバス120によって接続されている。
【0102】
入力装置111は、キー入力部やマウスなどによって構成されており、キー入力部は、ファンクションキー、数値キー、文字キー及び他キーを有し、ユーザーによる各キー入力操作に応じた各種操作信号をCPU116に出力する。また、マウスは、表示装置117の表示画面に表示されるアイコンや操作メニューの選択などを行なうポインティングデバイスであり、相対位置座標データ及びクリック信号などをCPU116に出力する。
【0103】
RAM112は、CPU116により各種制御処理が実行される際に、処理される各種データを一時的に格納するワークエリアを形成する。
【0104】
I/Oポート113は、当該パーソナルコンピュータ100とシリアル入出力端子113a及びケーブルを介して接続された外部機器(例えば、デジタルカメラ50など)との間で授受されるシリアルデータを制御するインターフェースである。
【0105】
圧縮/伸長回路114は、外部機器からI/Oポート113、または赤外線通信部115を介して当該パーソナルコンピュータ100に入力された画像データ、或いはCPU116により記憶装置118を介して記憶媒体119から読み出された画像データが圧縮処理されている場合に、CPU116からの指示に基づいてこの画像データを復号化して伸長処理し、RAM112に展開する。また、逆に、CPU116からの指示に基づいてRAM112に展開されている画像データを所定の符号化方式により圧縮処理する。圧縮処理された画像データは、CPU116により記憶装置118を介して記憶媒体119に格納されたり、或いは、I/Oポート113、または赤外線通信部115を介して外部機器に送信される。
【0106】
赤外線通信部115は、IrDA方式に対応する赤外線通信を制御するためのインターフェース回路である。
【0107】
CPU116は、記憶媒体119に格納される各種制御プログラムやアプリケーションプログラムなどに従ってパーソナルコンピュータ100の各部を制御する中央演算処理装置である。具体的にはCPU116は、入力装置111から通信モードに移行する旨が指示されると、当該パーソナルコンピュータ100と外部機器との間で行なわれるデータ通信の通信形態に応じた通信制御処理プログラムを記憶装置118を介して記憶媒体119から読み出して実行し、当該パーソナルコンピュータ100と外部機器との間で行なわれるデータ通信を制御する。
【0108】
表示装置117は、CRT(Cathode Ray Tube)や液晶ディスプレイなどにより構成され、CPU116によりRAM112から読み出されて入力される表示データ(例えば、画像データなど)を表示画面に表示する。
【0109】
記憶装置118は、プログラムやデータなどが記憶される記憶媒体119を有しており、この記憶媒体119は磁気的、光学的記憶媒体、若しくは半導体メモリにより構成されている。
【0110】
なお、上記記憶媒体119は記憶装置118に固定的に設けられたものであってもよいし、或いは、記憶装置118に着脱自在に装着するものであってもよい。
【0111】
この記憶媒体119には、前述した当該パーソナルコンピュータ100とデジタルカメラ50との間で行なわれるデータ通信を制御する通信制御処理などの、CPU116により実行されるデジタルカメラ50の各部を制御するための各種制御プログラムがCPU116により読み取り可能なプログラムコードの形態で記憶されている。
【0112】
以上が本実施の形態におけるパーソナルコンピュータ100の構成である。
【0113】
次に、動作を説明する。
まず、デジタルカメラ50のCPU41において実行される画像転送処理について、図8に示すフローチャートに基づいて説明する。
【0114】
CPU41では、ファンクション切換キー18がスライド操作されて通信モードが指定されると、ROM40に格納されている画像転送に関するプログラムを読み出して、その処理を開始する。
【0115】
まず、CPU41は初期処理(ステップS30)を行なった後、当該デジタルカメラ50にパーソナルコンピュータ100(外部機器)が接続されているか否かを判別する(ステップS31)。この判別は、I/Oポート36に、パーソナルコンピュータ100から通信ケーブル及びシリアル入出力端子36aを介して所定の接続信号が入力されているか否かを判別することにより行なわれ、その結果、当該デジタルカメラ50にパーソナルコンピュータ100が接続されていなければ、引き続いてパーソナルコンピュータ100が接続されているか否かの監視を行なう。
【0116】
また、CPU41は、上記ステップS31においてパーソナルコンピュータ100が接続されていると判別した場合は、次いで、転送画像選択モードに移行して(ステップS32)、フラッシュメモリ27に格納された、複数の画像データの中から、まず、ヘッダ部27A(図3参照)の「ページ番号」が”1”の画像1の画像データを読み出して圧縮/伸長回路26で伸長処理を行なわせた後、シグナルジェネレータ32により同期信号を付加する等してビデオ信号に変換させてLCD6に出力し、前記画像データを表示画面に再生表示する。
【0117】
その後、CPU41は、「シャッター」キー9が押圧操作されて転送が指示されたか否かを判別し(ステップS33)、「シャッター」キー9が押圧操作されていない場合は、次いで、「+」キー11、或いは「−」キー12が押圧操作されたか否かを判別する(ステップS34)。
【0118】
そして、CPU41は、上記両キー11,12とも押圧操作されていないと判別した場合は上記ステップS33に戻り、また、上記両キー11,12のいずれかが押圧操作されたと判別した場合は、押圧操作されたキーに応じて、「+」キー11が押圧操作された場合は画像送り処理を、また、「−」キー12が押圧操作された場合は画像戻し処理を実行して次の画像を表示し(ステップS35)、上記ステップS33に戻る。
【0119】
すなわち、CPU41では、「+」キー11が押圧操作された場合は、次の「ページ番号」の画像データ、例えば、現在、LCD6に再生表示されている画像データの「ページ番号」が“1”である場合は、「ページ番号」“2”の画像データをフラッシュメモリ27から読み出してLCD6に再生表示し、また、「−」キー12が押圧操作された場合は、1つ前の「ページ番号」の画像データをフラッシュメモリ27から読み出してLCD6に再生表示する。
【0120】
このような制御構成とすることにより、ユーザーは、デジタルカメラ50のフラッシュメモリ27に格納された複数の画像データを順次、LCD6に切換表示させながら転送したい画像を検索することができる。
【0121】
また、CPU41は、上記ステップS33において「シャッター」キー9が押圧操作されたと判別した場合は、当該「シャッター」キー9が押圧操作された時点でデジタルカメラ50のLCD6に表示されている画像が転送画像として指定されたとして、当該画像データについて、フラッシュメモリ27内のヘッダ部27A(図3参照)に記憶された「画質モードフラグ」(「画質モード」キー19で「FINE」が選択された場合は「H」、「エコノミー」が選択された場合は「L」)を判別する(ステップS36)。
【0122】
次いで、CPU41は、ステップS36によって判別された結果に基づいて、転送指定された画像データが、撮影時にいずれの画質モードで撮像されたかを表示すると同時に、フラッシュメモリ27に記憶した際の高画質モードのまま送信するか否かの確認表示を行う(ステップS37)。そして、CPU41は、このステップS37の確認表示に対してユーザーが”OK”を選択するか否かの判別(ステップS38)を、「シャッター」キー9の押圧操作(”OK”)、あるいは「DEL」キー10の押圧操作(”NO”)を判別することによって行う。
【0123】
ステップS38において、「シャッター」キー9が押圧操作され、確認表示に対して”OK”が選択されたと判別された場合には、当該画像データについて、ヘッダ部27Aに記憶された「画質モードフラグ」が「H」,「L]のいずれであってもCPU41は、フラッシュメモリ27内の画像データ記憶部27Bに記憶された高画質の画像データを、圧縮率を変更せずにデジタルカメラ50から通信ケーブル、I/Oポート36を介してパーソナルコンピュータ100に送信する(ステップS39)。
【0124】
すなわち、低圧縮率でデータ圧縮を行うモード(高画質モード)で圧縮された画像データは、前記「画質モードフラグ」で「L」(「エコノミー」(メモリ容量節約モード):相対的に低画質な画質モード)が指定されていたとしても、高画質な画像データのままパーソナルコンピュータ100に転送される。
【0125】
また、ステップS38において、「DEL」キー10が押圧操作され、確認表示に対して”NO”が選択されたと判別された場合には、CPU41は当該画像データを圧縮/伸長回路26によって高圧縮率でデータ圧縮してデータ量を低減し、この再圧縮された画像データ(低画質モードの画像データ)をデジタルカメラ50から通信ケーブル、I/Oポート36を介してパーソナルコンピュータ100に送信する(ステップS40)。
【0126】
ステップS39あるいはステップS40により当該画像データの転送が終了すると、CPU41は、ファンクション切換キー18がスライド操作されて通信モード以外のモードになっているか否かを判別して(ステップS41)、通信モード以外のモードになっていると判別した場合は、通信モードを終了し、通信モードのままであると判別した場合は、ステップS33に戻り画像転送処理を続行する。
【0127】
以上説明したように、デジタルカメラ50及びパーソナルコンピュータ100の両シリアル入出力端子36a,113a間をケーブルで接続し、両者の間で有線通信を行なうことにより構築される画像処理システムによれば、CPU41は、転送指定された画像データについて、フラッシュメモリ27内のヘッダ部27A(図3参照)に記憶された「画質モードフラグ」を判別し、高画質モードで送信する指示がされている場合には、当該画像データの「画質モードフラグ」が「H」,「L]のいずれであっても、画像データ記憶部27Bに記憶された高画質の画像データを圧縮率を変更せずに転送する。
【0128】
すなわち、低圧縮率でデータ圧縮を行うモード(高画質モード)で圧縮された画像データは、前記「画質モードフラグ」で「L」(相対的に低画質な画質モード)が指定されていたとしても、高画質な画像データのままパーソナルコンピュータ100に転送される。
【0129】
したがって、デジタルカメラ内部のフラッシュメモリ等のメモリ容量に制限をうけて、低圧縮率で記憶した画像データを高圧縮率に変換することで画質が低下するということがなく、撮影時には相対的に低画質な画質でよいと指定された画像データでも高画質の画像データとしてコンピュータに転送することが可能であるので、コンピュータによる画像編集、印刷等の各種処理時に高画質な画像データとして扱うことができる等の利点がある。
【0130】
なお、本実施の形態では、図9(a)に示すように、デジタルカメラ50とパーソナルコンピュータ100をRS232Cなどの通信ケーブルを介して接続する有線通信による画像転送処理を説明したが、同図(b)に示すようなIrDA方式の赤外線通信による形態としてもよい。また、前記赤外線通信以外の無線通信や光通信等による通信形態に対しても本発明を適用可能である。
【0131】
また、同図(c)に示すように、デジタルカメラ、パーソナルコンピュータ(PC)のいずれもがデータの書き込み読み出しを行うことの可能なメモリカードにデジタルカメラで撮像した画像データを記憶して、画像データを転送する際には該メモリカードをデジタルカメラから取り外してPCに装着し、PCに画像データを転送する方式に対しても本発明は有効である。
【0132】
更に、デジタルカメラとPCの双方にモデムを内蔵した構成とすれば、デジタルカメラ−公衆回線間、及びPC−公衆回線間をそれぞれケーブルで接続して同図(d)に示すような公衆回線網を介する画像転送処理を行うことができ、このような通信形態における画像転送時にも、本発明を適用することができる。
【0133】
そして、これら、図9(b)〜(d)の接続形態により構築される画像処理システムにおいても本実施の形態の場合を示した同図(a)の接続形態による画像処理システムと同様の効果を得ることができる。
【0134】
以上、本発明を第1、第2の実施の形態に基づいて具体的に説明したが、本発明は上記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で適宜に変更可能であることは勿論である。
【0135】
例えば、上記第1、第2の実施の形態においては、フラッシュメモリ27内の撮像した画像の情報を管理するヘッダ部27Aと、撮像した画像の画像データが記憶される画像データ記憶部27Bを図3のようなデータ構造としたが、フラッシュメモリ27内のデータ構造はこれに限定されることなく、他の付加的情報に関するデータ(例えば、撮影日時等)を含むものとしてもよい。
【0136】
また、本発明は、例えば、CCDカメラを備えたPCMCIA(Personal Computer Memory Card International Association )規格のPCカメラカードなどを装着することにより撮像機能(画像入力機能)を有することとなるパーソナルコンピュータなどの電子機器に対しても適用可能である。
【0137】
また、上記第1、第2の実施の形態におけるデジタルカメラでは、各種制御プログラムを記憶媒体であるROMに格納する構成としたが、記憶媒体はROMに代表される半導体メモリに限定されるものではなく、磁気的、光学的記憶媒体などであってもよい。また、この記憶媒体は、デジタルカメラに対して着脱自在に装着可能な構成であってもよい。
【0138】
【発明の効果】
請求項1記載の画像データ記憶装置によれば、指示された画像の圧縮率よりも低い圧縮率で撮像した画像データを記憶媒体に記憶する構成である故、常に、高画質で画像データを記憶することが可能となり、操作者の使い勝手が良くなる。
また、記憶媒体のメモリ容量を確認して、残メモリ容量がないと判断した場合に、記憶媒体に記憶されている画像データをより低い画質レベルで再圧縮する構成である故、自動的に、新たに撮影する画像を記憶するための記憶領域を確保することが可能となり、操作者の使い勝手が良くなる。
【0140】
請求項2又は3記載の画像データ記憶装置によれば、記憶媒体の圧縮率領域に画像データの圧縮率の情報を記憶する一方、画像領域に圧縮画像データを記憶する構成であるので、記憶媒体において、所望の圧縮率の画像を指定することが容易となる。
【0141】
請求項4又は5記載の画像データ記憶装置及び請求項又は記載の画像データ記憶方法によれば、記憶媒体の圧縮率領域に記憶した圧縮率情報を変更可能な構成である故、操作者が、撮影時には高画質のまま保存したいと考えていたが、低画質に変更してもよいと考える場合や、逆に、撮影時には低画質に変更してもよいと考えていたが、高画質のまま保存したいと考えが変わった場合に対処可能となり、使い勝手が良くなる。
【0142】
請求項記載の撮像方法によれば、新たに撮像する画像を記憶するための所定容量を自動的に確保することができ、予期しないシャッターチャンスで撮影時にメモリ残量の確認をできなかった場合等にも、操作者の意志に反して必要な画像に上書きされてしまう、撮像した画像が保存されない等の問題点を解消することができ、操作者の使い勝手が良くなる。
【0143】
請求項記載の撮像方法によれば、撮影時に誤った撮像モード指定をしてしまった場合、撮影時には相対的に低画質な画像でよいと判断したが後に高画質な画像が必要になった場合、予期しないシャッターチャンスで撮影時に操作者の意志で撮像モードを指定できなかった場合等にも、撮像画像を相対的に高画質な画像データとしてメモリに保存し、撮影後に所定の操作により当該撮像画像を相対的に高画質な画像データのまま保存するようにモード変更をすることができる。
【0144】
請求項10記載の撮像方法及び請求項11記載の記憶媒体によれば、撮影時には相対的に低画質な画質でよいと指定された画像データでも高画質の画像データとしてコンピュータに転送することが可能であるので、コンピュータによる画像編集、印刷等の各種処理時に高画質な画像データとして扱うことができる等の利点がある。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係るデジタルカメラ1の斜視図。
【図2】本発明の第1の実施の形態に係るデジタルカメラ1の回路構成を示すブロック図。
【図3】図2のフラッシュメモリ27のメモリ構成例を示す図。
【図4】CPU31の制御により実行される撮影時画質変更処理を説明するためのフローチャート。
【図5】CPU31の制御により実行されるヘッダ情報変更処理を説明するためのフローチャート。
【図6】本発明の第2の実施の形態に係るデジタルカメラ50の回路構成を示すブロック図。
【図7】本発明の第2の実施の形態に係るパーソナルコンピュータ100の内部回路構成を示すブロック図である。
【図8】CPU41の制御により実行される選択画像転送処理を説明するためのフローチャート。
【図9】本発明の第2の実施の形態に係るデジタルカメラ50とパーソナルコンピュータ100の接続形態の様々な例を示す図。
【符号の説明】
1 デジタルカメラ
4、5 ケース
6 LCD
7 撮像レンズ
8 電源スイッチ
9 「シャッター」キー
10 「DEL」キー
11 「+」キー
12 「−」キー
13 「MODE」キー
14 「DSP」キー
15 「画質変換」キー
16 「変換実行]キー
17 開閉蓋
18 ファンクション切換キー
19 「画質モード」キー
20 CCD
21 バッファ
22 A/D変換器
23 駆動回路
24 タイミングジェネレータ
25 DRAM
26 圧縮/伸長回路
27 フラッシュメモリ
28 ROM
29 RAM
30 キー入力部
31 CPU
32 シグナルジェネレータ
33 VRAM
34 D/A変換器
35 バッファ
36 I/Oポート
40 ROM
41 CPU
42 赤外線通信部
50 デジタルカメラ
100 パーソナルコンピュータ
111 入力装置
112 RAM
113 I/Oポート
114 圧縮/伸長回路
115 赤外線通信部
116 CPU
117 表示装置
118 記憶装置
119 記憶媒体
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image data storage device such as a digital camera, an image data storage method, an imaging method, and a storage medium, and in particular, an image data storage device capable of changing the image quality level of an image captured and stored in the storage medium, The present invention relates to an image data storage method, an imaging method, and a storage medium.
[0002]
[Prior art]
Recently, digital cameras (electronic cameras) that electronically store captured images instead of film have become widespread. In such a digital camera, when a photographer presses a shutter, an image of a subject passing through a lens is captured by a CCD element, and data compression or the like is performed through a circuit inside the camera and is written in an internal storage medium.
[0003]
In addition, there is a known digital camera in which an operator selects an image quality level at the time of shooting, and the captured image is compressed and recorded at a data compression rate corresponding to the selected image quality level.
[0004]
[Problems to be solved by the invention]
However, in the conventional digital camera, since the image quality level is selected at the time of shooting and shooting is performed, there is a problem that the image quality level is mistakenly shot or the image quality level cannot be changed after shooting. Further, since the image quality level is set, there is a problem that a photo opportunity is missed.
[0005]
Further, when the remaining storage capacity of the storage medium is insufficient, there is a problem that the operator has to delete image data that is no longer needed, and that operation is troublesome.
[0006]
The present invention has been made in view of the above-described problems, and an image data storage device and an image data storage capable of changing the image quality level after shooting or securing a storage area for automatically storing a newly shot image. It is an object to provide a method, an imaging method, and a storage medium.
[0007]
[Means for Solving the Problems]
  The image data storage device according to claim 1, wherein the image data storage device captures an image of a subject, compresses the image at a predetermined compression rate among a plurality of compression rates, and stores the compressed image in a storage medium. An instruction means for instructing a predetermined compression ratio among a plurality of compression ratios, and the captured image is compressed and stored in the storage medium at a compression ratio lower than the compression ratio instructed by the instruction means.And first information for storing the image data in association with the image data and indicating that the image data is compressed and stored at a compression rate lower than the specified compression rate.Storage control means, and memory capacity detection means for detecting the storage capacity of the storage medium;When it is determined that it is impossible to store the image data by the storage capacity detected by the memory capacity detecting means, the information is stored in association with the image data stored in the storage medium. The storage medium when it is determined that it is impossible to store the image data by the recompression unit that recompresses the image data at the specified compression rate and the storage capacity detected by the memory capacity detection unit An erasure unit that erases the image data stored in association with the information among the image data stored in the image data, and the recompression unit in a storage area in which the image data erased by the erasure unit is stored. And second storage control means for storing the recompressed image data.It is characterized by that.
[0008]
  In other words, according to the image data storage device of the first aspect, the image data storage that captures the image of the subject, compresses the image at a predetermined compression rate among a plurality of compression rates, and stores the compressed image in the storage medium. In the apparatus, the instruction means indicates a predetermined compression ratio among the plurality of compression ratios,FirstThe storage control unit compresses an image captured at a compression rate lower than the compression rate instructed by the instruction unit and stores the compressed image in the storage medium.And storing information indicating that the image data is compressed and stored at a compression rate lower than the specified compression rate in association with the image data.The memory capacity detecting means detects the storage capacity of the storage medium.When the recompression unit determines that the image data cannot be stored with the storage capacity detected by the memory capacity detection unit, the information is stored in association with the image data stored in the storage medium. The image data stored in the storage medium is re-compressed at the specified compression ratio, and the erasure unit determines that the image data cannot be stored with the storage capacity detected by the memory capacity detection unit. The image data stored in association with the information is erased from the stored image data, and the second storage control unit recompresses the storage area in which the image data erased by the erase unit is stored by the recompression unit. Memorized image data.
[0009]
  Therefore, since the image data captured at a compression rate lower than the compression rate of the instructed image is stored in the storage medium, the image data can always be stored with high image quality, and the convenience of the operator is improved. Get better.
  If you check the memory capacity of the storage medium and determine that there is no remaining memory capacity,MediumTherefore, it is possible to automatically secure a storage area for storing a new image to be captured, which is convenient for the operator. Get better.
[0013]
  In this case, as in the image data storage device according to claim 2,When the predetermined compression ratio is instructed by the instruction means, the first storage control means compresses the captured image at a compression ratio lower than the instructed predetermined compression ratio and stores the compressed image in the storage medium. In addition, the instructed predetermined compression is used as information indicating that the image data is compressed and stored at a compression rate lower than the instructed predetermined compression rate in association with the image data. Information on the rate is stored, and when the recompression unit determines that it is impossible to store the image data by the storage capacity detected by the memory capacity detection unit, the image stored in the storage medium The image data stored in association with the information related to the predetermined compression rate in the data is recompressed at the specified predetermined compression rate, and the erasing unit detects the memory capacity When it is determined that it is impossible to store the image data due to the storage capacity detected by the stage, information on the predetermined compression rate is stored in association with the image data stored in the storage medium. Deleting the image dataIt is effective.
  That is, according to the image data storage device of the second aspect, in the image data storage device of the first aspect, the first storage control means is instructed when a predetermined compression rate is instructed by the instruction means. The image captured at a compression rate lower than the predetermined compression rate is compressed and stored in the storage medium, and the image data is compressed at a compression rate lower than the specified predetermined compression rate in association with the image data. The information about the predetermined compression rate indicated as the information indicating that the image data is stored is stored, and the recompression unit is not able to store the image data with the storage capacity detected by the memory capacity detection unit. When it is determined that the image data is possible, the image data stored in the storage medium in association with the information on the predetermined compression rate is reproduced at the specified predetermined compression rate. When it is determined that the image data cannot be stored with the storage capacity detected by the memory capacity detection means, the compression and erasure means relates to a predetermined compression rate among the image data stored in the storage medium. The image data stored in association with the information is deleted.
[0014]
  In this case, as in the image data storage device according to claim 3, the storage medium includes a compression rate area for storing information on the predetermined compression rate and an image area for storing the compressed image.
  It is effective that the first storage control means stores the compressed image in the image area and stores information relating to the predetermined compression ratio in the compression ratio area.
  That is, the claim3According to the described image data storage device, the claims2In the described image data storage device, the storage medium is:PredeterminedA compression ratio area for storing information relating to the compression ratio and an image area for storing the compressed image; the first storage control means stores the compressed image in the image area;PredeterminedInformation on the compression rate is stored in the compression rate area.
[0015]
Therefore, the information on the compression ratio of the image data is stored in the compression ratio area of the storage medium, and the compressed image data is stored in the image area. Therefore, it is possible to specify an image having a desired compression ratio in the storage medium. It becomes easy.
[0016]
  In this case, the claim4Like the image data storage device described,in frontThe instruction means includes means for instructing a compression ratio lower than the predetermined compression ratio among the plurality of compression ratios, and the first storage control means includes:When a compression rate lower than the predetermined compression rate is instructed by the instruction means, the captured image is compressed and stored in the storage medium at a compression rate lower than the specified predetermined compression rate, and the image Means for storing information relating to a compression rate lower than the designated predetermined compression rate in association with dataIt is characterized by that.
  That is, according to the image data storage device according to claim 4, in the image data storage device according to claim 2, the instructing means includes means for instructing a compression rate lower than a predetermined compression rate among the plurality of compression rates. A first storage control unit that compresses an image captured at a compression rate lower than the specified predetermined compression rate into a storage medium when a compression rate lower than the predetermined compression rate is instructed by the instruction unit; And storing means for storing information relating to a compression rate lower than a predetermined compression rate instructed in association with the image data.
[0017]
  In this case, as in the image data storage device according to claim 5, information on the predetermined compression rate stored in association with image data in the storage medium and / or a compression rate lower than the predetermined compression rate It is further characterized by further comprising information changing means for changing the information related to information related to a compression rate lower than the predetermined compression rate or information related to the predetermined compression rate.
  That is, the claim5According to the described image data storage device, the claims4In the image data storage device described above, information relating to a predetermined compression rate stored in association with image data in a storage medium and / or information relating to a compression rate lower than the predetermined compression rate are compressed lower than the predetermined compression rate. Information changing means for changing to information relating to the rate and / or information relating to the predetermined compression rate is further provided.
[0018]
Therefore, since the compression rate information stored in the compression rate area of the storage medium can be changed, the operator wanted to preserve the high quality at the time of shooting, but may change it to a low quality. In the case of thinking, or conversely, it was thought that the image quality may be changed to a low image quality at the time of shooting, but it becomes possible to cope with a change in the desire to save with high image quality, which improves usability.
[0019]
  Claims6The image data storage method described includes a first storage mode for compressing a captured image at a first compression rate and storing the compressed image in a storage medium, and compressing the captured image at a compression rate higher than the first compression rate. An image data storage method for storing compressed image data together with mode information, even if the second storage mode is specified at the time of taking in the image data, Mode information indicating that the compressed image data and the second storage mode are designated by performing processing based on the first storage mode for the captured image data when there is a margin in the storage capacity of the medium It is characterized by memorizing together.
[0020]
  That is, the claim6According to the described image data storage method, the first storage mode for compressing the captured image at the first compression rate and storing it in the storage medium, and the captured image is compressed at a compression rate higher than the first compression rate. In the image data storage method for storing compressed image data together with mode information, even if the second storage mode is specified at the time of capturing the image data, the second storage mode is stored in the storage medium. When the storage capacity of the medium is sufficient, the captured image data is processed based on the first storage mode, and the compressed image data and mode information indicating that the second storage mode is designated Remember together.
[0023]
  In this case, the claim7When the storage capacity of the storage medium is insufficient as in the image data storage method described,Along with mode information indicating that the second storage mode has been designatedIt is effective to re-store the stored image data in the second storage mode.
[0024]
  That is, the claim7According to the described image data storage method,6In the image data storage method described, when the storage capacity of the storage medium is insufficient,Along with mode information indicating that the second storage mode was specifiedThe stored image data is re-stored in the second storage mode.
[0025]
  Claim8The described imaging method includes a first imaging mode in which a captured image is processed so as to be image data with a relatively high image quality and a large amount of information and is stored in a memory, and the captured image is information with relatively low image quality. A second imaging mode that performs processing so that the amount of image data is small and stores the image data in the memory, and stores the image data together with the mode information. That the second imaging mode is designated for image data obtained by imaging in the first imaging mode with a relatively high image quality and a large amount of information. It is stored in the memory together with the mode information shown, and when the remaining amount of the memory is less than a predetermined capacity,In the memory together with mode information indicating that the second imaging mode has been designated.The stored image data is converted into the image data having a relatively low image quality and a small amount of information, and is stored in the memory.
[0026]
  Claim8According to the described imaging method, the first imaging mode in which the captured image is processed so as to be image data with a relatively high image quality and a large amount of information and stored in the memory, and the captured image is relatively low in image quality. And a second imaging mode in which image data with a small amount of information is processed and stored in a memory, and is an imaging method in a digital camera that stores image data together with mode information. A mode indicating that the second imaging mode is designated for image data obtained by imaging in the first imaging mode with a relatively high image quality and a large amount of information even when the imaging mode is designated. When it is stored in the memory with the information and the remaining capacity of the memory is less than the predetermined capacity,In memory together with mode information indicating that the second imaging mode has been designatedThe stored image data is converted into image data with relatively low image quality and a small amount of information, and stored in a memory.
[0027]
Therefore, it is possible to automatically secure a predetermined capacity for storing a new image to be captured, and even when the remaining memory capacity cannot be confirmed at the time of shooting due to an unexpected shutter chance, On the other hand, it is possible to solve problems such as overwriting a necessary image and not saving a captured image, and the usability of the operator is improved.
[0028]
  Claim9The described imaging method includes a first imaging mode in which a captured image is processed so as to be image data with a relatively high image quality and a large amount of information and is stored in a memory, and the captured image is information with relatively low image quality. A second imaging mode that performs processing so that the amount of image data is small and stores the image data in the memory, and stores the image data together with the mode information. That the second imaging mode is designated for image data obtained by imaging in the first imaging mode with a relatively high image quality and a large amount of information. Stored in the memory together with the mode information shown, and by a predetermined operation,Indicates the second imaging modeThe mode information can be changed to mode information indicating the first imaging mode.
[0029]
  Claim9According to the described imaging method, the first imaging mode in which the captured image is processed so as to be image data with a relatively high image quality and a large amount of information and stored in the memory, and the captured image is relatively low in image quality. And a second imaging mode in which image data with a small amount of information is processed and stored in a memory, and is an imaging method in a digital camera that stores image data together with mode information. A mode indicating that the second imaging mode is designated for image data obtained by imaging in the first imaging mode with a relatively high image quality and a large amount of information even when the imaging mode is designated. It is stored in the memory together with the information, and by a predetermined operation,Indicates the second imaging modeThe mode information can be changed to mode information indicating the first imaging mode.
[0030]
Therefore, if an incorrect imaging mode is specified at the time of shooting, it is determined that a relatively low-quality image is acceptable at the time of shooting, but if a high-quality image is required later, an unexpected shutter chance will occur at the time of shooting. Even when the imaging mode cannot be specified by the operator's will, the captured image is stored in the memory as relatively high-quality image data, and the captured image is relatively high-quality by performing a predetermined operation after shooting. The mode can be changed so that the image data is stored as it is.
[0031]
  Claim10The described imaging method includes a first imaging mode in which a captured image is processed so as to be image data with a relatively high image quality and a large amount of information and is stored in a memory, and the captured image is information with relatively low image quality. A second imaging mode that performs processing so as to obtain image data with a small amount and stores the image data in the memory, and is an imaging method in a digital camera that can store image data together with mode information and can be connected to a personal computer. Even if the second imaging mode is designated at the time of imaging, the second imaging mode is used to capture image data obtained by imaging in the first imaging mode having a relatively high image quality and a large amount of information. When the image data is stored in the memory together with the mode information indicating that it has been designated and transferred from the digital camera to the personal computer,In the memory together with mode information indicating that the second imaging mode has been designated.The stored image data is also transferred as the image data having a relatively high image quality and a large amount of information without being converted into the image data having a relatively low image quality and a small amount of information.
[0032]
  Claim10According to the described imaging method, the first imaging mode in which the captured image is processed so as to be image data with a relatively high image quality and a large amount of information and stored in the memory, and the captured image is relatively low in image quality. And a second imaging mode in which image data with a small amount of information is processed and stored in a memory, image data can be stored together with mode information, and an imaging method in a digital camera that can be connected to a personal computer. Even if the second imaging mode is specified at the time of imaging, the second imaging mode is specified for image data obtained by imaging in the first imaging mode with a relatively high image quality and a large amount of information. It is stored in the memory together with the mode information indicating that it has been, and when transferring image data from the digital camera to the personal computer,In memory together with mode information indicating that the second imaging mode has been designatedThe stored image data is also transferred as image data having a relatively high image quality and a large amount of information without being converted into image data having a relatively low image quality and a small amount of information.
[0033]
  Claims11The storage medium described includes a first imaging mode in which a captured image is processed so as to be image data with a relatively high image quality and a large amount of information and is stored in a memory, and the captured image is information with relatively low image quality. A program executed by a digital camera having a second imaging mode that performs processing so that the amount of image data is reduced and stores the image data in the memory, and that can store image data together with mode information and can be connected to a personal computer. Even if the second imaging mode is specified at the time of imaging, the image data obtained by imaging in the first imaging mode with a relatively high image quality and a large amount of information is stored. A program step for storing in the memory together with mode information indicating that the second imaging mode has been designated; and When transferring image data to the computer,In the memory together with mode information indicating that the second imaging mode has been designated.The stored image data also includes a program step for transferring the image data with a relatively high image quality and a large amount of information without converting the image data into the image data with a relatively low image quality and a small amount of information. It is a feature.
[0034]
  Claim11According to the described storage medium, the first imaging mode in which the captured image is processed so as to be image data having a relatively high image quality and a large amount of information and is stored in the memory, and the captured image is relatively low in image quality. And a second imaging mode that performs processing so as to obtain image data with a small amount of information and saves the image data in a memory. Even when the second imaging mode is designated at the time of imaging, image data obtained by imaging in the first imaging mode with a relatively high image quality and a large amount of information is stored in the storage medium. Program step for storing in the memory together with mode information indicating that the second imaging mode has been designated, and image data from the digital camera to the personal computer When you transfer,In memory together with mode information indicating that the second imaging mode has been designatedThe stored image data includes a program step of transferring image data with a relatively high image quality and a large amount of information without converting the image data into image data with a relatively low image quality and a small amount of information.
[0035]
Therefore, image data that is specified to have a relatively low image quality at the time of shooting can be transferred to a computer as high-quality image data. Advantageous in that it can be handled as simple image data.
[0036]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, preferred embodiments to which the present invention is applied will be described with reference to FIGS.
[0037]
(First embodiment)
1 to 5 are diagrams showing a first embodiment in which the present invention is applied to a digital camera.
First, the configuration will be described.
[0038]
FIG. 1 is a perspective view showing an external configuration of a digital camera 1 according to the present embodiment.
In FIG. 1, the digital camera 1 is composed of a camera unit 3 and a main body unit 2, and the camera unit 3 and the main body unit 2 are relatively rotatably coupled.
[0039]
  The camera unit 3 is provided with an imaging lens 7 on the back side in the drawing. By rotating the camera unit 3 forward or backward in the drawing with the main body unit 2 as an axis, an imaging lens is provided.7These positions can be set to various positions, for example, moved to the position on the front side in the figure. In FIG. 1, the state rotated 180 degree | times back is shown.
[0040]
On the other hand, the main body 2 is provided with an LCD 6 (Liquid Crystal Display) on the front side in the drawing. The LCD 6 can display an image of a subject captured through the imaging lens 7 at the time of shooting, and can reproduce and display an image taken after shooting. Further, on the right side of the LCD 6, a function switching key 18 is provided for instructing switching between a photographing mode, a setting mode, a reproduction mode, a communication mode, and the like by a sliding operation up and down.
[0041]
The main body 2 has a power switch 8, “shutter” key 9, “DEL” key 10, “+” key 11, “−” key 12, “MODE” key 13, “DSP ( Display) key 14, “image quality conversion” key 15, “conversion execution” key 16, “image quality mode” key 19, and the like, and an external power terminal, video output terminal, and digital terminal (not shown) in the open / close lid 17. It has. In addition, an openable battery lid (not shown) is provided on the lower surface of the case 4.
[0042]
2 is a block diagram showing a circuit configuration of the digital camera 1 shown in FIG. The digital camera 1 shown in FIG. 2 includes the LCD 6 shown in FIG. 1, the CCD 20, the buffer 21, the A / D converter 22, the drive circuit 23, the timing generator 24, the DRAM 25, the compression / expansion circuit 26, the flash memory 27, The ROM 28, RAM 29, key input unit 30, CPU 31, signal generator 32, VRAM 33, D / A converter 34, buffer 35, and I / O port 36 are configured.
[0043]
A CCD (Charge Coupled Device) 20 converts a pixel surface in which a large number of elements (pixels) each having a transfer electrode on a light receiving portion such as a photodiode are arranged in a plane, and converts charges accumulated in each pixel into a voltage. And an output unit for outputting. Light incident through the imaging lens 7 is received by the pixel surface, and charges proportional to the amount of received light are accumulated in each pixel. The accumulated charge of each pixel is sequentially read out one pixel at a time as an electrical signal by the output unit in accordance with a drive signal supplied from the drive circuit 23, and is A / D via the buffer 21 as an imaging signal (analog signal). It is output to the converter 22.
[0044]
An A / D (Analog to Digital) converter 22 converts an imaging signal input from the CCD 20 via the buffer 21 from an analog signal to a digital signal, and supplies this to the timing generator 24.
[0045]
The drive circuit 23 drives and controls the exposure and readout timing of the CCD 20 based on the timing signal supplied from the timing generator 24. The timing generator 24 generates a timing signal for controlling the drive circuit 23 based on the video capture signal input from the CPU 31.
[0046]
A DRAM (Dynamic Random Access Memory) 25 temporarily captures captured image data supplied from a signal generator 32 or image data read from the flash memory 27 by the CPU 31 and decompressed by a compression / decompression circuit 26 described later. This is a semiconductor memory stored in the memory.
[0047]
The compression / decompression circuit 26 compresses the image data stored in the DRAM 25 by encoding. Specifically, DCT (8 × 8 pixel by DCT (Joint Photographic Experts Group) algorithm, for example, according to a predetermined encoding method, that is, the type of image to be handled (in this case, a still image), is used. Discrete cosine transform (discrete cosine transform), quantization, and Huffman coding are used for compression processing (encoding processing), and the compressed image data is output to the flash memory 27. Further, the compressed image data stored in the flash memory 27 is decoded and decompressed, and stored in the DRAM 25.
[0048]
The compression / decompression circuit 26 is capable of compressing image data at a plurality of compression rates. The mode compresses data at a low compression rate (high image quality mode) and the mode compresses data at a high compression rate. (Memory capacity saving mode), the compression / decompression circuit 26 selects either “FINE” (high quality mode) or “economy” (memory capacity saving mode) with the “image quality mode” key 19 during shooting. Even when is selected, the image data is compressed at a low compression rate.
[0049]
The flash memory 27 is a semiconductor memory that stores a plurality of image data compressed by the compression / decompression circuit 26. FIG. 3 is a diagram illustrating an example of a memory configuration of the flash memory 27.
As shown in FIG. 3, the flash memory 27 includes a header part (table) 27A for managing information of captured images, and an image data storage unit 27B for storing image data of the captured images.
[0050]
The header portion 27A includes a “page number” of the image, a “start address” of the image data storage portion 27B in which the image data of the captured image is stored, and an “image type” for identifying each captured image. “Image quality mode flag” indicating the image quality level selected by the “image quality mode” key 19 of the input unit 30 (“H” or “economy” is selected when “FINE” is selected by the “image quality mode” key 19. In this case, a plurality of pieces of data “L”) are stored in association with each other and image data is newly stored in the image data storage unit 27B, or the mode of the stored image data (data compression rate) Each time is changed, the header information of the header portion 27A is updated.
[0051]
The image data storage unit 27B is address-managed by the header unit 27A and stores image data in block units in time order in the order of addresses.
In the example shown in FIG. 3, the data of the images 1 and 3 are stored in the blocks of the head addresses X1 and X3 of the data storage unit 27B at a low compression rate, respectively, and “FINE” is shown as the image quality mode flag. “H” is set. Then, the data of images 2 and 4 are stored at low compression rates in the blocks of the leading addresses X2 and X4 of the data storage unit 27B, respectively, and “L” indicating “economy” is set as the image quality mode flag.
[0052]
A ROM (Read Only Memory) 28 stores various control programs executed by the CPU 31, data used in the program processing, and the like. There are a shooting-time image quality changing process program for executing the image quality changing process, a header information changing process program for executing the header information changing process shown in the flowchart of FIG. These various control programs are stored in the form of program codes readable by the CPU 31.
[0053]
A RAM (Random Access Memory) 29 forms a work area for temporarily storing various data to be processed when various control processes are executed by the CPU 31.
[0054]
As shown in FIG. 1, the key input unit 30 opens a shutter for a predetermined period of time, and instructs a “shutter” key 9, “DEL” key 10, “+” key 11, “−” key 12, “MODE”. Key 13, "DSP" key 14, "image quality conversion" key 15 for instructing setting of the image quality conversion mode, "conversion execution" key 16 for instructing change of the image quality mode flag of the header portion 27A of the flash memory 27, function switching key 18 and an “image quality mode” key 19 for selecting an image quality level at the time of shooting, and outputs various operation signals to the CPU 31 according to the input operation of each key.
[0055]
Based on various programs stored in the ROM 28, a CPU (Central Processing Unit) 31 executes processing according to the operation of each key of the key input unit 30 while using the work memory of the RAM 29 as a work area. Each part of the digital camera 1 is controlled.
[0056]
In addition, when the “DSP” key 14 of the key input unit 30 is pressed, the CPU 31 executes image reproduction processing, reads predetermined compressed image data from the flash memory 27, and transfers it to the compression / decompression circuit 26. Then, the image data expanded by the compression / decompression unit circuit 26 is transferred to the signal generator 32, converted into a video signal by the signal generator 32, and then output to the LCD 6 to display an image.
[0057]
Further, the CPU 31 executes an image quality change process at the time of shooting described later. Specifically, when the “shutter” key 9 of the key input unit 30 is pressed, the CPU 31 checks the remaining memory capacity of the flash memory 27, and if there is free capacity (memory capacity that can be stored), The shooting process is executed.
[0058]
That is, the CPU 31 outputs a video capture signal to the timing generator 24 and causes the timing generator 24 to output a timing signal to the drive circuit 23, thereby causing the CCD 20 to output the buffer 21, the A / D converter 22, and the timing generator 24. The image signal is input to the signal generator 32 via the signal generator, and further, the signal generator 32 performs color calculation processing to generate image data. The generated image data is stored in the DRAM 25 and stored in the DRAM 25. The obtained image data is transferred to the compression / decompression circuit 26 and is compressed at a low compression rate. Then, the compressed image data is stored in the data storage unit 27B of the flash memory 27, and when “FINE” is selected by the “image quality mode” key 19 for the image quality mode flag of the header portion 27A. When “H” is selected and “Economy” is selected, “L” is set.
[0059]
On the other hand, when there is no free space in the flash memory 27, the header portion 27A of the flash memory 27 is referred to, and the image quality mode flag is set to “L” indicating “economy” and image data with a small start address is stored as data. The image data is read from the storage unit 27B, the image data is decompressed by the compression / decompression circuit 26, the decompressed image data is compressed at a high compression rate to reduce the data amount, and the recompressed image data is stored in the flash memory 27. Is stored in the data storage unit 27B, and a memory area capable of storing a new image is secured.
[0060]
Further, the CPU 31 executes a header information changing process to be described later, and rewrites the header information of the header portion 27 </ b> A in the flash memory 27 in accordance with the operation of the “image quality change” key 15 and the “image quality mode” key 19.
[0061]
The signal generator 32 performs color calculation processing on the imaging signal (digital signal) supplied via the timing generator 24 to generate image data composed of a luminance signal (Y data) and a color signal (C data). Then, the generated image data (Y data and C data) is output to the DRAM 25.
[0062]
Further, the signal generator 32 generates a video signal (digital signal) by adding a synchronization signal to the image data supplied from the DRAM 25 by the CPU 31, temporarily stores it in the VRAM 33, and then stores the video signal stored in the VRAM 33. Is output to the LCD 6 via the D / A converter 34 and the buffer 35.
[0063]
A VRAM (Video Random Access Memory) 33 is a video memory that temporarily stores a video signal (display data) generated by the signal generator 32.
[0064]
The D / A (Digital to Analog) converter 34 converts the video signal (display data) supplied from the VRAM 33 by the signal generator 32 from a digital signal to an analog signal, and outputs it to the LCD 6 via the buffer 35.
[0065]
The LCD 6 displays an image by driving the liquid crystal based on a video signal (display data) input via the D / A converter 34 and the buffer 35.
[0066]
An I / O (Input / Output) port 36 receives serial data (image data, control signals, etc.) exchanged between the digital camera 1 and an external device connected via a serial input / output terminal 36a and a cable. The interface to control. For example, a cable such as RS232C (serial format) can be connected to the serial input / output terminal 36a.
[0067]
Next, the operation of the digital camera of this embodiment will be described.
FIG. 4 is a flowchart for explaining the photographing image quality change process executed by the CPU 31. Hereinafter, the image quality changing process at the time of shooting will be described with reference to FIG.
[0068]
In FIG. 4, first, the CPU 31 waits for a key input from the key input unit 30 (step S <b> 1). If there is a key input, the process proceeds to step S <b> 2, and the key input is an input of the “shutter” key 9. If the “shutter” key 9 is selected, the process proceeds to step S3. If the “shutter” key 9 is not input, the process proceeds to step S12 and the key operation performed in step S1 is performed. The corresponding process is executed and the flow is terminated.
[0069]
In step S3, the CPU 31 determines whether or not the capacity of the data storage unit 27B of the flash memory 27 is FULL, that is, whether or not there is a remaining memory capacity (storable memory capacity). If the capacity is FULL, step 31 is performed. The process proceeds to S4, and if it is not FULL, the process proceeds to step S11 to perform a normal photographing process.
[0070]
That is, in the photographing process of step S11, the CPU 31 outputs a video capture signal to the timing generator 24, and outputs the timing signal from the timing generator 24 to the drive circuit 23, whereby the CCD 20 outputs the buffer 21 and the A / D. The imaging signal is input to the signal generator 32 via the converter 22 and the timing generator 24. Then, the signal generator 32 performs color calculation processing to generate image data, stores the generated image data in the DRAM 25, and transfers the image data stored in the DRAM 25 to the compression / decompression circuit 26. Next, regardless of whether “FINE” or “Economy” is selected by the “image quality mode” key 19, the CPU 31 compresses the image data in the FINE mode (low compression ratio) by the compression / decompression circuit 26. The compressed image data is stored in the data storage unit 27B of the flash memory 27, and header information related to the image data is written in the header unit 27A. In this case, in the image quality mode flag of the header portion 27A, “H” is selected when “FINE” is selected by the “image quality mode” key 19, and “L” is selected when “economy” is selected. Set.
[0071]
If the capacity is FULL, the image data stored in the “FINE” mode (low compression rate) in the flash memory 27 is re-executed in the “economy” mode (high compression rate) by the following steps S4 to S10. After reducing the amount of data by compression, the memory area that can be stored again by storing in the flash memory 27 is secured, and the image data of the newly photographed image is stored in the secured memory area. To do.
[0072]
First, in step S4, the CPU 31 refers to the contents of the header portion 27B of the flash memory 27, sets “L” indicating that the image quality mode flag indicates economy and sets the image quality change target image as an image quality change target image. The data is read from the data storage unit 27B, the image data is transferred to the compression / decompression circuit 26, and data decompression processing is executed.
[0073]
Next, the CPU 31 recompresses the decompressed image data in the “economy mode”, that is, at a high compression rate (step S6). Then, the data in the block of the data storage unit 27B of the flash memory 27 that stores the read image data is erased. Subsequently, the CPU 31 stores the image data recompressed in the economy mode (high compression rate) in a corresponding area of the data storage unit 27B of the flash memory 27 (step S7).
[0074]
Then, the CPU 31 performs processing for storing new image data. That is, the CPU 31 inputs an imaging signal from the CCD 20 to the signal generator 32 via the buffer 21, the A / D converter 22, and the timing generator 24, and causes the signal generator 32 to generate new image data. Image data is stored in the DRAM 25. Then, the image data stored in the DRAM 25 is transferred to the compression / decompression circuit 26, and the image data is compressed at a data compression rate corresponding to the remaining capacity of the flash memory (step S9), and the compressed image data is flashed. Store in the memory 27.
[0075]
Next, the CPU 31 rewrites and writes the header information of the header portion 27B regarding the recompressed image data and the newly stored image data, and ends the flow. In this case, since the recompressed image data has the actual image quality level stored in the data storage unit 27B of the flash memory 27 in the economy mode (high compression ratio), the image quality level is changed again. In order to prevent this, the image quality mode flag of the header portion 27A is changed from “L” to “RL (Real Economy)” indicating that the image quality is actually stored in the economy mode.
[0076]
According to the above configuration, when there is free space in the flash memory 27, the FEIN is selected regardless of whether “FINE” or “Economy” is selected by the “image quality mode” key 19 at the time of shooting. In the mode (low compression rate), the image data is compressed and stored in the flash memory 27. On the other hand, when “FINE” is selected by the “image quality mode” key 19 for the image quality mode flag of the header portion 27A, When “Economy” is selected for “H”, “L” is written. In other words, when there is free space in the memory, the image is stored with the image quality of FINE, and a value indicating the image quality mode in which only the image quality mode flag is selected is written.
[0077]
When shooting is instructed when there is no free space in the flash memory 27, referring to the header portion 27A of the flash memory, the image quality mode flag is set to “Economy”, and the image data with a young head address is stored as data. The image data recorded in the FINE mode is recompressed in the economy mode in order to secure a memory area required to store the image data read from the storage unit 27B and photographed.
[0078]
In other words, if there is no free space in the memory, the images selected for economy at the time of shooting are actually converted to the economy image quality in order from the oldest to the new one, This is a configuration to memorize.
[0079]
Therefore, it is possible to always store image data with high image quality when there is free space in the flash memory, and when there is no free space in the flash memory, the operator thinks that the image quality may be low during shooting. The existing image data is converted from high image quality to low image quality (recompressed) in order from the oldest data, and the memory area is secured, so the number of storable images can be automatically secured and the operator Improved usability.
[0080]
In the above configuration, at the time of shooting, the memory capacity of the flash memory 27 is checked and the image quality level of the image data stored in the flash memory 27 is changed. This is not limited to shooting, and may be performed in playback mode or when the power is turned on.
[0081]
FIG. 5 is a flowchart for explaining the header information changing process executed by the CPU 31. Hereinafter, the header information change process will be described with reference to FIG.
[0082]
In FIG. 5, first, the CPU 31 waits for a key input of the key input unit 30 (step S <b> 20). If there is a key input, the process proceeds to step S <b> 21, and the key input is input by the “image quality conversion” key 15. If it is an input of the “image quality conversion” key 15, the process proceeds to step S 22, while if it is not an input of the “image quality conversion” key 15, the process proceeds to step S 27 and in step S 1. The process corresponding to the performed key operation is executed and the flow ends.
[0083]
In step S22, an image for changing the image quality mode flag of the header portion 27B of the flash memory 27 is selected by operating the “+” key 11 and the “−” key 12 (step S22). Next, when the “conversion execution” key 16 is operated and there is an instruction to change the image quality mode flag of the header portion 27A from “FINE” to “economy”, the process proceeds to step S24, where the header portion 27A Then, the process of changing the image quality mode flag of the selected image from “H” to “L” is executed, and the process proceeds to step S25. On the other hand, if there is an instruction to change the image quality mode flag from “economy” to “FINE”, the process proceeds to step S26 to change the image quality mode flag of the selected image from “L” to “H”. To move to step S25.
[0084]
In step S25, it is determined whether or not a “mode release” key is input. If there is an input of a “mode release” key, the flow is terminated. On the other hand, if no “mode release” key is input, Then, the process proceeds to step S22, and the process of changing the image quality mode flag is performed again.
[0085]
As described above, in the header information change process described above, since the image quality mode flag of the header portion 27A in the flash memory can be changed, the operator wants to save the image with high image quality at the time of shooting. However, when I changed my mind to change to low image quality, or on the contrary, I thought that I could change it to low image quality when shooting, but my desire to save it as high image quality changed. This makes it possible to cope with the situation and the convenience of the operator is improved.
[0086]
In the above-described embodiment, the image quality level is two levels of economy (high compression rate mode) and FINE (low compression rate mode), but the present invention is not limited to this, and the image quality level is 3 Needless to say, the level may be 3 or more.
[0087]
In the above-described embodiment, the compressed image data is stored in the flash memory. However, the present invention is not limited to this, and the compressed image data is stored in another semiconductor memory or magnetic or optical. The semiconductor memory and the storage medium may be configured to be detachably attached to the digital camera.
[0088]
(Second Embodiment)
Next, a second embodiment will be described with reference to FIGS.
In the second embodiment, a case will be described in which image data is transferred from a digital camera to a personal computer in an image processing system including a digital camera and a personal computer.
[0089]
First, the configuration will be described.
FIG. 6 is a block diagram showing an internal circuit configuration of the digital camera 50 according to the second embodiment.
In FIG. 6, the same components as those in the block configuration (see FIG. 2) of the digital camera 1 in the first embodiment are denoted by the same reference numerals, and only the main parts are described.
[0090]
6, the digital camera 50 includes the LCD 6, CCD 20, buffer 21, A / D converter 22, driving circuit 23, timing generator 24, DRAM 25, compression / expansion circuit 26, flash memory 27, RAM 29, shown in FIG. The key input unit 30, signal generator 32, VRAM 33, D / A converter 34, buffer 35, I / O port 36, ROM 40, CPU 41, and infrared communication unit 42 are configured.
[0091]
The ROM 40 performs data communication between the digital camera 50 and the external device (for example, between the external device connected to the serial input / output terminal 36a via a cable such as RS232C and the digital camera 50. Various communication control processes (image transfer process described later (see FIG. 8)) for controlling data communication (wired) and infrared data communication (wireless) performed between an external device having an infrared communication function and the digital camera 50 And various control programs for controlling each part of the digital camera 50 executed by the CPU 41. These various control programs are stored in the form of program codes readable by the CPU 41.
[0092]
The CPU 41 is a central processing unit that controls each part of the digital camera 50 in accordance with various control programs stored in the ROM 40. Specifically, when the function switching key 18 is slid and the communication mode is designated, the CPU 41 is a communication control processing program corresponding to the communication mode of data communication performed between the digital camera 50 and the external device. Is read from the ROM 40 and executed, for example, an image transfer process (see FIG. 8) described later is executed.
[0093]
In this image transfer process, when the “+” key 11 is pressed, the CPU 41 reads the image data of the next “page number” from the flash memory 27 and reproduces and displays it on the LCD 6, and the “−” key. When the button 12 is pressed, the image data of the previous “page number” is read from the flash memory 27 and reproduced and displayed on the LCD 6.
[0094]
When the “shutter” key 9 is pressed to transfer the image displayed on the LCD 6 to an external device such as the personal computer 100, the CPU 41 transmits the image data from the digital camera 50 to a communication cable, I / O port. 36 to the personal computer 100.
[0095]
At this time, the CPU 41 selects “FINE” with the “image quality mode flag” (“image quality mode” key 19) stored in the header portion 27 A (see FIG. 3) in the flash memory 27 for the image data designated for transfer. If “H” is selected, “L” if “Economy” is selected, “L”) is determined. If an instruction is given to transfer in high image quality mode, the “image quality flag” is set to “H”, “ L], the high-quality image data stored in the image data storage unit 27B in the flash memory 27 is transferred without changing the compression rate.
[0096]
That is, image data compressed in a mode for compressing data at a low compression rate (high image quality mode) is “L” (“economy” (memory capacity saving mode): relatively low image quality in the “image quality mode flag”. Even if the image quality mode is specified, the image data is transferred to the personal computer 100 as it is with high image quality.
[0097]
When the CPU 41 is instructed to transfer in the low image quality mode at the time of transmission, the image data is compressed at a high compression rate by the compression / decompression circuit 26 to reduce the data amount, and then the personal computer Forward to 100.
[0098]
The infrared communication unit 42 is an interface circuit for controlling infrared communication corresponding to an IrDA (Infrared Data Association) system.
[0099]
The I / O port 36 is an interface for controlling serial data (image data, control signals, etc.) exchanged between the digital camera 50 and an external device connected via the serial input / output terminal 36a and a cable. .
[0100]
The above is the configuration of the digital camera 50 in the present embodiment.
[0101]
Next, FIG. 7 is a block diagram showing an internal circuit configuration of the personal computer 100 provided as an external device of the digital camera 50.
7, the personal computer 100 includes an input device 111, a RAM 112, an I / O port 113, a compression / decompression circuit 114, an infrared communication unit 115, a CPU 116, a display device 117, and a storage device 118. Each unit is a bus. 120 is connected.
[0102]
The input device 111 includes a key input unit, a mouse, and the like. The key input unit includes a function key, a numeric key, a character key, and other keys, and outputs various operation signals according to each key input operation by the user. It outputs to CPU116. The mouse is a pointing device that selects an icon or an operation menu displayed on the display screen of the display device 117 and outputs relative position coordinate data, a click signal, and the like to the CPU 116.
[0103]
The RAM 112 forms a work area for temporarily storing various data to be processed when various control processes are executed by the CPU 116.
[0104]
The I / O port 113 is an interface for controlling serial data exchanged between the personal computer 100 and an external device (for example, the digital camera 50) connected via the serial input / output terminal 113a and a cable. .
[0105]
The compression / decompression circuit 114 reads image data input from an external device to the personal computer 100 via the I / O port 113 or the infrared communication unit 115 or read from the storage medium 119 via the storage device 118 by the CPU 116. When the processed image data is compressed, the image data is decoded and decompressed based on an instruction from the CPU 116, and expanded in the RAM 112. Conversely, the image data developed in the RAM 112 is compressed by a predetermined encoding method based on an instruction from the CPU 116. The compressed image data is stored in the storage medium 119 via the storage device 118 by the CPU 116, or transmitted to an external device via the I / O port 113 or the infrared communication unit 115.
[0106]
The infrared communication unit 115 is an interface circuit for controlling infrared communication corresponding to the IrDA method.
[0107]
The CPU 116 is a central processing unit that controls each unit of the personal computer 100 according to various control programs and application programs stored in the storage medium 119. Specifically, when the CPU 116 is instructed to shift to the communication mode from the input device 111, the CPU 116 stores a communication control processing program corresponding to the communication mode of data communication performed between the personal computer 100 and the external device. Data is read from the storage medium 119 via the device 118 and executed to control data communication performed between the personal computer 100 and an external device.
[0108]
The display device 117 is configured by a CRT (Cathode Ray Tube), a liquid crystal display, or the like, and displays display data (for example, image data) read from the RAM 112 and input by the CPU 116 on the display screen.
[0109]
The storage device 118 includes a storage medium 119 for storing programs, data, and the like. The storage medium 119 is configured by a magnetic or optical storage medium or a semiconductor memory.
[0110]
Note that the storage medium 119 may be fixed to the storage device 118 or may be detachably attached to the storage device 118.
[0111]
The storage medium 119 includes various types for controlling each part of the digital camera 50 executed by the CPU 116 such as communication control processing for controlling data communication performed between the personal computer 100 and the digital camera 50 described above. A control program is stored in the form of a program code that can be read by the CPU 116.
[0112]
The above is the configuration of the personal computer 100 in this embodiment.
[0113]
Next, the operation will be described.
First, image transfer processing executed by the CPU 41 of the digital camera 50 will be described based on the flowchart shown in FIG.
[0114]
When the function switching key 18 is slid and the communication mode is designated, the CPU 41 reads a program relating to image transfer stored in the ROM 40 and starts its processing.
[0115]
First, after performing initial processing (step S30), the CPU 41 determines whether or not the personal computer 100 (external device) is connected to the digital camera 50 (step S31). This determination is performed by determining whether or not a predetermined connection signal is input to the I / O port 36 from the personal computer 100 via the communication cable and the serial input / output terminal 36a. If the personal computer 100 is not connected to the camera 50, it is continuously monitored whether or not the personal computer 100 is connected.
[0116]
If the CPU 41 determines in step S31 that the personal computer 100 is connected, the CPU 41 then shifts to the transfer image selection mode (step S32) and stores a plurality of image data stored in the flash memory 27. First, the image data of the image 1 whose “page number” is “1” in the header portion 27A (see FIG. 3) is read out and decompressed by the compression / decompression circuit 26. The video signal is converted into a video signal by adding a synchronization signal or the like and output to the LCD 6 to reproduce and display the image data on the display screen.
[0117]
Thereafter, the CPU 41 determines whether or not the “shutter” key 9 is pressed to instruct transfer (step S33). If the “shutter” key 9 is not pressed, then the “+” key is selected. 11 or a determination is made as to whether or not the "-" key 12 has been pressed (step S34).
[0118]
When the CPU 41 determines that neither of the keys 11 and 12 is pressed, the CPU 41 returns to step S33. When the CPU 41 determines that either of the keys 11 and 12 is pressed, In response to the operated key, when the “+” key 11 is pressed, an image advance process is performed, and when the “−” key 12 is pressed, an image return process is performed to display the next image. Display (step S35), the process returns to step S33.
[0119]
That is, in the CPU 41, when the “+” key 11 is pressed, the image data of the next “page number”, for example, the “page number” of the image data currently reproduced and displayed on the LCD 6 is “1”. Is read out from the flash memory 27 and reproduced and displayed on the LCD 6, and when the “−” key 12 is pressed, the previous “page number” is read out. Is read from the flash memory 27 and reproduced and displayed on the LCD 6.
[0120]
With this control configuration, the user can search for an image to be transferred while sequentially switching and displaying a plurality of image data stored in the flash memory 27 of the digital camera 50 on the LCD 6.
[0121]
If the CPU 41 determines in step S33 that the “shutter” key 9 has been pressed, the image displayed on the LCD 6 of the digital camera 50 when the “shutter” key 9 is pressed is transferred. In the case where “FINE” is selected with the “image quality mode flag” 19 (“image quality mode” key 19) stored in the header portion 27 </ b> A (see FIG. 3) of the flash memory 27 for the image data. ("L" if "H" or "Economy" is selected)) (step S36).
[0122]
Next, based on the result determined in step S36, the CPU 41 displays in which image quality mode the image data designated for transfer was captured at the time of shooting, and at the same time, the image quality mode when stored in the flash memory 27. A confirmation display as to whether or not to transmit is performed (step S37). Then, the CPU 41 determines whether or not the user selects “OK” for the confirmation display in step S37 (step S38), presses the “shutter” key 9 (“OK”), or “DEL”. This is performed by determining the pressing operation ("NO") of the key 10.
[0123]
In step S38, when the “shutter” key 9 is pressed and it is determined that “OK” is selected for the confirmation display, the “image quality mode flag” stored in the header portion 27A for the image data. The CPU 41 communicates the high-quality image data stored in the image data storage unit 27B in the flash memory 27 from the digital camera 50 without changing the compression ratio, regardless of whether “H” or “L”. The data is transmitted to the personal computer 100 via the cable and the I / O port 36 (step S39).
[0124]
That is, image data compressed in a mode for compressing data at a low compression rate (high image quality mode) is “L” (“economy” (memory capacity saving mode): relatively low image quality in the “image quality mode flag”. Even if the image quality mode is specified, the image data is transferred to the personal computer 100 as it is with high image quality.
[0125]
If it is determined in step S38 that the “DEL” key 10 is pressed and “NO” is selected for the confirmation display, the CPU 41 uses the compression / decompression circuit 26 to compress the image data to a high compression rate. The data compression is performed to reduce the amount of data, and this recompressed image data (low-quality mode image data) is transmitted from the digital camera 50 to the personal computer 100 via the communication cable and the I / O port 36 (step). S40).
[0126]
When the transfer of the image data is completed in step S39 or step S40, the CPU 41 determines whether or not the function switching key 18 is slid to enter a mode other than the communication mode (step S41). If it is determined that the communication mode is selected, the communication mode is terminated. If it is determined that the communication mode is maintained, the process returns to step S33 to continue the image transfer process.
[0127]
As described above, according to the image processing system constructed by connecting the serial input / output terminals 36a and 113a of the digital camera 50 and the personal computer 100 with a cable and performing wired communication between them, the CPU 41 When the image data designated for transfer is instructed to determine the “image quality mode flag” stored in the header portion 27A (see FIG. 3) in the flash memory 27 and to transmit in the high image quality mode. Regardless of whether the “image quality mode flag” of the image data is “H” or “L”, the high-quality image data stored in the image data storage unit 27B is transferred without changing the compression rate.
[0128]
That is, it is assumed that “L” (relatively low image quality mode) is designated in the “image quality mode flag” for image data compressed in a mode (high image quality mode) in which data compression is performed at a low compression rate. Also, the high-quality image data is transferred to the personal computer 100 as it is.
[0129]
Therefore, by limiting the memory capacity of the flash memory inside the digital camera and converting the image data stored at a low compression rate to a high compression rate, the image quality does not deteriorate, and it is relatively low during shooting. Even image data that is specified to have high image quality can be transferred to a computer as high-quality image data, so that it can be handled as high-quality image data during various processing such as image editing and printing by the computer. There are advantages such as.
[0130]
In this embodiment, as shown in FIG. 9A, the image transfer process by wired communication in which the digital camera 50 and the personal computer 100 are connected via a communication cable such as RS232C has been described. It may be in the form of IrDA infrared communication as shown in b). Further, the present invention can be applied to communication modes such as wireless communication and optical communication other than the infrared communication.
[0131]
In addition, as shown in FIG. 5C, image data captured by the digital camera is stored in a memory card in which both the digital camera and the personal computer (PC) can write and read data. When transferring data, the present invention is also effective for a system in which the memory card is detached from the digital camera and attached to a PC, and image data is transferred to the PC.
[0132]
Further, if the digital camera and the PC both have a built-in modem, the digital camera and the public line, and the PC and the public line are connected by cables, respectively, and a public line network as shown in FIG. The image transfer process via the network can be performed, and the present invention can be applied to the image transfer in such a communication mode.
[0133]
The same effects as those of the image processing system according to the connection form shown in FIG. 9A are also shown in the image processing system constructed by the connection forms shown in FIGS. 9B to 9D. Can be obtained.
[0134]
The present invention has been specifically described above based on the first and second embodiments. However, the present invention is not limited to the above-described embodiments, and can be appropriately changed without departing from the gist thereof. Of course.
[0135]
For example, in the first and second embodiments described above, the header portion 27A for managing information of the captured image in the flash memory 27 and the image data storage portion 27B for storing the image data of the captured image are illustrated. However, the data structure in the flash memory 27 is not limited to this, and may include data relating to other additional information (for example, shooting date and time).
[0136]
The present invention also provides an electronic device such as a personal computer that has an imaging function (image input function) by mounting a PC camera card of a PCMCIA (Personal Computer Memory Card International Association) standard equipped with a CCD camera. It can also be applied to equipment.
[0137]
In the digital camera in the first and second embodiments, various control programs are stored in a ROM that is a storage medium. However, the storage medium is not limited to a semiconductor memory represented by a ROM. Alternatively, it may be a magnetic or optical storage medium. The storage medium may be configured to be detachably attached to the digital camera.
[0138]
【The invention's effect】
  According to the image data storage device of the first aspect, since the image data captured at a compression rate lower than the compression rate of the instructed image is stored in the storage medium, the image data is always stored with high image quality. This makes it easier for the operator to use.
  If you check the memory capacity of the storage medium and determine that there is no remaining memory capacity,MediumTherefore, it is possible to automatically secure a storage area for storing a new image to be captured, which is convenient for the operator. Get better.
[0140]
  Claim 2Or 3According to the image data storage device described above, since the compression rate information of the image data is stored in the compression rate area of the storage medium, the compressed image data is stored in the image area. It becomes easy to specify the rate image.
[0141]
  Claim4 or 5Image data storage device and claim6Or7According to the described image data storage method, since the compression rate information stored in the compression rate area of the storage medium can be changed, the operator wanted to preserve the image quality at the time of shooting. If you think that you can change to image quality, or conversely, you thought that you could change it to low image quality when shooting, but if you want to save it with high image quality, you can deal with it and it is easy to use Get better.
[0142]
  Claim8According to the described imaging method, a predetermined capacity for storing a newly captured image can be automatically secured, and even when the remaining memory capacity cannot be confirmed at the time of shooting due to an unexpected photo opportunity. Thus, problems such as overwriting necessary images against the will of the operator and the fact that the captured image is not stored can be solved, and the usability of the operator is improved.
[0143]
  Claim9According to the described imaging method, if an incorrect imaging mode is specified at the time of shooting, it is determined that a relatively low-quality image is acceptable at the time of shooting, but if a high-quality image is required later, Even if the imaging mode cannot be specified at the will of the operator at the time of shooting due to the shutter chance, the captured image is stored in the memory as relatively high-quality image data, and the captured image is captured by a predetermined operation after shooting. The mode can be changed so as to store the image data with relatively high image quality.
[0144]
  Claim10Imaging method and claim11According to the described storage medium, it is possible to transfer image data designated as having relatively low image quality at the time of shooting to a computer as high-quality image data. There is an advantage that it can be handled as high-quality image data during various processes.
[Brief description of the drawings]
FIG. 1 is a perspective view of a digital camera 1 according to a first embodiment of the present invention.
FIG. 2 is a block diagram showing a circuit configuration of the digital camera 1 according to the first embodiment of the present invention.
3 is a diagram showing a memory configuration example of the flash memory 27 of FIG. 2;
FIG. 4 is a flowchart for explaining image quality change processing at the time of shooting that is executed under the control of a CPU 31;
FIG. 5 is a flowchart for explaining header information change processing executed under the control of a CPU 31;
FIG. 6 is a block diagram showing a circuit configuration of a digital camera 50 according to a second embodiment of the present invention.
FIG. 7 is a block diagram showing an internal circuit configuration of a personal computer 100 according to a second embodiment of the present invention.
FIG. 8 is a flowchart for explaining selected image transfer processing executed under the control of a CPU 41;
FIGS. 9A and 9B are diagrams showing various examples of connection forms between the digital camera 50 and the personal computer 100 according to the second embodiment of the present invention. FIGS.
[Explanation of symbols]
1 Digital camera
4, 5 cases
6 LCD
7 Imaging lens
8 Power switch
9 “Shutter” key
10 “DEL” key
11 “+” key
12 “-” key
13 “MODE” key
14 "DSP" key
15 “Image quality conversion” key
16 “Convert” key
17 Opening and closing lid
18 Function switch key
19 “Picture Mode” key
20 CCD
21 buffers
22 A / D converter
23 Drive circuit
24 Timing generator
25 DRAM
26 Compression / decompression circuit
27 Flash memory
28 ROM
29 RAM
30 Key input part
31 CPU
32 Signal generator
33 VRAM
34 D / A converter
35 buffers
36 I / O port
40 ROM
41 CPU
42 Infrared communication part
50 Digital camera
100 Personal computer
111 Input device
112 RAM
113 I / O port
114 Compression / decompression circuit
115 Infrared communication part
116 CPU
117 display device
118 Storage device
119 storage media

Claims (11)

被写体の画像を撮像して、複数の圧縮率のうちの所定圧縮率で圧縮し、記憶媒体にこの圧縮した画像を記憶する画像データ記憶装置において、
前記複数の圧縮率のうち所定の圧縮率を指示する指示手段と、
この指示手段により指示された圧縮率より低い圧縮率で前記撮像した画像を圧縮して前記記憶媒体に記憶するとともに、該画像データと対応付けて該画像データが前記指示された圧縮率より低い圧縮率で圧縮して記憶された画像データであることを示す情報を記憶する第1の記憶制御手段と、
前記記憶媒体の記憶容量を検出するメモリ容量検出手段と、
前記メモリ容量検出手段により検出された記憶容量により画像データを記憶することが不可能であると判断したとき、前記記憶媒体に記憶されている画像データのうち前記情報が対応付けて記憶されている画像データを前記指示された圧縮率で再圧縮する再圧縮手段と、
前記メモリ容量検出手段により検出された記憶容量により画像データを記憶することが不可能であると判断したとき、前記記憶媒体に記憶されている画像データのうち前記情報が対応付けて記憶されている画像データを消去する消去手段と、
この消去手段により消去された画像データが記憶されていた記憶領域に前記再圧縮手段により再圧縮された画像データを記憶する第2の記憶制御手段と
を備えたことを特徴とする画像データ記憶装置。
In an image data storage device that captures an image of a subject, compresses the image at a predetermined compression rate among a plurality of compression rates, and stores the compressed image in a storage medium.
Instruction means for instructing a predetermined compression ratio among the plurality of compression ratios;
The captured image is compressed and stored in the storage medium at a compression rate lower than the compression rate instructed by the instruction means, and the image data is compressed lower than the instructed compression rate in association with the image data. First storage control means for storing information indicating that the image data is compressed and stored at a rate;
Memory capacity detecting means for detecting the storage capacity of the storage medium;
When it is determined that the image data cannot be stored by the storage capacity detected by the memory capacity detection means, the information is stored in association with the image data stored in the storage medium. Re-compression means for re-compressing image data at the indicated compression rate;
When it is determined that the image data cannot be stored with the storage capacity detected by the memory capacity detection means, the information is stored in association with the image data stored in the storage medium. An erasing means for erasing the image data;
An image data storage device comprising: a second storage control means for storing the image data recompressed by the recompression means in a storage area in which the image data erased by the eraser is stored .
前記第1の記憶制御手段は、前記指示手段により前記所定の圧縮率が指示された場合、該指示された所定の圧縮率より低い圧縮率で前記撮像した画像を圧縮して前記記憶媒体に記憶するとともに、該画像データと対応付けて、該画像データが前記指示された所定の圧縮率より低い圧縮率で圧縮して記憶された画像データであることを示す情報として前記指示された所定の圧縮率に関する情報を記憶し、
前記再圧縮手段は、前記メモリ容量検出手段により検出された記憶容量により画像データを記憶することが不可能であると判断したとき、前記記憶媒体に記憶されている画像データのうち前記所定の圧縮率に関する情報が対応付けて記憶されている画像データを前記指示された所定の圧縮率で再圧縮し、
前記消去手段は、前記メモリ容量検出手段により検出された記憶容量により画像データを記憶することが不可能であると判断したとき、前記記憶媒体に記憶されている画像データのうち前記所定の圧縮率に関する情報が対応付けて記憶されている画像データを消去することを特徴とする請求項1記載の画像データ記憶装置。
When the predetermined compression ratio is instructed by the instruction means, the first storage control means compresses the captured image at a compression ratio lower than the instructed predetermined compression ratio and stores the compressed image in the storage medium. In addition, the instructed predetermined compression is used as information indicating that the image data is compressed and stored at a compression rate lower than the instructed predetermined compression rate in association with the image data. Remembers information about rates,
When the recompression unit determines that the image data cannot be stored with the storage capacity detected by the memory capacity detection unit, the predetermined compression of the image data stored in the storage medium is performed. Re-compress the image data in which the information on the rate is stored in association with the specified compression rate,
When the erasing unit determines that the image data cannot be stored with the storage capacity detected by the memory capacity detecting unit, the predetermined compression rate of the image data stored in the storage medium is determined. 2. The image data storage device according to claim 1, wherein the image data stored in association with the information is deleted .
前記記憶媒体は、前記所定の圧縮率に関する情報を記憶する圧縮率領域と圧縮画像を記憶する画像領域を備え、The storage medium includes a compression rate area for storing information on the predetermined compression rate and an image area for storing a compressed image.
前記第1の記憶制御手段は、前記圧縮画像を前記画像領域に記憶するとともに、前記所定の圧縮率に関する情報を前記圧縮率領域に記憶することを特徴とする請求項2記載の画像データ記憶装置。3. The image data storage device according to claim 2, wherein the first storage control unit stores the compressed image in the image area and stores information on the predetermined compression ratio in the compression ratio area. .
記指示手段は、前記複数の圧縮率のうち前記所定の圧縮率よりも低い圧縮率を指示する手段を含み、
前記第1の記憶制御手段は、前記指示手段により前記所定の圧縮率より低い圧縮率が指示された場合、該指示された所定の圧縮率より低い圧縮率で前記撮像した画像を圧縮して前記記憶媒体に記憶するとともに、該画像データと対応付けて前記指示された所定の圧縮率より低い圧縮率に関する情報を記憶する手段を含むことを請求項記載の画像データ記憶装置。
Before Symbol instructing means includes means for instructing a lower compression ratio than the predetermined compression ratio of the plurality of compression ratios,
The first storage control unit compresses the captured image at a compression rate lower than the designated predetermined compression rate when the instruction unit designates a compression rate lower than the predetermined compression rate. 3. The image data storage device according to claim 2 , further comprising means for storing information relating to a compression rate lower than the designated predetermined compression rate in association with the image data and storing the information in a storage medium .
前記記憶媒体に画像データと対応付けて記憶されている前記所定の圧縮率に関する情報Information on the predetermined compression rate stored in association with image data in the storage medium 及び又は前記所定の圧縮率よりも低い圧縮率に関する情報を、前記所定の圧縮率よりも低い圧縮率に関する情報及び又は前記所定の圧縮率に関する情報に変更する情報変更手段を更に備えたことを請求項4記載の画像データ記憶装置。And / or further comprising information changing means for changing information relating to a compression rate lower than the predetermined compression rate to information relating to a compression rate lower than the predetermined compression rate and / or information relating to the predetermined compression rate. Item 5. The image data storage device according to Item 4. 撮像画像を第1の圧縮率で圧縮して記憶媒体に記憶する第1の記憶モードと、該第1の圧縮率より高い圧縮率で撮像画像を圧縮して該記憶媒体に記憶する第2の記憶モードとを有し、モード情報とともに圧縮画像データを記憶する画像データ記憶方法において、
画像データの取り込み時に前記第2の記憶モードが指定されていても、前記記憶媒体の記憶容量に余裕があるときは取り込んだ画像データに対して前記第1の記憶モードに基づく処理を行い、該圧縮画像データと前記第2の記憶モードが指定されていたことを示すモード情報とを共に記憶することを特徴とする画像データ記憶方法。
A first storage mode in which the captured image is compressed at a first compression rate and stored in the storage medium; and a second storage mode in which the captured image is compressed at a compression rate higher than the first compression rate and stored in the storage medium. In an image data storage method having a storage mode and storing compressed image data together with mode information,
Even if the second storage mode is specified at the time of capturing the image data, if the storage capacity of the storage medium is sufficient, a process based on the first storage mode is performed on the captured image data, A method for storing image data, comprising storing compressed image data and mode information indicating that the second storage mode has been designated.
前記記憶媒体の記憶容量が不足したときに、前記第2の記憶モードが指定されていたことを示すモード情報と共に記憶されている画像データを、該第2の記憶モードで再記憶することを特徴とする請求項記載の画像データ記憶方法。When the storage capacity of the storage medium is insufficient, image data stored together with mode information indicating that the second storage mode has been designated is re-stored in the second storage mode. The image data storage method according to claim 6 . 撮像画像を相対的に高画質で情報量の多い画像データとなるように処理を行ってメモリに保存する第1の撮像モードと、撮像画像を相対的に低画質で情報量の少ない画像データとなるように処理を行って前記メモリに保存する第2の撮像モードとを有し、モード情報とともに画像データを記憶するデジタルカメラにおける撮像方法であって、
撮像時に前記第2の撮像モードが指定されていても、前記相対的に高画質で情報量の多い第1の撮像モードで撮像して得られた画像データを、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶しておき、前記メモリの残量が所定容量より少なくなった際には、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶されている画像データを、前記相対的に低画質で情報量の少ない画像データに変換して前記メモリに保存することを特徴とする撮像方法。
A first imaging mode for processing a captured image to be image data having a relatively high image quality and a large amount of information, and storing the captured image in a memory; and image data having a relatively low image quality and a small amount of information A second imaging mode that performs processing so as to be stored in the memory, and stores image data together with mode information.
Even if the second imaging mode is designated at the time of imaging, the second imaging mode designates image data obtained by imaging in the first imaging mode having a relatively high image quality and a large amount of information. Is stored in the memory together with mode information indicating that the second imaging mode has been designated , and is stored in the memory together with mode information indicating that the second imaging mode has been designated. imaging method characterized by storing said image data stored in the memory, and converts the relatively in low-quality image data with little amount of information in the memory.
撮像画像を相対的に高画質で情報量の多い画像データとなるように処理を行ってメモリに保存する第1の撮像モードと、撮像画像を相対的に低画質で情報量の少ない画像データとなるように処理を行って前記メモリに保存する第2の撮像モードとを有し、モード情報とともに画像データを記憶するデジタルカメラにおける撮像方法であって、
撮像時に前記第2の撮像モードが指定されていても、前記相対的に高画質で情報量の多い第1の撮像モードで撮像して得られた画像データを、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶しておき、所定の操作により、前記第2の撮像モードを示すモード情報を前記第1の撮像モードを示すモード情報に変更可能であることを特徴とする撮像方法。
A first imaging mode for processing a captured image to be image data having a relatively high image quality and a large amount of information, and storing the captured image in a memory; and image data having a relatively low image quality and a small amount of information A second imaging mode that performs processing so as to be stored in the memory, and stores image data together with mode information.
Even if the second imaging mode is designated at the time of imaging, the second imaging mode designates image data obtained by imaging in the first imaging mode having a relatively high image quality and a large amount of information. It is stored in the memory together with mode information indicating that it has been performed, and mode information indicating the second imaging mode can be changed to mode information indicating the first imaging mode by a predetermined operation. A characteristic imaging method.
撮像画像を相対的に高画質で情報量の多い画像データとなるように処理を行ってメモリに保存する第1の撮像モードと、撮像画像を相対的に低画質で情報量の少ない画像データとなるように処理を行って前記メモリに保存する第2の撮像モードとを有し、モード情報とともに画像データを記憶できると共にパーソナルコンピュータと接続できるデジタルカメラにおける撮像方法であって、
撮像時に前記第2の撮像モードが指定されていても、前記相対的に高画質で情報量の多い第1の撮像モードで撮像して得られた画像データを、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶しておき、前記デジタルカメラから前記パーソナルコンピュータへ画像データを転送する際は、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶されている画像データも前記相対的に低画質で情報量の少ない画像データに変換することなく前記相対的に高画質で情報量の多い画像データのまま転送することを特徴とする撮像方法。
A first imaging mode for processing a captured image to be image data having a relatively high image quality and a large amount of information, and storing the captured image in a memory; and image data having a relatively low image quality and a small amount of information A second imaging mode that performs processing so that the image data is stored in the memory, and can store image data together with mode information and can be connected to a personal computer.
Even if the second imaging mode is designated at the time of imaging, the second imaging mode designates image data obtained by imaging in the first imaging mode having a relatively high image quality and a large amount of information. When the image data is stored in the memory together with the mode information indicating that the second imaging mode has been designated and transferred to the personal computer, the mode information indicating that the second imaging mode has been designated. The image data stored in the memory is also transferred as the image data having a relatively high image quality and a large amount of information without being converted into the image data having a relatively low image quality and a small amount of information. Imaging method.
撮像画像を相対的に高画質で情報量の多い画像データとなるように処理を行ってメモリに保存する第1の撮像モードと、撮像画像を相対的に低画質で情報量の少ない画像データとなるように処理を行って前記メモリに保存する第2の撮像モードとを有し、モード情報とともに画像データを記憶できると共にパーソナルコンピュータと接続できるデジタルカメラによって実行されるプログラムを記憶した記憶媒体であって、
撮像時に前記第2の撮像モードが指定されていても、前記相対的に高画質で情報量の多い第1の撮像モードで撮像して得られた画像データを、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶するプログラムステップと、
前記デジタルカメラから前記パーソナルコンピュータへ画像データを転送する際は、前記第2の撮像モードが指定されていたことを示すモード情報と共に前記メモリに記憶されている画像データも前記相対的に低画質で情報量の少ない画像データに変換することなく前記相対的に高画質で情報量の多い画像データのまま転送するプログラムステップと、
を含むことを特徴とする記憶媒体。
A first imaging mode for processing a captured image to be image data having a relatively high image quality and a large amount of information, and storing the captured image in a memory; and image data having a relatively low image quality and a small amount of information A storage medium that stores a program executed by a digital camera that can store image data together with mode information and can be connected to a personal computer. And
Even if the second imaging mode is designated at the time of imaging, the second imaging mode designates image data obtained by imaging in the first imaging mode having a relatively high image quality and a large amount of information. A program step for storing in the memory together with mode information indicating what has been done;
When transferring image data from the digital camera to the personal computer, the image data stored in the memory together with mode information indicating that the second imaging mode has been designated is also of the relatively low image quality. A program step of transferring the image data with a relatively high image quality and a large amount of information without converting into image data with a small amount of information;
A storage medium comprising:
JP15129497A 1996-06-07 1997-06-09 Image data storage device, image data storage method, imaging method, and storage medium Expired - Fee Related JP3777721B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15129497A JP3777721B2 (en) 1996-06-07 1997-06-09 Image data storage device, image data storage method, imaging method, and storage medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP14596796 1996-06-07
JP8-145967 1996-06-07
JP15129497A JP3777721B2 (en) 1996-06-07 1997-06-09 Image data storage device, image data storage method, imaging method, and storage medium

Publications (2)

Publication Number Publication Date
JPH1056612A JPH1056612A (en) 1998-02-24
JP3777721B2 true JP3777721B2 (en) 2006-05-24

Family

ID=26476935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15129497A Expired - Fee Related JP3777721B2 (en) 1996-06-07 1997-06-09 Image data storage device, image data storage method, imaging method, and storage medium

Country Status (1)

Country Link
JP (1) JP3777721B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4073994B2 (en) * 1998-04-21 2008-04-09 株式会社リコー Digital electronic still camera
US6393470B1 (en) * 1998-11-13 2002-05-21 International Business Machines Corp. Non intrusive automatic remote support for freeing overloaded storage in portable devices
US6392757B2 (en) * 1999-02-26 2002-05-21 Sony Corporation Method and apparatus for improved digital image control
JP3868145B2 (en) * 1999-04-12 2007-01-17 オリンパス株式会社 Image recording apparatus and electronic camera apparatus
JP3994249B2 (en) * 1999-08-19 2007-10-17 富士フイルム株式会社 Digital camera with printer
US6885395B1 (en) * 2000-05-26 2005-04-26 Eastman Kodak Company Selectively adjusting the resolution levels or the quality levels of digital images stored in a digital camera memory
JP2001339686A (en) * 2000-05-29 2001-12-07 Toa Corp Image data processing device
JP4305737B2 (en) * 2003-06-18 2009-07-29 ソニー株式会社 Recording apparatus and recording medium management method
JP5115619B2 (en) * 2010-11-25 2013-01-09 カシオ計算機株式会社 Imaging apparatus, imaging control method, and program
JP6857068B2 (en) * 2017-03-31 2021-04-14 アズビル株式会社 Time series data recording method and equipment
JP6840013B2 (en) * 2017-03-31 2021-03-10 アズビル株式会社 Time series data recording method and equipment

Also Published As

Publication number Publication date
JPH1056612A (en) 1998-02-24

Similar Documents

Publication Publication Date Title
JP3103151B2 (en) Electronic still camera and operation control method thereof
US8264572B2 (en) Image processing apparatus and electronic camera that reduce the length of time required to complete reproduction of recorded image data
JP3822380B2 (en) Image signal processing device
JP3777721B2 (en) Image data storage device, image data storage method, imaging method, and storage medium
JP4028511B2 (en) Image capturing apparatus and method for automatically setting resolution
JP3877577B2 (en) Camera system, digital camera, and digital camera control method
US5874999A (en) Image processing apparatus with multiple data modes
JP3504691B2 (en) Information handling equipment
JP4678273B2 (en) Imaging apparatus, moving image storage method, and moving image storage program
JP3985102B2 (en) Information input device
JP3695140B2 (en) Electronic still camera and control method thereof
JP3143429B2 (en) Method for calculating the number of writable data on a data recording medium, digital still camera, method for calculating the number of frames that can be photographed, and recording medium
JP3450476B2 (en) Information handling equipment
KR101255205B1 (en) Methog for generating animation GIF file of digital photographing device
JPH06133264A (en) Electronic still camera
JP2000069428A (en) Digital camera system
JP3882270B2 (en) Imaging device and storage medium
JP3259882B2 (en) Information handling equipment
JP3505914B2 (en) Digital camera
JP2000299800A (en) Image pickup method and device and storage medium
JP3567258B2 (en) Electronic camera device
JP3297550B2 (en) Information handling equipment
JPH06315106A (en) Image handling device
JPH1063688A (en) Digital camera, method for searching stored data and storage medium
JP3278147B2 (en) Image recording device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050405

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050419

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050525

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050705

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051027

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060220

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100310

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110310

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110310

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120310

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130310

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130310

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140310

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees