JP4060124B2 - Imaging device - Google Patents
Imaging device Download PDFInfo
- Publication number
- JP4060124B2 JP4060124B2 JP2002151956A JP2002151956A JP4060124B2 JP 4060124 B2 JP4060124 B2 JP 4060124B2 JP 2002151956 A JP2002151956 A JP 2002151956A JP 2002151956 A JP2002151956 A JP 2002151956A JP 4060124 B2 JP4060124 B2 JP 4060124B2
- Authority
- JP
- Japan
- Prior art keywords
- setting
- information
- circuit
- register
- eeprom
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Studio Devices (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、CCD撮像素子やCMOS撮像素子などの固体撮像素子を利用したビデオカメラ、車載カメラ、監視カメラ等の撮像装置に関する。
【0002】
【従来の技術】
近年、撮像用のデバイスとして、CCD撮像素子やCMOS撮像素子などの固体撮像素子を利用した撮像装置が商品化されている。これらの撮像装置では、一般に固体撮像素子から出力される映像信号を映像信号処理回路によって外部で利用できるように適切な変換や補正を行い、ディジタルまたはアナログの映像信号として出力を行う。また同時に、映像信号処理回路では、固体撮像素子から入力される信号に基づき、明るさや色を判別し、アイリスやホワイトバランスの制御も行っている。
【0003】
映像信号処理回路において、これらの変換、補正、制御を行う際、撮像素子やその他の部品のばらつきによって、個体間の信号のばらつきが発生する。そこで、この装置固有のばらつきを抑えるため、また使用者の用途や目的に合うように、生産時に映像信号処理回路の設定値の調整が行われる。この調整結果は、書き換え可能な不揮発性メモリに設定情報として記憶されることが一般的である。
【0004】
装置の起動時に、不揮発性メモリから生産時に調整され書き込まれた設定情報を読み出し、映像信号処理回路内部に設定を行う。これによって、装置間でのばらつきが少なく、また使用者の用途や目的に合う映像信号が得られる。
【0005】
次に、一般的な映像信号処理回路の設定情報と不揮発性メモリに記憶するデータの関係について説明を行う。映像信号処理回路の内部設定部分には、それぞれを区別するための番号(アドレス)が割り当てられ、それぞれのアドレスに設定情報として設定値が入力される。設定値を不揮発性メモリに記憶させるときには、設定値に割り当てられたアドレス順、例えば昇順で不揮発性メモリにそれぞれの設定値を書き込んでいく。
【0006】
そして、起動時などに映像信号処理回路に設定値を設定するとき、不揮発メモリから設定値を読み出し、読み出した値をアドレス順、例えば昇順に映像信号処理回路の内部設定部分に設定を行う。このようにして、調整時の設定の再現を行える。
【0007】
【発明が解決しようとする課題】
しかし、従来では、たとえ全設定値を記憶する必要がない場合であっても、映像信号処理回路の設定値の個数と同じ、あるいはそれ以上の容量を持つ不揮発性メモリが使用されている。近年、映像信号処理回路の高機能化により、映像信号処理回路の設定値の数は増える傾向にある。このことは、大容量のメモリが必要となり、直接コストの増大につながる。
【0008】
また、映像信号処理回路の設定値の増加は、起動時などに不揮発性メモリを読み出して設定を行う時間の増加につながり、システムパフォーマンスを落とす原因になる。
【0009】
さらに、映像信号処理回路の設定値をアドレス順でそのまま不揮発性メモリに書き込むため、他人が不揮発性メモリに書き込まれた値を解析した場合、調整内容や方法などのノウハウを容易に盗まれる可能性がある。
【0010】
本発明は、上記に鑑み、起動時に使用する不揮発性メモリの容量や起動時間を抑えることができるとともに、設定内容の解析を困難にすることによって、ノウハウを盗まれにくいようにした撮像装置の提供を目的とする。
【0011】
【課題を解決するための手段】
本発明による課題解決手段は、撮像素子からの映像信号の処理を行う処理手段と、起動時に前記処理手段の動作に必要な複数の内部情報を設定する設定手段と、設定すべき内部情報を記憶するための記憶手段とを備え、該記憶手段は、前記内部情報のうち起動時に必要な装置固有の設定情報を記憶するものである。設定情報は、生産時に装置固有のばらつきを抑えるための調整値、あるいは設定手段が予め保有している初期値とは異なる設定値とされる。
【0012】
すなわち、内部情報のうち設定情報以外の内部情報は、各装置共通の情報であり、初期値として固定されたものとなる。そのため、記憶手段には記憶しておく必要はない。これによって、記憶手段に記憶すべき情報は少なくなり、容量の少ない記憶手段を用いることが可能となる。しかも、記憶手段から読み出す情報が少なくなるので、読み込みに要する時間や設定する時間も少なくなり、その分起動時間を短縮できる。
【0013】
そして、記憶手段に、各内部情報に対する起動時の設定の要否を示す識別情報が記憶される。識別情報は、全ての内部情報に1対1で対応する。この識別情報と設定情報とが組み合わせて記憶される。すなわち、一定数の識別情報および識別情報に対応して設定要とされた設定情報が、この順に記憶されていき、全ての内部情報に対応するまで繰り返す。例えば、複数の識別情報を記憶し、次にこれらの識別情報によって設定要とされた設定情報を記憶する。これを繰り返していく。あるいは、先に全ての内部情報に対する識別情報だけを記憶し、次に設定要とされた設定情報を順に記憶する。このように内容の異なる情報を混在して記憶することにより、記憶内容を分かりにくくすることができ、セキュリティが向上する。
【0014】
また、記憶手段からの設定情報が正常に設定されたかチェックするチェック手段を設けるとよい。正常に設定できないとき、設定手段は、予め保有している初期情報を設定するようにする。これによって、何らかの異常によって正しく設定できない場合でも、動作するのに最低限の機能を確保できる。
【0015】
チェック手段としては、記憶手段の記憶領域のうち特定の領域にマーカ情報を記憶させて、設定中に読み出したマーカ情報が正しいか否かをチェックする。正しいマーカ情報を確認することによって、正常に設定されたと判断する。マーカ情報を正しく確認できない場合、正常に設定できないと判断する。これによって、設定時の信頼性を高めることができる。
【0016】
【発明の実施の形態】
本発明の一実施形態のビデオカメラとしての撮像装置を図1に示す。図1において、1は被写体からの像を電気信号に変換する撮像素子である。2は、撮像素子1を駆動するのに必要なタイミング信号を発生させるTG回路である。3は、撮像素子1からの映像信号を相関2重サンプリングし、増幅を行うCDS/AGC回路である。4は、CDS/AGC回路3から出力されたアナログ信号をディジタル信号に変換するA/D変換回路である。5は、A/D変換回路4から出力された信号に基づいて輝度信号と色信号を作成する輝度・色信号作成回路である。6は、輝度・色信号作成回路5で作成された輝度信号にガンマ補正を行うガンマ補正回路である。7は、輝度・色信号作成回路5で作成された色信号に対して、ホワイトバランスの調整を行うホワイトバランス調整回路である。8は、ホワイトバランス調整回路7からの色信号に対して、色相の調整を行うマトリクス補正回路である。9は、ガンマ補正回路6からの輝度信号とマトリクス補正回路8からの色信号を合成し、ビデオ信号を作成する輝度・色信号合成回路である。10は、輝度・色信号合成回路9からのディジタルのビデオ信号をアナログのビデオ信号に変換するD/A変換回路である。11は、ホワイトバランス調整回路7、TG回路2、CDS/AGC回路3の制御を行い、アイリスや自動ホワイトバランス制御を行う制御用マイコンである。これらの回路によって、処理手段(映像信号処理回路)が構成される。
【0017】
12は、制御用マイコン11、ホワイトバランス調整回路7、マトリクス補正回路8、輝度・色信号作成回路5、ガンマ補正回路6、輝度・色信号合成回路9が動作するための係数を記憶するレジスタ回路である。13は、本ビデオカメラが起動する際、制御用マイコン11、ホワイトバランス調整回路7、マトリクス補正回路8、輝度・色信号作成回路5、ガンマ補正回路6、輝度・色信号合成回路9が初期動作を行うために必要な係数を記憶するための記憶手段としてのEEPROMである。これらの係数は、ビデオカメラの生産時に調整され、書き込まれる。14は、起動時、EEPROM13からデータを読み出し、レジスタ回路12に設定を行うEEPROM読み出し回路である。レジスタ回路12およびEEPROM読み出し回路14によって、起動時に処理手段の動作に必要な内部情報を設定する設定手段が構成される。
【0018】
15は、起動時、EEPROM13からデータを読み出し、レジスタ回路12に設定する前に、EEPROM13の先頭アドレス(先頭領域)に書き込まれた先頭マーカデータと、予め内蔵している先頭マーカデータを比較して一致しているかどうかを判定する先頭マーカ比較回路である。16は、起動時、EEPROM13から全データを読み出し、レジスタ回路12に設定が完了した後、EEPROM13の最終アドレス(終了領域)に書き込まれた終了マーカデータと、予め内蔵している終了マーカデータを比較して一致しているかどうかを判定する終了マーカ比較回路である。先頭マーカ比較回路15および終了マーカ比較回路16によって、上記のマーカ情報(マーカデータ)を確認して、正常に設定されたかをチェックするチェック手段が構成される。
【0019】
次に、本ビデオカメラの通常動作について説明を行う。図1において、撮像素子1によって被写体の像を変換した電気信号はCDS/AGC回路3によって相関二重サンプリングされるとともに、制御用マイコン11からの制御でゲインがかけられる。
【0020】
相関二重サンプリングされた映像信号は、A/D変換回路4によってディジタル信号に変換され、輝度・色信号作成回路5に入力される。輝度・色信号作成回路5では、隣り合う画素の信号を加算することにより輝度信号を作成し、ガンマ補正回路6に入力する。ガンマ補正回路6では、輝度信号に対して、ブラウン管等の表示装置で表示するのに最適なガンマ補正を行い、輝度・色信号合成回路9へ入力する。
【0021】
また、輝度・色信号作成回路5では、色フィルタごとに分離された信号から、色差信号(R−Y信号、B−Y信号)を計算し、ホワイトバランス調整回路7に入力する。ホワイトバランス調整回路7では、制御用マイコン11より赤色と青色のバランスを計測し、ホワイトバランスがとれるようにゲイン調整を行う。ホワイトバランス調整回路8で調整された信号は、マトリクス補正回路8に入力され、色相の調整を行う。
【0022】
ガンマ補正回路6から出力された輝度信号とマトリクス補正回路8で補正された色信号は、輝度・色信号合成回路9で合成され、さらに同期信号等を加えてディジタルのビデオ信号が作成される。輝度・色信号合成回路9で合成されたディジタルのビデオ信号は、D/A変換回路10でアナログのビデオ信号に変換され、外部に出力される。
【0023】
また、制御用マイコン11では、常に信号の輝度レベルと色のバランスを計測して、撮像素子1の電子シャッタやCDS/AGC回路3のゲインを調整している。映像が一定の明るさになるように調整を行って、色が最適になるようホワイトバランスの制御を行っている。
【0024】
ここで、本ビデオカメラにおける起動時の動作について詳細な説明を行う。まず、図2に、レジスタ回路12で定められているレジスタ番号、機能、レジスタ回路12が予め保有している初期値、および実際に設定を行いたい設定値を示す。
【0025】
図2に示すように、レジスタ回路12は、レジスタ番号00〜31の合計32個のレジスタを持っている。各レジスタのビット長は8ビットであり、0〜255までの値を設定することが可能である。
【0026】
各レジスタには、それぞれ映像信号処理回路における各回路の機能が割り振られており、ホワイトバランス調整回路7で使用するもの(レジスタ番号00、01)、マトリクス補正回路8で使用するもの(レジスタ番号02〜05)、輝度・色信号作成回路5で使用するもの(レジスタ番号06〜08)、ガンマ補正回路6で使用するもの(レジスタ番号09、10)、輝度・色信号合成回路9で使用するもの(レジスタ番号11、12)、制御用マイコン11がアイリス制御やホワイトバランス制御のために使用するもの(レジスタ番号13〜16)、制御用マイコン11がワークエリアとして使用するもの(レジスタ番号17〜31)となっている。
【0027】
また、各レジスタは、予め回路内に初期値を持っている。これらの初期値を設定することによって、EEPROM13から設定値を読み込まなくても、ある程度の動作を行えるようになっている。
【0028】
ここで、レジスタ回路12が持っているレジスタのうち、どのレジスタ番号の情報をEEPROM13に記憶しておくか、しないかの判定は、ビデオカメラが起動時にそのレジスタの設定値を必要とするか、しないかによって決定される。すなわち、EEPROM13に記憶しておくべき設定情報である設定値は、生産時に装置固有のばらつきを抑えるために調整された値、あるいは装置の動作中に変化することがない設定値、すなわち生産時に装置間で差がなく、動作中も変化しない設定値のうち、初期値とは異なる設定値である。これらの設定値は初期値と異なるので、起動時に設定が必要となり、EEPROM13に書き込む。
【0029】
また、レジスタ回路12が予め内部に持っている初期値を変更する必要がない場合、そのレジスタについては設定を行う必要はない。例えば、図2において、レジスタ番号00、01のRゲイン、Bゲインについては、制御用マイコン11がホワイトバランス制御を行う上で常に変化させる必要があるレジスタ値である。このレジスタ値は、被写体として何が撮像されているかによって変化するため、設定を行う必要はなく、設定値をEEPROM13に記憶する必要はない。レジスタ番号17〜31については、制御マイコン11が各種処理を行う際のワークエリアとして使用するため、これらの設定値もEEPROM13に記憶する必要はない。
【0030】
上記のように記憶すべきレジストの設定値が決定されると、各レジスタについて設定が必要であるか判断しながら、EEPROM13に設定値を書き込む。図2に示したレジスタ番号のうち、02、03、05、06、09、10、15、16のデータがEEPROM13に書き込まれる。なお、書き込む時期は、生産時であるが、出荷前に行えばよい。
【0031】
EEPROM13に書き込むデータの作成例を図3に示す。EEPROM13のアドレス00〜01には、先頭マーカデータが書き込まれる。先頭マーカデータは、FFh、AAh(16進表記)である。アドレス02には、レジスタ番号00〜07に対応する設定フラグが書き込まれる。ここでは、レジスタ番号02、03、05、06の設定値を書き込むため、設定フラグの値は6Ch(16進表記)となる。アドレス03〜06は、レジスタ番号02、03、05,06の設定値が順に書き込まれる。アドレス07には、レジスタ番号08〜15に対応する設定フラグが書き込まれる。ここでは、レジスタ番号09、10、15の設定値を書き込むため、設定フラグの値は86h(16進表記)となる。アドレス08〜10には、レジスタ番号09、10、15の設定値が順に書き込まれる。アドレス11には、レジスタ番号16〜23に対応する設定フラグが書き込まれる。ここでは、レジスタ番号16の設定値を書き込むため、設定フラグの値は、01h(16進表記)となる。アドレス12には、レジスタ番号16の設定データが書き込まれる。アドレス13には、レジスタ番号24〜31に対応する設定フラグが書き込まれる。ここでは、書き込むべきレジスタは存在しないため、設定フラグの値は00h(16進表記)である。アドレス14、15には、終了マーカデータが書き込まれる。終了マーカデータは、FFh、55h(16進表記)である。
【0032】
ここで、設定フラグは、レジスタに設定値を設定するか、しないかの要否を示す識別情報とされる。そして、一定数の識別情報、ここでは8個の設定フラグを1つのアドレスに書き込み、これに続いて設定すべき設定値を順に次のアドレスから書き込む。これを全てのレジスタに対応するまで繰り返して、各アドレスに書き込んでいくことにより、レジスタ回路12内の設定が必要なレジスタに対する設定値は全て記憶されることになる。
【0033】
ビデオカメラの起動時の設定手順を図4に基づいて説明する。ビデオカメラに電源が投入(S1)されると、初めにEEPROM読み出し回路14は、EEPROM13の先頭アドレスに書き込まれている先頭マーカデータを読み出す(S2)。先頭マーカデータは2バイトで構成されている。
【0034】
先頭マーカ比較回路15において、読み出された先頭マーカデータと先頭マーカ比較回路15内に予め既定されている先頭マーカデータとの比較を行う(S3)。ここで、EEPROM13より読み出した先頭マーカデータと先頭マーカ比較回路15内に既定されている先頭マーカデータとが一致した場合は、次の処理へ進む。
【0035】
一致しなかった場合は、読み込み誤りと判定し、先頭マーカデータの再読み込みを行う。再読み込み回数はカウントされ(S10)、再読み込み回数が所定回数、例えば5回を超えると、EEPROM13に何らかの不具合があるものと判定される。レジスタ回路12が予め持っている初期値を各レジスタに設定(S14)した後、制御用マイコン11が起動し(S15)、通常処理を行う。
【0036】
以上のような処理を行うことにより、EEPROM13のデータが何らかの原因で正常に読み出されない場合においても、レジスタ回路13が予め持っている初期値で各回路の設定を行い、起動することができる。そのため、ビデオカメラの動作に必要な最低限の機能を確保することができ、ビデオカメラの使用が可能となる。
【0037】
先頭マーカデータが一致した場合は、次に全レジスタの設定が完了したかの判定を行う(S4)。全レジスタの設定が完了していない場合、EEPROM13より設定フラグを読み出す(S5)。設定フラグは8ビットで構成されており、8個のレジスタについて設定が必要であるか、ないかの指定を行っている。
【0038】
ここで、設定フラグのビットが1のとき、対応するレジスタの設定が必要、0のとき、設定は不要と規定される。また、設定フラグのLSB(最下位ビット)からMSB(最上位ビット)に向かってレジスタ番号を昇順に割り振っている。例えば、レジスタ番号0〜7の設定フラグを例にすると、これらのレジスタのうち、レジスタ番号2、3、5、6のレジスタを設定する必要がある場合、設定フラグは6Ch(16進表記)となる。
【0039】
設定フラグ読み込み後は、設定フラグのビットを順に確認し(S6)、設定が必要であるレジスタの場合は、EEPROM13より設定値を読み出し(S7)、レジスタ回路12の該当するレジスタに設定値の設定を行う(S8)。設定フラグの全ビットの確認が終了するまで以上の動作を繰り返す(S9)。また、レジスタ設定の必要がない場合も同様に、設定フラグの全ビットの確認が終了するまで以上の動作を繰り返す。なお、設定が不要とされたレジスタについては、初期値がそのまま設定される。
【0040】
1つの設定フラグの全ビットの確認が終了すると、EEPROM13より次の設定フラグを読み出し、以上の動作を全レジスタの設定が完了するまで繰り返す。全レジスタの設定が完了が確認される(S4)と、次にEEPROM13のデータの最終アドレスに書き込まれている終了マーカデータを読み込む(S11)。終了マーカデータは2バイトで構成されている。終了マーカ比較回路16において、読み出された終了マーカデータと、終了マーカ比較回路16内で既定されている終了マーカデータとの比較を行う(S12)。
【0041】
EEPROM13から読み出した終了マーカデータと終了マーカ比較回路16内で既定されている終了マーカデータとが一致した場合、レジスタ回路12の設定は正常に終了したと判定される。そして、制御マイコン11を起動し(S15)、通常処理を行う。
【0042】
終了マーカデータが一致しなかった場合は、EEPROM13の読み込みにおいて誤りがあったと判定される。そこで、先頭マーカデータの読み出しから再読み込みを行う(S2)。再読み込みの回数はカウントされ(S13)、所定回数、例えば5回を超えると、EEPROM13に何らかの不具合があると判定される。この場合、レジスタ回路12が予め持っている初期値を設定し(S14)、制御用マイコン11が起動し(S15)、通常処理を行う。
【0043】
以上のような処理を行うことにより、何らかの原因でEEPROM13の読み込み途中、読み込み誤りの発生や、再読み込みを行っても正常な読み込みが行えない場合において、レジスタ回路12が予め持っている初期値をレジスタに設定することによって、ビデオカメラの動作に必要な最低限の機能を確保することができる。
【0044】
また、上記のような起動プロセスをとる場合、設定フラグの読み誤りが発生すると、それ以降のレジスタの設定がすべて影響を受ける。そのため、終了マーカデータによってEEPROM13の読み込みが正常に終了したか確認することは重要であり、マーカ情報を用いて正常に設定されたかをチェックすることにより、動作の信頼性を高めることができる。
【0045】
ところで、全レジスタ数が32個ある場合、従来EEPROM13に必要な容量は32バイトになる。しかし、上記のようにEEPROM13に各レジスタに対する設定フラグおよび必要な設定値を記憶させることにより、先頭マーカデータ、終了マーカデータを含めても16バイトで済む。したがって、EEPROM13の容量を1/2にすることが可能となり、メモリの低コスト化を図れる。さらに、EEPROM13の読み出しや設定時間も1/2に短縮でき、ビデオカメラの起動時間を早くすることが可能となる。
【0046】
また、他人にEEPROM13のデータを解析された場合、設定フラグと設定値が不規則に混在しているため、ビデオカメラの起動プロセスを知らない限り、データの解析は困難となる。したがって、設定内容の漏洩やビデオカメラ調整等のノウハウの流出の防止を図ることができる。
【0047】
しかも、EEPROM13のデータには、設定フラグと設定値が混在しているため、EEPROM読み込み回路14内で必要な一時保存用バッファメモリも設定フラグを記憶する1バイト程度でよく、小規模な回路およびプログラムで構成することが可能になる。
【0048】
なお、本発明は、上記実施形態に限定されるものではなく、本発明の範囲内で上記実施形態に多くの修正および変更を加え得ることは勿論である。マーカ情報は、2個に限らず、複数あるいは1個でもよい。
【0049】
設定値を記憶する記憶手段として、メモリカード、磁気ディスク、光ディスク等の着脱可能な記憶媒体を用いてもよく、個人毎に記憶媒体を持ち、撮像装置の使用時に装着する。撮像装置を共有する場合、各個人に応じた設定を行える。
【0050】
【発明の効果】
以上の説明から明らかな通り、本発明によると、起動時に映像信号処理回路に対する設定を行うとき、メモリから呼び出す設定情報が少ないので、すばやく設定でき、起動時間を短縮することができる。また、メモリに設定情報以外に別の情報も記憶しているので、メモリの内容から設定情報を解析することが困難となり、セキュリティの向上を図れる。
【図面の簡単な説明】
【図1】 本発明の一実施形態のビデオカメラの構成図
【図2】 レジスタの設定内容を示す図
【図3】 EEPROMに記憶されるデータを示す図
【図4】 起動時の設定処理のフローチャート
【符号の説明】
1 撮像素子
5 輝度・色信号作成回路
6 ガンマ補正回路
7 ホワイトバランス調整回路
8 マトリクス補正回路
9 輝度・色信号合成回路
11 制御用マイコン
12 レジスタ回路
13 EEPROM
14 EEPROM読み出し回路
15 先頭マーカ比較回路
16 終了マーカ比較回路[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an imaging apparatus such as a video camera, an in-vehicle camera, and a surveillance camera using a solid-state imaging device such as a CCD imaging device or a CMOS imaging device.
[0002]
[Prior art]
In recent years, imaging devices using solid-state imaging devices such as CCD imaging devices and CMOS imaging devices have been commercialized as imaging devices. In these imaging apparatuses, generally, a video signal output from a solid-state imaging device is appropriately converted and corrected so that it can be used externally by a video signal processing circuit, and output as a digital or analog video signal. At the same time, the video signal processing circuit discriminates brightness and color based on a signal input from the solid-state image sensor, and controls iris and white balance.
[0003]
When these conversion, correction, and control are performed in the video signal processing circuit, signal variations among individuals occur due to variations in image pickup devices and other components. Therefore, in order to suppress variations inherent in the apparatus and to suit the user's application and purpose, the set values of the video signal processing circuit are adjusted during production. This adjustment result is generally stored as setting information in a rewritable nonvolatile memory.
[0004]
When the apparatus is activated, the setting information adjusted and written at the time of production is read from the nonvolatile memory, and settings are made in the video signal processing circuit. Thereby, there is little variation between apparatuses, and a video signal suitable for the user's purpose and purpose can be obtained.
[0005]
Next, the relationship between general video signal processing circuit setting information and data stored in the nonvolatile memory will be described. A number (address) for distinguishing each is assigned to an internal setting portion of the video signal processing circuit, and a setting value is input as setting information to each address. When storing the setting values in the nonvolatile memory, the setting values are written in the nonvolatile memory in the order of addresses assigned to the setting values, for example, in ascending order.
[0006]
Then, when setting a setting value in the video signal processing circuit at the time of startup or the like, the setting value is read from the nonvolatile memory, and the read value is set in the internal setting portion of the video signal processing circuit in the address order, for example, ascending order. In this way, the settings at the time of adjustment can be reproduced.
[0007]
[Problems to be solved by the invention]
However, conventionally, a nonvolatile memory having a capacity equal to or larger than the number of set values of the video signal processing circuit is used even if it is not necessary to store all set values. In recent years, the number of set values of the video signal processing circuit tends to increase as the functionality of the video signal processing circuit increases. This requires a large-capacity memory and directly leads to an increase in cost.
[0008]
In addition, an increase in the setting value of the video signal processing circuit leads to an increase in the time for reading and setting the nonvolatile memory at the time of startup or the like, which causes a decrease in system performance.
[0009]
In addition, because the setting values of the video signal processing circuit are written in the nonvolatile memory as they are in the address order, if other people analyze the values written in the nonvolatile memory, know-how such as adjustment contents and methods can be easily stolen. There is.
[0010]
In view of the above, the present invention provides an imaging device that can suppress the capacity and startup time of a nonvolatile memory used at startup and makes it difficult to steal know-how by making analysis of setting contents difficult With the goal.
[0011]
[Means for Solving the Problems]
The problem solving means according to the present invention includes a processing means for processing a video signal from an image sensor, a setting means for setting a plurality of internal information necessary for the operation of the processing means at startup, and internal information to be set. Storage means for storing, and the storage means stores apparatus-specific setting information necessary at the time of activation among the internal information. The setting information is an adjustment value for suppressing variations inherent in the apparatus during production, or a setting value different from an initial value held in advance by the setting means.
[0012]
That is, the internal information other than the setting information among the internal information is information common to each device and is fixed as an initial value. Therefore, it is not necessary to store in the storage means. As a result, information to be stored in the storage means is reduced, and a storage means with a small capacity can be used. In addition, since the information read from the storage means is reduced, the time required for reading and the time required for setting are reduced, and the activation time can be shortened accordingly.
[0013]
And the identification information which shows the necessity of the setting at the time of starting with respect to each internal information is memorize | stored in a memory | storage means. The identification information corresponds to all internal information on a one-to-one basis. This identification information and setting information are stored in combination. That is, a predetermined number of identification information and setting information that is required to be set corresponding to the identification information are stored in this order, and are repeated until it corresponds to all internal information. For example, a plurality of pieces of identification information are stored, and then the setting information required to be set by these pieces of identification information is stored. Repeat this. Or only the identification information with respect to all the internal information is memorize | stored previously, and the setting information made into the setting necessity next is memorize | stored sequentially. By storing information having different contents in a mixed manner in this way, the stored contents can be made difficult to understand, and security is improved.
[0014]
Further, it is preferable to provide check means for checking whether the setting information from the storage means is set normally. When the setting cannot be performed normally, the setting means sets the initial information held in advance. As a result, even if it cannot be set correctly due to some abnormality, it is possible to ensure a minimum function for operation.
[0015]
As the checking means, the marker information is stored in a specific area in the storage area of the storage means, and it is checked whether or not the marker information read out during the setting is correct. By confirming correct marker information, it is determined that the marker has been set normally. If the marker information cannot be confirmed correctly, it is determined that it cannot be set normally. Thereby, the reliability at the time of setting can be improved.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
An imaging apparatus as a video camera according to an embodiment of the present invention is shown in FIG. In FIG. 1,
[0017]
A register circuit 12 stores coefficients for operating the control microcomputer 11, the white
[0018]
15 reads out the data from the
[0019]
Next, normal operation of the video camera will be described. In FIG. 1, an electrical signal obtained by converting an image of a subject by the
[0020]
The correlated double sampled video signal is converted into a digital signal by the A /
[0021]
In addition, the luminance / color
[0022]
The luminance signal output from the
[0023]
In addition, the control microcomputer 11 always measures the luminance level and color balance of the signal and adjusts the electronic shutter of the
[0024]
Here, a detailed description will be given of the startup operation of the video camera. First, FIG. 2 shows register numbers and functions determined in the register circuit 12, initial values held in advance by the register circuit 12, and set values to be actually set.
[0025]
As shown in FIG. 2, the register circuit 12 has a total of 32 registers, register
[0026]
Each register is assigned a function of each circuit in the video signal processing circuit, and is used in the white balance adjustment circuit 7 (register
[0027]
Each register has an initial value in the circuit in advance. By setting these initial values, a certain amount of operation can be performed without reading the set values from the
[0028]
Here, of the registers of the register circuit 12, which register number information is stored in the
[0029]
Further, when there is no need to change the initial value that the register circuit 12 has in advance, it is not necessary to set the register. For example, in FIG. 2, the R gain and B gain of
[0030]
When the setting value of the resist to be stored is determined as described above, the setting value is written in the
[0031]
An example of creating data to be written in the
[0032]
Here, the setting flag is identification information indicating whether or not a setting value is set in the register. Then, a certain number of identification information, here, eight setting flags are written in one address, and subsequently, setting values to be set are written in order from the next address. By repeating this until all the registers are supported and writing to each address, all setting values for the registers that need to be set in the register circuit 12 are stored.
[0033]
A setting procedure when starting the video camera will be described with reference to FIG. When the power of the video camera is turned on (S1), the EEPROM reading circuit 14 first reads the head marker data written at the head address of the EEPROM 13 (S2). The head marker data is composed of 2 bytes.
[0034]
The head
[0035]
If they do not match, it is determined as a reading error, and the top marker data is read again. The number of times of rereading is counted (S10), and when the number of times of rereading exceeds a predetermined number of times, for example, 5 times, it is determined that there is some trouble in the
[0036]
By performing the processing as described above, even when the data in the
[0037]
If the head marker data match, it is next determined whether or not all the registers have been set (S4). If all the registers have not been set, the setting flag is read from the EEPROM 13 (S5). The setting flag is composed of 8 bits and designates whether or not setting is required for 8 registers.
[0038]
Here, when the bit of the setting flag is 1, setting of the corresponding register is necessary, and when it is 0, setting is not necessary. In addition, register numbers are assigned in ascending order from the LSB (least significant bit) to the MSB (most significant bit) of the setting flag. For example, taking the setting flags of
[0039]
After reading the setting flag, the bits of the setting flag are checked in order (S6). If the register needs to be set, the setting value is read from the EEPROM 13 (S7), and the setting value is set in the corresponding register of the register circuit 12. (S8). The above operation is repeated until the confirmation of all the bits of the setting flag is completed (S9). Similarly, when there is no need for register setting, the above operation is repeated until all bits of the setting flag have been confirmed. Note that initial values are set as they are for registers that are not required to be set.
[0040]
When the confirmation of all the bits of one setting flag is completed, the next setting flag is read from the
[0041]
When the end marker data read from the
[0042]
If the end marker data does not match, it is determined that there is an error in reading the
[0043]
By performing the processing as described above, when the
[0044]
Further, in the case of taking the startup process as described above, if a setting flag reading error occurs, all subsequent register settings are affected. For this reason, it is important to confirm whether reading of the
[0045]
By the way, when the total number of registers is 32, the capacity required for the
[0046]
Further, when the data of the
[0047]
In addition, since the setting flag and the setting value are mixed in the data of the
[0048]
In addition, this invention is not limited to the said embodiment, Of course, many corrections and changes can be added to the said embodiment within the scope of the present invention. The marker information is not limited to two, but may be plural or one.
[0049]
A removable storage medium such as a memory card, a magnetic disk, or an optical disk may be used as the storage means for storing the set value. Each individual has a storage medium and is attached when the imaging apparatus is used. When sharing an imaging device, settings can be made according to each individual.
[0050]
【The invention's effect】
As is apparent from the above description, according to the present invention, when setting is made for the video signal processing circuit at the time of startup, since there is little setting information to be called from the memory, it can be set quickly and the startup time can be shortened. In addition to the setting information, other information is also stored in the memory, so that it becomes difficult to analyze the setting information from the contents of the memory, and security can be improved.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a video camera according to an embodiment of the present invention. FIG. 2 is a diagram showing register settings. FIG. 3 is a diagram showing data stored in an EEPROM. Flow chart [Explanation of symbols]
DESCRIPTION OF
14 EEPROM read
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002151956A JP4060124B2 (en) | 2002-05-27 | 2002-05-27 | Imaging device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002151956A JP4060124B2 (en) | 2002-05-27 | 2002-05-27 | Imaging device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003348404A JP2003348404A (en) | 2003-12-05 |
JP4060124B2 true JP4060124B2 (en) | 2008-03-12 |
Family
ID=29769397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002151956A Expired - Fee Related JP4060124B2 (en) | 2002-05-27 | 2002-05-27 | Imaging device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4060124B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008167361A (en) * | 2007-01-05 | 2008-07-17 | Acutelogic Corp | Camera module, electronic device with the same, method of manufacturing camera module, and method of manufacturing electronic device using the same |
JP7306857B2 (en) * | 2019-04-05 | 2023-07-11 | 株式会社キーエンス | Image inspection system |
JP7231461B2 (en) * | 2019-04-05 | 2023-03-01 | 株式会社キーエンス | Image inspection system and image inspection method |
JP7231462B2 (en) * | 2019-04-05 | 2023-03-01 | 株式会社キーエンス | Image inspection system and image inspection method |
-
2002
- 2002-05-27 JP JP2002151956A patent/JP4060124B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2003348404A (en) | 2003-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1998553A2 (en) | Image processing apparatus and image processing method | |
WO2007089005A1 (en) | Moving image playback device with camera-shake correction function | |
US20120105689A1 (en) | Image processor, method of controlling the same, and storage medium | |
US8711254B2 (en) | Image processing apparatus and method having defective pixel detection and correction ability | |
JP2931311B2 (en) | Digital electronic still camera | |
JP2002248077A (en) | Electronic endoscope unit | |
JP2005328421A (en) | Imaging apparatus and imaging method | |
JP4060124B2 (en) | Imaging device | |
US11622175B2 (en) | Electronic apparatus and control method thereof | |
US7650441B2 (en) | Electronic apparatus with device capable of simultaneously reading and writing and method thereof | |
JP5410158B2 (en) | Imaging system and electronic information device | |
JPH118803A (en) | Camera having solid-state image pickup device for image receiving | |
JP3327614B2 (en) | Imaging device | |
JP3154069B2 (en) | Still image recording device | |
US7602426B2 (en) | Digital camera and defect pixel compensation system | |
JPH114380A (en) | Electronic still camera | |
CN100409665C (en) | Electric camera and signal amplification ratio adjusting method therefor | |
JP2006231863A (en) | Printer, controlling method thereof, image processing apparatus and controlling method thereof | |
JP2003224812A (en) | Digital still camera and reproducing apparatus | |
JP3229685B2 (en) | Storage device and television receiver | |
JP5885023B2 (en) | Imaging apparatus, white balance control method, and white balance control program | |
JP2005136970A (en) | Image processor and image processing method | |
JP2003264794A (en) | Image processor | |
JP2004228626A (en) | Color balance adjusting apparatus and method for imaging apparatus | |
JP4459322B2 (en) | Imaging device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050225 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070828 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070904 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071031 |
|
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: 20071204 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071219 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101228 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101228 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111228 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |