JP4827387B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP4827387B2
JP4827387B2 JP2004202763A JP2004202763A JP4827387B2 JP 4827387 B2 JP4827387 B2 JP 4827387B2 JP 2004202763 A JP2004202763 A JP 2004202763A JP 2004202763 A JP2004202763 A JP 2004202763A JP 4827387 B2 JP4827387 B2 JP 4827387B2
Authority
JP
Japan
Prior art keywords
image
endoscope
index
circuit
memory
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
JP2004202763A
Other languages
Japanese (ja)
Other versions
JP2005131363A (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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2004202763A priority Critical patent/JP4827387B2/en
Publication of JP2005131363A publication Critical patent/JP2005131363A/en
Application granted granted Critical
Publication of JP4827387B2 publication Critical patent/JP4827387B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

内視鏡から得られる被写体像を内視鏡画像として出力し、かつ前記内視鏡画像に関連する内視鏡関連情報を前記内視鏡画像と共に出力する画像処理装置に関する。   The present invention relates to an image processing apparatus that outputs a subject image obtained from an endoscope as an endoscopic image and outputs endoscopic-related information related to the endoscopic image together with the endoscopic image.

従来より、内視鏡から得られる被写体像を内視鏡画像として出力し、かつ前記内視鏡画像に関連する内視鏡関連情報を前記内視鏡画像と共に出力する画像処理装置が提案されている。例えば、特許文献1においては、内視鏡画像の画像範囲に応答して内視鏡関連情報の文字データの項目数や表示状態を変更している。また、特許文献2においては、内視鏡関連情報の文字数切り替え手段を備えている。
特開平9−154810号公報 特開2000−237122号公報 特願2002−072935号公報 特願2002−070497号公報 特開平7−289507号公報 特許第2656951号公報
Conventionally, there has been proposed an image processing apparatus that outputs a subject image obtained from an endoscope as an endoscope image and outputs endoscope-related information related to the endoscope image together with the endoscope image. Yes. For example, in Patent Document 1, the number of items and the display state of the character data of the endoscope related information are changed in response to the image range of the endoscope image. Further, Patent Document 2 is provided with a character number switching means for endoscope related information.
JP-A-9-154810 JP 2000-237122 A Japanese Patent Application No. 2002-072935 Japanese Patent Application No. 2002-070497 JP 7-289507 A Japanese Patent No. 2656951

しかしながら、前述した従来例においては、内視鏡画像から作成されるインデックス画像(後述する)に関する制御を、内視鏡の種類ごとに行っていなかった。また、内視鏡画像の画像範囲によっては、内視鏡画像がインデックス画像と重なってしまう為、内視鏡画像が見にくくなり、使用者にとって不便であった。   However, in the above-described conventional example, control related to an index image (described later) created from an endoscope image is not performed for each type of endoscope. Also, depending on the image range of the endoscopic image, the endoscopic image overlaps with the index image, making it difficult to see the endoscopic image, which is inconvenient for the user.

また、「内視鏡に応じた最適なインデックス画像を表示できない。」や「記録される内視鏡画像にインデックス画像も記録されてしまう為、使用者によっては、記録画像の確認の際、内視鏡画像が見にくくなる。」などがあり、使用者にとって不便であった。   In addition, “the optimal index image corresponding to the endoscope cannot be displayed” or “the index image is also recorded in the recorded endoscopic image. It is difficult for the user to see the endoscopic image. "

一方、前述した従来例においては、内視鏡に格納された内視鏡関連情報に関して制御を行っていなかった。そのため、内視鏡画像の画像範囲によっては、内視鏡画像が、内視鏡に格納された内視鏡関連情報と重なってしまう為、内視鏡画像が見にくくなり、使用者にとって不便であった。   On the other hand, in the above-described conventional example, control is not performed on the endoscope related information stored in the endoscope. Therefore, depending on the image range of the endoscopic image, the endoscopic image overlaps with endoscope-related information stored in the endoscope, making it difficult to see the endoscopic image, which is inconvenient for the user. It was.

また、「使用者が、任意に内視鏡に格納された内視鏡関連情報の表示制御を行いたい要望があった」、「内視鏡に格納された内視鏡関連情報の内、ホワイトバランスデータが格納されているか、格納されていないか、使用者が容易に判断することができず、使用しづらかった。」、「光源の種類によって、ホワイトバランス処理が異なっていた。」などの問題があった。   In addition, “the user has requested to arbitrarily control the display of the endoscope related information stored in the endoscope”, “in the endoscope related information stored in the endoscope, white Whether the balance data is stored or not stored cannot be easily determined by the user and is difficult to use. "," White balance processing differs depending on the type of light source. " There was a problem.

上記課題に鑑み、本発明は、インデックス画像又は内視鏡に格納された内視鏡関連情報を使用者に容易かつ最適に制御できる画像処理装置を提供する。   In view of the above problems, the present invention provides an image processing apparatus that can easily and optimally control an endoscope-related information stored in an index image or an endoscope.

上記課題は、特許請求の範囲の請求項1に記載の発明によれば、内視鏡により撮影した内視鏡画像を含む出力画像を形成して出力する画像処理装置であって、内視鏡により撮影した前記内視鏡画像を取得する取得手段と、前記取得手段により取得した前記内視鏡画像のうち所定の画像であるインデックス画像を記憶する記憶手段と、前記内視鏡の種類または接続される周辺装置の少なくとも一方に応じて、前記出力画像内での前記内視鏡画像の出力形態と前記インデックス画像の出力形態を制御する第1の出力形態制御手段と、前記画像処理装置の外部からの指示に応じて、前記内視鏡画像の出力形態を制御する第2の出力形態制御手段と、前記出力画像内での前記第2の出力形態制御手段により画像サイズが変更された前記内視鏡画像と前記インデックス画像の重なりの有無を、前記出力画像での前記内視鏡画像の座標と前記インデックス画像の座標とに基づいて、演算により判断する判断手段と、前記判断手段により前記重なりがあると判断される場合に、前記第2の出力形態制御手段により画像サイズが変更された前記内視鏡画像と重なりがあると判断された前記インデックス画像を前記出力画像から消去する第3の出力形態制御手段と、を備える
ことを特徴とする画像処理装置を提供することによって達成できる。
According to the first aspect of the present invention, there is provided an image processing apparatus that forms and outputs an output image including an endoscopic image photographed by an endoscope. Acquisition means for acquiring the endoscopic image captured by the imaging means, storage means for storing an index image that is a predetermined image among the endoscope images acquired by the acquisition means, and the type or connection of the endoscope A first output form control means for controlling the output form of the endoscopic image and the output form of the index image in the output image according to at least one of the peripheral devices to be operated, and the outside of the image processing apparatus In accordance with an instruction from the second output form control means for controlling the output form of the endoscopic image, and the inner size in which the image size has been changed by the second output form control means in the output image . Endoscopic image and front The presence or absence of overlap of the index image, based on the coordinates of the endoscopic image coordinates and the index image in the output image, is determined and determining means for determining by calculation, and there the overlap by the determining means A third output form control means for erasing the index image determined to overlap with the endoscopic image whose image size has been changed by the second output form control means. It can achieve by providing the image processing apparatus characterized by including these.

上記課題は、特許請求の範囲の請求項2に記載の発明によれば、請求項1に記載の画像処理装置を備えたことを特徴とする内視鏡システムを提供することによって達成できる。 According to the second aspect of the present invention, the above object can be achieved by providing an endoscope system including the image processing apparatus according to the first aspect .

本発明を用いることにより、内視鏡(又はCCD)の種類によって、内視鏡画像に合わせて、インデックス画像または内視鏡関連情報の出力形態を制御でき、使用者が観察しやすい表示画像を提供することができる。   By using the present invention, the output form of the index image or the endoscope related information can be controlled in accordance with the endoscope image depending on the type of the endoscope (or CCD), and a display image that is easy for the user to observe is displayed. Can be provided.

<第1の実施形態>
以下、図面を参照しながら本発明の実施の形態について述べる。
図1Aは、内視鏡システムの全体構成の一実施例を示す。図2(図2−1〜図2−4)は、プロセッサ13の詳細図を示す。図1Aにおいて、内視鏡1は、患者の体腔内に挿入する挿入部先端に設けられたCCD2と、挿入部先端へ観察照明光を導くライトガイド7と、内視鏡の操作を行う操作部に設けられた操作スイッチ部3と、プロセッサ13と接続する為のコネクタ15と、プログラムや内視鏡固有情報データ(CCDの種類、スコープ種類、スコープのシリアルナンバー、複数のホワイトバランスデータ、鉗子チャネルの数やチャネル径、CPU9への通電回数、操作スイッチ部3の押下回数、挿入部の屈曲特性など)を記憶する不揮発性のメモリ8(EEPROM,FLASH ROM,FRAM,FeRAM,MRAM,OUM,バッテリー付きSRAM,等である。CPU9とのインターフェースは、パラレルインターフェース、シリアルインターフェースどちらでもよい)と、メモリ8へのデータ読み出しや書き込み制御、またメモリ8に格納されたデータをプロセッサ13と信号線11a,コネクタ15,ケーブル32,コネクタ31,信号線11bを経由して送受信したり、演算処理(スコープの接続回数の演算、操作スイッチ部の押下回数の演算、CPU9への通電回数の演算等)を行うCPU9(シリアルインターフェースやパラレルインターフェース,ウォッチドッグタイマ,タイマ,SRAM,プログラム用FLASH ROMなどを内蔵する)と、プロセッサ13からの供給される電源の変動時やCPU9のウォッチドッグタイマによりリセット処理を行うRESET回路10を備えて構成される。
<First Embodiment>
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1A shows an example of the overall configuration of an endoscope system. FIG. 2 (FIGS. 2-1 to 2-4) shows a detailed view of the processor 13. FIG. In FIG. 1A, an endoscope 1 includes a CCD 2 provided at the distal end of an insertion portion that is inserted into a body cavity of a patient, a light guide 7 that guides observation illumination light to the distal end of the insertion portion, and an operation portion that operates the endoscope. The operation switch section 3 provided in the connector, the connector 15 for connecting to the processor 13, the program and endoscope specific information data (CCD type, scope type, scope serial number, multiple white balance data, forceps channel) Nonvolatile memory 8 (EEPROM, FLASH ROM, FRAM, FeRAM, MRAM, OUM, battery, etc.) that stores the number of channels, the channel diameter, the number of times the CPU 9 is energized, the number of times the operation switch 3 is pressed, the bending characteristics of the insertion portion, etc. SRAM, etc. The interface with the CPU 9 is parallel interface, serial interface. The data read / write control to the memory 8 and the data stored in the memory 8 via the processor 13, the signal line 11a, the connector 15, the cable 32, the connector 31, and the signal line 11b. CPU 9 (serial interface, parallel interface, watchdog timer, timer, SRAM, etc.) that performs transmission / reception and arithmetic processing (calculation of the number of times the scope is connected, calculation of the number of times the operation switch is pressed, calculation of the number of times of energization to the CPU 9) And a RESET circuit 10 that performs a reset process when the power supplied from the processor 13 fluctuates or by a watchdog timer of the CPU 9.

なおプロセッサ13からCPU9、メモリ8、RESET回路10に電源を供給する方法は、駆動回路63(図2参照)から6a,6bを経由して送られるCCD2の駆動電源を用いても良いし、(図示しない)専用の電源線を使用しても良い。操作スイッチ部3のスイッチON/OFF信号(駆動回路63から供給される電源レベルやGNDレベルに相当する)は、信号線4a,コネクタ15,ケーブル32,コネクタ31,信号線4bを経由してパラシリ回路64(図2参照)に入力される。   As a method of supplying power from the processor 13 to the CPU 9, the memory 8, and the RESET circuit 10, the driving power of the CCD 2 sent from the driving circuit 63 (see FIG. 2) via 6a and 6b may be used. A dedicated power supply line (not shown) may be used. A switch ON / OFF signal (corresponding to a power supply level or a GND level supplied from the drive circuit 63) of the operation switch unit 3 is transmitted through the signal line 4a, the connector 15, the cable 32, the connector 31, and the signal line 4b. Input to the circuit 64 (see FIG. 2).

CCD2で撮像された内視鏡画像は、信号線5a,コネクタ15,ケーブル32,コネクタ31,信号線5bを経由し、プロセッサ13内のCDS回路51(図2参照)に入力される。   The endoscopic image captured by the CCD 2 is input to the CDS circuit 51 (see FIG. 2) in the processor 13 via the signal line 5a, the connector 15, the cable 32, the connector 31, and the signal line 5b.

CPU9からデータを送受信する信号は信号線11a,コネクタ15,ケーブル32,コネクタ31,信号線11bを経由し、プロセッサ13内の絶縁回路54に入力される(なお、インターフェースは、本実施例のようなシリアルインターフェースの他、パラレルインターフェースでも良い。)。   A signal for transmitting and receiving data from the CPU 9 is input to the insulating circuit 54 in the processor 13 via the signal line 11a, the connector 15, the cable 32, the connector 31, and the signal line 11b (note that the interface is as in this embodiment). In addition to a serial interface, a parallel interface may be used.)

CCD2を駆動する駆動信号は、プロセッサ13内の駆動回路64から信号線6b,コネクタ31,ケーブル32,コネクタ14,信号線6aを経由してCCD2に入力される。コネクタ15に実装されている内視鏡1(もしくはCCD2)検知信号はケーブル32,コネクタ31,信号線12bを経由してプロセッサ13内の絶縁回路54に入力される。   A drive signal for driving the CCD 2 is input to the CCD 2 from the drive circuit 64 in the processor 13 via the signal line 6b, the connector 31, the cable 32, the connector 14, and the signal line 6a. The endoscope 1 (or CCD 2) detection signal mounted on the connector 15 is input to the insulation circuit 54 in the processor 13 via the cable 32, the connector 31, and the signal line 12b.

光源17は、観察光を生成する白色光を発光するランプ18と、ランプ18の観察光をRGBの面順次光に変換する為のRGBフィルタ19と、ランプ18から観察光の特定波長をカットして特殊光を生成する複数、例えば3つの特殊光フィルタ20a,20b,20cと、ランプ18からの観察光の光量を制御するしぼり16と、RGBフィルタ19及び特殊光フィルタ20a,20b,20cの切替を行うと共にしぼり16を制御するフィルタ切替+しぼり制御21と、光量調整や電源ON/OFF、ランプ点灯/消灯、透過照明、フィルタ切替など各種設定を行う操作パネル25と、プログラムや光量調整データやランプ寿命,光源のシリアルナンバー,フィルタ19,20a,20b,20cの種類、メンテナンス情報などを記憶する不揮発性のメモリ23(EEPROM,FLASH ROM,FRAM,FeRAM,MRAM,OUM,バッテリー付きSRAM等。パラレルインターフェース、シリアルインターフェースどちらでもよい)と、メモリ23へのデータ読み出し/書き込み制御及び、メモリ23に格納されたデータを信号線28a,28bを経由してプロセッサ13と送受信したり、フィルタ切替+しぼり制御21や操作パネル25を制御するCPU24と、プロセッサ13からの調光信号をアナログ信号に変更しフィルタ切替+しぼり制御21に出力することでしぼり25を制御させるD/A変換器22からなる。   The light source 17 cuts a specific wavelength of the observation light from the lamp 18 that emits white light that generates observation light, an RGB filter 19 that converts the observation light of the lamp 18 into RGB frame sequential light, and the lamp 18. A plurality of, for example, three special light filters 20a, 20b, and 20c that generate special light, a throttle 16 that controls the amount of observation light from the lamp 18, and an RGB filter 19 and special light filters 20a, 20b, and 20c. And a filter switching + squeezing control 21 for controlling the squeezing 16, an operation panel 25 for performing various settings such as light amount adjustment, power ON / OFF, lamp on / off, transmitted illumination, filter switching, a program, light amount adjustment data, Stores lamp life, light source serial number, types of filters 19, 20a, 20b, 20c, maintenance information, etc. Non-volatile memory 23 (EEPROM, FLASH ROM, FRAM, FeRAM, MRAM, OUM, SRAM with battery, etc. Either parallel interface or serial interface), data read / write control to memory 23, and storage in memory 23 The received data is transmitted / received to / from the processor 13 via the signal lines 28a and 28b, the CPU 24 for controlling the filter switching + squeezing control 21 and the operation panel 25, and the dimming signal from the processor 13 is changed to an analog signal to be filtered. It comprises a D / A converter 22 that controls the squeezing 25 by outputting it to the switching + squeezing control 21.

CPU24内のSIOからデータを送受信する信号は、信号線28a,コネクタ26,ケーブル34,コネクタ33,信号線28bを経由し、プロセッサ13内の制御回路67内のSIO250(図7参照)に入力される。   A signal for transmitting and receiving data from the SIO in the CPU 24 is input to the SIO 250 (see FIG. 7) in the control circuit 67 in the processor 13 via the signal line 28a, the connector 26, the cable 34, the connector 33, and the signal line 28b. The

D/A変換器22に入力される信号は、CCD2で撮像された内視鏡画像の光量情報(測光信号、調光信号など)を示し、プロセッサ13の絶縁回路66から信号線27b,コネクタ33,ケーブル34,コネクタ26,信号線27aを経由して入力される(データ形式はパラレル又は同期式シリアル、もしくは調歩同期式であってもよい)。   The signal input to the D / A converter 22 indicates light quantity information (photometric signal, dimming signal, etc.) of the endoscopic image captured by the CCD 2, and the signal line 27 b and connector 33 from the insulating circuit 66 of the processor 13. , Cable 34, connector 26, and signal line 27a (data format may be parallel, synchronous serial, or asynchronous).

29bは光源の種類の検知する信号であり、光源17の場合は、GNDに接続された信号29aがコネクタ26,ケーブル34,コネクタ33を経由してプロセッサ13内の制御回路67内のPIO251に入力される。プロセッサ13ではPIO251を経由してCPU74がLOWの信号レベルを検出することにより、光源の種類(光源17)を判別できる。なお、CPU24内のシリアルインターフェース回路SIOがなく、プロセッサ13との通信機能を有さない光源17aもある(図1B参照)。   29b is a signal for detecting the type of the light source. In the case of the light source 17, the signal 29a connected to GND is input to the PIO 251 in the control circuit 67 in the processor 13 via the connector 26, the cable 34 and the connector 33. Is done. In the processor 13, the CPU 74 detects the LOW signal level via the PIO 251, whereby the type of light source (light source 17) can be determined. There is also a light source 17a that does not have a serial interface circuit SIO in the CPU 24 and does not have a communication function with the processor 13 (see FIG. 1B).

D/A変換器37の出力を有し、プロセッサ13は、CPU24a,D/A変換器37,信号線38a,コネクタ26,ケーブル34a,信号線38b,A/D変換器68,PIO251を経由して、光源17aの操作パネル25にて調整された調光信号を得る(なお、光源17接続時では、前記操作パネル25にて調整された調光信号は、CPU24内のSIOを経由したデータの送受信にて行う。)。   The processor 13 has an output of the D / A converter 37, and the processor 13 passes through the CPU 24a, the D / A converter 37, the signal line 38a, the connector 26, the cable 34a, the signal line 38b, the A / D converter 68, and the PIO 251. Thus, a dimming signal adjusted by the operation panel 25 of the light source 17a is obtained (Note that when the light source 17 is connected, the dimming signal adjusted by the operation panel 25 is the data transmitted via the SIO in the CPU 24). (Send and receive.)

29bは、光源17aの場合はOPENになっている。プロセッサ13側でプルアップとなるため、信号レベルが“Hi”となりその結果、プロセッサ13ではPIO251を経由してCPU74がHIの信号レベルを検出することにより、光源の種類(光源17a)を判別できる。   29b is OPEN in the case of the light source 17a. Since the signal is pulled up on the processor 13 side, the signal level becomes “Hi”. As a result, the processor 13 detects the HI signal level via the PIO 251, thereby determining the type of light source (light source 17 a). .

プロセッサ13は、制御動作を行うキーボード14、後述する複数の周辺機器と接続される(キーボード14、複数の周辺機器とプロセッサ13間のケーブル、コネクタの詳細は省略する。)。なお、プロセッサ13と接続される全ての機器間のケーブルは取り外しが自由なように着脱可能であっても良いし、容易に外れないようにケーブル間が一体になっていても良い。電源ケーブルやアース線も同様である。   The processor 13 is connected to a keyboard 14 that performs a control operation and a plurality of peripheral devices to be described later (details of the keyboard 14, cables between the plurality of peripheral devices and the processor 13, and connectors are omitted). Note that cables between all devices connected to the processor 13 may be detachable so that they can be freely detached, or the cables may be integrated so as not to be easily disconnected. The same applies to power cables and ground wires.

図2において、内視鏡1内のCCD2で撮像された内視鏡画像は、信号線5a,コネクタ15,ケーブル32,コネクタ31,信号線5bを経由しCDS回路51に入力されてCDS処理をされた後、A/D変換器52によりアナログ→デジタル変換され、周波数変換器53により所定の周波数(例えば、13.5MHz)に変換し、フォトカプラなどの絶縁回路54を通し、映像処理回路1(55),映像処理回路2(57),合成処理回路(102)で画像処理やマスク処理、内視鏡関連情報などの文字重畳処理された後、その内視鏡合成画像をD/A変換器59でデジタル→アナログ変換され、調整回路60にてレベル調整された後、合成処理回路1(61)を経由して、複数の周辺機器に出力される(詳細は後述)。   In FIG. 2, an endoscopic image captured by the CCD 2 in the endoscope 1 is input to the CDS circuit 51 via the signal line 5a, the connector 15, the cable 32, the connector 31, and the signal line 5b to perform CDS processing. After that, the analog-to-digital conversion is performed by the A / D converter 52, the frequency converter 53 converts the analog signal into a predetermined frequency (for example, 13.5 MHz), and the image processing circuit 1 is passed through the insulating circuit 54 such as a photocoupler. (55), the video processing circuit 2 (57) and the composition processing circuit (102) are subjected to image superposition processing such as image processing, mask processing, and endoscope related information, and then D / A convert the endoscope composite image. After digital-to-analog conversion by the device 59 and level adjustment by the adjustment circuit 60, the signal is output to a plurality of peripheral devices via the synthesis processing circuit 1 (61) (details will be described later).

また、デジタルエンコーダー62では、Y/C信号やコンポジット信号などに変換後、複数の周辺機器に出力される(内視鏡関連情報とは、患者ID,名前,生年月日,性別,年齢,現在時刻,診察しているドクター名,コメント,内視鏡1,CCD2の種類,内視鏡1に関する情報(例えば、シリアルナンバー、鉗子チャネルの数、各チャネル径、操作スイッチ3に割り当てられた機能、メモリ8に格納された内視鏡毎の固有情報など)、インデックス画像などのことを言う。)。   Also, the digital encoder 62 converts the signal into a Y / C signal, composite signal, etc. and outputs it to a plurality of peripheral devices (the endoscope related information includes patient ID, name, date of birth, gender, age, current Time, name of doctor being examined, comment, type of endoscope 1, CCD 2, information on endoscope 1 (for example, serial number, number of forceps channels, diameter of each channel, function assigned to operation switch 3, This refers to the unique information for each endoscope stored in the memory 8), the index image, etc.).

一方、脱着可能なオプション基板116がプロセッサ13に装着された場合は、オプション基板検知信号117がGNDに接続される。CPU74は制御回路(67)を経由して、検知信号117がLOWレベルであることを検出し、映像処理回路1(55)、映像処理回路2(57)にて内視鏡画像の切替を行う(詳細は後述)。   On the other hand, when the detachable option board 116 is attached to the processor 13, the option board detection signal 117 is connected to GND. The CPU 74 detects that the detection signal 117 is at the LOW level via the control circuit (67), and switches the endoscopic image in the video processing circuit 1 (55) and the video processing circuit 2 (57). (Details will be described later).

オプション基板116では、HDTV,SXGA,UXGA,QXGA,QSXGAなど高画質なアナログもしくはデジタル内視鏡画像、内視鏡合成信号を出力する。オプション基板116接続時は、映像処理回路1(55)の出力が映像処理回路3(89)に入力され、IHbや色ずれ防止などの映像処理が行われた後、周波数変換3(115)及び映像処理回路1(55)に出力される。   The option board 116 outputs high-quality analog or digital endoscopic images such as HDTV, SXGA, UXGA, QXGA, and QSXGA, and an endoscope composite signal. When the option board 116 is connected, the output of the video processing circuit 1 (55) is input to the video processing circuit 3 (89), video processing such as prevention of IHb and color misregistration is performed, and then the frequency conversion 3 (115) and It is output to the video processing circuit 1 (55).

周波数変換3(115)で周波数変換を行い(例えば、74MHz)、映像処理回路4(94)、映像+合成処理回路(93)で画像処理やマスク処理、内視鏡関連情報、インデックス画像などの文字・画像重畳処理された後、その内視鏡合成画像をD/A変換器97でデジタル→アナログ変換され、調整回路98にてレベル調整された後、合成処理回路2(99)を経由して、周辺機器に出力される(詳細は後述)。   Frequency conversion is performed by frequency conversion 3 (115) (for example, 74 MHz), and image processing and mask processing, endoscope related information, index image, and the like are performed by video processing circuit 4 (94) and video + composition processing circuit (93). After the character / image superimposition processing, the endoscope composite image is digital-to-analog converted by the D / A converter 97 and level-adjusted by the adjustment circuit 98, and then passes through the synthesis processing circuit 2 (99). To the peripheral device (details will be described later).

またSerial DRV(96)で、内視鏡合成画像をLVDS,PanelLink,GVIF,HD−SDI,DVI,DV,MPEG,JPEGなどのシリアルデジタルデータに変換して、記録装置(100)などに出力することで、画質劣化のないデジタル信号が記録、表示可能となる。   In addition, the serial DRV (96) converts the endoscope composite image into serial digital data such as LVDS, PanelLink, GVIF, HD-SDI, DVI, DV, MPEG, JPEG, etc., and outputs it to the recording device (100). As a result, a digital signal without image quality deterioration can be recorded and displayed.

内視鏡1(もしくはCCD2)検知信号は、信号線12bを経由して絶縁回路54を通過後、映像処理回路1(55)に入力され、内視鏡1(もしくはCCD2)ごとの画像処理(ホワイトバランス、色調など)が行われる。   The endoscope 1 (or CCD 2) detection signal passes through the insulating circuit 54 via the signal line 12b, and is then input to the video processing circuit 1 (55), and image processing for each endoscope 1 (or CCD 2) ( White balance, color tone, etc.).

またCPU74は、映像処理回路1(55)のCPUI/F158、バッファドライバBUF1(78)を経由して内視鏡1(もしくはCCD2)検知データをREADし、その検知データを、バッファドライバBUF1(78)、バッファドライバBUF2(79)を経由して、映像処理回路1(55)、映像処理回路2(57)、合成処理回路(102)、映像処理回路3(89)、映像処理回路4(94)、映像+合成処理回路(93)に出力する。   Further, the CPU 74 reads the endoscope 1 (or CCD2) detection data via the CPU I / F 158 of the video processing circuit 1 (55) and the buffer driver BUF1 (78), and sends the detection data to the buffer driver BUF1 (78). ), Through the buffer driver BUF2 (79), the video processing circuit 1 (55), the video processing circuit 2 (57), the composition processing circuit (102), the video processing circuit 3 (89), and the video processing circuit 4 (94). ) And output to the video + compositing processing circuit (93).

各回路は、内視鏡1(もしくはCCD2)検知信号ごとの画像処理、マスク処理、文字重畳処理を行う(詳細は、図17参照)。操作スイッチ部3のスイッチON/OFF信号は、信号線4bを経由してパラシリ回路64に入力され、同期式または調歩同期式シリアルデータに変換された後、絶縁回路54を通り、制御回路67内のシリパラ回路253でシリパラ変換される。   Each circuit performs image processing, mask processing, and character superimposition processing for each endoscope 1 (or CCD 2) detection signal (see FIG. 17 for details). The switch ON / OFF signal of the operation switch unit 3 is input to the parallel circuit 64 via the signal line 4b and converted into synchronous or asynchronous serial data, and then passes through the insulating circuit 54 to enter the control circuit 67. The serial-parallel circuit 253 performs serial-parallel conversion.

CPU74はCPUI/F252、バッファドライバBUF1(78)を経由してREADすることで、スイッチ部3にある複数のスイッチのどれがONになっているかを判別し、各スイッチごとに割り当てられた処理動作を行う(詳細は表5参照)。内視鏡1内のCPU9からのデータ信号は、絶縁回路54を通過後、制御回路67のシリアルインターフェース部SIO(250)に入力される。   The CPU 74 reads out via the CPU I / F 252 and the buffer driver BUF1 (78) to determine which of the plurality of switches in the switch unit 3 is ON, and the processing operation assigned to each switch (See Table 5 for details). A data signal from the CPU 9 in the endoscope 1 passes through the insulating circuit 54 and is then input to the serial interface unit SIO (250) of the control circuit 67.

調光回路(65)は、CDS51から出力される内視鏡画像から光量情報(測光信号、調光信号など)を算出し、パラシリ回路(64)にてシリアルデータに変換した後、絶縁回路66を通過して信号線27bにて送信される。制御回路67は、前記処理の他、各周辺機器とシリアルインターフェース、またはパラレルインターフェースによるデータの送受信、キーボード14とのシリアルインターフェース、信号線28bを経由した光源17とのインターフェース、A/D変換器68でアナログ→デジタル変換された光源17aの調光信号デジタル信号の入力、フロントパネル69とのインターフェース、ブザー71制御、内視鏡合成画像の信号レベルの微調整を行う(電子ボリューム、VCAなどの)調整回路60,98の制御、などを行う。   The dimming circuit (65) calculates light quantity information (photometry signal, dimming signal, etc.) from the endoscopic image output from the CDS 51, and converts it into serial data by the parallel circuit (64). Is transmitted through the signal line 27b. In addition to the above processing, the control circuit 67 transmits / receives data to / from each peripheral device through a serial interface or parallel interface, a serial interface with the keyboard 14, an interface with the light source 17 via the signal line 28 b, and an A / D converter 68. Input the dimming signal digital signal of the light source 17a converted from analog to digital in step 1, interface with the front panel 69, buzzer 71 control, fine adjustment of the signal level of the endoscope composite image (electronic volume, VCA, etc.) The adjustment circuits 60 and 98 are controlled.

