JPH02244021A - Endoscope device for measurement - Google Patents

Endoscope device for measurement

Info

Publication number
JPH02244021A
JPH02244021A JP1038811A JP3881189A JPH02244021A JP H02244021 A JPH02244021 A JP H02244021A JP 1038811 A JP1038811 A JP 1038811A JP 3881189 A JP3881189 A JP 3881189A JP H02244021 A JPH02244021 A JP H02244021A
Authority
JP
Japan
Prior art keywords
point
cursor
image
screen
specified
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.)
Granted
Application number
JP1038811A
Other languages
Japanese (ja)
Other versions
JP2778725B2 (en
Inventor
Kazuo Sonobe
園部 和夫
Tetsuo Nonami
徹緒 野波
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 Optical Co Ltd
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 Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP1038811A priority Critical patent/JP2778725B2/en
Priority to US07/376,460 priority patent/US4935810A/en
Priority to DE3922652A priority patent/DE3922652A1/en
Publication of JPH02244021A publication Critical patent/JPH02244021A/en
Application granted granted Critical
Publication of JP2778725B2 publication Critical patent/JP2778725B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To exactly assign the positions on respective screens of an object point even if there are no distinct characteristic points by computing the position conditions at the object point on the other image by a guide line display means when the object point is assigned on one image. CONSTITUTION:The information on a cursor position is supplied from a cursor information instructing means 6 as a measuring object point assigning means to a cursor control means 7 as a computing means and a guide line display means. In which way the straight line in the space passing an image pickup means picking up the image of the measuring object point assigned on one screen and the measuring object point is ought to be visible to the other image pickup means is computed, when the measuring object point on one screen is assigned. This straight line is displayed as a guide line on the other screen. Further, the assignment of the points exclusive of the points on this guide line as the object point is not possible and, therefore, the exact position assignment of the object point is possible. The position assignment on the respective screens of the object point is executed in this way even if the object desired to be measured has no distinct characteristic points.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、被検体を視差を有する複数の画像で表示可能
な計測用内視鏡装置に関し、特に、1つの画面上に対象
点を指定したときに他の画面上にその対象点に対応する
案内線を表示できるようにした計測用内視鏡装置に関す
る。
Detailed Description of the Invention [Industrial Field of Application] The present invention relates to a measurement endoscope device that can display a subject in multiple images with parallax, and in particular, a measurement endoscope device that can display a target point on a single screen. The present invention relates to a measurement endoscope device that can display a guide line corresponding to a target point on another screen when the target point is detected.

[従来の技術] 近年、医療用分野及び工業用分野において、内視鏡が広
く用いられるようになった。
[Prior Art] In recent years, endoscopes have come to be widely used in the medical and industrial fields.

例えば、通常の内視鏡による観察像では、一般に被検部
位は平面的なものとなり、凹凸等を認識しにくい。この
ため、例えば本出願人は、特願昭62−18188号明
111l書において、内視鏡の先端部に2系統の対物レ
ンズを設けて、この2系統の対物レンズにより得た2つ
の画像をイメージガイドを通じて接眼部に導いて双眼に
より立体的視野を得るようにした装置を提案していた。
For example, in images observed using a normal endoscope, the region to be examined is generally flat, making it difficult to recognize irregularities. For this reason, for example, in Japanese Patent Application No. 62-18188 Mei 111l, the present applicant provided two systems of objective lenses at the distal end of an endoscope, and two images obtained by these two systems of objective lenses were They proposed a device that was guided to the eyepieces through an image guide to obtain a stereoscopic field of view with binoculars.

しかしながら、この装置では、双眼内視鏡により立体的
視野を得ることはできるが、視野内の像までの距離を得
ることはできないという不具合があった。
However, this device has a problem in that although it is possible to obtain a stereoscopic field of view using a binocular endoscope, it is not possible to obtain the distance to an image within the field of view.

この不具合を解消するだめの技術が、特願昭62−30
5384号明細書において本出願人により提案されてい
る。この技術では、第40図(a)に示すように、空間
上における対象点を指定するために、視差をもつ複数の
画像上で各々の画像における対象点の位置をポインティ
ングデバイス等により与えて、それに従いその画像をね
会した撮像手段と対象点とを通る空間における直線を定
めている。視差を持つ位置に配置された複数のm像手段
による各々の画像について対象点の位置を与えると、そ
れに従って空間上に複数の′ti線が定まる。−船釣に
は、空間における直線群は、必ずしも交点を持つとは言
えないが、これら複数の直線は全て対象点を通るはずで
あるので、位置指定が十分に正確であればこれらの直線
の交点として対象点の空間における撮像手段に対する位
置を算出することができる。
The technology to eliminate this problem was proposed in a patent application published in 1986-30.
It was proposed by the present applicant in specification No. 5384. In this technique, as shown in FIG. 40(a), in order to specify a target point in space, the position of the target point in each image is given on a plurality of images with parallax using a pointing device, etc. Accordingly, a straight line in space passing through the imaging means that captured the image and the target point is determined. When the position of the target point is given for each image by a plurality of m image means arranged at positions with parallax, a plurality of 'ti lines are determined in space according to the position of the target point. -For boat fishing, it cannot be said that a group of straight lines in space necessarily have an intersection point, but all of these multiple straight lines should pass through the target point, so if the position specification is sufficiently accurate, these straight lines can be The position of the target point relative to the imaging means in space can be calculated as the intersection point.

[発明が解決しようとする課題] しかしながら、内視鏡画像においては、測定したい対象
が必ずしも明瞭な特徴点を伴うとは限らず、明瞭な特徴
点がない場合には対象点の各画面上における位置指定が
不正確になりやすいという問題点があった。そのために
、第40図(b)に示すように、対象点を通るはずの空
間上の直線が交点を持たなくなり、測距できなくなるこ
とがあった。
[Problems to be Solved by the Invention] However, in endoscopic images, the target to be measured does not necessarily have clear feature points, and if there are no clear feature points, There was a problem in that the position specification was likely to be inaccurate. For this reason, as shown in FIG. 40(b), straight lines in space that are supposed to pass through the target point no longer have any intersections, and distance measurement may not be possible.

[発明の目的] 本発明は、上記事情に鑑みてなされたものであり、測定
したい対象が明瞭な特徴点を持たない場合にも対象点の
各画面上における位置の指定を正確に行うことを可能に
する計測用内視鏡装置を提供することを目的とする。
[Object of the Invention] The present invention has been made in view of the above circumstances, and it is an object of the present invention to accurately specify the position of a target point on each screen even when the target to be measured does not have clear feature points. The purpose of the present invention is to provide a measuring endoscope device that makes it possible to perform measurements.

[!!題を解決するための手段] 本発明の計測用内視鏡装置は、挿入部の先端部における
視差を有する複数の位置からの複数の画像をl1lli
するam手段と、前記撮像手段により得た複数の画像を
複数の画面上に表示する表示手段と、前記表示手段によ
り表示される複数の画像のうちの一つの画像上にて対象
点を指定する対象点指定手段と、前記対象点指定手段に
より指定された対象点の前記−つの画像上における位置
から、他の画像上における前記対象点の位置条件を演算
し、その演算された位置条件に基づいて、前記他の画像
上に、前記対象点に対応する案内線を表示する案内線表
示手段とを備えたものである。
[! ! Means for Solving the Problem] The measurement endoscope device of the present invention captures a plurality of images from a plurality of positions having parallax at the distal end of the insertion section.
am means for displaying a plurality of images obtained by the imaging means on a plurality of screens; and a display means for specifying a target point on one of the plurality of images displayed by the display means. a target point specifying means, and calculating a position condition of the target point on the other image from the position of the target point specified by the target point specifying means on the two images, and based on the calculated position condition. and guide line display means for displaying a guide line corresponding to the target point on the other image.

[作用] 本発明では、一つの画像上で対象点を指定すると、案内
線表示手段により、他の画像上における前記対象点の位
置条件が演篩され、この位置条件に基づいて、他の画像
上に前記対象点に対応する案内線が表示される。
[Operation] In the present invention, when a target point is specified on one image, the positional condition of the target point on another image is calculated by the guide line display means, and based on this positional condition, the positional condition of the target point on another image is calculated. A guide line corresponding to the target point is displayed above.

[実施例] 以下、添附図面を参照しながら本発明の実施例について
述べる。
[Embodiments] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.

第1図ないし第5図は本発明の第1実施例に係り、第1
図は本発明の計測用内視鏡装置の構成を示すブロック図
、第2図は立体内視鏡画像取込み装置の先端部の説明図
、第3図はカーソル情報指定手段の操作パネルを示す図
、第4図は動作画面の例を示す図、第5図は案内線の位
置と対象点の位置の算出方法の説明図である。
FIGS. 1 to 5 relate to the first embodiment of the present invention.
The figure is a block diagram showing the configuration of the measurement endoscope device of the present invention, FIG. 2 is an explanatory diagram of the tip of the stereoscopic endoscope image capture device, and FIG. 3 is a diagram showing the operation panel of the cursor information specifying means. , FIG. 4 is a diagram showing an example of an operation screen, and FIG. 5 is an explanatory diagram of a method of calculating the position of the guide line and the position of the target point.

第1図に示すように、本実施例の計測用内視鏡装置は、
立体内視鏡画像取込み装置1を備えている。この立体内
視鏡画像取込み装置1は、細長の挿入部1aを有し、こ
の挿入部1aの先端部には、第2図に示すように、結像
光学系21.22が設けられており、この結像光学系2
1.22の結像位置には、撮像手段としてのCOD等の
固体撮像素子23.24がそれぞれ設けられている。そ
して、図示しない照明手段から出射される照明光のうち
被写体から反射された光が、前記結像光学系21.22
により結像され、前記固体撮像素子23.24により光
電変換されて、それぞれ左(L)、右(R)の電気的な
画像信号として出力されるようになっている。これら左
右の画像信号は、A/D変換器2L、2Rによりそれぞ
れディジタル変換された後に、画像メモリ51.5Hに
記憶されるようになっている。
As shown in FIG. 1, the measurement endoscope device of this example is as follows:
A stereoscopic endoscope image capture device 1 is provided. This stereoscopic endoscopic image capturing device 1 has an elongated insertion section 1a, and an imaging optical system 21, 22 is provided at the distal end of the insertion section 1a, as shown in FIG. , this imaging optical system 2
Solid-state imaging devices 23 and 24, such as COD, serving as imaging means are provided at imaging positions 1 and 22, respectively. Of the illumination light emitted from the illumination means (not shown), the light reflected from the subject is transmitted to the imaging optical system 21.22.
The images are formed by the solid-state image sensors 23 and 24, and are photoelectrically converted and output as left (L) and right (R) electrical image signals, respectively. These left and right image signals are stored in the image memory 51.5H after being digitally converted by A/D converters 2L and 2R, respectively.

又、前記立体内視鏡画像取込み装置1から、書き込みタ
イミング制御手段3L、3Rに対して同期信号が供給さ
れるようになっている。書き込みタイミング制御手段3
L、3Rでは、この同期信号に基づいて書き込み制御手
段4L、4Rに対して書き込みタイミング制御信号を供
給するようになっている。そして、この書き込み制御手
段4L。
Further, a synchronization signal is supplied from the stereoscopic endoscope image capturing device 1 to the write timing control means 3L and 3R. Write timing control means 3
In L and 3R, a write timing control signal is supplied to write control means 4L and 4R based on this synchronization signal. And this write control means 4L.

4Rからの制御信号により前記A/D変換器2L。The A/D converter 2L is controlled by a control signal from 4R.

2Rから前記メモリ5L、5Rへの画像信号の書き込み
が制御されるようになっている。
Writing of image signals from 2R to the memories 5L and 5R is controlled.

本実施例の計測用内視鏡装置には、画像中のカーソルの
位置に関する情報を指示するための計測対象点指定手段
としてのカーソル情報指示手段6も設けられており、こ
のカーソル情報指示手段6から演算手段及び案内線表示
手段としてのカーソル制御手段7に対して、カーソル位
置情報が供給されるようになっている。このカーソル制
御手段7は、計ね機能を有するCPUにより構成されて
おり、前記カーソル位置情報から画面上のカーソルの表
示位置を計算した上、カーソルを構成する画面上の点の
表示すべき位置をアドレス指定手段81.8Hに、書き
込むべき色をデータ保持手段9L、9Rにそれぞれ格納
するようになっており、更に、カーソルが案内線上にあ
るか否かを判定するようになっている。又、上記アドレ
ス指定手段8と上記データ保持手段9L、9Rの出力は
、グラフィックメモリ11L、11Rに記憶されるよう
になっている。このグラフィックメモリ11し211R
は、それぞれ左と右の画面上のカーソル像を保持してい
るメモリであって、カーソルの色の種類が例えば7種類
であるならば1画素当たり3ビツトの記憶容量を有して
いる。このグラフィックメモリ11L、11Rが保持し
ているカーソルの像は、読み出し制御手段13L、13
Rからの同期信号の垂直帰線期間又は水平帰線期間中に
上記アドレス指定手段8L、8Rから読み出した画面上
の座標位置に上記データ保持手段9L、9Rから読み出
した色のデータを書き込むことによって更新されるよう
になっている。
The measurement endoscope device of this embodiment is also provided with a cursor information indicating means 6 as a measurement target point specifying means for indicating information regarding the position of the cursor in an image, and this cursor information indicating means 6 From there, cursor position information is supplied to cursor control means 7, which serves as calculation means and guide line display means. This cursor control means 7 is constituted by a CPU having a counting function, and calculates the display position of the cursor on the screen from the cursor position information, and then calculates the display position of the point on the screen constituting the cursor. The address specifying means 81.8H stores the colors to be written in the data holding means 9L and 9R, respectively, and further determines whether or not the cursor is on the guide line. Further, the outputs of the addressing means 8 and the data holding means 9L, 9R are stored in the graphic memories 11L, 11R. This graphic memory 11 and 211R
are memories that hold cursor images on the left and right screens, respectively, and have a storage capacity of 3 bits per pixel if there are, for example, seven types of cursor colors. The cursor images held by the graphic memories 11L and 11R are read out by the readout control means 13L and 13.
By writing the color data read out from the data holding means 9L, 9R at the coordinate positions on the screen read out from the addressing means 8L, 8R during the vertical retrace period or horizontal retrace period of the synchronization signal from R. It is set to be updated.

前記読み出し制御手段13L、13Rには、読み出し同
期信号発生手段12からの読み出し用の同期信号が印加
されるようになっている。この読み出し制御手段13で
は、この同期信号に基づき、上記画像メモリ5L、5R
と上記グラフィックメモリ11L、11Rとに対して、
各々のメモリから同じ画面位置に対応するデータを同期
して読み出すための同期信号を供給するようになってい
る。
A read synchronization signal from the read synchronization signal generation means 12 is applied to the read control means 13L and 13R. This readout control means 13 uses the image memories 5L and 5R based on this synchronization signal.
and the graphic memories 11L and 11R,
A synchronization signal is supplied to read data corresponding to the same screen position from each memory in synchronization.

そして、上記画像メモリ5L、5Rと上記グラフィック
メモリ11L、IIRとから読み出された各データは、
論理和演算器14L、14Rに入力されるようになって
いる。
Each data read from the image memories 5L, 5R and the graphic memories 11L, IIR is
It is designed to be input to logical sum operators 14L and 14R.

この論理和演算器14m、14Rでは、前記画像メモリ
5L、5Rから出力されたデータと上記グラフィックメ
モリ11L、11Rから出力されたデータとの論理和を
算出し、その結果をD/A変換器15L、15Rに出力
するようになっている。そして、このD/A変換器15
1.15Rによりディジタル型式の画像信号がアナログ
型式のビデオ信号に変換されて、表示手段としての画像
表示袋fi?16L、16Rに画像が表示されるように
なっている。
The logical sum operators 14m and 14R calculate the logical sum of the data output from the image memories 5L and 5R and the data output from the graphic memories 11L and 11R, and send the result to the D/A converter 15L. , 15R. And this D/A converter 15
1.15R converts a digital image signal into an analog video signal, and displays the image display bag as a display means. Images are displayed on 16L and 16R.

本実施例の計測用内視鏡装置には、更に、前記カーソル
情報指定手段6により記憶が指示されたときの立体像中
におけるカーソル位置を複数個記憶するカーソル位置記
憶手段17と、このカーソル位置記憶手段17に記憶さ
れたカーソル位置を前記カーソル情報指定手段6からの
距離演算の指示により読み出して各カーソル位置間の距
離を演算してその結果を図示しない表示装置に出力する
距離算出手段としての距離演算手段18も設【プられて
いる。
The measurement endoscope device of this embodiment further includes cursor position storage means 17 for storing a plurality of cursor positions in a stereoscopic image when storage is instructed by the cursor information specifying means 6, and the cursor position A distance calculation means for reading the cursor position stored in the storage means 17 according to a distance calculation instruction from the cursor information designation means 6, calculating the distance between each cursor position, and outputting the result to a display device (not shown). A distance calculation means 18 is also provided.

次に、上記のように構成された本実施例の計測用内視鏡
装置の実際の動作について説明する。
Next, the actual operation of the measurement endoscope apparatus of this embodiment configured as described above will be explained.

立体内視鏡画像取り込み装置1からの左右の画像信号は
、A/D変換器2L、2Rによりそれぞれディジタル変
換された後に、画像メモリ5L。
The left and right image signals from the stereoscopic endoscope image capture device 1 are digitally converted by A/D converters 2L and 2R, respectively, and then transferred to an image memory 5L.

5Rに記憶される。この画像メモリ5L、5Rに記憶さ
れた画像信号は、通常はリアルタイムで読み出され、論
理和演算器14L、14Rにより論理和を演算され、D
/A変換器15L、15Rによりアナログ型式の信号に
変換された後に表示装置16に画像が表示される。
Stored in 5R. The image signals stored in the image memories 5L and 5R are usually read out in real time, and the logical sum is calculated by the logical sum operators 14L and 14R.
The image is displayed on the display device 16 after being converted into an analog type signal by the /A converters 15L and 15R.

操作者が計測しようとする対象を視野内に収めた場合は
、生体内部の運動による位置指定のずれを防ぐために、
まず、図示しない操作手段により前記画像メモリ5し、
5Rに記憶される像を静止させる。次に、第3図に示す
ように構成された操作パネルを有するカーソル情報指示
手段6により、左画像中のカーソルを測長しようとする
対象点の位置に移動させる。このときの表示装置150
画面の状態は、第4図(A)に示すようなものとなる。
When the operator has the object to be measured within the field of view, in order to prevent the position specification from shifting due to internal movement of the living body,
First, the image memory 5 is operated by an operation means (not shown),
Make the image stored in 5R still. Next, the cursor information indicating means 6 having an operation panel configured as shown in FIG. 3 moves the cursor in the left image to the position of the target point whose length is to be measured. Display device 150 at this time
The state of the screen is as shown in FIG. 4(A).

カーソルの位置は、上記カーソル情報指示手段6に設け
られたカーソル移動スイッチを操作することにより移動
させることができる。次に、上記カーソル情報指示手段
6内に設けられた選択スイッチを押すことにより、指定
した対象点の位置を記憶させる。このように選択された
対象点は、その位置を明確にするために、第4図(8)
に示すように選択位置が画面上に表示される。そして、
カーソル制御手段7が、指定された対象の位置から、後
述する方法で案内線の位置を指定し、右の画像中に表示
する。このときの表示装置16の画像中の画面の状態を
、第4図(C)に示す。次に、操作者は、同様の動作に
より右画像中の対象点の位置を選択するが、このときは
、案内線上の点しか指定することができない。
The position of the cursor can be moved by operating a cursor movement switch provided on the cursor information indicating means 6. Next, by pressing a selection switch provided in the cursor information indicating means 6, the position of the specified target point is memorized. The target points selected in this way are shown in Fig. 4 (8) in order to clarify their positions.
The selected position is displayed on the screen as shown in . and,
The cursor control means 7 specifies the position of the guide line from the specified target position by a method described later, and displays it in the image on the right. The state of the screen in the image of the display device 16 at this time is shown in FIG. 4(C). Next, the operator selects the position of the target point in the right image by a similar operation, but at this time, only points on the guide line can be specified.

前記カーソル制御手段7は、選択された点の位置がすで
に算出した案内線の位置の上にあるか否かを調べ、もし
選択された点の位置が案内線の位置の上にない場合には
、図示しない警告装置により茜告音を発した上、その選
択を無効にする。又、案内線の上にある点が選択された
ときには、空間における対象点の位置が確定するので、
後述する方法によってこの位置を算出した主記憶する。
The cursor control means 7 checks whether the position of the selected point is above the already calculated position of the guide line, and if the position of the selected point is not above the position of the guide line. , a warning device (not shown) emits an alarming sound, and then invalidates the selection. Also, when a point on the guide line is selected, the position of the target point in space is determined, so
This position is calculated and stored in the main memory using a method described later.

このときの表示装置16の画面上の状態が第4図(C)
に示されている。このような操作を繰り返すことにより
測長したい点の位置を記憶させた後に、測長スイッチを
押すことにより図示しない表示装置上に指定した各点間
の距離が表示される。
The state on the screen of the display device 16 at this time is shown in FIG. 4(C).
is shown. After repeating such operations to memorize the positions of the points to be measured, the distance between the specified points is displayed on a display device (not shown) by pressing the length measurement switch.

このときの2点の座標を(X+、Vt、Zt )、(X
2 、 V2 、 Z2 )とすると、2点間の距11
1dは次の式で与えられる。
The coordinates of the two points at this time are (X+, Vt, Zt), (X
2 , V2 , Z2 ), then the distance between the two points is 11
1d is given by the following formula.

d=[(XI −X2 >2+(yt−V2)2十(Z
t  −Z2  )2 1172 また、挿入部の先端からある点までの距離も、同様にし
て求めることができる。
d=[(XI −X2 >2+(yt−V2)20(Z
t - Z2 )2 1172 Furthermore, the distance from the tip of the insertion section to a certain point can also be found in the same way.

次に、案内線の位置と対象点の位置の算出方法について
、第5図を参照しながら説明する。
Next, a method for calculating the position of the guide line and the position of the target point will be explained with reference to FIG.

画像中の一点を指定する操作は、対物光学系の結像面を
指定する操作と同様のものである。ここでは、説明のた
めに、空間上の座標の中心を左右両撮像手段の中間の点
とし、X軸の方向を左右両撮像手段の中心を一通る方向
とし、Z軸の方向を内視鏡装置の先端面から垂直の方向
とし、Y軸の方向をX軸、Y軸のいずれとも直交する方
向とする。
The operation of specifying a point in the image is similar to the operation of specifying the imaging plane of the objective optical system. Here, for the sake of explanation, the center of the spatial coordinates is taken as a point midway between the left and right imaging means, the direction of the X axis is taken as a direction passing through the center of both the left and right imaging means, and the direction of the Z axis is taken as a point between the left and right imaging means. The direction is perpendicular to the distal end surface of the device, and the direction of the Y-axis is perpendicular to both the X-axis and the Y-axis.

また、視差は、dとする。そして、左ms手段の中心を
しC(−d/2.O,O)とし、右撮像手段の中心をR
e (d/2.0.0>とし、対象点の位置をA <X
a 、 Va 、 Za )とし、焦点距離をfとし、
指定された左画像中の対象の位置をLP(xl yi 
f)とすると、LPとAとを通る直線は、tを媒介係数
とすると次のように表わされる。
Furthermore, the parallax is assumed to be d. Then, the center of the left ms means is C(-d/2.O,O), and the center of the right imaging means is R.
e (d/2.0.0>), and the position of the target point is A <X
a, Va, Za), the focal length is f,
The position of the target in the specified left image is set as LP(xl yi
f), a straight line passing through LP and A is expressed as follows, where t is a mediation coefficient.

(x、y、z)− (−d/2−Xj! 、 −Vl 、 f ) t+(
−d/2.0.0)        (t>0)次に、
この直線上の点とRCとを通るv:直線の右IIi面と
の交点を求める。この交点RPの座標を(Xr、’/r
、−f)とすると、次のような関係式が成り立つ。
(x, y, z) − (−d/2−Xj!, −Vl, f) t+(
-d/2.0.0) (t>0) Then,
Find the point of intersection between a point on this straight line and the right plane IIi of the v: straight line passing through RC. The coordinates of this intersection RP are (Xr,'/r
, -f), the following relational expression holds true.

(Xr、Vr、−f)寓 (x1+d+d/l、yl −f)   (t>O)こ
れにより、案内線は画面左端から(XI! +d。
(Xr, Vr, -f) (x1+d+d/l, yl -f) (t>O) As a result, the guide line moves from the left edge of the screen to (XI! +d.

’/1.−f)に対応する点までの間となる。'/1. -f).

案内線上の一点が指定されると、対象点の位置は、t、
sを媒介変数とすると、次の2つの式により表わされる
直線の交点である。
When a point on the guide line is specified, the position of the target point is t,
If s is a parameter, it is the intersection of straight lines expressed by the following two equations.

(xa、ya、za)賞 (−d/2−xl、−yl、f)t+ (−d/2.O,O)        (t>0)(X
a 、 ya 、 Za ) − (d/2−Xr、  Vr、f)S+ (d/2.O,O)           (s>0)
よって、上式を解くことにより、 (xa 、 ya 、 za )= (−d/2−Xj!、−112,f)t+(−d/2,
0.0) [t−d/ (X r−Xj!−d ) :1が与えら
れる。
(xa, ya, za) Award (-d/2-xl, -yl, f) t+ (-d/2.O, O) (t>0) (X
a, ya, Za) - (d/2-Xr, Vr, f)S+ (d/2.O,O) (s>0)
Therefore, by solving the above equation, (xa, ya, za) = (-d/2-Xj!, -112, f)t+(-d/2,
0.0) [t-d/ (Xr-Xj!-d): 1 is given.

上記のような演算を行うことにより、案内線の位置と対
象点の位置が算出される。
By performing the above calculations, the position of the guide line and the position of the target point are calculated.

以上述べたように本実施例によれば、1つの画面上で計
測対象点が指定されると、その画像を搬像した撮像手段
とこの計測対象点とを通る空間における直線が他の搬像
手段にどのように見えるべきであるかが演算されて、他
の画面上に案内線として表示され、更にこの案内線上の
点以外の点を対象点として指定することが不可能とされ
るため、正確に対象点の位置指定を行うことができ、そ
れにより正確な測距及び測長を行うことができる。
As described above, according to this embodiment, when a point to be measured is designated on one screen, a straight line in space passing through the imaging means that carried the image and this point to be measured is used to convey another image. What it should look like on the device is calculated and displayed as a guide line on another screen, and furthermore, it is impossible to specify points other than points on this guide line as target points. The position of the target point can be specified accurately, thereby allowing accurate distance measurement and length measurement.

尚、本実施例では表示装置を左右の画像について各々1
つずつ設けたが、表示装置を1つとじてその1つの表示
装置に左右の両画像を表示するようにすることもできる
In this embodiment, the display device is set to 1 for each of the left and right images.
Although two display devices are provided, it is also possible to combine the display devices into one and display both left and right images on that one display device.

第6図ないし第25図は本発明の第2実施例に係り、第
6図は本実施例の概略の構成を示すブロック図、第7図
は内視鏡の挿入部先端部の説明図、第8図は計測用内視
鏡装置の構成を示づブロック図、第9図はホストコンピ
ュータの構成を示すブロック図、第10図は案内線の求
め方を示づ原理説明図、第11図は3次元座標の求め方
を示す原理説明図、第12図は指標円の求め方を示づ原
理説明図、第13図は画面上の位置と撮像索子上の位置
との変換を説明するための説明図、第14図は左画面に
表示された案内線を示す説明図、第15図は右画面に表
示された指標円を示づ説明図、第16図ないし第25図
は本実施例の動作を説明するためのフローチャートであ
る。
6 to 25 relate to a second embodiment of the present invention, FIG. 6 is a block diagram showing the general configuration of this embodiment, FIG. 7 is an explanatory diagram of the distal end of the insertion section of the endoscope, Fig. 8 is a block diagram showing the configuration of the measurement endoscope device, Fig. 9 is a block diagram showing the configuration of the host computer, Fig. 10 is a principle explanatory diagram showing how to obtain the guide line, and Fig. 11 is an explanatory diagram of the principle showing how to obtain three-dimensional coordinates, Fig. 12 is an explanatory diagram of the principle showing how to obtain the index circle, and Fig. 13 is an explanation of the conversion between the position on the screen and the position on the imaging probe. Fig. 14 is an explanatory drawing showing the guide line displayed on the left screen, Fig. 15 is an explanatory drawing showing the index circle displayed on the right screen, and Figs. 16 to 25 are explanatory drawings showing the guide line displayed on the left screen. 12 is a flowchart for explaining an example operation.

本実施例の計測用内?!鏡装置は、第8図に示すように
、ステレオ式ビデオイメージエンドスコープ(以下、内
視鏡と記づ゛。)101と、この内視鏡101によって
搬像される右画像及び左画像の各画像信号を信号処理す
る右画像用ビデオプロセッサ110R及び左画像用ビデ
オプロセッサ110Lと、fti記各ビデオプロセッサ
110R,110Lから出力される例えばRGB信号に
よる各画像信号を記憶する右画像用フレームス[す11
2R及び左画像用フレームメモリ112Lと、前記各フ
レームメモリ112R,112Lから出力される例えば
RGB信号による画像信号を入力して、右画像、左画像
を表示する右画像用モニタ130R及び左画像用モニタ
130しと、前記各フレームメモリ112R,112L
に記憶された画像を用いて、立体計測演算を行うホスト
コンピュータ120と、前記ホストコンピュータ120
に接続された外部記憶装置(以下、外部記憶と記す。)
140と、前記ポストコンビコータ120に接続され、
前記モニタ130R,130Lに表示されるカーソルの
操作や計測対象点の指定等を行うマウス145とを備え
ている。
For measurement in this example? ! As shown in FIG. 8, the mirror device includes a stereo video image endoscope (hereinafter referred to as an endoscope) 101 and a right image and a left image conveyed by this endoscope 101. A right image video processor 110R and a left image video processor 110L that process image signals, and a right image frame storage that stores each image signal, for example, an RGB signal output from each video processor 110R, 110L. 11
2R and left image frame memories 112L, and a right image monitor 130R and a left image monitor that receive image signals such as RGB signals output from the respective frame memories 112R and 112L and display right and left images. 130, and each of the frame memories 112R, 112L.
a host computer 120 that performs stereoscopic measurement calculations using images stored in the host computer 120;
External storage device connected to (hereinafter referred to as external storage)
140 and connected to the post combi coater 120,
A mouse 145 is provided for operating the cursor displayed on the monitors 130R and 130L, specifying a point to be measured, and the like.

前記両ビデオプロセッサ110R,110Lは、互いに
同期した信号処理を行うようになっている。
Both video processors 110R and 110L are designed to perform mutually synchronized signal processing.

また、本実施例では、前記各フレームメモリ112R,
112Lは、R,G、B用の各メモリを複数組備えてお
り、1組には画像が記憶され、他の組にはカーソルが書
き込まれ、各組に潟き込まれた信号を足し合わせること
により、モニタの画面上に画像とカーソルとを表示でき
るようになっている。また、前記外部記憶140は、フ
レームメモリ112R,112Lの画像を記憶でさると
共に、画像ファイルとして大量の画像を記憶できるよう
になっている。
Further, in this embodiment, each of the frame memories 112R,
112L is equipped with multiple sets of each memory for R, G, and B. Images are stored in one set, cursors are written in the other sets, and the signals written in each set are added up. This makes it possible to display an image and a cursor on the monitor screen. Further, the external storage 140 is capable of storing images in the frame memories 112R and 112L, and can also store a large amount of images as image files.

前記ホストコンピュータ120は、第9図に示すように
構成されている。
The host computer 120 is configured as shown in FIG.

すなわち、ホストコンピュータ120は、0PU121
.右フレームメモリインターフェース122R2左フレ
ームメモリインターフエース122し、メインメモリ1
23.外部記憶インターフェース124.マウスインタ
ーフェース125゜キーボード126及びCRT127
を備え、これらは、バスによって互いに接続されている
。また、前記右フレームメモリインターフェース122
R。
That is, the host computer 120
.. Right frame memory interface 122R2 Left frame memory interface 122, Main memory 1
23. External storage interface 124. Mouse interface 125° Keyboard 126 and CRT 127
are connected to each other by a bus. Additionally, the right frame memory interface 122
R.

左フレームメモリインターフェース122Lは、それぞ
れ、前記右画像用フレームメモリ112R及び左画像用
フレームメモリ112Lに接続され、これらとの間で画
像データの送受を行うと共に、各インターフェース12
2R,122Lを介して、前記フレームメモリ112R
,112mに対するカーソル制御を行うようになってい
る。また、前記外部記憶インターフェース124は、外
部記憶140に接続され、画像データの送受を行うよう
になっている。また、前記マウスインターフェース12
5は、マウス145に接続されるようになっている。
The left frame memory interface 122L is connected to the right image frame memory 112R and the left image frame memory 112L, respectively, and transmits and receives image data between them.
2R and 122L, the frame memory 112R
, 112m. Further, the external storage interface 124 is connected to an external storage 140 to send and receive image data. Further, the mouse interface 12
5 is connected to a mouse 145.

次に、本実施例の概略の構成を第6図及び第7図を参照
して説明する。
Next, the general structure of this embodiment will be explained with reference to FIGS. 6 and 7.

内視鏡101は、第7図に示すように、細長の挿入部1
02を備え、この挿入部102の先端部には、複数の、
例えば2つの観察窓と、照明窓とが設けられている。前
記各観察窓の内側には、互いに視差を有する位置に、右
眼用対物レンズ系103R9左眼用対物レンズ系103
Lが設けられている。各対物レンズ系103R,103
Lの結像位置には、それぞれ、固体撮像素子を用いた撮
像手段104R,104Lが配設されている。また、前
記照明窓の内側には、配光レンズ105が設けられ、こ
配光レンズ105の後端には、ファイババンドルよりな
るライトガイド106が連設されている。このライトガ
イド106は、前記挿入部102内に挿通され、入射端
部は図示しない光源装置に接続されるようになっている
。そして、この光源装置から出力される照明光が、前記
ライトガイド106及び配光レンズ105を介して被写
体に照射されるようになっている。この被写体からの光
は、前記対物レンズ系103R,103Lによって、そ
れぞれ右画像、左画像として、撮像手段104R,10
4Lに結像されるようになっている。
As shown in FIG. 7, the endoscope 101 has an elongated insertion section 1.
02, and the distal end of this insertion section 102 has a plurality of
For example, two observation windows and an illumination window are provided. Inside each of the observation windows, a right eye objective lens system 103R9 and a left eye objective lens system 103 are disposed at positions having parallax with each other.
L is provided. Each objective lens system 103R, 103
Imaging means 104R and 104L using solid-state imaging devices are arranged at the imaging positions L, respectively. A light distribution lens 105 is provided inside the illumination window, and a light guide 106 made of a fiber bundle is connected to the rear end of the light distribution lens 105. This light guide 106 is inserted into the insertion section 102, and its entrance end is connected to a light source device (not shown). Illumination light output from this light source device is irradiated onto the subject via the light guide 106 and the light distribution lens 105. The light from this object is captured by the objective lens systems 103R, 103L as a right image and a left image, respectively, by the imaging means 104R, 10.
The image is formed on 4L.

前記撮像手段104R,104mによって撮像された各
画像信号は、それぞれ、ビデオプロセッサ110R,1
10Lに入力され、映像信号処理が施されるようになっ
ている。前記各ビデオプロセッサ110R,110Lか
ら出力される各画像信号は、それぞれ、A/D変換器1
11R,111Lによりデジタル信号に変換された後、
画像メモリすなわち、各フレームメモリ112R,11
2Lのうちの画像用のメモリに記憶されるようになって
いる。
The image signals captured by the imaging means 104R, 104m are sent to video processors 110R, 1, respectively.
The signal is input to 10L and subjected to video signal processing. Each image signal output from each of the video processors 110R and 110L is sent to an A/D converter 1.
After being converted into digital signals by 11R and 111L,
Image memory, that is, each frame memory 112R, 11
It is designed to be stored in the image memory of 2L.

前記画像メモリ112R,112Lから読み出された画
像信号は、それぞれ、ORゲート157R,157Lを
経て、D/A変換器158R,158Lにてアナログ信
号に変換され、モニタ130R,130Lに入力される
ようになっている。
The image signals read from the image memories 112R and 112L pass through OR gates 157R and 157L, and are converted into analog signals by D/A converters 158R and 158L, and are input to monitors 130R and 130L. It has become.

そして、このモニタ130R,130Lに、それぞれ、
右画像、左画像が表示されるようになっている。
Then, on these monitors 130R and 130L, respectively,
The right image and left image are displayed.

また、右画面にカーソルを表示させるカーソル表示手段
151Rと、左画面にカーソルを表示させるカーソル表
示手段151Lとが設けられ、マウス145は、切換手
段150を介して、前記カーソル表示手段151R,1
51Lの一方に接続されるようになっており、各画面用
のカーソルの移動等の操作を行うことができるようにな
っている。前記カーソル表示手段151R,151Lか
ら出りされるカーソル表示用の信号は、前記ORゲート
157R,157Lに入力されるようになっており、こ
れにより、モニタ130R,130Lの画面にカーソル
が重畳されるようになっている。
Further, cursor display means 151R for displaying a cursor on the right screen and cursor display means 151L for displaying a cursor on the left screen are provided, and the mouse 145 is connected to the cursor display means 151R, 1 through the switching means 150.
51L, and operations such as moving the cursor for each screen can be performed. Cursor display signals output from the cursor display means 151R, 151L are input to the OR gates 157R, 157L, so that the cursor is superimposed on the screens of the monitors 130R, 130L. It has become.

また、右画面用のカーソル表示手段151Rには、案内
線表示手段153が連結され、この案内線表示手段15
3は、右画面において対象点が指定されている場合には
、その対象点に対する左画面上での位置条件を演算し、
その位置条件に基づいて案内線表示用の信号を出力する
ようになっている。この案内線表示用の信号は、ORゲ
ート157Lに入力されるようになっており、これによ
り、左画像用モニタ130Lの画面に案内線が重畳して
表示されるようになっている。
Further, a guide line display means 153 is connected to the cursor display means 151R for the right screen, and this guide line display means 15
3, if a target point is specified on the right screen, calculate the position condition for the target point on the left screen,
Based on the positional conditions, a signal for displaying the guide line is output. This signal for displaying the guide line is input to the OR gate 157L, so that the guide line is displayed in a superimposed manner on the screen of the left image monitor 130L.

また、前記両カーソル表示手段151R,151Lには
、対象点位置算出手段154が連結されており、この対
象点位置算出手段154は、両画面において対象点が指
定されている場合には、その対象点の各画面における座
標より対象点の3次元座標を求めるようになっている。
Further, a target point position calculation means 154 is connected to both the cursor display means 151R, 151L, and when a target point is specified on both screens, the target point position calculation means 154 The three-dimensional coordinates of the target point are determined from the coordinates of the point on each screen.

更に、前記対象点位置算出手段154及び右画像用のカ
ーソル表示手段151Rは、指標円表示手段155に連
結され、この指標円表示手段155は、前記対象点の3
次元座標と右画面における対象点の位置情報とにより、
対象物の大きざの目安となる指標円を表示するための信
号を出力するようになっている。この指標円表示用の信
号は、ORゲート157Rに入力されるようになってお
り、これにより、右画像用モニタ130Rの画面に指標
円が垂畳して表示されるようになっている。
Furthermore, the target point position calculation means 154 and the right image cursor display means 151R are connected to an index circle display means 155, and this index circle display means 155
Based on the dimensional coordinates and the position information of the target point on the right screen,
It is designed to output a signal to display an index circle that is a guide to the size of the object. This signal for displaying the index circle is input to the OR gate 157R, so that the index circle is displayed in a vertical manner on the screen of the right image monitor 130R.

尚、本実施例では、前記切換手段150.カーソル表示
手段151R,151L、案内線表示手段153.対象
点位置算出手段154.及び指標円表示手段155は、
前記ホストコシピユータ120を後述する手順で動作さ
せることにより達成される。
In this embodiment, the switching means 150. Cursor display means 151R, 151L, guide line display means 153. Target point position calculation means 154. and the indicator circle display means 155,
This is achieved by operating the host cocipitator 120 according to the procedure described below.

本実施例における立体計測システムの詳細な動作1作用
を説明する前に、まず、指定された対象点の3次元座標
を計算する場合の作用と、指標円を表示する場合の作用
の概略を説明する。
Before explaining the detailed operation 1 of the three-dimensional measurement system in this embodiment, first, we will briefly explain the operation when calculating the three-dimensional coordinates of the specified target point and the operation when displaying the index circle. do.

指定された対象点の3次元座標を計算する場合は、 (1)内視鏡からの画像または画像ファイルからの画像
を選択し、 (2)内視鏡からの画像を選択した場合には、内視鏡か
らの画像(動画)を兄ながら、適当なタイミングでフリ
ーズ(静止)を行い、フレームメモリ112R,112
L上に画像を固定する。また、画像ファイルからの画像
を選択した場合には、その画像をフレームメモリ112
R,112L上に固定する。
To calculate the three-dimensional coordinates of a specified target point, (1) select an image from an endoscope or an image from an image file; (2) if you select an image from an endoscope, Freeze (still) the image (video) from the endoscope at an appropriate timing and store it in the frame memory 112R, 112.
Fix the image on L. In addition, when an image from an image file is selected, the image is stored in the frame memory 111.
R, fixed on 112L.

(3)次に、第1の対象点く以下、点1と記す。)の指
定を選択する。この点1の指定の作用は、次の通りであ
る。
(3) Next, the first target point is hereinafter referred to as point 1. ). The effect of specifying point 1 is as follows.

1、対象点がすでに指定してあった場合には、左右画面
のカーソルを消ず。
1. If the target point has already been specified, do not erase the cursor on the left and right screens.

2、右画面に、点の指定用に任意に動くカーソル(以下
、動カーソルと記す。)が表われる。
2. A cursor that moves arbitrarily (hereinafter referred to as a moving cursor) for specifying a point appears on the right screen.

3、マウス145を操作し、指定したい点の上に動カー
ソルを移動する。
3. Operate the mouse 145 and move the moving cursor over the point you want to specify.

4.7ウス145を用いて指定を行うと、右画面に指定
カーソルが表われる。尚、この指定は、繰り返すことが
できる。
4.7 When a designation is made using the mouse 145, a designation cursor appears on the right screen. Note that this designation can be repeated.

5、マウス145を用いて指定点の確定を行う。5. Use the mouse 145 to confirm the specified point.

6、右画面の動カーソルが消え、指定カーソルが残る。6. The moving cursor on the right screen disappears and the specified cursor remains.

7゜左画面に案内線が表示される。7°A guide line will be displayed on the left screen.

8、左画面に動カーソルが表われる。8. A moving cursor will appear on the left screen.

9.7ウス145を操作し、指定したい点の上に勤カー
ソルを移動する。
9.7 Operate the mouse 145 and move the cursor over the point you want to specify.

10.7ウス145を用いて指定を行うと、左画面に指
定カーソルが表われる。尚、この指定は、繰り返すこと
ができる。
10.7 When a designation is made using the mouse 145, a designation cursor appears on the left screen. Note that this designation can be repeated.

11.7ウス145を用いて指定点の確定を行う。11. The designated point is determined using the 7mm 145.

12、左画面の動カーソルが消え、指定カーソルが残る
12. The moving cursor on the left screen disappears and the designated cursor remains.

13、案内線が消える。13. The guide line disappears.

14、指定された対象点の3次元座標が゛演算され、出
力される。
14. The three-dimensional coordinates of the specified target point are calculated and output.

15、内視鏡先端から対象点までの距離が演算され、出
力される。尚、この距離は、必要ならば表示する。
15. The distance from the endoscope tip to the target point is calculated and output. Note that this distance will be displayed if necessary.

16、他にも指定された対象点があれば、その点との距
離が出力される。尚、この距離は、必要ならば表示する
16. If there is another specified target point, the distance to that point is output. Note that this distance will be displayed if necessary.

(4)点2の指定は、上記(3〉と同様であり、同様に
して2つ以上の対象点を指定することも可能である。
(4) Designation of point 2 is the same as in (3) above, and it is also possible to designate two or more target points in the same way.

一方、指標円を表示する場合は、 (5)指標円の半径を入力する。On the other hand, if you want to display the indicator circle, (5) Enter the radius of the index circle.

(6)次に、前記指定された対象点の3次元座標を計算
する場合の作用の(3)1〜16と同様の作用によって
、円付き点の指定を行う。尚、円付き点とは、指標円を
表示させるために指定づる対象点であり、前記(3)1
〜16における点1を円付き点と読み替えれば良い。
(6) Next, a circled point is designated by the same actions as (3) 1 to 16 of the action when calculating the three-dimensional coordinates of the designated target point. Note that the circled point is the target point specified to display the index circle, and is the point specified in (3) 1 above.
Point 1 in ~16 can be read as a circled point.

(ア)そして、入力された半径と円付き点の3次元座標
を基に、右画像上に、大きさの目安となる指標内が表示
される。
(a) Then, based on the input radius and three-dimensional coordinates of the circled point, the inside of the index, which is a guide to the size, is displayed on the right image.

次に、第16図ないし第25図を参照して、本実施例に
おける立体計測システムの詳細な動作。
Next, detailed operations of the three-dimensional measurement system in this embodiment will be described with reference to FIGS. 16 to 25.

作用について説明する。The effect will be explained.

まず、第16図を用いてメインルーチンを説明する。シ
ステムの動作を開始すると、ステップ5l−1(以下、
ステップは省略し、単に81−1のように記す。)で、
計測を行う画像が内視鏡からの画像か否かを判定する。
First, the main routine will be explained using FIG. When the system starts operating, step 5l-1 (hereinafter referred to as
The steps are omitted and simply written as 81-1. )in,
It is determined whether the image to be measured is an image from an endoscope.

否(以下、Noと記す。また、肯定の場合はYESと記
す。)の場合は、$1−2で、計測を行う画像がファイ
ルからの画像か否かを判定する。Noの場合は、51−
3で、終了か否かを判定し、YESの場合は、終了する
。前記51−1で、内視鏡からの画像であると判定され
た場合(YES>は、51−4で、record Nと
いうサブルーチンを行い、51−1へ戻る。前記rec
ordは、内視鏡からの画像をフリーズして処理を行う
ルーチンである。
If not (hereinafter referred to as No. If affirmative, it will be referred to as YES), it is determined at $1-2 whether the image to be measured is an image from a file. If No, 51-
In step 3, it is determined whether or not to end, and if YES, the process ends. If it is determined in step 51-1 that the image is from an endoscope (YES>, a subroutine called record N is performed in step 51-4, and the process returns to step 51-1.
ord is a routine that freezes and processes images from an endoscope.

また、前&!S 1−2で、ファイルからの画像である
と判定された場合(YES)は、51−5で、file
s()というサブルーチンを行い、51−1へ戻る。前
記filesは、外部記憶から画像を呼び出し、後述す
る各種処理を行うルーチンである。また、前記51−3
でNoの場合も、51−1へ戻る。尚、前記recor
dは第17図に、前記filesは第19図に、それぞ
れ示している。尚、ルーチン名の最後の()は、そのル
ーチンがサブルーチンであることを表1゜また、()の
中には、引数が入ることがある。
Also, before &! If it is determined in step S1-2 that the image is from a file (YES), in step 51-5, the file
A subroutine called s() is executed and the process returns to 51-1. The above files is a routine that reads an image from external storage and performs various processes described below. In addition, the above 51-3
If the answer is No, the process returns to 51-1. In addition, the above-mentioned record
d is shown in FIG. 17, and the files are shown in FIG. 19, respectively. Note that the parentheses at the end of a routine name indicate that the routine is a subroutine.Furthermore, the parentheses may contain arguments.

このように、メインルーチンでは、キーボード126等
の示しない操作手段により、内視鏡からの画像または外
部記憶からの画像を選択するか、あるいは動作の終了を
指示するまで、前記5l−1ないし51−3が繰り返さ
れる。尚、51−1と81−2の順番は任意である。
In this way, in the main routine, the steps 5l-1 to 51 are performed until an image from the endoscope or an image from external storage is selected or an instruction is given to end the operation using an operation means (not shown) such as the keyboard 126. -3 is repeated. Note that the order of 51-1 and 81-2 is arbitrary.

次に、第17図を用いて前記record Oを説明す
る。
Next, the record O will be explained using FIG. 17.

このルーチンが開始すると、まず、52−1で、フリー
ズか否かを判定する。すなわち、ここで、フリーズする
タイミングをとる。Noの場合は、52−2で、終了か
否かを判定し、YESの場合は、終了する。前記52−
1でフリーズと判定された場合(YES)は、82−3
r、freezに)というサブルーチンを行い、52−
1へ戻る。
When this routine starts, first, in 52-1, it is determined whether or not there is a freeze. In other words, here is the timing to freeze. If No, it is determined in step 52-2 whether or not to end, and if YES, the process ends. Said 52-
If it is determined to be frozen at 1 (YES), 82-3
r, freeze) and executes the subroutine 52-
Return to 1.

前記TreeZは、内視鏡からの画像をフリーズし、後
述する各種処理を行うルーチンである。このfreez
は、第18図に示している。また、前記52−2でNo
の場合も、82−1へ戻る。
The TreeZ is a routine that freezes the image from the endoscope and performs various processes described below. This freez
is shown in FIG. Also, in 52-2 above, No.
In this case, the process returns to 82-1.

次に、第18図を用いて前記freez Oを説明する
Next, the freeze O will be explained using FIG. 18.

このルーチンが開始すると、まず、83−1で、内視鏡
からの左右各画像をフレームメモリにフリーズする。次
に、53−2で、点1の指定か否かを判定し、Noの場
合は、53−3で、点2の指定か否かを判定し、Noの
場合は、53−4で、円付き点の指定か否かを判定する
。前記53−4がNoの場合は、53−5で、点の解除
か否かを判定し、Noの場合は、53−6で、円付き点
の解除か否かを判定し、Noの場合は、83−7で、画
像記録か否かを判定する。前記53−7がN。
When this routine starts, first, in step 83-1, left and right images from the endoscope are frozen in the frame memory. Next, in 53-2, it is determined whether or not point 1 is designated, and if No, it is determined in 53-3 whether or not point 2 is designated, and if No, in 53-4, Determine whether a circled point is specified. If the above 53-4 is No, it is determined in 53-5 whether or not the point is to be canceled.If it is No, it is determined in 53-6 whether or not the circled point is to be canceled; In step 83-7, it is determined whether or not image recording is to be performed. 53-7 is N.

の場合は、53−8で、終了か否かを判定し、YESの
場合は、83−9で、フリーズされた画像を解除し、内
視鏡からのスルー画像を表示する。
If so, it is determined in 53-8 whether or not the process has ended, and if YES, in 83-9 the frozen image is released and a through image from the endoscope is displayed.

次に、83−10で全ての点を無指定状態に戻して、終
了する。
Next, in step 83-10, all points are returned to the unspecified state, and the process ends.

前記53−2で点1の指定であると判定された場合(Y
ES)は、83−11で、paintloというサブル
ーチンを行い、83−2へ戻る。
If it is determined in 53-2 that point 1 is specified (Y
ES) executes a subroutine called paintlo at 83-11, and returns to 83-2.

このpaintlは、点1を左右画面で指定し、その3
次元座標を得るルーチンである。
This paintl specifies point 1 on the left and right screen, and
This is a routine to obtain dimensional coordinates.

前記53−3で点2の指定であると判定された場合(Y
ES)は、83−12で、point2()というサブ
ルーチンを行い、53−2へ戻る。
If it is determined that point 2 is specified in 53-3 above (Y
ES) executes a subroutine called point2() at 83-12, and returns to 53-2.

このpaint2は、点2を左右画面で指定し、その3
次元座標を得るルーチンである。
This paint2 specifies point 2 on the left and right screen, and then
This is a routine to obtain dimensional coordinates.

前記53−4で円付き点の指定であると判定された場合
(YES>は、83−13で、pointm ()とい
うサブルーチンを行い、53−2へ戻る。このpoin
tmは、円付き点を左右画像で指定し、paintlで
行う計測と同様の計測を行い、円付き点の3次元座標を
得ると共に、その3次元座標を基に、距離によって大き
さの変化する指標(円)を右画面に表示するルーチンで
ある。
If it is determined in step 53-4 that the point with a circle is specified (YES>, the subroutine pointm() is executed in step 83-13, and the process returns to step 53-2.
tm specifies a circled point in the left and right images, performs measurements similar to those performed with paintl, obtains the 3D coordinates of the circled point, and changes the size depending on the distance based on the 3D coordinates. This is a routine that displays an index (yen) on the right screen.

前記53−5で点の解除であると判定された場合(YE
S)は、83−14で、指定された点のカーソルを消し
、無指定状態に戻して、53−2へ戻る。
If it is determined that the point is canceled in 53-5 above (YE
S) erases the cursor at the designated point in 83-14, returns to the unspecified state, and returns to 53-2.

前記53−6で円付き点の解除であると判定された場合
(YES)は、83−15で、円付き点のカーソル、円
を消し、円付き点を無指定状態に戻して、53−2へ戻
る。
If it is determined in step 53-6 that the circled point is to be canceled (YES), in step 83-15, the circled point cursor and circle are erased, the circled point is returned to the unspecified state, and the process proceeds to step 53-15. Return to 2.

前記$3−7で画像記録であると判定された場合(YE
S)は、33−16で、フレームメモリの左右画像を外
部記憶へ記録した後、53−2へ戻る。
If it is determined that the above $3-7 is an image recording (YE
S) records the left and right images in the frame memory to external storage in 33-16, and then returns to 53-2.

また、前記53−8でNOの場合も、53−2へ戻る。Also, if the answer in 53-8 is NO, the process returns to 53-2.

尚、前記point1は第20図に、前記ρOintm
は第21図に、それぞれ示している。
Note that the point 1 is shown in FIG. 20 as the ρOintm
are shown in FIG. 21, respectively.

尚、53−2ないし53−7の順番は任意である。Note that the order of 53-2 to 53-7 is arbitrary.

次に、第19図を用いて前記fitesNを説明する。Next, the fitsN will be explained using FIG. 19.

このルーチンが開始すると、まず、54−1で、指定さ
れた左右の画像ファイルを外部記憶からフレームメモリ
に呼び込む。
When this routine starts, first, in step 54-1, specified left and right image files are loaded from external storage into the frame memory.

次の84−2ないし54−6は、前記free2()お
ける53−2ないし53−6と全く同じである。すなわ
ち、点1の指定か否か、点2の指定か否か、円付き点の
指定か否か、点の解除が否か、円付き点の解除か否かを
判定する。この各ステップ53−2ないし53−6でY
ESの場合は、それぞれ、前記f’reezNおける8
3−11ないし83−15と同様の84−11ないしS
4−15を行い、前記54−2へ戻る。
The following 84-2 to 54-6 are exactly the same as 53-2 to 53-6 in free2(). That is, it is determined whether point 1 is designated, whether point 2 is designated, whether a circled point is designated, whether a point is canceled, and whether a circled point is deleted. Y in each step 53-2 to 53-6
In the case of ES, respectively, 8 in the f'reezN
84-11 or S similar to 3-11 or 83-15
Perform step 4-15 and return to step 54-2.

前記54−6でNoの場合は、54−7で、画像変更か
否かを判定する。この84−7がNoの場合は、54−
8で、終了か否かを判定し、YESの場合は、84−1
0で全ての点を無指定状態に戻して、終了する。
If No in step 54-6, it is determined in step 54-7 whether or not the image is to be changed. If this 84-7 is No, 54-
8, it is determined whether it is finished or not, and if YES, 84-1
0 returns all points to unspecified state and ends.

前記54−7で画像変更であると判定された場合(YE
S)は、84−16で、指定された左右の画像ファイル
を外部記憶からフレームメモリへ呼び込み、$4−2へ
戻る。
If it is determined in step 54-7 that the image has been changed (YE
S) loads the specified left and right image files from the external storage to the frame memory in 84-16, and returns to $4-2.

また、前記84−8rNO(7)場合も、$4−2へ戻
る。
Also, in the case of 84-8rNO(7), the price returns to $4-2.

尚、$4−2ないし54−7の順番は任意である。Note that the order of $4-2 to $54-7 is arbitrary.

次に、第20図を用いて前記pointl□を説明する
Next, the above pointl□ will be explained using FIG. 20.

このルーチンが開始すると、まず、55−1で、点1が
指定されているか否かを判定する。NOの場合は、その
まま85〜4へ進み、YESの場合は、55−2及び8
5−3を行った後、55−4へ進む。前記55−2では
、左右各画面について、点1カーソルを消し、次に、5
5−3で、点1を無指定状態に戻す。
When this routine starts, first, in step 55-1, it is determined whether point 1 has been designated. If NO, proceed directly to 85-4; if YES, proceed to 55-2 and 8.
After performing 5-3, proceed to 55-4. In step 55-2 above, the point 1 cursor is erased for each left and right screen, and then 5
In step 5-3, point 1 is returned to the unspecified state.

次に、前記55−4では、RmovecurOというサ
ブルーチンを行う。このRmOVecurは、右画面で
の点指定を行うルーチンであり、その指定点のx、y座
標を、(SRx1,5−RYl)に得る。このRmov
ecurは第22図に示している。
Next, in step 55-4, a subroutine called RmovecurO is executed. This RmOVecur is a routine that specifies a point on the right screen, and obtains the x and y coordinates of the specified point as (SRx1,5-RYl). This Rmov
ecur is shown in FIG.

次に、35−5で、右画面において、点1カーソルを(
S  Rxl、 S  Ryl)(7)位置ニ書り。
Next, at 35-5, on the right screen, move the point 1 cursor to (
S Rxl, S Ryl) (7) Position D writing.

次に、55−6で、LQLJide□とイー5 サブル
ーチンを行う。このLguideは、右画面テノ指定点
(7)X、y座標(S  Rxl、 S  RVl)を
基に、左画面上に、案内線を引くルーチンである。この
しguideは第23図に示している。
Next, in 55-6, the LQLJide□ and E5 subroutines are executed. This Lguide is a routine that draws a guide line on the left screen based on the X, y coordinates (S Rxl, S RVl) of the right screen designated point (7). This guide is shown in FIG.

次に、55−7で、l−movecur □というサブ
ルーチンを行う。この1movecurは、左画面での
点指定を行うルーチンであり、その指定点のx、y座標
を、(S  Lxl、 S  Lyl) 1.:得る。
Next, in 55-7, a subroutine called l-movecur□ is executed. This 1movecur is a routine that specifies a point on the left screen, and calculates the x and y coordinates of the specified point by (S Lxl, S Lyl) 1. :obtain.

次に、55−8で、案内線を消した後、55−9で、左
画面において、点1カーソルを(S−しxl、 S  
Lye)の位置に書く。
Next, at 55-8, after erasing the guide line, at 55-9, move the point 1 cursor to (S-xl, S
Write it in the position of ``Lye''.

次に、85−10で、左右各画面での指定点のx、y座
標(S−Rx1. S  Ryl、 S  Lxl、 
5−Lyl)を引数として、3dpo i nt (>
というサブルーチンを行う。この3dDOintは、左
右各画面での指定点を基に、2つの指定点に対応する対
象点(点1)の3次元座標の計算を行うルーチンテあり
、結果は、(S  Xl、 S  Yl、 S−21)
に帰される。この3dpo i nt Oは第24図に
示している。
Next, in 85-10, the x, y coordinates of the specified point on each left and right screen (S-Rx1. S Ryl, S Lxl,
5-Lyl) as an argument, 3dpoint (>
This subroutine is executed. This 3dDOint has a routine that calculates the three-dimensional coordinates of the target point (point 1) corresponding to the two specified points based on the specified points on the left and right screens, and the results are (S Xl, S Yl, S -21)
attributed to. This 3dpoint O is shown in FIG.

次ニ、85−11F、前記3次元座標(S  Xl。Second, 85-11F, the three-dimensional coordinates (S Xl.

3  Yl、3  Zl)を用いて、点1までの距離を
計算する。
3 Yl, 3 Zl) to calculate the distance to point 1.

次に、85−12で、点2は指定されているか否かを判
定し、Noの場合は終了し、YESの場合は、85−1
3で、点11点2mの距離を計算して終了する。
Next, at 85-12, it is determined whether point 2 is specified or not, and if No, the process ends, and if YES, 85-1
Step 3 calculates the distance between points 11 and 2 m and ends.

このように、paintlでは、まず、右画面において
点1の指定を行い、これにより、左画面上に案内線が表
示され、この案内線上で左画面における点1を指定する
。この点1の指定により、点1の3次元座標が計算され
、点2が指定されていれば、点11点2間の距離が計算
される。尚、前記点1の3次元座標や、点11点2間の
距離は、必要に応じて、表示するようにしても良い。
In this way, in paintl, first, point 1 is specified on the right screen, then a guide line is displayed on the left screen, and point 1 on the left screen is specified on this guide line. By specifying point 1, the three-dimensional coordinates of point 1 are calculated, and if point 2 is specified, the distance between points 11 and 2 is calculated. Note that the three-dimensional coordinates of the point 1 and the distance between the points 11 and 2 may be displayed as necessary.

尚、paint20は、図示しないが、前記paint
l()と基本的に同じものであり、点1と点2に関する
記述(座標を含む)を入れ替えたものである。
Although paint20 is not shown, the paint20 is
This is basically the same as l(), but the descriptions (including coordinates) regarding points 1 and 2 are exchanged.

次に、第21図を用いて前記po i ntm Nを説
明する。
Next, the po intm N will be explained using FIG. 21.

このルーチンが開始すると、まず、86−01で、円の
半径rrを入力(imput)する。次に、56−1で
、円付き点が指定されているか否かを判定する。
When this routine starts, first, at 86-01, the radius rr of the circle is input. Next, in 56-1, it is determined whether a circled point has been designated.

次に、56−1で、円付き点が指定されているか否かを
判定する。NOの場合は、そのまま56−4へ進み、Y
ESの場合は、56−2及び56−3を行った後、56
−4へ進む。前記56−2では、左右各画面について、
円付き点カーソルを消し、次に、86−3で、円を消し
、円付き点を無指定状態に戻す。
Next, in 56-1, it is determined whether a circled point has been designated. If NO, proceed directly to 56-4 and select Y.
In the case of ES, after performing 56-2 and 56-3, 56
-Go to 4. In the above 56-2, for each left and right screen,
The circled point cursor is erased, and then, in step 86-3, the circle is erased and the circled point is returned to the unspecified state.

次に、前記86−4では、Rmovecurに)という
サブルーチンを行い、右画面での指定点のx、y座標を
、(S−Rxm、 S  Rye) ニ’Rる。
Next, in step 86-4, a subroutine called Rmovecur is executed to obtain the x and y coordinates of the designated point on the right screen as (S-Rxm, S Rye).

次に、56−5で、右画面において、円付き点カーソル
を(S  Rxm、 S  Rym)の位置に廁(。
Next, at 56-5, move the circled dot cursor to the position (SRxm, SRym) on the right screen.

次に、56−6で、l−gu ide Nというサブル
ーチンを行い、右画面での指定点のx、y座標(S  
R:+v、 S  Ryl)を基に、左画面上に案内線
を引く。
Next, in 56-6, a subroutine called l-guide N is executed to obtain the x, y coordinates (S
Draw a guide line on the left screen based on R: +v, S Ryl).

次に、56−7で、Lmovecur Nというサブル
ーチンを行い、左画面での指定点のX。
Next, in step 56-7, a subroutine called Lmovecur N is executed, and the X of the specified point on the left screen is moved.

y座標を、(S  Lxm、 S  1yI11)に得
る。
Obtain the y coordinate at (S Lxm, S 1yI11).

次に、56−8で、案内線を消した後、56−9で、左
画面において、円付き点カーソルを(Slxm、S  
LVII)の位置に古く。
Next, at 56-8, after erasing the guide line, at 56-9, move the circled dot cursor (Slxm, S
LVII) position.

次に、86−10で、左右各画面での指定点のx、y座
標(S  Rx++、 S  Rym、 S  Lxm
、 5−Lye)を引数として、3dpO1ntOとい
うサブルーチンを行い、円付き点の3次元座標を計算し
、結果は、(3Xs、 S  Ym、 S  Zm)に
帰される。
Next, at 86-10, the x, y coordinates of the specified point on each of the left and right screens (S Rx++, S Rym, S Lxm
, 5-Lye) as an argument, a subroutine called 3dpO1ntO is executed to calculate the three-dimensional coordinates of the circled point, and the results are attributed to (3Xs, SYm, SZm).

次に、86−11で、前記3次元座標(S  Xm。Next, at 86-11, the three-dimensional coordinates (S

S  Ym、 S  Zm、)を用いて、円付き点まで
の距離を計算する。
S Ym, S Zm, ) is used to calculate the distance to the circled point.

次に、S 6−12で、RacircleOというサブ
ルーチンを行った後、終了する。このRgcircle
は、円付き点の3次元座標(SXi、 3  Ya+、
 5−Zn+)と半径rrを基に、対象点(円付き点)
のまわりに、指標となる円を書くものである。このRo
c i rCl 8は、第25図に示している。
Next, in S6-12, a subroutine called RacircleO is executed, and then the process ends. This Rgcircle
is the three-dimensional coordinate of the circled point (SXi, 3 Ya+,
5-Zn+) and radius rr, target point (point with circle)
Draw a circle around it to serve as an indicator. This Ro
c i rCl 8 is shown in FIG.

このように、pointmでは、まず、右画面において
円付き点の指定を行い、これにより、左画面に案内線が
表示され、この案内線上で左画面における円付き点を指
定する。この円付き点の指定により、円付き点の3次元
座標が計算され、この3次元座標と入力された半径を基
に、右画像上に、大きさの目安になる指標円を表示させ
る。
In this way, in pointm, first, a point with a circle is specified on the right screen, a guide line is displayed on the left screen, and a point with a circle on the left screen is specified on this guide line. By specifying this circled point, the three-dimensional coordinates of the circled point are calculated, and based on these three-dimensional coordinates and the input radius, an index circle is displayed on the right image as a guide for the size.

次に、第22図を用いて前記RmovecurOを説明
する。
Next, the RmovecurO will be explained using FIG. 22.

このルーチンが開始すると、まず、57−1で、対象画
面を右画面に指定する。
When this routine starts, first, in step 57-1, the target screen is designated as the right screen.

次に、57−2で、日動カーソルがあるか否か判定し、
NOの場合は、そのまま57−5へ進み、YESの場合
は、57−3及び57−4を行った後、87−5へ進む
。前記57−2でYESの場合は、87−3で、旧動カ
ーソルを消し、次に、Sアー4で、新動カーソルの位置
を日動カーソルの位置に代入する。前記57−5では、
カーソル操作手段としてのマウス145の位置情報から
、新動カーソルの位置を得る。次に、57−6で、新肋
カーソルを書き込む。
Next, in 57-2, it is determined whether there is a Nichido cursor,
If NO, proceed directly to 57-5; if YES, proceed to 87-5 after performing steps 57-3 and 57-4. If YES in step 57-2, the old moving cursor is erased in step 87-3, and then, in SA4, the position of the new moving cursor is substituted for the position of the daily moving cursor. In the above 57-5,
The position of the new moving cursor is obtained from the position information of the mouse 145 as a cursor operating means. Next, at 57-6, a new rib cursor is written.

このように、57−2ないし57−6では、動カーソル
に関し、消去、Gき込みを行って、動カーソルを移動さ
せている。
In this way, in steps 57-2 to 57-6, the moving cursor is erased, G is written, and the moving cursor is moved.

次に、57−7で、指定スイッチであるマウス145の
クリック1が入ったか否かを判定し、NOの場合は、そ
のまま87−13へ進み、YESの場合は、次の87−
8ないし87−12を行った後、87−13へ進む。前
記57−7でYESの場合は、まず、57−8で、旧指
定カーソルがあるか否かを判定し、Noの場合は、その
ままS7−11へ進み、YESの場合は、57−9及び
87−10を行った後、37−11へ進む。前記57−
8でYESの場合は、57−9で、旧指定カーソルを消
し、次に、87−10で、新指定カーソルの位置を旧指
定カーソルの位置に代入する。
Next, in 57-7, it is determined whether or not the mouse 145, which is the designated switch, has been clicked 1. If NO, proceed to 87-13; if YES, proceed to the next 87-13.
After performing steps 8 to 87-12, proceed to step 87-13. If YES in step 57-7, it is first determined in step 57-8 whether or not there is an old designated cursor, and in case of No, the process directly advances to S7-11; After performing 87-10, proceed to 37-11. Said 57-
If YES in step 8, the old specified cursor is deleted in step 57-9, and then the position of the new specified cursor is substituted for the position of the old specified cursor in step 87-10.

前記37−11では、新動カーソルの位置を新指定カー
ソルの位置へ代入づる。次に、87−12で、新指定カ
ーソルを書き込む。
In step 37-11, the position of the new moving cursor is assigned to the position of the newly specified cursor. Next, at 87-12, a new designated cursor is written.

このように、57−7ないし5−12では、クリック1
が入った場合に、動カーソルの位置を指定カーソルとす
る。
In this way, for 57-7 to 5-12, click 1
is entered, the position of the dynamic cursor becomes the specified cursor.

次に、87−13で、新指定カーソルがあり、確定スイ
ッチであるマウス145のクリック2がか入ったか否か
を判定し、NOの場合は、前記57−2へ戻り、YES
の場合は、S7−14へ進む。前記87−13でNoの
場合に87−2へ戻ることにより、点指定を繰り返すこ
とができるようになっている。前記S7−14では、新
動力−ンルを消し、次に、S7−15で新指定カーソル
を消す。次に、87−16で、新指定カーソルの位置を
カーソルの確定位置として、親ルーチンへの戻り値とし
、終了する。ずなわら、得たx、y座標を親ルーチン(
po i ntlやpointm等)へ戻す。
Next, at 87-13, it is determined whether or not there is a newly designated cursor and the mouse 145, which is a confirmation switch, has been clicked 2. If NO, the process returns to 57-2 and YES is selected.
If so, proceed to S7-14. If the answer in 87-13 is No, the process returns to 87-2, allowing the point designation to be repeated. In S7-14, the new power input is erased, and then in S7-15, the new specified cursor is erased. Next, in step 87-16, the position of the newly specified cursor is set as the fixed cursor position and is used as the return value to the parent routine, and the process ends. Then, the obtained x, y coordinates are sent to the parent routine (
point (pointl, pointm, etc.).

このように、Rmovecurでは、右画面での点指定
を行う。
In this way, Rmovecur specifies a point on the right screen.

尚、1movecur Nは、図示しないが、前記Rm
ovecur Nと基本的に同じものであり、右画面で
はなく左画面に対して処理を行うものである。
Although 1movecur N is not shown, the above Rm
This is basically the same as overcur N, and processes the left screen instead of the right screen.

ここで、右画面における点の指定と左画面における点の
指定を、第6図及び第9図と関連づけて説明する。カー
ソル操作手段であるマウス145は、切換手段150を
実現するRmovecurによって、右画面用のカーソ
ル表示手段151R(これもRmovecurによって
実現される)に動作的に連結され、このとき初めて、右
画面に点指定のためのカーソルが表示される。右画面で
の点指定を確定すると、右画面から点指定のためのカー
ソルが消去される。次いで、前記マウス145は、前記
カーソル表示手段151Rとの連結が解除され、切換手
段150を実現する1movecu rによって、左画
面用のカーソル表示手段151L(これもLmovec
urによッテ実現される〉に動作的に連結され、このと
き初めて、左画面に点指定のためのカーソルが表示され
る。
Here, the designation of points on the right screen and the designation of points on the left screen will be explained in relation to FIGS. 6 and 9. The mouse 145, which is a cursor operating means, is operatively connected to the cursor display means 151R for the right screen (also realized by Rmovecur) by Rmovecur, which implements the switching means 150, and only then points to the right screen. A cursor for specification is displayed. When the point designation on the right screen is confirmed, the cursor for point designation is deleted from the right screen. Next, the mouse 145 is disconnected from the cursor display means 151R, and is switched to the left screen cursor display means 151L (also Lmovecur) by 1movecur which realizes the switching means 150.
The cursor for specifying a point is displayed on the left screen for the first time.

左画面での点指定を確定すると、左画面から点指定のた
めのカーソルが消去される。
When the point designation on the left screen is confirmed, the cursor for point designation is deleted from the left screen.

第6図における切換手段150は、Rmovecurの
1ステツプ目の「対象画面を右画面に指定する。J  
(l m o v e CLJ rも同様である。)が
対応する。この動作を、第9図で説明する。マウスイン
ターフェース125からのマウス位置情報は、CPLJ
121へ常時取り込まれていて、前記ステップ「右画面
に指定」により、CPU121は、このマウス位置情報
を右フレームメモリインタフェース122Rを介して、
右画像用フレームメモリ112Rに送り、カーソルを制
御する。
The switching means 150 in FIG. 6 performs the first step of Rmovecur, ``Designate the target screen as the right screen.
(The same applies to l m o v e CLJ r.) corresponds to this. This operation will be explained with reference to FIG. The mouse position information from the mouse interface 125 is provided by CPLJ.
121, and in the step "designate to right screen", the CPU 121 transfers this mouse position information via the right frame memory interface 122R.
It is sent to the right image frame memory 112R to control the cursor.

そして、右画像用フレームメモリ112Rで、カーソル
が画像と重畳される。
Then, the cursor is superimposed on the image in the right image frame memory 112R.

1−movecurにも同様に、1ステツプ目に、[対
象画面を左画面に指定する。」ステップがあり、このc
movecurに入ると、マウス145の位置情報は、
左フレームメモリインタフェース122Lへ送られる。
Similarly, for 1-movecur, the first step is [Specify the target screen as the left screen]. ” step and this c
When you enter movecur, the position information of the mouse 145 is
Sent to left frame memory interface 122L.

このように、1つのマウス145がCPU121の)〇
−により、右画面上でのカーソル移動を行わせたり、左
画面上でのカーソル移動を行わせたり、切り換えられる
。つまり、CPU121は、マウス145を右画像用フ
レームメモリ112Rと左画像用フレームメモリ112
Lとに選択的に動作的連結を行う機能を備えている。そ
して、この切換は、以下の条件で行われる。
In this way, one mouse 145 is switched between moving the cursor on the right screen and moving the cursor on the left screen by the )0- of the CPU 121. That is, the CPU 121 moves the mouse 145 between the right image frame memory 112R and the left image frame memory 112R.
It has a function of selectively operatively connecting with L. This switching is performed under the following conditions.

まず、Rmovecurの1ステツプ目で、マウス14
5は、右画面用フレームメモリ112Rに連結され、8
7−13の「新指定カーソルがあり、クリック2は入っ
たか?」の判定ステップでクリック2を確認するまで、
57−2ないしS7−13のループを回る。そして、ク
リック2が入ると、Rmovecurを終了し、点1カ
ーソルを(S−Rx1. S  Ryl)の位置ニlキ
(Pa 1nt1の場合)、l−guideを行った後
、(S−Lxl、5−LVl) ←Lmovecu r
を行う。
First, in the first step of Rmovecur, click the mouse 14
5 is connected to the frame memory 112R for the right screen, and 8
Until click 2 is confirmed in the judgment step of 7-13 "There is a new specified cursor, did click 2 enter?"
It goes around the loop from 57-2 to S7-13. Then, when click 2 is entered, Rmovecur is terminated, the point 1 cursor is moved to the position of (S-Rx1. 5-LVl) ←Lmovecur
I do.

るそして、このl−movecurの1ステツプ目で、
マウス145は、左画像用フレームメモリ112Lに連
結されることとなる。
Then, in the first step of this l-movecur,
The mouse 145 will be connected to the left image frame memory 112L.

このように、マウス145が動作的に連結される画像は
、クリック2が入ったことにより切り換えられる。
In this way, the image to which the mouse 145 is operatively connected is switched by click 2.

次に、前記Lgu ide Oの説明の前に、第10図
を参照して、案内線の求め方の原理を説明する。尚、案
内線とは、一方の画面上で対象点を指定した場合、他の
画面上においてその対象点があるべき位置を示す線であ
る。
Next, before explaining the L guide O, the principle of how to find the guide line will be explained with reference to FIG. Note that the guide line is a line that indicates the position where the target point should be on the other screen when the target point is specified on one screen.

右撮像素子上の指定点のxy座標を(CRX。The xy coordinates of the specified point on the right image sensor are (CRX.

CRY)とすると、対象点の3次元座標は、空間的な位
置関係(相似)より、tを媒介変数として、右眼中心3
次元座標で表すと、 (txcRx、tXcRy、txF) となる。ただし、Fは対物レンズ系の焦点距離である。
CRY), the three-dimensional coordinates of the target point are determined from the spatial positional relationship (similarity) by using t as a parameter, the center of the right eye 3
Expressed in dimensional coordinates, it becomes (txcRx, tXcRy, txF). However, F is the focal length of the objective lens system.

また、右眼中心3次元座標とは、右結像手段の中心を原
点とした3次元座標である。また、3次元座標のX方向
は左右両結像手段の中心を通る方向とし、2方向は内視
鏡の先端面に垂直な方向とし、X方向はX方向とX方向
のいずれとも直交する方向とする。
Further, the right eye center three-dimensional coordinates are three-dimensional coordinates with the center of the right imaging means as the origin. In addition, the X direction of the three-dimensional coordinates is a direction passing through the center of both the left and right imaging means, the two directions are perpendicular to the distal end surface of the endoscope, and the X direction is a direction perpendicular to both the X direction and the X direction. shall be.

前記対象点の3次元座標を、左眼中心3次元座標で表す
と、 (txcRx+D、txcRy、txF)となる。ただ
し、Dは視差である。
The three-dimensional coordinates of the target point are expressed as three-dimensional coordinates centered on the left eye as (txcRx+D, txcRy, txF). However, D is parallax.

この座標を、左撮像素子上のxy座標で表すためにtで
割ると、 (cRx+D/l、cRy) となる。左画面に表示される案内線の最左端は、対象点
が無限遠のときの位置なので、t→■とすると、案内線
の最左端のx、y座標(cLx、cLy)は、 (CLx、cLy)= (cRx、cRy)となる。ま
た、対象点が近づくにつれ、左撮像素子上でのX座標は
大きくなるが、y座標は変化しないので、案内線は、前
記(cLx、cLy)=(cRx、cRy)から、左撮
像素子の最右端までの、y座標が一定の直線となる。
When this coordinate is divided by t to represent it as an xy coordinate on the left image sensor, it becomes (cRx+D/l, cRy). The leftmost end of the guide line displayed on the left screen is the position when the target point is at infinity, so if t → ■, the x, y coordinates (cLx, cLy) of the leftmost end of the guide line are (CLx, cLy)=(cRx, cRy). Also, as the target point approaches, the X coordinate on the left image sensor increases, but the y coordinate does not change, so the guide line is determined from the above (cLx, cLy) = (cRx, cRy) It becomes a straight line with a constant y-coordinate up to the rightmost edge.

尚、以上の説明は、内視鏡の対物レンズ系の持つ歪曲収
差を無視した場合であり、このように歪曲収差の補正を
行わない場合には、案内線の最左端は、搬像素子上のx
y座標ではなく、画面上のxy座標を用いて計算するこ
とができる。左画面の案内線の案内線の最左端のxy座
標は、右画面の指定点の×y座標に等しい。すなわち、
右画面上での指定点のxy座標を(Rx、Ry)と16
と、左画面上の案内線の最左端のxy座標(dLX、 
dLl/)は、 (dLx、dL’/)= (Rx、Ry)となる。
The above explanation is based on the case where the distortion aberration of the objective lens system of the endoscope is ignored. If the distortion aberration is not corrected in this way, the leftmost end of the guide line will be located on the image carrier. x of
Calculations can be made using xy coordinates on the screen instead of y coordinates. The xy coordinates of the leftmost end of the guide line on the left screen are equal to the xy coordinates of the specified point on the right screen. That is,
The xy coordinates of the specified point on the right screen are (Rx, Ry) and 16
and the xy coordinates (dLX,
dLl/) becomes (dLx, dL'/)=(Rx, Ry).

以上の原理を用いて案内線を引<Lau i deOに
ついて、第23図を用いて説明する。
Drawing a guide line using the above principle will be explained using FIG. 23.

このルーチンでは、親ルーチン(po i ntlやp
o + ntm等)から引き渡された右画面の指定点の
xy座標(dLx、dLy)を引数とする。
This routine uses parent routines (po intl, p
The x and y coordinates (dLx, dLy) of the specified point on the right screen passed from (e.g. o + ntm) are taken as arguments.

このルーチンが開始すると、まず、58−1で、点(d
Lx、day)を左画面に書き込む。
When this routine starts, first, at 58-1, point (d
Write Lx, day) on the left screen.

次に、58−2で、dLXを1だけ増加する。Next, at 58-2, dLX is increased by 1.

次に、S 8−3−(−1dLx≦(R3X+5XL)
を判定する。尚、第13図(a)に示すように、前記R
8Xは左画面において内視鏡像が表示される部分のX方
向の画素数、SXLは左画面において内視鏡像が表示さ
れる部分の最左端の画素のX座標である。すなわち、5
8−3では、dLxが最右端に達していないかを判定す
る。達していない(YES)場合は、前記58−1に戻
る。dlXが最右端に達した場合(NO)は、終了する
Next, S 8-3-(-1dLx≦(R3X+5XL)
Determine. Incidentally, as shown in FIG. 13(a), the R
8X is the number of pixels in the X direction of the portion where the endoscopic image is displayed on the left screen, and SXL is the X coordinate of the leftmost pixel of the portion where the endoscopic image is displayed on the left screen. That is, 5
In 8-3, it is determined whether dLx has reached the rightmost end. If it has not been reached (YES), the process returns to step 58-1. If dlX reaches the rightmost end (NO), the process ends.

このようにして、右画面での指定点と同じ座標の点から
画面の最右端まで案内線が引かれる。このようにして案
内線の引かれた左画面の例を第14図に示す。
In this way, a guide line is drawn from the point with the same coordinates as the specified point on the right screen to the rightmost edge of the screen. An example of the left screen with guide lines drawn in this way is shown in FIG.

尚、このLguideが、第6図における案内線表示手
段153を実現する。
Note that this Lguide realizes the guide line display means 153 in FIG.

次に、前記3d po i n t () (Di[Q
(1)前ニ、第11図及び第13図を参照して、対象点
の3次元座標の求め方の原理を説明する。
Next, the 3d po int () (Di[Q
(1) The principle of how to obtain the three-dimensional coordinates of a target point will be explained with reference to FIGS. 11 and 13.

右搬像素子上の指定点のxy座標を(CRX。The xy coordinates of the specified point on the right image element are (CRX.

CRy)、左撮像素子上の指定点のxlI標を(cLx
、CL”/)、対象点の3次元座標を(X。
CRy), xlI mark of the specified point on the left image sensor (cLx
, CL”/), and the three-dimensional coordinates of the target point are (X.

Y、’:l>とする。Let Y,':l>.

まず、対象点の右眼中心3次元座標は、媒介変数tを用
いて、空間的な位置関係(相似)より、X−−txcR
x Y−−txcRy −−txF と表される。尚、媒介変数tは、空間的な位置関係(相
似)より、 t−D/ (cLx−cRx) となる。
First, the three-dimensional coordinates of the center of the right eye of the target point are calculated from the spatial positional relationship (similarity) using the parameter t: X--txcR
It is expressed as xY--txcRy--txF. Note that the parameter t becomes t-D/(cLx-cRx) from the spatial positional relationship (similarity).

前記右眼中心3次元座標を、スコープ中心3次元座標に
変換すると、 X=X”+D/2−txcRx+D/2Y=Y”   
  =tXcRy Z−Z−=tXF となる。尚、前記スコープ中心3次元座標とは、左右の
結像手段の各中心の中間の点を原点とした3次元座標で
ある。
When the three-dimensional coordinates of the center of the right eye are converted to the three-dimensional coordinates of the center of the scope, X=X"+D/2-txcRx+D/2Y=Y"
=tXcRy Z−Z−=tXF. The scope center three-dimensional coordinates are three-dimensional coordinates whose origin is a point midway between the centers of the left and right imaging means.

また、2つの対象点が指定された場合、この2点の3次
元座標から2点間の距離が求められる。
Furthermore, when two target points are specified, the distance between the two points is determined from the three-dimensional coordinates of these two points.

すなわち、2点の3次元座標を(Xl、Yt 、Zl)
、(X2.Y2.Z2)とすると、2点間の距lidは
、次の式で与えられる。
In other words, the three-dimensional coordinates of the two points are (Xl, Yt, Zl)
, (X2.Y2.Z2), the distance lid between the two points is given by the following formula.

d= [(Xt −X2 )2+ (Yt −Y2 )
2+(Zt −Z2 )2]” ところで、指定点は、左右各画面上の位置で指定される
ので、上記演算を行うためには、画面上の位置を搬像素
子上の位置に変換する必要がある。
d= [(Xt −X2)2+ (Yt −Y2)
2+(Zt −Z2)2]" By the way, the specified point is specified at a position on each of the left and right screens, so in order to perform the above calculation, it is necessary to convert the position on the screen to the position on the image carrier element. There is.

そこで、第13図を用いて、画面上の位置と撮像素子上
の位置との変換について説明する。
Therefore, conversion between the position on the screen and the position on the image sensor will be explained using FIG. 13.

第13図(a)、(b)に示すように、左右各画面のx
y座標の原点を画面左上とすると共に、左右各画面にお
いて内視鏡像が表示される部分のX方向の画素数をR8
X、’1/方向の画素数をR8Yとし、左画面において
内視鏡像が表示される部分の最左端の画素のX座標をS
XL、最上端の画素のy座標をSYLとし、右画面にお
いて内視鏡像が表示される部分の最左端の画素のX座標
をSXR,最上端の画素のy座標をSYRとする。
As shown in Fig. 13 (a) and (b),
The origin of the y-coordinate is the upper left of the screen, and the number of pixels in the X direction of the portion where the endoscopic image is displayed on the left and right screens is R8.
The number of pixels in the
XL, the y-coordinate of the topmost pixel is SYL, the X-coordinate of the leftmost pixel of the portion where the endoscopic image is displayed on the right screen is SXR, and the y-coordinate of the topmost pixel is SYR.

また、第13図(c)、(d)に示すように、左右各撮
像累子のxy座標の原点を搬像素子の中心とすると共に
、各撮像素子のX方向の長さを5IZEX、y方向の長
さを5IzEYとする。
Further, as shown in FIGS. 13(c) and 13(d), the origin of the xy coordinates of the left and right imaging elements is set as the center of the image carrier, and the length of each imaging element in the X direction is 5IZEX, y Let the length in the direction be 5IzEY.

また、左画面での指定点のxy座標を(Lx。Also, the xy coordinates of the specified point on the left screen are (Lx.

Ly)、右画面での指定点のxy座標を(Rx。Ly), the xy coordinates of the specified point on the right screen are (Rx.

Ry)、左撮像素子での指定点のxy座標を(CLx、
cLy)、右撮像素子での指定点のxy座標を(cRx
、cRy)とする。
Ry), the xy coordinates of the specified point on the left image sensor are (CLx,
cLy), and the xy coordinates of the designated point on the right image sensor as (cRx
, cRy).

(LX、Ly) と(cLx、cLy)(7)fm係は
、次の式で表される。
(LX, Ly) and (cLx, cLy) (7) The fm coefficient is expressed by the following formula.

cLx−(Lx−(R8X/2+SXL))X5IZE
X/R8X cLy−−I X  (Ly−(R8Y/2+5YL)
)XS I ZEY/R8Y 同様に、(Rx、Ry)と(cRx、CRy>の関係は
、次の式で表される。
cLx-(Lx-(R8X/2+SXL))X5IZE
X/R8X cLy--I X (Ly-(R8Y/2+5YL)
)XS I ZEY/R8Y Similarly, the relationship between (Rx, Ry) and (cRx, CRy> is expressed by the following formula.

cRx’−(Rx−(R8X/2+5XR))XS I
ZEX/R8X cRy−−IX (Ry−(R8Y/2+5YR))x
sIZEY/R8Y 以上のような座標変換と、3次元座標の求め方の原理を
用いた前記3dpo i nt □について、第24図
を用いて説明する。
cRx'-(Rx-(R8X/2+5XR))XS I
ZEX/R8X cRy--IX (Ry-(R8Y/2+5YR))x
sIZEY/R8Y The 3dpoint □ using the above-described coordinate transformation and the principle of how to obtain three-dimensional coordinates will be explained using FIG. 24.

このルーチンでは、親ルーチン(pOintlやpoi
ntm等)から引き渡された右画面の指定点のxy座標
(Rx、Ry)及び左画面の指定点のxy座標(Lx、
Ly)を引数とする。
This routine uses parent routines (pOintl, poi
The xy coordinates (Rx, Ry) of the specified point on the right screen and the xy coordinates (Lx, Ry) of the specified point on the left screen passed from the
Ly) is taken as an argument.

このルーチンが開始すると、まず、59−1で、(Rx
−(R8X/2+5XR))xs IZEX/R8Xを
演算し、これを右指定点の搬像素子上のX座標CRXと
する。
When this routine starts, first, at 59-1, (Rx
-(R8X/2+5XR))xs IZEX/R8X is calculated and this is set as the X coordinate CRX of the right specified point on the image carrier element.

次に、59−2で、−1X (Ry−(R8Y/2+5
YR))xs IZEY/R8Yを演算し、これを右指
定点の撮像素子上のy座標cRyとする。
Next, at 59-2, -1X (Ry-(R8Y/2+5
YR))xs IZEY/R8Y is calculated, and this is set as the y-coordinate cRy of the right designated point on the image sensor.

次に、59−3で、(LX−(R8X/2+5XL))
xs IZEX/R8Xを演算し、これを左指定点のI
l像素子上のX座標clxとする。
Next, at 59-3, (LX-(R8X/2+5XL))
xs IZEX/R8X is calculated, and this is the I of the left specified point.
Let the X coordinate on the l image element be clx.

次に、59−4で、−1X (LV−(R8Y/2+5
YL))XS IZEY/R8Yを演算し、これを左指
定点の搬像素子上のy座標C1j/とする。
Next, at 59-4, -1X (LV-(R8Y/2+5
YL))XS IZEY/R8Y is calculated, and this is set as the y coordinate C1j/ of the left designated point on the image carrier element.

すなわち、前記59−1ないし59−4では、前記変換
式に基づいて、画面上の位置を撮像素子上の位置に変換
している。
That is, in 59-1 to 59-4, a position on the screen is converted to a position on the image sensor based on the conversion formula.

次に、59−5で、CRXf=CLXを判定する。Next, in 59-5, it is determined that CRXf=CLX.

Noの場合、すなわち、cRx=cLxの場合は、対象
点が無限遠の場合であり、この場合は、終了する。一方
、YESの場合は、59−6で、D/(cLx−cRx
)を演算し、媒介変数tとする。
In the case of No, that is, in the case of cRx=cLx, the target point is at infinity, and in this case, the process ends. On the other hand, if YES, 59-6, D/(cLx-cRx
) is calculated and set as a parameter t.

次に、59−7で、tXCRX+D/2をXとし、tX
cRyをYとし、txFfzとして、対象点の3次元座
標を求める。
Next, in 59-7, let tXCRX+D/2 be X, and tX
The three-dimensional coordinates of the target point are determined by setting cRy to Y and txFfz.

次に89−8F、前記3次元座標(X、Y、Z)親ルー
チンへの戻り値として、終了する。
Next, at 89-8F, the three-dimensional coordinates (X, Y, Z) are returned to the parent routine, and the process ends.

尚、この3dpOintが、第6図における対象点位置
算出手段154を実現する。
Note that this 3dpOint realizes the target point position calculation means 154 in FIG.

次に、前記Rgc i rCI e □(7)説明の前
に、第12図を参照して、指標円の求め方の原理を説明
する。
Next, before explaining Rgc i rCI e □ (7), the principle of how to obtain the index circle will be explained with reference to FIG. 12.

円付き点の3次元座標を(X3.Y3.Z3)とし、円
付き点を中心とする座標系における点Pの3次元座標を (j x3. j Ly3. Z3) とすると、点Pのスコープ中心3次元座標は、(QX3
.cLy3.Z3) −(J x3+X3. fl uya十Y3. Z3)
となる。このスコープ中心3次元座標を、右眼中心3次
元座標に変換してから、媒介変数tで割って、右撮像素
子上のxy座標(CRX、CRUV)に変換すると、 (cRx、cRLIy) −((ox3−D/2)fl、cly3/l)となる。
If the three-dimensional coordinates of the circled point are (X3.Y3.Z3) and the three-dimensional coordinates of point P in the coordinate system centered on the circled point are (j x3. j Ly3. Z3), then the scope of point P is The center three-dimensional coordinates are (QX3
.. cLy3. Z3) −(J x3+X3. fl uya ten Y3. Z3)
becomes. Converting this scope center 3D coordinate to the right eye center 3D coordinate, dividing it by the parametric variable t, and converting it to xy coordinates (CRX, CRUV) on the right image sensor, (cRx, cRLIy) - ( (ox3-D/2)fl, cly3/l).

また、媒介変数℃は、円付き点の3次元座標のZを用い
て、 t−23/F と表される。
Further, the parametric variable °C is expressed as t-23/F using the three-dimensional coordinate Z of the circled point.

前記点Pを、円付き点からrrの距離の点という条件で
移動させれば、これに対応して、搬像素子上に指標円が
描かれる。
If the point P is moved on the condition that it is at a distance of rr from the circled point, a corresponding index circle is drawn on the image carrier element.

また、前記11ffl像素子上のxy座標を画面上のX
y座標に変換することによって、画面上に指標円が描か
れる。
Also, the xy coordinates on the 11ffl image element are set to
By converting to the y coordinate, an index circle is drawn on the screen.

以上のような原理を用いた前記Rqc i rce()
について、第25図を用いて説明する。
The Rqc i rce() using the above principle
This will be explained using FIG. 25.

このルーチンでは、親ルーチン(pointm)から引
き渡された3次元圧a(x3.y3.z3)及び円の半
径rrを引数とする。
This routine takes as arguments the three-dimensional pressure a (x3.y3.z3) and the radius rr of the circle passed from the parent routine (pointm).

このルーチンが開始すると、まず、810−1で、z3
/Fを媒介変数tとする。
When this routine starts, first, in 810-1, z3
Let /F be the parameter t.

次に、810−2で、−1,0xrrを41 x3.!
:し、0をjtJ1/3とする。づなわち、指標円の左
端の点の、円付き点を中心したX、y座標を求める。
Next, at 810-2, -1,0xrr is set to 41x3. !
: and let 0 be jtJ1/3. That is, find the X and y coordinates of the leftmost point of the index circle, centered on the circled point.

次に、810−3で、X3−111X3をgx3とし、
y3−I LIy3をoLJy3とする。t ナワチ、
前記左端の点の座標をスコープ中心座標に変換する。
Next, in 810-3, set X3-111X3 to gx3,
Let y3-I LIy3 be oLJy3. T Nawachi,
The coordinates of the leftmost point are converted to scope center coordinates.

次に、810−4F、(ax3−D/ 2 ) / t
をCRXとし、Q U V3/ tをcRUyとする。
Next, 810-4F, (ax3-D/2)/t
Let CRX be CRX, and Q U V3/t be cRUy.

すなわち、前記左端の点を右撮像素子上の点に変換する
That is, the left end point is converted to a point on the right image sensor.

次に、5IO−5T−1cRxxR8X/5IZEX+
 (R3X/2+5XR)を演算し、これを右画面上の
X座標dRxとする。
Next, 5IO-5T-1cRxxR8X/5IZEX+
(R3X/2+5XR) is calculated and this is set as the X coordinate dRx on the right screen.

次に、810−6で、−1xcRUyXR8Y/S I
 ZEY+ (R8Y/2+5YR) を演lL、これ
を右画面上のy座標dRIJyとする。
Next, at 810-6, -1xcRUyXR8Y/S I
Let ZEY+ (R8Y/2+5YR) be the y coordinate dRIJy on the right screen.

前記510−5及び810−6は、第13図を参照して
説明したように、搬像素子上の位置を画面上の位置に変
換するものである。
510-5 and 810-6 are for converting the position on the image carrier element to the position on the screen, as explained with reference to FIG.

次に、S’l0−7で、点(dRX、dRtJ/)を右
画面に書き込む。
Next, in S'l0-7, the point (dRX, dRtJ/) is written on the right screen.

このように、810−2ないし810−7では、指標円
の左端の点を右画面に書いている。
In this way, in 810-2 to 810-7, the leftmost point of the index circle is written on the right screen.

次に、310−8’T”、11 x3+S I ZEX
/R3Xを41 x3とする。すなわち、指標円上の点
のX座標を右に移動する。
Next, 310-8'T", 11 x3 + S I ZEX
/R3X is set to 41 x3. That is, the X coordinate of the point on the index circle is moved to the right.

次に、810−9で、(rr2−JIX32)l’2を
、前記41 x3に対応する指標円上の上側の点のy座
標jllJy3とし、−(r r2−J x32)I/
2を、前記1x3に対応する指標円上の下側の点のy座
標ρDV3とする。
Next, in 810-9, (rr2-JIX32)l'2 is set as the y coordinate jllJy3 of the upper point on the index circle corresponding to the 41 x3, and -(r r2-J x32)I/
2 is the y coordinate ρDV3 of the lower point on the index circle corresponding to 1×3.

次に、810−10で、x3+Jx3をGX3とし、y
3+jlLJy3をgLIy3とし、y3+J)Dy3
をoDy3とする。すなわち、前記指標円上の2点の座
標をスコープ中心座標に変換する。
Next, in 810-10, set x3+Jx3 to GX3, and y
3+jlLJy3 as gLIy3, y3+J)Dy3
Let be oDy3. That is, the coordinates of the two points on the index circle are converted into scope center coordinates.

次に、810−11で、(gx3−D/ 2 ) / 
tをcRxとし、gU y3/ tをcRUyとし、q
−DV3/ tをcRDyとする。すなわち、前記指標
円上の2点を右m像素子上の点に変換する。
Next, at 810-11, (gx3-D/2)/
Let t be cRx, gU y3/ t be cRUy, q
-DV3/t is cRDy. That is, the two points on the index circle are converted to points on the right m image element.

次に、810−12r、CRXXR8X/5IZEX+
 (R8X/2+5XR) を、dRxとする。
Next, 810-12r, CRXXR8X/5IZEX+
Let (R8X/2+5XR) be dRx.

次に、810−13F、−1XCRUVXR8Y/5I
ZEY+ (R3X/2+5XR)を、dRUyとする
Next, 810-13F, -1XCRUVXR8Y/5I
Let ZEY+ (R3X/2+5XR) be dRUy.

次に、810−14で、−1XCRD”)/XR8Y/
S I ZEY+ (R8Y/2+5YR)を、dRD
yとする。
Next, at 810-14, -1XCRD”)/XR8Y/
S I ZEY+ (R8Y/2+5YR), dRD
Let it be y.

すなわち、前記810−12ないし810−14で、搬
像素子上の位置を画面上の位置に変換する。
That is, in steps 810-12 to 810-14, the position on the image carrier element is converted to a position on the screen.

次に、810−15で、点(dRx、dRUy)及び点
(dRx、dR[)y)を右画面に書き込む。
Next, at 810-15, the points (dRx, dRUy) and (dRx, dR[)y) are written on the right screen.

次に、510−16で、Jx3+5IZEX/R8Xを
j x3とする。すなわち、指標円上の点のX座標を右
に移動する。
Next, in 510-16, Jx3+5IZEX/R8X is set to jx3. That is, the X coordinate of the point on the index circle is moved to the right.

次に、810−17r、fJx3<rrt−判定スル。Next, 810-17r, fJx3<rrt-judgment successful.

YESの場合、すなわち、指標円上の点が右端に達して
いない場合には、前記510−9に戻る。
If YES, that is, if the point on the index circle has not reached the right end, the process returns to step 510-9.

一方、NOの場合、すなわち、指標円上の点が右端に達
している場合には、次の5IO−18へ進む。このよう
にして、指標円上の点が右端に達するまで、指標円上の
2点が左側から順に画面に書き込まれる。
On the other hand, if NO, that is, if the point on the index circle has reached the right end, the process advances to the next step 5IO-18. In this way, two points on the index circle are sequentially written on the screen from the left until the point on the index circle reaches the right end.

次に、前記810−18では、rrを1x3+!:L、
OをfJUy3とする。すなわち、指標円の右端の点の
、円付き点を中心したX、y座標を求める。
Next, in 810-18, rr is 1x3+! :L,
Let O be fJUy3. That is, the X and y coordinates of the rightmost point of the index circle, centered on the circled point, are determined.

次に、310−19ない駿5IO−23を行って終了す
る。前記810−19ないし510−23は、前記81
0−3ないし810−7と同じである。すなわち、81
0−19で右端の点の座標をスコープ中心座標に変換し
、810−20で右端の点をも搬像素子上の点に変換し
、810−21.810−22で!Ill素子上の位置
を画面上の位置に変換し、810−23で、点(dRx
、dRUy)を右画面に書き込む。
Next, 310-19 No Shun 5IO-23 is performed and the process ends. Said 810-19 to 510-23 are said 81
Same as 0-3 to 810-7. That is, 81
0-19 converts the coordinates of the rightmost point to scope center coordinates, 810-20 converts the rightmost point also to a point on the image carrier, and 810-21.810-22! The position on the Ill element is converted to the position on the screen, and at 810-23, the point (dRx
, dRUy) on the right screen.

このように、810−18ないし810−23では、指
標円の右端の点を右画面に書いている。
In this way, in steps 810-18 to 810-23, the rightmost point of the index circle is written on the right screen.

このようにして指標円が表示された右画面の例を第15
図に示1゜ 尚、このRgCi rc I eが、第6図における指
標円表示手段155を実現する。
An example of the right screen where the indicator circle is displayed in this way is shown in the 15th example.
Note that this RgCircIe realizes the index circle display means 155 in FIG. 6.

以上説明したように、本実施例によれば、右画面上で計
測対象点を指定すると、左画面における計測対象点の位
置条件が演算され、左画面上においてその計測対象点が
あるべき位置を示す線、すなわち、案内線が表示される
。従って、左画面では、この案内線上で対象点を指定す
ることにより、測定したい対象が明瞭な特徴点を持たな
い場合にも、正確に対象点の位置指定を行うことができ
、それにより正確な測距及び測長を行うことができる。
As explained above, according to this embodiment, when a measurement target point is specified on the right screen, the position condition of the measurement target point on the left screen is calculated, and the position where the measurement target point should be on the left screen is calculated. A guide line is displayed. Therefore, on the left screen, by specifying the target point on this guide line, even if the target to be measured does not have clear feature points, you can accurately specify the position of the target point. It is possible to measure distance and length.

また、本実施例では、カーソル操作手段であるマウス1
45は、初めに、切換手段150によって、右画面用の
カーソル表示手段151Rに動作的に連結され、このと
き初めて、右画面に点指定のためのカーソルが表示され
る。右画面での点指定を確定すると、右画面から点指定
のための動カーソル、指定カーソルが消去され、次いで
、前記マウス145は、前記カーソル表示手段151R
とのI!結が解除され、切換手段150によって、左画
面用のカーソル表示手段151Lに動作的に連結され、
このとき初めて、左画面に点指定のためのカーソルが表
示される。左画面での点指定を確定すると、左画面から
点指定のための動カーソル、指定カーソルが消去される
。従って、1つのカーソル操作手段(マウス145)で
、左右両画面上のカーソルの移動及び点の指定を容易に
行うことができる。しかも、カーソル表示手段151R
,151Lは、マウス145に動作的に連結されて初め
て画面に点指定のためのカーソルを表示させるので、ど
ちらの画面においてカーソルが移動され、点指定が可能
なのかが、−目で判り、操作性が良い。
In addition, in this embodiment, a mouse 1 serving as a cursor operation means is used.
45 is first operatively connected to the cursor display means 151R for the right screen by the switching means 150, and only then is a cursor for specifying a point displayed on the right screen. When the point designation on the right screen is confirmed, the moving cursor for point designation and the designated cursor are deleted from the right screen, and then the mouse 145 is moved to the cursor display means 151R.
I with! The connection is released and the switch is operatively connected to the left screen cursor display means 151L by the switching means 150.
At this time, a cursor for specifying a point is displayed on the left screen for the first time. When the point designation on the left screen is confirmed, the moving cursor and designated cursor for point designation are deleted from the left screen. Therefore, it is possible to easily move the cursor and specify points on both the left and right screens using one cursor operating means (mouse 145). Moreover, the cursor display means 151R
, 151L displays a cursor for specifying a point on the screen only after it is operatively connected to the mouse 145, so you can visually see which screen the cursor is moving on and which point can be specified. Good sex.

また、本実施例では、右画面に、計測の結果を用いて、
対象物までの距離に応じた大きさの2次元的な指標であ
る指標円を表示することができる。
In addition, in this example, the measurement results are displayed on the right screen.
An index circle, which is a two-dimensional index whose size corresponds to the distance to the target object, can be displayed.

従って、前記指標円と比較することにより、対象物の大
きさが目視で判る。また、この2次元的な指標と比較す
ることにより、対象物の縦の大きざと横の大きさの関係
が判る。
Therefore, by comparing it with the index circle, the size of the object can be visually determined. Also, by comparing with this two-dimensional index, the relationship between the vertical size and the horizontal size of the object can be determined.

次に、本実施例の4つの変形例について説明する。Next, four modified examples of this embodiment will be described.

第26図及び第27図は第1変形例の動作を説明するた
めのフローチャートである。
FIGS. 26 and 27 are flowcharts for explaining the operation of the first modification.

本例は、左画面において、案内輪以外の点を指定した場
合に、3次元座標を計nせずに、野告を発するようにし
た例である。
In this example, when a point other than the guide wheel is specified on the left screen, a wild accusation is issued without calculating the three-dimensional coordinates.

まず、第26図を用いて、paintloについて説明
する。
First, paintlo will be explained using FIG. 26.

本例におけるpaintlは、このルーチンが開始して
から、811−1ないし811−7は、第20図に示す
実施例におけるpaintlの85−1ないし85−7
と全く同じである。本例では、811−7の1−m0V
ecurの後に、511−8で、checkgu id
e Oというサブルーチンを行う。このルーチンは、各
画面で指定された点の座標(S  Rx1. S  R
yl、 S  Lxl。
811-1 to 811-7 are 85-1 to 85-7 of paintl in the embodiment shown in FIG. 20 after this routine starts.
is exactly the same. In this example, 1-m0V of 811-7
After ecur, 511-8, checkgu id
Execute a subroutine called eO. This routine calculates the coordinates (S Rx1. S R
yl, S Lxl.

S  Lyl)を引数として、左画面で指定された点が
案内線上にあるか否かのチエツクを行うものであり、案
内線上にある場合は1が、案内線上にない場合はOが、
flQに代入される。前記checkgu t de 
()は、第27図に示している。
S Lyl) is used as an argument to check whether the point specified on the left screen is on the guide line.If it is on the guide line, 1 is returned, and if it is not on the guide line, O is returned.
It is assigned to flQ. The checkgut de
() is shown in FIG.

次に、811−9で、floを判定する。Oの場合は、
811〜10で、左指定点が案内線上にないという警告
を発し、311−7へ戻る。すなわち、左画面での点の
指定を再度行う。一方、flgが1の場合は、311−
11へ進み、案内線を消す。
Next, in 811-9, flo is determined. In case of O,
At steps 811-10, a warning is issued that the designated left point is not on the guide line, and the process returns to 311-7. That is, the point on the left screen is specified again. On the other hand, if flg is 1, 311-
Go to 11 and erase the guide line.

そして、前記511−12ないし811−16を行って
、終了する。尚、前記5ll−12ないし811−16
は、第20図に示す実施例におけるpointlの55
−8ないし85−13と全く同じである。
Then, steps 511-12 to 811-16 are performed, and the process ends. In addition, the above-mentioned 5ll-12 to 811-16
is pointl 55 in the example shown in FIG.
-8 to 85-13.

尚、本例におけるpaint2は、図示しないが、第2
6図に示すpaintlと基本的に同じものであり、点
1と点2に関する記述(座標を含む)を入れ替えたもの
である。
Note that paint2 in this example is the second
This is basically the same as paintl shown in Fig. 6, but the descriptions (including coordinates) regarding points 1 and 2 are exchanged.

尚、円付き点の指定の際にも、前記paint1と同様
に、案内線上に左指定点がない場合に?)告を発するこ
とも考えられるが、その場合には、po i n tm
k:オイT、前記511−8ないし511−10と同様
のステップを追加すれば良い。
Also, when specifying a point with a circle, as in Paint 1 above, what if there is no left specified point on the guide line? ) It is also possible to file a complaint, but in that case, po in tm
k: Oi T, just add the same steps as 511-8 to 511-10 above.

次に、第27図を用いて、前記checkguideN
を説明する。
Next, using FIG. 27, the checkguideN
Explain.

このルーチンでは、親ルーチン(pointlやpo+
nt2等)から引き渡された右画面の指定点のxy座標
及び右画面の指定点のxy座標(Rx、Ry、Lx、L
y)を引数とする。
This routine uses parent routines (pointl, po+
nt2 etc.) and the xy coordinates of the specified point on the right screen (Rx, Ry, Lx, L
y) as an argument.

このルーチンが開始すると、まず、812−1で、Ry
=Lyで、且つ、RX<LX≦SXL+R8Xを判定す
る。すなわち、左指定点(Lx。
When this routine starts, first, at 812-1, Ry
=Ly and determines that RX<LX≦SXL+R8X. That is, the left designated point (Lx).

Ly)が、(Rx、Ry)を最左点とする案内線上にの
っているかを判定する。YESの場合は、812−2で
、親ルーチンへの戻り値を1とし、Noの場合は、51
2−3で、親ルーチンへの戻り値をOとして終了する。
Ly) is on the guide line whose leftmost point is (Rx, Ry). If YES, 812-2 sets the return value to the parent routine to 1; if NO, 51
In step 2-3, the return value to the parent routine is set to O and the process ends.

このように、本変形例によれば、左画面では案内線上で
しか点を指定できないので、対象点を鐙実に特定でき、
正確な測距及び測長を行うことができる。
In this way, according to this modification, since points can only be specified on the guide line on the left screen, the target point can be specified in the stirrup,
Accurate distance measurement and length measurement can be performed.

第28図及び第29図は第2変形例の動作を説明するた
めのフローチャートである。
FIGS. 28 and 29 are flowcharts for explaining the operation of the second modification.

本例は、左画面において、案内線以外にはカーソルが動
かないようにした例である。
In this example, the cursor is prevented from moving anywhere other than the guide line on the left screen.

まず、第28図を用いて、l、movecur()につ
いて説明する。
First, l, movecur() will be explained using FIG. 28.

本例におけるLmovecurでは、まず、513−1
で、対象画面を左画面に設定する。次に、813−2な
いし813−4を行うが、これは、第22図に示すRm
ovecurにおける7−2ないし57−4と同じであ
る。
In Lmovecur in this example, first, 513-1
Set the target screen to the left screen. Next, steps 813-2 to 813-4 are performed, which corresponds to Rm shown in FIG.
Same as 7-2 to 57-4 in overcur.

次に、814−5で、Loetcur Oというサブル
ーチンを行う。このルーチンは、右画面での指定点の座
標(S  Rx、S  RV)を基に、左画面での動カ
ーソルの位置を案内線上へ直すものであり、結果のxy
座標を新勤カーソルの位置とする。
Next, at 814-5, a subroutine called Loetcur O is performed. This routine repositions the moving cursor on the left screen to the guide line based on the coordinates (S Rx, S RV) of the specified point on the right screen, and displays the resulting xy
Set the coordinates as the position of the new employee cursor.

次に、813−6ないし813−16を行って終了する
が、これは、第22図に示すRmovecurにおける
7−6ないし87−16と同じである。
Next, steps 813-6 to 813-16 are performed and the process ends, which is the same as steps 7-6 to 87-16 in Rmovecur shown in FIG.

次に、第29図を用いて、前記L(JetCLJrOを
説明Jる。
Next, the L(JetCLJrO) will be explained using FIG.

このルーチンでは、親ルーチン(Lmovecur)か
ら引き渡された右画面上の指定点のxy座標(Rx、R
y)を引数とする。
This routine uses the xy coordinates (Rx, R
y) as an argument.

このルーチンが開始すると、まず、814−1で、マウ
ス145により左画面のカーソルの位置を得て、そのX
座標をlxに代入する。
When this routine starts, first, in 814-1, the position of the cursor on the left screen is obtained using the mouse 145, and the
Substitute the coordinates into lx.

次に、814−2で、Lx<Rxを判定する。Next, in 814-2, it is determined whether Lx<Rx.

ゴなわら、Lxが案内線の最左端よりも左側にあるか否
かを判定する。YESの場合は、514−3で、RXを
Lxに代入する。すなわち、Lxを案内線の最左端のX
座標とし、514−6へ進む。
However, it is determined whether Lx is to the left of the leftmost end of the guide line. If YES, RX is assigned to Lx in 514-3. In other words, Lx is the leftmost X of the guide line.
coordinates and proceed to 514-6.

一方、前記814−2がNoの場合は、514−4で、
SXL+R8X<Lxを判定する。すなわら、Lxが左
画面の最右端よりも右側にあるか否かを判定する。YE
Sの場合は、814−5で、SXL+R8Xをlxに代
入する。プなわら、LXを左画面の最右端のX座標とし
、814−6へ進む。一方、前記814−4がNoの場
合は、そのまま814−6へ進む。
On the other hand, if 814-2 is No, 514-4,
Determine whether SXL+R8X<Lx. That is, it is determined whether Lx is on the right side of the rightmost edge of the left screen. YE
In the case of S, SXL+R8X is assigned to lx in 814-5. Then, set LX as the X coordinate of the rightmost edge of the left screen, and proceed to 814-6. On the other hand, if 814-4 is No, the process directly proceeds to 814-6.

前記514−6では、RyをLyに移入する。In step 514-6, Ry is transferred to Ly.

すなわち、Lyを案内線のy座標する。That is, Ly is the y coordinate of the guide line.

次に、514−7で、(LX、Ly)を親ルーチンへの
戻り値とする。この(Lx、Ly)は、案内線上の点で
ある。
Next, in 514-7, (LX, Ly) is set as the return value to the parent routine. This (Lx, Ly) is a point on the guide line.

このように、本変形例によれば、左画面ではマウス14
5を2次元的に動かしても、X方向の移動情報のみをカ
ーソルの移動情報とし、また、カーソルの位置が案内線
から外れている場合には表示されるカーソルは案内線上
に移されるので、案内線上で、間違いなく点指定を行う
ことができる。
In this way, according to this modification, the mouse 14 is displayed on the left screen.
Even if you move 5 two-dimensionally, only the movement information in the X direction will be used as the cursor movement information, and if the cursor position is off the guide line, the displayed cursor will be moved onto the guide line. Points can be specified without fail on the guide line.

第30図ないし第37図は第3変形例に係り、第30図
は歪曲収差補正の原理説明図、第31図は左画面に表示
された案内線を示す説明図、第32図は右画面に表示さ
れた指標円を示す説明図、第33図ないし第37図は本
例の動作を説明するためのフローチャートである。
30 to 37 relate to the third modification, where FIG. 30 is an explanatory diagram of the principle of distortion aberration correction, FIG. 31 is an explanatory diagram showing guide lines displayed on the left screen, and FIG. 32 is an explanatory diagram of the right screen. 33 to 37 are flowcharts for explaining the operation of this example.

今までの例は、内視鏡の対物レンズ系の持つ歪曲数差を
無視したものであるが、本変形例は、案内線の表示、指
標円の表示、対象点の3次元座標を求めるのに、歪曲収
差の影響を考慮して、その補正を加えるものである。
The previous example ignored the difference in the number of distortions of the objective lens system of the endoscope, but this modification example shows the guide line, the index circle, and the three-dimensional coordinates of the target point. In addition, the effect of distortion is taken into account and correction is added.

まず、第30図を参照して、歪曲収差補正の原理につい
て説明する。
First, the principle of distortion aberration correction will be explained with reference to FIG.

第30図(a)に示すように、撮像素子上での歪曲収差
補正前の(歪曲収差の)影響を受けた場合での点の位置
を(cx、ay)とし、歪曲収差補正後の影響を受けな
い場合での点の位置を(dix、diy)とする。
As shown in FIG. 30(a), the position of the point before distortion correction on the image sensor is (cx, ay), and the effect after distortion correction is Let (dix, diy) be the position of the point when it is not affected.

歪曲収差の補正は、以下の関係式を基に行う。Correction of distortion aberration is performed based on the following relational expression.

vh=FO rh−Ftanθ ただし、vhは原点と(cx、cy)との距離、rhは
原点と(dix、diy)との距離、また、第30図(
b)に示すように、Fは焦点距離、θは結像手段の中心
と(dtx、dty>と通る直線と光軸のなす角である
vh=FO rh-Ftanθ However, vh is the distance between the origin and (cx, cy), rh is the distance between the origin and (dix, diy), and FIG.
As shown in b), F is the focal length, and θ is the angle formed by the optical axis and a straight line passing through the center of the imaging means and (dtx, dty>).

よって変換式は、以下の通りである。Therefore, the conversion formula is as follows.

歪曲収差補正の場合: vh −(cx2 +CV2 )l’2θ=vh/F rh=FX janθ 5−rh/vh d +  x=cxxs d  i  y−CyXS 逆歪曲収差補正の場合: rh= (d i x2 +d i y2 )L’2θ
=tan−1rh/F) vh−FXθ 5−vh/rh cx=d i xxs cy=d i yxs 次に、第33図を用いて、Igu ide Okmつい
て説明する。
In the case of distortion aberration correction: vh - (cx2 + CV2 ) l'2θ=vh/F rh=FX janθ 5-rh/vh d + x=cxxs d i y-CyXS In the case of reverse distortion aberration correction: rh= (d i x2 + d i y2 ) L'2θ
=tan-1rh/F) vh-FXθ 5-vh/rh cx=d i xxs cy=d i yxs Next, Iguide Okm will be explained using FIG. 33.

このLguideは、案内線を表示するルーチンである
が、歪曲収差を行うためには、画面上の座標を、−度、
撮像素子上の座標へ変換する必要がある。なぜならば、
画面上の座標は通常整数表現を用いているので、小数点
以下が表現できず、正確な補正ができない。そのため、
実数表現される搬像素子上座標へ座標変化した後に、歪
曲収差補正を行う。尚、座標変換については、第13図
を用いて説明した通りである。
This Lguide is a routine that displays a guide line, but in order to perform distortion aberration, the coordinates on the screen are - degrees,
It is necessary to convert to coordinates on the image sensor. because,
Since coordinates on the screen are usually expressed as integers, the decimal places cannot be expressed, making accurate correction impossible. Therefore,
After the coordinates are changed to the coordinates on the image carrier represented by real numbers, distortion aberration correction is performed. Note that the coordinate transformation is as explained using FIG. 13.

前記1−Quideでは、親ルーチンから引き渡された
右画面の指定点のxyX座標sdRx、5dRy)を引
数とする。このルーチンが開始すると、まず、815−
11’、(sdRx−(R3X/2+5XR))xs 
IZEX/R8Xを演算し、これを右指定点の撮像素子
上のX座標5cRxとする。
The above 1-Quide uses the xyX coordinates (sdRx, 5dRy) of the specified point on the right screen passed from the parent routine as an argument. When this routine starts, first 815-
11', (sdRx-(R3X/2+5XR))xs
IZEX/R8X is calculated, and this is set as the X coordinate 5cRx of the right designated point on the image sensor.

次に、515−2で、−(sdRy−(R3X/2+5
XR))xs I ZEY/R8Yを演算し、これを右
指定点のIi@素子上のy座標5cRyとする。
Next, at 515-2, -(sdRy-(R3X/2+5
XR)) xs I ZEY/R8Y is calculated and this is set as the y coordinate 5cRy of the right designated point on the Ii@element.

次に、815−3で、撮像素子上の座標(SCRX、5
cRy)を引数として、distot()というサブル
ーチンを行う。このルーチンは、歪曲収差補正を行うも
のであり、これにより、右II像素子上での歪曲収差の
影響を受けない場合のxyX座標sd i x、 sd
 i y)を得る。前記dstotは、第36図に示し
ている。
Next, at 815-3, the coordinates (SCRX, 5
A subroutine called distot() is executed using cRy) as an argument. This routine performs distortion aberration correction, and thereby the xyX coordinates sd i x, sd when not affected by distortion on the right II image element.
i y) is obtained. The dstot is shown in FIG.

次に、815−4で、前記(sd i x、 5dy)
を引数として、1nvdistOというサブルーチンを
行う。このルーチンは、逆歪曲収差補正を行うものであ
り、これにより、左撮像素子上での歪曲収差の影響を受
けた場合の案内線の最左端のxyX座標CLX、CLy
)を得る。前記1nvdistは、第37図に示してい
る。尚、前記815 4では、歪曲収差の影響をとった
右指定点と案内線の最左端の座標は等しくなることを用
いている。
Next, at 815-4, the (sd i x, 5dy)
A subroutine called 1nvdistO is executed with ``1nvdistO'' as an argument. This routine performs inverse distortion aberration correction, and thereby, the xyX coordinates CLX, CLy of the leftmost end of the guide line when affected by the distortion aberration on the left image sensor.
). The 1nvdist is shown in FIG. Note that 8154 uses the fact that the coordinates of the right designated point and the leftmost end of the guide line, which are affected by distortion, are equal.

次に、515−5T−1cLxxR3X/S 12EX
+ (R8X/2+5XL) を、dlxとす6゜すな
わち、左撮像素子上のX座標を左画面上のX座標に変換
する。
Next, 515-5T-1cLxxR3X/S 12EX
+ (R8X/2+5XL) is dlx by 6 degrees, that is, the X coordinate on the left image sensor is converted to the X coordinate on the left screen.

次に、815−6で、dlx≦(R8X+5XL)を判
定する。すなわち、dLxが左画面の右端に達していな
いかを判定する。YESの場合は、次の815−7ない
し815−9を行った後、515−10へ進み、Noの
場合は、そのまま515−10へ進む。
Next, in 815-6, it is determined whether dlx≦(R8X+5XL). That is, it is determined whether dLx has reached the right edge of the left screen. If YES, the process proceeds to 515-10 after performing the next steps 815-7 to 815-9, and if No, the process directly proceeds to 515-10.

前記815−7では、−1,0xcLyxR3Y/S 
(ZEY+ <R3X/2+5XR)lj−1dLlと
する。
In the above 815-7, -1,0xcLyxR3Y/S
(ZEY+ <R3X/2+5XR)lj-1dLl.

次に、515−8で、(dLx、dLV)を左画面に書
き込む。
Next, in 515-8, (dLx, dLV) is written on the left screen.

次に、815−9で、sd i x+S I ZEX/
R8Xを5dixとする。すなわち、撮像素子上の点の
X座標を最小単位だけ右に8動する。
Next, at 815-9, sd i x + S I ZEX/
Let R8X be 5dix. That is, the X coordinate of the point on the image sensor is moved to the right by the minimum unit by 8.

次に、前記815−10で、dLx≦(R3X+5XL
)を判定する。すなわち、dLxが左画面の右端に達し
ていないかを判定する。YESの場合は、前記816−
4へ戻り、案内線上の次の点を左画面に書き込む、NO
の場合は、終了する。
Next, at 815-10, dLx≦(R3X+5XL
) is determined. That is, it is determined whether dLx has reached the right edge of the left screen. If YES, the above 816-
Return to step 4 and write the next point on the guide line on the left screen, NO
If so, terminate.

このようにして左画面上に、歪曲収差補正を行った案内
線が表示される。この案内線が表示された左画面の例を
第31図に示す。
In this way, the guide line corrected for distortion is displayed on the left screen. FIG. 31 shows an example of the left screen on which this guide line is displayed.

次に、第34図を用いて、R(JCi rc l eo
について説明する。
Next, using FIG. 34, R(JCirc leo
I will explain about it.

このルーチンでは、親ルーチン(+)Oi n trn
)から引ぎ渡された3次元座標(X3.Y3.Z3)及
び円の半径rrを引数とする。
In this routine, the parent routine (+) Oi n trn
) and the radius rr of the circle are taken as arguments.

このルーチンが開始すると、まず、816−1で、Z3
/Fを媒介変数tとする。
When this routine starts, first, at 816-1, Z3
Let /F be the parameter t.

次に、816−2で、−1,0Xrrをj x3とし、
0をJLly3とする。すなわち、指標円の左端の点の
、円付き点を中心したx、y座標を求める。
Next, in 816-2, set -1,0Xrr to j x3,
Let 0 be JLly3. That is, the x and y coordinates of the leftmost point of the index circle centered on the circled point are determined.

次に、816−3で、×3−IX3をgx3とし、Y3
+jlUy3をouy3とする。すなわち、前記左端の
点の座標をスコープ中心座標に変換する。
Next, in 816-3, x3-IX3 is set to gx3, and Y3
Let +jlUy3 be ouy3. That is, the coordinates of the leftmost point are converted to scope center coordinates.

次に、316−4で、(Qx3−D/2)/lをdiR
xとし、gIJ V3/ tをdiRLIVとする。
Next, at 316-4, (Qx3-D/2)/l is diR
x and gIJ V3/t as diRLIV.

すなわち、前記左端の点を右搬像素子での歪曲収差の影
響を受けない場合でのxy座標に変換する。
That is, the left end point is converted to xy coordinates in the case where it is not affected by distortion in the right-hand image element.

次に、816−5で、(d i Rx、d i RU”
y)を引数として1nvdistを行い、右va像素子
上での歪曲収差の影響を受けた場合のxy座標(cRx
、cRjJy)を得る。
Next, at 816-5, (d i Rx, d i RU”
y) as an argument, and calculate the xy coordinates (cRx
, cRjJy).

次に、516−6で、CRXXR8X/S IZEX+
 (R3X/2+5XR)を演算し、これを右画面上の
X座標dRxとする。
Next, with 516-6, CRXXR8X/S IZEX+
(R3X/2+5XR) is calculated and this is set as the X coordinate dRx on the right screen.

次に、816−7r、−1,0xcRUVXR8Y/S
 IZEY+(R3X/2+5XR)を演算し、これを
右画面上のy座標dRUyとする。
Next, 816-7r, -1,0xcRUVXR8Y/S
Calculate IZEY+(R3X/2+5XR) and set this as the y coordinate dRUy on the right screen.

前記816−6及び816−7は、撮像素子上の位置を
画面上の位置に変換するものである。
The above 816-6 and 816-7 convert the position on the image sensor to the position on the screen.

次に、816−8で、点(dRx、dRLIV)を右画
面に書き込む。
Next, at 816-8, the point (dRx, dRLIV) is written to the right screen.

このように、816−2ないし816−8では、歪曲収
差の影響を受けた場合の指標円の左端の点を右画面に書
いている。
In this way, in 816-2 to 816-8, the left end point of the index circle when affected by distortion is drawn on the right screen.

次に、816−9で、41 x3+S I ZEX/R
8Xをj X3とし、指標円上の点のX座標を右に移動
する。
Next, at 816-9, 41 x3 + S I ZEX/R
Set 8X to jX3 and move the X coordinate of the point on the index circle to the right.

次に、816−10で(rr2−j x32 )’2ヲ
、前記」×3に対応する指標円上の上側の点のy座標j
lJy3とし、−(r r2−(J x32 )I/2
を、前記1x3に対応する指標円上の下側の点のy!標
JDV3とする。
Next, in 816-10, (rr2-j
Let lJy3 be −(r r2−(J x32 )I/2
y! of the lower point on the index circle corresponding to 1x3 above! The name shall be JDV3.

次に、Sl 6−11で、X3+JX3をgx3とし、
Y3+ρt13をgUy3とし、Y3+1lDy3をQ
Dy3とする。すなわち、前記指標円上の2点の座標を
スコープ中心座標に変換する。
Next, in Sl 6-11, set X3 + JX3 to gx3,
Y3+ρt13 is gUy3, Y3+1lDy3 is Q
Let it be Dy3. That is, the coordinates of the two points on the index circle are converted into scope center coordinates.

次に、816−12で、(gx3−D/2)/lをdi
Rxとし、Q U y3/ tをdiRUVとし、Q 
D V3/ tをdiRDVとする。すなわち、前記指
標円上の2点を右撮像素子での歪曲収差の影響を受けな
い場合でのxy座標に変換する。
Next, at 816-12, (gx3-D/2)/l is di
Rx, Q U y3/t as diRUV, Q
Let DV3/t be diRDV. That is, the two points on the index circle are converted into xy coordinates in the case where they are not affected by distortion in the right image sensor.

次に、816−13で、(d i Rx、 d i R
LJy)、(d iRx、d 1RDy)を引数として
、それぞれt nvd i s tを行い、右撤像素子
上での歪曲収差の影響を受けた場合の×y座標(CRU
x、cRUy)、(cRDx、cRDy)を得る。
Then, at 816-13, (d i Rx, d i R
Perform t nvd i s t with LJy), (d iRx, d 1RDy) as arguments, and calculate the xy coordinate (CRU
x, cRUy), (cRDx, cRDy) are obtained.

次に、816−14で、cRUxXR8X/5IZEX
+ (R8X/2+5XR)を、dRUxとする。
Next, at 816-14, cRUxXR8X/5IZEX
+ (R8X/2+5XR) is dRUx.

次に、816−15で、−1xcRLlyxR8Y/S
 IZEY+ (R8Y/2+5YR)を、dRUyと
する。
Then, at 816-15, -1xcRLlyxR8Y/S
Let IZEY+ (R8Y/2+5YR) be dRUy.

次に、816−16で、cRDxxR8X/SI ZE
X+ (R8X/2+5XR) を、dRDXとする。
Next, at 816-16, cRDxxR8X/SI ZE
Let X+ (R8X/2+5XR) be dRDX.

次に、816−17で、−1xcRDyxR8Y/SI
 ZEY+ (R8Y/2+5YR)を、dRDVとす
る。
Then, at 816-17, -1xcRDyxR8Y/SI
Let ZEY+ (R8Y/2+5YR) be dRDV.

前記516−14ないし816−17では、撮像索子上
の位置を画面上の位置に変換する。
In steps 516-14 to 816-17, the position on the imaging probe is converted into a position on the screen.

次に、816−18で、点(dRLlx、dRLly)
及び点(dRUx、dRDy)を右画面に書き込む。
Then, at 816-18, the point (dRLlx, dRLly)
and write the points (dRUx, dRDy) on the right screen.

次に、816−19で、jx3+s!ZEX/R5xを
j x3とする。すなわち、指標円上の点のX座標を右
に移動する。
Next, at 816-19, jx3+s! Let ZEX/R5x be j x3. That is, the X coordinate of the point on the index circle is moved to the right.

次に・、816−20で、J X3< r rを判定す
る。
Next, at 816-20, it is determined whether JX3<rr.

YESの場合、すなわち、指標円上の点が右端に達して
いない場合には、前記816−10に戻る。
If YES, that is, if the point on the index circle has not reached the right end, the process returns to 816-10.

一方、Noの場合、すなわら、指標円上の点が右端に達
している場合には、次の816−21へ進む。このよう
にして、指標円上の点が右端に達するまで、歪曲収差の
影響を受けた場合の指標円上の2点が左側から順に画面
に書き込まれる。
On the other hand, in the case of No, that is, if the point on the index circle has reached the right end, the process advances to the next step 816-21. In this way, two points on the index circle affected by distortion are sequentially written on the screen from the left until the point on the index circle reaches the right end.

次に、前記816−21Fは、rrをj x3とし、0
をJ)jl■3とする。ずなわち、指標内の右端の点の
、円付き点を中心した×、y座標を求める。
Next, the above 816-21F sets rr to j x3 and 0
Let J)jl■3. That is, the x and y coordinates of the rightmost point within the index, centered around the circled point, are determined.

次に、816−22ないし816−27を行って終了す
る。前記316−22ないし516−27は、前記31
6−3ないし816−8と同じである。すなわち、右端
の点の座標をスコープ中心座標に変換し、右撮像素子上
の点に変換し、歪曲収差の影響を受けた場合の座標に変
換し、更に、両面上の位置に変換し、点(dRx、dR
Uy)を右画面に書き込む。
Next, steps 816-22 to 816-27 are performed and the process ends. Said 316-22 to 516-27 are said 31
6-3 to 816-8. In other words, the coordinates of the rightmost point are converted to scope center coordinates, converted to a point on the right image sensor, converted to coordinates affected by distortion, further converted to a position on both sides, and then converted to a point on the right image sensor. (dRx, dR
Write Uy) on the right screen.

このように、816−21ないし316−27では、指
標内の右端の点を右画面に書いている。
In this way, in 816-21 to 316-27, the rightmost point within the index is written on the right screen.

このようにして歪曲収差補正を行った指標内が表示され
る。この指標内が表示された右画面の例を第32図に示
す。
The inside of the index for which distortion aberration has been corrected in this manner is displayed. FIG. 32 shows an example of the right screen displaying this index.

次に、第35図を用いて、3dpOintに)について
説明する。
Next, using FIG. 35, 3dpOint) will be explained.

このルーチンでは、親ルーチン(pointlやpoi
ntm等)から引き渡された右画面の指定点のxy座標
(RX、RV)及び左画面の指定点のxy座標(Lx、
Ly)を引数とする。
This routine uses parent routines (pointl, poi
The xy coordinates (RX, RV) of the specified point on the right screen and the xy coordinates (Lx, RV) of the specified point on the left screen passed from the
Ly) is taken as an argument.

このルーチンの317−1ないし817−4は、第24
図に示t3d po i n t Nにおける59−1
ないし59−4と同じである。すなわち、左右各画面上
の位置を撮像素子上の位置に変換している。尚、ここで
得られる撮像索子上の座標は歪曲収差の影響を受けたも
のである。
317-1 to 817-4 of this routine are the 24th
59-1 at t3d po int N shown in the figure.
to 59-4. That is, the positions on the left and right screens are converted to positions on the image sensor. Note that the coordinates on the imaging probe obtained here are affected by distortion aberration.

次に、817−5で、(cRx、cRy)。Then, at 817-5, (cRx, cRy).

(cLx、c I y)を引数として、それぞれdis
totを行い、撮像素子上で歪曲収差の影響がない場合
のxy座411(d iRx、d 1Ry)。
(cLx, c I y) as arguments, dis
xy constellation 411 (d iRx, d 1Ry) when tot is performed and there is no effect of distortion on the image sensor.

(d i Lx、 d i Ly) ヲ得ル。(d i Lx, d i Ly) Obtain.

次に、817−6で、d i RX+d i lxを判
定する。Noの場合は、対象点が無限遠の場合であり、
この場合は終了する。一方、YESの場合は、817−
7で、D/ (d i L x−d + Rx)を演算
し、媒介変数tとする。
Next, at 817-6, d i RX+d i lx is determined. If No, the target point is at infinity,
In this case, the process ends. On the other hand, if YES, 817-
In step 7, D/(d i L x−d + Rx) is calculated and set as a parameter t.

次に、817−8で、txd i Rx+D/2をXと
し、txdiRyをYとし、tXF8Zとして、対象点
の3次元座標を求め、この3次元座標(X、Y、Z)を
親ルーチンへの戻り値として、終了する。
Next, in 817-8, the three-dimensional coordinates of the target point are determined by setting txd i Rx+D/2 to The return value is exit.

このようにして、歪曲収差補正を行った対象点の3次元
座標が求められる。
In this way, the three-dimensional coordinates of the target point for which the distortion aberration has been corrected are determined.

次に、第36図を用いて、前記distotOについて
説明する。
Next, the distotO will be explained using FIG. 36.

このルーチンでは、親ルーヂン(ltjuldeや3d
point)から引き渡された撮像素子上での歪曲収差
の影響を受けた場合の位置(CX。
In this routine, the parent routine (ltjulde, 3d
position (CX) when affected by distortion aberration on the image sensor transferred from point).

cy)を引数とする。cy) as an argument.

まず、818−1で(cx2 +cy2 )I/2をv
hとする。次に、818−2でvh/Fをradとする
。次に、818−3でFXtan (rad)をrhと
Jる。次に、818−4でr h/v hをSとする。
First, with 818-1, (cx2 +cy2) I/2 is v
Let it be h. Next, in 818-2, vh/F is set to rad. Next, 818-3 sets FXtan (rad) to rh. Next, rh/v h is set to S in 818-4.

次に、318−5でcxxsをdixとし、cyxsを
diyとする。そして、歪曲収差補正後の位置(cti
X、diy>を親ルーチンへの戻り値として終了する。
Next, in 318-5, cxxs is set to dix and cyxs is set to diy. Then, the position after distortion aberration correction (cti
The routine ends with X, diy> as the return value to the parent routine.

前記各ステップは、第30図を用いて説明した変換式を
実行している。
Each of the steps described above executes the conversion formula explained using FIG.

次に、第37図を用いて、前記1nvdistOについ
て説明する。
Next, the 1nvdistO will be explained using FIG. 37.

このルーチンでは、親ルーチン(Lgu ideやRQ
C: i rc l e)から引き渡された陽像素子上
での歪曲収差の影響を受けない場合の位置(dix、d
iy)を引数とする。
In this routine, parent routines (L guide and RQ
C: Position (dix, d
iy) as an argument.

まず、819−1で<d ix2 +d iy2 )L
/2をrhとする。次に、319−2でtan−1(r
h/F ’)をradとする。次に、819−3でFx
radをvhとする。次に、819−4でvh/rhを
Sとする。次に、819−5でdixxSをcxとし、
d+ yxsをcyとする。そして、逆歪曲収差補正後
の位置(cx、ay)を親ルーチンへの戻り値として終
了する。前記各ステップは、第30図を用いて説明した
変換式を実行している。
First, in 819-1 <d ix2 +d iy2 )L
/2 is rh. Next, tan-1(r
h/F') is rad. Next, Fx at 819-3
Let rad be vh. Next, vh/rh is set to S in 819-4. Next, in 819-5, set dixxS to cx,
Let d+yxs be cy. Then, the position (cx, ay) after inverse distortion correction is used as a return value to the parent routine, and the process ends. Each of the steps described above executes the conversion formula explained using FIG.

この第3変形例におけるLqu ide、RQci r
c I e、3dpo i ntを、それぞれ、第23
図、第25図、第24図に示すものと入れ替えることに
より、案内線の表示、指標円の表示、対象点の3次元座
標を求める場合に歪曲収差補正が可能となる。その他の
ルーチンは、第2実施例と同様である。
Lqu ide, RQci r in this third modification
cIe, 3dpoint, respectively, at the 23rd point.
25 and 24, it becomes possible to correct distortion aberration when displaying a guide line, displaying an index circle, and determining three-dimensional coordinates of a target point. The other routines are the same as in the second embodiment.

第38図及び第39図は第4変形例の動作を説明するた
めのフローチャートである。
FIGS. 38 and 39 are flowcharts for explaining the operation of the fourth modification.

第2実施例及びその第1ないし第3変形例の場合には、
R,G、Bの各メモリが複数組ある場合を説明してきた
。この場合、カーソルは、画像が書かれているRGBの
メモリとは異なるRGBのメモリに書き込まれ、後で足
し合わされることになる。 これに対し、第4変形例は
、RGBの各メモリが1組しかない場合の例である。
In the case of the second embodiment and its first to third variations,
The case where there are multiple sets of R, G, and B memories has been described. In this case, the cursor will be written to an RGB memory different from the RGB memory in which the image is written, and will be added together later. On the other hand, the fourth modification is an example in which there is only one set of each RGB memory.

この場合、カーソルは、画像が書かれているRGBのメ
モリの上に、カーソル部分の画像を消して書き込まれる
ことになり、ただカーソルを書いたのでは、カーソル部
分の画像が失われることになる。
In this case, the cursor will be written on top of the RGB memory where the image is written, erasing the image at the cursor, and if you just write the cursor, the image at the cursor will be lost. .

そこで、本例では、カーソルを書く前には、カーソル部
分の画像を待避させておいて、カーソルを消すときには
、待避させてあった画像を復帰させることによって、カ
ーソル部分の画像が失われないようにしている。
Therefore, in this example, before writing the cursor, save the image at the cursor, and when erasing the cursor, restore the saved image so that the image at the cursor is not lost. I have to.

まず、第38図を用いてpaintlOを説明する。First, paintlO will be explained using FIG. 38.

このルーチンが開始すると、まず、820−1で、点1
が指定されているか否かを判定する。NOの場合は、そ
のまま820−8へ進み、YESの場合は、820−2
ないし820−7を行った後、520−8へ進む。
When this routine starts, first, the point 1 is 820-1.
Determine whether or not is specified. If NO, proceed directly to 820-8; if YES, proceed to 820-2
After performing steps 820-7 to 820-7, the process proceeds to 520-8.

前記820−1でYESの場合は、まず、520−2で
、左右各画面において点1カーソル部分の待避してあっ
た画像を復帰させる。次に、520−3で、点2が指定
されているか否かを判定し、YESの場合は、820−
4で左右各画面において点2カーソルを書き込んだ後3
20−5へ進み、Noの場合は、そのまま820−5へ
進む。520−5では、円付き点が指定されているか否
かを判定し、YESの場合は、520−6で左右各画面
において円付き点カーソルを書き込んだ後520−7へ
進み、NOの場合は、そのまま8207へ進む。820
−7では、点1を無指定状態に戻し、前記820−8へ
進む。
If YES in step 820-1, first, in step 520-2, the saved image of the point 1 cursor portion on each of the left and right screens is restored. Next, in 520-3, it is determined whether point 2 is specified, and if YES, 820-
After writing the 2 point cursor on each screen on the left and right in 4, 3
Proceed to 20-5, and if No, proceed directly to 820-5. At 520-5, it is determined whether or not a circled point has been specified. If YES, the program moves to 520-7 after writing the circled point cursor on each of the left and right screens at 520-6. If NO, the process proceeds to 520-7. , proceed directly to 8207. 820
At -7, point 1 is returned to the unspecified state and the process proceeds to 820-8.

このように、点1が指定されている場合には、820−
2で、点1カーソル部分の待避してあった画像を復帰さ
せることによって、点1カーソルを消すわけであるが、
点1カーンルと、他の点2カーソルや円付き点カーソン
が近接している場合には、点1カーソルを消したことに
より、他のカーソルが塗りつぶされる可能性がある。そ
こで、他の点が指定されている場合には、520−4゜
820−6で、他の点のカーソルを新たに書き灯してい
る。
In this way, if point 1 is specified, 820-
In step 2, the point 1 cursor is erased by restoring the saved image of the point 1 cursor.
If the point 1 cursor is close to other point 2 cursors or circled point cursors, there is a possibility that the other cursors will be filled in by erasing the point 1 cursor. Therefore, if another point is specified, a cursor for the other point is newly lit at steps 520-4 and 820-6.

次に、前記320−8では、Rmovecurを行い、
右画面での指定点のxy座標を、(S−Rx1. S 
 Ryl)に得る。本例におけるRmo vecur(
)は第39図に示している。
Next, in 320-8, Rmovecur is performed,
The xy coordinates of the specified point on the right screen are (S-Rx1.S
Ryl). In this example, Rmo vecur (
) is shown in FIG.

次に、820−9で、点2は指定されているが否かを判
定し、YESの場合は、820−10で右画面において
点2カーソル部分の待避してあった画像を復帰させた後
820−11へ進み、N。
Next, in 820-9, it is determined whether point 2 has been specified or not, and if YES, in 820-10, after restoring the saved image of the point 2 cursor area on the right screen, Proceed to 820-11 and N.

の場合は、そのまま820−11へ進む。820−11
では、円付き点は指定されているが否かを判定し、YE
Sの場合は、820−12で右画面において円付き点カ
ーソル部分の待避してあった画像を復帰させた後820
−13へ進み、Noの場合は、そのまま820−13へ
進む。520−13では、右画面において点1カーソル
部分の画像を待避させる。そして、520−14で、右
画面において点1カーンルを書き込む。
If so, proceed directly to 820-11. 820-11
Now, determine whether the circled point has been specified or not, and return YE
In the case of S, after restoring the saved image of the circled dot cursor area on the right screen at 820-12,
Proceed to -13, and if No, proceed directly to 820-13. At 520-13, the image at the point 1 cursor portion is saved on the right screen. Then, at 520-14, point 1 is written on the right screen.

このように、点1カーソルを書き込む前に、S5−13
で点1カーソル部分の画像を待避させるのであるが、点
1カーソルと、他点(点21円付き点)が近接している
場合には、点1カーソル部分の画像を待避させる場合に
、他点のカーソルが含まれてしまう可能性がある。そこ
で、他点が指定されている場合には、520−10.8
20−12で、他点のカーソル部分の画像を復帰させて
いる。
In this way, before writing point 1 cursor, S5-13
The image of the point 1 cursor part is saved, but if the point 1 cursor and another point (point 21 with a circle) are close to each other, when saving the image of the point 1 cursor part, Point cursors may be included. Therefore, if another point is specified, 520-10.8
In step 20-12, the images of the cursor portions at other points are restored.

次に、520−15で、点2が指定されているか否かを
判定し、YESの場合は、520−16で右画面におい
て点2カーソルを書き込んだ後520−17へ進み、N
oの場合は、そのまま520−17へ進む。820−1
7では、円付き点が指定されているか否かを判定し、Y
ESの場合は、820−18で右画面において円付き点
カーソルを書き込んだ後820−19へ進み、NOの場
合は、そのまま820−19へ進む。
Next, in 520-15, it is determined whether or not point 2 is specified, and if YES, in 520-16, after writing the point 2 cursor on the right screen, the process proceeds to 520-17, and N
If o, proceed directly to 520-17. 820-1
In 7, it is determined whether a circled point is specified, and Y
In the case of ES, the process moves to 820-19 after writing a dot cursor with a circle on the right screen at 820-18, and in the case of NO, the process directly proceeds to 820-19.

前述のように、点1カーソル部分の画像を待避させる際
に、他点のカーソルを消してしまったので、前記320
−15ないし820−18で、右画面において新たにカ
ーソルを書き直している。
As mentioned above, when saving the image of the point 1 cursor part, the cursors of other points were erased, so the above 320
-15 to 820-18, a new cursor is rewritten on the right screen.

次に、S2S20−19T−1I i deを行い、右
画像中での指定点の座標(S  Rxl、 S  Ry
l)を基に案内線を書く。
Next, perform S2S20-19T-1I de, and calculate the coordinates of the designated point in the right image (S Rxl, S Ry
Draw a guide line based on l).

次に、820−20で、LmOVeCLIrを行い、左
画面での指定点のxy座標を、(ILXI。
Next, at 820-20, LmOVeCLIr is performed to obtain the xy coordinates of the designated point on the left screen (ILXI.

5−Lyl)に得る。5-Lyl).

次に、820−21で、案内線を消した後、520−2
2で、左右各画像中の指定点(S  RXI。
Next, at 820-21, after erasing the guide line, 520-2
2, the specified point in each left and right image (S RXI).

5−Ryl、 5−Lxl、 S  LVl)を引数と
して、3(jpointを行い、点1の3次元座標(S
−Xl、 S  Yl、 S  Zl) ヲ48ル。
Perform 3(jpoint) using 5-Ryl, 5-Lxl, S LVl) as arguments, and calculate the three-dimensional coordinates of point 1 (S
-Xl, S Yl, S Zl) wo48ru.

次に、5−23で、点2は指定されているか否かを判定
し、YESの場合は、820−24で左画面において点
2カーソル部分の待避してあった画像を復帰させた後8
20−25へ進み、NOの場合は、そのまま820−2
5へ進む。520−25では、円付き点は指定されてい
るか否かを判定し、YESの場合は、520−26で左
画面において円付き点カーソル部分の待避してあった画
像を復帰させた後520−27へ進み、NOの場合は、
そのまま520−27へ進む。520−27では、左画
面において点1カーソル部分の画像を待避させる。そし
て、520−28で、左画面において点1カーソルを書
き込む。
Next, in 5-23, it is determined whether or not point 2 has been specified, and if YES, in 820-24, the saved image of the point 2 cursor area is restored on the left screen, and then 8
Proceed to 20-25, if NO, continue to 820-2
Proceed to step 5. At step 520-25, it is determined whether the circled point has been specified or not, and if YES, at 520-26, the saved image of the circled point cursor area is restored on the left screen, and then at step 520-25. Proceed to step 27, if NO,
Proceed directly to 520-27. At 520-27, the image at the point 1 cursor portion is saved on the left screen. Then, at 520-28, a point 1 cursor is written on the left screen.

前記820−23ないし820−26では、520−9
ないし820−12で右画面に対して行ったことと同じ
理由で、左画面において点1カーソルを書き込む前に、
左画面において点1以外の点のカーソル部分の画像を復
帰させ、他点のカーソルを消している。
In the above 820-23 to 820-26, 520-9
For the same reason as what we did for the right screen in or 820-12, before writing the point 1 cursor on the left screen,
On the left screen, the images of the cursor portions at points other than point 1 are restored, and the cursors at other points are erased.

次に、820−29で、点2が指定されているか否かを
判定し、YESの場合は、820−30で左画面におい
て点2カーソルを書き込んだ後520−31へ進み、N
Oの場合は、そのまま520−31へ進む。820−3
1では、円付き点が指定されているか否かを判定し、Y
ESの場合は、820−32で左画面において円付き点
カーソルを書き込んだ後820−33へ進み、Noの場
合は、そのまま820−33へ進む。
Next, in 820-29, it is determined whether or not point 2 has been specified, and if YES, in 820-30, after writing the point 2 cursor on the left screen, the process advances to 520-31, and N
In the case of O, the process directly proceeds to 520-31. 820-3
1, it is determined whether a circled point is specified, and Y
In the case of ES, the process advances to 820-33 after writing a dot cursor with a circle on the left screen at 820-32, and in the case of No, the process directly advances to 820-33.

前記320−29ないし820−32では、520−1
5ないし820−18で右画面に対して行ったことと同
じ理由で、左画面において、点1以外の点のカーソルを
新たに書き直している。
In the above 320-29 to 820-32, 520-1
For the same reason as what was done for the right screen in steps 5 through 820-18, the cursors at points other than point 1 are rewritten on the left screen.

次に、820−33で、内視鏡先端から点1までの距離
を計算する。
Next, at 820-33, the distance from the endoscope tip to point 1 is calculated.

次に、820−34で、点2は指定されているか否かを
判定し、Noの場合は終了し、YESの場合は、820
−35で、点12点21iIの距離を計算して終了する
Next, at 820-34, it is determined whether point 2 is designated or not. If No, the process ends; if YES, 820-34
-35, calculate the distance between the points 12 and 21iI and end.

尚、本例におけるpaint2は、図示しないが、po
intlと括本的に同じものであり、点1と点2に関す
る記述(座標を含む)を入れ替えたものである。
Note that paint2 in this example is not shown, but is
It is essentially the same as intl, and the descriptions (including coordinates) regarding points 1 and 2 are exchanged.

また、po i ntmについても、paintlと同
様に、h−ツルを書く前にはカーソル部分の画像を待避
させ、カーソルを消すときには待避させてあった画像を
復帰させる。
Also, for pointm, as with paintl, the image at the cursor is saved before writing the h-curse, and the saved image is restored when the cursor is erased.

次に、第39図を用いてRmovecur Nを説明す
る。
Next, Rmovecur N will be explained using FIG. 39.

このルーチンが開始すると、まず、821−1で、対象
画面を右画面に指定する。
When this routine starts, first, in step 821-1, the target screen is designated as the right screen.

次に、821−2で、新動カーソルがあるか否か判定し
、Noの場合は、そのまま821−4へ進み、YESの
場合は、521−3を行った後、321−4へ進む。前
記321−3では、新動カーソルの位置を日動カーソル
の位置へ代入する。
Next, in 821-2, it is determined whether or not there is a new moving cursor. If No, the process directly proceeds to 821-4; if YES, the process proceeds to 321-4 after performing 521-3. In step 321-3, the position of the new dynamic cursor is assigned to the position of the daily dynamic cursor.

次に、前記321−4では、マウス145の位置情報か
ら、新肋カーソルの位置を得る。
Next, in step 321-4, the position of the new rib cursor is obtained from the position information of the mouse 145.

次に、321−5で、動カーソルは動いたか否かを判定
する。Noの場合は、そのまま521−10へ進み、Y
ESの場合は、521−6へ進み、日動カーソルはある
か否かを判定する。NOの場合は、そのまま521−8
へ進み、YESの場合は、521−7を行った後、52
1−8へ進む。
Next, at 321-5, it is determined whether the moving cursor has moved. If No, proceed directly to 521-10 and press Y.
In the case of ES, the process advances to 521-6, and it is determined whether or not there is a Nichido cursor. If NO, just go to 521-8
If YES, go to 521-7 and then 52
Proceed to 1-8.

前記521−7では、旧動カーソル部分の待避してあっ
た画像を復帰させる。
In step 521-7, the saved image in the old moving cursor area is restored.

次に、前記521−8で、新動カーソル部分の画像を待
避させ、次に、521−9で、新動カーソルを書き込む
Next, in step 521-8, the image of the new moving cursor is saved, and then, in step 521-9, the new moving cursor is written.

このように、521−2ないし521−9では、勅カー
ソルに関し、消去、書き込みを行って、勤カーソルを移
動させている。その際、カーソルを消去する場合には、
待避してあった画像を復帰させ、カーソルを書き込む場
合には、画像を待避させている。
In this way, in steps 521-2 to 521-9, erasing and writing are performed on the official cursor, and the official cursor is moved. At that time, if you want to erase the cursor,
When restoring a saved image and writing with the cursor, the image is saved.

次に、821−10で、マウス145のクリック1が入
ったか否かを判定し、Noの場合は、そのまま821−
18へ進み、YESの場合は、次の521−11ないし
821−17を行った後、321−18へ進む。前記8
21−10でYESの場合は、まず、821−11で、
新指定カーソルがあるか否かを判定し、Noの場合は、
そのまま821−13へ進み、YESの場合は、821
12を行った後、821−13へ進む。前記521−1
2では、新指定カーンルの位置を旧指定カーソルの位置
へ代入する。次に、前記521−13では、新動カーソ
ルの位置を新指定カーソルの位置へ代入する。
Next, in 821-10, it is determined whether or not click 1 of the mouse 145 has been entered, and if no, 821-10 is entered.
If the answer is YES, the process proceeds to 321-18 after performing the following steps 521-11 to 821-17. Said 8
If YES at 21-10, first dial 821-11,
Determine whether there is a new specified cursor, and if No,
Continue to 821-13, and if YES, 821
After performing step 12, proceed to step 821-13. Said 521-1
2, the position of the newly specified cursor is assigned to the position of the old specified cursor. Next, in step 521-13, the position of the new moving cursor is assigned to the position of the new specified cursor.

次に、521−14で、旧指定カーソルはあるか否かを
判定する。NOの場合は、そのまま521−16へ進み
、YESの場合は、521−15を行った後、521−
16へ進む。前記821−15では、旧指定カーソル部
分の待避してあった画像を復帰させる。
Next, in 521-14, it is determined whether there is an old specified cursor. If NO, proceed directly to 521-16; if YES, proceed to 521-15, then proceed to 521-16.
Proceed to step 16. In step 821-15, the saved image of the previously designated cursor area is restored.

次に、前記821−16で、新指定カーソル部分の画像
を待避させ、次に、821−17で、新指定カーソルを
書き込む。
Next, in step 821-16, the image of the newly designated cursor is saved, and then, in step 821-17, the new designated cursor is written.

このように、821−10ないし821−17では、ク
リック1が入った場合に、動カーソルの位置を指定カー
ソルとする。前述と同様に、カーソルを消去する場合に
は、待避してあった画像を復帰させ、カーソルを書き込
む場合には、画像を待避ざぜている。
In this way, in steps 821-10 to 821-17, when click 1 is entered, the position of the moving cursor is set as the designated cursor. Similarly to the above, when erasing the cursor, the saved image is restored, and when writing the cursor, the image is saved.

次に、821−18で、新指定カーソルがあり、マウス
145のクリック2が入ったか否かを判定し、NOの場
合は、前記821−2へ戻り、YESの場合は、321
−19へ進む。前記82118でNOの場合に821−
2へ戻ることにより、点指定を繰り返すことができるよ
うになっている。
Next, in 821-18, it is determined whether there is a newly specified cursor and click 2 of the mouse 145 has been made. If NO, the process returns to 821-2; if YES, 321
Proceed to -19. If NO in 82118, 821-
By returning to step 2, point designation can be repeated.

前記821−19では、新動カーソル部分の待避してあ
った画像を復帰させて新動カーソルを消し、次に、32
1−20で、新指定カーンル部分の待避してあった画像
を復帰させて新指定カーソルを消す。次に、821−2
1で、新指定カーソルの位置をカーソルの確定位置とし
て、親ルーチンへの戻り値とし、終了する。
At step 821-19, the saved image in the new moving cursor area is restored, the new moving cursor is erased, and then, at 32
At step 1-20, the saved image of the newly specified cursor is restored and the newly specified cursor is erased. Next, 821-2
1, the position of the newly designated cursor is set as the fixed cursor position, the return value is returned to the parent routine, and the process ends.

尚、本例におけるLmovecurは、図示しないが、
前記Rmovecurと基本的に同じものであり、右画
面ではなく左画面に対して処理を行うものである。
Although Lmovecur in this example is not shown,
This is basically the same as Rmovecur, and processes the left screen instead of the right screen.

このように、本変形例によれば、RGBの各メモリが1
組しかない場合でも、カーソル部分の画像が失われるこ
となく、h−ツルを表示させることができる。
In this way, according to this modification, each RGB memory has one
Even if there are only sets, the h-vine can be displayed without losing the image at the cursor portion.

尚、本発明は、上記実施例に限定されず、例えば、対象
点の指定は、2つに限らず、3つ以上であっても良い。
Note that the present invention is not limited to the above-described embodiment, and for example, the number of target points specified is not limited to two, but may be three or more.

また、各対象点を示すカーソルは、色で区別しても良い
し、形状で区別しても良い。
Furthermore, the cursors indicating each target point may be distinguished by color or shape.

また、対象点の指定は、左右画面のどちらが先でも良い
Further, the target point may be specified first on either the left or right screen.

また、撮像手段は、内視鏡の挿入部先端部に複数設けた
ものに限らず、挿入部内に、例えばファイババンドルよ
りなる複数の像伝達手段を設け、この像伝達手段の後端
に、複数の搬像手段を設けでも良い。また、挿入部の先
端部に、1つの搬像手段とを設け、これを移動すること
により、視差を有覆る複数の画像を撮像するようにして
も良い。
Furthermore, the imaging means is not limited to a plurality of imaging means provided at the distal end of the insertion section of the endoscope, but a plurality of image transmission means made of, for example, a fiber bundle are provided within the insertion section, and a plurality of imaging means are provided at the rear end of the image transmission means. An image carrying means may also be provided. Moreover, one image carrying means may be provided at the distal end of the insertion section, and by moving this, a plurality of images covering parallax may be captured.

また、左右各画像を1つのモニタの左右に表示り゛るよ
うにしても良い。
Furthermore, the left and right images may be displayed on the left and right sides of one monitor.

また、大きさの目安となる指標は、円に限らず、正方形
でも良いし、距離に応じた長さの線分等でも良い。
Further, the index serving as a guide for the size is not limited to a circle, but may be a square, or a line segment with a length depending on the distance.

[発明の効果] 以上説明したように本発明によれば、一つの画面上で対
象点を指定すると、他の画面上に案内線が表示されるの
で、測定したい対象が明瞭な特徴点を持たない場合にも
対象点の各画面上におtプる位置の指定を正確を行うこ
とが可能となるという効果がある。
[Effects of the Invention] As explained above, according to the present invention, when a target point is specified on one screen, a guide line is displayed on another screen, so that the target to be measured has clear feature points. Even if there is no target point, it is possible to accurately specify the position of the target point on each screen.

【図面の簡単な説明】[Brief explanation of drawings]

第1図ないし第5図は本発明の第1実施例に係わり、第
1図は本発明の計測用内視鏡装置の構成を示すブロック
図、第2図は立体内視鏡画像取込み装置の先端部を示1
図、第3図はカーソル情報指定手段の操作パネルを示す
図、第4図は動作画面の例を示す図、第5図は案内線の
位置と対象点の位置の算出方法の説明図、第6図ないし
第25図は本発明の第2実施例に係り、第6図は本実施
例の概略の構成を示すブロック図、第7図は内視鏡の挿
入部先端部の説明図、第8図は計測用内視m装置の構成
を示すブロック図、第9図はホストコンピュータの構成
を示すブロック図、第10図は案内線の求め方を示す原
理説明図、第11図は3次元座標の求め方を示す原理説
明図、第12図は指標用の求め方を示す原理説明図、第
13図は画面上の位置と搬像素子上の位置との変換を説
明するための説明図、第14図は左画面に表示された案
内線を示す説明図、第15図は右画面に表示された指復
刊を示す説明図、第16図ないし第25図は本実施例の
動作を説明するためのフローチャート、第26図及び第
27図は第1変形例の動作を説明するためのフローチャ
ート、第28図及び第29図は第2変形例の動作を説明
するためのフローチャート、第30図ないし第37図は
第3変形例に係り、第30図は歪曲収差補正の原理説明
図、第31図は左画面に表示された案内線を示す説明図
、第32図は右画面に表示された指標用を示す説明図、
第33図ないし第37図は本例の動作を説明するための
フローチャート、第38図及び第39図は第4変形例の
動作を説明するためのフローチャート、第40図は先行
技術例の計測用内視鏡装置における計測対象点の位置指
定を示す説明図である。 1・・・立体内視鏡画像取り込み装置 6・・・カーソル情報指定手段 7・・・カーソル制御手段 16L、16R・・・表示装置 18・・・距離演算手段 101・・・ステレオ式ビデオイメージエンドスコープ 102・・・挿入部 104R,104L・・・搬像手段 110R,110L・・・ビデオプロセッサ112R,
112L・・・フレームメモリ120・・・ホストコン
ピュータ 130R,130L−−・−Eニラ 145・・・マウス    150・・・切換手段15
1R,151L・・・カーソル表示手段153・・・案
内線表示手段 154・・・対象点位置算出手段 155・・・指標円表示手段 第2図 第1図 1すL 第4図 ◇ ◇ 第8図 第1 図 第12図 第14図 第31図 I曲収蔑n歪みと含まない画嫌に 乃するi門斤棗 工曲以愚の玉とお含λだ1働1α二 勾芽る富円輝 第15図 第32図 ρ 關 第20図 第2 図 第23図 第24図 第27rIA 第29rjA 第三図 第ダ図 第35− 第36図 第37rIA 第40図 (a) (b) 手続ネ甫正書(自発) 平成元年 5月26日 1、明細書中筒2ページの第12行目の[62−181
88号・・・」をr62−181888号・・・]に訂
正します。 2、明細書中東44ページの第9行目の「るそして、・
・・」を「そして、・・・」に訂正します。 3、明細書中箱53ページの第4行目の[親ルーチンへ
の・・・]を「を親ルーヂンへの・・・」に訂正します
。 代表者 4、代 図面(第25図、第26図) 7、補正の内容 別紙の通り
1 to 5 relate to the first embodiment of the present invention, FIG. 1 is a block diagram showing the configuration of the measurement endoscope device of the present invention, and FIG. 2 is a block diagram showing the configuration of the 3D endoscopic image capturing device. Showing the tip 1
3 is a diagram showing the operation panel of the cursor information specifying means, FIG. 4 is a diagram showing an example of an operation screen, FIG. 6 to 25 relate to a second embodiment of the present invention, in which FIG. 6 is a block diagram showing the general configuration of this embodiment, FIG. 7 is an explanatory diagram of the distal end of the insertion section of the endoscope, and FIG. Figure 8 is a block diagram showing the configuration of the endoscopic m device for measurement, Figure 9 is a block diagram showing the configuration of the host computer, Figure 10 is a principle explanatory diagram showing how to obtain the guide line, and Figure 11 is a three-dimensional diagram. Fig. 12 is an explanatory diagram of the principle showing how to obtain coordinates, Fig. 12 is an explanatory diagram of the principle showing how to obtain the index, and Fig. 13 is an explanatory diagram to explain the conversion between the position on the screen and the position on the image carrier element. , Fig. 14 is an explanatory diagram showing the guide line displayed on the left screen, Fig. 15 is an explanatory diagram showing the finger reprint displayed on the right screen, and Figs. 16 to 25 explain the operation of this embodiment. 26 and 27 are flowcharts for explaining the operation of the first modification, FIGS. 28 and 29 are flowcharts for explaining the operation of the second modification, and FIG. 30 is a flowchart for explaining the operation of the second modification. 37 relate to the third modification, FIG. 30 is an explanatory diagram of the principle of distortion aberration correction, FIG. 31 is an explanatory diagram showing the guide line displayed on the left screen, and FIG. 32 is an explanatory diagram showing the guide line displayed on the right screen. An explanatory diagram showing the index used,
33 to 37 are flowcharts for explaining the operation of this example, FIGS. 38 and 39 are flowcharts for explaining the operation of the fourth modification, and FIG. 40 is for measurement of the prior art example. FIG. 2 is an explanatory diagram showing the position designation of a measurement target point in an endoscope device. 1... Stereoscopic endoscope image capture device 6... Cursor information designation means 7... Cursor control means 16L, 16R... Display device 18... Distance calculation means 101... Stereo video image end Scope 102... Insertion parts 104R, 104L... Image carrier means 110R, 110L... Video processor 112R,
112L...Frame memory 120...Host computer 130R, 130L--E chive 145...Mouse 150...Switching means 15
1R, 151L... Cursor display means 153... Guide line display means 154... Target point position calculation means 155... Index circle display means Fig. 2 Fig. 1 Fig. 1 L Fig. 4 ◇ ◇ 8th Fig. 1 Fig. 12 Fig. 14 Fig. 31 I song despise n distortion and not include image hate i gate and Natsume Kokyu Igu's ball and inclusion Figure 15 Figure 32 ρ Figure 20 Figure 2 Figure 23 Figure 24 Figure 27rIA Figure 39rjA Figure 3D Figure 35- Figure 36 Figure 37rIA Figure 40 (a) (b) Procedure Hoshosho (self-authored) May 26, 1989 1, page 2 of the specification, line 12 [62-181
No. 88..." will be corrected to r62-181888...]. 2. On page 44 of the Middle East specification, line 9:
Correct "..." to "And...". 3. Correct "to parent routine..." in the fourth line of page 53 of the statement box to "to parent routine...". Representative 4, Substitute drawings (Figures 25 and 26) 7. Contents of amendments as per attached sheet

Claims (1)

【特許請求の範囲】 挿入部の先端部における視差を有する複数の位置からの
複数の画像を撮像する撮像手段と、前記画像手段により
得た複数の画像を複数の画面上に表示する表示手段と、 前記表示手段により表示される複数の画像のうちの一つ
の画像上にて対象点を指定する対象点指定手段と、 前記対象点指定手段により指定された対象点の前記一つ
の画像上における位置から、他の画像上における前記対
象点の位置条件を演算し、その演算された位置条件に基
づいて、前記他の画像上に、前記対象点に対応する案内
線を表示する案内線表示手段と を備えたことを特徴とする計測用内視鏡装置。
[Scope of Claims] An imaging means for capturing a plurality of images from a plurality of positions having parallax at the distal end of the insertion section; and a display means for displaying the plurality of images obtained by the imaging means on a plurality of screens. , a target point specifying means for specifying a target point on one of the plurality of images displayed by the display means, and a position of the target point specified by the target point specifying means on the one image. a guide line display means for calculating a positional condition of the target point on another image from the above, and displaying a guide line corresponding to the target point on the other image based on the calculated positional condition; A measuring endoscope device comprising:
JP1038811A 1988-10-26 1989-02-17 Measurement endoscope device Expired - Fee Related JP2778725B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP1038811A JP2778725B2 (en) 1988-10-26 1989-02-17 Measurement endoscope device
US07/376,460 US4935810A (en) 1988-10-26 1989-07-07 Three-dimensional measuring apparatus
DE3922652A DE3922652A1 (en) 1988-10-26 1989-07-10 DEVICE FOR THREE-DIMENSIONAL MEASUREMENT

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP27149388 1988-10-26
JP63-271493 1988-10-26
JP1038811A JP2778725B2 (en) 1988-10-26 1989-02-17 Measurement endoscope device

Publications (2)

Publication Number Publication Date
JPH02244021A true JPH02244021A (en) 1990-09-28
JP2778725B2 JP2778725B2 (en) 1998-07-23

Family

ID=26378095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1038811A Expired - Fee Related JP2778725B2 (en) 1988-10-26 1989-02-17 Measurement endoscope device

Country Status (1)

Country Link
JP (1) JP2778725B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002153415A (en) * 2000-11-21 2002-05-28 Olympus Optical Co Ltd Scale display device and method therefor
JP2002345735A (en) * 2001-05-30 2002-12-03 Olympus Optical Co Ltd Image processing measurement device and measurement endoscope
JP2006136706A (en) * 2004-10-12 2006-06-01 Olympus Corp Measuring endoscope apparatus and its program
JP2008122759A (en) * 2006-11-14 2008-05-29 Olympus Corp Endoscopic device for measurement, program and recording medium
JP2010167031A (en) * 2009-01-21 2010-08-05 Olympus Corp Endoscope apparatus and program
US8496575B2 (en) 2006-11-14 2013-07-30 Olympus Corporation Measuring endoscope apparatus, program and recording medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002153415A (en) * 2000-11-21 2002-05-28 Olympus Optical Co Ltd Scale display device and method therefor
JP4659203B2 (en) * 2000-11-21 2011-03-30 オリンパス株式会社 Endoscope device for measurement and scale display method
JP2002345735A (en) * 2001-05-30 2002-12-03 Olympus Optical Co Ltd Image processing measurement device and measurement endoscope
JP2006136706A (en) * 2004-10-12 2006-06-01 Olympus Corp Measuring endoscope apparatus and its program
JP2008122759A (en) * 2006-11-14 2008-05-29 Olympus Corp Endoscopic device for measurement, program and recording medium
US8496575B2 (en) 2006-11-14 2013-07-30 Olympus Corporation Measuring endoscope apparatus, program and recording medium
JP2010167031A (en) * 2009-01-21 2010-08-05 Olympus Corp Endoscope apparatus and program
US8730313B2 (en) 2009-01-21 2014-05-20 Olympus Corporation Endoscope apparatus and method

Also Published As

Publication number Publication date
JP2778725B2 (en) 1998-07-23

Similar Documents

Publication Publication Date Title
US4873572A (en) Electronic endoscope apparatus
US5588948A (en) Stereoscopic endoscope
US8989528B2 (en) Optical fiber grating sensors and methods of manufacture
WO2020147691A1 (en) Imaging system for surgical robot, and surgical robot
TW201945141A (en) Stereoscopic visualization camera and integrated robotics platform
JPH067289A (en) Endoscopic image processor
JPWO2015037340A1 (en) Image processing apparatus, image processing method, and program
JP4847195B2 (en) How to get color information from an image
CN103948432A (en) Algorithm for augmented reality of three-dimensional endoscopic video and ultrasound image during operation
JP2009042082A (en) Method and device for setting three-dimensional coordinate system
JP4403173B2 (en) 3D display file generation method and apparatus, and display control method and apparatus
JPH02244021A (en) Endoscope device for measurement
JP3438937B2 (en) Image processing device
TW201919537A (en) Endoscope system
JPH02296209A (en) Endoscope device for measuring
US20200279401A1 (en) Information processing system and target information acquisition method
JP4646384B2 (en) Endoscope device for measurement and scale display method
JPH06339454A (en) Measuring endoscope device
JPH02216404A (en) Endoscope device for measurement
WO2022070782A1 (en) Program, information processing method, and endoscope system
JP2842735B2 (en) Multi-viewpoint three-dimensional image input device, image synthesizing device, and image output device thereof
JP2022102041A (en) Three-dimensional annotation drawing system
JPH02216403A (en) Endoscope device for measurement
JP4975417B2 (en) Endoscope apparatus and endoscope image distortion correction method
JPS63201618A (en) Three-dimensional measuring endoscope device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees