JP2024052487A - Processor device, endoscope system, and method of operating same - Google Patents

Processor device, endoscope system, and method of operating same Download PDF

Info

Publication number
JP2024052487A
JP2024052487A JP2023049848A JP2023049848A JP2024052487A JP 2024052487 A JP2024052487 A JP 2024052487A JP 2023049848 A JP2023049848 A JP 2023049848A JP 2023049848 A JP2023049848 A JP 2023049848A JP 2024052487 A JP2024052487 A JP 2024052487A
Authority
JP
Japan
Prior art keywords
judgment
image
determination
information
brightness
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2023049848A
Other languages
Japanese (ja)
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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Publication of JP2024052487A publication Critical patent/JP2024052487A/en
Pending legal-status Critical Current

Links

Images

Abstract

【課題】内視鏡の先端部の構造、サイズ等に関わらず、内視鏡の先端部を調整治具内のチャートと適切な位置又は距離で位置決めできるようにすることができるプロセッサ装置及び内視鏡システム並びにその作動方法を提供する。【解決手段】エラー判定部421は、内視鏡画像から、少なくとも3つの第1判定領域Jm1~Jm3を含む第1判定領域群の情報と、第1判定領域群の外側に設けられ、少なくとも3つの第2判定領域Jn1~Jn3を含む第2判定領域群の情報とを取得し、第1判定領域群の情報と第2判定領域群の情報に基づいて、チャート408と内視鏡の先端部12dとの位置関係に関するエラーが発生しているか否かのエラー判定を行う。【選択図】図74[Problem] To provide a processor device, an endoscope system, and an operation method thereof that can position the tip of an endoscope at an appropriate position or distance relative to a chart in an adjustment jig, regardless of the structure, size, etc., of the tip of the endoscope. [Solution] An error determination unit (421) obtains, from an endoscopic image, information on a first determination region group including at least three first determination regions Jm1-Jm3, and information on a second determination region group that is provided outside the first determination region group and includes at least three second determination regions Jn1-Jn3, and performs an error determination as to whether or not an error has occurred regarding the positional relationship between a chart (408) and the tip (12d) of the endoscope, based on the information on the first determination region group and the information on the second determination region group. [Selected Figure] Fig. 74

Description

本発明は、チャートを用いて、ホワイトバランス調整などのキャリブレーション処理を行うプロセッサ装置及び内視鏡システム並びにその作動方法に関する。 The present invention relates to a processor device and an endoscope system that use a chart to perform calibration processes such as white balance adjustment, and a method of operating the same.

近年では、内視鏡を使用する医療分野においては、酸素飽和度イメージングが知られている。酸素飽和度イメージングでは、血中ヘモグロビンの酸素飽和度の変化により吸光係数が変化する波長帯域を含む照明光を観察対象に照明し、撮像することによって行われる(例えば、特許文献1、2)。そして、撮像により得られた内視鏡画像に基づいて、酸素飽和度に応じて色調を変化させた酸素飽和度画像をディスプレイに表示する。 In recent years, oxygen saturation imaging has become known in the medical field where endoscopes are used. In oxygen saturation imaging, an object to be observed is illuminated with illumination light including a wavelength band whose absorption coefficient changes with changes in the oxygen saturation of hemoglobin in the blood, and an image is captured (for example, Patent Documents 1 and 2). Then, based on the endoscopic image obtained by imaging, an oxygen saturation image whose color tone changes according to the oxygen saturation is displayed on a display.

上記の酸素飽和度イメージングにおいては、複数の内視鏡画像に基づく信号比を算出し、算出した信号比に基づいて酸素飽和度を数値として算出している。この場合、観察対象を照明する酸素飽和度用照明光の分光特性が内視鏡システムの個体別に異なることで、結果的に、酸素飽和度の算出に使用する信号比に個体差が生じることがある。さらには、内視鏡システムを構成する光源装置と内視鏡(カメラシステム)との組み合わせによって、同じ観察対象を撮像しても、得られる信号比に違いが生じることがある。 In the above oxygen saturation imaging, a signal ratio is calculated based on multiple endoscopic images, and oxygen saturation is calculated as a numerical value based on the calculated signal ratio. In this case, the spectral characteristics of the oxygen saturation illumination light that illuminates the observation target differs from one endoscopic system to another, which can result in individual differences in the signal ratio used to calculate the oxygen saturation. Furthermore, even when the same observation target is imaged, the signal ratio obtained can differ depending on the combination of the light source device and endoscope (camera system) that make up the endoscopic system.

以上のように、個体差等により生じた信号比の違いを補正するために、特許文献1、2では、ホワイトバランス調整を行っている。特許文献1~3においては、ホワイトバランス調整用のチャートが設けられた調整治具に対して、内視鏡の先端部を挿入し、チャートを撮像して得られた画像に基づいて、ホワイトバランス調整を行っている。なお、特許文献2では、調整治具の内部底面の縁をエッジ検出によって抽出し、サークルラインの縁画像SCがガイド枠GFに収まる場合、ホワイトバランス調整処理の実行を許可するようにしている。 As described above, in order to correct differences in signal ratios caused by individual differences, etc., white balance adjustment is performed in Patent Documents 1 and 2. In Patent Documents 1 to 3, the tip of an endoscope is inserted into an adjustment jig equipped with a chart for white balance adjustment, and white balance adjustment is performed based on an image obtained by capturing an image of the chart. In Patent Document 2, the edge of the inner bottom surface of the adjustment jig is extracted by edge detection, and if the edge image SC of the circle line fits within the guide frame GF, execution of the white balance adjustment process is permitted.

国際公開第2021/065939号International Publication No. 2021/065939 特開2019-136412号公報JP 2019-136412 A 特開2014-236629号公報JP 2014-236629 A

上記のように、チャートを撮像してホワイトバランス調整を行う場合においては、照明光の配光特性の波長依存性やカメラシェーディングの色ムラがあることで、内視鏡の先端部とチャートとの位置又は距離にバラツキがあると、ホワイトバランス調整を正確に行うことができない場合があった。また、内視鏡の先端部のサイズは、観察対象の器官などによって様々であり、チャートとの適切な位置又は距離も内視鏡によって異なっている。そのため、様々なサイズの内視鏡を調整治具の内部の位置決め機構によって、内視鏡の先端部を適切な位置又は距離に位置決めすることは難しい。 As described above, when adjusting white balance by imaging a chart, there are cases where accurate white balance adjustment cannot be performed if there is variation in the position or distance between the tip of the endoscope and the chart due to the wavelength dependency of the light distribution characteristics of the illumination light and color unevenness of the camera shading. In addition, the size of the tip of the endoscope varies depending on the organ to be observed, and the appropriate position or distance from the chart also differs depending on the endoscope. For this reason, it is difficult to position the tip of the endoscope at the appropriate position or distance using the positioning mechanism inside the adjustment jig for endoscopes of various sizes.

そこで、内視鏡の先端部の構造、サイズ等に関わらず、内視鏡の先端部を調整治具内のチャートと適切な位置又は距離で位置決めできるようにすることが求められていた。加えて、調整治具内に機械的な位置決め構造を設けることなく、且つ、特許文献2のように、エッジ抽出などの高リソースの演算を用いることなく、内視鏡システムのプロセッサ装置に従来から備わっている低リソースの演算処理だけで、チャートとの位置決めをできるようにすることも求められていた。 Therefore, there was a demand for a system that would enable the tip of the endoscope to be positioned at an appropriate position or distance relative to the chart in the adjustment jig, regardless of the structure, size, etc., of the tip of the endoscope. In addition, there was also a demand for a system that would enable positioning relative to the chart using only the low-resource calculation processing that has traditionally been provided in the processor device of the endoscope system, without providing a mechanical positioning structure in the adjustment jig and without using high-resource calculations such as edge extraction as in Patent Document 2.

本発明は、内視鏡の先端部の構造、サイズ等に関わらず、内視鏡の先端部を調整治具内のチャートと適切な位置又は距離で位置決めできるようにすることができるプロセッサ装置及び内視鏡システム並びにその作動方法を提供することを目的とする。 The present invention aims to provide a processor device, an endoscope system, and an operating method thereof that can position the tip of an endoscope at an appropriate position or distance relative to a chart in an adjustment jig, regardless of the structure, size, etc., of the tip of the endoscope.

本発明のプロセッサ装置は、プロセッサを備え、プロセッサは、内視鏡の先端部からチャートを撮像して得られる内視鏡画像を取得し、内視鏡画像から、少なくとも3つの第1判定領域を含む第1判定領域群の情報と、第1判定領域群の外側に設けられ、少なくとも3つの第2判定領域を含む第2判定領域群の情報とを取得し、第1判定領域群の情報と第2判定領域群の情報に基づいて、チャートと先端部との位置関係に関するエラーが発生してるか否かのエラー判定を行う。 The processor device of the present invention includes a processor, which acquires an endoscopic image obtained by imaging a chart from the tip of an endoscope, acquires from the endoscopic image information on a first judgment area group including at least three first judgment areas, and information on a second judgment area group that is provided outside the first judgment area group and includes at least three second judgment areas, and performs an error judgment as to whether or not an error has occurred regarding the positional relationship between the chart and the tip based on the information on the first judgment area group and the information on the second judgment area group.

3つの第1判定領域の情報は明るさであり、プロセッサは、3つの第1判定領域の中に、明るさが第1閾値未満の第1判定領域が少なくとも1つある場合には、エラーと判定することが好ましい。3つの第2判定領域の情報は明るさであり、プロセッサは、3つの第2判定領域の中に、明るさが第2閾値以上の第2判定領域が少なくとも1つある場合には、エラーと判定することが好ましい。 The information of the three first judgment regions is brightness, and it is preferable that the processor judges an error to have occurred if there is at least one first judgment region among the three first judgment regions whose brightness is less than a first threshold value. The information of the three second judgment regions is brightness, and it is preferable that the processor judges an error to have occurred if there is at least one second judgment region among the three second judgment regions whose brightness is equal to or greater than a second threshold value.

第2判定領域の情報は明るさであり、プロセッサは、複数の第2判定領域の中に、明るさが第2閾値以上の第2判定領域が、予め定められた規定数以上ある場合には、エラーと判定することが好ましい。第2判定領域の情報は明るさであり、プロセッサは、明るさが第2閾値以上の第2判定領域の数が、明るさが第2閾値未満の第2判定領域の数よりも大きい場合には、エラーと判定することが好ましい。第1判定領域の明るさは、規格化用領域用の明るさでよって規格化されていることが好ましい。第2判定領域の明るさは、規格化用領域用の明るさでよって規格化されていることが好ましい。 The information of the second judgment area is preferably brightness, and the processor preferably determines an error when there are a predetermined number or more of second judgment areas with a brightness equal to or greater than the second threshold among the plurality of second judgment areas. The information of the second judgment area is preferably brightness, and the processor preferably determines an error when the number of second judgment areas with a brightness equal to or greater than the second threshold is greater than the number of second judgment areas with a brightness less than the second threshold. The brightness of the first judgment area is preferably normalized by a brightness for the normalization area. The brightness of the second judgment area is preferably normalized by a brightness for the normalization area.

第1判定領域群の配置形状は、3つの第1判定領域を結んで得られる逆三角形であり、第2判定領域群の配置形状は、3つの第2判定領域を結んで得られる三角形であることが好ましい。第1判定領域群の内側には、第3判定領域が設けられ、プロセッサは、第1判定領域の情報と第2判定領域の情報とに加えて、第3判定領域の情報に基づいて、エラーが発生しているか否かを判定することが好ましい。第3判定領域の情報は色調であり、プロセッサは、第3判定領域の色調が特定の色調範囲外である場合に、エラー判定を行うことが好ましい。 It is preferable that the arrangement shape of the first judgment region group is an inverted triangle obtained by connecting three first judgment regions, and that the arrangement shape of the second judgment region group is a triangle obtained by connecting three second judgment regions. A third judgment region is provided inside the first judgment region group, and the processor determines whether an error has occurred based on information on the third judgment region in addition to information on the first and second judgment regions. It is preferable that the information on the third judgment region is a color tone, and that the processor performs an error determination when the color tone of the third judgment region is outside a specific color tone range.

本発明の内視鏡システムは、上記記載の本発明のプロセッサ装置と、内視鏡画像を表示するディスプレイとを備え、チャートにはマークが設けられており、ディスプレイは、第1判定領域群と第2判定領域群の間に、マークの位置をガイドするためのガイド領域を表示す。ガイド領域は、二重円を有することが好ましい。 The endoscope system of the present invention includes the processor device of the present invention described above and a display that displays an endoscope image, and the chart is provided with marks. The display displays a guide area between the first and second determination area groups to guide the position of the marks. The guide area preferably has a double circle.

本発明の内視鏡システムの作動方法は、プロセッサが、内視鏡の先端部からチャートを撮像して得られる内視鏡画像をディスプレイに表示する表示ステップと、内視鏡画像から、少なくとも3つの第1判定領域を含む第1判定領域群の情報と、第1判定領域群の外側に設けられ、少なくとも3つの第2判定領域を含む第2判定領域群の情報とを取得し、第1判定領域群の情報と第2判定領域群の情報に基づいて、チャートと先端部との位置関係に関するエラーが発生しているか否かのエラー判定を行うエラー判定ステップとを有する。 The operation method of the endoscope system of the present invention includes a display step in which the processor displays an endoscopic image obtained by imaging a chart from the tip of the endoscope on a display, and an error determination step in which the processor obtains, from the endoscopic image, information on a first determination area group including at least three first determination areas and information on a second determination area group that is provided outside the first determination area group and includes at least three second determination areas, and performs an error determination as to whether or not an error has occurred regarding the positional relationship between the chart and the tip based on the information on the first determination area group and the information on the second determination area group.

3つの第1判定領域の情報は明るさであり、エラー判定ステップでは、3つの第1判定領域の中に、明るさが第1閾値未満の第1判定領域が少なくとも1つある場合には、エラーと判定することが好ましい。3つの第2判定領域の情報は明るさであり、エラー判定ステップでは、3つの第2判定領域の中に、明るさが第2閾値以上の第2判定領域が少なくとも1つある場合には、エラーと判定することが好ましい。 The information of the three first judgment regions is brightness, and in the error judgment step, it is preferable to judge an error if there is at least one first judgment region among the three first judgment regions whose brightness is less than a first threshold value. The information of the three second judgment regions is brightness, and in the error judgment step, it is preferable to judge an error if there is at least one second judgment region among the three second judgment regions whose brightness is equal to or greater than a second threshold value.

本発明によれば、内視鏡の先端部の構造、サイズ等に関わらず、内視鏡の先端部を調整治具内のチャートと適切な位置又は距離で位置決めできるようにすることができる。 The present invention makes it possible to position the tip of the endoscope at an appropriate position or distance relative to the chart in the adjustment jig, regardless of the structure, size, etc., of the tip of the endoscope.

消化管用の内視鏡システムの概略図である。1 is a schematic diagram of an endoscopy system for the digestive tract. 通常モードにおけるディスプレイ及び拡張ディスプレイでの表示態様を示す説明図である。11A and 11B are explanatory diagrams showing the display state on the display and the extended display in normal mode. 酸素飽和度モードにおけるディスプレイ及び拡張ディスプレイでの表示態様を示す説明図である。13 is an explanatory diagram showing the display mode on the display and the extended display in the oxygen saturation mode. FIG. 酸素飽和度モードに切り替えたタイミングに表示される拡張ディスプレイの表示態様を示す説明図である。13 is an explanatory diagram showing the display mode of the extended display when the mode is switched to the oxygen saturation mode. FIG. (A)は消化管内部酸素飽和度画像を表示し、(B)は漿膜側酸素飽和度画像を表示する拡張ディスプレイの画像図である。FIG. 13A is an image diagram of an expanded display showing an oxygen saturation image inside the digestive tract, and FIG. 13B is an image diagram of an expanded display showing an oxygen saturation image on the serosal side. 第1実施形態の内視鏡システムの機能を示すブロック図である。2 is a block diagram showing the functions of the endoscope system according to the first embodiment. FIG. 白色光の発光スペクトルを示すグラフである。1 is a graph showing an emission spectrum of white light. (A)は第1照明光の発光スペクトルを、(B)は第2照明光の発光スペクトルを、(C)は緑色光Gの発光スペクトルを示すグラフである。1A is a graph showing the emission spectrum of the first illumination light, FIG. 1B is a graph showing the emission spectrum of the second illumination light, and FIG. 撮像センサの分光感度を示すグラフである。4 is a graph showing the spectral sensitivity of an image sensor. 通常モードにおける照明及び取得する画像信号を示す表である。11 is a table showing illumination and acquired image signals in a normal mode. 酸素飽和度モード又は補正モードにおける照明及び取得する画像信号を示す表である。11 is a table showing illumination and acquired image signals in an oxygen saturation mode or a correction mode. 酸素飽和度モード又は補正モードにおける発光制御及び表示制御を示す説明図である。11A and 11B are explanatory diagrams showing light emission control and display control in the oxygen saturation mode or the correction mode. 血液濃度によって異なるヘモグロビンの反射スペクトルを示すグラフである。1 is a graph showing the reflectance spectrum of hemoglobin that varies depending on blood concentration. 黄色色素の濃度によって異なるヘモグロビンの反射スペクトル及び黄色色素の吸収スペクトルを示すグラフである。1 is a graph showing the reflection spectrum of hemoglobin and the absorption spectrum of a yellow dye that vary depending on the concentration of the yellow dye. 黄色色素による影響がない場合のB1画像信号、G2画像信号、R2画像信号の酸素飽和度依存性、血液濃度依存性、及び明るさ依存性を示す表である。11 is a table showing the oxygen saturation dependency, blood concentration dependency, and brightness dependency of a B1 image signal, a G2 image signal, and an R2 image signal in a case where there is no influence of a yellow pigment. 酸素飽和度を表す等高線を示すグラフである。1 is a graph showing contour lines representing oxygen saturation. 信号比ln(R2/G2)を示すX軸の値、及び信号比ln(B1/G2)を示すY軸の値に関する酸素飽和度依存性、血液濃度依存性、及び明るさ依存性を示す表である。13 is a table showing the oxygen saturation dependency, blood concentration dependency, and brightness dependency of the X-axis value indicating the signal ratio ln(R2/G2) and the Y-axis value indicating the signal ratio ln(B1/G2). 黄色色素による影響がある場合のB1画像信号、G2画像信号、R2画像信号の酸素飽和度依存性、血液濃度依存性、黄色色素依存性、及び明るさ依存性を示す表である。13 is a table showing the oxygen saturation dependency, blood concentration dependency, yellow pigment dependency, and brightness dependency of a B1 image signal, a G2 image signal, and an R2 image signal when there is an influence of a yellow pigment. 観察対象で同一の酸素飽和度を有する場合における黄色色素有りの場合の酸素飽和度と黄色色素無しの場合の酸素飽和度を表す説明図である。FIG. 13 is an explanatory diagram showing the oxygen saturation with and without a yellow dye when the observation subject has the same oxygen saturation. 黄色色素による影響がある場合のB1画像信号、B3画像信号、G2、G3画像信号、R2画像信号、及びB2画像信号の酸素飽和度依存性、血液濃度依存性、黄色色素依存性、及び明るさ依存性を示す表である。13 is a table showing the oxygen saturation dependency, blood concentration dependency, yellow pigment dependency, and brightness dependency of a B1 image signal, a B3 image signal, a G2 image signal, a G3 image signal, an R2 image signal, and a B2 image signal when influenced by yellow pigment. 黄色色素に応じた酸素飽和度を表す曲面を示すグラフである。1 is a graph showing a surface representing oxygen saturation as a function of yellow dye. X、Y、Zの3次元座標で表現された酸素飽和度の状態を、X、Yの2次元座標で表現した場合の説明図である。1 is an explanatory diagram of an oxygen saturation state expressed in three-dimensional coordinates of X, Y, and Z, expressed in two-dimensional coordinates of X and Y. FIG. 信号比ln(R2/G2)を示すX軸の値、信号比ln(B1/G2)を示すY軸の値、及び、信号比ln(B3/G3)を示すZ軸の値に関する酸素飽和度依存性、血液濃度依存性、黄色色素依存性及び明るさ依存性を示す表である。13 is a table showing the oxygen saturation dependency, blood concentration dependency, yellow pigment dependency, and brightness dependency of the X-axis value indicating the signal ratio ln(R2/G2), the Y-axis value indicating the signal ratio ln(B1/G2), and the Z-axis value indicating the signal ratio ln(B3/G3). 画像処理部の機能を示すブロック図である。FIG. 2 is a block diagram showing functions of an image processing unit. 酸素飽和度の算出方法を示す説明図である。FIG. 11 is an explanatory diagram showing a method for calculating oxygen saturation. 特定色素濃度に対応する等高線の生成方法を示す説明図である。FIG. 11 is an explanatory diagram showing a method for generating a contour line corresponding to a specific dye concentration. 補正用画像及び特定領域を表示するディスプレイの画像図である。FIG. 11 is an image diagram of a display showing a correction image and a specific region. 画素値と信頼度との関係を示すグラフである。11 is a graph showing the relationship between pixel value and reliability. 出血と信頼度の関係を表すための二次元平面を示すグラフである。13 is a graph showing a two-dimensional plane for expressing the relationship between bleeding and reliability. 脂肪、残渣、粘液、残液と信頼度との関係を表すための二次元平面を示すグラフである。1 is a graph showing a two-dimensional plane for expressing the relationship between fat, residue, mucus, residual liquid, and reliability. 彩度が異なる低信頼度領域と高信頼度領域を表示するディスプレイの画像図である。FIG. 13 is an image diagram of a display showing low-confidence and high-confidence regions with different saturation. 領域強調線が重畳表示された低信頼度領域を表示するディスプレイの画像図である。FIG. 13 is an image diagram of a display showing low-confidence regions with region highlighting lines superimposed thereon. (A)は第1色で強調表示された特定領域を、(B)は第2色で強調表示された特定領域を表示するディスプレイの画像図である。1A is an image diagram of a display showing a specific area highlighted in a first color, and FIG. 1B is an image diagram of a display showing a specific area highlighted in a second color. テーブル補正処理を適正に行うことができると判定された場合のディスプレイの画像図である。13 is a diagram showing an image on the display when it is determined that the table correction process can be performed appropriately. FIG. テーブル補正処理を適正に行うことができないと判定された場合のディスプレイの画像図である。13 is a diagram showing an image on the display when it is determined that the table correction process cannot be performed properly. FIG. 補正モードにおける一連の流れを示すフローチャートである。10 is a flowchart showing a series of steps in a correction mode. 第2実施形態の内視鏡システムの機能を示すブロック図である。FIG. 11 is a block diagram showing the functions of an endoscope system according to a second embodiment. 回転フィルタの平面図である。FIG. 2 is a plan view of the rotary filter. 算出値補正処理に用いる差分値ΔZを示す説明図である。11 is an explanatory diagram showing a difference value ΔZ used in the calculation value correction process. FIG. 特定の酸素飽和度算出処理の算出方法を示す説明図である。FIG. 11 is an explanatory diagram showing a specific oxygen saturation calculation method. 腹腔鏡用の内視鏡システムの概略図である。FIG. 1 is a schematic diagram of an endoscope system for laparoscopy. 混合光の発光スペクトルを示すグラフである。1 is a graph showing an emission spectrum of mixed light. 4個のモノクロ撮像センサを有するカメラヘッドの機能を示す説明図である。FIG. 2 is an explanatory diagram showing the function of a camera head having four monochrome image sensors. 紫色光及び第2青色光の発光スペクトルを示すグラフである。13 is a graph showing emission spectra of purple light and a second blue light. 第1青色光の発光スペクトルを示すグラフである。11 is a graph showing an emission spectrum of a first blue light. 緑色光の発光スペクトルを示すグラフである。1 is a graph showing an emission spectrum of green light. 赤色光の発光スペクトルを示すグラフである。1 is a graph showing an emission spectrum of red light. 黄色色素の濃度によって異なるヘモグロビンの反射スペクトルにおいて波長帯域Rkを示すグラフである。1 is a graph showing a wavelength band Rk in the reflectance spectrum of hemoglobin that varies depending on the concentration of a yellow pigment. 黄色色素による影響がある場合のG2、G3画像信号、R2画像信号、及びRk画像信号の酸素飽和度依存性、血液濃度依存性、黄色色素依存性、及び明るさ依存性を示す表である。13 is a table showing the oxygen saturation dependency, blood concentration dependency, yellow pigment dependency, and brightness dependency of G2, G3, R2, and Rk image signals when there is an influence of yellow pigment. カラー撮像センサとモノクロ撮像センサを有するカメラヘッドを有する2センサタイプの腹腔鏡用の内視鏡の説明図である。FIG. 1 is an explanatory diagram of a two-sensor type laparoscopic endoscope having a camera head with a color image sensor and a monochrome image sensor. 2センサタイプの腹腔鏡用の内視鏡を用いる場合の発光パターンであり、(A)は白色フレーム時の発光パターンを、(B)は緑色フレーム時の発光パターンを表すグラフである。13A and 13B are graphs showing the light emission pattern when a two-sensor type laparoscopic endoscope is used, in which (A) is a graph showing the light emission pattern when a white frame is used, and (B) is a graph showing the light emission pattern when a green frame is used. (A)は白色フレーム時の発光パターンを、(B)はダイクロイックミラーの反射率を、(C)はモノクロ撮像センサの感度を、(D)は白色フレーム時のモノクロ撮像センサから出力される画像信号の画素値を表すグラフである。(A) is a graph showing the emission pattern during a white frame, (B) is the reflectance of the dichroic mirror, (C) is the sensitivity of the monochrome image sensor, and (D) is a graph showing the pixel value of the image signal output from the monochrome image sensor during a white frame. (A)は白色フレーム時の発光パターンを、(B)はダイクロイックミラーの透過率を、(C)はカラー撮像センサの感度を、(D)は白色フレーム時のカラー撮像センサから出力される画像信号の画素値を表すグラフである。1A is a graph showing the light emission pattern during a white frame, (B) is the transmittance of the dichroic mirror, (C) is the sensitivity of the color image sensor, and (D) is a graph showing the pixel values of the image signal output from the color image sensor during a white frame. (A)は緑色フレーム時の発光パターンを、(B)はダイクロイックミラーの透過率を、(C)はカラー撮像センサの感度を、(D)は緑色フレーム時のカラー撮像センサのB画素から出力される画像信号の画素値を、(E)は緑色フレーム時のカラー撮像センサのG画素から出力される画像信号の画素値を表すグラフである。13 is a graph showing the light emission pattern during a green frame, (B) the transmittance of the dichroic mirror, (C) the sensitivity of the color image sensor, (D) the pixel value of the image signal output from the B pixel of the color image sensor during a green frame, and (E) the pixel value of the image signal output from the G pixel of the color image sensor during a green frame. 白色フレーム又は緑色フレームで得られる画像信号のうち酸素飽和度モード又は補正モードで使用する画像信号を表す表である。11 is a table showing image signals used in an oxygen saturation mode or a correction mode among image signals obtained in a white frame or a green frame. FPGA処理又はPC処理を示す説明図である。FIG. 1 is an explanatory diagram showing FPGA processing or PC processing. 2センサタイプの腹腔鏡用の内視鏡を用いる場合の発光制御及び画像信号セットを表す説明図である。FIG. 11 is an explanatory diagram showing a light emission control and image signal set when using a two-sensor type laparoscope endoscope. 有効画素判定された有効画素データを表す説明図である。FIG. 11 is an explanatory diagram illustrating effective pixel data determined as being effective pixels. ROIを表す説明図である。FIG. 2 is an explanatory diagram showing an ROI. PC処理で使用する有効画素データを表す説明図である。FIG. 11 is an explanatory diagram showing effective pixel data used in PC processing. 信頼度算出、特定色素濃度算出、及び、特定色素濃度相関判定を表す説明図である。11A and 11B are explanatory diagrams showing calculation of reliability, calculation of specific dye concentration, and specific dye concentration correlation determination; 蓋部側から見た調整治具の斜視図である。FIG. 11 is a perspective view of the adjustment jig as viewed from the lid side. 挿入孔側から見た調整治具の斜視図である。FIG. 4 is a perspective view of the adjustment jig as viewed from the insertion hole side. 内径が大きい方の挿入孔に内視鏡の先端部を挿入する場合の斜視図である。13 is a perspective view showing a case where the tip portion of the endoscope is inserted into the insertion hole with a larger inner diameter. FIG. 内径が小さい方の挿入孔に内視鏡の先端部を挿入する場合の斜視図である。13 is a perspective view showing a case where the tip portion of the endoscope is inserted into the insertion hole having a smaller inner diameter. FIG. 図65のI-I線に沿って切断した断面図である。This is a cross-sectional view taken along line II in Figure 65. 図65のII-II線に沿って切断した断面図である。This is a cross-sectional view taken along line II-II in Figure 65. 蓋部の分離について説明する説明図である。FIG. 11 is an explanatory diagram illustrating separation of the lid portion. (a)は蓋部の外面を表し、(b)蓋面の内面を表す説明図である。1A is an explanatory diagram showing the outer surface of the lid portion, and FIG. (a)は斜視鏡を表し、(b)は直視鏡を表す説明図である。1A is an explanatory diagram showing an oblique-viewing mirror, and FIG. 1B is an explanatory diagram showing a direct-viewing mirror. 図65のI-I線に沿って切断した断面図であり、直視鏡を用いる場合の傾斜角を表す説明図である。This is a cross-sectional view taken along line II in Figure 65, and is an explanatory diagram showing the inclination angle when a direct viewing mirror is used. 図65のI-I線に沿って切断した断面図であり、斜視鏡を用いる場合の傾斜角を表す説明図である。This is a cross-sectional view taken along line II in Figure 65, and is an explanatory diagram showing the inclination angle when an oblique mirror is used. エラー判定部を備えるプロセッサ装置の機能を示すブロック図である。1 is a block diagram showing functions of a processor device including an error determination unit; マークを含むチャートをディスプレイ上で表示する画像図である。FIG. 13 is an image showing a chart including marks on a display. ディスプレイ上で適切な位置からY方向又はZ方向にずれて表示されるマークの画像図である。11A and 11B are image diagrams of marks that are displayed shifted in the Y or Z direction from the appropriate position on the display. チャートと内視鏡の先端部との距離が近すぎる場合のマークを表す画像図である。FIG. 13 is an image showing a mark when the distance between the chart and the tip of the endoscope is too close. チャートと内視鏡の先端部との距離が遠すぎる場合のマークを表す画像図である。FIG. 13 is an image showing a mark when the distance between the chart and the tip of the endoscope is too far. 色調が特定の色調範囲外のマークを表す画像図である。FIG. 1 is an image diagram showing a mark whose color tone falls outside a particular color tone range. ホワイトバランスモードの一連の流れを表すフローチャートである。11 is a flowchart showing a sequence of operations in a white balance mode. 4つの第1判定領域、8つの第2判定領域、及び、規格化用領域を示す説明図である。FIG. 13 is an explanatory diagram showing four first determination regions, eight second determination regions, and a normalization region. 画像全体の明るさが基準範囲外である場合の説明図である。FIG. 11 is an explanatory diagram of a case where the brightness of the entire image is outside the reference range. 内視鏡画像に写り込んだフレアの説明図である。FIG. 13 is an explanatory diagram of a flare captured in an endoscopic image. 内視鏡画像において隣接する2つのマークの説明図である。FIG. 13 is an explanatory diagram of two adjacent marks in an endoscopic image. 楕円形に歪んだマークの説明図である。FIG. 13 is an explanatory diagram of a mark distorted into an oval shape.

[第1実施形態]
図1に示すように、内視鏡システム10は、内視鏡12、光源装置13、プロセッサ装置14、ディスプレイ15、及び、プロセッサ側ユーザーインターフェース16、拡張プロセッサ装置17、及び、拡張ディスプレイ18を備える。内視鏡12は、光源装置13と光学的又は電気的に接続され、かつ、プロセッサ装置14と電気的に接続される。拡張プロセッサ装置17は、光源装置13及びプロセッサ装置14と電気的に接続される。なお、特許請求の範囲の「ディスプレイ」には、ディスプレイ15の他、拡張ディスプレイ18も含まれる。
[First embodiment]
1, an endoscope system 10 includes an endoscope 12, a light source device 13, a processor device 14, a display 15, a processor-side user interface 16, an extended processor device 17, and an extended display 18. The endoscope 12 is optically or electrically connected to the light source device 13, and is electrically connected to the processor device 14. The extended processor device 17 is electrically connected to the light source device 13 and the processor device 14. Note that the "display" in the claims includes the extended display 18 in addition to the display 15.

内視鏡12は、挿入部12a、操作部12b、湾曲部12c及び先端部12dを有している。挿入部12aは、被写体の体内に挿入される。操作部12bは、挿入部12aの基端部分に設けられる。湾曲部12c及び先端部12dは、挿入部12aの先端側に設けられる。湾曲部12cは、操作部12bのアングルノブ12eを操作することにより湾曲動作する。先端部12dは、湾曲部12cの湾曲動作によって所望の方向に向けられる。挿入部12aから先端部12dにわたって、処置具などを挿通するための鉗子チャンネル(図示しない)を設けている。処置具は、鉗子口12jから鉗子チャンネル内に挿入する。 The endoscope 12 has an insertion section 12a, an operating section 12b, a bending section 12c, and a tip section 12d. The insertion section 12a is inserted into the subject's body. The operating section 12b is provided at the base end of the insertion section 12a. The bending section 12c and the tip section 12d are provided on the tip side of the insertion section 12a. The bending section 12c is bent by operating the angle knob 12e of the operating section 12b. The tip section 12d is directed in the desired direction by the bending operation of the bending section 12c. A forceps channel (not shown) for inserting a treatment tool and the like is provided from the insertion section 12a to the tip section 12d. The treatment tool is inserted into the forceps channel from the forceps port 12j.

内視鏡12の内部には、被写体像を結像するための光学系、及び、被写体に照明光を照射するための光学系が設けられる。操作部12bには、アングルノブ12e、モード切替スイッチ12f、静止画像取得指示スイッチ12h及びズーム操作部12iが設けられる。モード切替スイッチ12fは、観察モードの切り替え操作に用いる。静止画像取得指示スイッチ12hは、被写体の静止画像の取得指示に用いる。ズーム操作部12iは、観察対象の拡大又は縮小の操作に用いる。なお、操作部12bには、モード切替スイッチ12f及び静止画像取得指示スイッチ12hの他、プロセッサ装置14に対する各種の操作を行うためのスコープ側ユーザーインターフェース19を設けてもよい。 Inside the endoscope 12, an optical system for forming an image of the subject and an optical system for irradiating the subject with illumination light are provided. The operation unit 12b is provided with an angle knob 12e, a mode switch 12f, a still image acquisition instruction switch 12h, and a zoom operation unit 12i. The mode switch 12f is used to switch between observation modes. The still image acquisition instruction switch 12h is used to instruct acquisition of a still image of the subject. The zoom operation unit 12i is used to enlarge or reduce the observation target. In addition to the mode switch 12f and the still image acquisition instruction switch 12h, the operation unit 12b may also be provided with a scope-side user interface 19 for performing various operations on the processor device 14.

光源装置13は、照明光を発生する。プロセッサ装置14は、内視鏡システム10のシステム制御を行い、さらに、内視鏡12から送信された画像信号に対して画像処理等を行うことによって内視鏡画像を生成等する。ディスプレイ15は、プロセッサ装置14から送信される医療画像を表示する。プロセッサ側ユーザーインターフェース16は、キーボード、マウス、マイク、タブレット、フットスイッチ、及びタッチペン等を有し、機能設定等の入力操作を受け付ける。 The light source device 13 generates illumination light. The processor device 14 performs system control of the endoscope system 10, and further performs image processing on the image signal transmitted from the endoscope 12 to generate an endoscopic image. The display 15 displays the medical image transmitted from the processor device 14. The processor-side user interface 16 has a keyboard, mouse, microphone, tablet, foot switch, touch pen, etc., and accepts input operations such as function settings.

内視鏡システム10は、通常モード、酸素飽和度モード、補正モードの3つのモードを有しており、これら3つのモードは、ユーザーがモード切替スイッチ12fを操作することによって切り替えられる。図2に示すように、通常モードでは、照明光に白色光を用いて観察対象を撮像して得た自然な色合いの白色光画像をディスプレイ15に表示する一方、拡張ディスプレイ18には何も表示されない。 The endoscope system 10 has three modes: normal mode, oxygen saturation mode, and correction mode, and the user can switch between these three modes by operating the mode switch 12f. As shown in FIG. 2, in the normal mode, a white light image with natural coloring obtained by capturing an image of an object to be observed using white light as illumination light is displayed on the display 15, while nothing is displayed on the extended display 18.

図3に示すように、酸素飽和度モードでは、観察対象の酸素飽和度を算出し、算出した酸素飽和度を画像化した酸素飽和度画像を拡張ディスプレイ18に表示する。また、酸素飽和度モードにおいては、白色光画像よりも短波長成分が少ない白色光相当画像がディスプレイ15に表示される。補正モードでは、黄色色素など血中ヘモグロビン以外の特定色素の特定色素濃度に基づいて、酸素飽和度の算出に関する補正処理を行う。なお、酸素飽和度モードに切り替えると、図4に示すように、拡張ディスプレイ18に「補正処理を実施して下さい」とのメッセージMS0が表示される。補正処理が完了すると、拡張ディスプレイ18に酸素飽和度画像が表示される。 As shown in FIG. 3, in the oxygen saturation mode, the oxygen saturation of the object of observation is calculated, and an oxygen saturation image that visualizes the calculated oxygen saturation is displayed on the extended display 18. Also, in the oxygen saturation mode, a white light equivalent image that has fewer short wavelength components than the white light image is displayed on the display 15. In the correction mode, correction processing is performed on the calculation of oxygen saturation based on the concentration of a specific pigment other than hemoglobin in the blood, such as a yellow pigment. When switching to the oxygen saturation mode, a message MS0 stating "Please perform correction processing" is displayed on the extended display 18, as shown in FIG. 4. When the correction processing is completed, the oxygen saturation image is displayed on the extended display 18.

なお、内視鏡システム10は、胃、大腸などの消化管用の軟性鏡タイプであり、酸素飽和度モードにおいては、図5(A)に示すように、消化管内部の酸素飽和度の状態を画像化した消化管内部酸素飽和度画像を拡張ディスプレイ18に表示する。また、後述する内視鏡システムは、漿膜などの腹腔用の硬性鏡タイプの場合には、酸素飽和度モードにおいて、図5(B)に示すように、漿膜側の酸素飽和度の状態を画像化した漿膜側酸素飽和度画像を拡張ディスプレイ18に表示する。漿膜側酸素飽和度画像は、白色光相当画像に対して彩度を調整した画像を用いることが好ましい。なお、彩度の調整に関しては、粘膜、漿膜、軟性鏡、硬性鏡の区別なく、補正モード時に行うことが好ましい。 The endoscope system 10 is a flexible endoscope type for the digestive tract, such as the stomach and large intestine, and in the oxygen saturation mode, as shown in FIG. 5(A), displays an internal digestive tract oxygen saturation image that visualizes the state of oxygen saturation inside the digestive tract on the extended display 18. In addition, in the case of a rigid endoscope type for the abdominal cavity, such as the serosa, in the oxygen saturation mode, as shown in FIG. 5(B), the endoscope system described below displays a serosal side oxygen saturation image that visualizes the state of oxygen saturation on the serosal side on the extended display 18. It is preferable to use an image in which the saturation is adjusted with respect to the white light equivalent image for the serosal side oxygen saturation image. It is preferable to adjust the saturation in the correction mode, regardless of whether it is a mucosa, a serosal membrane, a flexible endoscope, or a rigid endoscope.

なお、酸素飽和度モードにおいては、以下の場合には、酸素飽和度を正確に算出することが可能である。
・予め定められた対象部位(例えば、食道、胃、大腸)を観察する場合
・周囲に照明がある体外環境以外の場合
・粘膜及び漿膜上に残渣や残液、粘液、血液、脂肪が残っていない場合
・粘膜上に色素を散布しない場合
・観察部位に対して、内視鏡12が7mmを超えて離れている場合
・観察部位に対して、内視鏡が大きく離れることなく適切な距離で観察する場合
・照明光が十分に当たっている領域
・観察部位からの正反射光が少ない場合
・酸素飽和度画像の2/3内部の領域
・内視鏡の動きが小さい場合、または、拍動や呼吸など患者の動きが少ない場合
・消化管粘膜深部の血管が観察されない場合
In the oxygen saturation mode, it is possible to accurately calculate the oxygen saturation in the following cases.
- When observing a predetermined target area (e.g., esophagus, stomach, large intestine) - When not in an external environment with surrounding lighting - When there is no residue, residual liquid, mucus, blood, or fat remaining on the mucosa or serosa - When dye is not sprayed onto the mucosa - When the endoscope 12 is more than 7 mm away from the observation area - When the endoscope is observed at an appropriate distance without being too far away from the observation area - Areas that are sufficiently illuminated by illumination light - When there is little specular reflection from the observation area - Areas within 2/3 of the oxygen saturation image - When the movement of the endoscope is small, or when there is little patient movement such as pulsation or breathing - When blood vessels deep in the gastrointestinal mucosa cannot be observed

図6に示すように、光源装置13は、光源部20と、光源部20を制御する光源用プロセッサ21とを備えている。光源部20は、例えば、複数の半導体光源を有し、これらをそれぞれ点灯または消灯し、点灯する場合には各半導体光源の発光量を制御することにより、観察対象を照明する照明光を発する。本実施形態では、光源部20は、V-LED(Violet Light Emitting Diode)20a、BS-LED(Blue Short -wavelength Light Emitting Diode)20b、BL-LED(Blue Long-wavelength Light Emitting Diode)20c、G-LED(Green Light Emitting Diode)20d、及びR-LED(Red Light Emitting Diode)20eの5色のLEDを有する。 As shown in FIG. 6, the light source device 13 includes a light source section 20 and a light source processor 21 that controls the light source section 20. The light source section 20 has, for example, a plurality of semiconductor light sources, which are turned on or off, and when turned on, the amount of light emitted by each semiconductor light source is controlled to emit illumination light that illuminates the observation target. In this embodiment, the light source section 20 has five color LEDs: a V-LED (Violet Light Emitting Diode) 20a, a BS-LED (Blue Short-wavelength Light Emitting Diode) 20b, a BL-LED (Blue Long-wavelength Light Emitting Diode) 20c, a G-LED (Green Light Emitting Diode) 20d, and an R-LED (Red Light Emitting Diode) 20e.

V-LED20aは、410nm±10nmの紫色光Vを発する。BS-LED20bは、450nm±10nmの第2青色光BSを発する。BL-LED20cは、470nm±10nmの第1青色光BLを発する。G-LED20dは、緑色帯域の緑色光Gを発する。緑色光Gの中心波長は540nmであることが好ましい。R-LED20eは、赤色帯域の赤色光Rを発する。赤色光Rの中心波長は620nmであることが好ましい。なお、各LED20a~20eにおける中心波長とピーク波長は、同じであってもよく、異なっても良い。 The V-LED 20a emits violet light V of 410 nm ± 10 nm. The BS-LED 20b emits second blue light BS of 450 nm ± 10 nm. The BL-LED 20c emits first blue light BL of 470 nm ± 10 nm. The G-LED 20d emits green light G in the green band. The central wavelength of the green light G is preferably 540 nm. The R-LED 20e emits red light R in the red band. The central wavelength of the red light R is preferably 620 nm. The central wavelength and peak wavelength of each of the LEDs 20a to 20e may be the same or different.

光源用プロセッサ21は、各LED20a~20eに対して独立に制御信号を入力することによって、各LED20a~20eの点灯又は消灯、点灯時の発光量などを独立に制御する。光源用プロセッサ21における点灯又は消灯制御は、各モードによって異なっており、詳細は後述する。 The light source processor 21 independently controls the on/off and light emission amount of each of the LEDs 20a-20e by inputting control signals to each of the LEDs 20a-20e. The on/off control by the light source processor 21 differs depending on the mode, and will be described in detail later.

各LED20a~20eが発する光は、ミラーやレンズなどで構成される光路結合部23を介して、ライトガイド25に入射される。ライトガイド25は、内視鏡12及びユニバーサルコード(内視鏡12と、光源装置13及びプロセッサ装置14を接続するコード)に内蔵されている。ライトガイド25は、光路結合部23からの光を、内視鏡12の先端部12dまで伝搬する。 The light emitted by each of the LEDs 20a to 20e is incident on the light guide 25 via the optical path coupling section 23, which is composed of a mirror, a lens, etc. The light guide 25 is built into the endoscope 12 and the universal cord (a cord that connects the endoscope 12 with the light source device 13 and the processor device 14). The light guide 25 propagates the light from the optical path coupling section 23 to the tip 12d of the endoscope 12.

内視鏡12の先端部12dには、照明光学系30と撮像光学系31が設けられている。照明光学系30は照明レンズ32を有しており、ライトガイド25によって伝搬した照明光は照明レンズ32を介して観察対象に照射される。撮像光学系31は、対物レンズ35及び撮像センサ36を有している。照明光が照射された観察対象からの光は、対物レンズ35を介して撮像センサ36に入射する。これにより、撮像センサ36に観察対象の像が結像される。 The tip 12d of the endoscope 12 is provided with an illumination optical system 30 and an imaging optical system 31. The illumination optical system 30 has an illumination lens 32, and the illumination light propagated by the light guide 25 is irradiated onto the observation object via the illumination lens 32. The imaging optical system 31 has an objective lens 35 and an imaging sensor 36. Light from the observation object irradiated with the illumination light is incident on the imaging sensor 36 via the objective lens 35. As a result, an image of the observation object is formed on the imaging sensor 36.

撮像センサ36は、照明光で照明中の観察対象を撮像するカラー撮像センサである。撮像センサ36の各画素には、B(青色)カラーフィルタを有するB画素(青色画素)、G(緑色)カラーフィルタを有するG画素(緑色画素)、R(赤色)カラーフィルタを有するR画素(赤色画素)のいずれかが設けられている。Bカラーフィルタ、Gカラーフィルタ、及び、Rカラーフィルタの分光透過率については、後述する。なお、例えば、撮像センサ36は、B画素とG画素とR画素の画素数の比率が、1:2:1であるベイヤー配列のカラー撮像センサであることが好ましい。 The imaging sensor 36 is a color imaging sensor that captures an image of an object being observed while being illuminated with illumination light. Each pixel of the imaging sensor 36 is provided with either a B pixel (blue pixel) having a B (blue) color filter, a G pixel (green pixel) having a G (green) color filter, or an R pixel (red pixel) having an R (red) color filter. The spectral transmittance of the B color filter, G color filter, and R color filter will be described later. For example, the imaging sensor 36 is preferably a color imaging sensor with a Bayer array in which the ratio of the number of B pixels, G pixels, and R pixels is 1:2:1.

撮像センサ36としては、CCD(Charge Coupled Device)撮像センサやCMOS(Complementary Metal-Oxide Semiconductor)撮像センサを利用可能である。また、原色の撮像センサ36の代わりに、C(シアン)、M(マゼンタ)、Y(イエロー)及びG(グリーン)の補色フィルタを備えた補色撮像センサを用いても良い。補色撮像センサを用いる場合には、CMYGの4色の画像信号が出力されるので、補色-原色色変換によって、CMYGの4色の画像信号をRGBの3色の画像信号に変換することにより、撮像センサ36と同様のRGB各色の画像信号を得ることができる。 The imaging sensor 36 may be a CCD (Charge Coupled Device) imaging sensor or a CMOS (Complementary Metal-Oxide Semiconductor) imaging sensor. Also, instead of the primary color imaging sensor 36, a complementary color imaging sensor equipped with complementary color filters of C (cyan), M (magenta), Y (yellow) and G (green) may be used. When a complementary color imaging sensor is used, image signals of four colors CMYG are output, and by converting the four color image signals of CMYG into three color image signals of RGB by complementary color-primary color conversion, image signals of each of the RGB colors similar to those of the imaging sensor 36 can be obtained.

撮像センサ36、撮像用プロセッサ37によって駆動制御される。撮像用プロセッサ37における各モードの制御は後述する。CDS/AGC回路40(Correlated Double Sampling/Automatic Gain Control)は、撮像センサ36から得られるアナログの画像信号に相関二重サンプリング(CDS)や自動利得制御(AGC)を行う。CDS/AGC回路40を経た画像信号は、A/Dコンバータ41(Analog/Digital)により、デジタルの画像信号に変換される。A/D変換後のデジタル画像信号がプロセッサ装置14に入力される。 The imaging sensor 36 is driven and controlled by the imaging processor 37. The control of each mode in the imaging processor 37 will be described later. The CDS/AGC circuit 40 (Correlated Double Sampling/Automatic Gain Control) performs correlated double sampling (CDS) and automatic gain control (AGC) on the analog image signal obtained from the imaging sensor 36. The image signal that passes through the CDS/AGC circuit 40 is converted into a digital image signal by an A/D converter 41 (Analog/Digital). The digital image signal after A/D conversion is input to the processor device 14.

プロセッサ装置14は、画像処理部50と、表示制御部52と、中央制御部53とを備えている。プロセッサ装置14には、各種処理に関するプログラムがプログラム用メモリ(図示しない)に組み込まれている。プロセッサによって構成される中央制御部53がプログラム用メモリ内のプログラムを実行することによって、画像処理部50と、表示制御部52と、中央制御部53との機能が実現する。 The processor device 14 includes an image processing unit 50, a display control unit 52, and a central control unit 53. The processor device 14 has programs related to various processes built into a program memory (not shown). The functions of the image processing unit 50, the display control unit 52, and the central control unit 53 are realized by the central control unit 53, which is made up of a processor, executing the programs in the program memory.

画像処理部50は、内視鏡12から受信した画像信号に対して、欠陥補正処理、オフセット処理、ゲイン補正処理、リニアマトリクス処理、ガンマ変換処理、デモザイク処理、ホワイトバランス処理、YC変換処理、及び、ノイズ低減処理等の各種信号処理を行う。欠陥補正処理では、撮像センサ36の欠陥画素の信号が補正される。オフセット処理では、欠陥補正処理を施した画像信号から暗電流成分を除かれ、正確な零レベルを設定される。ゲイン補正処理は、オフセット処理後の各色の画像信号に特定のゲインを乗じることにより各画像信号の信号レベルを整える。ゲイン補正処理後の各色の画像信号には、色再現性を高めるリニアマトリクス処理が施される。 The image processing unit 50 performs various signal processing such as defect correction processing, offset processing, gain correction processing, linear matrix processing, gamma conversion processing, demosaic processing, white balance processing, YC conversion processing, and noise reduction processing on the image signal received from the endoscope 12. In the defect correction processing, the signal of the defective pixel of the imaging sensor 36 is corrected. In the offset processing, the dark current component is removed from the image signal that has been subjected to the defect correction processing, and an accurate zero level is set. In the gain correction processing, the signal level of each image signal is adjusted by multiplying the image signal of each color after the offset processing by a specific gain. The image signal of each color after the gain correction processing is subjected to linear matrix processing to improve color reproducibility.

その後、ガンマ変換処理によって、各画像信号の明るさや彩度が整えられる。リニアマトリクス処理後の画像信号には、デモザイク処理(等方化処理,同時化処理とも言う)が施され、補間により各画素の欠落した色の信号を生成される。デモザイク処理によって、全画素がRGB各色の信号を有するようになる。画像処理部50は、デモザイク処理後の各画像信号にYC変換処理を施し、輝度信号Yと色差信号Cb及び色差信号Crを生成する。画像処理部50は、デモザイク処理等を施した画像信号に対して、例えば移動平均法やメディアンフィルタ法等によるノイズ低減処理を施す。 Then, the brightness and saturation of each image signal are adjusted by gamma conversion processing. The image signals after linear matrix processing are subjected to demosaic processing (also called isotropic processing or synchronization processing), and signals of the missing colors of each pixel are generated by interpolation. Through demosaic processing, all pixels have signals of each color of RGB. The image processing unit 50 performs YC conversion processing on each image signal after demosaic processing, and generates a luminance signal Y and color difference signals Cb and Cr. The image processing unit 50 performs noise reduction processing, for example, using the moving average method or median filter method, on the image signals that have been subjected to demosaic processing, etc.

また、画像処理部50は、3×3のマトリックス処理、階調変換処理、3次元LUT(Look Up Table)処理等の色変換処理、色彩強調処理、空間周波数強調等の構造強調処理などの画像処理も合わせて行われる。画像処理部50では、モードに応じた画像処理が行われる。通常モードの場合においては、画像処理部50は、通常モード用の画像処理が行われることによって、白色光画像を生成する。酸素飽和度モードの場合においては、画像処理部50は、酸素飽和度用の画像処理が行われることによって、白色光相当画像を生成する。また、酸素飽和度モードの場合においては、画像処理部50は、画像通信部51を介して、内視鏡12からの画像信号を、拡張プロセッサ装置17に送信する。 The image processing unit 50 also performs image processing such as color conversion processing such as 3x3 matrix processing, tone conversion processing, and 3D LUT (Look Up Table) processing, color enhancement processing, and structure enhancement processing such as spatial frequency enhancement. The image processing unit 50 performs image processing according to the mode. In the normal mode, the image processing unit 50 performs image processing for the normal mode to generate a white light image. In the oxygen saturation mode, the image processing unit 50 performs image processing for the oxygen saturation to generate a white light equivalent image. In the oxygen saturation mode, the image processing unit 50 transmits an image signal from the endoscope 12 to the extended processor device 17 via the image communication unit 51.

表示制御部52は、画像処理部50からの白色光画像、又は酸素飽和度画像などの画像情報、その他の情報を、ディスプレイ15に表示するための表示制御を行う。表示制御に従って、ディスプレイ15には、白色光画像又は白色光相当画像が表示される。 The display control unit 52 performs display control to display the white light image or image information such as the oxygen saturation image from the image processing unit 50, and other information, on the display 15. In accordance with the display control, the white light image or an image equivalent to white light is displayed on the display 15.

拡張プロセッサ装置17は、プロセッサ装置14から画像信号を受信し、各種の画像処理を行う。拡張プロセッサ装置17は、酸素飽和度モードにおいて、酸素飽和度を算出し、算出した酸素飽和度を画像化した酸素飽和度画像を生成する。生成された酸素飽和度画像は、拡張ディスプレイ18に表示される。また、拡張プロセッサ装置17は、補正モードの場合には、ユーザー操作に従って、特定色素濃度を算出し、算出した特定色素濃度に基づいて酸素飽和度の算出に関する補正処理を行う。拡張プロセッサ装置17で行う酸素飽和度モード及び補正モードの詳細については、後述する。 The extended processor device 17 receives image signals from the processor device 14 and performs various image processing. In the oxygen saturation mode, the extended processor device 17 calculates the oxygen saturation and generates an oxygen saturation image that visualizes the calculated oxygen saturation. The generated oxygen saturation image is displayed on the extended display 18. In the correction mode, the extended processor device 17 calculates a specific dye concentration according to user operations and performs correction processing related to the calculation of oxygen saturation based on the calculated specific dye concentration. Details of the oxygen saturation mode and correction mode performed by the extended processor device 17 will be described later.

各モードにおける点灯又は消灯制御について説明を行う。通常モードでは、V-LED20a、BS-LED20b、G-LED20d、及び、R-LED20eを同時に点灯することによって、図7に示すように、中心波長410nmの紫色光V、中心波長450nmの第2青色光BS、緑色帯域で広帯域の緑色光G、中心波長620nmの赤色光Rを含む白色光として発光する。 The following describes the on/off control in each mode. In normal mode, the V-LED 20a, BS-LED 20b, G-LED 20d, and R-LED 20e are simultaneously turned on to emit white light containing purple light V with a central wavelength of 410 nm, second blue light BS with a central wavelength of 450 nm, broadband green light G in the green band, and red light R with a central wavelength of 620 nm, as shown in FIG. 7.

酸素飽和度モード及び補正モードでは、発光パターンがそれぞれ異なる3フレーム分の発光が繰り返し行われる。1フレーム目においては、図8(A)に示すように、BL-LED20c、G-LED20d、及び、R-LED20eを同時に点灯することによって、中心波長470nmの第1青色光BL、緑色帯域で広帯域の緑色光G、及び、中心波長620nmの赤色光Rを含む広帯域の第1照明光を発光する。2フレーム目においては、図8(B)に示すように、BS-LED20b、G-LED20d、及び、R-LED20eを同時に点灯することによって、中心波長450nmの第2青色光BS、緑色帯域で広帯域の緑色光G、中心波長620nmの赤色光Rを含む第2照明光を発光する。3フレーム目においては、図8(C)に示すように、G-LED20dを点灯することによって、緑色帯域で広帯域の緑色光Gを発光する。なお、酸素飽和度モードにおいては、酸素飽和度の算出に必要な画像信号を得るために必要なフレームは1フレーム目と2フレーム目であるので、1フレーム目と2フレーム目のみ発光を行ってもよい。 In the oxygen saturation mode and the correction mode, three frames of light emission with different light emission patterns are repeated. In the first frame, as shown in FIG. 8(A), the BL-LED 20c, the G-LED 20d, and the R-LED 20e are simultaneously turned on to emit a first broadband illumination light including a first blue light BL with a central wavelength of 470 nm, a broadband green light G in the green band, and a red light R with a central wavelength of 620 nm. In the second frame, as shown in FIG. 8(B), the BS-LED 20b, the G-LED 20d, and the R-LED 20e are simultaneously turned on to emit a second illumination light including a second blue light BS with a central wavelength of 450 nm, a broadband green light G in the green band, and a red light R with a central wavelength of 620 nm. In the third frame, as shown in FIG. 8(C), the G-LED 20d is turned on to emit a broadband green light G in the green band. In addition, in the oxygen saturation mode, the first and second frames are the frames required to obtain the image signal necessary to calculate the oxygen saturation, so light may be emitted only in the first and second frames.

図9に示すように、撮像センサ36のB画素に設けられるBカラーフィルタBFは、主として青色帯域の光、具体的には、波長帯域が380~560nm(青色透過帯域)の光を透過させる。透過率が最大となるピーク波長は460~470nm付近に存在する。撮像センサ36のG画素に設けられるGカラーフィルタGFは、主として緑色帯域の光、具体的には、波長帯域が450~630nm(緑色透過帯域)の光を透過させる。撮像センサ36のR画素に設けられるRカラーフィルタRFは、主として赤色帯域の光、具体的には580~760nm(赤色透過帯域)の光を透過させる。 As shown in FIG. 9, the B color filter BF provided in the B pixel of the image sensor 36 transmits mainly light in the blue band, specifically light with a wavelength band of 380 to 560 nm (blue transmission band). The peak wavelength at which the transmittance is maximum is around 460 to 470 nm. The G color filter GF provided in the G pixel of the image sensor 36 transmits mainly light in the green band, specifically light with a wavelength band of 450 to 630 nm (green transmission band). The R color filter RF provided in the R pixel of the image sensor 36 transmits mainly light in the red band, specifically light with a wavelength band of 580 to 760 nm (red transmission band).

図10に示すように、通常モードでは、撮像用プロセッサ37は、紫色光V、第2青色光BS、緑色光G、赤色光Rで照明中の観察対象を1フレーム毎に撮像するように、撮像センサ36を制御する。これにより、撮像センサ36のB画素からBc画像信号が出力され、G画素からGc画像信号が出力され、R画素からRc画像信号が出力される。 As shown in FIG. 10, in normal mode, the imaging processor 37 controls the imaging sensor 36 to capture an image of an object being observed that is illuminated with purple light V, second blue light BS, green light G, and red light R for each frame. This causes the B pixels of the imaging sensor 36 to output Bc image signals, the G pixels to output Gc image signals, and the R pixels to output Rc image signals.

図11に示すように、酸素飽和度モードでは、1フレーム目で、第1青色光BL、緑色光G、及び赤色光Rを含む第1照明光が観察対象に照明された場合には、撮像用プロセッサ37によって、第1照明光画像として、撮像センサ36のB画素からB1画像信号が出力され、G画素からG1画像信号が出力され、R画素からR1画像信号が出力される。2フレーム目で、第2青色光BS、緑色光G、及び赤色光Rを含む第2照明光が観察対象に照明された場合には、撮像用プロセッサ37によって、第2照明光画像として、撮像センサ36のB画素からB2画像信号が出力され、G画素からG2画像信号が出力され、R画素からR2画像信号が出力される。 As shown in FIG. 11, in the oxygen saturation mode, when the first illumination light including the first blue light BL, the green light G, and the red light R is illuminated on the observation object in the first frame, the imaging processor 37 outputs a B1 image signal from the B pixel of the imaging sensor 36, a G1 image signal from the G pixel, and an R1 image signal from the R pixel as the first illumination light image. When the second illumination light including the second blue light BS, the green light G, and the red light R is illuminated on the observation object in the second frame, the imaging processor 37 outputs a B2 image signal from the B pixel of the imaging sensor 36, a G2 image signal from the G pixel, and an R2 image signal from the R pixel as the second illumination light image.

3フレーム目で、緑色光Gである第3照明光が観察対象に照明された場合には、撮像用プロセッサ37によって、第3照明光画像として、撮像センサ36のB画素からB3画像信号が出力され、G画素からG3画像信号が出力され、R画素からR3画像信号が出力される。 In the third frame, when the third illumination light, which is green light G, is illuminated on the object to be observed, the imaging processor 37 outputs a B3 image signal from the B pixel of the imaging sensor 36, a G3 image signal from the G pixel, and an R3 image signal from the R pixel as the third illumination light image.

酸素飽和度モードでは、図12に示すように、1フレーム目(1stF)で第1照明光を発光し、2フレーム目(2ndF)で第2照明光を発光し、3フレーム目(3rdF)で第3照明光を発光した後は、2フレーム目の第2照明光を発光し、1フレーム目の第1照明光を発光する。2フレーム目の第2照明光の発光に基づいて得られる白色光相当画像は、ディスプレイ15に表示される。また、1~3フレーム目の第1~第3照明光の発光に基づいて得られる酸素飽和度画像は、拡張ディスプレイ18に表示される。 In the oxygen saturation mode, as shown in FIG. 12, the first illumination light is emitted in the first frame (1stF), the second illumination light is emitted in the second frame (2ndF), and the third illumination light is emitted in the third frame (3rdF), after which the second illumination light is emitted in the second frame and the first illumination light is emitted in the first frame. An image equivalent to white light obtained based on the emission of the second illumination light in the second frame is displayed on the display 15. In addition, an oxygen saturation image obtained based on the emission of the first to third illumination lights in the first to third frames is displayed on the extended display 18.

酸素飽和度モードでは、上記の3フレーム分の画像信号のうち、第1照明光画像に含まれるB1画像信号、及び、第2照明光画像に含まれるG2画像信号、R2画像信号が用いられる。また、補正モードでは、酸素飽和度の算出精度に影響を与える特定色素(黄色色素など)の濃度を測定するために、B1画像信号、G2画像信号、及び、R2画像信号に加えて、第3照明光画像に含まれるB3画像信号及びG3画像信号が用いられる。 In the oxygen saturation mode, of the image signals for the above three frames, the B1 image signal included in the first illumination light image and the G2 and R2 image signals included in the second illumination light image are used. In the correction mode, in addition to the B1, G2, and R2 image signals, the B3 and G3 image signals included in the third illumination light image are used to measure the concentration of a specific pigment (such as a yellow pigment) that affects the accuracy of oxygen saturation calculation.

B1画像信号は、第1照明光の中でBカラーフィルタBFを透過した光のうち、少なくとも第1青色光BLに関する画像情報が含まれている。B1画像信号(酸素飽和度用画像信号)には、第1青色光BLに関する画像情報として、血中ヘモグロビンの酸素飽和度の変化により反射スペクトルが変化する波長帯域B1の画像情報を含んでいる。波長帯域B1としては、例えば、図13に示すように、曲線55b、56bで示す酸化ヘモグロビンの反射スペクトルと曲線55a、56aで示す還元ヘモグロビンの反射スペクトルの差が極大化する470nmを含む460nm~480nmの波長帯域とすることが好ましい。 The B1 image signal includes image information on at least the first blue light BL from the light that has passed through the B color filter BF in the first illumination light. The B1 image signal (image signal for oxygen saturation) includes image information on the wavelength band B1, whose reflection spectrum changes with changes in the oxygen saturation of blood hemoglobin, as image information on the first blue light BL. As the wavelength band B1, for example, as shown in FIG. 13, it is preferable to set the wavelength band B1 to a wavelength band of 460 nm to 480 nm, including 470 nm, at which the difference between the reflection spectrum of oxygenated hemoglobin shown by curves 55b and 56b and the reflection spectrum of reduced hemoglobin shown by curves 55a and 56a is maximized.

なお、図13では、曲線55aは、血液濃度が高い場合の還元ヘモグロビンの反射スペクトルを表し、曲線55bは、血液濃度が高い場合の酸化ヘモグロビンの反射スペクトルを表している。一方、曲線56aは、血液濃度が低い場合の還元ヘモグロビンの反射スペクトルを表し、曲線56bは、血液濃度が低い場合の酸化ヘモグロビンの反射スペクトルを表している。 In FIG. 13, curve 55a represents the reflectance spectrum of reduced hemoglobin when the blood concentration is high, and curve 55b represents the reflectance spectrum of oxygenated hemoglobin when the blood concentration is high. On the other hand, curve 56a represents the reflectance spectrum of reduced hemoglobin when the blood concentration is low, and curve 56b represents the reflectance spectrum of oxygenated hemoglobin when the blood concentration is low.

G2画像信号は、第1照明光の中でGカラーフィルタGFを透過した光のうち、少なくとも緑色光Gに関する波長帯域G2の画像情報が含まれている。波長帯域G2は、例えば、図13に示すように、500nm~580nmの波長帯域とすることが好ましい。R2画像信号は、第1照明光の中でRカラーフィルタRFを透過した光のうち、少なくとも赤色光Rに関する波長帯域R2の画像情報が含まれている。波長帯域R2は、例えば、図13に示すように、610nm~630nmの波長帯域とすることが好ましい。 The G2 image signal contains image information of at least the wavelength band G2 relating to green light G among the light that has passed through the G color filter GF in the first illumination light. The wavelength band G2 is preferably a wavelength band of 500 nm to 580 nm, for example, as shown in FIG. 13. The R2 image signal contains image information of at least the wavelength band R2 relating to red light R among the light that has passed through the R color filter RF in the first illumination light. The wavelength band R2 is preferably a wavelength band of 610 nm to 630 nm, for example, as shown in FIG. 13.

また、図14に示すように、波長帯域B1の画像情報には、第1青色光BLに関する画像情報が入っており、波長帯域B3の画像情報には緑色光Gに関する画像情報が入っている。それら第1青色光BL及び緑色光Gに関する画像情報は、黄色色素などの特定色素の濃度の変化により特定色素の吸光スペクトルが変化する画像情報である。特定色素の吸光スペクトルの変化に伴って、ヘモグロビンの反射スペクトルについても変化が生ずる。曲線55aは、黄色色素の影響がない場合の還元ヘモグロビンの反射スペクトルを表しており、曲線55cは、黄色色素の影響が有る場合の還元ヘモグロビンの反射スペクトルを表している。これら曲線55a、55cに示すように、黄色色素の有無によって還元ヘモグロビンの反射スペクトルが変化する(酸化ヘモグロビンの反射スペクトルも同様)。したがって、波長帯域B1及び波長帯域B3は、黄色色素などの特定色素の影響を受けて、血中ヘモグロビンの酸素飽和度の変化により反射スペクトルが変化する。 As shown in FIG. 14, the image information of the wavelength band B1 contains image information on the first blue light BL, and the image information of the wavelength band B3 contains image information on the green light G. The image information on the first blue light BL and the green light G is image information in which the absorption spectrum of a specific pigment changes due to a change in the concentration of the specific pigment such as a yellow pigment. The change in the absorption spectrum of the specific pigment also causes a change in the reflection spectrum of hemoglobin. The curve 55a represents the reflection spectrum of reduced hemoglobin when there is no influence of the yellow pigment, and the curve 55c represents the reflection spectrum of reduced hemoglobin when there is an influence of the yellow pigment. As shown in these curves 55a and 55c, the reflection spectrum of reduced hemoglobin changes depending on the presence or absence of the yellow pigment (the same applies to the reflection spectrum of oxygenated hemoglobin). Therefore, the reflection spectrum of the wavelength bands B1 and B3 changes due to a change in the oxygen saturation of blood hemoglobin under the influence of a specific pigment such as a yellow pigment.

内視鏡12を用いた観察対象において、黄色色素などの特定色素による影響がない理想的な場合には、図15に示すように、B1画像信号(「B1」と表記)、G2画像信号(「G2」と表記)、R2画像信号(「R2」と表記)は、それぞれ酸素飽和度依存性、血液濃度依存性、又は、明るさ依存性の影響を受ける。B1画像信号は、上記したように、酸化ヘモグロビンの反射スペクトルと還元ヘモグロビンの反射スペクトルの差が極大化する波長帯域B1を含んでいるため、酸素飽和度によって変化する酸素飽和度依存性が「大」程度である。また、B1画像信号は、曲線55a、55bと曲線56a、56bに示すように、血液濃度によって変化する血液濃度依存性が「中」程度である。また、B1画像信号は、観察対象の明るさによって変化する明るさ依存性が「有」る。なお、依存性の程度として、「大」、「中」、「小」を用いるが、「大」は他の画像信号と比較して依存性が大きいことを表しており、「中」は他の画像信号と比較して依存性が中程度であることを表しており、「小」は他の画像信号と比較して依存性が低いことを表している。 In an ideal case where the object of observation using the endoscope 12 is not affected by a specific pigment such as a yellow pigment, as shown in FIG. 15, the B1 image signal (denoted as "B1"), the G2 image signal (denoted as "G2"), and the R2 image signal (denoted as "R2") are each affected by oxygen saturation dependency, blood concentration dependency, or brightness dependency. As described above, the B1 image signal includes the wavelength band B1 in which the difference between the reflectance spectrum of oxygenated hemoglobin and the reflectance spectrum of reduced hemoglobin is maximized, so that the oxygen saturation dependency that changes with oxygen saturation is about "large". In addition, the B1 image signal has a blood concentration dependency that changes with blood concentration of about "medium", as shown in curves 55a, 55b and curves 56a, 56b. In addition, the B1 image signal has a brightness dependency that changes with the brightness of the object of observation. The degrees of dependency are indicated as "large," "medium," and "small," with "large" indicating a high degree of dependency compared to other image signals, "medium" indicating a medium degree of dependency compared to other image signals, and "small" indicating a low degree of dependency compared to other image signals.

G2画像信号は、広帯域な波長帯域において酸化ヘモグロビンの反射スペクトルと還元ヘモグロビンの反射スペクトルの大小関係が入れ替わることから、酸素飽和度依存性が「小」である。また、G2画像信号は、曲線55a、55bと曲線56a、56bに示すように、血液濃度依存性が「大」程度である。また、G2画像信号は、B1画像信号と同様、明るさ依存性が「有」る。 The G2 image signal has a low dependency on oxygen saturation because the magnitude relationship between the reflectance spectrum of oxygenated hemoglobin and the reflectance spectrum of reduced hemoglobin is reversed over a wide wavelength band. Also, the G2 image signal has a high degree of dependency on blood concentration, as shown by curves 55a, 55b and curves 56a, 56b. Also, the G2 image signal has a dependency on brightness, similar to the B1 image signal.

R2画像信号は、B1画像信号ほど酸素飽和度によって変化することがないものの、酸素飽和度依存性は「中」程度である。また、R2画像信号は、曲線55a、55bと曲線56a、56bに示すように、血液濃度依存性が「小」程度である。また、G2画像信号は、B1画像信号と同様、明るさ依存性が「有」る。 The R2 image signal does not change as much with oxygen saturation as the B1 image signal, but it is "medium" dependent on oxygen saturation. Also, the R2 image signal is "low" dependent on blood concentration, as shown by curves 55a, 55b and curves 56a, 56b. Also, the G2 image signal, like the B1 image signal, is "dependent" on brightness.

上記したように、B1画像信号、G2画像信号、R2画像信号のいずれも明るさ依存性を有するため、G2画像信号を規格化信号に用いることによって、B1画像信号をG2画像信号で規格化した信号比ln(B1/G2)と、R2画像信号をG2画像信号で規格化した信号比ln(R2/G2)を用いて、酸素飽和度を算出するための酸素飽和度算出用テーブル83が作成される。なお、信号比ln(B1/G2)の「ln」は自然対数である(信号比ln(R2/G2)も同様)。 As described above, the B1, G2, and R2 image signals all have brightness dependency, so by using the G2 image signal as the normalized signal, the oxygen saturation calculation table 83 for calculating oxygen saturation is created using the signal ratio ln(B1/G2) obtained by normalizing the B1 image signal with the G2 image signal and the signal ratio ln(R2/G2) obtained by normalizing the R2 image signal with the G2 image signal. Note that the "ln" in the signal ratio ln(B1/G2) is the natural logarithm (similar to the signal ratio ln(R2/G2)).

信号比ln(B1/G2)及び信号比ln(R2/G2)と酸素飽和度との関係を、信号比ln(R2/G2)をX軸、信号比ln(B1/G2)をY軸の2次元座標で表した場合、図16に示すように、酸素飽和度は、Y軸方向に沿った等高線ELで表される。等高線ELHは、酸素飽和度が「100%」であることを表していており、等高線ELLは、酸素飽和度が「0%」であることを表している。等高線ELHから等高線ELLに向けて、酸素飽和度が徐々に小さくなるように、等高線が分布している(図16では「80%」、「60%」、「40%」、「20%」の等高線が分布している)。 When the relationship between the signal ratio ln(B1/G2) and the signal ratio ln(R2/G2) and the oxygen saturation is expressed in two-dimensional coordinates with the signal ratio ln(R2/G2) on the X-axis and the signal ratio ln(B1/G2) on the Y-axis, as shown in FIG. 16, the oxygen saturation is represented by the contour line EL along the Y-axis direction. The contour line ELH represents an oxygen saturation level of "100%", and the contour line ELL represents an oxygen saturation level of "0%". The contour lines are distributed so that the oxygen saturation level gradually decreases from the contour line ELH to the contour line ELL (in FIG. 16, the contour lines of "80%, " "60%, " "40%, " and "20%" are distributed).

X軸の値(信号比ln(R2/G2))、Y軸の値(信号比ln(B1/G2))は、それぞれ酸素飽和度依存性、血液濃度依存性の影響を受ける。ただし、明るさ依存性に関しては、図17に示すように、X軸の値、Y軸の値はそれぞれG2画像信号で規格化されているため、影響を受けない「無」とされる。X軸の値については、酸素飽和度依存性は「中」程度であり、血液濃度依存性は「大」程度とされる。一方、Y軸の値については、酸素飽和度依存性は「大」程度であり、血液濃度依存性は「中」程度とされる。 The X-axis value (signal ratio ln(R2/G2)) and Y-axis value (signal ratio ln(B1/G2)) are affected by oxygen saturation dependency and blood concentration dependency, respectively. However, as for brightness dependency, as shown in FIG. 17, the X-axis value and the Y-axis value are each normalized by the G2 image signal, and therefore are considered to be "none," meaning that they are not affected. For the X-axis value, the oxygen saturation dependency is considered to be about "medium," and the blood concentration dependency is considered to be about "large." On the other hand, for the Y-axis value, the oxygen saturation dependency is considered to be about "large," and the blood concentration dependency is considered to be about "medium."

一方、内視鏡12を用いた観察対象において、黄色色素などの特定色素の影響を受ける現実的な場合には、図18に示すように、B1画像信号(「B1」と表記)、G2画像信号(「G2」と表記)、R2画像信号(「R2」と表記)は、それぞれ酸素飽和度依存性、血液濃度依存性、黄色色素依存性、又は、明るさ依存性の影響を受ける。B1画像信号は、黄色色素などの特定色素の濃度の変化により特定色素の吸光スペクトルが変化する画像情報を含んでいるため、黄色色素によって変化する黄色色素依存性が「大」程度である。これに対して、G2画像信号は、B1画像信号と比較すると、黄色色素による変化が少ないため、黄色色素依存性は「小~中」程度である。R1画像信号は、黄色色素による変化が少ないため、黄色色素依存性は「小」程度である。 On the other hand, in a realistic case where an object observed using the endoscope 12 is affected by a specific dye such as a yellow dye, as shown in FIG. 18, the B1 image signal (denoted as "B1"), G2 image signal (denoted as "G2"), and R2 image signal (denoted as "R2") are each affected by oxygen saturation dependency, blood concentration dependency, yellow dye dependency, or brightness dependency. The B1 image signal contains image information in which the absorption spectrum of a specific dye such as a yellow dye changes depending on the change in concentration, and therefore has a "large" degree of yellow dye dependency, which changes depending on the yellow dye. In contrast, the G2 image signal is less affected by the yellow dye compared to the B1 image signal, and therefore has a "small to medium" degree of yellow dye dependency. The R1 image signal is less affected by the yellow dye, and therefore has a "small" degree of yellow dye dependency.

また、信号比ln(R2/G2)をX軸、信号比ln(B1/G2)をY軸の2次元座標で表した場合、観察対象で同一の酸素飽和度を有する場合であっても、図19に示すように、黄色色素無しの場合の酸素飽和度StO2Aと、黄色色素有りの場合の酸素飽和度StO2bとは異なって表される。酸素飽和度StO2Bは、黄色色素の存在によって、見かけ上、酸素飽和度StO2Aよりも高くシフトしている。 When the signal ratio ln(R2/G2) is represented on the X-axis and the signal ratio ln(B1/G2) is represented on the Y-axis in two-dimensional coordinates, even if the subject has the same oxygen saturation, the oxygen saturation StO2A without the yellow dye and the oxygen saturation StO2b with the yellow dye are represented differently, as shown in FIG. 19. The oxygen saturation StO2B appears to be shifted higher than the oxygen saturation StO2A due to the presence of the yellow dye.

そこで、黄色色素依存性の場合にも酸素飽和度を正確に算出することができるようにするために、酸素飽和度の算出に際して、第3照明光画像に含まれるB3画像信号及びG3画像信号を用いる。B3画像信号は、第3照明光の中でBカラーフィルタBFを透過した光に関する画像情報が含まれている。B3画像信号(特定色素画像信号)には、黄色色素などのヘモグロビン以外の特定色素に感度を持つ波長帯域B3の画像情報が含まれる(図14参照)。B3画像信号は、B1画像信号ほど、特定色素に対する感度が大きくないものの、特定色素に対して一定の感度を有している。したがって、図20に示すように、B1画像信号が黄色色素の依存性が「大」であるのに対して、B3画像信号の黄色色素依存性は「中」程度である。なお、B3画像信号は、酸素飽和度依存性が「小」であり、血液濃度依存性が「大」であり、明るさ依存性が「有」りである。 Therefore, in order to accurately calculate the oxygen saturation even in the case of yellow pigment dependency, the B3 image signal and the G3 image signal included in the third illumination light image are used when calculating the oxygen saturation. The B3 image signal includes image information related to the light transmitted through the B color filter BF in the third illumination light. The B3 image signal (specific pigment image signal) includes image information of the wavelength band B3 that has sensitivity to specific pigments other than hemoglobin, such as yellow pigment (see FIG. 14). Although the B3 image signal is not as sensitive to the specific pigment as the B1 image signal, it has a certain degree of sensitivity to the specific pigment. Therefore, as shown in FIG. 20, the B1 image signal has a "large" dependency on the yellow pigment, while the B3 image signal has a "medium" dependency on the yellow pigment. Note that the B3 image signal has a "small" dependency on oxygen saturation, a "large" dependency on blood concentration, and a "present" dependency on brightness.

G3画像信号についても、B3画像信号ほど特定色素に感度を有しないものの、ある程度の特定色素に感度を持つ波長帯域G3の画像信号が含まれる(図14参照)。したがって、G3画像信号の黄色色素依存性は「小~中」程度である。なお、G3画像信号は、酸素飽和度依存性が「小」であり、血液濃度依存性が「大」であり、明るさ依存性が「有」である。また、B2画像信号についても、黄色色素依存性が「大」であるため、酸素飽和度の算出に際して、B3画像信号の代わりに、B2画像信号を用いてもよい。B2画像信号は、酸素飽和度依存性が「小」であり、血液濃度依存性が「大」であり、明るさ依存性が「有」である。 The G3 image signal also does not have as much sensitivity to the specific dye as the B3 image signal, but it does contain an image signal in the wavelength band G3 that has some sensitivity to the specific dye (see FIG. 14). Therefore, the yellow dye dependency of the G3 image signal is "small to medium". The G3 image signal has "small" oxygen saturation dependency, "large" blood concentration dependency, and "some" brightness dependency. The B2 image signal also has "large" yellow dye dependency, so the B2 image signal may be used instead of the B3 image signal when calculating oxygen saturation. The B2 image signal has "small" oxygen saturation dependency, "large" blood concentration dependency, and "some" brightness dependency.

信号比ln(B1/G2)及び信号比ln(R2/G2)と黄色色素と酸素飽和度との関係を、信号比ln(R2/G2)をX軸、信号比ln(B1/G2)をY軸、信号比ln(B3/G3)をZ軸の3次元座標で表した場合、図21に示すように、酸素飽和度を表す曲面CV0~CV4が、黄色色素の色素濃度に応じて、Z軸方向に分布される。曲面CV0は、黄色色素が濃度「0」(黄色色素の影響無し)の場合の酸素飽和度を表している。曲面CV1~CV4は、それぞれ黄色色素が濃度「1」~「4」の場合の酸素飽和度を表している。濃度の数字は、大きくなるほど、黄色色素の濃度が大きいことを表している。なお、曲面CV0~CV4に示すように、黄色色素の濃度が大きくなるほど、Z軸の値が低くなる方向に変化する。 When the relationship between the signal ratio ln(B1/G2) and the signal ratio ln(R2/G2), the yellow pigment, and the oxygen saturation is expressed in three-dimensional coordinates with the signal ratio ln(R2/G2) on the X-axis, the signal ratio ln(B1/G2) on the Y-axis, and the signal ratio ln(B3/G3) on the Z-axis, as shown in FIG. 21, the curved surfaces CV0 to CV4 representing the oxygen saturation are distributed in the Z-axis direction according to the pigment concentration of the yellow pigment. The curved surface CV0 represents the oxygen saturation when the yellow pigment has a concentration of "0" (no effect of the yellow pigment). The curved surfaces CV1 to CV4 represent the oxygen saturation when the yellow pigment has concentrations of "1" to "4", respectively. The higher the concentration number, the higher the concentration of the yellow pigment. Note that, as shown in the curved surfaces CV0 to CV4, the higher the concentration of the yellow pigment, the lower the Z-axis value changes.

図22(A)に示すように、X、Y、Zの3次元座標で表現された酸素飽和度の状態を、X、Yの2次元座標で表現した場合には、図22(B)に示すように、酸素飽和度の状態を表す領域AR0~AR4は、それぞれ黄色色素の濃度に応じて異なる位置に分布する。領域AR0~AR4は、それぞれ黄色色素の濃度が「0」~「4」の場合の酸素飽和度の分布を表している。これら領域AR0~AR4ごとに酸素飽和度を表す等高線ELを定めることによって、黄色色素の濃度に対応した酸素飽和度を求めることができる(図16参照)。なお、領域AR0~AR4に示すように、黄色色素の濃度が大きくなるほど、X軸の値が高くなり、Y軸の値が低くなる。 When the oxygen saturation state expressed in three-dimensional coordinates X, Y, and Z as shown in FIG. 22(A) is expressed in two-dimensional coordinates X and Y, as shown in FIG. 22(B), the areas AR0 to AR4 representing the oxygen saturation state are distributed at different positions according to the concentration of the yellow dye. Areas AR0 to AR4 represent the distribution of oxygen saturation when the concentration of the yellow dye is "0" to "4", respectively. By defining a contour line EL representing oxygen saturation for each of these areas AR0 to AR4, it is possible to obtain the oxygen saturation corresponding to the concentration of the yellow dye (see FIG. 16). Note that, as shown in areas AR0 to AR4, the higher the concentration of the yellow dye, the higher the value on the X axis and the lower the value on the Y axis.

なお、図23に示すように、X軸の値(信号比ln(R2/G2))、Y軸の値(信号比ln(B1/G2))、Z軸の値(信号比ln(B3/G3))は、黄色色素依存性を受ける。X軸の値の黄色色素依存性は「小~中」であり、Y軸の値の黄色色素依依存性は「大」であり、Z軸の値の黄色色素依存性は「中」である。また、Z軸の値については、酸素飽和度依存性が「小~中」であり、血液濃度依存性が「小~中」である。また、Z軸の値については、G3画像信号で規格化されていることから、明るさ依存性が「無」い。 As shown in FIG. 23, the X-axis value (signal ratio ln(R2/G2)), Y-axis value (signal ratio ln(B1/G2)), and Z-axis value (signal ratio ln(B3/G3)) are yellow pigment dependent. The X-axis value has a yellow pigment dependency of "small to medium", the Y-axis value has a yellow pigment dependency of "large", and the Z-axis value has a yellow pigment dependency of "medium". The Z-axis value has an oxygen saturation dependency of "small to medium" and a blood concentration dependency of "small to medium". The Z-axis value has no brightness dependency because it is normalized by the G3 image signal.

図24に示すように、拡張プロセッサ装置17は、酸素飽和度画像生成部61、特定色素濃度算出部62、テーブル補正部63、モード切替部64、表示態様制御部65、信頼度算出部66、第1補正判定部67、第2補正判定部68、判定報知部69を備えている。拡張プロセッサ装置17には、各種処理に関するプログラムがプログラム用メモリ(図示しない)に組み込まれている。プロセッサによって構成される中央制御部(図示しない)がプログラム用メモリ内のプログラムを実行することによって、酸素飽和度画像生成部61、特定色素濃度算出部62、テーブル補正部63、モード切替部64、表示態様制御部65、信頼度算出部66、第1補正判定部67、第2補正判定部68、判定報知部69の機能が実現する。 24, the extended processor device 17 includes an oxygen saturation image generating unit 61, a specific dye concentration calculating unit 62, a table correcting unit 63, a mode switching unit 64, a display mode control unit 65, a reliability calculating unit 66, a first correction determining unit 67, a second correction determining unit 68, and a determination notifying unit 69. The extended processor device 17 has programs related to various processes built into a program memory (not shown). The functions of the oxygen saturation image generating unit 61, the specific dye concentration calculating unit 62, the table correcting unit 63, the mode switching unit 64, the display mode control unit 65, the reliability calculating unit 66, the first correction determining unit 67, the second correction determining unit 68, and the determination notifying unit 69 are realized by a central control unit (not shown) configured by a processor executing the programs in the program memory.

酸素飽和度画像生成部61は、ベース画像生成部70と、演算値算出部71と、酸素飽和度算出部72と、酸素飽和度算出用テーブル73と、色調調整部74とを備えている。ベース画像生成部70は、プロセッサ装置14からの画像信号に基づいて、ベース画像を生成する。ベース画像は、観察対象の形状など形態情報を把握することができる画像であることが好ましい。ベース画像は、B2画像信号、G2画像信号、及び、R2画像信号から構成される。なお、ベース画像は、狭帯域光などによって、血管又は構造(腺管構造)などを強調表示された狭帯域光画像であってもよい。 The oxygen saturation image generating unit 61 includes a base image generating unit 70, a calculation value calculating unit 71, an oxygen saturation calculating unit 72, an oxygen saturation calculation table 73, and a color adjusting unit 74. The base image generating unit 70 generates a base image based on an image signal from the processor device 14. The base image is preferably an image that can grasp morphological information such as the shape of the observation target. The base image is composed of a B2 image signal, a G2 image signal, and an R2 image signal. The base image may be a narrowband light image in which blood vessels or structures (ductal structures) are highlighted by narrowband light or the like.

演算値算出部71は、酸素飽和度用画像信号に含まれるB1画像信号、G2画像信号、R2画像信号に基づく演算処理によって演算値を算出する。具体的には、演算値算出部71は、酸素飽和度の算出に用いる演算値として、B1画像信号とG2画像信号の信号比B1/G2と、R2画像信号とG2画像信号の信号比R2/G2とを算出する。なお、信号比B1/G2と信号比R2/G2については、それぞれ対数化(ln)することが好ましい。また、演算値としては、B1画像信号、G2画像信号、及びR2画像信号から算出される色差信号Cr、Cb、又は、彩度S、色相Hなどを用いてもよい。 The calculation value calculation unit 71 calculates the calculation value by calculation processing based on the B1 image signal, G2 image signal, and R2 image signal included in the oxygen saturation image signal. Specifically, the calculation value calculation unit 71 calculates the signal ratio B1/G2 between the B1 image signal and the G2 image signal, and the signal ratio R2/G2 between the R2 image signal and the G2 image signal as calculation values used to calculate the oxygen saturation. Note that it is preferable to logarithmize (ln) the signal ratios B1/G2 and R2/G2, respectively. In addition, the color difference signals Cr and Cb calculated from the B1 image signal, G2 image signal, and R2 image signal, or saturation S, hue H, etc. may be used as the calculation value.

酸素飽和度算出部72は、酸素飽和度算出用テーブル73を参照し、演算値に基づいて、酸素飽和度を算出する。酸素飽和度算出用テーブル73には、演算値の一つである信号比B1/G2、R2/G2と、酸素飽和度との相関関係が記憶されている。相関関係については、信号比ln(B1/G2)を縦軸、信号比ln(R2/G2)を横軸の2次元座標で表現した場合には、酸素飽和度の状態は横軸方向に延びた等高線ELで表現され、酸素飽和度が異なると等高線ELは縦軸方向に異なる位置に分布する(図16参照)。 The oxygen saturation calculation unit 72 refers to the oxygen saturation calculation table 73 and calculates the oxygen saturation based on the calculated value. The oxygen saturation calculation table 73 stores the correlation between the signal ratios B1/G2 and R2/G2, which are one of the calculated values, and the oxygen saturation. When the correlation is expressed in two-dimensional coordinates with the signal ratio ln(B1/G2) on the vertical axis and the signal ratio ln(R2/G2) on the horizontal axis, the state of oxygen saturation is expressed by the contour line EL extending in the horizontal axis direction, and when the oxygen saturation differs, the contour line EL is distributed at different positions in the vertical axis direction (see FIG. 16).

酸素飽和度算出部72は、酸素飽和度算出用テーブル73を参照し、信号比B1/G2,R2/G2に対応する酸素飽和度を画素毎に算出する。例えば、図25に示すように、特定の画素の信号比がln(B1/G2)、ln(R2/G2)である場合には、信号比がln(B1/G2)、ln(R2/G2)に対応する酸素飽和度は「40%」である。したがって、酸素飽和度算出部72は、特定の画素の酸素飽和度を「40%」と算出する。 The oxygen saturation calculation unit 72 refers to the oxygen saturation calculation table 73 and calculates the oxygen saturation corresponding to the signal ratios B1/G2 and R2/G2 for each pixel. For example, as shown in Fig. 25, when the signal ratios of a specific pixel are ln(B1 * /G2 * ) and ln(R2 * /G2 * ), the oxygen saturation corresponding to the signal ratios ln(B1 * /G2 * ) and ln(R2 * /G2 * ) is "40%". Therefore, the oxygen saturation calculation unit 72 calculates the oxygen saturation of the specific pixel to be "40%".

色調調整部74は、酸素飽和度算出部72で算出した酸素飽和度を用いて、ベース画像の色調を変化させる合成色処理を行うことによって、酸素飽和度画像を生成する。色調調整部74では、ベース画像において、酸素飽和度が閾値を超えている領域については、色調を維持し、酸素飽和度が閾値以下の領域については、酸素飽和度に応じて変化する色調に変更する。これにより、酸素飽和度が閾値を超える正常な部位の色調は維持する一方、酸素飽和度が低くなる閾値以下の異常な部位の色調のみを変化させているため、正常な部位の形態情報を観察可能な状況下で、異常な部位の酸素状態を把握することが可能となる。 The color tone adjustment unit 74 generates an oxygen saturation image by performing composite color processing that changes the color tone of the base image using the oxygen saturation calculated by the oxygen saturation calculation unit 72. The color tone adjustment unit 74 maintains the color tone of areas in the base image where the oxygen saturation exceeds a threshold, and changes the color tone of areas where the oxygen saturation is below the threshold to a color tone that changes according to the oxygen saturation. This maintains the color tone of normal areas where the oxygen saturation exceeds the threshold, while changing only the color tone of abnormal areas where the oxygen saturation is below the threshold and becomes low, making it possible to grasp the oxygen status of abnormal areas under conditions where morphological information of normal areas can be observed.

なお、色調調整部74においては、酸素飽和度の大小に関わらず、酸素飽和度に応じた色を割り当てた疑似カラー処理によって、酸素飽和度画像を生成してもよい。疑似カラー処理を行う場合には、ベース画像は不要となる。 In addition, the color tone adjustment unit 74 may generate an oxygen saturation image by pseudo-color processing that assigns colors according to the oxygen saturation level, regardless of the level of oxygen saturation. When performing pseudo-color processing, the base image is not necessary.

特定色素濃度算出部62は、補正モードにおいて、観察対象に含まれる色素のうち血中ヘモグロビン以外の特定色素に感度を持つ波長帯域の画像情報を含む特定色素画像信号に基づいて、特定色素濃度を算出する。特定色素としては、例えば、ビリルビンなどの黄色色素が含まれる。特定色素画像信号には、少なくともB3画像信号を含めることが好ましい。具体的には、特定色素濃度算出部62は、信号比ln(B1/G2)、ln(G2/R2)、ln(B3/G3)を算出する。そして、特定色素濃度算出部62は、特定色素濃度算出用テーブル62aを参照して、信号比ln(B1/G2)、ln(G2/R2)、ln(B3/G3)に対応する特定色素濃度を算出する。 In the correction mode, the specific dye concentration calculation unit 62 calculates the specific dye concentration based on the specific dye image signal including image information of a wavelength band that has sensitivity to a specific dye other than hemoglobin in blood among the dyes contained in the observation subject. The specific dye includes, for example, a yellow dye such as bilirubin. The specific dye image signal preferably includes at least a B3 image signal. Specifically, the specific dye concentration calculation unit 62 calculates the signal ratios ln(B1/G2), ln(G2/R2), and ln(B3/G3). The specific dye concentration calculation unit 62 then refers to the specific dye concentration calculation table 62a to calculate the specific dye concentrations corresponding to the signal ratios ln(B1/G2), ln(G2/R2), and ln(B3/G3).

特定色素濃度算出用テーブル62aには信号比ln(B1/G2)、ln(G2/R2)、ln(B3/G3)と特定色素濃度との相関関係が記憶されている。例えば、信号比ln(B1/G2)、ln(G2/R2)、ln(B3/G3)の範囲を5段階に分けた場合には、それら5段階の範囲の信号比ln(B1/G2)、ln(G2/R2)、ln(B3/G3)に対して、それぞれ特定色素濃度が「0」~「4」が対応付けて特定色素濃度算出用テーブル62aに記憶されている。なお、信号比B3/G3については、対数化(ln)することが好ましい。 The specific dye concentration calculation table 62a stores the correlation between the signal ratios ln(B1/G2), ln(G2/R2), and ln(B3/G3) and the specific dye concentrations. For example, if the ranges of the signal ratios ln(B1/G2), ln(G2/R2), and ln(B3/G3) are divided into five stages, the specific dye concentrations "0" to "4" are associated with the signal ratios ln(B1/G2), ln(G2/R2), and ln(B3/G3) in the five stages and stored in the specific dye concentration calculation table 62a. Note that it is preferable to logarithmize (ln) the signal ratio B3/G3.

テーブル補正部63は、補正モード時に行う補正処理として、特定色素濃度に基づいて、酸素飽和度算出用テーブル73を補正するテーブル補正処理を行う。テーブル補正処理では、酸素飽和度算出用テーブル73で記憶されている信号比B1/G2、R2/G2と酸素飽和度との相関関係を補正する。具体的には、テーブル補正部63は、特定色素濃度が「2」の場合において、図26に示すように、特定色素濃度に応じて定められる領域AR0~AR4のうち、特定色素濃度が「2」に対応する領域AR2において、酸素飽和度の状態を表す等高線ELを生成する。テーブル補正部63は、生成された等高線ELになるように、酸素飽和度算出用テーブル73を補正する。 The table correction unit 63 performs table correction processing to correct the oxygen saturation calculation table 73 based on the specific dye concentration as a correction processing performed in the correction mode. In the table correction processing, the correlation between the signal ratios B1/G2 and R2/G2 stored in the oxygen saturation calculation table 73 and the oxygen saturation is corrected. Specifically, when the specific dye concentration is "2", the table correction unit 63 generates a contour line EL representing the state of oxygen saturation in the area AR2 corresponding to the specific dye concentration "2" among the areas AR0 to AR4 determined according to the specific dye concentration as shown in FIG. 26. The table correction unit 63 corrects the oxygen saturation calculation table 73 to the generated contour line EL.

本実施形態では、補正モードにおいては、図27に示すように、補正用画像80が拡張ディスプレイ18に表示され、補正用画像80には、特定色素濃度の算出に使用する特定領域81が表示されている。特定領域81の形状は、円の他、楕円、矩形などであってもよい。特定領域81の位置は、画面中央であることが好ましいが、その他の位置であってもよい。ユーザーは、補正用画像を観察しながら、酸素飽和度算出用テーブル73の補正に適した領域が特定領域81内に入るように、内視鏡12を操作する。そして、補正に適した領域が特定領域81内に入った場合には、ユーザーは、プロセッサ側ユーザーインターフェース16又はスコープ側ユーザーインターフェース19を用いて、補正操作を行う。テーブル補正部63は、補正操作が行われたタイミングの特定領域内の特定色素濃度を用いて、酸素飽和度算出用テーブル73の補正を行う。特定領域内の特定色素濃度については、特定領域内の各画素における特定色素濃度の平均値とすることが好ましく、また、後述の信頼度算出部66で算出した信頼度に応じて特定色素濃度を重み付けした荷重平均値とすることが好ましい。 In the present embodiment, in the correction mode, as shown in FIG. 27, a correction image 80 is displayed on the extended display 18, and a specific region 81 used to calculate the specific dye concentration is displayed on the correction image 80. The shape of the specific region 81 may be a circle, an ellipse, a rectangle, or the like. The position of the specific region 81 is preferably the center of the screen, but may be other positions. While observing the correction image, the user operates the endoscope 12 so that the region suitable for correction of the oxygen saturation calculation table 73 falls within the specific region 81. Then, when the region suitable for correction falls within the specific region 81, the user performs a correction operation using the processor-side user interface 16 or the scope-side user interface 19. The table correction unit 63 corrects the oxygen saturation calculation table 73 using the specific dye concentration in the specific region at the time the correction operation is performed. The specific dye concentration in the specific region is preferably the average value of the specific dye concentration in each pixel in the specific region, and is preferably a weighted average value obtained by weighting the specific dye concentration according to the reliability calculated by the reliability calculation unit 66 described later.

なお、本実施形態では、酸素飽和度算出用テーブル73の補正に適した領域として、酸素飽和度の算出に影響を与える外乱の影響が少ない適正補正領域が明確に表示されるようにし、且つ、補正操作によってユーザーが適正補正領域を選択することができるようにするために、補正支援が行われる。補正支援の詳細については後述する。 In this embodiment, correction assistance is provided so that an appropriate correction area that is less affected by disturbances that affect the calculation of oxygen saturation is clearly displayed as an area suitable for correcting the oxygen saturation calculation table 73, and so that the user can select the appropriate correction area by performing a correction operation. The details of the correction assistance will be described later.

モード切替部64は、ユーザーによってモード切替スイッチ12fの操作に従って、酸素飽和度モードと補正モードの切り替えを行う。モードの切り替えによって、酸素飽和度モードに切り替えられた場合には、酸素飽和度画像生成部61において酸素飽和度画像を生成する。補正モードに切り替えられた場合には、補正処理を行うための補正操作を受け付け可能状態にし、補正操作に従って、補正処理を実行する。 The mode switching unit 64 switches between the oxygen saturation mode and the correction mode in accordance with the operation of the mode switching switch 12f by the user. When the mode is switched to the oxygen saturation mode, the oxygen saturation image generating unit 61 generates an oxygen saturation image. When the mode is switched to the correction mode, the correction operation for performing the correction process is made available for acceptance, and the correction process is executed in accordance with the correction operation.

補正モードにおける補正支援について以下説明する。補正モードに切り替えられると、補正用画像80が拡張ディスプレイ18に表示され、特定色素濃度の算出に用いる特定領域81が拡張ディスプレイ18に表示される(図27参照)。表示態様制御部65は、補正操作によってユーザーが適正補正領域を選択することができるようにするために、補正用画像の表示態様を変更し、又は、酸素補飽和度の算出に関する信頼度に応じて、特定領域の表示態様を変更することの少なくともいずれかを行う。なお、補正用画像は、B1画像信号、G1画像信号、及び、R1画像信号からなるカラー画像であることが好ましいが、その他の画像であってもよい。 The correction support in the correction mode will be described below. When the correction mode is switched to, a correction image 80 is displayed on the extended display 18, and a specific region 81 used to calculate the specific dye concentration is displayed on the extended display 18 (see FIG. 27). The display mode control unit 65 at least changes the display mode of the correction image so that the user can select the appropriate correction region by a correction operation, or changes the display mode of the specific region according to the reliability of the calculation of oxygen subsaturation. Note that the correction image is preferably a color image consisting of a B1 image signal, a G1 image signal, and an R1 image signal, but may be other images.

なお、残渣や出血、脂肪、残渣、粘液が薄く粘膜上に乗っかっている場合や、白色光相当画像上では視認しにくいことで補正処理を適切に行えるかどうか判断しにくい場合があるため、下記の信頼度の大きさに関わらず、表示態様制御部65によって、以下のような補正用画像を生成することが好ましい。例えば、残渣や出血、脂肪、残渣、粘液を視認しやすくするために、表示態様制御部65は、白色光相当画像などの画像を彩度強調した補正用画像を生成することが好ましい。また、管腔等の暗くて信号強度が十分でないところをより暗くするために、表示態様制御部65は、暗部の輝度を低くした補正用画像を生成することが好ましい。 In addition, when residue, bleeding, fat, residue, or mucus is thinly layered on the mucosa, or when it is difficult to determine whether correction processing can be performed appropriately because it is difficult to see on the white light equivalent image, it is preferable for the display mode control unit 65 to generate a correction image as follows, regardless of the level of reliability described below. For example, in order to make it easier to see residue, bleeding, fat, residue, and mucus, it is preferable for the display mode control unit 65 to generate a correction image in which the saturation of an image such as a white light equivalent image is emphasized. Also, in order to make dark areas such as the lumen where the signal strength is insufficient darker, it is preferable for the display mode control unit 65 to generate a correction image in which the brightness of dark areas is reduced.

また、補正用画像は信頼度に応じて表示態様を変更してもよい。具体的には、表示態様制御部65は、酸素飽和度の算出に関する信頼度が低い低信頼度領域と信頼度が高い高信頼度領域との違いが強調されるように、補正用画像80の表示態様を変更する。信頼度は、各画素における酸素飽和度の算出精度を表しており、大きいほど、酸素飽和度の算出精度が良いこと表している。低信頼度領域は、信頼度が信頼度用閾値未満の領域である。高信頼度領域は、信頼度が信頼度用閾値以上の領域である。補正用画像において、低信頼度領域と高信頼度領域の違いを強調することによって、特定領域の内部に、低信頼度領域を避けて、高信頼度領域に入るようにすることができる。 The display mode of the correction image may be changed according to the reliability. Specifically, the display mode control unit 65 changes the display mode of the correction image 80 so as to emphasize the difference between a low reliability region, which has a low reliability for the calculation of oxygen saturation, and a high reliability region, which has a high reliability. The reliability represents the calculation accuracy of the oxygen saturation in each pixel, and the higher the reliability, the better the calculation accuracy of the oxygen saturation. A low reliability region is a region where the reliability is less than a reliability threshold. A high reliability region is a region where the reliability is equal to or greater than the reliability threshold. By emphasizing the difference between the low reliability region and the high reliability region in the correction image, it is possible to avoid the low reliability region and enter the high reliability region inside a specific region.

信頼度は、信頼度算出部66において算出される。具体的には、信頼度算出部66は、第1照明光画像に含まれるB1画像信号、G1画像信号、R1画像信号、又は、第2照明光画像に含まれるB2画像信号、G2画像信号、R2画像信号に基づいて、酸素飽和度の算出に影響を与える少なくとも1つの信頼度を算出する。信頼度は、例えば、0から1の間の少数で表される。信頼度算出部66において複数種類の信頼度を算出する場合には、各画素の信頼度は、複数種類の信頼度のうち最小値の信頼度を採用することが好ましい。 The reliability is calculated by the reliability calculation unit 66. Specifically, the reliability calculation unit 66 calculates at least one reliability that affects the calculation of oxygen saturation based on the B1 image signal, G1 image signal, and R1 image signal contained in the first illumination light image, or the B2 image signal, G2 image signal, and R2 image signal contained in the second illumination light image. The reliability is expressed, for example, as a decimal between 0 and 1. When multiple types of reliability are calculated by the reliability calculation unit 66, it is preferable to adopt the minimum reliability among the multiple types of reliability as the reliability of each pixel.

例えば、酸素飽和度の算出精度に影響を与える輝度値については、図28に示すように、G2画像信号の輝度値が一定範囲Rx外の信頼度は、G2画像信号の輝度値が一定範囲Rx内の信頼度よりも低くなっている。一定範囲Rx外の場合とは、ハレーションなどの高輝度値である場合の他、暗部などの極小輝度値の場合である。このように一定範囲Rx外の場合には、酸素飽和度の算出精度が低くなっているため、それに応じて信頼度も低くなっている。なお、G2画像信号の代わりに、G1画像信号の輝度値で信頼度を算出してもよい。 For example, as shown in FIG. 28, for brightness values that affect the accuracy of oxygen saturation calculation, the reliability of the brightness value of the G2 image signal outside a certain range Rx is lower than the reliability of the brightness value of the G2 image signal within the certain range Rx. Outside the certain range Rx includes high brightness values such as halation, as well as extremely small brightness values such as dark areas. In this way, outside the certain range Rx, the accuracy of oxygen saturation calculation is low, and the reliability is accordingly low. Note that the reliability may be calculated using the brightness value of the G1 image signal instead of the G2 image signal.

また、酸素飽和度の算出精度に影響を与える外乱としては、出血、脂肪、残渣、粘液、又は残液が少なくとも含まれ、これら外乱によっても信頼度は変動する。上記外乱の一つである出血については、図29に示すように、縦軸ln(B2/G2)、横軸ln(R2/G2)からなる二次元平面において、定義線DFXからの距離に応じて信頼度が定められている。ここでは、B2画像信号、G2画像信号、R2画像信号に基づいて二次元平面上でプロットした座標が、定義線DFXから離れるほど信頼度が低くなっている。例えば、二次元平面上でプロットした座標が、右下ほど、信頼度は低くなる。なお、図29おいて、lnは自然対数を表している。B2/G2はB2画像信号とG2画像信号との信号比を、R2/G2はR2画像信号とG2画像信号との信号比を表している。 Disturbances that affect the accuracy of oxygen saturation calculation include at least bleeding, fat, residue, mucus, or residual fluid, and these disturbances also affect the reliability. As for bleeding, which is one of the disturbances, as shown in FIG. 29, the reliability is determined according to the distance from the defined line DFX on a two-dimensional plane consisting of the vertical axis ln (B2/G2) and the horizontal axis ln (R2/G2). Here, the reliability decreases as the coordinates plotted on the two-dimensional plane based on the B2 image signal, G2 image signal, and R2 image signal are farther away from the defined line DFX. For example, the reliability decreases as the coordinates plotted on the two-dimensional plane are located to the lower right. In FIG. 29, ln represents the natural logarithm. B2/G2 represents the signal ratio between the B2 image signal and the G2 image signal, and R2/G2 represents the signal ratio between the R2 image signal and the G2 image signal.

また、上記外乱に含まれる脂肪、又は、残渣、残液、粘液については、図30に示すように、縦軸ln(B1/G1)、横軸ln(R1/G1)からなる二次元平面において、定義線DFYからの距離に応じて信頼度が定められている。ここでは、B1画像信号、G1画像信号、R1画像信号に基づいて二次元平面上でプロットした座標が、定義線DFYから離れるほど信頼度が低くなっている。例えば、二次元平面でプロットした座標が左下ほど、信頼度は低くなる。なお、図30において、lnは自然対数を表している。B1/G1はB1画像信号とG1画像信号との信号比を、R1/G1はR2画像信号とG2画像信号との信号比を表している。 As shown in FIG. 30, the reliability of fat, residue, residual liquid, and mucus contained in the disturbance is determined according to the distance from the defined line DFY on a two-dimensional plane consisting of the vertical axis ln (B1/G1) and the horizontal axis ln (R1/G1). Here, the reliability decreases as the coordinates plotted on the two-dimensional plane based on the B1, G1, and R1 image signals are farther away from the defined line DFY. For example, the reliability decreases as the coordinates plotted on the two-dimensional plane are further to the lower left. In FIG. 30, ln represents the natural logarithm. B1/G1 represents the signal ratio between the B1 and G1 image signals, and R1/G1 represents the signal ratio between the R2 and G2 image signals.

表示態様制御部65によって低信頼度領域と高信頼度領域の違いを強調する方法の一つとして、表示態様制御部65は、図31に示すように、低信頼度領域82aの彩度を高信頼度領域82bの彩度よりも高くする。これにより、ユーザーは、特定領域81として、低信頼度領域82aを避けて、高信頼度領域82bを選択しやすくなる。また、表示態様制御部65は、低信頼度領域82aのうち暗部BAの輝度を低くする。これにより、特定領域81の選択に際して、暗部BAを避けやすくなる。暗部とは、輝度値が一定値以下の暗い領域である。なお、低信頼度領域82aと高信頼度領域82bとはそれぞれ反対色であってもよい。 As one method for the display mode control unit 65 to emphasize the difference between the low reliability region and the high reliability region, the display mode control unit 65 makes the saturation of the low reliability region 82a higher than that of the high reliability region 82b, as shown in FIG. 31. This makes it easier for the user to select the high reliability region 82b as the specific region 81, avoiding the low reliability region 82a. In addition, the display mode control unit 65 lowers the luminance of the dark area BA of the low reliability region 82a. This makes it easier to avoid the dark area BA when selecting the specific region 81. A dark area is a dark area with a luminance value equal to or lower than a certain value. Note that the low reliability region 82a and the high reliability region 82b may be of opposite colors.

また、表示態様制御部65は、低信頼度領域に領域強調線を重畳表示すること、又は、低信頼度領域82aをモノクロ表示にすることの少なくともいずれかを行うことが好ましい。例えば、図32に示すように、低信頼度領域82aにおいて、領域強調線として、一定間隔の斜め線を重畳表示することが好ましい。これにより、ユーザーは、特定領域81として、低信頼度領域82aを避けて、高信頼度領域82bを選択しやすくなる。なお、領域強調線は、一定間隔の斜め線としているが、その他、信頼度に応じて、斜め線の間隔を変動させてもよい。 The display mode control unit 65 preferably at least either superimposes area highlighting lines on the low reliability area or displays the low reliability area 82a in monochrome. For example, as shown in FIG. 32, it is preferable to superimpose diagonal lines at regular intervals as area highlighting lines on the low reliability area 82a. This makes it easier for the user to select the high reliability area 82b as the specific area 81, avoiding the low reliability area 82a. Note that although the area highlighting lines are diagonal lines at regular intervals, the interval between the diagonal lines may be varied depending on the reliability.

表示態様制御部65は、特定領域内の信頼度に応じて、特定領域の表示態様を変更することが好ましい。補正モードにおいて補正操作が行われる前の段階では、第1補正判定部67において、特定領域内の信頼度に基づいて、補正処理を適正に行えるか否かを判定する。第1補正判定部67では、特定領域内の画素について信頼度が信頼度用閾値以上の有効画素の数が一定値以上である場合には、補正処理を適正に行えると判定する。一方、特定領域内の画素について有効画素の数が一定値未満の場合には、補正処理を適正に行えないと判定する。なお、第1補正判定部67は、補正操作が行われるまでの間、画像を取得して信頼度を算出する毎に、判定を行うことが好ましい。判定を行う周期は、適宜変更してもよい。 It is preferable that the display mode control unit 65 changes the display mode of the specific region according to the reliability within the specific region. Before a correction operation is performed in the correction mode, the first correction determination unit 67 determines whether or not the correction process can be performed properly based on the reliability within the specific region. If the number of valid pixels with a reliability equal to or greater than the reliability threshold for pixels within the specific region is equal to or greater than a certain value, the first correction determination unit 67 determines that the correction process can be performed properly. On the other hand, if the number of valid pixels for pixels within the specific region is less than the certain value, it determines that the correction process cannot be performed properly. Note that it is preferable that the first correction determination unit 67 performs a determination each time an image is acquired and a reliability is calculated until a correction operation is performed. The cycle for making the determination may be changed as appropriate.

表示態様制御部65は、第1補正判定部67において、補正処理を適正に行えると判定された場合の特定領域の表示態様と、補正処理を適正に行えないと判定された場合の特定領域の表示態様とを異ならせることが好ましい。例えば、図33(A)に示すように、第1補正判定部67において補正処理を適正に行えると判定された場合には、特定領域81を第1色で強調表示する。一方、図33(B)に示すように、第1補正判定部67において補正処理を適正に行えないと判定された場合には、特定領域81を、第1色と異なる第2色で強調表示する。第1色と第2色は、適正か否かを把握しやすくするために、それぞれ反対色であることが好ましい。 It is preferable that the display mode control unit 65 differentiates the display mode of the specific region when the first correction determination unit 67 determines that the correction process can be performed properly from the display mode of the specific region when the first correction determination unit 67 determines that the correction process cannot be performed properly. For example, as shown in FIG. 33(A), when the first correction determination unit 67 determines that the correction process can be performed properly, the specific region 81 is highlighted in a first color. On the other hand, as shown in FIG. 33(B), when the first correction determination unit 67 determines that the correction process cannot be performed properly, the specific region 81 is highlighted in a second color different from the first color. It is preferable that the first and second colors are opposite colors to make it easier to understand whether the correction process is proper or not.

一方、補正モードにおいて補正操作が行われた段階では、第2補正判定部68において、補正操作が行われたタイミングの特定領域内の信頼度に基づいて、補正処理を適正に行えるか否かを判定する。第2補正判定部68は、第1補正判定部67と同様に、判定を行う。判定報知部69は、第2補正判定部68の判定に関する報知を行う。 On the other hand, when a correction operation is performed in the correction mode, the second correction determination unit 68 determines whether or not the correction process can be performed appropriately based on the reliability within the specific area at the time when the correction operation is performed. The second correction determination unit 68 performs a determination in the same manner as the first correction determination unit 67. The determination notification unit 69 notifies the user of the determination of the second correction determination unit 68.

判定報知部69は、第2補正判定部68において、補正処理を適正に行うことができると判定された場合には、補正処理を適正に行うことができる旨の報知を行う。例えば、図34に示すように、「補正処理は適正に行われます」といったメッセージMS1を拡張ディスプレイ18に表示する。この場合、テーブル補正部63は、補正処理として、特定領域内の特定色素濃度に基づいて、テーブル補正処理を行う。 When the second correction judgment unit 68 judges that the correction process can be performed properly, the judgment notification unit 69 notifies the user that the correction process can be performed properly. For example, as shown in FIG. 34, a message MS1 such as "Correction process will be performed properly" is displayed on the extended display 18. In this case, the table correction unit 63 performs table correction process based on the specific dye concentration in the specific region as the correction process.

一方、判定報知部69は、第2補正判定部68において、補正処理を適正に行うことができないと判定された場合には、補正処理を適正に行うことができないため、再度の補正操作が必要である旨の報知を行う。例えば、図35に示すように、「彩度の補正操作が必要です」といったメッセージMS2を拡張ディスプレイ18に表示する。この場合には、判定報知部69は、メッセージMS2に加えて又は代えて、適正なテーブル補正処理を行うための操作ガイダンスGDを報知することが好ましい。例えば、操作ガイダンスGDとして、「暗部を避けて下さい」といった操作ガイダンスを拡張ディスプレイ18に表示することが好ましい。その他の操作ガイダンスとしては、「出血、残液、脂肪等を避けて下さい」などの操作ガイダンスがある。 On the other hand, when the second correction judgment unit 68 judges that the correction process cannot be performed properly, the judgment notification unit 69 issues a notice that the correction process cannot be performed properly and therefore another correction operation is necessary. For example, as shown in FIG. 35, a message MS2 such as "Saturation correction operation is required" is displayed on the extended display 18. In this case, it is preferable that the judgment notification unit 69 notifies an operation guidance GD for performing a proper table correction process in addition to or instead of the message MS2. For example, it is preferable to display an operation guidance GD such as "Avoid dark areas" on the extended display 18 as the operation guidance GD. Other operation guidance includes an operation guidance such as "Avoid bleeding, residual fluid, fat, etc.".

次に、補正モードにおける一連の流れについて、図36のフローチャートに沿って説明を行う。ユーザーがモード切替スイッチ12fを操作することによって、補正モードに切り替えられる。補正モードでは、補正モードに切り替えられると、拡張ディスプレイ18には、補正用画像80が表示され、且つ、特定領域81が表示される。また、特定領域81に含まれる血中ヘモグロビン以外の特定色素の特定色素濃度に基づいて、酸素飽和度算出に関する補正処理が実行可能状態となる。 Next, a series of steps in the correction mode will be explained with reference to the flowchart in FIG. 36. The user operates the mode change switch 12f to switch to the correction mode. When the correction mode is switched to, a correction image 80 is displayed on the extended display 18, and a specific region 81 is also displayed. In addition, based on the specific dye concentration of a specific dye other than blood hemoglobin contained in the specific region 81, a correction process for calculating oxygen saturation becomes executable.

補正モードにおいては、ユーザーによる特定領域の選択を容易にするために、補正用画像80の表示態様を変更すること、又は、酸素飽和度の算出に関する信頼度に応じて、特定領域81の表示態様を変更することの少なくともいずれかを行う。ユーザーは、酸素飽和度の算出に影響を与える外乱の影響が少ない適正補正領域が特定領域81内に入った場合には、プロセッサ側ユーザーインターフェース16又はスコープ側ユーザーインターフェース19を用いて補正操作を行う。補正操作が行われたタイミングの特定領域内の特定色素濃度に基づいて、補正処理が行われる。補正処理が完了すると、酸素飽和度モードに手動又は自動で切り替えられる。 In the correction mode, in order to make it easier for the user to select a specific region, at least one of the following is performed: the display mode of the correction image 80 is changed, or the display mode of the specific region 81 is changed depending on the reliability of the oxygen saturation calculation. When an appropriate correction region that is less affected by external disturbances that affect the oxygen saturation calculation falls within the specific region 81, the user performs a correction operation using the processor-side user interface 16 or the scope-side user interface 19. Correction processing is performed based on the specific dye concentration in the specific region at the time the correction operation is performed. When the correction processing is completed, the mode can be switched to the oxygen saturation mode manually or automatically.

[第2実施形態]
第2実施形態においては、第1実施形態に示すLED20a~20eの代わりに、キセノンランプなどの広帯域光源と回転フィルタを用いて観察対象の照明を行ってもよい。この場合には、図37に示すように、内視鏡システム100において、光源装置13において、LED20a~20eに代えて、広帯域光源102、回転フィルタ104、フィルタ切替部105が設けられる。また、撮像光学系31には、カラーの撮像センサ36の代わりに、カラーフィルタが設けられていないモノクロの撮像センサ106が設けられている。それ以外については、上記内視鏡システム10と同様である。
[Second embodiment]
In the second embodiment, instead of the LEDs 20a to 20e shown in the first embodiment, a broadband light source such as a xenon lamp and a rotary filter may be used to illuminate the observation target. In this case, as shown in Fig. 37, in the endoscope system 100, a broadband light source 102, a rotary filter 104, and a filter switching unit 105 are provided in the light source device 13 instead of the LEDs 20a to 20e. Also, in the imaging optical system 31, a monochrome imaging sensor 106 without a color filter is provided instead of the color imaging sensor 36. The rest is the same as the endoscope system 10 described above.

広帯域光源102はキセノンランプ、白色LEDなどであり、波長域が青色から赤色に及ぶ白色光を発する。回転フィルタ104は、内側に設けられた内側フィルタ108と、外側に設けられた外側フィルタ109とを備えている(図38参照)。フィルタ切替部105は、回転フィルタ104を径方向に移動させるものであり、モード切替スイッチ12fにより通常モードにセットしたときに、回転フィルタ104の内側フィルタ108を白色光の光路に挿入し、酸素飽和度モード又は補正モードにセットしたときに、回転フィルタ104の外側フィルタ109を白色光の光路に挿入する。 The broadband light source 102 is a xenon lamp, a white LED, or the like, and emits white light with a wavelength range from blue to red. The rotating filter 104 has an inner filter 108 provided on the inside and an outer filter 109 provided on the outside (see FIG. 38). The filter switching unit 105 moves the rotating filter 104 in the radial direction, and when the normal mode is set by the mode switching switch 12f, the inner filter 108 of the rotating filter 104 is inserted into the optical path of the white light, and when the oxygen saturation mode or correction mode is set, the outer filter 109 of the rotating filter 104 is inserted into the optical path of the white light.

図38に示すように、内側フィルタ108には、周方向に沿って、白色光のうち紫色光V及び第2青色光BSを透過させるB1フィルタ108a、白色光のうち緑色光Gを透過させるGフィルタ108b、白色光のうち赤色光Rを透過させるRフィルタ108cが設けられている。したがって、通常モード時には、回転フィルタ104の回転により、紫色光V及び第2青色光BS、緑色光G、赤色光Rが交互に観察対象に照射される。 As shown in FIG. 38, the inner filter 108 is provided with a B1 filter 108a that transmits the purple light V and the second blue light BS of the white light along the circumferential direction, a G filter 108b that transmits the green light G of the white light, and an R filter 108c that transmits the red light R of the white light. Therefore, in the normal mode, the purple light V, the second blue light BS, the green light G, and the red light R are alternately irradiated onto the observation object by the rotation of the rotating filter 104.

外側フィルタ109には、周方向に沿って、白色光のうち第1青色光BLを透過させるB1フィルタ109aと、白色光のうち第2青色光BSを透過させるB2フィルタ109bと、白色光のうち緑色光Gを透過させるGフィルタ109cと、白色光のうち赤色光Rを透過させるRフィルタ109dと、白色光のうち波長帯域B3の青緑光BGを透過させるB3フィルタ109eが設けられている。したがって、酸素飽和度モード時には、回転フィルタ104が回転することで、第1青色光BL、第2青色光BS、緑色光G、赤色光R、青緑光BGが交互に観察対象に照射される。 The outer filter 109 is provided with, in the circumferential direction, a B1 filter 109a that transmits the first blue light BL of the white light, a B2 filter 109b that transmits the second blue light BS of the white light, a G filter 109c that transmits the green light G of the white light, an R filter 109d that transmits the red light R of the white light, and a B3 filter 109e that transmits the blue-green light BG of the white light in the wavelength band B3. Therefore, in the oxygen saturation mode, the first blue light BL, the second blue light BS, the green light G, the red light R, and the blue-green light BG are alternately irradiated onto the observation object by rotating the rotating filter 104.

内視鏡システム100では、通常モード時には、紫色光V及び第2青色光BS、緑色光G、赤色光Rで観察対象が照明される毎にモノクロの撮像センサ106で観察対象を撮像する。これにより、Bc画像信号、Gc画像信号、Rc画像信号が得られる。そして、それら3色の画像信号に基づいて、上記第1実施形態と同様の方法で、白色光画像が生成される。 In the endoscope system 100, in normal mode, the object to be observed is imaged by the monochrome image sensor 106 each time the object is illuminated with the purple light V, the second blue light BS, the green light G, and the red light R. This results in a Bc image signal, a Gc image signal, and an Rc image signal. Then, based on these three color image signals, a white light image is generated in the same manner as in the first embodiment.

一方、酸素飽和度モード又は補正モード時には、第1青色光BL、第2青色光BS、緑色光G、赤色光R、青緑光BGで観察対象が照明される毎にモノクロの撮像センサ106で観察対象を撮像する。これにより、B1画像信号と、B2画像信号と、G2画像信号、R2画像信号、B3画像信号が得られる。これら5色の画像信号に基づいて、第1実施形態と同様の方法で、酸素飽和度モード又は補正モードが行われる。ただし、第2実施形態では、信号比ln(B3/G3)に代えて、信号比ln(B3/G2)が用いられる。 On the other hand, in the oxygen saturation mode or correction mode, the object to be observed is imaged by the monochrome image sensor 106 each time the object to be observed is illuminated with the first blue light BL, the second blue light BS, the green light G, the red light R, and the blue-green light BG. This results in a B1 image signal, a B2 image signal, a G2 image signal, an R2 image signal, and a B3 image signal. Based on these five color image signals, the oxygen saturation mode or correction mode is performed in the same manner as in the first embodiment. However, in the second embodiment, the signal ratio ln(B3/G2) is used instead of the signal ratio ln(B3/G3).

上記第1及び第2実施形態においては、補正モードにおける酸素飽和度の算出に関する補正処理として、酸素飽和度算出用テーブル73を補正するテーブル補正処理を行っているが、酸素飽和度算出用テーブル73に基づいて算出した酸素飽和度に対して、特定色素濃度から得られる補正値を加算又は減算する算出値補正処理を行ってもよい。 In the first and second embodiments described above, a table correction process is performed to correct the oxygen saturation calculation table 73 as a correction process for calculating oxygen saturation in the correction mode. However, a calculated value correction process may be performed to add or subtract a correction value obtained from a specific dye concentration to the oxygen saturation calculated based on the oxygen saturation calculation table 73.

具体的には、算出値補正処理については、図39に示す2次元座標90を用いて、酸素飽和度算出用テーブル73に基づいて算出した酸素飽和度の補正に用いる補正値を算出する。2次元座標の縦軸は、B1画像信号、G2画像信号、R2画像信号、及び、B3画像信号に基づいて得られる特定演算値であり、横軸はLn(R2/G2)である。特定演算値は、下記式A)により定められる。
式A)B1/G2×cosφ-B3/G2×sinφ
Specifically, in the calculation value correction process, a two-dimensional coordinate 90 shown in Fig. 39 is used to calculate a correction value used to correct the oxygen saturation calculated based on the oxygen saturation calculation table 73. The vertical axis of the two-dimensional coordinate is a specific calculation value obtained based on the B1, G2, R2, and B3 image signals, and the horizontal axis is Ln(R2/G2). The specific calculation value is determined by the following formula A).
Formula A) B1/G2×cosφ−B3/G2×sinφ

2次元座標90では、予め定められた基準ベースライン情報の分布を示す基準線91と、実際の観察対象の撮像によって得られた実測ベースライン情報の分布を示す実測線92とが示されている。基準線91と実測線92との差分値ΔZが、補正値として算出される。算出値補正処理では、酸素飽和度算出用テーブル73に基づいて算出した酸素飽和度に対して、前記補正値を加算又は減算する。なお、基準ベースライン情報は、特定色素が無い状態で得られ、且つ、酸素飽和度に依存しない情報として定められている。具体的には、上記式A)が、酸素飽和度が変化しても一定になるように、φを調整した値を、基準ベースライン情報としている。 In the two-dimensional coordinate system 90, a reference line 91 showing the distribution of predetermined reference baseline information and an actual measurement line 92 showing the distribution of actual baseline information obtained by imaging an actual observation target are shown. The difference value ΔZ between the reference line 91 and the actual measurement line 92 is calculated as a correction value. In the calculation value correction process, the correction value is added to or subtracted from the oxygen saturation calculated based on the oxygen saturation calculation table 73. The reference baseline information is defined as information obtained in the absence of a specific dye and independent of oxygen saturation. Specifically, the reference baseline information is a value obtained by adjusting φ so that the above formula A) remains constant even when the oxygen saturation changes.

また、補正モードにおいては、補正処理に代えて、少なくとも酸素飽和度用画像信号及び特定色素画像信号に基づいて、特定色素濃度に応じて酸素飽和度を算出する特定の酸素飽和度算出処理を行ってもよい。具体的には、特定の酸素飽和度算出処理には、図40に示す3次元座標93が用いられる。3次元座標93では、X軸に信号比ln(R2/G2)が割り当てられ、Y軸に信号比ln(B1/G2)が割り当てられ、Z軸にln(B3/G3)が割り当てられている。曲面CV0~CV4は、3次元座標93において、特定色素濃度が「0」~「4」に対応する酸素飽和度の状態を表している。 In addition, in the correction mode, instead of the correction process, a specific oxygen saturation calculation process may be performed in which the oxygen saturation is calculated according to the specific dye concentration based on at least the oxygen saturation image signal and the specific dye image signal. Specifically, the specific oxygen saturation calculation process uses three-dimensional coordinates 93 shown in FIG. 40. In the three-dimensional coordinates 93, the signal ratio ln(R2/G2) is assigned to the X-axis, the signal ratio ln(B1/G2) is assigned to the Y-axis, and ln(B3/G3) is assigned to the Z-axis. The curved surfaces CV0 to CV4 represent the oxygen saturation states corresponding to the specific dye concentrations "0" to "4" in the three-dimensional coordinates 93.

特定の酸素飽和度算出処理においては、3次元座標93において、B1画像信号、G2画像信号、R2画像信号、B3画像信号、及びG3画像信号に基づいて算出される信号比ln(R1/G1)、ln(B2/G1)、ln(B3/G3)を3次元座標93上にプロットした値が、酸素飽和度として算出される。算出された酸素飽和度は、特定色素濃度の影響を受けていないため、正確な値となっている。 In the specific oxygen saturation calculation process, the signal ratios ln(R1 * /G1*), ln(B2*/G1 * ), and ln(B3 * /G3 * ) calculated based on the B1, G2 , R2 , B3, and G3 image signals are plotted on the three-dimensional coordinate 93 to calculate the oxygen saturation. The calculated oxygen saturation is an accurate value because it is not affected by the specific dye concentration.

なお、第1及び第2実施形態においては、消化管用の軟性鏡である内視鏡12を用いているが、腹腔鏡用の硬性鏡である内視鏡を用いてもよい。硬性鏡の内視鏡を用いる場合には、図41に示す内視鏡システム200が用いられる。内視鏡201と、光源装置13と、プロセッサ装置14と、ディスプレイ15と、プロセッサ側ユーザーインターフェース16と、拡張プロセッサ装置17と、拡張ディスプレイ18とを備えている。なお、以下、内視鏡システム200において、第1及び第2実施形態と共通する部分は省略し、相違する部分のみ説明を行う。 In the first and second embodiments, an endoscope 12 is used, which is a flexible endoscope for the digestive tract, but an endoscope that is a rigid endoscope for laparoscopy may also be used. When using a rigid endoscope, an endoscope system 200 shown in FIG. 41 is used. The endoscope system 200 includes an endoscope 201, a light source device 13, a processor device 14, a display 15, a processor-side user interface 16, an extended processor device 17, and an extended display 18. In the following, parts of the endoscope system 200 that are common to the first and second embodiments will be omitted, and only the different parts will be described.

内視鏡201は、腹腔鏡手術などに用いられ、硬質で細長く形成され、被検体内に挿入される。内視鏡201は、光源装置13からライトガイド202を介して供給される照明光を観察対象に照明する。また、内視鏡201は、照明光で照明中の観察対象からの反射光を受光する。カメラヘッド203は、内視鏡201に取り付けられ、内視鏡201から導光された反射光に基づいて、観察対象を撮像する。カメラヘッド203で撮像された画像信号は、プロセッサ装置14に送信される。 The endoscope 201 is used in laparoscopic surgery and the like, is rigid and elongated, and is inserted into the subject. The endoscope 201 illuminates the observation object with illumination light supplied from the light source device 13 via the light guide 202. The endoscope 201 also receives reflected light from the observation object being illuminated with the illumination light. The camera head 203 is attached to the endoscope 201, and captures an image of the observation object based on the reflected light guided from the endoscope 201. The image signal captured by the camera head 203 is transmitted to the processor device 14.

光源装置13は、通常モードにおいては、紫色光V、第2青色光BS、緑色光G、及び、赤色光Rを含む白色光を内視鏡201に供給する。また、光源装置13は、酸素飽和度モード及び補正モードにおいては、図42に示すように、第1青色光BL、第2青色光BS、緑色光G、及び、赤色光Rを含む混合光を内視鏡12に供給する。 In the normal mode, the light source device 13 supplies white light including purple light V, second blue light BS, green light G, and red light R to the endoscope 201. In the oxygen saturation mode and correction mode, the light source device 13 supplies mixed light including the first blue light BL, second blue light BS, green light G, and red light R to the endoscope 12, as shown in FIG. 42.

図43に示すように、カメラヘッド203は、ダイクロイックミラー205、206、及び、207と、モノクロの撮像センサ210、211、212、及び213とを備えている。ダイクロイックミラー205は、内視鏡201からの混合光の反射光のうち、紫色光V及び第2青色光BSを反射させ、第1青色光BL、緑色光G、及び、赤色光Rを透過させる。図44に示すように、ダイクロイックミラー205で反射した紫色光V又は第2青色光BSは撮像センサ210に入射する。撮像センサ210は、通常モードでは紫色光V及び第2青色光BSの入射に基づいてBc画像信号を出力し、酸素飽和度又は補正モードでは第2青色光BSの入射に基づいてB2画像信号を出力する。 As shown in FIG. 43, the camera head 203 includes dichroic mirrors 205, 206, and 207, and monochrome image sensors 210, 211, 212, and 213. The dichroic mirror 205 reflects the purple light V and the second blue light BS of the reflected mixed light from the endoscope 201, and transmits the first blue light BL, the green light G, and the red light R. As shown in FIG. 44, the purple light V or the second blue light BS reflected by the dichroic mirror 205 is incident on the image sensor 210. In the normal mode, the image sensor 210 outputs a Bc image signal based on the incidence of the purple light V and the second blue light BS, and in the oxygen saturation or correction mode, the image sensor 210 outputs a B2 image signal based on the incidence of the second blue light BS.

ダイクロイックミラー206は、ダイクロイックミラー205を透過した光のうち、第1青色光BLを反射させ、緑色光G及び赤色光Rを透過させる。図45に示すように、ダイクロイックミラー206で反射した第1青色光BLは、撮像センサ211に入射する。撮像センサ211は、通常モードでは画像信号の出力を停止し、酸素飽和度又は補正モードでは第1青色光BLの入射に基づいてB1画像信号を出力する。 The dichroic mirror 206 reflects the first blue light BL and transmits the green light G and red light R out of the light transmitted through the dichroic mirror 205. As shown in FIG. 45, the first blue light BL reflected by the dichroic mirror 206 is incident on the image sensor 211. The image sensor 211 stops outputting image signals in the normal mode, and outputs a B1 image signal based on the incidence of the first blue light BL in the oxygen saturation or correction mode.

ダイクロイックミラー207は、ダイクロイックミラー206を透過した光のうち、緑色光Gを反射させ、赤色光を透過させる。図46に示すように、ダイクロイックミラー207で反射した緑色光Gは撮像センサ212に入射する。撮像センサ212は、通常モードでは緑色光Gの入射に基づいてGc画像信号を出力し、酸素飽和度又は補正モードで緑色光Gの入射に基づいてG2画像信号を出力する。 The dichroic mirror 207 reflects the green light G and transmits the red light out of the light that has passed through the dichroic mirror 206. As shown in FIG. 46, the green light G reflected by the dichroic mirror 207 is incident on the image sensor 212. In the normal mode, the image sensor 212 outputs a Gc image signal based on the incidence of the green light G, and in the oxygen saturation or correction mode, outputs a G2 image signal based on the incidence of the green light G.

図47に示すように、ダイクロイックミラー207で透過した赤色光Rは撮像センサ213に入射する。撮像センサ213は、通常モードでは赤色光Rの入射に基づいてRc画像信号を出力し、酸素飽和度又は補正モードで赤色光Rの入射に基づいてR2画像信号を出力する。 As shown in FIG. 47, the red light R transmitted through the dichroic mirror 207 is incident on the image sensor 213. In the normal mode, the image sensor 213 outputs an Rc image signal based on the incidence of the red light R, and in the oxygen saturation or correction mode, the image sensor 213 outputs an R2 image signal based on the incidence of the red light R.

なお、上記第1及び第2実施形態においては、酸素飽和度の算出に、血中ヘモグロビンの酸素飽和度の変化により反射スペクトルが変化する波長帯域B1の画像情報を含むB1画像信号、G2画像信号、及び、R2画像信号を用いているが、B1画像信号に代えて、その他の画像信号を用いてもよい。例えば、図48に示すように、B1画像信号の代わりに、血中ヘモグロビンの酸素飽和度の変化により反射スペクトルが変化する波長帯域Rxの画像情報を含むRk画像信号を用いてもよい。波長帯域Rxは680nm±10nmであることが好ましい。図49に示すように、Rk画像信号は、酸素飽和度依存性が「中~小」であるものの、血液濃度依存性が「小」であり、また、黄色色素依存性が「小」である。したがって、観察対象に黄色色素が存在する状況下であっても、3つのG2画像信号、R2画像信号、Rk画像信号の3つの画像信号だけで、酸素飽和度を正確に算出することができる。 In the first and second embodiments, the B1 image signal, the G2 image signal, and the R2 image signal, which contain image information of the wavelength band B1 whose reflection spectrum changes with the change in the oxygen saturation of blood hemoglobin, are used to calculate the oxygen saturation. However, other image signals may be used instead of the B1 image signal. For example, as shown in FIG. 48, instead of the B1 image signal, an Rk image signal containing image information of the wavelength band Rx whose reflection spectrum changes with the change in the oxygen saturation of blood hemoglobin may be used. The wavelength band Rx is preferably 680 nm±10 nm. As shown in FIG. 49, the Rk image signal has a "medium to small" oxygen saturation dependency, a "small" blood concentration dependency, and a "small" yellow pigment dependency. Therefore, even in a situation where a yellow pigment is present in the observation subject, the oxygen saturation can be accurately calculated with only three image signals, the G2 image signal, the R2 image signal, and the Rk image signal.

なお、腹腔鏡用の硬性鏡である内視鏡(図41参照)を用いる場合には、4つのモノクロの撮像センサ210~213を用いて観察対象の撮像を行う内視鏡201(図43参照)と異なり、他の撮像方式で観察対象の撮像を内視鏡を用いてもよい。図50に示す様に、内視鏡300は、1つのカラー撮像センサ301及び1つのモノクロ撮像センサ302を有する2センサタイプの腹腔用の内視鏡である。内視鏡300のカメラヘッド303には、カラー撮像センサ301及びモノクロ撮像センサ302に加えて、カメラヘッド303に入射した光のうち一部の光を透過させ、その他の光を反射させるダイクロイックミラー305が設けられている。 When using an endoscope (see FIG. 41), which is a rigid endoscope for laparoscopy, unlike the endoscope 201 (see FIG. 43) which uses four monochrome image sensors 210-213 to capture an image of the observation target, the endoscope may capture an image of the observation target using another imaging method. As shown in FIG. 50, the endoscope 300 is a two-sensor type endoscope for the abdominal cavity having one color image sensor 301 and one monochrome image sensor 302. In addition to the color image sensor 301 and monochrome image sensor 302, the camera head 303 of the endoscope 300 is provided with a dichroic mirror 305 which transmits a portion of the light incident on the camera head 303 and reflects the remaining light.

内視鏡300を用いる場合の光源装置13の発光制御においては、図51に示すように、第1青色光BL、第2青色光BS、緑色光G、及び、赤色光Rを同時に発光する白色フレーム(同図(A)参照)と、緑色光Gのみを発光する緑色フレーム(同図(B)参照)とを、特定の発光パターンに従って、切り替えて発光される。 When the endoscope 300 is used, the light emission control of the light source device 13 switches between a white frame that simultaneously emits the first blue light BL, the second blue light BS, the green light G, and the red light R (see FIG. 51 (A)) and a green frame that emits only the green light G (see FIG. 51 (B)) according to a specific emission pattern.

図52に示すように、白色フレームで、第1青色光BL、第2青色光BS、緑色光G、及び、赤色光Rを同時に発光した場合(同図(A)参照)には、ダイクロイックミラー305で、カメラヘッド303に入射した光のうち、第1青色光BLが反射する(同図(B)参照)。ダイクロイックミラー305で反射した第1青色光BLは、モノクロ撮像センサ302に入射する(同図(C)参照)。モノクロ撮像センサ302は、入射した第1青色光BLに対応する画素値を有するB1画像信号を出力する(同図(D)参照)。 As shown in FIG. 52, when the first blue light BL, the second blue light BS, the green light G, and the red light R are simultaneously emitted in a white frame (see FIG. 52 (A)), the first blue light BL of the light incident on the camera head 303 is reflected by the dichroic mirror 305 (see FIG. 52 (B)). The first blue light BL reflected by the dichroic mirror 305 is incident on the monochrome image sensor 302 (see FIG. 52 (C)). The monochrome image sensor 302 outputs a B1 image signal having a pixel value corresponding to the incident first blue light BL (see FIG. 52 (D)).

また、図53に示すように、白色フレームでは、ダイクロイックミラー305で透過した第2青色光BS、緑色光G、及び、赤色光Rは、カラー撮像センサ301に入射する(図53(C)参照)。カラー撮像センサ301のうち、B画素は、第2青色光のうちBカラーフィルタBFを透過した光に対応する画素値を有するB2画像信号を出力する。また、G画素は、緑色光GのうちGカラーフィルタGFを透過した光に対応する画素値を有するG2画像信号を出力する。R画素は、赤色光RのうちRカラーフィルタRFを透過した光に対応する画素値を有するR2画像信号を出力する。 Also, as shown in FIG. 53, in the white frame, the second blue light BS, green light G, and red light R transmitted by the dichroic mirror 305 enter the color image sensor 301 (see FIG. 53(C)). In the color image sensor 301, the B pixels output B2 image signals having pixel values corresponding to the light of the second blue light transmitted through the B color filter BF. Also, the G pixels output G2 image signals having pixel values corresponding to the light of the green light G transmitted through the G color filter GF. The R pixels output R2 image signals having pixel values corresponding to the light of the red light R transmitted through the R color filter RF.

一方、図54に示すように、緑色フレームで、緑色光Gのみを発光した場合(同図(A)参照)には、カメラヘッド303に入射した緑色光Gは、ダイクロイックミラー305で透過する。ダイクロイックミラー305で透過した緑色光Gは、カラー撮像センサ301に入射する。カラー撮像センサ301のうち、B画素は、緑色光GのうちBカラーフィルタBFを透過した光に対応する画素値を有するB3画像信号を出力する。G画素は、緑色光GのうちGカラーフィルタGFを透過した光に対応する画素値を有するG3画像信号を出力する。なお、緑色フレームでは、モノクロ撮像センサ302から出力される画像信号と、カラー撮像センサ301のうちR画素から出力される画像信号は、その後の処理工程で使用されない。 On the other hand, as shown in FIG. 54, when only green light G is emitted in the green frame (see FIG. 54 (A)), the green light G incident on the camera head 303 is transmitted by the dichroic mirror 305. The green light G transmitted by the dichroic mirror 305 is incident on the color image sensor 301. The B pixels of the color image sensor 301 output a B3 image signal having a pixel value corresponding to the light of the green light G that has transmitted through the B color filter BF. The G pixels output a G3 image signal having a pixel value corresponding to the light of the green light G that has transmitted through the G color filter GF. Note that in the green frame, the image signal output from the monochrome image sensor 302 and the image signal output from the R pixels of the color image sensor 301 are not used in the subsequent processing steps.

以上、図55に示すように、白色フレームでは、モノクロ撮像センサ302からB1画像信号が出力され、カラー撮像センサ301から、B2画像信号、G2画像信号、R2画像信号が出力され、それらB1、B2、G2、R2画像信号は、その後の処理工程で使用される。一方、緑色フレームでは、カラー撮像センサ301から、B3画像信号及びG3画像信号が出力され、その後の処理工程で使用される。 As shown in FIG. 55, in a white frame, the monochrome image sensor 302 outputs a B1 image signal, and the color image sensor 301 outputs a B2 image signal, a G2 image signal, and an R2 image signal, and these B1, B2, G2, and R2 image signals are used in the subsequent processing steps. On the other hand, in a green frame, the color image sensor 301 outputs a B3 image signal and a G3 image signal, and these are used in the subsequent processing steps.

図56に示すように、カメラヘッド303から出力された画像信号は、プロセッサ装置14に送られ、プロセッサ装置14で各種処理が施されたデータは、拡張プロセッサ装置17に送られる。内視鏡300を用いる場合には、プロセッサ装置14での処理負荷を考慮して、酸素飽和度モード及び補正モードで行われる処理についてプロセッサ装置14で負荷が低い処理を行った後に、拡張プロセッサ装置17で負荷が大きい処理を行う。酸素飽和度モード及び補正モードで行われる処理のうち、プロセッサ装置14で行われる処理は、主として、FPGA(Field-Programmable Gate Array)で行われることから、FPGA処理と称する。一方、拡張プロセッサ装置17で行われる処理は、拡張プロセッサ装置がPC(Personal Computer)で行われることから、PC処理と称する。 As shown in FIG. 56, the image signal output from the camera head 303 is sent to the processor device 14, and the data that has undergone various processes in the processor device 14 is sent to the extended processor device 17. When the endoscope 300 is used, taking into consideration the processing load on the processor device 14, low-load processing is performed in the processor device 14 for the processes performed in the oxygen saturation mode and correction mode, and then high-load processing is performed in the extended processor device 17. Of the processes performed in the oxygen saturation mode and correction mode, the processes performed by the processor device 14 are mainly performed by an FPGA (Field-Programmable Gate Array) and are therefore referred to as FPGA processing. On the other hand, the processes performed by the extended processor device 17 are referred to as PC processing, as the extended processor device is performed by a PC (Personal Computer).

なお、内視鏡300にFPGA(図示しない)が設けられている場合には、内視鏡300のFPGAでFPGA処理を行ってもよい。また、以下においては、補正モードにおけるFPGA処理とPC処理について説明を行うが、酸素飽和度モードにおいても、FPGA処理とPC処理に分けることで、処理負荷を分担することが好ましい。 If the endoscope 300 is provided with an FPGA (not shown), the FPGA processing may be performed by the FPGA of the endoscope 300. In the following, the FPGA processing and PC processing in the correction mode will be explained, but it is preferable to share the processing load by dividing into FPGA processing and PC processing in the oxygen saturation mode as well.

内視鏡300を用い、白色フレームWと緑色フレームGrを特定の発光パターンに従って発光制御を行う場合には、図57に示すように、特定の発光パターンとしては、白色フレームWを2フレーム分発光した後に、光源装置13から発光を行わないブランクフレームBLを2フレーム分行う。その後に、緑色フレームGrを2フレーム分発光した後に、2フレーム以上のブランクフレームを数フレーム分(例えば、7フレーム分)行う。その後に、再度、白色フレームWを2フレーム分発光する。以上の特定の発光パターンを繰り返し行う。なお、上記の特定の発光パターンのように、白色フレームWと緑色フレームGrとを発光するのは少なくとも補正モードであり、酸素飽和度モードでは、緑色フレームGrを発光せずに、白色フレームWのみを発光してもよい。 When the endoscope 300 is used and the white frame W and the green frame Gr are controlled to emit light according to a specific light emission pattern, as shown in FIG. 57, the specific light emission pattern is to emit two frames of the white frame W, followed by two frames of blank frames BL in which no light is emitted from the light source device 13. Then, two frames of the green frame Gr are emitted, followed by several blank frames of two or more frames (e.g., seven frames). Then, two frames of the white frame W are emitted again. The above specific light emission pattern is repeated. Note that the white frame W and the green frame Gr are emitted in at least the correction mode as in the above specific light emission pattern, and in the oxygen saturation mode, only the white frame W may be emitted without emitting the green frame Gr.

以下、特定の発光パターンにおいて発光を行う各発光フレームを区別するために、最初の2フレーム分の白色フレームのうち最初の白色フレームを白色フレームW1、次の白色フレームを白色フレームW2とする。2フレーム分の緑色フレームのうち最初の緑色フレームを緑色フレームGr1、次の緑色フレームを緑色フレームGr2とする。そして、最後の2フレーム分の白色フレームのうち最初の白色フレームを白色フレームW3、次の白色フレームを白色フレームW4とする。 Hereinafter, in order to distinguish between each emission frame that emits light in a specific emission pattern, the first of the first two white frames will be referred to as white frame W1, and the next white frame as white frame W2. The first of the two green frames will be referred to as green frame Gr1, and the next green frame as green frame Gr2. And the first of the last two white frames will be referred to as white frame W3, and the next white frame as white frame W4.

また、白色フレームW1で得られる補正モード用の画像信号(B1画像信号、B2画像信号、G2画像信号、R2画像信号、B3画像信号、G3画像信号)については、画像信号セットW1と称する。同様にして、白色フレームW2で得られる補正モード用の画像信号については、画像信号セットW2と称する。また、緑色フレームGr1で得られる補正モード用の画像信号については、画像信号セットGr1と称する。また、緑色フレームGr2で得られる補正モード用の画像信号については、画像信号セットGr2と称する。また、白色フレームW3で得られる補正モード用の画像信号については、画像信号セットW3と称する。また、白色フレームW4で得られる補正モード用の画像信号については、画像信号セットW4と称する。なお、酸素飽和度モード用の画像信号は、白色フレームに含まれる画像信号(B1画像信号、B2画像信号、G2画像信号、R2画像信号)である。 The image signals for the correction mode obtained in the white frame W1 (B1 image signal, B2 image signal, G2 image signal, R2 image signal, B3 image signal, G3 image signal) are referred to as the image signal set W1. Similarly, the image signals for the correction mode obtained in the white frame W2 are referred to as the image signal set W2. The image signals for the correction mode obtained in the green frame Gr1 are referred to as the image signal set Gr1. The image signals for the correction mode obtained in the green frame Gr2 are referred to as the image signal set Gr2. The image signals for the correction mode obtained in the white frame W3 are referred to as the image signal set W3. The image signals for the correction mode obtained in the white frame W4 are referred to as the image signal set W4. The image signals for the oxygen saturation mode are the image signals included in the white frames (B1 image signal, B2 image signal, G2 image signal, R2 image signal).

なお、白色フレームWと緑色フレームWとの間のブランクフレームが2フレーム程度で良いのは、緑色光G以外の光を消すだけで済むのに対して、緑色フレームGと白色フレームWとの間のブランクフレームを2フレーム以上とするのは、緑色光G以外の点灯開始により、時間をかけて発光状態を安定化させる必要があるためである。 The reason why the blank frames between the white frame W and the green frame W need only be about two frames is that it is sufficient to turn off all light other than the green light G, whereas the reason why the blank frames between the green frame G and the white frame W need to be two or more frames is because it is necessary to take time to stabilize the light emission state when light other than the green light G starts to be turned on.

FPGA処理においては、図58に示すように、各画像信号セットW1、W2、Gr1、Gr2、W3、W4に含まれる全ての画像信号の画素について、酸素飽和度モード又は補正モードで精度良く処理行うことができるか否かの有効画素判定を行う。有効画素判定は、図59に示すように、画像中心部に設けられた16個の関心領域ROI内の画素値に基づいて行われる。具体的には、ROI内の各画素について、画素値が上限閾値と下限閾値の間の範囲内に収まっている場合には、有効画素と判定する。有効画素判定は、画像信号セットに含まれる全ての画像信号の画素に対して行われる。また、上限閾値又は下限閾値は、カラー撮像センサ301のB画素、G画素、R画素の感度、又は、モノクロ撮像センサ302の感度に合わせて、予め設定されている。 In the FPGA processing, as shown in FIG. 58, a valid pixel determination is performed for the pixels of all image signals included in each image signal set W1, W2, Gr1, Gr2, W3, and W4 to determine whether or not they can be processed accurately in the oxygen saturation mode or the correction mode. The valid pixel determination is performed based on the pixel values in 16 regions of interest ROIs provided in the center of the image, as shown in FIG. 59. Specifically, for each pixel in the ROI, if the pixel value falls within the range between the upper threshold and the lower threshold, it is determined to be a valid pixel. The valid pixel determination is performed for the pixels of all image signals included in the image signal set. In addition, the upper threshold or the lower threshold is preset according to the sensitivity of the B pixel, the G pixel, and the R pixel of the color image sensor 301, or the sensitivity of the monochrome image sensor 302.

以上の有効画素判定に基づいて、ROI毎に、有効画素の画素数、有効画素の画素値総和、及び、有効画素の画素値の二乗和を算出する。これらROI毎の有効画素の画素数、有効画素の画素値総和、及び、有効画素の画素値の二乗和は、それぞれ有効画素データW1、W2、Gr1、Gr2、W3、W4として、拡張プロセッサ装置17に出力される。FPGA処理は、有効画素判定のように、同一フレームの画像信号での演算処理であり、後述のPC処理のように、発光フレームが異なるフレーム間画像信号での演算処理と比較して、処理負荷が軽くなっている。なお、有効画素データW1、W2、Gr1、Gr2、W3、W4は、それぞれ画像信号セットW1、W2、Gr1、Gr2、W3、W4に含まれる全ての画像信号に対して有効画素判定されたデータに対応している。 Based on the above valid pixel determination, the number of valid pixels, the sum of the pixel values of the valid pixels, and the squared sum of the pixel values of the valid pixels are calculated for each ROI. The number of valid pixels, the sum of the pixel values of the valid pixels, and the squared sum of the pixel values of the valid pixels for each ROI are output to the extended processor device 17 as valid pixel data W1, W2, Gr1, Gr2, W3, and W4, respectively. FPGA processing, like valid pixel determination, is a calculation process for image signals of the same frame, and has a lighter processing load than calculation process for inter-frame image signals with different emission frames, like PC processing described later. Note that the valid pixel data W1, W2, Gr1, Gr2, W3, and W4 correspond to the data determined to be valid pixels for all image signals included in the image signal sets W1, W2, Gr1, Gr2, W3, and W4, respectively.

PC処理では、有効画素データW1、W2、Gr1、Gr2、W3、W4のうち、同一フレームの画像信号に対する同一フレーム用PC処理と、異なるフレームの画像信号に対するフレーム間用PC処理が行われる。同一フレーム用PC処理では、各有効画素データに含まれる全ての画像信号に対して、ROI内における画素値の平均値、画素値の標準偏差値、及び、有効画素率が算出される。これら同一フレーム用PC処理で得られるROI内の画素値の平均値等は、酸素飽和度モード又は補正モードで、特定の結果を得るための演算で使用される。 In PC processing, same-frame PC processing is performed on image signals of the same frame from among the effective pixel data W1, W2, Gr1, Gr2, W3, and W4, and inter-frame PC processing is performed on image signals of different frames. In same-frame PC processing, the average pixel value, standard deviation of pixel values, and effective pixel rate within the ROI are calculated for all image signals contained in each effective pixel data. The average pixel value and other values within the ROI obtained by this same-frame PC processing are used in calculations to obtain specific results in oxygen saturation mode or correction mode.

フレーム間用PC処理においては、図60に示すように、FPGA処理で得られた有効画素データW1、W2、Gr1、Gr2、W3、W4のうち、白色フレームと緑色フレームとの時間的間隔が近いものが使用され、それ以外は、フレーム間用PC処理では使用されない。具体的には、有効画素データW2と有効画素データGr1のペアと、有効画素データGr2と有効画素データW3のペアが、フレーム間用PC処理で使用される。その他の有効画素データW1、W4は、フレーム間用PC処理では使用されない。なお、時間的間隔が近い画像信号をペアにすることで、画素間の位置ずれがない精度の良いフレーム間用PC処理を行うことができる。 As shown in FIG. 60, in inter-frame PC processing, of the effective pixel data W1, W2, Gr1, Gr2, W3, and W4 obtained by FPGA processing, those with a close time interval between the white frame and the green frame are used, and the rest are not used in inter-frame PC processing. Specifically, the pair of effective pixel data W2 and effective pixel data Gr1, and the pair of effective pixel data Gr2 and effective pixel data W3 are used in inter-frame PC processing. The other effective pixel data W1 and W4 are not used in inter-frame PC processing. Note that by pairing image signals with a close time interval, it is possible to perform accurate inter-frame PC processing with no positional deviation between pixels.

図61に示すように、有効画素データW2と有効画素データGr1のペアを用いるフレーム間用PC処理では、信頼度算出、及び、特定色素濃度算出が行われ、有効画素データGr2と有効画素データW3のペアを用いるフレーム間PC処理においても、同様に、信頼度算出、及び、特定色素濃度算出が行われる。そして、算出された特定色素濃度に基づいて、特定色素濃度相関判定が行われる。 As shown in FIG. 61, in inter-frame PC processing using a pair of valid pixel data W2 and valid pixel data Gr1, reliability calculation and specific dye concentration calculation are performed, and in inter-frame PC processing using a pair of valid pixel data Gr2 and valid pixel data W3, reliability calculation and specific dye concentration calculation are similarly performed. Then, a specific dye concentration correlation determination is performed based on the calculated specific dye concentration.

信頼度の算出においては、16個のROI毎に、信頼度を算出する。信頼度の算出方法は、上記の信頼度算出部66による算出方法と同様である。例えば、G2画像信号の輝度値が一定範囲Rx外の信頼度を、G2画像信号の輝度値が一定範囲Rx内の信頼度を低くすることが好ましい(図28参照)。有効画素データW2と有効画素データGr1のペアの場合であれば、各有効画素データに含まれるG2画像信号に対するROI毎の信頼度算出によって、合計32の信頼度が算出される。同様にして、有効画素データGr2と有効画素データW3のペアの場合にも、合計32の信頼度が算出される。信頼度を算出した場合には、信頼度が低いROIが存在する場合、又は、各ROIの信頼度平均値が所定値に満たない場合などにおいては、信頼度に関するエラー判定を行う。信頼度に関するエラー判定の結果は、拡張ディスプレイ18への表示などによってユーザーに報知する。 In calculating the reliability, the reliability is calculated for each of the 16 ROIs. The method of calculating the reliability is the same as the calculation method by the reliability calculation unit 66 described above. For example, it is preferable to lower the reliability when the brightness value of the G2 image signal is outside the certain range Rx and the reliability when the brightness value of the G2 image signal is within the certain range Rx (see FIG. 28). In the case of a pair of effective pixel data W2 and effective pixel data Gr1, a total of 32 reliability is calculated by calculating the reliability for each ROI for the G2 image signal included in each effective pixel data. Similarly, a total of 32 reliability is calculated for a pair of effective pixel data Gr2 and effective pixel data W3. When the reliability is calculated, if there is an ROI with low reliability or if the average reliability value of each ROI does not meet a predetermined value, an error judgment is made regarding the reliability. The result of the error judgment regarding the reliability is notified to the user by displaying it on the extended display 18, etc.

特定色素濃度算出においては、16個のROI毎に、特定色素濃度を算出する。特定色素濃度の算出方法は、上記の特定色素濃度算出部62による算出方法と同様である。例えば、有効画素データW2及び有効画素データGr1に含まれるB1画像信号、G2画像信号、R2画像信号、B3画像信号、及び、G3画像信号を用い、特定色素濃度算出テーブル62aを参照して、信号比ln(B1/G2)、ln(G2/R2)、ln(B3/G3)に対応する特定色素濃度を算出する。これにより、ROI毎に合計16の特定色素濃度PG1が算出される。なお、有効画素データGr2と有効画素データW3のペアの場合にも、同様に、ROI毎に合計16の特定色素濃度PG2が算出される。 In the specific dye concentration calculation, the specific dye concentration is calculated for each of the 16 ROIs. The method of calculating the specific dye concentration is the same as the calculation method by the specific dye concentration calculation unit 62 described above. For example, the B1 image signal, G2 image signal, R2 image signal, B3 image signal, and G3 image signal contained in the effective pixel data W2 and the effective pixel data Gr1 are used, and the specific dye concentrations corresponding to the signal ratios ln(B1/G2), ln(G2/R2), and ln(B3/G3) are calculated by referring to the specific dye concentration calculation table 62a. In this way, a total of 16 specific dye concentrations PG1 are calculated for each ROI. Note that in the case of a pair of effective pixel data Gr2 and effective pixel data W3, a total of 16 specific dye concentrations PG2 are calculated for each ROI in the same manner.

特定色素濃度PG1と特定色素濃度PG2が算出されると、ROI毎に、特定色素濃度PG1と特定色素濃度PG2との相関値を算出する。相関値は、同じ位置のROI毎に算出することが好ましい。相関値が所定値よりも低いROIが一定数以上ある場合には、フレーム間で、動きが生じたと判定し、動きに関するエラー判定を行う。動きに関するエラー判定の結果は、拡張ディスプレイ18への表示などによってユーザーに報知する。 Once the specific dye concentrations PG1 and PG2 have been calculated, a correlation value between the specific dye concentrations PG1 and PG2 is calculated for each ROI. It is preferable to calculate the correlation value for each ROI in the same position. If there are a certain number or more ROIs with correlation values lower than a predetermined value, it is determined that movement has occurred between frames, and an error determination is made regarding the movement. The result of the error determination regarding the movement is notified to the user by displaying it on the extended display 18, for example.

動きに関するエラー判定でエラー無しの場合には、合計32の特定色素濃度PG1と特定色素濃度PG2の中から、特定の推定方法(例えば、ロバスト推定方法)を用いて、1つの特定色素濃度を算出する。算出された特定色素濃度は、補正モードの補正処理で使用される。補正モードの補正処理については、テーブル補正処理など、上記と同様である。 If no error is detected in the error determination regarding the movement, one specific dye concentration is calculated from a total of 32 specific dye concentrations PG1 and PG2 using a specific estimation method (e.g., a robust estimation method). The calculated specific dye concentration is used in the correction process in the correction mode. The correction process in the correction mode is the same as described above, such as table correction process.

図62及び図63に示すように、内視鏡用ホワイトバランス調整治具(以下、調整治具という)400は、内視鏡のホワイトバランス調整のために使用される用具である。調整治具400は箱型であり、外側に、挿入部401と、蓋部402と、外周部403とを備えており、内側に、内部空間406(図67参照)を備えている。挿入部401は、内視鏡12の先端部12d(図64参照)を挿入する2つの挿入孔405を備えている。挿入孔405は、挿入孔405a、405bから構成される。 As shown in Figures 62 and 63, the white balance adjustment tool for endoscopes (hereinafter referred to as the adjustment tool) 400 is a tool used for adjusting the white balance of an endoscope. The adjustment tool 400 is box-shaped and has an insertion section 401, a lid section 402, and an outer peripheral section 403 on the outside, and an internal space 406 (see Figure 67) on the inside. The insertion section 401 has two insertion holes 405 into which the tip section 12d (see Figure 64) of the endoscope 12 is inserted. The insertion hole 405 is composed of insertion holes 405a and 405b.

挿入孔405から挿入方向Xで挿入された先端部12dは、内部空間406の適切な位置まで挿入を進められ、蓋部402の内部空間406側に設けられるチャート408(図66参照)を撮影する。チャート408を撮影した内視鏡画像によりホワイトバランス調整を行う。なお、内視鏡12の先端部12dを調整治具400に挿入する場合ついて説明するが、内視鏡201の先端部についても、同様に、調整治具400に挿入してホワイトバランス調整を行うことが可能である。 The tip 12d inserted from the insertion hole 405 in the insertion direction X is advanced to an appropriate position in the internal space 406, and an image of the chart 408 (see FIG. 66) provided on the internal space 406 side of the lid 402 is captured. White balance adjustment is performed using the endoscopic image of the chart 408. Note that while the case where the tip 12d of the endoscope 12 is inserted into the adjustment jig 400 will be described, the tip of the endoscope 201 can also be inserted into the adjustment jig 400 in a similar manner to perform white balance adjustment.

2つの挿入孔405の内径は、外径が異なる内視鏡12の先端部12dに対応できるように、それぞれ異なっている。挿入孔405の内径は、挿入のし易さ、チャート408を撮影する際の先端部12dの位置調節のための可動域を確保するため等に、先端部12dを挿入孔405で挿入した際に、先端部12dと挿入孔405との間に適度な隙間が生じるようにした上で、なるべく小さくすることが好ましい。これにより、挿入部401が先端部12dの挿入をガイドし先端部12dの位置調節する機能を担保すること、及び、先端部12dと挿入孔405との隙間から内部空間406に入る光を抑えることが可能となる。 The inner diameters of the two insertion holes 405 are different so that they can accommodate the tip 12d of the endoscope 12 having a different outer diameter. It is preferable that the inner diameter of the insertion hole 405 is as small as possible while leaving a suitable gap between the tip 12d and the insertion hole 405 when the tip 12d is inserted through the insertion hole 405, in order to ensure ease of insertion and a range of motion for adjusting the position of the tip 12d when photographing the chart 408. This ensures that the insertion section 401 can guide the insertion of the tip 12d and adjust the position of the tip 12d, and makes it possible to suppress light entering the internal space 406 through the gap between the tip 12d and the insertion hole 405.

なお、2つの挿入孔405のうち一方の挿入孔405aの内径を12mmとし、他方の挿入孔405bの内径を7mmとすることが好ましい。図64に示すように、先端部12dの外径が5mmより大きく10mm以下の範囲の太い内視鏡12であれば、挿入孔405aに先端部12dを挿入する。図65に示すように、先端部12dの外径が5mm以下の細い内視鏡12であれば、挿入孔405bに先端部12dを挿入する。 It is preferable that the inner diameter of one of the two insertion holes 405, insertion hole 405a, is 12 mm, and the inner diameter of the other insertion hole 405b is 7 mm. As shown in FIG. 64, if the outer diameter of the tip 12d of the endoscope 12 is thick and is in the range of more than 5 mm and not more than 10 mm, the tip 12d is inserted into the insertion hole 405a. As shown in FIG. 65, if the outer diameter of the tip 12d of the endoscope 12 is thin and is not more than 5 mm, the tip 12d is inserted into the insertion hole 405b.

挿入部401には、各挿入孔405a、405bに対応させてガイド部401a、401bを設けてもよい。ガイド部401aは、使用者が先端部12dを挿入孔405に挿入する際のガイドの機能を有する。ガイド部401aは、長手方向が挿入方向Xとなっている筒状とすることができる。筒状のガイド部401aを形成することにより、使用者による先端部12dの挿入の際に、自然に先端部12dの底部、外面等の一部が、筒状の挿入孔405aの底部、内面との一部と接しながら挿入することとなり、先端部12dを蓋部402に向かってより適切に挿入することができる。また、使用者が内部空間406における内視鏡12の先端部12dをより容易に適切な位置に配置することができる。なお、ガイド部401bも、ガイド部401aと同様である。 The insertion section 401 may be provided with guide sections 401a and 401b corresponding to the insertion holes 405a and 405b. The guide section 401a has a function of guiding the user when inserting the tip section 12d into the insertion hole 405. The guide section 401a may be cylindrical with the longitudinal direction being the insertion direction X. By forming the cylindrical guide section 401a, when the user inserts the tip section 12d, a part of the bottom, outer surface, etc. of the tip section 12d is naturally inserted while contacting a part of the bottom and inner surface of the cylindrical insertion hole 405a, and the tip section 12d can be more appropriately inserted toward the lid section 402. In addition, the user can more easily place the tip section 12d of the endoscope 12 in an appropriate position in the internal space 406. The guide section 401b is similar to the guide section 401a.

図66及び図67に示すように、ガイド部401a、401bは、挿入孔405a、405bの入り口から挿入方向Xに沿って蓋部402に向かうにつれて、わずかに内径が大きくなるテーパ状としてもよい。挿入孔405aにおいて、入り口の内径は11mmであるが、ガイド部401aにおいて挿入方向Xに沿って最も蓋部402に近い位置である挿入孔405aの出口では内径を12mmとする。同様に、挿入孔405bにおいて、入り口の内径は6mmであるが、ガイド部401bにおいて挿入方向Xに沿って最も蓋部402に近い位置である挿入孔405bの出口では内径を7mmとする。 As shown in Figures 66 and 67, the guide portions 401a and 401b may be tapered such that the inner diameter increases slightly from the entrance of the insertion holes 405a and 405b toward the lid portion 402 along the insertion direction X. The inner diameter of the entrance of the insertion hole 405a is 11 mm, but the inner diameter is 12 mm at the exit of the insertion hole 405a, which is the position in the guide portion 401a closest to the lid portion 402 along the insertion direction X. Similarly, the inner diameter of the entrance of the insertion hole 405b is 6 mm, but the inner diameter is 7 mm at the exit of the insertion hole 405b, which is the position in the guide portion 401b closest to the lid portion 402 along the insertion direction X.

また、内部空間406については、挿入孔405a、405bのそれぞれに応じて仕切られている。仕切り403eは、内部空間406を、挿入孔405aに連なる内部空間406aと、挿入孔405bに連なる内部空間406bの2つに仕切っている。例えば、挿入孔405aに先端部12dを挿入した場合には、挿入孔405bからの光は、仕切り403eに遮られて、内部空間406aに入射することを防ぐことができる。本実施形態のように、先端部の外径が異なる様々な種類の内視鏡に対応させるために、2つの挿入孔405a、405bを設けた場合であっても、先端部12dを挿入した使用中の内部空間に対して、使用していない内部空間からの光が入ることがないため、適切な撮影条件にてチャート408を撮影することができる。 The internal space 406 is divided according to the insertion holes 405a and 405b. The partition 403e divides the internal space 406 into two spaces: an internal space 406a connected to the insertion hole 405a, and an internal space 406b connected to the insertion hole 405b. For example, when the tip 12d is inserted into the insertion hole 405a, the light from the insertion hole 405b is blocked by the partition 403e and can be prevented from entering the internal space 406a. Even when two insertion holes 405a and 405b are provided to accommodate various types of endoscopes with different outer diameters of the tip, as in this embodiment, the chart 408 can be photographed under appropriate shooting conditions because light from an unused internal space does not enter the internal space in use where the tip 12d is inserted.

図68に示すように、蓋部402は、厚みが均一な板状であり、内部空間406に面する表面を内面402bとし、内面402bの反対側の面を外面402aとする。チャート408は、内面402bに設けられている。蓋部402と外周部403とは分離可能に連結することが好ましい。蓋部402と外周部403との連結を解除することにより、蓋部402のみを調整治具400から取り外すことができる。したがって、調整治具400の内部を洗浄、消毒等することが可能となる。また、蓋部402のみを洗浄、交換等することが可能であり、複数の蓋部402から、ホワイトバランス調整を行いたい内視鏡12の種類に対応したチャート408を備える蓋部を選択した、それまでに用いてた蓋部402を交換することができる。 As shown in FIG. 68, the cover 402 is a plate with a uniform thickness, and the surface facing the internal space 406 is the inner surface 402b, and the surface opposite the inner surface 402b is the outer surface 402a. The chart 408 is provided on the inner surface 402b. It is preferable that the cover 402 and the outer peripheral portion 403 are separably connected. By releasing the connection between the cover 402 and the outer peripheral portion 403, only the cover 402 can be removed from the adjustment jig 400. Therefore, it is possible to clean, disinfect, etc. the inside of the adjustment jig 400. In addition, it is possible to clean, replace, etc. only the cover 402, and it is possible to select a cover having a chart 408 corresponding to the type of endoscope 12 for which white balance adjustment is to be performed from among multiple cover parts 402, and replace the cover part 402 that has been used until now.

チャート408は、内視鏡12からの光が反射しない材質を用いることが好ましい。これにより、チャート40上でフレアFLA(図82参照)などの発生を抑えることができるため、後述するエラー判定(チャート408と内視鏡の先端部12dの位置関係に関する判定)で、フレアをマーク407a等と誤認識することを回避することができ、また、マーク407aの色を正しい色で認識することができる。また、内視鏡12からの光がチャート408で反射しなくなるため、後述するエラー判定で、なお、例えば、チャート408は、ユポ材などのマット紙であることが好ましい。また、チャート408は、光が乱反射して局所的な反射が発生しにくい構造、例えば、ミクロポイドの構造であることが好ましい。 The chart 408 is preferably made of a material that does not reflect light from the endoscope 12. This can suppress the occurrence of flare FLA (see FIG. 82) on the chart 40, and therefore, in the error judgment (judgment regarding the positional relationship between the chart 408 and the tip 12d of the endoscope) described below, it is possible to avoid misrecognizing the flare as the mark 407a, etc., and also to recognize the color of the mark 407a as the correct color. In addition, since the light from the endoscope 12 is no longer reflected by the chart 408, it is preferable that the chart 408 is made of matte paper such as Yupo material. In addition, it is preferable that the chart 408 has a structure that is less likely to cause localized reflection due to diffuse reflection of light, such as a micropoid structure.

蓋部402と外周部403とは、分離及び連結を容易に行いような構成とすることが好ましい。蓋部402と外周部403とは磁力及び/又は嵌合により分離可能に連結してもよい。即ち、蓋部402と外周部403とは、磁石を用いることにより、連結してもよいし、蓋部402及び外周部403のそれぞれの少なくとも一部が、凸部と凹部との嵌め込みにより連結してもよいし、磁石を用い、かつ、凸部と凹部との嵌め込みにより連結してもよい。 It is preferable that the lid portion 402 and the outer peripheral portion 403 are configured so as to be easily separated and connected. The lid portion 402 and the outer peripheral portion 403 may be connected so as to be separable by magnetic force and/or engagement. That is, the lid portion 402 and the outer peripheral portion 403 may be connected by using a magnet, or at least a portion of each of the lid portion 402 and the outer peripheral portion 403 may be connected by fitting a convex portion into a concave portion, or a magnet may be used and the connection may be made by fitting a convex portion into a concave portion.

本実施形態では、外周部403が、内部に磁石が嵌め込まれた磁石挿入部403fを備えている。蓋部402は、少なくとも磁石挿入部403fに対応する凸部402cが、磁石挿入部403fの内部に対応する外周部403の凹部403gの一部に、磁石により吸着する性質を有している。したがって、蓋部402と外周部403とは、蓋部402を外周部403に近づけることにより容易に連結することができる。また、蓋部402を取り外す際には、磁石挿入部403fからの磁力に抗する程度の力だけで、蓋部402を外周部403から容易に取り外すことができる。また、外周部403の凹部403gは、外周部403の上下左右の外周にそれぞれ1つずつ設けられており、また、蓋部402の凸部402cについても、蓋部402の上下左右の外周にそれぞれ1つずつ設けられている。そして、外周部403の凹部403gに蓋部402の凸部402cを嵌め込むことによって、調整治具400の2つの内部空間406a、406bの全面を覆うことができる。 In this embodiment, the outer peripheral portion 403 is provided with a magnet insertion portion 403f in which a magnet is fitted inside. The lid portion 402 has a property that at least the convex portion 402c corresponding to the magnet insertion portion 403f is attracted by a magnet to a part of the concave portion 403g of the outer peripheral portion 403 corresponding to the inside of the magnet insertion portion 403f. Therefore, the lid portion 402 and the outer peripheral portion 403 can be easily connected by bringing the lid portion 402 close to the outer peripheral portion 403. In addition, when removing the lid portion 402, the lid portion 402 can be easily removed from the outer peripheral portion 403 with only a force that resists the magnetic force from the magnet insertion portion 403f. In addition, the concave portion 403g of the outer peripheral portion 403 is provided on each of the upper, lower, left, and right outer circumferences of the outer peripheral portion 403, and the convex portion 402c of the lid portion 402 is also provided on each of the upper, lower, left, and right outer circumferences of the lid portion 402. Then, by fitting the protrusion 402c of the lid 402 into the recess 403g of the outer periphery 403, the entire surfaces of the two internal spaces 406a, 406b of the adjustment jig 400 can be covered.

図69(a)に示すように、蓋部402の外面402aは、調整治具400の外面を構成する。図69(b)に示すように、蓋部402の内面402bは、内部空間406に面し、調整治具400の内面を構成する。内面402bには、4つのマーク407a、407b、407c、407dが設けられている。これら4つのマーク407a、407b、407c、407dによって、チャート408が構成される。 As shown in FIG. 69(a), the outer surface 402a of the lid portion 402 constitutes the outer surface of the adjustment jig 400. As shown in FIG. 69(b), the inner surface 402b of the lid portion 402 faces the internal space 406 and constitutes the inner surface of the adjustment jig 400. Four marks 407a, 407b, 407c, and 407d are provided on the inner surface 402b. These four marks 407a, 407b, 407c, and 407d constitute the chart 408.

なお、マーク407a~407dは、蓋部基材402eの内面402bに直接形成されてもよいし、チャート408を構成する基材上にマーク407a~dが形成され。マーク407a~dを有するチャート408を内面402b上に配置してもよい。この場合、チャート408の形状は、蓋部402と同じでもよく、異なってもよい。本実施形態では、チャート408は蓋部402と異なる形状であり、凸部402cのような凸部を有しない矩形状である。 The marks 407a to 407d may be formed directly on the inner surface 402b of the lid substrate 402e, or the marks 407a to d may be formed on a substrate constituting the chart 408. The chart 408 having the marks 407a to d may be disposed on the inner surface 402b. In this case, the shape of the chart 408 may be the same as or different from that of the lid 402. In this embodiment, the chart 408 has a different shape from the lid 402, and is rectangular without any convex portion like the convex portion 402c.

チャート408は、内視鏡の先端部12dの挿入方向Xに垂直な垂直面を有し、挿入部401側に傾斜するように配置される。なお、垂直面は仮想の面である。これにより、複数の種類の内視鏡のそれぞれがホワイトバランス調整を行う場合に、チャート408を適切に撮影可能となり、ホワイトバランスを適切に調整することができる。なお、ここでいう複数種類の内視鏡とは、先端部の軸方向に対する撮像光学系31の光軸方向の角度により区別される種類である。 The chart 408 has a vertical plane perpendicular to the insertion direction X of the tip 12d of the endoscope, and is positioned so as to be inclined toward the insertion section 401. The vertical plane is a virtual plane. This makes it possible to appropriately photograph the chart 408 and appropriately adjust the white balance when each of the multiple types of endoscopes performs white balance adjustment. Note that the multiple types of endoscopes referred to here are types that are distinguished by the angle of the optical axis direction of the imaging optical system 31 relative to the axial direction of the tip.

複数種類の内視鏡としては、先端部12dの軸方向に対する撮像光学系31の光軸方向が平行となる直視鏡と、先端部12dの軸方向に対する撮像光学系31の光軸方向が所定の角度を有する斜視鏡とがある。内視鏡が、内視鏡201のように、硬性鏡であり直線状である場合、先端部12dの軸方向と同じである。内視鏡12が軟性鏡であっても、先端部12dが湾曲しない場合、先端部12dの軸方向に対する撮像光学系31の光軸方向により、内視鏡12の種類を区別することができる。なお、斜視鏡は、側視鏡等と呼ばれることがある。 The types of endoscopes include a direct-viewing scope in which the optical axis direction of the imaging optical system 31 is parallel to the axial direction of the tip 12d, and an oblique-viewing scope in which the optical axis direction of the imaging optical system 31 is at a predetermined angle to the axial direction of the tip 12d. If the endoscope is a rigid scope that is straight, like the endoscope 201, it is the same as the axial direction of the tip 12d. Even if the endoscope 12 is a flexible scope, if the tip 12d is not curved, the type of endoscope 12 can be distinguished by the optical axis direction of the imaging optical system 31 relative to the axial direction of the tip 12d. Note that an oblique-viewing scope is sometimes called a side-viewing scope, etc.

図70(a)に示すように、斜視鏡411では、撮像光学系31の光軸方向mと先端部12dの先端面12kの軸方向nのなす角である傾斜角αが、例えば、30°、45°等である。図70(b)に示すように、直視鏡412では、撮像光学系31の光軸方向mと先端部12dとの軸方向nとが平行である。直視鏡412では、先端部12dの軸方向前方にある被写体の内視鏡画像を得ることができ、斜視鏡411では、先端部12dの軸方向からみてやや側面の前方にある被写体の内視鏡画像を得ることができる。 As shown in FIG. 70(a), in the oblique mirror 411, the inclination angle α, which is the angle between the optical axis direction m of the imaging optical system 31 and the axial direction n of the tip surface 12k of the tip 12d, is, for example, 30°, 45°, etc. As shown in FIG. 70(b), in the direct mirror 412, the optical axis direction m of the imaging optical system 31 and the axial direction n of the tip 12d are parallel. With the direct mirror 412, an endoscopic image of a subject located axially forward of the tip 12d can be obtained, and with the oblique mirror 411, an endoscopic image of a subject located slightly forward and to the side as viewed from the axial direction of the tip 12d can be obtained.

調整治具400において、マーク407a~dを適切に配置したチャート408を、挿入方向Xに垂直な垂直面に対し適切な角度で傾斜するように配置することにより、傾斜角αが様々である複数種類の内視鏡12のいずれにおいても、マーク407a~dを撮影した際に、内視鏡の先端部12dとマーク407a~dとの距離及び角度が所定範囲内になる。 In the adjustment jig 400, the chart 408 on which the marks 407a-d are appropriately arranged is arranged so as to be inclined at an appropriate angle with respect to a vertical plane perpendicular to the insertion direction X. In any of the multiple types of endoscopes 12 with various inclination angles α, when the marks 407a-d are photographed, the distance and angle between the tip 12d of the endoscope and the marks 407a-d will be within a specified range.

チャート408の傾斜の程度は、複数の内視鏡12のそれぞれがチャート408を撮影して得た内視鏡画像をホワイトバランス調整に用いた際に、先端部12dとマーク407a~dとの距離及び角度が所定範囲内であり、チャート408が傾斜することによるマーク407a~dの色、明るさ、歪み等がホワイトバランス調整において問題にならない程度となればよい。チャート408の傾斜の程度は、直視鏡又は斜視鏡の光軸に垂直な垂直面に対するチャート408の傾斜により示すことができる。 The degree of inclination of the chart 408 should be such that, when endoscopic images obtained by each of the multiple endoscopes 12 photographing the chart 408 are used for white balance adjustment, the distance and angle between the tip 12d and the marks 407a-d are within a specified range, and the color, brightness, distortion, etc. of the marks 407a-d caused by the inclination of the chart 408 do not cause problems in white balance adjustment. The degree of inclination of the chart 408 can be indicated by the inclination of the chart 408 with respect to a vertical plane perpendicular to the optical axis of the direct or oblique endoscope.

図71に示すように、直視鏡412では、チャート408の表面を含む面kを、直視鏡412の撮像光学系の光軸方向m1に垂直な垂直面lに対して傾斜角β1となるように配置する。傾斜角β1で直視鏡412がマーク407bを撮影することにより、マーク17bの撮像により得られた内視鏡画像に基づいてホワイトバランス調整を適切に行うことができる。また、図72に示すように、斜視鏡411では、チャート408の表面kを、斜視鏡411の撮像光学系の光軸方向m2に垂直な垂直面lに対して傾斜角β2となるように配置する。傾斜角β2で斜視鏡411がマーク407aを撮影することにより、マーク407aの撮像により得られた内視鏡画像に基づいてホワイトバランス調整を適切に行うことができる。 As shown in FIG. 71, in the direct mirror 412, the surface k including the surface of the chart 408 is arranged so as to have an inclination angle β1 with respect to a vertical plane l perpendicular to the optical axis direction m1 of the imaging optical system of the direct mirror 412. By the direct mirror 412 photographing the mark 407b at the inclination angle β1, it is possible to appropriately perform white balance adjustment based on the endoscopic image obtained by imaging the mark 17b. Also, as shown in FIG. 72, in the oblique mirror 411, the surface k of the chart 408 is arranged so as to have an inclination angle β2 with respect to a vertical plane l perpendicular to the optical axis direction m2 of the imaging optical system of the oblique mirror 411. By the oblique mirror 411 photographing the mark 407a at the inclination angle β2, it is possible to appropriately perform white balance adjustment based on the endoscopic image obtained by imaging the mark 407a.

調整治具400を用いてホワイトバランス調整を行うホワイトバランスモード時においては、内視鏡10の先端部12dとチャート408との位置関係に関するエラーが発生しているか否かエラー判定が行われる。本実施形態では、エラー判定として、調整治具400に挿入された内視鏡10の先端部12dがチャート408上のマーク407a~dのいずれかと適切な位置関係にあるどうかのエラー判定を行う。先端部12dがチャート408上のマーク407a~407dのいずれかと適切な位置関係にあることで、ホワイトバランス調整を適切に行うことができる。 In white balance mode, in which white balance adjustment is performed using the adjustment jig 400, an error determination is made as to whether or not an error has occurred regarding the positional relationship between the tip 12d of the endoscope 10 and the chart 408. In this embodiment, the error determination is made as to whether or not the tip 12d of the endoscope 10 inserted into the adjustment jig 400 is in an appropriate positional relationship with any of the marks 407a to 407d on the chart 408. When the tip 12d is in an appropriate positional relationship with any of the marks 407a to 407d on the chart 408, the white balance adjustment can be performed appropriately.

本実施形態では、エラー判定を行うために、図73に示すように、プロセッサ装置14には、画像取得部420と、エラー判定部421とが設けられている。プロセッサ装置14には、画像取得部420及びエラー判定部421についての各種処理に関するプログラムがメモリ(図示しない)に組み込まれている。プロセッサによって構成される制御部(図示しない)によってプログラムが実行されることによって、画像取得部420と、エラー判定部421との機能が実現される。 In this embodiment, in order to perform error determination, as shown in FIG. 73, the processor device 14 is provided with an image acquisition unit 420 and an error determination unit 421. The processor device 14 has programs related to various processes for the image acquisition unit 420 and the error determination unit 421 built into a memory (not shown). The functions of the image acquisition unit 420 and the error determination unit 421 are realized by the programs being executed by a control unit (not shown) configured by a processor.

画像取得部420は、内視鏡の先端部12dからチャート408を撮像して得られる内視鏡画像を取得する。具体的には、ホワイトバランス調整モード作動中で、内視鏡の先端部12dが調整治具400に挿入されている状態において、内視鏡の先端部12dは、調整治具400内のチャート408のマーク407a~407dのいずれかを撮像する(例えば、図71、図72参照)。撮像により得られた内視鏡画像が、画像取得部420で取得される。なお、画像取得部420とエラー判定部421とは、プロセッサ装置14に設け、ホワイトバランスモード時に表示する内視鏡画像を拡張ディスプレイ18に表示してもよい。 The image acquisition unit 420 acquires an endoscopic image obtained by capturing an image of the chart 408 from the tip 12d of the endoscope. Specifically, when the white balance adjustment mode is in operation and the tip 12d of the endoscope is inserted into the adjustment jig 400, the tip 12d of the endoscope captures an image of one of the marks 407a to 407d of the chart 408 in the adjustment jig 400 (see, for example, Figures 71 and 72). The endoscopic image obtained by capturing the image is acquired by the image acquisition unit 420. Note that the image acquisition unit 420 and the error determination unit 421 may be provided in the processor device 14, and the endoscopic image displayed in the white balance mode may be displayed on the extended display 18.

エラー判定部421は、内視鏡画像から、少なくとも3つの第1判定領域を含む第1判定領域群の情報と、第1判定領域群の外側に設けられ、少なくとも3つの第2判定領域を含む第2判定領域群の情報を取得し、第1領域判定群の情報と第2領域判定群の情報とに基づいて、チャート408と内視鏡の先端部12dとの位置関係に関するエラーが発生しているか否かのエラー判定を行う。 The error determination unit 421 obtains information on a first determination area group including at least three first determination areas and information on a second determination area group that is provided outside the first determination area group and includes at least three second determination areas from the endoscopic image, and performs an error determination as to whether or not an error has occurred regarding the positional relationship between the chart 408 and the tip 12d of the endoscope based on the information on the first area determination group and the information on the second area determination group.

具体的には、図74に示すように、第1判定領域群は、3つの第1判定領域Jm1~Jm3を有している。ホワイトバランスモードにおいて、内視鏡の先端部12dが適切な位置にある場合には、第1判定領域Jm1~Jm3は、チャート408のマーク407a~407dの部分に位置される。3つの第1判定領域Jm1~Jm3の情報としては、明るさが用いられ、内視鏡画像では、マーク407a等の明るさは、チャート408のうちマーク407a等以外の背景部分の明るさよりも大きくなっている。内視鏡の先端部12dが適切な位置にある状態で、内視鏡画像から第1判定領域Jm1~Jm3の明るさを取得した場合には、3つの第1判定領域Jm1~Jm3のいずれも、明るさが第1閾値以上となっている。したがって、エラー判定部421は、3つの第1判定領域Jm1~Jm3の中に、明るさが第1閾値未満の第1判定領域が少なくとも1つある場合には、エラーと判定する。このように、明るさの判定に関する演算処理は、エッジ抽出のような高リソースの演算処理ではなく、プロセッサ装置14に従来から備わっている低リソースの処理であるため、演算負荷が少なく、短時間で行うことができる。 Specifically, as shown in FIG. 74, the first judgment region group has three first judgment regions Jm1 to Jm3. When the tip 12d of the endoscope is in an appropriate position in the white balance mode, the first judgment regions Jm1 to Jm3 are located in the area of the marks 407a to 407d of the chart 408. Brightness is used as information for the three first judgment regions Jm1 to Jm3, and in the endoscopic image, the brightness of the marks 407a, etc. is greater than the brightness of the background part of the chart 408 other than the marks 407a, etc. When the tip 12d of the endoscope is in an appropriate position and the brightness of the first judgment regions Jm1 to Jm3 is acquired from the endoscopic image, the brightness of all three first judgment regions Jm1 to Jm3 is equal to or greater than the first threshold value. Therefore, the error determination unit 421 determines that an error has occurred when there is at least one first judgment region in the three first judgment regions Jm1 to Jm3 whose brightness is less than the first threshold value. In this way, the calculation process for determining brightness is not a high-resource calculation process such as edge extraction, but a low-resource process that has traditionally been included in the processor unit 14, so the calculation load is small and it can be completed in a short time.

また、第2判定領域群は、3つの第2判定領域Jn1~Jn3を有している。ホワイトバランスモードにおいて、内視鏡の先端部12dが適切な位置にある場合には、第2判定領域Jn1~Jn3は、背景部分に位置される。3つの第2判定領域の情報としては、明るさが用いられ、内視鏡画像では、背景部分の明るさは、マーク407a等の明るさよりも小さくなっている。内視鏡の先端部12dが適切な位置にある状態で、内視鏡画像から第2判定領域Jn1~Jn3の明るさを取得した場合には、3つの第2判定領域Jn1~Jn3のいずれも、明るさが第2閾値未満となっている。したがって、エラー判定部421は、3つの第2判定領域Jn1~Jn3の中に、明るさが第2閾値以上の第2判定領域が少なくとも1つある場合には、エラーと判定する。 The second judgment region group also has three second judgment regions Jn1 to Jn3. In white balance mode, when the tip 12d of the endoscope is in an appropriate position, the second judgment regions Jn1 to Jn3 are located in the background. Brightness is used as information for the three second judgment regions, and in the endoscopic image, the brightness of the background is less than the brightness of the mark 407a and the like. When the brightness of the second judgment regions Jn1 to Jn3 is acquired from the endoscopic image with the tip 12d of the endoscope in an appropriate position, the brightness of all three second judgment regions Jn1 to Jn3 is less than the second threshold. Therefore, the error determination unit 421 determines that an error has occurred when at least one second judgment region among the three second judgment regions Jn1 to Jn3 has a brightness equal to or greater than the second threshold.

本実施形態においては、エラー判定部421で正確にエラー判定を行うために、内視鏡画像上のチャート408は、マーク407a等と背景部分とのコントラストが十分についていることが好ましい。例えば、マーク407aの明るさから、ノイズと背景部分の明るさを足し合わせたものを減算したもの((マーク407a等の明るさ―(ノイズ+背景部分))が、ランダムノイズ以上となるように、チャート408を構成することが好ましい。 In this embodiment, in order for the error determination unit 421 to perform accurate error determination, it is preferable that the chart 408 on the endoscopic image has sufficient contrast between the marks 407a, etc. and the background. For example, it is preferable to configure the chart 408 so that the brightness of the mark 407a minus the sum of the brightness of the noise and the background ((brightness of the marks 407a, etc. - (noise + background))) is equal to or greater than random noise.

また、内視鏡画像における第1判定領域群の配置形状は、3つの第1判定領域Jm1~Jm3を結んで得られる逆三角形である。一方、内視鏡画像における第2判定領域群の配置形状は、3つの第2判定領域Jn1~Jn3を結んで得られる三角形である。このように配置された6つの第1判定領域Jm1~Jm3及び第2判定領域Jn1~Jn3にいより、マーク407a等の位置ずれ等を360°の方向で検出できるようにしている。例えば、第1判定領域群の配置形状が三角形の場合には、マーク407a等がチャート下方にズレている場合に、エラー判定を正確に行うことが難しい場合がある。 The layout shape of the first determination region group in the endoscopic image is an inverted triangle obtained by connecting the three first determination regions Jm1 to Jm3. On the other hand, the layout shape of the second determination region group in the endoscopic image is a triangle obtained by connecting the three second determination regions Jn1 to Jn3. The six first determination regions Jm1 to Jm3 and the six second determination regions Jn1 to Jn3 arranged in this manner make it possible to detect positional deviations of marks 407a, etc. in a 360° direction. For example, if the layout shape of the first determination region group is a triangle, it may be difficult to accurately determine an error if marks 407a, etc. are shifted downward on the chart.

なお、第1判定領域Jm1~Jm3及び第2判定領域Jn1~Jn3は、図74では、それらの位置において内視鏡画像の情報を得る領域を説明するための説明用として図示しており、実際には、ディスプレイ15上には表示されない。なお、第1判定領域Jm1~Jm3又は第2判定領域Jn1~Jn3の形状は、矩形状であることが好ましい。また、第1判定領域Jm1~Jm3又は第2判定領域Jn1~Jn3のサイズは、処理負担を考慮し、第1閾値又は第2閾値に基づく明るさの判定に影響が出ない程度に、できるだけ小さいことが好ましい。 Note that the first judgment regions Jm1-Jm3 and the second judgment regions Jn1-Jn3 are shown in FIG. 74 for the purpose of explaining the regions where endoscopic image information is obtained at those positions, and are not actually displayed on the display 15. Note that the shape of the first judgment regions Jm1-Jm3 or the second judgment regions Jn1-Jn3 is preferably rectangular. Also, taking into account the processing load, it is preferable that the size of the first judgment regions Jm1-Jm3 or the second judgment regions Jn1-Jn3 is as small as possible without affecting the brightness judgment based on the first threshold value or the second threshold value.

エラー判定部421は、第1判定領域群の情報と第2判定領域群の情報とに加えて、第3判定領域の情報に基づいて、エラーが発生しているか否かを判定する。第3判定領域Jtは、第1判定領域群の内側に設けられ、矩形状を有している(第1、第2判定領域と同様、ディスプレイ15には表示されない)。具体的には、第3判定領域Jtの情報は色調であることが好ましい。エラー判定部421は、第3判定領域Jtの色調が特定の色調範囲外である場合に、エラー判定を行うことが好ましい。 The error determination unit 421 determines whether an error has occurred based on the information of the first and second judgment area groups, as well as the information of the third judgment area. The third judgment area Jt is provided inside the first judgment area group and has a rectangular shape (as with the first and second judgment areas, it is not displayed on the display 15). Specifically, it is preferable that the information of the third judgment area Jt is a color tone. It is preferable that the error determination unit 421 performs an error determination when the color tone of the third judgment area Jt is outside a specific color tone range.

特定の色調範囲は、マーク407a等の色調を基準に定められ、例えば、グレーであることが好ましい。特定の色調範囲外は、マーク407a等の色調のうち彩度が一定範囲外であることが好ましい。例えば、特定の色調範囲が、グレーに基づく一定の彩度範囲である場合には、赤色、青色などのように、グレーから離れた彩度については、特定の色調範囲外とすることが好ましい。実際には、内視鏡の先端部12dには血液などが付着することがあり、このような場合に、第3判定領域Jtが特定の色調範囲外となることが想定される。なお、第3判定領域Jtの情報のみに基づいてエラー判定を行ってもよい。 The specific color tone range is determined based on the color tone of the mark 407a, etc., and is preferably, for example, gray. Outside the specific color tone range, it is preferable that the saturation of the color tone of the mark 407a, etc. is outside a certain range. For example, if the specific color tone range is a certain saturation range based on gray, it is preferable that saturation away from gray, such as red and blue, is outside the specific color tone range. In reality, blood or the like may adhere to the tip 12d of the endoscope, and in such a case, it is expected that the third determination region Jt will be outside the specific color tone range. Note that an error determination may be made based only on the information of the third determination region Jt.

また、ホワイトバランスモードでは、内視鏡画像をディスプレイ15に表示する際に、チャート408のマーク407a~407dのいずれかの位置をガイドするためのガイド領域GAが内視鏡画像に重畳表示される。ガイド領域GAは、第1判定領域群と第2判定領域群の間に設けられ、内側円GAxと外側円GAyからなる二重円を有している。ユーザーは、ホワイトバランスモードにおいて、内視鏡画像上のマークが内側円GAxと外側円GAyとの間の領域入るように、内視鏡の先端部12dを操作する(図74では、マーク407aを例として挙げている)。 In addition, in the white balance mode, when an endoscopic image is displayed on the display 15, a guide area GA for guiding the position of any one of the marks 407a to 407d on the chart 408 is superimposed on the endoscopic image. The guide area GA is provided between the first and second determination area groups, and has a double circle consisting of an inner circle GAx and an outer circle GAy. In the white balance mode, the user operates the tip 12d of the endoscope so that the mark on the endoscopic image falls in the area between the inner circle GAx and the outer circle GAy (mark 407a is shown as an example in Figure 74).

具体的には、図74に示すように、3つの第1判定領域の明るさがいずれも第1閾値以上であり、且つ、3つの第2判定領域の明るさがいずれも第2閾値未満である場合には、エラー判定部421は、エラー判定を行わない。この場合には、ディスプレイ15に「位置決めOK」などのガイダンス表示を表示することが好ましい。 Specifically, as shown in FIG. 74, if the brightness of all three first judgment areas is equal to or greater than the first threshold value and the brightness of all three second judgment areas is less than the second threshold value, the error judgment unit 421 does not make an error judgment. In this case, it is preferable to display a guidance message such as "Positioning OK" on the display 15.

一方、3つの第1判定領域の中に、明るさが第1閾値未満の第1判定領域が少なくとも1つある場合、又は、3つの第2判定領域の中に、明るさが第2閾値以上の第2判定領域が少なくとも1つある場合のうち少なくともいずれかを満たす場合には、エラー判定部421は、エラー判定を行う。エラー判定の結果は、ディスプレイ15に表示することが好ましい(例えば、「スコープが適切な位置にありません」などのガイダンス表示を行う)。 On the other hand, if at least one of the three first judgment regions has a brightness less than the first threshold value, or if at least one of the three second judgment regions has a brightness equal to or greater than the second threshold value, the error judgment unit 421 makes an error judgment. It is preferable to display the result of the error judgment on the display 15 (for example, displaying a guidance message such as "The scope is not in an appropriate position").

例えば、図75に示すように、マーク407aの位置が、内視鏡の先端部12dの挿入方向Xとは略直交する方向(Y方向又はZ方向(図62参照))にずれている場合には、3つの第1判定領域Jm1~Jm3のうちの1つの第1判定領域Jm1の明るさが第1閾値未満となっているため、エラー判定される。この場合には、ユーザーは、マーク407aがガイド領域の内側円GAxと外側円GAyの間に入るように、先端部12dをY方向又はZ方向に操作する。 For example, as shown in FIG. 75, if the position of the mark 407a is shifted in a direction (Y direction or Z direction (see FIG. 62)) that is substantially perpendicular to the insertion direction X of the tip 12d of the endoscope, an error is determined because the brightness of one of the three first determination regions Jm1 to Jm3, Jm1, is less than the first threshold. In this case, the user operates the tip 12d in the Y direction or Z direction so that the mark 407a is between the inner circle GAx and the outer circle GAy of the guide region.

また、チャート408と内視鏡の先端部12との距離が近すぎる場合には、図76に示すように、3つの第2判定領域のJn1~Jn3明るさがいずれも第2閾値以上となっているため、エラー判定される。この場合には、ユーザーは、マーク407aがガイド領域の内側円GAxと外側円GAyの間に収まるように、先端部12dをX方向に操作する。反対に、チャート408と内視鏡の先端部12との距離が通すぎる場合には、図77に示すように、3つの第1判定領域Jm1~Jm3のうちの2つの第2判定領域Jm1、Jm2域の明るさが第1閾値未満となっているため、エラー判定される。この場合には、ユーザーは、マーク407aが内側円GAxと外側円GAyの間に収まるように、先端部12dをX方向に操作する。 Also, if the distance between the chart 408 and the tip 12 of the endoscope is too close, as shown in FIG. 76, the brightness of the three second judgment areas Jn1 to Jn3 is equal to or greater than the second threshold, and an error is determined. In this case, the user operates the tip 12d in the X direction so that the mark 407a fits between the inner circle GAx and the outer circle GAy of the guide area. On the other hand, if the distance between the chart 408 and the tip 12 of the endoscope is too close, as shown in FIG. 77, the brightness of two of the three first judgment areas Jm1 to Jm3, the second judgment areas Jm1 and Jm2, is less than the first threshold, and an error is determined. In this case, the user operates the tip 12d in the X direction so that the mark 407a fits between the inner circle GAx and the outer circle GAy.

エラー判定部421は、3つの第1判定領域の明るさがいずれも第1閾値以上であり、且つ、3つの第2判定領域の明るさがいずれも第2閾値未満である場合において、第3判定領域Jtの色調が特定の色調範囲外である場合に、エラー判定を行ってもよい。図78に示すように、マーク407aの位置がガイド領域の内側円GAxと外側円GAyの間に入っているにもかかわらず、第3判定領域Jtの色調が赤色等の色調の場合には、エラー判定を行う。この場合にも、エラー判定の結果を報知することが好ましいが、第1判定領域群の情報及び第2判定領域群の情報に基づくエラー判定の結果の報知とは、異ならせることが好ましい。例えば、「ホワイトバランス調整に適した色調になっていません」などのガイダンス表示を行う。なお、図78においては、第3判定領域Jtについて、図74の第3判定領域Jtの色調との違いを、異なるハッチング(ハッチングの傾きが異なる)で表現している。 The error determination unit 421 may perform an error determination when the brightness of the three first determination regions is equal to or greater than the first threshold value and the brightness of the three second determination regions is less than the second threshold value, and the color tone of the third determination region Jt is outside a specific color tone range. As shown in FIG. 78, an error determination is performed when the color tone of the third determination region Jt is red or the like, even though the position of the mark 407a is between the inner circle GAx and the outer circle GAy of the guide region. In this case, it is preferable to notify the result of the error determination, but it is preferable to make the notification different from the notification of the result of the error determination based on the information of the first determination region group and the information of the second determination region group. For example, a guidance display such as "The color tone is not suitable for white balance adjustment" is performed. In FIG. 78, the difference in color tone of the third determination region Jt from that of the third determination region Jt in FIG. 74 is expressed by different hatching (with different hatching inclinations).

図83に示すように、内視鏡画像で、マーク407aだけでなく、マーク407bが写り込んでいるような場合、第1判定領域Jm1~Jm4の明るさが第1閾値未満であり、また、第2判定領域Jn7、Jn8の明るさが第2閾値以上となるため、エラーと判定される。また、図84に示すように、マーク407aの形状が楕円状に変形して、ガイド領域の外側円GAyを超えている場合には、第1判定領域Jm1~Jm4の明るさが第1閾値以上であるものの、第2判定領域Jn2~Jn4の明るさが第2閾値以上となるため、エラーと判定される。 As shown in Figure 83, when not only mark 407a but also mark 407b is captured in the endoscopic image, the brightness of the first judgment regions Jm1 to Jm4 is less than the first threshold value and the brightness of the second judgment regions Jn7 and Jn8 is equal to or greater than the second threshold value, so it is determined to be an error. Also, as shown in Figure 84, when the shape of mark 407a is deformed into an ellipse and exceeds the outer circle GAy of the guide region, the brightness of the first judgment regions Jm1 to Jm4 is equal to or greater than the first threshold value, but the brightness of the second judgment regions Jn2 to Jn4 is equal to or greater than the second threshold value, so it is determined to be an error.

次に、ホワイトバランスモードにおける一連の流れについて、図79のフローチャートに沿って、説明を行う。ユーザーは、内視鏡の先端部12d(スコープ先端部)を調整治具400に挿入する。この場合、調整治具400の挿入孔405のうち、内視鏡の先端部12dの径に対応する挿入孔に挿入する。モード切替スイッチ12fを操作してホワイトバランスモードに切り替える。これにより、調整治具400の内部空間406の状態の内視鏡画像が、ディスプレイ15に表示される。ユーザーは、内視鏡画像上にチャート408上のマークが表示されるマーク表示位置に達するまで、内視鏡の先端部12dを挿入方向Xに挿入させる。 Next, a series of steps in the white balance mode will be explained with reference to the flowchart in Figure 79. The user inserts the tip 12d (scope tip) of the endoscope into the adjustment jig 400. In this case, it is inserted into one of the insertion holes 405 of the adjustment jig 400 that corresponds to the diameter of the tip 12d of the endoscope. The mode change switch 12f is operated to switch to the white balance mode. As a result, an endoscopic image of the state of the internal space 406 of the adjustment jig 400 is displayed on the display 15. The user inserts the tip 12d of the endoscope in the insertion direction X until it reaches the mark display position where a mark on the chart 408 is displayed on the endoscopic image.

内視鏡の先端部12dがマーク表示位置まで挿入されると、チャート408上のマーク407a~407dのうち内視鏡の先端部12dを挿入した挿入孔の位置、及び、内視鏡12の種類に対応するマークを含むチャート408を撮像して得られる内視鏡画像が、ディスプレイ15に表示される。エラー判定部421は、内視鏡画像から、3つの第1判定領域Jm1~Jm3を含む第1判定領域群の情報と、第1判定領域群の外側に設けられ、少なくとも3つの第2判定領域Jn1~Jn3を含む第2判定領域群の情報を取得し、第1領域判定群の情報と第2領域判定群の情報とに基づいて、チャート408と内視鏡の先端部12dとの位置関係に関するエラーが発生しているか否かのエラー判定を行う。 When the tip 12d of the endoscope is inserted to the mark display position, an endoscopic image obtained by imaging the chart 408 including marks 407a to 407d on the chart 408, the position of the insertion hole into which the tip 12d of the endoscope is inserted, and a mark corresponding to the type of endoscope 12, is displayed on the display 15. The error determination unit 421 obtains information on a first determination area group including three first determination areas Jm1 to Jm3 from the endoscopic image, and information on a second determination area group that is provided outside the first determination area group and includes at least three second determination areas Jn1 to Jn3, and performs an error determination as to whether or not an error has occurred regarding the positional relationship between the chart 408 and the tip 12d of the endoscope based on the information on the first area determination group and the information on the second area determination group.

エラー判定されない場合には、プロセッサ装置14のホワイトがランス処理部(図示しない)において、エラー判定されなかったときの内視鏡画像に基づくホワイトバランス調整が行われる。一方、エラー判定された場合には、ユーザーは、ガイド領域GAを手掛かりにして、マークが適正な位置に表示されるように、内視鏡の先端部12dを操作する。内視鏡の先端部12dが適正な位置に表示された場合には、エラー判定が解消される。プロセッサ装置14のホワイトがランス処理部において、エラー判定が解消されたときの内視鏡画像に基づくホワイトバランス調整が行われる。 If no error is determined, the white of the processor device 14 is adjusted in the lance processing unit (not shown) based on the endoscopic image when no error is determined. On the other hand, if an error is determined, the user uses the guide area GA as a clue to operate the tip 12d of the endoscope so that the mark is displayed in the correct position. When the tip 12d of the endoscope is displayed in the correct position, the error determination is resolved. The white of the processor device 14 is adjusted in the lance processing unit based on the endoscopic image when the error determination is resolved.

なお、図80に示すように、エラー判定部421は、内視鏡画像から、第1判定領域群に含まれる4つの第1判定領域Jm1~Jm4の情報と、第2判定領域群に含まれる8つの第2判定領域Jn1~Jn8の情報とを取得し、エラー判定を行ってもよい。第1判定領域Jm1~Jm4の情報、又は、第2判定領域Jn1~Jn8の情報については、上記実施形態と同様に、明るさであることが好ましい。4つの第1判定領域Jm1~Jm4は、ガイド領域の内側円GAxの内側に、略90°間隔で設けられている。8つの第2判定領域Jn1~Jn8については、ガイド領域の外側円GAyの外側のうち、左半分に所定間隔で4つの第2判定領域Jn1~Jn4が設けられており、右半分に所定間隔で4つの第2判定領域Jn5~Jn8が設けられている。 As shown in FIG. 80, the error determination unit 421 may obtain information on the four first determination regions Jm1 to Jm4 included in the first determination region group and information on the eight second determination regions Jn1 to Jn8 included in the second determination region group from the endoscopic image and perform error determination. As with the above embodiment, the information on the first determination regions Jm1 to Jm4 or the information on the second determination regions Jn1 to Jn8 is preferably brightness. The four first determination regions Jm1 to Jm4 are provided at approximately 90° intervals inside the inner circle GAx of the guide region. As for the eight second determination regions Jn1 to Jn8, four second determination regions Jn1 to Jn4 are provided at a predetermined interval in the left half outside the outer circle GAy of the guide region, and four second determination regions Jn5 to Jn8 are provided at a predetermined interval in the right half.

また、第1判定領域Jm1~Jm4の明るさ、又は、第2判定領域Jn1~Jn8の明るさについては、規格化用領域Juの明るさで規格化することが好ましい。これにより、図81に示すように、自動露光制御の直後など、画像全体の明るさが変化して全体的明るさが基準範囲外となった場合であっても、規格化した第1判定領域又は第2判定領域の明るさを用いることで、画像全体の明るさの変化に関わらず、正確に、エラー判定を行うことができる。 It is also preferable to normalize the brightness of the first judgment regions Jm1 to Jm4 or the brightness of the second judgment regions Jn1 to Jn8 with the brightness of the normalization region Ju. As a result, as shown in FIG. 81, even if the brightness of the entire image changes and falls outside the reference range, such as immediately after automatic exposure control, by using the normalized brightness of the first judgment region or second judgment region, it is possible to accurately perform error determination regardless of changes in the brightness of the entire image.

なお、規格化は、例えば、第1判定領域又は第2判定領域の明るさを規格化用領域の明るさで除することが好ましい。また、規格化用領域Juは、第1判定領域Jm1~Jm4を含む第1判定領域群の内側に設けることが好ましい。また、図74の場合においても、規格化用領域の明るさを用いて、第1判定領域Jm1~Jm3の明るさ、又は、第2判定領域Jn1~Jn3の明るさの規格化を行ってよい。 For normalization, it is preferable to divide the brightness of the first judgment region or the second judgment region by the brightness of the normalization region. It is also preferable to provide the normalization region Ju inside the first judgment region group including the first judgment regions Jm1 to Jm4. Also, in the case of FIG. 74, the brightness of the first judgment regions Jm1 to Jm3 or the brightness of the second judgment regions Jn1 to Jn3 may be normalized using the brightness of the normalization region.

また、エラー判定部421は、複数の第2判定領域の中に、明るさが第2閾値以上の第2判定領域が、予め定められた規定数以上ある場合には、エラーと判定することが好ましい。例えば、エラー判定部421は、明るさが第2閾値以上の第2判定領域の数が、明るさが第2閾値未満の第2判定領域の数よりも大きい場合には、エラーと判定することが好ましい。図81のように、第2判定領域の数が8の場合において、多数決によりエラー判定を行う場合には、規定数は、例えば、6に定められる。このように多数決によりエラー判定を行うことで、例えば、マーク407aがガイド領域の内側円GAxと外側円GAyとの間に入っているにも関わらず、内視鏡画像中に写り込んだフレアFLAによって、第2判定領域Jm3の明るさのみが第2閾値以上となった場合であっても、多数決によるエラー判定を用いることで、エラーでは無いとと判定することができる。 In addition, it is preferable that the error determination unit 421 determines that there is an error when the number of second determination areas whose brightness is equal to or greater than the second threshold is equal to or greater than a predetermined number among the multiple second determination areas. For example, it is preferable that the error determination unit 421 determines that there is an error when the number of second determination areas whose brightness is equal to or greater than the second threshold is greater than the number of second determination areas whose brightness is less than the second threshold. As shown in FIG. 81, when the number of second determination areas is 8, the specified number is set to, for example, 6 when performing error determination by majority vote. By performing error determination by majority vote in this manner, for example, even if the mark 407a is between the inner circle GAx and the outer circle GAy of the guide area, but only the brightness of the second determination area Jm3 is equal to or greater than the second threshold due to the flare FLA reflected in the endoscopic image, it can be determined that there is no error by using error determination by majority vote.

上記実施形態において、酸素飽和度画像生成部61、特定色素濃度算出部62、テーブル補正部63、モード切替部64、表示態様制御部65、信頼度算出部66、第1補正判定部67、第2補正判定部68、判定報知部69、ベース画像生成部70、演算値算出部71、酸素飽和度算出部72、色調調整部74、画像取得部420、エラー判定部421といった各種の処理を実行する処理部(processing unit)のハードウェア的な構造は、次に示すような各種のプロセッサ(processor)である。各種のプロセッサには、ソフトウエア(プログラム)を実行して各種の処理部として機能する汎用的なプロセッサであるCPU(Central Processing Unit)、GPU(Graphical Processing Unit)、FPGA (Field Programmable Gate Array) などの製造後に回路構成を変更可能なプロセッサであるプログラマブルロジックデバイス(Programmable Logic Device:PLD)、各種の処理を実行するために専用に設計された回路構成を有するプロセッサである専用電気回路などが含まれる。 In the above embodiment, the hardware structure of the processing unit that executes various processes such as the oxygen saturation image generating unit 61, the specific dye concentration calculating unit 62, the table correcting unit 63, the mode switching unit 64, the display mode control unit 65, the reliability calculating unit 66, the first correction determining unit 67, the second correction determining unit 68, the determination notifying unit 69, the base image generating unit 70, the calculation value calculating unit 71, the oxygen saturation calculating unit 72, the color tone adjusting unit 74, the image acquiring unit 420, and the error determining unit 421 is various processors as shown below. The various processors include a CPU (Central Processing Unit), which is a general-purpose processor that executes software (programs) and functions as various processing units, a GPU (Graphical Processing Unit), a programmable logic device (PLD), which is a processor whose circuit configuration can be changed after manufacture such as an FPGA (Field Programmable Gate Array), and a dedicated electric circuit, which is a processor having a circuit configuration designed specifically for executing various processes.

1つの処理部は、これら各種のプロセッサのうちの1つで構成されてもよいし、同種または異種の2つ以上のプロセッサの組み合せ(例えば、複数のFPGA、CPUとFPGAの組み合わせ、またはCPUとGPUの組み合わせ等)で構成されてもよい。また、複数の処理部を1つのプロセッサで構成してもよい。複数の処理部を1つのプロセッサで構成する例としては、第1に、クライアントやサーバなどのコンピュータに代表されるように、1つ以上のCPUとソフトウエアの組み合わせで1つのプロセッサを構成し、このプロセッサが複数の処理部として機能する形態がある。第2に、システムオンチップ(System On Chip:SoC)などに代表されるように、複数の処理部を含むシステム全体の機能を1つのIC(Integrated Circuit)チップで実現するプロセッサを使用する形態がある。このように、各種の処理部は、ハードウェア的な構造として、上記各種のプロセッサを1つ以上用いて構成される。 A processing unit may be configured with one of these various processors, or may be configured with a combination of two or more processors of the same or different types (for example, multiple FPGAs, a combination of a CPU and an FPGA, or a combination of a CPU and a GPU). Multiple processing units may also be configured with one processor. As an example of configuring multiple processing units with one processor, first, as represented by computers such as clients and servers, there is a form in which one processor is configured with a combination of one or more CPUs and software, and this processor functions as multiple processing units. Second, as represented by system on chip (SoC), there is a form in which a processor is used that realizes the functions of the entire system including multiple processing units with a single IC (Integrated Circuit) chip. In this way, the various processing units are configured using one or more of the above various processors as a hardware structure.

さらに、これらの各種のプロセッサのハードウェア的な構造は、より具体的には、半導体素子などの回路素子を組み合わせた形態の電気回路(circuitry)である。また、記憶部のハードウェア的な構造はHDD(hard disc drive)やSSD(solid state drive)等の記憶装置である。 More specifically, the hardware structure of these various processors is an electric circuit (circuitry) that combines circuit elements such as semiconductor elements. The hardware structure of the memory unit is a storage device such as a hard disk drive (HDD) or solid state drive (SSD).

10、100 内視鏡システム
12 内視鏡
12a 挿入部
12b 操作部
12c 湾曲部
12d 先端部
12e アングルノブ
12f モード切替スイッチ
12h 静止画像取得指示スイッチ
12i ズーム操作部
12j 鉗子口
13 光源装置
14 プロセッサ装置
15 ディスプレイ
16 プロセッサ側ユーザーインターフェース
17 拡張プロセッサ装置
18 拡張ディスプレイ
19 スコープ側ユーザーインターフェース
20 光源部
20a V-LED
20b BS-LED
20c BL―ELD
20d G-LED
20e R-LED
21 光源用プロセッサ
23 光路結合部
25 ライトガイド
30 照明光学系
31 撮像光学系
32 照明レンズ
35 対物レンズ
36、106 撮像センサ
37 撮像用プロセッサ
40 CDS/AGD回路
41 A/Dコンバータ
50 画像処理部
51 画像通信部
52 表示制御部
53 中央制御部
55a、55b、55c 曲線
56a、55b 曲線
61 酸素飽和度画像生成部
62 特定色素濃度算出部
62a 特定色素濃度算出用テーブル
63 テーブル補正部
64 モード切替部
65 表示態様制御部
66 信頼度算出部
67 第1補正判定部
68 第2補正判定部
69 判定報知部
70 ベース画像生成部
71 演算値算出部
72 酸素飽和度算出部
73 酸素飽和度算出用テーブル
74 色調調整部
75、76 等高線
80 補正用画像
81 特定領域
82a 低信頼度領域
82b 高信頼度領域
90 2次元座標
91 基準線
92 実測線
102 広帯域光源
104 回転フィルタ
105 フィルタ切替部
108 内側フィルタ
108a B1フィルタ
108b Gフィルタ
108c Rフィルタ
109 外側フィルタ
109a B1フィルタ
109b B2フィルタ
109c Gフィルタ
109d Rフィルタ
109e B3フィルタ
200 内視鏡システム
201 内視鏡
202 ライトガイド
203 カメラヘッド
205~207 ダイクロイックミラー
210~213 撮像センサ
300 内視鏡
301 カラー撮像センサ
302 モノクロ撮像センサ
303 カメラヘッド
305 ダイクロイックミラー
400 調整治具
401 挿入部
401a、401b ガイド部
402 蓋部
402a 外面
402b 内面
402c 凸部
402e 蓋部部材
403 外周部
403e 仕切り
403f 磁石挿入部
403g 凹部
405 挿入孔
405a、405b 挿入孔
406 内部空間
406a、406b 内部空間
407a~407d マーク
408 チャート
411 斜視鏡
412 直視鏡
420 画像取得部
421 エラー判定部
AR0~AR4 領域
DFX、DFY 定義線
BF Bカラーフィルタ
GD 操作ガイダンス
GF Gカラーフィルタ
FLA フレア
MS0、MS1、MS2 メッセージ
RF Rカラーフィルタ
CV0~CV4 曲面
EL、ELL、ELH 等高線
Jm1~Jm8 第1判定領域
Jn1~Jn8 第2判定領域
Jt 第3判定領域
Ju 規格化用領域
GAx 内側円
GAy 外側円
10, 100 Endoscope system 12 Endoscope 12a Insertion section 12b Operation section 12c Bending section 12d Tip section 12e Angle knob 12f Mode changeover switch 12h Still image acquisition instruction switch 12i Zoom operation section 12j Forceps port 13 Light source device 14 Processor device 15 Display 16 Processor side user interface 17 Extended processor device 18 Extended display 19 Scope side user interface 20 Light source section 20a V-LED
20b BS-LED
20c BL-ELD
20d G-LED
20e R-LED
21 Light source processor 23 Optical path coupling unit 25 Light guide 30 Illumination optical system 31 Imaging optical system 32 Illumination lens 35 Objective lens 36, 106 Imaging sensor 37 Imaging processor 40 CDS/AGD circuit 41 A/D converter 50 Image processing unit 51 Image communication unit 52 Display control unit 53 Central control unit 55a, 55b, 55c Curve 56a, 55b Curve 61 Oxygen saturation image generation unit 62 Specific dye concentration calculation unit 62a Specific dye concentration calculation table 63 Table correction unit 64 Mode switching unit 65 Display mode control unit 66 Reliability calculation unit 67 First correction judgment unit 68 Second correction judgment unit 69 Judgment notification unit 70 Base image generation unit 71 Calculated value calculation unit 72 Oxygen saturation calculation unit 73 Oxygen saturation calculation table 74 Color tone adjustment unit 75, 76 Contour line 80 Correction image 81 Specific area 82a Low-reliability region 82b High-reliability region 90 Two-dimensional coordinates 91 Reference line 92 Measured line 102 Broadband light source 104 Rotating filter 105 Filter switching unit 108 Inner filter 108a B1 filter 108b G filter 108c R filter 109 Outer filter 109a B1 filter 109b B2 filter 109c G filter 109d R filter 109e B3 filter 200 Endoscope system 201 Endoscope 202 Light guide 203 Camera heads 205 to 207 Dichroic mirrors 210 to 213 Imaging sensor 300 Endoscope 301 Color imaging sensor 302 Monochrome imaging sensor 303 Camera head 305 Dichroic mirror 400 Adjustment jig 401 Insertion section 401a, 401b Guide section 402 Cover section 402a Outer surface 402b Inner surface 402c Convex portion 402e Lid member 403 Outer peripheral portion 403e Partition 403f Magnet insertion portion 403g Convex portion 405 Insertion holes 405a, 405b Insertion hole 406 Internal spaces 406a, 406b Internal spaces 407a to 407d Mark 408 Chart 411 Oblique mirror 412 Direct mirror 420 Image acquisition unit 421 Error determination units AR0 to AR4 Areas DFX, DFY Definition line BF B color filter GD Operation guidance GF G color filter FLA Flare MS0, MS1, MS2 Message RF R color filter CV0 to CV4 Curved surfaces EL, ELL, ELH Contour lines Jm1 to Jm8 First determination region Jn1 to Jn8 Second determination region Jt Third determination region Ju Standardization region GAx Inner circle GAy Outer circle

Claims (15)

プロセッサを備え、
前記プロセッサは、
内視鏡の先端部からチャートを撮像して得られる内視鏡画像を取得し、
前記内視鏡画像から、少なくとも3つの第1判定領域を含む第1判定領域群の情報と、前記第1判定領域群の外側に設けられ、少なくとも3つの第2判定領域を含む第2判定領域群の情報とを取得し、前記第1判定領域群の情報と前記第2判定領域群の情報に基づいて、前記チャートと前記先端部との位置関係に関するエラーが発生してるか否かのエラー判定を行うプロセッサ装置。
A processor is provided.
The processor,
An endoscopic image is obtained by capturing an image of the chart from the tip of the endoscope;
A processor device that acquires information about a first judgment area group including at least three first judgment areas and information about a second judgment area group that is located outside the first judgment area group and includes at least three second judgment areas from the endoscopic image, and performs an error judgment as to whether or not an error has occurred regarding the positional relationship between the chart and the tip portion based on the information about the first judgment area group and the information about the second judgment area group.
前記3つの第1判定領域の情報は明るさであり、
前記プロセッサは、前記3つの第1判定領域の中に、明るさが第1閾値未満の前記第1判定領域が少なくとも1つある場合には、前記エラーと判定する請求項1記載のプロセッサ装置。
The information of the three first determination regions is brightness,
2 . The processor device according to claim 1 , wherein the processor determines that an error has occurred when at least one of the three first determination regions has a brightness less than a first threshold value.
前記3つの第2判定領域の情報は明るさであり、
前記プロセッサは、前記3つの第1判定領域の中に、明るさが第2閾値以上の前記第2判定領域が少なくとも1つある場合には、前記エラーと判定する請求項1記載のプロセッサ装置。
The information of the three second determination regions is brightness,
2 . The processor device according to claim 1 , wherein the processor determines that an error has occurred when at least one of the second determination areas has a brightness equal to or greater than a second threshold value among the three first determination areas.
前記第2判定領域の情報は明るさであり、
前記プロセッサは、複数の前記第2判定領域の中に、明るさが第2閾値以上の前記第2判定領域が、予め定められた規定数以上ある場合には、前記エラーと判定する請求項1記載のプロセッサ装置。
The information of the second determination region is brightness,
2 . The processor device according to claim 1 , wherein the processor determines that an error has occurred when a predetermined number of the second judgment regions, among the plurality of second judgment regions, are greater than or equal to a second threshold value.
前記第2判定領域の情報は明るさであり、
前記プロセッサは、明るさが第2閾値以上の前記第2判定領域の数が、明るさが前記第2閾値未満の前記第2判定領域の数よりも大きい場合には、前記エラーと判定する請求項1記載のプロセッサ装置。
The information of the second determination region is brightness,
The processor device according to claim 1 , wherein the processor determines that an error has occurred when the number of the second judgment regions whose brightness is equal to or greater than a second threshold is greater than the number of the second judgment regions whose brightness is less than the second threshold.
前記第1判定領域の明るさは、規格化用領域用の明るさでよって規格化されている請求項2記載のプロセッサ装置。 The processor device according to claim 2, wherein the brightness of the first judgment area is normalized by the brightness for the normalization area. 前記第2判定領域の明るさは、規格化用領域用の明るさでよって規格化されている請求項3ないし5いずれか1項記載のプロセッサ装置。 The processor device according to any one of claims 3 to 5, wherein the brightness of the second judgment area is normalized by the brightness for the normalization area. 前記第1判定領域群の配置形状は、前記3つの第1判定領域を結んで得られる逆三角形であり、前記第2判定領域群の配置形状は、前記3つの第2判定領域を結んで得られる三角形である請求項1記載のプロセッサ装置。 The processor device according to claim 1, wherein the arrangement shape of the first judgment region group is an inverted triangle obtained by connecting the three first judgment regions, and the arrangement shape of the second judgment region group is a triangle obtained by connecting the three second judgment regions. 前記第1判定領域群の内側には、第3判定領域が設けられ、
前記プロセッサは、前記第1判定領域の情報と前記第2判定領域の情報とに加えて、前記第3判定領域の情報に基づいて、前記エラーが発生しているか否かを判定する請求項1記載のプロセッサ装置。
A third determination region is provided inside the first determination region group,
2 . The processor device according to claim 1 , wherein the processor determines whether or not the error has occurred based on information about the third judgment area in addition to information about the first judgment area and information about the second judgment area.
前記第3判定領域の情報は色調であり、
前記プロセッサは、前記第3判定領域の色調が特定の色調範囲外である場合に、前記エラー判定を行う請求項9記載のプロセッサ装置。
the information of the third determination region is a color tone;
The processor device according to claim 9 , wherein the processor performs the error determination when a color tone of the third determination region is outside a specific color tone range.
プロセッサを備えるプロセッサ装置と、
前記内視鏡画像を表示するディスプレイとを備え、
前記プロセッサは、
内視鏡の先端部からチャートを撮像して得られる内視鏡画像を取得し、
前記内視鏡画像から、少なくとも3つの第1判定領域を含む第1判定領域群の情報と、前記第1判定領域群の外側に設けられ、少なくとも3つの第2判定領域を含む第2判定領域群の情報とを取得し、前記第1判定領域群の情報と前記第2判定領域群の情報に基づいて、前記チャートと前記先端部との位置関係に関するエラーが発生してるか否かのエラー判定を行い、
前記チャートにはマークが設けられており、
前記ディスプレイは、前記第1判定領域群と前記第2判定領域群の間に、前記マークの位置をガイドするためのガイド領域を表示する内視鏡システム。
A processor unit including a processor;
a display for displaying the endoscopic image;
The processor,
An endoscopic image is obtained by capturing an image of the chart from the tip of the endoscope;
information on a first judgment area group including at least three first judgment areas and information on a second judgment area group provided outside the first judgment area group and including at least three second judgment areas are obtained from the endoscopic image, and an error judgment is made as to whether or not an error has occurred regarding a positional relationship between the chart and the tip portion based on the information on the first judgment area group and the information on the second judgment area group;
The chart is provided with marks,
An endoscope system in which the display displays a guide area for guiding the position of the mark between the first judgment area group and the second judgment area group.
前記ガイド領域は、二重円を有する請求項11記載の内視鏡システム。 The endoscope system according to claim 11, wherein the guide region has a double circle. プロセッサが、
内視鏡の先端部からチャートを撮像して得られる内視鏡画像をディスプレイに表示する表示ステップと、
前記内視鏡画像から、少なくとも3つの第1判定領域を含む第1判定領域群の情報と、前記第1判定領域群の外側に設けられ、少なくとも3つの第2判定領域を含む第2判定領域群の情報とを取得し、前記第1判定領域群の情報と前記第2判定領域群の情報に基づいて、前記チャートと前記先端部との位置関係に関するエラーが発生しているか否かのエラー判定を行うエラー判定ステップとを有する内視鏡システムの作動方法。
The processor:
a display step of displaying an endoscopic image obtained by capturing an image of the chart from the distal end of the endoscope on a display;
An operation method for an endoscopic system comprising: acquiring, from the endoscopic image, information on a first judgment area group including at least three first judgment areas and information on a second judgment area group that is provided outside the first judgment area group and includes at least three second judgment areas; and making an error judgment as to whether or not an error has occurred regarding the positional relationship between the chart and the tip portion based on the information on the first judgment area group and the information on the second judgment area group.
前記3つの第1判定領域の情報は明るさであり、
前記エラー判定ステップでは、前記3つの第1判定領域の中に、明るさが第1閾値未満の前記第1判定領域が少なくとも1つある場合には、前記エラーと判定する請求項13記載の内視鏡システムの作動方法。
The information of the three first determination regions is brightness,
The method for operating an endoscopic system according to claim 13, wherein in the error determination step, if there is at least one first determination area among the three first determination areas whose brightness is less than a first threshold value, the error is determined to be an error.
前記3つの第2判定領域の情報は明るさであり、
前記エラー判定ステップでは、前記3つの第2判定領域の中に、明るさが第2閾値以上の前記第2判定領域が少なくとも1つある場合には、前記エラーと判定する請求項13記載の内視鏡システムの作動方法。



The information of the three second determination regions is brightness,
The method for operating an endoscopic system according to claim 13, wherein in the error determination step, if there is at least one second determination area among the three second determination areas whose brightness is equal to or greater than a second threshold, it is determined that an error has occurred.



JP2023049848A 2022-09-30 2023-03-27 Processor device, endoscope system, and method of operating same Pending JP2024052487A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022158390 2022-09-30
JP2022158390 2022-09-30

Publications (1)

Publication Number Publication Date
JP2024052487A true JP2024052487A (en) 2024-04-11

Family

ID=90622751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023049848A Pending JP2024052487A (en) 2022-09-30 2023-03-27 Processor device, endoscope system, and method of operating same

Country Status (1)

Country Link
JP (1) JP2024052487A (en)

Similar Documents

Publication Publication Date Title
JP6427625B2 (en) Image processing apparatus and method of operating the same
US10251538B2 (en) Endoscope system and method for controlling the same
JP6204314B2 (en) Electronic endoscope system
JP5647752B1 (en) Image processing apparatus and method for operating endoscope system
US20220322974A1 (en) Endoscope system and method of operating endoscope system
JP2017148392A (en) Calculation system
US20210153730A1 (en) Endoscope system
JP7021183B2 (en) Endoscope system, processor device, and how to operate the endoscope system
US10194849B2 (en) Endoscope system and method for operating the same
JP5662623B1 (en) Image processing apparatus and method for operating endoscope system
JP6401800B2 (en) Image processing apparatus, operation method of image processing apparatus, operation program for image processing apparatus, and endoscope apparatus
JP7432786B2 (en) Endoscope system, processor device, and method of operating the endoscope system
JP2016015995A (en) Electronic endoscope system, and processor for electronic endoscope
JPWO2017183339A1 (en) Endoscope system, processor device, and operation method of endoscope system
US20220211251A1 (en) Image processing device, endoscope system, and method of operating image processing device
JP2013039215A (en) Endoscope system, light source device, and control method of endoscope system
US20220076400A1 (en) Endoscope system, method for activating endoscope system, and image processing apparatus
JPWO2018159082A1 (en) Endoscope system, processor device, and method of operating endoscope system
US20230141302A1 (en) Image analysis processing apparatus, endoscope system, operation method of image analysis processing apparatus, and non-transitory computer readable medium
JP2024052487A (en) Processor device, endoscope system, and method of operating same
WO2023119856A1 (en) Endoscope system and operating method therefor
WO2023132138A1 (en) Processor device, operation method therefor, and endoscope system
WO2023119795A1 (en) Endoscope system and method for operating same
WO2023132188A1 (en) Endoscope system and operation method of same
WO2022059233A1 (en) Image processing device, endoscope system, operation method for image processing device, and program for image processing device