CPU74は、システムバス118を経由して、以下の回路を制御する(READ,WRITEするレジスタは図17参照)。
・プログラム関連データ、内視鏡情報データ、内視鏡画像データなどを格納するRAM76(SRAM,SDRAM,DRAM,RDRAMなどWORK処理用の揮発性メモリ。パラレルインターフェース、シリアルインターフェースどちらでも良い)
・時計などの管理するリアルタイムクロックRTC81
・プログラムデータ、プログラムのバージョン、ETHERNET(登録商標)のMACアドレス等を格納するプログラムROM83
・プログラム動作のログやメンテナンス情報などを格納するログデータ格納ROM82
・フロントパネル69やキーボード14の設定情報、各種設定画面情報、ホワイトバランスデータなど、電源OFF時もデータを保持すべき内視鏡関連情報を格納するBACKUP RAM77(EEPROM,FLASH ROM,FRAM,FeRAM,MRAM,OUM,バッテリー付きSRAM等)
・内視鏡関連情報、内視鏡合成画像、リモート信号等をUSB1.0,1.1,2.0などのインターフェースで記録装置(86)に送受信するUSB回路85
・内視鏡関連情報、内視鏡合成画像、リモート信号等を、10Base−T,100Base−TX,1000Base−Tや1000Base−X(GIGAETHERNET),無線LANなどEthernet規格に準ずるインターフェースで記録装置(87)に送受信するETHERNET回路部84
・各回路にチップセレクト信号を送信するアドレスデコーダー80
・バスドライバBUF1(78)を経由して接続されるコンフィグレーションIC1(109)、コンフィグレーションIC2(105)、コンフィグレーションIC4(72)、映像処理回路1(55)、映像処理回路2(57)、合成処理回路(102)、制御回路(67)、グラフィック処理回路1(103)
・バスドライバBUF2(79)を経由して接続される、映像処理回路3(89)、映像処理回路4(94),映像+合成処理回路(93)、コンフィグレーションIC3(91)。
The CPU 74 controls the following circuits via the system bus 118 (refer to FIG. 17 for registers for READ and WRITE).
-RAM 76 for storing program-related data, endoscope information data, endoscope image data, etc. (volatile memory for WORK processing such as SRAM, SDRAM, DRAM, RDRAM, etc. Either parallel interface or serial interface may be used)
・ Real time clock RTC81 to manage such as clock
Program ROM 83 for storing program data, program version, MAC address of ETHERNET (registered trademark), etc.
A log data storage ROM 82 for storing program operation logs and maintenance information
BACKUP RAM 77 (EEPROM, FLASH ROM, FRAM, FeRAM, etc.) for storing endoscope related information that should be retained even when the power is turned off, such as setting information on the front panel 69 and keyboard 14, various setting screen information, white balance data, etc. MRAM, OUM, SRAM with battery, etc.)
A USB circuit 85 that transmits / receives endoscope related information, an endoscope composite image, a remote signal, and the like to / from the recording device (86) through an interface such as USB 1.0, 1.1, or 2.0.
Endoscope-related information, endoscope composite images, remote signals, etc. are recorded with an interface conforming to the Ethernet standard such as 10Base-T, 100Base-TX, 1000Base-T, 1000Base-X (GIGAETHERNET), wireless LAN, etc. (87 ETHERNET circuit unit 84 for transmitting and receiving
Address decoder 80 that sends a chip select signal to each circuit
Configuration IC1 (109), configuration IC2 (105), configuration IC4 (72), video processing circuit 1 (55), video processing circuit 2 (57) connected via the bus driver BUF1 (78) , Synthesis processing circuit (102), control circuit (67), graphic processing circuit 1 (103)
A video processing circuit 3 (89), a video processing circuit 4 (94), a video + compositing processing circuit (93), and a configuration IC 3 (91) connected via the bus driver BUF2 (79).

RESET回路(75)はウォッチドッグタイマなどを内蔵し、電源ON時や、プログラムのハングアップ時にRESET処理を行う。
なお、映像処理回路1(55)、映像処理回路2(57),合成処理回路(102),映像処理回路3(89),映像処理回路4(94),映像+合成処理回路(93),制御回路(67)は、FPGA(Field Programmable Gate Array)で構成されており,それぞれ、コンフィグレーションIC1(109)+コンフィグレーションメモリ1(110)+コンフィグレーション回路157,159,コンフィグレーションIC2(105)+コンフィグレーションメモリ2(106)+コンフィグレーション回路172,コンフィグレーションIC3(91)+コンフィグレーションメモリ3(92)+コンフィグレーション回路200,207,210、コンフィグレーションIC4(72)+コンフィグレーションメモリ4(73)+コンフィグレーション回路(254)により、コンフィグレーション処理が行われる(詳細の動作は、特許文献3を参照。)。
The RESET circuit (75) has a built-in watchdog timer and performs a RESET process when the power is turned on or when the program is hung up.
The video processing circuit 1 (55), the video processing circuit 2 (57), the composition processing circuit (102), the video processing circuit 3 (89), the video processing circuit 4 (94), the video + composition processing circuit (93), The control circuit (67) is configured by an FPGA (Field Programmable Gate Array), and configuration IC1 (109) + configuration memory 1 (110) + configuration circuits 157 and 159, configuration IC2 (105), respectively. + Configuration memory 2 (106) + configuration circuit 172, configuration IC 3 (91) + configuration memory 3 (92) + configuration circuits 200, 207, 210, configuration IC 4 (72) + configuration The Deployment memory 4 (73) + configuration circuit (254), the configuration process is performed (details of the operation, refer to Patent Document 3.).

前記コンフィグレーションメモリは、パラレルインターフェース、シリアルインターフェースどちらでも良い。
SSG50,90は、複数の垂直同期信号、水平同期信号、ODD/EVEN判別信号を出力する。
The configuration memory may be a parallel interface or a serial interface.
The SSGs 50 and 90 output a plurality of vertical synchronization signals, horizontal synchronization signals, and ODD / EVEN discrimination signals.

垂直同期信号VD1(例えば60Hz),水平同期信号HD1(例えば15.75kHz)は、映像処理回路2(57)内の拡大・強調・同時化処理回路163内の同時化処理回路、又は映像+合成処理(93)内の同時化処理回路208より前の処理回路で使用され、パルスの出力タイミングが異なる別の垂直同期信号VD2(例えば50Hz or 60Hz),VD3(例えば50Hz or 60Hz),ODD/EVEN判別信号ODD2,ODD3,水平同期信号HD2(例えば15.75kHz or 15.625kHz),HD3(例えば33.75kHz or 28.125kHz)は拡大・強調・同時化処理回路163内の同時化処理回路、又は同時化処理回路208より後の処理回路で使用される。   The vertical synchronization signal VD1 (for example, 60 Hz) and the horizontal synchronization signal HD1 (for example, 15.75 kHz) are generated by the synchronization processing circuit in the enlargement / enhancement / synchronization processing circuit 163 in the image processing circuit 2 (57) or the image + synthesis. Another vertical synchronizing signal VD2 (for example, 50 Hz or 60 Hz), VD3 (for example, 50 Hz or 60 Hz), VDD3 (for example, 50 Hz or 60 Hz), ODD / EVEN, which are used in the processing circuit prior to the synchronization processing circuit 208 in the processing (93). The discrimination signals ODD2, ODD3, horizontal synchronization signal HD2 (for example, 15.75 kHz or 15.625 kHz), HD3 (for example, 33.75 kHz or 28.125 kHz) are the synchronization processing circuit in the enlargement / enhancement / synchronization processing circuit 163, or Used in a processing circuit after the synchronization processing circuit 208.

また、SSG50では、画像処理用に13.5MHz,27MHzのCLKを出力し、CPU74,アドレスデコーダーなど制御用に60MHz,30MHzのCLKを出力する。SSG90では、画像処理用に13.5MHz,27MHz,74MHzのCLKを出力する。なお、オプション基板116は、PCI,CompuctPCIやVMEなどのインターフェースを用いてもよく、使用者が、オプション基板116を交換可能であってもよい。その際には、オプション基板上116の一部の機能(例えば、「映像+合成処理(93)」+SerialDRV.96)だけ実装された基板を複数用意し、ユーザーの希望に応じて選択可能であっても良い。その場合には、オプション基板検知信号117を複数線用意し、複数のビットを用いることで検知しても良く、シリアルインターフェース化しても良い。   The SSG 50 outputs 13.5 MHz and 27 MHz CLK for image processing, and outputs 60 MHz and 30 MHz CLK for control of the CPU 74, address decoder, and the like. The SSG 90 outputs 13.5 MHz, 27 MHz, and 74 MHz CLK for image processing. The option board 116 may use an interface such as PCI, Compound PCI, or VME, and the user may replace the option board 116. In that case, a plurality of boards on which only a part of the functions on the option board 116 (for example, “video + compositing processing (93)” + SerialDRV.96) is mounted are prepared and can be selected according to the user's request. May be. In that case, a plurality of lines of option board detection signals 117 may be prepared and detected by using a plurality of bits, or a serial interface may be used.

図3については、後述する。
図4,図5は、プロセッサ13に接続される周辺機器の詳細を示すブロック図である。接続される周辺機器は、磁界を利用した内視鏡挿入形状観測装置などの画像形状記憶装置303,352、表示装置であるモニタ304,353,画像記録装置であるVTR305,354,プリンタ306,355,写真撮影装置307,356、ファイリング装置308,357、磁気カードへの患者情報や内視鏡情報、内視鏡画像などの読み取り、書き込みを行う磁気装置309、内視鏡1の光学ズーム処理を行う拡大コントローラ310、リモートコントロールを行うフットスイッチ311、内視鏡1の送水処理を行うPUMP312、超音波処理を行う超音波装置358、集中制御を行う集中制御装置315などからなる。
FIG. 3 will be described later.
4 and 5 are block diagrams showing details of peripheral devices connected to the processor 13. Peripheral devices to be connected are image shape storage devices 303 and 352 such as an endoscope insertion shape observation device using a magnetic field, monitors 304 and 353 as display devices, VTRs 305 and 354 as image recording devices, and printers 306 and 355. , Photography devices 307 and 356, filing devices 308 and 357, a magnetic device 309 that reads and writes patient information, endoscope information, an endoscope image, etc. to a magnetic card, and optical zoom processing of the endoscope 1 An enlargement controller 310 that performs remote control, a foot switch 311 that performs remote control, a PUMP 312 that performs water supply processing of the endoscope 1, an ultrasonic device 358 that performs ultrasonic processing, a central control device 315 that performs central control, and the like.

(画像形状記憶装置352,モニタ353,VTR354,プリンタ355、写真撮影装置356、ファイリング装置357はHDTV,SXGA,UXGA,QXGA,QSXGAなど高画質なアナログもしくはデジタル内視鏡画像、内視鏡合成画像に対応している。)
合成処理1(61)内のセレクタ302は、調整回路60やデジタルエンコーダ62からの内視鏡合成画像出力と、VTR305、プリンタ306、写真撮影装置307、ファイリング装置308からの映像信号出力を切り替えて出力する。セレクタ302で出力された映像信号の一方(例えばRGB信号)は、画像合成回路301にて画像形状記憶装置303から出力された画像形状を示す画像信号及び画像信号をマスクするマスク信号により画像合成され、信号線313を経由してモニタ304で表示される。
(Image shape storage device 352, monitor 353, VTR 354, printer 355, photography device 356, filing device 357 are HDTV, SXGA, UXGA, QXGA, QSXGA, etc., high-quality analog or digital endoscopic images, endoscope composite images It corresponds to.)
The selector 302 in the composition process 1 (61) switches between the endoscope composite image output from the adjustment circuit 60 and the digital encoder 62 and the video signal output from the VTR 305, the printer 306, the photography device 307, and the filing device 308. Output. One of the video signals output from the selector 302 (for example, an RGB signal) is synthesized by the image synthesis circuit 301 using an image signal indicating the image shape output from the image shape storage device 303 and a mask signal for masking the image signal. And displayed on the monitor 304 via the signal line 313.

またセレクタ302で出力された映像信号の他方(例えば、Y/C信号 or コンポジット信号)は、信号線314を経由してモニタ304に表示される。なお、モニタ304側に入力された複数の映像信号の切替は、制御回路67内のPIO251やSIO250を経由したパラレルインターフェース or シリアルインターフェースにて制御することで実現できる。   The other of the video signals output from the selector 302 (for example, Y / C signal or composite signal) is displayed on the monitor 304 via the signal line 314. Note that switching of a plurality of video signals input to the monitor 304 side can be realized by controlling with a parallel interface or serial interface via the PIO 251 and the SIO 250 in the control circuit 67.

切り替え操作は、キーボード14やフットスイッチ311,フロントパネル69,内視鏡1の操作スイッチ部3などの操作デバイス(以下操作デバイスという)に割り当てられた切替スイッチで行われ、制御回路67内のパラレルインターフェース回路PIO251やシリアルインターフェースSIO250又はシリパラ回路1(253)を経由してCPU74が検出する。   The changeover operation is performed by changeover switches assigned to operation devices (hereinafter referred to as operation devices) such as the keyboard 14, the foot switch 311, the front panel 69, and the operation switch unit 3 of the endoscope 1. The CPU 74 detects it via the interface circuit PIO 251, the serial interface SIO 250, or the serial circuit 1 (253).

一方、調整回路60やデジタルエンコーダ62からの内視鏡合成信号出力は、VTR305、プリンタ306、写真撮影装置307、ファイリング装置308等の記録機器に出力され、動画像もしくは静止画像が記録される。上記周辺機器の制御スイッチが操作デバイスに割り当てられ、PIO251やSIO250、シリパラ回路1(253)を経由して検出したCPU74は、PIO251やSIO250を経由して、制御信号を出力する。   On the other hand, the endoscope composite signal output from the adjustment circuit 60 and the digital encoder 62 is output to a recording device such as the VTR 305, the printer 306, the photography device 307, and the filing device 308, and a moving image or a still image is recorded. The control switch of the peripheral device is assigned to the operation device, and the CPU 74 detected via the PIO 251, the SIO 250, and the serial circuit 1 (253) outputs a control signal via the PIO 251 or the SIO 250.

制御内容の一例は、以下の通りである。なお、これらの詳細は後述する。
・記録もしくは出力する映像信号、内視鏡合成画像の選択
・記録・再生・早送り・巻き戻し・コマ送り・一時停止・印刷・画像消去の指示
・表示分割数や記録枚数の設定
・内視鏡関連情報の記録、読み出し
・記録装置への日時、時刻設定、もしくは記録装置からプロセッサ13への日時、時刻設定
拡大コントローラ310、PUMP312、磁気装置309、集中制御装置315、画像形状記憶装置303の制御も同様に、操作デバイスに割り当てられた設定キーによって行われる。具体的な制御内容は、
・拡大コントローラ310のテレ/ワイドなどの光学ズーム処理
・PUMP312の送水ON/OFF処理
・磁気カードへの患者情報や内視鏡情報、内視鏡画像などの読み取り、書き込み
画像形状記憶装置303への患者情報や内視鏡情報、内視鏡画像などの読み取り、書き込み
・集中制御装置315への患者情報や内視鏡情報、内視鏡画像などの読み取り、書き込み、装置制御
・画像合成回路301への画像合成ON/OFFなどを行う。
An example of the control content is as follows. Details of these will be described later.
・ Selection of video signal to be recorded or output and endoscope composite image ・ Recording / playback / fast forward / rewind / frame advance / pause / printing / image erasure instructions ・ Setting of display division number and number of recordings ・ Endoscope Recording and reading of related information-Date and time setting to recording device, or date and time setting from recording device to processor 13 Enlargement controller 310, PUMP 312, magnetic device 309, centralized control device 315, control of image shape storage device 303 In the same manner, the setting key assigned to the operation device is used. The specific control content is
・ Optical zoom processing such as tele / wide of enlargement controller 310 ・ Water supply ON / OFF processing of PUMP 312 ・ Reading and writing of patient information, endoscope information, endoscope image, etc. to magnetic card to image shape storage device 303 Reading and writing of patient information, endoscope information, and endoscopic images, etc. Reading and writing of patient information, endoscopic information, and endoscopic images to the central control device 315, device control, and image control circuit 301 The image composition is turned on / off.

図5において、合成処理2(99)内のセレクタ350は、調整回路98の内視鏡合成画像信号出力と、VTR354,プリンタ355,写真撮影装置356,ファイリング装置357,超音波装置358からの映像信号出力を切り替えて出力する。切り替えて出力された映像信号(例えばRGB信号もしくはYprPb信号)は、画像合成回路351にて、画像形状記憶装置352から出力された画像形状画像信号及びマスク信号により画像合成され、信号線359を経由して、モニタ353で表示される。   In FIG. 5, the selector 350 in the synthesis process 2 (99) outputs the endoscope synthesized image signal from the adjustment circuit 98, and the video from the VTR 354, printer 355, photography device 356, filing device 357, and ultrasound device 358. Switch the signal output and output. The video signal (for example, RGB signal or YprPb signal) output after switching is image-synthesized by the image synthesis circuit 351 using the image shape image signal and the mask signal output from the image shape storage device 352, and passes through the signal line 359. And displayed on the monitor 353.

モニタ353に入力される複数の映像信号(359、図4の313,314、超音波装置358の映像出力)の切替も、モニタ304と同様に、操作デバイスに割り当てられた切替スイッチの操作により、PIO251やSIO250を経由してパラレルインターフェース or シリアルインターフェースにて制御することで実現できる。   Switching of a plurality of video signals input to the monitor 353 (359, 313, 314 in FIG. 4, video output of the ultrasonic device 358) can be performed by operating the changeover switch assigned to the operation device, similarly to the monitor 304. This can be realized by controlling with a parallel interface or a serial interface via the PIO 251 or the SIO 250.

また、調整回路98やSerialDRV.96からの内視鏡合成画像信号出力は、VTR354、プリンタ355、写真撮影装置356、ファイリング装置357、超音波装置358などの記録機器に出力され、動画像もしくは静止画像が記録される。また操作デバイスに割り当てられた設定キーの操作により、PIO251やSIO250を経由してパラレルインターフェース or シリアルインターフェースにて、以下の制御を行う。   Also, the adjustment circuit 98 and the Serial DRV. The endoscope composite image signal output from 96 is output to a recording device such as a VTR 354, a printer 355, a photography device 356, a filing device 357, an ultrasonic device 358, and a moving image or a still image is recorded. Further, the following control is performed by the parallel interface or the serial interface via the PIO 251 and the SIO 250 by operating the setting key assigned to the operation device.

・記録もしくは出力する映像信号、内視鏡合成画像の選択
・記録・再生・早送り・巻き戻し・コマ送り・一時停止・印刷・画像消去の指示
・表示分割数や記録枚数の設定
・内視鏡関連情報の記録、読み出し
・記録装置への日時、時刻設定、もしくは記録装置からプロセッサ13への日時、時刻設定
・超音波装置358の映像出力との切替
・画像合成回路352への画像合成ON/OFF
などを行う。
・ Selection of video signal to be recorded or output and endoscope composite image ・ Recording / playback / fast forward / rewind / frame advance / pause / printing / image erasure instructions ・ Setting of display division number and number of recordings ・ Endoscope Recording and reading of related information ・ Date and time setting to recording device, or date and time setting from recording device to processor 13 ・ Switching to image output of ultrasonic device 358 ・ Image composition ON / OFF to image composition circuit 352 OFF
Etc.

プロセッサ13と周辺機器との接続は、図4、図5のように全ての周辺機器を接続する他に、使用者の使用状況に応じて一部の機器のみ接続を行うようにしても良い。また、プロセッサ13側に用意する、周辺機器を制御するシリアルインターフェース又はパラレルインターフェース用ケーブルを接続するコネクタは、全ての周辺機器分用意してもよく、一部の周辺機器について共用化する事で、省スペース・低コスト化をはかっても良い。   As for the connection between the processor 13 and the peripheral devices, in addition to connecting all the peripheral devices as shown in FIGS. 4 and 5, only a part of the devices may be connected according to the use state of the user. In addition, the connector for connecting the serial interface or parallel interface cable for controlling peripheral devices prepared on the processor 13 side may be prepared for all peripheral devices, and by sharing some peripheral devices, Space saving and cost reduction may be achieved.

図3,図6,図7は、プロセッサ13の内、映像処理回路1(55)、映像処理回路2(57),合成処理回路(102),映像処理回路3(89),映像処理回路4(94),映像+合成処理回路(93),制御回路(67)及び周辺回路の詳細を示す図である。CPUI/F158,162,169,203,205,209,252は、CPU74とBUF1(78)又はBUF2(79)を経由してバス接続され、CPU74により制御可能である。   3, 6, and 7 show the video processing circuit 1 (55), the video processing circuit 2 (57), the synthesis processing circuit (102), the video processing circuit 3 (89), and the video processing circuit 4 in the processor 13. (94), the image + synthesis processing circuit (93), the control circuit (67), and the peripheral circuit are shown in detail. The CPU I / Fs 158, 162, 169, 203, 205, 209, and 252 are connected to the CPU 74 via a BUF1 (78) or a BUF2 (79), and can be controlled by the CPU 74.

また、映像処理回路1(55),映像処理回路2(57),合成処理回路(102),映像処理回路3(89),映像処理回路4(94),映像+合成処理回路(93),制御回路(67)それぞれ内部にある全ての回路と接続されている為、その結果CPU74により上記回路が全て制御可能となる。   Also, the video processing circuit 1 (55), the video processing circuit 2 (57), the synthesis processing circuit (102), the video processing circuit 3 (89), the video processing circuit 4 (94), the video + synthesis processing circuit (93), Since the control circuit (67) is connected to all the internal circuits, the CPU 74 can control all the circuits as a result.

(バス接続とは、アドレスバス、データバス、ライトイネーブル/リードイネーブル/チェックセレクト/Wait信号/INT信号などのコントロールバスからなるバス信号によって接続されることを言う。)
映像処理回路1(55)内では、絶縁回路54からの内視鏡画像が、OBクランプ部151にてOBクランプ処理され、周波数変換部152で周波数変換(例えば27MHz)を行い、ホワイトバランス処理部153でホワイトバランス処理がなされ、AGC154でAGC処理後、フリーズ動作を行うフリーズ部155に入力される。フリーズ動作を行うための操作キー(以下フリーズキーという)も、操作デバイスに割り当て可能である。一例を以下に示す。
(Bus connection means connection by a bus signal including a control bus such as an address bus, a data bus, a write enable / read enable / check select / wait signal / INT signal, etc.)
In the video processing circuit 1 (55), the endoscopic image from the insulation circuit 54 is subjected to OB clamp processing by the OB clamp unit 151, frequency conversion (for example, 27 MHz) is performed by the frequency conversion unit 152, and a white balance processing unit. In 153, white balance processing is performed, and after AGC processing in AGC 154, it is input to a freeze unit 155 that performs a freeze operation. An operation key (hereinafter referred to as a freeze key) for performing a freeze operation can also be assigned to the operation device. An example is shown below.

・キーボード14上のフリーズキー入力時は、同期式または調歩同期式シリアルデータにて制御回路67内のシリアルインターフェース回路SIO1(250)に入力され、CPUI/F回路252を経由してCPU74に送られる。CPU74は受信したデータより、スイッチ部3に割り当てられたフリーズスイッチのONを判別する。     When a freeze key is input on the keyboard 14, it is input to the serial interface circuit SIO1 (250) in the control circuit 67 as synchronous or asynchronous serial data, and sent to the CPU 74 via the CPU I / F circuit 252. . The CPU 74 determines whether the freeze switch assigned to the switch unit 3 is ON based on the received data.

・フットスイッチ311上のフリーズキー入力時は、制御回路67内のパラレルインターフェース回路PIO251に入力され、CPUI/F回路252を経由してCPU74に送られる。CPU74は受信したデータより、スイッチ部3に割り当てられたフリーズスイッチのONを判別する。     When a freeze key is input on the foot switch 311, it is input to the parallel interface circuit PIO 251 in the control circuit 67 and sent to the CPU 74 via the CPU I / F circuit 252. The CPU 74 determines whether the freeze switch assigned to the switch unit 3 is ON based on the received data.

・フロントパネル69上のフリーズキー入力時は、パラシリ回路2(70)に入力され、同期式または調歩同期式シリアルデータに変換された後、制御回路67内のシリパラ変換回路253にてパラレルデータに変換され、CPUI/F回路252を経由してCPU74に送られる。CPU74は受信したデータより、スイッチ部3に割り当てられたフリーズスイッチのONを判別する。     When a freeze key is input on the front panel 69, it is input to the parallel-serial circuit 2 (70), converted into synchronous or asynchronous serial data, and then converted into parallel data by the serial-parallel conversion circuit 253 in the control circuit 67. The converted data is sent to the CPU 74 via the CPU I / F circuit 252. The CPU 74 determines whether the freeze switch assigned to the switch unit 3 is ON based on the received data.

・操作スイッチ部3上のフリーズキー入力時は、信号線4bを経由してパラシリ回路64に入力され、同期式または調歩同期式シリアルデータに変換された後、絶縁回路54を通り、制御回路67内のシリパラ変換回路253にてパラレルデータに変換後、CPUI/F回路252を経由してCPU74に送られる。CPU74は受信したデータより、スイッチ部3に割り当てられたフリーズスイッチのONを判別する。     When a freeze key is input on the operation switch unit 3, the signal is input to the parallel circuit 64 via the signal line 4b, converted into synchronous or asynchronous serial data, and then passed through the insulating circuit 54 and the control circuit 67. After being converted into parallel data by the serial-parallel conversion circuit 253, it is sent to the CPU 74 via the CPU I / F circuit 252. The CPU 74 determines whether the freeze switch assigned to the switch unit 3 is ON based on the received data.

CPU74はフリーズスイッチのONを検出後、バス接続されているCPUI/F(158)を経由してフリーズ部155を制御し、メモリ1(56)にフリーズ画像又はプリフリーズ画像を格納する。   After detecting the freeze switch ON, the CPU 74 controls the freeze unit 155 via the bus-connected CPU I / F (158), and stores the freeze image or pre-freeze image in the memory 1 (56).

フリーズ部155から出力された内視鏡画像は、セレクタ1(156)を経由して、映像処理回路2(57)に入力される。映像処理回路2(57)内では、色調回路160にてR又はBの色調を調整し、γ補正部161でγ補正後、拡大・強調・同時化回路163及びメモリ2(58)にて、内視鏡画像の拡大・縮小処理、輪郭強調・構造強調などの強調処理、(図示しない)マルチプレクサによりRGB画像をR,G,Bフレームごとに順次書き込むことによる同時化処理を行う。同時化処理後の内視鏡画像は、合成処理回路(102)内の文字・マスク・画像合成回路171にて、
・グラフィック処理回路1(103)で作製されたマスク信号による、内視鏡画像の8角形マスク処理、
・グラフィック処理回路1(103)とメモリ3(104)とテーブル1(170)により作成された内視鏡関連情報の合成、
・内視鏡合成画像を格納する画像キャプチャー部(168)とメモリ5(108)、
・画像キャプチャー部から出力された画像の合成を行う。
The endoscopic image output from the freeze unit 155 is input to the video processing circuit 2 (57) via the selector 1 (156). In the video processing circuit 2 (57), the color tone circuit 160 adjusts the R or B color tone, the γ correction unit 161 performs γ correction, and the enlargement / enhancement / synchronization circuit 163 and the memory 2 (58) Endoscopic image enlargement / reduction processing, enhancement processing such as contour enhancement / structure enhancement, and synchronization processing are performed by sequentially writing RGB images for each R, G, B frame by a multiplexer (not shown). The endoscopic image after the synchronization processing is processed by the character / mask / image synthesis circuit 171 in the synthesis processing circuit (102).
An octagonal mask process of an endoscopic image by a mask signal produced by the graphic processing circuit 1 (103);
Synthesis of endoscope related information created by the graphic processing circuit 1 (103), the memory 3 (104) and the table 1 (170);
An image capture unit (168) for storing an endoscope composite image and a memory 5 (108);
・ Combine the images output from the image capture unit.

内視鏡合成画像は、再び映像処理回路2(57)にてセレクタ2(166)を経由してD/A(59)及びデジタルエンコーダー(62)に出力される。カラーバー回路164はカラーバーもしくは、50%白信号を生成する回路であり、セレクタ2(166)で選択された場合に出力される。   The endoscope composite image is output again to the D / A (59) and the digital encoder (62) via the selector 2 (166) in the video processing circuit 2 (57). The color bar circuit 164 is a color bar or a circuit that generates a 50% white signal, and is output when selected by the selector 2 (166).

セレクタ2(166)はBUF1(78),CPUI/F(209)を経由してCPU74により制御可能であり、操作デバイスに割り当てられた切替スイッチにより選択される(操作デバイスによる操作入力の詳細は前記フリーズキー入力時の動作と同じ)。   The selector 2 (166) can be controlled by the CPU 74 via the BUF1 (78) and the CPU I / F (209), and is selected by a changeover switch assigned to the operation device (details of operation input by the operation device are described above). The same operation as when the freeze key is input).

パラメータメモリ1(114)には、AGC154用テーブル、γ161用テーブル、色調160の色調テーブル、拡大・強調・同時化163用拡大係数、強調係数、レベル調整などのパラメータデータが格納されており、パラメータメモリ制御1,2(150,165)によりパラメータデータが書き込み・読み出しされると共に、AGC154、γ161、拡大・強調・同時化回路163、色調160に設定される。   The parameter memory 1 (114) stores parameter data such as an AGC 154 table, a γ 161 table, a color tone table of color tone 160, an enlargement coefficient for enlargement / enhancement / synchronization 163, an enhancement coefficient, and level adjustment. The parameter data is written / read by the memory control 1, 2 (150, 165), and is set in the AGC 154, γ 161, the enlargement / enhancement / synchronization circuit 163, and the color tone 160.

なお、パラメータメモリ制御1,2(150,165)がパラメータメモリ1(114)からパラメータデータを読み出すタイミングは、同期信号VD1,HD1により作成され、読み出し処理が150,165で衝突しないようになっている。   Note that the timing at which the parameter memory controls 1 and 2 (150 and 165) read the parameter data from the parameter memory 1 (114) is created by the synchronization signals VD1 and HD1, so that the reading process does not collide with 150 and 165. Yes.

セレクタ1(156)は、オプション基板検知117の信号レベルにより選択される。オプション基板116装着時は、基板検知117はグラウンドに接続される為、信号レベルは“L”レベルとなる。オプション基板検知回路の信号は、セレクタ1(156)にSECECT信号として入力され、セレクタ1(156)が、オプション基板116上の映像処理回路3出力になるように選択する。   The selector 1 (156) is selected according to the signal level of the option board detection 117. When the option board 116 is mounted, the board detection 117 is connected to the ground, so that the signal level is “L” level. The signal of the option board detection circuit is input as a SECECT signal to the selector 1 (156), and the selector 1 (156) selects the video processing circuit 3 on the option board 116 as an output.

一方、オプション基板116未装着時は、基板検知117はプルアップされた信号レベル“H”になり、信号レベル“H”を検出したセレクタ1(156)は、フリーズ回路155の出力になるように選択する。なお、セレクタ1(156)の制御は、オプション基板検知117で直接制御する他、制御回路67内のパラレルインターフェース回路PIO251、CPUI/F回路252を経由してCPU74が検出後、BUF1,CPUI/F(158)を経由して制御しても良い。   On the other hand, when the option board 116 is not mounted, the board detection 117 becomes the pulled-up signal level “H”, and the selector 1 (156) detecting the signal level “H” becomes the output of the freeze circuit 155. select. The selector 1 (156) is controlled directly by the option board detection 117, and after the CPU 74 detects it via the parallel interface circuit PIO251 and the CPU I / F circuit 252 in the control circuit 67, the BUF1, CPU I / F Control may be performed via (158).

オプション基板116装着時には、フリーズ回路155の出力は、映像処理回路3(89)内の画像処理回路202及びパラメータメモリ2(88)にてIHb色彩強調などの強調処理が行われる(詳細は特許文献4の参照の事)。その後、映像処理回路1(55)のセレクタ1(156)に入力される。   When the option board 116 is mounted, the output of the freeze circuit 155 is subjected to enhancement processing such as IHb color enhancement in the image processing circuit 202 and the parameter memory 2 (88) in the video processing circuit 3 (89) (for details, see Patent Documents). (Refer to 4). Thereafter, the signal is input to the selector 1 (156) of the video processing circuit 1 (55).

また、映像処理回路2(57)のγ回路161の出力は、周波数変換回路3(115)にて周波数変換(例えば74MHz)した後、拡大縮小回路204にて内視鏡画像の拡大、縮小処理後、強調回路206にて輪郭強調、構造強調、動画色ずれ補正などの強調処理を行い、同時化回路208+メモリ6(101)にて、(図示しない)マルチプレクサによりRGB画像をR,G,Bフレームごとに順次書き込むことによる同時化処理を行う。   Further, the output of the γ circuit 161 of the video processing circuit 2 (57) is subjected to frequency conversion (for example, 74 MHz) by the frequency conversion circuit 3 (115), and thereafter, the enlargement / reduction circuit 204 enlarges / reduces the endoscopic image. Thereafter, enhancement processing such as contour enhancement, structure enhancement, and moving image color misregistration correction is performed by the enhancement circuit 206, and the RGB image is R, G, B by a multiplexer (not shown) in the synchronization circuit 208 + memory 6 (101). A synchronization process is performed by sequentially writing each frame.

パラメータメモリ3(95)には、拡大縮小回路204用拡大係数、強調回路206用強調係数、レベル調整などのパラメータデータが格納されており、パラメータメモリ制御4(218)によりパラメータデータが書き込み・読み出しされると共に、拡大・拡大縮小回路204、強調回路206などに設定される。   The parameter memory 3 (95) stores the expansion coefficient for the enlargement / reduction circuit 204, the enhancement coefficient for the enhancement circuit 206, level adjustment, and other parameter data. The parameter data is written / read out by the parameter memory control 4 (218). At the same time, the enlargement / enlargement / reduction circuit 204, the enhancement circuit 206, and the like are set.

その後、文字・マスク・画像合成回路211にて、
・内視鏡画像のマスク処理、
・CPU74から、BUF2(79),CPUI/F209を経由して入力された内視鏡関連情報は、グラフィック処理回路2(212)とメモリ7(111)とテーブル2(214)により文字化又はグラフィック化されるが、その作成された文字又はグラフィックを合成する。
After that, in the character / mask / image synthesis circuit 211,
-Mask processing of endoscopic images,
Endoscope related information input from the CPU 74 via the BUF2 (79) and the CPU I / F 209 is converted into text or graphics by the graphic processing circuit 2 (212), the memory 7 (111), and the table 2 (214). The created character or graphic is synthesized.

・内視鏡合成画像を格納する画像キャプチャー部215とメモリ9(113)から出力された画像の合成、
・内視鏡画像からインデックス画像の作成及びインデックス画像の格納を行うインデックス画像作成部(213)とメモリ8(112)より出力された画像の合成を行う。
The composition of the image output from the image capture unit 215 and the memory 9 (113) for storing the endoscope composite image;
An index image creating unit (213) that creates an index image from an endoscopic image and stores the index image and an image output from the memory 8 (112) are combined.

文字・マスク・画像合成回路211出力後、セレクタ3(217)を経由して、SerialDRV.96及びD/A変換器97に入力される。カラーバー回路216はカラーバーもしくは、50%白信号を生成する回路であり、セレクタ3(217)で選択された場合に出力される。   After the output of the character / mask / image synthesis circuit 211, the serial DRV. 96 and D / A converter 97. The color bar circuit 216 is a color bar or a circuit that generates a 50% white signal, and is output when selected by the selector 3 (217).

セレクタ3(217)はBUF2,CPUI/Fを経由してCPU74により制御可能であり、操作デバイスに割り当てられた切替スイッチにより選択される(制御の詳細は前記フリーズキー入力時の動作と同じ)。なお、セレクト3(217)とセレクタ2(166)の切り替えスイッチは、操作デバイス上の同一のスイッチでもよい。   The selector 3 (217) can be controlled by the CPU 74 via the BUF2 and the CPU I / F, and is selected by a changeover switch assigned to the operation device (the details of the control are the same as the operation when the freeze key is input). The selector 3 (217) and selector 2 (166) selector switch may be the same switch on the operation device.

メモリ1(56)、メモリ2(58)、メモリ3(104)、メモリ4(107)、メモリ5(108)、メモリ6(101)、メモリ7(111)、メモリ8(112)、メモリ9(113)、パラメータメモリ1(114)、パラメータメモリ2(88)、パラメータメモリ3(95)、RAM76,BACKUPRAM77プログラムROM82、ログデータ格納ROM82のインターフェースはノイズの影響を受けないようシリアルインターフェースにしても良く、高速化を図るためパラレルインターフェースにしても良い。   Memory 1 (56), Memory 2 (58), Memory 3 (104), Memory 4 (107), Memory 5 (108), Memory 6 (101), Memory 7 (111), Memory 8 (112), Memory 9 (113), parameter memory 1 (114), parameter memory 2 (88), parameter memory 3 (95), RAM 76, BACKUP RAM 77, program ROM 82, log data storage ROM 82 interfaces are serial interfaces so as not to be affected by noise. In order to increase the speed, a parallel interface may be used.

制御回路67では以下の処理を行う。
・操作スイッチ部3から信号線4bを経由してパラシリ回路64に入力され、同期式または調歩同期式シリアルデータに変換された後、絶縁回路54を通り、制御回路67内のシリパラ変換回路253にてパラレルデータに変換後、CPUI/F回路252を経由してバス接続されているCPU74に送られる。CPU74は受信したデータより、スイッチ部3に割り当てられた機能のON/OFFを判別する。
The control circuit 67 performs the following processing.
The signal is input from the operation switch unit 3 to the parallel circuit 64 via the signal line 4 b and converted into synchronous or asynchronous serial data, and then passes through the insulating circuit 54 to the serial-parallel conversion circuit 253 in the control circuit 67. After being converted into parallel data, the data is sent via the CPU I / F circuit 252 to the CPU 74 connected to the bus. The CPU 74 determines ON / OFF of the function assigned to the switch unit 3 from the received data.

・フロントパネル69に割り当てられた設定キーの操作を、パラシリ回路2(70)、制御回路67内のシリパラ変換回路253にてパラレルデータに変換後、CPUI/F回路252を経由してバス接続されているCPU74に送られる。CPU74は受信したデータより、フロントパネル69に割り当てられた機能のON/OFFを判別する。     The operation of the setting key assigned to the front panel 69 is converted into parallel data by the parallel-serial circuit 2 (70) and the serial-parallel conversion circuit 253 in the control circuit 67, and then connected to the bus via the CPU I / F circuit 252. To the CPU 74. The CPU 74 determines ON / OFF of the function assigned to the front panel 69 from the received data.

・CPU9からのデータ信号を、信号線11a,コネクタ15,ケーブル32,コネクタ31,信号線11B,絶縁回路54を経由し、SIO1(250)に接続され、CPUI/F7(252)を経由してCPU74に送受信される。     A data signal from the CPU 9 is connected to the SIO1 (250) via the signal line 11a, the connector 15, the cable 32, the connector 31, the signal line 11B, and the insulation circuit 54, and via the CPU I / F7 (252). It is transmitted to and received from the CPU 74.

・キーボード14やフットスイッチ311に割り当てられた設定キーの操作をPIO251やSIO250を経由してバス接続されているCPU74に送られる。CPU74は受信したデータより、キーボード14やフットスイッチ311に割り当てられた機能のONを判別する。     The operation of the setting keys assigned to the keyboard 14 and the foot switch 311 is sent to the CPU 74 connected to the bus via the PIO 251 and the SIO 250. The CPU 74 determines whether the function assigned to the keyboard 14 or the foot switch 311 is ON based on the received data.

・CPU74,BUF1,PIO251やSIO250を経由して、周辺機器の制御を行う。
・オプション基板検知回路117の信号レベルをPIO251,CPUI/F7(252),BUF1を経由してCPU74が検知する。
Control peripheral devices via the CPU 74, BUF1, PIO 251, and SIO 250.
The CPU 74 detects the signal level of the option board detection circuit 117 via the PIO 251, the CPU I / F 7 (252), and the BUF 1.

・光源の種類の検知する信号29bが、コネクタ26,ケーブル34,コネクタ33を経由して、PIO251に接続され、CPUI/F7(252)を経由してCPU74に送受信される。     A signal 29b for detecting the type of light source is connected to the PIO 251 via the connector 26, the cable 34, and the connector 33, and is transmitted to and received from the CPU 74 via the CPU I / F 7 (252).

・CPU74,BUF1,PIO251を経由して調整回路60,98に接続され、内視鏡合成画像、映像信号の信号レベルの調整を行う。
・CPU74,BUF1,PIO251を経由して画像合成回路301,351に接続さて、画像合成処理のON/OFF処理を行う。
Connected to the adjustment circuits 60 and 98 via the CPU 74, BUF1, and PIO 251, and adjusts the signal level of the endoscope composite image and video signal.
Connected to the image composition circuits 301 and 351 via the CPU 74, BUF1, and PIO 251, and performs ON / OFF processing of the image composition processing.

・CPU74,BUF1,PIO251を経由してブザー71の制御を行う。
図8は、映像+合成処理回路(93)の詳細動作を示すブロック図である。CPU74はCPUI/F6(209)を経由して、文字,グラフィック,アローカーソル,カーソルなどのグラフィックデータを作成するようにグラフィック処理回路212及びメモリ7(111)を制御する。
The buzzer 71 is controlled via the CPU 74, BUF1, and PIO 251.
FIG. 8 is a block diagram showing the detailed operation of the video + compositing processing circuit (93). The CPU 74 controls the graphic processing circuit 212 and the memory 7 (111) so as to create graphic data such as characters, graphics, arrow cursors, and cursors via the CPU I / F 6 (209).

図9は、テーブル2(214)の概要を示す。垂直同期信号VD3,水平同期信号HD3,ODD/EVEN判別信号ODD3に同期して出力されるグラフィックデータは、テーブル2(214)により、図9に示すようにRGB信号に変換される。テーブル出力の色なし補正とは、合成回路268,273での合成処理に使用し、ONの場合は内視鏡画像を選択・出力し、OFFの場合はグラフィックデータを選択・出力するように制御する為のデータである。   FIG. 9 shows an outline of the table 2 (214). Graphic data output in synchronization with the vertical synchronization signal VD3, horizontal synchronization signal HD3, ODD / EVEN discrimination signal ODD3 is converted into RGB signals by the table 2 (214) as shown in FIG. Colorless correction of table output is used for composition processing in the composition circuits 268 and 273, and controls to select / output an endoscopic image when ON and select / output graphic data when OFF. It is data to do.

テーブル2(214)出力は合成回路268に入力され、テーブル2(214)出力であるグラフィックデータの内、アローカーソルのみを内視鏡画像と合成する。グラフィックデータからアローカーソルのみを選択する方法は、選択するためのマスクデータをグラフィック処理回路212側で作成し、グラフィックデータと同様に出力しても良く、又はアローカーソルに特定の表示色を使用し、その表示色のみ選択するようにしても良い。   The output of the table 2 (214) is input to the combining circuit 268, and only the arrow cursor is combined with the endoscopic image in the graphic data which is the output of the table 2 (214). In the method of selecting only the arrow cursor from the graphic data, mask data for selection may be created on the graphic processing circuit 212 side and output in the same manner as the graphic data, or a specific display color is used for the arrow cursor. Only the display color may be selected.

カウンタ生成回路271は、垂直同期信号VD3,水平同期信号HD3,ODD/EVEN判別信号ODD3,及び(図示しない)同期クロック(例えば74MHz)により、水平方向カウンタ及び垂直方向カウンタを作成し、マスク処理263,266、メモリ制御272、マスク信号生成267、メモリ制御262、画像移動用メモリ265などに供給する。   The counter generation circuit 271 generates a horizontal counter and a vertical counter based on the vertical synchronization signal VD3, the horizontal synchronization signal HD3, the ODD / EVEN discrimination signal ODD3, and a synchronization clock (not shown) (for example, 74 MHz), and performs mask processing 263. 266, memory control 272, mask signal generation 267, memory control 262, image moving memory 265, and the like.

水平方向カウンタは、同期クロックの立ち上がりごとにカウントアップし、HD3の開始時(例えば立下り時)にリセットされる。垂直方向カウンタは、HD3の開始(例えば立下り)毎にカウントアップし、VD3の開始時(例えば立下り時)にリセットされ、ODD/EVEN信号より奇数フィールドか偶数フィールドかを判別し、垂直方向カウンタを設定する(ODD/EVEN信号を最下位BITにしてもよく、又はODD時+VD3の開始時にのみリセットを行うなどしてもよい。)。   The horizontal counter counts up each time the synchronous clock rises and is reset at the start of HD3 (eg, at the fall). The vertical counter counts up every time HD3 starts (eg, falls), is reset at the start of VD3 (eg, falls), determines whether the field is an odd field or an even field based on the ODD / EVEN signal. A counter is set (the ODD / EVEN signal may be set to the lowest bit, or reset may be performed only at the time of ODD + VD3).

合成後の画像は、縮小処理回路269によって縮小され、メモリ制御回路272が双方向バッファ270、メモリ8(112)を制御することにより、縮小画像を格納する。縮小処理回路269の縮小率は、内視鏡1(もしくはCCD2)の種類、又は操作デバイスに割り当てられた画像サイズ、又はモニタ353などへの画面アスペクト比によって変更する(詳細は、図20,図21参照)。   The combined image is reduced by the reduction processing circuit 269, and the memory control circuit 272 controls the bidirectional buffer 270 and the memory 8 (112) to store the reduced image. The reduction ratio of the reduction processing circuit 269 is changed according to the type of the endoscope 1 (or the CCD 2), the image size assigned to the operation device, or the screen aspect ratio to the monitor 353 (for details, see FIGS. 21).

メモリ8(112)は、EEPROM、又はFLASH ROM、FRAM,FeRAM,MRAM,OUM,SRAM,SDRAM,EDORAM,DRAM,RDRAMなどで構成され、メモリ制御272はメモリに合わせた制御を行う。例えば、SDRAMの場合は、AUTO REFRESH,MODE REGISTER SET,ROW ACTIVE,WRITE,READ,WRITEA,READA,PRECHARGEなどの制御を行う。   The memory 8 (112) is composed of EEPROM, FLASH ROM, FRAM, FeRAM, MRAM, OUM, SRAM, SDRAM, EDORAM, DRAM, RDRAM, and the like, and the memory control 272 performs control according to the memory. For example, in the case of SDRAM, control such as AUTO REFRESH, MODE REGISTER SET, ROW ACTIVE, WRITE, READ, WRITEA, READA, and PRECHARGE is performed.

縮小画像を格納後、メモリ制御回路272が双方向バッファ270、メモリ8(112)を制御することにより、メモリ8(112)に格納された縮小画像を読み出し、マスク処理回路(266)で縮小画像のマスク処理後、合成処理回路273に入力される。   After storing the reduced image, the memory control circuit 272 controls the bidirectional buffer 270 and the memory 8 (112) to read out the reduced image stored in the memory 8 (112), and the mask processing circuit (266) reduces the reduced image. Is input to the synthesis processing circuit 273.

一方、内視鏡画像はマスク信号生成回路267,マスク処理回路264にてマスク処理を行った後、画像移動用メモリ265(FIFO,ラインメモリ,フィールドメモリ,フレームメモリなど)にて水平方向や垂直方向への画像位置移動を行い、合成処理回路273に入力する。   On the other hand, the endoscopic image is subjected to mask processing by a mask signal generation circuit 267 and a mask processing circuit 264, and then horizontally or vertically by an image moving memory 265 (FIFO, line memory, field memory, frame memory, etc.). The image position is moved in the direction and input to the composition processing circuit 273.

位置移動は、画面アスペクト比によって異なる(詳細は表2の項目HDTV参照)。合成処理回路273では、内視鏡画像、グラフィックデータを合成すると共に、合成した内視鏡合成画像を画像キャプチャー部215に出力する。画像キャプチャー部215内のメモリ制御262及びメモリ9(113)にて内視鏡合成画像の書き込み、読み出し処理を行う。   The position shift varies depending on the screen aspect ratio (for details, refer to the item HDTV in Table 2). The combining processing circuit 273 combines the endoscope image and graphic data, and outputs the combined endoscope combined image to the image capture unit 215. The endoscope control composite image is written and read by the memory control 262 and the memory 9 (113) in the image capture unit 215.

図10は、プロセッサ13の各回路に割り当てられたアドレスマップを示す。CPU74は、図10に基づき各回路を制御する。
図11〜図14は、プロセッサ13の各設定を行う為に、モニタ304,353や周辺機器に出力されるシステム設定画面を示す。システム設定画面は、CPU74の制御によりグラフィック処理回路1(103),メモリ3(104),グラフィック処理回路2(212),メモリ7(111)にて生成されるものである。
FIG. 10 shows an address map assigned to each circuit of the processor 13. The CPU 74 controls each circuit based on FIG.
FIGS. 11 to 14 show system setting screens output to the monitors 304 and 353 and peripheral devices in order to make each setting of the processor 13. The system setting screen is generated by the graphic processing circuit 1 (103), the memory 3 (104), the graphic processing circuit 2 (212), and the memory 7 (111) under the control of the CPU 74.

操作デバイスに割り当てられたシステム設定画面表示キーにより設定画面が表示され、カーソル移動キー(例えば、キーボード14の↑↓キー(544))により項目が選択されると、選択された項目及び文字の表示色が変化し、選択変更キー(例えば、キーボード14の←→キー(544))、選択確定キー(例えばキーボード14のENTERキー(542))や文字・数字入力キー(例えばキーボード14の文字「Y」キー(532))により選択項目の変更や確定を行い、ページ切替キー(例えばキーボード14のFN(536)+↑↓キー(544))により設定画面のページ切替えを行う。   When the setting screen is displayed by the system setting screen display key assigned to the operation device and an item is selected by the cursor movement key (for example, the ↑ ↓ key (544) of the keyboard 14), the selected item and characters are displayed. The color changes and a selection change key (for example, the ← → key (544) of the keyboard 14), a selection confirmation key (for example, the ENTER key (542) of the keyboard 14), or a character / number input key (for example, the letter “Y” on the keyboard 14) ”Key (532)), the selected item is changed or confirmed, and the page of the setting screen is switched by a page switching key (for example, FN (536) + ↑ ↓ key (544) of the keyboard 14).

システム設定画面下部には、選択された各項目に関するHELP情報が表示される。各項目の詳細は以下表1〜表5の通りである。
なお、システム設定画面の一部の項目は、保守管理用のみに使用するために、容易に見ることができないように「周辺機器と接続するプロセッサ13側のコネクタに、保守管理用キーを接続時のみ表示可能とする。」としても良い。
At the bottom of the system setting screen, HELP information relating to each selected item is displayed. Details of each item are as shown in Tables 1 to 5 below.
Note that some items on the system setting screen are used only for maintenance management, so that it cannot be easily seen because “when the maintenance management key is connected to the connector on the processor 13 side connected to the peripheral device” Only display is possible. "

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
図15,図16は、プロセッサ13を使用するユーザーごとに設定可能な項目をまとめたユーザー設定画面を示す。ユーザー設定画面も、CPU74の制御によりグラフィック処理回路1(103),メモリ3(104),グラフィック処理回路2(212),メモリ7(111)にて生成されるものである。操作デバイスに割り当てられたユーザー設定画面表示キーによりまずユーザーリスト画面が表示される(図15)。
Figure 0004827387
15 and 16 show user setting screens that summarize items that can be set for each user who uses the processor 13. The user setting screen is also generated by the graphic processing circuit 1 (103), the memory 3 (104), the graphic processing circuit 2 (212), and the memory 7 (111) under the control of the CPU 74. First, the user list screen is displayed by the user setting screen display key assigned to the operation device (FIG. 15).

図15のユーザーリスト画面にて、操作デバイスに割り当てられたカーソル移動キー(例えば、キーボード14の↑↓キー)により項目が選択され、選択された項目及び文字の表示色が変化する(例えば、文字が緑色になる。)。   In the user list screen of FIG. 15, an item is selected by a cursor movement key (for example, the ↑ ↓ key of the keyboard 14) assigned to the operation device, and the display color of the selected item and character is changed (for example, a character). Becomes green.)

また、ページ切替キー(例えばキーボード14のFn+↑↓キー)によりリストのスクロールが行われる。
○リストからユーザー名が入力済みのユーザー項目を選択時
・選択確定キー(例えばキーボード14のENTERキー)を入力すると、“Call/Edit”選択ボタンが表示される。選択変更キー(例えば、キーボード14の←→キー)にて、
・Callを確定:該当ユーザー設定をLOAD/設定後、観察画面(内視鏡合成画像表示画面)へ移行
・Editを確定:該当ユーザー設定をLOAD後、ユーザー設定画面へ移行
・DELキー入力
・該当ユーザー設定を削除し、no dataと表示する
○ユーザー名未入力(no data)のユーザー項目を選択時
・選択確定キー(例えばキーボード14のENTERキー)を入力すると、ユーザー設定画面へ移行
図16のユーザー設定画面では、図11〜14の設定画面と同じ動作にて設定を行う。詳細は表6の通り。
The list is scrolled by a page switching key (for example, Fn + ↑ ↓ key on the keyboard 14).
When selecting a user item for which a user name has already been entered from the list-When a selection confirmation key (for example, the ENTER key on the keyboard 14) is entered, a "Call / Edit" selection button is displayed. With selection change key (for example, ← → key on keyboard 14),
・ Confirm Call: After LOAD / setting the corresponding user setting, move to the observation screen (endoscopic composite image display screen) ・ Confirm Edit: After the corresponding user setting is loaded, move to the user setting screen ・ DEL key input ・ Applicable Delete user settings and display no data ○ When selecting a user item with no user name (no data) ・ Entering a selection confirmation key (for example, the ENTER key on the keyboard 14) shifts to the user setting screen. On the user setting screen, the setting is performed by the same operation as the setting screen of FIGS. Details are shown in Table 6.

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
なお、設定画面及びユーザーリスト画面、ユーザー設定画面で設定された設定情報は、BACKUP RAM77又はプログラムROM83に格納され、プロセッサ13が電源OFFになった場合でも保存されるようにしている。
Figure 0004827387
The setting information set on the setting screen, the user list screen, and the user setting screen is stored in the BACKUP RAM 77 or the program ROM 83, and is saved even when the processor 13 is turned off.

これより電源ONする度に、再設定を行う必要はない。また、システム設定画面、ユーザー設定画面の設定項目は、周辺機器側からSIO250,PIO251を経由して、設定読み出し、設定変更可能とする。   Therefore, it is not necessary to reset every time the power is turned on. In addition, setting items on the system setting screen and the user setting screen can be read and changed from the peripheral device via the SIO 250 and PIO 251.

図17(図17A,図17B,図17C,図17D,図17E,図17F−1,図17F−2,図17G,図17H,図17I,図17J,図17K,図17L,図17M,図17N,図17O,図17P,図17R)は、図10のアドレスマップ内の各レジスタの詳細を示す。   FIG. 17 (FIGS. 17A, 17B, 17C, 17D, 17E, 17F-1, 17F-2, 17G, 17H, 17I, 17J, 17K, 17L, 17M, FIG. 17N, FIG. 17O, FIG. 17P, and FIG. 17R) show details of each register in the address map of FIG.

図18は、MONITの設定の一例を示す図である。
図19は、HMONITの設定の一例を示す図である。
図20は、インデックス関連レジスタredの設定例(画面アスペクト比4:3,16:9設定時)を示す。
FIG. 18 is a diagram illustrating an example of MONIT settings.
FIG. 19 is a diagram illustrating an example of setting of HMONIT.
FIG. 20 shows a setting example of the index related register red (when the screen aspect ratio is set to 4: 3, 16: 9).

図21は、インデックス関連レジスタredの設定例(画面アスペクト比5:4設定時)を示す。図21、図22において、スコープ(CCD)とは、内視鏡1のことを指し、ここではSCOPE1,SCOPE2,SCOPE3の3種類の内視鏡がある。また、画像サイズにはMEDIUM、SEMI−FULL,FULLの3形態があり、画像サイズの関係は、MEDIUM<SEMI−FULL<FULLとなっている。同図のように、内視鏡の種類に応じて各インデックス画像のサイズが設定されている。   FIG. 21 shows a setting example of the index related register red (when the screen aspect ratio is set to 5: 4). 21 and 22, the scope (CCD) refers to the endoscope 1. Here, there are three types of endoscopes SCOPE 1, SCOPE 2, and SCOPE 3. Further, there are three types of image sizes, MEDIUM, SEMI-FULL, and FULL, and the relationship between the image sizes is MEDIUM <SEMI-FULL <FULL. As shown in the figure, the size of each index image is set according to the type of endoscope.

図22は、インデックス関連レジスタ(表示モード4:3設定、インデックス画像4駒時)を示す。
図23は、インデックス関連レジスタ(表示モード16:9設定、インデックス画像4駒時)を示す。
FIG. 22 shows an index-related register (when display mode 4: 3 is set and index frame is 4 frames).
FIG. 23 shows an index related register (display mode 16: 9 setting, index frame 4 frames).

図24は、インデックス関連レジスタ(表示モード4:3設定、インデックス画像1駒時)を示す図である。
図25は、インデックス関連レジスタ、インデックス一覧表示時、表示モード4:3設定(表示モード5:4、16:9時には、値が異なる)を示す。
FIG. 24 is a diagram showing an index related register (display mode 4: 3 setting, index frame 1 frame).
FIG. 25 shows a display mode 4: 3 setting when the index-related register and index list are displayed (values are different in the display mode 5: 4 and 16: 9).

さて、ここで、本実施形態におけるインデックス画像について説明する。本実施形態におけるインデックス画像とは、内視鏡にて撮影されている画像を、ユーザの操作によって所定のタイミングの画像を記録し、それを縮小させた画像のことをいう。それでは、以下に本実施形態におけるインデックス画像の制御について述べる。   Now, the index image in the present embodiment will be described. The index image in the present embodiment refers to an image obtained by recording an image taken at an endoscope at a predetermined timing by a user operation and reducing the image. Then, control of the index image in this embodiment will be described below.

図26(図26−1〜図26−3)は、本実施形態における画面(アスペクト比4:3)に表示されるインデックス画像(4駒表示)を示す。同図において、例えば図26−3(e)をみてみると、表示画面中の領域1001に内視鏡で撮影した画像が映し出される。その領域1001の下部に4つの領域1002があるが、ここにインデックス画像が表示される。また、画面の左端には被験者である患者の氏名や性別、生年月日等の患者情報や、担当医名、内視鏡の製造番号等、その他の情報が表示されている。これらについては、後述する。それでは、同図について説明する。   FIG. 26 (FIGS. 26-1 to 26-3) shows index images (4-frame display) displayed on the screen (aspect ratio 4: 3) in the present embodiment. In FIG. 26C, for example, when viewing FIG. 26-3 (e), an image captured by the endoscope is displayed in a region 1001 in the display screen. There are four areas 1002 below the area 1001, and the index image is displayed here. In addition, on the left end of the screen, other information such as patient information such as the name, sex, date of birth, etc. of the patient as the subject, the name of the doctor in charge, the serial number of the endoscope, and the like are displayed. These will be described later. Now, the figure will be described.

まず、インデックス画像取得前は、インデックス画像はないので未表示である(図26−1(a))。そして、インデックス画像を取得すると、領域1001の下部に取得したインデックス画像が表示され(図26−1(b))、取得のたびにインデックス画像は追加されていく(図26−2(c),図26−2(d),図26−3(e))。なお、これらのインデックス画像の取得については後述する。   First, before obtaining an index image, there is no index image, so it is not displayed (FIG. 26-1 (a)). When the index image is acquired, the acquired index image is displayed at the bottom of the area 1001 (FIG. 26-1 (b)), and the index image is added every time the acquisition is performed (FIG. 26-2 (c), FIG. 26-2 (d), FIG. 26-3 (e)). The acquisition of these index images will be described later.

そして、さらにインデックス画像を取得すると、画面にはインデックス画像が4つまでしか表示できないので、左端のインデックス画像(1)は画面上から消え、それ以外のインデックス画像は1つ左へ移動し、左端に最新のインデックス画像(5)が表示される(図26−3(f))。   When further index images are acquired, only up to four index images can be displayed on the screen. Therefore, the leftmost index image (1) disappears from the screen, and the other index images move left one by one. The latest index image (5) is displayed on the screen (FIG. 26-3 (f)).

図27(図27−1,図27−2)は、本実施形態における画面(アスペクト比4:3)に表示されるインデックス画像(1駒表示)を示す。同図において、図26と異なるのは、インデックス画像が1画面しか表示できないことである。この場合、表示画面の左下の領域1002にインデックス画像が1画像表示され、領域1001の下部には、図26の左端に表示されていた様々な情報のうちの一部、例えば内視鏡の製造番号等の内視鏡に関する情報等が表示される。これらについては、後述する。それでは、同図について説明する。   FIG. 27 (FIGS. 27-1 and 27-2) shows an index image (single frame display) displayed on the screen (aspect ratio 4: 3) in the present embodiment. In FIG. 26, the difference from FIG. 26 is that only one screen of the index image can be displayed. In this case, one index image is displayed in the lower left area 1002 of the display screen, and in the lower part of the area 1001, some of various information displayed on the left end of FIG. Information about the endoscope such as a number is displayed. These will be described later. Now, the figure will be described.

まず、インデックス画像取得前は、インデックス画像はないので未表示である(図27−1(a))。そして、インデックス画像を取得すると、領域1002に取得したインデックス画像が表示され(図27−1(b))、さらにインデックス画像を取得すると前回のインデックス画像は表示されず、今回取得したインデックス画像が領域1002に表示される(図27−2(c))。   First, before the index image is acquired, there is no index image and it is not displayed (FIG. 27-1 (a)). When the index image is acquired, the acquired index image is displayed in the area 1002 (FIG. 27-1 (b)). When the index image is further acquired, the previous index image is not displayed, and the index image acquired this time is the area. It is displayed in 1002 (FIG. 27-2 (c)).

図28(図28A−1,図28A−2,図28B−1,図28B−2)は、本実施形態における画面(アスペクト比16:9)に表示されるインデックス画像(4駒表示)を示す。同図において、例えば図28B−2(f)をみてみると、表示画面中の領域1001に内視鏡で撮影した画像が映し出される。画面の右端に4つの領域1002があるが、ここにインデックス画像が表示される。また、画面の左端には被験者である患者の氏名や性別、生年月日等の患者情報や、担当医名、内視鏡の製造番号等、その他の情報が表示されている。それでは、同図について説明する。   FIG. 28 (FIG. 28A-1, FIG. 28A-2, FIG. 28B-1, and FIG. 28B-2) shows the index image (4 frames display) displayed on the screen (aspect ratio 16: 9) in this embodiment. . In FIG. 28B-2 (f), for example, an image taken with an endoscope is displayed in an area 1001 in the display screen. There are four areas 1002 at the right end of the screen, where an index image is displayed. In addition, on the left end of the screen, other information such as patient information such as the name, sex, date of birth, etc. of the patient as the subject, the name of the doctor in charge, the serial number of the endoscope, and the like are displayed. Now, the figure will be described.

まず、インデックス画像取得前は、インデックス画像はないので未表示である(図28A−1(a))。そして、インデックス画像を取得すると、画面の右端に取得したインデックス画像が表示され(図28A−1(b))、取得のたびにインデックス画像は画面の右端に追加されていく(図28A−2(c),図28B−1(d),図28B−2(e))。なお、これらのインデックス画像の取得については後述する。   First, before obtaining an index image, there is no index image, so it is not displayed (FIG. 28A-1 (a)). When the index image is acquired, the acquired index image is displayed at the right end of the screen (FIG. 28A-1 (b)), and the index image is added to the right end of the screen each time it is acquired (FIG. 28A-2 ( c), FIG. 28B-1 (d), FIG. 28B-2 (e)). The acquisition of these index images will be described later.

そして、さらにインデックス画像を取得すると、画面にはインデックス画像が4つまでしか表示できないので、上方のインデックス画像(1)は画面上から消え、それ以外のインデックス画像は1つ上へ移動し、最下方に最新のインデックス画像(5)が表示される(図26(f))。   When further index images are acquired, only up to four index images can be displayed on the screen, so the upper index image (1) disappears from the screen, and the other index images move up one by one. The latest index image (5) is displayed below (FIG. 26 (f)).

図29(図29−1,図29−2)は、本実施形態における画面(アスペクト比16:9)に表示されるインデックス画像(1駒表示)を示す。同図において、図28と異なるのは、インデックス画像が1画面しか表示できないことである。この場合、表示画面の右下の領域1002にインデックス画像が1画像表示される。それでは、同図について説明する。   FIG. 29 (FIGS. 29-1 and 29-2) shows index images (single frame display) displayed on the screen (aspect ratio 16: 9) in the present embodiment. In FIG. 28, the difference from FIG. 28 is that only one screen of the index image can be displayed. In this case, one index image is displayed in the lower right area 1002 of the display screen. Now, the figure will be described.

まず、インデックス画像取得前は、インデックス画像はないので未表示である(図29−1(a))。そして、インデックス画像を取得すると、領域1002に取得したインデックス画像が表示され(図29−1(b))、さらにインデックス画像を取得すると前回のインデックス画像は表示されず、今回取得したインデックス画像が領域1002に表示される(図29−2(c))。   First, before the index image is acquired, there is no index image, so it is not displayed (FIG. 29-1 (a)). When the index image is acquired, the acquired index image is displayed in the area 1002 (FIG. 29-1 (b)). When the index image is further acquired, the previous index image is not displayed, and the index image acquired this time is the area. It is displayed in 1002 (FIG. 29-2 (c)).

それでは、図26〜図29の動作についてさらに詳述することにする。
図30は、画面アスペクト比4:3,5:4 インデックス4駒時のodisp,sdisp,tdisp,fdispの位置を示す。odisp,sdisp,tdisp,fdispは、図17Oに示すインデックス画像の位置に対応するIndex0レジスタの設定値を表す。
Now, the operation of FIGS. 26 to 29 will be described in further detail.
FIG. 30 shows the positions of odisp, sdisp, tdisp, and fdisp when the screen aspect ratio is 4: 3, 5: 4 and the index is 4 frames. odisp, sdisp, tdisp, and fdisp represent the setting values of the Index0 register corresponding to the position of the index image shown in FIG. 17O.

同図では、インデックス画像1002a,1002b,1002c,1002dはそれぞれ、odisp,sdisp,tdisp,fdispに対応する。odisp,sdisp,tdisp,fdispに「1」または「0」を設定することで、インデックス画像の表示または非表示を設定している。   In the figure, index images 1002a, 1002b, 1002c, and 1002d correspond to odisp, sdisp, tdisp, and fdisp, respectively. By setting “1” or “0” to odisp, sdisp, tdisp, and fdisp, display or non-display of the index image is set.

図31は、画面アスペクト比4:3,5:4 インデックス1駒時の位置(odispのみ使用)を示す。同図では、インデックス画像は1つしか表示されない(インデックス画像1002a)ので、odispしか使用しない。   FIG. 31 shows the position when the screen aspect ratio is 4: 3, 5: 4 index 1 frame (only odisp is used). In the figure, since only one index image is displayed (index image 1002a), only odisp is used.

図32は、画面アスペクト比16:9 インデックス4駒時のodisp,sdisp,tdisp,fdispの位置を示す。同図において、odisp,sdisp,tdisp,fdispはそれぞれ、インデックス画像1002a,1002b,1002c,1002dに対応している。   FIG. 32 shows the positions of odisp, sdisp, tdisp, and fdisp when the screen aspect ratio is 16: 9 and the index is 4 frames. In the figure, odisp, sdisp, tdisp, and fdisp correspond to index images 1002a, 1002b, 1002c, and 1002d, respectively.

図33は、画面アスペクト比16:9インデックス1駒時の位置(fdispのみ使用)を示す。同図では、インデックス画像は1つしか表示されない(インデックス画像1002d)ので、odispしか使用しない。   FIG. 33 shows the position at the time of one frame aspect ratio of 16: 9 index (only fdisp is used). In the figure, since only one index image is displayed (index image 1002d), only odisp is used.

図34は、インデックス一覧画面での位置(adispのみ使用)を示す。本実施形態において、インデックス画像のみを一覧表示させることもでき、そのときに用いるIndex0レジスタの設定値を表す。同図では、adispに「1」または「0」を設定することで、インデックス画像一覧の表示または非表示を設定している。   FIG. 34 shows the position on the index list screen (only adisp is used). In the present embodiment, only index images can be displayed as a list, and represents the set value of the Index0 register used at that time. In the figure, display or non-display of the index image list is set by setting “1” or “0” in adisp.

図35は、画面アスペクト比4:3,5:4 インデックス4駒時(odisp,sdisp,tdisp,fdispOFF時)の表示状態を示す。図30では、odisp,sdisp,tdisp,fdispそれぞれに「1」を設定して4つのインデックス画像(1002a,1002b,1002c,1002d)を表示させているのに対して、図35では、odisp,sdisp,tdisp,fdispそれぞれに「0」を設定して4つのインデックス画像(1002a,1002b,1002c,1002d)を非表示にしている。   FIG. 35 shows the display state when the screen aspect ratio is 4: 3, 5: 4, and the index is 4 frames (when odisp, sdisp, tdisp, and fdispOFF). In FIG. 30, four index images (1002a, 1002b, 1002c, and 1002d) are displayed by setting “1” in each of odisp, sdisp, tdisp, and fdisp, whereas in FIG. 35, odisp, sdisp , Tdisp, and fdisp are set to “0” to hide the four index images (1002a, 1002b, 1002c, 1002d).

図36は、画面アスペクト比4:3,5:4 インデックス1駒時(odisp OFF時)の表示状態を示す。図31では、odispに「1」を設定してインデックス画像1002aを表示させているのに対して、図36では、odispに「0」を設定してインデックス画像1002aを非表示にしている。   FIG. 36 shows a display state when the screen aspect ratio is 4: 3, 5: 4 when the index is one frame (when odisp is OFF). In FIG. 31, “1” is set to odisp and the index image 1002a is displayed, whereas in FIG. 36, “0” is set to odisp and the index image 1002a is not displayed.

図37は、画面アスペクト比16:9 インデックス4駒時(odisp,sdisp,tdisp,fdispOFF時)の表示状態を示す。図32では、odisp,sdisp,tdisp,fdispそれぞれに「1」を設定して4つのインデックス画像(1002a,1002b,1002c,1002d)を表示させているのに対して、図37では、odisp,sdisp,tdisp,fdispそれぞれに「0」を設定して4つのインデックス画像(1002a,1002b,1002c,1002d)を非表示にしている。   FIG. 37 shows the display state when the screen aspect ratio is 16: 9 and the index is 4 frames (when odisp, sdisp, tdisp, and fdispOFF). In FIG. 32, four index images (1002a, 1002b, 1002c, and 1002d) are displayed with “1” set for each of odisp, sdisp, tdisp, and fdisp, whereas in FIG. 37, odisp, sdisp , Tdisp, and fdisp are set to “0” to hide the four index images (1002a, 1002b, 1002c, 1002d).

図38は、画面アスペクト比16:9インデックス1駒時(fdisp OFF時)の表示状態を示す。図33では、fdispに「1」を設定してインデックス画像1002dを表示させているのに対して、図38では、fdispに「0」を設定してインデックス画像1002dを非表示にしている。   FIG. 38 shows a display state when the screen aspect ratio is 16: 9 index 1 frame (when fdisp is OFF). In FIG. 33, “1” is set to fdisp and the index image 1002d is displayed, whereas in FIG. 38, “0” is set to fdisp and the index image 1002d is not displayed.

それでは、次に内視鏡合成画像の記録時のフローを示す。
図39は、内視鏡合成画像のフリーズ動作のフローを示す。フリーズ動作とは、内視鏡で撮影された映像を静止させる動作のことをいい、記録はされない。前に記載したように、CPU74が操作デバイスに割り当てられたフリーズ(FREEZE)機能を有するスイッチのONを検知した場合は(S1)、映像処理回路55のCPUI/F158のレジスタFREEZE,OPFREZEにある、FREEZ,OPFRZビットをONする(S2)。
Then, the flow at the time of recording of an endoscope synthetic image is shown next.
FIG. 39 shows a flow of the freeze operation of the endoscope composite image. The freeze operation refers to an operation that freezes an image taken with an endoscope and is not recorded. As described above, when the CPU 74 detects that the switch having the freeze (FREEZE) function assigned to the operation device is ON (S1), it is in the registers FREEZE and OPFREEZE of the CPU I / F 158 of the video processing circuit 55. The FREEZ and OPFRZ bits are turned ON (S2).

FREEZ,OPFRZビットは垂直同期信号VD1に同期してラッチされた後、フリーズ回路155、メモリ1(56)を制御すると共にフリーズ信号173,174として映像処理回路57や映像+合成処理93に出力され、拡大・強調・同時化回路163、メモリ2(58)、同時化回路208、メモリ6(101)を制御することにより、フリーズ処理が行われる。   The FREEZ and OPFRZ bits are latched in synchronization with the vertical synchronizing signal VD1, and then control the freeze circuit 155 and the memory 1 (56) and are output to the video processing circuit 57 and the video + compositing process 93 as freeze signals 173 and 174. The freeze process is performed by controlling the enlargement / enhancement / synchronization circuit 163, the memory 2 (58), the synchronization circuit 208, and the memory 6 (101).

システム設定画面の項目Freeze ModeにてPre−Freezeのレベルが1以上の時は、フリーズ機能はプリフリーズ処理となり(S3)、一定時間(例えばVD1間の時間を1Vとした場合に8V分)Wait処理を行って上記回路のプリフリーズ処理が完了するまでWaitする(S4)。   When the Pre-Freeze level is 1 or more in the item Freeze Mode on the system setting screen, the freeze function is pre-freeze processing (S3) and waits for a certain time (for example, 8V when the time between VD1 is 1V) Wait. Wait until the pre-freeze process of the above circuit is completed (S4).

(プリフリーズ処理:FREEZ,OPFRZビットのONを前記各回路が受信したタイミングの直前の一定の検索期間の画像の中から、最も色ずれに少ない画像を自動的に選択してフリーズする。設定画面のPre−Freezeのレベルを大きくすると前記検索期間の範囲が長くなるため、選択できる画像の数が多くなる。詳細は、特許文献5参照)。   (Pre-freeze processing: the image having the least color shift is automatically selected from the images in a certain search period immediately before the timing at which the circuits receive ON of the FREEZ and OPFRZ bits, and is frozen. If the Pre-Freeze level is increased, the range of the search period becomes longer, and the number of images that can be selected increases (see Patent Document 5 for details).

ユーザー設定画面の項目IHBのIHB_aveがONの場合は(S6)、画像処理回路202が演算した、ユーザー設定画面の項目IHBのIHBAreaで設定した領域のIHB値の平均値をCPUI/F4(203)のレジスタIHB_VALU(図17J参照)経由でREADし、グラフィック回路1(103)、グラフィック処理回路2(212)により、表示情報の制御を行い(S7)、表示が確定するまでWaitした後(例えばVD1間の時間を1Vとした場合に2V分)(S8)、フリーズフローを終了する(S9)。   When IHB_ave of the item IHB of the user setting screen is ON (S6), the average value of the IHB value of the area set by the IHBArea of the item IHB of the user setting screen calculated by the image processing circuit 202 is CPU I / F4 (203). And the display information is controlled by the graphic circuit 1 (103) and the graphic processing circuit 2 (212) (S7) and waits until the display is fixed (for example, VD1). If the time between them is 1V, 2V) (S8), the freeze flow is terminated (S9).

設定画面の項目Freeze ModeにてPre−Freezeのレベルが0の時は、項目Freezeで設定したフリーズ時間内にフリーズ処理が完了するようにポストフリーズ処理を行う(S5)。   When the level of Pre-Freeze is 0 in the item Freeze Mode on the setting screen, post-freeze processing is performed so that the freeze processing is completed within the freeze time set by the item Freeze (S5).

(ポストフリーズ処理:FREEZ,OPFRZビットのONを前記各回路が受信したタイミングの直後から、設定画面の項目Freezeで設定した検索期間の中で最も少ない画像を自動的に選択してフリーズする。)
なお、本フローには図示しないが、CPU74が操作デバイスに割り当てられたフリーズ(FREEZE)機能を有するスイッチのOFFを検知した場合は、映像処理回路55のCPUI/F158のレジスタFREEZE,OPFREZEにある、FREEZ,OPFRZビットをOFFし、垂直同期信号VD1に同期してラッチされた後、フリーズ回路155、メモリ1(56)を制御すると共にフリーズ信号173,174として映像処理回路57や映像+合成処理93に出力され、拡大・強調・同時化回路163、メモリ2(58)、同時化回路208、メモリ6(101)を制御することにより、フリーズ解除処理が行われる。
(Post-freeze processing: Immediately after the timing at which the circuits receive ON of the FREEZ and OPFRZ bits, the smallest image in the search period set by the item Freeze on the setting screen is automatically selected and frozen.)
Although not shown in this flow, when the CPU 74 detects that the switch having the freeze (FREEZE) function assigned to the operation device is turned off, the CPU 74 is in the registers FREEZE and OPFREEZE of the CPU I / F 158 of the video processing circuit 55. After the FREEZ and OPFRZ bits are turned OFF and latched in synchronism with the vertical synchronizing signal VD1, the freeze circuit 155 and the memory 1 (56) are controlled and the video processing circuit 57 and the video + compositing process 93 are used as the freeze signals 173 and 174. And the enlargement / emphasis / synchronization circuit 163, the memory 2 (58), the synchronization circuit 208, and the memory 6 (101) are controlled to perform the freeze release processing.

なお、フリーズのON,OFFは、操作デバイス上にそれぞれ専用のスイッチを設けてもよく、または同一スイッチのトグル(押す毎にON→OFF→ON→・・・のように切り替える)動作であってもよい。   In addition, ON / OFF of the freeze may be provided with a dedicated switch on the operation device, or the same switch is toggled (switched as ON → OFF → ON →... Each time it is pressed). Also good.

図40(図40A,図40B)は、周辺機器の内、写真撮影装置307,356、ファイリング装置308,357への記録動作(レリーズ)を示すフローである。レリーズ動作は、フリーズ動作と異なり、画像記録動作を伴う。(システム設定画面の項目「Index record」でReleaseを選択した場合の動作を示す。)
前に記載したように、CPU74が操作デバイスに割り当てられた、レリーズ(RELEASE)機能などの記録指示を行うスイッチのONを検知した場合は(S11)、まず内視鏡画像がフリーズされていない場合は(S12)、映像処理回路55のCPUI/F158のレジスタFREEZE,OPFREZEにある、FREEZ,OPFRZ,RELSE,OPRLEビットをONする(S13)。
FIG. 40 (FIGS. 40A and 40B) is a flow showing a recording operation (release) to the photography apparatuses 307 and 356 and the filing apparatuses 308 and 357 among the peripheral devices. Unlike the freeze operation, the release operation is accompanied by an image recording operation. (Shows the operation when Release is selected in the item “Index record” on the system setting screen.)
As described above, when the CPU 74 detects that the switch assigned to the operation device and performs a recording instruction such as a release (RELEASE) function (S11), the endoscope image is not first frozen. (S12), the FREEZ, OPFRZ, RELSE, and OPRLE bits in the registers FREEZE and OPFREEZE of the CPU I / F 158 of the video processing circuit 55 are turned ON (S13).

FREEZ,OPFRZ,RELSE,OPRLEビットは垂直同期信号VD1に同期してラッチされた後、フリーズ回路155、メモリ1(56)を制御すると共にフリーズ信号173,174として映像処理回路57や映像+合成処理93に出力され、拡大・強調・同時化回路163、メモリ2(58)、同時化回路208、メモリ6(101)を制御することにより、フリーズ処理が行われる。   The FREEZ, OPFRZ, RELSE, and OPRLE bits are latched in synchronization with the vertical synchronizing signal VD1, and then control the freeze circuit 155 and the memory 1 (56), and the video processing circuit 57 and the video + compositing process as freeze signals 173 and 174 The freeze process is performed by controlling the enlargement / enhancement / synchronization circuit 163, the memory 2 (58), the synchronization circuit 208, and the memory 6 (101).

設定画面の項目FreezeModeにてPre−Freezeのレベルが1以上の時は、フリーズ機能はプリフリーズ処理となり(S14)、一定時間(例えばVD1間の時間を1Vとした場合に8V分)Wait処理を行って上記回路のプリフリーズ処理が完了するまでWaitする(S15)。   When the Pre-Freeze level is 1 or higher in the item FreezeMode on the setting screen, the freeze function is pre-freeze processing (S14), and wait processing is performed for a certain period of time (for example, 8V if the time between VD1 is 1V). The process waits until the pre-freeze process of the circuit is completed (S15).

ユーザー設定画面の項目IHBのIHB_aveがONの場合は(S17)、画像処理回路202が演算した、ユーザー設定画面の項目IHBのIHBAreaで設定した領域のIHB値の平均値をCPUI/F4(203)のレジスタIHB_VALU経由でREADし、グラフィック回路1(103)、グラフィック処理回路2(212)により、表示情報の制御を行う(S18)。   When the IHB_ave of the item IHB of the user setting screen is ON (S17), the average value of the IHB value of the area set by the IHBArea of the item IHB of the user setting screen calculated by the image processing circuit 202 is CPU I / F4 (203). Is read via the register IHB_VALU, and the display information is controlled by the graphic circuit 1 (103) and the graphic processing circuit 2 (212) (S18).

設定画面の項目Freeze ModeにてPre−Freezeのレベルが0の時は、項目Freezeで設定したフリーズ時間内にフリーズ処理が完了するようにポストフリーズ処理を行う(S16)。   When the level of Pre-Freeze is 0 in the item Freeze Mode on the setting screen, post-freeze processing is performed so that the freeze processing is completed within the freeze time set by the item Freeze (S16).

(なお、S15,S16のWaitには、プリフリーズ処理の他、IHB値平均値演算時間、Waitで使用するタイマの誤差も含まれている。)
一方、内視鏡画像がフリーズされている場合は(S12)、もともとFREEZ,OPFRZビットはON状態の為、RELSE,OPRLEビットのみをONし、垂直同期信号VD1に同期してラッチされた後、フリーズ回路155、メモリ1(56)、拡大・強調・同時化回路163、メモリ2(58)、同時化回路208、メモリ6(101)に記録指示信号のみを送信する(S83)。その後、インデックス処理を行う(S19)。
(Wait of S15 and S16 includes the IHB value average value calculation time and the error of the timer used in Wait in addition to the pre-freeze process.)
On the other hand, when the endoscopic image is frozen (S12), since the FREEZ and OPFRZ bits are originally in an ON state, only the RELSE and OPRLE bits are turned on and latched in synchronization with the vertical synchronization signal VD1, Only the recording instruction signal is transmitted to the freeze circuit 155, the memory 1 (56), the enlargement / enhancement / synchronization circuit 163, the memory 2 (58), the synchronization circuit 208, and the memory 6 (101) (S83). Thereafter, index processing is performed (S19).

図41は、インデックス処理(S19)の詳細フローを示す。映像+合成処理93のCPUI/F209のレジスタIndex0のビットcpmod=“00”にして、メモリ8(112)のREAD,WRITE処理を行わないようにメモリ制御回路312、双方向バッファ310を制御する(メモリ112がSDRAMの場合は、WRITE,READ,WRITEA,READAコマンドを実行しない。他のコマンドは実行する。)
また、adisp,odisp,sdisp,tdisp,fdisp,=‘0’にして、インデックス画像の表示をOFFにする(図35〜図38参照)(S32)。S32の設定が確実に行われるまで、一定時間(例えば垂直同期信号VD3間の時間を1Vとした場合に1V分)Waitして(S33)、インデックス画像をメモリ8(112)にWRITE(格納)する処理を行う(S34)。
FIG. 41 shows a detailed flow of the index process (S19). The bit cpmod of the register Index0 of the CPU I / F 209 of the video + compositing process 93 is set to “00”, and the memory control circuit 312 and the bidirectional buffer 310 are controlled so that the READ and WRITE processes of the memory 8 (112) are not performed ( (If the memory 112 is an SDRAM, the WRITE, READ, WRITEA, and READA commands are not executed. Other commands are executed.)
Also, adisp, odisp, sdisp, tdisp, fdisp, and “0” are set to turn off the display of the index image (see FIGS. 35 to 38) (S32). Wait until a certain time (for example, 1 V when the time between the vertical synchronization signals VD3 is set to 1 V) is waited until S32 is reliably set (S33), and the index image is written (stored) in the memory 8 (112). (S34).

図42に、インデックス画像WRITE処理(S34)の詳細フローを示す。レジスタIndex0のビットcpmod=“10”にして、メモリ8(112)のWRITE処理を行うようにメモリ制御回路312、双方向バッファ310を制御し(メモリ112がSDRAMの場合は、例えばWRITE,WRITEAコマンドを実行する。)、縮小処理回路309で縮小された内視鏡画像がメモリ8(112)にWRITEされる(S51)。   FIG. 42 shows a detailed flow of the index image WRITE process (S34). The bit cpmod of the register Index0 is set to “10”, and the memory control circuit 312 and the bidirectional buffer 310 are controlled so that the WRITE process of the memory 8 (112) is performed (when the memory 112 is an SDRAM, for example, a WRITE, WRITEA command The endoscope image reduced by the reduction processing circuit 309 is written to the memory 8 (112) (S51).

CPUI/F209のレジスタwstartv,wstarth,wendv,wendh(以下インデックスWRITE用レジスタという)は、縮小処理回路309にて縮小処理される内視鏡画像の範囲を示し、前記指定された範囲において、縮小処理及びメモリ8(112)へのWRITE処理が行われる(図43,図44参照)。   Registers wstartv, wstartth, wedv, and wendh (hereinafter referred to as an index WRITE register) of the CPU I / F 209 indicate the range of the endoscopic image to be reduced by the reduction processing circuit 309, and the reduction processing is performed in the designated range. And the WRITE process to the memory 8 (112) is performed (see FIGS. 43 and 44).

インデックスWRITE用レジスタは、内視鏡1の種類、画像サイズ、画面アスペクト比、インデックス画像の駒数によって設定値が異なる。一例を図22〜図24に示す。
縮小処理の縮小率は、CPUI/F209のレジスタIndex0のビットred2−0で設定され縮小処理回路309を制御するが、内視鏡1の種類、画像サイズ、画面アスペクト比によって設定値が異なる。一例を図20,図21に示す。
The setting value of the index WRITE register varies depending on the type of the endoscope 1, the image size, the screen aspect ratio, and the number of frames of the index image. An example is shown in FIGS.
The reduction ratio of the reduction process is set by bits red2-0 of the register Index0 of the CPU I / F 209 and controls the reduction processing circuit 309, but the setting value differs depending on the type of the endoscope 1, the image size, and the screen aspect ratio. An example is shown in FIGS.

図45は、メモリ8(112)のメモリ構成の一例を示す。一例では2Mword×16bit×4BANK構成のSDRAMを2つ使用して1ドット当り最大32bitの映像データを格納できるようにしている。映像データは、R,G,Bそれぞれ10bitずつ格納するようにしても良く。残っているbitにはインデックス画像をマスクするマスク信号を格納しても良い。   FIG. 45 shows an example of the memory configuration of the memory 8 (112). In one example, two SDRAMs of 2Mword × 16bit × 4BANK configuration are used so that video data of up to 32 bits per dot can be stored. The video data may be stored in 10 bits each for R, G, and B. A mask signal for masking the index image may be stored in the remaining bits.

横方向、縦方向のアドレスは、それぞれメモリのCOLUMN ADRESS,ROW ADRESSを示し、BANKごとにインデックス画像を格納することで制御を容易に行えるようにしている。POSITION[0〜63]は、格納されているインデックス画像の位置を示し、本実施例では、最大64枚のインデックス画像を格納できる。   The address in the horizontal direction and the vertical direction indicate the column address and row address of the memory, respectively, and an index image is stored for each bank so that the control can be easily performed. POSITION [0-63] indicates the position of the stored index image. In this embodiment, a maximum of 64 index images can be stored.

また、CPUI/F209のレジスタIndex1のビットWPOSI(図17O参照)を設定することで、メモリ8(112)内のWRITEするPOSITIONを決定する。設定画面やユーザー設定画面など、内視鏡画像以外が表示されている場合は(S52)、CPUI/F209のレジスタIndex0のビットdwmsk=‘1’(図17N参照)に設定し(S54)、合成回路308にて内視鏡画像のマスク処理をONして、縮小処理回路309に固定値(例えばALL“0”)を出力して、システム設定画面やユーザー設定画面などの縮小画像がメモリ8(112)にWRITEされないようにする。   Further, by setting the bit WPOSI (see FIG. 17O) of the register Index1 of the CPU I / F 209, the POSITION to be written in the memory 8 (112) is determined. When an image other than the endoscopic image is displayed, such as a setting screen or a user setting screen (S52), the bit dwmsk = '1' (see FIG. 17N) of the register Index0 of the CPU I / F 209 is set (S54), and the composition is performed. The mask processing of the endoscopic image is turned on by the circuit 308 and a fixed value (for example, ALL “0”) is output to the reduction processing circuit 309, and the reduced image such as the system setting screen or the user setting screen is stored in the memory 8 ( 112) is not written.

内視鏡画像が表示された場合は(S52)、dwmsk=‘0’のとして(S53)、内視鏡画像のマスク処理をOFFする。メモリ8(112)に確実に1フレーム分の縮小画像をWRITEするよう、一定時間(例えば垂直同期信号VD3間の時間を1Vとした場合に3V分)Waitする(S55)。   When the endoscopic image is displayed (S52), dwmsk = '0' is set (S53), and the mask processing of the endoscopic image is turned off. In order to reliably write the reduced image for one frame to the memory 8 (112), it waits for a certain time (for example, 3V when the time between the vertical synchronization signals VD3 is 1V) (S55).

CPUI/F209のレジスタIndex0のビットcpmod=“00”、adisp,odisp,sdisp,tdisp,fdisp,=‘0’にして、インデックス画像の表示をOFFにし(図41のS35)、S35の設定が確実に行われるまで一定時間(例えば垂直同期信号VD3間の時間を1Vとした場合に1V分)Waitした後(S36)、インデックス画像READ処理を行う(S37)。   Set the bit cpmod = “00” of the register Index0 of the CPU I / F 209, adisp, odisp, sdisp, tdisp, fdisp, = '0' to turn off the display of the index image (S35 in FIG. 41), and the setting of S35 is ensured. After waiting for a predetermined time (for example, 1 V when the time between the vertical synchronization signals VD3 is 1 V) (S36), index image READ processing is performed (S37).

図46は、インデックス画像READ処理(図41のS37)の詳細フローを示す。設定画面のIndex Delete設定がOFFの場合は(S58)、CPUI/F209のレジスタIndex0のビットcpmod=“01”,adisp=‘0’,odisp,sdisp,tdisp,fdispを設定、レジスタIndex3,Index4のビットioposi5−0,isposi5−0,itposi5−0,ifposi5−0を設定して、メモリ8(112)のREAD処理を行うようにメモリ制御回路312、双方向バッファ310を制御し(メモリ112がSDRAMの場合は、例えばREAD、READAコマンドを実行する。)、メモリ8(112)に格納された内視鏡画像をREADし、双方向バッファ310を経由してマスク処理回路306にてインデックスのマスク処理を行った後、合成処理回路313にてインデックス画像が合成される(S59)。   FIG. 46 shows a detailed flow of the index image READ process (S37 in FIG. 41). If the Index Delete setting on the setting screen is OFF (S58), the bits cpmod = “01”, adisp = “0”, odisp, sdisp, tdisp, and fdisp of the register Index0 of the CPU I / F 209 are set, and the registers Index3 and Index4 are set. Bits iposi5-0, isposi5-0, itposi5-0, and ifposi5-0 are set to control the memory control circuit 312 and the bidirectional buffer 310 so as to perform the READ processing of the memory 8 (112) (the memory 112 is the SDRAM). In this case, for example, READ and READA commands are executed.) The endoscope image stored in the memory 8 (112) is read, and the mask processing circuit 306 performs index mask processing via the bidirectional buffer 310. After doing The index images are combined by forming processing circuit 313 (S59).

設定画面のIndex Delete設定がONの場合は、このタイミングではcpmodの設定を行わない。
CPUI/F209のレジスタrstarth,rstarth2,rstarth3,rstarth4,rstartv,rstartv2,rstartv3,rstartv4はメモリ8(112)からREADした縮小画像を表示する位置(図43,図44参照)、rareav,rareahはメモリ112の各ポジションの左上部を基点((x,y)=(0,0))とした場合の各ポジションからデータをREADする範囲(図47参照)を示し(以下インデックスREAD用レジスタという)、その設定に基づいてメモリ制御回路312,双方向バッファ310,メモリ112を制御する。
If the Index Delete setting on the setting screen is ON, cpmod is not set at this timing.
The registers rstart, rstart2, rstart3, rstart4, rstartv2, rstartv2, rstartv3, and rstartv4 of the CPU I / F 209 are positions where the reduced image read from the memory 8 (112) is displayed (see FIGS. 43 and 44), and the rareav and rareh are the memory 112. Indicates the range (see FIG. 47) for reading data from each position when the upper left corner of each position is the base point ((x, y) = (0, 0)) (hereinafter referred to as index READ register). Based on the setting, the memory control circuit 312, the bidirectional buffer 310, and the memory 112 are controlled.

これらのレジスタは内視鏡1の種類,画像サイズ,画面アスペクト比,インデックス画像の駒数によって設定値が異なる。一例を図22〜図24に示す。また、CPUI/F209のレジスタwmskx0,wmsky0,wmskx1,wmsky1,wmsktはメモリ112の各ポジションの左上部を基点((x,y)=(0,0))とした場合のマスク処理回路306のマスク範囲(図47参照)を示す(以下、インデックスマスクレジスタという)。   These registers have different setting values depending on the type of the endoscope 1, the image size, the screen aspect ratio, and the number of frames of the index image. An example is shown in FIGS. Further, the registers wmskx0, wmsky0, wmskx1, wmsky1, and wmskt of the CPU I / F 209 are masks of the mask processing circuit 306 when the upper left part of each position of the memory 112 is set as a base point ((x, y) = (0, 0)). A range (see FIG. 47) is shown (hereinafter referred to as an index mask register).

レジスタは、内視鏡1の種類、画面アスペクト比によって設定値(すなわちマスク範囲)が異なる(一例を図22〜図24に示す)。ただし、同じ内視鏡1の場合には、画像サイズが変わってもマスク範囲は変わらないように制御しなければならない。よって、同じ内視鏡1の場合には、インデックスマスクレジスタの値は固定とし、インデックスREAD用レジスタ、インデックスWRITEレジスタ、ビットredの値を変更することで対応する(本実施例では、画像サイズごとにインデックスWRITEレジスタ及びビットredを変更することで対応している)。   The register has different set values (that is, mask ranges) depending on the type of endoscope 1 and the screen aspect ratio (an example is shown in FIGS. 22 to 24). However, in the case of the same endoscope 1, control must be performed so that the mask range does not change even if the image size changes. Therefore, in the case of the same endoscope 1, the value of the index mask register is fixed, and the values of the index READ register, the index WRITE register, and the bit red are changed (in this embodiment, for each image size). To the index WRITE register and the bit red).

図41において、CPUI/F209のレジスタIndex1のビットWPOSIを設定し、次の記録指示時にメモリ112にWRITEするポジションを決定する。WPOSI=63のときは(S38),WPOSI=0を設定し(S39)、それ以外はWPOSIの値をインクリメント(+1)する(S40)。   In FIG. 41, the bit WPOSI of the register Index1 of the CPU I / F 209 is set, and the position to write to the memory 112 at the next recording instruction is determined. When WPOSI = 63 (S38), WPOSI = 0 is set (S39). Otherwise, the value of WPOSI is incremented (+1) (S40).

その後、記録を開始してから記録終了指示(電源OFF、操作デバイス上の検査終了キーなど)が行われるまでの記録指示回数Zを確認し(S41)、40回以上のときは(S42)、CPUI/F209のレジスタIndex2のCaps=Z−40,Capn=Z−1(S43)、40回未満の時はCaps=0,Capn=Z−1を設定し(S44)、インデックス一覧表示を行った場合のインデックス画像の表示駒数を設定する。   Thereafter, the recording instruction count Z from the start of recording until the recording end instruction (power OFF, inspection end key on the operation device, etc.) is performed is confirmed (S41), and when it is 40 times or more (S42), Caps = Z-40 and Capn = Z-1 (S43) of the register Index2 of the CPU I / F 209, and Caps = 0 and Capn = Z-1 are set when the number is less than 40 (S44), and the index list is displayed. Sets the number of frames displayed for the index image.

その後、周辺機器へ記録指示信号ONを送る(図40BのS20)(例えば、レジスタREMOTOUTPのRMOSCV0,RMODF0,RMOSCV1,RMODF1ビットのON,VTR_232C,VTR2_232C,DF_232C,DF2_232C,SCV_232C,SCV2_232Cへ記録指示コマンドの設定など)(なお、S20の動作は、S19の処理途中で出力するよう制御しても良い。)。   Thereafter, the recording instruction signal ON is sent to the peripheral device (S20 in FIG. 40B) (for example, the RMOSCV0, RMODF0, RMOSCV1, and RMODF1 bits ON of the register REMOTOUTP, VTR — 232C, VTR2 — 232C, DF — 232C, DF2 — 232C, SCV — 232C, SCV2 — 232C (Setting etc.) (Note that the operation of S20 may be controlled to be output during the process of S19).

その後、設定画面のRelease Timeで設定された時間Waitし、Release TimeのHDTVの設定時間が終了した場合は(S22),S18で設定したIHB_VALUの値を消去して空欄もしくはハイフン(−)を表示するようにグラフィック回路212を制御し(S23)、ビットOPFRZ,OPRLEをOFFしてフリーズ,レリーズを解除し、レジスタREMOTOUTPのRMOSCV1,RMODF1ビットのOFFして周辺機器の記録信号をOFFする(S24)。   After that, the time set by Release Time on the setting screen is waited, and when the HDTV setting time of Release Time ends (S22), the value of IHB_VALU set in S18 is deleted and a blank or a hyphen (-) is displayed. The graphic circuit 212 is controlled (S23), the bits OPFRZ and OPRLE are turned OFF to release the freeze and release, and the RMOSCV1 and RMODF1 bits of the register REMOTOUTP are turned OFF to turn off the recording signal of the peripheral device (S24). .

その後SDTVの設定時間が終了した場合は(S25)、IHB_VALUの値を消去して空欄もしくはハイフン(−)を表示するようにグラフィック回路103を制御し(S26)、ビットFREEZ,RELSEをOFFしてフリーズ,レリーズを解除し、レジスタREMOTOUTPのRMOSCV0,RMODF0ビットのOFFして周辺機器の記録信号をOFFする(S27)。   Thereafter, when the set time of the SDTV is over (S25), the graphic circuit 103 is controlled to delete the value of IHB_VALU and display a blank or a hyphen (-) (S26), and the bits FREEZ and RELSE are turned OFF. Freeze and release are canceled, and the RMOCV0 and RMOD0 bits of the register REMOTOUTP are turned OFF to turn off the recording signal of the peripheral device (S27).

Release TimeのHDTVの設定時間が未終了の場合は(S22)、SDTVの設定時間が終了した場合は(S80)、IHB_VALUの値を消去して空欄もしくはハイフン(−)を表示するようにグラフィック回路103を制御し(S81)、ビットFREEZ,RELSEをOFFしてフリーズ,レリーズを解除し、レジスタREMOTOUTPのRMOSCV0,RMODF0ビットのOFFして周辺機器の記録信号をOFFし(S82)、再度HDTVの設定時間の確認を行う。その後、インデックス処理2を行う(S28)。   When the Release Time HDTV setting time has not ended (S22), and when the SDTV setting time has ended (S80), the graphic circuit is configured to delete the value of IHB_VALU and display a blank or a hyphen (-). 103 (S81), the bits FREEZ and RELSE are turned OFF to release the freeze and release, the RMOSCV0 and RMOD0 bits of the register REMOTOUTP are turned OFF to turn off the recording signal of the peripheral device (S82), and the HDTV is set again. Check the time. Thereafter, index processing 2 is performed (S28).

図48は、インデックス処理2(S28)の詳細フローを示す。まず、CPUI/F209のレジスタIndex3,Index4のビットioposi5−0,isposi5−0,itposi5−0,ifposi5−0を+1する(S201)。また、ioposi5−0,isposi5−0,itposi5−0,ifposi5−0のうちいずれか=63の場合は(S205)、+1せず0を設定する(S206)。   FIG. 48 shows a detailed flow of the index process 2 (S28). First, the bits ioposi5-0, isposi5-0, itposi5-0, and ifposi5-0 of the registers Index3 and Index4 of the CPU I / F 209 are incremented by 1 (S201). If any of ioposi5-0, isposi5-0, itposi5-0, and ifposi5-0 = 63 (S205), 0 is set instead of +1 (S206).

設定画面のIndex Delete設定がONの場合は(S202)、CPUI/F209のレジスタIndex0のビットcpmod=“01”,adisp=‘0’,odisp,sdisp,tdisp,fdispを設定、レジスタIndex3,Index4のビットioposi5−0,isposi5−0,itposi5−0,ifposi5−0を設定して、メモリ8(112)のREAD処理を行うようにメモリ制御回路312、双方向バッファ310を制御し(メモリ112がSDRAMの場合は、例えばREAD,READAコマンドを実行する。)、メモリ8(112)に格納された内視鏡画像をREADし、双方向バッファ310を経由してマスク処理回路306にてインデックスのマスク処理を行った後、合成処理回路313にてインデックス画像が合成される(S203)。   When the Index Delete setting on the setting screen is ON (S202), the bits cpmod = “01”, adisp = “0”, odisp, sdisp, tdisp, and fdisp of the register Index0 of the CPU I / F 209 are set, and the registers Index3 and Index4 are set. Bits iposi5-0, isposi5-0, itposi5-0, and ifposi5-0 are set to control the memory control circuit 312 and the bidirectional buffer 310 so as to perform the READ processing of the memory 8 (112) (the memory 112 is the SDRAM). In this case, for example, READ and READA commands are executed.) The endoscope image stored in the memory 8 (112) is read, and the mask processing circuit 306 performs index mask processing via the bidirectional buffer 310. After doing The index images are combined by forming processing circuit 313 (S203).

S59,S203の設定より、Index Delete設定がONの場合は、周辺機器へ記録中はインデックス画像が表示されず、その結果記録画像にインデックス画像が表示されない。ユーザーは、Index Delete設定のON/OFF設定を行うことにより容易に記録画像へのインデックス画像の追加/削除を行うことができる。   If the Index Delete setting is ON from the settings of S59 and S203, the index image is not displayed during recording to the peripheral device, and as a result, the index image is not displayed on the recorded image. The user can easily add / delete the index image to / from the recorded image by setting ON / OFF of the Index Delete setting.

図49は、画像サイズの変更のフローを示す。同図では、まず、マスク変更の指示がされたか否かを判断する(S61)。変更指示が無ければ、本フローは終了する。変更指示が合った場合、拡大方向へのマスクサイズを変更か否かが判断される(S62)。拡大方向へのマスクサイズの変更の場合SIZSEL,HSIZSELを変更して画像サイズを切り替える(S63)。一定時間(3V分)Waitした後(S65)、HDマスク設定を行う(S66)。その後、SDマスク設定(SMSKSEL)を行い(S68)、本フローは終了する。   FIG. 49 shows the flow of changing the image size. In the figure, first, it is determined whether or not an instruction to change the mask is given (S61). If there is no change instruction, this flow ends. If the change instruction is correct, it is determined whether or not to change the mask size in the enlargement direction (S62). In the case of changing the mask size in the enlargement direction, the image size is switched by changing SIZSEL, HSIZSEL (S63). After waiting for a fixed time (3 V) (S65), HD mask setting is performed (S66). Thereafter, SD mask setting (SMSKSEL) is performed (S68), and this flow ends.

また、縮小方向へのマスクサイズの変更の場合、HDマスク設定を行い(S64)、SDマスク設定(SMSKSEL)を行い(S67)、一定時間(3V分)Waitした後(S69)、SIZSEL,HSIZSELを変更して画像サイズを切り替える(S70)。拡大縮小でマスク処理のタイミングが異なるのは、画像の端に生じるノイズの影響を少なくするためである。   In the case of changing the mask size in the reduction direction, HD mask setting is performed (S64), SD mask setting (SMSKSEL) is performed (S67), and after waiting for a fixed time (3V) (S69), SIZSEL, HSIZSEL. To change the image size (S70). The reason why the mask processing timing differs between enlargement and reduction is to reduce the influence of noise generated at the edge of the image.

図50は、図49のHDマスクサイズ設定処理のフローを示す。まず、HMKON=‘1’(図17O参照)とし(S71)、HMSKX0,HMSKX1,HMSKY0,HMSKY1,HMSKT0,HMSKT1を設定する(S72)(HMSKX0,HMSKX1,HMSKY0,HMSKY1,HMSKT0,HMSKT1については、図17参照)。次に、HMKON=‘0’とし(S73)、本フローが終了する(S74)。   FIG. 50 shows the flow of the HD mask size setting process of FIG. First, HMKON = '1' (see FIG. 17O) is set (S71), and HMSKX0, HMSKX1, HMSKY0, HMSKY1, HMSKT0, HMSKT1 are set (S72) (HMSKX0, HMSKX1, HMSKY0, HMSKY1, HMSKT0, HMSKT1, 17). Next, HMKON = '0' is set (S73), and this flow ends (S74).

図51(図51A,図51B)は、周辺機器の内、プリンタ306,355への記録動作を示すフローである(システム設定画面の項目「Index record」でCaptureを選択した場合の動作を示す。)。CPU74が操作デバイスに割り当てられた、CAPTURE機能(例えばフロントパネル69の「Print」キー、又はキーボード14のCAPキーなど)などの記録指示を行うスイッチのONを検知した場合に記録動作を行う(S111)。   51 (FIGS. 51A and 51B) is a flowchart showing the recording operation to the printers 306 and 355 among the peripheral devices (the operation when “Capture” is selected in the item “Index record” of the system setting screen). ). The recording operation is performed when the CPU 74 detects that a switch for instructing recording such as a CAPTURE function (for example, the “Print” key on the front panel 69 or the CAP key on the keyboard 14) assigned to the operation device is turned on (S111). ).

S112〜S119は、図40のS12〜S19と同様に行う。その後、周辺機器へ記録指示信号ONを送る(S120)(例えば、レジスタREMOTOUTPのRMOCVP0,RMOCVP1,CVP_232C,CVP2_232Cへ記録指示コマンドの設定など)。   S112 to S119 are performed in the same manner as S12 to S19 in FIG. Thereafter, a recording instruction signal ON is sent to the peripheral device (S120) (for example, setting of a recording instruction command to RMOCVP0, RMOCVP1, CVP_2232C, CVP2_2232C of the register REMOTOUTP).

その後、プリンタ355からキャプチャ終了の指示が受信された場合は(S122)、S118で設定したIHB_VALUの値を消去して空欄もしくはハイフン(−)を表示するようにグラフィック回路212を制御し(S123)、ビットOPFRZ,OPRLEをOFFしてフリーズ,レリーズを解除し、レジスタREMOTOUTPのRMOSCV1,RMODF1ビットのOFFして周辺機器の記録信号をOFFする(S124)。   Thereafter, when an instruction to end capture is received from the printer 355 (S122), the graphic circuit 212 is controlled so as to delete the value of IHB_VALU set in S118 and display a blank or a hyphen (-) (S123). Then, the bits OPFRZ and OPRLE are turned off to release the freeze and release, and the RMOSCV1 and RMODF1 bits of the register REMOTOUTP are turned off to turn off the recording signal of the peripheral device (S124).

プリンタ306からキャプチャ終了の指示が受信された場合は(S125)、IHB_VALUの値を消去して空欄もしくはハイフン(−)を表示するようにグラフィック回路103を制御し(S126)、ビットFREEZ,RELSEをOFFしてフリーズ,レリーズを解除し、レジスタREMOTOUTPのRMOSCV0,RMODF0ビットのOFFして周辺機器の記録信号をOFFする(S127)。   When a capture end instruction is received from the printer 306 (S125), the graphic circuit 103 is controlled to delete the value of IHB_VALU and display a blank or a hyphen (-) (S126), and the bits FREEZ and RELSE are set. It is turned OFF to release freeze and release, and the RMOCV0 and RMOD0 bits of the register REMOTOUTP are turned OFF to turn off the recording signal of the peripheral device (S127).

プリンタ355からキャプチャ終了の指示が受信されない場合(S122)、プリンタ306からキャプチャ終了の指示が受信された場合は(S180)、IHB_VALUの値を消去して空欄もしくはハイフン(−)を表示するようにグラフィック回路103を制御し(S181)、ビットFREEZ,RELSEをOFFしてフリーズ,レリーズを解除し、レジスタREMOTOUTPのRMOSCV0,RMODF0ビットのOFFして周辺機器の記録信号をOFFし(S182)、再度プリンタ355からキャプチャ終了の指示の確認を行う。   When a capture end instruction is not received from the printer 355 (S122), and when a capture end instruction is received from the printer 306 (S180), the value of IHB_VALU is deleted and a blank or a hyphen (-) is displayed. The graphic circuit 103 is controlled (S181), the bits FREEZ and RELSE are turned OFF to release the freeze and release, the RMOCV0 and RMOD0 bits of the register REMOTOUTP are turned OFF to turn off the recording signal of the peripheral device (S182), and the printer again. From 355, the capture end instruction is confirmed.

S122,S125,S180のキャプチャ終了確認は、一定期間のみ行うようにし、一定期間内に処理が完了しない場合は、タイムアウトしてエラー処理を行い(周辺機器へのエラー表示、エラーコマンド送信など)、記録動作を終了する。   The capture end confirmation in S122, S125, and S180 is performed only for a certain period, and if the process is not completed within the certain period, an error process is performed with a timeout (error display to peripheral device, error command transmission, etc.) End the recording operation.

(なお、キャプチャー終了の指示は、例えばレジスタREMOTINPのRMICVP1,RMICVP0ビットが動作OK又はCVP_232C,CVP2_232Cでキャプチャー完了コマンドの受信など。)
なお、図51のように、プリンタ306,355への記録動作において、フリーズ時(S112でYes)に記録動作があった場合は、S124,S182のFREEZ,OPFRZはONのままにし、フリーズを解除しないようにしてもよく、又、システム設定画面の項目Languageで設定される言語(仕向け地)によってフリーズの解除/解除しない動作を自動的に変更可能であってもよい(例えば、「JP」選択時はフリーズを解除しないようにし、「US」,「GB」,「FR」,「D」選択時はフリーズの解除を行う)。
(The capture end instruction is, for example, that the RMICVP1 and RMICVP0 bits of the register REMOTINP are OK or the capture completion command is received at CVP — 232C, CVP2 — 232C).
As shown in FIG. 51, in the recording operation to the printers 306 and 355, if there is a recording operation at the time of freezing (Yes in S112), the FREEZ and OPFRZ in S124 and S182 are kept ON and the freeze is released. It may be possible not to perform the operation, or the operation that does not cancel / cancel the freeze may be automatically changed depending on the language (destination) set in the item “Language” on the system setting screen (for example, “JP” selection) (Freeze is not canceled at the time, and freeze is canceled when “US”, “GB”, “FR”, “D” is selected).

S128は、S28と同様の処理を行う。なお記録指示回数Zは、写真撮影装置307,356、ファイリング装置308,357への記録動作の場合(S19)と、プリンタ306,355への記録動作(S119)の場合で独立して計数しても良く、S19とS119の係数を合計したものでも良い。   In S128, the same processing as S28 is performed. The recording instruction count Z is counted independently in the case of the recording operation to the photography devices 307 and 356 and the filing devices 308 and 357 (S19) and in the case of the recording operation to the printers 306 and 355 (S119). The sum of the coefficients of S19 and S119 may also be used.

図52は、メモリ8(112)とレジスタIndex0と内視鏡合成画像との関係を示す。なお、図40,図51において、S20やS120,S122,S125,S180の処理時に記録機器から記録エラーコマンド(キャプチャーエラー、プリンタ印刷中も含む)を受信した場合は、その記録動作によるインデックス処理を無効にし、インデックス画像の更新を行わないようにしても良い。   FIG. 52 shows the relationship among the memory 8 (112), the register Index0, and the endoscope composite image. 40 and 51, when a recording error command (including a capture error and during printer printing) is received from the recording device during the processing of S20, S120, S122, S125, and S180, index processing based on the recording operation is performed. It is also possible to invalidate and not update the index image.

また、システム設定画面の項目「Index record」でRelease+Captureを選択した場合は、図40,図51の記録処理の内共通の処理は、共通して行えるようにし、プログラムの省力化を図っても良い。   Further, when Release + Capture is selected in the item “Index record” on the system setting screen, the common processing of the recording processing of FIGS. 40 and 51 may be performed in common, and the program may be saved. .

図53(図53A,図53B)は、インデックス一覧表示動作のフローチャート図を示す。操作デバイスから画像一覧表示SWの入力があった場合(例えば、図69Cの「SHIFT+SEACH」)(S210)、内視鏡画面が表示されている状態の時は(S211)、CPUI/F209のレジスタHCNTLのビットHCHRONを‘0’に設定し、グラフィック回路103,212を制御して内視鏡関連情報などの文字やグラフィックを消去し、CPUI/F209のレジスタHCNTLのビットHMUTEを‘0’に設定して内視鏡画像の表示をOFFにし、CPUI/F209のレジスタIndex0のビットcpmod=“00”,adisp,odisp,sdisp,tdisp,fdisp=‘0’にして、インデックス画像の表示をOFFにし(S212)、S212の設定が確実に行われるまで一定時間(例えば垂直同期信号VD3間の時間を1Vとした場合に1V分)Waitする(S213)。   FIG. 53 (FIGS. 53A and 53B) shows a flowchart of the index list display operation. When the image list display SW is input from the operation device (for example, “SHIFT + SEACH” in FIG. 69C) (S210), when the endoscope screen is being displayed (S211), the register HCNTL of the CPU I / F 209 is displayed. The bit HCHRON of the CPU is set to “0”, the graphic circuits 103 and 212 are controlled to erase characters and graphics such as endoscope related information, and the bit HMUTE of the register HCNTL of the CPU I / F 209 is set to “0”. Thus, the display of the endoscopic image is turned off, the bit cpmod = “00”, adisp, odisp, sdisp, tdisp, fdisp = “0” of the register Index0 of the CPU I / F 209 is set to turn off the display of the index image (S212). ), A certain period of time until the setting of S212 is surely performed ( In example 1V minute when the time between the vertical synchronizing signal VD3 as 1V) to Wait (S213).

その後、CPUI/F209のレジスタrstarth,rstarth2,rstarth3,rstarth4,rstarth5,rstartv,rstartv2,rstartv3,rstartv4,rareav,rareah,wmskx0,wmsky0,wmskx1,wmsky1,wmsktを設定する(図54参照)。   Then, registers rstart, rstart2, rstart3, rstartth4, rstart5, rstartv, rstartv2, rstartv3, rstartv4, rareav, rareah, wmskx0, wmsky0, wmskyx1, wmsky1, wmskt1 are set (see FIG. 54).

(内視鏡1の種類、画像サイズ、画面アスペクト比によって設定値が異なる。)(一例を図25に示す)。
また、CPUI/F209のレジスタIndex2のビットcappを“00”を設定し、インデックス一覧表示の1ページ目が表示されるよう設定する(S218)。S218の設定が確実に行われるまで一定時間(例えば垂直同期信号VD3間の時間を1Vとした場合に1V分)Waitし(S219)、CPUI/F209のレジスタIndex0のビットcpmod=“01”,adisp=‘1’を設定して(S220)、インデックスの一覧表示を行う(S221)。
(Setting values differ depending on the type of endoscope 1, image size, and screen aspect ratio) (an example is shown in FIG. 25).
Further, the bit capp of the register Index2 of the CPU I / F 209 is set to “00” so that the first page of the index list display is displayed (S218). Wait until the setting of S218 is surely performed (for example, 1 V when the time between the vertical synchronizing signals VD3 is 1 V) (S219), and the CPU interface 209 register Index0 bit cpmod = "01", adisp = '1' is set (S220), and an index list is displayed (S221).

なお、画像一覧表示SWの入力があった場合にインデックス一覧表示画面が表示されている状態の時は(S211),CPUI/F209のレジスタIndex0のビットcpmod=“00”,adisp,odisp,sdisp,tdisp,fdisp=‘0’にして、インデックス画像の表示をOFFにし(S214)、S214の設定が確実に行われるまで一定時間(例えば垂直同期信号VD3間の時間を1Vとした場合に1V分)Waitし(S215)、CPUI/F209のレジスタHCNTLのビットHCHRONを‘1’に設定しグラフィック回路103,212を制御して内視鏡関連情報などの文字やグラフィックを表示し、CPUI/F209のレジスタHCNTLのビットHMUTEを‘1’に設定して内視鏡画像の表示をONにし、CPUI/F209のレジスタIndex0のビットcpmod,adisp,odisp,sdisp,tdisp,fdisp,caps,capnをインデックス一覧表示前の内視鏡画像表示時の状態に戻す(S216)。   When the index list display screen is displayed when the image list display SW is input (S211), the bit cpmod = “00”, adisp, odisp, sdisp, CPUI / F209 register Index0 is displayed. tdisp, fdisp = '0', the index image display is turned OFF (S214), and a fixed time until the setting of S214 is performed reliably (for example, 1V when the time between the vertical synchronization signals VD3 is 1V) Wait (S215), set the bit HCHRON of the register HCNTL of the CPU I / F 209 to “1”, control the graphic circuits 103 and 212 to display characters and graphics such as endoscope related information, and the register of the CPU I / F 209 Endoscope with HCNTL bit HMUTE set to '1' ON the display of the image, CPU I / F 209 of the bits of the register Index0 cpmod, back adisp, odisp, sdisp, tdisp, fdisp, caps, the state of the endoscopic image displayed during the previous index list capn (S216).

図52においてレジスタIndex0と内視鏡合成画像との関係を示す。なお、インデックス一覧表示時に、前述したレリーズやキャプチャー動作など記録動作を行うことも可能である。その場合には、レリーズ又はキャプチャーどちらか一方のみ有効にしても良い。   FIG. 52 shows the relationship between the register Index0 and the endoscope composite image. It is possible to perform a recording operation such as the release or capture operation described above when displaying the index list. In that case, only one of the release and capture may be enabled.

図55(図55A,図55B)は、インデックス一覧表示のページ切り替え動作のフローチャート図を示す。操作デバイスからPAGE切り替えSWの入力があった場合(S225)、CPUI/F209のレジスタIndex0のビットcpmod=“00”,adisp,odisp,sdisp,tdisp,fdisp=‘0’にして、インデックス画像の表示をOFFにし(S226)、S226の設定が確実に行われるまで一定時間(例えば垂直同期信号VD3間の時間を1Vとした場合に1V分)Waitする(S227)。   FIG. 55 (FIGS. 55A and 55B) shows a flowchart of the page switching operation of the index list display. When the PAGE switching SW is input from the operation device (S225), the index image is displayed by setting the bits cpmod = “00”, adisp, odisp, sdisp, tdisp, fdisp = “0” of the register Index0 of the CPU I / F 209. Is turned off (S226), and a certain time (for example, 1V when the time between the vertical synchronization signals VD3 is 1V) is waited until the setting of S226 is surely performed (S227).

CPUI/F209のレジスタIndex2のビットcapp=を“00”ならば(S228)、capp=“01”を設定し、インデックス一覧表示の2ページ目が表示されるよう設定する(S229)。なお、例えば1ページで表示されるインデックス画像の枚数が20枚の場合、記録指示回数Z≦20のときは2ページ目に移行しないように制御する(エラー処理(エラー音 or エラー表示)を行ってもよい)。   If the bit capp = of the register Index2 of the CPU I / F 209 is “00” (S228), capp = “01” is set, and the second page of the index list display is set to be displayed (S229). For example, if the number of index images displayed on one page is 20, control is performed so as not to move to the second page when the number of recording instructions Z ≦ 20 (error processing (error sound or error display) is performed). May be).

なお、2ページ目では、Z<40のときは、Z−20の枚数が表示される。またZ≧40の場合は、S43にてCaps=Z−40,Capn=Z−1の設定がおこなれる為、メモリ112にWriteされた最新の20枚が表示される。CPUI/F209のレジスタIndex2のビットcapp=を“01”ならば(S228)、capp=“00”を設定し、インデックス一覧表示の1ページ目が表示されるよう設定する(S230)。   On the second page, when Z <40, the number of Z-20 is displayed. If Z ≧ 40, Caps = Z-40 and Capn = Z-1 are set in S43, and the latest 20 written data are displayed in the memory 112. If the bit capp = of the register Index2 of the CPU I / F 209 is “01” (S228), capp = “00” is set so that the first page of the index list display is displayed (S230).

またZ≧40の場合は、S43にてCaps=Z−40,Capn=Z−1の設定が行われるため、2ページ目に表示された最新の20枚の次の20枚が1ページ目で表示される(S230)。S229又はS230の設定が確実に行われるまで、一定時間(例えば垂直同期信号VD3間の時間を1Vとした場合に1V分)Waitし(S231)、CPUI/F209のレジスタIndex0のビットcpmod=“01”,adisp=‘1’にして、再度インデックス画像を表示する(S232)。   If Z ≧ 40, Caps = Z-40 and Capn = Z-1 are set in S43, so the next 20 of the 20 most recent images displayed on the second page are the first page. It is displayed (S230). Wait until the setting of S229 or S230 is performed reliably (for example, 1 V when the time between the vertical synchronization signals VD3 is 1 V) (S231), and the bit cpmod = “01” of the register Index0 of the CPU I / F 209 ", Adsp = '1', and the index image is displayed again (S232).

図56,図57は、インデックス一覧の一例を示す(インデックス画像内の数字はZの値を示す。)。図56はZ=15の場合で、1ページのみ表示される。図57はZ=42の場合で、図57(a)が1ページ、図57(b)が2ページ目を示す。Z=42≧40のため、最新の40枚が表示される。   56 and 57 show an example of the index list (the numbers in the index image indicate the value of Z). FIG. 56 shows only one page when Z = 15. FIG. 57 shows the case of Z = 42, FIG. 57 (a) shows the first page, and FIG. 57 (b) shows the second page. Since Z = 42 ≧ 40, the latest 40 images are displayed.

図58は、インデックス画像連続作成の一連の動作を示すフローチャート図を示す。プロセッサ13の電源がON(S240)、プログラムモードが判別され(S400)(詳細は図85のフローチャート参照)、プロセッサ内の各回路の初期化が行われる(S241)。(プロセッサ13の電源がONのまま、内視鏡1が交換された場合は、S400は省略される、S401)
S241で映像+合成処理回路93のCPUI/F(209)の一部は以下のように初期化される。
FIG. 58 is a flowchart showing a series of operations for continuously creating index images. The power of the processor 13 is turned on (S240), the program mode is determined (S400) (refer to the flowchart of FIG. 85 for details), and each circuit in the processor is initialized (S241). (If the endoscope 1 is replaced while the power of the processor 13 is ON, S400 is omitted, S401)
In S241, a part of the CPU I / F (209) of the video + compositing processing circuit 93 is initialized as follows.

Figure 0004827387
その後、映像処理回路1(55)のCPUI/F15のレジスタCCDに格納された内視鏡1又はCCD2の種類の情報をCPU74がREADし、内視鏡1又はCCD2の種別を行う(S242)。BACKUP RAM77には、操作デバイス(フロントパネル69、キーボード14他)の設定や、プロセッサ13のプログラムのバージョン、設定画面、ユーザー設定画面で設定された各設定項目が全て格納されており、プロセッサ3の電源OFF時にも保存されている。
Figure 0004827387
Thereafter, the CPU 74 reads the type information of the endoscope 1 or CCD 2 stored in the register CCD of the CPU I / F 15 of the video processing circuit 1 (55), and performs the type of the endoscope 1 or CCD 2 (S242). The BACKUP RAM 77 stores all the setting items set on the operation device (front panel 69, keyboard 14, etc.), the program version of the processor 13, the setting screen, and the user setting screen. It is saved even when the power is turned off.

ユーザー設定画面のImage Sizeの情報も保存されており、プロセッサ3の電源がON又は内視鏡1の交換時には、そのImage Sizeの一方(例えば左側に固定)をS241で設定する(ImageSizeがMedium←→Fullの設定が保存されていた場合は、左側のMediumを設定する)。   Image Size information on the user setting screen is also stored, and when the power of the processor 3 is turned on or the endoscope 1 is replaced, one of the Image Sizes (for example, fixed to the left side) is set in S241 (ImageSize is Medium ← (If the Full setting has been saved, set the Medium on the left).

S243ではS241で設定したImageSizeの片側を判別する。その後、内視鏡1又はCCD2の種別、ImageSize、及び設定画面の項目「HDTV:Mon Size」の設定から、レジスタIndex0のビットred、インデックスWRITEレジスタ、インデックスREADレジスタ、インデックスマスクレジスタの設定を行う(S244)。(設定例は図20〜図24参照)。その後、通常処理に入る(S245)。   In S243, one side of the ImageSize set in S241 is determined. Thereafter, the setting of the bit red, the index WRITE register, the index READ register, and the index mask register of the register Index0 is performed from the setting of the type of the endoscope 1 or the CCD 2, the ImageSize, and the item “HDTV: Mon Size” on the setting screen. S244). (See FIGS. 20 to 24 for setting examples). Thereafter, the normal processing is started (S245).

なお、上記Image Sizeは以下の場合にも、一方(例えば左側に固定)に設定する。
・フロントパネル(69)のRESETスイッチ400を押したRESET処理が行われた場合、
・ユーザー設定画面にて、ImageSizeの変更決定時
図59は、S245の通常処理の一部の処理を示すフローチャート図である。操作デバイスから記録SWが入力され、CPU74が記録SW ONを検知した場合は(S246)、ONの検知毎に、図40,図51の記録動作+インデックス作成を繰り返す(S247)。図26〜図29に、S246,S247動作時の内視鏡画面の表示状態の変化を示す。その際のレジスタの設定の変更状態を以下のとおりである。
The image size is set to one (for example, fixed to the left side) in the following cases.
-When a RESET process is performed by pressing the RESET switch 400 on the front panel (69),
When the ImageSize Change is Determined on the User Setting Screen FIG. 59 is a flowchart showing a part of the normal processing in S245. When the recording SW is input from the operation device and the CPU 74 detects that the recording SW is ON (S246), the recording operation and index creation shown in FIGS. 40 and 51 are repeated every time the recording SW is detected (S247). 26 to 29 show changes in the display state of the endoscope screen during the operations of S246 and S247. The change state of the register setting at that time is as follows.

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
なお、システム設定画面の項目HDTVのMon Sizeで異なるアスペクト比が選択、設定完了した直後(例えば、4:3→5:4や5:4→16:9に変更された場合)は、レジスタは以下のように設定し、内視鏡合成画像下のインデックス4駒、1駒及びインデックス一覧のインデックスの表示は消去する。
Figure 0004827387
In the system setting screen item HDTV Mon Size, different aspect ratios are selected and set immediately (for example, when changed to 4: 3 → 5: 4 or 5: 4 → 16: 9), The following settings are made, and the display of the index 4 frames, 1 frame, and the index list under the endoscope composite image is deleted.

Figure 0004827387
また、操作デバイス(例えばキーボードの500)にある検査終了キーを押した場合には、レジスタは以下のように設定され、インデックス4駒、1駒は消去されるが、インデックス表示は表示されるようにし、
Figure 0004827387
When an examination end key on the operation device (for example, the keyboard 500) is pressed, the registers are set as follows, and the index 4 frames and 1 frame are erased, but the index display is displayed. West,

Figure 0004827387
その後の最初のレリーズ処理時に、インデックス表示レジスタを設定し直すようにする。これより、検査終了キーが押された後でも、インデックス画像の確認を行うことができる。
Figure 0004827387
Then, the index display register is reset during the first release process. Thus, even after the inspection end key is pressed, the index image can be confirmed.

Figure 0004827387
また、操作デバイスに割り当てられた画像サイズキーにより、画像サイズ変更操作が入力された場合は(S248)、設定画面で設定された画像サイズに変更する(S249)。その際、内視鏡画像がインデックス画像と重なる場合には(S250)、設定されているレジスタ値の内adisp,odisp,sdisp,tdisp,fdispを退避し(S251)、adisp,odisp,sdisp,tdisp,fdisp=‘0’に設定することでインデックス画像を消去する(S252)。
Figure 0004827387
If an image size change operation is input using the image size key assigned to the operation device (S248), the image size is changed to the image size set on the setting screen (S249). At this time, if the endoscopic image overlaps with the index image (S250), the set register values adisp, odisp, sdisp, tdisp, and fdisp are saved (S251), and the adisp, odisp, sdisp, tdisp , Fdisp = '0', the index image is deleted (S252).

その後、Red,インデックスWRITEレジスタ、インデックスReadレジスタ、インデックスマスクレジスタの設定を行う(S253)。(なお、下記の図60〜図62はS253に限らず、全てのインデックスレジスタ設定時に行うフローである。)
図60は、WRITE用レジスタ設定の処理フローを示す。まず、WPON=‘1’とし(S261)、wstartv,wstarth,wendv,wendhを設定する(S262)(wstartv,wstarth,wendv,wendhについては、図17を参照)。次に、WPON=‘0’とし(S263)、本フローが終了する(S264)。
Thereafter, the Red, index WRITE register, index Read register, and index mask register are set (S253). (Note that the following FIGS. 60 to 62 are not limited to S253, but are flows performed when all index registers are set.)
FIG. 60 shows a processing flow of register setting for WRITE. First, WPON = '1' is set (S261), and wstartv, wstartth, wendv, and wendh are set (S262) (refer to FIG. 17 for wstartv, wstartth, wendv, and wendh). Next, WPON = '0' is set (S263), and this flow ends (S264).

図61は、READ用レジスタ設定の処理フローを示す。まず、RPON=‘1’とし(S271)、rstarth,rstarth2,rstarth3,rstarth4,rstartv,rstartv2,rstartv3,rstartv4,rareav,rareahを設定する(S272)(rstarth,rstarth2,rstarth3,rstarth4,rstartv,rstartv2,rstartv3,rstartv4,rareav,rareahについては、図17を参照)。次に、RPON=‘0’とし(S273)、本フローが終了する(S274)。   FIG. 61 shows a processing flow for setting the READ register. First, RPON = '1' is set (S271), and rstartth, rstartth2, rstartth3, rstartth4, rstartv, rstartv2, rstartv3, rstartv4, rareav, rarealh are set (S272) (rstartth, rstartth2, rstartv3, rstartv3, rstartv3, rstartv3, rstartv3, rstartv3 (See FIG. 17 for rstartv3, rstartv4, rareav, and rareah). Next, RPON = “0” is set (S273), and this flow ends (S274).

図62は、インデックスマスクレジスタ設定の処理フローを示す。まず、WMSKON=‘1’とし(S281)、wmskx0,wmsky0,wmskx1,wmsky1,wmsktを設定する(S282)(wstartv,wstarth,wendv,wendhについては、図17を参照)。次に、WMSKON=‘0’とし(S283)、本フローが終了する(S284)。   FIG. 62 shows a processing flow for setting the index mask register. First, WMSKON = '1' is set (S281), and wmskx0, wmsky0, wmskx1, wmsky1, and wmskt are set (S282) (see FIG. 17 for wstartv, wstartth, wendv, and wendh). Next, WMSKON = '0' is set (S283), and this flow ends (S284).

図63は、画面アスペクト比4:3,5:4 インデックス4駒時に内視鏡画像が重なる場合のインデックス画像消去の一例を示す。
一方、画像サイズ変更時に、内視鏡画像がインデックスと重ならない場合は、設定値が退避されている場合には(S254)設定されているadisp,odisp,sdisp,tdisp,fdispを戻す(S255)。
FIG. 63 shows an example of index image erasure when the endoscope images overlap when the screen aspect ratio is 4: 3, 5: 4 and the index is 4 frames.
On the other hand, if the endoscope image does not overlap with the index when the image size is changed, if the set value is saved (S254), the set adisp, odisp, sdisp, tdisp, and fdisp are returned (S255). .

また、内視鏡画像が一部の内視鏡関連情報と重なる場合には(S256)、その情報の表示を消去する(S257)。
図64は、画面アスペクト比4:3,5:4 インデックス1駒時に内視鏡画像が重なる場合の一部の内視鏡関連情報消去の一例を示す。
If the endoscopic image overlaps with some endoscope related information (S256), the display of the information is deleted (S257).
FIG. 64 shows an example of part of the endoscope-related information erasure when the endoscope images overlap when the screen aspect ratio is 4: 3, 5: 4 and the index is one frame.

一方重ならない場合は表示状態とする(S258)
(なお、一部の内視鏡関連情報とは、内視鏡1内のメモリ8から読み出された情報を含む。)。
If they do not overlap, the display state is set (S258).
(Some endoscope-related information includes information read from the memory 8 in the endoscope 1).

これより、内視鏡画像の画像サイズを変更した場合に、内視鏡画像がインデックス画像や内視鏡関連情報と重なる場合には、インデックス画像や内視鏡関連情報を消去するようにした為、重なることによる検査や手術への悪影響を防止することが可能となる。   As a result, when the image size of the endoscopic image is changed and the endoscopic image overlaps with the index image or endoscope related information, the index image or endoscope related information is deleted. It is possible to prevent adverse effects on examinations and operations due to overlapping.

なお、S247のインデックス作成時に設定されるadisp,odisp,sdisp,tdisp,fdispの値は、S251にて退避されている場合には、退避されている値について、更新する。   Note that the values of adisp, odisp, sdisp, tdisp, and fdisp set at the time of index creation in S247 are updated with respect to the saved values when saved in S251.

S250,S256において、インデックス画像や内視鏡関連情報と重なるかの判断は、
・内視鏡画像の座標と、インデックス画像や内視鏡関連情報の座標から演算で求める。
In S250 and S256, it is determined whether or not the index image or the endoscope related information overlaps.
-It calculates | requires by calculation from the coordinate of an endoscopic image, and the coordinate of an index image or endoscope related information.

・内視鏡1(又はCCD2)の種類と、画像サイズと、画面アスペクト比から以下のテーブルを用意しても良い。     The following table may be prepared based on the type of the endoscope 1 (or the CCD 2), the image size, and the screen aspect ratio.

Figure 0004827387
Figure 0004827387

Figure 0004827387
前記の内視鏡合成画像の記録時のフロー及びインデックス処理により、
・内視鏡1(又はCCD2)の種類によって、内視鏡画像に合わせて、インデックス画像が最適なサイズ、位置になるように制御でき、使用者が観察しやすい画像を提供できる。
Figure 0004827387
By the flow and index processing at the time of recording the endoscope composite image,
Depending on the type of the endoscope 1 (or the CCD 2), the index image can be controlled to have an optimal size and position according to the endoscope image, and an image that can be easily observed by the user can be provided.

・内視鏡画像の画像サイズに合わせて、インデックス画像が最適なサイズ、位置になるように制御ができ、使用者が観察しやすい画像を提供できる。
・同一の内視鏡1(CCD2)においては、画像サイズを変更してもインデックス画像が同一になるように制御も可能であり、画像サイズを変更しても使用者に違和感なく内視鏡画像やインデックス画像を観察できる。
-According to the image size of the endoscopic image, the index image can be controlled so as to have an optimal size and position, and an image that can be easily observed by the user can be provided.
In the same endoscope 1 (CCD2), it is possible to control the index image to be the same even if the image size is changed, and even if the image size is changed, the endoscope image is not uncomfortable to the user. And index images can be observed.

・内視鏡画像がインデックス画像と重なる時は、インデックス画像を消去するようにし、画像が重なることによって使用者が内視鏡画像を観察しにくくなることがなく、検査、診察、手術の効率化が図れる。     -When the endoscopic image overlaps with the index image, the index image is deleted, and the overlapping of the images does not make it difficult for the user to observe the endoscopic image, thereby improving the efficiency of examination, examination, and surgery. Can be planned.

・内視鏡画像が内視鏡関連情報と重なる時は、内視鏡関連情報を消去するようにし、画像と重なることによって使用者が内視鏡画像を観察しにくくなることがなく、検査、診察、手術の効率化が図れる。なお、内視鏡関連情報は、内視鏡1内のメモリ8から読み出された情報を含む。     ・ When the endoscope image overlaps with the endoscope related information, the endoscope related information is erased, and the overlap with the image does not make it difficult for the user to observe the endoscope image. The efficiency of examination and surgery can be improved. The endoscope related information includes information read from the memory 8 in the endoscope 1.

・システム設定画面項目「Index Delete」の設定項目を変更することにより、レリーズやキャプチャーなどの記録動作の際、記録中にインデックス画像の表示、非表示などの制御が可能となる。これより、記録画像には、インデックスが必要である使用者や、インデックス画像が必要でない使用者への対応が可能となり、使用しやすい内視鏡装置や内視鏡システムを提供できる。     By changing the setting item of the system setting screen item “Index Delete”, it is possible to control the display or non-display of an index image during recording during a recording operation such as release or capture. Thus, it is possible to deal with users who need an index for recorded images and users who do not need an index image, and can provide an easy-to-use endoscope apparatus or endoscope system.

・表4Aの設定項目Remote ControlのD.Fで、例えばTYPEBを選択時に自動的に「Index Delete」の設定項目をONに切り替わるように設定してもよい。これより、接続される周辺機器に応じてインデックス画像の表示制御が可能である。     D. of setting item Remote Control in Table 4A. In F, for example, when “TYPEB” is selected, the setting item of “Index Delete” may be automatically switched to ON. Thus, display control of the index image can be performed according to the connected peripheral device.

・「Index Delete」の設定は、ファイリング装置308,357、写真撮影装置307,356、記録装置86,87とSIO250やPIO251を経由したシリアルインターフェースやパラレルインターフェースにて設定変更可能であっても良い。これより、インデックス画像の表示制御が周辺機器から制御可能となる(なお、インデックスに限らず、全ての内視鏡関連情報や、各種設定画面の設定、操作デバイスの設定状態の読み出しや変更は(操作キーの無効化含む)、周辺機器によって可能である。)。     The setting of “Index Delete” may be changeable through filing devices 308 and 357, photography devices 307 and 356, recording devices 86 and 87, and a serial interface or parallel interface via SIO 250 or PIO 251. As a result, the display control of the index image can be controlled from the peripheral device (Note that not only the index but also all the endoscope related information, setting of various setting screens, and reading and changing the setting state of the operation device are ( Including disabling operation keys), and by peripheral devices.)

・図8で示すように、インデックス画像は特定のグラフィックデータ(例えばアローカーソル)のみ合成可能である為、インデックス画像を生成する際に、アローカーソル(例えば624,624’)以外の内視鏡関連情報(例えば600〜623,600’〜623’やエラーメッセージや図75、図76〜図80のメッセージなど)が内視鏡画像に重なっていてもインデックス画像内には含めない(合成されない)為、使用者に観察しやすいインデックス画像を提供できる。     As shown in FIG. 8, only specific graphic data (for example, an arrow cursor) can be combined with an index image. Therefore, when an index image is generated, endoscope related items other than the arrow cursor (for example, 624, 624 ′) Information (for example, 600 to 623, 600 ′ to 623 ′, error messages, messages in FIGS. 75 and 76 to 80, etc.) is not included in the index image even if it overlaps the endoscopic image (not synthesized). It is possible to provide an index image that is easy to observe for the user.

・インデックス画像は映像+合成処理93のみで作成することにより、合成処理2(99)で出力される内視鏡合成画像にのみ表示してもよく、合成処理回路102でもインデックス画像を生成することにより、合成処理1(61)やデジタルエンコーダ62の内視鏡合成画像にも出力しても良い。     -The index image may be displayed only in the endoscope composite image output in the composition process 2 (99) by creating only the video + composition process 93, and the composition processing circuit 102 also generates the index image. Thus, the image may also be output to the composition process 1 (61) and the endoscope composite image of the digital encoder 62.

図65は、プロセッサ13とキーボード2(45)と超音波装置358を組み合わせた場合の周辺機器の接続例を示す。キーボード2(45)は、超音波装置358及びプロセッサ13各々とシリアルインターフェースにて接続され、各々の操作制御が可能となっている。   FIG. 65 shows a connection example of peripheral devices when the processor 13, the keyboard 2 (45), and the ultrasonic device 358 are combined. The keyboard 2 (45) is connected to each of the ultrasonic apparatus 358 and the processor 13 through a serial interface, and can control each operation.

キーボード2(45)の超音波装置358の映像出力とプロセッサ13の出力を切り替えるスイッチを押すごとに、プロセッサ13はSIO250又はPIO251を経由してモニタ353を制御することで、プロセッサ13の出力359と、超音波装置358の映像出力360の映像切り替えを行う(トグル動作となっている)。   The processor 13 controls the monitor 353 via the SIO 250 or the PIO 251 each time the switch for switching the video output of the ultrasonic device 358 of the keyboard 2 (45) and the output of the processor 13 is pressed. The video output 360 of the ultrasonic device 358 is switched (toggle operation).

図66は、操作デバイスの内、フロントパネル69の一例を示す。
図67(図67A,図67B,図67C−1,図67C−2,図67D,図67E,図67F−1,図67F−2)は、図66のフロントパネル69の各スイッチの機能を示す。
FIG. 66 shows an example of the front panel 69 among the operation devices.
67 (FIG. 67A, FIG. 67B, FIG. 67C-1, FIG. 67C-2, FIG. 67D, FIG. 67E, FIG. 67F-1, and FIG. 67F-2) shows the function of each switch of the front panel 69 of FIG. .

フロントパネル69(図66参照)のIMAGE SOURCE(408〜411)のキー入力と、キーボード2(45)の超音波装置358の映像出力とプロセッサ13の出力の切り替えるスイッチが行われた場合の、映像出力とフロントパネルのLED表示の例を以下に示す(番号は、動作手順を示す。1→2→3→4→5の順に動作を行っている)。   Video when the switch for switching the key input of IMAGE SOURCE (408 to 411) on the front panel 69 (see FIG. 66) and the video output of the ultrasonic device 358 of the keyboard 2 (45) and the output of the processor 13 is performed. An example of output and LED display on the front panel is shown below (numbers indicate the operation procedure. The operation is performed in the order of 1 → 2 → 3 → 4 → 5).

Figure 0004827387
Figure 0004827387

Figure 0004827387
Figure 0004827387

Figure 0004827387
図68は、操作デバイスの内、キーボード14,キーボード2(45)の一例を示す。
図69(図69A,図69B,図69C,図69D,図69E,図69F,図69G)は、図68のキーボード14,キーボード2(45)の各キーの機能を示す。
Figure 0004827387
FIG. 68 shows an example of the keyboard 14 and the keyboard 2 (45) among the operation devices.
FIG. 69 (FIG. 69A, FIG. 69B, FIG. 69C, FIG. 69D, FIG. 69E, FIG. 69F, FIG. 69G) shows the function of each key of the keyboard 14 and keyboard 2 (45) in FIG.

図70(図70−1,図70−2,図70−3)は、HDTVにおける映像+合成処理(93)出力によって制御された内視鏡画像でのストップウォッチを示す。図70−1(a)の状態でストップウォッチキーを押下すると、画面左の空いている領域にストップウォッチの表示が行われ、ストップウォッチがスタートする(図70−1(b))。さらに、ストップウォッチキーを押下すると、ストップウォッチは一時停止する(図70−2(c))。   70 (FIG. 70-1, FIG. 70-2, FIG. 70-3) shows a stopwatch with an endoscopic image controlled by video + compositing processing (93) output in HDTV. When the stopwatch key is pressed in the state of FIG. 70-1 (a), the stopwatch is displayed in an empty area on the left side of the screen, and the stopwatch starts (FIG. 70-1 (b)). Further, when the stopwatch key is pressed, the stopwatch is temporarily stopped (FIG. 70-2 (c)).

図70−2(c)の状態でシフトキーを押下しながら、ストップウォッチキーを押下すると、ストップウォッチが再開し(図70−3(e))、ストップウォッチキーを押下すると、再度一時停止する(図70−3(c))。また、図70−2(c)の状態でストップウォッチキーを押下すると、ストップウォッチが終了し、画面上からストップウォッチの表示が消える(図70−2(d))。   If the stopwatch key is pressed while pressing the shift key in the state of FIG. 70-2 (c), the stopwatch is restarted (FIG. 70-3 (e)), and if the stopwatch key is pressed, the stopwatch is paused again ( FIG. 70-3 (c)). When the stopwatch key is pressed in the state of FIG. 70-2 (c), the stopwatch is terminated and the display of the stopwatch disappears from the screen (FIG. 70-2 (d)).

図71は、SDTVにおける映像処理2(57)出力によって制御された内視鏡画像でのストップウォッチを示す。図71(a)の状態でストップウォッチキーを押下すると、画面左の時刻表示がストップウォッチ表示に切り替わり、ストップウォッチがスタートする(図71b)。さらに、ストップウォッチキーを押下すると、ストップウォッチは一時停止する(図71(c))。   FIG. 71 shows a stopwatch with an endoscopic image controlled by the video processing 2 (57) output in the SDTV. When the stopwatch key is pressed in the state of FIG. 71 (a), the time display on the left of the screen is switched to the stopwatch display, and the stopwatch starts (FIG. 71b). Further, when the stopwatch key is pressed, the stopwatch is temporarily stopped (FIG. 71 (c)).

図71(c)の状態でシフトキーを押下しながら、ストップウォッチキーを押下すると、ストップウォッチが再開し(図71(e))、ストップウォッチキーを押下すると、再度一時停止する(図71(c))。また、図71(c)の状態でストップウォッチキーを押下すると、ストップウォッチが終了し、ストップウォッチ表示が時刻表示に切り替わる(図71(d))。なお、図70,図71の動作は、同一のストップウォッチキーにより動作してもよい。   If the stopwatch key is pressed while pressing the shift key in the state of FIG. 71 (c), the stopwatch restarts (FIG. 71 (e)), and if the stopwatch key is pressed, the stopwatch is paused again (FIG. 71 (c) )). When the stopwatch key is pressed in the state of FIG. 71 (c), the stopwatch is terminated and the stopwatch display is switched to the time display (FIG. 71 (d)). 70 and 71 may be operated by the same stopwatch key.

図72(図72−1,図72−2)は、HDTVにおける映像+合成処理(93)出力によって制御された内視鏡画像でのREMOVE DATAを示す。同図は、REMOVE DATAキーを押下するごとに画面上に表される内視鏡関連情報を段階的に消去する様子を示す。内視鏡関連情報については、図74で説明する。   72 (FIGS. 72-1 and 72-2) shows REMOVE DATA in an endoscopic image controlled by video + compositing processing (93) output in HDTV. The figure shows how the endoscope related information displayed on the screen is erased step by step each time the REMOVE DATA key is pressed. Endoscope related information will be described with reference to FIG.

図72−1(a)は、内視鏡関連情報が全表示されている状態であり、REMOVE DATAキーを押下すると、内視鏡関連情報の一部が消去される(図72−1(b)省略表示1)。さらにREMOVE DATAキーを押下すると、さらに内視鏡関連情報の一部が消去される(図72−2(c)省略表示2)。さらにREMOVE DATAキーを押下すると、画面上に表示されている全ての内視鏡関連情報が消去される(図72−2(d)全消去)。   FIG. 72-1 (a) shows a state in which all the endoscope related information is displayed. When the REMOVE DATA key is pressed, a part of the endoscope related information is deleted (FIG. 72-1 (b). ) Abbreviated display 1). When the REMOVE DATA key is further pressed, a part of the endoscope related information is further deleted (FIG. 72-2 (c) omitted display 2). When the REMOVE DATA key is further pressed, all the endoscope related information displayed on the screen is deleted (FIG. 72-2 (d) all deletion).

図73は、SDTVにおける映像処理2(57)出力によって制御された内視鏡画像でのREMOVE DATAを示す。図73(a)は、内視鏡関連情報が全表示されている状態(ストップウォッチ動作時)であり、REMOVE DATAキーを押下すると、内視鏡関連情報の一部が消去される(図73(b)省略表示1(ストップウォッチ動作時))。   FIG. 73 shows REMOVE DATA in the endoscopic image controlled by the video processing 2 (57) output in the SDTV. FIG. 73A shows a state in which all the endoscope related information is displayed (during stopwatch operation), and when the REMOVE DATA key is pressed, a part of the endoscope related information is deleted (FIG. 73). (B) Abbreviated display 1 (during stopwatch operation)).

さらにREMOVE DATAキーを押下すると、さらに内視鏡関連情報の一部が消去される(図73(c)省略表示2(ストップウォッチ動作時))。なお、図73(c−1)は、ストップウォッチ動作時の省略表示2である。さらにREMOVE DATAキーを押下すると、画面上に表示されている全ての内視鏡関連情報が消去される(図73(d)全消去)。   When the REMOVE DATA key is further pressed, a part of the endoscope related information is further deleted (FIG. 73 (c) omitted display 2 (during stopwatch operation)). FIG. 73 (c-1) shows an abbreviated display 2 during the stopwatch operation. When the REMOVE DATA key is further pressed, all the endoscope related information displayed on the screen is deleted (FIG. 73 (d) all deletion).

図74(図74A,図74B,図74C)は、本実施形態における内視鏡合成画像表示画面に表示される内視鏡関連情報(一部)の一例を示す。
図75は、内視鏡関連情報の一部を一定期間表示する例を示す。同図は、例えば、通常表示されない内視鏡関連情報の一部を操作デバイス(例えば、図69FのSCOPE INFO(504))のキー操作により、インデックス画像表示領域にオーバーレイ表示させている。このようにすることにより、表示頻度の少ない所定の内視鏡関連情報を容易に参照することができる。
FIG. 74 (FIGS. 74A, 74B, and 74C) shows an example of endoscope related information (part) displayed on the endoscope composite image display screen in the present embodiment.
FIG. 75 shows an example in which a part of the endoscope related information is displayed for a certain period. In the figure, for example, a part of the endoscope related information that is not normally displayed is displayed in an overlay on the index image display area by the key operation of the operation device (for example, SCOPE INFO (504) in FIG. 69F). In this way, it is possible to easily refer to predetermined endoscope related information with a low display frequency.

また、上述したように、図72,図73では、内視鏡関連情報を、専用の表示制御スイッチ(例えばキーボード14のREMOVE DATAキー528)により表示制御可能である(内視鏡関連情報は内視鏡1内のメモリ8に格納されている情報も含む)。   Further, as described above, in FIGS. 72 and 73, the display of the endoscope related information can be controlled by a dedicated display control switch (for example, the REMOVE DATA key 528 of the keyboard 14). (Including information stored in the memory 8 in the endoscope 1).

また、映像+合成処理93で合成する内視鏡関連情報と、合成処理回路102で合成する内視鏡関連情報を別々に表示できる(例えば619〜621は映像+合成処理93のみ常時表示している。)。複数の画像出力の、画質や表示範囲に応じて、各々内視鏡関連情報の表示内容を制御(表示、非表示の選択)を行うことが可能であり、使用者は用途に応じて最適な出力を選択可能である。   Also, the endoscope related information to be combined in the video + compositing processing 93 and the endoscope related information to be combined in the combining processing circuit 102 can be displayed separately (for example, only the video + compositing processing 93 is always displayed for 619 to 621). Yes.) The display contents of endoscope related information can be controlled (selection of display or non-display) according to the image quality and display range of multiple image outputs. Output can be selected.

さて、次は、所定の処理中である旨や、所定の設定がされているか否かの旨のメッセージを画面上に表示させることについて説明する。特に、ホワイトバランス処理設定がされているか否かを検知し、その旨をメッセージとして画面に表示させる。以下にその一例を示す。なお、以下で記載されている「WB」とは、ホワイトバランスの略である。   Next, a description will be given of displaying on the screen a message indicating that a predetermined process is being performed and whether a predetermined setting has been made. In particular, it is detected whether or not white balance processing is set, and a message to that effect is displayed on the screen. An example is shown below. Note that “WB” described below is an abbreviation for white balance.

図76は、インデックス一覧表示中であることを示すメッセージ表示の一例を示す。同図において、インデックス一覧表示中である旨を示すメッセージ「Index Display」が表示されている(この表示は、インデックスが合成されない合成処理回路102のみを表示することにより、ユーザーにインデックス一覧表示中であることを知らせるものである)。   FIG. 76 shows an example of a message display indicating that the index list is being displayed. In the figure, a message “Index Display” indicating that the index list is being displayed is displayed (this display is only displayed for the synthesis processing circuit 102 in which the index is not synthesized, so that the index list is displayed to the user. To inform you of that).

図77は、ホワイトバランス処理が未設定であることを通知するメッセージ表示を示す。同図において、ホワイトバランス処理が未設定であるので、ホワイトバランス処理の設定をユーザに促すメッセージ「Please Ajust WB」が表示されている。   FIG. 77 shows a message display notifying that the white balance processing is not set. In the figure, since the white balance process is not set, a message “Please Adjust WB” prompting the user to set the white balance process is displayed.

図78は、ホワイトバランス処理設定が完了であることを通知するメッセージの一例を示す。同図において、ホワイトバランス処理設定が完了であることを示すメッセージ「WB Ajustment is completed」が表示されている。   FIG. 78 shows an example of a message for notifying that the white balance processing setting is completed. In the figure, a message “WB Adjustment is completed” indicating that the white balance processing setting is completed is displayed.

図79は、ホワイトバランス処理設定が失敗であることを通知するメッセージの一例を示す。同図において、ホワイトバランス処理設定が失敗である旨を示す「WB Ajustment error」が表示されている。   FIG. 79 shows an example of a message notifying that the white balance processing setting has failed. In the figure, “WB Adjustment error” indicating that the white balance processing setting has failed is displayed.

図80は、内視鏡1、光源17のプログラムのバージョン及び通信結果を表示するメッセージの一例を示す。
それでは、これらを処理について以下に詳述する。
FIG. 80 shows an example of a message displaying the program version of the endoscope 1 and the light source 17 and the communication result.
These will be described in detail below.

図81(図81A,図81B)及び図82は、ホワイトバランス処理の動作フローチャート図を示す。図81は、図58のフローの初期化処理(図58のS241)の内、ホワイトバランス処理に関するの部分を示すフローチャートである。CPU74は、制御回路67のPIO251を経由して29bの信号レベルを検知し、プロセッサ13に接続される光源の種類を識別する。   81 (FIGS. 81A and 81B) and FIG. 82 are flowcharts showing the operation of white balance processing. FIG. 81 is a flowchart showing a portion related to the white balance process in the initialization process of the flow of FIG. 58 (S241 of FIG. 58). The CPU 74 detects the signal level 29 b via the PIO 251 of the control circuit 67 and identifies the type of light source connected to the processor 13.

信号レベルが“Hi”の場合は、通信機能を有さない光源17a(図1B参照)と判別し(S301)、BACKUP RAM77に格納されているホワイトバランスデータを使用して、映像処理1内のW/B回路153にてホワイトバランス処理を行う(S315)。フロントパネル69のホワイトバランススイッチ(404)の上部にあるLED「INC.」を点灯し、システム設定画面のWB Message項目「ON」のときは、内視鏡合成画像表示画面に「Please Ajust WB」を表示し、ホワイトバランス処理が未設定であることを表示する(S316)。   When the signal level is “Hi”, it is determined that the light source 17a does not have a communication function (see FIG. 1B) (S301), and the white balance data stored in the BACKUP RAM 77 is used. White balance processing is performed by the W / B circuit 153 (S315). When the LED “INC.” Above the white balance switch (404) of the front panel 69 is turned on and the WB Message item “ON” is set in the system setting screen, the “Plause Adjust WB” is displayed on the endoscope composite image display screen. Is displayed, indicating that white balance processing has not been set (S316).

なお、「Please Ajust WB」を表示は、フロントパネル69のホワイトバランススイッチ(404)が入力され、ホワイトバランス処理が完了し、ホワイトバランス完了メッセージ(「WB Ajustment is completed!」)が表示されるまで表示しつづける。信号レベルが“Low”の場合は、通信機能を有する光源17と判別し(S301)、SIO250を経由してシリアルインターフェースの信号線のうちDSRを検知する。   It should be noted that “please adjust WB” is displayed until the white balance switch (404) on the front panel 69 is input, the white balance processing is completed, and a white balance completion message (“WB adjustment is completed!”) Is displayed. Continue to display. When the signal level is “Low”, it is determined that the light source 17 has a communication function (S301), and DSR is detected among the signal lines of the serial interface via the SIO 250.

光源17の電源がONである場合は、光源側で前記DSRをONにする為、DSRがONであると判別した場合は、光源17との通信処理を開始する(S302)。最初に光源17のメモリ23に格納されている光源17のシリアルナンバーをREADし(S303)、内視鏡1内のメモリ8にそのシリアルナンバーと対応しているホワイトバランスデータがあるか検索し、対応するホワイトバランスデータがあった場合は、そのホワイトバランスデータをREADする。   When the power source of the light source 17 is ON, the DSR is turned ON on the light source side. When it is determined that the DSR is ON, communication processing with the light source 17 is started (S302). First, the serial number of the light source 17 stored in the memory 23 of the light source 17 is read (S303), and the memory 8 in the endoscope 1 is searched for white balance data corresponding to the serial number, If there is corresponding white balance data, the white balance data is read.

なかった場合は、ホワイトバランスデータがないこと示すコマンドがREADされる(S306)。対応するホワイトバランスデータがあった場合は(S321)、READしたホワイトバランスデータから、G/R,G/Bなどの係数値を求め、映像処理1内のW/B回路153にて、自動的にホワイトバランス処理を行い(S308)、フロントパネル69のホワイトバランススイッチ(404)の上部にあるLED「COMP.」を灯し、ホワイトバランス処理が設定完了であることを表示し(S309)、(内視鏡合成画像表示画面へのメッセージ「WB Ajustment is completed!」は表示しない)かつ、BACKUP RAM77にホワイトバランスデータを格納する(S310)。   If not, a command indicating that there is no white balance data is read (S306). If there is corresponding white balance data (S321), coefficient values such as G / R, G / B, etc. are obtained from the read white balance data, and the W / B circuit 153 in the video processing 1 automatically The white balance processing is performed (S308), the LED “COMP.” Above the white balance switch (404) of the front panel 69 is turned on to indicate that the white balance processing has been set (S309), The message “WB Adjustment is completed!” To the endoscope composite image display screen is not displayed), and the white balance data is stored in the BACKUP RAM 77 (S310).

その後、光源17のメモリ23に格納されたその他の光源情報(ソフトウェア及びハードウェアのバージョン、故障状態など)もREADする(S311)。なお、READするホワイトバランスデータは、CCD2から読み出した複数の水平(又は垂直)ライン信号ごとのR,G,Bの平均値、又は複数の水平(又は垂直)ライン信号ごとのG/R,B/Rの係数値であってもよい。   Thereafter, other light source information (software and hardware versions, failure status, etc.) stored in the memory 23 of the light source 17 is also read (S311). The white balance data to be read is the average value of R, G, B for each of a plurality of horizontal (or vertical) line signals read from the CCD 2, or G / R, B for each of a plurality of horizontal (or vertical) line signals. It may be a coefficient value of / R.

CCD2から読み出した複数の水平(又は垂直)ライン信号ごとのR,G,Bの平均値の場合は、メモリ8に格納するデータ量削減の為、複数の内1つの水平ライン信号のR,G,B平均値及び他の水平ラインのG平均値のみを格納し、S308で演算を行うことで全てのG/R,B/Rの係数値を求めるように処理を行っても良い。(後述するW/B回路153のホワイトバランス処理の(8)の処理で、表21の太枠のデータ)
対応するホワイトバランスデータがなかった場合は(S321)、BACKUP RAM77に格納されているホワイトバランスデータを使用して、映像処理1内のW/B回路153にてホワイトバランス処理を行う(S319)。フロントパネル69のホワイトバランススイッチ(404)の上部にあるLED「INC.」を点灯し、システム設定画面のWB Message項目「ON」のときは、内視鏡合成画像表示画面に「Please Ajust WB」を表示し、ホワイトバランス処理が未設定であることを表示する(S320)。
In the case of the average value of R, G, and B for each of a plurality of horizontal (or vertical) line signals read from the CCD 2, in order to reduce the amount of data stored in the memory 8, the R, G of one of the plurality of horizontal line signals is stored. , The B average value and only the G average value of other horizontal lines may be stored, and processing may be performed so as to obtain all the G / R and B / R coefficient values by performing the calculation in S308. (In the white balance process (8) of the W / B circuit 153, which will be described later, the thick frame data in Table 21)
If there is no corresponding white balance data (S321), white balance processing is performed by the W / B circuit 153 in the video processing 1 using the white balance data stored in the BACKUP RAM 77 (S319). When the LED “INC.” Above the white balance switch (404) of the front panel 69 is turned on and the WB Message item “ON” is set in the system setting screen, the “Plause Adjust WB” is displayed on the endoscope composite image display screen. Is displayed, indicating that white balance processing has not been set (S320).

DSRがoffの場合は、光源の電源がOFFであるため、光源17との通信処理を行わず(S302)、BACKUP RAM77に格納されているホワイトバランスデータを使用して、映像処理1内のW/B回路153にてホワイトバランス処理を行う(S319)。   When DSR is off, the power of the light source is OFF, so communication processing with the light source 17 is not performed (S302), and the white balance data stored in the BACKUP RAM 77 is used to The white balance processing is performed by the / B circuit 153 (S319).

フロントパネル69のホワイトバランススイッチ(404)の上部にあるLED「INC.」を点灯し、システム設定画面のWB Message項目「ON」のときは、内視鏡合成画像表示画面に「Please Ajust WB」を表示し、ホワイトバランス処理が未設定であることを表示する(S320)。   When the LED “INC.” Above the white balance switch (404) of the front panel 69 is turned on and the WB Message item “ON” is set in the system setting screen, the “Plause Adjust WB” is displayed on the endoscope composite image display screen. Is displayed, indicating that white balance processing has not been set (S320).

S311の後、内視鏡1内のメモリ8にある、その他の内視鏡関連情報をREADする。なお、光源17,内視鏡1への通信処理を行う際、通信が正常に受信できたか判断し(S305,S307,S322)、正常に受信できなかった場合はリトライ処理を行う(S304,S313,S323)。   After S311, the other endoscope related information in the memory 8 in the endoscope 1 is read. When performing communication processing to the light source 17 and the endoscope 1, it is determined whether the communication has been normally received (S305, S307, S322). If the communication has not been normally received, retry processing is performed (S304, S313). , S323).

リトライ回数は、通信する装置、通信タイミングによって変更する(1回以上)。設定したリトライ回数を行っても正常に受信できなかった場合は、通信エラーとして異常終了する。S304,S313で異常終了した場合は、BACKUP RAM77に格納されているホワイトバランスデータを使用して、映像処理1内のW/B回路153にてホワイトバランス処理を行う(S315,S319)。   The number of retries is changed according to the communication device and communication timing (one or more times). If it cannot be received normally even after the set number of retries, it will end abnormally as a communication error. If the process ends abnormally in S304 and S313, white balance processing is performed by the W / B circuit 153 in the video processing 1 using the white balance data stored in the BACKUP RAM 77 (S315, S319).

フロントパネル69のホワイトバランススイッチ(404)の上部にあるLED「INC.」を点灯し、システム設定画面のWB Message項目「ON」のときは、内視鏡合成画像表示画面に「Please Ajust WB」を表示し、ホワイトバランス処理が未設定であることを表示する(S316,S320)。   When the LED “INC.” Above the white balance switch (404) of the front panel 69 is turned on and the WB Message item “ON” is set in the system setting screen, the “Plause Adjust WB” is displayed on the endoscope composite image display screen. Is displayed, indicating that white balance processing has not been set (S316, S320).

図82は、プロセッサが電源ONして通常処理中(図58のS245)、光源の電源がONになり、通信線のDSRがONの割り込み処理が入った場合のホワイトバランス処理のフローチャート図を示す。同図は、WBキーを押下した場合の動作を示す。DSR ON割り込みはレベル割り込みでもトリガ割り込みであっても良い。   FIG. 82 is a flowchart of white balance processing when the processor is turned on and normal processing is being performed (S245 in FIG. 58), the light source is turned on, and the communication line DSR is turned on. . The figure shows the operation when the WB key is pressed. The DSR ON interrupt may be a level interrupt or a trigger interrupt.

割り込み時(S330)、光源17との通信処理を開始する(S331)。最初に光源17のメモリ23に格納されている光源17のシリアルナンバーをREADし(S331)、内視鏡1内のメモリ8にそのシリアルナンバーと対応しているホワイトバランスデータがあるか検索し、対応するホワイトバランスデータがあった場合は、そのホワイトバランスデータをREADする。   When interrupted (S330), communication processing with the light source 17 is started (S331). First, the serial number of the light source 17 stored in the memory 23 of the light source 17 is read (S331), and the memory 8 in the endoscope 1 is searched for white balance data corresponding to the serial number, If there is corresponding white balance data, the white balance data is read.

対応するホワイトバランスデータがなかった場合は、ホワイトバランスデータがないこと示すコマンドがREADされる(S334)。対応するホワイトバランスデータがあった場合は(S348)、READしたホワイトバランスデータから、G/R,G/Bの係数値を求め、映像処理1内のW/B回路153にて、自動的にホワイトバランス処理を行い(S336)、フロントパネル69のホワイトバランススイッチ(404)の上部にあるLED「COMP.」を点灯し、ホワイトバランス処理が設定完了であることを表示する(S337)。(内視鏡合成画像表示画面へのメッセージ「WB Ajustment is completed!」は表示しない。)
その際、内視鏡観察画像(内視鏡合成画像表示画面)に「Please Ajust WB」を表示されている場合は、自動的に表示を消去する。また、BACKUP RAM77にホワイトバランスデータを格納する(S338)。その後、光源17のメモリ23に格納されたその他の光源情報(ソフトウェア及びハードウェアのバージョン、故障状態など)もREADする(S339)。
If there is no corresponding white balance data, a command indicating that there is no white balance data is read (S334). If there is corresponding white balance data (S348), the G / R and G / B coefficient values are obtained from the read white balance data, and automatically obtained by the W / B circuit 153 in the video processing 1. White balance processing is performed (S336), and the LED “COMP.” Above the white balance switch (404) of the front panel 69 is turned on to indicate that the white balance processing has been set (S337). (The message “WB Adjustment is completed!” To the endoscope composite image display screen is not displayed.)
At this time, if “Please Adjust WB” is displayed in the endoscope observation image (endoscope composite image display screen), the display is automatically deleted. Further, the white balance data is stored in the BACKUP RAM 77 (S338). Thereafter, other light source information (software and hardware versions, failure status, etc.) stored in the memory 23 of the light source 17 is also read (S339).

対応するホワイトバランスデータがなかった場合は(S348)、BACKUP RAM77に格納されているホワイトバランスデータを使用して、映像処理1内のW/B回路153にてホワイトバランス処理を行う(S344)。   If there is no corresponding white balance data (S348), white balance processing is performed by the W / B circuit 153 in the video processing 1 using the white balance data stored in the BACKUP RAM 77 (S344).

フロントパネル69のホワイトバランススイッチ(404)の上部にあるLED「INC.」を点灯し、システム設定画面のWB Message項目「ON」のときは、内視鏡合成画像表示画面に「Please Ajust WB」を表示し、ホワイトバランス処理が未設定であることを表示する(S345)。なお、光源17、内視鏡1への通信処理を行う際、通信が正常に受信できたか判断し(S333,S335,S346)、正常に受信できなかった場合はリトライ処理を行う(S332,S341,S347)。   When the LED “INC.” Above the white balance switch (404) of the front panel 69 is turned on and the WB Message item “ON” is set in the system setting screen, the “Plause Adjust WB” is displayed on the endoscope composite image display screen. Is displayed, indicating that white balance processing has not been set (S345). In addition, when performing communication processing to the light source 17 and the endoscope 1, it is determined whether the communication is normally received (S333, S335, S346). If the communication is not normally received, retry processing is performed (S332, S341). , S347).

リトライ回数は、通信する装置、通信タイミングによって変更する(1回以上)。設定したリトライ回数を行っても正常に受信できなかった場合は、通信エラーとして異常終了する。S332,S341で異常終了した場合は、BACKUP RAM77に格納されているホワイトバランスデータを使用して、映像処理1内のW/B回路153にてホワイトバランス処理を行う(S342,S344)。   The number of retries is changed according to the communication device and communication timing (one or more times). If it cannot be received normally even after the set number of retries, it will end abnormally as a communication error. If the process ends abnormally in S332 and S341, white balance processing is performed by the W / B circuit 153 in the video processing 1 using the white balance data stored in the BACKUP RAM 77 (S342 and S344).

フロントパネル69のホワイトバランススイッチ(404)の上部にあるLED「INC.」を点灯し、システム設定画面のWB Message項目「ON」のときは、内視鏡合成画像表示画面に「Please Ajust WB」を表示し、ホワイトバランス処理が未設定であることを表示する(S343,S345)。   When the LED “INC.” Above the white balance switch (404) of the front panel 69 is turned on and the WB Message item “ON” is set in the system setting screen, the “Plause Adjust WB” is displayed on the endoscope composite image display screen. Is displayed, indicating that white balance processing has not been set (S343, S345).

なお、内視鏡1がプロセッサ13に接続されていない場合は、内視鏡合成画像表示画面に「Please Ajust WB」を表示しない。また、プロセッサ13と通信機能を有さない内視鏡も存在する。その場合は、S307,S313,S315・・・のフローになる。信号線29bの信号レベルがLOWでかつDSR=OFFの場合に、フロントパネル69のホワイトバランススイッチ(404)を押した場合は、光源17の電源がOFFであると判断し、ブザー71によるエラーブザー音(例えば中音の短い連続音)を鳴らすか、内視鏡合成画像表示画面にエラーメッセージを表示することにより、光源17の電源をONするよう指示する。   If the endoscope 1 is not connected to the processor 13, “Please Adjust WB” is not displayed on the endoscope composite image display screen. There is also an endoscope that does not have a communication function with the processor 13. In that case, the flow is S307, S313, S315,. When the white balance switch (404) of the front panel 69 is pressed when the signal level of the signal line 29b is LOW and DSR = OFF, it is determined that the power source of the light source 17 is OFF, and an error buzzer is generated by the buzzer 71. An instruction is given to turn on the power of the light source 17 by sounding a sound (for example, a short continuous sound of medium sound) or by displaying an error message on the endoscope composite image display screen.

信号線29bの信号レベルがHIの場合は、ブザー71によるエラーブザー音(例えば中音の短い連続音、)、内視鏡合成画像表示画面にエラーメッセージは行わないようにする。   When the signal level of the signal line 29b is HI, an error buzzer sound by the buzzer 71 (for example, a continuous sound with a short middle tone) and an error message are not performed on the endoscope composite image display screen.

次に、操作デバイスのWBスイッチ(例えばフロントパネル69のWHITE BAL.(404))が押された場合の、映像処理1(55)内のW/B回路153のホワイトバランス処理の詳細を説明する。手順は以下の通りである(内視鏡1のCCD2に白の指標を撮像し、RGB入力信号が同じ信号レベルである条件時で行う)。   Next, details of white balance processing of the W / B circuit 153 in the video processing 1 (55) when the WB switch of the operation device (for example, WHITE BAL. (404) on the front panel 69) is pressed will be described. . The procedure is as follows (performed when a white index is imaged on the CCD 2 of the endoscope 1 and the RGB input signals are at the same signal level).

(1)WBスイッチ押された後、一定時間1 WAITする(Ext. 0.5秒)。
(2)レジスタWHT_ONのWH_ONに‘1’をセットする。
(1) After the WB switch is pressed, 1 WAIT is performed for a certain time (Ext. 0.5 seconds).
(2) Set “1” to WH_ON of the register WHT_ON.

(3)複数の水平(垂直)ラインごとのR,G,B信号の平均値(レジスタAVE_RAL,AVE_RAH,AVE_RBL,AVE_RBH,AVE_RCL,AVE_RCH,AVE_RDL、AVE_RDH,AVE_GAL,AVE_GAH,AVE_GBL,AVE_GBH,AVE_GCL,AVE_GCH,AVE_GDL,AVE_GDH,AVE_BAL,AVE_BAH,AVE_BBL,AVE_BBH,AVE_BCL,AVE_BCH,AVE_BDL,AVE_BDH,図17参照)をREAD     (3) Average values of R, G, B signals for a plurality of horizontal (vertical) lines (registers AVE_RAL, AVE_RAH, AVE_RBL, AVE_RBH, AVE_RCL, AVE_RCH, AVE_RDL, AVE_RDH, AVE_GAL, AVE_GAH, AVE_GBL, AVE_GBL, AVE_GBH, AVE_GBH, AVE_GBL, AVE_GBL , AVE_GDL, AVE_GDH, AVE_BAL, AVE_BAH, AVE_BBL, AVE_BBH, AVE_BCL, AVE_BCH, AVE_BDL, AVE_BDH, see FIG. 17)

Figure 0004827387
(4) WHT_ONのWH_ONに‘0’をセット
(5) 一定期間 WAIT(Ex、垂直同期信号VD1で3V WAIT(面順次式の為、R,G,Bの平均値の更新まで待つ))
(6) 上記(2)〜(4)を繰り返す。
Figure 0004827387
(4) Set “0” to WH_ON of WHT_ON. (5) WAIT (Ex, vertical synchronization signal VD1 is 3V WAIT (Because of frame sequential type, wait until the average value of R, G, B is updated))
(6) Repeat (2) to (4) above.

(7) 上記(5)(6)を繰り返す(例えば、4回繰り返す)。
(8) (1)〜(7)で取得した各ラインごとの複数のR,G,B平均値データについて、平均値を取る(下表参照)。
(7) Repeat (5) and (6) above (for example, repeat 4 times).
(8) An average value is taken for a plurality of R, G, B average value data for each line acquired in (1) to (7) (see the table below).

Figure 0004827387
(9)太枠で囲まれたデータより補正係数(レジスタWB_ARH,WB_ARL,WB_AGH,WB_AGL,WB_ABH,WB_ABL,WB_BRH,WB_BRL,WB_BGH,WB_BGL,WB_BBH,WB_BBL,WB_CRH,WB_CRL,WB_CGH,WB_CGL,WB_CBH,WB_CBL,WB_DRH,WB_DRL,WB_DGH,WB_DGL,WB_DBH,WB_DBL,図17参照)を求める。これより、補正後の出力がAVE_GAH&AVE_GALと同じになるように補正する。
Figure 0004827387
(9) Correction coefficients (registers WB_ARH, WB_ARL, WB_AGH, WB_AGL, WB_ABH, WB_ABL, WB_BRH, WB_BRL, WB_BCR, WB_BCR, WBC , WB_DRH, WB_DRL, WB_DGH, WB_DGL, WB_DBH, WB_DBL, see FIG. Thus, the corrected output is corrected to be the same as AVE_GAH & AVE_GAL.

Figure 0004827387
(10)上記(9)の補正係数データをWB回路153に設定する。
(i)レジスタWB_BUFのBUFONを1にセット。
Figure 0004827387
(10) The correction coefficient data of (9) is set in the WB circuit 153.
(I) Set BUFON of the register WB_BUF to 1.

(ii)(9)の係数をレジスタ((WB_ARH,WB_ARL,WB_AGH,WB_AGL,WB_ABH,WB_ABL,WB_BRH,WB_BRL,WB_BGH,WB_BGL,WB_BBH,WB_BBL,WB_CRH,WB_CRL,WB_CGH,WB_CGL,WB_CBH,WB_CBL,WB_DRH,WB_DRL,WB_DGH,WB_DGL,WB_DBH,WB_DBL)にWRITE。       (Ii) The coefficients of (9) are registered in the registers ((WB_ARH, WB_ARL, WB_AGH, WB_AGL, WB_ABH, WB_ABL, WB_BRH, WB_BRL, WB_BGH, WB_BGL, WB_BBH, WB_BBL, WB_CBL, WB_CBL, WB_CBL, W WB_DRL, WB_DGH, WB_DGL, WB_DBH, WB_DBL).

(iii)レジスタWB_BUFのBUFONを0にセット。
(11)R,G,B信号の平均値、補正係数データをBACKUP RAM77に格納する。
(Iii) Set BUFON of the register WB_BUF to 0.
(11) The average value of R, G, B signals and correction coefficient data are stored in the BACKUP RAM 77.

(12)上記(8)の太枠のデータを内視鏡1のメモリ8を記憶する。その際、プロセッサ13に接続されている光源17のシリアルナンバーに対応付けて記憶する。
なお、図81,図82のホワイトバランス設定時において、S306,S334の内視鏡1内のメモリ8からREADするホワイトバランスデータは、格納するデータを少なくする為に前記(8)の太枠のデータをREADし、演算して得られた補正係数をWB回路153に設定する。
(12) The data of the thick frame in (8) is stored in the memory 8 of the endoscope 1. At that time, the data is stored in association with the serial number of the light source 17 connected to the processor 13.
81 and 82, the white balance data to be read from the memory 8 in the endoscope 1 in S306 and S334 is the thick frame in (8) described above in order to reduce the data to be stored. Data is read and a correction coefficient obtained by calculation is set in the WB circuit 153.

また、演算した補正係数データがオーバーフローしたら、ホワイトバランススイッチ上部の「INC」LEDを5秒間点滅後、「INC」LED点灯。このとき、エラー音(ブザー71の音(例えば短い高音を一定期間繰り返す))を鳴らす。また、内視鏡合成画像表示画面に「WB Ajustment error!」を一定期間表示(Ex.5秒)する。   If the calculated correction coefficient data overflows, the “INC” LED above the white balance switch blinks for 5 seconds, and then the “INC” LED lights. At this time, an error sound (a sound of the buzzer 71 (for example, a short high tone is repeated for a certain period)) is sounded. Further, “WB Adjustment error!” Is displayed for a certain period (Ex. 5 seconds) on the endoscope composite image display screen.

なお、ホワイトバランスの平均値、ホワイトバランス係数は、図14の項目「WB」のように表示する(図14:ホワイトバランスの平均値は前記(8)の太枠の値を表示している。)
前記ホワイトバランス処理により、
・ホワイトバランスの設定状態を操作デバイス(例えばフロントパネル69のWHITE BAL.(404)の上部にあるINC,COMPのLED)や内視鏡合成画像上に表示可能となり(図77〜図79)、またはブザー71による音にて知らせることも可能である為、使用者がホワイトバランスの取り忘れがあっても、容易かつ瞬時に気づくことができ、検査や手術に支障が生じない。
The average value of white balance and the white balance coefficient are displayed as shown in the item “WB” in FIG. 14 (FIG. 14: The average value of white balance is the value of the thick frame in (8) above. )
By the white balance process,
The white balance setting state can be displayed on an operation device (for example, INC and COMP LEDs on the top of WHITE BAL. (404) on the front panel 69) or an endoscope composite image (FIGS. 77 to 79). In addition, since it is possible to notify with a sound by the buzzer 71, even if the user forgets to take the white balance, it can be easily and instantly noticed, and there is no trouble in the examination and the operation.

・また、複数の光源(17,17a)に対応して、ホワイトバランスの制御が行える為、光源の種類に関係なくプロセッサを組み合わせることができ、使用者の機器の選択範囲も広がり、かつ使用しやすい内視鏡装置や内視鏡システムを提供できる。     -In addition, since white balance can be controlled corresponding to a plurality of light sources (17, 17a), processors can be combined regardless of the type of light source, and the range of user equipment selection is widened and used. An easy-to-use endoscope device and endoscope system can be provided.

・光源17が電源OFFである場合には、ホワイトバランス処理の際に、エラーを内視鏡合成画像上に表示、またはブザー71で音にて知らせることで、光源17の電源ONできるよう使用者に指示でき、かつ正しくホワイトバランス処理が行えるようにできるため、使用者に最適な内視鏡画像を提供できる。     When the light source 17 is turned off, the user can turn on the light source 17 by displaying an error on the endoscope composite image or notifying the buzzer 71 with sound during white balance processing. Can be instructed and the white balance processing can be performed correctly, so that an optimal endoscopic image can be provided to the user.

図83は、画面アスペクト比16:9表示時の,画面表示方法の別の実施例を示す。
・観察画像(内視鏡合成画像表示画面)の左右(もしくは、どちらか一方に)に操作デバイスの機能を表示し、操作デバイス上のカーソルキーや決定キーを使用することにより、観察画面(内視鏡合成画像表示画面)上からでも機能を行うことができる。
FIG. 83 shows another embodiment of the screen display method when the screen aspect ratio is 16: 9.
-Display the function of the operation device on the left and right (or either) of the observation image (endoscope composite image display screen), and use the cursor key and enter key on the operation device to The function can be performed even on the endoscope composite image display screen).

・システム設定画面、ユーザー設定画面で設定した項目の表示
・プロセッサ13、光源17、内視鏡1のプログラムのバージョン表示を行うことができる。表示内容は、ユーザーが任意に選択できるようにしても良い。なお、インデックス画像と内視鏡関連情報が重なる箇所(399)においては、インデックス画像が優先されて内視鏡関連情報は隠れるよう表示しても良く、操作デバイス上にどちらを優先するか選択するキーを設けても良く、ユーザー設定画面などに選択項目を用意しても良い。
-Display of items set on the system setting screen and user setting screen-The program version of the processor 13, the light source 17, and the endoscope 1 can be displayed. The display content may be arbitrarily selected by the user. It should be noted that at the place where the index image and the endoscope related information overlap (399), the index image may be prioritized and the endoscope related information may be displayed so as to be hidden, and it is selected on the operation device which is prioritized. A key may be provided, and selection items may be prepared on a user setting screen or the like.

図84は、プロセッサ13のプログラム、FPGAデータ、パラメータのバージョンアップ例を示す。プロセッサ13を接続される周辺機器(例えば、ファイリング装置)のケーブルやコネクタを利用し、パソコンなどのVerUP機器450を接続し、SIO250を経由してシリアルインターフェースを使用してバージョンアップを行う。   FIG. 84 shows a version upgrade example of the program, FPGA data, and parameters of the processor 13. Using a cable or connector of a peripheral device (for example, a filing device) to which the processor 13 is connected, a VerUP device 450 such as a personal computer is connected, and the version is upgraded using a serial interface via the SIO 250.

操作デバイスの特定キーの同時押し(例えばフロントパネル69上の特定の1つ以上のキーの同時押し)をしながらプロセッサ13の電源をONすることによって、プロセッサのソフトウェアがVerUPモードで起動する(図85参照)。   The processor software is started in the VerUP mode by turning on the power of the processor 13 while simultaneously pressing specific keys of the operation device (for example, simultaneously pressing one or more specific keys on the front panel 69) (see FIG. 85).

VerUP機器450上のソフトウェアより以下のデータのVerUP,READ,WRITE,Verify、更新を行うことが可能である。
・プログラムROM83に格納されるプロセッサ13のプログラム
・各コンフィグレーションメモリに格納されるコンフィグレーションデータ
・パラメータメモリに格納されるパラメータ
・BACKUPRAMに格納される設定データ
・ETHERNETの物理アドレスなお、コンフィグレーションデータ、パラメータデータのバージョンアップの際は、
(1)アドレスデコーダー80内のレジスタBANKSLのビットBNK3−0でコンフィグレーションICを選択を行い、コンフィグレーションデータは、その後
(2)選択したコンフィグレーションICのレジスタMEMOKのビットCMON=‘1’を設定
(3)選択したコンフィグレーションICに接続しているコンフィグレーションメモリへ書き込み処理の手順で行う(レジスタについては、図17R参照)。
VerUP, READ, WRITE, Verify, and update of the following data can be performed from the software on the VerUP device 450.
-Program of processor 13 stored in program ROM 83-Configuration data stored in each configuration memory-Parameters stored in parameter memory-Setting data stored in BACKUPRAM-Physical address of ETHERNET Configuration data, When upgrading parameter data,
(1) The configuration IC is selected by the bits BNK3-0 of the register BANKSL in the address decoder 80, and then the configuration data is set. (2) The bit CMON of the register MEMOK of the selected configuration IC is set to “1”. (3) This is performed in the procedure of writing to the configuration memory connected to the selected configuration IC (see FIG. 17R for the registers).

なお、プログラムROM83、各コンフィグレーションメモリ、各パラメータメモリはEEPROM、FLASH ROM,FRAM,FeRAM,MRAM,OUM、バッテリー付きSRAMであってもよく、パラレルインターフェース、シリアルインターフェースどちらでもよい。   The program ROM 83, each configuration memory, and each parameter memory may be EEPROM, FLASH ROM, FRAM, FeRAM, MRAM, OUM, battery-equipped SRAM, and may be either a parallel interface or a serial interface.

なお、プロセッサ13のプログラムのバージョンアップ後、再度プロセッサの電源をONすると、プログラムROM83に格納された新しいプログラムのバージョン情報と、BACKUPRAM77に格納されたバージョンアップ前のプログラムのバージョンを比較し、バージョンが異なる場合は、操作デバイス(フロントパネル69、キーボード14他)の設定や、設定画面、ユーザー設定画面で設定された各設定項目を工場出荷値に自動的に設定するようにし、VerUPによるプログラムの誤動作を回避するようにしても良い。   When the processor power is turned on again after upgrading the program of the processor 13, the version information of the new program stored in the program ROM 83 is compared with the version of the program stored in the BACKUPRAM 77 before the upgrade. If they are different, the setting of the operation device (front panel 69, keyboard 14, etc.), each setting item set on the setting screen and user setting screen is automatically set to the factory default value, and the malfunction of the program by VerUP May be avoided.

図85は、プログラムモード判別(S400)の詳細を示すフローチャート図である。プロセッサ13の電源オン時には、各コンフィグレーションICのCPU I/FのレジスタMEMOKのビットCMSL、CONは‘0’にプリセットされる為、各ブロックのFPGAは各コンフィグレーションメモリ内のVerUP用コンフィグレーションメモリ領域(アドレス領域H‘09C00000〜H’09FFFFFF)を使用して、コンフィグレーションが自動的に行われる(S402)。(図17RのレジスタBANKSLを設定することで各コンフィグレーションICのレジスタ(MEMOK)にRead/Writeの設定が可能となる。)
コンフィグレーションが正常に完了後(S403)、操作デバイスの特定キーの同時押し(例えばフロントパネル69上の特定の1つ以上のキーの同時押し)を検知された場合は、プロセッサ13のプログラムをVerUPモードで動作するようにする(S404,S403)。S403のコンフィグレーションが正常に完了したかの確認方法は、全てのFPGAのコンフィグレーションの完了を確認する為に、
(1)アドレスデコーダー80内のレジスタBANKSLのビットBNK3−0でコンフィグレーションICを選択
(2)選択したコンフィグレーションICのレジスタMEMOKのビットCOK=‘1’を確認
(3)全てのコンフィグレーションICで確認の手順で行う。S403でコンフィグレーションが正常に完了しているかを確認することで、例えば制御回路67上で動作するSIO250,PIO251が動作可能かを確認でき、よって操作デバイスの検知が可能となる。S402より、プロセッサ13のプログラムがVerUPモードで動作するときは、VerUP用コンフィグレーションメモリでコンフィグレーションを行われる。
FIG. 85 is a flowchart showing details of the program mode discrimination (S400). When the processor 13 is powered on, the bits CMSL and CON of the register MEMOK of the CPU I / F of each configuration IC are preset to “0”, so that the FPGA of each block is a configuration memory for VerUP in each configuration memory Configuration is automatically performed using the area (address area H'09C00000 to H'09FFFFFF) (S402). (Read / Write can be set in the register (MEMOK) of each configuration IC by setting the register BANKSL in FIG. 17R.)
After the configuration is normally completed (S403), if simultaneous pressing of a specific key of the operating device (for example, simultaneous pressing of one or more specific keys on the front panel 69) is detected, the program of the processor 13 is updated to VerUP. The operation is performed in the mode (S404, S403). The confirmation method of whether or not the configuration of S403 is normally completed is to confirm the completion of the configuration of all the FPGAs.
(1) Select configuration IC with bits BNK3-0 of register BANKSL in address decoder 80 (2) Check bit COK = '1' in register MEMOK of selected configuration IC (3) Check with all configuration ICs Follow the confirmation procedure. By confirming whether the configuration is normally completed in S403, for example, it is possible to confirm whether the SIO 250 and PIO 251 operating on the control circuit 67 are operable, and thus it is possible to detect the operation device. From S402, when the program of the processor 13 operates in the VerUP mode, the configuration is performed in the VerUP configuration memory.

そのため、VerUPモードでコンフィグレーションデータのバージョンアップに失敗し、誤ったデータが通常用コンフィグレーションメモリに格納された場合でも、VerUPモードではVerUP用コンフィグレーションメモリに格納された正しいデータでコンフィグレーションされる為、VerUPモード時には、各FPGAの正常動作を確認できる。   Therefore, even if the configuration data version upgrade fails in the VerUP mode and incorrect data is stored in the normal configuration memory, in the VerUP mode, the configuration data is configured with the correct data stored in the VerUP configuration memory. Therefore, the normal operation of each FPGA can be confirmed in the VerUP mode.

(例えば、コンフィグレーションメモリ4の通常使用時のコンフィグレーションデータのVerUPの失敗すると、次回のコンフィグレーション時には、通常使用時のコンフィグレーションデータを使ったコンフィグレーションは正常に完了せず、制御回路67内のSIO250が動作しない。そのため、SIO250を経由したバージョンアップを行うことができない。しかし、Verupモード時には、Verup用コンフィグレーションデータが使用されるため、再度、制御回路67内のSIO250を経由してバージョンアップを行うことが可能となる。)
一方、操作デバイスからの特定キーの入力がない場合は、通常使用であると判断され(S404)、各コンフィグレーションICのレジスタMEMOKのCONを‘1’にセットして、コンフィグレーション処理をOFFし(S406)、CMSL=‘1’にすることで、各コンフィグレーションメモリ内の通常コンフィグレーションメモリ領域(アドレス領域H‘09800000〜H’09BFFFFF)を使用して、コンフィグレーションを行えるよう設定した後(S407)、CON=‘0’にして再コンフィグレーションを行う。
(For example, if VerUP of the configuration data in the normal use of the configuration memory 4 fails, the configuration using the configuration data in the normal use is not normally completed in the next configuration, and the control circuit 67 SIO 250 does not operate, so version upgrade cannot be performed via SIO 250. However, since the configuration data for Verup is used in the Verup mode, the version is again transmitted via SIO 250 in control circuit 67. It becomes possible to perform up.)
On the other hand, if there is no input of a specific key from the operation device, it is determined that it is normally used (S404), CON of register MEMOK of each configuration IC is set to '1', and the configuration processing is turned off. (S406) After setting to enable configuration using the normal configuration memory area (address areas H'098000000 to H'09BFFFFF) in each configuration memory by setting CSL = '1' ( S407), reconfiguration is performed with CON = '0'.

コンフィグレーションが正常に完了後、初期化処理(S241)へ移行する。なお、S402〜S403の処理は、一部のコンフィグレーションメモリのみ(例えばコンフィグレーションメモリ4のみ)VerUP用コンフィグレーションメモリを用意することにより、起動時間の短縮化、メモリ容量の削減を行っても良い。   After the configuration is completed normally, the process proceeds to the initialization process (S241). Note that the processing of S402 to S403 may shorten the startup time and reduce the memory capacity by preparing a configuration memory for VerUP only for a part of the configuration memory (for example, only the configuration memory 4). .

なお、本システムは、面順次式、同時式にかかわらず適応できる。また、図80に示すように、操作デバイス上の1つ以上のキーを同時に押すことにより、
・内視鏡1のプログラムのバージョン
・光源17のプログラムのバージョン
・内視鏡1とプロセッサ13の通信結果
・光源17とプロセッサ17の通信結果
・光源17の状態エラーの表示(例えば、ターレットエラー、RGBユニットエラー、RGBフィルタ(19,20)エラー、オンドスイッチエラー、イグニッションエラー、ランプテントウセズ、スペアランプヘンコウ)を一定期間、表示するメッセージを用意しても良い。
This system can be applied regardless of the frame sequential type or the simultaneous type. As shown in FIG. 80, by simultaneously pressing one or more keys on the operation device,
The program version of the endoscope 1 The program version of the light source 17 The communication result between the endoscope 1 and the processor 13 The communication result between the light source 17 and the processor 17 The status error display of the light source 17 (for example, turret error, A message for displaying RGB unit error, RGB filter (19, 20) error, ON switch error, ignition error, lamp tent use, spare lamp change) for a certain period may be prepared.

以上述べたように本発明によれば、
・内視鏡1(又はCCD2)の種類によって、内視鏡画像に合わせて、インデックス画像が最適なサイズ、位置になるように制御でき、使用者が観察しやすい画像を提供できる。
As described above, according to the present invention,
Depending on the type of the endoscope 1 (or the CCD 2), the index image can be controlled to have an optimal size and position according to the endoscope image, and an image that can be easily observed by the user can be provided.

・内視鏡画像の画像サイズに合わせて、インデックス画像が最適なサイズ、位置になるように制御ができ、使用者が観察しやすい画像を提供できる。
・同一の内視鏡1(CCD2)においては、画像サイズを変更しても、インデックス画像が同一になるように制御も可能であり、画像サイズを変更しても使用者に違和感なく内視鏡画像やインデックス画像を観察できる。
-According to the image size of the endoscopic image, the index image can be controlled so as to have an optimal size and position, and an image that can be easily observed by the user can be provided.
In the same endoscope 1 (CCD2), even if the image size is changed, it is possible to control the index image to be the same, and even if the image size is changed, the endoscope can be used without any discomfort to the user. Images and index images can be observed.

・内視鏡画像がインデックス画像と重なる時は、インデックス画像を消去するようにし、画像が重なることによって使用者が内視鏡画像を観察しにくくなることがなく、検査、診察、手術の効率化が図れる。     -When the endoscopic image overlaps with the index image, the index image is deleted, and the overlapping of the images does not make it difficult for the user to observe the endoscopic image, thereby improving the efficiency of examination, examination, and surgery. Can be planned.

・内視鏡画像が内視鏡関連情報と重なる時は、内視鏡関連情報を消去するようにし、画像と重なることによって使用者が内視鏡画像を観察しにくくなることがなく、検査、診察、手術の効率化が図れる。なお、内視鏡関連情報は、内視鏡1内のメモリ8から読み出された情報を含む。     ・ When the endoscope image overlaps with the endoscope related information, the endoscope related information is erased, and the overlap with the image does not make it difficult for the user to observe the endoscope image. The efficiency of examination and surgery can be improved. The endoscope related information includes information read from the memory 8 in the endoscope 1.

・システム設定画面項目「Index Delete」の設定項目を変更することにより、レリーズやキャプチャーなどの記録動作の際、記録中にインデックス画像の表示、非表示などの制御が可能となる。これより、記録画像には、インデックスが必要である使用者や、インデックス画像が必要でない使用者への対応が可能となり、使用しやすい内視鏡装置や内視鏡システムを提供できる。     By changing the setting item of the system setting screen item “Index Delete”, it is possible to control the display or non-display of an index image during recording during a recording operation such as release or capture. Thus, it is possible to deal with users who need an index for recorded images and users who do not need an index image, and can provide an easy-to-use endoscope apparatus or endoscope system.

・表4Aの、設定項目Remote ControlのD.Fで例えばTYPEBを選択時に、自動的に「Index Delete」の設定項目をONに切り替わるように設定してもよい。これより、接続される周辺機器に応じて、インデックス画像の表示制御が可能である。     -D. of setting item Remote Control of Table 4A. For example, when “TYPEB” is selected in F, the setting item of “Index Delete” may be automatically switched to ON. Thus, display control of the index image can be performed according to the connected peripheral device.

・「Index Delete」の設定は、ファイリング装置308,357,写真撮影装置307,356、記録装置86,87とSIO250やPIO251を経由したシリアルインターフェースやパラレルインターフェースにて設定変更可能であっても良い。これより、インデックス画像の表示制御が周辺機器から制御可能となる(なお、インデックスに限らず、全ての内視鏡関連情報や、各種設定画面の設定、操作デバイスの設定状態の読み出しや変更は(操作キーの無効化含む)、周辺機器によって可能である。)
・図8で示すように、インデックス画像は、特定のグラフィックデータ(例えばアローカーソル)のみ合成可能である為、インデックス画像を生成する際に、アローカーソル(例えば624,624’)以外の内視鏡関連情報(例えば600〜623,600’〜623’やエラーメッセージや図75,図76〜図80のメッセージなど)が内視鏡画像に重なっていてもインデックス画像内には含めない(合成されない)為、使用者に観察しやすいインデックス画像を提供できる。
The setting of “Index Delete” may be changeable through filing devices 308 and 357, photography devices 307 and 356, recording devices 86 and 87, and a serial interface or parallel interface via SIO 250 or PIO 251. As a result, the display control of the index image can be controlled from the peripheral device (Note that not only the index but also all the endoscope related information, setting of various setting screens, and reading and changing the setting state of the operation device are ( (Including invalidation of operation keys), possible by peripheral devices.)
As shown in FIG. 8, since the index image can be synthesized only with specific graphic data (for example, an arrow cursor), an endoscope other than the arrow cursor (for example, 624, 624 ′) is used when generating the index image. Even if related information (for example, 600 to 623, 600 ′ to 623 ′, an error message, the messages in FIGS. 75 and 76 to 80, etc.) overlaps with the endoscope image, it is not included in the index image (not synthesized). Therefore, an index image that can be easily observed by the user can be provided.

インデックス画像は映像+合成処理93のみで作成することにより、合成処理2(99)で出力される内視鏡合成画像にのみ表示してもよく、合成処理回路102でもインデックス画像を生成することにより、合成処理1(61)やデジタルエンコーダ62の内視鏡合成画像にも出力しても良い。   The index image may be displayed only on the endoscope synthesized image output in the synthesis process 2 (99) by creating only the video + synthesis process 93, and the synthesis processing circuit 102 also generates the index image. Alternatively, it may be output to the synthesis process 1 (61) or the endoscope composite image of the digital encoder 62.

ホワイトバランスの設定状態を操作デバイス(例えばフロントパネル69のWHITE BAL.(404)の上部にあるINC、COMPのLED)や内視鏡合成画像上に表示可能となり(図77〜図79)、またはブザー71による音にて知らせることも可能である為、使用者がホワイトバランスの取り忘れがあっても、容易かつ瞬時に気づくことができ、検査や手術に支障が生じない。   The white balance setting state can be displayed on an operation device (for example, INC and COMP LEDs on the top of WHITE BAL. (404) on the front panel 69) or an endoscope composite image (FIGS. 77 to 79), or Since it is also possible to notify with a sound from the buzzer 71, even if the user forgets to take the white balance, it can be easily and instantly noticed, and there is no trouble in the examination and the operation.

・また、複数の光源(17,17a)に対応して、ホワイトバランスの制御が行える為、光源の種類に関係なくプロセッサを組み合わせることができ、使用者の機器の選択範囲も広がり、かつ使用しやすい内視鏡装置や内視鏡システムを提供できる。     -In addition, since white balance can be controlled corresponding to a plurality of light sources (17, 17a), processors can be combined regardless of the type of light source, and the range of user equipment selection is widened and used. An easy-to-use endoscope device and endoscope system can be provided.

・光源17が電源OFFである場合には、ホワイトバランス処理の際に、エラーを内視鏡合成画像上に表示、またはブザー71で音にて知らせることで、光源17の電源ONできるよう使用者に指示でき、かつ正しくホワイトバランス処理が行えるようにできるため、使用者に最適な内視鏡画像を提供できる
・図72,図73に示すように内視鏡関連情報を、専用の表示制御スイッチ(例えばキーボード14のREMOVE DATAキー528)により表示制御可能である。内視鏡関連情報は内視鏡1内のメモリ8に格納されている情報も含む)
・映像+合成処理93で合成する内視鏡関連情報と、合成処理回路102で合成する内視鏡関連情報を別々に表示できる(例えば619〜621は映像+合成処理93のみ常時表示している)。複数の画像出力の、画質や表示範囲に応じて、各々内視鏡関連情報の表示内容を制御(表示、非表示の選択)を行うことが可能であり、使用者は用途に応じて最適な出力を選択可能である。などの特徴を有する内視鏡装置又は内視鏡システムを提供できる。
When the light source 17 is turned off, the user can turn on the light source 17 by displaying an error on the endoscope composite image or notifying the buzzer 71 with sound during white balance processing. The user can provide an optimal endoscopic image to the user because the white balance process can be performed correctly and the user can provide the endoscope-related information as shown in FIGS. 72 and 73 with a dedicated display control switch. The display can be controlled by (for example, the REMOVE DATA key 528 of the keyboard 14). (Endoscope-related information includes information stored in the memory 8 in the endoscope 1)
Endoscope-related information to be synthesized by the video + compositing process 93 and endoscope-related information to be synthesized by the synthesis processing circuit 102 can be displayed separately (for example, only the video + synthesizing process 93 is always displayed in 619 to 621). ). The display contents of endoscope related information can be controlled (selection of display or non-display) according to the image quality and display range of multiple image outputs. Output can be selected. It is possible to provide an endoscope apparatus or an endoscope system having the characteristics as described above.

<第2の実施形態>
図86は、文字・マスク・画像合成211の詳細ブロック図(図8参照)の別の実施形態を示す。図8では、画像データを縮小処理269で縮小した後に、メモリ8(112)に格納しているが、図86では、画像データをそのままメモリ8(112)に格納した後に、画像を表示させる場合のREAD時に画像を縮小処理269’で縮小している。
<Second Embodiment>
FIG. 86 shows another embodiment of a detailed block diagram (see FIG. 8) of the character / mask / image composition 211. In FIG. 8, the image data is reduced by the reduction processing 269 and then stored in the memory 8 (112). However, in FIG. 86, the image data is stored as it is in the memory 8 (112) and then displayed. The image is reduced by the reduction process 269 ′ at the time of READ.

このように、縮小処理269’がメモリ8(112)→双方向バッファ270を経由後に行われる事により、メモリ8(112)に縮小しない内視鏡合成画像表示画面をWRITEし、メモリ8(112)からREAD後に、縮小処理が可能となる。   As described above, the reduction processing 269 ′ is performed after passing through the memory 8 (112) → the bidirectional buffer 270, so that the endoscope composite image display screen that is not reduced to the memory 8 (112) is written, and the memory 8 (112 ) To READ after the READ.

図87は、図86の構成において、縮小せずにメモリ8(112)にWRITEする位置を示す。レジスタwstarth,wstartv,wendh,wendvは縮小せずにメモリ8(112)にWRITEする画像の範囲を示し、前記指定された範囲において、メモリ8(112)の各POSITIONへのWRITE処理が行われる。(本実施形態では、各POSITIONのrow,coloumのアドレス値は図45とは異なる。)
図88は、図86の構成において、メモリ8(112)の各POSITIONのREADする位置を示す。レジスタmrstarth,mrstartv,mrendh,mrendvはメモリ8(112)の各POSITIONの左上部を基点((x,y)=(0,0))とした場合のREADする画像の範囲を示し、その範囲の画像が縮小処理269’にて縮小され、インデックス画像となる。
FIG. 87 shows a position where the memory 8 (112) is written without being reduced in the configuration of FIG. The registers wstart, wstartv, wendh, and wndv indicate the range of the image to be written to the memory 8 (112) without being reduced, and the WRITE processing to each POSITION of the memory 8 (112) is performed in the specified range. (In this embodiment, the row and column address values of each POSITION are different from those in FIG. 45.)
FIG. 88 shows the position to read each POSITION in the memory 8 (112) in the configuration of FIG. Registers mrstart, mrstartv, mrendh, mrendv indicate the range of the image to be read when the upper left corner of each POSITION of the memory 8 (112) is the base point ((x, y) = (0, 0)). The image is reduced by the reduction process 269 ′ to become an index image.

図89は、図86の構成における、インデックス作成のための設定例を示すテーブルである。図89のテーブルに基づいてメモリ制御回路312,双方向バッファ310,メモリ112、縮小処理269’、マスク処理266を制御することで、内視鏡合成画像表示画面を縮小せずにメモリ8(112)にWRITEし、かつREADしてインデックス画像の作成、表示を行なうことが可能となる。   FIG. 89 is a table showing a setting example for creating an index in the configuration of FIG. 89. By controlling the memory control circuit 312, the bidirectional buffer 310, the memory 112, the reduction process 269 ′, and the mask process 266 based on the table of FIG. 89, the memory 8 (112 ) And READ to create and display an index image.

以上より、図8では、画像を縮小してからメモリ8(112)に書き込んでいたために、後に拡大した画像を見たいときに対応できなかったが、本実施形態では、メモリ8(112)には縮小する前の画像を書き込むようにしたため、後に拡大した画像を見たいときにもその要求に応えることができる。   As described above, in FIG. 8, since the image is reduced and then written in the memory 8 (112), it cannot be handled when the user wants to see the enlarged image later. However, in the present embodiment, the memory 8 (112) Since the image before the reduction is written in, the request can be met even when the user wants to see the enlarged image later.

<第3の実施形態>
次に図26〜図29のインデックス表示に関する別の制御の実施形態を示す。操作デバイスの制御によって、例えば以下のように、前後のインデックス表示の制御を行ってもよい。(下記では、表示モードが4:3のときについて説明しているが、表示モード5:4,16:9の場合も同様とする。)
ここで、図90(図90−1〜図90−3)は、インデックス4駒時におけるFn(536)+カーソル(544)“←”を入力した場合のインデックス表示の制御例を示す。図91(図91−1〜図91−3)は、インデックス4駒時におけるFn(536)+カーソル(544)“→”を入力した場合のインデックス表示の制御例を示す。図92(図92−1〜図92−3)は、インデックス1駒時におけるFn(536)+カーソル(544)“→”を入力した場合のインデックス表示の制御例を示す。図93(図93−1〜図93−3)は、インデックス1駒時におけるFn(536)+カーソル(544)“←”を入力した場合のインデックス表示の制御例を示す。以下、図90〜図93を参照しながら説明する。
<Third Embodiment>
Next, another embodiment of control relating to the index display of FIGS. 26 to 29 will be described. By controlling the operation device, for example, the front and rear index display may be controlled as follows. (In the following description, the display mode is 4: 3, but the same applies to display modes 5: 4 and 16: 9.)
Here, FIG. 90 (FIGS. 90-1 to 90-3) shows an example of index display control when Fn (536) + cursor (544) “←” is input when there are four frames. FIG. 91 (FIGS. 91-1 to 91-3) shows an example of index display control when Fn (536) + cursor (544) “→” is input when there are four frames. FIG. 92 (FIGS. 92-1 to 92-3) shows an example of index display control when Fn (536) + cursor (544) “→” is input when an index is one frame. FIG. 93 (FIGS. 93-1 to 93-3) shows an example of index display control when Fn (536) + cursor (544) “←” is input at the time of one index. Hereinafter, a description will be given with reference to FIGS.

(i)インデックス4駒表示時、キーボード14,キーボード2(45)のFn(536)+カーソル(544)“←”を入力時には、図90のように1つ前のインデックス画像が表示できるようにインデックス画像を移動可能とする。(POSITION0の画像(図90のインデックス画像“1”)の1つ前のインデックス画像を表示する場合は、POSITION63を表示するようにしてもよく(図90のインデックス画像“64”の表示)、又はPOSITION63に移行しないようにFn(536)+カーソル(544)“←”の入力があった場合の動作を無効とし、かつエラー音やエラー表示などの警告を行ってもよい。((ii)以下の処理においても同様。))
(ii)インデックス4駒表示時、キーボード14,キーボード2(45)のFn(536)+カーソル(544)“→”を入力時には、図91のように、1つ後のインデックス画像が表示できるようにインデックス画像の移動を可能とする。
(I) When four frames are displayed, when the keyboard 14 and keyboard 2 (45) Fn (536) + cursor (544) "←" is input, the previous index image can be displayed as shown in FIG. The index image can be moved. (When displaying the index image immediately before the POSITION 0 image (index image “1” in FIG. 90), the POSITION 63 may be displayed (displaying the index image “64” in FIG. 90). The operation when Fn (536) + cursor (544) “←” is input may be invalidated and warning such as an error sound or an error display may be issued so as not to shift to POSITION 63 ((ii) and below). The same applies to the processing of
(Ii) When four frames are displayed, when the keyboard 14 and the keyboard 2 (45) Fn (536) + cursor (544) “→” is input, the next index image can be displayed as shown in FIG. The index image can be moved.

(iii)インデックス1駒表示時、キーボード14,キーボード2(45)のFn(536)+カーソル(544)“←”を入力時には、図93のように1つ前のインデックス画像が表示できるようにインデックス画像を移動可能とする。     (Iii) When one frame of index is displayed, when the keyboard 14 and keyboard 2 (45) Fn (536) + cursor (544) “←” is input, the previous index image can be displayed as shown in FIG. The index image can be moved.

(iV)インデックス1駒表示時、キーボード14,キーボード2(45)のFn(536)+カーソル(544)“→”を入力時には、図92のように1つ後のインデックス画像が表示できるようにインデックス画像を移動可能とする。     (IV) When one frame of index is displayed, when inputting Fn (536) + cursor (544) “→” of the keyboard 14 and keyboard 2 (45), the next index image can be displayed as shown in FIG. The index image can be moved.

なお、前後にインデックス画像がない場合(メモリ8(112)に該当する画像が格納されてない場合)に、Fn(536)+カーソル(544)の入力があった場合は、動作を無効とし、エラー音やエラー表示などの警告を行ってもよい。   If there is no index image before or after (the image corresponding to the memory 8 (112) is not stored) and the Fn (536) + cursor (544) is input, the operation is invalidated. A warning such as an error sound or an error display may be given.

一方、操作デバイスによる専用キーまたは複数キーの同時押し、又は上記(i)〜(iV)の動作時/インデックス一覧表示時(図94)に自動的に、インデックス画像を選択する枠3660〜3663を表示するようにしてもよく、前記枠が表示されている状態で選択確定キー(例えばENTER542,546)を入力した場合、図86のメモリ8(112)に格納されている縮小されていない内視鏡合成画像表示画面を、メモリ制御回路312、双方向バッファ310、メモリ112、縮小処理269’、マスク処理266を制御する事で、縮小せずに表示を行ってもよい。(これより、インデックス画像を検索画像として使用し、第2の実施形態で説明したように、メモリ8(112)に格納しておいた縮小されていない内視鏡合成画像表示画面を容易かつ確実に表示する事が可能となる。)。また、枠3660〜3663は、カーソル(544)より他のインデックス画像へ移動可能とする。   On the other hand, frames 3660 to 3663 for automatically selecting an index image are displayed when the dedicated key or a plurality of keys are simultaneously pressed by the operation device, or when the operations (i) to (iV) are performed / the index list is displayed (FIG. 94). When the selection confirmation key (for example, ENTER 542, 546) is input in a state where the frame is displayed, the unreduced internal view stored in the memory 8 (112) in FIG. 86 is displayed. The mirror composite image display screen may be displayed without being reduced by controlling the memory control circuit 312, the bidirectional buffer 310, the memory 112, the reduction process 269 ′, and the mask process 266. (From this, the index image is used as a search image, and as described in the second embodiment, the uncompressed endoscope composite image display screen stored in the memory 8 (112) can be easily and reliably obtained. It is possible to display it on.) The frames 3660 to 3663 can be moved to another index image from the cursor (544).

なお、メモリ8(112)にWRITE、READする画像は、図示しない符号化/複合化処理を設けることで圧縮画像にしてもよく、インデックス画像と縮小しない内視鏡合成画像表示画面を双方格納するようにしてもよい。   Note that an image to be written and read in the memory 8 (112) may be a compressed image by providing an encoding / combining process (not shown), and both an index image and an uncompressed endoscope composite image display screen are stored. You may do it.

また、インデックス画像がメモリ8(112)のどのPOSITIONに格納されているか(又はメモリ8(112)にどの程度格納されているか)を容易に確認できるように、番号を付加するようにしてもよい(図95)。   Further, a number may be added so that it is possible to easily confirm in which POSITION of the index image the memory 8 (112) (or how much the index image is stored in the memory 8 (112)). (FIG. 95).

以上より、キーボード操作によりインデックス画像を1つ前または1つ後のインデックス画像に移動させることができる。
<第4の実施形態>
次に、プロセッサ13と光源17間の制御において、透過照明に関する実施形態を示す。光源17の操作パネル25の(図示しない)透過照明スイッチを入力すると、光量増加を測り、体外透過光によって内視鏡1の先端位置を確認することが可能となる(詳細は、特許文献6を参照)。本実施形態は、透過照明の際のプロセッサ13と光源17間(信号線28a,28bを経由した)送受信処理に関するものである。
As described above, the index image can be moved to the previous or next index image by a keyboard operation.
<Fourth Embodiment>
Next, an embodiment relating to transmitted illumination in the control between the processor 13 and the light source 17 will be described. When a transmission illumination switch (not shown) on the operation panel 25 of the light source 17 is input, it is possible to measure the increase in the amount of light and confirm the distal end position of the endoscope 1 by the extracorporeal transmitted light (for details, refer to Patent Document 6). reference). This embodiment relates to a transmission / reception process between the processor 13 and the light source 17 (via signal lines 28a and 28b) in the case of transmitted illumination.

図96にプロセッサ13と光源17間の透過照明に関する動作フローを示す。まず、光源17の透過照明スイッチを入力すると(S501)、RGBフィルタ19、特殊光フィルタ20a,20b,20cの切替開始コマンドを送信する(S502)。   FIG. 96 shows an operation flow relating to transmitted illumination between the processor 13 and the light source 17. First, when a transmission illumination switch of the light source 17 is input (S501), a switch start command for the RGB filter 19 and the special light filters 20a, 20b, and 20c is transmitted (S502).

次に、コマンドを受信したプロセッサ13は、モノクロ設定(キーボード14のB/Wキー511入力によるモノクロ処理と同じ処理)を行い(S503)、コマンドを正常受信した事を示す正常受信コマンドを送信する(S504)。光源17は、正常受信コマンドを受信後、RGBフィルタ19、特殊光フィルタ20a,20b,20cを光路上から退避させて(S505)、RGBフィルタ19、特殊光フィルタ20a,20b,20cの切り替え状態を通知するコマンドを送信する(S506)。   Next, the processor 13 that has received the command performs monochrome setting (the same processing as the monochrome processing by inputting the B / W key 511 of the keyboard 14) (S503), and transmits a normal reception command indicating that the command has been normally received. (S504). After receiving the normal reception command, the light source 17 retracts the RGB filter 19 and the special light filters 20a, 20b, and 20c from the optical path (S505), and changes the switching state of the RGB filter 19 and the special light filters 20a, 20b, and 20c. A command to be notified is transmitted (S506).

プロセッサ13はそのコマンドを受信後、正常受信コマンドを送信する(S507)。光源17は正常受信コマンドを受信後、光量を増加し、一定期間(例えば7s)保持し、内視鏡1の先端位置が確認される(S508)。上記一定期間後、RGBフィルタ19、特殊光フィルタ20a,20b,20cの切り替え状態を通知するコマンドを送信する(S509)。   After receiving the command, the processor 13 transmits a normal reception command (S507). After receiving the normal reception command, the light source 17 increases the amount of light and holds it for a certain period (for example, 7 s), and the tip position of the endoscope 1 is confirmed (S508). After the predetermined period, a command for notifying the switching state of the RGB filter 19 and the special light filters 20a, 20b, and 20c is transmitted (S509).

プロセッサ13はそのコマンドを受信後、正常受信コマンドを送信する(S510)。光源17は正常受信コマンドを受信後、RGBフィルタ19、特殊光フィルタ20a,20b,20cの切替開始コマンドを送信する(S511)。   After receiving the command, the processor 13 transmits a normal reception command (S510). After receiving the normal reception command, the light source 17 transmits a switching start command for the RGB filter 19 and the special light filters 20a, 20b, and 20c (S511).

プロセッサ13は、コマンドを受信後、上記S503のモノクロ設定を行う前の設定状態に戻る(S512)(透過照明を行う前にRGB表示を行っている場合はRGB表示にし、B/Wキー511によりモノクロ表示の場合は、モノクロ表示のままとする。)。そして正常受信コマンドを送信する(S513)。   After receiving the command, the processor 13 returns to the setting state before the monochrome setting in S503 (S512). (If the RGB display is performed before the transparent illumination is performed, the RGB display is performed, and the B / W key 511 is used. In the case of monochrome display, leave it as monochrome display.) Then, a normal reception command is transmitted (S513).

光源17は正常受信コマンドを受信後、RGBフィルタ19,特殊光フィルタ20a,20b,20cを上記S505の退避の前の状態に戻す(S514)。
なお、図96の動作フロー中に、
・通信エラー発生時(例えば異常コマンド送受信時、タイムアウトエラー、パリティエラー、オーバーランエラー、チェックサムエラーなど発生時)
・S501〜S514のシーケンス順とは異なるコマンドを送受信時(例えばS502のシーケンスタイミングで切替開始コマンドでなく切り替え状態通知コマンドが送受信された場合)
・光源17の操作スイッチの全てのキー(又は一部のキー)が入力された時
・プロセッサ13の操作デバイスの全てのキー(又は一部のキー)が入力された時
の動作の全て(又は一部)が起こった場合は、透過照明処理を中断し、
・プロセッサ13をモノクロ設定を行う前の設定状態(図96の透過照明処理前の設定状態)に戻る
・光源17を上記S505の退避の前の状態(図96の透過照明処理前の設定状態)に戻るようにしてもよい。
After receiving the normal reception command, the light source 17 returns the RGB filter 19 and the special light filters 20a, 20b, and 20c to the state before the saving in S505 (S514).
In the operation flow of FIG.
-When a communication error occurs (for example, when an abnormal command is sent or received, a timeout error, a parity error, an overrun error, a checksum error, etc.)
When a command different from the sequence order of S501 to S514 is transmitted / received (for example, when a switching state notification command is transmitted / received instead of the switching start command at the sequence timing of S502)
When all the keys (or some keys) of the operation switch of the light source 17 are input. All of the operations when all the keys (or some keys) of the operation device of the processor 13 are input (or Part)), stop the transillumination process,
The processor 13 is returned to the setting state before the monochrome setting (setting state before the transmission illumination process in FIG. 96). The state before the light source 17 is saved in the above S505 (setting state before the transmission illumination process in FIG. 96). You may make it return to.

一方、各設定画面において、設定項目を修正する際、画面上で修正した項目は、選択確定キーが入力されるかESCキーなどの入力で別の画面に移行するまで保持しておいても良い(例えば、複数のページがあるシステム設定画面において、1ページ目の設定項目を修正した後、2〜3ページに移行して再度1ページに戻っても、前記修正した項目は保持するようにしてもよい。)。   On the other hand, when the setting item is corrected in each setting screen, the item corrected on the screen may be retained until the selection confirmation key is input or the screen is shifted to another screen by inputting the ESC key or the like. (For example, in a system setting screen having a plurality of pages, after the setting item on the first page is corrected, the corrected item is retained even if the page shifts to 2-3 pages and returns to page 1 again. May be good).

・記録装置86,87は、MO,DVD−RAM,DVD±R/RW,HDD,不揮発性メモリ、プリンタであってもよく、記録される内視鏡合成画像は、非圧縮の画像(RGB,YcrCb)又はJPEG/JPEG2000/MPEG1/MPEG2/MPEG4/H.264/TIFF/AVI/BMP/WMVなどのフォーマットであっても良い。その際は、CPU74及びCPUI/F6(209)及び画像キャプチャー部215を制御する事により、メモリ9(113)の内視鏡合成画像を、非圧縮又はJPEG/JPEG2000/MPEG1/MPEG2/MPEG4/H.264/TIFF/AVI/BMPなどのフォーマットで出力するようにしてもよい。   The recording devices 86 and 87 may be an MO, a DVD-RAM, a DVD ± R / RW, an HDD, a non-volatile memory, and a printer. The endoscope composite image to be recorded is an uncompressed image (RGB, YcrCb) or JPEG / JPEG2000 / MPEG1 / MPEG2 / MPEG4 / H. A format such as H.264 / TIFF / AVI / BMP / WMV may be used. In that case, by controlling the CPU 74, the CPU I / F 6 (209), and the image capture unit 215, the endoscope composite image in the memory 9 (113) is uncompressed or JPEG / JPEG2000 / MPEG1 / MPEG2 / MPEG4 / H. . It may be output in a format such as H.264 / TIFF / AVI / BMP.

・記録装置87のインターフェースは、FDDI,X.25,ISDN,ADSL,ATM,SLIP,PPP,RARP,ARP,OSPF,SIPP,RIP,ICMP,IP,TCP,UDP,RPC,NETBIOS,SOCKET,XDR,TFTP,TELNET,SNMP,SMTP,SMB,POP3,NTPV2,NNTP,MIME,MIBII,FTP,HTTP,DNS,DHCP,BOOTPなどのプロトコルを使用
してもよく、SGML,CGI,COOKIE,HTML,DHTML,XML,JAVA(登録商標),WEB機能やASP,RDBMS,DBMS,CORBA,DCOMなどのサーバ機能/データベース機能/分散オブジェクト技術を使用してもよい。
The interface of the recording device 87 is FDDI, X. 25, ISDN, ADSL, ATM, SLIP, PPP, RARP, ARP, OSPF, SIPP, RIP, ICMP, IP, TCP, UDP, RPC, NETBIOS, SOCKET, XDR, TFTP, TELNET, SNMP, SMTP, SMB, POP3 Protocols such as NTPV2, NNTP, MIME, MIBII, FTP, HTTP, DNS, DHCP, BOOTP may be used, and SGML, CGI, COOKIE, HTML, DHTML, XML, JAVA (registered trademark), WEB function, ASP, Server functions / database functions / distributed object technology such as RDBMS, DBMS, CORBA, DCOM may be used.

・メモリ8(112)は、不揮発性メモリ(EEPROM,FLASH ROM,FRAM,FeRAM,MRAM,OUM,バッテリー付きSRAM)であってもよく、(図示しない)着脱可能な挿入口(スロット)を経由してコンパクトフラッシュ(登録商標)、スマートメディア、SDカード,miniSDカード、PCカード形式のメモリカード、フラッシュドライブ、HDD,マルチメディアカード,xDPictureカード、メモリースティックなどに記録できるようにしてもよい。   The memory 8 (112) may be a non-volatile memory (EEPROM, FLASH ROM, FRAM, FeRAM, MRAM, OUM, battery-equipped SRAM) via a removable insertion slot (slot) (not shown). It may be possible to record on a compact flash (registered trademark), smart media, SD card, miniSD card, PC card type memory card, flash drive, HDD, multimedia card, xDPture card, memory stick, or the like.

また、次に示すデータ(プログラムROM83に格納されるプロセッサ13のプログラム、各コンフィグレーションメモリに格納されるコンフィグレーションデータ、パラメータメモリに格納されるパラメータ、BACKUPRAMに格納される設定データ、ETHERNET(登録商標)の物理アドレス)をメモリ8(112)に格納し、かつプロセッサ13のソフトウェアがVerUPモードで起動した場合は、自動的にVerUP、READ、WRITE、Verify、更新を行うことが可能であってもよい。   The following data (program of the processor 13 stored in the program ROM 83, configuration data stored in each configuration memory, parameters stored in the parameter memory, setting data stored in the BACKUPRAM, ETHERNET (registered trademark) ) Is stored in the memory 8 (112), and the software of the processor 13 is activated in the VerUP mode, the VerUP, READ, WRITE, Verify, and update can be performed automatically. Good.

・メモリ8(112)に記録されるフォーマットは、JPEG/JPEG2000/MPEG1/MPEG2/MPEG4/H.264/TIFF/AVI/BMP/WMV/DCF/EXIFなどであってもよい。(圧縮/伸長などのコーディック回路は、合成回路268、縮小回路269,269’に設けてもよい)
・メモリ8(112)にWRITEする際、インデックス画像と縮小しない内視鏡合成画像を双方とも圧縮してもよく、いずれかのみ圧縮するようにしてもよい。
The format recorded in the memory 8 (112) is JPEG / JPEG2000 / MPEG1 / MPEG2 / MPEG4 / H. H.264 / TIFF / AVI / BMP / WMV / DCF / EXIF may be used. (Codec circuits such as compression / decompression may be provided in the synthesis circuit 268 and the reduction circuits 269 and 269 ′)
When writing to the memory 8 (112), both the index image and the uncompressed endoscope composite image may be compressed, or only one of them may be compressed.

・インデックス画像とは、上記実施形態のように内視鏡画像のみであってもよく、内視鏡合成画像全体を縮小した画像であってもよい(図97に一例を示す。インデックス一覧表示(例えば図94)の別の例となる。図97では1ページでのインデックスの表示個数は4個である。表示個数は1〜32のうち、いずれか固定であってもよく、設定画面にて表示個数を任意に選択できるようにしてもよい。また、図97の表示の際には、内視鏡1(CCD2)の種類に応じた表示をしなくともよい。)。   The index image may be only an endoscope image as in the above embodiment, or may be an image obtained by reducing the entire endoscope composite image (an example is shown in FIG. 97. Index list display ( For example, another example is shown in Fig. 94. In Fig. 97, the number of displayed indexes per page is 4. The displayed number may be any one of 1 to 32, and is set on the setting screen. The display number may be arbitrarily selected, and it is not necessary to display according to the type of the endoscope 1 (CCD 2) in the display of FIG.

・例えば、設定画面上にて、Serial DRV(96)で出力するシリアルデジタルデータの種類(LVDS,PanelLink,GVIF,HD−SDI,DVI,DV,MPEG,JPEG)、又はメモリ8(112)にWRITEする種類(コンパクトフラッシュ(登録商標)、スマートメディア、SDカード,miniSDカード,PCカード形式のメモリカード,フラッシュドライブ,HDD,マルチメディアカード,xDPictureカード,メモリースティック,JPEG/JPEG2000/MPEG1/MPEG2/MPEG4/H.264/TIFF/AVI/BMP/WMV/DCF/EXIF)を選択できるようにしてもよく、圧縮率を選択できる項目を用意してもよい。   For example, on the setting screen, the type of serial digital data (LVDS, PanelLink, GVIF, HD-SDI, DVI, DV, MPEG, JPEG) output by Serial DRV (96) or WRITE to memory 8 (112) Type (compact flash (registered trademark), smart media, SD card, miniSD card, memory card in PC card format, flash drive, HDD, multimedia card, xDPture card, memory stick, JPEG / JPEG2000 / MPEG1 / MPEG2 / MPEG4 / H.264 / TIFF / AVI / BMP / WMV / DCF / EXIF) may be selected, and an item for selecting the compression rate may be prepared.

・インデックス画像を選択する枠3660〜3663や後述する図98に示す5001は、記録指示(例えば操作デバイスのレリーズ、「Print」キー、CAPキーなど)による周辺機器への画像記録中は消去するようにしてもよい。   Frames 3660 to 3663 for selecting an index image and 5001 shown in FIG. 98 to be described later are erased during recording of an image on a peripheral device according to a recording instruction (for example, release of an operation device, “Print” key, CAP key, etc.). It may be.

メモリ8(112)にWRITEされるインデックス画像又は内視鏡合成画像は、内視鏡関連情報(例えば、ID No.又は患者名)に対応付けて記憶するようにしてもよい(例えばID No.や患者名をフォルダとしたり、ID No.や患者名をファイル名とする。)。また、WRITEしたインデックス画像又は内視鏡合成画像をメモリ8(112)からREADする前に、インデックス画像又は内視鏡合成画像に対応付けられた内視鏡関連情報(例えばID No.又は患者名)を表示するリスト画面(図98)を表示し、複数の内視鏡関連情報から1つを選択確定することにより、内視鏡関連情報に対応したインデックス画像又は内視鏡合成画像を効率よく表示できるようにしてもよい。   The index image or the endoscope composite image that is written in the memory 8 (112) may be stored in association with the endoscope related information (for example, ID No. or patient name) (for example, ID No. Or a patient name as a folder, or an ID No. or patient name as a file name). In addition, before the WRITE index image or endoscope composite image is read from the memory 8 (112), endoscope related information (for example, ID No. or patient name) associated with the index image or endoscope composite image is read. ) Is displayed, and an index image or endoscope composite image corresponding to the endoscope related information is efficiently obtained by selecting and confirming one of the plurality of endoscope related information. It may be possible to display.

リスト画面は、操作デバイスによる専用キーまたは複数キーの同時押しにより表示されてもよく、SHIFT+SEARCH(506)入力後にインデックス画像一覧表示がされる前に自動的に表示するようにしてもよい。リスト画面上に表示される項目は、内視鏡関連情報の全部又は一部であってもよい。また項目Imageの用に、対応した内視鏡関連情報ごとに記録した画像の枚数を表示してもよい。   The list screen may be displayed by pressing the dedicated key or a plurality of keys simultaneously by the operation device, or may be automatically displayed before the index image list is displayed after inputting SHIFT + SEARCH (506). The items displayed on the list screen may be all or part of the endoscope related information. In addition, for the item Image, the number of images recorded for each corresponding endoscope related information may be displayed.

選択枠5001はリスト画面表示時に自動的に表示され、カーソル(544)により移動(選択)し、選択確定キー(例えばENTER542,546)により選択確定される。その他の動作は、他の設定画面と同様とする。   The selection frame 5001 is automatically displayed when the list screen is displayed, moved (selected) by the cursor (544), and selected and confirmed by a selection confirmation key (for example, ENTER 542 and 546). Other operations are the same as other setting screens.

プロセッサ13内又は周辺機器への内視鏡画像/内視鏡合成画像のデジタル伝送規格、符号化規格は、例えばITU−R BT.656/BT.601/BT.709/BT.799/BT.1120/BT1364/BTA S−001/BTA S−002/BTA S−004/BTA S−005であってもよく、前記規格を使用してYCrCb,RGB画像として伝送してもよい。
本願発明によれば、内視鏡の種類に応じて、インデックス画像の表示数及びが表示位置を制御することができる。
また、本願発明によれば、内視鏡の種類及び内視鏡画像に応じて、インデックス画像の表示サイズを最適なサイズに変更することができる。
また、本願発明によれば、接続される周辺機器に対応した画像処理を行うことができる。
また、本願発明によれば、インデックス画像をHDTV、SDTV出力それぞれに対応させて表示することができる。
また、本願発明によれば、内視鏡の種類に応じて、内視鏡関連情報の表示を制御することができる。また、内視鏡のシルアル番号等を表示させることができる。
また、本願発明によれば、内視鏡画像の画像サイズを変化させた場合に内視鏡画像が内視鏡関連情報と重なる時は、内視鏡関連情報を消去するようにし、画像と重なることによって使用者が内視鏡画像を観察しにくくなることがなく、検査、診察、手術の効率化を図ることができる。
また、本願発明によれば、所定の表示制御スイッチにより段階的に内視鏡関連情報の情報量を変更させることができる。
また、本願発明によれば、インデックス画像や内視鏡関連情報をHDTV、SDTVそれぞれに対応させて表示することができる。
また、本願発明によれば、内視鏡固有情報にはホワイトバランスデータが含まれる。
また、本願発明によれば、ホワイトバランスの設定状態を操作デバイスや内視鏡合成画像上に表示可能となり、またはブザーによる音にて知らせることも可能であるため、使用者がホワイトバランスの取り忘れがあっても、容易かつ瞬時に気づくことができ、検査や手術での支障を未然に取り除くことができる。
また、本願発明によれば、光源装置の種類に対応して変化するホワイトバランスの設定状態を操作デバイスや内視鏡合成画像上に表示可能となる。
また、本願発明によれば、インデックス画像、内視鏡画像、及び、内視鏡関連情報を表示/非表示にしたり、表示数、表示位置を変更したり等することにより、使用者が内視鏡画像を観察し易くなるので、検査、診察、手術の効率化を図ることができる。
また、本願発明によれば、所定のキーを操作することで、インデックス画像を移動させることができる。
また、本願発明によれば、インデックス画像として縮小した画像の元となる画像、すなわち縮小前の画像を表示させることができる。
また、本願発明によれば、内視鏡の種類に応じて、インデックス画像の表示数及びが表示位置や内視鏡固有情報の表示を制御することができる。
The digital transmission standard and encoding standard of the endoscope image / endoscope composite image to the processor 13 or peripheral devices are, for example, ITU-R BT. 656 / BT. 601 / BT. 709 / BT. 799 / BT. 1120 / BT1364 / BTA S-001 / BTA S-002 / BTA S-004 / BTA S-005 may be used, and YCrCb, RGB images may be transmitted using the above-mentioned standard.
According to the present invention, the number of index images displayed and the display position can be controlled according to the type of endoscope.
Further, according to the present invention, the display size of the index image can be changed to an optimum size according to the type of endoscope and the endoscopic image.
Further, according to the present invention, image processing corresponding to the connected peripheral device can be performed.
Further, according to the present invention, index images can be displayed corresponding to HDTV and SDTV outputs, respectively.
Further, according to the present invention, display of endoscope related information can be controlled in accordance with the type of endoscope. In addition, the serial number of the endoscope can be displayed.
Also, according to the present invention, when the endoscope image overlaps the endoscope related information when the image size of the endoscope image is changed, the endoscope related information is erased and overlaps the image. As a result, it is not difficult for the user to observe the endoscopic image, and the efficiency of examination, medical examination, and surgery can be improved.
Further, according to the present invention, the information amount of the endoscope related information can be changed stepwise by a predetermined display control switch.
Further, according to the present invention, index images and endoscope related information can be displayed in correspondence with HDTV and SDTV, respectively.
Further, according to the present invention, the endoscope specific information includes white balance data.
In addition, according to the present invention, the white balance setting state can be displayed on the operation device or the endoscope composite image, or can be notified by a buzzer sound. Even if there is, it can be easily and instantly noticed, and obstructions in examination and surgery can be removed.
Further, according to the present invention, it is possible to display a white balance setting state that changes in accordance with the type of the light source device on the operation device or the endoscope composite image.
In addition, according to the present invention, the index image, endoscope image, and endoscope related information can be displayed / hidden, the number of displays, the display position can be changed, etc. Since it becomes easy to observe the mirror image, it is possible to improve the efficiency of examination, medical examination and surgery.
Further, according to the present invention, the index image can be moved by operating a predetermined key.
Further, according to the present invention, it is possible to display an image that is a base of a reduced image as an index image, that is, an image before reduction.
Further, according to the present invention, the display number of the index image and the display position and display of the endoscope specific information can be controlled according to the type of the endoscope.

内視鏡システムの全体構成を示す図である。It is a figure which shows the whole structure of an endoscope system. 通信機能を有さない光源17aと組み合わせたシステム全体図である。It is the whole system figure combined with light source 17a which does not have a communication function. プロセッサ13の詳細を示す図(その1)である。FIG. 3 is a first diagram illustrating details of a processor 13; プロセッサ13の詳細を示す図(その2)である。FIG. 11 is a second diagram illustrating details of the processor 13; プロセッサ13の詳細を示す図(その3)である。FIG. 11 is a third diagram illustrating details of the processor 13; プロセッサ13の詳細を示す図(その4)である。FIG. 6 is a diagram (part 4) illustrating details of the processor 13; 映像処理回路55,57、合成回路102の詳細ブロック図である。3 is a detailed block diagram of video processing circuits 55 and 57 and a synthesis circuit 102. FIG. プロセッサ13と周辺機器の接続構成を示す図(その1)である。FIG. 3 is a diagram (part 1) illustrating a connection configuration between a processor and peripheral devices. プロセッサ13と周辺機器の接続構成を示す図(その2)である。FIG. 6 is a diagram (part 2) illustrating a connection configuration between a processor and peripheral devices. 映像処理回路89,94、映像+合成回路93の詳細ブロック図である。7 is a detailed block diagram of the video processing circuits 89 and 94 and the video + synthesis circuit 93. FIG. 制御回路67の詳細ブロック図である。3 is a detailed block diagram of a control circuit 67. FIG. 文字・マスク・画像合成211の詳細ブロック図である。5 is a detailed block diagram of character / mask / image composition 211. FIG. テーブル2(214)のテーブルの構成を示す図である。It is a figure which shows the structure of the table of Table 2 (214). プロセッサ13の各回路に割り当てられたアドレスマップを示す図である。3 is a diagram showing an address map assigned to each circuit of the processor 13. FIG. プロセッサ13の各設定を行う為に、モニタ304,353や周辺機器に出力される設定画面(その1)である。This is a setting screen (No. 1) that is output to the monitors 304 and 353 and peripheral devices for performing each setting of the processor 13. プロセッサ13の各設定を行う為に、モニタ304,353や周辺機器に出力される設定画面(その2)である。This is a setting screen (No. 2) output to the monitors 304 and 353 and peripheral devices for performing each setting of the processor 13. プロセッサ13の各設定を行う為に、モニタ304,353や周辺機器に出力される設定画面(その3)である。This is a setting screen (No. 3) output to the monitors 304 and 353 and peripheral devices for performing each setting of the processor 13. プロセッサ13の各設定を行う為に、モニタ304,353や周辺機器に出力される設定画面(その4)である。This is a setting screen (No. 4) output to the monitors 304 and 353 and peripheral devices in order to perform each setting of the processor 13. プロセッサ13を使用するユーザーごとに設定可能な項目をまとめたユーザー設定画面(その1)である。It is the user setting screen (the 1) which put together the item which can be set for every user who uses the processor 13. FIG. プロセッサ13を使用するユーザーごとに設定可能な項目をまとめたユーザー設定画面(その2)である。It is the user setting screen (the 2) where the item which can be set up for every user who uses processor 13 was put together. 図10のアドレスマップ内の各レジスタの詳細を示す図(その1)である。FIG. 11 is a diagram (part 1) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その2)である。FIG. 11 is a diagram (part 2) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その3)である。FIG. 11 is a diagram (part 3) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その4)である。FIG. 11 is a diagram (part 4) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その5)である。FIG. 11 is a diagram (No. 5) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その6−1)である。FIG. 11 is a diagram (6-1) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その6−2)である。FIG. 12 is a diagram (part 6-2) showing details of each register in the address map of FIG. 10; 図10のアドレスマップ内の各レジスタの詳細を示す図(その7)である。FIG. 11 is a diagram (part 7) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その8)である。FIG. 11 is a diagram (No. 8) illustrating details of each register in the address map of FIG. 10; 図10のアドレスマップ内の各レジスタの詳細を示す図(その9)である。FIG. 11 is a diagram (part 9) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その10)である。FIG. 11 is a diagram (No. 10) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その11)である。FIG. 11 is a diagram (part 11) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その12)である。FIG. 11 is a diagram (No. 12) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その13)である。FIG. 13 is a diagram (part 13) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その14)である。FIG. 14 is a diagram (No. 14) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その15)である。FIG. 15 is a view (No. 15) showing details of each register in the address map of FIG. 10; 図10のアドレスマップ内の各レジスタの詳細を示す図(その16)である。FIG. 11 is a diagram (No. 16) illustrating details of each register in the address map of FIG. 10. 図10のアドレスマップ内の各レジスタの詳細を示す図(その17)である。FIG. 11 is a view (No. 17) showing details of each register in the address map of FIG. 10; 図10のアドレスマップ内の各レジスタの詳細を示す図(その18)である。FIG. 11 is a view (No. 18) showing details of each register in the address map of FIG. 10; MONITの設定の一例を示す図である。It is a figure which shows an example of the setting of MONIT. HMONITの設定の一例を示す図である。It is a figure which shows an example of the setting of HMONIT. インデックス関連レジスタredの設定例(画面アスペクト比4:3,16:9設定時)を示す図である。It is a figure which shows the example of a setting of the index related register red (at the time of screen aspect ratio 4: 3, 16: 9 setting). インデックス関連レジスタredの設定例(画面アスペクト比5:4設定時)を示す図である。It is a figure which shows the example of a setting of the index relevant register red (at the time of screen aspect ratio 5: 4 setting). インデックス関連レジスタ(表示モード4:3設定、インデックス画像4駒時)を示す図である。It is a figure which shows an index related register (at the time of display mode 4: 3 setting and 4 index images). インデックス関連レジスタ(表示モード16:9設定、インデックス画像4駒時)を示す図である。It is a figure which shows an index related register (at the time of display mode 16: 9 setting and 4 index images). インデックス関連レジスタ(表示モード4:3設定、インデックス画像1駒時)を示す図である。It is a figure which shows an index related register | resistor (at the time of display mode 4: 3 setting and an index image 1 frame). インデックス関連レジスタ、インデックス一覧表示時、表示モード4:3設定(表示モード5:4、16:9時には、値が異なる)を示す図である。It is a figure which shows display mode 4: 3 setting at the time of an index related register and an index list display (a value differs at the time of display mode 5: 4, 16: 9). S246,S247動作時の内視鏡画面の表示状態の変化を示す図(その1−1)である。It is a figure (the 1-1) which shows the change of the display state of the endoscope screen at the time of operation of S246 and S247. S246,S247動作時の内視鏡画面の表示状態の変化を示す図(その1−2)である。It is FIG. (1-2) which shows the change of the display state of the endoscope screen at the time of operation | movement of S246, S247. S246,S247動作時の内視鏡画面の表示状態の変化を示す図(その1−3)である。It is a figure (the 1-3) which shows the change of the display state of the endoscope screen at the time of operation | movement of S246, S247. S246,S247動作時の内視鏡画面の表示状態の変化を示す図(その2−1)である。It is a figure (the 2-1) showing change of a display state of an endoscope screen at the time of operation of S246 and S247. S246,S247動作時の内視鏡画面の表示状態の変化を示す図(その2−2)である。It is a figure (the 2-2) showing change of a display state of an endoscope screen at the time of operation of S246 and S247. S246,S247動作時の内視鏡画面の表示状態の変化を示す図(その3−1)である。It is a figure (the 3rd) which shows change of a display state of an endoscope screen at the time of operation of S246 and S247. S246,S247動作時の内視鏡画面の表示状態の変化を示す図(その3−2)である。It is FIG. (3-2) which shows the change of the display state of the endoscope screen at the time of operation | movement of S246, S247. S246,S247動作時の内視鏡画面の表示状態の変化を示す図(その3−3)である。It is a figure (the 3-3) showing change of a display state of an endoscope screen at the time of operation of S246 and S247. S246,S247動作時の内視鏡画面の表示状態の変化を示す図(その3−4)である。It is a figure (the 3-4) which shows change of a display state of an endoscope screen at the time of operation of S246 and S247. S246,S247動作時の内視鏡画面の表示状態の変化を示す図(その4−1)である。FIG. 14A is a diagram (4-1) showing a change in the display state of the endoscope screen during the operations of S246 and S247. S246,S247動作時の内視鏡画面の表示状態の変化を示す図(その4−2)である。It is a figure (the 4-2) which shows change of a display state of an endoscope screen at the time of operation of S246 and S247. 画面アスペクト比4:3,5:4 インデックス4駒時のodisp,sdisp,tdisp,fdispの位置を示す図である。It is a figure which shows the position of odisp, sdisp, tdisp, and fdisp at the time of screen aspect ratio 4: 3, 5: 4 index 4 frames. 画面アスペクト比4:3,5:4 インデックス1駒時の位置(odispのみ使用)を示す図である。It is a figure which shows the position (only odisp is used) at the time of a screen aspect ratio 4: 3, 5: 4 index 1 frame. 画面アスペクト比16:9 インデックス4駒時のodisp,sdisp,tdisp,fdispの位置を示す図である。It is a figure which shows the position of odisp, sdisp, tdisp, and fdisp when a screen aspect ratio is 16: 9 index 4 frames. 画面アスペクト比16:9インデックス1駒時の位置(fdispのみ使用)を示す図である。It is a figure which shows the position (only using fdisp) at the time of screen aspect ratio 16: 9 index 1 frame. インデックス一覧画面での位置(adispのみ使用)を示す図である。It is a figure which shows the position (only adisp is used) on an index list screen. 画面アスペクト比4:3,5:4 インデックス4駒時(odisp,sdisp,tdisp,fdispOFF時)の表示状態を示す図である。It is a figure which shows the display state at the time of screen aspect ratio 4: 3, 5: 4 index 4 frames (at the time of odisp, sdisp, tdisp, fdispOFF). 画面アスペクト比4:3,5:4 インデックス1駒時(odisp OFF時)の表示状態を示す図である。It is a figure which shows the display state at the time of a screen aspect ratio 4: 3, 5: 4 index 1 frame (at the time of odisp OFF). 画面アスペクト比16:9 インデックス4駒時(odisp,sdisp,tdisp,fdispOFF時)の表示状態を示す図である。It is a figure which shows the display state at the time of screen aspect ratio 16: 9 index 4 frames (at the time of odisp, sdisp, tdisp, fdispOFF). 画面アスペクト比16:9インデックス1駒時(fdisp OFF時)の表示状態を示す図である。It is a figure which shows the display state at the time of screen aspect ratio 16: 9 index 1 frame (at the time of fdisp OFF). 映像信号のフリーズ動作のフローチャート図である。It is a flowchart figure of the freeze operation | movement of a video signal. 周辺機器への記録動作を示すフローチャート図(その1)である。FIG. 6 is a flowchart (part 1) illustrating a recording operation to a peripheral device. 周辺機器への記録動作を示すフローチャート図(その2)である。FIG. 6 is a flowchart (part 2) illustrating a recording operation to a peripheral device. インデックス処理(S19)の詳細フローチャート図である。It is a detailed flowchart figure of an index process (S19). インデックス画像WRITE処理のフローチャート図である。It is a flowchart figure of an index image WRITE process. wstartv,wstarth,wendv,wendh,rstartv,rstarth,rstarth2,rstarth3,rstarth4の説明図(画面アスペクト比4:3,5:4の場合)である。It is explanatory drawing (in the case of screen aspect ratio 4: 3, 5: 4) of wstartv, wstartth, wendv, wendh, rstartv, rstart, rstart2, rstart3, rstart4. rstarth,rstartv,rstartv2,rstartv3,rstartv4の説明図(画面アスペクト比16:9の場合)である。It is explanatory drawing (in the case of screen aspect ratio 16: 9) of rstart, rstartv, rstartv2, rstartv3, rstartv4. メモリ8(112)のメモリ構成の一例を示す図である。It is a figure which shows an example of a memory structure of the memory 8 (112). インデックス画像READ処理のフローチャート図である。It is a flowchart figure of index image READ processing. 図45の各POSITION内のインデックス画像のREAD領域及びマスク設定(wmskx0,wmsky0,wmskx1,wmsky1,wmskt,rareav,rareahの説明図)である。46 is a READ area and a mask setting (an explanatory diagram of wmskx0, wmsky0, wmskx1, wmsky1, wmskt, rareav, and rareah) in each POSITION of FIG. インデックス処理2のフローチャート図である。It is a flowchart figure of the index process 2. 画像サイズ変更処理のフローチャート図である。It is a flowchart figure of an image size change process. HDマスクサイズ設定のフローチャート図である。It is a flowchart figure of HD mask size setting. 周辺機器(プリンタ)への記録動作を示すフローチャート図(その1)である。FIG. 6 is a flowchart (part 1) illustrating a recording operation to a peripheral device (printer). 周辺機器(プリンタ)への記録動作を示すフローチャート図(その2)である。FIG. 10 is a flowchart (part 2) illustrating a recording operation to a peripheral device (printer). メモリ8(112)とレジスタIndex0との関係を示す図である。It is a figure which shows the relationship between the memory 8 (112) and the register Index0. インデックス一覧表示動作のフローチャート図(その1)である。It is a flowchart figure (part 1) of an index list display operation. インデックス一覧表示動作のフローチャート図(その2)である。It is a flowchart figure (part 2) of an index list display operation. rstarth,rstarth2,rstarth3,rstarth4,rstarth5,rstartv,rstartv2,rstartv3,rstartv4の説明図(インデックス一覧表示の場合)である。It is explanatory drawing (in the case of an index list display) of rstart, rstart2, rstart3, rstart4, rstart5, rstartv, rstartv2, rstartv3, rstartv4. インデックス一覧のページ切り替え動作のフローチャート図(その1)である。FIG. 10 is a flowchart (No. 1) of an index list page switching operation; インデックス一覧のページ切り替え動作のフローチャート図(その2)である。FIG. 10 is a flowchart (part 2) of the page switching operation of the index list. インデックス一覧表示例1(Z=15)を示す図である。It is a figure which shows the index list display example 1 (Z = 15). インデックス一覧表示例2(Z=42)を示す図である。It is a figure which shows the index list display example 2 (Z = 42). インデックス画像連続作成の一連の動作を示すフローチャート図である。It is a flowchart figure which shows a series of operation | movement of index image continuous creation. S245の通常処理の一部の処理を示すフローチャート図である。It is a flowchart figure which shows a part of normal process of S245. WRITE用レジスタ設定の処理を示すフローチャート図である。It is a flowchart figure which shows the register setting process for WRITE. READ用レジスタ設定の処理を示すフローチャート図である。It is a flowchart figure which shows the process of a register for READ. インデックスマスクレジスタ設定の処理を示すフローチャート図である。It is a flowchart figure which shows the process of an index mask register setting. 画面アスペクト比4:3,5:4 インデックス4駒時に内視鏡画像がかかる場合のインデックス画像消去を示す図である。It is a figure which shows index image deletion in case an endoscopic image starts when a screen aspect ratio is 4: 3, 5: 4 index 4 frames. 画面アスペクト比4:3,5:4 インデックス1駒時に内視鏡画像がかかる場合の一部の内視鏡関連情報消去を示す図である。It is a figure which shows a part of endoscope related information erasure | elimination in case an endoscope image starts at the time of a screen aspect ratio 4: 3, 5: 4 index 1 frame. 超音波装置358とキーボード2(45)との組み合わせの例を示す図である。It is a figure which shows the example of the combination of the ultrasonic device 358 and the keyboard 2 (45). 操作デバイスの内、フロントパネル69の一例を示す図である。It is a figure which shows an example of the front panel 69 among operation devices. 図66の説明図(その1)である。It is explanatory drawing (the 1) of FIG. 図66の説明図(その2)である。It is explanatory drawing (the 2) of FIG. 図66の説明図(その3−1)である。FIG. 66 is an explanatory diagram (part 3-1) of FIG. 66; 図66の説明図(その3−2)である。FIG. 66 is an explanatory diagram (No. 3-2) of FIG. 66; 図66の説明図(その4)である。It is explanatory drawing (the 4) of FIG. 図66の説明図(その5)である。FIG. 66 is an explanatory diagram (No. 5) of FIG. 66; 図66の説明図(その6−1)である。FIG. 67 is an explanatory diagram of FIG. 66 (Part 6-1). 図66の説明図(その6−2)である。FIG. 66 is an explanatory diagram (No. 6-2) of FIG. 66; 操作デバイスの内、キーボード14,キーボード2(45)の一例を示す図である。It is a figure which shows an example of the keyboard 14 and the keyboard 2 (45) among the operation devices. 図68の説明図(その1)である。It is explanatory drawing (the 1) of FIG. 図68の説明図(その2)である。It is explanatory drawing (the 2) of FIG. 図68の説明図(その3)である。It is explanatory drawing (the 3) of FIG. 図68の説明図(その4)である。It is explanatory drawing (the 4) of FIG. 図68の説明図(その5)である。It is explanatory drawing (the 5) of FIG. 図68の説明図(その6)である。It is explanatory drawing (the 6) of FIG. 図68の説明図(その7)である。It is explanatory drawing (the 7) of FIG. 映像+合成処理(93)出力の内視鏡画像でのストップウォッチ制御図(その1)である。It is the stopwatch control figure (the 1) in the endoscopic image of an image | video + synthetic | combination process (93) output. 映像+合成処理(93)出力の内視鏡画像でのストップウォッチ制御図(その2)である。It is the stopwatch control figure (the 2) in the endoscopic image of an image | video + synthetic | combination process (93) output. 映像+合成処理(93)出力の内視鏡画像でのストップウォッチ制御図(その3)である。It is the stopwatch control figure (the 3) in the endoscopic image of an image | video + synthetic | combination process (93) output. 映像処理2(57)出力の内視鏡画像でのストップウォッチ制御図である。It is a stopwatch control diagram in an endoscopic image of video processing 2 (57) output. 映像+合成処理(93)出力の内視鏡画像でのREMOVE DATA制御図(その1)である。FIG. 11 is a REMOVE DATA control diagram (part 1) in an endoscopic image output from video + compositing processing (93). 映像+合成処理(93)出力の内視鏡画像でのREMOVE DATA制御図(その2)である。It is a REMOVE DATA control figure (the 2) in the endoscope image of a video + composition processing (93) output. 映像処理2(57)出力の内視鏡画像でのREMOVE DATA制御図である。It is a REMOVE DATA control diagram in an endoscopic image of video processing 2 (57) output. 内視鏡合成画像表示画面に表示される内視鏡関連情報の一例を示す図(その1)である。FIG. 6 is a diagram (part 1) illustrating an example of endoscope related information displayed on an endoscope composite image display screen. 内視鏡合成画像表示画面に表示される内視鏡関連情報の一例を示す図(その2)である。It is FIG. (2) which shows an example of the endoscope relevant information displayed on an endoscope synthetic | combination image display screen. 内視鏡合成画像表示画面に表示される内視鏡関連情報の一例を示す図(その3)である。It is FIG. (3) which shows an example of the endoscope relevant information displayed on an endoscope synthetic | combination image display screen. 内視鏡関連情報の一部を一定期間表示する例を示す図である。It is a figure which shows the example which displays a part of endoscope related information for a fixed period. インデックス一覧表示中であることを示すメッセージ表示の一例を示す図である。It is a figure which shows an example of the message display which shows that an index list is being displayed. ホワイトバランス処理が未設定であることを通知するメッセージの一例である。It is an example of the message which notifies that white balance processing is not set. ホワイトバランス処理設定が完了であることを通知するメッセージの一例である。It is an example of the message which notifies that white balance processing setting is completion. ホワイトバランス処理設定が失敗であることを通知するメッセージの一例である。It is an example of the message which notifies that white balance processing setting is failure. 内視鏡1、光源17のプログラムのバージョン及び通信結果を表示するメッセージの一例である。It is an example of the message which displays the version of the program of the endoscope 1 and the light source 17, and a communication result. ホワイトバランス処理を示すフローチャート図(初期化時、光源17が電源ON時)(その1)である。FIG. 6 is a flowchart (part 1) illustrating white balance processing (initialization, when the light source 17 is turned on). ホワイトバランス処理を示すフローチャート図(初期化時、光源17が電源ON時)(その2)である。FIG. 10 is a flowchart showing white balance processing (at initialization, when the light source 17 is turned on) (part 2). ホワイトバランス処理を示すフローチャート図(光源17途中で電源ON時)である。FIG. 6 is a flowchart showing white balance processing (when the power is turned on in the middle of the light source 17). 画面アスペクト比16:9表示の別の例を示す図である。It is a figure which shows another example of screen aspect ratio 16: 9 display. プロセッサ13のプログラム、FPGAデータ、パラメータのバージョンアップ例を示す図である。It is a figure which shows the version upgrade example of the program of the processor 13, FPGA data, and a parameter. プログラムモード判別のフローチャート図である。It is a flowchart figure of program mode discrimination | determination. 文字・マスク・画像合成211の詳細ブロック図の別の実施形態である。FIG. 10 is another embodiment of a detailed block diagram of character / mask / image composition 211. 縮小せずにメモリ8(112)にWRITE時のWRITEする位置を示す図である。It is a figure which shows the position which performs WRITE at the time of WRITE to memory 8 (112), without reducing. 縮小せずにメモリ8(112)にWRITE時のメモリ8(112)の各POSITIONのREADする位置を示す図である。It is a figure which shows the position which reads each POSITION of the memory 8 (112) at the time of WRITE at the memory 8 (112) without reducing. 縮小せずにメモリ8(112)にWRITE時、インデックス作成のために設定する為のレジスタを示す図である。It is a figure which shows the register | resistor for setting for index creation at the time of WRITE at the memory 8 (112), without reducing. インデックス4駒時におけるFn(536)+カーソル(544)“←”を入力した場合のインデックス表示の制御例(その1)を示す図である。It is a figure which shows the control example (the 1) of the index display at the time of inputting Fn (536) + cursor (544) "←" at the time of 4 frames. インデックス4駒時におけるFn(536)+カーソル(544)“←”を入力した場合のインデックス表示の制御例(その2)を示す図である。It is a figure which shows the control example (the 2) of the index display at the time of inputting Fn (536) + cursor (544) "←" at the time of the index 4 frames. インデックス4駒時におけるFn(536)+カーソル(544)“←”を入力した場合のインデックス表示の制御例(その3)を示す図である。It is a figure which shows the control example (the 3) of the index display at the time of inputting Fn (536) + cursor (544) "←" at the time of the index 4 frames. インデックス4駒時におけるFn(536)+カーソル(544)“→”を入力した場合のインデックス表示の制御例(その1)を示す図である。It is a figure which shows the control example (the 1) of an index display at the time of inputting Fn (536) + cursor (544) "->" at the time of an index 4 frame. インデックス4駒時におけるFn(536)+カーソル(544)“→”を入力した場合のインデックス表示の制御例(その2)を示す図である。It is a figure which shows the control example (the 2) of the index display at the time of inputting Fn (536) + cursor (544) "->" at the time of the index 4 frames. インデックス4駒時におけるFn(536)+カーソル(544)“→”を入力した場合のインデックス表示の制御例(その3)を示す図である。It is a figure which shows the control example (the 3) of an index display at the time of inputting Fn (536) + cursor (544) "->" at the time of 4 frames of indexes. インデックス1駒時におけるFn(536)+カーソル(544)“→”を入力した場合のインデックス表示の制御例(その1)を示す。A control example (No. 1) of index display when Fn (536) + cursor (544) “→” is input at the time of one index is shown. インデックス1駒時におけるFn(536)+カーソル(544)“→”を入力した場合のインデックス表示の制御例(その2)を示す図である。It is a figure which shows the control example (the 2) of an index display at the time of inputting Fn (536) + cursor (544) "->" at the time of 1 index. インデックス1駒時におけるFn(536)+カーソル(544)“→”を入力した場合のインデックス表示の制御例(その3)を示す図である。It is a figure which shows the control example (the 3) of an index display at the time of inputting Fn (536) + cursor (544) "->" at the time of 1 index. インデックス1駒時におけるFn(536)+カーソル(544)“←”を入力した場合のインデックス表示の制御例(その1)を示す図である。It is a figure which shows the control example (the 1) of the index display at the time of inputting Fn (536) + cursor (544) "←" at the time of 1 index. インデックス1駒時におけるFn(536)+カーソル(544)“←”を入力した場合のインデックス表示の制御例(その2)を示す図である。It is a figure which shows the control example (the 2) of the index display at the time of inputting Fn (536) + cursor (544) "←" at the time of 1 index. インデックス1駒時におけるFn(536)+カーソル(544)“←”を入力した場合のインデックス表示の制御例(その3)を示す図である。It is a figure which shows the control example (the 3) of an index display at the time of inputting Fn (536) + cursor (544) "←" at the time of 1 index. インデックス一覧画面のインデックス表示の制御例を示す図である。It is a figure which shows the example of control of the index display of an index list screen. インデックス画像に番号を付加する例を示す図である。It is a figure which shows the example which adds a number to an index image. プロセッサ13と光源17間の透過照明に関する動作フローを示す図である。It is a figure which shows the operation | movement flow regarding the transmitted illumination between the processor 13 and the light source 17. FIG. インデックス一覧表示例を示す図である。It is a figure which shows the example of an index list display. イメージリスト画面の一例を示す図である。It is a figure which shows an example of an image list screen.

符号の説明Explanation of symbols

1 内視鏡
2 CCD
3 操作スイッチ部
4a,4b,5a,5b,6a,6b,12b,38b 信号線
7 ライトガイド
8 メモリ
9 CPU
10 RESET回路
13 プロセッサ
14 キーボード
15,26,26a,31,33 コネクタ
16 しぼり
17,17a 光源
18 ランプ
19 RGBフィルタ
20a,20b,20c 特殊光フィルタ
21 フィルタ切替+しぼり制御
22 D/A変換器
23 メモリ
24,24a CPU
25 操作パネル
28a,28b 信号線
29a,29b 検知信号
32,34,34a ケーブル
37 D/A変換器
45 キーボード2
50 SSG
51 CDS回路
52 A/D変換器
53 周波数変換器
54 絶縁回路
55 映像処理回路1
56 メモリ1
57 映像処理回路2
58 メモリ2
59 D/A変換器
60 調整回路
61 合成処理回路1
62 デジタルエンコーダー
63 駆動回路
64 パラシリ回路
65 調光回路
66 絶縁回路
67 制御回路
68 A/D変換器
69 フロントパネル
70 パラシリ回路2
71 ブザー
72 コンフィグレーションIC4
73 コンフィグレーションメモリ4
74 CPU
75 RESET回路
76 RAM
77 BACKUP RAM
78 バッファドライバBUF1
79 バッファドライバBUF2
80 アドレスデコーダー
81 RTC
82 ログデータ格納ROM
83 プログラムROM
84 ETHERNET回路部
85 USB回路
86 記録装置
87 記録装置
88 パラメータメモリ2
89 映像処理回路3
90 SSG
91 コンフィグレーションIC3
92 コンフィグレーションメモリ3
93 映像+合成処理回路
94 映像処理回路4
95 パラメータメモリ3
96 Serial DRV
97 D/A変換器
98 調整回路
99 合成処理回路2
100 記録装置
101 メモリ6
103 グラフィック処理回路1
102 合成処理回路
103 グラフィック処理回路1
104 メモリ3
105 コンフィグレーションIC2
106 コンフィグレーションメモリ2
108 メモリ5
109 コンフィグレーションIC1
110 コンフィグレーションメモリ1
111 メモリ7
112 メモリ8
113 メモリ9
114 パラメータメモリ1
115 周波数変換3
116 脱着可能なオプション基板
117 オプション基板検知信号
118 システムバス
150 パラメータメモリ制御1
151 OBクランプ部
152 周波数変換部
153 ホワイトバランス処理部
154 AGC
155 フリーズ部
156 セレクタ1
157 コンフィグレーション回路
158 CPUI/F
159 コンフィグレーション回路
160 色調回路
161 γ補正部
162 CPUI/F
163 拡大・強調・同時化回路
164 カラーバー回路
165 パラメータメモリ制御2
166 セレクタ2
168 画像キャプチャー部
169 CPUI/F
170 テーブル1
171 文字・マスク・画像合成回路
172 コンフィグレーション回路
210 コンフィグレーション回路
211 文字・マスク・画像合成回路
212 グラフィック処理回路2
213 インデックス画像作成部
214 テーブル2
215 画像キャプチャー部
216 カラーバー回路
217 セレクタ3
218 パラメータメモリ制御4
250 SIO
251 PIO
252 CPUI/F
253 シリパラ回路1
254 コンフィグレーション回路
262 メモリ制御
263 マスク処理
264 マスク処理回路
265 画像移動用メモリ
266 マスク処理
267 マスク信号生成
268 合成回路
269 縮小処理回路
270 双方向バッファ
271 カウンタ生成回路
272 メモリ制御
273 合成回路
301 画像合成回路
302 セレクタ
303,352 画像形状記憶装置
305,354 VTR
306,355 プリンタ
307,356 写真撮影装置
308,357 ファイリング装置
309 磁気装置
310 拡大コントローラ
311 フットスイッチ
312 PUMP
313 信号線
314 信号線
315 集中制御装置
350 セレクタ
351 画像合成回路
358 超音波装置
359 画像合成回路351出力
360 超音波装置358出力
399 インデックス画像と内視鏡関連情報が重なる箇所
400 フロントパネルRESET SW
401 フロントパネルENH.SW
402 フロントパネルIHB SW
403 フロントパネルIRIS SW
404 フロントパネルWHITE BAL.SW
405 フロントパネルSELECT SW
406 フロントパネル < SW
407 フロントパネル > SW
408 フロントパネルIMAGE SOURCE VTR.SW
409 フロントパネルIMAGE SOURCE D.FILE.SW
410 フロントパネルIMAGE SOURCE PRINTER.SW
411 フロントパネルSCOPE LED
412 フロントパネルZOOM SW
413 フロントパネルPRINT SW
414 フロントパネルHDTV LED
415 フロントパネルR,B色調レベルセンターLED
416 フロントパネル色調レベル R LED
417 フロントパネル色調レベル B LED
450 WPOSI=4示す矢印
451 IOPOSI=0示す矢印
452 ISPOSI=1示す矢印
453 ITPOSI=2示す矢印
454 IFPOSI=3示す矢印
455 CAPS=7示す矢印
456 CAPN=11示す矢印
500 EXAM ENDキー
501 SYSTEM SETUPキー
502 USER PRESETキー
503 PATIENT DATAキー
504 SCOPE INFOキー
505 TITLE SCREENキー
506 SEARCHキー
507 COUNTER RESETキー
508 #PER PAGEキー
509 PRINT QTYキー
510 KEY LOCKキー
511 B/Wキー
512 OPTION1キー
513 CONTRASTキー
514 DFキー
515 VTRキー
516 PRINTERキー
517 BSキー
518 Cキー
519 CAPキー
520 MPキー
521 PRIキー
522 S/Mキー
523 RELEASEキー
524 FREEZEキー
525 IHB CHARTキー
526 SCALEキー
527 STOP WATCHキー
528 REMOVE DATAキー
529 IMAGE SIZEキー
530 OPTION2キー
531 ESCキー
532,545 アルファベット,記号,数字,スペースキー
533 TABキー
534 CAPS LOCKキー
535,539 SHIFTキー
536 FNキー
537 CTRLキー
538 DEL(DELETE)キー
540 INS(INSERT)キー
541 BS(BACK SPACE)キー
543 CURSORキー
544 ↑←→↓キー
542,546 ENTERキー
547 CAPSLOCK選択時に点灯するLED
600,600’ 内視鏡画像
601,601’ ID NO.
602,602’ NAME
603,603’ SEX
604,604’ AGE
605,605’ D.O.BIRTH
606,606’ 日付,時刻/ストップウォッチ
607,607’ SCV:カウンタ
608,608’ CVP:カウンタ
609,609’ D.F:カウンタ
610,610’ VTR表示
611,611’ CT(コントラスト)表示
612,612’ CE(色彩強調)表示
613,613’ IHB=−−−表示
614,614’ PUMP表示
615,615’ EH:構造強調,ED:輪郭強調
616,616’ Z(電子拡大)
617,617’ PHYSICIAN
618,618’ COMMENT
619 内視鏡スイッチ情報
620 内視鏡関連情報表示
621 インデックス画像
622,622’ 周辺機器用エリア
623,623’ カーソル
624,624’ アローポインタ
3660,3661,3662,3663 インデックス選択枠
269’ 縮小回路
5001 選択枠
1 Endoscope 2 CCD
3 Operation switch section 4a, 4b, 5a, 5b, 6a, 6b, 12b, 38b Signal line 7 Light guide 8 Memory 9 CPU
DESCRIPTION OF SYMBOLS 10 RESET circuit 13 Processor 14 Keyboard 15, 26, 26a, 31, 33 Connector 16 Squeeze 17, 17a Light source 18 Lamp 19 RGB filter 20a, 20b, 20c Special light filter 21 Filter switching + Squeeze control 22 D / A converter 23 Memory 24, 24a CPU
25 Operation panel 28a, 28b Signal line 29a, 29b Detection signal 32, 34, 34a Cable 37 D / A converter 45 Keyboard 2
50 SSG
51 CDS circuit 52 A / D converter 53 Frequency converter 54 Insulation circuit 55 Video processing circuit 1
56 memory 1
57 Video processing circuit 2
58 memory 2
59 D / A converter 60 Adjustment circuit 61 Synthesis processing circuit 1
62 Digital encoder 63 Drive circuit 64 Paraserial circuit 65 Dimming circuit 66 Insulating circuit 67 Control circuit 68 A / D converter 69 Front panel 70 Paraserial circuit 2
71 Buzzer 72 Configuration IC4
73 Configuration memory 4
74 CPU
75 RESET circuit 76 RAM
77 BACKUP RAM
78 Buffer Driver BUF1
79 Buffer Driver BUF2
80 Address decoder 81 RTC
82 Log data storage ROM
83 Program ROM
84 ETHERNET circuit unit 85 USB circuit 86 recording device 87 recording device 88 parameter memory 2
89 Video processing circuit 3
90 SSG
91 Configuration IC3
92 Configuration memory 3
93 Video + Composition Processing Circuit 94 Video Processing Circuit 4
95 Parameter memory 3
96 Serial DRV
97 D / A converter 98 Adjustment circuit 99 Synthesis processing circuit 2
100 recording device 101 memory 6
103 Graphic processing circuit 1
102 synthesis processing circuit 103 graphic processing circuit 1
104 memory 3
105 Configuration IC2
106 Configuration memory 2
108 memory 5
109 Configuration IC1
110 Configuration memory 1
111 memory 7
112 memory 8
113 memory 9
114 Parameter memory 1
115 Frequency conversion 3
116 Removable option board 117 Option board detection signal 118 System bus 150 Parameter memory control 1
151 OB clamp unit 152 Frequency conversion unit 153 White balance processing unit 154 AGC
155 Freeze section 156 Selector 1
157 Configuration circuit 158 CPU I / F
159 Configuration circuit 160 Color tone circuit 161 γ correction unit 162 CPU I / F
163 Enlargement / enhancement / simulation circuit 164 Color bar circuit 165 Parameter memory control 2
166 Selector 2
168 Image capture unit 169 CPU I / F
170 Table 1
171 Character / Mask / Image Synthesis Circuit 172 Configuration Circuit 210 Configuration Circuit 211 Character / Mask / Image Synthesis Circuit 212 Graphic Processing Circuit 2
213 Index image creation unit 214 Table 2
215 Image capture unit 216 Color bar circuit 217 Selector 3
218 Parameter memory control 4
250 SIO
251 PIO
252 CPU I / F
253 Serial circuit 1
254 Configuration Circuit 262 Memory Control 263 Mask Processing 264 Mask Processing Circuit 265 Image Moving Memory 266 Mask Processing 267 Mask Signal Generation 268 Synthesis Circuit 269 Reduction Processing Circuit 270 Bidirectional Buffer 271 Counter Generation Circuit 272 Memory Control 273 Synthesis Circuit 301 Image Synthesis Circuit 302 Selector 303, 352 Image shape storage device 305, 354 VTR
306, 355 Printer 307, 356 Photography device 308, 357 Filing device 309 Magnetic device 310 Enlargement controller 311 Foot switch 312 PUMP
313 Signal line 314 Signal line 315 Central control device 350 Selector 351 Image composition circuit 358 Ultrasound device 359 Image composition circuit 351 output 360 Ultrasound device 358 output 399 Location where index image and endoscope related information overlap 400 Front panel RESET SW
401 Front panel ENH. SW
402 Front panel IHB SW
403 Front panel IRIS SW
404 Front panel WHITE BAL. SW
405 Front panel SELECT SW
406 Front panel <SW
407 Front panel> SW
408 Front panel IMAGE SOURCE VTR. SW
409 Front Panel IMAGE SOURCE D. FILE. SW
410 Front panel IMAGE SOURCE PRINTER. SW
411 Front panel SCOPE LED
412 Front panel ZOOM SW
413 Front panel PRINT SW
414 Front panel HDTV LED
415 Front panel R, B color tone level center LED
416 Front panel tone level R LED
417 Front panel color tone level B LED
450 WPOSI = 4 arrow 451 IOPOSI = 0 arrow 452 ISPOSI = 1 arrow 453 ITPOSI = 2 arrow 454 IFPOSI = 3 arrow 455 CAPS = 7 arrow 456 CAPN = 11 arrow 500 EXAM END key 501 SYSTEM SETUP key 502 USER PRESET key 503 PATIENT DATA key 504 SCOPE INFO key 505 TITLE SCREEN key 506 SEARCH key 507 COUNTER RESET key 508 #PER PAGE key 509 PRINT QTY key 510 KEY KEY 5 515 VTR key 516 PRINTER -517 BS key 518 C key 519 CAP key 520 MP key 521 PRI key 522 S / M key 523 RELEASE key 524 FREEZE key 525 IHB CHART key 526 SCALE key 527 STOP WACH 29 528 REMOV ESC key 532, 545 Alphabet, symbols, numbers, space key 533 TAB key 534 CAPS LOCK key 535, 539 SHIFT key 536 FN key 537 CTRL key 538 DEL (DELETE) key 540 INS (INSERT) key 541 BS (BACK SPACE) key 543 CURSOR key 544 ↑ ← → ↓ key 542,546 ENT LED that lights when the R key 547 CAPSLOCK selection
600, 600 ′ Endoscopic image 601, 601 ′ ID NO.
602, 602 'NAME
603, 603 'SEX
604, 604 'AGE
605, 605'D. O. BIRTH
606, 606 'Date, time / stopwatch 607, 607' SCV: Counter 608, 608 'CVP: Counter 609, 609' F: Counter 610, 610 ′ VTR display 611, 611 ′ CT (contrast) display 612, 612 ′ CE (color enhancement) display 613, 613 ′ IHB = −−− display 614, 614 ′ PUMP display 615, 615 ′ EH: Structure enhancement, ED: Outline enhancement 616,616 'Z (Electronic magnification)
617, 617 'PHYSICIAN
618, 618 'COMMENT
619 Endoscope switch information 620 Endoscope related information display 621 Index image 622,622 'Peripheral device area 623,623' Cursor 624,624 'Arrow pointer 3660,3661,3662,3663 Index selection frame 269' Reduction circuit 5001 Selection frame

Claims (2)

内視鏡により撮影した内視鏡画像を含む出力画像を形成して出力する画像処理装置であって、
内視鏡により撮影した前記内視鏡画像を取得する取得手段と、
前記取得手段により取得した前記内視鏡画像のうち所定の画像であるインデックス画像を記憶する記憶手段と、
前記内視鏡の種類または接続される周辺装置の少なくとも一方に応じて、前記出力画像内での前記内視鏡画像の出力形態と前記インデックス画像の出力形態を制御する第1の出力形態制御手段と、
前記画像処理装置の外部からの指示に応じて、前記内視鏡画像の出力形態を制御する第2の出力形態制御手段と、
前記出力画像内での前記第2の出力形態制御手段により画像サイズが変更された前記内視鏡画像と前記インデックス画像の重なりの有無を、前記出力画像での前記内視鏡画像の座標と前記インデックス画像の座標とに基づいて、演算により判断する判断手段と、
前記判断手段により前記重なりがあると判断される場合に、前記第2の出力形態制御手段により画像サイズが変更された前記内視鏡画像と重なりがあると判断された前記インデックス画像を前記出力画像から消去する第3の出力形態制御手段と、を備える
ことを特徴とする画像処理装置。
An image processing apparatus for forming and outputting an output image including an endoscopic image photographed by an endoscope,
Obtaining means for obtaining the endoscopic image photographed by an endoscope;
Storage means for storing an index image which is a predetermined image among the endoscopic images acquired by the acquisition means;
First output form control means for controlling the output form of the endoscopic image and the output form of the index image in the output image according to at least one of the type of the endoscope or the connected peripheral device When,
A second output form control means for controlling the output form of the endoscopic image in response to an instruction from the outside of the image processing apparatus;
The presence or absence of an overlap between the endoscope image and the index image whose image size has been changed by the second output form control means in the output image, and the coordinates of the endoscope image in the output image and the Determination means for determining by calculation based on the coordinates of the index image ;
When the determination unit determines that there is an overlap, the index image determined to have an overlap with the endoscopic image whose image size has been changed by the second output form control unit is used as the output image. And a third output form control means for erasing from the image processing apparatus.
請求項に記載の画像処理装置を備えたことを特徴とする内視鏡システム。 An endoscope system comprising the image processing apparatus according to claim 1 .
JP2004202763A 2003-10-10 2004-07-09 Image processing device Expired - Fee Related JP4827387B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004202763A JP4827387B2 (en) 2003-10-10 2004-07-09 Image processing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2003352765 2003-10-10
JP2003352765 2003-10-10
JP2004202763A JP4827387B2 (en) 2003-10-10 2004-07-09 Image processing device

Publications (2)

Publication Number Publication Date
JP2005131363A JP2005131363A (en) 2005-05-26
JP4827387B2 true JP4827387B2 (en) 2011-11-30

Family

ID=34656133

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004202763A Expired - Fee Related JP4827387B2 (en) 2003-10-10 2004-07-09 Image processing device

Country Status (1)

Country Link
JP (1) JP4827387B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006015131A (en) * 2004-06-02 2006-01-19 Pentax Corp Electronic endoscope system
EP2305096B1 (en) * 2005-06-21 2013-06-05 Olympus Medical Systems Corp. Electronic endoscopic apparatus
JP3993618B2 (en) * 2005-06-21 2007-10-17 オリンパスメディカルシステムズ株式会社 Electronic endoscope device
JP4504339B2 (en) 2006-09-22 2010-07-14 オリンパスメディカルシステムズ株式会社 Endoscope device
JP5730177B2 (en) * 2011-11-21 2015-06-03 独立行政法人国立がん研究センター Electronic endoscope system
JP2015159893A (en) * 2014-02-26 2015-09-07 オリンパス株式会社 endoscope apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10155737A (en) * 1996-11-29 1998-06-16 Olympus Optical Co Ltd Electronic endoscope apparatus
JP3730735B2 (en) * 1996-12-25 2006-01-05 オリンパス株式会社 Endoscope system
JP4468525B2 (en) * 1999-11-25 2010-05-26 オリンパス株式会社 Endoscope system
JP2003126045A (en) * 2001-10-22 2003-05-07 Olympus Optical Co Ltd Diagnostic assistant system
JP2003265407A (en) * 2002-03-15 2003-09-24 Olympus Optical Co Ltd Endoscope apparatus
JP4197879B2 (en) * 2002-03-15 2008-12-17 オリンパス株式会社 Endoscope device

Also Published As

Publication number Publication date
JP2005131363A (en) 2005-05-26

Similar Documents

Publication Publication Date Title
WO2012005108A1 (en) Image recording/regenerating system
EP2098158B1 (en) Medical control device and its system
JP2008116660A (en) Optical apparatus
JP4454819B2 (en) Digital camera, control method of digital camera
JP4827387B2 (en) Image processing device
JP2008086666A (en) Endoscopic system
JP4981397B2 (en) Medical image processing system
JP2003024273A (en) Image processing device
JP2011110281A (en) Electronic endoscope apparatus
JP4575042B2 (en) Endoscope system
JP4499875B2 (en) Endoscope system
JP2001157200A (en) Endoscope system
JP2006340856A (en) Endoscopic image display device and control method thereof
JP2000245692A (en) Endoscope device
JP2010081561A (en) Electronic camera
JP2009279074A (en) Endoscope system
JP4025525B2 (en) Electronic camera
JP2005249841A (en) Image transmitting apparatus, image transmitting method, image transmitting program and computer
JP4488281B2 (en) Electronic endoscope device
JP2003339635A (en) Electronic endoscope
JP2006279303A (en) Digital camera
JP2003265407A (en) Endoscope apparatus
JP2002027314A (en) Image pickup device, controller of image pickup device and method for pickup image
JP2005286423A (en) Image processing method and image processing program
JP2000307926A (en) Electronic camera control method and information processor and recording medium for recording program for realizing electronic camera control

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100325

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100427

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110217

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

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

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

Free format text: PAYMENT UNTIL: 20140922

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4827387

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20140922

Year of fee payment: 3

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees