JP4448299B2 - Electronic endoscope device with adjustable white balance - Google Patents

Electronic endoscope device with adjustable white balance Download PDF

Info

Publication number
JP4448299B2
JP4448299B2 JP2003196903A JP2003196903A JP4448299B2 JP 4448299 B2 JP4448299 B2 JP 4448299B2 JP 2003196903 A JP2003196903 A JP 2003196903A JP 2003196903 A JP2003196903 A JP 2003196903A JP 4448299 B2 JP4448299 B2 JP 4448299B2
Authority
JP
Japan
Prior art keywords
white balance
balance data
memory
recorded
processor
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
JP2003196903A
Other languages
Japanese (ja)
Other versions
JP2005034166A (en
Inventor
充 飯田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hoya Corp
Original Assignee
Hoya Corp
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 Hoya Corp filed Critical Hoya Corp
Priority to JP2003196903A priority Critical patent/JP4448299B2/en
Publication of JP2005034166A publication Critical patent/JP2005034166A/en
Application granted granted Critical
Publication of JP4448299B2 publication Critical patent/JP4448299B2/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)
  • Closed-Circuit Television Systems (AREA)
  • Color Television Image Signal Generators (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、撮像素子を有するビデオスコープとビデオスコープが接続されるプロセッサとを備えた電子内視鏡に関し、特に被写体(観察部位)の色を適正に再現するためのホワイトバランス調整に関する。
【0002】
【従来の技術】
従来の電子内視鏡装置においては、白色の被写体を撮像し、この時撮像素子から読み出されるレッド(R)、グリーン(G)、ブルー(B)の画像信号の比が1:1:1となるようにR、Bゲイン値を調整することにより、ホワイトバランス調整が行われている(例えば特許文献1)。ホワイトバランス調整によって設定されたホワイトバランス値(R、Bゲイン値)は、プロセッサに記録され、以後の内視鏡装置使用時に用いられる。すなわち、ビデオスコープが接続されると、そのビデオスコープに対応するホワイトバランス値を読み出して設定する。そして、撮像素子から読み出された画像信号に対し、ホワイトバランス値に基いたゲインコントロールが施される。
【0003】
【特許文献1】
特開平6−142038号公報(第2頁)
【0004】
【発明が解決しようとする課題】
ホワイトバランス調整によって設定されたホワイトバランス値をビデオスコープごとのデータとしてプロセッサ内に記録させた場合、プロセッサの修理、交換等によりホワイトバランス値のデータが全て消去されてしまうことがある。この場合、ホワイトバランス調整をビデオスコープごとに再実行しなければならない。このような再設定は内視鏡作業全体の効率を低下させ、また誤ってホワイトバランス調整が実施されずに内視鏡操作が行われることによって被写体像の色再現性が低下する。
【0005】
そこで本発明においては、ビデオスコープとプロセッサの接続組合わせが変更された場合においても、ホワイトバランス調整作業の煩雑化や被写体像の色再現性低下を防ぐことができる電子内視鏡装置の提供を目的とする。
【0006】
【課題を解決するための手段】
本発明の電子内視鏡装置は、複数の撮像素子を有するビデオスコープと複数のプロセッサの中から、選択された1つのビデオスコープとプロセッサとが接続されて使用される。この電子内視鏡装置は、ビデオスコープがプロセッサに接続されているか否かを判断するスコープ接続判断手段を備え、さらに接続されていると判断されると、撮像素子から読み出される検査用被写体の画像信号に対してホワイトバランス調整を実行可能なホワイトバランス調整手段を備える。例えば、オペレータの操作に従ってホワイトバランス調整を実行する。このホワイトバランス調整によって定められたホワイトバランスデータは、ホワイトバランスデータ記録手段により、ビデオスコープ内に設けられた第1メモリと、プロセッサ内に設けられた第2メモリのいずれにも記録可能である。さらに、第1メモリおよび第2メモリにホワイトバランスデータが記録されているか否かを判断するホワイトバランスデータ判別手段を備えており、例えばプロセッサに対応するホワイトバランスデータが第1メモリに記録されていると判別される。この場合、第2メモリ内に、対応するホワイトバランスデータが記録されているか否かは、(第2メモリに記録されていたとしても、第1メモリのホワイトバランスデータと同一のデータであるため)必ずしも判別されなくても良い。第1メモリに記録されていたホワイトバランスデータは、撮像素子から読み出される画像信号の色調整処理(ゲインコントロールなど)用に、ホワイトバランスデータ設定手段により設定され、使用される。例えば、信号処理回路のレジスタにホワイトバランスデータを書き込む。なお、第2メモリに対応するホワイトバランスデータが記録されていない場合に備え、第1メモリに記録されていたホワイトバランスデータは第2メモリに送信され、ホワイトバランス記録手段により第2メモリにも記録されることが好ましい。
【0007】
また、第1メモリと第2メモリのいずれにもホワイトバランスデータが記録されていないと判断される場合、ホワイトバランス調整手段によりホワイトバランス調整が実行され、ホワイトバランスデータが定められる。このホワイトバランス調整により新たに定められたホワイトバランスデータは、この時使用されているプロセッサに対応するデータとして第1メモリに記録され、さらにビデオスコープに対応するデータとして第2メモリに記録される。つまり、同一のホワイトバランスデータが、第1メモリにおいてはこの時接続されていたプロセッサを特定しながら記録され、第2メモリにおいては接続されていたビデオスコープを特定しながら記録されることとなる。このホワイトバランス調整により定められ、記録されたホワイトバランスデータは、ホワイトバランスデータ設定手段により、色調整処理(ゲインコントロールなど)用に設定され、使用される。
【0008】
第1メモリおよび第2メモリに、互いに接続されているプロセッサおよびビデオスコープに対応するホワイトバランスデータがホワイトバランスデータ記録手段により記録されている場合、いずれのメモリにも前回の内視鏡使用時に調整された同一のホワイトバランスデータが記録されている。従って、撮像素子から読み出される画像信号の色調整処理のため第1メモリに記録されている前記ホワイトバランスデータがホワイトバランスデータ設定手段により設定されても良いし、第2メモリに記録されているホワイトバランスデータが設定されても良い。
【0009】
ホワイトバランス調整後に設定され、第1メモリに記録されるホワイトバランスデータは、接続されるプロセッサを特定するためのプロセッサ識別コードと組合わせて格納されることが好ましい。同様に、ホワイトバランス調整後に設定され、第2メモリに記録されるホワイトバランスデータは、接続されるビデオスコープを特定するためのビデオスコープ識別コードと組合わせて格納されることが好ましい。こうして第1メモリあるいは第2メモリに、プロセッサ識別コードあるいはビデオスコープ識別コードと組合わせて記録させることにより、互いに接続されているプロセッサおよびビデオスコープに対応するホワイトバランスデータであるか否かが容易に判断される。
【0010】
ビデオスコープ内の第1メモリに、接続されているプロセッサに対応するホワイトバランスデータが記録されており、プロセッサ内の第2メモリにはホワイトバランスデータが記録されていない場合、第1メモリに記録されているホワイトバランスデータが、ホワイトバランスデータ設定手段により画像信号の色調整処理用に設定され、使用される。さらに、この時使用されたホワイトバランスデータは、ビデオスコープ識別コードと組合わせられて第2メモリに記録される。なお、第2メモリの判別を行わない場合においても、第2メモリにホワイトバランスデータが記録されていなかった場合に備え、第1メモリに記録されていたホワイトバランスデータを、色調整処理用に設定、使用した後に、ビデオスコープ識別コードと組合わせて第2メモリに記録することが望ましい。
【0011】
プロセッサ内の第2メモリに、接続されているビデオスコープに対応するホワイトバランスデータが記録されており、ビデオスコープ内の第1メモリには接続されているプロセッサに対応するホワイトバランスデータが記録されていない場合、第2メモリに記録されているホワイトバランスデータが、画像信号の色調整処理用に設定され、使用される。さらに、この時使用されたホワイトバランスデータは、プロセッサ識別コードと組合わせられて第1メモリに記録される。
【0012】
ホワイトバランス調整手段がビデオスコープ内に設けられていて、ホワイトバランスデータ判別手段によりホワイトバランスデータが第1メモリにのみ記録されていると判断された場合、ホワイトバランスデータ記録手段により、第1メモリに記録されていたホワイトバランスデータが第2メモリにも記録されることが望ましい。この時、ビデオスコープを特定するビデオスコープ識別コードも、ホワイトバランスデータに組合わせて第2メモリに記録されることがより一層好ましい。一方、ホワイトバランス調整手段がプロセッサ内に設けられていて、ホワイトバランスデータ判別手段によりホワイトバランスデータが第2メモリにのみ記録されていると判断された場合、ホワイトバランスデータ記録手段により、第2メモリに記録されていたホワイトバランスデータが第1メモリにも記録されることが望ましい。この時、プロセッサを特定するプロセッサ識別コードも、ホワイトバランスデータに組合わせて第1メモリに記録されることがより一層好ましい。
【0013】
第1メモリおよび第2メモリのいずれにもホワイトバランスデータが記録されていない場合、ホワイトバランス調整の実行必要性をオペレータに指示するホワイトバランス調整指示手段を本発明の内視鏡装置がさらに有していることが好ましい。ホワイトバランス調整指示手段による指示は、モニタ上のメッセージ(文字表示)による他に、音声や所定の音、ライトの表示等により行われても良い。
【0014】
【発明の実施の形態】
以下では、図面を参照して本発明の実施形態である電子内視鏡装置について説明する。
【0015】
図1は、本実施形態である電子内視鏡装置のブロック図である。
【0016】
電子内視鏡装置10は、CCD22を有するビデオスコープ20と、CCD22から読み出される画像信号を処理するプロセッサ30とを備える。ビデオスコープ20は、プロセッサ30に着脱自在に接続され、プロセッサ30にはモニタ60とキーボード62が接続される。電子内視鏡装置10の使用開始時に、ビデオスコープ20はプロセッサ30に接続される。
【0017】
ランプ点灯スイッチ(図示せず)が操作されることによってランプ制御部34を含むランプ電源32からランプ36へ電源供給されると、ランプ36が点灯する。ランプ36から放射された光は、集光レンズ(図示せず)、絞り38を介して、ビデオスコープ20内に設けられた光ファイバー束によって構成されるライトガイド12の入射端12Aに入射する。ライトガイド12は、ランプ36から放射される光を観察部位のあるビデオスコープ20の先端部へ伝達し、ライトガイド12を通った光は出射端12Bから出射される。
【0018】
観察部位で反射した光は、対物レンズ(図示せず)、カラーフィルタ(図示せず)を通ってCCD22の受光面に到達し、これにより観察部位の被写体像がCCD22の受光面に形成される。本実施形態では、撮像方式として同時単板式が適用されており、CCD22の受光面の上にはR、G、Bの色要素からなる原色のカラーフィルタ(図示せず)が配設されている。CCD22では、カラーフィルタを通る色に応じた被写体像の画像信号が光電変換により発生し、所定時間間隔ごとに1フレームもしくは1フィールド分の画像信号が順次読み出される。ここではカラーテレビジョン方式としてNTSC方式が適用されており、1/30(1/60)秒間隔ごとに1フレーム(1フィールド)分の画像信号が順次読み出され、初期信号処理回路24へ送られる。
【0019】
初期信号処理回路24では、読み出された画像信号に対して増幅処理が施されるとともに、アナログ信号からデジタル信号に変換される。そして、ホワイトバランス調整に係るゲインコントロール、ガンマ補正など様々な処理がデジタル画像信号に対して施され、輝度信号Y、色差信号Cb、Crが生成される。輝度信号Yおよび色差信号Cb、Crが、プロセッサ30のプロセッサ信号処理回路48に送られると、輝度信号Y、色差信号Cb、CrはNTSC信号などの映像信号に変換され、モニタ60へ出力される。これにより、被写体像がモニタ60にリアルタイムで表示される。
【0020】
CPU42を含むシステムコントロール回路44は、プロセッサ30全体を制御し、タイミングコントロール回路46などの各回路に制御信号を出力する。また、システムコントロール回路44内のROM43には、プロセッサ30の制御に関するプログラムが格納されており、ホワイトバランス関連メモリ41にはホワイトバランスデータなどが記録される。タイミングコントロール回路46では、信号処理タイミングを調整するクロックパルスがプロセッサ30内の各回路に出力され、また、映像信号に付加される同期信号がプロセッサ信号処理回路48に送られる。
【0021】
ライトガイド12の入射端12Aと集光レンズとの間に設けられた絞り38は、被写体に照射する光の量を調整するため開閉し、システムコントロール回路44からペリフェラルコントロール回路50へ制御信号が送られると、絞り38を所定量駆動するため駆動信号が絞り38へ出力される。その結果、被写体へ照射される光の光量が調整される。
【0022】
ビデオスコープ20内には、ビデオスコープ20全体を制御するスコープ制御部26と、ホワイトバランスデータ等のビデオスコープ20の信号処理に関するデータや特性があらかじめ記憶されたEEPROM28が設けられている。スコープ制御部26は、初期信号処理回路24に対して制御信号を送るとともに、適宜EEPROM28からデータを読み出す。ビデオスコープ20がプロセッサ30に接続されている間、スコープ制御部26とシステムコントロール回路44との間でデータが相互に伝送され、ホワイトバランス調整処理に関するデータおよびスコープ特性に関するデータがプロセッサ30のシステムコントロール回路44へ送られるとともに、ホワイトバランス調整を実行開始させるためのデータやプロセッサ特性に関するデータ、ホワイトバランス調整処理に関するデータがスコープ制御部26へ送られる。
【0023】
プロセッサ30のフロントパネル70には、ホワイトバランス調整スイッチ70Aが設けられており、白色の被写体WWをビデオスコープ20の先端部へ配置させてホワイトバランス調整スイッチ70Aを操作すると、ホワイトバランス調整が実行される。すなわち、初期信号処理回路24においてR、G、B信号のR、Bゲイン値が定められる。ホワイトバランス調整終了後、ホワイトバランスデータ(R、Bゲイン値)がスコープ制御部26を介して初期信号処理回路24内のレジスタ25に設定され、そのホワイトバランスデータに基いてゲインコントロール処理が画像信号に対して施される。また、後述するように、EEPROM28あるいはホワイトバランス関連メモリ41にあらかじめ記録されたホワイトバランスデータがレジスタ25に設定され、ゲインコントロール処理が施される。ホワイトバランスデータが設定されると、初期信号処理回路24は、レジスタ25にて記録されるホワイトバランスデータに基いて信号処理を行う。これにより、色再現性の良好な被写体像がモニタ60に表示される。
【0024】
キーボード62が操作されると、その操作に応じた信号がシステムコントロール回路44へ送られ、その信号に基いてCRTC(CRTコントローラ)52へ制御信号が送られる。そして、キー操作に応じたキャラクタ信号がCRTC52からプロセッサ信号処理回路48へ送られ、映像信号にスーパーインポーズされる。これにより、被写体像とともに文字情報がモニタ60に表示される。
【0025】
図2は、プロセッサ30内のシステムコントロール回路44にて実行されるメインルーチンを示した図である。プロセッサ30の電源がONになると、メインルーチンが開始される。
【0026】
ステップS201では、パラメータなどの初期化が施される。この時、ホワイトバランス設定終了データ“WBSET”も初期化される。ホワイトバランス設定終了データWBSETは、ホワイトバランスデータの設定終了を示すデータであり、内視鏡操作に使用されるホワイトバランスデータの設定が終了していない場合、WBSETは「0」と設定され、ホワイトバランスデータの設定が終了した場合は「1」と設定される。そして、ステップS202では、キーボード62に関連した処理など、プロセッサ30全体の制御に関する様々な処理(通常処理)が施される。電源がOFFになるまで繰り返しステップS202が実行される。
【0027】
図3は、プロセッサ30のシステムコントロール回路44における識別コードの送受信を示した識別コード処理ルーチンである。このルーチンは割り込みルーチンであり、メインルーチンに割り込んで実行される。なお、本実施形態においては、複数のプロセッサおよびビデオスコープの中から選択的に組合わせて使用されており、各プロセッサおよびビデオスコープはそれぞれ識別コードを持っている。
【0028】
ステップS301では、ビデオスコープ20がプロセッサ30に接続しているか否かが判断される。ビデオスコープ20が接続されていないと判断されると、ステップS304へ進む。ステップS304では、ホワイトバランスデータ設定終了データWBSETを「0」にし、処理ルーチンはそのまま終了する。一方、ステップS301においてビデオスコープ20が接続されていると判断された場合、ステップS302に進む。ステップS302では、プロセッサ30のシステムコントロール回路44内のホワイトバランス関連メモリ41に記録されているプロセッサ識別コードが、ビデオスコープ20内のスコープ制御部26へ送信される。そして、ステップS303では、ビデオスコープ20内のEEPROM28から読出されたビデオスコープ識別コードが、スコープ制御部26を経てプロセッサ30のシステムコントロール回路44内のホワイトバランス関連メモリ41に格納される。ステップS303が実行されると、識別コード処理ルーチンは終了する。
【0029】
図4は、ビデオスコープ20のスコープ制御部26にて実行されるホワイトバランスデータ読出し処理ルーチンである。このルーチンは、スコープ制御部26がプロセッサ識別コードを受信すると開始する。
【0030】
ステップS401では、システムコントロール回路44から送信されたプロセッサ識別コードに対応するホワイトバランスデータが、既にビデオスコープ20内のEEPROM28に記録されているか否かがスコープ制御部26にて判断される。すなわちプロセッサ30に対応するホワイトバランスデータがあるか否かが判断される。EEPROM28にプロセッサ識別コードに対応するホワイトバランスデータが記録されていないと判断されると、ステップS405に進み、システムコントロール回路44により送信されたプロセッサ識別コードに対応するホワイトバランスデータが記録されていないことを伝えるホワイトバランスデータ未入力信号が、プロセッサ30内のシステムコントロール回路44へ送信される。一方、EEPROM28において該当するプロセッサ識別コードに対応するホワイトバランスデータが記録されていた場合、ステップS402に進む。
【0031】
ステップS402では、プロセッサ識別コードに対応してEEPROM28に記録されているホワイトバランスデータがスコープ制御部26により読み出され、このホワイトバランスデータが初期信号処理回路24のレジスタ25に格納される。この結果、内視鏡操作に使用されるホワイトバランスデータが設定され、ステップS403に進む。ステップS403においては、ホワイトバランス設定が終了したことを伝える信号がプロセッサ30のシステムコントロール回路44に送信され、ステップS404に進む。ステップS404では、設定されたホワイトバランスデータが、スコープ制御部26を介してプロセッサ内のシステムコントロール回路44へ送信され、ホワイトバランスデータ読出し処理ルーチンは終了する。
【0032】
図5は、プロセッサ30のシステムコントロール回路44にて行われるホワイトバランスデータ読出し処理ルーチンである。このルーチンは、プロセッサ30のシステムコントロール回路44がスコープ制御部26から送信された信号を受信すると開始する。
【0033】
ステップS501では、ビデオスコープ20から送られてくる信号が、図4のステップS405において発信されたホワイトバランスデータ未入力信号か否かが判断される。ステップS501においてビデオスコープ20からの信号がホワイトバランスデータ未入力信号であると判断された場合、ステップS502に進む。
【0034】
ステップS502では、図3のステップS303においてプロセッサ30内のホワイトバランス関連メモリ41に記録されたビデオスコープ識別コードに対応するホワイトバランスデータが、ホワイトバランス関連メモリ41内に記録されているか否かが判断される。すなわち、ビデオスコープ20に対応するホワイトバランスデータがあるか否かが判断される。ビデオスコープ識別コードに対応するホワイトバランスデータがホワイトバランス関連メモリ41内に記録されていないと判断されると、ステップS505に進む。ホワイトバランス調整を実行させる必要があるため、ステップS505においては、ホワイトバランス調整開始をオペレータに促すメッセージがモニタ60上に表示されるように、CRTC52からプロセッサ信号回路48へキャラクタ信号が送られ、映像信号にスーパーインポーズされる。ステップS505が終了すると、ホワイトバランスデータ読出し処理ルーチンは終了する。一方、ステップS502において、ビデオスコープ識別コードに対応したホワイトバランスデータがホワイトバランス関連メモリ41に記録されていると判断されると、ステップS503に進む。
【0035】
ステップS503では、ホワイトバランス関連メモリ41に記録されているビデオスコープ識別コードに対応したホワイトバランスデータが読出される。ステップS504では、ホワイトバランス関連メモリ41に記録されていたホワイトバランスデータが、ビデオスコープ20内のスコープ制御部26に送信される。そして、ステップS510に進み、ホワイトバランス設定終了データWBSETが「1」と設定されて、ホワイトバランスデータ読出し処理ルーチンは終了する。
【0036】
一方、ホワイトバランスデータ未入力信号でないと判断されると、ステップS506へ進む。ステップS506では、図4のステップS404において、ビデオスコープ20から送信されたホワイトバランスデータを受信したか否かが判断される。ホワイトバランスデータを受信した場合、ステップS507に進み、ビデオスコープ識別コードとそれに対応するホワイトバランスデータとをホワイトバランス関連メモリ41に記録する。そして、ステップS509に進み、ホワイトバランス設定終了データWBSETが「1」と設定されてホワイトバランスデータ読出し処理ルーチンは終了する。一方、ステップS506においてホワイトバランスデータを受信していなかった場合、ステップS508へ進み、受信した信号に応じた他の処理が施される。
【0037】
図6は、スコープ制御部26にて行われるホワイトバランスデータ設定記録処理ルーチンである。このルーチンは割り込みルーチンであり、所定の間隔で割り込み処理される。
【0038】
ステップS601では、システムコントロール回路44からのデータが、ホワイトバランス調整開始命令に応じたデータか否かが判断される。ホワイトバランス調整開始命令に応じたデータでないと判断されると、ステップS606へ進む。ステップS606では、図5のステップS504において発信されたホワイトバランスデータを受信したか否かが判断される。ステップS606でホワイトバランスデータを受信したと判断された場合、ステップS607へ進み、ホワイトバランスデータを受信していない場合、ステップS608へ進む。ステップS607では、受信したホワイトバランスデータがレジスタ25に格納され、さらにこのホワイトバランスデータは、ビデオスコープ20内のEEPROM28にも記録される。そして、ホワイトバランスデータ記録処理ルーチンは終了する。一方、ステップS608では、受信した信号に応じた他の処理が施されて、ホワイトバランスデータ記録処理ルーチンは終了する。一方、ステップS601において、システムコントロール回路44からのデータが、ホワイトバランス調整開始命令に応じたデータであると判断された場合、ステップS602に進む。
【0039】
ステップS602では、初期信号処理回路24において、白色被写体WWの撮影による画像信号に対してホワイトバランス調整処理が実行され、ホワイトバランスデータ(R、Bゲイン値)が定められる。この結果、ホワイトバランスデータがレジスタ25に設定される。ステップS603では、ホワイトバランス調整処理が終了したことを知らせるデータが、ビデオスコープ20のスコープ制御部26からプロセッサ30へ送信される。ステップS604では、ステップS602で設定されたホワイトバランスデータが接続時に受信したプロセッサ識別コードとともに、ビデオスコープ20内のEEPROM28に記録される。そしてステップS605では、ホワイトバランス調整により設定されたホワイトバランスデータが、プロセッサ30のシステムコントロール回路44に送信される。ステップS605が終了すると、ホワイトバランスデータ設定記録処理ルーチンは終了する。
【0040】
図7は、プロセッサ30のシステムコントロール回路44にて行われるホワイトバランスデータ記録処理ルーチンである。ホワイトバランスデータ記録処理ルーチンは、ホワイトバランス調整スイッチ70Aに対する操作により実行開始される。
【0041】
ステップS701では、オペレータによるホワイトバランス調整スイッチ70Aの操作により、ホワイトバランス調整開始命令のデータがシステムコントロール回路44からスコープ制御部26へ送信される。そして、ステップS702では、ホワイトバランス調整後にスコープ制御部26から送信されるホワイトバランスデータがシステムコントロール回路44において受信されたか否かが判断される。ホワイトバランスデータがシステムコントロール回路44において受信されたと判断された場合、ステップS703に進む。一方、ホワイトバランスデータをシステムコントロール回路44が受信していないと判断された場合、繰り返しステップS702が実行される。ステップS703では、受信したホワイトバランスデータが接続されているビデオスコープ識別コードに対応させられた上で、ホワイトバランス関連メモリ41に記録される。そして、ステップS704に進み、ホワイトバランス設定終了データWBSETが「1」と設定されてホワイトバランスデータ記録処理ルーチンは終了する。
【0042】
このように本実施形態によれば、以下に示す通り、ビデオスコープ20(EEPROM28)とプロセッサ30(ホワイトバランス関連メモリ41)の両方に、互いに接続されているビデオスコープ20およびプロセッサ30に対応するデータとしてホワイトバランスデータが記録されることとなる。
【0043】
まず、ビデオスコープ20とプロセッサ30とが接続されると、互いの識別コードが送受信され(ステップS302、ステップS303)、プロセッサ識別コードを受信したビデオスコープ20においては、プロセッサ識別コードに対応するホワイトバランスデータが記録されているか否かが判断される(ステップS401)。その結果、対応するホワイトバランスデータがビデオスコープ20内に記録されていると、そのホワイトバランスデータが読み出され、設定された後に(ステップS402)、プロセッサ30に送信される(ステップS404)。このホワイトバランスデータがプロセッサ30により受信されると、ビデオスコープ識別コードと共にホワイトバランスデータがプロセッサ30内に記録される(ステップS507)。
【0044】
一方、プロセッサ識別コードに対応するホワイトバランスデータがビデオスコープ20内に記録されていないと判断されると、ホワイトバランスデータがビデオスコープ20内に記録されていないことを伝える信号が、プロセッサへ送信される(ステップS405)。この信号がプロセッサ30に受信されると、先に受信していたビデオスコープ識別コードに対応するホワイトバランスデータが、プロセッサ30内に記録されているか否かが判断される(ステップS502)。その結果、対応するホワイトバランスデータがプロセッサ30内に記録されていると、そのホワイトバランスデータが読み出された後に(ステップS503)、ビデオスコープ20に送信される(ステップS504)。このホワイトバランスデータがビデオスコープ20により受信されると、ビデオスコープ20内にてそのホワイトバランスデータが設定される(ステップS607)。
【0045】
一方、ビデオスコープ識別コードに対応するホワイトバランスデータがプロセッサ30内に記録されていないと判断されると、ホワイトバランス取得を促すメッセージがモニタ60に表示される(ステップS505)。そして、オペレータによりホワイトバランス調整スイッチ70Aが操作されると、プロセッサ30よりビデオスコープ20へ、ホワイトバランス調整開始命令に応じたデータが送信される(ステップS701)。ホワイトバランス調整開始命令のデータがビデオスコープ20により受信されると、ホワイトバランス調整が施され、定められたホワイトバランスデータが設定される(ステップS602)。そして、このホワイトバランスデータは、プロセッサ識別コードとともに、ビデオスコープ20内に記録された後(ステップS604)、プロセッサ30へ送信される(ステップS605)。このホワイトバランスデータは、プロセッサ30により受信されると、ビデオスコープ識別コードとともにプロセッサ30内に記録される(ステップS703)。
【0046】
第1メモリあるいは第2メモリにホワイトバランスデータが格納される場合、プロセッサあるいはビデオスコープ識別コードとともに、ランプ36のシリアルナンバーや、ランプ36の累積使用時間を組合わせて格納させても良い。そして、各識別コードとランプ36のシリアルナンバーとの組合わせが新規であった場合や、ランプ36の累積使用時間が予め定めてあった使用時間の上限を超える場合においては、ホワイトバランス調整を実施することが好ましい。
【0047】
オペレータにホワイトバランス調整開始を促すモニタ60上のメッセージによる指示は、音声や所定の音、ライトの表示等により行われても良い。
【0048】
【発明の効果】
以上のように本発明によれば、ビデオスコープとプロセッサの接続組合わせが変更された場合においても、ホワイトバランス調整作業の煩雑化や被写体像の色再現性低下を防ぐことができる。
【図面の簡単な説明】
【図1】本実施形態である電子内視鏡装置のブロック図である。
【図2】プロセッサのメインルーチンを示した図である。
【図3】識別コードを送受信するための識別コード処理ルーチンを示した図である。
【図4】ビデオスコープにおけるホワイトバランスデータ読出し処理ルーチンを示した図である。
【図5】プロセッサにおけるホワイトバランスデータ読出し処理ルーチンを示した図である。
【図6】ビデオスコープにおけるホワイトバランスデータ設定記録処理ルーチンを示した図である。
【図7】プロセッサにおけるホワイトバランスデータ記録処理ルーチンを示した図である。
【符号の説明】
10 電子内視鏡装置
20 ビデオスコープ
22 CCD(撮像素子)
24 初期信号処理回路
25 レジスタ
26 スコープ制御部
28 EEPROM(第1メモリ)
30 プロセッサ
36 ランプ(光源)
41 ホワイトバランス関連メモリ(第2メモリ)
44 システムコントロール回路
WW 白色被写体
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic endoscope including a video scope having an image sensor and a processor to which the video scope is connected, and more particularly to white balance adjustment for appropriately reproducing the color of a subject (observation site).
[0002]
[Prior art]
In a conventional electronic endoscope apparatus, a white subject is imaged, and the ratio of red (R), green (G), and blue (B) image signals read from the image sensor at this time is 1: 1: 1. White balance adjustment is performed by adjusting the R and B gain values so as to be (for example, Patent Document 1). The white balance values (R and B gain values) set by the white balance adjustment are recorded in the processor and used when the endoscope apparatus is used thereafter. That is, when a video scope is connected, a white balance value corresponding to the video scope is read and set. Then, gain control based on the white balance value is performed on the image signal read from the image sensor.
[0003]
[Patent Document 1]
JP-A-6-142038 (page 2)
[0004]
[Problems to be solved by the invention]
When the white balance value set by the white balance adjustment is recorded in the processor as data for each video scope, all of the data of the white balance value may be erased due to repair or replacement of the processor. In this case, white balance adjustment must be performed again for each video scope. Such resetting reduces the efficiency of the entire endoscopic operation, and the color reproducibility of the subject image is reduced by performing the endoscope operation without performing the white balance adjustment by mistake.
[0005]
Accordingly, the present invention provides an electronic endoscope apparatus that can prevent complication of white balance adjustment work and deterioration in color reproducibility of a subject image even when the connection combination of a video scope and a processor is changed. Objective.
[0006]
[Means for Solving the Problems]
The electronic endoscope apparatus of the present invention is used by connecting one videoscope and a processor selected from among a videoscope having a plurality of image sensors and a plurality of processors. The electronic endoscope apparatus includes a scope connection determination unit that determines whether or not the video scope is connected to the processor, and when it is determined that the video scope is connected, the image of the inspection subject read from the image sensor. White balance adjustment means capable of executing white balance adjustment on the signal is provided. For example, white balance adjustment is executed according to the operation of the operator. The white balance data determined by this white balance adjustment can be recorded in either the first memory provided in the video scope or the second memory provided in the processor by the white balance data recording means. Furthermore, the apparatus includes white balance data determining means for determining whether or not white balance data is recorded in the first memory and the second memory. For example, white balance data corresponding to a processor is recorded in the first memory. Is determined. In this case, whether or not the corresponding white balance data is recorded in the second memory (because it is the same data as the white balance data in the first memory even if it is recorded in the second memory). It does not necessarily have to be determined. The white balance data recorded in the first memory is set and used by white balance data setting means for color adjustment processing (such as gain control) of the image signal read from the image sensor. For example, white balance data is written in a register of the signal processing circuit. The white balance data recorded in the first memory is transmitted to the second memory and recorded in the second memory by the white balance recording means in preparation for the case where the white balance data corresponding to the second memory is not recorded. It is preferred that
[0007]
If it is determined that no white balance data is recorded in either the first memory or the second memory, white balance adjustment is executed by the white balance adjustment means to determine white balance data. White balance data newly determined by this white balance adjustment is recorded in the first memory as data corresponding to the processor used at this time, and further recorded in the second memory as data corresponding to the video scope. That is, the same white balance data is recorded while specifying the processor connected at this time in the first memory, and is recorded while specifying the video scope connected in the second memory. The white balance data determined and recorded by this white balance adjustment is set and used for color adjustment processing (such as gain control) by the white balance data setting means.
[0008]
When the white balance data corresponding to the processor and video scope connected to each other is recorded in the first memory and the second memory by the white balance data recording means, the adjustment is performed in any memory when the endoscope is used last time. The same white balance data is recorded. Therefore, the white balance data recorded in the first memory for the color adjustment processing of the image signal read from the image sensor may be set by the white balance data setting unit, or the white balance data recorded in the second memory. Balance data may be set.
[0009]
The white balance data set after the white balance adjustment and recorded in the first memory is preferably stored in combination with a processor identification code for specifying a connected processor. Similarly, the white balance data set after the white balance adjustment and recorded in the second memory is preferably stored in combination with a video scope identification code for specifying the video scope to be connected. In this way, by recording in the first memory or the second memory in combination with the processor identification code or the video scope identification code, it is easy to determine whether the white balance data corresponds to the processor and the video scope connected to each other. To be judged.
[0010]
When the white balance data corresponding to the connected processor is recorded in the first memory in the video scope, and the white balance data is not recorded in the second memory in the processor, it is recorded in the first memory. The white balance data is set and used for color adjustment processing of the image signal by the white balance data setting means. Further, the white balance data used at this time is combined with the video scope identification code and recorded in the second memory. Even when the determination of the second memory is not performed, the white balance data recorded in the first memory is set for color adjustment processing in case the white balance data is not recorded in the second memory. After use, it is desirable to record in the second memory in combination with the video scope identification code.
[0011]
White balance data corresponding to the connected videoscope is recorded in the second memory in the processor, and white balance data corresponding to the connected processor is recorded in the first memory in the videoscope. If not, the white balance data recorded in the second memory is set and used for image signal color adjustment processing. Further, the white balance data used at this time is combined with the processor identification code and recorded in the first memory.
[0012]
When the white balance adjusting means is provided in the video scope and the white balance data determining means determines that the white balance data is recorded only in the first memory, the white balance data recording means stores the white balance data in the first memory. It is desirable that the recorded white balance data is also recorded in the second memory. At this time, it is more preferable that the video scope identification code for specifying the video scope is also recorded in the second memory in combination with the white balance data. On the other hand, when the white balance adjusting means is provided in the processor and the white balance data determining means determines that the white balance data is recorded only in the second memory, the white balance data recording means determines that the second memory It is desirable that the white balance data recorded in the first memory is also recorded in the first memory. At this time, it is even more preferable that the processor identification code for specifying the processor is also recorded in the first memory in combination with the white balance data.
[0013]
The endoscope apparatus of the present invention further includes white balance adjustment instruction means for instructing the operator of the necessity of executing white balance adjustment when no white balance data is recorded in either the first memory or the second memory. It is preferable. The instruction by the white balance adjustment instructing unit may be performed by displaying a voice, a predetermined sound, a light, or the like in addition to a message (character display) on the monitor.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an electronic endoscope apparatus according to an embodiment of the present invention will be described with reference to the drawings.
[0015]
FIG. 1 is a block diagram of an electronic endoscope apparatus according to this embodiment.
[0016]
The electronic endoscope apparatus 10 includes a video scope 20 having a CCD 22 and a processor 30 that processes an image signal read from the CCD 22. The video scope 20 is detachably connected to the processor 30, and a monitor 60 and a keyboard 62 are connected to the processor 30. At the start of use of the electronic endoscope apparatus 10, the video scope 20 is connected to the processor 30.
[0017]
When power is supplied from the lamp power source 32 including the lamp control unit 34 to the lamp 36 by operating a lamp lighting switch (not shown), the lamp 36 is turned on. The light emitted from the lamp 36 is incident on the incident end 12A of the light guide 12 constituted by an optical fiber bundle provided in the video scope 20 through a condenser lens (not shown) and a diaphragm 38. The light guide 12 transmits the light emitted from the lamp 36 to the distal end portion of the video scope 20 where the observation site is located, and the light passing through the light guide 12 is emitted from the emission end 12B.
[0018]
The light reflected by the observation site passes through an objective lens (not shown) and a color filter (not shown) and reaches the light receiving surface of the CCD 22, thereby forming a subject image of the observation site on the light receiving surface of the CCD 22. . In this embodiment, a simultaneous single plate type is applied as an imaging method, and a primary color filter (not shown) composed of R, G, and B color elements is disposed on the light receiving surface of the CCD 22. . In the CCD 22, an image signal of a subject image corresponding to a color passing through a color filter is generated by photoelectric conversion, and image signals for one frame or one field are sequentially read at predetermined time intervals. Here, the NTSC system is applied as the color television system, and an image signal for one frame (one field) is sequentially read out every 1/30 (1/60) second interval and sent to the initial signal processing circuit 24. It is done.
[0019]
In the initial signal processing circuit 24, the read image signal is amplified and converted from an analog signal to a digital signal. Various processes such as gain control related to white balance adjustment and gamma correction are performed on the digital image signal to generate a luminance signal Y and color difference signals Cb and Cr. When the luminance signal Y and the color difference signals Cb and Cr are sent to the processor signal processing circuit 48 of the processor 30, the luminance signal Y and the color difference signals Cb and Cr are converted into video signals such as NTSC signals and output to the monitor 60. . Thereby, the subject image is displayed on the monitor 60 in real time.
[0020]
A system control circuit 44 including a CPU 42 controls the entire processor 30 and outputs a control signal to each circuit such as a timing control circuit 46. A ROM 43 in the system control circuit 44 stores a program related to the control of the processor 30, and white balance data 41 is recorded in the white balance related memory 41. In the timing control circuit 46, a clock pulse for adjusting the signal processing timing is output to each circuit in the processor 30, and a synchronization signal added to the video signal is sent to the processor signal processing circuit 48.
[0021]
A diaphragm 38 provided between the incident end 12A of the light guide 12 and the condenser lens is opened and closed to adjust the amount of light applied to the subject, and a control signal is sent from the system control circuit 44 to the peripheral control circuit 50. Then, a drive signal is output to the diaphragm 38 in order to drive the diaphragm 38 by a predetermined amount. As a result, the amount of light applied to the subject is adjusted.
[0022]
In the video scope 20, a scope control unit 26 that controls the entire video scope 20 and an EEPROM 28 in which data and characteristics relating to signal processing of the video scope 20 such as white balance data are stored in advance. The scope control unit 26 sends a control signal to the initial signal processing circuit 24 and reads data from the EEPROM 28 as appropriate. While the video scope 20 is connected to the processor 30, data is mutually transmitted between the scope control unit 26 and the system control circuit 44, and data relating to white balance adjustment processing and data relating to scope characteristics are transmitted to the system control of the processor 30. In addition to being sent to the circuit 44, data for starting execution of white balance adjustment, data concerning processor characteristics, and data concerning white balance adjustment processing are sent to the scope control unit 26.
[0023]
The front panel 70 of the processor 30 is provided with a white balance adjustment switch 70A. When a white subject WW is placed at the tip of the video scope 20 and the white balance adjustment switch 70A is operated, white balance adjustment is executed. The That is, the initial signal processing circuit 24 determines the R and B gain values of the R, G, and B signals. After the white balance adjustment is completed, white balance data (R and B gain values) is set in the register 25 in the initial signal processing circuit 24 via the scope control unit 26, and gain control processing is performed on the image signal based on the white balance data. Is given to. Further, as will be described later, white balance data recorded in advance in the EEPROM 28 or the white balance related memory 41 is set in the register 25, and gain control processing is performed. When the white balance data is set, the initial signal processing circuit 24 performs signal processing based on the white balance data recorded in the register 25. As a result, a subject image with good color reproducibility is displayed on the monitor 60.
[0024]
When the keyboard 62 is operated, a signal corresponding to the operation is sent to the system control circuit 44, and a control signal is sent to a CRTC (CRT controller) 52 based on the signal. Then, a character signal corresponding to the key operation is sent from the CRTC 52 to the processor signal processing circuit 48 and superimposed on the video signal. Thereby, the character information is displayed on the monitor 60 together with the subject image.
[0025]
FIG. 2 is a diagram showing a main routine executed by the system control circuit 44 in the processor 30. When the power of the processor 30 is turned on, the main routine is started.
[0026]
In step S201, parameters and the like are initialized. At this time, the white balance setting end data “WBSET” is also initialized. The white balance setting end data WBSET is data indicating the end of the white balance data setting. When the setting of the white balance data used for the endoscope operation is not completed, the WBSET is set to “0”, and the white balance setting end data WBSET is set to “0”. When the balance data setting is completed, “1” is set. In step S202, various processes (normal processes) related to the control of the entire processor 30 such as processes related to the keyboard 62 are performed. Step S202 is repeated until the power is turned off.
[0027]
FIG. 3 is an identification code processing routine showing transmission / reception of an identification code in the system control circuit 44 of the processor 30. This routine is an interrupt routine, and is executed by interrupting the main routine. In the present embodiment, a combination of a plurality of processors and videoscopes is used selectively, and each processor and videoscope has an identification code.
[0028]
In step S301, it is determined whether or not the video scope 20 is connected to the processor 30. If it is determined that the video scope 20 is not connected, the process proceeds to step S304. In step S304, the white balance data setting end data WBSET is set to “0”, and the processing routine is ended as it is. On the other hand, if it is determined in step S301 that the video scope 20 is connected, the process proceeds to step S302. In step S <b> 302, the processor identification code recorded in the white balance related memory 41 in the system control circuit 44 of the processor 30 is transmitted to the scope control unit 26 in the video scope 20. In step S303, the video scope identification code read from the EEPROM 28 in the video scope 20 is stored in the white balance related memory 41 in the system control circuit 44 of the processor 30 via the scope control unit 26. When step S303 is executed, the identification code processing routine ends.
[0029]
FIG. 4 is a white balance data read processing routine executed by the scope control unit 26 of the video scope 20. This routine starts when the scope control unit 26 receives a processor identification code.
[0030]
In step S 401, the scope control unit 26 determines whether the white balance data corresponding to the processor identification code transmitted from the system control circuit 44 is already recorded in the EEPROM 28 in the video scope 20. That is, it is determined whether there is white balance data corresponding to the processor 30. If it is determined that the white balance data corresponding to the processor identification code is not recorded in the EEPROM 28, the process proceeds to step S405, and the white balance data corresponding to the processor identification code transmitted by the system control circuit 44 is not recorded. Is transmitted to the system control circuit 44 in the processor 30. On the other hand, if white balance data corresponding to the processor identification code is recorded in the EEPROM 28, the process proceeds to step S402.
[0031]
In step S402, the white balance data recorded in the EEPROM 28 corresponding to the processor identification code is read by the scope control unit 26, and this white balance data is stored in the register 25 of the initial signal processing circuit 24. As a result, the white balance data used for the endoscope operation is set, and the process proceeds to step S403. In step S403, a signal notifying that the white balance setting has been completed is transmitted to the system control circuit 44 of the processor 30, and the process proceeds to step S404. In step S404, the set white balance data is transmitted to the system control circuit 44 in the processor via the scope control unit 26, and the white balance data read processing routine ends.
[0032]
FIG. 5 is a white balance data read processing routine performed by the system control circuit 44 of the processor 30. This routine is started when the system control circuit 44 of the processor 30 receives a signal transmitted from the scope control unit 26.
[0033]
In step S501, it is determined whether or not the signal sent from the video scope 20 is the white balance data non-input signal transmitted in step S405 of FIG. If it is determined in step S501 that the signal from the video scope 20 is a white balance data non-input signal, the process proceeds to step S502.
[0034]
In step S502, it is determined whether or not the white balance data corresponding to the video scope identification code recorded in the white balance related memory 41 in the processor 30 in step S303 in FIG. Is done. That is, it is determined whether there is white balance data corresponding to the video scope 20. If it is determined that the white balance data corresponding to the video scope identification code is not recorded in the white balance related memory 41, the process proceeds to step S505. Since it is necessary to execute the white balance adjustment, in step S505, a character signal is sent from the CRTC 52 to the processor signal circuit 48 so that a message prompting the operator to start the white balance adjustment is displayed on the monitor 60. Superimposed on the signal. When step S505 ends, the white balance data read processing routine ends. On the other hand, if it is determined in step S502 that white balance data corresponding to the video scope identification code is recorded in the white balance related memory 41, the process proceeds to step S503.
[0035]
In step S503, white balance data corresponding to the video scope identification code recorded in the white balance related memory 41 is read. In step S 504, the white balance data recorded in the white balance related memory 41 is transmitted to the scope control unit 26 in the video scope 20. In step S510, the white balance setting end data WBSET is set to “1”, and the white balance data reading processing routine ends.
[0036]
On the other hand, if it is determined that the signal is not a white balance data non-input signal, the process proceeds to step S506. In step S506, it is determined whether or not the white balance data transmitted from the video scope 20 is received in step S404 of FIG. When the white balance data is received, the process proceeds to step S507, and the video scope identification code and the corresponding white balance data are recorded in the white balance related memory 41. In step S509, the white balance setting end data WBSET is set to “1”, and the white balance data reading processing routine ends. On the other hand, if white balance data has not been received in step S506, the process proceeds to step S508, and other processing is performed according to the received signal.
[0037]
FIG. 6 is a white balance data setting recording processing routine performed by the scope control unit 26. This routine is an interrupt routine, and is interrupted at predetermined intervals.
[0038]
In step S601, it is determined whether the data from the system control circuit 44 is data according to a white balance adjustment start command. If it is determined that the data does not correspond to the white balance adjustment start command, the process proceeds to step S606. In step S606, it is determined whether the white balance data transmitted in step S504 in FIG. 5 has been received. If it is determined in step S606 that white balance data has been received, the process proceeds to step S607. If white balance data has not been received, the process proceeds to step S608. In step S607, the received white balance data is stored in the register 25, and this white balance data is also recorded in the EEPROM 28 in the video scope 20. Then, the white balance data recording process routine ends. On the other hand, in step S608, other processing according to the received signal is performed, and the white balance data recording processing routine ends. On the other hand, if it is determined in step S601 that the data from the system control circuit 44 is data according to the white balance adjustment start command, the process proceeds to step S602.
[0039]
In step S602, the initial signal processing circuit 24 performs white balance adjustment processing on an image signal obtained by photographing the white subject WW, and white balance data (R and B gain values) is determined. As a result, white balance data is set in the register 25. In step S <b> 603, data notifying that the white balance adjustment process has been completed is transmitted from the scope control unit 26 of the video scope 20 to the processor 30. In step S604, the white balance data set in step S602 is recorded in the EEPROM 28 in the video scope 20 together with the processor identification code received at the time of connection. In step S605, the white balance data set by the white balance adjustment is transmitted to the system control circuit 44 of the processor 30. When step S605 ends, the white balance data setting recording processing routine ends.
[0040]
FIG. 7 shows a white balance data recording processing routine performed by the system control circuit 44 of the processor 30. The white balance data recording processing routine is started by an operation on the white balance adjustment switch 70A.
[0041]
In step S701, the white balance adjustment start command data is transmitted from the system control circuit 44 to the scope control unit 26 by the operation of the white balance adjustment switch 70A by the operator. In step S702, it is determined whether or not the white balance data transmitted from the scope control unit 26 after white balance adjustment is received by the system control circuit 44. If it is determined that the white balance data has been received by the system control circuit 44, the process proceeds to step S703. On the other hand, if it is determined that the white balance data is not received by the system control circuit 44, step S702 is repeatedly executed. In step S703, the received white balance data is recorded in the white balance related memory 41 after being associated with the connected video scope identification code. In step S704, the white balance setting end data WBSET is set to “1”, and the white balance data recording processing routine ends.
[0042]
Thus, according to the present embodiment, as shown below, data corresponding to both the video scope 20 and the processor 30 connected to each other in both the video scope 20 (EEPROM 28) and the processor 30 (white balance related memory 41). As a result, white balance data is recorded.
[0043]
First, when the video scope 20 and the processor 30 are connected, mutual identification codes are transmitted and received (steps S302 and S303). In the video scope 20 that has received the processor identification code, the white balance corresponding to the processor identification code is transmitted. It is determined whether data is recorded (step S401). As a result, if the corresponding white balance data is recorded in the video scope 20, the white balance data is read and set (step S402), and then transmitted to the processor 30 (step S404). When the white balance data is received by the processor 30, the white balance data is recorded in the processor 30 together with the video scope identification code (step S507).
[0044]
On the other hand, when it is determined that the white balance data corresponding to the processor identification code is not recorded in the video scope 20, a signal indicating that the white balance data is not recorded in the video scope 20 is transmitted to the processor. (Step S405). When this signal is received by the processor 30, it is determined whether or not white balance data corresponding to the previously received video scope identification code is recorded in the processor 30 (step S502). As a result, if the corresponding white balance data is recorded in the processor 30, the white balance data is read (step S503) and then transmitted to the video scope 20 (step S504). When the white balance data is received by the video scope 20, the white balance data is set in the video scope 20 (step S607).
[0045]
On the other hand, if it is determined that the white balance data corresponding to the video scope identification code is not recorded in the processor 30, a message prompting for white balance acquisition is displayed on the monitor 60 (step S505). Then, when the white balance adjustment switch 70A is operated by the operator, data corresponding to the white balance adjustment start command is transmitted from the processor 30 to the video scope 20 (step S701). When the white balance adjustment start command data is received by the video scope 20, white balance adjustment is performed, and the determined white balance data is set (step S602). The white balance data is recorded in the video scope 20 together with the processor identification code (step S604), and then transmitted to the processor 30 (step S605). When the white balance data is received by the processor 30, it is recorded in the processor 30 together with the video scope identification code (step S703).
[0046]
When the white balance data is stored in the first memory or the second memory, the serial number of the lamp 36 and the cumulative usage time of the lamp 36 may be stored in combination with the processor or video scope identification code. When the combination of each identification code and the serial number of the lamp 36 is new, or when the cumulative usage time of the lamp 36 exceeds a predetermined usage time limit, white balance adjustment is performed. It is preferable to do.
[0047]
The instruction by the message on the monitor 60 prompting the operator to start the white balance adjustment may be performed by voice, a predetermined sound, a light display, or the like.
[0048]
【The invention's effect】
As described above, according to the present invention, even when the connection combination of the video scope and the processor is changed, it is possible to prevent the white balance adjustment work from being complicated and the color reproducibility of the subject image from being lowered.
[Brief description of the drawings]
FIG. 1 is a block diagram of an electronic endoscope apparatus according to an embodiment.
FIG. 2 is a diagram showing a main routine of a processor.
FIG. 3 is a diagram showing an identification code processing routine for transmitting and receiving an identification code.
FIG. 4 is a diagram showing a white balance data read processing routine in a video scope.
FIG. 5 is a diagram showing a white balance data read processing routine in the processor.
FIG. 6 is a diagram showing a white balance data setting recording processing routine in the video scope.
FIG. 7 is a diagram showing a white balance data recording processing routine in the processor.
[Explanation of symbols]
10 Electronic endoscope device
20 Videoscope
22 CCD (imaging device)
24 Initial signal processing circuit
25 registers
26 Scope control unit
28 EEPROM (first memory)
30 processor
36 Lamp (light source)
41 White balance related memory (second memory)
44 System control circuit
WW White subject

Claims (7)

撮像素子を有する複数のビデオスコープおよび複数のプロセッサの中から1つのビデオスコープとプロセッサとが選択的に接続可能な電子内視鏡装置であって、
ビデオスコープが接続されているか否かを判断するスコープ接続判別手段と、
前記ビデオスコープが接続されると、検査用被写体の撮影により前記撮像素子から読み出される画像信号に対してホワイトバランス調整を実行可能なホワイトバランス調整手段と、
前記ビデオスコープに設けられた第1メモリと、前記プロセッサに設けられた第2メモリとのいずれにも、前記ホワイトバランス調整手段によって定められた前記ホワイトバランスデータを記録可能なホワイトバランスデータ記録手段と、
前記第1メモリおよび前記第2メモリに対し、互いに接続されている前記プロセッサおよび前記ビデオスコープに対応するホワイトバランスデータが記録されているか否かを判別するホワイトバランスデータ判別手段と、
前記第1メモリおよび前記第2メモリの少なくともいずれかに、前記対応するホワイトバランスデータが記録されている場合、前記撮像素子から読み出される画像信号の色調整処理のため前記対応するホワイトバランスデータを読み出して設定するホワイトバランスデータ設定手段とを備え、
前記第1メモリおよび前記第2メモリのいずれにも前記対応するホワイトバランスデータが記録されていない場合、前記ホワイトバランス調整手段および前記ホワイトバランスデータ記録手段が実行され、前記ホワイトバランスデータ設定手段が、前記ホワイトバランスデータ調整手段により調整されたホワイトバランスデータを設定し、
前記ホワイトバランスデータ記録手段が、
接続されるプロセッサを特定するためのプロセッサ識別コードを、ホワイトバランス調整手段により設定されたホワイトバランスデータと組合わせて前記第1メモリに格納可能であるとともに、
接続されるビデオスコープを特定するためのビデオスコープ識別コードを、ホワイトバランス調整手段により設定されたホワイトバランスデータと組合わせて前記第2メモリに格納可能であり、
前記ホワイトバランスデータ判別手段が、
前記第1メモリおよび前記第2メモリに記録されているホワイトバランスデータが、互いに接続されているプロセッサおよびビデオスコープに対応するホワイトバランスデータであるか否かを、前記プロセッサ識別コードおよび前記ビデオスコープ識別コードにより判別することを特徴とする電子内視鏡装置。
An electronic endoscope apparatus in which one videoscope and a processor can be selectively connected from among a plurality of videoscopes having an image sensor and a plurality of processors,
Scope connection determining means for determining whether or not a video scope is connected;
When the video scope is connected, white balance adjustment means capable of performing white balance adjustment on an image signal read from the image sensor by photographing an inspection subject;
Wherein a first memory provided in the video scope, in any of the second memory provided in the processor, the white balance of the white balance data defined by the adjustment means records available white balance data storage means When,
White balance data determining means for determining whether or not white balance data corresponding to the processor and the video scope connected to each other is recorded in the first memory and the second memory;
When the corresponding white balance data is recorded in at least one of the first memory and the second memory, the corresponding white balance data is read for color adjustment processing of an image signal read from the image sensor. White balance data setting means for setting
When the corresponding white balance data is not recorded in any of the first memory and the second memory, the white balance adjustment unit and the white balance data recording unit are executed, and the white balance data setting unit includes: Set the white balance data adjusted by the white balance data adjusting means ,
The white balance data recording means is
A processor identification code for specifying the connected processor can be stored in the first memory in combination with the white balance data set by the white balance adjusting means,
A video scope identification code for specifying a connected video scope can be stored in the second memory in combination with the white balance data set by the white balance adjusting means,
The white balance data discrimination means is
Whether the white balance data recorded in the first memory and the second memory is white balance data corresponding to a processor and a video scope connected to each other, the processor identification code and the video scope identification An electronic endoscope apparatus characterized by being determined by a code .
前記ホワイトバランスデータ設定手段が、
前記第1メモリおよび前記第2メモリ両方に、前記対応するホワイトバランスデータが記録されている場合、前記撮像素子から読み出される画像信号の色調整処理のため前記第1メモリに記録されている前記ホワイトバランスデータを設定することを特徴とする請求項1に記載の電子内視鏡装置。
The white balance data setting means
When the corresponding white balance data is recorded in both the first memory and the second memory, the white recorded in the first memory for color adjustment processing of an image signal read from the image sensor The electronic endoscope apparatus according to claim 1, wherein balance data is set.
前記ホワイトバランスデータ記録手段が、
前記第1メモリに、前記対応するホワイトバランスデータが記録されている一方、前記第2メモリに、前記対応するホワイトバランスデータが記録されていない場合、前記第1メモリに記録されている前記対応するホワイトバランスデータと前記ビデオスコープ識別コードとを前記第2メモリに記録することを特徴とする請求項に記載の電子内視鏡装置。
The white balance data recording means is
When the corresponding white balance data is recorded in the first memory while the corresponding white balance data is not recorded in the second memory, the corresponding white balance data recorded in the first memory 2. The electronic endoscope apparatus according to claim 1 , wherein white balance data and the video scope identification code are recorded in the second memory.
前記ホワイトバランスデータ記録手段が、
前記第2メモリに前記対応するホワイトバランスデータが記録されている一方、前記第1メモリに前記対応するホワイトバランスデータが記録されていない場合、前記第2メモリに記録されている前記対応するホワイトバランスデータと前記プロセッサ識別コードとを前記第1メモリに記録することを特徴とする請求項に記載の電子内視鏡装置。
The white balance data recording means is
If the corresponding white balance data is recorded in the second memory while the corresponding white balance data is not recorded in the first memory, the corresponding white balance data recorded in the second memory The electronic endoscope apparatus according to claim 1 , wherein white balance data and the processor identification code are recorded in the first memory.
撮像素子を有する複数のビデオスコープおよび複数のプロセッサの中から1つのビデオスコープとプロセッサとが選択的に接続可能な電子内視鏡装置であって、
ビデオスコープが接続されているか否かを判断するスコープ接続判別手段と、
前記ビデオスコープが接続されると、検査用被写体の撮影により前記撮像素子から読み出される画像信号に対してホワイトバランス調整を実行可能なホワイトバランス調整手段と、
前記ビデオスコープに設けられた第1メモリと、前記プロセッサに設けられた第2メモリとのいずれにも、前記ホワイトバランス調整手段によって定められた前記ホワイトバランスデータを記録可能なホワイトバランスデータ記録手段と、
前記第1メモリおよび前記第2メモリに対し、互いに接続されている前記プロセッサおよび前記ビデオスコープに対応するホワイトバランスデータが記録されているか否かを判別するホワイトバランスデータ判別手段と、
前記第1メモリおよび前記第2メモリの少なくともいずれかに、前記対応するホワイトバランスデータが記録されている場合、前記撮像素子から読み出される画像信号の色調整処理のため前記対応するホワイトバランスデータを読み出して設定するホワイトバランスデータ設定手段とを備え、
前記第1メモリおよび前記第2メモリのいずれにも前記対応するホワイトバランスデータが記録されていない場合、前記ホワイトバランス調整手段および前記ホワイトバランスデータ記録手段が実行され、前記ホワイトバランスデータ設定手段が、前記ホワイトバランスデータ調整手段により調整されたホワイトバランスデータを設定し、
前記ホワイトバランス調整手段が前記ビデオスコープ内に設けられ、
前記ホワイトバランスデータ記録手段が、
前記ホワイトバランスデータ判別手段により、前記対応するホワイトバランスデータが前記第1メモリにのみ記録されていると判別された場合、
前記第1メモリに記録されている前記対応するホワイトバランスデータを前記第2メモリにも記録することを特徴とする電子内視鏡装置。
An electronic endoscope apparatus in which one videoscope and a processor can be selectively connected from among a plurality of videoscopes having an image sensor and a plurality of processors,
Scope connection determining means for determining whether or not a video scope is connected;
When the video scope is connected, white balance adjustment means capable of performing white balance adjustment on an image signal read from the image sensor by photographing an inspection subject;
White balance data recording means capable of recording the white balance data determined by the white balance adjusting means in both a first memory provided in the video scope and a second memory provided in the processor. ,
White balance data determining means for determining whether or not white balance data corresponding to the processor and the video scope connected to each other is recorded in the first memory and the second memory;
When the corresponding white balance data is recorded in at least one of the first memory and the second memory, the corresponding white balance data is read for color adjustment processing of the image signal read from the image sensor. White balance data setting means for setting
When the corresponding white balance data is not recorded in any of the first memory and the second memory, the white balance adjustment unit and the white balance data recording unit are executed, and the white balance data setting unit includes: Set the white balance data adjusted by the white balance data adjusting means,
The white balance adjusting means is provided in the video scope,
The white balance data recording means is
When the white balance data determining means determines that the corresponding white balance data is recorded only in the first memory,
The first white balance data to that electronic endoscope apparatus, characterized in that also recorded in the second memory to be recorded in the memory the corresponding and.
撮像素子を有する複数のビデオスコープおよび複数のプロセッサの中から1つのビデオスコープとプロセッサとが選択的に接続可能な電子内視鏡装置であって、
ビデオスコープが接続されているか否かを判断するスコープ接続判別手段と、
前記ビデオスコープが接続されると、検査用被写体の撮影により前記撮像素子から読み出される画像信号に対してホワイトバランス調整を実行可能なホワイトバランス調整手段と、
前記ビデオスコープに設けられた第1メモリと、前記プロセッサに設けられた第2メモリとのいずれにも、前記ホワイトバランス調整手段によって定められた前記ホワイトバランスデータを記録可能なホワイトバランスデータ記録手段と、
前記第1メモリおよび前記第2メモリに対し、互いに接続されている前記プロセッサおよび前記ビデオスコープに対応するホワイトバランスデータが記録されているか否かを判別するホワイトバランスデータ判別手段と、
前記第1メモリおよび前記第2メモリの少なくともいずれかに、前記対応するホワイトバランスデータが記録されている場合、前記撮像素子から読み出される画像信号の色調整処理のため前記対応するホワイトバランスデータを読み出して設定するホワイトバランスデータ設定手段とを備え、
前記第1メモリおよび前記第2メモリのいずれにも前記対応するホワイトバランスデータが記録されていない場合、前記ホワイトバランス調整手段および前記ホワイトバランスデータ記録手段が実行され、前記ホワイトバランスデータ設定手段が、前記ホワイトバランスデータ調整手段により調整されたホワイトバランスデータを設定し、
前記ホワイトバランス調整手段が前記プロセッサ内に設けられ、
前記ホワイトバランスデータ記録手段が、
前記対応するホワイトバランスデータが前記第2メモリにのみ記録されていると判別された場合、
前記第2メモリに記録されている前記対応するホワイトバランスデータを前記第1メモリにも記録することを特徴とする電子内視鏡装置。
An electronic endoscope apparatus in which one videoscope and a processor can be selectively connected from among a plurality of videoscopes having an image sensor and a plurality of processors,
Scope connection determining means for determining whether or not a video scope is connected;
When the video scope is connected, white balance adjustment means capable of performing white balance adjustment on an image signal read from the image sensor by photographing an inspection subject;
White balance data recording means capable of recording the white balance data determined by the white balance adjusting means in both a first memory provided in the video scope and a second memory provided in the processor. ,
White balance data determining means for determining whether or not white balance data corresponding to the processor and the video scope connected to each other is recorded in the first memory and the second memory;
When the corresponding white balance data is recorded in at least one of the first memory and the second memory, the corresponding white balance data is read for color adjustment processing of the image signal read from the image sensor. White balance data setting means for setting
When the corresponding white balance data is not recorded in any of the first memory and the second memory, the white balance adjustment unit and the white balance data recording unit are executed, and the white balance data setting unit includes: Set the white balance data adjusted by the white balance data adjusting means,
The white balance adjusting means is provided in the processor;
The white balance data recording means is
When it is determined that the corresponding white balance data is recorded only in the second memory,
The second white balance data to that electronic endoscope apparatus, characterized in that also recorded in the first memory to be recorded in the memory the corresponding and.
前記第1メモリおよび前記第2メモリのいずれにも前記ホワイトバランスデータが記録されていない場合、前記ホワイトバランス調整手段によるホワイトバランス調整の実行必要性をオペレータに指示するホワイトバランス調整指示手段をさらに有することを特徴とする請求項1に記載の電子内視鏡装置。  When the white balance data is not recorded in either the first memory or the second memory, the apparatus further includes white balance adjustment instruction means for instructing an operator whether or not white balance adjustment is to be performed by the white balance adjustment means. The electronic endoscope apparatus according to claim 1.
JP2003196903A 2003-07-15 2003-07-15 Electronic endoscope device with adjustable white balance Expired - Fee Related JP4448299B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003196903A JP4448299B2 (en) 2003-07-15 2003-07-15 Electronic endoscope device with adjustable white balance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003196903A JP4448299B2 (en) 2003-07-15 2003-07-15 Electronic endoscope device with adjustable white balance

Publications (2)

Publication Number Publication Date
JP2005034166A JP2005034166A (en) 2005-02-10
JP4448299B2 true JP4448299B2 (en) 2010-04-07

Family

ID=34207204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003196903A Expired - Fee Related JP4448299B2 (en) 2003-07-15 2003-07-15 Electronic endoscope device with adjustable white balance

Country Status (1)

Country Link
JP (1) JP4448299B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4504339B2 (en) * 2006-09-22 2010-07-14 オリンパスメディカルシステムズ株式会社 Endoscope device
JP2008224869A (en) * 2007-03-09 2008-09-25 Sony Corp Projector and its control method
JP5388886B2 (en) * 2010-02-03 2014-01-15 Hoya株式会社 Electronic scope
JP5560215B2 (en) * 2011-02-17 2014-07-23 富士フイルム株式会社 Endoscope device
JP5913844B2 (en) * 2011-06-30 2016-04-27 Hoya株式会社 Endoscope device
JP5815162B2 (en) * 2013-05-20 2015-11-17 オリンパス株式会社 Imaging device
JP6043016B2 (en) 2014-06-17 2016-12-14 オリンパス株式会社 Endoscope system, white balance adjustment method thereof, and image processing apparatus for endoscope
WO2016120907A1 (en) 2015-01-30 2016-08-04 オリンパス株式会社 Illumination device, endoscopic system, and color correction device

Also Published As

Publication number Publication date
JP2005034166A (en) 2005-02-10

Similar Documents

Publication Publication Date Title
JP4504339B2 (en) Endoscope device
JP2006325672A (en) Endoscope apparatus
JP4448299B2 (en) Electronic endoscope device with adjustable white balance
JP5751869B2 (en) Electronic endoscope apparatus, processor for electronic endoscope, and electronic endoscope system
JP2008113177A (en) Electronic endoscope apparatus
JP4801381B2 (en) Electronic endoscope device
JP4475874B2 (en) Processor for electronic endoscope device
JP5210991B2 (en) Calibration method and apparatus
JP5030394B2 (en) Endoscopic image display device and control method thereof
JP4010816B2 (en) Electronic endoscope device
JP2008110004A (en) Electronic endoscope apparatus
JP4246320B2 (en) Electronic endoscope
CN106999003B (en) Endoscope system
JP2007111326A (en) Endoscope system
JP4390536B2 (en) Endoscope white balance adjustment device and electronic endoscope device
JP4406227B2 (en) Endoscope apparatus capable of white balance adjustment, endoscope processor, and white balance adjustment method and program
JP2002263064A (en) Automatic dimmer for endoscope and processor of electronic endoscope apparatus containing the same
JP4554891B2 (en) Electronic endoscope device with adjustable white balance
JP2008136732A (en) Triple-pickup device type electronic endoscope and electronic endoscope system
JP4618982B2 (en) Enlarged display electronic endoscope device
JPH10262922A (en) Electronic endoscope equipment
JP2005169139A (en) Electronic endoscope apparatus
JP4390479B2 (en) Electronic endoscope device with adjustable white balance
JPH09113820A (en) Color adjusting circuit of electronic endoscope device
JP4598187B2 (en) Endoscope device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060614

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080501

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090803

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090924

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091102

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100122

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

Free format text: PAYMENT UNTIL: 20130129

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

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees