Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6373322B2 - Endoscope apparatus and program - Google Patents
[go: Go Back, main page]

JP6373322B2 - Endoscope apparatus and program - Google Patents

Endoscope apparatus and program Download PDF

Info

Publication number
JP6373322B2
JP6373322B2 JP2016185834A JP2016185834A JP6373322B2 JP 6373322 B2 JP6373322 B2 JP 6373322B2 JP 2016185834 A JP2016185834 A JP 2016185834A JP 2016185834 A JP2016185834 A JP 2016185834A JP 6373322 B2 JP6373322 B2 JP 6373322B2
Authority
JP
Japan
Prior art keywords
image
measurement
subject
images
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2016185834A
Other languages
Japanese (ja)
Other versions
JP2017040932A (en
Inventor
横田 政義
政義 横田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Corp filed Critical Olympus Corp
Priority to JP2016185834A priority Critical patent/JP6373322B2/en
Publication of JP2017040932A publication Critical patent/JP2017040932A/en
Application granted granted Critical
Publication of JP6373322B2 publication Critical patent/JP6373322B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

本発明は、計測機能を有する内視鏡装置に関する。また、本発明は、内視鏡装置における計測機能をコンピュータ上で実現するためのプログラムにも関する。   The present invention relates to an endoscope apparatus having a measurement function. The present invention also relates to a program for realizing a measurement function in an endoscope apparatus on a computer.

ボイラー、タービン、エンジン、化学プラントなどの検査において、内部の傷や腐食を観察するのに工業用内視鏡が広く用いられている。工業用内視鏡では、多様な観察物を観察および検査することを可能にするため、複数種類の光学アダプタが用意されており、内視鏡の先端部分は交換可能となっている。   In the inspection of boilers, turbines, engines, chemical plants, etc., industrial endoscopes are widely used to observe internal scratches and corrosion. In an industrial endoscope, a plurality of types of optical adapters are prepared so that various observation objects can be observed and inspected, and the distal end portion of the endoscope is replaceable.

上記の光学アダプタの1つとして、異なる視点に対応する左右の2つの被写体像を形成するための2つの光学系を有するステレオ計測用光学アダプタがある。特許文献1には、ステレオ計測用光学アダプタを使用し、三角測量の原理を利用したステレオ計測により3次元計測を実現した内視鏡装置が記載されている。   As one of the above optical adapters, there is a stereo measurement optical adapter having two optical systems for forming left and right subject images corresponding to different viewpoints. Patent Document 1 describes an endoscope apparatus that uses an optical adapter for stereo measurement and realizes three-dimensional measurement by stereo measurement using the principle of triangulation.

特許文献1の内視鏡装置では、2つの光学系によって形成された、視差を有する左右の被写体像を含む画像が表示されている。このため、ユーザが左右の被写体像の間で視線を頻繁に移動させることにより、視認性が低下し、ユーザが煩わしさを感じていた。   In the endoscope apparatus of Patent Document 1, an image including left and right subject images having parallax formed by two optical systems is displayed. For this reason, when the user frequently moves his / her line of sight between the left and right subject images, the visibility is lowered and the user feels bothered.

特許文献2,3には、計測で用いる複数の被写体像を含む画像を表示することによる視認性の低下を防ぐため、複数の被写体像のうちの一部のみを含む画像を表示する内視鏡装置が記載されている。より具体的には、特許文献2では、2つの光学系によって形成された2つの被写体像を同時に撮像した画像から、一方の被写体像のみを含む画像が抽出され、その画像が拡大されて表示され、その状態で計測が行われる。特許文献3では、2つの光学系によって形成された2つの被写体像が時系列的に撮像され、一方の被写体像のみを含む画像が表示され、その状態で計測が行われる。   Patent Documents 2 and 3 describe an endoscope that displays an image including only a part of a plurality of subject images in order to prevent a reduction in visibility due to displaying an image including a plurality of subject images used in measurement. An apparatus is described. More specifically, in Patent Document 2, an image including only one subject image is extracted from an image obtained by simultaneously capturing two subject images formed by two optical systems, and the image is enlarged and displayed. In this state, measurement is performed. In Patent Document 3, two subject images formed by two optical systems are picked up in time series, an image including only one subject image is displayed, and measurement is performed in that state.

上記のように複数の被写体像のうちの一部のみを含む画像を表示する場合、視認性は低下しない。しかし、計測で用いる画像の一部のみが表示されるので、計測で用いる残りの画像がユーザによって確認されないまま計測が行われる。計測では、例えば計測対象の部位が捉えられていない画像や明るさが適切でない画像を用いると計測精度が低下するため、計測で用いるそれぞれの被写体像を含む画像をユーザが計測前に確認することが重要である。ところが、特許文献2,3では、計測で用いる画像の一部がユーザによって確認されないまま計測が行われるので、計測結果の妥当性(信頼性)が低下する。   When an image including only a part of the plurality of subject images is displayed as described above, the visibility is not deteriorated. However, since only a part of the image used in the measurement is displayed, the measurement is performed without confirming the remaining image used in the measurement by the user. In measurement, for example, if an image in which the part to be measured is not captured or an image with an inappropriate brightness is used, the measurement accuracy decreases, so the user must check the image including each subject image used in the measurement before measurement. is important. However, in Patent Documents 2 and 3, since the measurement is performed without confirming a part of the image used in the measurement by the user, the validity (reliability) of the measurement result is lowered.

特許文献4には、ユーザによる計測結果の妥当性の確認を可能とする内視鏡装置が記載されている。特許文献4では、計測機能が起動されると、2つの光学系によって形成された2つの被写体像のうちの一方のみを含む画像が表示される(特許文献4の図7)。この画像が表示されている状態で、画像上の計測位置を示す計測点がユーザによって入力されると、計測(特許文献4の図10のST115における画像のマッチング度の算出)が行われる。計測結果の妥当性が低い場合、表示される画像が切り替わり、2つの被写体像を含む画像が表示される(特許文献4の図12)。このように、計測結果の妥当性が低い場合に、2つの被写体像を含む画像が自動的に表示されるので、ユーザは2つの被写体像を比較しながら計測結果の妥当性を確認することができる。   Patent Document 4 describes an endoscope apparatus that enables a user to confirm the validity of a measurement result. In Patent Document 4, when the measurement function is activated, an image including only one of the two subject images formed by the two optical systems is displayed (FIG. 7 of Patent Document 4). When the measurement point indicating the measurement position on the image is input by the user while the image is displayed, measurement (calculation of the matching degree of the image in ST115 of FIG. 10 of Patent Document 4) is performed. When the validity of the measurement result is low, the displayed image is switched, and an image including two subject images is displayed (FIG. 12 of Patent Document 4). As described above, when the validity of the measurement result is low, an image including two subject images is automatically displayed. Therefore, the user can check the validity of the measurement result while comparing the two subject images. it can.

また、特許文献4では、上記のように計測が行われて計測結果(特許文献4における画像のマッチング度)が表示された後、表示される画像の切替の指示をユーザが入力することにより、2つの光学系によって形成された2つの被写体像のうちの一方のみを含む画像と両方を含む画像とを切り替えることも可能である(特許文献4の段落0081,0082)。このように、表示される画像をユーザが自分の意思で切り替えることが可能なので、ユーザは、計測結果に不安を抱いたときに、表示される画像を切り替えて画像を確認しながら計測結果の妥当性を確認することができる。   Moreover, in patent document 4, after a measurement is performed as described above and the measurement result (image matching degree in patent document 4) is displayed, the user inputs an instruction to switch the displayed image. It is also possible to switch between an image including only one of two subject images formed by two optical systems and an image including both (paragraphs 0081 and 0082 of Patent Document 4). In this way, since the user can switch the displayed image at his / her own will, when the user has anxiety about the measurement result, the user can switch the displayed image and confirm the image while checking the validity of the measurement result. Sex can be confirmed.

特開2005−348870号公報JP 2005-348870 A 特開2009−198787号公報JP 2009-198787 A 特開2010−128354号公報JP 2010-128354 A 特許第4409625号公報Japanese Patent No. 4409625

上記のように特許文献4では、計測結果の妥当性が低い場合、表示される画像が自動的に切り替わり、2つの被写体像を含む画像が表示される。このため、ユーザは2つの被写体像を比較しながら計測結果の妥当性を確認することができる。しかし、ユーザが画像を確認したいと思ったタイミングで画像が切り替わるとは限らないので、ユーザは計測結果の妥当性に対して不安を感じることがあった。   As described above, in Patent Document 4, when the validity of the measurement result is low, the displayed image is automatically switched, and an image including two subject images is displayed. For this reason, the user can confirm the validity of the measurement result while comparing the two subject images. However, since the image is not always switched at the timing when the user wants to confirm the image, the user may feel anxious about the validity of the measurement result.

これに対して、上記のように特許文献4では、ユーザが自分の意思で画像を切り替えることが可能であるため、ユーザは、計測結果に不安を抱いたときに、表示される画像を切り替えて画像を確認しながら計測結果の妥当性を確認することもできる。しかし、ユーザのスキルによって、画像の確認が行われたり行われなかったりすることが考えられる。また、画像の確認が行われるタイミングは、一旦計測点が指定されて計測が行われた後である。上記により、計測に用いる全ての画像が計測に適しているか否かをユーザが確認しなかったり、画像が計測に適していないとユーザが判断するタイミングが遅くなってしまったりする恐れがある。したがって、計測結果の妥当性や検査効率が低下していた。   On the other hand, as described above, in Patent Document 4, since the user can switch the image on his / her own intention, the user switches the displayed image when he / she is anxious about the measurement result. It is also possible to check the validity of the measurement result while checking the image. However, it is conceivable that the image is confirmed or not depending on the skill of the user. In addition, the timing when the image is confirmed is after the measurement point is once designated and the measurement is performed. As a result, the user may not confirm whether all the images used for measurement are suitable for measurement, or the timing at which the user determines that the image is not suitable for measurement may be delayed. Therefore, the validity of the measurement results and the inspection efficiency have been reduced.

本発明は、上述した課題に鑑みてなされたものであって、検査効率を向上させることが
できる内視鏡装置およびプログラムを提供することを目的とする。
The present invention has been made in view of the above-described problems, and an object thereof is to provide an endoscope apparatus and program capable of improving inspection efficiency.

上記の課題を解決するために、本発明の内視鏡装置は、1つ以上の被写体像を含む画像を生成する画像生成部と、前記画像を表示する表示部と、前記画像に基づく被写体の大きさの計測を制御する制御部と、を備え、前記制御部は、1つの被写体像を含む動画像を前記表示部に表示させる第1の処理と、前記第1の処理の後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に順次表示させる第2の処理と、前記第2の処理で、計測で使用される複数の被写体像の一部、または計測で使用される1つの被写体像に基づく複数の画像の一部が表示された後で、かつ全てが表示される前に、ユーザの第1の指示があった場合に、前記第1の処理に戻す第3の処理と、前記第2の処理で、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示があった場合に、ユーザの指示に基づいて計測点を指定し、前記複数の被写体像の全てに基づく画像、または前記1つの被写体像に基づく複数の画像の全てに基づいて、指定された計測点における被写体の大きさを計測する計測処理と、を実行することを特徴とする。
In order to solve the above-described problem, an endoscope apparatus according to the present invention includes an image generation unit that generates an image including one or more subject images, a display unit that displays the images, and a subject that is based on the images. A control unit that controls the measurement of the size, and the control unit is configured to perform a measurement after a first process for displaying a moving image including one subject image on the display unit, and after the first process. A second process for sequentially displaying a plurality of subject images used or a plurality of images based on one subject image used for measurement on the display unit as still images, and the second process for measurement. After a portion of a plurality of subject images used or a portion of a plurality of images based on one subject image used in measurement is displayed and before all of the images are displayed, the user's first A third process for returning to the first process when instructed; In the second process, after all of the plurality of subject images used in the measurement or all of the plurality of images based on one subject image used in the measurement are displayed, the user has given a second instruction. In this case, the measurement point is designated based on the user's instruction, and the subject at the designated measurement point is based on the image based on all of the plurality of subject images or the plurality of images based on the one subject image And a measurement process for measuring the size of.

また、上記の課題を解決するために、本発明の内視鏡装置は、1つ以上の被写体像を含む画像を生成する画像生成部と、前記画像を表示する表示部と、前記画像に基づく被写体の大きさの計測を制御する制御部と、を備え、前記制御部は、1つの被写体像を含む動画像を前記表示部に表示させる第1の処理と、前記第1の処理の後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に表示させる第2の処理と、前記第2の処理で、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第1の指示があった場合に、前記第1の処理に戻す第3の処理と、前記第2の処理で、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示があった場合に、ユーザの指示に基づいて計測点を指定し、前記複数の被写体像の全てに基づく画像、または前記1つの被写体像に基づく複数の画像の全てに基づいて、指定された計測点における被写体の大きさを計測する計測処理と、を実行することを特徴とする。
In order to solve the above problems, an endoscope apparatus according to the present invention is based on an image generation unit that generates an image including one or more subject images, a display unit that displays the image, and the image. A control unit that controls measurement of the size of the subject, and the control unit displays a moving image including one subject image on the display unit, and after the first processing, Measurement is performed by a second process in which a plurality of subject images used in measurement or a plurality of images based on one subject image used in measurement are displayed on the display unit as still images, and in the second process. When all of the plurality of subject images used in the above or a plurality of images based on one subject image used in measurement are displayed, the first instruction is given when the user gives a first instruction . a third process of returning to the processing, in the second processing, used in the measurement After all of the plurality of all of the subject image or the plurality based on one of the object image to be used in the measurement image, it is displayed, which is, when there is a second user instruction, based on a user's instruction Measurement processing for designating a measurement point and measuring the size of the subject at the designated measurement point based on an image based on all of the plurality of subject images or on all of the plurality of images based on the one subject image; , Is executed.

また、上記の課題を解決するために、本発明の内視鏡装置は、1つ以上の被写体像を含む画像を生成する画像生成部と、前記画像を表示する表示部と、前記画像に基づく被写体の大きさの計測を制御する制御部と、を備え、前記制御部は、1つの被写体像を含む動画像を前記表示部に表示させる第1の処理と、前記第1の処理の後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に順次表示させる第2の処理と、前記第2の処理で、計測で使用される複数の被写体像の一部、または計測で使用される1つの被写体像に基づく複数の画像の一部が表示された後で、かつ全てが表示される前に、ユーザの第1の指示があった場合に、前記第1の処理に戻す第3の処理と、前記第2の処理で、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示があった場合に、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てを記録する画像記録処理と、を実行することを特徴とする。
In order to solve the above problems, an endoscope apparatus according to the present invention is based on an image generation unit that generates an image including one or more subject images, a display unit that displays the image, and the image. A control unit that controls measurement of the size of the subject, and the control unit displays a moving image including one subject image on the display unit, and after the first processing, A second process of sequentially displaying a plurality of subject images used in measurement or a plurality of images based on one subject image used in measurement on the display unit as still images; and the second process, After a part of a plurality of subject images used in measurement or a part of a plurality of images based on one subject image used in measurement and before all of them are displayed, Third process to return to the first process when there is an instruction of 1 In the second process, after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed, the user's second instruction is issued. And an image recording process for recording all of the plurality of subject images used in the measurement or all of the plurality of images based on one subject image used in the measurement. .

また、上記の課題を解決するために、本発明の内視鏡装置は、1つ以上の被写体像を含む画像を生成する画像生成部と、前記画像を表示する表示部と、前記画像に基づく被写体の大きさの計測を制御する制御部と、を備え、前記制御部は、1つの被写体像を含む動画像を前記表示部に表示させる第1の処理と、前記第1の処理の後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に表示させる第2の処理と、前記第2の処理で、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第1の指示があった場合に、前記第1の処理に戻す第3の処理と、前記第2の処理で、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示があった場合に、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てを記録する画像記録処理と、を実行することを特徴とする。
In order to solve the above problems, an endoscope apparatus according to the present invention is based on an image generation unit that generates an image including one or more subject images, a display unit that displays the image, and the image. A control unit that controls measurement of the size of the subject, and the control unit displays a moving image including one subject image on the display unit, and after the first processing, Measurement is performed by a second process in which a plurality of subject images used in measurement or a plurality of images based on one subject image used in measurement are displayed on the display unit as still images, and in the second process. When all of the plurality of subject images used in the above or a plurality of images based on one subject image used in measurement are displayed, the first instruction is given when the user gives a first instruction. The third process to return to the process and the second process are used for measurement. The plurality of object images used in the measurement when the second instruction of the user is given after all of the plurality of object images to be processed or all of the plurality of images based on one object image used in the measurement are displayed. Image recording processing for recording all of the subject images or all of a plurality of images based on one subject image used in measurement.

また、本発明は、コンピュータに、内視鏡装置で撮影された1つの被写体像を含む動画像を表示部に表示させる第1のステップと、前記第1のステップの後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に順次表示させる第2のステップと、前記第2のステップで、計測で使用される複数の被写体像の一部、または計測で使用される1つの被写体像に基づく複数の画像の一部が表示された後で、かつ全てが表示される前に、ユーザの第1の指示が入力された場合に、前記第1のステップに戻す第3のステップと、前記第2のステップで、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示が入力された場合に、ユーザの計測点指示に基づいて計測点を指定し、前記複数の被写体像の全てに基づく画像、または前記1つの被写体像に基づく複数の画像の全てに基づいて、指定された計測点における被写体の大きさを計測する計測ステップと、を実行させるためのプログラムである。
In addition, the present invention is used in measurement after a first step of causing a computer to display a moving image including one subject image captured by an endoscope apparatus on a display unit, and after the first step. A second step of sequentially displaying a plurality of subject images or a plurality of images based on one subject image used in measurement on the display unit as still images and used in the measurement in the second step. The first instruction of the user is input after a part of a plurality of subject images or a part of a plurality of images based on one subject image used in measurement and before all of them are displayed. In this case, in the third step to return to the first step and the second step, all of a plurality of subject images used in measurement or a plurality of subject images used in the measurement are used. All images of were displayed In addition, when the user's second instruction is input, a measurement point is designated based on the user's measurement point instruction, and an image based on all of the plurality of subject images or a plurality of subjects based on the one subject image And a measurement step for measuring the size of the subject at a specified measurement point based on all of the images.

また、本発明は、コンピュータに、内視鏡装置で撮影された1つの被写体像を含む動画像を表示部に表示させる第1のステップと、前記第1のステップの後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に表示させる第2のステップと、前記第2のステップで、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第1の指示が入力された場合、前記第1のステップに戻す第3のステップと、前記第2のステップで、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示があった場合に、ユーザの計測点指示に基づいて計測点を指定し、前記複数の被写体像の全てに基づく画像、または前記1つの被写体像に基づく複数の画像の全てに基づいて、指定された計測点における被写体の大きさを計測する計測ステップと、を実行させるためのプログラムである。
In addition, the present invention is used in measurement after a first step of causing a computer to display a moving image including one subject image captured by an endoscope apparatus on a display unit, and after the first step. A second step of displaying a plurality of subject images or a plurality of images based on one subject image used in measurement on the display unit as a still image, and a plurality of subjects used in the measurement in the second step. When the user's first instruction is input after all of the subject images or all of the plurality of images based on one subject image used in measurement are displayed, the process returns to the first step. And the second step, after all of the plurality of subject images used in the measurement or all of the plurality of images based on one subject image used in the measurement are displayed. There was an instruction In other words, the measurement point is designated based on the measurement point instruction of the user, and the designated measurement point is based on the image based on all of the plurality of subject images or the plurality of images based on the one subject image. A measurement step for measuring the size of the subject in the program.

また、本発明は、コンピュータに、内視鏡装置で撮影された1つの被写体像を含む動画像を表示部に表示させる第1のステップと、前記第1のステップの後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に順次表示させる第2のステップと、前記第2のステップで、計測で使用される複数の被写体像の一部、または計測で使用される1つの被写体像に基づく複数の画像の一部が表示された後で、かつ全てが表示される前に、ユーザの第1の指示が入力された場合、前記第1のステップに戻す第3のステップと、前記第2のステップで、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示が入力された場合、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てを記録する画像記録ステップと、を実行させるためのプログラムである。
また、本発明は、コンピュータに、内視鏡装置で撮影された1つの被写体像を含む動画像を表示部に表示させる第1のステップと、前記第1のステップの後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に表示させる第2のステップと、前記第2のステップで、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第1の指示が入力された場合、前記第1のステップに戻す第3のステップと、前記第2のステップで、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示が入力された場合、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てを記録する画像記録ステップと、を実行させるためのプログラムである。

In addition, the present invention is used in measurement after a first step of causing a computer to display a moving image including one subject image captured by an endoscope apparatus on a display unit, and after the first step. A second step of sequentially displaying a plurality of subject images or a plurality of images based on one subject image used in measurement on the display unit as still images and used in the measurement in the second step. The first instruction of the user is input after a part of a plurality of subject images or a part of a plurality of images based on one subject image used in measurement and before all of them are displayed. In the third step, the plurality of subject images used in the measurement, or a plurality of subject images used in the measurement in the third step and the second step returned to the first step. After all of the image is displayed An image recording step of recording all of a plurality of subject images used in measurement or all of a plurality of images based on one subject image used in measurement when the user's second instruction is input; Is a program for executing
In addition, the present invention is used in measurement after a first step of causing a computer to display a moving image including one subject image captured by an endoscope apparatus on a display unit, and after the first step. A second step of displaying a plurality of subject images or a plurality of images based on one subject image used in measurement on the display unit as a still image, and a plurality of subjects used in the measurement in the second step. When the user's first instruction is input after all of the subject images or all of the plurality of images based on one subject image used in measurement are displayed, the process returns to the first step. And the second step, after all of the plurality of subject images used in the measurement or all of the plurality of images based on one subject image used in the measurement are displayed. Instructions are entered When a program for executing and an image recording step of recording all of one of the plurality of images based on a subject image to be used by all, or measurement of a plurality of object images to be used in the measurement.

本発明によれば、検査効率を向上させることができる。   According to the present invention, inspection efficiency can be improved.

本発明の第1の実施形態による内視鏡装置の斜視図である。1 is a perspective view of an endoscope apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態による内視鏡装置の構成を示すブロック図である。1 is a block diagram showing a configuration of an endoscope apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態による内視鏡装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the endoscope apparatus by the 1st Embodiment of this invention. 本発明の第1の実施形態による内視鏡装置の動作の手順を示すフローチャートである。It is a flowchart which shows the procedure of operation | movement of the endoscope apparatus by the 1st Embodiment of this invention. 本発明の第1の実施形態による内視鏡装置の動作の手順を示すフローチャートである。It is a flowchart which shows the procedure of operation | movement of the endoscope apparatus by the 1st Embodiment of this invention. 本発明の第1の実施形態における画像を示す参考図である。It is a reference diagram showing an image in the first embodiment of the present invention. 本発明の第1の実施形態による内視鏡装置の動作の手順を示すフローチャートである。It is a flowchart which shows the procedure of operation | movement of the endoscope apparatus by the 1st Embodiment of this invention. 本発明の第1の実施形態における画像を示す参考図である。It is a reference diagram showing an image in the first embodiment of the present invention. 本発明の第2の実施形態による内視鏡装置の内視鏡挿入部の先端に装着される光学アダプタの構成を示すブロック図である。It is a block diagram which shows the structure of the optical adapter with which the front-end | tip of the endoscope insertion part of the endoscope apparatus by the 2nd Embodiment of this invention is mounted | worn. 本発明の第2の実施形態による内視鏡装置の動作の手順を示すフローチャートである。It is a flowchart which shows the procedure of operation | movement of the endoscope apparatus by the 2nd Embodiment of this invention. 本発明の第2の実施形態による内視鏡装置の動作の手順を示すフローチャートである。It is a flowchart which shows the procedure of operation | movement of the endoscope apparatus by the 2nd Embodiment of this invention. 本発明の第2の実施形態における画像を示す参考図である。It is a reference diagram showing an image in the second embodiment of the present invention. 本発明の第2の実施形態による内視鏡装置の動作の手順を示すフローチャートである。It is a flowchart which shows the procedure of operation | movement of the endoscope apparatus by the 2nd Embodiment of this invention. 本発明の第2の実施形態における画像を示す参考図である。It is a reference diagram showing an image in the second embodiment of the present invention. 本発明の第3の実施形態による内視鏡装置の動作の手順を示すフローチャートである。It is a flowchart which shows the procedure of operation | movement of the endoscope apparatus by the 3rd Embodiment of this invention. 本発明の第3の実施形態における画像確認時の画面を示す参考図である。It is a reference figure which shows the screen at the time of the image confirmation in the 3rd Embodiment of this invention.

以下、図面を参照し、本発明の実施形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(第1の実施形態)
まず、本発明の第1の実施形態を説明する。図1は、本実施形態による内視鏡装置の外観を示している。図2は、本実施形態による内視鏡装置の機能構成を示している。図3は、本実施形態による内視鏡装置が備えるコントロールユニットの機能構成を示している。
(First embodiment)
First, a first embodiment of the present invention will be described. FIG. 1 shows the appearance of the endoscope apparatus according to the present embodiment. FIG. 2 shows a functional configuration of the endoscope apparatus according to the present embodiment. FIG. 3 shows a functional configuration of a control unit provided in the endoscope apparatus according to the present embodiment.

本実施形態の内視鏡装置1は、検査対象となる被写体である被検体を撮像し、その画像を用いて計測を行うため、内視鏡挿入部の先端の光学アダプタを交換したり、内蔵された計測用プログラムを適宜選択したり、計測用プログラムを適宜追加することにより、種々の観察や計測を行うことが可能である。以下では、計測の一例としてステレオ計測を行う場合について説明する。   The endoscope apparatus 1 according to the present embodiment takes an image of a subject that is a subject to be examined and performs measurement using the image, so that the optical adapter at the distal end of the endoscope insertion portion is replaced or built-in. Various observations and measurements can be performed by appropriately selecting the measured measurement program or adding the measurement program as appropriate. Hereinafter, a case where stereo measurement is performed as an example of measurement will be described.

図1および図2に示すように、内視鏡装置1は、ステレオ計測用光学アダプタ2、内視鏡挿入部3、内視鏡ユニット7、CCU9(カメラコントロールユニット)、液晶モニタ6(表示部)、リモートコントローラ5、およびコントロールユニット4からなる。ステレオ計測用光学アダプタ2は、視差を有する画像を取得するために所定距離だけ離間して配置された対物レンズ2A,2Bが略円筒状のアダプタ本体2a内に配置された構造を有し、例えば、雌ねじなどが形成されたマウント部2bにより、内視鏡挿入部3の先端に着脱可能に装着される。   As shown in FIGS. 1 and 2, an endoscope apparatus 1 includes a stereo measurement optical adapter 2, an endoscope insertion unit 3, an endoscope unit 7, a CCU 9 (camera control unit), a liquid crystal monitor 6 (display unit). ), The remote controller 5 and the control unit 4. The stereo measurement optical adapter 2 has a structure in which objective lenses 2A and 2B arranged at a predetermined distance to obtain an image having parallax are arranged in a substantially cylindrical adapter body 2a. The endoscope 2 is detachably attached to the distal end of the endoscope insertion portion 3 by a mount portion 2b formed with a female screw or the like.

対物レンズ2A,2Bの位置は、ステレオ計測用光学アダプタ2の軸方向に視野を有する直視タイプと、ステレオ計測用光学アダプタ2の側面方向に視野を有する側視タイプとで異なるが、本実施形態では直視タイプとして図示している。このため、対物レンズ2A,2Bは、光軸をステレオ計測用光学アダプタ2の軸方向に向けた状態で、先端面に設けられた開口部の近傍に配置されている。また、ステレオ計測用光学アダプタ2の先端面には、アダプタ本体2a内に導かれた照明光を被検体に向けて出射する照明窓2cが設けられている。   The positions of the objective lenses 2A and 2B are different between the direct-viewing type having a visual field in the axial direction of the stereo measurement optical adapter 2 and the side-viewing type having a visual field in the side surface direction of the stereo measurement optical adapter 2. In FIG. 1, it is illustrated as a direct view type. For this reason, the objective lenses 2A and 2B are disposed in the vicinity of the opening provided on the distal end surface with the optical axis directed in the axial direction of the stereo measurement optical adapter 2. In addition, an illumination window 2c that emits the illumination light guided into the adapter main body 2a toward the subject is provided on the distal end surface of the stereo measurement optical adapter 2.

内視鏡挿入部3は、被検体の内部に挿入された状態で計測対象の部位を撮像し、撮像信号をコントロールユニット4に出力する。湾曲可能な内視鏡挿入部3の先端部には、ステレオ計測用光学アダプタ2などの複数の光学アダプタに共通のマウント部が設けられ、各光学アダプタが交換可能に装着されるようになっている。特に図示しないが、先端部の内部には、光学アダプタの複数の対物レンズによって結像される像を撮像する、例えばCCDなどの撮像素子が配置されるとともに、照明光を被検体に照射するライトガイドが設けられている。   The endoscope insertion unit 3 images the region to be measured while being inserted into the subject, and outputs an imaging signal to the control unit 4. The distal end portion of the bendable endoscope insertion portion 3 is provided with a mount portion common to a plurality of optical adapters such as the stereo measurement optical adapter 2 so that each optical adapter is replaceably mounted. Yes. Although not particularly illustrated, an imaging element such as a CCD that images an image formed by a plurality of objective lenses of the optical adapter is disposed inside the distal end portion, and a light that irradiates the subject with illumination light. A guide is provided.

内視鏡挿入部3は、先端部から基端部にわたって湾曲可能な細長い管状に形成されている。内視鏡挿入部3の内部には、撮像素子の信号線、ライトガイド本体、および先端部の湾曲を操作するためのワイヤ機構などが配置されている(いずれも不図示)。内視鏡挿入部3にステレオ計測用光学アダプタ2が装着される場合には、撮像素子によって、視差を有する一対の画像(以下、視差画像と称する)が同時に取得され、内視鏡挿入部3内部の信号線により撮像信号がCCU9に伝送されるようになっている。   The endoscope insertion portion 3 is formed in an elongated tubular shape that can be bent from the distal end portion to the proximal end portion. Inside the endoscope insertion portion 3, a signal line of the image sensor, a light guide body, a wire mechanism for operating the bending of the distal end portion, and the like (all not shown) are arranged. When the stereo measurement optical adapter 2 is attached to the endoscope insertion unit 3, a pair of images having parallax (hereinafter referred to as parallax images) are simultaneously acquired by the imaging device, and the endoscope insertion unit 3. An imaging signal is transmitted to the CCU 9 through an internal signal line.

内視鏡ユニット7は、内視鏡挿入部3のライトガイドに導く照明光を発生する照明用光源、ワイヤ機構の電動湾曲駆動ユニット、および電動湾曲駆動ユニットを駆動する制御パラメータを記憶するためのEEPROM8などを備える装置であり、内視鏡挿入部3の基端部に接続された状態でコントロールユニット4に内蔵されている。   The endoscope unit 7 stores an illumination light source that generates illumination light guided to the light guide of the endoscope insertion portion 3, an electric bending drive unit of a wire mechanism, and a control parameter for driving the electric bending drive unit. The device includes an EEPROM 8 and the like, and is built in the control unit 4 while being connected to the proximal end portion of the endoscope insertion portion 3.

CCU9は、内視鏡挿入部3に設けられた撮像素子の撮像動作を制御すると共に、撮像素子で取得された撮像信号を、例えばNTSC信号などの画像信号に変換し、入力画像信号100(図3参照)としてコントロールユニット4に出力する。   The CCU 9 controls the imaging operation of the imaging device provided in the endoscope insertion unit 3 and converts the imaging signal acquired by the imaging device into an image signal such as an NTSC signal, for example, to obtain an input image signal 100 (FIG. 3) and output to the control unit 4.

液晶モニタ6は、コントロールユニット4から出力される表示用画像信号101a(図3参照)に基づいて、被検体の画像およびその他の情報を表示する。これらの画像、情報はそれぞれ必要に応じて単独に、または合成されて表示される。本実施形態のようにステレオ計測を行う場合には、表示用画像信号101aは視差画像の一方または両方を含む画像に対応する。   The liquid crystal monitor 6 displays an image of the subject and other information based on the display image signal 101a (see FIG. 3) output from the control unit 4. These images and information are displayed individually or in combination as required. When performing stereo measurement as in the present embodiment, the display image signal 101a corresponds to an image including one or both of parallax images.

液晶モニタ6に表示されるその他の情報としては、例えば、後述するリモートコントローラ5などの操作部から入力される情報や、操作メニュー、操作用のグラフィカルユーザインタフェース(GUI)が挙げられる。また、計測時に用いるカーソルの画像や、計測結果などを含む計測用情報102(図3参照)が挙げられる。以下、操作に関連する情報を含む画像を操作画像と称する。   Examples of other information displayed on the liquid crystal monitor 6 include information input from an operation unit such as a remote controller 5 described later, an operation menu, and an operation graphical user interface (GUI). Further, measurement information 102 (see FIG. 3) including an image of a cursor used at the time of measurement, a measurement result, and the like can be given. Hereinafter, an image including information related to an operation is referred to as an operation image.

リモートコントローラ5は、ユーザが内視鏡装置1に各種の操作入力を行うための操作部であり、コントロールユニット4に接続されている。ユーザがリモートコントローラ5を介して行う操作入力としては、例えば、電源のオン/オフに関する操作、撮像動作に関する操作、照明に関する操作、内視鏡挿入部3の湾曲駆動の操作、計測に関する操作、液晶モニタ6に表示する画像に対する画像処理の選択操作、外部記憶媒体への画像の記録操作、外部記憶媒体に記録された画像の読み出し操作などがある。これらの操作は、適宜、ユーザインタフェースを介して行うことができるようになっている。   The remote controller 5 is an operation unit for a user to input various operations to the endoscope apparatus 1, and is connected to the control unit 4. The operation input performed by the user via the remote controller 5 includes, for example, an operation relating to power on / off, an operation relating to an imaging operation, an operation relating to illumination, an operation for driving the bending of the endoscope insertion portion 3, an operation relating to measurement, a liquid crystal There are an image processing selection operation for an image displayed on the monitor 6, an image recording operation to an external storage medium, an operation for reading an image recorded on the external storage medium, and the like. These operations can be appropriately performed via a user interface.

例えば、特に図示しないが、ジョイスティック、レバースイッチ、フリーズスイッチ、ストアースイッチ、および計測実行スイッチなどがリモートコントローラ5に設けられている。ユーザは、これらを介して、操作メニューの選択および入力を行ったり、直接的に指示を入力したり、液晶モニタ6に表示されたGUIを操作したりすることで、種々の操作入力が行えるようになっている。   For example, although not particularly illustrated, the remote controller 5 includes a joystick, a lever switch, a freeze switch, a store switch, a measurement execution switch, and the like. Through these, the user can select and input an operation menu, directly input an instruction, or operate a GUI displayed on the liquid crystal monitor 6 so that various operation inputs can be performed. It has become.

コントロールユニット4は、撮像された画像の画像処理および計測処理を含む、内視鏡装置1の全体の制御を行う。本実施形態では、コントロールユニット4は、図2に示すように、CPU10、ROM11、RAM12、各種の入出力インタフェース、および画像処理回路16から構成される。   The control unit 4 performs overall control of the endoscope apparatus 1 including image processing and measurement processing of the captured image. In the present embodiment, the control unit 4 includes a CPU 10, a ROM 11, a RAM 12, various input / output interfaces, and an image processing circuit 16, as shown in FIG.

CPU10は、ROM11または外部記憶媒体44(図3参照)に記憶された制御用プログラムをRAM12にロードして実行し、後述する各機能の動作を行う。入出力インタフェースとしては、例えば、RS−232Cインタフェース15、PCカードインタフェース13、USBインタフェース14がある。   The CPU 10 loads a control program stored in the ROM 11 or the external storage medium 44 (see FIG. 3) into the RAM 12 and executes it, and performs operations of functions described later. Examples of the input / output interface include an RS-232C interface 15, a PC card interface 13, and a USB interface 14.

RS−232Cインタフェース15は、リモートコントローラ5、内視鏡ユニット7、CCU9との間で動作制御のための通信を行う。PCカードインタフェース13は、PCMCIAに準拠したPCカードを接続するために使用される。本実施形態では、主としてリムーバルな外部記憶媒体がPCカードインタフェース13に接続され、計測結果などに関する情報および画像情報等の保存がPCカードインタフェース13を介して行われる。このため、PCカードインタフェース13には、外部記憶媒体としてフラッシュメモリを用いた各種メモリカード、例えば、PCMCIAメモリカード18やフラッシュメモリカード19が装着される。   The RS-232C interface 15 performs communication for operation control among the remote controller 5, the endoscope unit 7, and the CCU 9. The PC card interface 13 is used to connect a PC card compliant with PCMCIA. In the present embodiment, a removable external storage medium is mainly connected to the PC card interface 13, and information regarding measurement results and image information and the like are stored via the PC card interface 13. Therefore, various memory cards using a flash memory as an external storage medium, for example, a PCMCIA memory card 18 and a flash memory card 19 are mounted on the PC card interface 13.

USBインタフェース14は、USB機器を接続するために使用される。本実施形態では、パーソナルコンピュータ17を着脱可能に接続するためにUSBインタフェース14が設けられている。パーソナルコンピュータ17がUSBインタフェース14に接続された場合、コントロールユニット4とパーソナルコンピュータ17内の記憶装置との間でPCカードインタフェース13を介して各種情報が送受信される。   The USB interface 14 is used for connecting a USB device. In the present embodiment, a USB interface 14 is provided for detachably connecting the personal computer 17. When the personal computer 17 is connected to the USB interface 14, various information is transmitted and received between the control unit 4 and the storage device in the personal computer 17 via the PC card interface 13.

パーソナルコンピュータ17を接続する場合、コントロールユニット4に接続されている液晶モニタ6、リモートコントローラ5、および外部記憶媒体の機能を、パーソナルコンピュータ17が兼用することができるようになっている。そのため、例えば、計測に関する制御や、画像処理、画像表示などを、必要に応じてパーソナルコンピュータ17のリソースを利用して行うことができる。   When connecting the personal computer 17, the personal computer 17 can also share the functions of the liquid crystal monitor 6, the remote controller 5, and the external storage medium connected to the control unit 4. Therefore, for example, control related to measurement, image processing, image display, and the like can be performed using resources of the personal computer 17 as necessary.

画像処理回路16は、CCU9から供給された入力画像信号100(図3参照)に対して、リモートコントローラ5を介して指定された画像処理を施して出力画像信号101A,101B(図3参照)を生成する。また、画像処理回路16は、必要に応じて、出力画像信号101A,101Bと、CPU10によって生成される操作画像や計測用情報102(図3参照)とを合成し、さらに、液晶モニタ6に画像を表示するために、例えばNTSC信号などに変換し、表示用画像信号101aとして、液晶モニタ6に出力する。   The image processing circuit 16 performs image processing designated via the remote controller 5 on the input image signal 100 (see FIG. 3) supplied from the CCU 9 and outputs output image signals 101A and 101B (see FIG. 3). Generate. Further, the image processing circuit 16 synthesizes the output image signals 101A and 101B with the operation image generated by the CPU 10 and the measurement information 102 (see FIG. 3) as necessary, and further displays the image on the liquid crystal monitor 6. Is displayed, for example, is converted into an NTSC signal or the like and output to the liquid crystal monitor 6 as a display image signal 101a.

次に、図3を参照して、内視鏡装置1の主な機能構成を説明する。内視鏡装置1は、画像生成部30、操作部31、および表示部33を有し、さらにコントロールユニット4内に画像処理部34、信号変換部38、画像記憶部42、および制御部43を有する。   Next, a main functional configuration of the endoscope apparatus 1 will be described with reference to FIG. The endoscope apparatus 1 includes an image generation unit 30, an operation unit 31, and a display unit 33, and further includes an image processing unit 34, a signal conversion unit 38, an image storage unit 42, and a control unit 43 in the control unit 4. Have.

画像生成部30は、内視鏡挿入部3内の撮像素子、内視鏡ユニット7、およびCCU9に対応しており、ステレオ計測用光学アダプタ2の2つの光学系(対物レンズ2A,2B)によって同時に結像される2つの被写体像を視差画像として含む画像を生成する。操作部31は、ユーザが計測等の操作入力を行うために設けられており、リモートコントローラ5に対応する。表示部33は、液晶モニタ6に対応しており、表示用画像信号101aに基づいて画像を表示する。パーソナルコンピュータ17が操作部31や表示部33の機能を備えていてもよい。   The image generation unit 30 corresponds to the imaging device in the endoscope insertion unit 3, the endoscope unit 7, and the CCU 9, and is configured by two optical systems (objective lenses 2A and 2B) of the stereo measurement optical adapter 2. An image including two subject images formed simultaneously as a parallax image is generated. The operation unit 31 is provided for the user to perform an operation input such as measurement, and corresponds to the remote controller 5. The display unit 33 corresponds to the liquid crystal monitor 6 and displays an image based on the display image signal 101a. The personal computer 17 may have the functions of the operation unit 31 and the display unit 33.

画像生成部30からは、CCU9によって輝度レベル調整やノイズ除去処理などの前処理が施された、一対の視差画像を含む1フレーム分の画像情報が、入力画像信号100として画像処理部34に入力される。前処理は、画像処理部34が画像処理として行ってもよい。   From the image generation unit 30, image information for one frame including a pair of parallax images that has been subjected to preprocessing such as luminance level adjustment and noise removal processing by the CCU 9 is input to the image processing unit 34 as an input image signal 100. Is done. The preprocessing may be performed by the image processing unit 34 as image processing.

画像処理部34および信号変換部38は画像信号処理回路16に対応する。画像処理部34は、入力された入力画像信号100に画像処理を施し、出力画像信号101Aを生成して信号変換部38に出力すると共に、出力画像信号101Bを生成して画像記憶部42に出力できるようになっている。また、画像処理部34は、適宜、ステレオ計測用光学アダプタ2の2つの光学系によって同時に結像される2つの被写体像を含む画像から、一方の被写体像からなる視差画像を抽出するように入力画像信号100を処理し、出力画像信号101Aとして信号変換部38に出力する。なお、出力画像信号101A,101Bは、異なる信号であるとは限らず、同一の画像処理が施された同一の信号であってもよい。   The image processing unit 34 and the signal conversion unit 38 correspond to the image signal processing circuit 16. The image processing unit 34 performs image processing on the input image signal 100 that has been input, generates an output image signal 101A and outputs it to the signal conversion unit 38, and generates an output image signal 101B and outputs it to the image storage unit 42. It can be done. In addition, the image processing unit 34 appropriately inputs so as to extract a parallax image including one subject image from an image including two subject images simultaneously formed by the two optical systems of the stereo measurement optical adapter 2. The image signal 100 is processed and output to the signal converter 38 as an output image signal 101A. Note that the output image signals 101A and 101B are not necessarily different signals, and may be the same signal subjected to the same image processing.

信号変換部38は、画像処理部34から出力された出力画像信号101Aを表示用画像信号101aとして表示部33に出力する。その際、表示用画像信号101aに対して、必要に応じて、操作画像などの他の画像データを合成することができるようになっている。また、制御部43から計測用情報102が出力された場合には、計測用情報102も合成した状態で表示用画像信号101aを生成できるようになっている。   The signal conversion unit 38 outputs the output image signal 101A output from the image processing unit 34 to the display unit 33 as the display image signal 101a. At this time, other image data such as an operation image can be combined with the display image signal 101a as necessary. When the measurement information 102 is output from the control unit 43, the display image signal 101a can be generated in a state where the measurement information 102 is also synthesized.

画像記憶部42は、RAM12に対応しており、画像処理部34から出力される出力画像信号101Aを静止画像データとして記憶する。また、操作部31を介して記録処理の操作入力が行われた場合には、制御部43による制御に従って、静止画像データが画像記憶部42から読み出されて外部記憶媒体44へ出力され、外部記憶媒体44に記憶される。外部記憶媒体44は、パーソナルコンピュータ17、PCMCIAメモリカード18、およびフラッシュメモリカード19に対応する。   The image storage unit 42 corresponds to the RAM 12 and stores the output image signal 101A output from the image processing unit 34 as still image data. When an operation input for recording processing is performed via the operation unit 31, still image data is read from the image storage unit 42 and output to the external storage medium 44 according to control by the control unit 43. It is stored in the storage medium 44. The external storage medium 44 corresponds to the personal computer 17, the PCMCIA memory card 18, and the flash memory card 19.

制御部43は、CPU10に対応しており、ROM11または外部記憶媒体44に格納されている制御用プログラムを読み出してRAM12にロードし、制御用プログラムに記述されている命令を実行することにより、内視鏡装置1内の各部を制御する。制御部43は、操作部31を介して計測処理の操作入力が行われた場合には、画像記憶部42に記憶された静止画像データを用いて、ステレオ計測による計測処理を行うと共に、計測の操作入力に必要な計測用GUI画像を生成する。例えば、操作部31を介して、液晶モニタ6の表示画像上で計測点が入力されると、制御部43は、計測点に対応する各視差画像の対応点の位置情報を、それぞれの輝度情報に基づいてマッチング処理して取得し、三角測量の原理により3次元位置座標に換算する処理を行う。   The control unit 43 corresponds to the CPU 10, reads a control program stored in the ROM 11 or the external storage medium 44, loads it into the RAM 12, and executes an instruction described in the control program. Each part in the endoscope apparatus 1 is controlled. When an operation input for measurement processing is performed via the operation unit 31, the control unit 43 performs measurement processing by stereo measurement using still image data stored in the image storage unit 42, and performs measurement processing. A measurement GUI image necessary for operation input is generated. For example, when a measurement point is input on the display image of the liquid crystal monitor 6 via the operation unit 31, the control unit 43 uses the position information of the corresponding point of each parallax image corresponding to the measurement point as the luminance information. Is obtained by matching processing based on the above and converted into three-dimensional position coordinates by the principle of triangulation.

表示部33に表示されるカーソルや、計測点の情報、計測結果等は計測用GUI画像と共に、計測用情報102として、制御部43から信号変換部38に出力され、信号変換部38によって出力画像信号101Aに合成される。   The cursor, measurement point information, measurement results, and the like displayed on the display unit 33 are output from the control unit 43 to the signal conversion unit 38 as measurement information 102 together with the measurement GUI image. The signal conversion unit 38 outputs an output image. It is synthesized with the signal 101A.

内視鏡装置1の制御用プログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録された制御用プログラムを内視鏡装置1以外のコンピュータに読み込ませ、実行させてもよい。例えば、パーソナルコンピュータ17が制御用プログラムを読み込んで実行し、制御用プログラムに従って、内視鏡装置1を制御するための制御情報を内視鏡装置1に送信し、内視鏡装置1を画像表示モードや画像確認モード等で動作させてもよい。   The control program for the endoscope apparatus 1 may be recorded on a computer-readable recording medium, and the control program recorded on the recording medium may be read by a computer other than the endoscope apparatus 1 and executed. For example, the personal computer 17 reads and executes a control program, transmits control information for controlling the endoscope apparatus 1 to the endoscope apparatus 1 according to the control program, and displays the endoscope apparatus 1 as an image. It may be operated in a mode or an image confirmation mode.

ここで、「コンピュータ」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM、DVD−ROM、フラッシュメモリ等の可搬媒体、コンピュータに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。   Here, the “computer” includes a homepage providing environment (or display environment) if the WWW system is used. The “computer-readable recording medium” refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, a DVD-ROM, and a flash memory, and a storage device such as a hard disk built in the computer. Say. Further, the “computer-readable recording medium” refers to a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In addition, those holding programs for a certain period of time are also included.

また、上述したプログラムは、このプログラムを記憶装置等に格納したコンピュータから、伝送媒体を介して、あるいは伝送媒体中の伝送波により他のコンピュータに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように、情報を伝送する機能を有する媒体のことをいう。また、上述したプログラムは、前述した機能の一部を実現するためのものであってもよい。さらに、前述した機能を、コンピュータに既に記録されているプログラムとの組合せで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。   The program described above may be transmitted from a computer storing the program in a storage device or the like to another computer via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting a program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. Further, the above-described program may be for realizing a part of the above-described function. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer, what is called a difference file (difference program) may be sufficient.

次に、内視鏡装置1の動作を説明する。図4および図5は内視鏡装置1の動作の手順を示している。内視鏡装置1は、電源が投入されると、ステレオ計測用光学アダプタ2を通して取得した画像を液晶モニタ6に表示する画像表示モードで動作する。また、内視鏡装置1は、操作部31を介して操作入力が行われると、計測に使用する全ての画像をユーザに確認させる画像確認モードで動作する。画像確認モードでの動作中に、計測に使用する全ての画像の確認が終了し、操作部31を介して操作入力が行われると、内視鏡装置1は、操作入力に応じた各種処理モードで動作する。以下では、各種処理モードとして、計測処理、画像情報の記録処理を行うモードの場合の例で説明する。   Next, the operation of the endoscope apparatus 1 will be described. 4 and 5 show the operation procedure of the endoscope apparatus 1. When the power is turned on, the endoscope apparatus 1 operates in an image display mode in which an image acquired through the stereo measurement optical adapter 2 is displayed on the liquid crystal monitor 6. In addition, when an operation input is performed via the operation unit 31, the endoscope apparatus 1 operates in an image confirmation mode in which the user confirms all images used for measurement. When the confirmation of all the images used for measurement is completed during operation in the image confirmation mode and an operation input is performed via the operation unit 31, the endoscope apparatus 1 performs various processing modes according to the operation input. Works with. In the following description, various processing modes will be described using an example of a mode in which measurement processing and image information recording processing are performed.

画像表示モードでは、ユーザは、ステレオ計測用光学アダプタ2を装着した内視鏡挿入部3を被検体に挿入する。ステレオ計測用光学アダプタ2を通して撮像素子に結像した2つの被写体像を含む画像情報は、CCU9を通して入力画像信号100としてコントロールユニット4に出力される。   In the image display mode, the user inserts the endoscope insertion unit 3 equipped with the stereo measurement optical adapter 2 into the subject. Image information including two subject images formed on the image sensor through the stereo measurement optical adapter 2 is output to the control unit 4 as an input image signal 100 through the CCU 9.

図4に示すように、ST101では、コントロールユニット4が画像生成部30から1フレーム分の画像情報を取得する。すなわち、制御部43による制御に従い、画像生成部30から入力画像信号100がコントロールユニット4の画像処理部34に出力され、画像処理部34によって1フレーム分の入力画像信号100が画像情報として取得される。   As shown in FIG. 4, in ST 101, the control unit 4 acquires image information for one frame from the image generation unit 30. That is, according to control by the control unit 43, the input image signal 100 is output from the image generation unit 30 to the image processing unit 34 of the control unit 4, and the input image signal 100 for one frame is acquired as image information by the image processing unit 34. The

続いて、ST102では、制御部43による制御に従い、画像処理部34は1フレーム分の入力画像信号100を分割する。すなわち、画像処理部34は、画像生成部30から取得した画像情報を、左右2つの被写体像のそれぞれを含む視野領域毎に分割する処理を行う。このとき、画像の中央で画像を2つに分割してもよいし、予め測定によって得られている2つの視野領域の位置に関する情報を用いて視野領域のみの画像を抽出してもよい。分割された2つの画像情報は出力画像信号101Bとして画像記憶部42に出力され、画像記憶部42に記憶される。   Subsequently, in ST102, the image processing unit 34 divides the input image signal 100 for one frame in accordance with control by the control unit 43. That is, the image processing unit 34 performs processing for dividing the image information acquired from the image generation unit 30 for each visual field region including each of the left and right two subject images. At this time, the image may be divided into two at the center of the image, or an image of only the visual field region may be extracted using information on the positions of the two visual field regions obtained by measurement in advance. The divided two pieces of image information are output as an output image signal 101B to the image storage unit 42 and stored in the image storage unit 42.

続いて、ST103では、制御部43による制御に従い、画像処理部34は、分割された2つの画像情報のうち一方の画像情報(一例として、本実施形態では左の視野領域に対応する視差画像とする)に対応した1フレーム分の画像信号を出力画像信号101Aとして信号変換部38に出力する。   Subsequently, in ST103, in accordance with control by the control unit 43, the image processing unit 34 selects one of the two pieces of divided image information (as an example, a parallax image corresponding to the left visual field in this embodiment) Image signal corresponding to 1 frame) is output to the signal converter 38 as an output image signal 101A.

続いて、ST104では、制御部43による制御に従い、信号変換部38は、入力された出力画像信号101Aに対して、表示部33が表示できるサイズに画像サイズを変更する等の処理を施し、処理後の出力画像信号101Aを表示用画像信号101aとして表示部33に出力する。表示部33は、表示用画像信号101aに基づいて画像を表示する。これにより、左の視野領域に対応する視差画像を含む画像が表示部33に表示される。   Subsequently, in ST104, in accordance with the control by the control unit 43, the signal conversion unit 38 performs processing such as changing the image size to a size that can be displayed by the display unit 33 on the input output image signal 101A. The subsequent output image signal 101A is output to the display unit 33 as a display image signal 101a. The display unit 33 displays an image based on the display image signal 101a. Thereby, an image including a parallax image corresponding to the left visual field is displayed on the display unit 33.

図6は、本実施形態の内視鏡装置1で生成および表示される画像を示している。図6(a)は、画像生成部30で生成されて、画像処理部34で視野領域毎に分割される前の画像を示している。画像60は、画像の上下および中央にI字状に設けられた画像領域と、その領域以外の2つの略矩形の画像領域とからなる。左側の画像領域は、ステレオ計測用光学アダプタ2の2つの光学系によって同時に結像される2つの被写体像のうちの左側の被写体像に対応した視差画像61Lからなる。右側の画像領域は、ステレオ計測用光学アダプタ2の2つの光学系によって同時に結像される2つの被写体像のうちの右側の被写体像に対応した視差画像61Rからなる。   FIG. 6 shows an image generated and displayed by the endoscope apparatus 1 of the present embodiment. FIG. 6A shows an image generated by the image generation unit 30 and before being divided for each visual field region by the image processing unit 34. The image 60 includes an image area provided in an I shape at the top and bottom and the center of the image, and two substantially rectangular image areas other than the area. The left image area includes a parallax image 61L corresponding to the left subject image of the two subject images formed simultaneously by the two optical systems of the stereo measurement optical adapter 2. The right image area includes a parallax image 61R corresponding to the right subject image of the two subject images formed simultaneously by the two optical systems of the stereo measurement optical adapter 2.

図6(b)は、ST104で表示部33に表示される画像を示している。画像50aには、ステレオ計測用光学アダプタ2の2つの光学系によって同時に結像される2つの被写体像のうちの左側の被写体像に対応した視差画像51Lが含まれる。視差画像51Lを拡大して表示してもよく、その場合、画像処理部34は、分割された2つの画像情報のうち一方の画像情報に対応した1フレーム分の画像信号に対して拡大処理を行い、処理後の画像信号を出力画像信号101Aとして信号変換部38に出力する。   FIG. 6B shows an image displayed on the display unit 33 in ST104. The image 50a includes a parallax image 51L corresponding to the left subject image of the two subject images simultaneously formed by the two optical systems of the stereo measurement optical adapter 2. The parallax image 51L may be enlarged and displayed. In this case, the image processing unit 34 performs an enlargement process on the image signal for one frame corresponding to one of the divided two pieces of image information. The processed image signal is output to the signal converter 38 as an output image signal 101A.

ST104の処理が終了すると、ST105の処理が行われる。ST105では、制御部43は、操作部31を介して操作入力が行われたか否かを判定する。操作入力が行われた場合には、ST106の処理が行われる。また、操作入力が行われていない場合にはST101の処理が行われ、次の1フレーム分の画像情報に関して、上述した処理が再度行われる。つまり、操作入力が発生しない場合には、画像処理が施された1フレームの画像を時系列的に表示部33にリアルタイムで動画像として表示する画像表示モードが実現される。ユーザは、表示された画像を見ながら、被検体の所望の計測部位が画像に収まるように、リモートコントローラ5により内視鏡挿入部3の先端部の湾曲を調整する。   When the process of ST104 ends, the process of ST105 is performed. In ST105, the control unit 43 determines whether or not an operation input has been performed via the operation unit 31. When an operation input is performed, the process of ST106 is performed. If no operation input is performed, the process of ST101 is performed, and the above-described process is performed again for the next one frame of image information. In other words, when no operation input occurs, an image display mode is realized in which one frame of image processed image is displayed on the display unit 33 in real time as a moving image. While viewing the displayed image, the user adjusts the curvature of the distal end portion of the endoscope insertion portion 3 with the remote controller 5 so that the desired measurement site of the subject fits in the image.

次に、ST106で行われる処理(画像確認処理)の詳細を説明する。図5は、ST106で行われる処理の手順を示している。図5に示すように、ST201では、制御部43による制御に従い、画像処理部34は、画像記憶部42に記憶されている、2つの画像情報のうち一方の画像情報(一例として、本実施形態では左の視野領域に対応する視差画像とする)に対応した1フレーム分の画像信号を出力画像信号101Aとして信号変換部38に出力する。制御部43による制御に従い、信号変換部38は、入力された出力画像信号101Aに対して、表示部33が表示できるサイズに画像サイズを変更する等の処理を施し、処理後の出力画像信号101Aを表示用画像信号101aとして表示部33に出力する。表示部33は、表示用画像信号101aに基づいて画像を表示する。これにより、左の視野領域に対応する視差画像を含む画像が表示部33に表示される。ST201で表示される左の視野領域に対応する視差画像は、直前にST104で表示された左の視野領域に対応する視差画像と同じである。   Next, details of the process (image confirmation process) performed in ST106 will be described. FIG. 5 shows a procedure of processing performed in ST106. As shown in FIG. 5, in ST201, the image processing unit 34 controls one of the two pieces of image information stored in the image storage unit 42 according to control by the control unit 43 (for example, the present embodiment). In this case, an image signal for one frame corresponding to the left visual field is output to the signal conversion unit 38 as an output image signal 101A. In accordance with control by the control unit 43, the signal conversion unit 38 performs processing such as changing the image size to a size that can be displayed by the display unit 33 on the input output image signal 101A, and outputs the processed output image signal 101A. Is output to the display unit 33 as the display image signal 101a. The display unit 33 displays an image based on the display image signal 101a. Thereby, an image including a parallax image corresponding to the left visual field is displayed on the display unit 33. The parallax image corresponding to the left visual field displayed in ST201 is the same as the parallax image corresponding to the left visual field displayed in ST104 immediately before.

図6(c)は、ST201で表示部33に表示される画像を示している。画像50bには、ステレオ計測用光学アダプタ2の2つの光学系によって同時に結像される2つの被写体像のうちの左側の被写体像に対応した視差画像51Lと、操作入力用のボタン70と、ユーザがボタン70を操作するためのカーソル71とが含まれる。上述したように、画像50bにおける視差画像51Lは、直前にST104で表示された画像50aにおける視差画像51Lと同じである。左右のどちらの視野領域に対応する視差画像が表示されているのかを示す文字等の情報を視差画像と共に表示してもよい。   FIG. 6C shows an image displayed on the display unit 33 in ST201. The image 50b includes a parallax image 51L corresponding to the left subject image of two subject images simultaneously formed by the two optical systems of the stereo measurement optical adapter 2, an operation input button 70, and a user. Includes a cursor 71 for operating the button 70. As described above, the parallax image 51L in the image 50b is the same as the parallax image 51L in the image 50a displayed in ST104 immediately before. Information such as characters indicating which parallax image corresponding to the left or right visual field is displayed may be displayed together with the parallax image.

続いて、ST202では、制御部43は、操作部31を介して操作入力が行われたか否かを判定する。操作入力が行われるまで、ST201で表示された画像(静止画像)は変化しない。ST202において、次へ進むことを意味するボタン70が操作された場合、ST203の処理が行われる。   Subsequently, in ST202, the control unit 43 determines whether or not an operation input has been performed via the operation unit 31. Until the operation input is performed, the image (still image) displayed in ST201 does not change. In ST202, when the button 70 meaning to proceed to the next is operated, the process of ST203 is performed.

ST203では、制御部43による制御に従い、画像処理部34は、画像記憶部42に記憶されている、2つの画像情報のうちもう一方の画像情報(一例として、本実施形態では右の視野領域に対応する視差画像とする)に対応した1フレーム分の画像信号を出力画像信号101Aとして信号変換部38に出力する。以降は、前述した処理により表示部33に画像が表示される。これにより、右の視野領域に対応する視差画像を含む画像が表示部33に表示される。左右のどちらの視野領域に対応する視差画像が表示されているのかを示す文字等の情報を視差画像と共に表示してもよい。   In ST203, in accordance with control by the control unit 43, the image processing unit 34 selects the other image information of the two pieces of image information stored in the image storage unit 42 (for example, in the right visual field region in the present embodiment). An image signal for one frame corresponding to a corresponding parallax image is output to the signal conversion unit 38 as an output image signal 101A. Thereafter, an image is displayed on the display unit 33 by the processing described above. Thereby, an image including a parallax image corresponding to the right visual field region is displayed on the display unit 33. Information such as characters indicating which parallax image corresponding to the left or right visual field is displayed may be displayed together with the parallax image.

図6(d)は、ST203で表示部33に表示される画像を示している。画像50cには、ステレオ計測用光学アダプタ2の2つの光学系によって同時に結像される2つの被写体像のうちの右側の被写体像に対応した視差画像51Rと、操作入力用のボタン70と、ユーザがボタン70を操作するためのカーソル71とが含まれる。   FIG. 6D shows an image displayed on the display unit 33 in ST203. The image 50c includes a parallax image 51R corresponding to the right subject image of two subject images simultaneously formed by the two optical systems of the stereo measurement optical adapter 2, a button 70 for operation input, and a user. Includes a cursor 71 for operating the button 70.

続いて、ST204では、制御部43は、操作部31を介して操作入力が行われたか否かを判定する。操作入力が行われるまで、ST203で表示された画像(静止画像)は変化しない。ST204において、次へ進むことを意味するボタン70が操作された場合、ST205の処理が行われる。   Subsequently, in ST204, the control unit 43 determines whether or not an operation input has been performed via the operation unit 31. Until an operation input is performed, the image (still image) displayed in ST203 does not change. In ST204, when the button 70 meaning to proceed to the next is operated, the process of ST205 is performed.

ST205では、ST201と同様に、左の視野領域に対応する視差画像を含む画像が表示部33に表示される。ST205では、右の視野領域に対応する視差画像を含む画像を表示してもよい。ST205の処理が終了すると、ST106の処理(画像確認処理)が終了し、ST107の処理が行われる。また、ST204において、前に戻ることを意味する操作入力が行われた場合、ST201の処理が行われ、左の視野領域に対応する視差画像を含む画像が表示部33に再度表示される。また、ST202,ST204において、画像の確認を中止することを意味する操作入力が行われた場合、ST101の処理が行われ、内視鏡装置1は画像表示モードで動作する。   In ST205, as in ST201, an image including a parallax image corresponding to the left visual field is displayed on the display unit 33. In ST205, an image including a parallax image corresponding to the right visual field may be displayed. When the processing of ST205 is finished, the processing of ST106 (image confirmation processing) is finished, and the processing of ST107 is performed. Also, in ST204, when an operation input meaning returning to the previous position is performed, the process of ST201 is performed, and an image including a parallax image corresponding to the left visual field region is displayed on the display unit 33 again. Further, in ST202 and ST204, when an operation input meaning that the confirmation of the image is stopped is performed, the process of ST101 is performed, and the endoscope apparatus 1 operates in the image display mode.

ST107では、制御部43は、操作部31を介して操作入力が行われたか否かを判定し、操作入力が行われた場合には、動作入力に応じたそれぞれの処理を行う。計測の指示を意味する操作入力が行われた場合、ST108の処理(計測処理)が行われる。ST108では、制御部43による制御に従い、画像処理部34は、画像記憶部42に記憶されている、2つの画像情報のうち一方の画像情報(一例として、本実施形態では左の視野領域に対応する視差画像とする)に対応した1フレーム分の画像信号を出力画像信号101Aとして信号変換部38に出力する。以降は、前述した処理により表示部33に画像が表示される。これにより、左の視野領域に対応する視差画像を含む画像が表示部33に表示される。   In ST107, the control unit 43 determines whether or not an operation input has been performed via the operation unit 31, and when the operation input has been performed, performs each process according to the operation input. When an operation input meaning a measurement instruction is performed, the process of ST108 (measurement process) is performed. In ST108, in accordance with control by the control unit 43, the image processing unit 34 corresponds to one of the two pieces of image information stored in the image storage unit 42 (for example, the left visual field in the present embodiment). Image signal corresponding to one frame) is output to the signal conversion unit 38 as an output image signal 101A. Thereafter, an image is displayed on the display unit 33 by the processing described above. Thereby, an image including a parallax image corresponding to the left visual field is displayed on the display unit 33.

図6(e)は、ST108で表示部33に表示される画像を示している。画像50dには、ステレオ計測用光学アダプタ2の2つの光学系によって同時に結像される2つの被写体像のうちの左側の被写体像に対応した視差画像51Lと、ユーザが計測点の入力後に計測の演算処理の実行を指示するための操作入力用のボタン72と、ユーザが計測処理の終了を指示するための操作入力用のボタン73と、ユーザが計測点を指定したりボタン72,73を操作したりするためのカーソル71とが含まれる。図6(e)では左の視野領域に対応する視差画像が表示されているが、右の視野領域に対応する視差画像を表示してもよい。また、図6(e)における操作入力用のボタンは一例であり、計測の演算処理の種類(二点間距離、深さ、面積等)を指定するためのボタン等があってもよい。   FIG. 6E shows an image displayed on the display unit 33 in ST108. The image 50d includes a parallax image 51L corresponding to the left subject image of the two subject images simultaneously formed by the two optical systems of the stereo measurement optical adapter 2, and a measurement after the user inputs a measurement point. An operation input button 72 for instructing the execution of the arithmetic processing, an operation input button 73 for the user to instruct the end of the measurement processing, and a user specifying a measurement point or operating the buttons 72 and 73 And a cursor 71 for performing. In FIG. 6E, a parallax image corresponding to the left visual field is displayed, but a parallax image corresponding to the right visual field may be displayed. Further, the operation input button in FIG. 6E is an example, and there may be a button for designating the type of calculation processing (distance between two points, depth, area, etc.).

また、ST108では、制御部43は、画像記憶部42から、2つの画像情報に対応した1フレーム分の画像信号を読み出し、操作部31を介して入力される計測点の指示に基づいて、2つの画像情報のうちの一方の画像情報における計測点を指定する。さらに、制御部43は、もう一方の画像情報における、計測点に対応する点(対応点)の位置を求め、計測点と対応点の位置から被写体上の3次元座標を算出し、計測点における被写体の大きさ(二点間距離、深さ、面積等)を計測する。   In ST108, the control unit 43 reads the image signal for one frame corresponding to the two pieces of image information from the image storage unit 42, and based on the measurement point instruction input via the operation unit 31, 2 A measurement point in one of the pieces of image information is designated. Further, the control unit 43 obtains the position of the point (corresponding point) corresponding to the measurement point in the other image information, calculates the three-dimensional coordinates on the subject from the position of the measurement point and the corresponding point, and Measure the size of the subject (distance between two points, depth, area, etc.).

ST107において、画像情報の記録を指示する操作入力が行われた場合、ST109の処理(画像情報の記録処理)が行われる。ST109では、制御部43による制御に従い、画像記憶部42から、2つの画像情報に対応した1フレーム分の画像信号が読み出されて外部記憶媒体44へ出力され、外部記憶媒体44に記憶される。画像情報の記録では、図6(a)のように左右の視野領域に対応する2つの視差画像を含む画像を記録してもよいし、左右の視野領域に対応する視差画像を別々の画像として、これらの画像が関連付けられた状態で記録してもよい。   In ST107, when an operation input for instructing recording of image information is performed, the process of ST109 (recording process of image information) is performed. In ST109, in accordance with control by the control unit 43, an image signal for one frame corresponding to two pieces of image information is read from the image storage unit 42, output to the external storage medium 44, and stored in the external storage medium 44. . In recording the image information, an image including two parallax images corresponding to the left and right visual field regions may be recorded as shown in FIG. 6A, or the parallax images corresponding to the left and right visual field regions may be recorded as separate images. These images may be recorded in an associated state.

また、ST107において、計測も画像情報の記録も行わないことを意味する操作入力が行われた場合、ST101の処理が行われ、内視鏡装置1は画像表示モードで動作する。   In ST107, when an operation input meaning that neither measurement nor image information is recorded is performed, the process of ST101 is performed, and the endoscope apparatus 1 operates in the image display mode.

上記のように、画像の確認時(ST106)以外は、左右の視野領域のうち一方の視野領域のみに対応する視差画像が表示される。このため、左右の視野領域に対応する2つの視差画像が同時に表示されている場合にユーザが2つの視差画像の間で視線を頻繁に移動させることによる視認性の低下はない。   As described above, a parallax image corresponding to only one of the left and right visual field regions is displayed except when confirming the image (ST106). For this reason, when two parallax images corresponding to the left and right visual field regions are displayed at the same time, there is no degradation in visibility due to frequent movement of the line of sight between the two parallax images.

また、ユーザが計測点の入力を行う前に、簡単な操作入力により、内視鏡装置の動作モードを画像確認モードに移行させることができる。画像確認モードでは、ST201,ST203の処理により、計測で使用する全ての視差画像の確認が行われ、ST201,ST203の両方の処理が完了した場合に、計測処理への移行が可能となる。画像の確認時には、画像が静止した状態で、ユーザは、自分のペースで全ての視差画像を確認することができるので、計測時に2つの視差画像の一方のみを含む画像が表示された状態で計測を行う場合でも、計測の実施前に計測結果の妥当性を容易に確認することができる。また、画像の確認中にユーザが、表示されている画像は計測に適していないと判断した場合に、簡単な操作入力により、内視鏡装置の動作モードを画像表示モードに移行させて画像を撮影し直すことができるので、検査効率が向上する。   Further, before the user inputs the measurement point, the operation mode of the endoscope apparatus can be shifted to the image confirmation mode by a simple operation input. In the image confirmation mode, all the parallax images used in the measurement are confirmed by the processes of ST201 and ST203, and when both the processes of ST201 and ST203 are completed, it is possible to shift to the measurement process. When checking the image, the user can check all the parallax images at his / her own pace while the image is stationary. Therefore, the measurement is performed with an image including only one of the two parallax images displayed at the time of measurement. Even when performing the measurement, the validity of the measurement result can be easily confirmed before the measurement is performed. In addition, when the user determines that the displayed image is not suitable for measurement during image confirmation, the operation mode of the endoscope apparatus is shifted to the image display mode by a simple operation input, and the image is displayed. Since the image can be retaken, the inspection efficiency is improved.

内視鏡装置で被検体の検査を行う場合、内視鏡挿入部の先端を被検体に近づけて被検体を観察することが多く、左右の視差が大きくなる。左右の視差が大きくなると計測結果の妥当性が低くなりやすいため、特許文献4のように、計測結果の妥当性が低い場合に2つの視差画像を含む画像が自動的に表示される内視鏡装置では、2つの視差画像を含む画像が表示されることが多くなり、計測中の視認性が低下する。これに対して、本実施形態の内視鏡装置では、計測中には2つの視差画像を含む画像を表示する必要がないため、計測中の視認性は低下しない。   When examining a subject with an endoscope apparatus, the distal end of an endoscope insertion portion is often brought close to the subject to observe the subject, resulting in an increase in left and right parallax. An endoscope in which an image including two parallax images is automatically displayed when the validity of the measurement result is low, as in Patent Document 4, since the validity of the measurement result tends to be low when the left and right parallax increases. In the apparatus, an image including two parallax images is often displayed, and visibility during measurement is reduced. On the other hand, in the endoscope apparatus of the present embodiment, it is not necessary to display an image including two parallax images during measurement, and thus visibility during measurement does not decrease.

内視鏡装置で被検体を観察した後、常に現場で計測を行うわけではなく、現場では画像の撮影だけを行い、後で、画像を再生しながら計測を行うという方法により検査を行うこともある。従来の内視鏡装置を使用してこの方法で検査を行う場合、撮影した画像が計測に適していないと、再び現場に戻って画像の撮影をやり直す手間が発生していた。これに対して、本実施形態の内視鏡装置を使用して検査を行う場合、ST201,ST203の処理により、計測で使用する全ての視差画像の確認が行われてから、ST109で画像情報が記録される。このため、計測に適していない画像を記録するミスを減らすことができ、再び現場に戻って画像の撮影をやり直す手間が発生することを未然に防ぐことができる。   After observing a subject with an endoscopic device, the measurement is not always performed on-site, but only an image is taken on-site, and later, the measurement can be performed while reproducing the image. is there. When an inspection is performed by this method using a conventional endoscope apparatus, if the photographed image is not suitable for measurement, it takes time and effort to return to the site and recapture the image. In contrast, when an inspection is performed using the endoscope apparatus of the present embodiment, all parallax images used in measurement are confirmed by the processing in ST201 and ST203, and then image information is received in ST109. To be recorded. For this reason, it is possible to reduce mistakes in recording an image that is not suitable for measurement, and it is possible to prevent the trouble of returning to the site again and re-taking the image.

次に、本実施形態の変形例を説明する。図7は、ST106で行われる処理の手順の他の例を示している。ST210では、制御部43による制御に従い、画像処理部34は、画像記憶部42に記憶されている、2つの画像情報に対応した1フレーム分の画像信号を出力画像信号101Aとして信号変換部38に出力する。以降は、前述した処理により表示部33に画像が表示される。これにより、左右の視野領域に対応する2つの視差画像を含む画像が表示部33に表示される。   Next, a modification of this embodiment will be described. FIG. 7 shows another example of the processing procedure performed in ST106. In ST210, in accordance with control by the control unit 43, the image processing unit 34 outputs to the signal conversion unit 38 an image signal for one frame corresponding to two pieces of image information stored in the image storage unit 42 as an output image signal 101A. Output. Thereafter, an image is displayed on the display unit 33 by the processing described above. Thereby, an image including two parallax images corresponding to the left and right visual field regions is displayed on the display unit 33.

図8は、ST210で表示部33に表示される画像を示しており、図6(a)に示した画像と同じである。ST210では、図8に示すように、左右の視野領域に対応した2つの視差画像を含む画像が表示される。ST210では、2つの視差画像を、それぞれの視差画像が液晶モニタ6上で隠れてしまわない程度に拡大してから並べて表示してもよい。   FIG. 8 shows an image displayed on the display unit 33 in ST210, which is the same as the image shown in FIG. In ST210, as shown in FIG. 8, an image including two parallax images corresponding to the left and right visual field regions is displayed. In ST210, the two parallax images may be displayed side by side after being enlarged to such an extent that the respective parallax images are not hidden on the liquid crystal monitor 6.

続いて、ST202では、制御部43は、操作部31を介して操作入力が行われたか否かを判定する。操作入力が行われるまで、ST210で表示された画像(静止画像)は変化しない。ST202において、次へ進むことを意味するボタン70が操作された場合、ST205の処理が行われる。   Subsequently, in ST202, the control unit 43 determines whether or not an operation input has been performed via the operation unit 31. Until an operation input is performed, the image (still image) displayed in ST210 does not change. In ST202, when the button 70 meaning to proceed to the next is operated, the process of ST205 is performed.

ST205では、前述したように、左の視野領域に対応する視差画像を含む画像が表示部33に表示される。ST205の処理が終了すると、ST106の処理(画像確認処理)が終了し、ST107の処理が行われる。また、ST202において、画像の確認を中止することを意味する操作入力が行われた場合、ST101の処理が行われ、内視鏡装置1は画像表示モードで動作する。   In ST205, as described above, an image including a parallax image corresponding to the left visual field is displayed on the display unit 33. When the processing of ST205 is finished, the processing of ST106 (image confirmation processing) is finished, and the processing of ST107 is performed. Further, in ST202, when an operation input meaning that the confirmation of the image is stopped is performed, the process of ST101 is performed, and the endoscope apparatus 1 operates in the image display mode.

上記のように画像の確認時に2つの視差画像を同時に表示することで、ユーザがそれらを比較しやすくなり、計測結果の妥当性を容易に確認することができる。   By simultaneously displaying the two parallax images when confirming the image as described above, the user can easily compare them, and the validity of the measurement result can be easily confirmed.

画像の確認時に、2つの視差画像を順番に表示したり(図6)、2つの視差画像を同時に表示したり(図8)するだけでなく、2つの視差画像を順番に表示することと2つの視差画像を同時に表示することの両方を行ってもよい。例えば、画像の確認時に図6(c)の画像50b、図6(d)の画像50c、図8の画像60を表示部33に順番に表示させてもよい。   When confirming an image, not only two parallax images are displayed in order (FIG. 6), but two parallax images are simultaneously displayed (FIG. 8), and two parallax images are displayed in order. Both parallax images may be displayed simultaneously. For example, when the image is confirmed, the image 50b in FIG. 6C, the image 50c in FIG. 6D, and the image 60 in FIG.

2つの視差画像を同時に表示すると、表示される視差画像が小さくなり、視差画像を確認しにくいことがあるが、上記の方法により、ユーザは、2つの視差画像の一方のみが表示されている場合にはその視差画像を詳しく確認することができ、2つの視差画像の両方が表示されている場合にはその両方を比較することができる。2つの視差画像を同時に表示するか、別々に表示するかに関わらず、各視差画像の少なくとも一部を拡大できるようにしてもよい。   When two parallax images are displayed at the same time, the displayed parallax image may be small and it may be difficult to confirm the parallax image. However, when only one of the two parallax images is displayed by the above method, The parallax image can be confirmed in detail, and when both parallax images are displayed, both can be compared. Regardless of whether two parallax images are displayed simultaneously or separately, at least a part of each parallax image may be enlarged.

画像の確認時に、表示される画像に対して、確認を補助するための画像処理を行ってから画像を表示してもよい。例えば、制御部43による制御に従い、画像処理部34は、画像記憶部42に記憶されている、2つの画像情報のうち一方または両方の画像情報に対応した1フレーム分の画像信号に対して、エッジ強調を行ったり、画像中のハレーション部を判別してその領域を所定の色(赤色等)で目立たせる処理を行ったりして、処理後の画像信号を出力画像信号101Aとして信号変換部38に出力する。以降は、前述した処理により表示部33に画像が表示される。確認を補助するための画像処理を行うか否かを、ユーザが簡単な操作で切り替えられるようにしてもよい。このような画像処理を施すことにより、ユーザが計測結果の妥当性をより容易に確認することができる。   When the image is confirmed, the image may be displayed after image processing for assisting the confirmation is performed on the displayed image. For example, according to control by the control unit 43, the image processing unit 34 performs an image signal for one frame corresponding to one or both of the two pieces of image information stored in the image storage unit 42. Edge enhancement is performed, or a process for making the area conspicuous in a predetermined color (red, etc.) by discriminating a halation part in the image is performed, and the signal conversion unit 38 uses the processed image signal as the output image signal 101A. Output to. Thereafter, an image is displayed on the display unit 33 by the processing described above. Whether or not to perform image processing for assisting confirmation may be switched by a simple operation by the user. By performing such image processing, the user can more easily confirm the validity of the measurement result.

画像の確認時に2つの視差画像を、ユーザの操作入力によらず自動的に順番に表示してもよい。例えば、スライドショーのように、表示される視差画像を一定時間間隔で切り替えてもよい。視差画像を切り替える時間間隔は、ユーザが画像を確認できる時間の範囲内で任意に設定できるようにしてもよい。   Two parallax images may be automatically displayed in order at the time of image confirmation, regardless of the user's operation input. For example, the displayed parallax images may be switched at regular time intervals as in a slide show. The time interval for switching the parallax images may be arbitrarily set within a time range in which the user can check the images.

本実施形態では、2つの光学系によって同時に結像される2つの被写体像を含む画像を撮影する例を説明したが、互いに異なる視点に対応する3つ以上の被写体像を含む画像を撮影する場合にも本実施形態と同様の手順でユーザに画像の確認を行わせることができる。   In the present embodiment, an example of capturing an image including two subject images simultaneously formed by two optical systems has been described. However, when capturing an image including three or more subject images corresponding to different viewpoints. In addition, it is possible to make the user confirm the image in the same procedure as in the present embodiment.

上述したように、本実施形態によれば、画像表示モードでは、左右の視差画像のうちの一方のみを含む動画像が表示されるので、被写体の観察時の視認性を保つことができる。また、画像確認モードでは、計測で使用される左右の視差画像の全てが静止画像として表示されるので、計測の実施前にユーザに計測結果の妥当性の確認を容易に行わせることができる。   As described above, according to the present embodiment, in the image display mode, a moving image including only one of the left and right parallax images is displayed, so visibility during observation of the subject can be maintained. Further, in the image confirmation mode, all the left and right parallax images used in the measurement are displayed as still images, so that the user can easily confirm the validity of the measurement result before the measurement is performed.

(第2の実施形態)
次に、本発明の第2の実施形態を説明する。第1の実施形態による内視鏡装置は2つの光学系によって同時に結像される2つの被写体像を含む画像を撮影するが、第2の実施形態による内視鏡装置は2つの光学系によって時系列的に結像される2つの被写体像を別々に含む画像を撮影する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. The endoscope apparatus according to the first embodiment captures an image including two subject images simultaneously formed by two optical systems, but the endoscope apparatus according to the second embodiment sometimes uses two optical systems. An image containing two subject images separately formed is photographed.

本実施形態では、第1の実施形態におけるステレオ計測用光学アダプタ2の代わりに、撮像素子に入射する光の光路を切り替えることが可能な光学アダプタが内視鏡挿入部3の先端に装着される。図9は、本実施形態における光学アダプタの構成を示している。内視鏡挿入部3の先端に光学アダプタ21が装着されている。光学アダプタ21は、凹レンズ23a,23b、凸レンズ24a,24b、切替部25、結像光学系26を有する。内視鏡挿入部3の先端内には撮像素子3aが配置されている。   In this embodiment, instead of the stereo measurement optical adapter 2 in the first embodiment, an optical adapter capable of switching the optical path of light incident on the image sensor is attached to the distal end of the endoscope insertion portion 3. . FIG. 9 shows the configuration of the optical adapter in this embodiment. An optical adapter 21 is attached to the distal end of the endoscope insertion portion 3. The optical adapter 21 includes concave lenses 23a and 23b, convex lenses 24a and 24b, a switching unit 25, and an imaging optical system 26. An imaging element 3 a is disposed in the distal end of the endoscope insertion portion 3.

凹レンズ23a、凸レンズ24a、結像光学系26は、被写体からの光が形成する第1の被写体像を撮像素子3aの領域S1に結像する第1の光学系を構成する。凹レンズ23b、凸レンズ24b、結像光学系26は、被写体からの光が形成する第2の被写体像を撮像素子3aの領域S1に結像する第2光学系を構成する。第1の光学系に入射した被写体からの光は光路L1を通り、撮像素子3aの領域S1に第1の被写体像として結像される。第2の光学系に入射した被写体からの光は光路L2を通り、撮像素子3aの領域S1に第2の被写体像として結像される。第1の被写体像と第2の被写体像は、撮像素子3aの共通の領域S1に結像される。   The concave lens 23a, the convex lens 24a, and the imaging optical system 26 constitute a first optical system that forms a first subject image formed by light from the subject in the region S1 of the image sensor 3a. The concave lens 23b, the convex lens 24b, and the imaging optical system 26 constitute a second optical system that forms a second subject image formed by light from the subject in the region S1 of the image sensor 3a. The light from the subject incident on the first optical system passes through the optical path L1 and is formed as a first subject image on the region S1 of the image sensor 3a. The light from the subject incident on the second optical system passes through the optical path L2, and is formed as a second subject image in the region S1 of the image sensor 3a. The first subject image and the second subject image are formed in a common area S1 of the image sensor 3a.

切替部25は、第1の被写体像および第2の被写体像のうちのいずれか一方の被写体像のみが領域S1に結像されるように、光路L1と光路L2の間で光路を切り替える。切替部25による光路の切替動作は、コントロールユニット4内のCPU10によって制御される。撮像素子3aは、切替部25によって光路L1が設定されている場合に、領域S1に結像された第1の被写体像を含む第1の画像を生成し、切替部25によって光路L2が設定されている場合に、領域S1に結像された第2の被写体像を含む第2の画像を生成する。   The switching unit 25 switches the optical path between the optical path L1 and the optical path L2 so that only one of the first subject image and the second subject image is formed in the region S1. The optical path switching operation by the switching unit 25 is controlled by the CPU 10 in the control unit 4. When the optical path L1 is set by the switching unit 25, the imaging device 3a generates a first image including the first subject image formed in the region S1, and the optical path L2 is set by the switching unit 25. The second image including the second subject image formed in the region S1 is generated.

第1の画像は第2の画像に対して、あるいは、第2の画像は第1の画像に対して視差を有する。第1の画像は、第1の実施形態における左の視野領域の視差画像に対応し、第2の画像は、第2の実施形態における右の視野領域の視差画像に対応する。撮像素子3aによって生成された第1の画像および第2の画像はコントロールユニット4へ出力される。   The first image has parallax with respect to the second image, or the second image has parallax with respect to the first image. The first image corresponds to the parallax image of the left visual field area in the first embodiment, and the second image corresponds to the parallax image of the right visual field area in the second embodiment. The first image and the second image generated by the image sensor 3 a are output to the control unit 4.

2つの光路を通った光が形成する2つの被写体像は撮像素子3aの共通の領域S1に結像される。このため、撮像面積を大きくすることができ、撮像画質と計測精度を向上させることができる。   Two subject images formed by light passing through the two optical paths are formed in a common area S1 of the image sensor 3a. For this reason, an imaging area can be enlarged and imaging image quality and measurement accuracy can be improved.

次に、内視鏡装置1の動作を説明する。図10および図11は内視鏡装置1の動作の手順を示している。図10に示すように、ST110では、制御部43による制御に従い、切替部25は光路を光路L1に設定する。続いて、ST111では、コントロールユニット4は画像生成部30から1フレーム分の画像情報を取得する。すなわち、制御部43による制御に従い、画像生成部30から入力画像信号100がコントロールユニット4の画像処理部34に出力され、画像処理部34によって1フレーム分の入力画像信号100が画像情報として取得される。画像処理部34は、取得した入力画像信号100に対して所定の画像処理を行い、処理後の入力画像信号100を出力画像信号101Aとして信号変換部38に出力すると共に、出力画像信号101Bとして画像記憶部42に出力する。画像記憶部42に出力された出力画像信号101Bは第1の画像情報として画像記憶部42に記憶される。   Next, the operation of the endoscope apparatus 1 will be described. 10 and 11 show an operation procedure of the endoscope apparatus 1. As shown in FIG. 10, in ST110, the switching unit 25 sets the optical path to the optical path L1 in accordance with control by the control unit 43. Subsequently, in ST111, the control unit 4 acquires image information for one frame from the image generation unit 30. That is, according to control by the control unit 43, the input image signal 100 is output from the image generation unit 30 to the image processing unit 34 of the control unit 4, and the input image signal 100 for one frame is acquired as image information by the image processing unit 34. The The image processing unit 34 performs predetermined image processing on the acquired input image signal 100, outputs the processed input image signal 100 to the signal conversion unit 38 as an output image signal 101A, and outputs an image as an output image signal 101B. The data is output to the storage unit 42. The output image signal 101B output to the image storage unit 42 is stored in the image storage unit 42 as first image information.

続いて、ST112では、制御部43による制御に従い、信号変換部38は、入力された出力画像信号101Aに対して、表示部33が表示できるサイズに画像サイズを変更する等の処理を施し、処理後の出力画像信号101Aを表示用画像信号101aとして表示部33に出力する。表示部33は、表示用画像信号101aに基づいて画像を表示する。これにより、第1の画像が表示部33に表示される。   Subsequently, in ST112, in accordance with control by the control unit 43, the signal conversion unit 38 performs a process such as changing the image size to a size that can be displayed by the display unit 33 on the input output image signal 101A. The subsequent output image signal 101A is output to the display unit 33 as a display image signal 101a. The display unit 33 displays an image based on the display image signal 101a. As a result, the first image is displayed on the display unit 33.

図12は、本実施形態の内視鏡装置1で表示される画像を示している。図12(a)は、ST112で表示部33に表示される画像を示しており、光路L1を通った光に基づく第1の画像52Lが表示される。   FIG. 12 shows an image displayed by the endoscope apparatus 1 of the present embodiment. FIG. 12A shows an image displayed on the display unit 33 in ST112, and a first image 52L based on the light passing through the optical path L1 is displayed.

ST112の処理が終了するとST105の処理が行われる。ST105〜ST109の処理は、ST106の処理を除いて第1の実施形態で説明した処理と同様であるので、これらの処理の説明を省略する。   When the process of ST112 is completed, the process of ST105 is performed. Since the processes of ST105 to ST109 are the same as the processes described in the first embodiment except for the process of ST106, description of these processes is omitted.

次に、ST106で行われる処理(画像確認処理)の詳細を説明する。図11は、ST106で行われる処理の手順を示している。図11に示すように、ST220では、制御部43による制御に従い、画像処理部34は、画像記憶部42に記憶されている、第1の画像情報に対応した1フレーム分の画像信号を出力画像信号101Aとして信号変換部38に出力する。制御部43による制御に従い、信号変換部38は、入力された出力画像信号101Aに対して、表示部33が表示できるサイズに画像サイズを変更する等の処理を施し、処理後の出力画像信号101Aを表示用画像信号101aとして表示部33に出力する。表示部33は、表示用画像信号101aに基づいて画像を表示する。これにより、第1の画像が表示部33に表示される。ST220で表示される第1の画像は、直前にST112で表示された第1の画像と同じである。   Next, details of the process (image confirmation process) performed in ST106 will be described. FIG. 11 shows the procedure of processing performed in ST106. As shown in FIG. 11, in ST220, in accordance with control by the control unit 43, the image processing unit 34 outputs an image signal for one frame corresponding to the first image information stored in the image storage unit 42 as an output image. The signal 101A is output to the signal converter 38. In accordance with control by the control unit 43, the signal conversion unit 38 performs processing such as changing the image size to a size that can be displayed by the display unit 33 on the input output image signal 101A, and outputs the processed output image signal 101A. Is output to the display unit 33 as the display image signal 101a. The display unit 33 displays an image based on the display image signal 101a. As a result, the first image is displayed on the display unit 33. The first image displayed in ST220 is the same as the first image displayed in ST112 immediately before.

図12(b)は、ST220で表示部33に表示される画像を示しており、光路L1を通った光に基づく第1の画像52Lと、操作入力用のボタン70と、ユーザがボタン70を操作するためのカーソル71とが表示される。第1の画像と第2の画像のどちらが表示されているのかを示す文字等の情報を画像と共に表示してもよい。   FIG. 12B shows an image displayed on the display unit 33 in ST220. The first image 52L based on the light passing through the optical path L1, the operation input button 70, and the user presses the button 70. A cursor 71 for operation is displayed. Information such as characters indicating which of the first image and the second image is displayed may be displayed together with the image.

ST220の処理と並行してST221,ST222の処理が行われる。ST2221では、制御部43による制御に従い、切替部25は光路を光路L2に設定する。続いて、ST222では、コントロールユニット4は画像生成部30から1フレーム分の画像情報を取得する。すなわち、制御部43による制御に従い、画像生成部30から入力画像信号100がコントロールユニット4の画像処理部34に出力され、画像処理部34によって1フレーム分の入力画像信号100が画像情報として取得される。画像処理部34は、取得した入力画像信号100に対して所定の画像処理を行い、処理後の入力画像信号100を出力画像信号101Bとして画像記憶部42に出力する。画像記憶部42に出力された出力画像信号101Bは第2の画像情報として画像記憶部42に記憶される。   In parallel with the process of ST220, the processes of ST221 and ST222 are performed. In ST2221, the switching unit 25 sets the optical path to the optical path L2 in accordance with control by the control unit 43. Subsequently, in ST222, the control unit 4 acquires image information for one frame from the image generation unit 30. That is, according to control by the control unit 43, the input image signal 100 is output from the image generation unit 30 to the image processing unit 34 of the control unit 4, and the input image signal 100 for one frame is acquired as image information by the image processing unit 34. The The image processing unit 34 performs predetermined image processing on the acquired input image signal 100 and outputs the processed input image signal 100 to the image storage unit 42 as an output image signal 101B. The output image signal 101B output to the image storage unit 42 is stored in the image storage unit 42 as second image information.

続いて、ST223では、制御部43は、操作部31を介して操作入力が行われたか否かを判定する。操作入力が行われるまで、ST220で表示された画像(静止画像)は変化しない。ST223において、次へ進むことを意味する操作入力が行われた場合、ST224の処理が行われる。   Subsequently, in ST223, the control unit 43 determines whether or not an operation input has been performed via the operation unit 31. Until the operation input is performed, the image (still image) displayed in ST220 does not change. In ST223, when an operation input meaning to proceed to the next is performed, the process of ST224 is performed.

ST224では、制御部43による制御に従い、画像処理部34は、画像記憶部42に記憶されている第2の画像情報に対応した1フレーム分の画像信号を出力画像信号101Aとして信号変換部38に出力する。以降は、前述した処理により表示部33に画像が表示される。これにより、第2の画像が表示部33に表示される。第1の画像と第2の画像のどちらが表示されているのかを示す文字等の情報を画像と共に表示してもよい。   In ST224, in accordance with control by the control unit 43, the image processing unit 34 outputs an image signal for one frame corresponding to the second image information stored in the image storage unit 42 to the signal conversion unit 38 as an output image signal 101A. Output. Thereafter, an image is displayed on the display unit 33 by the processing described above. As a result, the second image is displayed on the display unit 33. Information such as characters indicating which of the first image and the second image is displayed may be displayed together with the image.

図12(c)は、ST224で表示部33に表示される画像を示しており、光路L2を通った光に基づく第2の画像52Rと、操作入力用のボタン70と、ユーザがボタン70を操作するためのカーソル71とが表示される。第1の画像と第2の画像のどちらが表示されているのかを示す文字等の情報を画像と共に表示してもよい。   FIG. 12C shows an image displayed on the display unit 33 in ST224. The second image 52R based on the light passing through the optical path L2, the operation input button 70, and the user presses the button 70. A cursor 71 for operation is displayed. Information such as characters indicating which of the first image and the second image is displayed may be displayed together with the image.

続いて、ST225では、制御部43は、操作部31を介して操作入力が行われたか否かを判定する。操作入力が行われるまで、ST224で表示された画像(静止画像)は変化しない。ST225において、次へ進むことを意味する操作入力が行われた場合、ST226の処理が行われる。   Subsequently, in ST225, the control unit 43 determines whether or not an operation input has been performed via the operation unit 31. Until an operation input is made, the image (still image) displayed in ST224 does not change. In ST225, when an operation input meaning to proceed to the next is performed, the process of ST226 is performed.

ST226では、ST220と同様に、第1の画像が表示部33に表示される。ST226では、第2の画像を表示してもよい。ST226の処理が終了すると、ST106の処理(画像確認処理)が終了し、ST107の処理が行われる。また、ST225において、前に戻ることを意味する操作入力が行われた場合、ST220の処理が行われ、左の視野領域に対応する視差画像を含む画像が表示部33に再度表示される。このとき、ST221,ST222の処理は行われない。また、ST223,ST225において、画像の確認を中止することを意味する操作入力が行われた場合、ST110の処理が行われ、内視鏡装置1は画像表示モードで動作する。   In ST226, as in ST220, the first image is displayed on display unit 33. In ST226, a second image may be displayed. When the process of ST226 ends, the process of ST106 (image confirmation process) ends, and the process of ST107 is performed. Also, in ST225, when an operation input that means returning is performed, the process of ST220 is performed, and an image including a parallax image corresponding to the left visual field is displayed on the display unit 33 again. At this time, the processes of ST221 and ST222 are not performed. Also, in ST223 and ST225, when an operation input meaning that the confirmation of the image is stopped is performed, the process of ST110 is performed, and the endoscope apparatus 1 operates in the image display mode.

ST108(計測処理)では、第1の画像と第2の画像を用いて計測が行われる。図12(d)は、ST108で表示部33に表示される画像を示しており、光路L1を通った光に基づく第1の画像52Lと、ユーザが計測点の入力後に計測の演算処理の実行を指示するための操作入力用のボタン72と、ユーザが計測処理の終了を指示するための操作入力用のボタン73と、ユーザが計測点を指定したりボタン72,73を操作したりするためのカーソル71とが含まれる。図12(d)では第1の画像が表示されているが、第2の画像を表示してもよい。   In ST108 (measurement processing), measurement is performed using the first image and the second image. FIG. 12D shows an image displayed on the display unit 33 in ST108. The first image 52L based on the light passing through the optical path L1 and the execution of measurement calculation processing after the user inputs measurement points. An operation input button 72 for instructing the user, an operation input button 73 for the user to instruct the end of the measurement process, and a user specifying a measurement point or operating the buttons 72 and 73. The cursor 71 is included. Although the first image is displayed in FIG. 12D, the second image may be displayed.

上記のように、画像の確認時(ST106)以外は、2つの光路のうち一方の光路のみを通った光に基づく画像が表示される。このため、2つの光路のそれぞれを通った光に基づく2つの画像が同時に表示されている場合にユーザが2つの視差画像の間で視線を頻繁に移動させることによる視認性の低下はない。また、画像確認モードでは、ST220,ST224の処理により、計測で使用する全ての画像の確認が行われるので、ユーザは計測の実施前に計測結果の妥当性を容易に確認することができる。   As described above, an image based on light passing through only one of the two optical paths is displayed except when confirming the image (ST106). For this reason, when two images based on light passing through each of the two optical paths are displayed at the same time, there is no deterioration in visibility due to the user frequently moving his / her line of sight between the two parallax images. In the image confirmation mode, all the images used in the measurement are confirmed by the processes of ST220 and ST224, so that the user can easily confirm the validity of the measurement result before the measurement is performed.

次に、本実施形態の変形例を説明する。図13は、ST106で行われる処理の手順の他の例を示している。図13では、図11に示したST224で行われる処理が、以下で説明するST227で行われる処理に変更されている。   Next, a modification of this embodiment will be described. FIG. 13 shows another example of the processing procedure performed in ST106. In FIG. 13, the process performed in ST224 shown in FIG. 11 is changed to the process performed in ST227 described below.

ST227では、制御部43による制御に従い、画像処理部34は、画像記憶部42に記憶されている、第1の画像情報に対応した1フレーム分の画像信号と、第2の画像情報に対応した1フレーム分の画像信号とを、2枚の画像が並んで表示されるように合成し、合成後の画像信号を出力画像信号101Aとして信号変換部38に出力する。以降は、前述した処理により表示部33に画像が表示される。これにより、第1の画像と第2の画像が表示部33に表示される。   In ST227, in accordance with control by the control unit 43, the image processing unit 34 corresponds to the image signal for one frame corresponding to the first image information and the second image information stored in the image storage unit 42. The image signal for one frame is combined so that two images are displayed side by side, and the combined image signal is output to the signal conversion unit 38 as an output image signal 101A. Thereafter, an image is displayed on the display unit 33 by the processing described above. As a result, the first image and the second image are displayed on the display unit 33.

図14は、ST227で表示部33に表示される画像を示している。画像53には、光路L1を通った光に基づく第1の画像を縮小した第1の画像54Lと、光路L2を通った光に基づく第2の画像を縮小した第2の画像54Rとが含まれる。   FIG. 14 shows an image displayed on the display unit 33 in ST227. The image 53 includes a first image 54L obtained by reducing the first image based on the light passing through the optical path L1, and a second image 54R obtained by reducing the second image based on the light passing through the optical path L2. It is.

図13において、ST227の処理以外の処理については既に説明したので説明を省略する。   In FIG. 13, since the processes other than the process of ST227 have already been described, the description thereof will be omitted.

画像の確認時に、2つの画像を順番に表示したり(図12)、2つの画像を同時に表示したり(図14)するだけでなく、2つの画像を順番に表示することと2つの画像を同時に表示することの両方を行ってもよい。例えば、画像の確認時に図12(b)の画像52L、図12(c)の画像52R、図14の画像53を表示部33に順番に表示させてもよい。   When confirming the image, not only the two images are displayed in order (FIG. 12), the two images are displayed simultaneously (FIG. 14), but the two images are displayed in sequence and the two images are displayed. You may perform both displaying simultaneously. For example, when the image is confirmed, the image 52L in FIG. 12B, the image 52R in FIG. 12C, and the image 53 in FIG.

また、第1の実施形態で説明したように、画像の確認時に、表示される画像に対して、確認を補助するための画像処理を行ってから画像を表示してもよいし、画像の確認時に2つの画像を、ユーザの操作入力によらず自動的に順番に表示してもよい。   Further, as described in the first embodiment, when confirming an image, the displayed image may be displayed after image processing for assisting confirmation is performed on the displayed image. Sometimes, two images may be automatically displayed in order regardless of user operation input.

本実施形態では、2つの光学系によって時系列的に結像される2つの被写体像を別々に含む画像を撮影する例を説明したが、互いに異なる視点に対応する3つ以上の被写体像を含む画像を撮影する場合にも本実施形態と同様の手順でユーザに画像の確認を行わせることができる。   In the present embodiment, an example has been described in which images including two subject images separately formed in time series by two optical systems are captured, but three or more subject images corresponding to different viewpoints are included. Even when an image is taken, the user can check the image in the same procedure as in the present embodiment.

また、被検体に対して、複数のパターンを順次投影し、各パターンを撮影した複数の画像を用いて計測を行う装置に対して、本実施形態を適用することも可能である。例えば、計測の機能が起動される前は、観察のために被検体を撮影した動画像(1つの被写体像に基づく動画像)が表示される。計測のための撮影が指示されると、被検体に複数のパターンが順次投影されて撮影が行われ、計測に使用される複数の画像(1つの被写体像に基づく静止画像)が生成される。その後、計測に使用される複数の画像の全てが静止画像として順次または同時に表示され、ユーザによる確認が行われる。全ての画像に対する確認が終了した後、計測点が入力され、計測が行われる。   In addition, the present embodiment can be applied to an apparatus that sequentially projects a plurality of patterns on a subject and performs measurement using a plurality of images obtained by capturing each pattern. For example, before the measurement function is activated, a moving image obtained by photographing the subject for observation (moving image based on one subject image) is displayed. When imaging for measurement is instructed, a plurality of patterns are sequentially projected onto the subject to perform imaging, and a plurality of images (still images based on one subject image) used for measurement are generated. Thereafter, all of the plurality of images used for measurement are displayed sequentially or simultaneously as still images, and confirmation by the user is performed. After confirmation for all images is completed, measurement points are input and measurement is performed.

上述したように、本実施形態によれば、2つの光学系によって時系列的に結像される2つの被写体像を別々に含む画像を撮影する内視鏡装置においても、画像表示モードでは、被写体の観察時の視認性を保つことができ、画像確認モードでは、計測の実施前にユーザに計測結果の妥当性の確認を容易に行わせることができる。   As described above, according to the present embodiment, even in an endoscope apparatus that captures images including two subject images separately formed in time series by two optical systems, in the image display mode, the subject In the image confirmation mode, the user can easily confirm the validity of the measurement result before performing the measurement.

(第3の実施形態)
次に、本発明の第3の実施形態を説明する。本実施形態では、記録された画像を再生して計測を行う場合について説明する。以下では、パーソナルコンピュータ17上で計測を行う場合を例として、計測に用いる画像の確認をユーザに行わせる方法を説明する。
(Third embodiment)
Next, a third embodiment of the present invention will be described. In the present embodiment, a case where measurement is performed by reproducing a recorded image will be described. In the following, a method for allowing a user to check an image used for measurement will be described, taking as an example the case where measurement is performed on the personal computer 17.

例えば、ST109の処理(画像情報の記録処理)により、計測に使用される全ての画像情報を含むファイルがパーソナルコンピュータ17に記録される。この際、記録された全ての画像情報の代表となる画像情報(以下、代表画像情報と称す)を示す情報もファイルに記録される。ST109の処理では内視鏡装置1に接続されているカード媒体等の外部記憶媒体にファイルを記録し、その外部記憶媒体をパーソナルコンピュータ17に接続し、ファイルをパーソナルコンピュータ17に読み込ませてもよい。   For example, a file including all image information used for measurement is recorded in the personal computer 17 by the process of ST109 (image information recording process). At this time, information indicating image information that is representative of all the recorded image information (hereinafter referred to as representative image information) is also recorded in the file. In the process of ST109, the file may be recorded on an external storage medium such as a card medium connected to the endoscope apparatus 1, the external storage medium may be connected to the personal computer 17, and the file may be read by the personal computer 17. .

パーソナルコンピュータ17にファイルが記録された後、ユーザがパーソナルコンピュータ17上でファイルを開いたとき、図15に示す手順で画像の確認および計測が行われる。図15は、パーソナルコンピュータ17の制御部の動作の手順を示している。   After the file is recorded on the personal computer 17, when the user opens the file on the personal computer 17, the image is confirmed and measured according to the procedure shown in FIG. FIG. 15 shows an operation procedure of the control unit of the personal computer 17.

図15に示すように、ST301では、制御部はパーソナルコンピュータ17の表示部に、代表画像情報に基づく画像(以下、代表画像と称す)を表示させると共に、ファイルに記録されている全ての画像情報のサムネールを表示させる。図16は、ユーザが画像の確認を行うときのパーソナルコンピュータ17の表示部の画面を示している。表示部の画面80には、確認用の静止画像81と、ファイルに記録されている画像情報の縮小画像であるサムネール82,83,84とが表示されている。図16では、互いに異なる視点に対応する3つの被写体像を含む画像を同時あるいは時系列的に撮影し、それぞれの被写体像に対応する3つの画像を生成した場合の例が示されているが、生成される画像は2つ以上であればよい。   As shown in FIG. 15, in ST301, the control unit displays an image based on the representative image information (hereinafter referred to as a representative image) on the display unit of the personal computer 17, and all the image information recorded in the file. Display thumbnails. FIG. 16 shows a screen of the display unit of the personal computer 17 when the user confirms the image. On the screen 80 of the display unit, a still image 81 for confirmation and thumbnails 82, 83, and 84 that are reduced images of image information recorded in the file are displayed. FIG. 16 shows an example in which images including three subject images corresponding to different viewpoints are taken simultaneously or in time series, and three images corresponding to the respective subject images are generated. Two or more images may be generated.

ST301では静止画像81として代表画像が表示される。また、静止画像81に対応するサムネール82が目立って表示されている。図16ではサムネール82が代表画像のサムネールである。図16に示す例ではサムネール82,83,84が表示されているが、画像の確認時にサムネール82,83,84を表示しなくてもよい。   In ST301, a representative image is displayed as the still image 81. A thumbnail 82 corresponding to the still image 81 is conspicuously displayed. In FIG. 16, the thumbnail 82 is a thumbnail of the representative image. In the example shown in FIG. 16, the thumbnails 82, 83, and 84 are displayed. However, the thumbnails 82, 83, and 84 may not be displayed when the image is confirmed.

続いて、ST302では、制御部は、パーソナルコンピュータ17に操作入力が行われたか否かを判定する。操作入力が行われるまで、ST301で表示された画像(静止画像)は変化しない。ST302において、次へ進むことを意味する操作入力が行われた場合、ST303の処理が行われる。   Subsequently, in ST302, the control unit determines whether or not an operation input has been performed on the personal computer 17. Until an operation input is performed, the image (still image) displayed in ST301 does not change. In ST302, when an operation input meaning to proceed to the next is performed, the process of ST303 is performed.

ST303では、制御部は、表示されている静止画像とは異なる他の静止画像を表示部に表示させる。例えば、ST301で図16のサムネール82に対応する画像が静止画像81として表示された場合には、ST303でサムネール83に対応する画像が静止画像81として表示され、ST301でサムネール83に対応する画像が静止画像81として表示された場合には、ST303でサムネール84に対応する画像が静止画像81として表示される。次の操作入力が行われるまで、ST303で表示された画像(静止画像)は変化しない。   In ST303, the control unit displays another still image different from the displayed still image on the display unit. For example, if an image corresponding to the thumbnail 82 in FIG. 16 is displayed as a still image 81 in ST301, an image corresponding to the thumbnail 83 is displayed as a still image 81 in ST303, and an image corresponding to the thumbnail 83 is displayed in ST301. When displayed as the still image 81, an image corresponding to the thumbnail 84 is displayed as the still image 81 in ST303. The image (still image) displayed in ST303 does not change until the next operation input is performed.

続いて、ST304では、制御部は、同一ファイル内の全ての画像が静止画像として表示されたか否かを判定する。表示されていない画像がある場合、ST302の処理が再度行われる。また、全ての画像が静止画像として表示された場合、ST305の処理が行われる。   Subsequently, in ST304, the control unit determines whether all images in the same file are displayed as still images. If there is an image that is not displayed, the process of ST302 is performed again. If all the images are displayed as still images, the process of ST305 is performed.

ST305では、制御部は、パーソナルコンピュータ17に操作入力が行われたか否かを判定する。ST305において、次へ進むことを意味する操作入力が行われた場合、ST306の処理が行われる。ST306では、制御部は計測処理を行う。計測処理では、代表画像や計測用のメニュー等を含む計測用の画像が表示部に表示され、計測点の入力が行われる。また、計測処理では、代表画像情報と、ST303で表示された静止画像に対応する全ての画像情報とを使用して、指定された計測点における被写体の大きさ(二点間距離、深さ、面積等)が計測される。計測処理が終了すると、画像の確認および計測の処理が終了する。   In ST305, the control unit determines whether or not an operation input has been performed on the personal computer 17. In ST305, when an operation input meaning to proceed to the next is performed, the process of ST306 is performed. In ST306, the control unit performs measurement processing. In the measurement process, a measurement image including a representative image and a measurement menu is displayed on the display unit, and a measurement point is input. In the measurement process, the representative image information and all image information corresponding to the still image displayed in ST303 are used to measure the size of the subject (distance between two points, depth, Area etc.) is measured. When the measurement process ends, the image confirmation and measurement process ends.

また、ST305において、前に戻ることを意味する操作入力が行われた場合、ST307の処理が行われる。ST307では、制御部は、表示部に表示されている静止画像を代表画像に戻し、ST302の処理を再度行う。また、ST302,ST305において、画像の確認を中止することを意味する操作入力が行われた場合、画像の確認および計測の処理が終了する。   Also, in ST305, when an operation input meaning returning to the previous position is performed, the process of ST307 is performed. In ST307, the control unit returns the still image displayed on the display unit to the representative image, and performs the process of ST302 again. Also, in ST302 and ST305, when an operation input meaning that the image confirmation is stopped is performed, the image confirmation and measurement processing ends.

本実施形態では、内視鏡装置1以外の装置を使用して、記録された画像を再生して計測を行う方法を説明したが、内視鏡装置1上で、上記と同様の方法で画像を再生して計測を行ってもよい。   In the present embodiment, the method of reproducing and recording the recorded image using a device other than the endoscope device 1 has been described. However, the image is reproduced on the endoscope device 1 by the same method as described above. You may measure by reproducing.

上述したように、本実施形態によれば、記録された画像を再生して計測を行う場合でも、計測で使用される全ての画像が静止画像として表示されるので、計測の実施前にユーザに計測結果の妥当性の確認を容易に行わせることができる。   As described above, according to the present embodiment, even when a recorded image is reproduced and measurement is performed, all images used in the measurement are displayed as still images. The validity of the measurement result can be easily confirmed.

以上、図面を参照して本発明の実施形態について詳述してきたが、具体的な構成は上記の実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。   As described above, the embodiments of the present invention have been described in detail with reference to the drawings. However, the specific configuration is not limited to the above-described embodiments, and includes design changes and the like without departing from the gist of the present invention. .

1・・・内視鏡装置、2・・・ステレオ計測用光学アダプタ、3・・・内視鏡挿入部、3a・・・撮像素子、4・・・コントロールユニット、5・・・リモートコントローラ、6・・・液晶モニタ、9・・・CCU、21・・・光学アダプタ、23a,23b・・・凹レンズ、24a,24b・・・凸レンズ、25・・・切替部、26・・・結像光学系、30・・・画像生成部、31・・・操作部、33・・・表示部、34・・・画像処理部、38・・・信号変換部、42・・・画像記憶部、43・・・制御部、44・・・外部記憶媒体   DESCRIPTION OF SYMBOLS 1 ... Endoscope apparatus, 2 ... Optical adapter for stereo measurement, 3 ... Endoscope insertion part, 3a ... Imaging element, 4 ... Control unit, 5 ... Remote controller, 6 ... Liquid crystal monitor, 9 ... CCU, 21 ... Optical adapter, 23a, 23b ... Concave lens, 24a, 24b ... Convex lens, 25 ... Switching unit, 26 ... Imaging optics System 30... Image generation unit 31. Operation unit 33. Display unit 34. Image processing unit 38. Signal conversion unit 42. ..Control unit 44 ... External storage medium

Claims (13)

1つ以上の被写体像を含む画像を生成する画像生成部と、
前記画像を表示する表示部と、
前記画像に基づく被写体の大きさの計測を制御する制御部と、
を備え、前記制御部は、
1つの被写体像を含む動画像を前記表示部に表示させる第1の処理と、
前記第1の処理の後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に順次表示させる第2の処理と、
前記第2の処理で、計測で使用される複数の被写体像の一部、または計測で使用される1つの被写体像に基づく複数の画像の一部が表示された後で、かつ全てが表示される前に、ユーザの第1の指示があった場合に、前記第1の処理に戻す第3の処理と、
前記第2の処理で、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示があった場合に、ユーザの指示に基づいて計測点を指定し、前記複数の被写体像の全てに基づく画像、または前記1つの被写体像に基づく複数の画像の全てに基づいて、指定された計測点における被写体の大きさを計測する計測処理と、
を実行することを特徴とする内視鏡装置。
An image generator that generates an image including one or more subject images;
A display unit for displaying the image;
A control unit that controls measurement of the size of the subject based on the image;
The control unit includes:
A first process for displaying a moving image including one subject image on the display unit;
A second process of sequentially displaying a plurality of subject images used in measurement or a plurality of images based on one subject image used in measurement on the display unit as still images after the first process; ,
In the second processing, a part of a plurality of subject images used for measurement or a part of a plurality of images based on one subject image used for measurement are displayed and all are displayed. A third process for returning to the first process when there is a user's first instruction ,
In the second process , after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed, the user's second instruction is issued. A measurement point is designated based on a user instruction, and an image based on all of the plurality of subject images or a plurality of images based on the one subject image is designated at the designated measurement point. A measurement process for measuring the size of the subject;
The endoscope apparatus characterized by performing.
1つ以上の被写体像を含む画像を生成する画像生成部と、
前記画像を表示する表示部と、
前記画像に基づく被写体の大きさの計測を制御する制御部と、
を備え、前記制御部は、
1つの被写体像を含む動画像を前記表示部に表示させる第1の処理と、
前記第1の処理の後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に表示させる第2の処理と、
前記第2の処理で、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第1の指示があった場合に、前記第1の処理に戻す第3の処理と、
前記第2の処理で、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示があった場合に、ユーザの指示に基づいて計測点を指定し、前記複数の被写体像の全てに基づく画像、または前記1つの被写体像に基づく複数の画像の全てに基づいて、指定された計測点における被写体の大きさを計測する計測処理と、
を実行することを特徴とする内視鏡装置。
An image generator that generates an image including one or more subject images;
A display unit for displaying the image;
A control unit that controls measurement of the size of the subject based on the image;
The control unit includes:
A first process for displaying a moving image including one subject image on the display unit;
A second process for displaying a plurality of subject images used in measurement or a plurality of images based on one subject image used in measurement on the display unit as still images after the first process;
In the second process, after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed, the user's first instruction is given. A third process for returning to the first process when
In the second process, after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed, the user's second instruction is issued. A measurement point is designated based on a user instruction, and an image based on all of the plurality of subject images or a plurality of images based on the one subject image is designated at the designated measurement point. A measurement process for measuring the size of the subject;
The endoscope apparatus characterized by performing.
1つ以上の被写体像を含む画像を生成する画像生成部と、
前記画像を表示する表示部と、
前記画像に基づく被写体の大きさの計測を制御する制御部と、
を備え、前記制御部は、
1つの被写体像を含む動画像を前記表示部に表示させる第1の処理と、
前記第1の処理の後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に順次表示させる第2の処理と、
前記第2の処理で、計測で使用される複数の被写体像の一部、または計測で使用される1つの被写体像に基づく複数の画像の一部が表示された後で、かつ全てが表示される前に、ユーザの第1の指示があった場合に、前記第1の処理に戻す第3の処理と、
前記第2の処理で、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示があった場合に、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てを記録する画像記録処理と、
を実行することを特徴とする内視鏡装置。
An image generator that generates an image including one or more subject images;
A display unit for displaying the image;
A control unit that controls measurement of the size of the subject based on the image;
The control unit includes:
A first process for displaying a moving image including one subject image on the display unit;
A second process for sequentially displaying a plurality of subject images used in measurement or a plurality of images based on one subject image used in measurement on the display unit as still images after the first process; ,
In the second processing, a part of a plurality of subject images used for measurement or a part of a plurality of images based on one subject image used for measurement are displayed and all are displayed. A third process for returning to the first process when there is a user's first instruction ,
In the second process, after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed, the user's second instruction is issued. If the, the image recording process for recording all of the plurality of images based on one of the object image to be used by all, or measurement of a plurality of object images to be used in the measurement,
The endoscope apparatus characterized by performing.
1つ以上の被写体像を含む画像を生成する画像生成部と、
前記画像を表示する表示部と、
前記画像に基づく被写体の大きさの計測を制御する制御部と、
を備え、前記制御部は、
1つの被写体像を含む動画像を前記表示部に表示させる第1の処理と、
前記第1の処理の後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に表示させる第2の処理と、
前記第2の処理で、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第1の指示があった場合に、前記第1の処理に戻す第3の処理と、
前記第2の処理で、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示があった場合に、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てを記録する画像記録処理と、
を実行することを特徴とする内視鏡装置。
An image generator that generates an image including one or more subject images;
A display unit for displaying the image;
A control unit that controls measurement of the size of the subject based on the image;
The control unit includes:
A first process for displaying a moving image including one subject image on the display unit;
A second process for displaying a plurality of subject images used in measurement or a plurality of images based on one subject image used in measurement on the display unit as still images after the first process;
In the second process, after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed, the user's first instruction is given. A third process for returning to the first process when
In the second process, after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed, the user's second instruction is issued. If the, the image recording process for recording all of the plurality of images based on one of the object image to be used by all, or measurement of a plurality of object images to be used in the measurement,
The endoscope apparatus characterized by performing.
前記制御部は、前記第2の処理において、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てをそれぞれ時系列的に静止画像として前記表示部に表示させることを特徴とする請求項1乃至請求項4のいずれか1つに記載の内視鏡装置。   In the second process, the control unit converts all of a plurality of subject images used in measurement or all of a plurality of images based on one subject image used in measurement as still images in time series. The endoscope apparatus according to any one of claims 1 to 4, wherein the endoscope is displayed on the display unit. 前記制御部は、前記第2の処理において、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てを同時に静止画像として前記表示部に表示させることを特徴とする請求項2または請求項4に記載の内視鏡装置。   In the second process, the control unit simultaneously displays all of a plurality of subject images used in measurement or a plurality of images based on one subject image used in measurement as still images on the display unit. The endoscope apparatus according to claim 2, wherein the endoscope apparatus is displayed. 前記制御部は、前記第2の処理において、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像をそれぞれ時系列的に静止画像として前記表示部に表示させることと、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を同時に静止画像として前記表示部に表示させることの両方を行うことを特徴とする請求項2または請求項4に記載の内視鏡装置。 In the second process, the control unit converts a plurality of subject images used in measurement or a plurality of images based on one subject image used in measurement into the display unit as still images in time series. A plurality of subject images used in measurement , or a plurality of images based on one subject image used in measurement are simultaneously displayed as still images on the display unit. The endoscope apparatus according to claim 2 or 4 . 前記制御部は、前記第2の処理において、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てに対して画像処理を施した画像を静止画像として前記表示部に表示させることを特徴とする請求項1乃至請求項4のいずれか1つに記載の内視鏡装置。   In the second process, the control unit performs image processing on all of a plurality of subject images used for measurement or all of a plurality of images based on one subject image used for measurement. The endoscope apparatus according to claim 1, wherein the image is displayed on the display unit as a still image. 前記画像処理を行うか否かを切り替えることが可能な請求項8に記載の内視鏡装置。   The endoscope apparatus according to claim 8, wherein switching whether or not to perform the image processing is possible. コンピュータに、
内視鏡装置で撮影された1つの被写体像を含む動画像を表示部に表示させる第1のステップと、
前記第1のステップの後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に順次表示させる第2のステップと、
前記第2のステップで、計測で使用される複数の被写体像の一部、または計測で使用される1つの被写体像に基づく複数の画像の一部が表示された後で、かつ全てが表示される前に、ユーザの第1の指示が入力された場合に、前記第1のステップに戻す第3のステップと、
前記第2のステップで、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示が入力された場合に、ユーザの計測点指示に基づいて計測点を指定し、前記複数の被写体像の全てに基づく画像、または前記1つの被写体像に基づく複数の画像の全てに基づいて、指定された計測点における被写体の大きさを計測する計測ステップと、
を実行させるためのプログラム。
On the computer,
A first step of causing the display unit to display a moving image including one subject image photographed by the endoscope device;
A second step of sequentially displaying a plurality of subject images used in measurement or a plurality of images based on one subject image used in measurement on the display unit as still images after the first step; ,
In the second step, a part of a plurality of subject images used for measurement or a part of a plurality of images based on one subject image used for measurement are displayed and all are displayed. A third step of returning to the first step when a first instruction of the user is input before
In the second step , after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed, the user's second instruction is input When the measurement point is specified, the measurement point is designated based on the measurement point instruction of the user, and is designated based on the image based on all of the plurality of subject images or all of the plurality of images based on the one subject image. A measurement step for measuring the size of the subject at the measurement point;
A program for running
コンピュータに、
内視鏡装置で撮影された1つの被写体像を含む動画像を表示部に表示させる第1のステップと、
前記第1のステップの後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に表示させる第2のステップと、
前記第2のステップで、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第1の指示が入力された場合、前記第1のステップに戻す第3のステップと、
前記第2のステップで、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示があった場合に、ユーザの計測点指示に基づいて計測点を指定し、前記複数の被写体像の全てに基づく画像、または前記1つの被写体像に基づく複数の画像の全てに基づいて、指定された計測点における被写体の大きさを計測する計測ステップと、
を実行させるためのプログラム。
On the computer,
A first step of causing the display unit to display a moving image including one subject image photographed by the endoscope device;
After the first step, a second step of displaying a plurality of subject images to be used in the measurement, or a plurality of images based on one of the object image to be used in the measurement, on the display unit as a static image,
In the second step, after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed , the first instruction of the user is input If so, a third step returning to the first step;
In the second step , after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed, the user's second instruction is given. The measurement point is designated based on the measurement point instruction of the user, and the designated measurement is performed based on the image based on all of the plurality of subject images or the plurality of images based on the one subject image. A measurement step for measuring the size of the subject at the point;
A program for running
コンピュータに、
内視鏡装置で撮影された1つの被写体像を含む動画像を表示部に表示させる第1のステップと、
前記第1のステップの後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に順次表示させる第2のステップと、
前記第2のステップで、計測で使用される複数の被写体像の一部、または計測で使用される1つの被写体像に基づく複数の画像の一部が表示された後で、かつ全てが表示される前に、ユーザの第1の指示が入力された場合、前記第1のステップに戻す第3のステップと、
前記第2のステップで、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示が入力された場合、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てを記録する画像記録ステップと、
を実行させるためのプログラム。
On the computer,
A first step of causing the display unit to display a moving image including one subject image photographed by the endoscope device;
A second step of sequentially displaying a plurality of subject images used in measurement or a plurality of images based on one subject image used in measurement on the display unit as still images after the first step; ,
In the second step, a part of a plurality of subject images used for measurement or a part of a plurality of images based on one subject image used for measurement are displayed and all are displayed. A third step of returning to the first step when a first instruction of the user is input before
In the second step , after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed, the user's second instruction is input If so, an image recording step of recording all of the plurality of subject images used in the measurement or all of the plurality of images based on one subject image used in the measurement;
A program for running
コンピュータに、
内視鏡装置で撮影された1つの被写体像を含む動画像を表示部に表示させる第1のステップと、
前記第1のステップの後、計測で使用される複数の被写体像、または計測で使用される1つの被写体像に基づく複数の画像を、静止画像として前記表示部に表示させる第2のステップと、
前記第2のステップで、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第1の指示が入力された場合、前記第1のステップに戻す第3のステップと、
前記第2のステップで、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てが表示された後に、ユーザの第2の指示が入力された場合、計測で使用される複数の被写体像の全て、または計測で使用される1つの被写体像に基づく複数の画像の全てを記録する画像記録ステップと、
を実行させるためのプログラム。
On the computer,
A first step of causing the display unit to display a moving image including one subject image photographed by the endoscope device;
After the first step, a second step of displaying a plurality of subject images to be used in the measurement, or a plurality of images based on one of the object image to be used in the measurement, on the display unit as a static image,
In the second step, after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed , the first instruction of the user is input If so, a third step returning to the first step;
In the second step , after all of the plurality of subject images used for measurement or all of the plurality of images based on one subject image used for measurement are displayed, the user's second instruction is input If so, an image recording step of recording all of the plurality of subject images used in the measurement or all of the plurality of images based on one subject image used in the measurement;
A program for running
JP2016185834A 2016-09-23 2016-09-23 Endoscope apparatus and program Expired - Fee Related JP6373322B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016185834A JP6373322B2 (en) 2016-09-23 2016-09-23 Endoscope apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016185834A JP6373322B2 (en) 2016-09-23 2016-09-23 Endoscope apparatus and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012145583A Division JP6017198B2 (en) 2012-06-28 2012-06-28 Endoscope apparatus and program

Publications (2)

Publication Number Publication Date
JP2017040932A JP2017040932A (en) 2017-02-23
JP6373322B2 true JP6373322B2 (en) 2018-08-15

Family

ID=58203492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016185834A Expired - Fee Related JP6373322B2 (en) 2016-09-23 2016-09-23 Endoscope apparatus and program

Country Status (1)

Country Link
JP (1) JP6373322B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12495214B2 (en) 2023-03-15 2025-12-09 General Electric Company Pulse illumination imaging of a target element
US12586226B2 (en) 2021-07-13 2026-03-24 General Electric Company Method for inspecting an object
US12593131B2 (en) 2023-09-05 2026-03-31 General Electric Company Velocity matching imaging of a target element
US12596076B2 (en) 2022-11-11 2026-04-07 General Electric Company Inspection systems and methods employing different wavelength directional light for enhanced imaging
US12602808B2 (en) 2021-07-13 2026-04-14 General Electric Company Method for inspecting an object
US12610116B2 (en) 2022-11-11 2026-04-21 General Electric Company Inspection systems and methods employing directional light for enhanced imaging

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06327625A (en) * 1993-05-21 1994-11-29 Olympus Optical Co Ltd Electronic endoscope equipment
JPH06339454A (en) * 1993-06-01 1994-12-13 Olympus Optical Co Ltd Measuring endoscope device
JPH08123899A (en) * 1994-10-21 1996-05-17 Oki Electric Ind Co Ltd Image obtaining/processing device
JP2006180934A (en) * 2004-12-24 2006-07-13 Olympus Corp Endoscope apparatus
JP2007215646A (en) * 2006-02-15 2007-08-30 Pentax Corp Endoscope processor, still image selection program, and endoscope system
EP2557447B1 (en) * 2007-10-30 2019-06-19 Olympus Corporation Endoscope device
JP5242335B2 (en) * 2008-10-23 2013-07-24 オリンパス株式会社 Image processing apparatus, endoscope apparatus, endoscope system, and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12586226B2 (en) 2021-07-13 2026-03-24 General Electric Company Method for inspecting an object
US12602808B2 (en) 2021-07-13 2026-04-14 General Electric Company Method for inspecting an object
US12596076B2 (en) 2022-11-11 2026-04-07 General Electric Company Inspection systems and methods employing different wavelength directional light for enhanced imaging
US12610116B2 (en) 2022-11-11 2026-04-21 General Electric Company Inspection systems and methods employing directional light for enhanced imaging
US12495214B2 (en) 2023-03-15 2025-12-09 General Electric Company Pulse illumination imaging of a target element
US12593131B2 (en) 2023-09-05 2026-03-31 General Electric Company Velocity matching imaging of a target element

Also Published As

Publication number Publication date
JP2017040932A (en) 2017-02-23

Similar Documents

Publication Publication Date Title
JP6017198B2 (en) Endoscope apparatus and program
JP6373322B2 (en) Endoscope apparatus and program
US8004560B2 (en) Endoscope apparatus
JP5199594B2 (en) Image measuring apparatus and method
EP2888991B1 (en) Endoscope system
US6890296B2 (en) Measuring endoscope apparatus
US20180098690A1 (en) Endoscope apparatus and method for operating endoscope apparatus
JP5274724B2 (en) Medical device, method of operating medical processor and medical processor
JP5307407B2 (en) Endoscope apparatus and program
JP5993515B2 (en) Endoscope system
CN106659362A (en) Image processing device, image processing method, image processing program, and endoscope system
US11426052B2 (en) Endoscopic system
US10729309B2 (en) Endoscope system
WO2019087790A1 (en) Inspection assistance device, endoscope device, inspection assistance method, and inspection assistance program
WO2015049962A1 (en) Endoscope system
JP2014207645A (en) Image processing unit, image processing method and program
JP7026447B2 (en) Endoscope device, endoscope system and display control method for endoscope images
US20200053296A1 (en) Measurement device, method of operating measurement device, and recording medium
JP2017038285A (en) Medical observation apparatus, control apparatus, operation method of control apparatus, and operation program of control apparatus
JP7441897B2 (en) Control device, endoscope system and method of operating the control device
JP4885479B2 (en) Endoscope device for measurement and program for endoscope
JP5153381B2 (en) Endoscope device
JP5113990B2 (en) Endoscope device for measurement
JP2016095458A (en) Endoscope device
WO2021176442A1 (en) A multi focal endoscope

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170825

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171003

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20171201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180131

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20180314

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180703

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180717

R151 Written notification of patent or utility model registration

Ref document number: 6373322

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees