JP3815068B2 - Electronic still camera and control method thereof - Google Patents

Electronic still camera and control method thereof Download PDF

Info

Publication number
JP3815068B2
JP3815068B2 JP21498898A JP21498898A JP3815068B2 JP 3815068 B2 JP3815068 B2 JP 3815068B2 JP 21498898 A JP21498898 A JP 21498898A JP 21498898 A JP21498898 A JP 21498898A JP 3815068 B2 JP3815068 B2 JP 3815068B2
Authority
JP
Japan
Prior art keywords
image
image data
buffer
sequentially
recording
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
JP21498898A
Other languages
Japanese (ja)
Other versions
JP2000050127A (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 JP21498898A priority Critical patent/JP3815068B2/en
Publication of JP2000050127A publication Critical patent/JP2000050127A/en
Application granted granted Critical
Publication of JP3815068B2 publication Critical patent/JP3815068B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Cameras In General (AREA)
  • Television Signal Processing For Recording (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、電子スチルカメラに関し、特に、カメラ本体のモニター画面に映し出される動画像(スルー画像)を利用して簡易な動画記録とその再生を可能にした電子スチルカメラに関する。
【0002】
【従来の技術】
図10は、公知の電子スチルカメラの概念図である。この概念図は、撮像系1、バッファメモリ2、表示系3及び圧縮・伸張処理系4の間を行き来するデータの流れを模式化したものであり、この図では、四つの流れ▲1▼〜▲4▼が示されている。
【0003】
第1の流れ▲1▼は、撮像系1からバッファメモリ2へと向かうデータの流れであり、このデータは、撮像系1に含まれるカラーイメージセンサで撮影された、例えば640×480画素の画像サイズを持つ所定周期のフレーム画像データである。第2の流れ▲2▼は、バッファメモリ2から表示系3へと向かうデータの流れであり、このデータは、表示系3に含まれるモニター画面の画素構成に見合ったサイズに縮小された表示用画像データである。第3の流れ▲3▼は、バッファメモリ2から圧縮・伸長処理系4へと向かうデータの流れであり、このデータは、圧縮処理後にフラッシュメモリなどの記録媒体5に記録される高品質なキャプチャー画像データである。最後に第4の流れ▲4▼は、圧縮・伸張処理系4からバッファメモリ2へと向かうデータの流れであり、このデータは、記録媒体5から読み出された画像データを伸張処理して元の高品質な画像に再生した再生画像データである。
【0004】
ビデオトランスファー回路6はカメラの操作段階に応じて、これら4つの流れ▲1▼〜▲4▼をコントロールするものであり、具体的には、(イ)カメラ本体のモニター画面を見ながら構図を調整する撮影準備段階では第1の流れ▲1▼と第2の流れ▲2▼を許容し、(ロ)シャッターキーを押して画像をキャプチャーする記録段階では第3の流れ▲3▼を許容し、(ハ)所望の画像を記憶媒体から読み出してモニター画面上に表示する再生段階では第2の流れ▲2▼と第4の流れ▲4▼を許容するものである。
【0005】
ところで、上記の撮影準備段階では、第1の流れ▲1▼と第2の流れ▲2▼を許容することによって、カメラ本体のモニター画面に被写体のスルー画像を映し出しているが、スルー画像の更新周期が長いと構図調整がやりにくくなるので、できるだけ動きの滑らかなスルー画像を表示することが求められる。
【0006】
一方、電子スチルカメラに対する要求は一段と高度化しつつあり、例えば、簡易な動(連続)画像を記録したいという要求もその一つであるが、この要求は、上記の「第1の流れ▲1▼と第2の流れ▲2▼を許容することによって、カメラ本体のモニター画面に被写体のスルー画像を映す」という点を利用することによって達成可能である。
図11は、この点に着目して簡易な動画像を記録できるようにした従来の電子スチルカメラの概念図であり、図10と同様に、撮像系1、バッファメモリ2、表示系3及び圧縮・伸張処理系4の間を行き来するデータの流れを模式化したものである。
図10との相違は、バッファメモリ2に動画用のバッファ(以下「動画バッファ」という)を設けた点、スルー画像の元になるフレーム画像の画素を間引いてフレーム画像の1/4n(n>0)、例えば1/16の大きさのコマ画像データを生成する間引き回路7などを備えた点にある。なお、▲5▼はコマ画像生成のためのデータの流れである。
【0007】
図12は、動画バッファ8の概念図であり、バッファ全体の大きさはスルー画像の元になるフレーム画像の大きさ(640×480画素)と同一である(注1)。動画バッファ8は、この例の場合、16分割されており、各分割セルC1〜C16の大きさは、コマ画像と同一の160×120画素である。
注1:例示の動画バッファ8の大きさは、少なくとも、1枚のフレーム画像(640×480画素)に相当する大きさであればよいことを示しているが、実際には、複数枚のマルチ画面画像を格納できるように、同枚数分のフレーム画像に相当する大きさになっている。このことは、後述の「実施の形態」においても同様である。以下、説明の簡単化のために、上記例示のとおりとする。
【0008】
図13は、スルー画像の表示タイミングと、動画バッファ8へのコマ画像の格納タイミングを示す図である。この図において、動画記録(連続撮影)を開始すると、まず、その時点で表示されているスルー画像の元になるフレーム画像G1を間引いて1番目の分割セルC1に格納し(S1_1)、そして、スルー画像の表示が更新される度に、そのスルー画像の元になるフレーム画像Gi(iは2、3、・・・・、16)を間引いてi番目の分割セルCiに順次に格納していく(S1_i)。
動画バッファ8の16個のセルC1〜C16に全てコマ画像が格納されると、この16個のコマ画像全体を1枚のキャプチャー画像とみなし、前述の記録段階(ロ)と同様の流れ(第3の流れ▲3▼)で圧縮・伸長処理系4に転送し、圧縮処理した後、記録媒体5に記録する。
【0009】
なお、記録媒体5に記録した動画像を再生するパターンは二つある。一つは16個のコマ画像全体を1枚のキャプチャー画像とみなして再生する通常の画像再生と同様のパターンであり、他の一つは動画再生のパターンである。動画再生のパターンでは、16個のコマ画像全体を一旦、動画バッファメモリ8に読み込んだ後、各コマ画像を順次に拡大処理(間引きと反対の処理)を行なうことにより、モニター画面での動画表示を可能にしている。
【0010】
【発明が解決しようとする課題】
しかしながら、上記の従来技術にあっては、
<撮影時について>
動画バッファに複数枚のマルチ画像を一旦格納した後、順次に圧縮処理して、記録媒体に記録する構成となっていたため、一度に撮影できる動画の最大コマ数(言い換えれば最大撮影時間)がもっぱら動画バッファの大きさで一義的に決まってしまい、例えば、16分割の動画バッファを4つ備えたとしても、0.1秒間隔で高々64個のコマ画像(撮影時間に換算すると0.1×64=6.4秒)しか撮影できないという問題点があり、
<再生時について>
記録媒体に格納された複数枚のマルチ画像を順次に伸長処理して、動画バッファに展開する構成となっていたため、一度に再生できる動画の最大コマ数(言い換えれば最大再生時間)がもっぱら動画バッファの大きさで一義的に決まってしまい、例えば、16分割の動画バッファを4つ備えたとしても、0.1秒間隔で高々64個のコマ画像(再生時間に換算すると0.1×64=6.4秒)しか再生できないという問題点がある。
なお、動画バッファのサイズを大きくすれば、上記問題点(撮影時及び再生時の問題点)を解決できるが、反面、コストアップを招くという新たな問題点を招来するので好ましい対策ではない。
【0011】
そこで本発明は、動画バッファの大きさに関わらず、動画のコマ数を大幅に増大でき、以って実用上充分な長さの動画撮影時間を達成できる電子スチルカメラの提供を目的とする。
【0012】
【課題を解決するための手段】
請求項1記載の電子スチルカメラは、被写体を連続して撮像して被写体像の信号を順次発生する撮像手段と、前記被写体像の信号に基づいて前記被写体像の画像データを順次生成するデータ生成手段とを有する電子スチルカメラにおいて、前記データ生成手段により生成された画像データを縮小して縮小画像データを順次生成する画像縮小手段と、各々複数個の分割セルを有する複数の画像バッファと、前記複数の画像バッファの一つを格納先に指定して、その画像バッファの各分割セルに前記縮小画像データを順次に格納し、該選択された画像バッファの分割セルが前記縮小画像データで一杯になると前記複数の画像バッファの他の一つを格納先に指定して当該格納動作を継続するバッファ制御手段と、前記バッファ制御手段によって格納先に指定された画像バッファに前記縮小画像データが順次に格納されている間、前記複数の画像バッファの他の一つに格納されている全ての縮小画像データを1つの画像データとみなして圧縮処理する圧縮手段と、前記圧縮手段の出力を記録する記録手段と、を備えたことを特徴とする。
請求項2記載の電子スチルカメラは、請求項1記載の電子スチルカメラにおいて、前記圧縮手段は、前記バッファ制御手段によって格納先に指定されている方の画像バッファに縮小画像データを順次格納するために実行されている前記画像縮小手段による縮小画像データの生成処理に割り込んで圧縮処理を実行することを特徴とする。
請求項3記載の電子スチルカメラは、請求項1又は請求項2記載の電子スチルカメラにおいて、前記記録手段の記録容量が一杯になるまで、前記撮像手段、データ生成手段、画像縮小手段、バッファ制御手段、圧縮手段及び記録手段による動作を継続することを特徴とする。
請求項4記載の電子スチルカメラは、被写体を連続して撮像して被写体像の信号を順次発生する撮像手段と、前記被写体像の信号に基づいて前記被写体像の画像データを順次生成するデータ生成手段と、前記データ生成手段により生成された画像データを縮小して縮小画像データを順次生成する画像縮小手段と、前記画像縮小手段により順次生成される複数の縮小画像データを1つの画像データとみなして順次圧縮処理する圧縮手段と、前記圧縮手段により順次圧縮処理された画像データを順次記録する記録手段とを有する電子スチルカメラにおいて、各々複数個の分割セルを有する複数の画像バッファと、前記記録手段内に記録されている複数の縮小画像データからなる画像データを伸長処理して一方の画像バッファに格納し、該画像バッファの各分割セルから縮小画像データを順次に拡大処理して読み出している間に同時並行的に記録手段内に記録されている複数の縮小画像データからなる次の画像データを伸長処理して他方の画像バッファに展開するバッファ制御手段と、前記バッファ制御手段によって拡大処理された縮小画像データに基づいて表示手段に被写体像を順次表示させる表示制御手段と、を備えたことを特徴とする。
請求項5記載の電子スチルカメラは、請求項4記載の電子スチルカメラにおいて、前記バッファ制御手段は、表示手段に被写体像を順次表示させるために実行されている縮小画像データの拡大処理に割り込んで前記伸長処理を実行することを特徴とする。
請求項6記載の電子スチルカメラは、請求項4又は請求項5記載の電子スチルカメラにおいて、前記バッファ制御手段は、縮小画像データを順次に拡大処理して読み出す周期を、該縮小画像の記録時の周期に同期させることを特徴とする。
請求項7記載の電子スチルカメラの制御方法は、被写体を連続して撮像して被写体像の信号を順次発生し、前記被写体像の信号に基づいて前記被写体像の画像データを順次生成するとともに、前記画像データに基づいて表示手段に被写体像を表示させる電子スチルカメラの制御方法において、前記表示手段に表示中の被写体像の元になる画像データを縮小して縮小画像データを順次生成する第1ステップと、前記表示手段に表示中の被写体像が更新される度に各々複数個の分割セルを有する複数の画像バッファの一つを格納先に指定して、その格納先の画像バッファの複数個の分割セルに前記縮小画像データを順次に格納していき該一つの画像バッファの分割セルが一杯になると他の一つの画像バッファに切り換えて当該格納動作を継続する第2ステップと、前記第2ステップによって格納先に指定 された画像バッファに前記縮小画像データが順次に格納されている間、前記複数の画像バッファの他の一つの分割セルに格納されている縮小画像データを1つの画像データとみなして圧縮処理し記録手段に記録する第3ステップと、を含むことを特徴とする。
請求項8記載の電子スチルカメラの制御方法は、請求項7記載の電子スチルカメラの制御方法において、前記記録手段の記録容量が一杯になるまで、前記第1ステップ、第2ステップ及び第3ステップによる動作を継続することを特徴とする。
請求項9記載の電子スチルカメラは、請求項1記載の電子スチルカメラにおいて、前記複数の画像バッファは、さらに、少なくとも二つの画像バッファを備えるものであって、該二つの画像バッファの一方に、被写体を連続して撮像して被写体像の信号を順次発生する撮像手段からの画像データを展開している間に、該二つの画像バッファの他方から展開済みの画像データを読み出して表示用のスルー画像とすると共に、前記画像縮小手段は、当該二つの画像バッファの一方に格納された前記撮像手段からの画像データを縮小して前記縮小画像データを生成することを特徴とする。
請求項10記載の電子スチルカメラは、請求項1記載の電子スチルカメラにおいて、前記複数の画像バッファは、動画の記録時と再生時に兼用されるものであって、動画の記録時には、前記複数の画像バッファの一つが格納先に指定されると共に、その画像バッファの各分割セルに前記縮小画像データが順次に格納され、該選択された画像バッファの分割セルが前記縮小画像データで一杯になると前記複数の画像バッファの他の一つが格納先に指定されて当該格納動作が継続される一方、動画の再生時には、記録手段内に記録されている複数の縮小画像データからなる画像データが伸長処理されて一方の画像バッファに格納され、該画像バッファの各分割セルから縮小画像データが順次に拡大処理されて読み出さている間に同時並行的に前記記録手段内に記録されている複数の縮小画像データからなる次の画像データが伸長処理されて他方の画像バッファに展開されることを特徴とする。
【0013】
【発明の実施の形態】
以下、本発明の実施の形態を、図面を参照しながら説明する。
図1は、電子スチルカメラの外観図である。図示の電子スチルカメラ10は、カメラ本体11にシャッターキー12を含む様々なキースイッチ12〜21(詳細は後述)を備えるとともに、その前面にストロボ22、写真レンズ23、ファインダー24及びオートフォーカスユニット部25などを備え、且つ、その背面に液晶ディスプレイ26を備えて構成されている。
【0014】
キースイッチ12〜21の一つは、先にも述べたようにシャッターキー12であり、それ以外は、例えば、プラスキー13、マイナスキー14、電源スイッチ15、メニューキー16、ディスプレイキー17、記録モードキー18、セルフタイマーキー19、ストロボモードキー20、REC/PLAYキー21などであり、これら各キーの機能(役割)は、以下のとおりである。
(1)シャッターキー12:
記録モード時には、その名のとおり“シャッターキー"(半押しで露出とフォーカスを固定し、全押しで画像をキャプチャーする)として働くキーであるが、記録モードや再生モード(キャプチャー画像を再生したり他の機器に出力したりするモード)時にメニューキー16が押された場合には、液晶ディスプレイ26に表示された様々な選択項目を了解するためのYESキーとしても働くマルチ機能キーである。
(2)プラスキー13:
再生画像を選択したり、各種システム設定を選択したりするために用いられるキーである。“プラス"は、その選択方向を意味し、画像選択の場合であれば最新画像の方向、システム設定選択の場合であれば液晶ディスプレイ26の走査方向である。
(3)マイナスキー14:
方向が逆向きである以外、プラスキーと同じ機能である。
【0015】
(4)電源スイッチ15:
カメラの電源をオンオフするスイッチである。
(5)メニューキー16:
各種システム設定を行うためのキーである。再生モードにおいては、デリートモード(画像の消去モード)や動画表示モードをはじめとした各種項目を液晶ディスプレイ26に表示し、記録モードにおいては、画像の記録に必要な、例えば、記録画像の精細度、オートフォーカスのオンオフ、動画(連続)撮影の撮影時間などの選択項目を液晶ディスプレイ26に表示する。
(6)ディスプレイキー17:
液晶ディスプレイ26に表示された画像に様々な情報をオーバラップ表示するためのキーであり、例えば、記録モードでは、残り撮影可能枚数や撮影形態(通常撮影、パノラマ撮影、動画撮影)などの情報をオーバラップ表示し、再生モードでは、再生画像の属性情報(ページ番号や精細度等)をオーバラップ表示する。
【0016】
(7)記録モードキー18:
記録モード時のみ使用可能になるキーである。通常撮影やパノラマ撮影等を選択するほか、本実施の形態では簡易な動画撮影を選択する。
(8)セルフタイマーキー19:
セルフタイマー機能をオンオフするキーである。
(9)ストロボモードキー20:
ストロボに関する様々な設定、例えば、強制発光させたり、発光を禁止したり、赤目を防止したりするキーである。
(10)REC/PLAYキー21
記録モードと再生モードを切り替えるためのキーである。この例では、スライドスイッチになっており、上にスライドすると記録モード、下にスライドすると再生モードになる。
【0017】
図2は、本実施の形態における電子スチルカメラのブロック図である。図2において、30はCCD(イメージセンサ)、31はCCD30のドライバ、32はタイミング発生器(TG)、33はサンプルホールド回路(S/H)、34はアナログディジタル変換器、35はカラープロセス回路、36はビデオトランスファー回路、37はバッファメモリ、38は圧縮・伸長回路、39はフラッシュメモリ(記録手段)、40はCPU、41はキー入力部、42はディジタルビデオエンコーダ、43はバスである。なお、23は写真レンズ、26は液晶ディスプレイである。
【0018】
これら各部の機能は、概ね以下のとおりである。
(A)写真レンズ23:
CCD30の受光面上に被写体の像を結ばせるためのものであり、自動焦点機能のための焦点合わせ機構を備えている。なお、ズーム機能を備えたり、沈胴式であったりしてもよい。
【0019】
(B)CCD30:
電荷をアレイ状に転送する固体撮像デバイスである。電荷結合素子とも呼ばれる。アナログ遅延線などに用いられるものもあるが、本明細書では、特に、二次元の光学情報を時系列(シリアル列)の電気信号に変換して出力する固体のイメージセンサーを指す。
一般にCCDは、多数の光電変換素子をアレイ状に並べた光電変換部と、光電変換素子の出力電荷を蓄積する電荷蓄積部と、電荷蓄積部の電荷を所定の方式で読み出す電荷読み出し部とから構成されており、光電変換素子の一つ一つが画素になる。例えば、有効画素数が100万画素のCCDでは、少なくともアレイの桝目が100万個並んでいることになる。以下、説明の都合上、図示のCCD30の有効画素数を640×480とする。すなわち、行方向(横方向)に640個、列方向(縦方向)に480個の画素で構成された、640列×480行のアレイ構造を有しているものとする。
なお、本実施の形態のCCD30はカラーCCDである。一般にCCDの画素情報そのものは色情報を持っていないため、カラーCCDでは前面に色フィルタアレイ(光の三原色を用いた原色フィルタ又は色の三原色を用いた補色フィルタ)を装着し、さらにその前面に、色フィルタアレイのピッチに相当する周波数成分を有する偽の色信号を除去するための光学ローパスフィルタを装着するが、図面では略してある。
【0020】
また、CCDは、電荷の読み出し方式によって二つのタイプに分けることができる。第1は、信号を読み出すときに画素を一つずつ飛ばす「飛び越し読み出し方式」(インターレースCCDとも言う)のタイプであり、第2は、全画素を順番に読み出す「全面読み出し方式」(ノンインターレースCCD又はプログレッシブCCDとも言う)のタイプである。電子スチルカメラでは第2のタイプがよく用いられるものの、昨今の100万画素を越えるメガピクセル級の電子スチルカメラでは第1のタイプを用いることもある。以下、説明の便宜上、本実施の形態のCCD30は、第2のタイプ(全面読み出し方式)とする。
【0021】
(C)ドライバ31とタイミング発生器32:
CCD30の読み出しに必要な駆動信号を生成する部分であり、CCD30はこの駆動信号に同期して画像信号を出力する。本実施の形態のCCD30は、全面読み出し方式と仮定されているから、CCD30の各列を次々に指定しながら行単位に画素の情報を転送する(読み出す)ことができる駆動信号、要するに、640列×480行のアレイ構造の左上から右下の方向(この方向はテレビジョンの走査方向に類似する)に画素情報をシリアルに読み出すための水平・垂直それぞれの駆動信号を生成するものである。
(D)サンプルホールド回路33:
CCD30から読み出された時系列の信号(この段階ではアナログ信号である)を、CCD30の解像度に適合した周波数でサンプリング(例えば、相関二重サンプリング)するものである。なお、サンプリング後に自動利得調整を行うこともある。
(E)アナログディジタル変換器34:
サンプリングされた信号をディジタル信号に変換するものである。
【0022】
(F)カラープロセス回路35:
アナログディジタル変換器34の出力から輝度・色差マルチプレクス信号(以下、YUV信号と言う)を生成する部分である。YUV信号を生成する理由は、次のとおりである。アナログディジタル変換器34の出力は、アナログかディジタルかの違い及びサンプリングやディジタル変換の誤差を除き、実質的にCCD30の出力と一対一に対応し、光の三原色データ(RGBデータ)そのものであるが、このデータはサイズが大きく、限られたメモリ資源の利用や処理時間の点で不都合をきたす。そこで、何らかの手法で多少なりともデータ量の削減を図る必要がある。YUV信号は、一般にRGBデータの各要素データ(Rデータ、Gデータ、Bデータ)は輝度信号Yに対して、G−Y、R−Y、B−Yの三つの色差信号で表現できるうえ、これら三つの色差信号の冗長を取り除けば、G−Yを転送しなくてもよく、G−Y=α(R−Y)−β(B−Y)で再現できる、という原理に基づく一種のデータ量削減信号と言うことができる。ここで、αやβは合成係数である。
【0023】
なお、YUV信号をYCbCr信号(CbとCrはそれぞれB−YとR−Y)と言うこともあるが、本明細書ではYUV信号に統一することにする。また、YUV信号の信号フォーマットは、輝度信号と二つの色差信号のそれぞれを独立して含む“コンポーネント"と呼ばれる固定長の三つのブロックで構成されており、各コンポーネントの長さ(ビット数)の比をコンポーネント比と言う。変換直後のYUV信号のコンポーネント比は1:1:1であるが、色差信号の二つのコンポーネントを短くする、すなわち、1:x:x(但し、x<1)とすることによってもデータ量を削減できる。これは、人間の視覚特性は輝度信号よりも色差信号に対して鈍感であると言うことを利用したものである。
【0024】
(G)ビデオトランスファー回路36:
冒頭で説明した図11のビデオトランスファー回路6と同等の働きをするものである。すなわち、ビデオトランスファー回路36は、(撮像系の出口を構成する)カラープロセス回路35、バッファメモリ37、(表示系の入り口を構成する)ディジタルビデオエンコーダ42及び(圧縮・伸長系の主要部を構成する)圧縮・伸張回路38の間を行き来するデータの流れをコントロールするものであり、具体的には、液晶ディスプレイ26の表示を見ながら構図を調整する撮影準備段階で図示の第1の流れ▲1▼と第2の流れ▲2▼を許容し、シャッターキー12を押して表示中の画像をフラッシュメモリ39にキャプチャーする記録段階で図示の第3の流れ▲3▼を許容し、所望の画像をフラッシュメモリ39から読み出して液晶ディスプレイ26に表示する再生段階で図示の第2の流れ▲2▼と第4の流れ▲4▼を許容し、さらに、動画像の記録を行う動画記録段階で図示の第5の流れ▲5▼を許容し、さらになお、動画像の再生を行う動画再生段階で図示の第6の流れ▲6▼を許容するものである。
【0025】
なお、“流れ"とは、カラープロセス回路35、バッファメモリ37、ディジタルビデオエンコーダ42及び圧縮・伸長回路38の間を行き来するデータの動きを概念的に捉えた便宜上の表現であり、その言葉自体に格別の意味はないものの、一般にディジタルシステムにとっては、データの素早い動きはその性能を直接に左右し、とりわけ大量の画素情報を取り扱う電子スチルカメラにとっては、(データの素早い動きは)当然配慮されなければならない設計条件の一つであるから、上記流れのすべて又は一部は高速データ転送の手法を駆使したデータの流れを意味するものである。すなわち、第1から第6の流れ▲1▼〜▲6▼は、例えば、DMA(direct memory access)転送による流れであり、ビデオトランスファー回路36は、それに必要な制御部(DMAコントローラ)やその他の周辺部分(例えば、転送速度調節のためのFIFOメモリ及びインターフェース回路など)を含み、これら各部の働きによって、カラープロセス回路35、バッファメモリ37、ディジタルビデオエンコーダ42及び圧縮・伸長回路38の間の“素早いデータ転送"(例えば、DMA転送)を調停するものである。
【0026】
(H)バッファメモリ37:
書き換え可能な半導体メモリの一種であるDRAMで構成されている。一般にDRAMは記憶内容を保持するために、データの再書込み(リフレッシュ)をダイナミックに行う点でスタティックRAM(SRAM)と相違するが、SRAMと比べて書込みや読み出し速度が劣るものの、ビット単価が安く、大容量の一時記憶を安価に構成できることから、特に電子スチルカメラに好適である。但し、本発明では、DRAMに限定しない。書き換え可能な半導体メモリであればよい。
【0027】
ここで、バッファメモリ37の記憶容量は、以下の条件を全て満たさなければならない。第1の条件は作業に必要な充分なワークエリア(作業空間)を確保できる容量であるという点である。作業空間の大きさはCPU40のアーキテクチャやOS(オペレーティングシステム)及びそのOSの管理下で実行される各種のアプリケーションプログラムによって決まるので、これらの仕様を検討して過不足のない適切な大きさにすればよい。第2の条件は少なくともカラープロセス回路35で生成された高精細な画像の情報(640×480画素の画像情報で且つ1:1:1のコンポーネント比をもつYUV信号)を2画面分格納できる大きさのバッファ(以下「画像バッファ」)を確保できる容量であるという点であり、さらに、第3の条件は動画用の画像(640×480画素)を2画面分格納できる大きさのバッファ(以下「動画バッファ」)を確保できる容量であるという点である。
図3は、バッファメモリ37のメモリマップを示す図であり、#1〜#4がバッファ用のエリアである。各バッファの大きさは同一で、用途は固定されていない。すなわち、各バッファを画像バッファと動画バッファで共有できるようになっている。
【0028】
(I)圧縮・伸長回路38:
JPEGの圧縮と伸長を行う部分である。JPEGの圧縮パラメータは固定であっても、圧縮処理の都度CPU40から与えるようにしてもよい。なお、圧縮・伸長回路38は処理速度の点で専用のハードウェアにすべきであるが、CPU40でソフト的に行うことも可能である。
【0029】
なお、JPEGとは、joint photographic experts groupの略であり、カラー静止画(2値画像や動画像を含まないフルカラーやグレイスケールの静止画)の国際符号化標準である。JPEGでは、圧縮されたデータを完全に元に戻すことができる可逆符号化と、元に戻せない非可逆符号化の二つの方式が定められているが、殆どの場合、圧縮率の高い後者の非可逆符号化が用いられている。JPEGの使い易さは、圧縮に用いられるパラメータ(圧縮パラメータ)を調節することによって、符号化に伴う画質劣化の程度を自在に変えられる点にある。すなわち、符号化側では、画像品質とファイルサイズのトレードオフの中から適当な圧縮パラメータを選択できるし、あるいは、復号化側では、品質を多少犠牲にして復号スピードを上げたり、時間はかかっても最高品質で再生したりするなどの選択ができる点で使い易い。JPEGの実用上の圧縮率は、非可逆符号の場合で、およそ10:1から50:1程度である。一般的に10:1から20:1であれば視覚上の劣化を招かないが、多少の劣化を許容すれば30:1から50:1でも十分実用に供する。ちなみに、他の符号化方式の圧縮率は、例えば、GIF(graphics interchange format)の場合で5:1程度に留まるから、JPEGの優位性は明らかである。
【0030】
(J)フラッシュメモリ39:
書き換え可能な読み出し専用メモリ(PROM:programmable read only memory)のうち、電気的に全ビット(又はブロック単位)の内容を消して内容を書き直せるものを指す。フラッシュEEPROM(flash electrically erasablePROM)とも言う。本実施の形態におけるフラッシュメモリ39は、カメラ本体から取り外せない固定型であってもよいし、カード型やパッケージ型のように取り外し可能なものであってもよい。なお、フラッシュメモリ39は、内蔵型であれ取り外し可能型であれ、所定の形式で初期化(フォーマット)されている必要がある。初期化済みのフラッシュメモリ39には、その記憶容量に応じた枚数の画像を記録できる。例えば、圧縮後の画像サイズを100KBとすれば、4MBの容量で40枚、8MBの容量で80枚を記録できる。
(L)CPU40:
所定のプログラムを実行してカメラの動作を集中制御するものである。プログラムは、CPU40の内部のインストラクションROMに書き込まれており、記録モードでは、そのモード用のプログラムが、また、再生モードでは、そのモード用のプログラムがインストラクションROMからCPU40の内部RAMにロードされて実行される。
【0031】
(M)キー入力部41:
カメラ本体に設けられた各種キースイッチの操作信号を生成する部分である。
(N)ディジタルビデオエンコーダ42:
ビデオトランスファー回路36を介してバッファメモリ37の画像バッファから読み出されたディジタル値の表示用画像をアナログ電圧に変換するとともに、液晶ディスプレイ26の走査方式に応じたタイミングで順次に出力するものである。
(O)バス43:
以上各部の間で共有されるデータ(及びアドレス)転送路である。図では省略しているが、各部の間には所要の制御線(コントロールライン)も設けられている。
【0032】
次に、作用を説明する。まず、はじめに画像の記録と再生の概要を説明する。
<記録モード>
このモードでは、写真レンズ23の後方に配置されたCCD30がドライバ31からの信号で駆動され、写真レンズ23で集められた映像が一定周期Ta毎に光電変換されて1画像分の映像信号が出力される。そして、この映像信号がサンプリングホールド回路33でサンプリングされ、アナログディジタル変換器34でディジタル信号に変換された後、カラープロセス回路35でYUV信号が生成される。このYUV信号は、ビデオトランスファー回路36を介してバッファメモリ37の画像バッファに転送され(第1の流れ▲1▼)、同バッファへの転送完了後に、ビデオトランスファー回路36によって読み出され(第2の流れ▲2▼)、ディジタルビデオエンコーダ42を介して液晶ディスプレイ26に送られ、スルー画像として表示される。
【0033】
この状態でカメラの向きを変えると、液晶ディスプレイ26に表示されているスルー画像の構図が変化し、適宜の時点(所望の構図が得られた時点)でシャッターキー12を“半押し"して露出とフォーカスをセットした後、“全押し"すると、バッファメモリ37の画像バッファに保存されているYUV信号がその時点のYUV信号で固定され、かつ液晶ディスプレイ26に表示されているスルー画像も同時点の画像で固定される。
そして、その時点でバッファメモリ37の画像バッファに保存されているYUV信号は、ビデオトランスファー回路36を介して圧縮・伸長回路38に送られ(第3の流れ▲3▼)、Y、Cb、Crの各コンポーネント毎に8×8画素の基本ブロックと呼ばれる単位でJPEG符号化された後、フラッシュメモリ39に書き込まれ、1画像分のキャプチャー画像として記録される。
【0034】
<再生モード>
このモードでは、CCD30からバッファメモリ37までの経路(第1の流れ▲1▼)が停止されるとともに、最新のキャプチャー画像がフラッシュメモリ39から読み出され、圧縮・伸長回路38で伸張処理された後、ビデオトランスファー回路36を介してバッファメモリ37の画像バッファに送られる(第4の流れ▲4▼)。そして、この画像バッファのデータがビデオトランスファー回路36とディジタルビデオエンコーダ42を介して液晶ディスプレイ26に送られ(第2の流れ▲2▼)、再生画像として表示される。
なお、プラスキー13やマイナスキー14を押すことにより、フラッシュメモリ39から読み出す画像を前に進めたり後に戻したりしながらこの動作を繰り返すことができ、希望の画像を再生することができる。
【0035】
<バッファメモリ37の状態遷移(通常の撮影モード)>
図4は、通常の撮影モードにおけるバッファ#1〜#4の状態遷移を示す図である。なお、以下の説明では簡単化のために、撮像系からの画像データの取り込み周期を(CCD30の割り込み周期)Ta、表示系の表示周期をTbとし、Ta=Tbの場合を想定している。
図4において、各バッファの中に記載された「撮像系」や「表示系」は、現在当該バッファがその“系"からアクセスされていることを示している。すなわち、左端の初期状態図(a)は、例えば、バッファ#1が撮像系からアクセスされており、カラープロセス回路35からの画像データがバッファ#1に展開中であることを示している。また、初期状態の次の状態図(b)は、バッファ#1が表示系からアクセスされているとともに、他のバッファ、例えば、バッファ#2が撮像系からアクセスされており、バッファ#1に展開済みの画像データがディジタルビデオエンコーダ42によって読み出し中であるとともに、それと並行して、カラープロセス回路35からの画像データがバッファ#2に展開中であることを示している。同様に、次の状態図(c)は、バッファ#1が撮像系からアクセスされているとともに、バッファ#2が表示系からアクセスされており、カラープロセス回路35からの画像データがバッファ#1に展開中であるとともに、それと並行して、バッファ#2に展開済みの画像データがディジタルビデオエンコーダ42によって読み出し中であることを示している。そして、以降の状態遷移は、状態図(b)と状態図(c)を順次に繰り返すこととなり、結局、二つのバッファ(図では#1と#2)の一方に画像データを展開している間、他方のバッファから展開済みの画像データを読み出すという交互アクセスを行うことになる。
【0036】
<バッファメモリ37の状態遷移(通常の再生モード)>
図5は、通常の再生モードにおけるバッファ#1〜#4の状態遷移を示す図である。なお、以下の説明においても簡単化のために、圧縮・伸長処理系の処理時間をTc、表示系の表示周期をTbとし、Tc=Tbの場合を想定している。
図5において、各バッファの中に記載された「圧縮・伸長処理系」や「表示系」は、現在当該バッファがその“系"からアクセスされていることを示している。すなわち、左端の初期状態図(a)は、例えば、バッファ#1が圧縮・伸長処理系からアクセスされており、圧縮・伸長回路38からの画像データがバッファ#1に展開中であることを示している。また、初期状態の次の状態図(b)は、バッファ#1が表示系からアクセスされているとともに、他のバッファ、例えば、バッファ#2が圧縮・伸長処理系からアクセスされており、バッファ#1に展開済みの画像データがディジタルビデオエンコーダ42によって読み出し中であるとともに、それと並行して、圧縮・伸長回路38からの画像データがバッファ#2に展開中であることを示している。同様に、次の状態図(c)は、バッファ#1が圧縮・伸長処理系からアクセスされているとともに、バッファ#2が表示系からアクセスされており、圧縮・伸長回路38からの画像データがバッファ#1に展開中であるとともに、それと並行して、バッファ#2に展開済みの画像データがディジタルビデオエンコーダ42によって読み出し中であることを示している。そして、以降の状態遷移は、状態図(b)と状態図(c)を順次に繰り返すこととなり、結局、二つのバッファ(図では#1と#2)の一方に画像データを展開している間、他方のバッファから展開済みの画像データを読み出すという交互アクセスを行うことになる。
【0037】
ところで、図4及び図5で示されているバッファは、#1〜#4の4つであり、上述の各状態遷移によれば、2つのバッファ(図では#3と#4)が未使用になっているが、これら未使用のバッファは、次に述べる動画撮影モードにおいて、「動画バッファ」として利用されるものである。
【0038】
<バッファメモリ37の状態遷移(動画撮影モード)>
図6は、動画撮影モードにおける「動画バッファ」(上述の状態遷移における未使用バッファ#3、#4;以下便宜的にこのバッファ番号を使用する)の状態遷移を示す図である。
動画バッファ#3、#4は1/4n等分で用いられる。ここに、当分量(1/4n)はコマ画像の縮小率(間引き率)によって決まり、例えば、640×480画素の画像データを160×120画素のコマ画像に縮小する場合は1/16になる。すなわち、動画バッファ#3、#4は図示の桝目で示すように16個の同じ大きさの分割セルで構成されることになる。
【0039】
動画撮影を開始すると、まず、その時点で液晶ディスプレイ26に表示されているスルー画像の元になるフレーム画像(例えば、図4の状態図(b)のバッファ#1に格納されている画像データ)の縮小画像を生成して、その縮小画像を二つの動画バッファの一方(図では#3)の1番目のセルに格納する(S2_1)。ここで、縮小処理とは画素の間引き処理のことであり、640×480画素の画像を160×120画素の画像に縮小するには、単純に4×4画素のうちの1画素を選択すればよい。間引き処理を行うにはバッファメモリ37から所要の画素データ(4×4画素のうちの1画素のデータ)を読み出して、その画素データをバッファメモリ37に書き込むが、この読み出しと書き込みの際のデータの流れを模式化したのが上述の第5の流れ▲5▼である。
【0040】
次に、液晶ディスプレイ26に表示されているスルー画像が更新されると、そのスルー画像の元になるフレーム画像(例えば、図4の状態図(c)のバッファ#2に格納されている画像データ)の縮小画像を生成して、その縮小画像を同じ動画バッファ(#3)の2番目のセルに格納する(S2_2)。
そして、スルー画像の表示が更新される度に、そのスルー画像の元になるフレーム画像の縮小画像を生成して、その縮小画像を同じ動画バッファ(#3)の3番目、4番目、・・・・、15番目のセルに順次に格納していき(S2_3〜S2_15)、最後のセル(バッファ#3の右下隅の16番目のセル)に縮小画像を格納すると(S2_16)、縮小画像の格納先を他方の動画バッファ(#4)に切り換えて、上記と同様の動作を繰り返す。
【0041】
すなわち、スルー画像の表示が更新される度に、そのスルー画像の元になるフレーム画像の縮小画像を生成して、その縮小画像を動画バッファ(#4)の1番目、2番目、3番目、・・・・、15番目のセルに順次に格納していき(S2_17〜S2_31)、最後のセル(バッファ#4の右下隅の16番目のセル)に縮小画像を格納すると(S2_32)、縮小画像の格納先を他方の動画バッファ(#3)に切り換える。
そしてさらに、スルー画像の表示が更新される度に、そのスルー画像の元になるフレーム画像の縮小画像を生成して、その縮小画像を動画バッファ(#3)の1番目、2番目、3番目、・・・・、15番目のセルに順次に格納していき(S2_33〜S2_47)、最後のセル(バッファ#3の右下隅の16番目のセル)に縮小画像を格納すると(S2_48)、縮小画像の格納先を他方の動画バッファ(#4)に切り換え、再びスルー画像の表示が更新される度に、ステップS2_17以降をエンドレスに繰り返し、動画撮影の終了又はフラッシュメモリ39の空き容量がゼロ(若しくは所定量以下)になったときに繰り返しを停止する。
【0042】
ここで、S2_1からS2_16までの処理(特に縮小画像の格納処理)は、冒頭で説明した従来技術のもの(図13参照)と全く同じである。従来技術との相違は、二つの動画バッファを交互に切り換えて使用することにより、S2_1からS2_16及びS2_17からS2_48の全体で示すように、分割セル数以上の縮小画像(コマ画像)を間断なくエンドレスに格納できるようにした点にある。
すなわち、従来技術では最大で分割数と同じ16個のコマ画像(複数枚のマルチ画面画像を格納できるものにあっては、その枚数×コマ画像数)しか格納できないが、本実施の形態では、そのようなバッファメモリの容量によって決まる制限はなく、コマ画像の格納数を飛躍的に増大できる。但し、理由は後述するがフラッシュメモリ39の空き容量の制限を受ける。
【0043】
さて、S2_17に着目すると、このステップにおいては、コマ画像の格納先でない方の動画バッファ(#3)に16個のコマ画像の格納が完了している。また、S2_33においても同様に、コマ画像の格納先でない方の動画バッファ(#4)に16個のコマ画像の格納が完了している。
【0044】
したがって、格納済みの16個のコマ画像を1枚の画像とみなせば、この画像の圧縮及び記録処理と、コマ画像の縮小処理及び格納処理とを同時並行的に行うことができ、要するに、動画バッファへのコマ画像の縮小格納処理を継続しながら、一方で格納済みの16個のコマ画像を1枚の画像に見立てて(圧縮した後)フラッシュメモリ39に次々と記録することができ、その限界は、フラッシュメモリ39の空き容量で決まるから、上述の試算のように、例えば圧縮後の画像サイズを100KB、フラッシュメモリ39の空き容量を8MBとすると、最大で80枚の画像を記録でき、コマ画像換算では80×16=1280枚もの大量の動画像を記録することができる。ちなみに、この枚数を撮影時間に直せば、0.1秒間隔で約21分となり、家庭用のディジタルビデオカメラに匹敵する長時間撮影が可能になるから、電子スチルカメラにとって、産業上極めて有益且つインパクトのある格別な効果を得ることができる。
【0045】
図7は、動画撮影モードにおけるタイミングチャートである。この図において、Taは撮像系からの画像データの取り込み周期であり、Taごとに目盛が入れられた横軸は時間軸を表している。時間軸の下側には3段の工程欄が設けられており、上段の工程欄にはCCD30の割り込み処理期間が、中段の工程欄には一方の動画バッファ#3に対する処理期間が、また、下段の工程欄には他方の動画バッファ#4に対する処理期間がそれぞれ適当な表記方法で記載されている。すなわち、上段の白抜き帯模様(図では正方形に見えるかもしれない)はその時間軸方向の長さでCCD30の割り込み処理期間を示し、中段と下段のハッチング付き帯模様はその時間軸方向の長さで間引き(及び格納)処理期間を示し、中段と下段の黒色帯模様はその時間軸方向の長さで圧縮(及び記録)処理期間を示している。これら処理の優先順位は、「CCD30の割り込み処理」>「間引き(及び格納)処理」>「圧縮(及び記録)処理」である。
【0046】
図中のS付き符号は、図6の状態遷移図のステップ番号と同一のものである。図7によれば、動画撮影を開始すると、まず、スルー画像が更新される度に、そのスルー画像の縮小画像を生成して一方の動画バッファ#3の1番目、2番目、・・・・、16番目のセルに順次に格納(S2_1、S2_2、・・・・、S2_16)した後、引き続いて、スルー画像が更新される度に、そのスルー画像の縮小画像を生成して他方の動画バッファ#4の1番目、2番目、・・・・、16番目のセルに順次に格納(S2_17、S2_18、・・・・、)するが、この縮小処理と、一方の動画バッファ#3に格納済みの16個のコマ画像の圧縮処理とを、上記の優先順位に従って同時並行的に実行している様子が認められる。なお、S2_N−1とS2_Nの“N"は、動画記録の間のスルー画像の数であり、このNが最終的にフラッシュメモリ39に記録されるコマ画像数(前述の試算によれば1280枚)になる。
【0047】
<バッファメモリ37の状態遷移(動画再生モード)>
図8は、動画再生モードにおける動画バッファ#3、#4の状態遷移を示す図である。
動画の再生は、まず、16枚のコマ画像で構成された1枚目の画像をフラッシュメモリ39から読み出して圧縮・伸長回路38で伸張処理し、その伸長後の画像をビデオトランスファー回路36を介してバッファメモリ37に送り(第4の流れ▲4▼)、一方の動画バッファ(図では#3)に展開することから始まる。
そして、動画バッファ#3の1番目のセル画像をビデオトランスファー回路36で読み出し(第6の流れ▲6▼)、拡大処理した後、再びバッファメモリ37の画像バッファに書き込み(第6の流れ▲6▼)、この画像バッファメモリのデータをビデオトランスファー回路36を介してディジタルビデオエンコーダ42に送る(第2の流れ▲2▼)ことによって、動画の初期画面(静止画)を液晶ディスプレイ26に表示する(S3_1)。
【0048】
しかる後、動画のスタートボタン(例えばシャッターキー12)が押されると、動画バッファ#3の2番目、3番目、・・・・、16番目のセル画像を順次に拡大処理して二つの画像バッファに交互に書き込み、液晶ディスプレイ26に動画のコマ画像を連続的に表示する(S3_2〜S3_16)。
ここで、S3_2〜S3_16の間においては、フラッシュメモリ39から読み出して伸長処理した2枚目の画像を、他方の動画バッファ#4に同時並行的に展開処理している。そして、その展開完了のタイミングを、一方の動画バッファ#3の16番目のコマ画像の読み出し完了のタイミングよりも前に設定(図では便宜的にタイミングを一致させてある)しておけば、同コマ画像の読み出しを完了した時点で、すでに他方の動画バッファ#4に2枚目の画像が完全に展開されているから、以降、動画バッファを入れ換えて、上記と同様の処理を繰り返せばよく(S3_17〜S3_32)、エンドレスに処理を継続できるから、フラッシュメモリ39に記録されている動画像の最後まで表示を続けることができる。なお、動画像の最後に達した場合は1枚目の画像に戻って表示を繰り返してもよい。
【0049】
図9は、動画再生モードにおけるタイミングチャートである。この図において、Tbは撮像系からの画像データの取り込み周期Taに等しい、表示系の表示周期であり、Tbごとに目盛が入れられた横軸は時間軸を表している。時間軸の下側には2段の工程欄が設けられており、上段の工程欄には一方の動画バッファ#3に対する処理期間が、また、下段の工程欄には他方の動画バッファ#4に対する処理期間がそれぞれ適当な表記方法で記載されている。すなわち、上段のと下段の黒色帯模様はその時間軸方向の長さで画像の伸長処理期間を示し、ハッチング付き帯模様はその時間軸方向の長さで画像の拡大処理期間を示している。これら処理の優先順位は、「拡大処理」>「伸長処理」である。
【0050】
図中のS付き符号は、図8の状態遷移図のステップ番号と同一のものである。図9によれば、まず、1枚目の画像をフラッシュメモリ39から読み出して伸張処理した後、画像バッファ#3に展開し、しかる後、動画再生の開始に伴って、画像バッファ#3の1番目、2番目、・・・・、16番目のセル画像を順次に拡大処理(S3_1、S3_2、・・・・、S3_16)して液晶ディスプレイ26に表示するが、この拡大処理と、2枚目の画像をフラッシュメモリ39から読み出して伸張処理した後、画像バッファ#3に展開するという処理とを、上記の優先順位に従って同時並行的に実行している様子が認められる。なお、S3_N−1とS3_Nの“N"は、フラッシュメモリ39に記録されたコマ画像数(前述の試算によれば1280枚)である。
【0051】
<まとめ>
以上、説明したとおり、本実施の形態によれば、各々二つの画像バッファと動画バッファを用意するだけで、フラッシュメモリ39の空き容量一杯まで動画像を記録し再生することができる。その記録枚数は、上述の試算のとおり、8MBの容量で1280コマ(但し記録画像サイズを100KBとする)にも及び、したがって、約21分もの長時間撮影(再生)が可能になるという点で、従来技術(64コマ、6.4秒)と比較にならないほどの格別な効果が得られる。
【0052】
【発明の効果】
請求項1又は請求項7記載の発明によれば、表示手段に表示中の被写体像が更新される度に該被写体像の縮小画像データを一方の画像バッファの分割セルに順次に格納していき該一方の画像バッファの分割セルが一杯になると他方の画像バッファに切り換えて当該動作を継続するとともに、格納先に指定されていない方の画像バッファの複数個の分割セルに格納された全ての縮小画像データを1つの画像データとみなして圧縮し記録するので、画像バッファを交互に切り換えながら、縮小画像データのバッファへの格納と、複数個の縮小画像データの圧縮・記録とを同時並行的に行うことができる。したがって、画像バッファの大きさに関わらず、動画のコマ数を大幅に増大でき、以って実用上充分な長さの動画撮影時間を達成できる。
請求項2記載の電子スチルカメラによれば、請求項1記載の電子スチルカメラにおいて、前記圧縮手段は、前記バッファ制御手段によって格納先に指定されている方の画像バッファに縮小画像データを順次格納するために実行されている前記画像縮小手段による縮小画像データの生成処理に割り込んで圧縮処理を実行するので、バス等を共用でき、コストを押さえることができる。
請求項3記載の電子スチルカメラによれぱ、請求項1又は請求項2記載記載の電子スチルカメラにおいて、前記記録手段の記録容量が一杯になるまで、前記撮像手段、データ生成手段、画像縮小手段、バッファ制御手段、圧縮手段及び記録手段による動作を継続するので、画像バッファの大きさに関わらず、大量の動画像記録を行うことができる。
請求項4又は請求項8記載の発明によれば、一方の動画バッファの各分割セルからコマ画像データを順次に拡大処理して読み出している間に同時並行的に記録手段内の画像データを伸長処理して他方の動画バッファに展開するとともに、読み出されたコマ画像データに基づいて表示手段に被写体像を表示させるので、記録手段に記録された動画像を長時間にわたって再生することができ、例えば、請求項1記載の発明と併用して好ましい電子スチルカメラを提供できる。
請求項5記載の電子スチルカメラによれば、請求項4記載の電子スチルカメラにおいて、前記バッファ制御手段は、表示手段に被写体像を順次表示させるために実行されている縮小画像データの拡大処理に割り込んで前記伸長処理を実行するので、バス等を共用でき、コストを押さえることができる。
請求項6記載の発明によれば、請求項4記載の発明において、コマ画像データを順次に拡大処理して読み出す周期を、該コマ画像の記録時の周期に同期させたので、動画の再生速度を適正化でき、違和感のない動画再生を行うことができる。
【図面の簡単な説明】
【図1】電子スチルカメラの外観図である。
【図2】電子スチルカメラのブロック図である。
【図3】バッファメモリのメモリマップ概念図である。
【図4】通常の撮影モードにおけるバッファの状態遷移図である。
【図5】通常の再生モードにおけるバッファの状態遷移図である。
【図6】動画撮影モードにおけるバッファの状態遷移図である。
【図7】動画撮影モードにおけるタイミングチャートである。
【図8】動画再生モードにおけるバッファの状態遷移図である。
【図9】動画再生モードにおけるタイミングチャートである。
【図10】従来の電子スチルカメラの要部概念図である。
【図11】動画撮影機能を有する従来の電子スチルカメラの要部概念図である。
【図12】従来の動画バッファの概念図である。
【図13】従来の動画バッファの状態遷移図である。
【符号の説明】
10 電子スチルカメラ
26 液晶ディスプレイ(表示手段)
30 CCD(撮像手段)
35 カラープロセス回路(データ生成手段)
37 バッファメモリ(画像バッファ)
38 圧縮・伸長回路(圧縮手段)
39 フラッシュメモリ(記録手段)
40 CPU(表示制御手段、画像縮小手段、バッファ制御手段)
42 ディジタルビデオエンコーダ(表示手段)
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic still camera, and more particularly to an electronic still camera that enables simple moving image recording and reproduction using a moving image (through image) displayed on a monitor screen of a camera body.
[0002]
[Prior art]
FIG. 10 is a conceptual diagram of a known electronic still camera. This conceptual diagram schematically shows the flow of data passing between the imaging system 1, the buffer memory 2, the display system 3, and the compression / decompression processing system 4. In this figure, there are four flows (1) to (1) to (4). (4) is shown.
[0003]
The first flow (1) is a flow of data from the imaging system 1 to the buffer memory 2, and this data is an image of, for example, 640 × 480 pixels taken by the color image sensor included in the imaging system 1. This is frame image data of a predetermined cycle having a size. The second flow (2) is a data flow from the buffer memory 2 to the display system 3, and this data is for display reduced to a size suitable for the pixel configuration of the monitor screen included in the display system 3. Image data. The third flow (3) is a flow of data from the buffer memory 2 to the compression / decompression processing system 4, and this data is a high-quality capture recorded on the recording medium 5 such as a flash memory after the compression processing. Image data. Finally, the fourth flow (4) is a flow of data from the compression / decompression processing system 4 to the buffer memory 2, and this data is obtained by decompressing the image data read from the recording medium 5, and This is reproduced image data reproduced into a high-quality image.
[0004]
The video transfer circuit 6 controls these four flows (1) to (4) according to the operation stage of the camera. Specifically, (a) the composition is adjusted while looking at the monitor screen of the camera body. The first flow (1) and the second flow (2) are allowed in the shooting preparation stage, and (3) the third flow (3) is allowed in the recording stage where the image is captured by pressing the shutter key. C) The second flow (2) and the fourth flow (4) are allowed in the reproduction stage in which a desired image is read from the storage medium and displayed on the monitor screen.
[0005]
By the way, in the above-described shooting preparation stage, the first flow (1) and the second flow (2) are allowed to display a through image of the subject on the monitor screen of the camera body. If the period is long, it is difficult to adjust the composition. Therefore, it is required to display a through image that is as smooth as possible.
[0006]
On the other hand, the demand for electronic still cameras is becoming more sophisticated. For example, there is a demand for recording a simple moving (continuous) image. This request is the above-mentioned “first flow (1)”. And allowing the second flow {circle around (2)} to be achieved by utilizing the point that a through image of the subject is displayed on the monitor screen of the camera body.
FIG. 11 is a conceptual diagram of a conventional electronic still camera capable of recording a simple moving image by paying attention to this point. As in FIG. 10, the imaging system 1, the buffer memory 2, the display system 3, and the compression system The flow of data going back and forth between the expansion processing systems 4 is schematically shown.
The difference from FIG. 10 is that a buffer for moving images (hereinafter referred to as “moving image buffer”) is provided in the buffer memory 2, and the frame image pixels that are the basis of the through image are thinned out to ¼ of the frame image.n(N> 0), for example, a thinning circuit 7 for generating frame image data having a size of 1/16. Note that (5) is a data flow for frame image generation.
[0007]
FIG. 12 is a conceptual diagram of the moving image buffer 8, and the size of the entire buffer is the same as the size of the frame image (640 × 480 pixels) that is the basis of the through image (Note 1). In this example, the moving image buffer 8 is divided into 16, and the size of each of the divided cells C1 to C16 is 160 × 120 pixels, which is the same as that of the frame image.
Note 1: Although the size of the illustrated moving image buffer 8 may be at least a size corresponding to one frame image (640 × 480 pixels), in practice, a plurality of multi-image buffers 8 may be used. In order to store the screen image, the size is equivalent to the same number of frame images. This also applies to “embodiments” described later. Hereinafter, for simplification of description, it is assumed as illustrated above.
[0008]
FIG. 13 is a diagram illustrating the display timing of the through image and the storage timing of the frame image in the moving image buffer 8. In this figure, when moving image recording (continuous shooting) is started, first, the frame image G1 that is the source of the through image displayed at that time is thinned out and stored in the first divided cell C1 (S1_1), and Each time the display of the through image is updated, the frame image Gi (i is 2, 3,..., 16) that is the source of the through image is thinned out and sequentially stored in the i-th divided cell Ci. Go (S1_i).
When all the frame images are stored in the 16 cells C1 to C16 of the moving image buffer 8, the entire 16 frame images are regarded as one captured image, and the same flow as the recording step (b) described above (the first step) 3), the data is transferred to the compression / decompression processing system 4, compressed, and then recorded on the recording medium 5.
[0009]
There are two patterns for reproducing the moving image recorded on the recording medium 5. One is a pattern similar to normal image reproduction in which the entire 16 frame images are regarded as one captured image and reproduced, and the other is a moving image reproduction pattern. In the moving image reproduction pattern, the entire 16 frame images are once read into the moving image buffer memory 8, and then each frame image is sequentially enlarged (the process opposite to thinning) to display the moving image on the monitor screen. Is possible.
[0010]
[Problems to be solved by the invention]
However, in the above prior art,
<About shooting>
Since multiple multi-images are temporarily stored in the video buffer and then sequentially compressed and recorded on a recording medium, the maximum number of video frames that can be shot at once (in other words, the maximum shooting time) is exclusively used. The size of the video buffer is uniquely determined. For example, even if four 16-division video buffers are provided, at most 64 frame images (0.1 × 64 = 6.4 seconds)
<About playback>
Since multiple multi-images stored on the recording medium are sequentially decompressed and expanded in the video buffer, the maximum number of video frames that can be played at once (in other words, the maximum playback time) is exclusively the video buffer. For example, even if four 16-division video buffers are provided, at most 64 frame images at 0.1 second intervals (0.1 × 64 = (6.4 seconds) can only be played back.
Increasing the size of the moving image buffer can solve the above problems (shooting and playback problems), but it is not a preferable measure because it introduces a new problem of increasing costs.
[0011]
Accordingly, an object of the present invention is to provide an electronic still camera that can significantly increase the number of frames of a moving image regardless of the size of the moving image buffer, thereby achieving a moving image shooting time of a practically sufficient length.
[0012]
[Means for Solving the Problems]
  The electronic still camera according to claim 1, wherein an imaging unit that sequentially captures an image of a subject and sequentially generates a signal of the subject image, and data generation that sequentially generates image data of the subject image based on the signal of the subject image And an image reduction means for sequentially generating reduced image data by reducing the image data generated by the data generation means, and a plurality of divided cells, respectively.pluralAn image buffer;One of the plurality of image buffers is designated as a storage destination, the reduced image data is sequentially stored in each divided cell of the image buffer, and the divided cell of the selected image buffer is the reduced image data.When it is fullSpecify the other one of the multiple image buffers as the storage destination and perform the storage operationThe buffer control means for continuing, and the buffer control meansWhile the reduced image data is sequentially stored in the image buffer designated as the storage destination, all the reduced images stored in the other one of the plurality of image buffersA compression unit that performs compression processing by regarding data as one piece of image data, and a recording unit that records the output of the compression unit are provided.
  The electronic still camera according to claim 2 is the electronic still camera according to claim 1, wherein the compression means sequentially stores the reduced image data in the image buffer designated as the storage destination by the buffer control means. The compression processing is executed by interrupting the generation processing of the reduced image data by the image reduction means that is being executed at the same time.
  The electronic still camera according to claim 3 is the electronic still camera according to claim 1 or 2, wherein the image pickup means, data generation means, image reduction means, and buffer control until the recording capacity of the recording means is full. The operation by the means, the compression means and the recording means is continued.
  5. The electronic still camera according to claim 4, wherein image pickup means for successively picking up an image of a subject and sequentially generating a signal of the subject image, and data generation for sequentially generating image data of the subject image based on the signal of the subject image. Means, image reduction means for reducing the image data generated by the data generation means to sequentially generate reduced image data, and a plurality of reduced image data sequentially generated by the image reduction means is regarded as one image data. An electronic still camera having a compression means for sequentially compressing and a recording means for sequentially recording image data sequentially compressed by the compression means, each having a plurality of divided cellspluralAn image buffer and the recording meansConsisting of multiple reduced image data recorded inThe image data is decompressed and stored in one image buffer, and the reduced image data is sequentially enlarged and read from each divided cell of the image buffer while being simultaneously read in the recording means.Consisting of multiple reduced image data recorded inBuffer control means for decompressing the next image data and developing it into the other image buffer; display control means for sequentially displaying the subject image on the display means based on the reduced image data enlarged by the buffer control means; It is provided with.
  According to a fifth aspect of the present invention, in the electronic still camera according to the fourth aspect, the buffer control means interrupts the enlargement processing of the reduced image data that is executed to sequentially display the subject image on the display means. The decompression process is executed.
  The electronic still camera according to claim 6 is the electronic still camera according to claim 4 or claim 5, wherein the buffer control means sets a period for sequentially enlarging and reading the reduced image data at the time of recording the reduced image. It is characterized by being synchronized with the period.
  The method of controlling an electronic still camera according to claim 7, wherein the subject is continuously imaged to sequentially generate a subject image signal, and the subject image signal is sequentially generated based on the subject image signal. In an electronic still camera control method for displaying a subject image on a display unit based on the image data, a first method of sequentially generating reduced image data by reducing image data that is a source of a subject image being displayed on the display unit. Step and whenever the subject image displayed on the display means is updated.One of a plurality of image buffers each having a plurality of divided cells is designated as a storage destination, and the storage destinationIn multiple divided cells of the image bufferThe reduced image dataStore sequentiallyOneWhen the divided cells of the image buffer are fullThe other oneSwitch to image bufferStoreThe second step of continuing the operation and the second stepSpecify as storage location While the reduced image data is sequentially stored in the selected image buffer, another divided cell of the plurality of image buffersStored iningAnd a third step of treating the reduced image data as one piece of image data, compressing it, and recording it on a recording means.
  The electronic still camera control method according to claim 8 is the electronic still camera control method according to claim 7, wherein the first step, the second step, and the third step until the recording capacity of the recording unit is full. The operation according to is continued.
  The electronic still camera according to claim 9 is the electronic still camera according to claim 1, wherein the plurality of image buffers further include at least two image buffers, and one of the two image buffers includes: While developing the image data from the imaging means that sequentially captures the subject and sequentially generates the signal of the subject image, the developed image data is read from the other of the two image buffers and displayed through. The image reducing means reduces the image data from the imaging means stored in one of the two image buffers and generates the reduced image data.
  The electronic still camera according to claim 10 is the electronic still camera according to claim 1, wherein the plurality of image buffers are used at the time of recording and reproducing a moving image. When one of the image buffers is designated as a storage destination, the reduced image data is sequentially stored in each divided cell of the image buffer, and when the divided cell of the selected image buffer is filled with the reduced image data, While the other one of the plurality of image buffers is designated as the storage destination and the storage operation is continued, at the time of reproducing the moving image, the image data composed of the plurality of reduced image data recorded in the recording means is decompressed. Stored in one image buffer, and the reduced image data is sequentially enlarged and read from each divided cell of the image buffer in parallel while being read out. Next image data composed of a plurality of reduced image data recorded in the recording means is decompression process, characterized in that it is deployed in the other image buffer.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is an external view of an electronic still camera. The illustrated electronic still camera 10 includes various key switches 12 to 21 (details will be described later) including a shutter key 12 in a camera main body 11, and a strobe 22, a photographic lens 23, a finder 24, and an autofocus unit on the front surface thereof. 25 and the like, and a liquid crystal display 26 is provided on the back side thereof.
[0014]
One of the key switches 12 to 21 is the shutter key 12 as described above, and the others are, for example, a plus key 13, a minus key 14, a power switch 15, a menu key 16, a display key 17, and a recording key. A mode key 18, a self-timer key 19, a strobe mode key 20, a REC / PLAY key 21 and the like. The functions (roles) of these keys are as follows.
(1) Shutter key 12:
In recording mode, as the name suggests, it is a key that works as a “shutter key” (fixes exposure and focus when pressed halfway and captures an image when pressed fully), but in record mode and playback mode (plays back captured images, etc.) This is a multi-function key that also serves as a YES key for understanding various selection items displayed on the liquid crystal display 26 when the menu key 16 is pressed in the mode of outputting to other devices.
(2) Plus key 13:
This key is used to select a playback image and various system settings. “Plus” means the selection direction, which is the direction of the latest image in the case of image selection, and the scanning direction of the liquid crystal display 26 in the case of system setting selection.
(3) Minus key 14:
It has the same function as the plus key except that the direction is reversed.
[0015]
(4) Power switch 15:
This is a switch that turns the camera on and off.
(5) Menu key 16:
This key is used to make various system settings. In the playback mode, various items such as a delete mode (image erasing mode) and a moving image display mode are displayed on the liquid crystal display 26. In the recording mode, for example, the definition of the recorded image necessary for image recording is displayed. Selection items such as on / off of autofocus and shooting time of moving image (continuous) shooting are displayed on the liquid crystal display 26.
(6) Display key 17:
This is a key for displaying various information in an overlapped manner on the image displayed on the liquid crystal display 26. For example, in the recording mode, information such as the remaining number of images that can be shot and the shooting mode (normal shooting, panoramic shooting, moving image shooting) are displayed. In the reproduction mode, the reproduction image attribute information (page number, definition, etc.) is displayed in an overlapping manner.
[0016]
(7) Recording mode key 18:
This key can be used only in the recording mode. In addition to selecting normal shooting, panoramic shooting, and the like, in this embodiment, simple moving image shooting is selected.
(8) Self-timer key 19:
This key turns on and off the self-timer function.
(9) Strobe mode key 20:
Various keys relating to the strobe, for example, forcibly emitting light, prohibiting light emission, and preventing red eyes.
(10) REC / PLAY key 21
This is a key for switching between the recording mode and the reproduction mode. In this example, it is a slide switch, and when it slides up, it will be in recording mode, and when it slides down, it will be in playback mode.
[0017]
FIG. 2 is a block diagram of the electronic still camera in the present embodiment. In FIG. 2, 30 is a CCD (image sensor), 31 is a driver of the CCD 30, 32 is a timing generator (TG), 33 is a sample and hold circuit (S / H), 34 is an analog-digital converter, and 35 is a color process circuit. , 36 is a video transfer circuit, 37 is a buffer memory, 38 is a compression / decompression circuit, 39 is a flash memory (recording means), 40 is a CPU, 41 is a key input unit, 42 is a digital video encoder, and 43 is a bus. Reference numeral 23 is a photographic lens, and 26 is a liquid crystal display.
[0018]
The functions of these parts are as follows.
(A) Photo lens 23:
This is for forming an image of a subject on the light receiving surface of the CCD 30, and is provided with a focusing mechanism for an automatic focusing function. In addition, a zoom function may be provided or a retractable type may be used.
[0019]
(B) CCD 30:
It is a solid-state imaging device that transfers charges in an array. Also called a charge coupled device. Some are used for an analog delay line or the like, but in this specification, in particular, a solid-state image sensor that converts two-dimensional optical information into a time-series (serial string) electrical signal and outputs the electrical signal.
In general, a CCD is composed of a photoelectric conversion unit in which a large number of photoelectric conversion elements are arranged in an array, a charge storage unit that stores output charges of the photoelectric conversion elements, and a charge reading unit that reads out the charges of the charge storage unit by a predetermined method. Each of the photoelectric conversion elements is a pixel. For example, in a CCD having 1 million effective pixels, at least 1 million cells in the array are arranged. Hereinafter, for convenience of explanation, the effective number of pixels of the illustrated CCD 30 is 640 × 480. That is, it has an array structure of 640 columns × 480 rows composed of 640 pixels in the row direction (horizontal direction) and 480 pixels in the column direction (vertical direction).
Note that the CCD 30 of the present embodiment is a color CCD. In general, since the CCD pixel information itself does not have color information, a color CCD is equipped with a color filter array (primary color filter using the three primary colors of light or a complementary color filter using the three primary colors of color) on the front surface, and further on the front surface thereof. An optical low-pass filter for removing a false color signal having a frequency component corresponding to the pitch of the color filter array is mounted, which is omitted in the drawing.
[0020]
CCDs can be divided into two types according to the charge readout method. The first is a “interlaced readout method” (also referred to as an interlaced CCD) in which pixels are skipped one by one when signals are read out, and the second is an “overall readout method” (non-interlaced CCD) in which all pixels are read in order. Or a progressive CCD). Although the second type is often used in an electronic still camera, the first type is sometimes used in an electronic still camera of a megapixel class exceeding 1 million pixels. Hereinafter, for convenience of explanation, the CCD 30 of the present embodiment is assumed to be of the second type (full-face reading method).
[0021]
(C) Driver 31 and timing generator 32:
This is a part that generates a drive signal necessary for reading out the CCD 30, and the CCD 30 outputs an image signal in synchronism with this drive signal. Since the CCD 30 according to the present embodiment is assumed to be a full surface readout method, a drive signal that can transfer (read) pixel information in units of rows while designating each column of the CCD 30 one after another, in other words, 640 columns. The horizontal and vertical drive signals for serially reading out pixel information in the direction from the upper left to the lower right of the array structure of 480 rows (this direction is similar to the scanning direction of the television) are generated.
(D) Sample hold circuit 33:
A time-series signal (analog signal at this stage) read from the CCD 30 is sampled (for example, correlated double sampling) at a frequency suitable for the resolution of the CCD 30. Note that automatic gain adjustment may be performed after sampling.
(E) Analog-digital converter 34:
The sampled signal is converted into a digital signal.
[0022]
(F) Color process circuit 35:
This is a part for generating a luminance / color difference multiplexed signal (hereinafter referred to as YUV signal) from the output of the analog-digital converter 34. The reason for generating the YUV signal is as follows. The output of the analog-to-digital converter 34 corresponds to the output of the CCD 30 substantially one-to-one except for the difference between analog and digital and sampling and digital conversion errors, and is the light primary color data (RGB data) itself. This data has a large size, which is inconvenient in terms of the use of limited memory resources and processing time. Therefore, it is necessary to reduce the amount of data by some method. In general, each element data (R data, G data, and B data) of RGB data can be expressed by three color difference signals of GY, RY, and BY with respect to the luminance signal Y. If the redundancy of these three color difference signals is removed, it is not necessary to transfer G-Y, and it is a kind of data based on the principle that it can be reproduced by G-Y = α (R−Y) −β (B−Y). It can be said that it is a quantity reduction signal. Here, α and β are synthesis coefficients.
[0023]
The YUV signal is sometimes referred to as a YCbCr signal (Cb and Cr are BY and RY, respectively), but in this specification, the YUV signal is unified. The signal format of the YUV signal is composed of three fixed-length blocks called “components” each independently including a luminance signal and two color difference signals, and the length (number of bits) of each component. The ratio is called the component ratio. The component ratio of the YUV signal immediately after conversion is 1: 1: 1, but the data amount can also be reduced by shortening the two components of the color difference signal, that is, 1: x: x (where x <1). Can be reduced. This is based on the fact that human visual characteristics are less sensitive to color difference signals than luminance signals.
[0024]
(G) Video transfer circuit 36:
This is equivalent to the video transfer circuit 6 of FIG. 11 described at the beginning. That is, the video transfer circuit 36 constitutes a color process circuit 35 (which constitutes the exit of the imaging system), a buffer memory 37, a digital video encoder 42 (which constitutes the entrance of the display system), and a main part of the compression / decompression system. This is to control the flow of data going back and forth between the compression / decompression circuit 38. Specifically, the first flow shown in the imaging preparation stage where the composition is adjusted while viewing the display on the liquid crystal display 26. 1) and 2nd flow (2) are allowed, and the third flow (3) shown in the figure is allowed at the recording stage in which the shutter key 12 is pressed to capture the displayed image in the flash memory 39, and the desired image is displayed. The second flow (2) and the fourth flow (4) shown in the figure are permitted in the reproduction stage of reading from the flash memory 39 and displaying on the liquid crystal display 26, Furthermore, the illustrated fifth flow (5) is allowed at the moving image recording stage in which moving images are recorded, and further the sixth flow (6) is permitted at the moving image reproduction stage in which moving images are reproduced. To do.
[0025]
The “flow” is a convenient expression that conceptually captures the movement of data passing between the color process circuit 35, the buffer memory 37, the digital video encoder 42, and the compression / decompression circuit 38. In general, for digital systems, the quick movement of data directly affects its performance, and especially for electronic still cameras that handle large amounts of pixel information (fast movement of data) is naturally considered. Since this is one of the design conditions that must be established, all or part of the above flow means a data flow using a high-speed data transfer method. That is, the first to sixth flows {circle around (1)} to {circle around (6)} are flows by, for example, DMA (direct memory access) transfer, and the video transfer circuit 36 has a control unit (DMA controller) and other components necessary for it. A peripheral part (for example, a FIFO memory and an interface circuit for adjusting a transfer rate) is included, and by the operation of each of these parts, a “process” between the color process circuit 35, the buffer memory 37, the digital video encoder 42 and the compression / decompression circuit 38 Arbitrates “rapid data transfer” (eg, DMA transfer).
[0026]
(H) Buffer memory 37:
It is composed of a DRAM which is a kind of rewritable semiconductor memory. In general, a DRAM is different from a static RAM (SRAM) in that data is rewritten (refreshed) dynamically in order to retain stored contents. However, although the writing and reading speed is inferior to that of an SRAM, the bit unit price is low. Since a large-capacity temporary storage can be constructed at low cost, it is particularly suitable for an electronic still camera. However, the present invention is not limited to DRAM. Any rewritable semiconductor memory may be used.
[0027]
Here, the storage capacity of the buffer memory 37 must satisfy all of the following conditions. The first condition is that the capacity is enough to secure a sufficient work area (work space) necessary for work. The size of the work space is determined by the architecture of the CPU 40, the OS (operating system), and various application programs executed under the management of the OS. That's fine. The second condition is a size capable of storing at least two screens of high-definition image information generated by the color process circuit 35 (image information of 640 × 480 pixels and a 1: 1: 1 component ratio). In addition, the third condition is a buffer (hereinafter referred to as a buffer of a size that can store a moving image (640 × 480 pixels) for two screens). “Video buffer”) is a capacity that can be secured.
FIG. 3 is a diagram showing a memory map of the buffer memory 37, where # 1 to # 4 are buffer areas. The size of each buffer is the same, and the usage is not fixed. That is, each buffer can be shared by the image buffer and the moving image buffer.
[0028]
(I) Compression / decompression circuit 38:
This is the part that performs JPEG compression and decompression. The compression parameter of JPEG may be fixed, or may be given from the CPU 40 every time compression processing is performed. The compression / decompression circuit 38 should be dedicated hardware in terms of processing speed, but can also be performed by the CPU 40 in software.
[0029]
JPEG is an abbreviation for joint photographic experts group, and is an international coding standard for color still images (full color or gray scale still images not including binary images and moving images). JPEG defines two methods, lossless encoding that can completely restore compressed data and irreversible encoding that cannot be restored. In most cases, the latter method has a high compression rate. Lossy encoding is used. The ease of use of JPEG lies in that the degree of image quality degradation accompanying encoding can be freely changed by adjusting parameters (compression parameters) used for compression. In other words, on the encoding side, an appropriate compression parameter can be selected from the trade-off between image quality and file size, or on the decoding side, the decoding speed is increased at the expense of some quality, and it takes time. It is easy to use because it can be selected for playback at the highest quality. The practical compression ratio of JPEG is about 10: 1 to 50: 1 in the case of lossy codes. In general, visual degradation does not occur if 10: 1 to 20: 1, but 30: 1 to 50: 1 is sufficiently practical if some degradation is allowed. Incidentally, the compression rate of other encoding schemes is, for example, about 5: 1 in the case of GIF (graphics interchange format), so the superiority of JPEG is clear.
[0030]
(J) Flash memory 39:
This refers to a rewritable read-only memory (PROM) that can electrically rewrite the contents by erasing the contents of all bits (or blocks). Also called flash EEPROM (flash electrically erasable PROM). The flash memory 39 in the present embodiment may be a fixed type that cannot be removed from the camera body, or a removable type such as a card type or a package type. Note that the flash memory 39 needs to be initialized (formatted) in a predetermined format, whether it is a built-in type or a removable type. In the initialized flash memory 39, the number of images corresponding to the storage capacity can be recorded. For example, if the compressed image size is 100 KB, 40 sheets can be recorded with a capacity of 4 MB and 80 sheets can be recorded with a capacity of 8 MB.
(L) CPU 40:
A predetermined program is executed to centrally control the operation of the camera. The program is written in the instruction ROM inside the CPU 40. In the recording mode, the program for the mode is loaded into the internal RAM of the CPU 40 from the instruction ROM for execution in the playback mode. Is done.
[0031]
(M) Key input unit 41:
This is a part for generating operation signals of various key switches provided in the camera body.
(N) Digital video encoder 42:
A digital display image read from the image buffer of the buffer memory 37 via the video transfer circuit 36 is converted into an analog voltage, and sequentially output at a timing according to the scanning method of the liquid crystal display 26. .
(O) Bus 43:
This is the data (and address) transfer path shared between the above portions. Although omitted in the figure, necessary control lines are also provided between the respective parts.
[0032]
Next, the operation will be described. First, an outline of image recording and reproduction will be described.
<Recording mode>
In this mode, the CCD 30 disposed behind the photographic lens 23 is driven by a signal from the driver 31, and the video collected by the photographic lens 23 is photoelectrically converted at every fixed period Ta to output a video signal for one image. Is done. The video signal is sampled by the sampling and holding circuit 33 and converted into a digital signal by the analog / digital converter 34, and then a YUV signal is generated by the color process circuit 35. This YUV signal is transferred to the image buffer of the buffer memory 37 via the video transfer circuit 36 (first flow (1)), and read out by the video transfer circuit 36 after the transfer to the buffer is completed (second flow). The flow (2)) is sent to the liquid crystal display 26 via the digital video encoder 42 and displayed as a through image.
[0033]
If the orientation of the camera is changed in this state, the composition of the through image displayed on the liquid crystal display 26 changes, and the shutter key 12 is "half-pressed" at an appropriate time (when the desired composition is obtained). When the exposure and focus are set and “full press” is performed, the YUV signal stored in the image buffer of the buffer memory 37 is fixed to the YUV signal at that time, and the through image displayed on the liquid crystal display 26 is also simultaneously displayed. Fixed with a point image.
Then, the YUV signal stored in the image buffer of the buffer memory 37 at that time is sent to the compression / decompression circuit 38 via the video transfer circuit 36 (third flow (3)), and Y, Cb, Cr Each component is JPEG-encoded in units called 8 × 8 pixel basic blocks, written to the flash memory 39, and recorded as a captured image for one image.
[0034]
<Playback mode>
In this mode, the path from the CCD 30 to the buffer memory 37 (first flow (1)) is stopped, and the latest captured image is read from the flash memory 39 and decompressed by the compression / decompression circuit 38. Thereafter, it is sent to the image buffer of the buffer memory 37 via the video transfer circuit 36 (fourth flow (4)). Then, the data in the image buffer is sent to the liquid crystal display 26 via the video transfer circuit 36 and the digital video encoder 42 (second flow (2)) and displayed as a reproduced image.
By pressing the plus key 13 or the minus key 14, this operation can be repeated while moving the image read from the flash memory 39 forward or backward, and a desired image can be reproduced.
[0035]
<State Transition of Buffer Memory 37 (Normal Shooting Mode)>
FIG. 4 is a diagram illustrating state transitions of the buffers # 1 to # 4 in the normal shooting mode. In the following description, for the sake of simplification, it is assumed that the capture period of image data from the imaging system is (interrupt period of CCD 30) Ta, the display period of the display system is Tb, and Ta = Tb.
In FIG. 4, “imaging system” and “display system” described in each buffer indicate that the buffer is currently accessed from the “system”. That is, the initial state diagram (a) at the left end shows that, for example, the buffer # 1 is accessed from the imaging system, and the image data from the color process circuit 35 is being developed in the buffer # 1. In the next state diagram (b) in the initial state, the buffer # 1 is accessed from the display system, and another buffer, for example, the buffer # 2 is accessed from the imaging system, and is expanded in the buffer # 1. In addition to the fact that the already-read image data is being read out by the digital video encoder 42, the image data from the color process circuit 35 is being developed in the buffer # 2 in parallel therewith. Similarly, in the next state diagram (c), the buffer # 1 is accessed from the imaging system, the buffer # 2 is accessed from the display system, and the image data from the color process circuit 35 is stored in the buffer # 1. In parallel with this, it is shown that the image data already developed in the buffer # 2 is being read out by the digital video encoder 42. In the subsequent state transition, the state diagram (b) and the state diagram (c) are sequentially repeated. Eventually, the image data is developed in one of the two buffers (# 1 and # 2 in the figure). In the meantime, the alternate access of reading the developed image data from the other buffer is performed.
[0036]
<State Transition of Buffer Memory 37 (Normal Playback Mode)>
FIG. 5 is a diagram illustrating state transitions of the buffers # 1 to # 4 in the normal reproduction mode. In the following description, for simplification, it is assumed that the processing time of the compression / decompression processing system is Tc, the display cycle of the display system is Tb, and Tc = Tb.
In FIG. 5, “compression / decompression processing system” and “display system” described in each buffer indicate that the buffer is currently being accessed from the “system”. That is, the initial state diagram (a) at the left end shows that, for example, the buffer # 1 is accessed from the compression / decompression processing system, and the image data from the compression / decompression circuit 38 is being decompressed in the buffer # 1. ing. Further, in the next state diagram (b) in the initial state, the buffer # 1 is accessed from the display system, and another buffer, for example, the buffer # 2 is accessed from the compression / decompression processing system. 1 shows that the image data already developed is being read out by the digital video encoder 42, and at the same time, the image data from the compression / decompression circuit 38 is being developed in the buffer # 2. Similarly, in the next state diagram (c), the buffer # 1 is accessed from the compression / decompression processing system and the buffer # 2 is accessed from the display system, and the image data from the compression / decompression circuit 38 is received. While the image data is being developed in the buffer # 1, the image data already developed in the buffer # 2 is being read out by the digital video encoder 42 in parallel therewith. In the subsequent state transition, the state diagram (b) and the state diagram (c) are sequentially repeated. Eventually, the image data is developed in one of the two buffers (# 1 and # 2 in the figure). In the meantime, the alternate access of reading the developed image data from the other buffer is performed.
[0037]
By the way, there are four buffers # 1 to # 4 shown in FIGS. 4 and 5, and according to each state transition described above, two buffers (# 3 and # 4 in the figure) are not used. However, these unused buffers are used as “moving image buffers” in the moving image shooting mode described below.
[0038]
<State Transition of Buffer Memory 37 (Movie Shooting Mode)>
FIG. 6 is a diagram showing a state transition of the “moving image buffer” in the moving image shooting mode (unused buffers # 3 and # 4 in the above-described state transition; hereinafter, this buffer number is used for convenience).
Movie buffer # 3 and # 4 are 1/4nUsed in equal parts. Here, for the time being (1/4)n) Is determined by the frame image reduction rate (thinning rate). For example, when image data of 640 × 480 pixels is reduced to a frame image of 160 × 120 pixels, it is 1/16. That is, the moving image buffers # 3 and # 4 are composed of 16 divided cells of the same size as shown by the cells in the drawing.
[0039]
When the moving image shooting is started, first, a frame image (for example, image data stored in the buffer # 1 in the state diagram (b) of FIG. 4) that is a source of the through image displayed on the liquid crystal display 26 at that time. The reduced image is generated, and the reduced image is stored in the first cell of one of the two moving image buffers (# 3 in the figure) (S2_1). Here, the reduction process is a pixel thinning process. To reduce an image of 640 × 480 pixels to an image of 160 × 120 pixels, simply select one of the 4 × 4 pixels. Good. In order to perform the thinning process, necessary pixel data (data of one pixel of 4 × 4 pixels) is read from the buffer memory 37, and the pixel data is written to the buffer memory 37. Data at the time of reading and writing The above-mentioned fifth flow (5) is a schematic representation of this flow.
[0040]
Next, when the through image displayed on the liquid crystal display 26 is updated, the frame image (for example, image data stored in the buffer # 2 in the state diagram (c) of FIG. 4) becomes the original of the through image. ) And the reduced image is stored in the second cell of the same moving image buffer (# 3) (S2_2).
Each time the display of the through image is updated, a reduced image of the frame image that is the basis of the through image is generated, and the reduced image is used as the third, fourth,... When the reduced image is stored in the 15th cell (S2_3 to S2_15) and the reduced image is stored in the last cell (the 16th cell in the lower right corner of buffer # 3) (S2_16), the reduced image is stored. The other operation is switched to the other moving image buffer (# 4), and the same operation as described above is repeated.
[0041]
That is, every time the display of the through image is updated, a reduced image of the frame image that is the source of the through image is generated, and the reduced image is displayed in the first, second, third, ..., Sequentially stored in the 15th cell (S2_17 to S2_31), and when the reduced image is stored in the last cell (the 16th cell in the lower right corner of buffer # 4) (S2_32), the reduced image Is switched to the other moving image buffer (# 3).
Further, every time the display of the through image is updated, a reduced image of the frame image from which the through image is generated is generated, and the reduced image is displayed in the first, second, and third of the moving image buffer (# 3). ,... Are sequentially stored in the 15th cell (S2_33 to S2_47), and when the reduced image is stored in the last cell (the 16th cell in the lower right corner of buffer # 3) (S2_48), the reduction is performed. When the image storage destination is switched to the other moving image buffer (# 4) and the display of the through image is updated again, step S2_17 and subsequent steps are repeated endlessly, and the end of moving image shooting or the free space in the flash memory 39 is zero ( Alternatively, the repetition is stopped when the predetermined amount is reached.
[0042]
Here, the processing from S2_1 to S2_16 (particularly, the reduced image storage processing) is exactly the same as that of the prior art described at the beginning (see FIG. 13). The difference from the prior art is that the two moving image buffers are alternately switched and used, and as shown in the whole of S2_1 to S2_16 and S2_17 to S2_48, the reduced images (frame images) having the number of divided cells or more are continuously and endlessly displayed. It can be stored in
That is, in the conventional technique, only 16 frame images (the number of frames × the number of frame images in the case where a plurality of multi-screen images can be stored) can be stored at the maximum, but in the present embodiment, There is no limit determined by the capacity of the buffer memory, and the number of stored frame images can be dramatically increased. However, although the reason will be described later, the free space of the flash memory 39 is limited.
[0043]
  Now, paying attention to S2_17, in this step, storage of 16 frame images has been completed in the moving image buffer (# 3) which is not the storage destination of the frame image. Also,S2_33Similarly, the storage of 16 frame images is completed in the moving image buffer (# 4) which is not the storage destination of the frame images.
[0044]
Therefore, if the 16 stored frame images are regarded as one image, the compression and recording processing of the images and the reduction processing and storage processing of the frame images can be performed simultaneously. While continuing the process of reducing and storing frame images in the buffer, on the other hand, the stored 16 frame images can be recorded one after another in the flash memory 39 as a single image (after being compressed). Since the limit is determined by the free capacity of the flash memory 39, as described above, for example, if the image size after compression is 100 KB and the free capacity of the flash memory 39 is 8 MB, a maximum of 80 images can be recorded. In frame image conversion, a large amount of 80 × 16 = 1280 moving images can be recorded. By the way, if this number is adjusted to the shooting time, it takes about 21 minutes at 0.1 second intervals, which makes it possible to shoot for a long time comparable to a home-use digital video camera. An exceptional effect with impact can be obtained.
[0045]
FIG. 7 is a timing chart in the moving image shooting mode. In this figure, Ta is an image data capturing period from the imaging system, and the horizontal axis with a scale for each Ta represents a time axis. A three-stage process column is provided below the time axis, the CCD 30 interrupt process period is in the upper process column, the process period for one video buffer # 3 is in the middle process column, In the lower process column, the processing period for the other moving image buffer # 4 is described in an appropriate notation method. That is, the upper white band pattern (which may appear to be a square in the figure) indicates the interrupt processing period of the CCD 30 by the length in the time axis direction, and the hatched band pattern in the middle and lower stages has a length in the time axis direction. The thinning (and storage) processing period is shown, and the middle and lower black belt patterns indicate the compression (and recording) processing period by the length in the time axis direction. The priority of these processes is “interrupt process of CCD 30”> “decimation (and storage) process”> “compression (and recording) process”.
[0046]
The reference numerals with S in the figure are the same as the step numbers in the state transition diagram of FIG. According to FIG. 7, when moving image shooting is started, first, whenever a through image is updated, a reduced image of the through image is generated and the first, second,... , Sequentially stored in the 16th cell (S2_1, S2_2,..., S2_16), each time the through image is updated, a reduced image of the through image is generated to generate the other moving image buffer. Store sequentially in the first, second,..., And 16th cells of # 4 (S2_17, S2_18,...), But this reduction processing is already stored in one video buffer # 3. It can be seen that the 16 frame image compression processes are simultaneously executed in parallel according to the above priority order. Note that “N” in S2_N−1 and S2_N is the number of through images during moving image recording, and this N is the number of frame images finally recorded in the flash memory 39 (1280 frames according to the above calculation). )become.
[0047]
<State transition of buffer memory 37 (video playback mode)>
FIG. 8 is a diagram illustrating state transitions of the moving image buffers # 3 and # 4 in the moving image reproduction mode.
To reproduce a moving image, first, the first image composed of 16 frame images is read from the flash memory 39 and decompressed by the compression / decompression circuit 38, and the decompressed image is transmitted via the video transfer circuit 36. Then, the data is sent to the buffer memory 37 (fourth flow (4)), and expanded into one moving image buffer (# 3 in the figure).
Then, the first cell image in the moving image buffer # 3 is read by the video transfer circuit 36 (sixth flow (6)), subjected to enlargement processing, and then written again into the image buffer of the buffer memory 37 (sixth flow (6). (2) By sending the data in the image buffer memory to the digital video encoder 42 via the video transfer circuit 36 (second flow (2)), the initial screen (still image) of the moving image is displayed on the liquid crystal display 26. (S3_1).
[0048]
Thereafter, when a moving image start button (for example, the shutter key 12) is pressed, the second, third,..., And 16th cell images in the moving image buffer # 3 are sequentially enlarged to obtain two image buffers. Are alternately written, and the frame images of the moving image are continuously displayed on the liquid crystal display 26 (S3_2 to S3_16).
Here, between S3_2 to S3_16, the second image read from the flash memory 39 and decompressed is simultaneously expanded in the other moving image buffer # 4. If the timing of completion of the development is set before the timing of completion of reading of the 16th frame image in one moving image buffer # 3 (the timing is matched for convenience in the drawing), When the reading of the frame image has been completed, the second image has already been completely developed in the other video buffer # 4. Henceforth, it is sufficient to replace the video buffer and repeat the same processing as above ( S3_17 to S3_32) Since the process can be continued endlessly, the display can be continued until the end of the moving image recorded in the flash memory 39. When the end of the moving image is reached, the display may be repeated by returning to the first image.
[0049]
FIG. 9 is a timing chart in the moving image playback mode. In this figure, Tb is the display cycle of the display system, which is equal to the capture cycle Ta of image data from the imaging system, and the horizontal axis with a scale for each Tb represents the time axis. A two-step process column is provided on the lower side of the time axis, the processing period for one video buffer # 3 is displayed in the upper process column, and the other video buffer # 4 is displayed in the lower process column. Each processing period is described in an appropriate notation. That is, the upper and lower black band patterns indicate the image expansion processing period by the length in the time axis direction, and the hatched band patterns indicate the image enlargement processing period by the length in the time axis direction. The priority of these processes is “enlargement process”> “decompression process”.
[0050]
The reference numerals with S in the figure are the same as the step numbers in the state transition diagram of FIG. According to FIG. 9, first, the first image is read from the flash memory 39 and decompressed, and then expanded in the image buffer # 3. After that, along with the start of moving image reproduction, 1 of the image buffer # 3 is displayed. The second,..., 16th cell images are sequentially enlarged (S3_1, S3_2,..., S3_16) and displayed on the liquid crystal display 26. It can be seen that the process of reading out the image from the flash memory 39, decompressing the image, and developing the image in the image buffer # 3 is executed concurrently in accordance with the above priority order. Note that “N” in S3_N−1 and S3_N is the number of frame images recorded in the flash memory 39 (1280 frames according to the above calculation).
[0051]
<Summary>
As described above, according to the present embodiment, a moving image can be recorded and reproduced to the full capacity of the flash memory 39 only by preparing two image buffers and a moving image buffer. As described above, the number of recorded images is 1280 frames with a capacity of 8 MB (however, the recorded image size is assumed to be 100 KB), so that it is possible to shoot (reproduce) for a long time of about 21 minutes. , Special effects that cannot be compared with the prior art (64 frames, 6.4 seconds) can be obtained.
[0052]
【The invention's effect】
According to the first or seventh aspect of the invention, each time the subject image displayed on the display means is updated, the reduced image data of the subject image is sequentially stored in the divided cells of one image buffer. When the divided cell of one image buffer becomes full, the operation is continued by switching to the other image buffer, and all the reductions stored in the plurality of divided cells of the image buffer not designated as the storage destination are performed. Since image data is compressed and recorded as one piece of image data, storage of reduced image data in a buffer and compression / recording of a plurality of reduced image data are performed simultaneously in parallel while switching the image buffer. It can be carried out. Therefore, regardless of the size of the image buffer, the number of moving picture frames can be greatly increased, so that a moving picture shooting time of a practically sufficient length can be achieved.
According to an electronic still camera of claim 2, in the electronic still camera of claim 1, the compression means sequentially stores the reduced image data in the image buffer designated as the storage destination by the buffer control means. Therefore, since the compression processing is executed by interrupting the generation processing of the reduced image data by the image reduction means that is being executed, the bus can be shared and the cost can be reduced.
4. The electronic still camera according to claim 1, wherein the image pickup means, the data generation means, and the image reduction means until the recording capacity of the recording means is full. Since the operations of the buffer control means, the compression means and the recording means are continued, a large amount of moving image recording can be performed regardless of the size of the image buffer.
According to the invention of claim 4 or claim 8, the image data in the recording means is simultaneously decompressed while the frame image data is sequentially enlarged and read from each divided cell of one moving image buffer. The processed image is expanded in the other moving image buffer and the subject image is displayed on the display unit based on the read frame image data. Therefore, the moving image recorded in the recording unit can be reproduced over a long period of time. For example, a preferred electronic still camera can be provided in combination with the invention described in claim 1.
According to an electronic still camera of a fifth aspect, in the electronic still camera according to the fourth aspect, the buffer control means performs an enlargement process of the reduced image data that is executed to sequentially display the subject image on the display means. Since the decompression process is executed by interrupting, the bus or the like can be shared, and the cost can be reduced.
According to the invention described in claim 6, in the invention described in claim 4, since the cycle of sequentially expanding and reading the frame image data is synchronized with the cycle at the time of recording the frame image, the playback speed of the moving image Can be optimized, and a moving image can be reproduced without a sense of incongruity.
[Brief description of the drawings]
FIG. 1 is an external view of an electronic still camera.
FIG. 2 is a block diagram of an electronic still camera.
FIG. 3 is a conceptual diagram of a memory map of a buffer memory.
FIG. 4 is a state transition diagram of a buffer in a normal shooting mode.
FIG. 5 is a state transition diagram of a buffer in a normal playback mode.
FIG. 6 is a state transition diagram of a buffer in a moving image shooting mode.
FIG. 7 is a timing chart in the moving image shooting mode.
FIG. 8 is a state transition diagram of a buffer in a moving image playback mode.
FIG. 9 is a timing chart in a moving image playback mode.
FIG. 10 is a conceptual diagram of a main part of a conventional electronic still camera.
FIG. 11 is a conceptual diagram of a main part of a conventional electronic still camera having a moving image shooting function.
FIG. 12 is a conceptual diagram of a conventional moving image buffer.
FIG. 13 is a state transition diagram of a conventional moving image buffer.
[Explanation of symbols]
10 Electronic still camera
26 Liquid crystal display (display means)
30 CCD (imaging means)
35 color process circuit (data generation means)
37 Buffer memory (image buffer)
38 Compression / decompression circuit (compression means)
39 Flash memory (recording means)
40 CPU (display control means, image reduction means, buffer control means)
42 Digital video encoder (display means)

Claims (10)

被写体を連続して撮像して被写体像の信号を順次発生する撮像手段と、
前記被写体像の信号に基づいて前記被写体像の画像データを順次生成するデータ生成手段とを有する電子スチルカメラにおいて、
前記データ生成手段により生成された画像データを縮小して縮小画像データを順次生成する画像縮小手段と、
各々複数個の分割セルを有する複数の画像バッファと、
前記複数の画像バッファの一つを格納先に指定して、その画像バッファの各分割セルに前記縮小画像データを順次に格納し、該選択された画像バッファの分割セルが前記縮小画像データで一杯になると前記複数の画像バッファの他の一つを格納先に指定して当該格納動作を継続するバッファ制御手段と、
前記バッファ制御手段によって格納先に指定された画像バッファに前記縮小画像データが順次に格納されている間、前記複数の画像バッファの他の一つに格納されている全ての縮小画像データを1つの画像データとみなして圧縮処理する圧縮手段と、
前記圧縮手段の出力を記録する記録手段と、
を備えたことを特徴とする電子スチルカメラ。
Imaging means for continuously imaging a subject and sequentially generating a signal of the subject image;
In an electronic still camera having data generation means for sequentially generating image data of the subject image based on the signal of the subject image,
Image reduction means for reducing the image data generated by the data generation means and sequentially generating reduced image data;
A plurality of image buffers each having a plurality of divided cells;
One of the plurality of image buffers is designated as a storage destination, the reduced image data is sequentially stored in each divided cell of the image buffer, and the divided cells of the selected image buffer are filled with the reduced image data. Then, buffer control means for designating another one of the plurality of image buffers as a storage destination and continuing the storage operation ,
While the reduced image data is sequentially stored in the image buffer designated as the storage destination by the buffer control means, all the reduced image data stored in the other one of the plurality of image buffers is stored in one A compression means for performing compression processing considering image data;
Recording means for recording the output of the compression means;
An electronic still camera comprising:
前記圧縮手段は、前記バッファ制御手段によって格納先に指定されている方の画像バッファに縮小画像データを順次格納するために実行されている前記画像縮小手段による縮小画像データの生成処理に割り込んで圧縮処理を実行することを特徴とする請求項1記載の電子スチルカメラ。  The compression means interrupts and compresses the reduced image data generated by the image reduction means, which is executed to sequentially store the reduced image data in the image buffer designated as the storage destination by the buffer control means. 2. The electronic still camera according to claim 1, wherein processing is executed. 前記記録手段の記録容量が一杯になるまで、前記撮像手段、データ生成手段、画像縮小手段、バッファ制御手段、圧縮手段及び記録手段による動作を継続することを特徴とする請求項1又は請求項2記載の電子スチルカメラ。  3. The operation by the imaging means, data generation means, image reduction means, buffer control means, compression means and recording means is continued until the recording capacity of the recording means is full. The electronic still camera described. 被写体を連続して撮像して被写体像の信号を順次発生する撮像手段と、
前記被写体像の信号に基づいて前記被写体像の画像データを順次生成するデータ生成手段と、
前記データ生成手段により生成された画像データを縮小して縮小画像データを順次生成する画像縮小手段と、
前記画像縮小手段により順次生成される複数の縮小画像データを1つの画像データとみなして順次圧縮処理する圧縮手段と、
前記圧縮手段により順次圧縮処理された画像データを順次記録する記録手段とを有する電子スチルカメラにおいて、
各々複数個の分割セルを有する複数の画像バッファと、
前記記録手段内に記録されている複数の縮小画像データからなる画像データを伸長処理して一方の画像バッファに格納し、該画像バッファの各分割セルから縮小画像データを順次に拡大処理して読み出している間に同時並行的に記録手段内に記録されている複数の縮小画像データからなる次の画像データを伸長処理して他方の画像バッファに展開するバッファ制御手段と、
前記バッファ制御手段によって拡大処理された縮小画像データに基づいて表示手段に被写体像を順次表示させる表示制御手段と、
を備えたことを特徴とする電子スチルカメラ。
Imaging means for continuously imaging a subject and sequentially generating a signal of the subject image;
Data generating means for sequentially generating image data of the subject image based on the signal of the subject image;
Image reduction means for reducing the image data generated by the data generation means and sequentially generating reduced image data;
A compression means for sequentially compressing a plurality of reduced image data sequentially generated by the image reduction means as one image data;
In an electronic still camera having recording means for sequentially recording image data sequentially compressed by the compression means,
A plurality of image buffers each having a plurality of divided cells;
Image data composed of a plurality of reduced image data recorded in the recording means is decompressed and stored in one image buffer, and the reduced image data is sequentially enlarged and read from each divided cell of the image buffer. Buffer control means for decompressing the next image data composed of a plurality of reduced image data recorded in the recording means in parallel while being expanded in the other image buffer,
Display control means for sequentially displaying subject images on the display means based on the reduced image data enlarged by the buffer control means;
An electronic still camera comprising:
前記バッファ制御手段は、表示手段に被写体像を順次表示させるために実行されている縮小画像データの拡大処理に割り込んで前記伸長処理を実行することを特徴とする請求項4記載の電子スチルカメラ。  5. The electronic still camera according to claim 4, wherein the buffer control means interrupts the enlargement process of the reduced image data that is executed to display the subject image on the display means in sequence, and executes the extension process. 前記バッファ制御手段は、縮小画像データを順次に拡大処理して読み出す周期を、該縮小画像の記録時の周期に同期させることを特徴とする請求項4又は請求項5記載の電子スチルカメラ。  6. The electronic still camera according to claim 4, wherein the buffer control unit synchronizes a cycle of sequentially reducing and reading the reduced image data with a cycle when recording the reduced image. 被写体を連続して撮像して被写体像の信号を順次発生し、
前記被写体像の信号に基づいて前記被写体像の画像データを順次生成するとともに、
前記画像データに基づいて表示手段に被写体像を表示させる電子スチルカメラの制御方法において、
前記表示手段に表示中の被写体像の元になる画像データを縮小して縮小画像データを順次生成する第1ステップと、
前記表示手段に表示中の被写体像が更新される度に各々複数個の分割セルを有する複数の画像バッファの一つを格納先に指定して、その格納先の画像バッファの複数個の分割セルに前記縮小画像データを順次に格納していき該一つの画像バッファの分割セルが一杯になると他の一つの画像バッファに切り換えて当該格納動作を継続する第2ステップと、
前記第2ステップによって格納先に指定された画像バッファに前記縮小画像データが順次に格納されている間、前記複数の画像バッファの他の一つの分割セルに格納されている縮小画像データを1つの画像データとみなして圧縮処理し記録手段に記録する第3ステップと、
を含むことを特徴とする電子スチルカメラの制御方法。
Continuously image the subject and generate subject image signals sequentially,
The image data of the subject image is sequentially generated based on the signal of the subject image,
In an electronic still camera control method for displaying a subject image on a display means based on the image data,
A first step of sequentially generating reduced image data by reducing image data that is a source of a subject image being displayed on the display means;
Each time a subject image displayed on the display means is updated , one of a plurality of image buffers each having a plurality of divided cells is designated as a storage destination, and a plurality of divided cells of the storage destination image buffer are designated. When divided cells of the reduced image data are sequentially stored to continue the single image buffer is full and a second step of continuing the storage operation is switched to the other one of the image buffers,
Wherein while the reduced image data to the image buffer specified storage destination by the second step are stored sequentially, the reduced image data to one that is stored in the other one of the divided cells of the plurality of image buffers A third step in which the image data is compressed and recorded in the recording means;
A method for controlling an electronic still camera, comprising:
前記記録手段の記録容量が一杯になるまで、前記第1ステップ、第2ステップ及び第3ステップによる動作を継続することを特徴とする請求項7記載の電子スチルカメラの制御方法。  8. The method of controlling an electronic still camera according to claim 7, wherein the operations of the first step, the second step, and the third step are continued until the recording capacity of the recording unit is full. 前記複数の画像バッファは、さらに、少なくとも二つの画像バッファを備えるものであって、The plurality of image buffers further include at least two image buffers,
該二つの画像バッファの一方に、被写体を連続して撮像して被写体像の信号を順次発生する撮像手段からの画像データを展開している間に、該二つの画像バッファの他方から展開済みの画像データを読み出して表示用のスルー画像とすると共に、While the image data from the imaging means that sequentially captures the subject and sequentially generates the signal of the subject image is expanded in one of the two image buffers, the image has already been expanded from the other of the two image buffers. While reading out the image data and making it a through image for display,
前記画像縮小手段は、当該二つの画像バッファの一方に格納された前記撮像手段からの画像データを縮小して前記縮小画像データを生成することを特徴とする請求項1記載の電子スチルカメラ。2. The electronic still camera according to claim 1, wherein the image reduction means reduces the image data from the imaging means stored in one of the two image buffers to generate the reduced image data.
前記複数の画像バッファは、動画の記録時と再生時に兼用されるものであって、The plurality of image buffers are used at the time of recording and reproducing a moving image,
動画の記録時には、前記複数の画像バッファの一つが格納先に指定されると共に、その画像バッファの各分割セルに前記縮小画像データが順次に格納され、該選択された画像バッファの分割セルが前記縮小画像データで一杯になると前記複数の画像バッファの他の一つが格納先に指定されて当該格納動作が継続される一方、At the time of recording a moving image, one of the plurality of image buffers is designated as a storage destination, the reduced image data is sequentially stored in each divided cell of the image buffer, and the divided cells of the selected image buffer are When the reduced image data is full, another one of the plurality of image buffers is designated as a storage destination and the storage operation is continued.
動画の再生時には、記録手段内に記録されている複数の縮小画像データからなる画像データが伸長処理されて一方の画像バッファに格納され、該画像バッファの各分割セルから縮小画像データが順次に拡大処理されて読み出さている間に同時並行的に前記記録手段内に記録されている複数の縮小画像データからなる次の画像データが伸長処理されて他方の画像バッファに展開されるWhen reproducing a moving image, image data composed of a plurality of reduced image data recorded in the recording means is decompressed and stored in one image buffer, and the reduced image data is sequentially enlarged from each divided cell of the image buffer. The next image data composed of a plurality of reduced image data recorded in the recording means in parallel while being processed and read out is decompressed and developed in the other image buffer.
ことを特徴とする請求項1記載の電子スチルカメラ。The electronic still camera according to claim 1.
JP21498898A 1998-07-30 1998-07-30 Electronic still camera and control method thereof Expired - Fee Related JP3815068B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21498898A JP3815068B2 (en) 1998-07-30 1998-07-30 Electronic still camera and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21498898A JP3815068B2 (en) 1998-07-30 1998-07-30 Electronic still camera and control method thereof

Publications (2)

Publication Number Publication Date
JP2000050127A JP2000050127A (en) 2000-02-18
JP3815068B2 true JP3815068B2 (en) 2006-08-30

Family

ID=16664851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21498898A Expired - Fee Related JP3815068B2 (en) 1998-07-30 1998-07-30 Electronic still camera and control method thereof

Country Status (1)

Country Link
JP (1) JP3815068B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4272388B2 (en) * 2002-06-27 2009-06-03 株式会社リコー Image processing apparatus and image processing method
JP4640434B2 (en) * 2008-04-10 2011-03-02 パナソニック株式会社 Digital camera
JP5842874B2 (en) * 2013-07-12 2016-01-13 カシオ計算機株式会社 Imaging apparatus, imaging method, and program
JP2021118484A (en) * 2020-01-28 2021-08-10 株式会社チャオ Gateway device, gateway program, computer-readable recording medium on which gateway program is recorded, and camera image transfer method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08314821A (en) * 1995-05-22 1996-11-29 Canon Inc Data transfer method
JPH0981584A (en) * 1995-09-12 1997-03-28 Nippon Telegr & Teleph Corp <Ntt> Image data display method and server/client system
JP3132646B2 (en) * 1996-11-18 2001-02-05 エヌイーシーソフト株式会社 Main memory swapping device
JP3366197B2 (en) * 1996-11-27 2003-01-14 エヌイーシー東芝スペースシステム株式会社 Electronic pointing circuit

Also Published As

Publication number Publication date
JP2000050127A (en) 2000-02-18

Similar Documents

Publication Publication Date Title
US9560256B2 (en) Image capture apparatus and image capture method in which an image is processed by a plurality of image processing devices
US7573504B2 (en) Image recording apparatus, image recording method, and image compressing apparatus processing moving or still images
JP3822380B2 (en) Image signal processing device
JP3939457B2 (en) Electronic still camera and control method thereof
JP3815068B2 (en) Electronic still camera and control method thereof
JP3945059B2 (en) Moving image recording apparatus and moving image recording method
JP3695140B2 (en) Electronic still camera and control method thereof
JP2005217955A (en) Imaging device, its control method, program, and storage medium
JP2000032332A (en) Electronic camera
JP3985115B2 (en) Electronic camera and image display method
JP2000101916A (en) Electronic still camera and its control method
JP3794529B2 (en) Moving picture recording apparatus and moving picture encoding method
US20050083424A1 (en) Electronic camera having solid-state image pickup device
JP3835657B2 (en) Electronic still camera and continuous shot image reproduction method
JP2000278641A (en) Device and method for processing moving picture
JP4250511B2 (en) Imaging device
JP4310177B2 (en) Imaging apparatus and imaging method
JP4049159B2 (en) Electronic still camera and control method thereof
JP4647480B2 (en) Moving image display device and display control method
JP3899706B2 (en) Electronic still camera control method and electronic still camera
JP2009033767A (en) Recording apparatus for moving image, and moving image recording method
JP2000241846A (en) Method for deciding camera and upper side of image
JP4279910B2 (en) Signal processing device for digital still camera
JP2004297562A (en) Image pickup device
JP3800830B2 (en) Electronic still camera

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051114

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060111

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060529

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100616

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110616

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110616

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120616

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120616

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130616

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees