JP4109853B2 - Imaging apparatus, imaging operation control method, and program - Google Patents

Imaging apparatus, imaging operation control method, and program Download PDF

Info

Publication number
JP4109853B2
JP4109853B2 JP2001325297A JP2001325297A JP4109853B2 JP 4109853 B2 JP4109853 B2 JP 4109853B2 JP 2001325297 A JP2001325297 A JP 2001325297A JP 2001325297 A JP2001325297 A JP 2001325297A JP 4109853 B2 JP4109853 B2 JP 4109853B2
Authority
JP
Japan
Prior art keywords
threshold value
changed
image data
setting
imaging
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
JP2001325297A
Other languages
Japanese (ja)
Other versions
JP2003134442A (en
JP2003134442A5 (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2001325297A priority Critical patent/JP4109853B2/en
Publication of JP2003134442A publication Critical patent/JP2003134442A/en
Publication of JP2003134442A5 publication Critical patent/JP2003134442A5/ja
Application granted granted Critical
Publication of JP4109853B2 publication Critical patent/JP4109853B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、静止画像等に対する撮影動作を制御することが可能な技術に関するものである。
【0002】
【従来の技術】
従来、撮影レンズから入射された被写体の光学像をCCD等の固体撮像素子により光電変換し、この光電変換された画像信号をA/D変換してメモリ媒体に記録する電子カメラが知られている。このようなデジタルカメラでは、画像データを一旦バッファメモリである揮発性メモリに記憶し、その後、フラッシュメモリなどの不揮発性メモリに転送して保存記録している。また、最近では連写性能を向上させるために、撮像した画像データをバッファメモリ内に大量に蓄得られるように、バッファメモリを多くもたせた電子カメラが知られている。
【0003】
多くの場合、限られた記録容量に大量の画像データを記録するために、不揮発性メモリに保存する時に、高能率な圧縮を行っている。バッファメモリに蓄えられた画像データは高能率な圧縮をされた後、不揮発性メモリに転送される。その後は不揮発性メモリに保存記録されているので、バッファメモリ上の画像データは消去することが許可されて、新しい画像データを記憶することができるようになる。
【0004】
撮像データを不揮発性メモリに保存する場合において、特開平6−90428号公報では、記憶限界量まで内部メモリに画像データを記憶させた時点で、撮影を禁止することにより、不揮発性メモリに保存記録できない画像を撮影してしまうことを防止することが開示されている。また、バッファメモリが画像データで満たされた時に、不揮発性メモリの残容量とバッファメモリ内の画像データ量とが等しくなるようにすることで、不揮発性メモリに保存記録できない画像を撮影してしまうことを防止している。
【0005】
また、特開平10−308920号公報では、不揮発性メモリの残容量が所定量に達したことが検出された際、画像が不揮発性メモリに記録できなくなったことを使用者に報知することが開示されている。また、特開2001−186397号公報では、バッファメモリに一時記憶された画像データの合計データサイズが、不揮発性メモリの残容量を越えた場合、不揮発性メモリに保存することなくその旨を通知し、バッファメモリに保存される画像のうち記録指定があった画像のみを不揮発性メモリに保存するようにしている。
【0006】
【発明が解決しようとする課題】
しかしながら、上記従来例では、連写時には連写性能を損なわないようにバッファメモリに撮像した画像データを記憶しておき、不揮発性メモリに随時保存記録していくが、バッファメモリに記憶する速度が速いため、不揮発性メモリに随時保存記録する前にバッファメモリが満杯になってしまう。また、高能率な圧縮をした後に不揮発性メモリに保存するので、実際に撮影してから不揮発性メモリに保存される画像データサイズが確定するまでの時間差が発生する。バッファメモリを多くもたせたることで、撮像した画像データをバッファメモリ内に大量に蓄積して連写性能を向上させた電子カメラでは、前記時間差がより大きくなる。
【0007】
高能率な圧縮では、撮影する被写体によって圧縮後の画像データサイズは大きく変化する。よって、予め不揮発性メモリに保存記録する時のサイズを正確に予測決定することは不可能である。そのためにバッファメモリに蓄えられた大量の画像データを不揮発性メモリに保存記録する時点で、圧縮後の画像データが予め予想したサイズよりも大きくなった場合、不揮発性メモリの残容量を想定している以上に消費することになるので、不揮発性メモリに保存できないという問題が発生する。
【0008】
また、撮影した画像を不揮発性メモリに確実に保存記録するためには、圧縮後の画像データサイズが最大限大きくなった場合を想定して、予め割り当てサイズを大きくして撮影させる場合が考えられる。しかしながら、圧縮後の画像データサイズが最大限大きくなる場合は少なく、そのサイズを割り当てサイズと想定した場合、使用者に不揮発性メモリ内に保存可能な画像枚数を計算する場合など、実際に撮像した場合とは大きく異なった結果を算出するという問題が発生する。
【0009】
また、圧縮後の画像データサイズが想定しているデータサイズよりも大きくなった場合、予想以上に不揮発性メモリを消費することに備えて、撮影禁止とする時の不揮発性メモリの残容量を予め大きく用意しておく必要がでてくる。しかしながら、バッファメモリを多くもたせたることで、撮像した画像データをバッファメモリ内に大量に蓄積して連写性能を向上させた電子カメラでは、予想以上に消費される不揮発性メモリのサイズも大きくなるため、撮影禁止とする時の不揮発性メモリの残容量もより大きく用意する必要があり、不揮発性メモリの容量を有効に使用できないという問題が発生する。
【0010】
特開平6−90428号公報、特開平10−308920号公報では、バッファメモリに画像データが記憶されている時点で画像データサイズが確定しているものとしており、連写バッファメモリに画像データを一時保存し、不揮発性メモリに保存記録する前に画像データを圧縮することで、保存記録される画像データサイズの確定に時間差が発生する場合については開示されていない。
【0011】
また、特開2001−186397号公報では、保存記録されていない画像データの内、記録指定を希望する画像データを全て記録していしようとしても、不揮発性メモリの残容量から保存記録できない場合がある。また、電子カメラ上では撮像した画像の中から記録指定する画像を選択することは、電子カメラが高解像度の外部表示手段を持ち合わせていないことなどから、困難であると考えられる。よって、使用者が撮影した画像データを全て保存記録することが、電子カメラの持つ機能として重要な機能であると考えられる。
【0012】
本発明は、上記問題点に鑑みてなされたものであり、撮像した画像データを確実に記憶手段に記録することを目的とする。
【0013】
【課題を解決するための手段】
本発明の撮像装置は、画像を撮像する撮像手段と、前記撮像手段により撮像される画像データを記憶する不揮発性メモリと、前記撮像手段から画像データが入力されて前記不揮発性メモリへ記録するまでの間に、圧縮処理を施すために一時的に画像データを記録するバッファメモリに混在して記録された圧縮前および圧縮後の画像データのうち圧縮後の画像データのサイズに基づいて前記不揮発性メモリにおける残容量を検出する検出手段と、前記検出手段により検出される前記残容量が第1閾値より少ないか否かを判断する第1判断手段と、前記第1閾値より小さい値である第2閾値より前記残容量が少ないか否かを判断する第2判断手段と、前記第1判断手段及び前記第2判断手段により前記残容量が前記第1閾値より少なく前記第2閾値より多いと判断されると連続撮影を禁止し、前記第2閾値より少ないと判断されると撮影を禁止する制御手段とを有することを特徴とする。
本発明の撮像動作制御方法は、画像を撮像する撮像手段から画像データが入力されて不揮発性メモリへ記録するまでの間に、圧縮処理を施すために一時的に画像データを記録するバッファメモリに混在して記録された圧縮前および圧縮後の画像データのうち圧縮後の画像データのサイズに基づいて前記不揮発性メモリにおける残容量を検出する検出ステップと、前記検出ステップにより検出される前記残容量が第1閾値より少ないか否かを判断する第1判断ステップと、前記第1閾値より小さい値である第2閾値より前記残容量が少ないか否かを判断する第2判断ステップと、前記第1判断ステップ及び前記第2判断ステップにより前記残容量が前記第1閾値より少なく前記第2閾値より多いと判断されると連続撮影を禁止し、前記第2閾値より少ないと判断されると撮影を禁止する制御ステップとを有することを特徴とする。
【0037】
【発明の実施の形態】
以下、本発明の実施形態を添付図面を参照しながら詳細に説明する。図1は、本発明の一実施形態における撮像装置の構成を示したブロック構成図であり、図1の構成図を参照しながら本発明の第1及び第2の実施形態について以下に説明する。
【0038】
<第1の実施形態>
図1において、100は画像処理装置である。10は撮影レンズ、12は絞り機能を備えるシャッタ、14は光学像を電気信号に変換する撮像素子、16は撮像素子14のアナログ信号出力をディジタル信号に変換するA/D変換器である。18は撮像素子14、A/D変換器16、D/A変換器26にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路22及びシステム制御回路50により制御される。
【0039】
20は画像処理回路であり、A/D変換器16からのデータ或いはメモリ制御回路22からのデータに対して所定の画素補間処理や色変換処理を行う。また、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御回路50が露光制御手段40、測距制御手段42に対して制御を行う。TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理を行っている。さらに、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。
【0040】
22はメモリ制御回路であり、A/D変換器16、タイミング発生回路18、画像処理回路20、画像表示メモリ24、D/A変換器26、メモリ30、圧縮・伸長回路32を制御する。A/D変換器16のデータが画像処理回路20、メモリ制御回路22を介して、或いはA/D変換器16のデータが直接メモリ制御回路22を介して、画像表示メモリ24或いはメモリ30に書き込まれる。
【0041】
24は画像表示メモリ、26はD/A変換器、28はTFT、LCD等から成る画像表示部であり、画像表示メモリ24に書き込まれた表示用の画像データはD/A変換器26を介して画像表示部28により表示される。画像表示部28を用いて撮像した画像データを逐次表示すれば,電子ファインダ機能を実現することが可能である。また、画像表示部28は、システム制御回路50の指示により任意に表示をON/OFFすることが可能であり、表示をOFFにした場合には画像処理装置100の電力消費を大幅に低減することが出来る。
【0042】
30は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶量を備えている。これにより、複数枚の静止画像を連続して撮影する連写撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みをメモリ30に対して行うことが可能となる。また、メモリ30はシステム制御回路50の作業領域としても使用することが可能である。32は適応離散コサイン変換(ADCT)等により画像データを圧縮伸長する圧縮・伸長回路であり、メモリ30に格納された画像を読み込んで圧縮処理或いは伸長処理を行い、処理を終えたデータをメモリ30に書き込む。
【0043】
40は絞り機能を備えるシャッタ12を制御する露光制御手段であり、フラッシュ48と連携することによりフラッシュ調光機能も有するものである。42は撮影レンズ10のフォーカシングを制御する測距制御手段、44は撮影レンズ10のズーミングを制御するズーム制御手段、46はバリアである保護手段102の動作を制御するバリア制御手段である。48はフラッシュであり、AF補助光の投光機能、フラッシュ調光機能も有する。
【0044】
露光制御手段40、測距制御手段42はTTL方式を用いて制御されており、撮像した画像データを画像処理回路20によって演算した演算結果に基づき、システム制御回路50が露光制御手段40、測距制御手段42に対して制御を行う。50は画像処理装置100全体を制御するシステム制御回路、52はシステム制御回路50の動作用の定数、変数、プログラム等を記憶するメモリである。
【0045】
54はシステム制御回路50でのプログラムの実行に応じて、文字、画像、音声等を用いて動作状態やメッセージ等を表示する液晶表示装置、スピーカ等の表示部であり、画像処理装置100の操作部近辺の視認し易い位置に単数或いは複数個所設置され、例えばLCDやLED、発音素子等の組み合わせにより構成されている。また、表示部54は、その一部の機能が光学ファインダ104内に設置されている。
【0046】
表示部54の表示内容のうち、LCD等に表示するものとしては、シングルショット/連写撮影表示、セルフタイマ表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタスピード表示、絞り値表示、露出補正表示、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、記録媒体200の着脱状態表示、日付・時刻表示、等がある。また、表示部54の表示内容のうち、光学ファインダ104内に表示するものとしては、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタスピード表示、絞り値表示、露出補正表示、等がある。
【0047】
56は電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM等が用いられる。60、62、64、66、68及び70は、システム制御回路50の各種の動作指示を入力するための操作手段であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。
【0048】
ここで、これらの操作手段の具体的な説明を行う。60はモードダイアルスイッチで、電源オフ、自動撮影モード、撮影モード、パノラマ撮影モード、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを切り替え設定することが出来る。62はシャッタスイッチSW1で、不図示のシャッタボタンの操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作開始を指示する。
【0049】
64はシャッタスイッチSW2で、不図示のシャッタボタンの操作完了でONとなり、撮像素子12から読み出した信号をA/D変換器16、メモリ制御回路22を介してメモリ30に画像データを書き込む露光処理、画像処理回路20やメモリ制御回路22での演算を用いた現像処理、メモリ30から画像データを読み出し、圧縮・伸長回路32で圧縮を行い、記録媒体200或いは210に画像データを書き込む記録処理という一連の処理の動作開始を指示する。
【0050】
66は画像表示ON/OFFスイッチで、画像表示部28のON/OFFを設定することが出来る。この機能により、光学ファインダ104を用いて撮影を行う際に、TFT、LCD等から成る画像表示部への電流供給を遮断することにより、省電力を図ることが可能となる。68はクイックレビューON/OFFスイッチで、撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定する。なお、本発明の第1及び第2の実施形態では特に、画像表示部28をOFFとした場合におけるクイックレビュー機能の設定をする機能を備えるものとする。
【0051】
70は各種ボタンやタッチパネル等からなる操作部で、メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマ切り替えボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン等がある。
【0052】
80は電源制御手段で、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成されており、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御回路50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。82はコネクタ、84はコネクタ、86はアルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプタ等からなる電源手段である。
【0053】
90はメモリカードやハードディスク等の記録媒体とのインタフェース、92はメモリカードやハードディスク等の記録媒体と接続を行うコネクタ、98はコネクタ92及び或いは96に記録媒体200或いは210が装着されているか否かを検知する記録媒体着脱検知手段である。なお、本発明の第1及び第2の実施形態では、記録媒体を取り付けるインタフェース及びコネクタを2系統持つものとして説明している。もちろん、記録媒体を取り付けるインタフェース及びコネクタは、単数或いは複数、いずれの系統数を備える構成としても構わない。また、異なる規格のインタフェース及びコネクタを組み合わせて備える構成としても構わない。インタフェース及びコネクタとしては、PCMCIAカードやCF(コンパクトフラッシュ(R))カード等の規格に準拠したものを用いて構成して構わない。
【0054】
102は、画像処理装置100のレンズ10を含む撮像部を覆う事により、撮像部の汚れや破損を防止するバリアである保護手段である。104は光学ファインダであり、画像表示部28による電子ファインダ機能を使用すること無しに、光学ファインダのみを用いて撮影を行うことが可能である。また、光学ファインダ104内には、表示部54の一部の機能、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタスピード表示、絞り値表示、露出補正表示などが設置されている。
【0055】
200はメモリカードやハードディスク等の記録媒体である。記録媒体200は、半導体メモリや磁気ディスク等から構成される記録部202、画像処理装置100とのインタフェース204、画像処理装置100と接続を行うコネクタ206を備えている。
【0056】
図2は、本発明の第1の実施形態における撮像装置の動作を示したフローチャートである。まず、64シャッタスイッチSW2がONにより、システム制御回路50は、メモリ制御回路22を駆動して撮像素子(撮像手段)14から得られるアナログデータをA/D変換器を介してデジタルデータに変換し、メモリ制御回路22を介してメモリ30に保存する。連続撮影の場合はメモリ30に多数の画像データが蓄えられる。
【0057】
蓄えられた画像データは不揮発性メモリに保存される前に圧縮処理をするために順次読み出される(201)。読み出された画像データは圧縮伸張回路32によって圧縮され(S202)、不揮発性メモリ(記憶手段)202に格納されるまで、再びメモリ30保存される(S203)。この時、不揮発性メモリに保存されるときの画像データサイズが確定するので、当該画像データサイズを加味した不揮発性メモリの残容量(予測残容量)と閾値1および閾値2と比較することができる(S204、205)。
【0058】
不揮発性メモリの残容量が閾値1よりも多い場合は、引き続き連写撮影を行っても不揮発性メモリの容量を越えると判断されないため、そのまま撮影が許可される(S206)。残容量が閾値1よりも少ない場合は、このまま連写撮影を続行すると、不揮発性メモリの容量が足りなくなる事態が発生する可能性があると判断され、閾値1より小さい値である閾値2との比較を行う(S205)。
【0059】
不揮発性メモリの残容量が閾値2よりも多い場合は、連続撮影を禁止して、単写撮影のみの撮影を許可する(S207)。これにより、メモリ30に既に蓄積されている大量の画像データを圧縮処理する時間を与えることができ、不揮発性メモリに保存する画像データサイズを確定することができる。
【0060】
一方で、不揮発性メモリの残容量が閾値2よりも少ない場合は、撮影動作を禁止することで不揮発性メモリに保存できない画像データを撮影することがないようにする(S208)。以上の処理により、撮像した画像データを全て不揮発性メモリに保存記憶する撮像装置を提供することが可能である。
【0061】
このように、本実施形態によれば、不揮発性メモリの記憶容量が閾値1よりも少なくなった場合には、撮影間隔を伸ばすことにより、バッファメモリ内に一時記録されている画像データが圧縮処理されて不揮発性メモリに保存記憶される。それにより、不揮発性メモリの残容量を確定できるようにし、残容量が閾値2よりも少なくなった場合には、不揮発性メモリに保存記録されない画像を撮像することがないように、撮影動作の禁止を正確に報知する方法をとることもできる。
【0062】
また、本実施形態によれば、不揮発性メモリの記憶容量が閾値2よりも少なくなった場合に、連続撮影を禁止することで、バッファメモリに画像データが溜まらないようにして、不揮発性メモリの残容量を確定することができるる。
【0063】
<第2の実施形態>
は、本発明の第2の実施形態における撮像装置の動作の流れを示したフローチャートである。操作部(設定手段)70にある撮影画質選択ボタンを操作されたことにより、画像データの圧縮率を変更する(S301)。圧縮率を低く設定すると、画像データ割り当てサイズが大きく変更され、また逆に、圧縮率を高く設定すると、画像データが小さく変更される(S302)。
【0064】
割り当てサイズが変更されることにより、実際の圧縮後の画像データサイズとの差分が変わるので、閾値1または閾値2を変更する(S302)。割り当てサイズが大きくなった場合は、大きな差分が発生する可能性が出てくるので、閾値1または閾値2が大きな値になるように変更される。また、割り当てサイズが小さくなった場合には、発生する差分も小さくなると考えられるので、閾値1または閾値2が小さな値になるように変更される。
【0065】
閾値1または閾値2が変更された後、現在の不揮発性メモリの残容量と閾値1、閾値2とを比較して連続撮影の許可・禁止を決定する必要がある(S304、S305)。不揮発性メモリの残容量が閾値1よりも多い場合は、撮影データサイズが不揮発性メモリの容量を越えると判断されないため、そのまま撮影が許可される(S306)。残容量が閾値1よりも少ない場合は、このままの撮影では不揮発性メモリの容量が足りなくなる事態が発生する可能性があると判断され、閾値2との比較を行う(S305)。
【0066】
不揮発性メモリの残容量が閾値2よりも多い場合は、連続撮影を禁止して、単写撮影のみの撮影を許可する(S307)。これにより、メモリ30に蓄積している大量の画像データを圧縮処理する時間を与えることができ、不揮発性メモリに保存する画像データサイズを確定することができる。不揮発性メモリの残容量が閾値2よりも少ない場合は、撮影動作を禁止することで不揮発性メモリに保存できない画像データを撮影することがないようにする(S308)。以上の処理により、撮像した画像データを全て不揮発性メモリに保存記憶する電子カメラを提供することが可能である。
【0067】
なお、画像割り当てサイズの変更が必要となる操作がされた場合には、閾値1または閾値2と比較する必要が出てくる。例えば、画像解像度の変更、ISO感度の変更、エッジ強調の変更などにより画像割り当てサイズの変更がなされた場合には、上記第2の実施形態と同様に閾値1または閾値2を変更してもなんら問題はない。
【0068】
また、単写撮影のようにバッファメモリに画像データを蓄積しない場合には、撮像から画像データサイズ確定までの時間差が大きく発生しない。よって、閾値1または閾値2を小さな値で設定しても不揮発性メモリに保存記録できない画像を撮像してしまう前に撮影禁止処理を実行できる。このような場合には画像割り当てサイズの変更がなされないが、閾値1または閾値2の値を変更しても何ら問題ない。
【0069】
このように、本実施形態によれば、閾値1を変化させることで、連写機能を損なわずに画像データを全て保存記録できる。また、閾値2を変化させることで、不揮発性メモリの記録容量を無駄なく使用でき、かつ全ての画像データを保存記録することができる。
【0070】
また、本実施形態によれば、例えば、画像データの圧縮率を高く設定した場合は、圧縮後の画像データは小さくなるので、予め割り当てられるデータサイズも小さくなり、実際の画像データサイズとの差が発生する場合もそのサイズは小さいものとなる。よって、閾値1と閾値2は小さい値に変更されても、全ての画像サイズを不揮発性メモリに保存記録することができる。また、圧縮率を小さくした場合は、圧縮後の画像データが大きくなるので、割り当てサイズとの差分も大きくなる場合があることが予想されるので、閾値1と閾値2の少なくとも1つが大きな値となるように変更することが好ましい。
【0071】
また、例えば、解像度が大きく設定された場合は、解像度が高い画像では、圧縮後の画像データサイズが大きくなることが予想されるので、閾値1と閾値2の少なくとも1つが大きな値となるように変更することが好ましい。
【0072】
また、例えば、ISO感度を高く設定すると、画像データのノイズ成分が多く発生することが考えられるので、圧縮後の画像データサイズも大きくなることが予想される。よって、閾値1と閾値2の少なくとも1つが大きな値となるように変更することが好ましい。
【0073】
また、例えば、連写速度が高速に設定されている場合、バッファメモリに一時記憶される画像データが多く蓄積される可能性があるので、不揮発性メモリに保存される圧縮後の画像データサイズが確定するまでに、大きな時間差が発生する場合があることが予想されるので、閾値1と閾値2の少なくとも1つが大きな値となるように変更されて、不揮発性メモリの残容量に大きな余裕を持たせることが好ましい。また、連写速度が低速または単写に設定されている場合は、撮像から画像データサイズの確定までの時間差が小さくなる場合が考えられるので、値1と閾値2の少なくとも1つが小さな値となるように変更することが好ましい。
【0074】
また、例えば、エッジ強調を強く設定した場合、圧縮後の画像データサイズが大きくなることが予想されるので、閾値1と閾値2の少なくとも1つが大きな値となるように変更することが好ましい。
【0075】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。
【0076】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0077】
プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることが出来る。
【0078】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0079】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0080】
【発明の効果】
本発明によれば、不揮発性メモリの残容量が第1閾値より少ないと判断されると、連続撮影を禁止し、バッファメモリ内に一時記録されている画像データが圧縮処理されて不揮発性メモリが確定した後に、不揮発性メモリの残容量が第1閾値より小さい値である第2閾値より少なくなった場合に撮影を禁止することができる。
【図面の簡単な説明】
【図1】本発明の第1及び第2の実施形態における撮像装置の構成を示したブロック図である。
【図2】本発明の第1の実施形態における撮像装置の動作の流れを示したフローチャートである。
【図3】本発明の第2の実施形態における撮像装置の動作の流れを示したフローチャートである。
【符号の説明】
10:撮影レンズ
12:シャッタ
14:撮像素子
16:A/D変換器
18:タイミング発生回路
20:画像処理回路
22:メモリ制御回路
24:画像表示メモリ
26:D/A変換器
28:画像表示部
30:メモリ
32:画像圧縮・伸長回路
40:露光制御手段
42:測距制御手段
44:ズーム制御手段
46:バリア制御手段
48:フラッシュ
50:システム制御回路
52:メモリ
54:表示部
56:不揮発性メモリ
60:モードダイアルスイッチ
62:シャッタスイッチSW1
64:シャッタスイッチSW2
66:画像表示ON/OFFスイッチ
68:クイックレビューON/OFFスイッチ
70:操作部
80:電源制御手段
82:コネクタ
84:コネクタ
86:電源手段
90:インタフェース
92:コネクタ
94:インタフェース
96:コネクタ
98:記録媒体着脱検知手段
100:画像処理装置
102:保護手段
104:光学ファインダ
200:記録媒体
202:記録部
204:インタフェース
206:コネクタ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique capable of controlling a photographing operation for a still image or the like.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, an electronic camera is known in which an optical image of a subject incident from a photographing lens is photoelectrically converted by a solid-state imaging device such as a CCD, and the photoelectrically converted image signal is A / D converted and recorded in a memory medium. . In such a digital camera, image data is temporarily stored in a volatile memory that is a buffer memory, and then transferred to a nonvolatile memory such as a flash memory for storage and recording. Recently, in order to improve the continuous shooting performance, an electronic camera having a large buffer memory so that a large amount of captured image data can be stored in the buffer memory is known.
[0003]
In many cases, in order to record a large amount of image data in a limited recording capacity, highly efficient compression is performed when the data is stored in a nonvolatile memory. The image data stored in the buffer memory is compressed with high efficiency and then transferred to the nonvolatile memory. After that, since it is stored and recorded in the nonvolatile memory, the image data on the buffer memory is permitted to be erased, and new image data can be stored.
[0004]
In the case of storing imaging data in a non-volatile memory, Japanese Patent Laid-Open No. 6-90428 discloses that image data is stored in the non-volatile memory by prohibiting photographing when the image data is stored in the internal memory up to the storage limit. It is disclosed that an image that cannot be captured is prevented. Also, when the buffer memory is filled with image data, the remaining capacity of the non-volatile memory and the amount of image data in the buffer memory are made equal to capture an image that cannot be stored and recorded in the non-volatile memory. To prevent that.
[0005]
Japanese Patent Application Laid-Open No. 10-308920 discloses that when it is detected that the remaining capacity of the nonvolatile memory has reached a predetermined amount, the user is notified that an image cannot be recorded in the nonvolatile memory. Has been. Also, in Japanese Patent Laid-Open No. 2001-186397, when the total data size of the image data temporarily stored in the buffer memory exceeds the remaining capacity of the nonvolatile memory, a notification to that effect is made without saving in the nonvolatile memory. In the image stored in the buffer memory, only the image designated for recording is stored in the nonvolatile memory.
[0006]
[Problems to be solved by the invention]
However, in the above-described conventional example, image data captured in the buffer memory is stored in the buffer memory so that the continuous shooting performance is not impaired during continuous shooting, and is stored and recorded in the nonvolatile memory as needed. Since it is fast, the buffer memory becomes full before being stored and recorded in the nonvolatile memory. In addition, since the highly efficient compression is performed and then stored in the nonvolatile memory, a time difference from the actual shooting until the image data size stored in the nonvolatile memory is determined occurs. By providing a large amount of buffer memory, the time difference becomes larger in an electronic camera in which a large amount of captured image data is accumulated in the buffer memory to improve continuous shooting performance.
[0007]
In highly efficient compression, the image data size after compression varies greatly depending on the subject to be photographed. Therefore, it is impossible to accurately predict and determine the size when pre-stored in the nonvolatile memory. Therefore, if the compressed image data is larger than the expected size when the large amount of image data stored in the buffer memory is stored and recorded in the nonvolatile memory, the remaining capacity of the nonvolatile memory is assumed. Since it consumes more than it is, there is a problem that it cannot be stored in the non-volatile memory.
[0008]
In addition, in order to securely store and record the captured image in the non-volatile memory, it is conceivable that the allocated size is increased and the image is captured in advance assuming that the compressed image data size is maximized. . However, the image data size after compression is rarely the largest, and when the size is assumed to be the allocated size, the actual image is taken, such as when calculating the number of images that can be stored in the nonvolatile memory to the user. There arises a problem that a result greatly different from the case is calculated.
[0009]
In addition, if the image data size after compression becomes larger than the expected data size, the remaining capacity of the nonvolatile memory when photographing is prohibited is prepared in advance in preparation for consuming the nonvolatile memory more than expected. It is necessary to prepare large. However, an increase in the buffer memory increases the size of the non-volatile memory consumed more than expected in an electronic camera that improves the continuous shooting performance by accumulating a large amount of captured image data in the buffer memory. For this reason, it is necessary to prepare a larger remaining capacity of the nonvolatile memory when photographing is prohibited, which causes a problem that the capacity of the nonvolatile memory cannot be used effectively.
[0010]
In JP-A-6-90428 and JP-A-10-308920, it is assumed that the image data size is fixed when the image data is stored in the buffer memory, and the image data is temporarily stored in the continuous shooting buffer memory. There is no disclosure of a case where a time difference occurs in determining the size of image data to be stored and recorded by compressing the image data before storing and storing and recording in the nonvolatile memory.
[0011]
Japanese Patent Laid-Open No. 2001-186397 may not be able to save and record from the remaining capacity of the non-volatile memory even if all of the image data that is desired to be recorded is recorded, among the image data that is not saved and recorded. . In addition, it is considered difficult to select an image to be recorded from the captured images on the electronic camera because the electronic camera does not have high-resolution external display means. Therefore, it is considered that storing and recording all image data taken by the user is an important function as the function of the electronic camera.
[0012]
The present invention has been made in view of the above problems, and an object thereof is to reliably record captured image data in a storage unit.
[0013]
[Means for Solving the Problems]
An imaging apparatus according to the present invention includes an imaging unit that captures an image, a nonvolatile memory that stores image data captured by the imaging unit, Before compression and after compression recorded in the buffer memory that temporarily records the image data to perform compression processing between the time when the image data is input from the imaging unit and the time when the data is recorded in the nonvolatile memory Based on the size of the compressed image data Detection means for detecting a remaining capacity in the nonvolatile memory; first determination means for determining whether the remaining capacity detected by the detection means is less than a first threshold; and a value smaller than the first threshold. Second determination means for determining whether or not the remaining capacity is less than a certain second threshold; and the first determination means And the second determination means The remaining capacity is less than the first threshold More than the second threshold If it is judged, continuous shooting is prohibited, The second threshold And control means for prohibiting photographing when it is determined that the number is smaller.
The imaging operation control method of the present invention captures an image. Pre-compression and post-compression images recorded mixedly in the buffer memory that temporarily records the image data in order to perform compression processing between the time when the image data is input from the imaging means and the time when the image data is recorded in the nonvolatile memory Based on the compressed image data size A detection step for detecting a remaining capacity in the nonvolatile memory, a first determination step for determining whether or not the remaining capacity detected by the detection step is less than a first threshold value, and a value smaller than the first threshold value. A second determination step of determining whether or not the remaining capacity is less than a certain second threshold; and the first determination step And the second determining step The remaining capacity is less than the first threshold More than the second threshold If it is judged, continuous shooting is prohibited, The second threshold And a control step for prohibiting photographing when it is determined that the number is smaller.
[0037]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram illustrating a configuration of an imaging apparatus according to an embodiment of the present invention. First and second embodiments of the present invention will be described below with reference to the configuration diagram of FIG.
[0038]
<First Embodiment>
In FIG. 1, reference numeral 100 denotes an image processing apparatus. Reference numeral 10 denotes a photographing lens, 12 denotes a shutter having a diaphragm function, 14 denotes an image sensor that converts an optical image into an electrical signal, and 16 denotes an A / D converter that converts an analog signal output from the image sensor 14 into a digital signal. A timing generation circuit 18 supplies a clock signal and a control signal to the image sensor 14, the A / D converter 16, and the D / A converter 26, and is controlled by the memory control circuit 22 and the system control circuit 50.
[0039]
An image processing circuit 20 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D converter 16 or the data from the memory control circuit 22. Further, the image processing circuit 20 performs predetermined calculation processing using the captured image data, and the system control circuit 50 controls the exposure control means 40 and the distance measurement control means 42 based on the obtained calculation result. I do. TTL (through the lens) AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash pre-emission) processing are performed. Further, the image processing circuit 20 performs predetermined arithmetic processing using captured image data, and also performs TTL AWB (auto white balance) processing based on the obtained arithmetic result.
[0040]
A memory control circuit 22 controls the A / D converter 16, the timing generation circuit 18, the image processing circuit 20, the image display memory 24, the D / A converter 26, the memory 30, and the compression / decompression circuit 32. The data of the A / D converter 16 is written into the image display memory 24 or the memory 30 via the image processing circuit 20 and the memory control circuit 22 or the data of the A / D converter 16 is directly passed through the memory control circuit 22. It is.
[0041]
Reference numeral 24 denotes an image display memory, 26 denotes a D / A converter, 28 denotes an image display unit including a TFT, an LCD, and the like. Display image data written in the image display memory 24 passes through the D / A converter 26. Are displayed by the image display unit 28. If the image data captured using the image display unit 28 is sequentially displayed, the electronic viewfinder function can be realized. The image display unit 28 can arbitrarily turn on / off the display according to an instruction from the system control circuit 50. When the display is turned off, the power consumption of the image processing apparatus 100 can be greatly reduced. I can do it.
[0042]
Reference numeral 30 denotes a memory for storing captured still images and moving images, and has a sufficient storage capacity to store a predetermined number of still images and a predetermined time of moving images. This makes it possible to write a large amount of images to the memory 30 at high speed even in continuous shooting or panoramic shooting in which a plurality of still images are continuously shot. The memory 30 can also be used as a work area for the system control circuit 50. A compression / decompression circuit 32 compresses and decompresses image data by adaptive discrete cosine transform (ADCT) or the like, reads an image stored in the memory 30, performs compression processing or decompression processing, and stores the processed data in the memory 30. Write to.
[0043]
Reference numeral 40 denotes an exposure control means for controlling the shutter 12 having an aperture function, and has a flash light control function in cooperation with the flash 48. Reference numeral 42 denotes a distance measuring control means for controlling the focusing of the photographing lens 10, reference numeral 44 denotes a zoom control means for controlling zooming of the photographing lens 10, and reference numeral 46 denotes a barrier control means for controlling the operation of the protection means 102 as a barrier. A flash 48 has an AF auxiliary light projecting function and a flash light control function.
[0044]
The exposure control means 40 and the distance measurement control means 42 are controlled using the TTL method. Based on the calculation result obtained by calculating the captured image data by the image processing circuit 20, the system control circuit 50 performs the exposure control means 40 and the distance measurement. Control is performed on the control means 42. Reference numeral 50 denotes a system control circuit that controls the entire image processing apparatus 100, and reference numeral 52 denotes a memory that stores constants, variables, programs, and the like for operation of the system control circuit 50.
[0045]
Reference numeral 54 denotes a display unit such as a liquid crystal display device or a speaker that displays an operation state or a message using characters, images, sounds, or the like in accordance with execution of a program in the system control circuit 50. One or a plurality of places are provided near the portion where they are easily visible, and are configured by a combination of, for example, an LCD, an LED, a sound generation element, and the like. The display unit 54 has a part of its function installed in the optical viewfinder 104.
[0046]
Among the display contents of the display unit 54, what is displayed on the LCD or the like includes single shot / continuous shooting display, self-timer display, compression rate display, recording pixel number display, recording number display, remaining image number display, shutter Speed display, Aperture value display, Exposure compensation display, Flash display, Red-eye reduction display, Macro shooting display, Buzzer setting display, Clock battery level display, Battery level display, Error display, Multi-digit number information display and recording There are a state of attaching / detaching the medium 200, a date / time display, and the like. Among the display contents of the display unit 54, what is displayed in the optical viewfinder 104 includes in-focus display, camera shake warning display, flash charge display, shutter speed display, aperture value display, exposure correction display, and the like.
[0047]
Reference numeral 56 denotes an electrically erasable / recordable nonvolatile memory such as an EEPROM. Reference numerals 60, 62, 64, 66, 68 and 70 are operation means for inputting various operation instructions of the system control circuit 50, and may be a single unit such as a switch, a dial, a touch panel, pointing by line-of-sight detection, a voice recognition device, or the like. Consists of multiple combinations.
[0048]
Here, a specific description of these operating means will be given. Reference numeral 60 denotes a mode dial switch, which can switch and set various function modes such as power-off, automatic shooting mode, shooting mode, panoramic shooting mode, playback mode, multi-screen playback / erase mode, and PC connection mode. Reference numeral 62 denotes a shutter switch SW1, which is turned ON during operation of a shutter button (not shown), and performs AF (auto focus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, EF (flash pre-flash) processing, and the like. Instruct to start operation.
[0049]
Reference numeral 64 denotes a shutter switch SW2, which is turned on when the operation of a shutter button (not shown) is completed, and an exposure process for writing image data to the memory 30 via the A / D converter 16 and the memory control circuit 22 from the signal read from the image sensor 12. Development processing using operations in the image processing circuit 20 and the memory control circuit 22, recording processing for reading image data from the memory 30, compression in the compression / decompression circuit 32, and writing the image data to the recording medium 200 or 210. Instructs the start of a series of processing operations.
[0050]
Reference numeral 66 denotes an image display ON / OFF switch that can set ON / OFF of the image display unit 28. With this function, when photographing using the optical viewfinder 104, it is possible to save power by cutting off the current supply to the image display unit composed of TFT, LCD, and the like. Reference numeral 68 denotes a quick review ON / OFF switch, which sets a quick review function for automatically reproducing image data taken immediately after photographing. In the first and second embodiments of the present invention, it is assumed that a function for setting a quick review function when the image display unit 28 is turned off is provided.
[0051]
Reference numeral 70 denotes an operation unit composed of various buttons, a touch panel, etc., a menu button, a set button, a macro button, a multi-screen playback page break button, a flash setting button, a single shooting / continuous shooting / self-timer switching button, menu movement + (plus) Button, menu shift- (minus) button, playback image shift + (plus) button, playback image- (minus) button, shooting image quality selection button, exposure correction button, date / time setting button, and the like.
[0052]
Reference numeral 80 denotes a power supply control means, which includes a battery detection circuit, a DC-DC converter, a switch circuit for switching a block to be energized, etc., and detects the presence / absence of a battery, the type of battery, the remaining battery level, and the detection result In addition, the DC-DC converter is controlled based on an instruction from the system control circuit 50, and a necessary voltage is supplied to each unit including the recording medium for a necessary period. 82 is a connector, 84 is a connector, and 86 is a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, NiMH battery or Li battery, an AC adapter, or the like.
[0053]
90 is an interface with a recording medium such as a memory card or hard disk, 92 is a connector for connecting to a recording medium such as a memory card or hard disk, and 98 is whether or not the recording medium 200 or 210 is attached to the connector 92 or 96. This is a recording medium attachment / detachment detecting means for detecting the recording medium. In the first and second embodiments of the present invention, description is given assuming that there are two systems of interfaces and connectors for attaching a recording medium. Of course, the interface and the connector for attaching the recording medium may have a single or a plurality of systems, any number of systems. Moreover, it is good also as a structure provided with combining the interface and connector of a different standard. The interface and connector may be configured using a PCMCIA card, CF (Compact Flash (R)) card, or the like that conforms to the standard.
[0054]
Reference numeral 102 denotes protection means that is a barrier that prevents the imaging unit from being soiled or damaged by covering the imaging unit including the lens 10 of the image processing apparatus 100. Reference numeral 104 denotes an optical viewfinder, which can take an image using only the optical viewfinder without using the electronic viewfinder function of the image display unit 28. In the optical viewfinder 104, some functions of the display unit 54, for example, a focus display, a camera shake warning display, a flash charge display, a shutter speed display, an aperture value display, an exposure correction display, and the like are installed.
[0055]
Reference numeral 200 denotes a recording medium such as a memory card or a hard disk. The recording medium 200 includes a recording unit 202 composed of a semiconductor memory, a magnetic disk, or the like, an interface 204 with the image processing apparatus 100, and a connector 206 for connecting to the image processing apparatus 100.
[0056]
FIG. 2 is a flowchart showing the operation of the imaging apparatus according to the first embodiment of the present invention. First, when the 64 shutter switch SW2 is turned on, the system control circuit 50 drives the memory control circuit 22 to image sensor. (Imaging means) 14 is converted into digital data via an A / D converter and stored in the memory 30 via a memory control circuit 22. In the case of continuous shooting, a large number of image data is stored in the memory 30.
[0057]
The stored image data is sequentially read out (201) for compression processing before being stored in the nonvolatile memory. The read image data is compressed by the compression / decompression circuit 32 (S202), and the nonvolatile memory (Memory means) The memory 30 is saved again until it is stored in 202 (S203). At this time, since the image data size when stored in the nonvolatile memory is fixed, the remaining capacity of the nonvolatile memory in consideration of the image data size (Estimated remaining capacity) And threshold 1 and threshold 2 can be compared (S204, 205).
[0058]
If the remaining capacity of the non-volatile memory is larger than the threshold value 1, it is not determined that the capacity of the non-volatile memory will be exceeded even if continuous shooting is continued, so that shooting is permitted as it is (S206). If the remaining capacity is less than the threshold value 1, it is determined that there is a possibility that the capacity of the nonvolatile memory will be insufficient if continuous shooting is continued. Comparison is performed (S205).
[0059]
If the remaining capacity of the nonvolatile memory is larger than the threshold value 2, continuous shooting is prohibited and only single shooting is permitted (S207). Thereby, it is possible to give time for compressing a large amount of image data already stored in the memory 30, and to determine the image data size to be stored in the nonvolatile memory.
[0060]
On the other hand, if the remaining capacity of the non-volatile memory is smaller than the threshold value 2, image data that cannot be stored in the non-volatile memory is prevented from being shot by prohibiting the shooting operation (S208). With the above processing, it is possible to provide an imaging device that saves and stores all captured image data in a nonvolatile memory.
[0061]
As described above, according to the present embodiment, when the storage capacity of the nonvolatile memory becomes smaller than the threshold value 1, the image data temporarily recorded in the buffer memory is compressed by extending the shooting interval. And stored in a nonvolatile memory. As a result, the remaining capacity of the nonvolatile memory can be determined, and when the remaining capacity becomes smaller than the threshold value 2, the photographing operation is prohibited so that an image that is not stored and recorded in the nonvolatile memory is not captured. It is also possible to take a method of accurately informing.
[0062]
In addition, according to the present embodiment, when the storage capacity of the nonvolatile memory becomes smaller than the threshold value 2, by prohibiting continuous shooting, image data does not accumulate in the buffer memory, The remaining capacity can be determined.
[0063]
<Second Embodiment>
Figure 3 These are the flowcharts which showed the flow of operation | movement of the imaging device in the 2nd Embodiment of this invention. Operation part (Setting method) When the shooting image quality selection button 70 is operated, the compression rate of the image data is changed (S301). When the compression rate is set low, the image data allocation size is changed greatly. Conversely, when the compression rate is set high, the image data is changed small (S302).
[0064]
Since the difference from the actual compressed image data size is changed by changing the allocation size, the threshold value 1 or the threshold value 2 is changed (S302). When the allocation size becomes large, there is a possibility that a large difference will occur, so the threshold value 1 or the threshold value 2 is changed to a large value. Further, when the allocation size is reduced, the generated difference is considered to be reduced, so that the threshold value 1 or the threshold value 2 is changed to a small value.
[0065]
After the threshold value 1 or the threshold value 2 is changed, it is necessary to determine whether to permit or prohibit continuous shooting by comparing the current remaining capacity of the nonvolatile memory with the threshold value 1 and the threshold value 2 (S304, S305). If the remaining capacity of the non-volatile memory is larger than the threshold 1, it is not determined that the shooting data size exceeds the capacity of the non-volatile memory, and shooting is permitted as it is (S306). If the remaining capacity is less than the threshold value 1, it is determined that there is a possibility that the capacity of the non-volatile memory will be insufficient in the shooting as it is, and a comparison with the threshold value 2 is performed (S305).
[0066]
If the remaining capacity of the nonvolatile memory is larger than the threshold value 2, continuous shooting is prohibited and only single shooting is permitted (S307). As a result, a time for compressing a large amount of image data stored in the memory 30 can be given, and the size of the image data stored in the nonvolatile memory can be determined. If the remaining capacity of the non-volatile memory is less than the threshold value 2, image data that cannot be stored in the non-volatile memory is prevented from being shot by prohibiting the shooting operation (S308). With the above processing, it is possible to provide an electronic camera that saves and stores all captured image data in a nonvolatile memory.
[0067]
When an operation that requires changing the image allocation size is performed, it is necessary to compare the threshold value 1 or the threshold value 2. For example, when the image allocation size is changed by changing the image resolution, changing the ISO sensitivity, changing the edge enhancement, or the like, the threshold 1 or the threshold 2 may be changed as in the second embodiment. No problem.
[0068]
In addition, when image data is not stored in the buffer memory as in single shooting, there is no significant time difference from image capture to image data size determination. Therefore, even if the threshold value 1 or the threshold value 2 is set to a small value, the photographing prohibiting process can be executed before an image that cannot be stored and recorded in the nonvolatile memory is captured. In such a case, the image allocation size is not changed, but there is no problem if the threshold value 1 or the threshold value 2 is changed.
[0069]
As described above, according to the present embodiment, by changing the threshold 1, all the image data can be stored and recorded without impairing the continuous shooting function. Further, by changing the threshold value 2, the recording capacity of the nonvolatile memory can be used without waste, and all image data can be stored and recorded.
[0070]
Further, according to the present embodiment, for example, when the compression rate of the image data is set high, the image data after compression becomes small, so the data size assigned in advance becomes small, and the difference from the actual image data size The size is also small when this occurs. Therefore, even if the threshold value 1 and the threshold value 2 are changed to small values, all image sizes can be stored and recorded in the nonvolatile memory. In addition, when the compression rate is reduced, the image data after compression is increased, so it is expected that the difference from the allocated size may also increase. Therefore, at least one of the threshold value 1 and the threshold value 2 is a large value. It is preferable to change so that it becomes.
[0071]
For example, when the resolution is set to be large, the image data size after compression is expected to increase in an image with a high resolution, so that at least one of the threshold value 1 and the threshold value 2 becomes a large value. It is preferable to change.
[0072]
For example, if the ISO sensitivity is set high, it is considered that many noise components of the image data are generated, so that the image data size after compression is expected to increase. Therefore, it is preferable to change so that at least one of the threshold value 1 and the threshold value 2 becomes a large value.
[0073]
In addition, for example, when the continuous shooting speed is set to high speed, a large amount of image data temporarily stored in the buffer memory may be accumulated. Therefore, the compressed image data size stored in the nonvolatile memory is It is expected that a large time difference may occur before the determination is made, so that at least one of the threshold value 1 and the threshold value 2 is changed to a large value, so that the remaining capacity of the nonvolatile memory has a large margin. Preferably. In addition, when the continuous shooting speed is set to low speed or single shooting, there is a possibility that the time difference from imaging to determination of the image data size is small, so at least one of the value 1 and the threshold value 2 is a small value. It is preferable to change as follows.
[0074]
Also, for example, when edge enhancement is set strongly, it is expected that the image data size after compression will increase, so it is preferable to change so that at least one of threshold value 1 and threshold value 2 becomes a large value.
[0075]
Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in.
[0076]
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
[0077]
As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
[0078]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0079]
Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion board or function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0080]
【The invention's effect】
According to the present invention, when it is determined that the remaining capacity of the nonvolatile memory is less than the first threshold value, continuous shooting is prohibited, and the image data temporarily recorded in the buffer memory is compressed and the nonvolatile memory is After the determination, photographing can be prohibited when the remaining capacity of the nonvolatile memory becomes smaller than the second threshold value, which is a value smaller than the first threshold value.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an imaging apparatus according to first and second embodiments of the present invention.
FIG. 2 is a flowchart showing an operation flow of the imaging apparatus according to the first embodiment of the present invention.
FIG. 3 is a flowchart showing an operation flow of the imaging apparatus according to the second embodiment of the present invention.
[Explanation of symbols]
10: Photography lens
12: Shutter
14: Image sensor
16: A / D converter
18: Timing generation circuit
20: Image processing circuit
22: Memory control circuit
24: Image display memory
26: D / A converter
28: Image display unit
30: Memory
32: Image compression / decompression circuit
40: Exposure control means
42: Ranging control means
44: Zoom control means
46: Barrier control means
48: Flash
50: System control circuit
52: Memory
54: Display section
56: Non-volatile memory
60: Mode dial switch
62: Shutter switch SW1
64: Shutter switch SW2
66: Image display ON / OFF switch
68: Quick review ON / OFF switch
70: Operation unit
80: Power control means
82: Connector
84: Connector
86: Power supply means
90: Interface
92: Connector
94: Interface
96: Connector
98: Recording medium attachment / detachment detection means
100: Image processing apparatus
102: Protection means
104: Optical viewfinder
200: Recording medium
202: Recording unit
204: Interface
206: Connector

Claims (15)

画像を撮像する撮像手段と、
前記撮像手段により撮像される画像データを記憶する不揮発性メモリと、
前記撮像手段から画像データが入力されて前記不揮発性メモリへ記録するまでの間に、圧縮処理を施すために一時的に画像データを記録するバッファメモリに混在して記録された圧縮前および圧縮後の画像データのうち圧縮後の画像データのサイズに基づいて前記不揮発性メモリにおける残容量を検出する検出手段と、
前記検出手段により検出される前記残容量が第1閾値より少ないか否かを判断する第1判断手段と、
前記第1閾値より小さい値である第2閾値より前記残容量が少ないか否かを判断する第2判断手段と、
前記第1判断手段及び前記第2判断手段により前記残容量が前記第1閾値より少なく前記第2閾値より多いと判断されると連続撮影を禁止し、前記第2閾値より少ないと判断されると撮影を禁止する制御手段とを有することを特徴とする撮像装置。
An imaging means for capturing an image;
A non-volatile memory for storing image data picked up by the image pickup means;
Before compression and after compression recorded in the buffer memory that temporarily records the image data to perform compression processing between the time when the image data is input from the imaging unit and the time when the data is recorded in the nonvolatile memory Detecting means for detecting the remaining capacity in the nonvolatile memory based on the size of the compressed image data among the image data ;
First determination means for determining whether the remaining capacity detected by the detection means is less than a first threshold;
Second determination means for determining whether or not the remaining capacity is less than a second threshold value which is a value smaller than the first threshold value;
Prohibit continuous shooting and the remaining capacity by said first determining means and the second determining means is determined to more than the least for the second threshold value than the first threshold value, it is determined that less than said second threshold value And a control means for prohibiting photographing.
前記撮像装置の設定に係る内容変更を行う設定手段と、
前記設定手段により変更される設定内容に応じて前記第1閾値及び前記第2閾値のうち少なくとも一つを変更する閾値変更手段とを更に有することを特徴とする請求項1記載の撮像装置。
Setting means for changing contents related to the setting of the imaging device;
The imaging apparatus according to claim 1, further comprising: a threshold value changing unit that changes at least one of the first threshold value and the second threshold value according to a setting content changed by the setting unit.
前記閾値変更手段は、前記設定手段により画像データの圧縮率に係る設定内容が変更されると、当該変更内容に応じて前記第1閾値及び前記第2閾値のうち少なくとも一つを変更することを特徴とする請求項2記載の撮像装置。  The threshold value changing unit changes at least one of the first threshold value and the second threshold value according to the changed content when the setting content related to the compression ratio of the image data is changed by the setting unit. The imaging apparatus according to claim 2. 前記閾値変更手段は、前記設定手段により画像データの解像度に係る設定内容が変更されると、当該変更内容に応じて前記第1閾値及び前記第2閾値のうち少なくとも一つを変更することを特徴とする請求項2記載の撮像装置。  The threshold value changing unit changes at least one of the first threshold value and the second threshold value according to the changed content when the setting content related to the resolution of the image data is changed by the setting unit. The imaging apparatus according to claim 2. 前記閾値変更手段は、前記設定手段により感度に係る設定内容が変更されると、当該変更内容に応じて前記第1閾値及び前記第2閾値のうち少なくとも一つを変更することを特徴とする請求項2記載の撮像装置。  The threshold value changing unit changes at least one of the first threshold value and the second threshold value according to the changed content when the setting content related to sensitivity is changed by the setting unit. Item 3. The imaging device according to Item 2. 前記閾値変更手段は、前記設定手段により連写撮影動作に係る設定内容が変更されると、当該変更内容に応じて前記第1閾値及び前記第2閾値のうち少なくとも一つを変更することを特徴とする請求項2記載の撮像装置。  The threshold value changing unit changes at least one of the first threshold value and the second threshold value according to the changed content when the setting content related to the continuous shooting operation is changed by the setting unit. The imaging apparatus according to claim 2. 前記閾値変更手段は、前記設定手段によりエッジ強調に係る設定内容が変更されると、当該変更内容に応じて前記第1閾値及び前記第2閾値のうち少なくとも一つを変更することを特徴とする請求項2記載の撮像装置。  The threshold value changing unit changes at least one of the first threshold value and the second threshold value according to the changed content when the setting content related to edge enhancement is changed by the setting unit. The imaging device according to claim 2. 画像を撮像する撮像手段から画像データが入力されて不揮発性メモリへ記録するまでの間に、圧縮処理を施すために一時的に画像データを記録するバッファメモリに混在して記録された圧縮前および圧縮後の画像データのうち圧縮後の画像データのサイズに基づいて前記不揮発性メモリにおける残容量を検出する検出ステップと、
前記検出ステップにより検出される前記残容量が第1閾値より少ないか否かを判断する第1判断ステップと、
前記第1閾値より小さい値である第2閾値より前記残容量が少ないか否かを判断する第2判断ステップと、
前記第1判断ステップ及び前記第2判断ステップにより前記残容量が前記第1閾値より少なく前記第2閾値より多いと判断されると連続撮影を禁止し、前記第2閾値より少ないと判断されると撮影を禁止する制御ステップとを有することを特徴とする撮像動作制御方法。
Before the image data is input from the image pickup means for picking up the image and recorded in the non-volatile memory, before compression and recorded in a buffer memory for temporarily recording the image data in order to perform compression processing A detection step of detecting a remaining capacity in the nonvolatile memory based on a size of the compressed image data among the compressed image data ;
A first determination step of determining whether or not the remaining capacity detected by the detection step is less than a first threshold;
A second determination step of determining whether or not the remaining capacity is less than a second threshold that is a value smaller than the first threshold;
Prohibit continuous shooting and the remaining capacity by the first determination step and the second determining step is determined to more than the least for the second threshold value than the first threshold value, it is determined that less than said second threshold value And a control step for prohibiting photographing.
撮像装置の設定に係る内容変更を行う設定ステップと、
前記設定ステップにより変更される設定内容に応じて前記第1閾値及び前記第2閾値のうち少なくとも一つを変更する閾値変更ステップとを更に有することを特徴とする請求項8記載の撮像動作制御方法。
A setting step for changing contents related to the setting of the imaging device;
9. The imaging operation control method according to claim 8, further comprising a threshold value changing step of changing at least one of the first threshold value and the second threshold value according to the setting content changed in the setting step. .
前記閾値変更ステップは、前記設定ステップにより画像データの圧縮率に係る設定内容が変更されると、当該変更内容に応じて前記第1閾値及び前記第2閾値のうち少なくとも一つを変更することを特徴とする請求項9記載の撮像動作制御方法。  In the threshold value changing step, when the setting content related to the compression ratio of the image data is changed by the setting step, at least one of the first threshold value and the second threshold value is changed according to the changed content. The imaging operation control method according to claim 9, wherein: 前記閾値変更ステップは、前記設定ステップにより画像データの解像度に係る設定内容が変更されると、当該変更内容に応じて前記第1閾値及び前記第2閾値のうち少なくとも一つを変更することを特徴とする請求項9記載の撮像動作制御方法。  The threshold value changing step changes at least one of the first threshold value and the second threshold value according to the changed content when the setting content related to the resolution of the image data is changed by the setting step. The imaging operation control method according to claim 9. 前記閾値変更ステップは、前記設定ステップにより感度に係る設定内容が変更されると、当該変更内容に応じて前記第1閾値及び前記第2閾値のうち少なくとも一つを変更することを特徴とする請求項9記載の撮像動作制御方法。  The threshold value changing step changes at least one of the first threshold value and the second threshold value according to the changed content when the setting content related to sensitivity is changed by the setting step. Item 10. The imaging operation control method according to Item 9. 前記閾値変更ステップは、前記設定ステップにより連写撮影動作に係る設定内容が変更されると、当該変更内容に応じて前記第1閾値及び前記第2閾値のうち少なくとも一つを変更することを特徴とする請求項9記載の撮像動作制御方法。  The threshold value changing step changes at least one of the first threshold value and the second threshold value according to the changed content when the setting content related to the continuous shooting operation is changed by the setting step. The imaging operation control method according to claim 9. 前記閾値変更ステップは、前記設定ステップによりエッジ強調に係る設定内容が変更されると、当該変更内容に応じて前記第1閾値及び前記第2閾値のうち少なくとも一つを変更することを特徴とする請求項9記載の撮像動作制御方法。  In the threshold value changing step, when the setting content related to edge enhancement is changed in the setting step, at least one of the first threshold value and the second threshold value is changed according to the changed content. The imaging operation control method according to claim 9. 請求項8に記載の撮像動作制御方法をコンピュータに実行させるためのプログラム。  A program for causing a computer to execute the imaging operation control method according to claim 8.
JP2001325297A 2001-10-23 2001-10-23 Imaging apparatus, imaging operation control method, and program Expired - Fee Related JP4109853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001325297A JP4109853B2 (en) 2001-10-23 2001-10-23 Imaging apparatus, imaging operation control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001325297A JP4109853B2 (en) 2001-10-23 2001-10-23 Imaging apparatus, imaging operation control method, and program

Publications (3)

Publication Number Publication Date
JP2003134442A JP2003134442A (en) 2003-05-09
JP2003134442A5 JP2003134442A5 (en) 2007-01-25
JP4109853B2 true JP4109853B2 (en) 2008-07-02

Family

ID=19141890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001325297A Expired - Fee Related JP4109853B2 (en) 2001-10-23 2001-10-23 Imaging apparatus, imaging operation control method, and program

Country Status (1)

Country Link
JP (1) JP4109853B2 (en)

Also Published As

Publication number Publication date
JP2003134442A (en) 2003-05-09

Similar Documents

Publication Publication Date Title
JP5424732B2 (en) Imaging apparatus, control method thereof, and program
US8166210B2 (en) Electronic device and control method therefor
US20030076312A1 (en) Image display control for a plurality of images
JP4603985B2 (en) Imaging apparatus, imaging method, and control program
JP2001320620A (en) Image pickup device, its control method and storage medium
JP4387559B2 (en) Imaging device
US7394495B2 (en) Display changeover control in image sensing apparatus
JP4498169B2 (en) Image processing apparatus and control method thereof
JP2006119996A (en) Battery-driven device and its nonvolatile memory updating method
US6943835B2 (en) Image processing method and apparatus and computer-readable storage medium having an electronic zoom function
JP2006203689A (en) Imaging apparatus and control method thereof, program, and storage medium
JP2007158604A (en) Imaging apparatus and its control method
JP4636739B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM
JP4109853B2 (en) Imaging apparatus, imaging operation control method, and program
JP2010160323A (en) Imaging apparatus, control method therefor, and program
JP4574426B2 (en) Data processing apparatus and data processing method
JP2007189524A (en) Image processor, and image processing method
JP2006227822A (en) Information retrieval device and information retrieval method, program and recording medium
JP2006090735A (en) Method of controlling electronic equipment
JP4463941B2 (en) Imaging apparatus and imaging method
JP4560189B2 (en) Imaging device
JP2002314872A (en) Imaging device and imaging method
JP2005260324A (en) Digital camera
JP5111008B2 (en) Imaging apparatus and control method thereof
JP2003244486A (en) Image pickup device and image reproducing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041015

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070619

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070816

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080225

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080407

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

Free format text: PAYMENT UNTIL: 20110411

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130411

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130411

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140411

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees