Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3596735B2 - How to optimize the electronic scope - Google Patents
[go: Go Back, main page]

JP3596735B2 - How to optimize the electronic scope - Google Patents

How to optimize the electronic scope Download PDF

Info

Publication number
JP3596735B2
JP3596735B2 JP6020799A JP6020799A JP3596735B2 JP 3596735 B2 JP3596735 B2 JP 3596735B2 JP 6020799 A JP6020799 A JP 6020799A JP 6020799 A JP6020799 A JP 6020799A JP 3596735 B2 JP3596735 B2 JP 3596735B2
Authority
JP
Japan
Prior art keywords
electronic scope
processor
data
information
connector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP6020799A
Other languages
Japanese (ja)
Other versions
JP2000254093A (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 JP6020799A priority Critical patent/JP3596735B2/en
Publication of JP2000254093A publication Critical patent/JP2000254093A/en
Application granted granted Critical
Publication of JP3596735B2 publication Critical patent/JP3596735B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Instruments For Viewing The Inside Of Hollow Bodies (AREA)
  • Endoscopes (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は電子スコープの最適化方法に係り、特に電子スコープ内の不揮発性メモリ(例えば、EEPROM)に記憶された情報を書き換える電子スコープの最適化方法に関する。
【0002】
【従来の技術】
電子スコープは、操作部から延出されたユニバーサルコードの端部にコネクタを有し、このコネクタがプロセッサに着脱自在に接続されるようになっている。この電子スコープのコネクタ内には、スコープ先端に設けられた固体撮像素子(CCD)からの出力信号をサンプリング/ホールドして画素信号のみを取り出すためのCDS回路(相関2重サンプリング回路)が内蔵されており、さらにCDS回路内には、所定のニーポイントの前後でCDS出力信号の利得を変更するニー回路が設けられており、ニー回路の出力信号がプロセッサに加えられるようになっている。
【0003】
また、電子スコープのコネクタ内にはEEPROMが内蔵されており、このEEPROMには、前記ニー回路のニーポイントを示すデータや、電子スコープの種類を示す識別データ(IDデータ)又はCCDの駆動タイミングとCDS回路の駆動タイミングとのディレイ量などが記録されている。尚、このディレイ量は、電子スコープの長さ等によって異なり、CDS回路でのサンプリングミスが生じないようにするために使用される。
【0004】
ところで、旧タイプの電子スコープと新タイプの電子スコープとでは、上記ニーポイント前後の利得の比率などが異なり、また、新タイプの電子スコープのEEPROMにはディレイ量が記録されているが、旧タイプの電子スコープには、ディレイ量が記録されていない。
【0005】
【発明が解決しようとする課題】
上記旧タイプの電子スコープが接続される旧タイプのプロセッサに対し、新タイプの電子スコープが接続される新タイプのプロセッサは、最近の電子技術の発達により、その内部の信号処理回路の制御構造が異なっており、新タイプのプロセッサに旧タイプの電子スコープを接続して使用すると、電子スコープ内のデータと、そのデータに基づいて信号処理するプロセッサとの整合性がとれず、データ破壊、画質の劣化、また電子スコープが全く動作しなくなる等の不具合を生じ、データを旧タイプのプロセッサと新タイプのプロセッサとの間で相互に使用することができないという問題がある。尚、電子スコープ内のEEPROMの大きさを大きくすることによって上記問題を解決することもできるが、現在市場に出回っている電子スコープの大幅な改造が必要となり、よって電子スコープの気密性能を保ちながらEEPROMの大きさを大きくすることは困難である。
【0006】
本発明はこのような事情に鑑みてなされたもので、同一の電子スコープを旧タイプのプロセッサと新タイプのプロセッサとの間で相互に使用することができる電子スコープの最適化方法を提供することを目的とする。
【0007】
【課題を解決するための手段】
前記目的を達成するために、本願請求項1に係る電子スコープの最適化方法は、電子スコープの先端に配設された撮像素子からの信号を処理するために必要な情報が記録される書換可能な不揮発性メモリを有する電子スコープを、該電子スコープの専用の第1のプロセッサに代えて種類の異なる第2のプロセッサで使用する際に、前記電子スコープのコネクタを介して前記電子スコープの不揮発性メモリの情報を読み取って保存するとともに、前記第2のプロセッサに適合するように前記不揮発性メモリの情報を書き換え、前記第2のプロセッサに適合された前記電子スコープを、該電子スコープの専用の第1のプロセッサで使用する際に、前記電子スコープのコネクタを介して前記保存した前記第1のプロセッサ用の情報を前記不揮発性メモリに戻すことを特徴としている。
【0008】
即ち、前記第1のプロセッサで使用していた電子スコープを第2のプロセッサで使用する場合には、前記不揮発性メモリの情報を一度取り込んでコンパクトフラッシュメモリなどの記録媒体に保存するとともに、上記情報を第2のプロセッサで使用できる情報(再計算を含む)に変換し、この変換した情報を前記不揮発性メモリに新たに書き込み、更に不足の情報があれば、その情報を追記する。これにより、前記電子スコープは第2のプロセッサで使用できるようになる。
【0009】
一方、前記電子スコープを再び第1のプロセッサで使用する場合には、前記保存しておいた情報によって前記不揮発性メモリの情報を書き換える(不揮発性メモリの情報を元に戻す)ことにより、再び第1のプロセッサで使用できるようにする。
前記電子スコープは、本願請求項2に示すように所定のニーポイントの前後で前記撮像素子からの信号の利得を変更するニー回路を有し、前記書き換える情報は前記ニーポイントである。また、前記情報の書き換えは、本願請求項3に示すように前記撮像素子の駆動タイミングと前記撮像素子の出力信号をサンプリング/ホールドして画素信号のみを取り出すための相関2重サンプリング回路の駆動タイミングとのディレイ量を追記することを含む。
【0010】
【発明の実施の形態】
以下添付図面に従って本発明に係る電子スコープの最適化方法の好ましい実施の形態について詳説する。
図1は本発明に係る電子スコープの最適化方法が適用された電子スコープのデータリーダ・ライタの実施の形態を示す外観図であり、図2はデータリーダ・ライタのブロック図である。
【0011】
図1に示すようにデータリーダ・ライタ10の前面には、電子スコープのスコープコネクタ11(図2参照)が接続されるコネクタ12及びカードコネクタ14が設けられており、上面には液晶パネルなどの表示パネル16、各種のスイッチ18、及び発光ダイオード(LED)20が設けられている。
また、図2に示すように、上記コネクタ12はトライステートバスバッファ13を介してマイコン15に接続され、カードコネクタ14はカードインターフェース17を介してマイコン15に接続されている。
【0012】
コネクタ12には、以下の2つの場合、即ち、
(1) 旧タイプのプロセッサに適合している電子スコープを新タイプのプロセッサで使用する場合
(2) 新タイプのプロセッサに適合している電子スコープを旧タイプのプロセッサで使用する場合
に電子スコープが接続される。
【0013】
また、カードコネクタ14には、コネクタ12に接続される電子スコープと一対一に対応して準備されているメモリカード19が装着される。
マイコン15はデータリーダ・ライタ10を統括・制御するもので、I/Oバッファ、特殊レジスタ1,2、レジスタA,B、ALU(アルソマティック・ロジカル・ユニット)、ROM、RAM等を備えている。
【0014】
上記(1)の場合には電子スコープ側のスコープコネクタ11に内蔵されている不揮発性メモリ(この実施例では、EEPROM)に記録されているデータを読み取り、トライステートバスバッファ13を経由してマイコン15が取り込む。マイコン15内部ではこのデータを一旦I/Oバッファに格納し、このデータはクロックと同期して特殊レジスタ(EEPROM入出力用を示す〔ここでは特殊レジスタ1とする〕)に送られる。ALUはROMの内容に従ってこの特殊レジスタ1のデータ内容をレジスタAに取り込み、正規のデータであると判断した場合、レジスタBをインクリメントする。このデータは、違う場所を示す特殊レジスタ(カードインターフェース入出力用を示す〔ここでは特殊レジスタ2とする〕)からI/Oバッファを経由してカードインターフェース17に送られる。その後、カードコネクタ14を経由してメモリーカード19に保存される。
【0015】
特殊レジスタ1のデータはレジスタAに取り込まれる際にデータ数をレジスタBでカウントされ、後述する電子スコープの新・旧タイプの判別に使用される。
レジスタAに取り込まれたデータはALUにおいてROMの内容に従って新タイプのプロセッサに使用できるデータに変換し、更に新タイプのプロセッサに対する不足のデータがある場合にはそのデータを追加して、違う場所を示す特殊レジスタ2からI/Oバッファを経由してトライステートバスバッファ13、データリーダ・ライタのコネクタ12、電子スコープ側のスコープコネクタ11をそれぞれ介してEEPROMに書き込まれる。これにより、旧タイプのプロセッサに適合している電子スコープを新しいタイプのプロセッサで使用できるようにする。
【0016】
一方、上記(2)の場合には、マイコン15は、上記のようにしてメモリカード19に保存しておいたデータをメモリカード19から読み出し、カードインターフェース17を介して、マイコン15が取り込み、I/Oバッファに格納され、特殊レジスタ、レジスタを経由して、旧タイプのプロセッサに使用できるデータとして電子スコープのEEPROMに戻す。
【0017】
即ち、このデータリーダ・ライタ10は、電子スコープのコネクタに内蔵されているEEPROMのデータをメモリカード19に保存するとともに、新タイプのプロセッサに適合するように書き換え、また、メモリカード19に保存したデータをEEPROMに戻し、これにより1つの電子スコープを新タイプのプロセッサ及び旧タイプのプロセッサとの間で相互に使用できるようにしている。
【0018】
次に、上記電子スコープのEEPROMに記録されているデータ、及び変換されて書き換えられるデータ等について説明する。
旧タイプの電子スコープのEEPROMには、その電子スコープの種類を示すIDデータ、ニー(Knee)回路におけるニーポイント、及び色情報(輝度ガンマ、色ガンマ)等が記録されている。一方、新タイプのEEPROMには、その電子スコープの種類に応じたディレイ量(電子スコープの先端のCCDを駆動するための駆動タイミングとCDS回路の駆動タイミングとのディレイ量)、ニー回路におけるニーポイント、及び色情報等が記録されている。
【0019】
また、旧タイプの電子スコープ及びプロセッサと、新タイプの電子スコープ及びプロセッサとは、ニー値及びデニー(DeKnee)値も以下のように異なる。
▲1▼旧タイプの電子スコープ内のCDSに規定してあるニー値
G1:G2=3:2
(例として、0〜1の範囲の入力に対し、ニーポイントを0.5 とする)
▲2▼旧タイプのプロセッサ内のDSPに規定してあるデニー値
G1:G2=2:3
(例として、0〜1の範囲の入力に対し、ニーポイントを0.5 とする)
▲3▼新タイプの電子スコープ内のCDSに規定してあるニー値
G1:G2=2:1
(例として、0〜1の範囲の入力に対し、ニーポイントを0.5 とする)
▲4▼新タイプのプロセッサ内のDSPに規定してあるデニー値
G1:G2=1:2
(例として、0〜1の範囲の入力に対し、ニーポイントを0.5 とする)
ここで、G1とはニーポイント前の利得であり、G2とは、ニーポイント後の利得である。
【0020】
上記▲1▼と▲2▼との組み合わせを図3に示し、▲3▼と▲4▼との組み合わせを図4に示す。これらの図面からも明らかなように、▲1▼のニー値と▲2▼のデニー値との組み合わせは適正であり、同様に▲3▼のニー値と▲4▼のデニー値との組み合わせも適正である。
一方、▲1▼と▲4▼との組み合わせを図5に示し、▲3▼と▲2▼との組み合わせを図6に示す。図5に示すように▲1▼と▲4▼とを組み合わせると、デニー値が大きいため、画像が白くなり(明るい部分が白飛し)、図6に示すように▲3▼と▲2▼とを組み合わせると、デニー値が小さいため、画像が暗くなるという問題がある。
【0021】
この問題を解決するために、上記のような電子スコープとプロセッサとの不適正な組み合わせの場合には、プロセッサにおけるデニーポイントをずらすことによって対処する。例えば、旧タイプの電子スコープを新タイプのプロセッサで使用する場合には、図5に示すデニーポイントを0.5 よりも大きい値にし、これにより画像が白くならないようにする。
【0022】
尚、プロセッサは、電子スコープのEEPROMに記録されているニーポイントを示すデータを読み取り、これによりデニーポイントをニーポイントと一致させるように動作する。従って、上記のようにデニーポイントをずらす場合には、電子スコープのEEPROMに記録されているニーポイントを示すデータを書き換える。
【0023】
また、前述したように旧タイプの電子スコープのEEPROMには、その電子スコープの種類を示すIDデータが記録されているが、新タイプの電子スコープのEEPROMには、電子スコープの先端のCCDを駆動するための駆動タイミングとCDS回路の駆動タイミングとのディレイ量が記録されている。そして、新タイプのプロセッサは、電子スコープのEEPROMから上記ディレイ量を読み取り、CDS回路でのサンプリングミスが生じないように駆動タイミングを制御している。
【0024】
旧タイプの電子スコープのEEPROMには、上記ディレイ量が記録されていないため、旧タイプの電子スコープを新タイプのプロセッサで使用する場合には、EEPROMにディレイ量を追記する。尚、ディレイ量は、電子スコープの長さ等によって異なるが、旧タイプの電子スコープのEEPROMには、その電子スコープのIDデータが記録されているため、このIDデータからディレイ量を予測することができる。
【0025】
上記のようにして旧タイプの電子スコープを新タイプのプロセッサで使用する際には、旧タイプの電子スコープのEEPROMに記録されているデータを、新タイプのプロセッサに適したフォーマットに変換(再計算を含む)して書き込み、更に不足のデータを追記する。尚、変換されるデータは、上記データに限らず、例えば、色情報(輝度ガンマ、色ガンマ)等も含まれる。
【0026】
次に、図1及び図2に示したデータリーダ・ライタ10の動作について、図7に示すフローチャートを参照しながら説明する。
電源スイッチが投入されると、マイコン15は、カードコントローラ等のイニシャライズを行い(ステップS10)、続いてコネクタ12に接続された電子スコープのEEPROMからデータを入力するか否かを、入力スイッチ等からの信号に基づいて判別する(ステップS12)。これは、不用意に電子スコープがコネクタ12から抜かれないように(即ち、活線抜切されないように)、入力の確認をとるためである。
【0027】
データの入力が判別されると、電子スコープのEEPROMからデータを取り込む(ステップS14)。尚、データの取り込み中には、データリーダ・ライタ10の上面のLED19(図2参照)を点灯させる。
次に、コネクタ12に接続された電子スコープが旧タイプか新タイプかを判別する(ステップS16)。電子スコープが新タイプの場合には、新タイプフラグをONにする(ステップS18)。尚、旧タイプか新タイプかは、取り込んだデータの内容(例えばデータ数)から判別することができる。
【0028】
続いて、カードコネクタ14に装着されているメモリカードに前記取り込んだEEPROMのデータを書き込む。この時、ファイル名を自動生成させる(ステップS20)。また、カードコネクタ14にメモリカードが装着されていない場合には、表示パネル16にエラーメッセージを表示させる。
メモリカードへの書き込みが終了すると、再書き込みスイッチがOFFか否かを判別する(ステップS22)。再書き込みスイッチがOFFの場合には、新タイプフラグがONか否かを判別する(ステップS24)。新タイプフラグがONでない場合には、旧タイプの電子スコープを新タイプの電子スコープとして使用できるようにするために、前記取り込んだデータのデータ変換や新タイプの電子スコープとして必要な追加データをセットし(ステップS26、S28)、これを電子スコープのEEPROMに書き込む(ステップS30)。尚、データの書き込み中には、LED19を点灯させる。
【0029】
一方、ステップS22において、再書き込みスイッチがONされていると判別されると、新タイプ用に書き換えられた電子スコープのEEPROMのデータを旧タイプ用に再度書き換えるために、ステップS20でメモリカードに保存しておいたデータファイルを選択し、これを電子スコープのEEPROMに書き込む(ステップS30)。
【0030】
また、ステップS22において、再書き込みスイッチがOFFされていると判別されていても、ステップS24において、新タイプフラグがONであると判別されると、再書き込みを確認するメッセージを表示パネル16に表示させる(ステップS34)。これは、新タイプ用の電子スコープがコネクタ12に接続されている場合には、通常、旧タイプ用に再書き込みされるからである。そして、再書き込みが選択されると(ステップS36)、ステップS32及びステップS30を経由してメモリカードに保存しておいたデータを電子スコープのEEPROMに再書き込みする。一方、ステップS36で再書き込みが選択されないと、そのまま終了する。
【0031】
尚、この実施の形態では、旧タイプの電子スコープから新タイプの電子スコープとして使用できるように、取り込んだデータのデータ変換や追加データを作成して記録するようにしたが、これに限らず、一旦新タイプ用のデータ変換等が行われると、これをメモリカードに保存しておき、再度、旧タイプの電子スコープから新タイプの電子スコープとして使用する場合には、メモリカードに保存しておいたデータに書き換えるようにしてもよい。
【0032】
また、電子スコープに書き込む情報は、この実施の形態に限らず、要は電子スコープが接続されるプロセッサで使用される、良好な信号処理を行うための情報であればよい。更に、電子スコープから読み取った情報は、その電子スコープと一対一に対応するメモリカードに保存するようにしたが、これに限らず、例えば、データリーダ・ライタに内蔵された記録媒体に保存するようにしてもよい。この場合には、保存した電子スコープの情報と、電子スコープとの対応関係がとれるようにする必要がある。
【0033】
【発明の効果】
以上説明したように本発明によれば、電子スコープに設けられている書換可能な不揮発性メモリの情報を書き換えるようにしたため、既存の電子スコープを改良等せずに、それぞれ信号処理の異なる旧プロセッサと新プロセッサとの間で相互に使用することができる。
【図面の簡単な説明】
【図1】本発明に係る電子スコープの最適化方法が適用された電子スコープのデータリーダ・ライタの実施の形態を示す外観図
【図2】図1に示したデータリーダ・ライタのブロック図
【図3】旧タイプの電子スコープと旧タイプのプロセッサとを組み合わせた場合のニーとデニーの関係を示すグラフ
【図4】新タイプの電子スコープと新タイプのプロセッサとを組み合わせた場合のニーとデニーの関係を示すグラフ
【図5】旧タイプの電子スコープと新タイプのプロセッサとを組み合わせた場合のニーとデニーの関係を示すグラフ
【図6】新タイプの電子スコープと旧タイプのプロセッサとを組み合わせた場合のニーとデニーの関係を示すグラフ
【図7】本発明に係る電子スコープの最適化方法を説明するために用いたフローチャート
【符号の説明】
10…データリーダ・ライタ、11…スコープコネクタ、12…コネクタ、14…カードコネクタ、15…マイコン、16…表示パネル、18…スイッチ、19…メモリカード
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method for optimizing an electronic scope, and more particularly, to a method for optimizing an electronic scope that rewrites information stored in a nonvolatile memory (for example, an EEPROM) in the electronic scope.
[0002]
[Prior art]
The electronic scope has a connector at an end of a universal cord extending from an operation unit, and this connector is detachably connected to a processor. In the connector of the electronic scope, a CDS circuit (correlated double sampling circuit) for sampling / holding an output signal from a solid-state image pickup device (CCD) provided at the tip of the scope and extracting only a pixel signal is incorporated. Further, a knee circuit for changing the gain of the CDS output signal before and after a predetermined knee point is provided in the CDS circuit, and the output signal of the knee circuit is applied to the processor.
[0003]
An EEPROM is built in the connector of the electronic scope. The EEPROM stores data indicating the knee point of the knee circuit, identification data (ID data) indicating the type of the electronic scope, or CCD drive timing. A delay amount from the drive timing of the CDS circuit and the like are recorded. The delay amount varies depending on the length of the electronic scope and the like, and is used to prevent sampling errors in the CDS circuit.
[0004]
The old type electronic scope and the new type electronic scope have different gain ratios before and after the knee point, and the EEPROM of the new type electronic scope records the amount of delay. No delay amount is recorded in the electronic scope.
[0005]
[Problems to be solved by the invention]
In contrast to the old-type processor to which the above-mentioned old-type electronic scope is connected, the new-type processor to which the new-type electronic scope is connected has a control structure of a signal processing circuit therein due to recent development of electronic technology. If a new type processor is connected to an old type electronic scope and used, the data in the electronic scope will not be compatible with the processor that performs signal processing based on the data. There is a problem in that the data may not be used between the old-type processor and the new-type processor due to deterioration or a problem that the electronic scope does not operate at all. The above problem can be solved by increasing the size of the EEPROM in the electronic scope. However, it is necessary to remodel the electronic scope currently on the market, and to maintain the hermetic performance of the electronic scope. It is difficult to increase the size of the EEPROM.
[0006]
The present invention has been made in view of such circumstances, and provides an electronic scope optimizing method in which the same electronic scope can be used mutually between an old type processor and a new type processor. With the goal.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, a method for optimizing an electronic scope according to claim 1 of the present application is a rewritable device in which information necessary for processing a signal from an image sensor disposed at a tip of the electronic scope is recorded. When using an electronic scope having a non-volatile memory with a second processor of a different type instead of the first processor dedicated to the electronic scope, the non-volatile memory of the electronic scope is connected via the connector of the electronic scope. The information in the memory is read and stored, and the information in the nonvolatile memory is rewritten so as to be compatible with the second processor. When used in one processor, the stored information for the first processor is stored in the non-volatile memory via a connector of the electronic scope. It is characterized in that return to the directory.
[0008]
That is, when the electronic scope used in the first processor is used in the second processor, the information in the non-volatile memory is fetched once, stored in a recording medium such as a compact flash memory, and Is converted into information (including recalculation) that can be used by the second processor, and the converted information is newly written in the nonvolatile memory, and if there is insufficient information, the information is added. This allows the electronic scope to be used by the second processor.
[0009]
On the other hand, when the electronic scope is used again by the first processor, the information in the nonvolatile memory is rewritten with the stored information (the information in the nonvolatile memory is restored), so that the electronic scope is restored again. One processor can use it.
The electronic scope has a knee circuit for changing a gain of a signal from the image sensor before and after a predetermined knee point as described in claim 2 of the present application, and the information to be rewritten is the knee point. In addition, the rewriting of the information includes a drive timing of the image sensor and a drive timing of a correlated double sampling circuit for sampling / holding an output signal of the image sensor and extracting only a pixel signal as shown in claim 3 of the present application. And appending the delay amount.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of an electronic scope optimizing method according to the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is an external view showing an embodiment of a data reader / writer of an electronic scope to which an electronic scope optimizing method according to the present invention is applied, and FIG. 2 is a block diagram of the data reader / writer.
[0011]
As shown in FIG. 1, a connector 12 to which a scope connector 11 of an electronic scope (see FIG. 2) is connected and a card connector 14 are provided on a front surface of the data reader / writer 10, and a liquid crystal panel or the like is provided on an upper surface. A display panel 16, various switches 18, and a light emitting diode (LED) 20 are provided.
As shown in FIG. 2, the connector 12 is connected to the microcomputer 15 via a tri-state bus buffer 13, and the card connector 14 is connected to the microcomputer 15 via a card interface 17.
[0012]
The connector 12 has the following two cases:
(1) When an electronic scope conforming to the old type processor is used with the new type processor (2) When an electronic scope conforming to the new type processor is used with the old type processor, Connected.
[0013]
A memory card 19 prepared in one-to-one correspondence with the electronic scope connected to the connector 12 is mounted on the card connector 14.
The microcomputer 15 controls and controls the data reader / writer 10 and includes an I / O buffer, special registers 1 and 2, registers A and B, an ALU (alsomatic logical unit), a ROM, a RAM, and the like. .
[0014]
In the case of the above (1), data stored in a nonvolatile memory (EEPROM in this embodiment) built in the scope connector 11 on the electronic scope side is read, and the microcomputer is connected via the tri-state bus buffer 13. 15 takes in. In the microcomputer 15, this data is temporarily stored in an I / O buffer, and this data is sent to a special register (indicating EEPROM input / output [special register 1 here]) in synchronization with a clock. The ALU takes the data content of the special register 1 into the register A according to the content of the ROM, and increments the register B when judging that the data is legitimate data. This data is sent to the card interface 17 from the special register indicating a different place (specifying the card interface input / output [special register 2 here]) via the I / O buffer. Thereafter, the data is stored in the memory card 19 via the card connector 14.
[0015]
When the data of the special register 1 is taken into the register A, the number of data is counted by the register B, and is used for discriminating a new / old type of the electronic scope described later.
The data fetched into the register A is converted into data that can be used by the new type processor in the ALU according to the contents of the ROM. The data is written from the special register 2 to the EEPROM via the tristate bus buffer 13, the data reader / writer connector 12, and the electronic scope side connector 11 via the I / O buffer. This allows an electronic scope compatible with the old type processor to be used with the new type processor.
[0016]
On the other hand, in the case of the above (2), the microcomputer 15 reads out the data saved in the memory card 19 as described above from the memory card 19, and the microcomputer 15 takes in the data via the card interface 17, and The data is stored in the / O buffer, passed through the special registers, and returned to the EEPROM of the electronic scope as data that can be used by the old type processor.
[0017]
That is, the data reader / writer 10 saves the EEPROM data contained in the connector of the electronic scope in the memory card 19, rewrites the data so as to be compatible with the new type of processor, and saves the data in the memory card 19. The data is returned to the EEPROM so that one electronic scope can be used interchangeably between the new and old processors.
[0018]
Next, data recorded in the EEPROM of the electronic scope and data that is converted and rewritten will be described.
In the EEPROM of the old type electronic scope, ID data indicating the type of the electronic scope, a knee point in a knee circuit, color information (luminance gamma, color gamma) and the like are recorded. On the other hand, a new type of EEPROM has a delay amount (a delay amount between a drive timing for driving the CCD at the tip of the electronic scope and a drive timing of the CDS circuit) corresponding to the type of the electronic scope, and a knee point in the knee circuit. , And color information.
[0019]
Also, the old type electronic scope and processor and the new type electronic scope and processor have different knee values and denier (DeKnee) values as follows.
{Circle around (1)} Knee value G1: G2 = 3: 2 defined in CDS in the old type electronic scope
(As an example, for an input in the range of 0 to 1, the knee point is set to 0.5)
{Circle around (2)} Denny value G1: G2 = 2: 3 defined in the DSP in the old type processor
(As an example, for an input in the range of 0 to 1, the knee point is set to 0.5)
(3) Knee value G1: G2 = 2: 1 defined in the CDS in the new type electronic scope
(As an example, for an input in the range of 0 to 1, the knee point is set to 0.5)
{Circle around (4)} Denny value G1: G2 = 1: 2 defined in the DSP in the new type processor
(As an example, for an input in the range of 0 to 1, the knee point is set to 0.5)
Here, G1 is the gain before the knee point, and G2 is the gain after the knee point.
[0020]
FIG. 3 shows a combination of (1) and (2), and FIG. 4 shows a combination of (3) and (4). As is clear from these drawings, the combination of the knee value of (1) and the denier value of (2) is appropriate, and similarly, the combination of the knee value of (3) and the denier value of (4) is also appropriate. Is appropriate.
On the other hand, FIG. 5 shows a combination of (1) and (4), and FIG. 6 shows a combination of (3) and (2). When (1) and (4) are combined as shown in FIG. 5, since the Denny value is large, the image becomes white (bright portions are overexposed), and (3) and (2) as shown in FIG. In combination with the above, there is a problem that the image becomes dark because the Denny value is small.
[0021]
In order to solve this problem, an inappropriate combination of the electronic scope and the processor as described above is dealt with by shifting the Denny point in the processor. For example, when an old type electronic scope is used in a new type processor, the denier point shown in FIG. 5 is set to a value larger than 0.5 so that the image does not become white.
[0022]
The processor reads data indicating the knee point recorded in the EEPROM of the electronic scope, and operates to match the denier point with the knee point. Therefore, when the denier point is shifted as described above, the data indicating the knee point recorded in the EEPROM of the electronic scope is rewritten.
[0023]
As described above, the EEPROM of the old type electronic scope records ID data indicating the type of the electronic scope, but the EEPROM of the new type electronic scope drives the CCD at the tip of the electronic scope. In this case, a delay amount between the drive timing for performing the operation and the drive timing of the CDS circuit is recorded. The new type of processor reads the delay amount from the EEPROM of the electronic scope, and controls the drive timing so that sampling error in the CDS circuit does not occur.
[0024]
Since the delay amount is not recorded in the EEPROM of the old type electronic scope, the delay amount is added to the EEPROM when the old type electronic scope is used by the new type processor. Although the amount of delay varies depending on the length of the electronic scope, etc., since the ID data of the electronic scope is recorded in the EEPROM of the old type electronic scope, the amount of delay can be predicted from the ID data. it can.
[0025]
When the old type electronic scope is used by the new type processor as described above, the data recorded in the EEPROM of the old type electronic scope is converted into a format suitable for the new type processor (recalculation). ) And write, and further add the missing data. Note that the data to be converted is not limited to the above data, and includes, for example, color information (luminance gamma, color gamma).
[0026]
Next, the operation of the data reader / writer 10 shown in FIGS. 1 and 2 will be described with reference to the flowchart shown in FIG.
When the power switch is turned on, the microcomputer 15 initializes the card controller and the like (step S10), and then determines whether or not to input data from the EEPROM of the electronic scope connected to the connector 12 from the input switch or the like. (Step S12). This is for confirming the input so that the electronic scope is not inadvertently pulled out of the connector 12 (that is, the live line is not cut off).
[0027]
When the data input is determined, the data is fetched from the EEPROM of the electronic scope (step S14). During the data acquisition, the LED 19 (see FIG. 2) on the upper surface of the data reader / writer 10 is turned on.
Next, it is determined whether the electronic scope connected to the connector 12 is an old type or a new type (step S16). If the electronic scope is a new type, the new type flag is turned ON (step S18). The old type or the new type can be determined from the content (for example, the number of data) of the fetched data.
[0028]
Subsequently, the fetched EEPROM data is written to the memory card mounted on the card connector 14. At this time, a file name is automatically generated (step S20). When a memory card is not mounted on the card connector 14, an error message is displayed on the display panel 16.
When the writing to the memory card is completed, it is determined whether or not the rewriting switch is OFF (step S22). If the rewrite switch is OFF, it is determined whether the new type flag is ON (step S24). If the new type flag is not ON, in order to be able to use the old type electronic scope as the new type electronic scope, data conversion of the captured data and additional data necessary for the new type electronic scope are set. (Steps S26 and S28), and writes this in the EEPROM of the electronic scope (Step S30). Note that the LED 19 is turned on during data writing.
[0029]
On the other hand, if it is determined in step S22 that the rewrite switch is ON, the data in the EEPROM of the electronic scope rewritten for the new type is stored in the memory card in step S20 in order to rewrite the data for the old type again. The selected data file is selected and written to the EEPROM of the electronic scope (step S30).
[0030]
Further, even if it is determined in step S22 that the rewrite switch is OFF, if it is determined in step S24 that the new type flag is ON, a message confirming the rewrite is displayed on the display panel 16. (Step S34). This is because when an electronic scope for the new type is connected to the connector 12, it is usually rewritten for the old type. When rewriting is selected (step S36), the data stored in the memory card is rewritten to the EEPROM of the electronic scope via steps S32 and S30. On the other hand, if rewriting is not selected in step S36, the process ends.
[0031]
In this embodiment, data conversion of the captured data and additional data are created and recorded so that the old type electronic scope can be used as the new type electronic scope. However, the present invention is not limited to this. Once the data conversion for the new type is performed, save it on the memory card, and save it again on the memory card when using it from the old type electronic scope as a new type electronic scope. The data may be rewritten.
[0032]
The information to be written to the electronic scope is not limited to this embodiment, but may be any information that is used by a processor to which the electronic scope is connected and that performs good signal processing. Further, the information read from the electronic scope is stored in a memory card corresponding to the electronic scope in a one-to-one correspondence. However, the present invention is not limited to this. For example, the information may be stored in a recording medium built in a data reader / writer. It may be. In this case, it is necessary to make the correspondence between the stored electronic scope information and the electronic scope possible.
[0033]
【The invention's effect】
As described above, according to the present invention, since the information in the rewritable nonvolatile memory provided in the electronic scope is rewritten, the old processors having different signal processings can be used without improving the existing electronic scope. And the new processor can be used interchangeably.
[Brief description of the drawings]
FIG. 1 is an external view showing an embodiment of a data reader / writer of an electronic scope to which an electronic scope optimization method according to the present invention is applied. FIG. 2 is a block diagram of the data reader / writer shown in FIG. FIG. 3 is a graph showing a relationship between knee and deny when an old type electronic scope and an old type processor are combined. FIG. 4 is a knee and deny when a new type electronic scope and a new type processor are combined. FIG. 5 is a graph showing the relationship between knee and deny when an old type electronic scope is combined with a new type processor. FIG. 6 is a combination of a new type electronic scope and an old type processor. FIG. 7 is a graph showing the relationship between knee and denney in the case where the electronic scope is optimized. Description of]
10 data reader / writer, 11 scope connector, 12 connector, 14 card connector, 15 microcomputer, 16 display panel, 18 switch, 19 memory card

Claims (3)

電子スコープの先端に配設された撮像素子からの信号を処理するために必要な情報が記録される書換可能な不揮発性メモリを有する電子スコープを、該電子スコープの専用の第1のプロセッサに代えて種類の異なる第2のプロセッサで使用する際に、前記電子スコープのコネクタを介して前記電子スコープの不揮発性メモリの情報を読み取って保存するとともに、前記第2のプロセッサに適合するように前記不揮発性メモリの情報を書き換え、
前記第2のプロセッサに適合された前記電子スコープを、該電子スコープの専用の第1のプロセッサで使用する際に、前記電子スコープのコネクタを介して前記保存した前記第1のプロセッサ用の情報を前記不揮発性メモリに戻すことを特徴とする電子スコープの最適化方法。
An electronic scope having a rewritable non-volatile memory in which information necessary for processing a signal from an imaging element disposed at the tip of the electronic scope is replaced with a first processor dedicated to the electronic scope. When used in a second processor of a different type, the information in the nonvolatile memory of the electronic scope is read and stored via the connector of the electronic scope, and the nonvolatile memory is adapted to be compatible with the second processor. Rewrites the information in the volatile memory,
When the electronic scope adapted to the second processor is used in a dedicated first processor of the electronic scope, the stored information for the first processor is connected via a connector of the electronic scope. A method of optimizing an electronic scope, wherein the method returns to the non-volatile memory.
前記電子スコープは所定のニーポイントの前後で前記撮像素子からの信号の利得を変更するニー回路を有し、前記書き換える情報は前記ニーポイントである請求項1の電子スコープの最適化方法。2. The method of optimizing an electronic scope according to claim 1, wherein the electronic scope has a knee circuit for changing a gain of a signal from the image sensor before and after a predetermined knee point, and the information to be rewritten is the knee point. 前記情報の書き換えは、前記撮像素子の駆動タイミングと前記撮像素子の出力信号をサンプリング/ホールドして画素信号のみを取り出すための相関2重サンプリング回路の駆動タイミングとのディレイ量を追記することを含む請求項1又は2の電子スコープの最適化方法。The rewriting of the information includes adding a delay amount between a drive timing of the image sensor and a drive timing of a correlated double sampling circuit for sampling / holding an output signal of the image sensor and extracting only a pixel signal. The method for optimizing an electronic scope according to claim 1.
JP6020799A 1999-03-08 1999-03-08 How to optimize the electronic scope Expired - Fee Related JP3596735B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6020799A JP3596735B2 (en) 1999-03-08 1999-03-08 How to optimize the electronic scope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6020799A JP3596735B2 (en) 1999-03-08 1999-03-08 How to optimize the electronic scope

Publications (2)

Publication Number Publication Date
JP2000254093A JP2000254093A (en) 2000-09-19
JP3596735B2 true JP3596735B2 (en) 2004-12-02

Family

ID=13135482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6020799A Expired - Fee Related JP3596735B2 (en) 1999-03-08 1999-03-08 How to optimize the electronic scope

Country Status (1)

Country Link
JP (1) JP3596735B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007061234A (en) * 2005-08-30 2007-03-15 Pentax Corp Electronic endoscope device
WO2012035836A1 (en) 2010-09-13 2012-03-22 オリンパスメディカルシステムズ株式会社 Endoscope and endoscopic device

Also Published As

Publication number Publication date
JP2000254093A (en) 2000-09-19

Similar Documents

Publication Publication Date Title
US6311322B1 (en) Program rewriting apparatus
JPH07226911A (en) Electronic still camera
JPH09230495A (en) Digital camera, external memory device and system therefor
JPH0876933A (en) Hard disk format operation control device
CN101371574B (en) Camera device and control method thereof
JP3596735B2 (en) How to optimize the electronic scope
JP3898869B2 (en) Image data input device
JP2000278634A (en) Digital camera
JPH09130731A (en) Electronic still camera
US20020135686A1 (en) Electronic still camera and method for managing image data
JP5228510B2 (en) Imaging device
US7119844B2 (en) Digital camera
JP3637082B2 (en) Information recording method and apparatus for electronic still camera
JP2006222973A (en) Optimizing method and apparatus for string table loading during imaging device initialization
JPH07225687A (en) Electronic still camera
JPH10285525A (en) Digital still camera
US20060132620A1 (en) Data recording apparatus and method thereof
JP4880352B2 (en) Electronic device and version upgrade method
JP4253132B2 (en) Imaging device
JP3350756B2 (en) Electronic still camera
JP4112688B2 (en) Image imaging device, device setting method of the same, and media information recording method
JPH0470077A (en) Picture recording device
JP2000098467A (en) Camera system and camera
JPH0879686A (en) Method and apparatus for recording information in electronic still camera
JP2000354189A (en) Imaging device, control method thereof, and storage medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040707

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040902

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

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

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

Free format text: PAYMENT UNTIL: 20080917

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080917

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100917

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100917

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20100917

Year of fee payment: 6

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

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110917

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120917

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130917

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees