[go: up one dir, main page]

JP5186314B2 - Endoscope apparatus and program - Google Patents

Endoscope apparatus and program Download PDF

Info

Publication number
JP5186314B2
JP5186314B2 JP2008226169A JP2008226169A JP5186314B2 JP 5186314 B2 JP5186314 B2 JP 5186314B2 JP 2008226169 A JP2008226169 A JP 2008226169A JP 2008226169 A JP2008226169 A JP 2008226169A JP 5186314 B2 JP5186314 B2 JP 5186314B2
Authority
JP
Japan
Prior art keywords
burning
point
composing
points
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008226169A
Other languages
Japanese (ja)
Other versions
JP2010008394A (en
Inventor
史生 堀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Corp filed Critical Olympus Corp
Priority to JP2008226169A priority Critical patent/JP5186314B2/en
Publication of JP2010008394A publication Critical patent/JP2010008394A/en
Application granted granted Critical
Publication of JP5186314B2 publication Critical patent/JP5186314B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Instruments For Viewing The Inside Of Hollow Bodies (AREA)
  • Endoscopes (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Description

本発明は、電子内視鏡を用いて撮像した画像に基づいて計測対象物の計測処理を行う内視鏡装置、およびその動作を制御するためのプログラムに関する。   The present invention relates to an endoscope apparatus that performs measurement processing of a measurement object based on an image captured using an electronic endoscope, and a program for controlling the operation thereof.

主に航空機に使われるガスタービンでは、内部が非常に高温になるため、タービンブレードの表面に焼けや変色などの欠陥部(以下、バーニングと記載する)が生じることがある。このバーニングのサイズ(寸法)はブレードの交換を判断する条件のひとつであり、その検査は極めて重要なものである。このような状況に対して、従来の計測用内視鏡装置においては、バーニング等の計測対象物を撮像した画像(以下、計測画像と記載する)において、ユーザが計測対象物のエッジに沿って、計測対象物を囲むように基準点を順次指定することにより、計測対象物のサイズを計測していた(例えば特許文献1参照)。
特開2001−275934号公報
In gas turbines mainly used in aircraft, the inside becomes extremely hot, and thus defects such as burning and discoloration (hereinafter referred to as burning) may occur on the surface of the turbine blade. The size (dimension) of this burning is one of the conditions for judging the replacement of the blade, and its inspection is extremely important. In such a situation, in a conventional measurement endoscope apparatus, in an image obtained by imaging a measurement object such as burning (hereinafter referred to as a measurement image), the user moves along the edge of the measurement object. The size of the measurement object is measured by sequentially specifying the reference points so as to surround the measurement object (see, for example, Patent Document 1).
JP 2001-275934 A

しかし、従来の方法では、ユーザが計測対象物のエッジに沿って、基準点を1点ずつ指定していかなければならなかったため、計測対象物の形状によっては、例えば10点以上の基準点を指定する必要があり、操作が煩雑となっていた。   However, in the conventional method, since the user has to specify the reference points one by one along the edge of the measurement object, depending on the shape of the measurement object, for example, 10 or more reference points may be set. It was necessary to specify, and the operation was complicated.

本発明は、上述した課題に鑑みてなされたものであって、操作の煩わしさを低減し操作性を向上することができる内視鏡装置およびプログラムを提供することを目的とする。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide an endoscope apparatus and a program that can reduce the troublesomeness of operation and improve operability.

本発明は、上記の課題を解決するためになされたもので、計測対象物を撮像し撮像信号を生成する電子内視鏡と、前記撮像信号に基づいて映像信号を生成する映像信号生成部と、前記映像信号に基づいて前記計測対象物の計測処理を行う計測処理部とを備えた内視鏡装置において、前記計測処理部は、前記映像信号に基づく画像上の3つの基準点を指定する基準点指定部と、前記基準点指定部によって指定された3つの前記基準点で決定される線(後述する基準楕円に対応)上に設定した複数点(後述するサーチポイントに対応)の各々に基づく画像領域(後述するサーチエリアに対応)内で前記映像信号を処理し、計測対象領域を構成する構成点(後述するバーニング構成点に対応)を算出する構成点算出部と、ユーザからの指示に基づいて前記構成点を修正する構成点修正部と、前記構成点に基づいて前記計測対象物のサイズを算出するサイズ算出部とを備えたことを特徴とする内視鏡装置である。   The present invention has been made to solve the above-described problem, and an electronic endoscope that images a measurement object and generates an imaging signal, and a video signal generation unit that generates a video signal based on the imaging signal, In the endoscope apparatus including a measurement processing unit that performs measurement processing of the measurement object based on the video signal, the measurement processing unit specifies three reference points on the image based on the video signal. For each of a plurality of points (corresponding to search points described later) set on a reference point specifying part and a line (corresponding to a reference ellipse described later) determined by the three reference points specified by the reference point specifying part A component point calculation unit that processes the video signal in an image area (corresponding to a search area, which will be described later) and calculates constituent points (corresponding to burning composing points, which will be described later) constituting the measurement target area, and an instruction from the user Based on A configuration point correction unit for correcting said component points, an endoscope apparatus characterized by comprising a size calculating unit that calculates the size of the measurement object based on the control points.

また、本発明の内視鏡装置において、前記構成点修正部は、前記映像信号に基づく画像上でユーザが指示した位置と前記構成点算出部が算出した前記構成点の位置とに基づいて選択した前記構成点の位置を、前記ユーザが指示した位置に修正することを特徴とする。   In the endoscope apparatus of the present invention, the component point correcting unit is selected based on a position indicated by a user on an image based on the video signal and a position of the component point calculated by the component point calculating unit. The position of the component point is corrected to a position designated by the user.

また、本発明の内視鏡装置において、前記構成点修正部はさらに、修正した前記構成点を含む各々の前記構成点を結ぶ線分で構成される輪郭線の形状がねじれ形状であるか否かを判定することを特徴とする。   Moreover, in the endoscope apparatus according to the present invention, the component point correction unit further determines whether or not the shape of a contour line formed by line segments connecting the component points including the corrected component point is a twisted shape. It is characterized by determining.

また、本発明の内視鏡装置において、前記構成点修正部は、前記映像信号に基づく画像上でユーザが指示した位置に新たな前記構成点を追加することを特徴とする。   In the endoscope apparatus of the present invention, the composition point correction unit adds the new composition point to a position designated by a user on an image based on the video signal.

また、本発明の内視鏡装置において、前記構成点修正部はさらに、前記構成点算出部によって算出された前記構成点の位置と、新たに追加した前記構成点の位置とに基づいて、各々の前記構成点を結ぶ線で構成される輪郭線を決定することを特徴とする。   Further, in the endoscope apparatus of the present invention, the component point correction unit is further configured based on the position of the component point calculated by the component point calculation unit and the position of the newly added component point, respectively. An outline composed of a line connecting the constituent points is determined.

また、本発明の内視鏡装置において、前記構成点修正部はさらに、新たに追加した前記構成点と、ユーザからの指示に基づいて選択した前記構成点とが線で結ばれるように前記輪郭線を決定することを特徴とする。   In the endoscope apparatus of the present invention, the component point correcting unit further includes the contour so that the newly added component point and the component point selected based on an instruction from the user are connected by a line. It is characterized by determining a line.

また、本発明の内視鏡装置は、前記構成点修正部が修正を行った結果を示す修正結果情報を記憶する記憶部をさらに備え、前記構成点修正部はさらに、ユーザからの指示に基づいて選択した前記修正結果情報が示す修正後の前記構成点を、ユーザからの指示に基づいて修正することを特徴とする。   The endoscope apparatus of the present invention further includes a storage unit that stores correction result information indicating a result of correction performed by the component point correction unit, and the component point correction unit is further based on an instruction from a user. The corrected configuration point indicated by the correction result information selected in the above is corrected based on an instruction from a user.

また、本発明の内視鏡装置において、前記構成点算出部は、前記複数点の各々に基づく画像領域内で前記映像信号の2値化処理を行い、2値化処理後の前記映像信号に基づいて前記計測対象領域のエッジを抽出し、当該エッジを近似する近似線を算出し、当該近似線に基づいて前記エッジ上の前記構成点を算出することを特徴とする。   In the endoscope apparatus of the present invention, the component point calculation unit performs binarization processing of the video signal within an image area based on each of the plurality of points, and converts the video signal into the video signal after binarization processing. Based on this, an edge of the measurement target region is extracted, an approximate line that approximates the edge is calculated, and the constituent points on the edge are calculated based on the approximate line.

また、本発明は、計測対象物を撮像し撮像信号を生成する電子内視鏡と、前記撮像信号に基づいて映像信号を生成する画像処理部と、前記映像信号に基づいて前記計測対象物の計測処理を行う計測処理部とを備えた内視鏡装置を制御するためのプログラムにおいて、前記計測処理部を、前記映像信号に基づく画像上の3つの基準点を指定する基準点指定部と、前記基準点指定部によって指定された3つの前記基準点で決定される線上に設定した複数点の各々に基づく画像領域内で前記映像信号を処理し、計測対象領域を構成する構成点を算出する構成点算出部と、ユーザからの指示に基づいて前記構成点を修正する構成点修正部と、前記構成点に基づいて前記計測対象物のサイズを算出するサイズ算出部と、として機能させるためのプログラムである。   In addition, the present invention provides an electronic endoscope that images a measurement object and generates an imaging signal, an image processing unit that generates a video signal based on the imaging signal, and the measurement object based on the video signal. In a program for controlling an endoscope apparatus including a measurement processing unit that performs measurement processing, the measurement processing unit includes a reference point specifying unit that specifies three reference points on an image based on the video signal, The video signal is processed in an image region based on each of a plurality of points set on a line determined by the three reference points specified by the reference point specifying unit, and constituent points constituting the measurement target region are calculated. A component point calculating unit, a component point correcting unit that corrects the component point based on an instruction from a user, and a size calculator that calculates the size of the measurement object based on the component point. Program It is.

上記において、括弧で括った部分の記述は、後述する本発明の実施形態と本発明の構成要素とを便宜的に対応付けるためのものであり、この記述によって本発明の内容が限定されるわけではない。   In the above description, the description in parentheses is for the purpose of associating the embodiment of the present invention described later with the components of the present invention for convenience, and the contents of the present invention are not limited by this description. Absent.

本発明によれば、3つの基準点を指定すれば計測対象物のサイズの計測が可能となるので、操作の煩わしさを低減し操作性を向上することができるという効果が得られる。   According to the present invention, if three reference points are designated, the size of the measurement object can be measured, so that it is possible to reduce the troublesomeness of the operation and improve the operability.

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

(第1の実施形態)
まず、本発明の第1の実施形態を説明する。図1は、本実施形態による計測用内視鏡装置の構成を示している。図1に示すように、計測用内視鏡装置1は、内視鏡2と、コントロールユニット3と、リモートコントローラ4(入力部)と、液晶モニタ5と、フェイスマウントディスプレイ(FMD)6と、FMDアダプタ6aと、光学アダプタ7a,7b,7cと、内視鏡ユニット8と、カメラコントロールユニット9と、制御ユニット10とから構成されている。
(First embodiment)
First, a first embodiment of the present invention will be described. FIG. 1 shows a configuration of a measuring endoscope apparatus according to the present embodiment. As shown in FIG. 1, a measuring endoscope apparatus 1 includes an endoscope 2, a control unit 3, a remote controller 4 (input unit), a liquid crystal monitor 5, a face mount display (FMD) 6, The FMD adapter 6a, optical adapters 7a, 7b, and 7c, an endoscope unit 8, a camera control unit 9, and a control unit 10 are configured.

計測対象物を撮像し撮像信号を生成する内視鏡2(電子内視鏡)は細長の挿入部20を備えている。挿入部20は、先端側から順に、硬質な先端部21と、例えば上下左右に湾曲可能な湾曲部22と、柔軟性を有する可撓管部23とを連設して構成されている。挿入部20の基端部は内視鏡ユニット8に接続されている。先端部21は、観察視野を2つ有するステレオ用の光学アダプタ7a,7b(以下、ステレオ光学アダプタと記載する)あるいは観察視野が1つだけの通常観察光学アダプタ7c等、各種の光学アダプタが例えば螺合によって着脱自在な構成になっている。   An endoscope 2 (electronic endoscope) that captures an image of a measurement object and generates an imaging signal includes an elongated insertion unit 20. The insertion portion 20 is configured by connecting, in order from the distal end side, a rigid distal end portion 21, a bending portion 22 that can be bent vertically and horizontally, and a flexible tube portion 23 having flexibility. A proximal end portion of the insertion portion 20 is connected to the endoscope unit 8. For example, the distal end portion 21 may be a variety of optical adapters such as a stereo optical adapter 7a, 7b (hereinafter referred to as a stereo optical adapter) having two observation fields or a normal observation optical adapter 7c having only one observation field. It is configured to be detachable by screwing.

コントロールユニット3は、内視鏡ユニット8、画像処理手段であるカメラコントロールユニット(以下、CCUと記載する)9(映像信号生成部)、および制御装置である制御ユニット10を内部に備えている。内視鏡ユニット8は、観察時に必要な照明光を供給する光源装置と、挿入部20を構成する湾曲部22を湾曲させる湾曲装置とを備えている。CCU9は、挿入部20の先端部21に内蔵されている固体撮像素子2aから出力された撮像信号を入力し、これをNTSC信号等の映像信号に変換して制御ユニット10に供給する。   The control unit 3 includes an endoscope unit 8, a camera control unit (hereinafter referred to as CCU) 9 (video signal generation unit) that is an image processing means, and a control unit 10 that is a control device. The endoscope unit 8 includes a light source device that supplies illumination light necessary for observation, and a bending device that bends the bending portion 22 that constitutes the insertion portion 20. The CCU 9 receives an imaging signal output from the solid-state imaging device 2 a built in the distal end portion 21 of the insertion unit 20, converts this into a video signal such as an NTSC signal, and supplies the video signal to the control unit 10.

制御ユニット10は、音声信号処理回路11と、映像信号処理回路12(表示信号生成部)と、ROM13と、RAM14と、PCカードインターフェース(以下、PCカードI/Fと記載する。)15と、USBインターフェース(以下、USB I/Fと記載する。)16と、RS−232Cインターフェース(以下、RS−232C I/Fと記載する。)17と、計測処理部18とから構成されている。   The control unit 10 includes an audio signal processing circuit 11, a video signal processing circuit 12 (display signal generation unit), a ROM 13, a RAM 14, a PC card interface (hereinafter referred to as a PC card I / F) 15, and It comprises a USB interface (hereinafter referred to as USB I / F) 16, an RS-232C interface (hereinafter referred to as RS-232C I / F) 17, and a measurement processing unit 18.

マイク34によって集音された音声信号や、メモリカード等の記録媒体を再生して得られる音声信号、あるいは計測処理部18によって生成された音声信号が音声信号処理回路11に供給される。映像信号処理回路12は、CCU9から供給された内視鏡画像とグラフィックによる操作メニューとを合成した合成画像を表示するために、CCU9からの映像信号を、計測処理部18の制御により生成される操作メニュー等のためのグラフィック画像信号と合成する処理を行う。また、映像信号処理回路12は、液晶モニタ5の画面上に映像を表示するために合成後の映像信号に所定の処理を施して液晶モニタ5に供給する。   An audio signal collected by the microphone 34, an audio signal obtained by reproducing a recording medium such as a memory card, or an audio signal generated by the measurement processing unit 18 is supplied to the audio signal processing circuit 11. The video signal processing circuit 12 generates a video signal from the CCU 9 under the control of the measurement processing unit 18 in order to display a composite image obtained by synthesizing the endoscopic image supplied from the CCU 9 and the graphic operation menu. A process of combining with a graphic image signal for an operation menu or the like is performed. In addition, the video signal processing circuit 12 performs a predetermined process on the combined video signal and supplies it to the liquid crystal monitor 5 in order to display the video on the screen of the liquid crystal monitor 5.

PCカードI/F15は、PCMCIAメモリカード32やフラッシュメモリカード33等のメモリカード(記録媒体)を自由に着脱できるようになっている。メモリカードを装着することにより、計測処理部18の制御に従って、このメモリカードに記憶されている制御処理情報や、画像情報、光学データ等を取り込んだり、制御処理情報や、画像情報、光学データ等をメモリカードに記録したりすることができる。   The PC card I / F 15 can freely attach and detach a memory card (recording medium) such as the PCMCIA memory card 32 and the flash memory card 33. By mounting the memory card, the control processing information, the image information, the optical data, etc. stored in the memory card are taken in according to the control of the measurement processing unit 18, or the control processing information, the image information, the optical data, etc. Can be recorded on a memory card.

USB I/F16は、コントロールユニット3とパーソナルコンピュータ31とを電気的に接続するためのインターフェースである。このUSB I/F16を介してコントロールユニット3とパーソナルコンピュータ31とを電気的に接続することにより、パーソナルコンピュータ31側で内視鏡画像の表示の指示や計測時における画像処理等の各種の制御指示を行うことが可能となる。また、コントロールユニット3とパーソナルコンピュータ31との間で各種の処理情報やデータを入出力することが可能となる。   The USB I / F 16 is an interface for electrically connecting the control unit 3 and the personal computer 31. By electrically connecting the control unit 3 and the personal computer 31 via the USB I / F 16, various control instructions such as an instruction to display an endoscopic image on the personal computer 31 side and image processing at the time of measurement are performed. Can be performed. Also, various processing information and data can be input / output between the control unit 3 and the personal computer 31.

RS−232C I/F17には、CCU9および内視鏡ユニット8が接続されると共に、これらCCU9や内視鏡ユニット8等の制御および動作指示を行うリモートコントローラ4が接続されている。ユーザがリモートコントローラ4を操作すると、その操作内容に基づいて、CCU9および内視鏡ユニット8を動作制御する際に必要な通信が行われる。   The RS-232C I / F 17 is connected to the CCU 9 and the endoscope unit 8, and is connected to the remote controller 4 for controlling and operating the CCU 9 and the endoscope unit 8. When the user operates the remote controller 4, communication necessary for controlling the operation of the CCU 9 and the endoscope unit 8 is performed based on the operation content.

計測処理部18は、ROM13に格納されているプログラムを実行することによって、映像信号処理回路12から映像信号を取り込み、映像信号に基づいて計測処理を実行する。RAM14は、計測処理部18によって、データの一時格納用の作業領域として使用される。図2は計測処理部18の構成を示している。図2に示すように計測処理部18は、制御部18aと、基準点指定部18bと、基準楕円算出部18cと、バーニング構成点算出部18dと、バーニングサイズ算出部18eと、記憶部18fとから構成されている。   The measurement processing unit 18 acquires a video signal from the video signal processing circuit 12 by executing a program stored in the ROM 13, and executes measurement processing based on the video signal. The RAM 14 is used as a work area for temporary storage of data by the measurement processing unit 18. FIG. 2 shows the configuration of the measurement processing unit 18. As shown in FIG. 2, the measurement processing unit 18 includes a control unit 18a, a reference point designating unit 18b, a reference ellipse calculation unit 18c, a burning composing point calculation unit 18d, a burning size calculation unit 18e, and a storage unit 18f. It is composed of

制御部18aは計測処理部18内の各部を制御する。また、制御部18aは、液晶モニタ5またはフェイスマウントディスプレイ6に計測結果や操作メニュー等を表示させるためのグラフィック画像信号を生成して映像信号処理回路12へ出力する機能も有している。   The control unit 18a controls each unit in the measurement processing unit 18. The control unit 18 a also has a function of generating a graphic image signal for displaying a measurement result or an operation menu on the liquid crystal monitor 5 or the face mount display 6 and outputting the graphic image signal to the video signal processing circuit 12.

基準点指定部18bは、リモートコントローラ4あるいはPC31(入力部)から入力される信号に基づいて、計測対象物上の基準点(基準点の詳細は後述する)を指定する。ユーザが、液晶モニタ5あるいはフェイスマウントディスプレイ6に表示された計測対象物の画像を見ながら所望の基準点を入力すると、その座標が基準点指定部18bによって算出される。   The reference point designating unit 18b designates a reference point on the measurement object (details of the reference point will be described later) based on a signal input from the remote controller 4 or the PC 31 (input unit). When the user inputs a desired reference point while viewing the image of the measurement object displayed on the liquid crystal monitor 5 or the face mount display 6, the coordinates are calculated by the reference point specifying unit 18b.

基準楕円算出部18cは、基準点指定部18bによって指定された基準点に基づいて、計測対象物の輪郭を近似する輪郭近似線に相当する基準楕円(基準楕円の詳細は後述する)を算出する。バーニング構成点算出部18dは、基準点および基準楕円に基づいて、計測対象物に形成されたバーニングのエッジ(輪郭)を構成するバーニング構成点(バーニング構成点の詳細は後述する)を算出する。   The reference ellipse calculation unit 18c calculates a reference ellipse (details of the reference ellipse will be described later) corresponding to a contour approximation line that approximates the contour of the measurement object based on the reference point specified by the reference point specification unit 18b. . Based on the reference point and the reference ellipse, the burning composing point calculation unit 18d calculates a burning composing point (details of the burning composing point will be described later) constituting the burning edge (contour) formed on the measurement object.

バーニングサイズ算出部18eは、バーニング構成点に基づいてバーニングのサイズを計測する。記憶部18fは、計測処理部18内で処理される各種情報を記憶する。記憶部18fに格納された情報は、適宜制御部18aによって読み出されて各部へ出力される。   The burning size calculation unit 18e measures the size of the burning based on the burning composing point. The storage unit 18f stores various types of information processed in the measurement processing unit 18. Information stored in the storage unit 18f is appropriately read out by the control unit 18a and output to each unit.

次に、本実施形態で使用する用語の内容を説明する。まず、図3および図4を参照し、基準点、基準線、および基準楕円を説明する。基準点は、計測画面上においてユーザが実際に指定する点である。ユーザは、計測画面を見ながらリモートコントローラ4あるいはPC31を操作し、基準点を指定する。図3に示すように、指定位置を示すカーソル300が計測画面上に表示され、ユーザによるリモートコントローラ4あるいはPC31の操作に応じてカーソル300が移動する。カーソル300が所望の位置に移動した状態で、ユーザが基準点を指定する指示を入力すると、カーソル300の位置に基準点が設定される。続いて、同様にカーソル300を移動させながら、次の基準点の指定が行われる。本実施形態では、3つの基準点が順番に指定される。図3に示すように、まずユーザは、バーニング310の両端に位置する2つの基準点320,321を指定する。   Next, the contents of terms used in the present embodiment will be described. First, reference points, reference lines, and reference ellipses will be described with reference to FIGS. The reference point is a point actually designated by the user on the measurement screen. The user operates the remote controller 4 or the PC 31 while looking at the measurement screen and designates the reference point. As shown in FIG. 3, a cursor 300 indicating the designated position is displayed on the measurement screen, and the cursor 300 moves according to the operation of the remote controller 4 or the PC 31 by the user. When the user inputs an instruction to designate a reference point while the cursor 300 is moved to a desired position, the reference point is set at the position of the cursor 300. Subsequently, the next reference point is designated while moving the cursor 300 in the same manner. In the present embodiment, three reference points are designated in order. As shown in FIG. 3, first, the user designates two reference points 320 and 321 located at both ends of the burning 310.

基準線は、計測画面上においてユーザが指定した最初の基準点と2番目の基準点とを結んだ直線である。図3に示すように、基準点320,321を結んだ直線330が基準線である。基準楕円は、ユーザが3番目の基準点を指定する際に設定されると共に計測画面に表示される楕円であり、バーニングのエッジを近似する曲線に相当する。図4に示すように、基準点400,401が指定されると、基準点400,401の位置を通る基準楕円420が表示される。基準楕円420は、基準線430を一方の径として持ち、カーソル410の位置に応じて、他方の径および曲率が変化する(図4(a)〜(c))。ユーザは、基準楕円420の形状ができるだけバーニング450の形状に一致するようにカーソル410の位置を調整し、3番目の基準点を指定する指示を入力する。   The reference line is a straight line connecting the first reference point and the second reference point designated by the user on the measurement screen. As shown in FIG. 3, a straight line 330 connecting the reference points 320 and 321 is a reference line. The reference ellipse is an ellipse that is set when the user designates the third reference point and is displayed on the measurement screen, and corresponds to a curve that approximates the edge of burning. As shown in FIG. 4, when the reference points 400 and 401 are designated, a reference ellipse 420 passing through the positions of the reference points 400 and 401 is displayed. The reference ellipse 420 has a reference line 430 as one diameter, and the other diameter and curvature change according to the position of the cursor 410 (FIGS. 4A to 4C). The user adjusts the position of the cursor 410 so that the shape of the reference ellipse 420 matches the shape of the burning 450 as much as possible, and inputs an instruction for designating the third reference point.

次に、図5を参照し、サーチポイント、サーチエリア、およびバーニング構成点を説明する。サーチポイントは基準楕円上に等間隔に設定される点である。サーチポイントの周囲には、後述するサーチエリアが設定される。図5(a)に示すように、基準楕円500上に等間隔にサーチポイント510が設定される。ユーザが指定した最初の基準点と2番目の基準点もサーチポイントに含まれる。後述するように、サーチポイントの数および間隔は基準楕円のサイズに応じて変化する。   Next, a search point, a search area, and a burning composing point will be described with reference to FIG. Search points are points set at equal intervals on the reference ellipse. A search area to be described later is set around the search point. As shown in FIG. 5A, search points 510 are set on the reference ellipse 500 at equal intervals. The first reference point and the second reference point designated by the user are also included in the search points. As will be described later, the number and interval of the search points change according to the size of the reference ellipse.

サーチエリアは、サーチポイントの周囲に位置し、後述するバーニング構成点を算出する画像処理を実行する矩形状の範囲である。図5(b)に示すように、サーチポイント510の周囲に正方形のサーチエリア520が設定される。後述するように、サーチエリアのサイズは基準楕円のサイズに応じて変化する。サーチエリアの形状は正方形に限られない。   The search area is a rectangular range that is located around the search point and that performs image processing for calculating a burning composing point that will be described later. As shown in FIG. 5B, a square search area 520 is set around the search point 510. As will be described later, the size of the search area changes according to the size of the reference ellipse. The shape of the search area is not limited to a square.

バーニング構成点は、計測対象の領域となるバーニングのエッジを構成する点である。図5(c)に示すように、バーニング530のエッジ上にバーニング構成点540が設定される。後述するように、バーニング構成点は、サーチエリア内の計測画像を画像処理することによって求められる。   The burning composing point is a point that constitutes a burning edge that becomes an area to be measured. As shown in FIG. 5C, a burning composing point 540 is set on the edge of the burning 530. As will be described later, the burning composing point is obtained by performing image processing on the measurement image in the search area.

次に、図6を参照し、バーニングサイズを説明する。バーニングサイズとは、検出されたバーニングの大きさを表すパラメータである。本実施形態で算出されるバーニングサイズは、バーニングの2種類の幅、周囲長、および面積である。より具体的には、バーニングの一方の幅は、ユーザが指定した最初の基準点と2番目の基準点に対応した2つのバーニング構成点の空間距離(3次元距離)である。バーニングの他方の幅は、基準線に対して直交する直線上の2つのサーチポイントに対応した2つのバーニング構成点の空間距離である。周囲長は、全ての隣り合うバーニング構成点同士の空間距離の合計である。面積は、全てのバーニング構成点で囲まれた領域の空間面積である。   Next, the burning size will be described with reference to FIG. The burning size is a parameter representing the size of the detected burning. The burning size calculated in the present embodiment is two kinds of widths, the perimeter length, and the area of the burning. More specifically, one width of the burning is a spatial distance (three-dimensional distance) between two burning composing points corresponding to the first reference point and the second reference point specified by the user. The other width of the burning is a spatial distance between two burning composing points corresponding to two search points on a straight line orthogonal to the reference line. The perimeter is the sum of the spatial distances between all adjacent burning composing points. The area is a space area of a region surrounded by all burning composing points.

図6に示すように、バーニングの一方の幅600は、基準点610,611に対応した2つのバーニング構成点の空間距離として算出される(図6(a))。バーニングの他方の幅601は、基準線に直交する直線上のサーチポイント620,621に対応した2つのバーニング構成点の空間距離として算出される(図6(a))。本実施形態では、基準線に直交する直線上のサーチポイント620,621を含むようにサーチポイントが算出される。周囲長は、全ての隣り合うバーニング構成点同士の空間距離630の合計として算出される(図6(b))。面積は、全てのバーニング構成点で囲まれた領域640の空間面積として算出される(図6(b))。   As shown in FIG. 6, one burning width 600 is calculated as a spatial distance between two burning composing points corresponding to the reference points 610 and 611 (FIG. 6A). The other burning width 601 is calculated as a spatial distance between two burning composing points corresponding to search points 620 and 621 on a straight line orthogonal to the reference line (FIG. 6A). In the present embodiment, search points are calculated so as to include search points 620 and 621 on a straight line orthogonal to the reference line. The perimeter is calculated as the sum of the spatial distances 630 between all adjacent burning composing points (FIG. 6B). The area is calculated as a spatial area of a region 640 surrounded by all burning composing points (FIG. 6B).

次に、本実施形態における計測画面を説明する。本実施形態では、ステレオ計測によるバーニングの計測が行われる。ステレオ計測においては、ステレオ光学アダプタを内視鏡2の先端部21に装着した状態で計測対象物を撮像するため、計測画面では計測対象物の画像が左右1対で表示される。   Next, the measurement screen in this embodiment will be described. In the present embodiment, burning measurement is performed by stereo measurement. In stereo measurement, since the measurement object is imaged with the stereo optical adapter attached to the distal end portion 21 of the endoscope 2, an image of the measurement object is displayed in a pair on the measurement screen.

図7は計測開始前の計測画面を示している。計測情報として、左画面700には計測対象物の左画像が表示され、右画面710には計測対象物の右画像が表示される。また、左画面700および右画面710を除く計測画面上の領域には他の計測情報として、光学アダプタ名称情報720、時間情報721、メッセージ情報722、アイコン723a,723b,723c,723d,723e、およびズームウィンドウ724が表示される。   FIG. 7 shows a measurement screen before the start of measurement. As measurement information, a left image of the measurement object is displayed on the left screen 700, and a right image of the measurement object is displayed on the right screen 710. Further, in the area on the measurement screen excluding the left screen 700 and the right screen 710, as other measurement information, optical adapter name information 720, time information 721, message information 722, icons 723a, 723b, 723c, 723d, 723e, and A zoom window 724 is displayed.

光学アダプタ名称情報720と時間情報721は共に計測条件を示す情報である。光学アダプタ名称情報720は、現在使用している光学アダプタの名称を示す文字情報である。時間情報721は現在の日付と時刻を示す文字情報である。メッセージ情報722は、ユーザへの操作指示を示す文字情報と、計測条件の1つである基準点の座標を示す文字情報とを含んでいる。   Both the optical adapter name information 720 and the time information 721 are information indicating measurement conditions. The optical adapter name information 720 is character information indicating the name of the optical adapter currently used. The time information 721 is character information indicating the current date and time. The message information 722 includes character information indicating an operation instruction to the user and character information indicating the coordinates of a reference point that is one of the measurement conditions.

アイコン723a〜723eは、ユーザが計測モードの切替や計測結果のクリア等の操作指示を入力するための操作メニューを構成している。ユーザがリモートコントローラ4あるいはPC31を操作し、カーソル725をアイコン723a〜723eのいずれかの上に移動させてクリック等の操作を行うと、その操作に応じた信号が計測処理部18に入力される。制御部18aは、その信号に基づいてユーザからの操作指示を認識し、計測処理を制御する。また、ズームウィンドウ724にはカーソル725の周囲に位置する計測対象物の拡大画像が表示される。   The icons 723a to 723e constitute an operation menu for the user to input an operation instruction such as switching of the measurement mode or clearing of the measurement result. When the user operates the remote controller 4 or the PC 31 to move the cursor 725 over any of the icons 723a to 723e and perform an operation such as a click, a signal corresponding to the operation is input to the measurement processing unit 18. . The control unit 18a recognizes an operation instruction from the user based on the signal and controls the measurement process. In the zoom window 724, an enlarged image of the measurement object located around the cursor 725 is displayed.

次に、図8〜図12を参照しながら、本実施形態における計測の手順を説明する。図8は計測の手順を示し、図9〜図10は計測画面を示している。図11はカーソルの位置と基準楕円のサイズとの関係を示している。図12はカーソルの位置と基準楕円の形状との関係を示している。   Next, a measurement procedure in the present embodiment will be described with reference to FIGS. FIG. 8 shows a measurement procedure, and FIGS. 9 to 10 show measurement screens. FIG. 11 shows the relationship between the cursor position and the size of the reference ellipse. FIG. 12 shows the relationship between the cursor position and the shape of the reference ellipse.

まず、液晶モニタ5またはフェイスマウントディスプレイ6に表示された計測画面上において、リモートコントローラ4あるいはPC31の操作により、ユーザが基準点を2つ指定すると、指定された基準点の情報が計測処理部18に入力される(ステップSA)。このとき、ユーザは、バーニングのエッジ上かつ両端に位置する点を基準点として選択することが望ましい。図9(a)において、計測画面900の左画像内の基準点910,911が指定され、×印のアイコンが表示されている。   First, on the measurement screen displayed on the liquid crystal monitor 5 or the face mount display 6, when the user designates two reference points by operating the remote controller 4 or the PC 31, information on the designated reference points is obtained from the measurement processing unit 18. (Step SA). At this time, it is desirable for the user to select, as reference points, points located on both edges of the burning. In FIG. 9A, reference points 910 and 911 in the left image of the measurement screen 900 are designated, and an icon with a cross is displayed.

ユーザによって指定された左画面内の2つの基準点の位置情報が計測処理部18に入力されると、基準点指定部18bは2つの基準点の画像座標(液晶モニタ5またはフェイスマウントディスプレイ6に表示される画像上の2次元座標)を算出する。算出された2つの基準点の画像座標は基準楕円算出部18cへ出力される。また、上記と同様にして、カーソル位置の画像座標が算出され、基準楕円算出部18cへ出力される。基準楕円算出部18cは、2つの基準点およびカーソル位置の画像座標に基づいて基準楕円を算出し、基準楕円の情報(基準楕円を構成する点の画像座標または基準楕円の式)を制御部18aへ出力する。制御部18aは基準楕円の描画処理を実行する。この結果、基準楕円が計測画面上に表示される。   When the position information of the two reference points in the left screen designated by the user is input to the measurement processing unit 18, the reference point designating unit 18b displays the image coordinates of the two reference points (on the liquid crystal monitor 5 or the face mount display 6). 2D coordinates on the displayed image) are calculated. The calculated image coordinates of the two reference points are output to the reference ellipse calculation unit 18c. Similarly to the above, the image coordinates of the cursor position are calculated and output to the reference ellipse calculation unit 18c. The reference ellipse calculation unit 18c calculates a reference ellipse based on the two reference points and the image coordinates of the cursor position, and uses the control ellipse as a reference ellipse information (image coordinates of points constituting the reference ellipse or reference ellipse formula). Output to. The control unit 18a executes reference ellipse drawing processing. As a result, the reference ellipse is displayed on the measurement screen.

基準楕円のサイズと形状は、カーソルの位置に応じて変化する。基準楕円の形状ができるだけバーニングの形状に一致した状態で、ユーザが3番目の基準点を指定する指示を入力すると、指定された基準点の情報が計測処理部18に入力される(ステップSB)。図9(b)において、計測画面920上に基準楕円930が表示され、カーソル940の位置に3番目の基準点が指定される。このとき、上記と同様にして、基準点指定部18bによって、3番目の基準点の画像座標が算出される。   The size and shape of the reference ellipse change depending on the position of the cursor. When the user inputs an instruction to specify the third reference point in a state where the shape of the reference ellipse matches the burning shape as much as possible, information on the specified reference point is input to the measurement processing unit 18 (step SB). . In FIG. 9B, a reference ellipse 930 is displayed on the measurement screen 920, and the third reference point is designated at the position of the cursor 940. At this time, similarly to the above, the image coordinates of the third reference point are calculated by the reference point designating unit 18b.

カーソルの位置と基準楕円のサイズ・形状との関係の詳細は以下のようになる。基準楕円の一方の径は基準線と同一であり、カーソルがどのような位置にあっても固定される。基準楕円の他方の径は、基準線とカーソルとの距離の2倍の長さをもち、カーソルの位置に応じて長さが変化する。図11は、カーソルの位置に応じて基準楕円の径の長さが変化する様子を示している。図11(b)に示すように、基準線1100とカーソル1110との距離1120が図11(a)よりも小さくなると、径の長さは小さくなる。また、図11(c)に示すように、基準線1100とカーソル1110との距離1120が図11(a)よりも大きくなると、径の長さは大きくなる。   Details of the relationship between the cursor position and the size and shape of the reference ellipse are as follows. One diameter of the reference ellipse is the same as the reference line, and is fixed regardless of the position of the cursor. The other diameter of the reference ellipse has a length twice as long as the distance between the reference line and the cursor, and the length changes according to the position of the cursor. FIG. 11 shows how the length of the diameter of the reference ellipse changes according to the position of the cursor. As shown in FIG. 11B, when the distance 1120 between the reference line 1100 and the cursor 1110 becomes smaller than that in FIG. 11A, the length of the diameter becomes smaller. Further, as shown in FIG. 11C, when the distance 1120 between the reference line 1100 and the cursor 1110 is larger than that in FIG. 11A, the length of the diameter is increased.

基準楕円の形状は、基準線の中点を通りかつ基準線に垂直な直線とカーソルとの距離に応じて変化する。具体的には、この距離に応じて基準楕円の曲率が変化し、基準楕円の形状が変化する。図12は、カーソルの位置に応じて基準楕円の形状が変化する様子を示している。図12(b),(c)に示すように、2つの基準点の中点を通る基準線1200の垂線1210とカーソル1220との距離1230が図12(a)よりも非常に大きくなる、あるいは非常に小さくなると、基準楕円1240の形状は矩形に近づく。上記のように、カーソルの位置に応じて基準楕円のサイズと形状を柔軟に設定することが可能である。   The shape of the reference ellipse changes in accordance with the distance between the straight line passing through the midpoint of the reference line and perpendicular to the reference line. Specifically, the curvature of the reference ellipse changes according to this distance, and the shape of the reference ellipse changes. FIG. 12 shows how the shape of the reference ellipse changes according to the position of the cursor. As shown in FIGS. 12B and 12C, the distance 1230 between the vertical line 1210 of the reference line 1200 passing through the midpoint of the two reference points and the cursor 1220 is much larger than that in FIG. 12A, or As it becomes very small, the shape of the reference ellipse 1240 approaches a rectangle. As described above, the size and shape of the reference ellipse can be flexibly set according to the position of the cursor.

3番目の基準点が指定された後、指定された基準点の座標に基づいて、計測処理部18がバーニング計算を行う(ステップSC)。バーニング計算では、バーニング構成点の座標やバーニングサイズの算出が行われる。図10(a)において、計測画面1000はバーニング計算中の計測画面である。バーニング計算の詳細については後述する。指定された基準点の座標によっては、後述するように、サーチポイントが算出されない場合がある。この場合は、基準点が指定されてもバーニング計算は開始されない。   After the third reference point is designated, the measurement processing unit 18 performs burning calculation based on the coordinates of the designated reference point (step SC). In the burning calculation, the coordinates of the burning composing points and the burning size are calculated. In FIG. 10A, a measurement screen 1000 is a measurement screen during burning calculation. Details of the burning calculation will be described later. Depending on the coordinates of the designated reference point, the search point may not be calculated as described later. In this case, the burning calculation is not started even if the reference point is designated.

バーニング計算が終了すると、計測処理部18の指示により、検出されたバーニング領域が計測画面上に表示される(ステップSD)。図10(b)に示すように、バーニング領域は計測画面1010の左画面上に表示される。より具体的には、算出されたバーニング構成点が小さな●印、×印、○印のいずれかで表示され、かつそれらが線で結ばれて表示される。×印で表示された2つのバーニング構成点1020,1021は、ユーザが指定した最初の基準点と2番目の基準点に対応したバーニング構成点である。また、○印で表示された2つのバーニング構成点1022,1023は、基準線に対して垂直方向の直線上の2点に対応したバーニング構成点である。   When the burning calculation is completed, the detected burning area is displayed on the measurement screen according to an instruction from the measurement processing unit 18 (step SD). As shown in FIG. 10B, the burning area is displayed on the left screen of the measurement screen 1010. More specifically, the calculated burning composing points are displayed as small ● marks, X marks, or ○ marks, and are connected by a line. Two burning composing points 1020 and 1021 displayed by crosses are burning composing points corresponding to the first reference point and the second reference point designated by the user. Also, the two burning composing points 1022 and 1023 displayed with circles are burning composing points corresponding to two points on a straight line perpendicular to the reference line.

また、計測処理部18の指示により、算出されたバーニングサイズが計測画面上に表示される(ステップSE)。図10(b)に示すように、バーニングサイズは計測画面1010の右画面上の結果ウィンドウ1030に表示される。結果ウィンドウ1030の上部にはバーニングのイメージが表示され、下部にはバーニングサイズが文字で表示される。W1,W2,L,Aはそれぞれ、バーニングの一方の幅、他方の幅、周囲長、面積を表している。   Further, the calculated burning size is displayed on the measurement screen according to an instruction from the measurement processing unit 18 (step SE). As shown in FIG. 10B, the burning size is displayed in the result window 1030 on the right screen of the measurement screen 1010. The burning image is displayed in the upper part of the result window 1030, and the burning size is displayed in characters in the lower part. W1, W2, L, and A represent one width of the burning, the other width, the peripheral length, and the area, respectively.

次に、図13を参照し、図8のステップSCにおけるバーニング計算の手順を説明する。基準点指定部18bによって算出された3つの基準点の画像座標が基準楕円算出部18cに入力される(ステップSC1)と、基準楕円算出部18cは、3つの基準点の画像座標に基づいて、サーチポイントを算出する(ステップSC2)。サーチポイントの算出の詳細については後述する。   Next, with reference to FIG. 13, the burning calculation procedure in step SC of FIG. 8 will be described. When the image coordinates of the three reference points calculated by the reference point designating unit 18b are input to the reference ellipse calculation unit 18c (step SC1), the reference ellipse calculation unit 18c is based on the image coordinates of the three reference points. A search point is calculated (step SC2). Details of the search point calculation will be described later.

続いて、基準楕円算出部18cは、サーチポイントの情報に基づいて、サーチエリアを算出する(ステップSC3)。サーチエリアの算出の詳細については後述する。続いて、バーニング構成点算出部18dは、サーチポイントおよびサーチエリアの情報に基づいて、バーニング構成点の画像座標を算出する(ステップSC4)。バーニング構成点の算出の詳細については後述する。   Subsequently, the reference ellipse calculator 18c calculates a search area based on the search point information (step SC3). Details of the search area calculation will be described later. Subsequently, the burning composing point calculation unit 18d calculates the image coordinates of the burning composing point based on the search point and search area information (step SC4). Details of the calculation of the burning composing point will be described later.

続いて、バーニング構成点算出部18dは、算出した左画面内の各バーニング構成点に対応した右画面内のマッチング点の画像座標を算出する(ステップSC5)。より具体的には、バーニング構成点算出部18dは、バーニング構成点の画像座標に基づいてパターンマッチング処理を実行し、左右2画像の対応点であるマッチング点を算出する。このパターンマッチング処理の方法は特開2004−49638号公報に記載されたものと同様である。   Subsequently, the burning composing point calculation unit 18d calculates image coordinates of matching points in the right screen corresponding to the calculated burning composing points in the left screen (step SC5). More specifically, the burning composing point calculation unit 18d performs a pattern matching process based on the image coordinates of the burning composing points, and calculates matching points that are corresponding points of the left and right two images. The pattern matching processing method is the same as that described in Japanese Patent Application Laid-Open No. 2004-49638.

続いて、バーニング構成点算出部18dは、算出したバーニング構成点およびそのマッチング点の画像座標に基づいて、各バーニング構成点の空間座標(現実の空間上の3次元座標)を算出する(ステップSC6)。空間座標の計算方法は、特開2004−49638号公報に記載されているものと同様である。   Subsequently, the burning composing point calculation unit 18d calculates the spatial coordinates (three-dimensional coordinates in the real space) of each burning composing point based on the calculated burning composing points and the image coordinates of the matching points (step SC6). ). The method for calculating the spatial coordinates is the same as that described in Japanese Patent Application Laid-Open No. 2004-49638.

最後に、バーニングサイズ算出部18eは、算出されたバーニング構成点の空間座標に基づいて、バーニングサイズを算出する(ステップSC7)。バーニングサイズの算出の詳細については後述する。   Finally, the burning size calculation unit 18e calculates a burning size based on the calculated spatial coordinates of the burning composing points (step SC7). Details of the burning size calculation will be described later.

次に、図14を参照し、サーチポイント算出処理(ステップSC2)の手順を説明する。3つの基準点の画像座標が制御部18aから入力される(ステップSC21)と、基準楕円算出部18cは、入力された基準点の画像座標に基づいて、基準楕円を算出する(ステップSC22)。このとき算出される基準楕円は、図8のステップSCにおいて、3番目の基準点が指定された際に表示される基準楕円と同じものである。   Next, the procedure of search point calculation processing (step SC2) will be described with reference to FIG. When the image coordinates of the three reference points are input from the control unit 18a (step SC21), the reference ellipse calculation unit 18c calculates a reference ellipse based on the input image coordinates of the reference point (step SC22). The reference ellipse calculated at this time is the same as the reference ellipse displayed when the third reference point is designated in step SC of FIG.

続いて、基準楕円算出部18cは、基準楕円の周囲長を算出する。より具体的には、基準楕円算出部18cは、基準楕円を構成する各画素の画像座標を用いて、それぞれ隣り合う画素の2次元距離の合計値を求めることにより、基準楕円の周囲長を算出する(ステップSC23)。続いて、基準楕円算出部18cは、サーチポイントの数、間隔、および画像座標を算出する(ステップSC24)。最後に、基準楕円算出部18cは、サーチポイントの情報(サーチポイントの数・間隔・画像座標)を制御部18aへ出力する(ステップSC25)。ただし、サーチポイントが算出できなかった場合、サーチポイントの数は0となる。   Subsequently, the reference ellipse calculation unit 18c calculates the perimeter of the reference ellipse. More specifically, the reference ellipse calculation unit 18c calculates the perimeter of the reference ellipse by calculating the total value of the two-dimensional distances of adjacent pixels using the image coordinates of each pixel constituting the reference ellipse. (Step SC23). Subsequently, the reference ellipse calculation unit 18c calculates the number of search points, the interval, and the image coordinates (step SC24). Finally, the reference ellipse calculation unit 18c outputs search point information (number of search points, interval, and image coordinates) to the control unit 18a (step SC25). However, when the search points cannot be calculated, the number of search points is zero.

サーチポイントの算出は、以下の(A)〜(H)の条件に基づいて行われる。
(A)ユーザが指定した最初の基準点および2番目の基準点もサーチポイントに数える。
(B)サーチポイントは基準楕円上に等間隔で並んでいる。
(C)サーチポイントの数および間隔は基準楕円の周囲長に比例する。
(D)サーチポイントの数には上限がある。
(E)サーチポイントの間隔には下限がある。
(F)基準楕円の周囲長が非常に小さい場合、サーチポイントを算出しない。
(G)ユーザが指定した最初の基準点と2番目の基準点との距離が非常に小さい場合、サーチポイントを算出しない。
(H)ユーザが指定した3番目の基準点と基準線との距離が非常に小さい場合、サーチポイントを算出しない。
The search points are calculated based on the following conditions (A) to (H).
(A) The first reference point and the second reference point designated by the user are also counted as search points.
(B) The search points are arranged at equal intervals on the reference ellipse.
(C) The number and interval of search points are proportional to the perimeter of the reference ellipse.
(D) There is an upper limit on the number of search points.
(E) The search point interval has a lower limit.
(F) When the perimeter of the reference ellipse is very small, the search point is not calculated.
(G) When the distance between the first reference point designated by the user and the second reference point is very small, the search point is not calculated.
(H) When the distance between the third reference point designated by the user and the reference line is very small, the search point is not calculated.

上記の(C)〜(H)の条件を設定する理由は、以下の(C’)〜(H’)の通りである。
(C’)サーチエリアが互いに重なり合わないようにするため。
(D’)サーチポイントの数が多すぎると、バーニング構成点の算出に時間がかかってしまうため。
(E’)サーチポイントの間隔が小さすぎると、サーチエリアのサイズが小さくなりすぎ、バーニング構成点の算出を行うには不向きとなるため。
(F’)〜(H’)(C’)と同様。
The reasons for setting the above conditions (C) to (H) are as follows (C ′) to (H ′).
(C ′) To prevent search areas from overlapping each other.
(D ′) If there are too many search points, it takes time to calculate the burning composing points.
(E ′) If the search point interval is too small, the size of the search area becomes too small, which is not suitable for calculating the burning composing point.
Same as (F ′) to (H ′) (C ′).

上記の条件に基づいて算出されたサーチポイントの数および間隔は以下の性質を示す。図15(a)は、サーチポイント1500が基準楕円1510上に等間隔で並んでいる様子を示している。図15(b)に示すように、図15(a)よりも周囲長が大きくなると、それに比例してサーチポイント1500の間隔1520も大きくなる。また、図15(c)に示すように、図15(a)よりも周囲長が小さくなると、それに比例してサーチポイント1500の間隔1520も小さくなる。   The number and interval of search points calculated based on the above conditions have the following properties. FIG. 15A shows a state where the search points 1500 are arranged on the reference ellipse 1510 at equal intervals. As shown in FIG. 15B, when the perimeter becomes larger than that in FIG. 15A, the interval 1520 of the search points 1500 is also increased in proportion thereto. Further, as shown in FIG. 15C, when the perimeter becomes smaller than that in FIG. 15A, the interval 1520 of the search points 1500 is also reduced in proportion thereto.

図15(d)に示すように、周囲長がより小さくなり、所定の第1の周囲長を下回ると、サーチポイント1500の数が少なくなる。図15(e)に示すように、周囲長がさらに小さくなり、所定の第2の周囲長(第1の周囲長>第2の周囲長)を下回ると、サーチポイントが算出されない。また、図15(f)に示すように、基準点1530,1531の距離が非常に小さいと、サーチポイントが算出されない。また、図15(g)に示すように、ユーザが指定した3番目の基準点(カーソル1540の位置)と基準線1550との距離が非常に小さいと、サーチポイントが算出されない。本実施形態では、サーチポイントの間隔が等間隔であるが、等間隔でなくても良い。   As shown in FIG. 15 (d), when the perimeter becomes smaller and falls below the predetermined first perimeter, the number of search points 1500 decreases. As shown in FIG. 15E, when the perimeter is further reduced and falls below a predetermined second perimeter (first perimeter> second perimeter), the search point is not calculated. Further, as shown in FIG. 15F, if the distance between the reference points 1530 and 1531 is very small, the search point is not calculated. Further, as shown in FIG. 15G, if the distance between the third reference point (position of the cursor 1540) designated by the user and the reference line 1550 is very small, the search point is not calculated. In the present embodiment, the search points are equally spaced, but may not be equally spaced.

次に、図16を参照し、サーチエリア算出処理(ステップSC3)の手順を説明する。サーチポイントの情報が制御部18aから入力される(ステップSC31)と、基準楕円算出部18cは、入力されたサーチポイントの情報に基づいて、サーチエリアの数および画像座標を算出する(ステップSC32)。最後に、基準楕円算出部18cはサーチエリアの情報(サーチエリアのサイズ・画像座標)を制御部18aへ出力する(ステップSC33)。   Next, the procedure of the search area calculation process (step SC3) will be described with reference to FIG. When search point information is input from control unit 18a (step SC31), reference ellipse calculation unit 18c calculates the number of search areas and image coordinates based on the input search point information (step SC32). . Finally, the reference ellipse calculator 18c outputs search area information (search area size / image coordinates) to the controller 18a (step SC33).

サーチエリアの算出は、以下の(a)〜(e)の条件に基づいて行われる。
(a)サーチエリアはサーチポイントの周囲に位置する。
(b)サーチエリアの形状は正方形である。
(c)サーチエリアのサイズは、互いのサーチエリアが重なり合わない大きさであり、かつサーチポイントの間隔に比例する。
(d)サーチエリアのサイズには上限がある。
(e)サーチエリアのサイズには下限がある。
The search area is calculated based on the following conditions (a) to (e).
(A) The search area is located around the search point.
(B) The search area has a square shape.
(C) The size of the search area is such that the search areas do not overlap each other and is proportional to the search point interval.
(D) There is an upper limit on the size of the search area.
(E) There is a lower limit to the size of the search area.

上記の(c)〜(e)の条件を設定する理由は、以下の(c’)〜(e’)の通りである。
(c’)サーチエリアが互いに重なり合ってしまうと、同一の領域でバーニング構成点が算出され、検出されるバーニングのエッジがねじれてしまう可能性があるため。
(d’)サーチエリアのサイズが大きすぎると、画像処理に時間がかかってしまうため。また、バーニング構成点の算出を行うには不向きとなるため。
(e’)サーチエリアのサイズが小さすぎると、バーニング構成点の算出を行うには不向きとなるため。
The reasons for setting the above conditions (c) to (e) are as follows (c ′) to (e ′).
(C ′) If the search areas overlap each other, burning composing points are calculated in the same region, and the detected burning edge may be twisted.
(D ′) If the size of the search area is too large, it takes time for image processing. Also, it is not suitable for calculating the burning composing point.
(E ′) If the size of the search area is too small, it is not suitable for calculating the burning composing point.

上記の条件に基づいて算出されたサーチエリアのサイズは以下の性質を示す。図17(a)は、サーチエリア1700がサーチポイント1710の周囲に並んでいる様子を示している。図17(b)に示すように、図17(a)よりもサーチポイント1710の間隔が大きくなると、それに比例して、サーチエリア1700のサイズも大きくなる。このときのサーチエリア1700のサイズは、互いに重なり合わない大きさである。図17(c)に示すように、図17(b)よりもサーチポイント1710の間隔がさらに大きくなると、サーチエリア1700のサイズが上限に達する。   The size of the search area calculated based on the above conditions has the following properties. FIG. 17A shows a state where search areas 1700 are arranged around search points 1710. As shown in FIG. 17B, when the interval between the search points 1710 becomes larger than that in FIG. 17A, the size of the search area 1700 increases in proportion thereto. The size of the search area 1700 at this time is a size that does not overlap each other. As shown in FIG. 17C, when the interval between the search points 1710 becomes larger than that in FIG. 17B, the size of the search area 1700 reaches the upper limit.

また、図17(d)に示すように、図17(a)よりもサーチポイント1710の間隔が小さくなると、それに比例して、サーチエリア1700のサイズも小さくなる。このときのサーチエリア1700のサイズは、互いに重なり合わない大きさである。サーチポイント1710の間隔がさらに小さくなると、サーチエリア1700のサイズが下限に達する。サーチポイント1710の間隔がこれ以下になると、図17(e)に示すように、サーチポイント自体がなくなる。本実施形態では、サーチエリアの形状が正方形であるが、正方形でなくても良い。   Further, as shown in FIG. 17D, when the interval between the search points 1710 becomes smaller than that in FIG. 17A, the size of the search area 1700 becomes smaller in proportion thereto. The size of the search area 1700 at this time is a size that does not overlap each other. When the interval between the search points 1710 is further reduced, the size of the search area 1700 reaches the lower limit. When the interval between the search points 1710 is less than this, the search points themselves disappear as shown in FIG. In the present embodiment, the shape of the search area is a square, but it need not be a square.

次に、図18を参照し、バーニング構成点算出処理(ステップSC4)の手順を説明する。また、図19はこの手順を模式的に示しており、適宜図19も参照する。サーチポイントの画像座標およびサーチエリアのサイズが制御部18aから入力される(ステップSC41)と、バーニング構成点算出部18dは、入力されたサーチポイントの画像座標およびサーチエリアのサイズに基づいて、サーチエリア内のエリア画像を抽出する(ステップSC42)。これによって、サーチポイント1900を含むサーチエリア1901内のエリア画像1910が抽出される。   Next, the procedure of the burning composing point calculation process (step SC4) will be described with reference to FIG. FIG. 19 schematically shows this procedure, and FIG. 19 is also referred to as appropriate. When the image coordinates of the search point and the size of the search area are input from the control unit 18a (step SC41), the burning composing point calculation unit 18d searches based on the input image coordinates of the search point and the size of the search area. An area image in the area is extracted (step SC42). As a result, an area image 1910 in the search area 1901 including the search point 1900 is extracted.

続いて、バーニング構成点算出部18dは、抽出したエリア画像をグレースケール化し(ステップSC43)、グレースケール化した画像に対してエッジ抽出を行う(ステップSC44)。これによって、エリア画像1910をグレースケール化した画像1920からエッジ1921が抽出される。続いて、バーニング構成点算出部18dは、抽出したエッジの近似直線を算出し(ステップSC45)、算出したエッジ近似直線とサーチエリアの境界線との2つの交点を算出する(ステップSC46)。これによって、エッジ近似直線1930が算出され、さらにエッジ近似直線1930とサーチエリアの境界線との交点1940,1941が算出される。   Subsequently, the burning composing point calculation unit 18d grayscales the extracted area image (step SC43), and performs edge extraction on the grayscaled image (step SC44). As a result, an edge 1921 is extracted from an image 1920 obtained by converting the area image 1910 into a gray scale. Subsequently, the burning composing point calculation unit 18d calculates an approximated straight line of the extracted edge (step SC45), and calculates two intersections of the calculated edge approximated line and the boundary line of the search area (step SC46). As a result, an edge approximate line 1930 is calculated, and intersections 1940 and 1941 between the edge approximate line 1930 and the boundary line of the search area are calculated.

続いて、バーニング構成点算出部18dは、算出した2つの交点の中点を算出し(ステップSC47)、算出した中点とエッジとの最近傍点を算出する(ステップSC48)。これによって、交点1940,1941の中点1950が算出され、さらに中点1950に最も近いエッジ上の最近傍点1960が算出される。最後に、バーニング構成点算出部18dは、算出した最近傍点をバーニング構成点として、その画像座標を制御部18aへ出力する(ステップSC49)。   Subsequently, the burning composing point calculation unit 18d calculates the midpoint of the two calculated intersections (step SC47), and calculates the nearest point between the calculated midpoint and the edge (step SC48). As a result, the midpoint 1950 of the intersections 1940 and 1941 is calculated, and the nearest neighbor point 1960 on the edge closest to the midpoint 1950 is further calculated. Finally, the burning composing point calculation unit 18d uses the calculated nearest neighbor point as the burning composing point and outputs the image coordinates to the control unit 18a (step SC49).

ステップSC43のグレースケール化では、RGBの各成分で表された画像内の各画素の輝度値Yが、例えば以下の(1)式を用いて算出される。
Y=0.299×R+0.587×G+0.114×B ・・・(1)
計測対象物であるバーニングは特徴的な色を有している場合があるので、その特徴的な色、例えばR(赤色)の輝度値をそのまま画素の輝度値Yとしても良い。算出された輝度値Yで構成される映像信号に基づいて、ステップSC44でエッジ抽出が行われる。
In the gray scale conversion in step SC43, the luminance value Y of each pixel in the image represented by each RGB component is calculated using, for example, the following equation (1).
Y = 0.299 × R + 0.587 × G + 0.114 × B (1)
Since the burning that is the measurement object may have a characteristic color, the luminance value of the characteristic color, for example, R (red) may be used as the luminance value Y of the pixel as it is. Based on the video signal composed of the calculated luminance value Y, edge extraction is performed in step SC44.

ステップSC44のエッジ抽出後にエッジ近似直線の算出を行うため、エッジ抽出には、抽出後の画像にできるだけノイズが発生しない処理を用いるのが良い。例えばSobel・Prewitt・Gradientフィルタ等の1次微分フィルタやLaplacianフィルタ等の2次微分フィルタを用いると良い。また、膨張・収縮・差分処理およびノイズ低減フィルタ等を組み合わせた処理を用いてエッジ抽出を行っても良い。このとき、グレースケール画像を2値化する必要があるが、2値化閾値には固定値を用いても良いし、P−タイル法、モード法、判別分析法など、グレースケール画像の輝度に基づいて閾値を変更する方法を用いても良い。   Since the edge approximate straight line is calculated after the edge extraction in step SC44, it is preferable to use a process that generates as little noise as possible in the extracted image for the edge extraction. For example, a primary differential filter such as a Sobel / Prewitt / Gradient filter or a secondary differential filter such as a Laplacian filter may be used. Alternatively, edge extraction may be performed using a process that combines expansion / contraction / difference processing and a noise reduction filter. At this time, it is necessary to binarize the grayscale image. However, a fixed value may be used as the binarization threshold, and the luminance of the grayscale image may be increased by a P-tile method, a mode method, a discriminant analysis method, or the like. You may use the method of changing a threshold based on this.

ステップSC45のエッジ近似直線の算出では、ステップSC44で抽出されたエッジの情報に基づいて、例えば最小2乗法を用いて近似直線を算出する。なお、上記では、エッジの形状に対して直線近似を行っているが、2次以上の関数を使って曲線近似を行っても良い。エッジの形状が直線よりも曲線に近い場合には、曲線近似を行った方がより精度の良いバーニング構成点の算出が可能となる。   In the calculation of the edge approximate straight line in step SC45, the approximate straight line is calculated using, for example, the least square method based on the edge information extracted in step SC44. In the above description, linear approximation is performed on the shape of the edge, but curve approximation may be performed using a quadratic or higher function. When the shape of the edge is closer to the curve than the straight line, the burning composing point can be calculated with higher accuracy by performing the curve approximation.

ステップSC49のバーニング構成点の出力では、それまでのステップSC42〜SC48の処理において、バーニング構成点の算出がうまくいかなかった場合(例えばエッジ抽出や近似直線の算出がうまくいかない等)には、サーチポイントをそのままバーニング構成点として、その画像座標を出力しても良い。   In the output of the burning composing point in step SC49, if the burning composing point is not successfully calculated in the processing of steps SC42 to SC48 so far (for example, the edge extraction or the calculation of the approximate straight line is not successful), the search point. The image coordinates may be output as the burning composing point as it is.

次に、図20を参照し、バーニングサイズ算出処理(ステップSC7)の手順を説明する。バーニング構成点の空間座標が制御部18aから入力される(ステップSC71)と、バーニングサイズ算出部18eはバーニングの第1の幅を算出する(ステップSC72)。第1の幅は、ユーザが指定した最初の基準点と2番目の基準点に対応した2つのバーニング構成点の空間距離である。続いて、バーニングサイズ算出部18eはバーニングの第2の幅を算出する(ステップSC73)。第2の幅は、基準線に対して直交する直線上の2つのサーチポイントに対応した2つのバーニング構成点の空間距離である。   Next, the procedure of the burning size calculation process (step SC7) will be described with reference to FIG. When the spatial coordinates of the burning composing point are input from the control unit 18a (step SC71), the burning size calculation unit 18e calculates a first width of burning (step SC72). The first width is a spatial distance between two burning composing points corresponding to the first reference point and the second reference point specified by the user. Subsequently, the burning size calculating unit 18e calculates a second width of the burning (Step SC73). The second width is a spatial distance between two burning composing points corresponding to two search points on a straight line orthogonal to the reference line.

続いて、バーニングサイズ算出部18eはバーニングの周囲長を算出する(ステップSC74)。周囲長は、全ての隣り合うバーニング構成点同士の空間距離の合計である。続いて、バーニングサイズ算出部18eはバーニングの面積を算出する(ステップSC75)。面積は、全てのバーニング構成点で囲まれた領域の空間面積である。続いて、バーニングサイズ算出部18eは、算出したバーニングサイズを制御部18aへ出力する(ステップSC76)。   Subsequently, the burning size calculation unit 18e calculates the perimeter of the burning (Step SC74). The perimeter is the sum of the spatial distances between all adjacent burning composing points. Subsequently, the burning size calculation unit 18e calculates a burning area (step SC75). The area is a space area of a region surrounded by all burning composing points. Subsequently, the burning size calculation unit 18e outputs the calculated burning size to the control unit 18a (step SC76).

上述したように、本実施形態によれば、3つの基準点を指定すればバーニングサイズの計測が可能となるので、従来のように多数(例えば10点以上)の基準点を指定する場合と比較して、操作の煩わしさを低減し操作性を向上することができる。また、バーニングサイズを示すパラメータとして、少なくとも2種類のパラメータを算出することによって、バーニングサイズを詳細に知ることができる。   As described above, according to the present embodiment, the burning size can be measured by specifying three reference points, so that it is compared with the case where a large number (for example, 10 or more) reference points are specified as in the prior art. Thus, the troublesome operation can be reduced and the operability can be improved. Further, the burning size can be known in detail by calculating at least two types of parameters as the parameters indicating the burning size.

(第2の実施形態)
次に、本発明の第2の実施形態を説明する。図21は、本実施形態による計測処理部18の構成を示している。図2に示した構成と同一の構成には同一の符号を付与し、説明を省略する。本実施形態では、バーニング構成点算出部18dが算出したバーニング構成点を修正するバーニング構成点修正部18gが設けられている。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. FIG. 21 shows a configuration of the measurement processing unit 18 according to the present embodiment. The same components as those shown in FIG. 2 are denoted by the same reference numerals, and description thereof is omitted. In the present embodiment, a burning composing point correcting unit 18g for correcting the burning composing point calculated by the burning composing point calculating unit 18d is provided.

第1の実施形態では、図22(a)に示すように、計測対象物であるバーニング2200の形状が、円や楕円、矩形とはかけ離れた形状をしている場合、図22(b)に示すように、基準楕円2210をうまくバーニングの輪郭2220に合わせることができない。この状態でバーニング計算を行うと、図22(c)に示すように、バーニングの輪郭2220とバーニング構成点2230を一致させることが困難となり、バーニングサイズの算出精度が低下してしまう。これに対して、本実施形態では、バーニング構成点の修正(モディファイ)を行うことが可能となっている。   In the first embodiment, as shown in FIG. 22A, when the shape of the burning 2200 as a measurement object is a shape that is far from a circle, an ellipse, or a rectangle, the shape shown in FIG. As shown, the reference ellipse 2210 cannot be successfully matched to the burning contour 2220. When burning calculation is performed in this state, as shown in FIG. 22C, it is difficult to match the burning contour 2220 and the burning composing point 2230, and the calculation accuracy of the burning size is lowered. In contrast, in the present embodiment, it is possible to correct (modify) the burning composing point.

以下、図23〜図25、図28を参照し、バーニング構成点のモディファイの手順を説明する。図23はモディファイの手順を示し、図24および図25はモディファイ時の計測画面を示している。図28は、モディファイ時に作成されるラベル表を示している。ラベル表については後述する。バーニング構成点のモディファイは、計測が終了し、図24(a)に示すように、バーニング構成点2400を含むバーニング領域、およびバーニングサイズを含む結果ウィンドウ2410が計測画面に表示されている時点から開始される。   Hereinafter, the procedure for modifying the burning composing point will be described with reference to FIGS. 23 to 25 and FIG. 28. FIG. 23 shows a modification procedure, and FIGS. 24 and 25 show measurement screens during modification. FIG. 28 shows a label table created during modification. The label table will be described later. The modification of the burning composing point starts when the measurement is finished and, as shown in FIG. 24A, the burning area including the burning composing point 2400 and the result window 2410 including the burning size are displayed on the measurement screen. Is done.

リモートコントローラ4あるいはPC31の操作により、図24(a)に示すように、ユーザがカーソル2420を「Modify」アイコン2430上に移動させ、クリック等の操作を行う(ステップSF)と、計測用内視鏡装置1の動作モードがモディファイモードに移行し、図24(b)に示すように、結果ウィンドウが非表示となる(ステップSG)。   When the user moves the cursor 2420 onto the “Modify” icon 2430 and performs an operation such as clicking (step SF), as shown in FIG. The operation mode of the mirror device 1 shifts to the modify mode, and the result window is not displayed as shown in FIG. 24B (step SG).

続いて、バーニング構成点修正部18gは、バーニング構成点同士の論理的な位置関係(どのバーニング構成点がどのバーニング構成点と隣接しているのかという関係)を示すラベル表(図28(a))を新規に作成し、記憶部18fに格納する(ステップSH)。ラベル表には、バーニング構成点の抽出順序を示したラベル番号と、バーニング構成点の画像座標と、それぞれのバーニング構成点に隣接するバーニング構成点のラベル番号を示す隣接ラベル番号1,2とが記載されている。   Subsequently, the burning composing point correction unit 18g displays a label table (a relation of which burning composing point is adjacent to which burning composing point) between the burning composing points (FIG. 28A). ) Is newly created and stored in the storage unit 18f (step SH). The label table includes a label number indicating the extraction order of the burning composing points, image coordinates of the burning composing points, and adjacent label numbers 1 and 2 indicating the label numbers of the burning composing points adjacent to the respective burning composing points. Have been described.

続いて、図24(c)に示すように、ユーザがカーソル2420を左画面上に移動させ、バーニング構成点を修正したい位置に合わせてクリック等の操作を行う(ステップSI)と、各バーニング構成点のうち1つが選択され、その選択されたバーニング構成点2440の画像座標がカーソル2420の画像座標に修正される(ステップSJ)。続いて、修正されたバーニング構成点の画像座標に基づいて更新されたラベル表が記憶部18fに追加される(ステップSK)。   Subsequently, as shown in FIG. 24C, when the user moves the cursor 2420 to the left screen and performs an operation such as clicking according to the position where the burning composing point is to be corrected (step SI), One of the points is selected, and the image coordinates of the selected burning composing point 2440 are corrected to the image coordinates of the cursor 2420 (step SJ). Subsequently, a label table updated based on the image coordinates of the corrected burning composing point is added to the storage unit 18f (step SK).

続いて、修正されたバーニング構成点を含むバーニング領域が計測画面上に表示される(ステップSL)。続いて、修正されたバーニング構成点の画像座標に基づいて、バーニングサイズを再度算出するバーニング再計算が行われる(ステップSM)。バーニング再計算の詳細については後述する。図25(a)に示すように、バーニング再計算の実行中は、計算中であることを示すウィンドウ2500が表示される。バーニング再計算が終了すると、図25(b)に示すように、結果ウィンドウ2510が再表示される(ステップSN)。結果ウィンドウ2510には、再計算されたバーニングサイズが表示される。   Subsequently, a burning area including the corrected burning composing point is displayed on the measurement screen (step SL). Subsequently, based on the image coordinates of the corrected burning composing point, burning recalculation for recalculating the burning size is performed (step SM). Details of the burning recalculation will be described later. As shown in FIG. 25A, during execution of the burning recalculation, a window 2500 indicating that the calculation is being performed is displayed. When the burning recalculation is completed, the result window 2510 is displayed again as shown in FIG. 25B (step SN). The result window 2510 displays the recalculated burning size.

バーニング再計算の結果が表示された後、ユーザがモディファイを継続する場合(ステップSOでYesの場合)には、処理がステップSIに戻り、モディファイを終了する場合(ステップSOでNoの場合)には、処理がステップSPに移行する。ユーザがカーソルを「Modify」アイコン上に移動させ、再度クリック等の操作を行う(ステップSP)と、バーニング構成点修正部18gは記憶部18f内のラベル表を消去(削除)する(ステップSQ)。続いて、計測用内視鏡装置1はモディファイモードを終了し、通常の計測に戻る。   After the result of the burning recalculation is displayed, when the user continues the modification (Yes in step SO), the process returns to step SI, and when the modification is finished (No in step SO). The process proceeds to step SP. When the user moves the cursor over the “Modify” icon and performs an operation such as clicking again (step SP), the burning composing point correction unit 18g deletes (deletes) the label table in the storage unit 18f (step SQ). . Subsequently, the measurement endoscope apparatus 1 ends the modify mode and returns to normal measurement.

次に、図26、図28、および図29を参照し、バーニング構成点の画像座標を修正する手順の詳細(上記のステップSI,SJ,SK,SLに対応)を説明する。図26に示すバーニング構成点には、ラベル表に記載されたラベル番号(1〜16)が付与されている。説明の便宜上、図26にはラベル番号が記載されているが、実際の計測画面ではラベル番号は表示されない。図26(a)に示すように、バーニング構成点算出部18dによって算出されたバーニング構成点2600とバーニングの輪郭2610とがよく一致しなかった場合、図26(b)に示すように、ユーザはバーニング構成点を修正したい位置へカーソル2620を移動させる。このとき、ユーザによって指示されるカーソル2620の位置はバーニング構成点の修正後の位置となる。   Next, with reference to FIG. 26, FIG. 28, and FIG. 29, the details of the procedure for correcting the image coordinates of the burning composing points (corresponding to the above steps SI, SJ, SK, SL) will be described. The burning composing points shown in FIG. 26 are given the label numbers (1 to 16) described in the label table. For convenience of explanation, the label number is described in FIG. 26, but the label number is not displayed on the actual measurement screen. As shown in FIG. 26A, when the burning composing point 2600 calculated by the burning composing point calculation unit 18d does not coincide well with the burning contour 2610, as shown in FIG. The cursor 2620 is moved to the position where the burning composing point is to be corrected. At this time, the position of the cursor 2620 indicated by the user is the position after the correction of the burning composing point.

カーソル2620を所望の位置へ移動させた後、ユーザがクリック等の操作を行うと、カーソル2620の位置情報が計測処理部18に入力される。制御部18aは、ユーザによって指示された修正位置の画像座標を算出し、バーニング構成点修正部18gへ出力する。バーニング構成点修正部18gは、修正位置の画像座標と各バーニング構成点の画像座標とに基づいて、修正位置と各バーニング構成点の2次元距離を算出し、その2次元距離が最小となるバーニング構成点(修正位置の最近傍のバーニング構成点)を選択する。図26(b)では、バーニング構成点2600aが選択される。   When the user performs an operation such as clicking after moving the cursor 2620 to a desired position, position information of the cursor 2620 is input to the measurement processing unit 18. The control unit 18a calculates the image coordinates of the correction position designated by the user and outputs the image coordinates to the burning composing point correction unit 18g. The burning composing point correcting unit 18g calculates a two-dimensional distance between the correcting position and each burning composing point based on the image coordinates of the correcting position and the image coordinates of each burning composing point, and the burning that minimizes the two-dimensional distance. Select a composing point (the burning composing point closest to the correction position). In FIG. 26B, the burning composing point 2600a is selected.

図28(b)は、このとき更新されたラベル表を示している。ラベル番号4のバーニング構成点の画像座標が、(X4,Y4)から(X4’,Y4’)に更新されていることが分かる。バーニング構成点修正部18gは、このラベル表を記憶部18fに格納する。続いて、バーニング構成点修正部18gは、更新されたラベル表に基づいて、修正後のバーニング構成点の描画処理を実行する。これによって、図26(c)に示すように、バーニング構成点2600aがカーソル2620の位置に移動する。   FIG. 28B shows the label table updated at this time. It can be seen that the image coordinates of the burning composing point with the label number 4 are updated from (X4, Y4) to (X4 ', Y4'). The burning composing point correction unit 18g stores this label table in the storage unit 18f. Subsequently, the burning composing point correction unit 18g executes the correction processing of the corrected burning composing point based on the updated label table. As a result, the burning composing point 2600a is moved to the position of the cursor 2620 as shown in FIG.

ユーザは上記の修正位置の指示を繰り返すことによって、バーニングの輪郭とバーニング構成点とが良く一致するようにバーニング構成点の修正を行う。例えば、図26(c)に示したようにバーニング構成点2600aの修正を行った後、ユーザは上記と同様の手順により、図26(d)に示すようにバーニング構成点2600bの修正を行う。さらに、ユーザは上記と同様の手順により、図26(e)に示すようにバーニング構成点2600cの修正を行う。   The user corrects the burning composing point so that the burning contour and the burning composing point are in good agreement by repeating the above-described correction position instruction. For example, after correcting the burning composing point 2600a as shown in FIG. 26 (c), the user corrects the burning composing point 2600b as shown in FIG. 26 (d) by the same procedure as described above. Further, the user corrects the burning composing point 2600c as shown in FIG. 26E by the same procedure as described above.

このとき、バーニング構成点修正部18gは、図29(a),(b)に示すようにラベル表を更新する。図29(a)は、バーニング構成点2600bが修正された後のラベル表を示している。ラベル番号5のバーニング構成点の画像座標が(X5,Y5)から(X5’,Y5’)に更新されている。図29(b)は、バーニング構成点2600cが修正された後のラベル表を示している。ラベル番号16のバーニング構成点の画像座標が(X16,Y16)から(X16’,Y16’)に更新されている。   At this time, the burning composing point correction unit 18g updates the label table as shown in FIGS. 29 (a) and 29 (b). FIG. 29A shows a label table after the burning composing point 2600b is corrected. The image coordinates of the burning composing point with the label number 5 are updated from (X5, Y5) to (X5 ′, Y5 ′). FIG. 29B shows a label table after the burning composing point 2600c is corrected. The image coordinates of the burning composing point with label number 16 are updated from (X16, Y16) to (X16 ', Y16').

上記の手順では、ユーザがバーニング構成点の修正後の位置を指定すると、その位置に最も近いバーニング構成点が自動的に選択され、指定位置に移動するが、ユーザが修正対象のバーニング構成点を指定し、さらに修正後の位置を指定すると、指定されたバーニング構成点が指定位置に移動するようにしてもよい。   In the above procedure, when the user specifies the corrected position of the burning composing point, the burning composing point closest to that position is automatically selected and moved to the specified position, but the user selects the burning composing point to be corrected. When the designation is made and the position after correction is designated, the designated burning composing point may be moved to the designated position.

次に、図27を参照し、バーニング再計算(ステップSM)の詳細を説明する。バーニング構成点修正部18gによって算出された修正後のバーニング構成点が入力される(ステップSM1)と、バーニング構成点算出部18dは、左画面内の各バーニング構成点に対応した右画面内のマッチング点の画像座標を算出する(ステップSM2)。続いて、バーニング構成点算出部18dは、バーニング構成点およびそのマッチング点の画像座標に基づいて、各バーニング構成点の空間座標(現実の空間上の3次元座標)を算出する(ステップSM3)。最後に、バーニングサイズ算出部18eは、算出されたバーニング構成点の空間座標に基づいて、バーニングサイズを算出する(ステップSM4)。   Next, details of the burning recalculation (step SM) will be described with reference to FIG. When the corrected burning composing point calculated by the burning composing point correcting unit 18g is input (step SM1), the burning composing point calculating unit 18d performs matching in the right screen corresponding to each burning composing point in the left screen. The image coordinates of the point are calculated (step SM2). Subsequently, the burning composing point calculation unit 18d calculates the spatial coordinates (three-dimensional coordinates in the real space) of each burning composing point based on the image coordinates of the burning composing point and the matching point (step SM3). Finally, the burning size calculation unit 18e calculates a burning size based on the calculated spatial coordinates of the burning composing points (step SM4).

次に、本実施形態の変形例を説明する。本変形例では、図31(a)に示すように、計測画面の「Modify」アイコン3100の下に、プレビューアイコン(「←」アイコン3110および「→」アイコン3111)が設けられている。ユーザは、このプレビューアイコンを操作することにより、モディファイモードに移行した後に修正したバーニング構成点の状態を元に戻したり、先に進めたりすることができる。   Next, a modification of this embodiment will be described. In this modification, as shown in FIG. 31A, preview icons (“←” icon 3110 and “→” icon 3111) are provided below the “Modify” icon 3100 on the measurement screen. By operating this preview icon, the user can restore the state of the burning composing point that has been corrected after shifting to the modify mode, or can advance the state.

また、本変形例におけるバーニング構成点のモディファイの手順は、図30のようになる。図23に示したモディファイの手順の、ステップSN(バーニングサイズの再表示)とステップSO(モディファイ継続?)との間に、ステップSR〜SVが追加されている。以下、これらの処理の詳細を説明する。なお、ステップSKでは、ステップSJにおける修正の結果に基づいて、更新されたラベル表(修正結果情報)が作成され、更新前のラベル表と区別可能な状態で記憶部18fに格納される。すなわち、バーニング構成点の修正を行う毎に、更新されたラベル表が作成され、記憶部18fに追加される。   Further, the procedure for modifying the burning composing points in this modification is as shown in FIG. Steps SR to SV are added between step SN (redisplaying the burning size) and step SO (continue modification?) In the modification procedure shown in FIG. Details of these processes will be described below. In step SK, an updated label table (correction result information) is created based on the correction result in step SJ, and stored in the storage unit 18f in a state distinguishable from the label table before the update. That is, every time the burning composing point is corrected, an updated label table is created and added to the storage unit 18f.

モディファイ時には、ユーザがプレビューアイコンを操作した結果に応じてラベル表が記憶部18fから読み出され、計測画面上のバーニング領域が更新される。ラベル表は、例えばシーケンス番号により区別される。ラベル表が追加される毎にシーケンス番号が1ずつ増加するものとすると、「←」アイコン3110が操作された場合、処理対象となっているラベル表のシーケンス番号よりも1だけ小さいシーケンス番号のラベル表が処理対象となる。また、「→」アイコン3111が操作された場合、処理対象となっているラベル表のシーケンス番号よりも1だけ大きいシーケンス番号のラベル表が処理対象となる。   At the time of modification, the label table is read from the storage unit 18f according to the result of the user operating the preview icon, and the burning area on the measurement screen is updated. The label table is distinguished by, for example, a sequence number. Assuming that the sequence number is incremented by 1 each time a label table is added, when the “←” icon 3110 is operated, a label having a sequence number smaller by 1 than the sequence number of the label table to be processed The table becomes the processing target. In addition, when the “→” icon 3111 is operated, a label table having a sequence number that is one greater than the sequence number of the label table that is the processing target is the processing target.

図31(a)は、バーニング構成点の修正を行った後の計測画面である。図31(b)に示すように、ユーザがカーソル3120を「←」アイコン3110の上に移動させ、クリック等の操作を行う(ステップSRでYesの場合)と、処理はステップSTに移行し、1つ前のバーニング構成点の修正を行った際に作成されたラベル表が記憶部18fから読み出される。続いて、結果ウィンドウ3130が一旦非表示となり(ステップSV)、処理がステップSLに戻る。   FIG. 31A shows a measurement screen after correcting the burning composing point. As shown in FIG. 31B, when the user moves the cursor 3120 over the “←” icon 3110 and performs an operation such as clicking (in the case of Yes in step SR), the process proceeds to step ST. The label table created when the previous burning composing point is corrected is read from the storage unit 18f. Subsequently, the result window 3130 is temporarily hidden (step SV), and the process returns to step SL.

続いて、記憶部18fから読み出されたラベル表に基づいて、1つ前に修正されたバーニング構成点を含むバーニング領域が計測画面上に表示される(ステップSL)。図31(c)はこのときの計測画面を示している。さらに、計測画面が図32(a)に示す状態となり、バーニング再計算が行われる(ステップSM)。バーニング再計算が終了すると、図32(b)に示すように、結果ウィンドウ3200が再表示される(ステップSN)。   Subsequently, based on the label table read from the storage unit 18f, a burning region including the burning composing point that has been corrected one time before is displayed on the measurement screen (step SL). FIG. 31C shows the measurement screen at this time. Further, the measurement screen is in the state shown in FIG. 32A, and burning recalculation is performed (step SM). When the burning recalculation is completed, the result window 3200 is displayed again as shown in FIG. 32B (step SN).

図32(c)に示すように、もう一度、ユーザがカーソル3210を「←」アイコン3220の上に移動させ、クリック等の操作を行う(ステップSRでYesの場合)と、上記と同様に処理が進み、さらにもう1つ前のバーニング構成点の修正を行ったときのバーニング領域および結果ウィンドウ3230が再表示される。   As shown in FIG. 32C, when the user once again moves the cursor 3210 over the “←” icon 3220 and performs an operation such as a click (in the case of Yes in step SR), the same processing as described above is performed. As a result, the burning area and the result window 3230 when the previous burning composing point is corrected are displayed again.

また、図32(c)の状態から、図33(a)に示すように、今度はユーザがカーソル3300を「→」アイコン3310の上に移動させ、クリック等の操作を行う(ステップSSでYesの場合)と、処理はステップSUに移行し、1つ後のバーニング構成点の修正を行った際に作成されたラベル表が記憶部18fから読み出される。続いて、結果ウィンドウが一旦非表示となり(ステップSV)、処理がステップSLに戻る。   Also, from the state of FIG. 32C, as shown in FIG. 33A, the user moves the cursor 3300 over the “→” icon 3310 and performs an operation such as clicking (Yes in step SS). ), The process proceeds to step SU, and the label table created when the next burning composing point is corrected is read from the storage unit 18f. Subsequently, the result window is temporarily hidden (step SV), and the process returns to step SL.

続いて、記憶部18fから読み出されたラベル表に基づいて、1つ後に修正された際のバーニング構成点を含むバーニング領域が計測画面上に表示され(ステップSL)、さらにバーニング再計算が行われる(ステップSM)。バーニング再計算が終了すると、図33(b)に示すように、結果ウィンドウ3320が再表示される(ステップSN)。   Subsequently, based on the label table read from the storage unit 18f, the burning area including the burning composing point when the one is corrected one after another is displayed on the measurement screen (step SL), and the burning recalculation is performed. (Step SM). When the burning recalculation is completed, the result window 3320 is displayed again as shown in FIG. 33B (step SN).

もう一度、ユーザがカーソル3300を「→」アイコン3310の上に移動させ、クリック等の操作を行う(ステップSRでYesの場合)と、上記と同様に処理が進み、図33(c)に示すように、さらにもう1つ前のバーニング構成点の修正を行ったときのバーニング領域および結果ウィンドウ3330が再表示される。   When the user once again moves the cursor 3300 over the “→” icon 3310 and performs an operation such as clicking (in the case of Yes in step SR), the processing proceeds in the same manner as described above, as shown in FIG. In addition, the burning area and the result window 3330 when the correction of the previous burning composing point is performed are displayed again.

特に図示していないが、ユーザがカーソルをプレビューアイコンの上に移動させ、クリック等の操作を行ったとき(ステップSR,SS)、1つ前または後の修正に関するラベル表が記憶部18fに存在しなければ、ユーザはプレビューアイコンを指定できない状態となる。   Although not particularly illustrated, when the user moves the cursor over the preview icon and performs an operation such as clicking (steps SR and SS), a label table relating to the previous or subsequent correction exists in the storage unit 18f. Otherwise, the user cannot specify the preview icon.

上述したように、本実施形態によれば、バーニング構成点の算出後にバーニング構成点の修正を行うことが可能となるので、バーニングサイズの算出精度を高めることができる。また、計測画面上でユーザが修正後のバーニング構成点の位置を指定するだけで、その位置の最近傍のバーニング構成点が自動的に選択され、その位置がユーザの指定位置に自動的に修正されるので、操作の煩わしさを低減し操作性を向上することができる。   As described above, according to the present embodiment, since the burning composing point can be corrected after the burning composing point is calculated, the calculation accuracy of the burning size can be increased. Also, just by specifying the position of the corrected burning composing point on the measurement screen, the burning composing point nearest to that position is automatically selected, and the position is automatically corrected to the user's designated position. Therefore, the troublesome operation can be reduced and the operability can be improved.

また、バーニング構成点の修正後に、修正したバーニング構成点の状態を元に戻したり、先に進めたりすることが可能となるので、バーニング構成点の修正プロセスを確認することができ、バーニングサイズの算出精度を高めることができる。さらに、簡易に修正をやり直すことが可能なので、操作の煩わしさを低減し操作性を向上することができる。   In addition, after correcting the burning composing point, it is possible to restore the state of the corrected burning composing point or to proceed further, so the correction process of the burning composing point can be confirmed, and the burning size Calculation accuracy can be increased. Furthermore, since the correction can be easily performed again, it is possible to reduce the troublesomeness of the operation and improve the operability.

(第3の実施形態)
次に、本発明の第3の実施形態を説明する。第2の実施形態では、既に算出されたバーニング構成点の位置を修正していたが、本実施形態では、バーニング構成点を新たに追加することが可能である。
(Third embodiment)
Next, a third embodiment of the present invention will be described. In the second embodiment, the position of the burning composing point that has already been calculated is corrected. However, in this embodiment, it is possible to newly add a burning composing point.

第2の実施形態におけるバーニング構成点の修正方法では、バーニングの形状によっては、バーニング構成点同士を結ぶ線分で構成される輪郭線とバーニングの輪郭とを大まかにしか一致させることができない場合がある。例えば、図34(a)に示す形状を有するバーニング3400に対して第1の実施形態と同様にバーニング構成点の算出を行った場合、図34(b)に示すようにバーニング構成点3410が算出される。   In the method for correcting the burning composing points in the second embodiment, depending on the shape of the burning, there may be a case where the contour line constituted by the line segment connecting the burning composing points and the contour of the burning can be roughly matched. is there. For example, when the burning composing point is calculated for the burning 3400 having the shape shown in FIG. 34A as in the first embodiment, the burning composing point 3410 is calculated as shown in FIG. Is done.

このような場合に、第2の実施形態と同様にして、ユーザは図34(c)に示すようにバーニング構成点3410aの修正を行い、さらに図34(d)に示すようにバーニング構成点3410bの修正を行うことが可能である。しかし、バーニング構成点3410a,3410bの修正を行っても、図34(d)に示す領域3420,3421では、バーニング構成点同士を結ぶ輪郭線3430とバーニング3400の輪郭とがあまり一致していない。そこで、本実施形態では、既に算出されたバーニング構成点の位置を修正するのではなく、新たなバーニング構成点を追加することにより、より正確にバーニング構成点の修正(モディファイ)を行うことが可能となっている。   In such a case, as in the second embodiment, the user corrects the burning composing point 3410a as shown in FIG. 34 (c), and further burns composing point 3410b as shown in FIG. 34 (d). It is possible to make corrections. However, even if the burning composing points 3410a and 3410b are corrected, in the regions 3420 and 3421 shown in FIG. 34 (d), the contour line 3430 connecting the burning composing points and the contour of the burning 3400 do not match very much. Therefore, in this embodiment, it is possible to correct (modify) a burning composing point more accurately by adding a new burning composing point, instead of correcting the calculated position of the burning composing point. It has become.

本実施形態による計測処理部18の構成は第2の実施形態と同様である。また、本実施形態におけるバーニング構成点の修正手順は、図23に示した手順とほぼ同様であるが、ステップSJのバーニング構成点の修正の内容およびステップSKのラベル表の更新・追加の内容のみが異なる。以下、図35〜図39を参照し、本実施形態において、バーニング構成点を修正する手順(ステップSI,SJ,SK,SL)の詳細を説明する。   The configuration of the measurement processing unit 18 according to this embodiment is the same as that of the second embodiment. The procedure for correcting the burning composing point in this embodiment is substantially the same as the procedure shown in FIG. 23, but only the contents of the correction of the burning composing point in step SJ and the content of updating / adding the label table in step SK. Is different. Hereinafter, with reference to FIGS. 35 to 39, details of the procedure for correcting the burning composing point (steps SI, SJ, SK, SL) in this embodiment will be described.

図35等に示すバーニング構成点には、ラベル表に記載されたラベル番号(1〜12)が付与されている。説明の便宜上、図35等ではラベル番号が記載されているが、実際の計測画面ではラベル番号は表示されない。図38(a)は、図23のステップSHで作成された、バーニング構成点を修正する前のラベル表を示している。   The burning composing points shown in FIG. 35 and the like are given the label numbers (1 to 12) described in the label table. For convenience of explanation, the label number is described in FIG. 35 and the like, but the label number is not displayed on the actual measurement screen. FIG. 38A shows a label table created in step SH of FIG. 23 before correcting the burning composing point.

図35(a)に示すように、バーニング構成点算出部18dによって算出されたバーニング構成点3500同士を結んだ輪郭線とバーニング3510の輪郭とがあまり一致しない場合、図35(b)に示すように、ユーザはカーソル3520を移動させ、バーニング構成点を修正したい位置(修正点M1の位置)に合わせてクリック等の操作を行う。このとき、バーニング構成点修正部18gは、図35(c)に示すように、隣接するバーニング構成点同士を結んだ線分Laを算出する。この線分Laは、図38(a)に示したラベル表に記載された、互いに隣接する2つのバーニング構成点の画像座標に基づいて算出される。   As shown in FIG. 35 (a), when the contour line connecting the burning composing points 3500 calculated by the burning composing point calculation unit 18d and the contour of the burning 3510 do not coincide very much, as shown in FIG. 35 (b). In addition, the user moves the cursor 3520 and performs an operation such as clicking according to the position where the burning composing point is to be corrected (the position of the correction point M1). At this time, the burning composing point correction unit 18g calculates a line segment La connecting adjacent burning composing points as shown in FIG. This line segment La is calculated based on the image coordinates of two burning composing points adjacent to each other described in the label table shown in FIG.

バーニング構成点修正部18gは、算出した線分Laの中から、修正点M1に対して最近傍の線分を検索する。このとき、バーニング構成点修正部18gは、図35(d)に示すように、各線分を構成する2つのバーニング構成点の中点3530(各線分の中点)を算出する。各線分の中点は、ラベル表に記載された、互いに隣接する2つのバーニング構成点の中間座標として算出される。修正点M1に対して最近傍の中点をもつ線分が最近傍の線分となる。図35(e)に示すように、修正点M1に対して最近傍の線分は、ラベル番号3,4のバーニング構成点同士を結ぶ線分L1となる。   The burning composing point correction unit 18g searches the calculated line segment La for a line segment nearest to the correction point M1. At this time, as shown in FIG. 35D, the burning composing point correction unit 18g calculates the midpoint 3530 (the midpoint of each line segment) of the two burning composing points constituting each line segment. The midpoint of each line segment is calculated as an intermediate coordinate between two burning composing points adjacent to each other described in the label table. The line segment having the nearest middle point with respect to the correction point M1 is the nearest line segment. As shown in FIG. 35 (e), the nearest line segment to the correction point M1 is a line segment L1 connecting the burning composing points with label numbers 3 and 4.

修正点M1に対して最近傍の線分L1を求めた後、バーニング構成点修正部18gは、修正点M1を新たにバーニング構成点に追加し、図36(a)に示すように、各バーニング構成点の位置に基づいて輪郭線を更新する。このとき、バーニング構成点修正部18gは、バーニング構成点同士の論理的な位置関係を更新する。このため、修正点M1を追加する前は、線分L1の両端に位置するラベル番号3,4のバーニング構成点が隣接しているが、修正点M1を追加した後は、ラベル番号3のバーニング構成点と修正点M1が隣接していると共に、修正点M1とラベル番号4のバーニング構成点が隣接している。   After obtaining the nearest line segment L1 with respect to the correction point M1, the burning composing point correction unit 18g newly adds the correction point M1 to the burning composing point, and as shown in FIG. The contour line is updated based on the position of the constituent point. At this time, the burning composing point correction unit 18g updates the logical positional relationship between the burning composing points. For this reason, before the correction point M1 is added, the burning composing points of the label numbers 3 and 4 located at both ends of the line segment L1 are adjacent to each other. However, after the correction point M1 is added, the burning of the label number 3 is performed. The composing point and the correcting point M1 are adjacent to each other, and the correcting point M1 and the burning composing point having the label number 4 are adjacent to each other.

このとき、ラベル表は図38(b)のようになる。初期状態のラベル表(図38(a))と比較して、ラベル番号3,4のバーニング構成点の間に修正点M1が新たなバーニング構成点として追加される。ラベル番号M1のバーニング構成点の画像座標は(Xm1,Ym1)となり、隣接ラベル番号1,2はそれぞれ3、4となる。さらに、ラベル番号3のバーニング構成点の隣接ラベル番号2、およびラベル番号4のバーニング構成点の隣接ラベル番号1はそれぞれM1に変更されている。   At this time, the label table is as shown in FIG. Compared with the label table in the initial state (FIG. 38A), the correction point M1 is added as a new burning composing point between the burning composing points with label numbers 3 and 4. The image coordinates of the burning composing point with the label number M1 are (Xm1, Ym1), and the adjacent label numbers 1 and 2 are 3 and 4, respectively. Furthermore, the adjacent label number 2 of the burning composing point with label number 3 and the adjacent label number 1 of the burning composing point with label number 4 are changed to M1.

修正点M1を新たにバーニング構成点に追加した後も、上記の手順を繰り返すことによって、バーニング構成点の修正を行うことが可能である。図36(b)に示すように、ユーザがカーソル3600を移動させ、バーニング構成点を修正したい位置(修正点M2の位置)に合わせてクリック等の操作を行うと、バーニング構成点修正部18gは、図36(c)に示すように、隣接するバーニング構成点同士を結んだ線分Lbを算出する。この線分Lbは、図38(b)に示したラベル表に記載された、互いに隣接する2つのバーニング構成点の画像座標に基づいて算出される。   Even after the correction point M1 is newly added to the burning composing point, the burning composing point can be corrected by repeating the above procedure. As shown in FIG. 36 (b), when the user moves the cursor 3600 and performs an operation such as clicking according to the position (the position of the correction point M2) where the burning composing point is to be corrected, the burning composing point correcting unit 18g As shown in FIG. 36C, a line segment Lb connecting adjacent burning composing points is calculated. This line segment Lb is calculated based on the image coordinates of two burning composing points adjacent to each other described in the label table shown in FIG.

続いて、バーニング構成点修正部18gは、算出した線分Lbの中から、修正点M2に対して最近傍の線分を検索する。このとき、バーニング構成点修正部18gは、上記と同様の方法で、隣接するバーニング構成点同士を結んだ各線分を構成する2つのバーニング構成点の中点(各線分の中点)を算出する。修正点M2に対して最近傍の中点をもつ線分が最近傍の線分となる。図36(d)に示すように、修正点M2に対して最近傍の線分は、ラベル番号9,10のバーニング構成点同士を結ぶ線分L2となる。   Subsequently, the burning composing point correction unit 18g searches the calculated line segment Lb for the nearest line segment with respect to the correction point M2. At this time, the burning composing point correction unit 18g calculates the midpoint (the midpoint of each line segment) of the two burning composing points constituting each line segment connecting adjacent burning composing points by the same method as described above. . The line segment having the nearest middle point with respect to the correction point M2 is the nearest line segment. As shown in FIG. 36 (d), the line segment nearest to the correction point M2 is a line segment L2 connecting the burning composing points with the label numbers 9 and 10.

修正点M2に対して最近傍の線分L2を求めた後、バーニング構成点修正部18gは、修正点M2を新たにバーニング構成点に追加し、図36(e)に示すように、各バーニング構成点の位置に基づいて輪郭線を更新する。このとき、バーニング構成点修正部18gは、バーニング構成点同士の論理的な位置関係を更新する。このため、修正点M2を追加する前は、線分L2の両端に位置するラベル番号9,10のバーニング構成点が隣接しているが、修正点M2を追加した後は、ラベル番号9のバーニング構成点と修正点M2が隣接していると共に、修正点M2とラベル番号10のバーニング構成点が隣接している。   After obtaining the nearest line segment L2 with respect to the correction point M2, the burning composing point correction unit 18g newly adds the correction point M2 to the burning composing point, and as shown in FIG. The contour line is updated based on the position of the constituent point. At this time, the burning composing point correction unit 18g updates the logical positional relationship between the burning composing points. For this reason, before adding the correction point M2, the burning composing points of the label numbers 9 and 10 located at both ends of the line segment L2 are adjacent to each other, but after adding the correction point M2, the burning of the label number 9 is performed. The composing point and the correcting point M2 are adjacent to each other, and the correcting point M2 and the burning composing point having the label number 10 are adjacent to each other.

このとき、ラベル表は図39(a)のようになる。1つ前の状態のラベル表(図38(b))と比較して、ラベル番号9,10のバーニング構成点の間に修正点M2が新たなバーニング構成点として追加される。ラベル番号M2のバーニング構成点の画像座標は(Xm2,Ym2)となり、隣接ラベル番号1,2はそれぞれ9、10となる。さらに、ラベル番号9のバーニング構成点の隣接ラベル番号2、およびラベル番号10のバーニング構成点の隣接ラベル番号1はそれぞれM2に変更されている。   At this time, the label table is as shown in FIG. Compared with the label table in the previous state (FIG. 38B), the correction point M2 is added as a new burning composing point between the burning composing points with label numbers 9 and 10. The image coordinates of the burning composing point with the label number M2 are (Xm2, Ym2), and the adjacent label numbers 1 and 2 are 9 and 10, respectively. Furthermore, the adjacent label number 2 of the burning composing point with label number 9 and the adjacent label number 1 of the burning composing point with label number 10 are changed to M2.

さらに、図37(a)に示すように、ユーザがカーソル3700を移動させ、バーニング構成点を修正したい位置(修正点M3の位置)に合わせてクリック等の操作を行うと、バーニング構成点修正部18gは、図37(b)に示すように、隣接するバーニング構成点同士を結んだ線分Lcを算出する。この線分Lcは、図39(a)に示したラベル表に記載された、互いに隣接する2つのバーニング構成点の画像座標に基づいて算出される。   Further, as shown in FIG. 37 (a), when the user moves the cursor 3700 and performs an operation such as clicking according to the position (the position of the correction point M3) where the burning composing point is to be corrected, 18g calculates the line segment Lc which connected the adjacent burning composing points as shown in FIG.37 (b). The line segment Lc is calculated based on the image coordinates of two burning composing points adjacent to each other described in the label table shown in FIG.

続いて、バーニング構成点修正部18gは、算出した線分Lcの中から、修正点M3に対して最近傍の線分を検索する。このとき、バーニング構成点修正部18gは、上記と同様の方法で、隣接するバーニング構成点同士を結んだ各線分を構成する2つのバーニング構成点の中点(各線分の中点)を算出する。修正点M3に対して最近傍の中点をもつ線分が最近傍の線分となる。図37(c)に示すように、修正点M3に対して最近傍の線分は、ラベル番号9,M2のバーニング構成点同士を結ぶ線分L3となる。   Subsequently, the burning composing point correcting unit 18g searches the calculated line segment Lc for a line segment nearest to the correction point M3. At this time, the burning composing point correction unit 18g calculates the midpoint (the midpoint of each line segment) of the two burning composing points constituting each line segment connecting adjacent burning composing points by the same method as described above. . The line segment having the nearest middle point with respect to the correction point M3 becomes the nearest line segment. As shown in FIG. 37 (c), the nearest line segment to the correction point M3 is a line segment L3 connecting the burning composing points with label numbers 9 and M2.

修正点M3に対して最近傍の線分L3を求めた後、バーニング構成点修正部18gは、修正点M3を新たにバーニング構成点に追加し、図37(d)に示すように、各バーニング構成点の位置に基づいて輪郭線を更新する。このとき、バーニング構成点修正部18gは、バーニング構成点同士の論理的な位置関係を更新する。このため、修正点M3を追加する前は、線分L3の両端に位置するラベル番号9,M2のバーニング構成点が隣接しているが、修正点M3を追加した後は、ラベル番号9のバーニング構成点と修正点M3が隣接していると共に、修正点M3とラベル番号M2のバーニング構成点が隣接している。   After obtaining the nearest line segment L3 with respect to the correction point M3, the burning composing point correction unit 18g newly adds the correction point M3 to the burning composing point, and as shown in FIG. The contour line is updated based on the position of the constituent point. At this time, the burning composing point correction unit 18g updates the logical positional relationship between the burning composing points. Therefore, before adding the correction point M3, the burning composing points of the label numbers 9 and M2 located at both ends of the line segment L3 are adjacent to each other. However, after the correction point M3 is added, the burning of the label number 9 is performed. The composing point and the correcting point M3 are adjacent to each other, and the correcting point M3 and the burning composing point having the label number M2 are adjacent to each other.

このとき、ラベル表は図39(b)のようになる。1つ前の状態のラベル表(図39(a))と比較して、ラベル番号9,M2のバーニング構成点の間に修正点M3が新たなバーニング構成点として追加される。ラベル番号M3のバーニング構成点の画像座標は(Xm3,Ym3)となり、隣接ラベル番号1,2はそれぞれ9、M2となる。さらに、ラベル番号9のバーニング構成点の隣接ラベル番号2、およびラベル番号M2のバーニング構成点の隣接ラベル番号1はそれぞれM3に変更されている。   At this time, the label table is as shown in FIG. Compared with the label table in the previous state (FIG. 39A), the correction point M3 is added as a new burning composing point between the burning composing points with label numbers 9 and M2. The image coordinates of the burning composing point with the label number M3 are (Xm3, Ym3), and the adjacent label numbers 1 and 2 are 9 and M2, respectively. Furthermore, the adjacent label number 2 of the burning composing point with label number 9 and the adjacent label number 1 of the burning composing point with label number M2 are changed to M3.

この結果、第2の実施形態におけるバーニング構成点の修正方法によって得られた輪郭線の形状(図34(d))よりも、本実施形態におけるバーニング構成点の修正方法によって得られた輪郭線の形状(図37(e))の方が、より正確にバーニングの輪郭に一致する。   As a result, the contour line obtained by the correction method of the burning composing point in this embodiment is more than the shape of the contour line obtained by the correction method of the burning composing point in the second embodiment (FIG. 34 (d)). The shape (FIG. 37 (e)) matches the burning contour more accurately.

上記において、計測画面には、図35〜図37に示したように、バーニング構成点を修正するプロセスが全て表示される。また、バーニング構成点に添えられたラベル番号は表示されない。ただし、これに限らず、バーニング構成点を修正するプロセスの一部を非表示にしたり、ラベル番号を表示したりしてもよい。また、特に図示していないが、第2の実施形態の変形例のように、計測画面にプレビューアイコンを設け、修正したバーニング構成点の状態を元に戻したり、先に進めたりすることができるようにしてもよい。   In the above, as shown in FIGS. 35 to 37, all processes for correcting the burning composing points are displayed on the measurement screen. Also, the label number attached to the burning composing point is not displayed. However, the present invention is not limited to this, and part of the process for correcting the burning composing point may be hidden or the label number may be displayed. Although not particularly shown, a preview icon is provided on the measurement screen as in the modification of the second embodiment, so that the state of the corrected burning composing point can be restored or advanced. You may do it.

上述したように、本実施形態によれば、バーニング構成点を新たに追加することによって、バーニング構成点をより正確に修正することができ、かつバーニングサイズの算出精度を高めることができる。   As described above, according to the present embodiment, by newly adding a burning composing point, the burning composing point can be corrected more accurately, and the calculation accuracy of the burning size can be increased.

(第4の実施形態)
次に、本発明の第4の実施形態を説明する。第3の実施形態におけるバーニング構成点の修正方法では、ユーザはバーニング構成点を追加する際に、修正点と隣接させたいバーニング構成点を選択することはできない。これに対して、本実施形態では、ユーザはバーニング構成点を追加する際に、隣接させたいバーニング構成点を選択することができる。
(Fourth embodiment)
Next, a fourth embodiment of the present invention will be described. In the method for correcting a burning composing point in the third embodiment, when adding a burning composing point, the user cannot select a burning composing point to be adjacent to the correcting point. On the other hand, in the present embodiment, when adding a burning composing point, the user can select a burning composing point to be adjacent.

第3の実施形態におけるバーニング構成点の修正方法では、バーニングの形状によっては、バーニング構成点同士を結ぶ線分で構成される輪郭線とバーニングの輪郭とを大まかにしか一致させることができない場合がある。例えば、図40(a)に示す形状を有するバーニング4000に対して第1の実施形態と同様にバーニング構成点の算出を行った場合、図40(b)に示すようにバーニング構成点4010が算出される。   In the method for correcting the burning composing points in the third embodiment, depending on the shape of the burning, the contour line formed by the line segment connecting the burning composing points and the contour of the burning can only be roughly matched. is there. For example, when the burning composing point is calculated for the burning 4000 having the shape shown in FIG. 40A as in the first embodiment, the burning composing point 4010 is calculated as shown in FIG. Is done.

第3の実施形態では、図40(c)に示すように、ユーザがカーソル4020を移動させ、バーニング構成点を修正したい位置(修正点M1の位置)に合わせてクリック等の操作を行うと、修正点M1に対して最近傍の線分L1が選択される。続いて、図40(d)に示すように、線分L1の両端に位置するバーニング構成点P1,P2と修正点M1が隣接するようにバーニング構成点の論理的な位置関係が更新され、更新後の位置関係に基づいて、隣接するバーニング構成点同士を結ぶ輪郭線が更新される。しかし、領域4030における輪郭線とバーニング4000の輪郭とがほとんど一致していない。そこで、本実施形態では、バーニング構成点を追加する際に、修正点と隣接させたいバーニング構成点をユーザが簡易な方法で選択し、バーニング構成点の修正(モディファイ)をより正確に行うことが可能となっている。   In the third embodiment, as shown in FIG. 40 (c), when the user moves the cursor 4020 and performs an operation such as clicking according to the position where the burning composing point is to be corrected (the position of the correction point M1), The nearest line segment L1 is selected with respect to the correction point M1. Subsequently, as shown in FIG. 40 (d), the logical positional relationship between the burning composing points is updated so that the burning composing points P1 and P2 located at both ends of the line segment L1 and the correction point M1 are adjacent to each other. Based on the subsequent positional relationship, the contour line connecting adjacent burning composing points is updated. However, the contour line in the region 4030 and the contour of the burning 4000 are almost the same. Therefore, in the present embodiment, when adding a burning composing point, the user can select a burning composing point to be adjacent to the correction point by a simple method, and the correction (modification) of the burning composing point can be performed more accurately. It is possible.

本実施形態による計測処理部18の構成は第2の実施形態と同様である。また、本実施形態におけるバーニング構成点の修正手順は、図23に示した手順とほぼ同様であるが、ステップSJのバーニング構成点の修正の内容およびステップSKのラベル表の更新・追加の内容のみが異なる。以下、図41〜図49を参照し、本実施形態において、バーニング構成点を修正する手順(ステップSI,SJ,SK,SL)の詳細を説明する。   The configuration of the measurement processing unit 18 according to this embodiment is the same as that of the second embodiment. The procedure for correcting the burning composing point in this embodiment is substantially the same as the procedure shown in FIG. 23, but only the contents of the correction of the burning composing point in step SJ and the content of updating / adding the label table in step SK. Is different. Hereinafter, with reference to FIGS. 41 to 49, details of the procedure (steps SI, SJ, SK, SL) for correcting the burning composing point in this embodiment will be described.

図41等に示すバーニング構成点には、ラベル表に記載されたラベル番号(1〜16)が付与されている。説明の便宜上、図41等ではラベル番号が記載されているが、実際の計測画面ではラベル番号は表示されない。図45(a)は、図23のステップSHで作成された、バーニング構成点を修正する前のラベル表を示している。   Label numbers (1 to 16) described in the label table are assigned to the burning composing points shown in FIG. For convenience of explanation, the label number is described in FIG. 41 and the like, but the label number is not displayed on the actual measurement screen. FIG. 45A shows a label table created in step SH of FIG. 23 before correcting the burning composing point.

図41(a)に示すように、バーニング構成点算出部18dによって算出されたバーニング構成点4100同士を結んだ輪郭線とバーニング4110の輪郭とがあまり一致しない場合、図41(b)に示すように、ユーザはカーソル4120を移動させ、バーニング構成点を修正したい位置(修正点M1の位置)に合わせてクリック等の操作を行う。このとき、バーニング構成点修正部18gは、図41(c)に示すように、隣接するバーニング構成点同士を結んだ線分Laを算出する。線分Laの算出方法は、第3の実施形態において記載した方法と同様である。   As shown in FIG. 41 (a), when the contour line connecting the burning composing points 4100 calculated by the burning composing point calculation unit 18d and the contour of the burning 4110 do not coincide very much, as shown in FIG. 41 (b). In addition, the user moves the cursor 4120 and performs an operation such as clicking according to the position where the burning composing point is to be corrected (the position of the correction point M1). At this time, the burning composing point correcting unit 18g calculates a line segment La connecting adjacent burning composing points as shown in FIG. 41 (c). The method for calculating the line segment La is the same as the method described in the third embodiment.

バーニング構成点修正部18gは、算出した線分Laの中から、修正点M1に対して最近傍の線分を検索する。このとき、バーニング構成点修正部18gは、図41(d)に示すように、各線分を構成する2つのバーニング構成点の中点4130(各線分の中点)を算出する。修正点M1に対して最近傍の中点をもつ線分が最近傍の線分となる。図41(e)に示すように、修正点M1に対して最近傍の線分は、ラベル番号5,6のバーニング構成点同士を結ぶ線分L1となる。   The burning composing point correction unit 18g searches the calculated line segment La for a line segment nearest to the correction point M1. At this time, as shown in FIG. 41 (d), the burning composing point correction unit 18g calculates the midpoint 4130 (the midpoint of each line segment) of the two burning composing points constituting each line segment. The line segment having the nearest middle point with respect to the correction point M1 is the nearest line segment. As shown in FIG. 41 (e), the nearest line segment to the correction point M1 is a line segment L1 connecting the burning composing points with label numbers 5 and 6.

修正点M1に対して最近傍の線分L1を求めた後、バーニング構成点修正部18gは、修正点M1を新たにバーニング構成点に追加し、図41(f)に示すように、各バーニング構成点の位置に基づいて輪郭線を更新する。このとき、バーニング構成点修正部18gは、バーニング構成点同士の論理的な位置関係を更新する。このため、修正点M1を追加する前は、線分L1の両端に位置するラベル番号5,6のバーニング構成点が隣接しているが、修正点M1を追加した後は、ラベル番号5のバーニング構成点と修正点M1が隣接していると共に、修正点M1とラベル番号6のバーニング構成点が隣接している。   After obtaining the nearest line segment L1 with respect to the correction point M1, the burning composing point correction unit 18g newly adds the correction point M1 to the burning composing point, and as shown in FIG. The contour line is updated based on the position of the constituent point. At this time, the burning composing point correction unit 18g updates the logical positional relationship between the burning composing points. For this reason, before the correction point M1 is added, the burning composing points of the label numbers 5 and 6 located at both ends of the line segment L1 are adjacent to each other, but after the correction point M1 is added, the burning of the label number 5 is performed. The composition point and the correction point M1 are adjacent to each other, and the correction point M1 and the burning composition point having the label number 6 are adjacent to each other.

このとき、ラベル表は図45(b)のようになる。初期状態のラベル表(図45(a))と比較して、ラベル番号5,6のバーニング構成点の間に修正点M1が新たなバーニング構成点として追加される。ラベル番号M1のバーニング構成点の画像座標は(Xm1,Ym1)となり、隣接ラベル番号1,2はそれぞれ5、6となる。さらに、ラベル番号5のバーニング構成点の隣接ラベル番号2、およびラベル番号6のバーニング構成点の隣接ラベル番号1はそれぞれM1に変更されている。   At this time, the label table is as shown in FIG. Compared with the label table in the initial state (FIG. 45A), the correction point M1 is added as a new burning composing point between the burning composing points with label numbers 5 and 6. The image coordinates of the burning composing point with the label number M1 are (Xm1, Ym1), and the adjacent label numbers 1 and 2 are 5 and 6, respectively. Further, the adjacent label number 2 of the burning composing point with label number 5 and the adjacent label number 1 of the burning composing point with label number 6 are changed to M1.

しかし、図41(f)に示すように、領域4140における輪郭線とバーニング4110の輪郭とがほとんど一致していない。このような場合、本実施形態では、以下のようにしてバーニング構成点の修正を行うことが可能である。特に、本実施形態では、ユーザがカーソルを移動させずに同じ修正点を再度指定した場合には、その修正点に隣接するバーニング構成点が変更される。   However, as shown in FIG. 41 (f), the contour line in the region 4140 and the contour of the burning 4110 are almost inconsistent. In such a case, in this embodiment, it is possible to correct the burning composing point as follows. In particular, in the present embodiment, when the user designates the same correction point again without moving the cursor, the burning composing point adjacent to the correction point is changed.

図42(a)に示すように、ユーザがカーソル4200を移動させずに、修正点M1の位置で再度クリック等の操作を行うと、バーニング構成点修正部18gは、修正点M1の情報を削除し、バーニング構成点同士の論理的な位置関係を更新前の状態に戻す。これによって、図46(a)に示すように、ラベル表は図45(a)と同じ状態に戻る。バーニング構成点修正部18gは、既に算出した線分Laの中から、修正点M1に対して2番目に近傍の線分(修正点M1との距離が2番目に近い線分)を検索する。この場合、図42(a)に示すように、修正点M1に対して2番目に近傍の線分は線分L2である。   As shown in FIG. 42A, when the user performs an operation such as clicking again at the position of the correction point M1 without moving the cursor 4200, the burning composing point correction unit 18g deletes the information of the correction point M1. Then, the logical positional relationship between the burning composing points is returned to the state before the update. As a result, as shown in FIG. 46A, the label table returns to the same state as in FIG. The burning composing point correction unit 18g searches the already calculated line segment La for a line segment that is the second closest to the correction point M1 (a line segment that is the second closest to the correction point M1). In this case, as shown in FIG. 42 (a), the second closest segment to the correction point M1 is the segment L2.

修正点M1に対して2番目に近傍の線分L2を求めた後、バーニング構成点修正部18gは、修正点M1を新たにバーニング構成点に追加し、図42(b)に示すように、各バーニング構成点の位置に基づいて輪郭線を更新する。このとき、バーニング構成点修正部18gは、バーニング構成点同士の論理的な位置関係を更新する。このため、修正点M1を追加する前は、線分L2の両端に位置するラベル番号4,5のバーニング構成点が隣接しているが、修正点M1を追加した後は、ラベル番号4のバーニング構成点と修正点M1が隣接していると共に、修正点M1とラベル番号5のバーニング構成点が隣接している。   After obtaining the second nearest segment L2 with respect to the correction point M1, the burning composing point correction unit 18g newly adds the correction point M1 to the burning composing point, as shown in FIG. The contour line is updated based on the position of each burning composing point. At this time, the burning composing point correction unit 18g updates the logical positional relationship between the burning composing points. Therefore, before the correction point M1 is added, the burning composing points of the label numbers 4 and 5 located at both ends of the line segment L2 are adjacent to each other, but after the correction point M1 is added, the burning of the label number 4 is performed. The composing point and the correcting point M1 are adjacent to each other, and the correcting point M1 and the burning composing point with the label number 5 are adjacent to each other.

このとき、ラベル表は図46(b)のようになる。図46(a)に示したラベル表と比較して、ラベル番号4,5のバーニング構成点の間に修正点M1が新たなバーニング構成点として追加される。ラベル番号M1のバーニング構成点の画像座標は(Xm1,Ym1)となり、隣接ラベル番号1,2はそれぞれ4、5となる。さらに、ラベル番号4のバーニング構成点の隣接ラベル番号2、およびラベル番号5のバーニング構成点の隣接ラベル番号1はそれぞれM1に変更されている。   At this time, the label table is as shown in FIG. Compared with the label table shown in FIG. 46A, the correction point M1 is added as a new burning composing point between the burning composing points with label numbers 4 and 5. The image coordinates of the burning composing point with the label number M1 are (Xm1, Ym1), and the adjacent label numbers 1 and 2 are 4 and 5, respectively. Further, the adjacent label number 2 of the burning composing point with label number 4 and the adjacent label number 1 of the burning composing point with label number 5 are changed to M1.

さらに、図42(c)に示すように、ユーザがカーソル4220を移動させ、バーニング構成点を修正したい位置(修正点M2の位置)に合わせてクリック等の操作を行うと、バーニング構成点修正部18gは、図42(d)に示すように、隣接するバーニング構成点同士を結んだ線分Lbを算出する。続いて、バーニング構成点修正部18gは、算出した線分Lbの中から、修正点M2に対して最近傍の線分を検索する。図42(e)に示すように、修正点M2に対して最近傍の線分は、ラベル番号4,M1のバーニング構成点同士を結ぶ線分L3となる。   Furthermore, as shown in FIG. 42 (c), when the user moves the cursor 4220 and performs an operation such as clicking according to the position (the position of the correction point M2) where the burning composing point is to be corrected, 18g calculates the line segment Lb which connected the adjacent burning composing points as shown in FIG.42 (d). Subsequently, the burning composing point correction unit 18g searches the calculated line segment Lb for the nearest line segment with respect to the correction point M2. As shown in FIG. 42 (e), the nearest line segment to the correction point M2 is a line segment L3 connecting the burning composing points with the label numbers 4 and M1.

修正点M2に対して最近傍の線分L3を求めた後、バーニング構成点修正部18gは、修正点M2を新たにバーニング構成点に追加し、図43(a)に示すように、各バーニング構成点の位置に基づいて輪郭線を更新する。このとき、バーニング構成点修正部18gは、バーニング構成点同士の論理的な位置関係を更新する。このため、修正点M2を追加する前は、線分L3の両端に位置するラベル番号4,M1のバーニング構成点が隣接しているが、修正点M2を追加した後は、ラベル番号4のバーニング構成点と修正点M2が隣接していると共に、修正点M2とラベル番号M1のバーニング構成点が隣接している。   After obtaining the nearest line segment L3 with respect to the correction point M2, the burning composing point correction unit 18g newly adds the correction point M2 to the burning composing point, and as shown in FIG. The contour line is updated based on the position of the constituent point. At this time, the burning composing point correction unit 18g updates the logical positional relationship between the burning composing points. Therefore, before adding the correction point M2, the burning composing points of the label numbers 4 and M1 located at both ends of the line segment L3 are adjacent to each other. However, after adding the correction point M2, the burning of the label number 4 is performed. The composition point and the correction point M2 are adjacent to each other, and the correction point M2 and the burning composition point having the label number M1 are adjacent to each other.

このとき、ラベル表は図47(a)のようになる。図46(b)に示したラベル表と比較して、ラベル番号4,M1のバーニング構成点の間に修正点M2が新たなバーニング構成点として追加される。ラベル番号M2のバーニング構成点の画像座標は(Xm2,Ym2)となり、隣接ラベル番号1,2はそれぞれ4、M1となる。さらに、ラベル番号4のバーニング構成点の隣接ラベル番号2、およびラベル番号M1のバーニング構成点の隣接ラベル番号1はそれぞれM2に変更されている。   At this time, the label table is as shown in FIG. Compared with the label table shown in FIG. 46B, the correction point M2 is added as a new burning composing point between the burning composing points of the label numbers 4 and M1. The image coordinates of the burning composing point with the label number M2 are (Xm2, Ym2), and the adjacent label numbers 1 and 2 are 4 and M1, respectively. Furthermore, the adjacent label number 2 of the burning composing point with label number 4 and the adjacent label number 1 of the burning composing point with label number M1 are changed to M2.

さらに、図43(b)に示すように、ユーザがカーソル4300を移動させ、バーニング構成点を修正したい位置(修正点M3の位置)に合わせてクリック等の操作を行うと、バーニング構成点修正部18gは、図43(c)に示すように、隣接するバーニング構成点同士を結んだ線分Lcを算出する。続いて、バーニング構成点修正部18gは、算出した線分Lcの中から、修正点M3に対して最近傍の線分を検索する。図43(d)に示すように、修正点M3に対して最近傍の線分は、ラベル番号4,M2のバーニング構成点同士を結ぶ線分L4となる。   Further, as shown in FIG. 43 (b), when the user moves the cursor 4300 and performs an operation such as clicking according to the position (the position of the correction point M3) where the burning composing point is to be corrected, 18g calculates the line segment Lc which connected the adjacent burning composing points as shown in FIG.43 (c). Subsequently, the burning composing point correcting unit 18g searches the calculated line segment Lc for a line segment nearest to the correction point M3. As shown in FIG. 43 (d), the line segment nearest to the correction point M3 is a line segment L4 connecting the burning composing points with label numbers 4 and M2.

修正点M3に対して最近傍の線分L4を求めた後、バーニング構成点修正部18gは、修正点M3を新たにバーニング構成点に追加し、図43(e)に示すように、各バーニング構成点の位置に基づいて輪郭線を更新する。このとき、バーニング構成点修正部18gは、バーニング構成点同士の論理的な位置関係を更新する。このため、修正点M3を追加する前は、線分L4の両端に位置するラベル番号4,M2のバーニング構成点が隣接しているが、修正点M3を追加した後は、ラベル番号4のバーニング構成点と修正点M3が隣接していると共に、修正点M3とラベル番号M2のバーニング構成点が隣接している。   After obtaining the nearest line segment L4 with respect to the correction point M3, the burning composing point correction unit 18g newly adds the correction point M3 to the burning composing point, and as shown in FIG. The contour line is updated based on the position of the constituent point. At this time, the burning composing point correction unit 18g updates the logical positional relationship between the burning composing points. Therefore, before adding the correction point M3, the burning composing points of the label numbers 4 and M2 located at both ends of the line segment L4 are adjacent to each other. However, after adding the correction point M3, the burning of the label number 4 is performed. The composing point and the correcting point M3 are adjacent to each other, and the correcting point M3 and the burning composing point having the label number M2 are adjacent to each other.

このとき、ラベル表は図47(b)のようになる。図47(a)に示したラベル表と比較して、ラベル番号4,M2のバーニング構成点の間に修正点M3が新たなバーニング構成点として追加される。ラベル番号M3のバーニング構成点の画像座標は(Xm3,Ym3)となり、隣接ラベル番号1,2はそれぞれ4、M2となる。さらに、ラベル番号4のバーニング構成点の隣接ラベル番号2、およびラベル番号M2のバーニング構成点の隣接ラベル番号1はそれぞれM3に変更されている。   At this time, the label table is as shown in FIG. Compared with the label table shown in FIG. 47A, a correction point M3 is added as a new burning composing point between the burning composing points of label numbers 4 and M2. The image coordinates of the burning composing point with the label number M3 are (Xm3, Ym3), and the adjacent label numbers 1 and 2 are 4 and M2, respectively. Further, the adjacent label number 2 of the burning composing point with label number 4 and the adjacent label number 1 of the burning composing point with label number M2 are changed to M3.

しかし、図43(e)に示すように、領域4310における輪郭線とバーニング4320の輪郭とがあまり一致していない。そこで、前述した手順と同様にして、修正点M3に隣接するバーニング構成点が変更される。   However, as shown in FIG. 43 (e), the contour line in the region 4310 and the contour of the burning 4320 do not coincide very much. Therefore, the burning composing point adjacent to the correction point M3 is changed in the same manner as described above.

図44(a)に示すように、ユーザがカーソル4400を移動させずに、修正点M3の位置で再度クリック等の操作を行うと、バーニング構成点修正部18gは、修正点M3の情報を削除し、バーニング構成点同士の論理的な位置関係を更新前の状態に戻す。これによって、図48(a)に示すように、ラベル表は図47(a)と同じ状態に戻る。バーニング構成点修正部18gは、既に算出した線分Lcの中から、修正点M3に対して2番目に近傍の線分(修正点M3との距離が2番目に近い線分)を検索する。この場合、図44(a)に示すように、修正点M3に対して2番目に近傍の線分は線分L5である。   As shown in FIG. 44A, when the user performs an operation such as clicking again at the position of the correction point M3 without moving the cursor 4400, the burning composing point correction unit 18g deletes the information of the correction point M3. Then, the logical positional relationship between the burning composing points is returned to the state before the update. As a result, as shown in FIG. 48A, the label table returns to the same state as in FIG. The burning composing point correction unit 18g searches the already calculated line segment Lc for a line segment that is the second closest to the correction point M3 (a line segment that is the second closest to the correction point M3). In this case, as shown in FIG. 44A, the second closest segment to the correction point M3 is a segment L5.

修正点M3に対して2番目に近傍の線分L5を求めた後、バーニング構成点修正部18gは、修正点M3を新たにバーニング構成点に追加し、図44(b)に示すように、各バーニング構成点の位置に基づいて輪郭線を更新する。このとき、バーニング構成点修正部18gは、バーニング構成点同士の論理的な位置関係を更新する。このため、修正点M3を追加する前は、線分L5の両端に位置するラベル番号M2,M1のバーニング構成点が隣接しているが、修正点M3を追加した後は、ラベル番号M2のバーニング構成点と修正点M3が隣接していると共に、修正点M3とラベル番号M1のバーニング構成点が隣接している。   After obtaining the second nearest segment L5 with respect to the correction point M3, the burning composing point correction unit 18g newly adds the correction point M3 to the burning composing point, as shown in FIG. The contour line is updated based on the position of each burning composing point. At this time, the burning composing point correction unit 18g updates the logical positional relationship between the burning composing points. For this reason, before the correction point M3 is added, the burning composing points of the label numbers M2 and M1 located at both ends of the line segment L5 are adjacent to each other. However, after the correction point M3 is added, the burning of the label number M2 is performed. The composing point and the correcting point M3 are adjacent to each other, and the correcting point M3 and the burning composing point having the label number M1 are adjacent to each other.

このとき、ラベル表は図48(b)のようになる。図48(a)に示したラベル表と比較して、ラベル番号M2,M1のバーニング構成点の間に修正点M3が新たなバーニング構成点として追加される。ラベル番号M3のバーニング構成点の画像座標は(Xm3,Ym3)となり、隣接ラベル番号1,2はそれぞれM2、M1となる。さらに、ラベル番号M2のバーニング構成点の隣接ラベル番号2、およびラベル番号M1のバーニング構成点の隣接ラベル番号1はそれぞれM3に変更されている。   At this time, the label table is as shown in FIG. Compared with the label table shown in FIG. 48A, the correction point M3 is added as a new burning composing point between the burning composing points of the label numbers M2 and M1. The image coordinates of the burning composing point with label number M3 are (Xm3, Ym3), and adjacent label numbers 1 and 2 are M2 and M1, respectively. Furthermore, the adjacent label number 2 of the burning composing point with label number M2 and the adjacent label number 1 of the burning composing point with label number M1 are changed to M3.

しかし、図44(b)に示すように、領域4410における輪郭線とバーニング4420の輪郭とがあまり一致していない。そこで、上記の手順と同様にして、修正点M3とに隣接するバーニング構成点が変更される。   However, as shown in FIG. 44 (b), the contour line in the region 4410 and the contour of the burning 4420 do not coincide very much. Therefore, the burning composing point adjacent to the correction point M3 is changed in the same manner as described above.

図44(c)に示すように、ユーザがカーソル4400を移動させずに、修正点M3の位置で再度クリック等の操作を行うと、バーニング構成点修正部18gは、修正点M3の情報を削除し、バーニング構成点同士の論理的な位置関係を更新前の状態に戻す。これによって、図49(a)に示すように、ラベル表は図48(a)と同じ状態に戻る。バーニング構成点修正部18gは、既に算出した線分Lcの中から、修正点M3に対して3番目に近傍の線分(修正点M3との距離が3番目に近い線分)を検索する。この場合、図44(c)に示すように、修正点M3に対して3番目に近傍の線分は線分L6である。   As shown in FIG. 44C, when the user performs an operation such as clicking again at the position of the correction point M3 without moving the cursor 4400, the burning composing point correction unit 18g deletes the information of the correction point M3. Then, the logical positional relationship between the burning composing points is returned to the state before the update. As a result, as shown in FIG. 49A, the label table returns to the same state as in FIG. The burning composing point correcting unit 18g searches the already calculated line segment Lc for a line segment that is the third closest to the correction point M3 (a line segment that is the third closest to the correction point M3). In this case, as shown in FIG. 44 (c), the third closest segment to the correction point M3 is the segment L6.

修正点M3に対して3番目に近傍の線分L6を求めた後、バーニング構成点修正部18gは、修正点M3を新たにバーニング構成点に追加し、図44(d)に示すように、各バーニング構成点の位置に基づいて輪郭線を更新する。このとき、バーニング構成点修正部18gは、バーニング構成点同士の論理的な位置関係を更新する。このため、修正点M3を追加する前は、線分L6の両端に位置するラベル番号M1,5のバーニング構成点が隣接しているが、修正点M3を追加した後は、ラベル番号M1のバーニング構成点と修正点M3が隣接していると共に、修正点M3とラベル番号5のバーニング構成点が隣接している。   After obtaining the third nearest line segment L6 with respect to the correction point M3, the burning composing point correction unit 18g newly adds the correction point M3 to the burning composing point, as shown in FIG. The contour line is updated based on the position of each burning composing point. At this time, the burning composing point correction unit 18g updates the logical positional relationship between the burning composing points. For this reason, before the correction point M3 is added, the burning composing points of the label numbers M1 and 5 located at both ends of the line segment L6 are adjacent to each other. However, after the correction point M3 is added, the burning of the label number M1 is performed. The composition point and the correction point M3 are adjacent to each other, and the correction point M3 and the burning composition point having the label number 5 are adjacent to each other.

このとき、ラベル表は図49(b)のようになる。図49(a)に示したラベル表と比較して、ラベル番号M1,5のバーニング構成点の間に修正点M3が新たなバーニング構成点として追加される。ラベル番号M3のバーニング構成点の画像座標は(Xm3,Ym3)となり、隣接ラベル番号1,2はそれぞれM1、5となる。さらに、ラベル番M1のバーニング構成点の隣接ラベル番号2、およびラベル番号5のバーニング構成点の隣接ラベル番号1はそれぞれM3に変更されている。   At this time, the label table is as shown in FIG. Compared with the label table shown in FIG. 49A, the correction point M3 is added as a new burning composing point between the burning composing points of the label numbers M1 and M5. The image coordinates of the burning composing point with label number M3 are (Xm3, Ym3), and adjacent label numbers 1 and 2 are M1 and 5, respectively. Further, the adjacent label number 2 of the burning composing point with label number M1 and the adjacent label number 1 of the burning composing point with label number 5 are changed to M3.

この結果、第3の実施形態におけるバーニング構成点の修正方法によって得られた輪郭線の形状(図40(d))よりも、本実施形態におけるバーニング構成点の修正方法によって得られた輪郭線の形状(図44(e))の方が、より正確にバーニングの輪郭に一致する。   As a result, the contour line obtained by the correction method of the burning composing point in this embodiment is more than the shape of the contour line obtained by the method of correcting the burning composing point in the third embodiment (FIG. 40D). The shape (FIG. 44E) matches the burning contour more accurately.

上記において、計測画面には、図41〜図44に示したように、バーニング構成点を修正するプロセスが全て表示される。また、バーニング構成点に添えられたラベル番号は表示されない。ただし、これに限らず、バーニング構成点を修正するプロセスの一部を非表示にしたり、ラベル番号を表示したりしてもよい。また、特に図示していないが、第2の実施形態の変形例のように、計測画面にプレビューアイコンを設け、修正したバーニング構成点の状態を元に戻したり、先に進めたりすることができるようにしてもよい。   In the above, as shown in FIGS. 41 to 44, all processes for correcting the burning composing points are displayed on the measurement screen. Also, the label number attached to the burning composing point is not displayed. However, the present invention is not limited to this, and part of the process for correcting the burning composing point may be hidden or the label number may be displayed. Although not particularly shown, a preview icon is provided on the measurement screen as in the modification of the second embodiment, so that the state of the corrected burning composing point can be restored or advanced. You may do it.

上述したように、本実施形態によれば、新たに追加したバーニング構成点と、ユーザからの指示に基づいて選択したバーニング構成点とが隣接するようにバーニング構成点同士の論理的な位置関係を修正する(言い換えると、新たに追加したバーニング構成点と、ユーザからの指示に基づいて選択したバーニング構成点とが線分で結ばれるように輪郭線を修正する)ことによって、バーニング構成点をより正確に修正することができ、かつバーニングサイズの算出精度を高めることができる。   As described above, according to the present embodiment, the logical positional relationship between the burning composing points is set so that the newly added burning composing point and the burning composing point selected based on the instruction from the user are adjacent to each other. By correcting (in other words, correcting the contour line so that the newly added burning composing point and the burning composing point selected based on the instruction from the user are connected by a line segment) It can correct correctly and can raise the calculation precision of burning size.

(第5の実施形態)
次に、本発明の第5の実施形態を説明する。第2の実施形態におけるバーニング構成点の修正方法では、バーニングの形状によっては、バーニング構成点同士を結ぶ線分で構成される輪郭線がねじれてしまう場合がある。例えば、図50(a)に示す形状を有するバーニング5000に対して第1の実施形態と同様にバーニング構成点の算出を行った場合、図50(b)に示すようにバーニング構成点5010が算出される。
(Fifth embodiment)
Next, a fifth embodiment of the present invention will be described. In the method for correcting a burning composing point in the second embodiment, an outline formed by a line segment connecting the burning composing points may be twisted depending on the shape of the burning. For example, when the burning composing point is calculated for the burning 5000 having the shape shown in FIG. 50A as in the first embodiment, the burning composing point 5010 is calculated as shown in FIG. Is done.

第2の実施形態では、図50(c)に示すように、バーニング構成点P1を修正する目的でユーザがカーソル5020を移動させ、図50(c)に示す位置でクリック等の操作を行うと、カーソル5020に最近傍のバーニング構成点P2が修正される。しかし、図50(d)に示すように、この修正によって、輪郭線同士が交差するねじれが発生し、バーニングの面積(空間面積)を計算することができなくなってしまう。そこで、本実施形態では、ユーザがバーニング構成点を修正する際に、輪郭線がねじれ形状にならないように、修正すべきバーニング構成点を自動的に選択することにより、より正確にバーニング構成点の修正(モディファイ)を行うことが可能となっている。   In the second embodiment, as shown in FIG. 50C, when the user moves the cursor 5020 for the purpose of correcting the burning composing point P1, and performs an operation such as clicking at the position shown in FIG. The burning composing point P2 nearest to the cursor 5020 is corrected. However, as shown in FIG. 50 (d), this correction causes a twist where the contour lines intersect, and the burning area (spatial area) cannot be calculated. Therefore, in the present embodiment, when the user corrects the burning composing point, the burning composing point to be corrected is automatically selected so that the contour line does not become a twisted shape, so that the burning composing point can be corrected more accurately. Modification (modification) is possible.

本実施形態による計測処理部18の構成は第2の実施形態と同様である。また、本実施形態におけるバーニング構成点の修正手順は、図23に示した手順とほぼ同様であるが、ステップSJのバーニング構成点の修正の内容およびステップSKのラベル表の更新・追加の内容のみが異なる。以下、図51〜図54を参照し、本実施形態において、バーニング構成点を修正する手順(ステップSI,SJ,SK,SL)の詳細を説明する。   The configuration of the measurement processing unit 18 according to this embodiment is the same as that of the second embodiment. The procedure for correcting the burning composing point in this embodiment is substantially the same as the procedure shown in FIG. 23, but only the contents of the correction of the burning composing point in step SJ and the content of updating / adding the label table in step SK. Is different. Hereinafter, with reference to FIGS. 51 to 54, details of the procedure (steps SI, SJ, SK, SL) for correcting the burning composing point in the present embodiment will be described.

図51等に示すバーニング構成点には、ラベル表に記載されたラベル番号(1〜16)が付与されている。説明の便宜上、図51等ではラベル番号が記載されているが、実際の計測画面ではラベル番号は表示されない。図52(a)は、図23のステップSHで作成された、バーニング構成点を修正する前のラベル表を示している。   The burning composing points shown in FIG. 51 and the like are given the label numbers (1 to 16) described in the label table. For convenience of explanation, the label number is described in FIG. 51 and the like, but the label number is not displayed on the actual measurement screen. FIG. 52A shows a label table created in step SH of FIG. 23 before correcting the burning composing point.

図51(a)に示すように、バーニング構成点算出部18dによって算出されたバーニング構成点5100同士を結んだ輪郭線とバーニング5110の輪郭とがあまり一致しない場合、図51(b)に示すように、ユーザはカーソル5120を移動させ、バーニング構成点を修正したい位置(修正点Mの位置)に合わせてクリック等の操作を行う。このとき、第2の実施形態と同様にバーニング構成点修正部18gは、図51(c)に示すように、修正点Mに対して最近傍にあるラベル番号16のバーニング構成点の位置を修正点Mの位置に修正する。このときのラベル表は図52(b)のようになり、ラベル番号16のバーニング構成点の画像座標が修正点Mの座標(Xm,Ym)となる。   As shown in FIG. 51 (a), when the contour line connecting the burning composing points 5100 calculated by the burning composing point calculation unit 18d and the contour of the burning 5110 do not coincide very much, as shown in FIG. 51 (b). In addition, the user moves the cursor 5120 and performs an operation such as clicking according to the position where the burning composing point is to be corrected (the position of the correction point M). At this time, as in the second embodiment, the burning composing point correcting unit 18g corrects the position of the burning composing point with the label number 16 that is closest to the correcting point M, as shown in FIG. Correct to the position of point M. The label table at this time is as shown in FIG. 52B, and the image coordinates of the burning composing point with label number 16 become the coordinates (Xm, Ym) of the correction point M.

また、バーニング構成点修正部18gは、修正したラベル番号16のバーニング構成点と、それに隣接するバーニング構成点とを結ぶ線分L1,L2を算出する。図53(a)に示すラベル表より、線分L1はラベル番号1,16のバーニング構成点を結んだ線分であり、線分L2はラベル番号15,16のバーニング構成点を結んだ線分である。具体的には、線分L1は座標(X1,Y1)と(Xm,Ym)を結んだ線分であり、線分L2は座標(X15,Y15)と(Xm,Ym)を結んだ線分である。   Further, the burning composing point correcting unit 18g calculates line segments L1 and L2 connecting the corrected burning composing point with the label number 16 and the burning composing point adjacent thereto. From the label table shown in FIG. 53A, the line segment L1 is a line segment connecting the burning composing points with label numbers 1 and 16, and the line segment L2 is the line segment connecting the burning composing points with label numbers 15 and 16. It is. Specifically, the line segment L1 is a line segment connecting coordinates (X1, Y1) and (Xm, Ym), and the line segment L2 is a line segment connecting coordinates (X15, Y15) and (Xm, Ym). It is.

バーニング構成点修正部18gは、算出した線分L1,L2が、他の隣接するバーニング構成点同士を結ぶ各線分と交点をもつかどうか(言い換えると、輪郭線の形状がねじれ形状であるか否か)をチェックする。図51(c)に示すように、ラベル番号2,3のバーニング構成点を結んだ線分L3が線分L1,L2と交点をもつ。具体的には、線分L3は座標(X2,Y2)と(X3,Y3)を結んだ線分である。   The burning composing point correcting unit 18g determines whether or not the calculated line segments L1 and L2 have intersections with the respective line segments connecting the other adjacent burning composing points (in other words, whether or not the shape of the contour line is a twisted shape). Check). As shown in FIG. 51 (c), the line segment L3 connecting the burning composing points with the label numbers 2 and 3 has intersections with the line segments L1 and L2. Specifically, the line segment L3 is a line segment connecting the coordinates (X2, Y2) and (X3, Y3).

線分L1,L2と交点をもつ線分を見つけた場合、図51(d)に示すように、バーニング構成点修正部18gは、修正されたラベル番号16のバーニング構成点を元の位置(修正前の位置)に戻す。このときのラベル表は図53(b)のようになる。ラベル番号16のバーニング構成点の座標が(X16,Y16)となっており、図52(a)と同じラベル表に戻っている。   When a line segment having an intersection with the line segments L1 and L2 is found, as shown in FIG. 51 (d), the burning composing point correcting unit 18g uses the corrected burning composing point with the label number 16 as the original position (corrected). Return to the previous position. The label table at this time is as shown in FIG. The coordinates of the burning composing point with label number 16 are (X16, Y16), and the label table is the same as that in FIG.

修正点Mに対して最近傍のバーニング構成点を修正点Mの位置に移動するとねじれが発生することが分かったので、バーニング構成点修正部18gは他のバーニング構成点を修正点Mの位置に移動する。具体的には、図51(e)に示すように、バーニング構成点修正部18gは、修正点Mに対して2番目に近いラベル番号3のバーニング構成点の位置を修正点Mの位置に修正する。このときのラベル表は図54(a)のようになり、ラベル番号3のバーニング構成点の座標が(Xm,Ym)となる。   Since it has been found that twisting occurs when the nearest burning composing point with respect to the correction point M is moved to the position of the correction point M, the burning composing point correction unit 18g moves the other burning composing point to the position of the correction point M. Moving. Specifically, as shown in FIG. 51 (e), the burning composing point correcting unit 18 g corrects the position of the burning composing point with the label number 3 that is second closest to the correcting point M to the position of the correcting point M. To do. The label table at this time is as shown in FIG. 54A, and the coordinates of the burning composing point with label number 3 are (Xm, Ym).

また、バーニング構成点修正部18gは、修正したラベル番号3のバーニング構成点と、それに隣接するバーニング構成点とを結ぶ線分L4,L5を算出する。図54(b)に示すラベル表より、線分L4はラベル番号2,3のバーニング構成点を結んだ線分であり、線分L5はラベル番号3,4のバーニング構成点を結んだ線分である。具体的には、線分L4は座標(X2,Y2)と(Xm,Ym)を結んだ線分であり、線分L5は座標(Xm,Ym)と(X4,Y4)を結んだ線分である。   Further, the burning composing point correcting unit 18g calculates line segments L4 and L5 connecting the corrected burning composing point with the label number 3 and the burning composing point adjacent thereto. From the label table shown in FIG. 54B, line segment L4 is a line segment connecting the burning composing points with label numbers 2 and 3, and line segment L5 is a line segment connecting the burning composing points with label numbers 3 and 4. It is. Specifically, the line segment L4 is a line segment connecting coordinates (X2, Y2) and (Xm, Ym), and the line segment L5 is a line segment connecting coordinates (Xm, Ym) and (X4, Y4). It is.

バーニング構成点修正部18gは、算出した線分L4,L5が、他の隣接するバーニング構成点同士を結ぶ各線分と交点をもつかどうか(言い換えると、輪郭線の形状がねじれ形状であるか否か)をチェックする。図51(e)に示すように、線分L4,L5と交点をもつ線分は存在しないため、バーニング構成点修正部18gは、修正すべきバーニング構成点をラベル番号3のバーニング構成点と決定する。この結果、図51(f)に示すように、輪郭線の形状がねじれ形状にならないようにバーニング構成点を修正することが可能となる。   The burning composing point correcting unit 18g determines whether or not the calculated line segments L4 and L5 have intersections with the respective line segments connecting the other adjacent burning composing points (in other words, whether or not the shape of the contour line is a twisted shape). Check). As shown in FIG. 51 (e), since there is no line segment that intersects with the line segments L4 and L5, the burning composing point correcting unit 18g determines the burning composing point to be corrected as the burning composing point with the label number 3. To do. As a result, as shown in FIG. 51 (f), it is possible to correct the burning composing point so that the shape of the contour line does not become a twisted shape.

上記の例では、バーニング構成点修正部18gは、2回目のバーニング構成点の修正で、修正すべきバーニング構成点を決定できたが、修正すべきバーニング構成点を決定できなければ、輪郭線の形状がねじれ形状になっているかどうかのチェックをさらに繰り返すことになる。もし、チェックを繰り返しても、修正すべきバーニング構成点を決定できなければ、バーニング構成点の修正は行わない。   In the above example, the burning composing point correction unit 18g can determine the burning composing point to be corrected in the second correction of the burning composing point. The check of whether the shape is a twisted shape will be repeated further. If the burning composing point to be corrected cannot be determined even after repeating the check, the burning composing point is not corrected.

上記において、計測画面には、図51に示した、ねじれ形状を解消するプロセスの全てが表示されるのではなく、図51(b)のようにユーザが修正点を指定すると、すぐに図51(f)のようにバーニング構成点の修正が完了した状態が表示される。また、バーニング構成点に添えられたラベル番号も表示されない。ただし、これに限らず、バーニング構成点を修正するプロセスの全てを表示したり、ラベル番号を表示したりしてもよい。また、特に図示していないが、第2の実施形態の変形例のように、計測画面にプレビューアイコンを設け、修正したバーニング構成点の状態を元に戻したり、先に進めたりすることができるようにしてもよい。   In the above, not all the processes for eliminating the twist shape shown in FIG. 51 are displayed on the measurement screen, but when the user designates a correction point as shown in FIG. The state where the correction of the burning composing point is completed as shown in (f) is displayed. Also, the label number attached to the burning composing point is not displayed. However, the present invention is not limited to this, and all the processes for correcting the burning composing point may be displayed, or the label number may be displayed. Although not particularly shown, a preview icon is provided on the measurement screen as in the modification of the second embodiment, so that the state of the corrected burning composing point can be restored or advanced. You may do it.

次に、本実施形態の変形例を説明する。バーニング構成点を修正した後、輪郭線の形状がねじれ形状になっていた場合、図55(a)に示すように、輪郭線の形状がねじれ形状になっていることを警告する警告メッセージボックス5500を表示してもよい。ユーザがカーソル5510をメッセージボックス5500内の「Yes」アイコン5520上に移動させ、クリック等の操作を行うと、上記のように、バーニング構成点修正部18gは、修正したバーニング構成点を元の位置に戻し、ユーザは修正をやり直す。   Next, a modification of this embodiment will be described. After the burning composing point is corrected, when the contour shape is a twisted shape, as shown in FIG. 55A, a warning message box 5500 that warns that the contour shape is a twisted shape. May be displayed. When the user moves the cursor 5510 over the “Yes” icon 5520 in the message box 5500 and performs an operation such as a click, the burning composing point correction unit 18g, as described above, sets the corrected burning composing point to the original position. And the user redoes the correction.

また、ユーザがカーソル5510により「No」アイコン5521を指定した場合、バーニング構成点が修正後の状態で、バーニングサイズ算出部18eはバーニング計算を行う。そして、図55(b)に示すように、計測画面上に結果ウィンドウ5530が表示される。ただし、輪郭線の形状がねじれ形状の場合、面積が算出できないので、面積に関しては、「A = WRONG FIG」(FIGはFIGUREの意味)と表示される。   When the user designates “No” icon 5521 with cursor 5510, burning size calculation unit 18 e performs burning calculation in a state where the burning composing points are corrected. Then, as shown in FIG. 55B, a result window 5530 is displayed on the measurement screen. However, since the area cannot be calculated when the contour shape is a twisted shape, “A = WRONG FIG” (FIG means “FIGURE”) is displayed for the area.

上述したように、本実施形態によれば、バーニング構成点を修正した後の輪郭線の形状がねじれ形状にならないように、修正すべきバーニング構成点が自動的に選択されるので、バーニングの面積(空間面積)を計算することができなくなる事態を回避することができる。また、バーニング構成点の修正方法は第2の実施形態における修正方法と同様であるので、より正確にバーニング構成点を修正することができ、かつバーニングサイズの算出精度を高めることができる。   As described above, according to the present embodiment, the burning composing point to be corrected is automatically selected so that the shape of the contour line after correcting the burning composing point does not become a twisted shape. A situation in which (space area) cannot be calculated can be avoided. Further, the burning composing point is corrected in the same manner as the correction method in the second embodiment, so that the burning composing point can be corrected more accurately and the calculation accuracy of the burning size can be increased.

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

本発明の第1の実施形態による計測用内視鏡装置の構成を示すブロック図である。It is a block diagram which shows the structure of the endoscope apparatus for measurement by the 1st Embodiment of this invention. 本発明の第1の実施形態による計測用内視鏡装置が備える計測処理部の構成を示すブロック図である。It is a block diagram which shows the structure of the measurement process part with which the endoscope apparatus for measurement by the 1st Embodiment of this invention is provided. 本発明の第1の実施形態における基準点、基準線を示す参考図である。It is a reference figure showing a reference point and a reference line in the first embodiment of the present invention. 本発明の第1の実施形態における基準楕円を示す参考図である。It is a reference figure showing the standard ellipse in the 1st embodiment of the present invention. 本発明の第1の実施形態におけるサーチポイント、サーチエリア、バーニング構成点を示す参考図である。FIG. 5 is a reference diagram showing search points, search areas, and burning composing points in the first embodiment of the present invention. 本発明の第1の実施形態におけるバーニングサイズを示す参考図である。It is a reference figure which shows the burning size in the 1st Embodiment of this invention. 本発明の第1の実施形態における計測画面(計測開始前)を示す参考図である。It is a reference figure which shows the measurement screen (before measurement start) in the 1st Embodiment of this invention. 本発明の第1の実施形態における計測の手順を示すフローチャートである。It is a flowchart which shows the procedure of the measurement in the 1st Embodiment of this invention. 本発明の第1の実施形態における計測画面(計測時)を示す参考図である。It is a reference figure which shows the measurement screen (at the time of measurement) in the 1st Embodiment of this invention. 本発明の第1の実施形態における計測画面(計測時および計測終了時)を示す参考図である。It is a reference figure which shows the measurement screen (at the time of measurement and the time of a measurement end) in the 1st Embodiment of this invention. 本発明の第1の実施形態におけるカーソルの位置と基準楕円のサイズとの関係を示す参考図である。It is a reference figure showing the relation between the position of the cursor and the size of the reference ellipse in the first embodiment of the present invention. 本発明の第1の実施形態におけるカーソルの位置と基準楕円の形状との関係を示す参考図である。It is a reference figure which shows the relationship between the position of the cursor in the 1st Embodiment of this invention, and the shape of a reference | standard ellipse. 本発明の第1の実施形態におけるバーニング計算の手順を示すフローチャートである。It is a flowchart which shows the procedure of the burning calculation in the 1st Embodiment of this invention. 本発明の第1の実施形態におけるサーチポイント算出処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the search point calculation process in the 1st Embodiment of this invention. 本発明の第1の実施形態におけるサーチポイントの数および間隔の性質を示す参考図である。It is a reference figure which shows the number of search points in the 1st Embodiment of this invention, and the property of an interval. 本発明の第1の実施形態におけるサーチエリア算出処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the search area calculation process in the 1st Embodiment of this invention. 本発明の第1の実施形態におけるサーチエリアのサイズの性質を示す参考図である。It is a reference figure which shows the property of the size of the search area in the 1st Embodiment of this invention. 本発明の第1の実施形態におけるバーニング構成点算出処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the burning composing point calculation process in the 1st Embodiment of this invention. 本発明の第1の実施形態におけるバーニング構成点算出処理の手順を示す参考図である。It is a reference figure which shows the procedure of the burning composing point calculation process in the 1st Embodiment of this invention. 本発明の第1の実施形態におけるバーニングサイズ算出処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the burning size calculation process in the 1st Embodiment of this invention. 本発明の第2の実施形態による計測用内視鏡装置が備える計測処理部の構成を示すブロック図である。It is a block diagram which shows the structure of the measurement process part with which the endoscope apparatus for measurement by the 2nd Embodiment of this invention is provided. 本発明の第2の実施形態の前提となる課題を説明するための参考図である。It is a reference diagram for demonstrating the subject used as the premise of the 2nd Embodiment of this invention. 本発明の第2の実施形態におけるバーニング構成点の修正手順を示すフローチャートである。It is a flowchart which shows the correction procedure of the burning composing point in the 2nd Embodiment of this invention. 本発明の第2の実施形態における計測画面(モディファイ時)を示す参考図である。It is a reference diagram showing a measurement screen (during modification) in the second embodiment of the present invention. 本発明の第2の実施形態における計測画面(モディファイ時)を示す参考図である。It is a reference diagram showing a measurement screen (during modification) in the second embodiment of the present invention. 本発明の第2の実施形態におけるバーニング構成点の修正手順を示す参考図である。It is a reference figure which shows the correction procedure of the burning composing point in the 2nd Embodiment of this invention. 本発明の第2の実施形態におけるバーニング再計算の手順を示すフローチャートである。It is a flowchart which shows the procedure of the burning recalculation in the 2nd Embodiment of this invention. 本発明の第2の実施形態におけるラベル表を示す参考図である。It is a reference figure which shows the label table | surface in the 2nd Embodiment of this invention. 本発明の第2の実施形態におけるラベル表を示す参考図である。It is a reference figure which shows the label table | surface in the 2nd Embodiment of this invention. 本発明の第2の実施形態におけるバーニング構成点の修正手順を示すフローチャートである。It is a flowchart which shows the correction procedure of the burning composing point in the 2nd Embodiment of this invention. 本発明の第2の実施形態における計測画面(モディファイ時)を示す参考図である。It is a reference diagram showing a measurement screen (during modification) in the second embodiment of the present invention. 本発明の第2の実施形態における計測画面(モディファイ時)を示す参考図である。It is a reference diagram showing a measurement screen (during modification) in the second embodiment of the present invention. 本発明の第2の実施形態における計測画面(モディファイ時)を示す参考図である。It is a reference diagram showing a measurement screen (during modification) in the second embodiment of the present invention. 本発明の第2の実施形態におけるバーニング構成点の修正の様子を示す参考図である。It is a reference figure which shows the mode of correction of the burning composing point in the 2nd Embodiment of this invention. 本発明の第3の実施形態におけるバーニング構成点の修正手順を示す参考図である。It is a reference figure which shows the correction procedure of the burning composing point in the 3rd Embodiment of this invention. 本発明の第3の実施形態におけるバーニング構成点の修正手順を示す参考図である。It is a reference figure which shows the correction procedure of the burning composing point in the 3rd Embodiment of this invention. 本発明の第3の実施形態におけるバーニング構成点の修正手順を示す参考図である。It is a reference figure which shows the correction procedure of the burning composing point in the 3rd Embodiment of this invention. 本発明の第3の実施形態におけるラベル表を示す参考図である。It is a reference figure which shows the label table | surface in the 3rd Embodiment of this invention. 本発明の第3の実施形態におけるラベル表を示す参考図である。It is a reference figure which shows the label table | surface in the 3rd Embodiment of this invention. 本発明の第3の実施形態におけるバーニング構成点の修正の様子を示す参考図である。It is a reference figure which shows the mode of correction of the burning composing point in the 3rd Embodiment of this invention. 本発明の第4の実施形態におけるバーニング構成点の修正手順を示す参考図である。It is a reference figure which shows the correction procedure of the burning composing point in the 4th Embodiment of this invention. 本発明の第4の実施形態におけるバーニング構成点の修正手順を示す参考図である。It is a reference figure which shows the correction procedure of the burning composing point in the 4th Embodiment of this invention. 本発明の第4の実施形態におけるバーニング構成点の修正手順を示す参考図である。It is a reference figure which shows the correction procedure of the burning composing point in the 4th Embodiment of this invention. 本発明の第4の実施形態におけるバーニング構成点の修正手順を示す参考図である。It is a reference figure which shows the correction procedure of the burning composing point in the 4th Embodiment of this invention. 本発明の第4の実施形態におけるラベル表を示す参考図である。It is a reference figure which shows the label table | surface in the 4th Embodiment of this invention. 本発明の第4の実施形態におけるラベル表を示す参考図である。It is a reference figure which shows the label table | surface in the 4th Embodiment of this invention. 本発明の第4の実施形態におけるラベル表を示す参考図である。It is a reference figure which shows the label table | surface in the 4th Embodiment of this invention. 本発明の第4の実施形態におけるラベル表を示す参考図である。It is a reference figure which shows the label table | surface in the 4th Embodiment of this invention. 本発明の第4の実施形態におけるラベル表を示す参考図である。It is a reference figure which shows the label table | surface in the 4th Embodiment of this invention. 本発明の第2の実施形態におけるバーニング構成点の修正の様子を示す参考図である。It is a reference figure which shows the mode of correction of the burning composing point in the 2nd Embodiment of this invention. 本発明の第5の実施形態におけるバーニング構成点の修正手順を示す参考図である。It is a reference figure which shows the correction procedure of the burning composing point in the 5th Embodiment of this invention. 本発明の第5の実施形態におけるラベル表を示す参考図である。It is a reference figure which shows the label table | surface in the 5th Embodiment of this invention. 本発明の第5の実施形態におけるラベル表を示す参考図である。It is a reference figure which shows the label table | surface in the 5th Embodiment of this invention. 本発明の第5の実施形態におけるラベル表を示す参考図である。It is a reference figure which shows the label table | surface in the 5th Embodiment of this invention. 本発明の第5の実施形態における計測画面を示す参考図である。It is a reference diagram showing a measurement screen in the fifth embodiment of the present invention.

符号の説明Explanation of symbols

1・・・計測用内視鏡装置、18・・・計測処理部、18a・・・制御部(信号処理部)、18b・・・基準点指定部、18c・・・基準楕円算出部、18d・・・バーニング構成点算出部(構成点算出部)、18e・・・バーニングサイズ算出部(サイズ算出部)、18f・・・記憶部、18g・・・バーニング構成点修正部(構成点修正部)   DESCRIPTION OF SYMBOLS 1 ... Measuring endoscope apparatus, 18 ... Measurement processing part, 18a ... Control part (signal processing part), 18b ... Reference point designation | designated part, 18c ... Reference ellipse calculation part, 18d ... Burning composing point calculating unit (composing point calculating unit), 18e ... Burning size calculating unit (size calculating unit), 18f ... Storage unit, 18g ... Burning composing point correcting unit (composing point correcting unit) )

Claims (9)

計測対象物を撮像し撮像信号を生成する電子内視鏡と、前記撮像信号に基づいて映像信号を生成する映像信号生成部と、前記映像信号に基づいて前記計測対象物の計測処理を行う計測処理部とを備えた内視鏡装置において、
前記計測処理部は、
前記映像信号に基づく画像上の3つの基準点を指定する基準点指定部と、
前記基準点指定部によって指定された3つの前記基準点で決定される線上に設定した複数点の各々に基づく画像領域内で前記映像信号を処理し、計測対象領域を構成する構成点を算出する構成点算出部と、
ユーザからの指示に基づいて前記構成点を修正する構成点修正部と、
前記構成点に基づいて前記計測対象物のサイズを算出するサイズ算出部と、
を備えたことを特徴とする内視鏡装置。
An electronic endoscope that images a measurement object and generates an imaging signal, a video signal generation unit that generates a video signal based on the imaging signal, and a measurement that performs measurement processing of the measurement object based on the video signal In an endoscope apparatus including a processing unit,
The measurement processing unit
A reference point designating unit for designating three reference points on the image based on the video signal;
The video signal is processed in an image region based on each of a plurality of points set on a line determined by the three reference points specified by the reference point specifying unit, and constituent points constituting the measurement target region are calculated. A component point calculator,
A composition point modification unit for modifying the composition point based on an instruction from the user;
A size calculator that calculates the size of the measurement object based on the component points;
An endoscope apparatus comprising:
前記構成点修正部は、前記映像信号に基づく画像上でユーザが指示した位置と前記構成点算出部が算出した前記構成点の位置とに基づいて選択した前記構成点の位置を、前記ユーザが指示した位置に修正することを特徴とする請求項1に記載の内視鏡装置。   The component point correcting unit is configured to determine the position of the component point selected by the user based on the position indicated by the user on the image based on the video signal and the position of the component point calculated by the component point calculation unit. The endoscope apparatus according to claim 1, wherein the endoscope apparatus is corrected to the designated position. 前記構成点修正部はさらに、修正した前記構成点を含む各々の前記構成点を結ぶ線分で構成される輪郭線の形状がねじれ形状であるか否かを判定することを特徴とする請求項2に記載の内視鏡装置。   The component point correcting unit further determines whether or not a shape of a contour line formed by line segments connecting the component points including the corrected component point is a twisted shape. The endoscope apparatus according to 2. 前記構成点修正部は、前記映像信号に基づく画像上でユーザが指示した位置に新たな前記構成点を追加することを特徴とする請求項1に記載の内視鏡装置。   The endoscope apparatus according to claim 1, wherein the component point correction unit adds a new component point at a position designated by a user on an image based on the video signal. 前記構成点修正部はさらに、前記構成点算出部によって算出された前記構成点の位置と、新たに追加した前記構成点の位置とに基づいて、各々の前記構成点を結ぶ線で構成される輪郭線を決定することを特徴とする請求項4に記載の内視鏡装置。   The component point correcting unit is further configured by a line connecting the component points based on the position of the component point calculated by the component point calculating unit and the position of the newly added component point. The endoscope apparatus according to claim 4, wherein an outline is determined. 前記構成点修正部はさらに、新たに追加した前記構成点と、ユーザからの指示に基づいて選択した前記構成点とが線で結ばれるように前記輪郭線を決定することを特徴とする請求項4に記載の内視鏡装置。   The component point correcting unit further determines the contour line so that the newly added component point and the component point selected based on an instruction from a user are connected by a line. 4. The endoscope apparatus according to 4. 前記構成点修正部が修正を行った結果を示す修正結果情報を記憶する記憶部をさらに備え、
前記構成点修正部はさらに、ユーザからの指示に基づいて選択した前記修正結果情報が示す修正後の前記構成点を、ユーザからの指示に基づいて修正する
ことを特徴とする請求項1に記載の内視鏡装置。
A storage unit that stores correction result information indicating a result of correction performed by the component point correction unit;
The said composition point correction | amendment part further correct | amends the said composition point after correction which the said correction result information selected based on the instruction | indication from a user shows based on the instruction | indication from a user. Endoscope device.
前記構成点算出部は、前記複数点の各々に基づく画像領域内で前記映像信号の2値化処理を行い、2値化処理後の前記映像信号に基づいて前記計測対象領域のエッジを抽出し、当該エッジを近似する近似線を算出し、当該近似線に基づいて前記エッジ上の前記構成点を算出することを特徴とする請求項1〜請求項7のいずれかに記載の内視鏡装置。   The component point calculation unit performs binarization processing of the video signal in an image region based on each of the plurality of points, and extracts an edge of the measurement target region based on the video signal after binarization processing. The endoscope apparatus according to claim 1, wherein an approximate line that approximates the edge is calculated, and the constituent points on the edge are calculated based on the approximate line. . 計測対象物を撮像し撮像信号を生成する電子内視鏡と、前記撮像信号に基づいて映像信号を生成する画像処理部と、前記映像信号に基づいて前記計測対象物の計測処理を行う計測処理部とを備えた内視鏡装置を制御するためのプログラムにおいて、
前記計測処理部を、
前記映像信号に基づく画像上の3つの基準点を指定する基準点指定部と、
前記基準点指定部によって指定された3つの前記基準点で決定される線上に設定した複数点の各々に基づく画像領域内で前記映像信号を処理し、計測対象領域を構成する構成点を算出する構成点算出部と、
ユーザからの指示に基づいて前記構成点を修正する構成点修正部と、
前記構成点に基づいて前記計測対象物のサイズを算出するサイズ算出部と、
として機能させるためのプログラム。
An electronic endoscope that images a measurement object and generates an imaging signal, an image processing unit that generates a video signal based on the imaging signal, and a measurement process that performs measurement processing of the measurement object based on the video signal In a program for controlling an endoscope apparatus provided with a unit,
The measurement processing unit is
A reference point designating unit for designating three reference points on the image based on the video signal;
The video signal is processed in an image region based on each of a plurality of points set on a line determined by the three reference points specified by the reference point specifying unit, and constituent points constituting the measurement target region are calculated. A component point calculator,
A composition point modification unit for modifying the composition point based on an instruction from the user;
A size calculator that calculates the size of the measurement object based on the component points;
Program to function as.
JP2008226169A 2008-05-26 2008-09-03 Endoscope apparatus and program Expired - Fee Related JP5186314B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008226169A JP5186314B2 (en) 2008-05-26 2008-09-03 Endoscope apparatus and program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2008136655 2008-05-26
JP2008136655 2008-05-26
JP2008226169A JP5186314B2 (en) 2008-05-26 2008-09-03 Endoscope apparatus and program

Publications (2)

Publication Number Publication Date
JP2010008394A JP2010008394A (en) 2010-01-14
JP5186314B2 true JP5186314B2 (en) 2013-04-17

Family

ID=41589064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008226169A Expired - Fee Related JP5186314B2 (en) 2008-05-26 2008-09-03 Endoscope apparatus and program

Country Status (1)

Country Link
JP (1) JP5186314B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5530225B2 (en) * 2010-03-09 2014-06-25 オリンパス株式会社 Endoscope apparatus and program
JP6037683B2 (en) * 2012-07-02 2016-12-07 オリンパス株式会社 Measuring device, method of operating measuring device, and program
JP2015059854A (en) * 2013-09-19 2015-03-30 セントラル硝子株式会社 Defect inspection method and defect inspection device
CN112022067B (en) 2020-11-06 2021-01-12 安翰科技(武汉)股份有限公司 Image processing method, electronic device and readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09250909A (en) * 1996-03-15 1997-09-22 Mitsutoyo Corp Method and system for measuring image without contact
JP3456096B2 (en) * 1996-07-25 2003-10-14 松下電工株式会社 Shape inspection method
JP3887807B2 (en) * 1997-10-24 2007-02-28 株式会社ニコン Image measuring device
JP4031184B2 (en) * 1999-08-04 2008-01-09 株式会社東芝 Object region information description method, object region information generation device, video information processing method, and video information processing device
JP4468544B2 (en) * 2000-04-03 2010-05-26 オリンパス株式会社 Endoscope device
JP4790223B2 (en) * 2004-01-20 2011-10-12 オリンパス株式会社 Endoscope device for measurement
JP2007267979A (en) * 2006-03-31 2007-10-18 Yoko Arimasa Method and system of analyzing organ form of living creature

Also Published As

Publication number Publication date
JP2010008394A (en) 2010-01-14

Similar Documents

Publication Publication Date Title
JP2011158549A (en) Endoscope apparatus and program
JP5530225B2 (en) Endoscope apparatus and program
JP6150532B2 (en) Measuring device and program
JP6323183B2 (en) Image processing apparatus and image processing method
JP4070493B2 (en) X-ray diagnostic apparatus and medical image analysis apparatus
JP6037683B2 (en) Measuring device, method of operating measuring device, and program
US9214139B2 (en) Image display apparatus and image display method
JP6141084B2 (en) Imaging device
JP5186314B2 (en) Endoscope apparatus and program
JP5822545B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP2008206956A (en) Endoscope device for measurement
JP4790223B2 (en) Endoscope device for measurement
JP6956853B2 (en) Diagnostic support device, diagnostic support program, and diagnostic support method
JP5079973B2 (en) Endoscope device for measurement and program for endoscope device for measurement
JP2006061274A (en) Program and endoscope system
JP5361246B2 (en) Endoscope apparatus and program
US8903144B2 (en) Endoscope apparatus and method of measuring object
JP2009168499A (en) Endoscope apparatus and program
JP6422597B2 (en) Image processing apparatus, image processing system, and operation method of image processing apparatus
JP2015025965A (en) Endoscope image processing device and endoscope device
JP5602449B2 (en) Endoscope device
JP2006329684A (en) Image measuring instrument and method
JP4674093B2 (en) Endoscope apparatus and program
US20120100512A1 (en) Inspection apparatus and inspection method
JP2014182104A (en) Measuring device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120309

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121226

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130108

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130121

R151 Written notification of patent or utility model registration

Ref document number: 5186314

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20160125

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees