JP3645606B2 - Still video camera - Google Patents

Still video camera Download PDF

Info

Publication number
JP3645606B2
JP3645606B2 JP03608895A JP3608895A JP3645606B2 JP 3645606 B2 JP3645606 B2 JP 3645606B2 JP 03608895 A JP03608895 A JP 03608895A JP 3608895 A JP3608895 A JP 3608895A JP 3645606 B2 JP3645606 B2 JP 3645606B2
Authority
JP
Japan
Prior art keywords
recording
image
memory
block
memory card
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 - Lifetime
Application number
JP03608895A
Other languages
Japanese (ja)
Other versions
JPH08214249A (en
Inventor
良夫 和久井
Original Assignee
ペンタックス株式会社
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 ペンタックス株式会社 filed Critical ペンタックス株式会社
Priority to JP03608895A priority Critical patent/JP3645606B2/en
Priority to US08/594,806 priority patent/US5648816A/en
Publication of JPH08214249A publication Critical patent/JPH08214249A/en
Application granted granted Critical
Publication of JP3645606B2 publication Critical patent/JP3645606B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/0875Registering performance data using magnetic data carriers
    • G07C5/0891Video recorder in combination with video camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Television Signal Processing For Recording (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、スチルビデオカメラに関する。
【0002】
【従来の技術】
フラッシュメモリー(データの消去書き換えが可能な不揮発性メモリー)が内蔵され、撮像した画像をそのフラッシュメモリーへ記録(記憶)する構成のスチルビデオカメラが知られている。
【0003】
フラッシュメモリーは、大容量化が容易で、価格が安く、さらに、データをバックアップするための電池が不要であるといった利点を有する。
しかしながら、フラッシュメモリーは、保証されるデータの書き換え回数が有限という短所も併せ持っているので、前記従来のスチルビデオカメラでは、画像の記録および消去を何度も繰り返すことにより、フラッシュメモリーに記憶されたデータの信頼性が低下し、これにより、再生画像のS/N比が低下するという問題がある。
【0004】
【発明が解決しようとする課題】
本発明の目的は、カメラに内蔵され、データの消去書き換えが可能な画像記録用の不揮発性メモリーの寿命を延ばすことが可能であり、また、前記不揮発性メモリーへの画像信号の記録の途中でも記録媒体を不揮発性メモリーから外部メモリーに切り換えることが可能なスチルビデオカメラを提供することにある。
【0005】
【課題を解決するための手段】
このような目的は、下記(1)〜(2)の本発明により達成される。
【0006】
(1) 撮像部と、
カメラに内蔵され、前記撮像部にて撮像された画像を記録し得るデータの消去書き換えが可能な不揮発性メモリーと、
カメラの外部より着脱可能であり、前記撮像部にて撮像された画像を記録し得る外部メモリーを電気的に接続する接続部と、
前記接続部と前記外部メモリーとの接続を検出する接続検出手段と、
前記外部メモリーの残り容量を検出する外部メモリー残量検出手段と、
前記撮像部にて撮像された画像の画像信号を前記不揮発性メモリーまたは前記外部メモリーに記録する記録手段と、
前記不揮発性メモリーまたは前記外部メモリーに記録されている画像信号を消去する消去手段とを有し、
前記記録手段は、前記撮像部にて撮像された画像の画像信号を前記不揮発性メモリーへ記録中に、前記接続検出手段により、前記接続部と前記外部メモリーとの接続が検出され、かつ、前記外部メモリー残量検出手段により、前記外部メモリーに少なくとも1画像分の画像信号を記録し得る残り容量が有ることが検出されたときは、前記不揮発性メモリーへの前記画像信号の記録を中止し、前記外部メモリーに前記記録が中止になった画像信号を記録するよう作動し、
前記消去手段は、前記不揮発性メモリーへの前記画像信号の記録が中止された後、該不揮発性メモリーへ記録されている画像信号のうちの、前記記録が中止になった画像信号以外の前記不揮発性メモリーに記録されている画像信号を消去せずに、前記記録が中止になった画像信号を消去するよう作動することを特徴とするスチルビデオカメラ。
【0007】
(2) 前記外部メモリーは、ICメモリーカードに搭載されたICメモリーである上記(1)に記載のスチルビデオカメラ。
【0010】
【実施例】
以下、本発明のスチルビデオカメラを添付図面に示す好適実施例に基づいて詳細に説明する。
【0011】
図1は、本発明のスチルビデオカメラの回路構成例を示すブロック図である。同図に示すように、スチルビデオカメラ(電子スチルカメラ)1は、図示しないカメラ本体と、撮影光学系と、ファインダー光学系と、CCD(固体撮像素子)3および撮像回路4を備えた撮像部と、LCDモニタ(液晶表示モニタ)12とを有している。
【0012】
CCD3は、多数の画素が行列状に配置され、各画素のそれぞれが受光光量に応じた電荷を蓄積し、この電荷を所定時に順次転送するように構成されており、撮影光学系の後方の撮像面に設置されている。
撮像回路4は、CCD3を制御し、CCD3から信号を読み出すための回路であり、CCD3の出力側にその入力側が接続している。
【0013】
本実施例は、カラー画像撮影用のスチルビデオカメラ1であり、例えば、CCD3としては、補色フィルターのCCDが用いられている。CCD3の各画素(最小単位)には、マゼンタ(Mg)、イエロー(Ye)、シアン(Cy)およびグリーン(G)を取り出すためのフィルターが各々被せられている。そして、CCD3のマゼンタ、イエロー、シアンおよびグリーンを取り出すためのフィルターを有する4つの画素が1単位を構成し、この1単位により画面上における1つの画素が構成される。なお、撮影光学系により、被写体像はCCD3の受光面上に結像する。
【0014】
スチルビデオカメラ1は、システムコントロール回路(制御手段)2を有している。このシステムコントロール回路2は、通常、マイクロコンピュータで構成され、シーケンス制御等、スチルビデオカメラ1における諸機能の制御を行う。すなわち、撮像回路4、後述する第1のデータセレクタ6、画像メモリー7、画像信号処理回路8、OSDC(オンスクリーンディスプレーコントローラ)13、第2のデータセレクタ14、ICメモリーカードコントロール回路15、フラッシュメモリーコントロール回路19、表示部23および時計(クロックIC)24等をそれぞれ制御する。
システムコントロール回路2には、操作部22と、表示部23と、年月日、時分秒を発生する時計(クロックIC)24とが接続している。
【0015】
操作部22には、例えば、電源スイッチ(メインスイッチ)、レリーズスイッチ、アップ/ダウンスイッチ、記録モード/再生モード/消去モードのうちのいずれかを選択するモード設定スイッチ、コピースイッチ等が設置されている。
【0016】
表示部23には、例えば、電源スイッチ等のオン/オフの別、モード設定スイッチにより選択された記録モード/再生モード/消去モードの別、前記記録モードのうちのメモリーカード記録モード/フラッシュメモリー記録モード/記録禁止モードの別、撮影の年月日等の情報、現在の時間、ICメモリーカード31の装填の有無、等のうちの必要な情報が、例えば、液晶表示素子(LCD)や発光素子により表示される。
【0017】
また、スチルビデオカメラ1のカメラ本体には、ICメモリーカード31を装填する装填部17と、ICメモリーカード31を排出するための図示しないイジェクトスイッチとが設けられ、前記装填部17にはコネクタ18が設置されている。なお、このコネクタ18を備えた装填部17により、ICメモリーカードのICメモリー(外部メモリー)を電気的に接続する接続部が構成されている。
【0018】
ICメモリーカード31は、スチルビデオカメラ1により撮影された画像を記録(記憶)するためのIC(Integrated Circuit)メモリーが組み込まれ、スチルビデオカメラ1に対して着脱自在なカード型の外部メモリーである。このICメモリーは、画像信号(画像データ)を記録する領域と、カード属性情報を記録する領域とを有している。カード属性情報としては、例えば、ICメモリーの種類(例えば、スタティックラム、フラッシュメモリー等)、ICメモリーの記録容量、アクセス速度等が挙げられる。
【0019】
コネクタ18には、ICメモリーカード31へのデータ書き込み、データ読み出し等の全体的制御を行うICメモリーカードコントロール回路15が接続されている。このICメモリーカードコントロール回路15は、ICメモリーカード31のメモリーの残り容量(空き容量)を検出する外部メモリー残量検出手段としても機能し、後述するように、記録モードの設定およびカード挿入割り込み処理において、それぞれ、ICメモリーカード31からメモリーの残り容量に関する情報を読み出し、その情報をシステムコントロール回路2へ入力する。
【0020】
また、スチルビデオカメラ1は、ICメモリーカード31の装填部17への装填、すなわち、ICメモリーカード31の端子と、コネクタ18の端子との接続(電気的接続)を検出するメモリーカード検出回路(接続検出手段)16を有している。このメモリーカード検出回路16は、コネクタ18、システムコントロール回路2およびICメモリーカードコントロール回路15にそれぞれ接続している。
【0021】
ICメモリーカード31の端子と、コネクタ18の端子とが正常に接続している場合には、所定端子が接地され、これを検出することで、メモリーカード検出回路16からローレベルの信号(L)が、システムコントロール回路2およびICメモリーカードコントロール回路15にそれぞれ入力され、ICメモリーカード31の端子と、コネクタ18の端子とが正常に接続していない場合には、メモリーカード検出回路16からハイレベルの信号(H)が、システムコントロール回路2およびICメモリーカードコントロール回路15にそれぞれ入力される。これによりシステムコントロール回路2は、ICメモリーカード31の端子と、コネクタ18の端子とが正しく接続しているか否か(ICメモリーカード31が装填部17へ装填されているか否か)を把握している。
【0022】
ICメモリーカード31の装填部17への装填は、ICメモリーカード31を手で把持しつつ装填口より内部へ挿入し、装填部17の最奥部に当接した後、さらに押圧して、ICメモリーカード31の端子をコネクタ18の端子に接続する。また、装填部17内には、カード搬送機構(図示せず)が設置されており、ICメモリーカード31を装填部17から排出する際には、イジェクトスイッチの操作に伴って前記カード搬送機構が作動し、ICメモリーカード31が排出される。
【0023】
また、スチルビデオカメラ1は、画像用フラッシュメモリー(画像用フラッシュEEPROM)20と、プログラム用フラッシュメモリー(プログラム用フラッシュEEPROM)21と、画像用フラッシュメモリー20およびプログラム用フラッシュメモリー21へのデータ書き込み、データ読み出し等の全体的制御を行うフラッシュメモリーコントロール回路19とを有している。このフラッシュメモリーコントロール回路19は、画像用フラッシュメモリー20の残り容量(空き容量)を検出するフラッシュメモリー残量検出手段(不揮発性メモリー残量検出手段)としても機能し、後述するように、記録モードの設定において、画像用フラッシュメモリー20の残り容量に関する情報を読み出し、その情報をシステムコントロール回路2へ入力する。
【0024】
なお、前記フラッシュメモリーコントロール回路19、ICメモリーカードコントロール回路15およびシステムコントロール回路2により、画像データ(画像信号)を画像用フラッシュメモリー20またはICメモリーカード31に記録する記録手段と、画像データを画像用フラッシュメモリー20またはICメモリーカード31から消去する消去手段とが構成されている。
【0025】
また、前記フラッシュメモリーコントロール回路19およびシステムコントロール回路2により、画像用フラッシュメモリー20の後述する各ブロック(記録単位領域)の消去回数を検出して、これに基づいて記録(書き換え)の可否を判別する記録可否判別出手段が構成されている。
【0026】
画像用フラッシュメモリー20は、スチルビデオカメラ1により撮影された画像を記録(記憶)するための不揮発性メモリー(データの消去書き換えが可能な不揮発性メモリー)であり、プログラム用フラッシュメモリー21は、ICメモリーカード31との通信動作等を行うためのプログラムを記録(記憶)するための不揮発性メモリー(データの消去書き換えが可能な不揮発性メモリー)である。これら画像用フラッシュメモリー20およびプログラム用フラッシュメモリー21は、それぞれ、複数のブロック(記録単位領域)を有し、ブロック単位でデータを一括消去し得るメモリーである。以下、代表的に、画像用フラッシュメモリー20を説明する。
【0027】
図2は、画像用フラッシュメモリー20の構成例を示すブロック図である。
同図に示すように、画像用フラッシュメモリー20は、コマンド解読部25およびメモリー部26により構成されている。このコマンド解読部25とメモリー部26は電気的に接続している。
【0028】
図3は、画像用フラッシュメモリー20のメモリー部26の構成例を示す模式図である。
同図に示すように、画像用フラッシュメモリー20のメモリー部26は、複数のブロック(第1ブロック〜第Nブロック、但し、Nは2以上の整数)からなり、これら各ブロックは、それぞれ、消去回数カウンタ(消去回数記録部)261、画像有無情報記録部262、記録禁止情報記録部263、時刻記録部264および画像データ記録部265により構成されている。
【0029】
前記各ブロックの消去回数カウンタ261には、それぞれ、そのブロックに対する消去回数、すなわち、そのブロックに記録されているデータを消去した回数を示す情報(消去回数情報)が記録される。
【0030】
また、各ブロックの画像データ記録部265には、それぞれ、画像データ(画像信号)が記録される。この実施例の場合、1つのブロックに、1画像を記録するようになっている。
【0031】
また、各ブロックの画像有無情報記録部262には、それぞれ、そのブロックの画像データ記録部265に画像データが記録されているか否かを示す画像有無情報が記録される。画像が記録済の場合、画像記録済を示す「0」が記録され、画像が未記録の場合、画像未記録を示す「1」が記録されており、これによりシステムコントロール回路2は、各ブロックのそれぞれについて、画像が記録済か否かを判別することができる。
【0032】
なお、フラッシュメモリーでは、消去を行うと、消去されたすべてのビットにおいて、そこから読み出されるデータが「1」となる。よって、所定のブロックの画像を消去すると、そのブロックの画像有無情報記録部262は自動的に「1」となり、再度画像を記録する際、そのブロックの画像有無情報記録部262へ「0」を記録する。
【0033】
また、各ブロックの記録禁止情報記録部263には、それぞれ、そのブロックが記録禁止ブロックか否かを示す情報が記録される。記録禁止ブロックの場合、その旨を示す「0」が記録され、記録禁止ブロックではない場合、その旨を示す「1」が記録されており、これによりシステムコントロール回路2は、各ブロックのそれぞれについて、記録禁止ブロックか否かを判別することができる。
【0034】
なお、後述するように、このスチルビデオカメラ1では、消去回数が所定の消去保証回数を超えたブロックへは、画像データの記録を禁止し、また、そのブロックの記録禁止情報記録部263に、記録禁止ブロックである旨を示す「0」を記録する。
【0035】
また、各ブロックの時刻記録部264には、それぞれ、そのブロックの画像データ記録部265に画像データが記録された「年月日、時分秒(以下、単に時刻という)」を示す情報が記録される。
【0036】
図2に示すように、画像用フラッシュメモリー20へデータを記録および画像用フラッシュメモリー20からデータを消去する際には、それぞれ、システムコントロール回路2は、フラッシュメモリーコントロール回路19を作動させ、コマンドコード(コマンドデータ)を、フラッシュメモリーコントロール回路19から画像用フラッシュメモリー20のコマンド解読部25に入力する。
【0037】
コマンド解読部25は、入力されたコマンドコードを解読する。そして、その情報に基づいて、メモリー部26へのデータの記録およびメモリー部26からのデータの消去がなされる。
【0038】
なお、フラッシュメモリーコントロール回路19は、前記ICメモリーカードコントロール回路15に接続し、プログラム用フラッシュメモリー21は、システムコントロール回路2に接続している。
【0039】
次に、スチルビデオカメラ1の動作について説明する。
スチルビデオカメラ1では、モード設定スイッチが操作されると、その直後に、モードに応じて、各モードセット指令、すなわち、記録モードセット指令、再生モードセット指令または消去モードセット指令がシステムコントロール回路2に入力される。また、モード設定スイッチが操作されなくても、ICメモリーカード31の引き抜きまたは差し込みがなされると、その直後に、モードに応じて、前記各モードセット指令がシステムコントロール回路2に入力される。
【0040】
システムコントロール回路2は、前記モードセット指令に応じて、「記録モード」、「再生モード」または「消去モード」に設定する。
前記記録モードに設定する場合には、後述するように、ICメモリーカード31へ記録する「メモリーカード記録モード」、画像用フラッシュメモリー20へ記録する「フラッシュメモリー記録モード」、または、ICメモリーカード31および画像用フラッシュメモリー20のいずれにも記録を禁止する「記録禁止モード」に設定する。
【0041】
図4、図5および図6は、それぞれ、メモリーカード記録モード、フラッシュメモリー記録モードおよび記録禁止モードにおける表示部23の表示例を示す模式図である。
【0042】
図4に示すように、メモリーカード記録モードに設定されると、表示部23の表示領域の図4中上側に、「C」が表示される。また、図5に示すように、フラッシュメモリー記録モードに設定されると、表示部23の表示領域の図5中上側に、「F」が表示される。また、図6に示すように、記録禁止モードに設定されると、表示部23の表示領域の図6中上側に、「X」が表示される。
【0043】
また、スチルビデオカメラ1では、記録モード、再生モードおよび消去モードに設定された状態で、レリーズスイッチをオンすると、システムコントロール回路2へ、それぞれ、記録トリガ、再生トリガおよび消去トリガが入力される。そして、これら記録トリガ、再生トリガおよび消去トリガの検出により、それぞれ、記録(撮影)、再生(再生開始または再生停止)および消去が実行される。
【0044】
以下、各モードにおけるスチルビデオカメラ1の動作のうち、代表的に、画像用フラッシュメモリー20への画像の記録および再生と、ICメモリーカード31への画像の記録および再生についてそれぞれ説明する。なお、このスチルビデオカメラ1は、原則として画像をICメモリーカード31へ記録するが、ICメモリーカード31が装填部17に装填されていない場合やICメモリーカード31のメモリーに残り容量が無い等の理由で、ICメモリーカード31への記録が不能のときは、補助的に画像用フラッシュメモリー20に記録するようになっている。
【0045】
▲1▼[画像用フラッシュメモリー20への記録]
前述したように、使用者(撮影者)によるモード設定スイッチの操作等によって、記録モードセット指令がシステムコントロール回路2に入力されると、システムコントロール回路2により、記録モードに設定される。
【0046】
この場合、後述するように、ICメモリーカード31の端子と、コネクタ18の端子とが正常に接続していない場合、または、ICメモリーカード31に1画像分の画像データ(画像信号)を記録し得る残り容量が無い場合であって、かつ、画像用フラッシュメモリー20に、消去回数が保証消去回数以下であり、画像データが未記録のブロックがある場合には、システムコントロール回路2により、フラッシュメモリー記録モードに設定される。
【0047】
このフラッシュメモリー記録モードに設定されている状態において、レリーズスイッチがオンすると、所定の露光条件でCCD3への露光動作がなされ、CCD3の各画素には、被写体像に対応する光量に応じた電荷が蓄積される。この蓄積された電荷は順次転送され、撮像回路4に入力される。
【0048】
撮像回路4では、CCD3から出力される信号に対し所定の信号処理を行い、撮影された被写体像のアナログ画像信号、すなわち、マゼンタ、イエロー、シアンおよびグリーンに関するアナログ画像信号を得る。このアナログ画像信号は、A/Dコンバータ5によりデジタル画像信号、すなわち、マゼンタ、イエローおよびシアンの補色デジタル画像信号と、グリーンの原色デジタル画像信号とに変換され、受信先を選択する第1のデータセレクタ6を通過して、画像メモリー7の所定のアドレスに一旦書き込まれる。前記第1のデータセレクタ6の切り換えは、システムコントロール回路2によって制御される。
【0049】
次いで、画像メモリー7の所定のアドレスから各デジタル画像信号が読み出される。
読み出された各デジタル画像信号は、画像信号処理回路8に入力される。この画像信号処理回路8では、入力されたマゼンタ、イエローおよびシアンの補色デジタル画像信号およびグリーンの原色デジタル画像信号に対し、所定の演算処理等を行い、輝度信号(Y)と、赤色差信号(Cr)と、青色差信号(Cb)とに変換する。
【0050】
輝度信号(Y)、赤色差信号(Cr)および青色差信号(Cb)は、送信先を選択する第2のデータセレクタ14により選択されて、フラッシュメモリーコントロール回路19に入力され、フラッシュメモリーコントロール回路19により画像用フラッシュメモリー20の所定のブロックの画像データ記録部265へ記録される。前記第2のデータセレクタ14の切り換えは、システムコントロール回路2によって制御される。
【0051】
▲2▼[画像用フラッシュメモリー20からの再生]
前述したように、使用者によるモード設定スイッチの操作等によって、再生モードセット指令がシステムコントロール回路2に入力されると、システムコントロール回路2により、再生モードに設定される。
【0052】
再生モードに設定され、かつ、ICメモリーカード31の端子と、コネクタ18の端子とが正常に接続していない状態において、レリーズスイッチがオンすると、フラッシュメモリーコントロール回路19により、画像用フラッシュメモリー20の所定のブロックの画像データ記録部265から輝度信号(Y)、赤色差信号(Cr)および青色差信号(Cb)が読み出され、第1のデータセレクタ6を通過して、画像メモリー7の所定のアドレスに一旦書き込まれる。前記第1のデータセレクタ6の切り換えは、システムコントロール回路2によって制御される。
【0053】
次いで、画像メモリー7の所定のアドレスから輝度信号(Y)、赤色差信号(Cr)および青色差信号(Cb)が読み出される。
読み出された輝度信号(Y)、赤色差信号(Cr)および青色差信号(Cb)は、画像信号処理回路8を通過して、D/Aコンバータ9でデジタル信号からアナログ信号に変換されて、NTSCエンコーダ10に入力される。そして、NTSCエンコーダ10では、その輝度信号(Y)、赤色差信号(Cr)および青色差信号(Cb)と、図示しない同期信号発生回路からNTSCエンコーダ10に入力される同期信号とから、NTSC方式の標準テレビジョン信号(ビデオ信号)が生成される。
【0054】
生成された信号は、NTSCエンコーダ10から混合回路11に入力され、同期信号(垂直同期信号、水平同期信号)は、NTSCエンコーダ10からOSDC(オンスクリーンディスプレーコントローラ)13に入力される。
【0055】
OSDC13では、再生画像のコマナンバーに対応する文字信号が生成され、OSDC13は、前記NTSCエンコーダ10からOSDC13に入力される同期信号と同期をとりつつ、生成した文字信号を混合回路11に入力する。
【0056】
混合回路11は、NTSCエンコーダ10から入力されるビデオ信号と、OSDC13から入力される文字信号とを合成(混合)する。混合回路11により合成された信号は、LCDモニタ12に入力され、再生される。これにより、再生画像がそのコマナンバーが重畳された状態で表示される。
次いで、レリーズスイッチがオンすると、再生を停止する。
【0057】
▲3▼[ICメモリーカード31への記録]
前述したように、使用者によるモード設定スイッチの操作等によって、記録モードセット指令がシステムコントロール回路2に入力されると、システムコントロール回路2により、記録モードに設定される。
【0058】
この場合、後述するように、ICメモリーカード31の端子と、コネクタ18の端子とが正常に接続し、かつ、ICメモリーカード31に1画像分の画像データを記録し得る残り容量が有る場合には、システムコントロール回路2により、メモリーカード記録モードに設定される。
【0059】
このメモリーカード記録モードに設定されている状態において、レリーズスイッチがオンすると、前述した画像用フラッシュメモリー20への記録の場合と同様に、所定の露光条件でCCD3への露光動作がなされ、CCD3の各画素に電荷が蓄積され、撮像回路4に電荷が順次転送され、撮影された被写体像のアナログ画像信号を得る。このアナログ画像信号は、A/Dコンバータ5によりデジタル画像信号に変換され、第1のデータセレクタ6を通過して、画像メモリー7の所定のアドレスに一旦書き込まれる。前記第1のデータセレクタ6の切り換えは、システムコントロール回路2によって制御される。
【0060】
次いで、前記と同様に、画像メモリー7の所定のアドレスからデジタル画像信号が読み出され、画像信号処理回路8に入力され、輝度信号(Y)と、赤色差信号(Cr)と、青色差信号(Cb)とに変換される。
【0061】
この輝度信号(Y)、赤色差信号(Cr)および青色差信号(Cb)は、第2のデータセレクタ14により選択されて、ICメモリーカードコントロール回路15に入力され、ICメモリーカードコントロール回路15によりICメモリーカード31のICメモリーの所定のアドレスへ書き込まれる。前記第2のデータセレクタ14の切り換えは、システムコントロール回路2によって制御される。また、スチルビデオカメラ1は、画像用フラッシュメモリー20からICメモリーカード31に画像データをコピー(転送)する機能を有している。
【0062】
ICメモリーカード31の端子と、コネクタ18の端子とが正常に接続し、ICメモリーカード31に1画像分の画像データを記録し得る残り容量が有り、かつ、コピーする画像が選択されている状態において、コピースイッチがオンすると、フラッシュメモリーコントロール回路19により、画像用フラッシュメモリー20の所定のブロックの画像データ記録部265から輝度信号(Y)、赤色差信号(Cr)および青色差信号(Cb)が読み出され、ICメモリーカードコントロール回路15に入力され、ICメモリーカードコントロール回路15によりICメモリーカード31のICメモリーの所定のアドレスへ書き込まれる。
なお、この画像データのコピー動作(転送動作)については、後述するフローチャートでは省略されている。
【0063】
▲4▼[ICメモリーカード31からの再生]
前述したように、使用者によるモード設定スイッチの操作等によって、再生モードセット指令がシステムコントロール回路2に入力されると、システムコントロール回路2により、再生モードに設定される。
【0064】
再生モードに設定され、かつ、ICメモリーカード31の端子と、コネクタ18の端子とが正常に接続している状態において、レリーズスイッチがオンすると、ICメモリーカードコントロール回路15により、ICメモリーカード31のICメモリーの所定のアドレスから輝度信号(Y)、赤色差信号(Cr)および青色差信号(Cb)が読み出され、第1のデータセレクタ6を通過して、画像メモリー7の所定のアドレスに一旦書き込まれる。前記第1のデータセレクタ6の切り換えは、システムコントロール回路2によって制御される。
【0065】
次いで、前述した画像用フラッシュメモリー20からの再生の場合と同様に、画像メモリー7の所定のアドレスから輝度信号(Y)、赤色差信号(Cr)および青色差信号(Cb)が読み出され、画像信号処理回路8を通過して、D/Aコンバータ9でデジタル信号からアナログ信号に変換されて、NTSCエンコーダ10に入力される。そして、NTSCエンコーダ10により、NTSC方式の標準テレビジョン信号(ビデオ信号)が生成され、混合回路11に入力され、混合回路11で、OSDC13から入力される文字信号と合成(混合)される。混合回路11により合成された信号は、LCDモニタ12に入力され、再生される。これにより、再生画像がそのコマナンバーが重畳された状態で表示される。
次いで、レリーズスイッチがオンすると、再生を停止する。
【0066】
次に、スチルビデオカメラ1のシステムコントロール回路2の制御動作について説明する。
図7および図8は、システムコントロール回路2の動作を示すフローチャートである。以下、このフローチャートに基づいて説明する。
【0067】
なお、メインルーチン中の各サブルーチン、すなわち、ステップ102および115の「記録モード設定」と、ステップ109の「フラッシュメモリーコマナンバー割り振り」と、ステップ120および129の「再生開始」と、ステップ122の「消去」については、それぞれ、後に詳述する。また、カード挿入割り込み処理についても後に詳述する。
【0068】
(1)[メインルーチン]
前述したように、スチルビデオカメラ1では、モード設定スイッチの操作、ICメモリーカード31の引き抜きまたは差し込みがなされると、モードに応じて、各モードセット指令がシステムコントロール回路2に入力される。
【0069】
電源スイッチ(メインスイッチ)がオンの状態において、まず、記録モードセット指令が入力したか否かを判断し(ステップ101)、記録モードセット指令が入力したと判断した場合には、記録モードの設定を行う(ステップ102)。
【0070】
また、ステップ101において、記録モードセット指令が入力していないと判断した場合には、再生モードセット指令が入力したか否かを判断し(ステップ103)、再生モードセット指令が入力したと判断した場合には、再生モードに設定する(ステップ104)。
【0071】
また、ステップ103において、再生モードセット指令が入力していないと判断した場合には、消去モードセット指令が入力したか否かを判断し(ステップ105)、消去モードセット指令が入力したと判断した場合には、消去モードに設定する(ステップ106)。
【0072】
ステップ104または106の後、メモリーカード検出回路16からの情報に基づいて、ICメモリーカード31が有るか否か、すなわち、装填部17に装填されているか否かを判断する(ステップ107)。このステップ107では、ICメモリーカード31の端子が装填部17のコネクタ18の端子に接続している場合には「ICメモリーカード31有り(ICメモリーカード31装填)」、接続していない場合には「ICメモリーカード31無し(ICメモリーカード31未装填)」と判断する。
【0073】
ステップ107において、ICメモリーカード31有りと判断した場合には、ICメモリーカード31上の1コマ目、すなわちコマナンバー1のコマを再生または消去対象のコマとして選択する(ステップ108)。なお、ICメモリーカード31上でのコマナンバーの管理は、例えば、ファイルネームにコマナンバーを示す数字を含ませることによって行う。
【0074】
また、ステップ107において、ICメモリーカード31無しと判断した場合には、フラッシュメモリーコマナンバー割り振り、すなわち、画像用フラッシュメモリー20に記録されている画像のコマナンバーの割り振りを行う(ステップ109)。
【0075】
ステップ108または109の後、または、ステップ105において消去モードセット指令が入力していないと判断した場合には、記録モードか否かを判断する(ステップ110)。
【0076】
ステップ110において、記録モードと判断した場合には、レリーズスイッチのオン(記録トリガ)が検出されたか否かを判断し(ステップ111)、記録トリガが検出されたと判断した場合には、後述するカード挿入割り込みを許可する(ステップ112)。
【0077】
次いで、記録を行う(ステップ113)。
次いで、カード挿入割り込みを禁止する(ステップ114)。
次いで、記録モード設定を行う(ステップ115)。
【0078】
また、ステップ110において、記録モードではないと判断した場合には、再生モードか否かを判断し(ステップ116)、再生モードと判断した場合には、レリーズスイッチのオン(再生トリガ)が検出されたか否かを判断する(ステップ117)。
【0079】
ステップ117において、再生トリガが検出されたと判断した場合には、再生中か否かを判断し(ステップ118)、再生中と判断した場合には、再生を停止する(ステップ119)。
【0080】
また、ステップ118において、再生中ではないと判断した場合には、再生を開始する(ステップ120)。
また、ステップ116において、再生モードではないと判断した場合には、レリーズスイッチのオン(消去トリガ)が検出されたか否かを判断し(ステップ121)、消去トリガが検出されたと判断した場合には、消去を行う(ステップ122)。
【0081】
ステップ111において記録トリガが検出されないと判断した場合、ステップ117において再生トリガが検出されないと判断した場合、ステップ121において消去トリガが検出されないと判断した場合、または、ステップ115、119、120または122の後、アップスイッチまたはダウンスイッチがオンしたか否かを判断する(ステップ123)。
【0082】
ステップ123において、アップスイッチまたはダウンスイッチがオンしたと判断した場合には、再生中か否かを判断し(ステップ124)、再生中と判断した場合には、再生を停止する(ステップ125)。
【0083】
次いで、アップスイッチか否かを判断し(ステップ126)、アップスイッチと判断した場合には、再生対象のコマナンバーを1つインクリメントし(ステップ127)、ダウンスイッチと判断した場合には、再生対象のコマナンバーを1つデクリメントする(ステップ128)。
【0084】
ステップ127または128の後、再生を開始する(ステップ129)。
また、ステップ124において、再生中ではないと判断した場合には、消去モードか否かを判断し(ステップ130)、消去モードと判断した場合には、アップスイッチか否かを判断する(ステップ131)。
【0085】
ステップ131において、アップスイッチと判断した場合には、消去対象のコマナンバーを1つインクリメントし(ステップ132)、ダウンスイッチと判断した場合には、消去対象のコマナンバーを1つデクリメントする(ステップ133)。
【0086】
ステップ123においてアップスイッチまたはダウンスイッチがオフしていると判断した場合、ステップ130において消去モードではないと判断した場合、または、ステップ129、132または133の後、電源スイッチがオフしたか否かを判断する(ステップ134)。
【0087】
ステップ134において電源スイッチがオフしていないと判断した場合には、ステップ101に戻り、再度、ステップ101以降を実行する。
また、ステップ134において電源スイッチがオフしたと判断した場合には、このプログラムは終了する。
【0088】
次に、前述したメインルーチン中の各サブルーチン、すなわち、ステップ102および115の「記録モード設定」と、ステップ109の「フラッシュメモリーコマナンバー割り振り」と、ステップ120および129の「再生開始」と、ステップ122の「消去」について、それぞれ説明する。
【0089】
(2)[記録モード設定]
図9は、記録モードを設定する際のシステムコントロール回路2の動作を示すフローチャートである。以下、このフローチャートを説明する。なお、ステップ309の「記録領域選択」については、後に詳述する。
【0090】
メモリーカード検出回路16からの情報に基づいて、ICメモリーカード31が有るか否かを判断する(ステップ301)。このステップ301では、ICメモリーカード31の端子が装填部17のコネクタ18の端子に接続している場合には「ICメモリーカード31有り」、接続していない場合には「ICメモリーカード31無し」と判断する。
【0091】
ステップ301において、ICメモリーカード31有りと判断した場合には、ICメモリーカード31の残り容量をチェックする(ステップ302)。すなわち、ICメモリーカードコントロール回路15により、ICメモリーカード31からメモリーの残り容量に関する情報を読み出し、その情報をシステムコントロール回路2に入力する。
【0092】
次いで、前記の情報に基づいて、ICメモリーカード31に容量が有るか否かを判断する(ステップ303)。この場合、ICメモリーカード31に、少なくとも1画像分の画像データ(画像信号)を記録し得る残り容量が有れば、「容量有り」と判断し、無ければ「容量無し」と判断する。
【0093】
ステップ303において、ICメモリーカード31に容量有りと判断した場合には、空いている最小コマナンバー領域を画像データを記録する領域として選択する(ステップ304)。
【0094】
次いで、ICメモリーカード31に記録を行うメモリーカード記録モードに設定する(ステップ305)。
次いで、図4に示すように、表示部23により、メモリーカード記録モードを示すモード表示を行う(ステップ306)。
【0095】
また、ステップ301においてICメモリーカード31無しと判断した場合、または、ステップ303においてICメモリーカード31に容量無しと判断した場合には、画像用フラッシュメモリー20の残り容量をチェックする(ステップ307)。
【0096】
このステップ307では、フラッシュメモリーコントロール回路19により、画像用フラッシュメモリー20の各ブロックの画像有無情報記録部262および記録禁止情報記録部263からそれぞれデータを読み出し、そのデータをシステムコントロール回路2に入力する。この場合、画像有無情報記録部262および記録禁止情報記録部263から読み出したデータの組み合わせが、「1、1」のとき、そのブロックは、画像データを記録可能とされ、これ以外の組み合わせ、すなわち、「1、0」、「0、1」および「0、0」のときは、それぞれ、そのブロックは、画像データを記録不可能とされる。
【0097】
次いで、画像用フラッシュメモリー20に容量が有るか否かを判断する(ステップ308)。この場合、画像データを記録可能なブロックが少なくとも1つ有るときには、「容量有り」と判断し、画像データを記録可能なブロックが全く無い場合には、「容量無し」と判断する。
【0098】
ステップ308において、画像用フラッシュメモリー20に容量有りと判断した場合には、記録領域の選択、すなわち、画像データを記録する画像用フラッシュメモリー20のブロックの選択を行う(ステップ309)。
【0099】
次いで、選択されたブロックの消去回数カウンタ261から消去回数を読み出す(ステップ310)。
次いで、選択されたブロックの消去回数が消去保証回数以内であるか否かを判断し(ステップ311)、消去回数が消去保証回数を超えていると判断した場合には、そのブロックを記録禁止領域(記録禁止ブロック)に指定する(ステップ312)。このステップ312では、前記選択されたブロックの記録禁止情報記録部263に「0」を書き込む。
【0100】
前記消去保証回数とは、画像用フラッシュメモリー20に記録されているデータを保証する消去回数の上限値をいい、その値は、例えば、スチルビデオカメラ1の工場出荷時において、予め設定されている。
【0101】
ステップ312の後、ステップ307に戻り、再度、ステップ307以降を実行する。
また、ステップ311において、消去回数が消去保証回数以内であると判断した場合には、画像用フラッシュメモリー20に記録を行うフラッシュメモリー記録モードに設定する(ステップ313)。
【0102】
次いで、図5に示すように、表示部23により、フラッシュメモリー記録モードを示すモード表示を行う(ステップ314)。
また、ステップ308において、画像用フラッシュメモリー20に容量無しと判断した場合には、記録禁止モードに設定する(ステップ315)。
【0103】
次いで、図6に示すように、表示部23により、記録禁止モードを示すモード表示を行う(ステップ316)。
ステップ306、314または316でこのプログラムは終了し、メインルーチンへ戻る。
【0104】
(3)[記録領域選択]
図10は、記録領域を選択する際のシステムコントロール回路2の動作を示すフローチャートである。以下、このフローチャートを説明する。
【0105】
画像用フラッシュメモリー20の最初のブロック、すなわちブロックナンバー1のブロック(第1ブロック)を選択する(ステップ401)。
次いで、第1ブロックの消去回数カウンタ261から消去回数を読み出し、システムコントロール回路2のレジスタAに、消去回数を転送し、書き込む(ステップ402)。
【0106】
次いで、システムコントロール回路2のレジスタCに、選択されているブロックのブロックナンバー「1」を転送し、書き込む(ステップ403)。
次いで、選択されているブロックが最終ブロックか否かを判断し(ステップ404)、最終ブロックではないと判断した場合には、選択ブロックを+1移動する(ステップ405)。すなわち、現在選択されているブロックより1つ大きいブロックナンバーのブロックを選択する。
【0107】
次いで、画像データ記録部265に画像データが記録済か否かを判断する(ステップ406)。ステップ406では、画像有無情報記録部262から読み出したデータが「0」のとき、そのブロックは、「記録済」と判断し、「1」のとき、そのブロックは、「未記録」と判断する。
【0108】
ステップ406において、記録済と判断した場合には、ステップ404に戻り、再度、ステップ404以降を実行する。
また、ステップ406において、未記録と判断した場合には、記録禁止ブロックか否かを判断する(ステップ407)。ステップ407では、記録禁止情報記録部263から読み出したデータが、「0」のとき、そのブロックは、「記録禁止ブロック」と判断し、「1」のとき、そのブロックは、「記録禁止ブロックではない」と判断する。
【0109】
ステップ407において、記録禁止ブロックと判断した場合には、ステップ404に戻り、再度、ステップ404以降を実行する。
また、ステップ407において、記録禁止ブロックではないと判断した場合には、消去回数カウンタ261から消去回数を読み出し、システムコントロール回路2のレジスタBに、消去回数を転送し、書き込む(ステップ408)。
【0110】
次いで、b(レジスタBに書き込まれている消去回数)≧a(レジスタAに書き込まれている消去回数)か否かを判断する(ステップ409)。
ステップ409において、b≧aと判断した場合には、ステップ404に戻り、再度、ステップ404以降を実行する。
【0111】
また、ステップ409において、b<aと判断した場合には、レジスタBに書き込まれている消去回数を読み出し、その消去回数をレジスタAに書き込む(ステップ410)。
【0112】
次いで、システムコントロール回路2のレジスタCに、選択されているブロックのブロックナンバーを転送し、書き込み(ステップ411)、この後、ステップ404に戻り、再度、ステップ404以降を実行する。
【0113】
ステップ404において、選択されているブロックが最終ブロックと判断した場合には、このプログラムは終了し、記録モード設定サブルーチンへ戻る。
最終的にレジスタCに書き込まれているブロックナンバーのブロックを記録領域、すなわち、画像データを記録するブロックとして選択する。
【0114】
このようにして、消去回数の最も少ないブロックが、画像データを記録するブロックとして優先的に選択され、これにより各ブロックの消去回数がほぼ均等になるようになっている。
【0115】
(4)[フラッシュメモリーコマナンバー割り振り]
図11および図12は、画像用フラッシュメモリー20に記録された画像のコマナンバーの割り振りを行う際のシステムコントロール回路2の動作を示すフローチャートである。以下、このフローチャートを説明する。
システムコントロール回路2のRAMには、下記表1に示すコマナンバーテーブルが設けられている。
【0116】
【表1】

Figure 0003645606
【0117】
上記表1に示すコマナンバーテーブル上の記録時刻およびブロックナンバーをそれぞれクリアする(ステップ501)。なお、コマナンバーテーブル上のコマナンバーはクリアしない。
【0118】
次いで、画像用フラッシュメモリー20の最初のブロック、すなわちブロックナンバー1のブロック(第1ブロック)を選択する(ステップ502)。
次いで、コマナンバーテーブル上のコマナンバー1の箇所(領域)を選択する(ステップ503)。
【0119】
次いで、選択されているブロックの画像データ記録部265に画像データが記録済か否かを判断する(ステップ504)。ステップ504では、画像有無情報記録部262から読み出したデータが「0」のとき、そのブロックは、「記録済」と判断し、「1」のとき、そのブロックは、「未記録」と判断する。
【0120】
ステップ504において、記録済と判断した場合には、選択されているブロックが記録禁止ブロックか否かを判断する(ステップ505)。ステップ505では、記録禁止情報記録部263から読み出したデータが、「0」のとき、そのブロックは、「記録禁止ブロック」と判断し、「1」のとき、そのブロックは、「記録禁止ブロックではない」と判断する。
【0121】
ステップ505において記録禁止ブロックと判断した場合、または、ステップ504において未記録と判断した場合には、選択されているブロックが最終ブロックか否かを判断する(ステップ506)。
【0122】
ステップ506において、最終ブロックではないと判断した場合には、選択ブロックを+1移動する(ステップ507)。すなわち、現在選択されているブロックより1つ大きいブロックナンバーのブロックを選択し、この後、ステップ504に戻り、再度、ステップ504以降を実行する。
【0123】
また、ステップ505において、記録禁止ブロックではないと判断した場合には、選択されているブロックの時刻記録部264から画像データの記録時刻を読み出す(ステップ508)。
【0124】
次いで、前記記録時刻および選択されているブロックのブロックナンバーをそれぞれコマナンバーテーブル上の選択箇所へ書き込む(ステップ509)。
次いで、選択されているブロックが最終ブロックか否かを判断し(ステップ510)、最終ブロックではないと判断した場合には、コマナンバーテーブル上の選択箇所を+1移動する(ステップ511)。すなわち、現在選択されているコマナンバーより1つ大きいコマナンバーを選択する。
【0125】
次いで、選択ブロックを+1移動する(ステップ512)。すなわち、現在選択されているブロックより1つ大きいブロックナンバーのブロックを選択し、この後、ステップ504に戻り、再度、ステップ504以降を実行する。
【0126】
ステップ506において選択されているブロックが最終ブロックと判断した場合、または、ステップ510において選択されているブロックが最終ブロックと判断した場合には、変数Eの値を2に設定する(ステップ513)。
【0127】
なお、このステップ513までの過程では、画像データが記録済であり、かつ記録禁止ブロックではないすべてのブロックについて、各ブロックの画像データの記録時刻およびブロックナンバーが、それぞれ、コマナンバーテーブルのコマナンバー1の箇所から、ブロックナンバーが小さい方から順に書き込まれる。
【0128】
次いで、コマナンバーテーブルのコマ(E)に書き込みが無いか否かを判断し(ステップ514)、コマナンバーテーブルのコマ(E)に書き込みが有ると判断した場合には、変数Fの値をEに設定する(ステップ515)。
【0129】
なお、前記コマナンバーテーブルのコマ(E)とは、コマナンバーテーブルのコマナンバーEの箇所(領域)をいう。
次いで、コマナンバーテーブルのコマ(E)に書き込まれている記録時刻と、コマ(E−1)に書き込まれている記録時刻とを比較する(ステップ516)。
【0130】
次いで、コマ(E)に書き込まれている記録時刻の方が、コマ(E−1)に書き込まれている記録時刻より前であるか否か、すなわち、コマ(E)に書き込まれている記録時刻の方が、コマ(E−1)に書き込まれている記録時刻より過去であるか否かを判断する(ステップ517)。
【0131】
ステップ517において、コマ(E)に書き込まれている記録時刻の方が、コマ(E−1)に書き込まれている記録時刻より前と判断した場合には、コマ(E)に書き込まれている内容(記録時刻およびブロックナンバー)と、コマ(E−1)に書き込まれている内容とを交換する(ステップ518)。すなわち、コマ(E)に書き込まれている記録時刻およびブロックナンバーをコマ(E−1)に書き込み、コマ(E−1)に書き込まれている記録時刻およびブロックナンバーをコマ(E)に書き込む。
【0132】
次いで、E−1=1か否かを判断する(ステップ519)。
ステップ519において、E−1=1ではないと判断した場合には、変数Eの値をE−1に設定し(ステップ520)、この後、ステップ516に戻り、再度、ステップ516以降を実行する。
【0133】
また、ステップ519において、E−1=1と判断した場合には、変数Eの値をF+1に設定する(ステップ521)。
次いで、コマナンバーテーブルのコマ(E)に書き込みが無いか否かを判断し(ステップ522)、コマナンバーテーブルのコマ(E)に書き込みが有ると判断した場合には、ステップ515に戻り、再度、ステップ515以降を実行する。
【0134】
ステップ514においてコマナンバーテーブルのコマ(E)に書き込みが無いと判断した場合、または、ステップ522においてコマナンバーテーブルのコマ(E)に書き込みが無いと判断した場合には、コマナンバー1のコマを再生または消去対象のコマとして選択する。以上でこのプログラムは終了し、メインルーチンへ戻る。
【0135】
これにより、コマナンバーテーブルに書き込まれている各ブロックの画像データの記録時刻およびブロックナンバーは、それぞれ、コマナンバーテーブルのコマナンバー1の箇所から、画像データの記録時刻が過去のものから順に並び、最も記録時刻が古いブロックの記録時刻およびブロックナンバーが書き込まれているコマナンバー1のコマが再生または消去対象のコマとして選択される。
【0136】
(5)[記録]
図13は、記録を行う際のシステムコントロール回路2の動作を示すフローチャートである。以下、このフローチャートを説明する。
【0137】
記録禁止モードか否かを判断し(ステップ601)、記録禁止モードではないと判断した場合には、撮影(撮像)を行う(ステップ602)。このステップ602では、前述したように、CCD3への露光制御、CCD3からの画素信号の読み出しおよび所定の信号処理等を行って、記録用の画像データを作成する。
【0138】
次いで、メモリーカード記録モードか否かを判断する(ステップ603)。
ステップ603において、メモリーカード記録モードと判断した場合には、前述したように、ICメモリーカードコントロール回路15により、ICメモリーカード31の画像データを記録する領域として選択されている領域へ画像データを記録する(ステップ604)。
【0139】
また、ステップ603において、メモリーカード記録モードではないと判断した場合には、前述したように、フラッシュメモリーコントロール回路19により、画像用フラッシュメモリー20の画像データを記録するブロックとして選択されているブロックの画像データ記録部265へ画像データを記録する(ステップ605)。このステップ605では、フラッシュメモリーコントロール回路19により、前記画像データを記録したブロックの画像有無情報記録部262に、画像記録済を示す「0」を書き込む。
【0140】
次いで、フラッシュメモリーコントロール回路19により、時計24からの情報に基づき、前記画像データの記録時刻を、画像用フラッシュメモリー20の前記画像データを記録したブロックの時刻記録部264へ記録する(ステップ606)。
【0141】
ステップ601において記録禁止モードと判断した場合には、ICメモリーカード31および画像用フラッシュメモリー20のいずれにも記録を行わない。
ステップ601において記録禁止モードと判断した場合、または、ステップ604または606でこのプログラムは終了し、メインルーチンへ戻る。
【0142】
(6)[消去]
図14は、消去を行う際のシステムコントロール回路2の動作を示すフローチャートである。以下、このフローチャートを説明する。
【0143】
メモリーカード検出回路16からの情報に基づいて、ICメモリーカード31が有るか否かを判断する(ステップ701)。このステップ701では、ICメモリーカード31の端子が装填部17のコネクタ18の端子に接続している場合には「ICメモリーカード31有り」、接続していない場合には「ICメモリーカード31無し」と判断する。
【0144】
ステップ701において、ICメモリーカード31有りと判断した場合には、ICメモリーカードコントロール回路15により、ICメモリーカード31上の消去対象のコマとして選択されているコマを消去する(ステップ702)。すなわち、ICメモリーカード31から、選択されているコマナンバーの画像データを消去する。
【0145】
また、ステップ701において、ICメモリーカード31無しと判断した場合には、フラッシュメモリーコントロール回路19により、画像用フラッシュメモリー20上の消去対象のコマとして選択されているコマに対応した消去対象ブロックの消去回数カウンタ261から消去回数を読み出し、その消去回数をシステムコントロール回路2のRAMに書き込む(ステップ703)。
【0146】
次いで、フラッシュメモリーコントロール回路19により、画像用フラッシュメモリー20上の消去対象のコマとして選択されているコマに対応した消去対象ブロックに記録されている全データを消去する(ステップ704)。
【0147】
次いで、システムコントロール回路2のRAMに書き込まれている消去回数を1つインクリメントする(ステップ705)。
次いで、システムコントロール回路2のRAMから消去回数を読み出し、フラッシュメモリーコントロール回路19により、その消去回数をデータが消去されたブロックの消去回数カウンタ261に書き込む(ステップ706)。以上でこのプログラムは終了し、メインルーチンへ戻る。このように、スチルビデオカメラ1では、ICメモリーカード31側の消去が優先されるようになっている。
【0148】
(7)[再生開始]
図15は、再生を開始する際のシステムコントロール回路2の動作を示すフローチャートである。以下、このフローチャートを説明する。
【0149】
メモリーカード検出回路16からの情報に基づいて、ICメモリーカード31が有るか否かを判断する(ステップ801)。このステップ801では、ICメモリーカード31の端子が装填部17のコネクタ18の端子に接続している場合には「ICメモリーカード31有り」、接続していない場合には「ICメモリーカード31無し」と判断する。
【0150】
ステップ801において、ICメモリーカード31有りと判断した場合には、前述したように、ICメモリーカードコントロール回路15により、ICメモリーカード31上の再生対象のコマとして選択されているコマから画像データを読み出し、その画像データを画像メモリー7へ転送して、書き込む(ステップ802)。
【0151】
また、ステップ801において、ICメモリーカード31無しと判断した場合には、前述したように、フラッシュメモリーコントロール回路19により、画像用フラッシュメモリー20上の再生対象のコマとして選択されているコマ、すなわち、再生対象のブロックの画像データ記録部265から画像データを読み出し、その画像データを画像メモリー7へ転送して、書き込む(ステップ803)。
【0152】
ステップ802または803の後、前述したように、画像メモリー7から画像データを読み出して、画像の再生を開始する(ステップ804)。すなわち、画像をLCDモニタ12に表示する。以上でこのプログラムは終了し、メインルーチンへ戻る。このように、スチルビデオカメラ1では、ICメモリーカード31に記録されている画像を優先して再生するようになっている。
次に、カード挿入割り込み処理について説明する。
【0153】
(8)[カード挿入割り込み処理]
図16は、カード挿入割り込み処理を行う際のシステムコントロール回路2の動作を示すフローチャートである。以下、このフローチャートを説明する。
【0154】
カード挿入割り込み処理は、前述したメインルーチンにおいてカード挿入割り込みが許可されているときに、ICメモリーカード31の端子が装填部17のコネクタ18の端子に接続すると実行される。
【0155】
このカード挿入割り込み処理では、まず、画像用フラッシュメモリー20が記録動作中か否かを判断し(ステップ901)、画像用フラッシュメモリー20が記録動作中であると判断した場合には、ICメモリーカードコントロール回路15により、ICメモリーカード31から、カード属性情報を読み出す(ステップ902)。
【0156】
次いで、前記カード属性情報に基づいて、ICメモリーカード31が適正なカードか否かを判断する(ステップ903)。なお、ステップ903では、ICメモリーカード31からカード属性情報が読み出せない場合にも、そのICメモリーカード31を不適性なカードと判断する。
【0157】
ステップ903において、ICメモリーカード31が適正なカードであると判断した場合には、ICメモリーカード31の残り容量をチェックする(ステップ904)。すなわち、ICメモリーカードコントロール回路15により、ICメモリーカード31からメモリーの残り容量に関する情報を読み出し、その情報をシステムコントロール回路2に入力する。
【0158】
次いで、前記情報に基づいて、ICメモリーカード31に容量が有るか否かを判断する(ステップ905)。この場合、ICメモリーカード31に、少なくとも1画像分の画像データ(画像信号)を記録し得る残り容量が有れば、「容量有り」と判断し、無ければ「容量無し」と判断する。
【0159】
ステップ905において、ICメモリーカード31に容量有りと判断した場合には、画像用フラッシュメモリー20への記録を中止する(ステップ906)。
【0160】
次いで、メモリーカード記録モードに設定する(ステップ907)。
次いで、図4に示すように、表示部23により、メモリーカード記録モードを示すモード表示を行う(ステップ908)。
【0161】
次いで、ICメモリーカード31の画像データを記録する領域として選択されている領域に、前記記録が中止になった画像データを記録する(ステップ909)。
【0162】
このステップ909では、前述したように、画像メモリー7に書き込まれている画像データ(画像信号)を読み出して、画像信号処理回路8で所定の信号処理を行った後、その画像データを、ICメモリーカードコントロール回路15により、ICメモリーカード31の画像データを記録する領域として選択されている領域へ記録する。すなわち、ICメモリーカード31へ1画像分の画像データを最初から記録する。
【0163】
次いで、フラッシュメモリーコントロール回路19により、画像用フラッシュメモリー20の前記画像データの記録を中止したブロックの消去回数カウンタ261から消去回数を読み出し、その消去回数をシステムコントロール回路2のRAMに書き込む(ステップ910)。
【0164】
次いで、フラッシュメモリーコントロール回路19により、画像用フラッシュメモリー20の前記画像データの記録を中止したブロックに記録されているデータ(書きかけの画像データ等)を消去する(ステップ911)。
次いで、システムコントロール回路2のRAMに書き込まれている消去回数を1つインクリメントする(ステップ912)。
【0165】
次いで、システムコントロール回路2のRAMから消去回数を読み出し、フラッシュメモリーコントロール回路19により、その消去回数をデータが消去されたブロックの消去回数カウンタ261に書き込む(ステップ913)。
【0166】
ステップ901において画像用フラッシュメモリー20が記録動作中でないと判断した場合、ステップ903においてICメモリーカード31が不適正なカードであると判断した場合、ステップ905においてICメモリーカード31に容量無しと判断した場合、または、ステップ913でこのプログラムは終了し、メインルーチンへ戻る。
【0167】
このようにスチルビデオカメラ1は、画像用フラッシュメモリー20と、ICメモリーカード31を装填する装填部17とを有しており、撮影した画像を、画像用フラッシュメモリー20へ、または、直接ICメモリーカード31へ記録することができ、特に、ICメモリーカード31に優先的に記録するようになっているので、画像用フラッシュメモリー20に対する記録および消去回数を減少させることができ、これにより、画像用フラッシュメモリー20の寿命を延ばすことができる。
【0168】
また、スチルビデオカメラ1では、画像用フラッシュメモリー20の各ブロックの消去回数をカウントし、その消去回数が消去保証回数を超えたブロック(領域)には画像(画像データ)の記録を禁止することにより、十分なデータ保持特性を有するブロックのみに画像を記録するようになっているので、画像用フラッシュメモリー20に記録されたデータの信頼性が向上し、画質を良好に保つことができる。
【0169】
また、スチルビデオカメラ1では、画像をICメモリーカード31へ記録するメモリーカード記録モードと、画像を画像用フラッシュメモリー20へ記録するフラッシュメモリー記録モードと、画像の記録を禁止する記録禁止モードとが、ICメモリーカード31の装填部17への装填等の諸条件に応じて自動的に設定されるので、記録モードの選択ミスを防止することができるとともに、操作が簡略化される。
【0170】
また、スチルビデオカメラ1では、画像用フラッシュメモリー20への記録動作中に、残り容量のあるICメモリーカード31が装填部17に装填された場合(ICメモリーカード31の端子とコネクタ18の端子とが接続した場合)には、画像用フラッシュメモリー20への記録を中止し、かつその記録したデータを消去するとともに、画像データをICメモリーカード31に記録し直すようになっているので、例えば、撮影者が、レリーズ後ICメモリーカード31に記録したいと思った場合でも対応することができる。この場合、装填部17にICメモリーカード31を装填すると、自動的に、記録媒体が、画像用フラッシュメモリー20からICメモリーカード31に切り換わるので、操作が簡略化される。
【0171】
また、画像用フラッシュメモリー20へ途中まで記録された画像データ、すなわち画像を構成しない無駄な画像データは、直ちに消去されるので、画像用フラッシュメモリー20の利用効率を向上させることができる。
【0172】
なお、前記本実施例では、画像を表示する表示手段として、LCDモニタ12を用いているが、本発明ではこれに限らず、例えば、電子式ビューファインダーを用いてもよい。
以上、本発明のスチルビデオカメラを、図示の構成例に基づいて説明したが、本発明はこれに限定されるものではない。
【0173】
【発明の効果】
以上説明したように、本発明のスチルビデオカメラは、画像記録用の不揮発性メモリー(例えば、フラッシュメモリー)と、外部メモリー(例えば、ICメモリーカード)を電気的に接続する接続部とを有しており、撮影した画像の画像信号(画像データ)を、不揮発性メモリーまたは外部メモリーのいずれかへ記録することができるので、不揮発性メモリーに対する記録および消去回数を減少させることができ、これにより、不揮発性メモリーの寿命を延ばすことができる。
【0174】
また、本発明のスチルビデオカメラによれば、不揮発性メモリーへの画像信号の記録中に、接続検出手段により、接続部と外部メモリーとの接続が検出されたときは、不揮発性メモリーへの記録を中止し、その画像信号を外部メモリーに記録するようになっているので、不揮発性メモリーへの記録の途中でも、画像信号を記録する記録媒体を不揮発性メモリーから外部メモリーに変更することができる。
【0175】
この場合、外部メモリーを接続部へ接続するだけの操作で記録媒体が自動的に切り換わるので、操作が簡略化される。
また、不揮発性メモリーへの画像信号の記録が中止された後、その記録された画像信号を消去する構成の場合には、画像を構成しない無駄な画像信号が直ちに消去されるので、不揮発性メモリーの利用効率を向上させることができる。
【図面の簡単な説明】
【図1】本発明のスチルビデオカメラの回路構成例を示すブロック図である。
【図2】本発明における画像用フラッシュメモリーの構成例を示すブロック図である。
【図3】本発明における画像用フラッシュメモリーのメモリー部の構成例を示す模式図である。
【図4】本発明における表示部のメモリーカード記録モード表示を示す模式図である。
【図5】本発明における表示部のフラッシュメモリー記録モード表示を示す模式図である。
【図6】本発明における表示部の記録禁止モード表示を示す模式図である。
【図7】本発明におけるシステムコントロール回路の動作を示すフローチャートである。
【図8】本発明におけるシステムコントロール回路の動作を示すフローチャート(図7の続き)である。
【図9】本発明において、記録モード設定処理を行う際のシステムコントロール回路の動作を示すフローチャートである。
【図10】本発明において、記録領域選択処理を行う際のシステムコントロール回路の動作を示すフローチャートである。
【図11】本発明において、フラッシュメモリー割り振り処理を行う際のシステムコントロール回路の動作を示すフローチャートである。
【図12】本発明において、フラッシュメモリー割り振り処理を行う際のシステムコントロール回路の動作を示すフローチャート(図11の続き)である。
【図13】本発明において、記録処理を行う際のシステムコントロール回路の動作を示すフローチャートである。
【図14】本発明において、消去処理を行う際のシステムコントロール回路の動作を示すフローチャートである。
【図15】本発明において、再生開始処理を行う際のシステムコントロール回路の動作を示すフローチャートである。
【図16】本発明において、カード挿入割り込み処理の際のシステムコントロール回路の動作を示すフローチャートである。
【符号の説明】
1 スチルビデオカメラ
2 システムコントロール回路
3 CCD(固体撮像素子)
4 撮像回路
5 A/Dコンバータ
6 第1のデータセレクタ
7 画像メモリー
8 画像信号処理回路
9 D/Aコンバータ
10 NTSCエンコーダ
11 混合回路
12 LCDモニタ
13 OSDC(オンスクリーンディスプレーコントローラ)
14 第2のデータセレクタ
15 ICメモリーカードコントロール回路
16 メモリーカード検出回路
17 装填部
18 コネクタ
19 フラッシュメモリーコントロール回路
20 画像用フラッシュメモリー
21 プログラム用フラッシュメモリー
22 操作部
23 表示部
24 時計(クロックIC)
25 コマンド解読部
26 メモリー部
261 消去回数カウンタ
262 画像有無情報記録部
263 記録禁止情報記録部
264 時刻記録部
265 画像データ記録部
31 ICメモリーカード
101〜134 ステップ
301〜316 ステップ
401〜411 ステップ
501〜523 ステップ
601〜606 ステップ
701〜706 ステップ
801〜804 ステップ
901〜913 ステップ[0001]
[Industrial application fields]
The present invention relates to a still video camera.
[0002]
[Prior art]
There is known a still video camera having a built-in flash memory (nonvolatile memory capable of erasing and rewriting data) and recording (storing) captured images in the flash memory.
[0003]
The flash memory has advantages that it is easy to increase the capacity, is inexpensive, and does not require a battery for backing up data.
However, since the flash memory has the disadvantage that the number of guaranteed data rewrites is limited, the conventional still video camera stores the image in the flash memory by repeatedly recording and erasing the image. There is a problem that the reliability of data is lowered, and thereby the S / N ratio of the reproduced image is lowered.
[0004]
[Problems to be solved by the invention]
An object of the present invention is to extend the life of a non-volatile memory for image recording built in a camera and capable of erasing and rewriting data, and also during the recording of an image signal to the non-volatile memory. An object of the present invention is to provide a still video camera capable of switching a recording medium from a nonvolatile memory to an external memory.
[0005]
[Means for Solving the Problems]
Such an object is achieved by the present inventions (1) to (2) below.
[0006]
(1) an imaging unit;
A non-volatile memory built in the camera and capable of erasing and rewriting data capable of recording an image captured by the imaging unit;
A connection unit that is detachable from the outside of the camera and electrically connects an external memory capable of recording an image captured by the imaging unit;
A connection detecting means for detecting a connection between the connecting portion and the external memory;
An external memory remaining amount detecting means for detecting the remaining capacity of the external memory;
A recording unit that records an image signal of an image captured by the imaging unit in the nonvolatile memory or the external memory;
Erasing means for erasing the image signal recorded in the non-volatile memory or the external memory,
The recording unit detects a connection between the connection unit and the external memory by the connection detection unit while recording an image signal of an image captured by the imaging unit in the nonvolatile memory, and When it is detected by the external memory remaining amount detection means that there is a remaining capacity capable of recording an image signal for at least one image in the external memory, the recording of the image signal to the nonvolatile memory is stopped, Operates to record the image signal for which the recording is stopped in the external memory,
After the recording of the image signal to the non-volatile memory is stopped, the erasing means is the non-volatile memory other than the image signal for which the recording has been stopped among the image signals recorded to the non-volatile memory. A still video camera which operates to erase the image signal for which recording has been stopped without erasing the image signal recorded in the recording memory.
[0007]
(2) The still video camera according to (1), wherein the external memory is an IC memory mounted on an IC memory card.
[0010]
【Example】
Hereinafter, a still video camera of the present invention will be described in detail based on a preferred embodiment shown in the accompanying drawings.
[0011]
FIG. 1 is a block diagram showing a circuit configuration example of a still video camera of the present invention. As shown in FIG. 1, a still video camera (electronic still camera) 1 includes an imaging unit including a camera body (not shown), a photographing optical system, a finder optical system, a CCD (solid-state imaging device) 3 and an imaging circuit 4. And an LCD monitor (liquid crystal display monitor) 12.
[0012]
The CCD 3 is configured such that a large number of pixels are arranged in a matrix, each pixel accumulates a charge corresponding to the amount of received light, and sequentially transfers this charge at a predetermined time. It is installed on the surface.
The imaging circuit 4 is a circuit for controlling the CCD 3 and reading a signal from the CCD 3, and its input side is connected to the output side of the CCD 3.
[0013]
This embodiment is a still video camera 1 for photographing color images. For example, a CCD of a complementary color filter is used as the CCD 3. Each pixel (minimum unit) of the CCD 3 is covered with a filter for extracting magenta (Mg), yellow (Ye), cyan (Cy), and green (G). The four pixels having filters for taking out magenta, yellow, cyan and green of the CCD 3 constitute one unit, and one pixel on the screen is constituted by this one unit. A subject image is formed on the light receiving surface of the CCD 3 by the photographing optical system.
[0014]
The still video camera 1 has a system control circuit (control means) 2. The system control circuit 2 is usually composed of a microcomputer, and controls various functions in the still video camera 1 such as sequence control. That is, the imaging circuit 4, a first data selector 6 described later, an image memory 7, an image signal processing circuit 8, an OSDC (on-screen display controller) 13, a second data selector 14, an IC memory card control circuit 15, a flash memory The control circuit 19, the display unit 23, the clock (clock IC) 24, and the like are controlled.
Connected to the system control circuit 2 are an operation unit 22, a display unit 23, and a clock (clock IC) 24 that generates year / month / day and hour / minute / second.
[0015]
The operation unit 22 includes, for example, a power switch (main switch), a release switch, an up / down switch, a mode setting switch for selecting one of a recording mode / playback mode / erase mode, a copy switch, and the like. Yes.
[0016]
On the display unit 23, for example, whether the power switch or the like is turned on / off, the recording mode / playback mode / erase mode selected by the mode setting switch, the memory card recording mode / flash memory recording among the recording modes. Necessary information such as the mode / recording prohibition mode, information such as the shooting date, current time, whether or not the IC memory card 31 is loaded is, for example, a liquid crystal display element (LCD) or a light emitting element. Is displayed.
[0017]
The camera body of the still video camera 1 is provided with a loading unit 17 for loading the IC memory card 31 and an eject switch (not shown) for ejecting the IC memory card 31, and the loading unit 17 has a connector 18. Is installed. The loading unit 17 having the connector 18 constitutes a connection unit for electrically connecting an IC memory (external memory) of the IC memory card.
[0018]
The IC memory card 31 incorporates an IC (Integrated Circuit) memory for recording (storing) an image taken by the still video camera 1 and is a card-type external memory that is detachable from the still video camera 1. . This IC memory has an area for recording image signals (image data) and an area for recording card attribute information. Examples of card attribute information include the type of IC memory (for example, static ram, flash memory, etc.), the recording capacity of the IC memory, the access speed, and the like.
[0019]
The connector 18 is connected to an IC memory card control circuit 15 that performs overall control such as data writing to and data reading from the IC memory card 31. The IC memory card control circuit 15 also functions as an external memory remaining amount detecting means for detecting the remaining capacity (free capacity) of the memory of the IC memory card 31. As will be described later, recording mode setting and card insertion interrupt processing 1 read out information on the remaining memory capacity from the IC memory card 31 and input the information to the system control circuit 2.
[0020]
Further, the still video camera 1 has a memory card detection circuit (detection circuit) for detecting the loading of the IC memory card 31 into the loading unit 17, that is, the connection (electrical connection) between the terminal of the IC memory card 31 and the terminal of the connector 18. Connection detection means) 16. The memory card detection circuit 16 is connected to the connector 18, the system control circuit 2, and the IC memory card control circuit 15, respectively.
[0021]
When the terminal of the IC memory card 31 and the terminal of the connector 18 are normally connected, the predetermined terminal is grounded, and a low level signal (L) is detected from the memory card detection circuit 16 by detecting this. Is input to the system control circuit 2 and the IC memory card control circuit 15, respectively, and if the terminal of the IC memory card 31 and the terminal of the connector 18 are not normally connected, the memory card detection circuit 16 The signal (H) is input to the system control circuit 2 and the IC memory card control circuit 15, respectively. Thereby, the system control circuit 2 grasps whether or not the terminal of the IC memory card 31 and the terminal of the connector 18 are correctly connected (whether or not the IC memory card 31 is loaded in the loading unit 17). Yes.
[0022]
The IC memory card 31 is loaded into the loading unit 17 by inserting the IC memory card 31 into the loading port while holding the IC memory card 31 by hand, contacting the innermost part of the loading unit 17, and further pressing the IC memory card 31. The terminal of the memory card 31 is connected to the terminal of the connector 18. In addition, a card transport mechanism (not shown) is installed in the loading unit 17, and when the IC memory card 31 is ejected from the loading unit 17, the card transport mechanism is operated in accordance with the operation of the eject switch. The IC memory card 31 is ejected.
[0023]
The still video camera 1 also includes an image flash memory (image flash EEPROM) 20, a program flash memory (program flash EEPROM) 21, data writing to the image flash memory 20 and the program flash memory 21, And a flash memory control circuit 19 for performing overall control such as data reading. This flash memory control circuit 19 also functions as flash memory remaining amount detecting means (non-volatile memory remaining amount detecting means) for detecting the remaining capacity (free capacity) of the image flash memory 20 and, as will be described later, as described later. In this setting, information relating to the remaining capacity of the image flash memory 20 is read and the information is input to the system control circuit 2.
[0024]
The flash memory control circuit 19, the IC memory card control circuit 15 and the system control circuit 2 record image data (image signals) in the image flash memory 20 or the IC memory card 31, and the image data as image data. And erasing means for erasing from the flash memory 20 or the IC memory card 31.
[0025]
The flash memory control circuit 19 and the system control circuit 2 detect the number of erasures of each block (recording unit area), which will be described later, of the image flash memory 20, and determine whether recording (rewriting) is possible based on this. The recording permission / non-permission determining means is configured.
[0026]
The image flash memory 20 is a non-volatile memory (non-volatile memory capable of erasing and rewriting data) for recording (storing) images taken by the still video camera 1, and the program flash memory 21 is an IC. This is a non-volatile memory (non-volatile memory capable of erasing and rewriting data) for recording (storing) a program for performing communication operation with the memory card 31 and the like. Each of the image flash memory 20 and the program flash memory 21 has a plurality of blocks (recording unit areas), and is a memory that can erase data in a block unit. Hereinafter, the image flash memory 20 will be described as a representative.
[0027]
FIG. 2 is a block diagram illustrating a configuration example of the image flash memory 20.
As shown in the figure, the image flash memory 20 includes a command decoding unit 25 and a memory unit 26. The command decoding unit 25 and the memory unit 26 are electrically connected.
[0028]
FIG. 3 is a schematic diagram illustrating a configuration example of the memory unit 26 of the image flash memory 20.
As shown in the figure, the memory unit 26 of the image flash memory 20 is composed of a plurality of blocks (first block to Nth block, where N is an integer of 2 or more), and each of these blocks is erased. A number counter (erase count recording unit) 261, an image presence / absence information recording unit 262, a recording prohibition information recording unit 263, a time recording unit 264, and an image data recording unit 265 are configured.
[0029]
In the erase count counter 261 of each block, information (erasure count information) indicating the erase count for the block, that is, the count of erasing data recorded in the block is recorded.
[0030]
Further, image data (image signal) is recorded in the image data recording unit 265 of each block. In this embodiment, one image is recorded in one block.
[0031]
In addition, the image presence / absence information recording unit 262 of each block records image presence / absence information indicating whether or not image data is recorded in the image data recording unit 265 of the block. If the image has been recorded, “0” indicating that the image has been recorded is recorded. If the image has not been recorded, “1” indicating that the image has not been recorded is recorded. For each of the above, it can be determined whether or not the image has been recorded.
[0032]
In the flash memory, when erasing is performed, the data read from all the erased bits is “1”. Therefore, when an image of a predetermined block is deleted, the image presence / absence information recording unit 262 of the block automatically becomes “1”, and when the image is recorded again, “0” is input to the image presence / absence information recording unit 262 of the block. Record.
[0033]
Further, information indicating whether or not the block is a recording prohibited block is recorded in the recording prohibition information recording unit 263 of each block. In the case of the recording prohibition block, “0” indicating that is recorded, and in the case where it is not the recording prohibition block, “1” indicating that is recorded. It is possible to determine whether the block is a recording prohibited block.
[0034]
As will be described later, in this still video camera 1, recording of image data is prohibited to a block in which the number of times of erasure exceeds a predetermined number of times of erasure, and the recording prohibition information recording unit 263 of the block is Record “0” indicating that the block is a recording prohibited block.
[0035]
Further, the time recording unit 264 of each block records information indicating “year, month, day, hour, minute, second (hereinafter simply referred to as time)” when the image data is recorded in the image data recording unit 265 of the block. Is done.
[0036]
As shown in FIG. 2, when recording data in the image flash memory 20 and erasing data from the image flash memory 20, the system control circuit 2 activates the flash memory control circuit 19, respectively. (Command data) is input from the flash memory control circuit 19 to the command decoding unit 25 of the image flash memory 20.
[0037]
The command decoding unit 25 decodes the input command code. Based on the information, data is recorded in the memory unit 26 and data is erased from the memory unit 26.
[0038]
The flash memory control circuit 19 is connected to the IC memory card control circuit 15, and the program flash memory 21 is connected to the system control circuit 2.
[0039]
Next, the operation of the still video camera 1 will be described.
In the still video camera 1, immediately after the mode setting switch is operated, each mode set command, that is, a recording mode set command, a playback mode set command, or an erasing mode set command is sent to the system control circuit 2 according to the mode. Is input. Even if the mode setting switch is not operated, when the IC memory card 31 is pulled out or inserted, the mode setting commands are input to the system control circuit 2 immediately after that according to the mode.
[0040]
The system control circuit 2 sets “recording mode”, “reproduction mode” or “erase mode” in response to the mode set command.
When the recording mode is set, as described later, “memory card recording mode” for recording to the IC memory card 31, “flash memory recording mode” for recording to the image flash memory 20, or the IC memory card 31. In addition, a “recording prohibit mode” is set to prohibit recording in both the image flash memory 20 and the image flash memory 20.
[0041]
4, 5 and 6 are schematic diagrams showing display examples of the display unit 23 in the memory card recording mode, the flash memory recording mode, and the recording prohibition mode, respectively.
[0042]
As shown in FIG. 4, when the memory card recording mode is set, “C” is displayed above the display area of the display unit 23 in FIG. As shown in FIG. 5, when the flash memory recording mode is set, “F” is displayed on the upper side of the display area of the display unit 23 in FIG. As shown in FIG. 6, when the recording prohibit mode is set, “X” is displayed on the upper side of the display area of the display unit 23 in FIG.
[0043]
In the still video camera 1, when the release switch is turned on in the recording mode, the reproduction mode, and the erasure mode, a recording trigger, a reproduction trigger, and an erasure trigger are input to the system control circuit 2, respectively. Then, recording (photographing), reproduction (reproduction start or reproduction stop) and erasure are executed by detecting the recording trigger, reproduction trigger and erasure trigger, respectively.
[0044]
Hereinafter, as an example of operations of the still video camera 1 in each mode, recording and playback of an image on the image flash memory 20 and recording and playback of an image on the IC memory card 31 will be described. The still video camera 1 records images on the IC memory card 31 in principle. However, when the IC memory card 31 is not loaded in the loading unit 17 or there is no remaining capacity in the memory of the IC memory card 31. For the reason, when the recording to the IC memory card 31 is impossible, the recording to the image flash memory 20 is auxiliary.
[0045]
(1) [Recording to image flash memory 20]
As described above, when a recording mode set command is input to the system control circuit 2 by a user (photographer) operating a mode setting switch, the system control circuit 2 sets the recording mode.
[0046]
In this case, as will be described later, when the terminal of the IC memory card 31 and the terminal of the connector 18 are not normally connected, or image data (image signal) for one image is recorded in the IC memory card 31. If there is no remaining capacity to be obtained, and the image flash memory 20 has an erase count equal to or less than the guaranteed erase count and there is an unrecorded block of image data, the system control circuit 2 causes the flash memory to The recording mode is set.
[0047]
When the release switch is turned on in the flash memory recording mode, the CCD 3 is exposed under a predetermined exposure condition, and each pixel of the CCD 3 has a charge corresponding to the amount of light corresponding to the subject image. Accumulated. The accumulated charges are sequentially transferred and input to the imaging circuit 4.
[0048]
The imaging circuit 4 performs predetermined signal processing on the signal output from the CCD 3 to obtain an analog image signal of the photographed subject image, that is, an analog image signal regarding magenta, yellow, cyan, and green. The analog image signal is converted by the A / D converter 5 into a digital image signal, that is, a complementary color digital image signal of magenta, yellow and cyan, and a primary color digital image signal of green, and first data for selecting a reception destination It passes through the selector 6 and is once written at a predetermined address in the image memory 7. Switching of the first data selector 6 is controlled by the system control circuit 2.
[0049]
Next, each digital image signal is read from a predetermined address in the image memory 7.
Each read digital image signal is input to the image signal processing circuit 8. The image signal processing circuit 8 performs predetermined arithmetic processing or the like on the input magenta, yellow and cyan complementary color digital image signals and green primary color digital image signals to obtain a luminance signal (Y) and a red difference signal ( Cr) and a blue color difference signal (Cb).
[0050]
The luminance signal (Y), the red color difference signal (Cr), and the blue color difference signal (Cb) are selected by the second data selector 14 that selects the transmission destination, and are input to the flash memory control circuit 19, where the flash memory control circuit 19, the image data is recorded in the image data recording unit 265 of a predetermined block of the image flash memory 20. Switching of the second data selector 14 is controlled by the system control circuit 2.
[0051]
(2) [Reproduction from image flash memory 20]
As described above, when the playback mode set command is input to the system control circuit 2 by the user operating the mode setting switch, the system control circuit 2 sets the playback mode.
[0052]
When the release switch is turned on when the playback mode is set and the terminal of the IC memory card 31 and the terminal of the connector 18 are not normally connected, the flash memory control circuit 19 causes the flash memory 20 for the image to be stored. A luminance signal (Y), a red color difference signal (Cr), and a blue color difference signal (Cb) are read from the image data recording unit 265 of a predetermined block, pass through the first data selector 6, and are stored in a predetermined memory of the image memory 7. Once written to the address. Switching of the first data selector 6 is controlled by the system control circuit 2.
[0053]
Next, a luminance signal (Y), a red color difference signal (Cr), and a blue color difference signal (Cb) are read from a predetermined address in the image memory 7.
The read luminance signal (Y), red color difference signal (Cr) and blue color difference signal (Cb) pass through the image signal processing circuit 8 and are converted from a digital signal to an analog signal by the D / A converter 9. , And input to the NTSC encoder 10. The NTSC encoder 10 uses the luminance signal (Y), the red color difference signal (Cr), and the blue color difference signal (Cb), and a synchronization signal input to the NTSC encoder 10 from a synchronization signal generation circuit (not shown) to generate the NTSC system Standard television signals (video signals) are generated.
[0054]
The generated signal is input from the NTSC encoder 10 to the mixing circuit 11, and the synchronization signal (vertical synchronization signal, horizontal synchronization signal) is input from the NTSC encoder 10 to the OSDC (on-screen display controller) 13.
[0055]
The OSDC 13 generates a character signal corresponding to the frame number of the reproduced image. The OSDC 13 inputs the generated character signal to the mixing circuit 11 while synchronizing with the synchronization signal input from the NTSC encoder 10 to the OSDC 13.
[0056]
The mixing circuit 11 combines (mixes) the video signal input from the NTSC encoder 10 and the character signal input from the OSDC 13. The signal synthesized by the mixing circuit 11 is input to the LCD monitor 12 and reproduced. Thereby, the reproduced image is displayed in a state where the frame number is superimposed.
Next, when the release switch is turned on, the reproduction is stopped.
[0057]
(3) [Recording to IC memory card 31]
As described above, when a recording mode set command is input to the system control circuit 2 by a user's operation of a mode setting switch, the system control circuit 2 sets the recording mode.
[0058]
In this case, as will be described later, when the terminal of the IC memory card 31 and the terminal of the connector 18 are normally connected and the IC memory card 31 has a remaining capacity capable of recording image data for one image. Is set to the memory card recording mode by the system control circuit 2.
[0059]
When the release switch is turned on in the state where the memory card recording mode is set, the exposure operation to the CCD 3 is performed under the predetermined exposure conditions as in the case of the recording to the image flash memory 20 described above. A charge is accumulated in each pixel, and the charge is sequentially transferred to the imaging circuit 4 to obtain an analog image signal of the photographed subject image. The analog image signal is converted into a digital image signal by the A / D converter 5, passes through the first data selector 6, and is once written at a predetermined address in the image memory 7. Switching of the first data selector 6 is controlled by the system control circuit 2.
[0060]
Next, in the same manner as described above, a digital image signal is read from a predetermined address of the image memory 7 and is input to the image signal processing circuit 8, and a luminance signal (Y), a red difference signal (Cr), and a blue difference signal are input. To (Cb).
[0061]
The luminance signal (Y), red color difference signal (Cr), and blue color difference signal (Cb) are selected by the second data selector 14 and input to the IC memory card control circuit 15. The data is written to a predetermined address in the IC memory of the IC memory card 31. Switching of the second data selector 14 is controlled by the system control circuit 2. The still video camera 1 also has a function of copying (transferring) image data from the image flash memory 20 to the IC memory card 31.
[0062]
The terminal of the IC memory card 31 and the terminal of the connector 18 are normally connected, the IC memory card 31 has a remaining capacity capable of recording image data for one image, and the image to be copied is selected When the copy switch is turned on, the flash memory control circuit 19 causes the luminance signal (Y), red color difference signal (Cr), and blue color difference signal (Cb) from the image data recording unit 265 of a predetermined block of the image flash memory 20. Is input to the IC memory card control circuit 15 and written to a predetermined address of the IC memory of the IC memory card 31 by the IC memory card control circuit 15.
Note that this image data copy operation (transfer operation) is omitted in the flowchart described later.
[0063]
(4) [Playback from IC memory card 31]
As described above, when the playback mode set command is input to the system control circuit 2 by the user operating the mode setting switch, the system control circuit 2 sets the playback mode.
[0064]
When the release switch is turned on in the state where the reproduction mode is set and the terminal of the IC memory card 31 and the terminal of the connector 18 are normally connected, the IC memory card control circuit 15 causes the IC memory card 31 to A luminance signal (Y), a red color difference signal (Cr), and a blue color difference signal (Cb) are read out from a predetermined address of the IC memory, passed through the first data selector 6 and set to a predetermined address of the image memory 7. Once written. Switching of the first data selector 6 is controlled by the system control circuit 2.
[0065]
Next, as in the case of reproduction from the image flash memory 20 described above, a luminance signal (Y), a red color difference signal (Cr), and a blue color difference signal (Cb) are read from a predetermined address of the image memory 7, After passing through the image signal processing circuit 8, the digital signal is converted into an analog signal by the D / A converter 9 and input to the NTSC encoder 10. Then, an NTSC standard television signal (video signal) is generated by the NTSC encoder 10, input to the mixing circuit 11, and combined (mixed) with the character signal input from the OSDC 13 by the mixing circuit 11. The signal synthesized by the mixing circuit 11 is input to the LCD monitor 12 and reproduced. Thereby, the reproduced image is displayed in a state where the frame number is superimposed.
Next, when the release switch is turned on, the reproduction is stopped.
[0066]
Next, the control operation of the system control circuit 2 of the still video camera 1 will be described.
7 and 8 are flowcharts showing the operation of the system control circuit 2. FIG. Hereinafter, description will be given based on this flowchart.
[0067]
Each subroutine in the main routine, that is, “recording mode setting” in steps 102 and 115, “flash memory frame number allocation” in step 109, “reproduction start” in steps 120 and 129, and “ “Erase” will be described later in detail. The card insertion interrupt process will be described later in detail.
[0068]
(1) [Main routine]
As described above, in the still video camera 1, when the mode setting switch is operated and the IC memory card 31 is pulled out or inserted, each mode set command is input to the system control circuit 2 according to the mode.
[0069]
When the power switch (main switch) is on, it is first determined whether or not a recording mode set command has been input (step 101). If it is determined that a recording mode set command has been input, the recording mode is set. (Step 102).
[0070]
If it is determined in step 101 that the recording mode set command has not been input, it is determined whether or not the playback mode set command has been input (step 103), and it has been determined that the playback mode set command has been input. If so, the playback mode is set (step 104).
[0071]
If it is determined in step 103 that no playback mode set command has been input, it is determined whether an erase mode set command has been input (step 105), and it has been determined that an erase mode set command has been input. If so, the erase mode is set (step 106).
[0072]
After step 104 or 106, based on the information from the memory card detection circuit 16, it is determined whether or not the IC memory card 31 is present, that is, whether or not it is loaded in the loading unit 17 (step 107). In this step 107, when the terminal of the IC memory card 31 is connected to the terminal of the connector 18 of the loading unit 17, “IC memory card 31 is present (IC memory card 31 loaded)”, and when it is not connected, It is determined that “IC memory card 31 is absent (IC memory card 31 is not loaded)”.
[0073]
If it is determined in step 107 that the IC memory card 31 is present, the first frame on the IC memory card 31, that is, the frame with frame number 1 is selected as the frame to be reproduced or erased (step 108). The management of the frame number on the IC memory card 31 is performed, for example, by including a number indicating the frame number in the file name.
[0074]
If it is determined in step 107 that there is no IC memory card 31, the flash memory frame number is allocated, that is, the frame number of the image recorded in the image flash memory 20 is allocated (step 109).
[0075]
After step 108 or 109, or when it is determined in step 105 that the erase mode set command has not been input, it is determined whether or not the recording mode is set (step 110).
[0076]
If it is determined in step 110 that the recording mode is selected, it is determined whether or not the release switch is turned on (recording trigger) (step 111). If it is determined that the recording trigger is detected, a card described later is used. Insertion interruption is permitted (step 112).
[0077]
Next, recording is performed (step 113).
Next, card insertion interruption is prohibited (step 114).
Next, the recording mode is set (step 115).
[0078]
If it is determined in step 110 that the recording mode is not selected, it is determined whether or not the playback mode is selected (step 116). If it is determined that the playback mode is selected, the release switch is turned on (reproduction trigger). It is determined whether or not (step 117).
[0079]
If it is determined in step 117 that a playback trigger has been detected, it is determined whether playback is in progress (step 118). If it is determined that playback is in progress, playback is stopped (step 119).
[0080]
If it is determined in step 118 that playback is not in progress, playback is started (step 120).
If it is determined in step 116 that the playback mode is not selected, it is determined whether or not the release switch is turned on (erase trigger) (step 121). If it is determined that the erase trigger is detected, step 116 is performed. Erasing is performed (step 122).
[0081]
If it is determined in step 111 that a recording trigger is not detected, if it is determined in step 117 that a playback trigger is not detected, if it is determined in step 121 that an erase trigger is not detected, or if steps 115, 119, 120, or 122 Thereafter, it is determined whether the up switch or the down switch is turned on (step 123).
[0082]
If it is determined in step 123 that the up switch or the down switch has been turned on, it is determined whether or not playback is in progress (step 124). If it is determined that playback is in progress, playback is stopped (step 125).
[0083]
Next, it is determined whether or not the switch is an up switch (step 126). If it is determined that the switch is an up switch, the frame number to be reproduced is incremented by one (step 127). Is decremented by one (step 128).
[0084]
After step 127 or 128, playback is started (step 129).
If it is determined in step 124 that playback is not in progress, it is determined whether or not it is in the erase mode (step 130). If it is determined that it is in the erase mode, it is determined whether or not it is an up switch (step 131). ).
[0085]
If it is determined in step 131 that the switch is an up switch, the frame number to be erased is incremented by one (step 132). If it is determined that the switch is a down switch, the frame number to be erased is decremented by one (step 133). ).
[0086]
If it is determined in step 123 that the up switch or the down switch is off, if it is determined in step 130 that it is not in the erase mode, or after step 129, 132 or 133, whether or not the power switch is turned off. Judgment is made (step 134).
[0087]
If it is determined in step 134 that the power switch is not turned off, the process returns to step 101, and step 101 and subsequent steps are executed again.
If it is determined in step 134 that the power switch has been turned off, the program ends.
[0088]
Next, each subroutine in the main routine described above, that is, “recording mode setting” in steps 102 and 115, “flash memory frame number allocation” in step 109, “reproduction start” in steps 120 and 129, and step Each “erase” in 122 will be described.
[0089]
(2) [Recording mode setting]
FIG. 9 is a flowchart showing the operation of the system control circuit 2 when setting the recording mode. Hereinafter, this flowchart will be described. Note that “recording area selection” in step 309 will be described in detail later.
[0090]
Based on the information from the memory card detection circuit 16, it is determined whether or not there is an IC memory card 31 (step 301). In this step 301, “IC memory card 31 is present” when the terminal of the IC memory card 31 is connected to the terminal of the connector 18 of the loading unit 17, and “IC memory card 31 is absent” when the terminal is not connected. Judge.
[0091]
If it is determined in step 301 that the IC memory card 31 is present, the remaining capacity of the IC memory card 31 is checked (step 302). That is, the IC memory card control circuit 15 reads information on the remaining memory capacity from the IC memory card 31 and inputs the information to the system control circuit 2.
[0092]
Next, based on the information, it is determined whether the IC memory card 31 has a capacity (step 303). In this case, if the IC memory card 31 has a remaining capacity capable of recording image data (image signal) for at least one image, it is determined that there is a capacity, and if there is not, it is determined that there is no capacity.
[0093]
If it is determined in step 303 that the IC memory card 31 has a capacity, the smallest available frame number area is selected as an area for recording image data (step 304).
[0094]
Next, a memory card recording mode for recording on the IC memory card 31 is set (step 305).
Next, as shown in FIG. 4, the display unit 23 performs mode display indicating the memory card recording mode (step 306).
[0095]
If it is determined in step 301 that there is no IC memory card 31 or if it is determined in step 303 that there is no capacity in the IC memory card 31, the remaining capacity of the image flash memory 20 is checked (step 307).
[0096]
In step 307, the flash memory control circuit 19 reads data from the image presence / absence information recording unit 262 and the recording prohibition information recording unit 263 of each block of the image flash memory 20, and inputs the data to the system control circuit 2. . In this case, when the combination of data read from the image presence / absence information recording unit 262 and the recording prohibition information recording unit 263 is “1, 1”, the block can record image data, and other combinations, that is, , “1, 0”, “0, 1” and “0, 0”, the image data cannot be recorded in each block.
[0097]
Next, it is determined whether or not the image flash memory 20 has a capacity (step 308). In this case, when there is at least one block capable of recording image data, it is determined that “there is capacity”, and when there is no block capable of recording image data, it is determined that there is no capacity.
[0098]
If it is determined in step 308 that the image flash memory 20 has a capacity, a recording area is selected, that is, a block of the image flash memory 20 for recording image data is selected (step 309).
[0099]
Next, the erase count is read from the erase count counter 261 of the selected block (step 310).
Next, it is determined whether or not the erase count of the selected block is within the guaranteed erase count (step 311). If it is determined that the erase count exceeds the guaranteed erase count, the block is recorded in the recording prohibited area. (Record prohibited block) is designated (step 312). In this step 312, “0” is written in the recording prohibition information recording unit 263 of the selected block.
[0100]
The erasure guarantee count is an upper limit value of the erasure count for guaranteeing data recorded in the image flash memory 20, and the value is set in advance when the still video camera 1 is shipped from the factory, for example. .
[0101]
After step 312, the process returns to step 307, and step 307 and subsequent steps are executed again.
If it is determined in step 311 that the number of erasures is within the guaranteed number of erasures, a flash memory recording mode for recording in the image flash memory 20 is set (step 313).
[0102]
Next, as shown in FIG. 5, the display unit 23 performs mode display indicating the flash memory recording mode (step 314).
If it is determined in step 308 that the image flash memory 20 has no capacity, the recording prohibit mode is set (step 315).
[0103]
Next, as shown in FIG. 6, the display unit 23 performs mode display indicating the recording prohibit mode (step 316).
At step 306, 314 or 316, the program ends and returns to the main routine.
[0104]
(3) [Recording area selection]
FIG. 10 is a flowchart showing the operation of the system control circuit 2 when selecting a recording area. Hereinafter, this flowchart will be described.
[0105]
The first block of the image flash memory 20, that is, the block with the block number 1 (first block) is selected (step 401).
Next, the erase count is read from the erase count counter 261 of the first block, and the erase count is transferred and written to the register A of the system control circuit 2 (step 402).
[0106]
Next, the block number “1” of the selected block is transferred and written to the register C of the system control circuit 2 (step 403).
Next, it is determined whether or not the selected block is the final block (step 404). If it is determined that the selected block is not the final block, the selected block is moved by +1 (step 405). That is, a block having a block number that is one larger than the currently selected block is selected.
[0107]
Next, it is determined whether or not image data has been recorded in the image data recording unit 265 (step 406). In step 406, when the data read from the image presence / absence information recording unit 262 is “0”, the block is determined as “recorded”, and when “1”, the block is determined as “unrecorded”. .
[0108]
If it is determined in step 406 that the recording has been completed, the process returns to step 404 and step 404 and subsequent steps are executed again.
If it is determined in step 406 that the recording has not been performed, it is determined whether the block is a recording-inhibited block (step 407). In step 407, when the data read from the recording prohibition information recording unit 263 is “0”, the block is determined as a “recording prohibition block”. When the data is “1”, the block is determined as “recording prohibition block”. Judgment is not possible.
[0109]
If it is determined in step 407 that the block is a recording-inhibited block, the process returns to step 404, and step 404 and subsequent steps are executed again.
If it is determined in step 407 that the block is not a record-inhibited block, the erase count is read from the erase count counter 261, and the erase count is transferred to and written in the register B of the system control circuit 2 (step 408).
[0110]
Next, it is determined whether or not b (the number of erases written in the register B) ≧ a (the number of erases written in the register A) (step 409).
If it is determined in step 409 that b ≧ a, the process returns to step 404, and step 404 and subsequent steps are executed again.
[0111]
If it is determined in step 409 that b <a, the erase count written in the register B is read, and the erase count is written in the register A (step 410).
[0112]
Next, the block number of the selected block is transferred to the register C of the system control circuit 2 and written (step 411). Thereafter, the process returns to step 404, and step 404 and subsequent steps are executed again.
[0113]
If it is determined in step 404 that the selected block is the last block, the program ends and returns to the recording mode setting subroutine.
Finally, the block having the block number written in the register C is selected as a recording area, that is, a block for recording image data.
[0114]
In this way, the block with the smallest number of erasures is preferentially selected as a block for recording image data, so that the number of erasures of each block is almost equalized.
[0115]
(4) [Flash memory frame number allocation]
FIGS. 11 and 12 are flowcharts showing the operation of the system control circuit 2 when assigning frame numbers of images recorded in the image flash memory 20. Hereinafter, this flowchart will be described.
The RAM of the system control circuit 2 is provided with a frame number table shown in Table 1 below.
[0116]
[Table 1]
Figure 0003645606
[0117]
The recording time and block number on the frame number table shown in Table 1 are cleared (step 501). The frame number on the frame number table is not cleared.
[0118]
Next, the first block of the image flash memory 20, that is, the block having the block number 1 (first block) is selected (step 502).
Next, the location (area) of frame number 1 on the frame number table is selected (step 503).
[0119]
Next, it is determined whether or not image data has been recorded in the image data recording unit 265 of the selected block (step 504). In step 504, when the data read from the image presence / absence information recording unit 262 is “0”, the block is determined to be “recorded”, and when it is “1”, the block is determined to be “unrecorded”. .
[0120]
If it is determined in step 504 that the recording has been completed, it is determined whether or not the selected block is a recording prohibited block (step 505). In step 505, when the data read from the recording prohibition information recording unit 263 is “0”, the block is determined to be a “recording prohibition block”. When the data is “1”, the block is “record prohibition block”. Judgment is not possible.
[0121]
If it is determined in step 505 that the block is a recording prohibited block, or if it is determined in step 504 that the block is not recorded, it is determined whether the selected block is the last block (step 506).
[0122]
If it is determined in step 506 that the block is not the last block, the selected block is moved by +1 (step 507). That is, a block having a block number that is one larger than the currently selected block is selected, and then the process returns to step 504 to execute step 504 and subsequent steps again.
[0123]
If it is determined in step 505 that the block is not a recording prohibited block, the recording time of the image data is read from the time recording unit 264 of the selected block (step 508).
[0124]
Next, the recording time and the block number of the selected block are respectively written to the selected locations on the frame number table (step 509).
Next, it is determined whether or not the selected block is the final block (step 510). If it is determined that the selected block is not the final block, the selected location on the frame number table is moved by +1 (step 511). That is, a frame number that is one greater than the currently selected frame number is selected.
[0125]
Next, the selected block is moved by +1 (step 512). That is, a block having a block number that is one larger than the currently selected block is selected, and then the process returns to step 504 to execute step 504 and subsequent steps again.
[0126]
If the block selected in step 506 is determined to be the final block, or if the block selected in step 510 is determined to be the final block, the value of the variable E is set to 2 (step 513).
[0127]
In the process up to step 513, the recording time and the block number of the image data of each block are the frame number in the frame number table for all the blocks in which the image data has been recorded and which are not recording prohibited blocks. The data is written in order from the smallest block number starting from 1.
[0128]
Next, it is determined whether or not there is writing in the frame (E) of the frame number table (step 514). If it is determined that there is writing in the frame (E) of the frame number table, the value of the variable F is set to E. (Step 515).
[0129]
The frame (E) in the frame number table refers to the location (area) of the frame number E in the frame number table.
Next, the recording time written in the frame (E) in the frame number table is compared with the recording time written in the frame (E-1) (step 516).
[0130]
Next, whether or not the recording time written in the frame (E) is earlier than the recording time written in the frame (E-1), that is, the recording written in the frame (E). It is determined whether the time is earlier than the recording time written in the frame (E-1) (step 517).
[0131]
If it is determined in step 517 that the recording time written in the frame (E) is earlier than the recording time written in the frame (E-1), the recording time is written in the frame (E). The contents (recording time and block number) are exchanged with the contents written in the frame (E-1) (step 518). That is, the recording time and block number written in the frame (E) are written in the frame (E-1), and the recording time and block number written in the frame (E-1) are written in the frame (E).
[0132]
Next, it is determined whether E-1 = 1 (step 519).
If it is determined in step 519 that E-1 = 1 is not satisfied, the value of the variable E is set to E-1 (step 520). Thereafter, the process returns to step 516, and step 516 and subsequent steps are executed again. .
[0133]
If it is determined in step 519 that E-1 = 1, the value of the variable E is set to F + 1 (step 521).
Next, it is determined whether or not there is a write in the frame (E) in the frame number table (step 522). If it is determined that there is a write in the frame (E) in the frame number table, the process returns to step 515 and again. Step 515 and subsequent steps are executed.
[0134]
If it is determined in step 514 that there is no writing in the frame (E) in the frame number table, or if it is determined in step 522 that there is no writing in the frame (E) in the frame number table, the frame of frame number 1 is selected. Select as a frame to play or erase. This program ends and returns to the main routine.
[0135]
Thereby, the recording time and the block number of the image data of each block written in the frame number table are arranged in order from the past recording time of the image data from the position of frame number 1 in the frame number table, The frame of frame number 1 in which the recording time of the block with the oldest recording time and the block number is written is selected as the frame to be reproduced or erased.
[0136]
(5) [Recording]
FIG. 13 is a flowchart showing the operation of the system control circuit 2 when recording. Hereinafter, this flowchart will be described.
[0137]
It is determined whether or not the mode is the recording prohibition mode (step 601). If it is determined that the mode is not the recording prohibition mode, photographing (imaging) is performed (step 602). In this step 602, as described above, exposure control to the CCD 3, readout of pixel signals from the CCD 3, predetermined signal processing, and the like are performed to create image data for recording.
[0138]
Next, it is determined whether or not the memory card recording mode is set (step 603).
If it is determined in step 603 that the memory card recording mode is selected, the image data is recorded in the area selected as the area for recording the image data of the IC memory card 31 by the IC memory card control circuit 15 as described above. (Step 604).
[0139]
If it is determined in step 603 that the mode is not the memory card recording mode, as described above, the flash memory control circuit 19 selects a block selected as a block for recording image data in the image flash memory 20. Image data is recorded in the image data recording unit 265 (step 605). In step 605, the flash memory control circuit 19 writes “0” indicating that the image has been recorded in the image presence / absence information recording unit 262 of the block in which the image data is recorded.
[0140]
Next, the recording time of the image data is recorded by the flash memory control circuit 19 in the time recording unit 264 of the block in which the image data is recorded in the image flash memory 20 based on the information from the clock 24 (step 606). .
[0141]
If it is determined in step 601 that the recording prohibit mode is selected, recording is not performed on either the IC memory card 31 or the image flash memory 20.
If it is determined in step 601 that the recording prohibit mode is set, or in step 604 or 606, the program ends and the process returns to the main routine.
[0142]
(6) [Erase]
FIG. 14 is a flowchart showing the operation of the system control circuit 2 when erasing is performed. Hereinafter, this flowchart will be described.
[0143]
Based on the information from the memory card detection circuit 16, it is determined whether or not there is an IC memory card 31 (step 701). In this step 701, “IC memory card 31 is present” when the terminal of the IC memory card 31 is connected to the terminal of the connector 18 of the loading unit 17, and “No IC memory card 31” when the terminal is not connected. Judge.
[0144]
If it is determined in step 701 that the IC memory card 31 is present, the IC memory card control circuit 15 erases the frame selected as the erase target frame on the IC memory card 31 (step 702). That is, the image data of the selected frame number is erased from the IC memory card 31.
[0145]
If it is determined in step 701 that the IC memory card 31 is absent, the flash memory control circuit 19 erases the block to be erased corresponding to the frame selected as the frame to be erased on the image flash memory 20. The erase count is read from the count counter 261, and the erase count is written in the RAM of the system control circuit 2 (step 703).
[0146]
Next, the flash memory control circuit 19 erases all data recorded in the erase target block corresponding to the frame selected as the erase target frame on the image flash memory 20 (step 704).
[0147]
Next, the erase count written in the RAM of the system control circuit 2 is incremented by one (step 705).
Next, the erase count is read from the RAM of the system control circuit 2, and the flash memory control circuit 19 writes the erase count into the erase count counter 261 of the block from which data has been erased (step 706). This program ends and returns to the main routine. As described above, in the still video camera 1, the erasure on the IC memory card 31 side is given priority.
[0148]
(7) [Start playback]
FIG. 15 is a flowchart showing the operation of the system control circuit 2 when starting reproduction. Hereinafter, this flowchart will be described.
[0149]
Based on the information from the memory card detection circuit 16, it is determined whether or not there is an IC memory card 31 (step 801). In this step 801, “IC memory card 31 is present” when the terminal of the IC memory card 31 is connected to the terminal of the connector 18 of the loading section 17, and “IC memory card 31 is absent” when the terminal is not connected. Judge.
[0150]
If it is determined in step 801 that the IC memory card 31 is present, the image data is read from the frame selected as the playback target frame on the IC memory card 31 by the IC memory card control circuit 15 as described above. The image data is transferred to the image memory 7 and written (step 802).
[0151]
If it is determined in step 801 that the IC memory card 31 is absent, as described above, the flash memory control circuit 19 selects a frame selected as a playback target frame on the image flash memory 20, that is, Image data is read from the image data recording unit 265 of the block to be reproduced, and the image data is transferred to the image memory 7 and written (step 803).
[0152]
After step 802 or 803, as described above, image data is read from the image memory 7 and image reproduction is started (step 804). That is, an image is displayed on the LCD monitor 12. This program ends and returns to the main routine. As described above, in the still video camera 1, the image recorded on the IC memory card 31 is preferentially reproduced.
Next, card insertion interruption processing will be described.
[0153]
(8) [Card insertion interrupt processing]
FIG. 16 is a flowchart showing the operation of the system control circuit 2 when performing card insertion interrupt processing. Hereinafter, this flowchart will be described.
[0154]
The card insertion interruption process is executed when the terminal of the IC memory card 31 is connected to the terminal of the connector 18 of the loading unit 17 when the card insertion interruption is permitted in the main routine described above.
[0155]
In this card insertion interruption process, first, it is determined whether or not the image flash memory 20 is in a recording operation (step 901). If it is determined that the image flash memory 20 is in a recording operation, an IC memory card is determined. The card attribute information is read from the IC memory card 31 by the control circuit 15 (step 902).
[0156]
Next, based on the card attribute information, it is determined whether or not the IC memory card 31 is an appropriate card (step 903). In step 903, even if the card attribute information cannot be read from the IC memory card 31, the IC memory card 31 is determined to be an inappropriate card.
[0157]
If it is determined in step 903 that the IC memory card 31 is an appropriate card, the remaining capacity of the IC memory card 31 is checked (step 904). That is, the IC memory card control circuit 15 reads information on the remaining memory capacity from the IC memory card 31 and inputs the information to the system control circuit 2.
[0158]
Next, based on the information, it is determined whether or not the IC memory card 31 has a capacity (step 905). In this case, if the IC memory card 31 has a remaining capacity capable of recording image data (image signal) for at least one image, it is determined that there is a capacity, and if there is not, it is determined that there is no capacity.
[0159]
If it is determined in step 905 that the IC memory card 31 has a capacity, recording in the image flash memory 20 is stopped (step 906).
[0160]
Next, the memory card recording mode is set (step 907).
Next, as shown in FIG. 4, the display unit 23 performs mode display indicating the memory card recording mode (step 908).
[0161]
Next, the image data for which the recording has been stopped is recorded in the area selected as the area for recording the image data of the IC memory card 31 (step 909).
[0162]
In step 909, as described above, the image data (image signal) written in the image memory 7 is read out and subjected to predetermined signal processing by the image signal processing circuit 8, and then the image data is stored in the IC memory. The card control circuit 15 records the image data of the IC memory card 31 in an area selected as an area for recording. That is, image data for one image is recorded on the IC memory card 31 from the beginning.
[0163]
Next, the flash memory control circuit 19 reads the erase count from the erase count counter 261 of the block in which recording of the image data in the image flash memory 20 is stopped, and writes the erase count to the RAM of the system control circuit 2 (step 910). ).
[0164]
Next, the flash memory control circuit 19 erases data (such as overwritten image data) recorded in the block where the recording of the image data in the image flash memory 20 is stopped (step 911).
Next, the erase count written in the RAM of the system control circuit 2 is incremented by one (step 912).
[0165]
Next, the erase count is read from the RAM of the system control circuit 2, and the flash memory control circuit 19 writes the erase count into the erase count counter 261 of the block from which the data has been erased (step 913).
[0166]
If it is determined in step 901 that the image flash memory 20 is not recording, if it is determined in step 903 that the IC memory card 31 is an inappropriate card, it is determined in step 905 that the IC memory card 31 has no capacity. If this is the case, or at step 913, the program ends and returns to the main routine.
[0167]
As described above, the still video camera 1 includes the image flash memory 20 and the loading unit 17 for loading the IC memory card 31, and the captured image can be transferred to the image flash memory 20 or directly to the IC memory. Since it can be recorded on the card 31, and in particular, it is preferentially recorded on the IC memory card 31, the number of times of recording and erasing with respect to the image flash memory 20 can be reduced. The lifetime of the flash memory 20 can be extended.
[0168]
The still video camera 1 counts the number of times each block of the image flash memory 20 is erased, and prohibits recording of an image (image data) in a block (area) where the number of erases exceeds the guaranteed number of erases. Thus, since the image is recorded only in the block having sufficient data retention characteristics, the reliability of the data recorded in the image flash memory 20 is improved, and the image quality can be kept good.
[0169]
The still video camera 1 has a memory card recording mode for recording an image on the IC memory card 31, a flash memory recording mode for recording an image on the image flash memory 20, and a recording prohibit mode for prohibiting image recording. Since it is automatically set according to various conditions such as loading of the IC memory card 31 into the loading section 17, it is possible to prevent a mistake in selecting the recording mode and simplify the operation.
[0170]
Further, in the still video camera 1, when an IC memory card 31 having a remaining capacity is loaded in the loading unit 17 during the recording operation to the image flash memory 20 (the terminal of the IC memory card 31 and the terminal of the connector 18). Is connected), the recording to the image flash memory 20 is stopped, the recorded data is erased, and the image data is re-recorded on the IC memory card 31. Even if the photographer wants to record on the IC memory card 31 after the release, it is possible to cope with it. In this case, when the IC memory card 31 is loaded in the loading unit 17, the recording medium is automatically switched from the image flash memory 20 to the IC memory card 31, so that the operation is simplified.
[0171]
Further, since the image data recorded halfway in the image flash memory 20, that is, useless image data that does not constitute an image, is immediately deleted, the utilization efficiency of the image flash memory 20 can be improved.
[0172]
In the present embodiment, the LCD monitor 12 is used as display means for displaying an image. However, the present invention is not limited to this. For example, an electronic viewfinder may be used.
Although the still video camera of the present invention has been described based on the illustrated configuration example, the present invention is not limited to this.
[0173]
【The invention's effect】
As described above, the still video camera of the present invention has a non-volatile memory for recording images (for example, a flash memory) and a connection portion for electrically connecting an external memory (for example, an IC memory card). Since the image signal (image data) of the captured image can be recorded in either the non-volatile memory or the external memory, the number of times of recording and erasing to the non-volatile memory can be reduced. The lifetime of the non-volatile memory can be extended.
[0174]
Further, according to the still video camera of the present invention, when the connection detecting unit detects the connection between the connection portion and the external memory during the recording of the image signal to the nonvolatile memory, the recording to the nonvolatile memory is performed. Since the image signal is recorded in the external memory, the recording medium for recording the image signal can be changed from the nonvolatile memory to the external memory even during recording in the nonvolatile memory. .
[0175]
In this case, since the recording medium is automatically switched by simply connecting the external memory to the connection unit, the operation is simplified.
In addition, when recording of the image signal to the nonvolatile memory is stopped and the recorded image signal is erased, useless image signals that do not constitute an image are immediately erased. The utilization efficiency can be improved.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a circuit configuration example of a still video camera according to the present invention.
FIG. 2 is a block diagram illustrating a configuration example of an image flash memory according to the present invention.
FIG. 3 is a schematic diagram illustrating a configuration example of a memory unit of an image flash memory according to the present invention.
FIG. 4 is a schematic diagram showing a memory card recording mode display on the display unit in the present invention.
FIG. 5 is a schematic diagram showing flash memory recording mode display on the display unit in the present invention.
FIG. 6 is a schematic diagram showing recording prohibit mode display on the display unit in the present invention.
FIG. 7 is a flowchart showing the operation of the system control circuit in the present invention.
FIG. 8 is a flowchart (continuation of FIG. 7) showing the operation of the system control circuit in the present invention.
FIG. 9 is a flowchart showing an operation of a system control circuit when performing a recording mode setting process in the present invention.
FIG. 10 is a flowchart showing the operation of the system control circuit when performing recording area selection processing in the present invention.
FIG. 11 is a flowchart showing the operation of the system control circuit when performing flash memory allocation processing in the present invention.
FIG. 12 is a flowchart (continuation of FIG. 11) showing the operation of the system control circuit when performing flash memory allocation processing in the present invention.
FIG. 13 is a flowchart showing the operation of the system control circuit when performing a recording process in the present invention.
FIG. 14 is a flowchart showing the operation of the system control circuit when performing an erasing process in the present invention.
FIG. 15 is a flowchart showing the operation of the system control circuit when performing a reproduction start process in the present invention.
FIG. 16 is a flowchart showing the operation of the system control circuit during card insertion interrupt processing in the present invention.
[Explanation of symbols]
1 Still video camera
2 System control circuit
3 CCD (solid-state image sensor)
4 Imaging circuit
5 A / D converter
6 First data selector
7 Image memory
8 Image signal processing circuit
9 D / A converter
10 NTSC encoder
11 Mixing circuit
12 LCD monitor
13 OSDC (On Screen Display Controller)
14 Second data selector
15 IC memory card control circuit
16 Memory card detection circuit
17 Loading section
18 Connector
19 Flash memory control circuit
20 Flash memory for images
21 Flash memory for program
22 Operation unit
23 Display
24 Clock (Clock IC)
25 Command decoding part
26 Memory section
261 Erase count counter
262 Image presence / absence information recording unit
263 Recording prohibition information recording section
H.264 time recording unit
265 Image data recording unit
31 IC memory card
101-134 steps
301-316 steps
401-411 steps
501-523 steps
601-606 steps
701-706 steps
801-804 steps
901-913 steps

Claims (2)

撮像部と、
カメラに内蔵され、前記撮像部にて撮像された画像を記録し得るデータの消去書き換えが可能な不揮発性メモリーと、
カメラの外部より着脱可能であり、前記撮像部にて撮像された画像を記録し得る外部メモリーを電気的に接続する接続部と、
前記接続部と前記外部メモリーとの接続を検出する接続検出手段と、
前記外部メモリーの残り容量を検出する外部メモリー残量検出手段と、
前記撮像部にて撮像された画像の画像信号を前記不揮発性メモリーまたは前記外部メモリーに記録する記録手段と、
前記不揮発性メモリーまたは前記外部メモリーに記録されている画像信号を消去する消去手段とを有し、
前記記録手段は、前記撮像部にて撮像された画像の画像信号を前記不揮発性メモリーへ記録中に、前記接続検出手段により、前記接続部と前記外部メモリーとの接続が検出され、かつ、前記外部メモリー残量検出手段により、前記外部メモリーに少なくとも1画像分の画像信号を記録し得る残り容量が有ることが検出されたときは、前記不揮発性メモリーへの前記画像信号の記録を中止し、前記外部メモリーに前記記録が中止になった画像信号を記録するよう作動し、
前記消去手段は、前記不揮発性メモリーへの前記画像信号の記録が中止された後、該不揮発性メモリーへ記録されている画像信号のうちの、前記記録が中止になった画像信号以外の前記不揮発性メモリーに記録されている画像信号を消去せずに、前記記録が中止になった画像信号を消去するよう作動することを特徴とするスチルビデオカメラ。
An imaging unit;
A non-volatile memory built in the camera and capable of erasing and rewriting data capable of recording an image captured by the imaging unit;
A connection unit that is detachable from the outside of the camera and electrically connects an external memory capable of recording an image captured by the imaging unit;
A connection detecting means for detecting a connection between the connecting portion and the external memory;
An external memory remaining amount detecting means for detecting the remaining capacity of the external memory;
A recording unit that records an image signal of an image captured by the imaging unit in the nonvolatile memory or the external memory;
Erasing means for erasing the image signal recorded in the non-volatile memory or the external memory,
The recording unit detects a connection between the connection unit and the external memory by the connection detection unit while recording an image signal of an image captured by the imaging unit in the nonvolatile memory, and When it is detected by the external memory remaining amount detection means that there is a remaining capacity capable of recording an image signal for at least one image in the external memory, the recording of the image signal to the nonvolatile memory is stopped, Operates to record the image signal for which the recording is stopped in the external memory,
After the recording of the image signal to the non-volatile memory is stopped, the erasing means is the non-volatile memory other than the image signal for which the recording has been stopped among the image signals recorded to the non-volatile memory. A still video camera which operates to erase the image signal for which recording has been stopped without erasing the image signal recorded in the recording memory.
前記外部メモリーは、ICメモリーカードに搭載されたICメモリーである請求項1に記載のスチルビデオカメラ。  The still video camera according to claim 1, wherein the external memory is an IC memory mounted on an IC memory card.
JP03608895A 1995-01-31 1995-01-31 Still video camera Expired - Lifetime JP3645606B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP03608895A JP3645606B2 (en) 1995-01-31 1995-01-31 Still video camera
US08/594,806 US5648816A (en) 1995-01-31 1996-01-31 Still video camera including detachably attachable external memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03608895A JP3645606B2 (en) 1995-01-31 1995-01-31 Still video camera

Publications (2)

Publication Number Publication Date
JPH08214249A JPH08214249A (en) 1996-08-20
JP3645606B2 true JP3645606B2 (en) 2005-05-11

Family

ID=12460006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03608895A Expired - Lifetime JP3645606B2 (en) 1995-01-31 1995-01-31 Still video camera

Country Status (1)

Country Link
JP (1) JP3645606B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3101580B2 (en) * 1997-02-26 2000-10-23 三洋電機株式会社 Image recording and playback device
US7734840B2 (en) * 2003-11-26 2010-06-08 Ge Medical Systems Global Technology Co., Llc Methods and systems for managing outputs to peripheral devices

Also Published As

Publication number Publication date
JPH08214249A (en) 1996-08-20

Similar Documents

Publication Publication Date Title
US5648816A (en) Still video camera including detachably attachable external memory
JP3392967B2 (en) Still video camera
US6992711B2 (en) Digital camera with a plurality of media for recording captured images
US7015941B2 (en) Hybrid cameras that download electronic images in selected geometric formats and methods
US6501911B1 (en) Hybrid cameras that download electronic images with reduced metadata and methods
US6496655B1 (en) Hybrid cameras having optional irreversible clearance of electronic images with film unit removal and methods
US6505003B1 (en) Hybrid cameras that revise stored electronic image metadata at film unit removal and methods
US7612807B2 (en) Image capture device
US20020064387A1 (en) Digital camera and method of controlling operation of same
JPH0974536A (en) Digital camera
US7342605B2 (en) Digital camera having an all-frame print number setting device to collectively set all recorded frames for printing
JPH09307845A (en) Still video camera
JP3877577B2 (en) Camera system, digital camera, and digital camera control method
JP3894435B2 (en) Digital camera
US20020093574A1 (en) Digital camera
JP3645606B2 (en) Still video camera
US7023478B2 (en) Hybrid cameras having electronic image conversion to selected geometric formats and methods
JP2002057978A (en) Electronic camera
US6825950B1 (en) Image reproduction apparatus, control method thereof, printing information generation method, and storage medium
JPH08214250A (en) Still video camera
JP4784758B2 (en) Imaging apparatus and program thereof
JPH08214248A (en) Still video camera
JPH08223526A (en) Still video camera system
JP2005311493A (en) Camera
JP4019176B2 (en) Image processing method and apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040304

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040308

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040423

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050204

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110210

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130210

Year of fee payment: 8

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term