JP2004171461A - Method for updating program and electronic camera - Google Patents
Method for updating program and electronic camera Download PDFInfo
- Publication number
- JP2004171461A JP2004171461A JP2002339363A JP2002339363A JP2004171461A JP 2004171461 A JP2004171461 A JP 2004171461A JP 2002339363 A JP2002339363 A JP 2002339363A JP 2002339363 A JP2002339363 A JP 2002339363A JP 2004171461 A JP2004171461 A JP 2004171461A
- Authority
- JP
- Japan
- Prior art keywords
- program
- image
- camera
- data
- code
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000012545 processing Methods 0.000 claims abstract description 30
- 238000003384 imaging method Methods 0.000 claims description 21
- 230000003287 optical effect Effects 0.000 claims description 7
- 230000006870 function Effects 0.000 abstract description 33
- 230000015654 memory Effects 0.000 abstract description 27
- 238000004891 communication Methods 0.000 abstract description 17
- 238000012937 correction Methods 0.000 abstract description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 25
- 239000003550 marker Substances 0.000 description 20
- 238000010586 diagram Methods 0.000 description 13
- 238000009434 installation Methods 0.000 description 7
- 230000000875 corresponding effect Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 230000006835 compression Effects 0.000 description 4
- 238000007906 compression Methods 0.000 description 4
- 230000007547 defect Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000007792 addition Methods 0.000 description 3
- 230000004888 barrier function Effects 0.000 description 3
- 230000006837 decompression Effects 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 238000001454 recorded image Methods 0.000 description 1
- 239000011347 resin Substances 0.000 description 1
- 229920005989 resin Polymers 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
- Studio Devices (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明はプログラムアップデート方法および電子カメラに係り、特にデジタルカメラに好適なソフトウエア制御技術に関する。
【0002】
【従来の技術】
近年デジタルカメラは多機能化、高性能化する傾向にある。また、不具合に対応した修正などが日々行われ、これと同時に新機能が追加されることもある。不具合の修正や新機能の追加は、ハードウエアには手を加えずソフトウエアの更新により行うことが便利であり、不具合修正や機能追加のための更新ファイルはCD−ROM等の記録メディアに収録され配布されるか、あるいは通信回線を介して提供される。
【0003】
特許文献1に開示されたコンピュータの周辺機器では、周辺機器に通信回線に直接接続するための通信手段と通信手段を介して外部実行ファイル格納部から提供される実行ファイルを上書きする上書き手段を備えており、接続されるコンピュータに関係なく周辺機器独自に実行ファイルの更新ができる。
【0004】
また、特許文献2に開示された電子画像装置における機能を動的に更新するシステムおよび方法では、電子画像装置に着脱式メモリデバイスを接続可能に構成し、着脱式メモリデバイスには電子画像装置が有する基本的アプリケーションプログラムでは支援されない種々の機能プログラムを収納する。電子画像装置は着脱式メモリデバイスを走査し必要な機能プログラムをメニューに表示する。ユーザーはメニューから必要な機能プログラムを選択し、電子画像装置は選択された機能プログラムを実行する。
【0005】
【特許文献1】
特開平11−272634号公報
【0006】
【特許文献2】
特開2002−505492
【0007】
【発明が解決しようとする課題】
しかしながら、特許文献1に開示されたコンピュータの周辺機器では、更新ファイルを入手するためには通信回線に接続する通信手段が必要である。
【0008】
また、特許文献2に開示された電子画像装置における機能を動的に更新するシステムおよび方法では、基本的アプリケーションソフトが支援しない機能プログラムを格納する着脱式メモリ手段が必要であり、電子画像装置には着脱式メモリデバイスを接続するための外部コネクタが必要である。
【0009】
本発明はこのような事情を鑑みてなされたもので、通信回線に接続するための通信手段や着脱式メモリデバイス等の外部接続装置を必要とせず不具合修正ファイルあるいは追加機能プログラムを取得できるプログラムアップデート方法および電子カメラを提供することを目的とする。
【0010】
【課題を解決するための手段】
前記目的を達成するために本発明に係るプログラムアップデート方法は、光学像を電気信号に変換する撮像手段を備えた電子機器の動作制御に用いるプログラムのアップデート方法であって、光学読取可能な情報コードの形態により画像形成媒体上に形成されているプログラムコードを前記撮像手段によって撮像する工程と、前記撮像手段を介して取得した前記プログラムコードの画像データからプログラムのデータを復元する工程と、前記復元されたプログラムのデータを記録する工程と、を含むことを特徴とするプログラムアップデート方法。
【0011】
本発明によれば、光学読取可能な情報コードの形態に変換されたプログラムの情報コード(プログラムコード)が画像形成媒体上に形成されている。電子機器の撮像手段を利用してプログラムコードを撮影し、得られた画像データを解析することによりプログラムのデータを復元する。こうして得られたプログラムのデータを記録手段に格納する。このように、電子機器の撮像機能を利用して画像情報からプログラムのデータを復元することにより、コンピュータ等の外部機器や通信回線に接続することなくアップデートプログラムやプラグインソフトを取得することが可能になる。
【0012】
プログラムアップデートとは制御プログラム全体の書き換え、あるいは制御プログラムの一部を書き換えること、制御プログラムに追加プログラムを加えることを含んでいる。
【0013】
電子機器としては、例えばデジタルカメラやビデオカメラなどの電子カメラ、カメラ付き携帯電話、カメラ付きPDA、カメラ付きモバイルパソコン、スキャナー、複写機、ファックスがある。
【0014】
「カメラ付き」という用語は、カメラが本体に内蔵されている形態に限定されず、カメラが本体と着脱可能に構成されている形態(外付け)も含む。
【0015】
画像形成媒体とは、プログラムコードが形成される媒体を意味し、プログラムコードが印刷される用紙、プレートその他の印刷媒体や、プログラムコードが映出されるCRT、液晶ディスプレイその他の画像表示装置などを包含するものである。
【0016】
また、前記目的を達成するために本発明に係る電子カメラは、光学像を電気信号に変換する撮像手段と、光学読取可能な情報コードの形態により画像形成媒体上に形成されているプログラムコードを前記撮像手段で撮像して得られた画像データからプログラムのデータを復元するプログラム復元手段と、前記プログラム復元手段により復元されたプログラムのデータをプログラム格納部に記録するプログラム記録処理手段と、前記プログラム格納部に記録されたプログラムを実行して当該カメラの動作を制御する制御手段と、備えたことを特徴としている。
【0017】
本発明によれば、撮像手段によりプログラムコードを撮影し、電子カメラ内部でプログラムのデータを復元でき、電子カメラが備えたプログラム格納部に前記プログラム記録処理手段を介して記録することができる。着脱式記録メディアやコンピュータあるいは通信接続などを必要とせずに、アップデートプログラムやプラグインソフト等を記録(インストール)できる。
【0018】
プログラム格納部とはカメラの制御を行うCPUに内蔵されたメモリ領域やカメラ内部に備えられたROM、RAMおよびPCカード等の記録メディアを含んでいる。
【0019】
また、プログラム格納部は、電源オフ時に記録内容が消滅しない不揮発性メモリが適している。不揮発性メモリには、記録媒体を回路に搭載したまま記録データの消去および書き込みが可能であり、記録データの消去を電気的に行うEEPROM(電気的消去可能プログラマブル読み出し専用メモリ)がある。
【0020】
プログラム格納部に記録するとは、プログラムのデータを実行可能な形式に展開してインストールすることや復元された形式のままで記録することを含んでいる。
【0021】
本発明の一態様に係る電子カメラは、前記光学読取可能な情報コード形式のプログラムコードを撮影し、撮影して得られた画像データからプログラムのデータを復元するコード撮影モードと、前記プログラムのデータの復元処理を伴わない通常の撮影モードとを切り換えるモード切換手段を備えたことを特徴としている。
【0022】
モード切換手段はスイッチ等のハードウエアによる切り換えやメニュー画面上で撮影モードを選択するソフトウエアによる切り換えがある。
【0023】
【発明の実施の形態】
以下、添付図面に従って本発明に係るプログラムアップデート方法および電子カメラの好ましい実施の形態について説明する。
【0024】
図1には光学読取可能な情報コード形式に記録されたプログラムコードをカメラにより取得する様子が示されている。
【0025】
カメラ10は被写体の光学像をデジタル画像データに変換して記録するデジタルカメラである。
【0026】
符号12で示した画像形成媒体(例えば用紙)にはカメラの制御ソフトウエアのプログラムが光学読取可能な形式にコード化された二次元コード(以下プログラムコードと記載)14が形成されている。
【0027】
前記プログラムとはカメラに機能を追加する追加モジュールやプラグイン、不具合対策の修正プログラム等である。またカメラ10の制御ソフトウエアが参照するパラメータやデータテーブルの変更データを含んでいる。
【0028】
プログラムコード14の形式にはバーコード、ドットコード等があるが、プログラムコード14は任意の文字列、任意の数字列等、何れの形式でもよい。
【0029】
本例のプログラムコード14は画像形成媒体12たる用紙上にカラー印刷されており、バー(色が付けられた部分)、スペース(白い部分)の太さ、パターンに加え、バーの色が意味(情報)を持っている。
【0030】
図2はプログラムコード14の拡大図である。プログラムコード14は赤色で表示されたRプログラム、緑色で表示されたGプログラム、青色で表示されたBプログラムから構成され、Rプログラム、Gプログラム、Bプログラムはそれぞれ異なるデータであり、同じコード化の規則によりコード形態になっている。
【0031】
プログラムコード14は異なるプログラムRプログラム、Gプログラム、Bプログラムを多重記録して一つの画像として画像形成媒体12上にカラー印刷し、ひとつの画像形成媒体に記録できる情報量(本例ではプログラムのデータ量)を増やしている。
【0032】
多重記録には同じ領域に重ねて記録する方法や同じ領域に並べて記録する方法がある。
【0033】
本実施形態ではプログラムコード14の色表現にRGBカラー画像表現を用いたが、プログラムコード14の色表現はRGBカラー画像表現に限定されず、撮像系のカラーフィルターにシアン、マゼン、イエローによるCMYフィルターを使用した場合には、プログラムコード14の色表現はCMYカラー画像表現を用いることが好ましい。よって、プログラムコード14の色表現は読取装置のカラー認識能力や画像形成媒体の表示特性に合わせた色表現を用いるとよい。
【0034】
一般的には色相によって色の違いを表現するが、本実施形態では色相、彩度、明度の三要素のうち少なくとも一つの要素が異なるものは異なる色として扱うことが可能である。
【0035】
画像形成媒体12にはプログラムコード14の他に、プログラムコード14の領域を示す領域マーカー16および中心合わせ用マーカー(以下中心マーカーと記載)18が形成されている。領域マーカー16および中心マーカー18はプログラムコード14と区別できる形状、大きさ、色である。
【0036】
また領域マーカー16は撮影時の画角合わせに使用され、中心マーカー18は画角の中心合わせおよび焦点合わせに利用される。
【0037】
画像形成媒体12の材質は紙に限定されず、プログラムコード14、領域マーカー16、中心マーカー18をカメラ10でカラー撮影可能であれば金属や樹脂等でもよい。
【0038】
図3乃至図7はカメラ10の外観を示す正面図、背面図、平面図、底面図、および右側面図である。
【0039】
図3に示すカメラ10の前面には、沈胴式の撮影レンズ20、ファインダー窓21、ストロボ22、ストロボ調光センサー23、セルフタイマーランプ24、マイク26が設けられている。
【0040】
また、カメラ10の前面には、前記撮影レンズ20の沈胴位置でレンズバリヤ駆動部27を介して開閉されるレンズバリヤ28(図8参照)が設けられている。なお、図3では、レンズバリヤ28が開放された状態を示している。
【0041】
図4に示すカメラ10の背面には、ファインダー30、モードダイヤル32、右キー34、左キー36、上下レバー37、メニュー/実行キー38、キャンセル/戻るキー40、表示キー42および液晶モニタ44が設けられている。
【0042】
モードダイヤル32は、カメラの機能(モード)を変更する手段であり、モードダイヤル32を回動操作することにより、静止画撮影を行う撮影モード、撮影した画像を再生する再生モード、音声付き動画撮影を行うムービーモード、画像無しの音声記録を行うボイスレコーダモード、情報コード形式の音声データコードを撮影するコードモードに設定できる。
【0043】
右キー34および左キー36は、それぞれ再生モード時に1コマ逆送りボタン、1コマ順送りボタンとして機能し、あるいは、メニュー画面にてカーソルを右左に移動させるボタンとして機能する。
【0044】
また、上下レバー37は再生機能や撮影時のズーム機能における倍率調整用ズームキーとして機能し、あるいは、メニュー画面にてカーソルを上下に移動させる手段として用いられる。
【0045】
メニュー/実行キー38は各モードの通常画面からメニュー画面へ遷移させる時、あるいは、選択内容の確定、処理の実行(確認)指示の時などに使用される。
【0046】
キャンセル/戻るキー40はメニューから選んだ項目の取り消し(キャンセル)や一つ前の操作状態に戻る時などに使用される。
【0047】
表示キー42は液晶モニタ44をON/OFF操作したり、再生方法や再生中のコマ番号等の表示/非表示を切り換えたりするための操作手段である。
【0048】
液晶モニタ44は、電子ビューファインダーとして使用できるとともに、撮影した画像やカメラに装填されたメモリカードから読み出した再生画像等を表示することができる。また、液晶モニタ44は、撮影可能コマ数や再生コマ番号の表示、ストロボ発光の有無、マクロモード表示、記録画質(クオリティー)表示、画素数表示等の情報も表示される。
【0049】
図5に示すカメラ10の上面には、電源スイッチを兼ねたモード設定スイッチ46およびレリーズボタン48が設けられている。
【0050】
モード設定スイッチ46は、図5上でツマミが右方向に移動する時にはロックされ、ツマミが左方向に移動する時にはロックされないスライドスイッチであり、前記ツマミが右方向に移動してロックされると、オーディオモードを設定し、前記ツマミが左方向に移動する毎にカメラモードとカメラ内電源をOFFにするOFFモードとを交互に設定する。
【0051】
レリーズボタン48は2段階式に構成され、レリーズボタン48を軽く押して止める「半押し(S1 =ON)」の状態で自動ピント合わせ(以下AFと記載)および自動露出制御(以下AEと記載)が作動してAFとAEをロックし、「半押し」から更に押し込む「全押し(S2=ON)」の状態で撮影が実行される。レリーズボタン48は、静止画の記録開始の指示を与える手段であるとともに、動画の録画ボタン(録画スタート/ストップボタン)およびボイスレコーダモード下での録音ボタン(録音スタート/ストップボタン)として兼用される。
【0052】
図6に示すカメラ10の底面には、メモリカードのスロットカバーを兼ねた電池カバー50、および三脚ねじ穴52が設けられている。
【0053】
図7に示すカメラ10の右側面(グリップと反対側の側面)には、音声/映像出力端子(ラインOUT)54、リモコン端子56、デジタル(USB)端子58、電源入力端子60、スピーカー62が設けられている。
【0054】
図8はカメラ10の内部構成を示したブロック図である。
【0055】
同図において、中央処理装置(CPU)70は、本カメラシステムを統括制御する制御部である。CPU70は、モードダイヤル32、モード設定スイッチ46、レリーズボタン48等からの指示信号の入力に基づいてカメラ10内の各回路の動作を制御する。
【0056】
フラッシュメモリ71は、CPU70が処理するプログラムが格納されているプログラム領域および制御に必要な各種データが格納されているデータ領域を有している。また、フラッシュメモリ71はオンボード書き込みができ、データを電気的に消去可能なEEPROMである。
【0057】
フラッシュメモリ71はEEPROMに限定されず、読み出し専用メモリであるPROMやEPROM(紫外線消去型PROM)でもよい。またEEPROMとPROMを共に備えるように複数の異なるメモリを備えてもよいし、CPU70の代わりに、CPUとフラッシュメモリ等の周辺回路をワンチップ化したマイクロコンピュータ(ワンチップマイコン)を備えてもよい。
【0058】
また、フラッシュメモリ71は電源オフにより記録されたデータが消滅しない不揮発性メモリが適している。
【0059】
RAM73は画像処理領域の他、CPU70が各種の演算処理等を行う作業用領域を有している。前記作業領域にはオペレーティングシステムが使用するシステム領域を含んでいる。
【0060】
撮影レンズ20を通過した光は、図示せぬ絞りによって光量が調節された後、CCDイメージセンサ(以下CCDと記載)74に入射する。CCD74の受光面には、多数のフォトセンサが平面的に配列されており、撮影レンズ20を介してCCD74の受光面に結像された被写体像は、各フォトセンサによって入射光量に応じた量の信号電荷に変換される。なお、CCD74は、シャッターゲートパルスのタイミングによって各フォトセンサの電荷蓄積時間(シャッタースピード)を制御する、いわゆる電子シャッター機能を有している。
【0061】
このようにして蓄積された信号電荷は、その信号電荷に応じた電圧信号として順次読み出される。CCD74から順次読み出された電圧信号は、相関二重サンプリング回路(CDS回路)76に加えられ、ここで各画素ごとのR、G、B信号がサンプリングホールドされるともに増幅され、A/D変換器78に加えられる。A/D変換器78は、CDS回路76から順次加えられるR、G、B信号をデジタル信号に変換して画像信号処理回路80に出力する。
【0062】
画像信号処理回路80は、A/D変換器78から加えられる点順次のR、G、B信号を同時式に変換する同時化処理、ホワイトバランス調整、ガンマ補正、輝度/色差信号処理(YC処理)等の所定の画像処理を行う。画像信号処理回路80で処理された画像データはRAM73に格納される。撮影画像を表示出力する場合、RAM73から画像データが読み出され、このデータが内部バス85を介して画像再生処理回路86に転送される。
【0063】
画像再生処理回路86に送られたデータは、画像再生処理回路86およびビデオエンコード回路88を介して表示用の所定方式の信号(例えば、NTSC方式のカラー複合映像信号)に変換された後、液晶モニタ44に出力されるとともに、音声/映像出力端子54に出力される。CCD74から出力される画像信号によってRAM73内の画像データが定期的に書き換えられ、その画像データから生成される映像信号が液晶モニタ44に供給されることにより、CCD74を介して入力する画像がリアルタイムに液晶モニタ44に表示される。撮影者は、液晶モニタ44に映し出される画像(スルー画)、或いはファインダー30によって撮影画角を確認できる。
【0064】
モードダイヤル32によって撮影モードが設定され、レリーズボタン48が押されると(S2=ON)、撮影開始指示(レリーズON)信号が発せられる。CPU70は、この指示信号の受入に呼応して、記録用の画像データの取り込みを開始する。なお、CPU70は、撮影動作に先立ち、レリーズボタン48の半押し(S1 =ON)に応動してAF制御およびAE制御を行う。
【0065】
すなわち、CPU70はCCD74から得られる画像データに基づいて焦点評価演算やAE演算などの各種演算を行い、その演算結果に基づいてレンズ駆動用モータ90のドライバー92を制御し、撮影レンズ20を合焦位置に移動させる一方、図示せぬアイリス駆動部を制御して絞りを適正絞り値に設定するとともにCCD74の電荷蓄積時間を制御する。また、CPU70は、必要に応じてストロボ発光制御を行う。
【0066】
レリーズボタン48全押し(S2=ON)に応動して取り込まれた画像データは、YC処理その他の所定の信号処理を経てRAM73に格納される。CPU70は圧縮伸長処理回路94にコマンドを送り、これにより圧縮伸長処理回路94は、RAM73上に取り込まれた画像データ(輝度信号Yとクロマ信号Cr、Cb)を所定のフォーマット(例えば、JPEG方式) に従って圧縮する。圧縮されたデータは、メディアコントロール回路96を介してメモリカード98に記録される。
【0067】
本例のカメラ10では、画像データを保存する手段として、例えばxD−ピクチャーカードが適用される。記録メディアの形態はこれに限定されず、PCカード、磁気ディスク、光ディスク、光磁気ディスク、メモリースティック(登録商標)などでもよく、電子的、磁気的、若しくは光学的、又はこれらの組み合わせによる方式に従って読み書き可能な種々の媒体を用いることができる。使用される媒体に応じた信号処理手段とインターフェースが適用される。異種、同種の記録メディアを問わず、複数の媒体を装着可能な構成にしてもよい。リムーバブルメディアに限らず、カメラ10に内蔵された記録媒体(内部メモリ)であってもよい。
【0068】
カメラ10には撮影後(記録前)に撮影結果を液晶モニタ44に表示して、その撮影画像を記録するか否かをユーザーが選択できるようにした機能(プレビュー機能)が設けられている。ユーザーは、セットアップメニュー画面において、プレビュー機能の有効/無効を指定することができる。プレビュー機能が「有効」の場合、撮影直後に撮影画像が表示され、当該画像の記録を容認する場合は、ユーザーはメニュー/実行キー38を押下して、「記録OK」の指示を入力する。この指示入力に応動して撮影画像がメモリカード98に書き込まれる。また、液晶モニタ44に表示された撮影画像の記録を希望しない場合、ユーザーはキャンセル/戻るキー40を押下して「記録取消」の指示を入力する。この指示入力に応動して撮影画像の記録処理が取り消される。
【0069】
カメラ10がムービーモードに設定されると、音声付きの動画記録が可能となる。レリーズボタン48の押下(S2=ON)によって録画動作がスタートし、もう一度レリーズボタン48を押下(S1 =ON)すると録画動作が停止する。レリーズボタン48を押下継続している期間、録画動作を行い、押下解除により録画を停止するようにしてもよい。動画データは、例えば、モーションJPEG形式によってメモリカード98に記録される。
【0070】
カメラ10がボイスレコーダモードに設定されると音声記録が可能となる。レリーズボタン48の全押し(S2=ON)で録音を開始し、その後レリーズボタン48の半押し(S1 =ON)で録音を停止する。マイク26を介して入力された音声信号は、音声処理回路100に入力される。音声処理回路100は、入力した音声信号をデジタル信号に変換するとともに、所定のファイル形式(例えば、WAVE形式) に変換する。こうして得られた音声データは、メディアコントロール回路96を介してメモリカード98に記録される。
【0071】
モード設定スイッチ46によってカメラモードが設定され、モードダイヤル32によって再生モードが選択されると、メモリカード98に記録されている最終コマのファイルがメディアコントロール回路96を介して読み出される。最終コマのファイルが静止画ファイルの場合、この読み出された画像ファイルの圧縮データは、圧縮伸長処理回路94を介して非圧縮のYC信号に伸長される。
【0072】
伸長されたYC信号は、画像再生処理回路86およびビデオエンコード回路88を介して表示用の信号に変換され、液晶モニタ44に出力されるとともに、音声/映像出力端子54に出力される。
【0073】
これにより、液晶モニタ44にはメモリカード98に記録されている最終コマのコマ画像が表示され、また、音声/映像出力端子54にテレビ受像機(不図示)が接続されている場合には、テレビ受像機に最終コマのコマ画像が表示される。
【0074】
その後、右キー34が押されると順方向にコマ送りされ、左キー36が押されると逆方向にコマ送りされる。そして、コマ送りされたコマ位置の画像ファイルがメモリカード98から読み出され、上記と同様にしてコマ画像が液晶モニタ44に再生される。最終コマのコマ画像が表示されている状態で順方向にコマ送りされると、メモリカード98に記録されている第1コマ目の画像ファイルが読み出され、1コマ目のコマ画像が液晶モニタ44やテレビ受像機その他の画像表示装置に再生される。
【0075】
再生対象ファイルが動画ファイルの場合には、動画の先頭コマが代表画像として表示され、動画再生開始の指示を受け付ける画面になる。また、再生対象ファイルが音声ファイルの場合には、液晶モニタ44上に音声ファイルであることを示す所定の図像が表示され、音声再生開始の指示を受け付ける画面になる。音声再生開始の指示を入力すると、メモリカード98から音声ファイルが読み出され、音声処理回路100により音声信号に変換された後、スピーカー62又はリモコン端子56に接続されるヘッドホン(不図示)を介して音声として出力される。
【0076】
モードダイヤル32によってコードモードが設定されると、情報コード形式のプログラムコード撮影が行われる。
【0077】
図9および図10はコードモードの制御を示したフローチャートである。
【0078】
モードダイヤル32によりコードモードが設定されると(図9のステップS10)、CPU70はフラッシュメモリ71のプログラム領域に格納されたデコードプログラムを起動する(ステップS12)。
【0079】
デコードプログラムが起動されると、図11に示すとおり、液晶モニタ44にはコードモード状態を示す「コード」表示110および、画角合わせ用枠112、中止合わせマーク114が表示される(図9のステップS14)。
【0080】
レリーズボタン48半押し(S1=ON)が行われると(ステップS16)、AE、AF、AWB(オートホワイトバランス)が行われ(ステップS18)、ステップS20に進む。
【0081】
ステップS20では、プログラムコードの画像データから色別のデータ(R画像、G画像、B画像)が抽出され、それぞれ画像形式ファイルとして、一時RAM73に格納される(ステップS22)。
【0082】
次に、被写体(画像形成媒体12)の画角合わせ(マーカー検出)が行われる(ステップS24)。マーカー検出では、液晶モニタ44に表示された画角合わせ用枠122と画像形成媒体12に形成された領域マーカー16が重なっているかを検出する。画角合わせ用枠122と領域マーカー16が重ならない場合には(NO判定時)、図12に示すマーカー警告表示130が液晶モニタ44に表示され(図9のステップS26)、カメラ10の制御はレリーズボタン48半押し(S1=ON)待ち状態に遷移する。
【0083】
ステップS24において撮影レンズの画角合わせ用枠122と領域マーカー16が重なると(YES判定時)、撮影レンズ20の合焦検出が行われる(ステップS28)。
【0084】
合焦検出は画像形成媒体12表面の略中央に形成された中心マーカー18と液晶モニタ44に表示された中心合わせ用マーク114が重なるようフレームを合わせ、中心マーカー18に撮影レンズ20が合焦するかを検出する。
【0085】
撮影レンズ20の合焦が検出されない場合には(NO判定)、図13に示す合焦警告表示150が液晶モニタ44に表示され(図9のステップS30)、カメラの制御はレリーズボタン48半押し(S1=ON)待ち状態に遷移する。
【0086】
ステップS28において合焦が検出されると(YES判定)、レリーズボタン48全押し(S2=ON)により(ステップS32)によりRAM73に格納されたR画像、G画像、B画像からプログラムのデータを復元可能であるか判定される(ステップS34)。
【0087】
復元できないと判定された場合には(NO判定)、該画像データは消去され(ステップS36)、カメラ10の制御はレリーズボタン48半押し(S1=ON)待ち状態に遷移する。
【0088】
ステップ34において、プログラムのデータを復元できると判定された場合には(YES判定)、プログラムコードの画像データからプログラムのデータを復元する(ステップS38)。R画像、G画像、B画像からプログラムのデータRプログラム、Gプログラム、Bプログラムが復元され、RAM73に一時記憶される(ステップS40)。
【0089】
本実施形態ではマーカー警告および合焦警告は液晶モニタ44に警告表示する形態を例示したが、マーカー警告および合焦警告はブザーあるいは音声等の警告音による形態が可能である。さらに画面表示と警告音を併用してもよい。
【0090】
ここで液晶モニタ44には、図14に示すインストール画面160が表示され、復元されたプログラムのデータをカメラ10にインストールする、あるいはインストールしないの何れかを選択する(図10のステップS50)。
【0091】
インストール画面160において「いいえ」(NO、インストールを行わない)を選択すると、復元されたプログラムのデータを保存するか保存しないで消去するかを選択する保存選択画面が液晶モニタ44に表示される(ステップS52)。図15に保存選択画面を示す。
【0092】
保存選択画面170において「いいえ」(NO、保存しない)を選択すると、プログラムのデータはRAM73から消去され(図10のステップS54)、カメラ10の制御はレリーズボタン48半押し(S1=ON)待ち状態に遷移する(図9のステップS16)。
【0093】
保存選択画面170において「はい」(YES、保存する)を選択すると、保存手段(メモリカードに保存するか否か)を選択する保存手段選択画面180が液晶モニタ44に表示される(図10のステップS56)。図16に保存手段選択画面を示す。
【0094】
保存手段選択画面180において「いいえ」(NO、メモリカードに保存しない)を選択すると、当該プログラムのデータはフラッシュメモリ71のデータ領域に保存される(図10のステップS58)。その後カメラ10の制御はレリーズボタン48半押し(S1=ON)待ち状態に遷移する(図9のステップS16)。
【0095】
保存手段選択画面180において「はい」(YES、メモリカードに保存する)を選択すると、当該プログラムのデータをメモリカード98に保存する処理を実行する。
【0096】
当該プログラムのデータは所定の形式に圧縮され(図10のステップS60)、圧縮されたプログラムのデータは、CPU70によりファイル名が自動的に付与される(ステップS62)。その後、メディアコントロール回路96を介してメモリカード98に保存される(ステップS64)。
【0097】
プログラムのデータをメモリカードに保存する際の、プログラムのデータのファイル名およびメモリカード内のディレクトリ構造については後述する。
【0098】
当該プログラムのデータがメモリカード96に保存されると、カメラ10の制御はレリーズボタン48半押し(S1=ON)待ち状態に遷移する(図9のステップS16)。
【0099】
ステップS44において「はい」(YES、インストールを行う)を選択すると、フラッシュメモリ71に格納されているインストールプログラム(インストーラ)が起動される(図10のステップS70)。
【0100】
インストーラが起動されると、RAM73に一時記憶されているプログラムのデータをRAM73の作業領域に展開する(ステップS72)。
【0101】
前記RAMに展開されたファイルには、制御プログラムを構成するプログラムファイルおよびデータファイルがある。前記データファイルには制御プログラムが使用する制御パラメータや制御プログラムが参照するデータがある。
【0102】
RAM73に展開されたプログラムファイルとフラッシュメモリ71のプログラム領域にあるプログラムファイルとを照合し、RAM73にあるプログラムファイルのうち必要なプログラムファイルをRAM73からフラッシュメモリ71のプログラム領域に複写する(ステップS74)。
【0103】
また、ステップS74では、フラッシュメモリ71のプログラム領域にあるプログラムファイルのうち、不要なプログラムファイルの削除を必要に応じて行う。
【0104】
ステップS74によりプログラムファイルの複写が終了すると、RAM73にあるデータファイルとフラッシュメモリ71のデータ領域にあるデータファイルの照合が行われる。前記照合の結果に従ってRAM73にあるデータファイルのうち必要なデータファイルをフラッシュメモリ71のデータ領域に複写する(ステップS76)。
【0105】
ステップS76では、フラッシュメモリ71のデータ領域にあるデータファイルのうち、不要なデータファイルの削除を必要に応じて行う。
【0106】
プログラムファイルおよびデータファイルの更新が終了すると、更新されたファイルに合わせてカメラ10の制御プログラムの設定およびパラメータが更新され(ステップS78)、インストールが終了する(ステップS80)。
【0107】
インストールが終了すると、カメラ10の制御はレリーズボタン48半押し(S1=ON)待ち状態に遷移する(図9のステップS16)。
【0108】
本実施形態では、モードダイヤル32によりコードモードと他のモードとの切り換えを行ったが、モード切換はモードダイヤル32による切り換えに限定されず、ソフトウエアによるモード切換が可能である。
【0109】
ソフトウエアによるモード切換の一例を挙げると、撮影モードにおいてモード切換(メニュー)画面を表示し、前記メニュー画面上でコードモードに切り換える形態である。
【0110】
図17はメモリカード98のディレクトリ(フォルダ)構造を示す図である。図17に示したディレクトリ名およびファイル名は、一例であり適宜変更可能である。
【0111】
ルート(root)ディレクトリの下に、コード撮影モードにより取得したプログラムのデータ格納用ディレクトリ(PROG) および画像ファイル格納用ディレクトリ(DCIM)が形成されている。
【0112】
所定の形式の圧縮されたプログラムのデータには「********.aaa」とういファイル名が付与される。********は任意の8文字で構成されるアルファベットおよび数字からなる文字列であり、aaa は任意のアルファベット3文字で構成される文字列である。前記aaa は拡張子と呼ばれファイル形式や圧縮形式を示すことができる。
【0113】
ファイル名が付与されたプログラムのデータは前記プログラムのデータ格納用ディレクトリ(PROG) に保存される。
【0114】
画像ファイル格納用ディレクトリ(DCIM)の下層には、複数のサブディレクトリ「100 _fuji」、「101 _fuji」…が形成されており、ディレクトリ毎に分類して画像ファイルを保存することができる。
【0115】
また、記録されたデータには記録形式に従ったファイル名が自動的に付けられる。例えばJPEG形式で記録された静止画ファイルは「DSCF****.jpg」というファイル名(ただし****は4桁の数字列)で記録される。
【0116】
ファイル名は記録時にCPU70によって自動付与される。また、ファイル名の4桁の番号は、原則として、重複なく連番で付与される。
【0117】
上記の如く構成されたカメラ10では、二次元コード化されたプログラムを画像としてカメラ10に取り込み、カメラ10に備えられた画像処理機能とデコードプログラムによりプログラムコード(画像形式)をプログラムのデータに変換し、当該プログラムをカメラ10にインストールすることができる。さらに、必要に応じて当該プログラムを内部メモリあるいは外部記録媒体の何れかに記録することも可能である。したがって、外部に接続可能な通信回線や、着脱式メモリデバイスを必要とせず、カメラの制御プログラムをアップデートすることが可能になる。
【0118】
図18に本発明に係る実施形態の応用例を示す。図18はカメラ雑誌に付属しているプログラムコードをデジタルカメラで取得している様子を示している。前記プログラムコードはプログラムが光学読取可能な形式にコード化された二次元コードであり、デジタルカメラの制御プログラムのアップデートプログラムである。
【0119】
カメラ200は上記実施形態に開示したコードモードを有するデジタルカメラである。カメラ雑誌202にはカメラ200の紹介記事や他のカメラとの性能比較などを紹介した記事204の他に、カメラ200に関する種々の情報が掲載されている。カメラ200に関する情報の中には不具合情報や機能追加情報を含んでいる。
【0120】
カメラ雑誌202には前記不具合情報や機能追加情報に対応したアップデートプログラムが情報コード化された二次元コードを掲載し、前記アップデートプログラムの取り扱い方法を掲載している。
【0121】
ユーザーはカメラ雑誌202を読み、アップデートプログラムの取り扱い方法に従って、プログラムコード206をカメラ200で撮影し、カメラ200内部でアップデートプログラムの画像データからアップデートプログラムを復元できる。また、カメラ200に復元されたアップデートプログラムをインストールすることができる。
【0122】
本応用例ではプログラムコード206を雑誌202に掲載したが、プログラムコード206を任意の紙媒体(パンフレット等)に記録し、カメラ雑誌202に付属する形態や、任意の紙媒体を単体で配布する形態も考えられる。
【0123】
上記の如く構成されたカメラ200では、ユーザーは二次元コード化されたアップデートプログラムが記録されている雑誌やパンフレットを入手する。前カメラ雑誌あるいはパンフレットに記録されているアップデートプログラムをカメラ200で撮影しカメラ200内部でアップデートプログラムの画像データからプログラムのデータが復元され、カメラ200にアップデートプログラムをインストールすることができ、カメラ200における不具合対策や機能追加が可能になる。したがって、着脱メディアや通信接続などを必要とせずに、カメラの機能プログラムをアップデートプログラムすることができる。
【0124】
アップデートプログラムを光学読取可能な画像形式の情報コードの形態に変換して画像形成媒体上に記録しておき、この二次元プログラムコード媒体を配布することができる。
【0125】
さらに、アップデートプログラムが紙媒体の印刷物に記録されていれば、携帯性が非常によく、別途、外部通信機器を用意してソフトウエアのアップデートを行う必要がなくなる。
【0126】
プログラムアップデート用の着脱式メモリデバイスを持ち歩く場合に比べると携帯性の面では遜色ないが、着脱式メモリデバイスは紙媒体の印刷物より高価であり、紛失等の可能性を考慮すると紙媒体の印刷物は着脱式メモリデバイスより有利である。
【0127】
カメラの制御プログラムを取り扱う形態について例示したが、本発明の適用範囲はこれに限定されない。例えば、二次元コード化された音声情報を取得し、音声データを復元し記録する。再生機能を備えたカメラであれば音声再生を行うことも可能である。
【0128】
また、本発明における実施形態では、デジタルカメラにおける実施形態を開示したが、本発明の適用範囲はデジタルカメラに限定されず、ムービーカメラやその他の電子撮像機能を具備した電子機器に広く適用可能である。
【0129】
【発明の効果】
本発明によれば、アップデートプログラム等の動作制御用プログラムを光学読取可能な画像形式の情報コードの形態に変換して画像形成媒体上に記録しておき、この二次元プログラムコード媒体を撮像手段で撮影し、得られた画像データからプログラムのデータを復元するようにしたので、通信回線に接続するための通信手段や着脱式メモリデバイス等の外部接続装置を必要とせず、電子機器の制御用プログラムをアップデートすることが可能になる。
【図面の簡単な説明】
【図1】本発明の実施形態に係るカメラにより光学読取可能なプログラムコードを撮影する様子を示す図
【図2】光学読取可能な情報コード形式に記録されたプログラムを示す図
【図3】本発明の実施形態に係るカメラの正面図
【図4】本発明の実施形態に係るカメラの背面図
【図5】本発明の実施形態に係るカメラの上面図
【図6】本発明の実施形態に係るカメラの底面図
【図7】本発明の実施形態に係るカメラの右側面図
【図8】本発明の実施形態に係るカメラの電気的構成を示すブロック図
【図9】コードモード撮影におけるデータ取得の制御を示すフローチャート
【図10】コードモード撮影におけるプログラムインストールとデータ保存の制御を示すフローチャート
【図11】コードモード撮影状態を示す液晶モニタの表示を示す図
【図12】コードモード撮影状態におけるマーカー警告画面を示す図
【図13】コードモード撮影状態における合焦警告画面を示す図
【図14】コードモード撮影状態におけるインストール画面を示す図
【図15】コードモード撮影状態における保存選択画面を示す図
【図16】コードモード撮影状態における保存手段選択画面を示す図
【図17】メモリカードのディレクトリ構想を示す図
【図18】本発明の実施形態に係る応用例を示す図
【符号の説明】
10,200…カメラ、12,202…画像形成媒体、14,206…プログラムコード、20…撮影レンズ、32…モードダイヤル、70…CPU、71…フラッシュメモリ、73…RAM、80…画像信号処理回路、98…メモリカード[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a program update method and an electronic camera, and more particularly to a software control technique suitable for a digital camera.
[0002]
[Prior art]
In recent years, digital cameras tend to be multifunctional and high performance. In addition, corrections corresponding to defects are performed daily, and new functions may be added at the same time. It is convenient to fix bugs and add new functions by updating the software without changing the hardware, and update files for correcting bugs and adding functions are stored on recording media such as CD-ROM. Distributed or provided over a communication line.
[0003]
The peripheral device of the computer disclosed in
[0004]
Further, in the system and method for dynamically updating functions in the electronic image device disclosed in
[0005]
[Patent Document 1]
JP 11-272634 A
[0006]
[Patent Document 2]
JP 2002-505492 A
[0007]
[Problems to be solved by the invention]
However, the computer peripheral device disclosed in
[0008]
Further, in the system and method for dynamically updating functions in the electronic image apparatus disclosed in
[0009]
The present invention has been made in view of such circumstances, and a program update that can acquire a defect correction file or an additional function program without requiring an external connection device such as a communication means for connecting to a communication line or a removable memory device. It is an object to provide a method and an electronic camera.
[0010]
[Means for Solving the Problems]
In order to achieve the above object, a program update method according to the present invention is a program update method used for operation control of an electronic device having an imaging means for converting an optical image into an electrical signal, and is an optically readable information code. The step of imaging the program code formed on the image forming medium by the imaging unit, the step of restoring program data from the image data of the program code acquired through the imaging unit, and the restoration And a step of recording the data of the programmed program.
[0011]
According to the present invention, an information code (program code) of a program converted into an optically readable information code form is formed on the image forming medium. The program code is photographed using the imaging means of the electronic device, and the data of the program is restored by analyzing the obtained image data. The program data thus obtained is stored in the recording means. In this way, by restoring the program data from the image information using the imaging function of the electronic device, it is possible to obtain the update program and plug-in software without connecting to an external device such as a computer or a communication line become.
[0012]
Program update includes rewriting the entire control program, rewriting a part of the control program, or adding an additional program to the control program.
[0013]
Examples of electronic devices include electronic cameras such as digital cameras and video cameras, mobile phones with cameras, PDAs with cameras, mobile personal computers with cameras, scanners, copying machines, and fax machines.
[0014]
The term “with camera” is not limited to a mode in which the camera is built in the main body, but also includes a mode in which the camera is configured to be detachable from the main body (external attachment).
[0015]
An image forming medium means a medium on which a program code is formed, and includes paper, plates and other printing media on which the program code is printed, a CRT on which the program code is projected, a liquid crystal display, and other image display devices. To do.
[0016]
In order to achieve the above object, an electronic camera according to the present invention includes an imaging unit that converts an optical image into an electrical signal, and a program code formed on an image forming medium in the form of an optically readable information code. Program restoration means for restoring program data from image data obtained by imaging by the imaging means, program recording processing means for recording program data restored by the program restoration means in a program storage unit, and the program Control means for controlling the operation of the camera by executing a program recorded in the storage unit is provided.
[0017]
According to the present invention, the program code can be photographed by the imaging unit, the program data can be restored inside the electronic camera, and can be recorded in the program storage unit provided in the electronic camera via the program recording processing unit. Update programs, plug-in software, and the like can be recorded (installed) without requiring a removable recording medium, a computer, or a communication connection.
[0018]
The program storage unit includes a memory area built in a CPU that controls the camera, and a recording medium such as a ROM, a RAM, and a PC card provided in the camera.
[0019]
The program storage unit is suitably a non-volatile memory that does not lose the recorded contents when the power is turned off. Non-volatile memories include an EEPROM (electrically erasable programmable read only memory) that can erase and write recorded data while the recording medium is mounted on a circuit, and electrically erases the recorded data.
[0020]
Recording in the program storage unit includes expanding and installing the program data into an executable format and recording it in the restored format.
[0021]
An electronic camera according to an aspect of the present invention includes a code photographing mode for photographing a program code in the optically readable information code format, and restoring program data from image data obtained by photographing, and data of the program It is characterized by comprising a mode switching means for switching between a normal photographing mode not accompanied by the restoration process.
[0022]
Mode switching means includes switching by hardware such as a switch and switching by software for selecting a shooting mode on a menu screen.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
Preferred embodiments of a program update method and an electronic camera according to the present invention will be described below with reference to the accompanying drawings.
[0024]
FIG. 1 shows how a program code recorded in an optically readable information code format is acquired by a camera.
[0025]
The
[0026]
A two-dimensional code (hereinafter referred to as a program code) 14 is formed on an image forming medium (for example, paper) indicated by
[0027]
The program is an additional module or plug-in for adding a function to the camera, a correction program for countermeasures against troubles, or the like. Also included are parameters referred to by the control software of the
[0028]
The format of the
[0029]
The
[0030]
FIG. 2 is an enlarged view of the
[0031]
The
[0032]
Multiple recording includes a method of recording in the same area and a method of recording in the same area.
[0033]
In this embodiment, the RGB color image representation is used for the color representation of the
[0034]
In general, a difference in color is expressed by hue, but in the present embodiment, one having at least one of the three elements of hue, saturation, and brightness can be handled as different colors.
[0035]
In addition to the
[0036]
The
[0037]
The material of the
[0038]
3 to 7 are a front view, a rear view, a plan view, a bottom view, and a right side view showing the external appearance of the
[0039]
A retractable photographing
[0040]
Further, a lens barrier 28 (see FIG. 8) that is opened and closed via a lens barrier driving unit 27 at the retracted position of the photographing
[0041]
On the rear surface of the
[0042]
The
[0043]
The
[0044]
The up / down
[0045]
The menu /
[0046]
The cancel / return key 40 is used when canceling (cancelling) an item selected from the menu or returning to the previous operation state.
[0047]
The
[0048]
The liquid crystal monitor 44 can be used as an electronic viewfinder, and can display captured images, reproduced images read from a memory card loaded in the camera, and the like. The liquid crystal monitor 44 also displays information such as the number of frames that can be shot and the number of playback frames, the presence / absence of flash emission, macro mode display, recording image quality (quality) display, and pixel number display.
[0049]
A
[0050]
The
[0051]
The
[0052]
A
[0053]
An audio / video output terminal (line OUT) 54, a
[0054]
FIG. 8 is a block diagram showing the internal configuration of the
[0055]
In the figure, a central processing unit (CPU) 70 is a control unit that performs overall control of the camera system. The
[0056]
The
[0057]
The
[0058]
The
[0059]
In addition to the image processing area, the
[0060]
The light that has passed through the photographing
[0061]
The signal charges accumulated in this manner are sequentially read out as voltage signals corresponding to the signal charges. The voltage signal sequentially read from the
[0062]
The image
[0063]
The data sent to the image
[0064]
When the shooting mode is set by the
[0065]
That is, the
[0066]
The image data captured in response to the
[0067]
In the
[0068]
The
[0069]
When the
[0070]
When the
[0071]
When the camera mode is set by the
[0072]
The expanded YC signal is converted into a display signal via the image
[0073]
As a result, the frame image of the last frame recorded on the
[0074]
Thereafter, when the
[0075]
When the reproduction target file is a moving image file, the first frame of the moving image is displayed as a representative image, and a screen for accepting an instruction to start moving image reproduction is displayed. When the file to be reproduced is an audio file, a predetermined image indicating that the file is an audio file is displayed on the
[0076]
When the code mode is set by the
[0077]
9 and 10 are flowcharts showing the control of the code mode.
[0078]
When the code mode is set by the mode dial 32 (step S10 in FIG. 9), the
[0079]
When the decoding program is started, as shown in FIG. 11, a “code”
[0080]
When the
[0081]
In step S20, color-specific data (R image, G image, B image) is extracted from the image data of the program code, and each is stored in the
[0082]
Next, the angle of view (marker detection) of the subject (image forming medium 12) is performed (step S24). In the marker detection, it is detected whether the field angle alignment frame 122 displayed on the liquid crystal monitor 44 and the
[0083]
When the field angle alignment frame 122 of the photographic lens and the
[0084]
In focus detection, the frame is aligned so that the
[0085]
When the focus of the
[0086]
When focus is detected in step S28 (YES determination), program data is restored from the R image, G image, and B image stored in the
[0087]
If it is determined that the image cannot be restored (NO determination), the image data is deleted (step S36), and the control of the
[0088]
If it is determined in
[0089]
In the present embodiment, the marker warning and the focus warning are exemplified as a warning display on the
[0090]
Here, the
[0091]
When “No” (NO, installation is not performed) is selected on the
[0092]
If “No” (NO, not saved) is selected on the
[0093]
When "Yes" (YES, save) is selected on the
[0094]
If “No” (NO, not stored in the memory card) is selected on the storage means
[0095]
When “Yes” (YES, save to memory card) is selected on the saving means
[0096]
The program data is compressed into a predetermined format (step S60 in FIG. 10), and a file name is automatically given to the compressed program data by the CPU 70 (step S62). Thereafter, it is stored in the
[0097]
The file name of the program data and the directory structure in the memory card when storing the program data in the memory card will be described later.
[0098]
When the data of the program is stored in the
[0099]
If “Yes” (YES, installation is performed) is selected in step S44, an installation program (installer) stored in the
[0100]
When the installer is activated, the program data temporarily stored in the
[0101]
The files expanded in the RAM include a program file and a data file that constitute a control program. The data file includes control parameters used by the control program and data referred to by the control program.
[0102]
The program file expanded in the
[0103]
In step S74, unnecessary program files are deleted from the program files in the program area of the
[0104]
When copying of the program file is completed in step S74, the data file in the
[0105]
In step S76, unnecessary data files are deleted from the data files in the data area of the
[0106]
When the update of the program file and the data file is completed, the settings and parameters of the control program of the
[0107]
When the installation is completed, the control of the
[0108]
In this embodiment, the
[0109]
An example of mode switching by software is a mode in which a mode switching (menu) screen is displayed in the photographing mode and the mode is switched to the code mode on the menu screen.
[0110]
FIG. 17 is a diagram showing a directory (folder) structure of the
[0111]
Under the root directory, a data storage directory (PROG) and an image file storage directory (DCIM) of the program acquired in the code photographing mode are formed.
[0112]
A file name of “******. Aaa” is given to the compressed program data in a predetermined format. ****** is a character string composed of alphabets and numbers composed of arbitrary eight characters, and aaa is a character string composed of arbitrary three characters. The aaa is called an extension and can indicate a file format or a compression format.
[0113]
The data of the program given the file name is stored in the program data storage directory (PROG).
[0114]
A plurality of subdirectories “100_fuji”, “101_fuji”,... Are formed below the image file storage directory (DCIM), and image files can be stored by classification for each directory.
[0115]
The recorded data is automatically given a file name according to the recording format. For example, a still image file recorded in the JPEG format is recorded with a file name “DSCF ******. Jpg” (where ****** is a 4-digit number string).
[0116]
The file name is automatically given by the
[0117]
In the
[0118]
FIG. 18 shows an application example of the embodiment according to the present invention. FIG. 18 shows a state where a program code attached to a camera magazine is acquired by a digital camera. The program code is a two-dimensional code in which the program is encoded in an optically readable format, and is an update program for a digital camera control program.
[0119]
The
[0120]
In the
[0121]
The user can read the
[0122]
In this application example, the
[0123]
In the
[0124]
The two-dimensional program code medium can be distributed by converting the update program into an optically readable image format information code and recording it on the image forming medium.
[0125]
Furthermore, if the update program is recorded on a printed matter on a paper medium, the portability is very good, and there is no need to prepare an external communication device and update the software separately.
[0126]
Compared to carrying a removable memory device for program updates, the portability is comparable, but removable memory devices are more expensive than printed paper products. It is more advantageous than a removable memory device.
[0127]
Although an example of handling a camera control program has been illustrated, the scope of application of the present invention is not limited to this. For example, two-dimensional coded audio information is acquired, and audio data is restored and recorded. If the camera has a playback function, audio playback can also be performed.
[0128]
In the embodiment of the present invention, the embodiment of the digital camera has been disclosed. However, the scope of the present invention is not limited to the digital camera, and can be widely applied to a movie camera and other electronic devices having an electronic imaging function. is there.
[0129]
【The invention's effect】
According to the present invention, an operation control program such as an update program is converted into an optically readable image format information code form and recorded on the image forming medium, and this two-dimensional program code medium is recorded by the imaging means. Since the program data is restored from the image data obtained by shooting, there is no need for an external connection device such as a communication means for connecting to a communication line or a removable memory device, and a program for controlling an electronic device Can be updated.
[Brief description of the drawings]
FIG. 1 is a diagram showing a state in which an optically readable program code is photographed by a camera according to an embodiment of the present invention.
FIG. 2 is a diagram showing a program recorded in an optically readable information code format
FIG. 3 is a front view of a camera according to an embodiment of the present invention.
FIG. 4 is a rear view of the camera according to the embodiment of the present invention.
FIG. 5 is a top view of a camera according to an embodiment of the present invention.
FIG. 6 is a bottom view of the camera according to the embodiment of the present invention.
FIG. 7 is a right side view of the camera according to the embodiment of the invention.
FIG. 8 is a block diagram showing an electrical configuration of the camera according to the embodiment of the present invention.
FIG. 9 is a flowchart showing data acquisition control in code mode imaging;
FIG. 10 is a flowchart showing control of program installation and data storage in code mode shooting.
FIG. 11 is a diagram showing a display on a liquid crystal monitor showing a code mode shooting state;
FIG. 12 is a diagram showing a marker warning screen in the code mode shooting state;
FIG. 13 is a diagram showing an in-focus warning screen in the code mode shooting state.
FIG. 14 is a diagram showing an installation screen in the code mode shooting state;
FIG. 15 is a diagram showing a save selection screen in the code mode shooting state;
FIG. 16 is a diagram showing a storage means selection screen in the code mode shooting state;
FIG. 17 is a diagram showing a directory concept of a memory card
FIG. 18 is a diagram showing an application example according to the embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10,200 ... Camera, 12,202 ... Image forming medium, 14,206 ... Program code, 20 ... Shooting lens, 32 ... Mode dial, 70 ... CPU, 71 ... Flash memory, 73 ... RAM, 80 ... Image
Claims (3)
光学読取可能な情報コードの形態により画像形成媒体上に形成されているプログラムコードを前記撮像手段によって撮像する工程と、
前記撮像手段を介して取得した前記プログラムコードの画像データからプログラムのデータを復元する工程と、
前記復元されたプログラムのデータを記録する工程と、
を含むことを特徴とするプログラムアップデート方法。An update method of a program used for operation control of an electronic device provided with an imaging means for converting an optical image into an electrical signal,
Imaging the program code formed on the image forming medium in the form of an optically readable information code by the imaging means;
Restoring the program data from the image data of the program code acquired via the imaging means;
Recording the restored program data;
A program update method comprising:
光学読取可能な情報コードの形態により画像形成媒体上に形成されているプログラムコードを前記撮像手段で撮像して得られた画像データからプログラムのデータを復元するプログラム復元手段と、
前記プログラム復元手段により復元されたプログラムのデータをプログラム格納部に記録するプログラム記録処理手段と、
前記プログラム格納部に記録されたプログラムを実行して当該カメラの動作を制御する制御手段と、
を備えたことを特徴とする電子カメラ。Imaging means for converting an optical image into an electrical signal;
Program restoring means for restoring program data from image data obtained by imaging the program code formed on the image forming medium in the form of an optically readable information code by the imaging means;
Program recording processing means for recording data of the program restored by the program restoring means in a program storage unit;
Control means for controlling the operation of the camera by executing a program recorded in the program storage unit;
An electronic camera characterized by comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002339363A JP2004171461A (en) | 2002-11-22 | 2002-11-22 | Method for updating program and electronic camera |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002339363A JP2004171461A (en) | 2002-11-22 | 2002-11-22 | Method for updating program and electronic camera |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2004171461A true JP2004171461A (en) | 2004-06-17 |
Family
ID=32702321
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002339363A Pending JP2004171461A (en) | 2002-11-22 | 2002-11-22 | Method for updating program and electronic camera |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2004171461A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011186547A (en) * | 2010-03-04 | 2011-09-22 | Canon Inc | Display control apparatus, control method of the same, program and storage medium |
| JP2022008716A (en) * | 2016-01-26 | 2022-01-14 | レノボ・シンガポール・プライベート・リミテッド | Information processing device, identification code reading method, and program |
-
2002
- 2002-11-22 JP JP2002339363A patent/JP2004171461A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011186547A (en) * | 2010-03-04 | 2011-09-22 | Canon Inc | Display control apparatus, control method of the same, program and storage medium |
| JP2022008716A (en) * | 2016-01-26 | 2022-01-14 | レノボ・シンガポール・プライベート・リミテッド | Information processing device, identification code reading method, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8159560B2 (en) | Image sensing apparatus having a delete function of image data and control method thereof | |
| JP4761146B2 (en) | Imaging apparatus and program thereof | |
| US8565496B2 (en) | Image editing apparatus, image editing method, and computer readable medium | |
| KR20050059639A (en) | Controlling method of digital camera | |
| CN101790042B (en) | Image sensing apparatus and control method thereof, as well as image processing apparatus and its control method | |
| US20040179131A1 (en) | Image capturing apparatus and exposure setting method thereof | |
| KR20060088062A (en) | Imaging Device and Control Method | |
| JP2006025257A (en) | Image pickup device | |
| JP2009267831A (en) | Image recording device and method | |
| JP4730553B2 (en) | Imaging apparatus and exposure control method | |
| JP4958680B2 (en) | IMAGING DEVICE, WHITE BALANCE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
| JP3807007B2 (en) | Accessories for digital cameras | |
| JP4565276B2 (en) | Camera and mode switching method thereof | |
| JP2005051340A (en) | Camera that controls the camera remotely | |
| JP2002051238A (en) | Electronic camera | |
| JP2004171461A (en) | Method for updating program and electronic camera | |
| JP2002185972A (en) | Image pickup device | |
| JP4401974B2 (en) | Imaging apparatus and control method thereof | |
| JP4182427B2 (en) | Imaging device | |
| JP4948011B2 (en) | Imaging apparatus, control method therefor, computer program, and storage medium | |
| JP5018828B2 (en) | Image photographing apparatus and image photographing program | |
| JP2004163485A (en) | Speech reproduction system and speech data code, and electronic camera | |
| JP2005117249A (en) | Photography system | |
| JP2004153737A (en) | Sound recording method, sound reproducing method and electronic camera | |
| JP2006025258A (en) | Print system |