JP5690124B2 - Endoscope apparatus, endoscope image reproducing apparatus, and recording medium recording data structure - Google Patents

Endoscope apparatus, endoscope image reproducing apparatus, and recording medium recording data structure Download PDF

Info

Publication number
JP5690124B2
JP5690124B2 JP2010273935A JP2010273935A JP5690124B2 JP 5690124 B2 JP5690124 B2 JP 5690124B2 JP 2010273935 A JP2010273935 A JP 2010273935A JP 2010273935 A JP2010273935 A JP 2010273935A JP 5690124 B2 JP5690124 B2 JP 5690124B2
Authority
JP
Japan
Prior art keywords
insertion length
unit
playback
image
file
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.)
Active
Application number
JP2010273935A
Other languages
Japanese (ja)
Other versions
JP2012120706A (en
JP2012120706A5 (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 JP2010273935A priority Critical patent/JP5690124B2/en
Publication of JP2012120706A publication Critical patent/JP2012120706A/en
Publication of JP2012120706A5 publication Critical patent/JP2012120706A5/ja
Application granted granted Critical
Publication of JP5690124B2 publication Critical patent/JP5690124B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Endoscopes (AREA)

Description

本発明は、内視鏡装置、内視鏡画像再生装置及びデータ構造に関し、特に、検査画像を記録した動画から所望の検査部位を素早く検出することができる内視鏡装置、内視鏡画像再生装置及びデータ構造を記録した記録媒体に関する。 The present invention relates to an endoscope apparatus, an endoscope image reproduction apparatus, and a data structure, and more particularly, an endoscope apparatus and an endoscope image reproduction that can quickly detect a desired examination site from a moving image in which an examination image is recorded. The present invention relates to an apparatus and a recording medium on which a data structure is recorded .

従来、内視鏡装置は、検査対象に挿入部を挿入して検査対象画像を得る内視鏡と、この検査対象画像を表示する表示手段を備えて構成したものが一般的に使用されている。内視鏡は、管路に挿入する挿入部あるいはその先端部に、管路内の検査対象画像を得るための対物光学系及びイメージガイドファイバ等を内蔵している。また、内視鏡は、挿入部の先端部の向きを自在に所望する方向へ指向させるための湾曲部を挿入部の先端部に有している。このような構成を有する内視鏡は、湾曲部を湾曲動作させて挿入部の先端部を所望とする様々な方向に指向させたり、あるいは、挿入部にひねりを与えたりしながら、複雑な形状の管路に挿入していくことができるようになっている。   2. Description of the Related Art Conventionally, an endoscope apparatus that includes an endoscope that obtains an inspection target image by inserting an insertion portion into the inspection target and a display unit that displays the inspection target image is generally used. . An endoscope incorporates an objective optical system, an image guide fiber, and the like for obtaining an image to be inspected in the duct at the insertion section to be inserted into the duct or at the distal end thereof. Further, the endoscope has a bending portion at the distal end portion of the insertion portion for freely directing the direction of the distal end portion of the insertion portion in a desired direction. An endoscope having such a configuration has a complicated shape while bending the bending portion and directing the distal end portion of the insertion portion in various desired directions or twisting the insertion portion. It can be inserted into the pipeline.

このような内視鏡装置では、検査映像を静止画あるいは動画として記録する機能を備えており、検査部位の静止画あるいは検査中の映像の動画を記録して検査報告書に貼り付けたり、検査の証拠として残したりする。   Such an endoscope apparatus has a function of recording the inspection video as a still image or a moving image, and records a still image of the inspection region or a moving image of the video under inspection and pastes it on the inspection report. Or leave it as evidence.

特に、近年では、記録メディアの大容量化が進んでおり、内視鏡装置で動画の記録を行い、記録後に内視鏡装置あるいはパーソナルコンピュータ等で動画を再生し、詳細な検査を行うことが多くなってきている。   In particular, in recent years, the capacity of recording media has been increasing, and it is possible to record a moving image with an endoscope apparatus and reproduce the moving image with an endoscope apparatus or a personal computer after recording to perform a detailed inspection. It is getting more.

しかしながら、この場合、記録されている動画は、検査対象であるパイプ等の単調な映像となるため、検査者は、動画の中から、確認したい検査部位を探し出すのに苦労するという問題があった。   However, in this case, since the recorded moving image is a monotonous image such as a pipe to be inspected, there is a problem that the inspector has a hard time finding the inspection site to be confirmed from the moving image. .

そこで、例えば、内視鏡の検査対象への挿入長を基に、基準となる挿入長情報と、検査中のライブ画像を比較する内視鏡装置が提案されている(例えば、特許文献1参照)。   Therefore, for example, an endoscope apparatus has been proposed that compares insertion length information serving as a reference with a live image under examination based on the insertion length of the endoscope into the examination target (see, for example, Patent Document 1). ).

特許第4436638号公報Japanese Patent No. 4436638

しかしながら、特許文献1の内視鏡装置は、検査現場でのライブ画像において所望の検査部位を検出することはできるが、検査画像を記録した動画から所望の検査部位を検出することはできなかった。   However, although the endoscope apparatus of patent document 1 can detect a desired inspection site in a live image at an inspection site, it cannot detect a desired inspection site from a moving image recording the inspection image. .

そこで、本発明は、検査画像を記録した動画から所望の検査部位を素早く検出することができる内視鏡装置を提供することを目的とする。   Therefore, an object of the present invention is to provide an endoscope apparatus that can quickly detect a desired inspection site from a moving image in which an inspection image is recorded.

本発明の一態様によれば、内視鏡挿入部の先端部に設けられた撮像素子により撮像された撮像信号に画像処理を施し、内視鏡画像を生成する画像処理部と、前記先端部を検査対象に挿入した挿入長に関する情報を検出する挿入長検出部と、前記挿入長検出部によって検出された前記挿入長に関する情報に所定の信号処理を施し、挿入長情報を検出する挿入長信号処理部と、記録媒体が着脱可能であって、前記内視鏡画像のデータに前記挿入長情報のデータを対応付けて1つの動画ファイルに格納し、前記記録媒体に記録する記録媒体読み書き部と、前記動画ファイルの再生が指示されると、再生ウィンドウで前記動画ファイル再生を開始するとともに、前記再生ウィンドウに設けられた、任意の挿入長を指定可能な挿入長指定ボックスで挿入長が指定された場合、前記指定された挿入長に対応付けられた最初のフレームから再生を開始させる制御を行う制御部と、を有することを特徴とする内視鏡装置を提供することができる。 According to one aspect of the present invention, an image processing unit that performs image processing on an imaging signal captured by an imaging device provided at a distal end portion of an endoscope insertion unit and generates an endoscopic image; and the distal end portion An insertion length signal for detecting insertion length information by performing predetermined signal processing on the information on the insertion length detected by the insertion length detection unit A processing unit, a recording medium detachable, a recording medium read / write unit that stores the data of the insertion length information in association with the data of the endoscopic image in one moving image file, and records the data on the recording medium; , the reproduction of the moving image file is instructed, starts the reproduction of the moving image file in playback window, the provided playback window, inserted in any insertion length the possible insertion length designation box And a control unit that performs control to start reproduction from the first frame associated with the specified insertion length when the length is specified. .

また、本発明の一態様によれば、記録媒体が着脱可能であって、前記記録媒体に記録された動画ファイルを読み出す記録媒体読み書き部と、前記動画ファイルの再生が指示されると、再生ウィンドウで前記動画ファイル再生を開始するとともに、前記再生ウィンドウに設けられた、任意の挿入長を指定可能な挿入長指定ボックスで挿入長が指定された場合、前記指定された挿入長に対応付けられた最初のフレームから再生を開始させる制御を行う制御部と、を有することを特徴とする内視鏡画像再生装置を提供することができる。 Further, according to one aspect of the present invention, when a recording medium is detachable, a recording medium read / write unit that reads a moving image file recorded on the recording medium, and a reproduction window when an instruction to reproduce the moving image file is given It starts the playback of the moving image file in the provided playback window, if the insertion length of any insertion length the possible insertion length specified box is specified, corresponding to the designated insertion length It is possible to provide an endoscopic image reproduction device including a control unit that performs control to start reproduction from the first frame.

また、本発明の一態様によれば、単位時間毎に区切られた複数のストリームデータ領域と、前記複数のストリームデータ領域のそれぞれに設けられた複数の画像格納領域と、
を備え、前記複数の画像格納領域毎に同一の挿入長の内視鏡画像のデータが格納されていることを特徴とする動画ファイルのデータ構造を記録したコンピュータが読み取り可能な記録媒体を提供することができる。
Further, according to one aspect of the present invention, a plurality of stream data areas divided per unit time, a plurality of image storage areas provided in each of the plurality of stream data areas,
And a computer-readable recording medium recording a data structure of a moving image file, wherein endoscopic image data having the same insertion length is stored for each of the plurality of image storage areas. be able to.

本発明の内視鏡装置によれば、検査画像を記録した動画から所望の検査部位を素早く検出することができる。   According to the endoscope apparatus of the present invention, a desired inspection site can be quickly detected from a moving image in which an inspection image is recorded.

本発明の第1の実施の形態に係る内視鏡装置の構成を示す図である。It is a figure showing composition of an endoscope apparatus concerning a 1st embodiment of the present invention. AVIファイルの構造の例について説明するための図である。It is a figure for demonstrating the example of the structure of an AVI file. 再生ウィンドウの例を説明するための図である。It is a figure for demonstrating the example of a reproduction | regeneration window. 挿入長が指定された際の再生ウィンドウの例を説明するための図である。It is a figure for demonstrating the example of the reproduction | regeneration window when insertion length is designated. AVIファイルを再生する内視鏡画像再生装置の構成の例を示す図である。It is a figure which shows the example of a structure of the endoscopic image reproduction apparatus which reproduces | regenerates an AVI file. 挿入長が指定された場合の処理の流れの例を説明するためのフローチャートである。It is a flowchart for demonstrating the example of the flow of a process when insertion length is designated. 第2の実施の形態に係る再生ウィンドウの例を説明するための図である。It is a figure for demonstrating the example of the reproduction | regeneration window which concerns on 2nd Embodiment. 第2の実施の形態に係る再生ウィンドウの例を説明するための図である。It is a figure for demonstrating the example of the reproduction | regeneration window which concerns on 2nd Embodiment. 再生バーの単位を挿入長とした場合のAVIファイルの構造の例を説明するための図である。It is a figure for demonstrating the example of the structure of an AVI file when the unit of a reproduction | regeneration bar is made into insertion length. 再生単位切り換えボタンが押下された場合の処理の流れの例を説明するためのフローチャートである。It is a flowchart for demonstrating the example of the flow of a process when the reproduction | regeneration unit switching button is pressed down. 図10のステップS13の処理の流れの例について説明するためのフローチャートである。It is a flowchart for demonstrating the example of the flow of a process of FIG.10 S13. 図10のステップS15の処理の流れの例について説明するためのフローチャートである。It is a flowchart for demonstrating the example of the flow of a process of FIG.10 S15. 第3の実施の形態に係る再生ウィンドウの例を説明するための図である。It is a figure for demonstrating the example of the reproduction | regeneration window based on 3rd Embodiment. 重力方向を一致させる処理の流れの例を説明するためのフローチャートである。It is a flowchart for demonstrating the example of the flow of a process which makes a gravity direction correspond. 検査マニュアルファイルの例を説明するための図である。It is a figure for demonstrating the example of an inspection manual file.

以下、図面を参照して本発明の実施の形態について詳細に説明する。
(第1の実施の形態)
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
(First embodiment)

まず、図1に基づき、本発明の第1の実施の形態に係る内視鏡装置の構成について説明する。   First, based on FIG. 1, the structure of the endoscope apparatus which concerns on the 1st Embodiment of this invention is demonstrated.

図1は、本発明の第1の実施の形態に係る内視鏡装置の構成を示す図である。   FIG. 1 is a diagram showing a configuration of an endoscope apparatus according to the first embodiment of the present invention.

図1に示すように、内視鏡装置1は、先端部2aを有する長尺な挿入部2と、本体部3と、表示部4aを有する表示装置4と、内視鏡装置1に対して所望の操作を行う操作部5とを備えて構成されている。また、内視鏡装置1は、挿入部2の根元に、挿入部2を検査対象に挿入した長さ、即ち、挿入長を検出する挿入長検出部7を有する根元部6を備えて構成されている。   As shown in FIG. 1, the endoscope apparatus 1 has a long insertion portion 2 having a distal end portion 2 a, a main body portion 3, a display device 4 having a display portion 4 a, and the endoscope device 1. And an operation unit 5 for performing a desired operation. In addition, the endoscope apparatus 1 includes a root portion 6 having an insertion length detector 7 that detects the length of the insertion portion 2 inserted into the examination target, that is, the insertion length, at the base of the insertion portion 2. ing.

先端部2aは、被写体像を光電変換し撮像信号を生成するCCD等の撮像素子8を備える。また、挿入部2は、先端部2aの基端付近に、先端部2aの重力方向に関する情報を検出する重力方向検出部9を備える。   The distal end portion 2a includes an imaging element 8 such as a CCD that photoelectrically converts a subject image to generate an imaging signal. Moreover, the insertion part 2 is provided with the gravity direction detection part 9 which detects the information regarding the gravity direction of the front-end | tip part 2a in the base end vicinity of the front-end | tip part 2a.

重力方向検出部9は、例えば、重力センサであり、検出した先端部2aの重力方向に関する情報に応じた信号、即ち、先端部2aの重力方向に関する情報信号を本体部3に出力する。   The gravity direction detection unit 9 is, for example, a gravity sensor, and outputs a signal corresponding to the detected information about the gravity direction of the tip 2 a, that is, an information signal about the gravity direction of the tip 2 a to the main body 3.

挿入長検出部7は、例えば、挿入部2を挟み込む2つのローラと、光学式のロータリーエンコーダとを備え、この光学式のロータリーエンコーダでローラの回転数を検出する。挿入長検出部7は、検出したローラの回転数、即ち、挿入長に関する情報信号を本体部3に出力する。   The insertion length detection unit 7 includes, for example, two rollers that sandwich the insertion unit 2 and an optical rotary encoder, and detects the number of rotations of the roller with the optical rotary encoder. The insertion length detection unit 7 outputs an information signal regarding the detected number of rotations of the roller, that is, the insertion length, to the main body unit 3.

本体部3は、画像処理部11と、重力信号処理部12と、挿入長信号処理部13と、グラフィック生成部14と、画像合成部15と、記録媒体読み書き部16と、記憶部17と、メイン制御部18とを備えて構成されている。   The main body unit 3 includes an image processing unit 11, a gravity signal processing unit 12, an insertion length signal processing unit 13, a graphic generation unit 14, an image synthesis unit 15, a recording medium read / write unit 16, a storage unit 17, The main control unit 18 is provided.

画像処理部11には、挿入部2の先端部2aに内蔵されている撮像素子8から出力された撮像信号が入力される。画像処理部11は、この撮像信号に対し、例えば、ガンマ補正処理、エッジ強調処理及びデジタルズーム処理等の画像処理を施し、内視鏡画像を生成する。画像処理部11は、この生成した内視鏡画像を画像合成部15に供給する。   The image processing unit 11 receives an imaging signal output from the imaging element 8 built in the distal end portion 2 a of the insertion unit 2. The image processing unit 11 performs an image process such as a gamma correction process, an edge enhancement process, and a digital zoom process on the imaging signal, and generates an endoscopic image. The image processing unit 11 supplies the generated endoscopic image to the image synthesis unit 15.

重力信号処理部12には、重力方向検出部9から出力された先端部2aの重力方向に関する情報信号が入力される。重力信号処理部12は、この情報信号に対し、例えば鉛直下方向からの傾斜角度等の重力情報に変換し、変換した重力情報をメイン制御部18に供給する。   The gravity signal processing unit 12 receives an information signal related to the gravity direction of the distal end portion 2 a output from the gravity direction detection unit 9. The gravity signal processing unit 12 converts the information signal into gravity information such as an inclination angle from the vertically downward direction, and supplies the converted gravity information to the main control unit 18.

挿入長信号処理部13には、挿入長検出部7から出力されたローラの回転数に関する情報信号が入力される。挿入長信号処理部13は、この回転数に関する情報信号から挿入部2の挿入長に変換し、変換した挿入長情報をメイン制御部18に供給する。   The insertion length signal processing unit 13 receives an information signal regarding the number of rotations of the roller output from the insertion length detection unit 7. The insertion length signal processing unit 13 converts the information signal related to the number of rotations into the insertion length of the insertion unit 2 and supplies the converted insertion length information to the main control unit 18.

これらの重力情報及び挿入長情報は、メイン制御部18からグラフィック生成部14に供給される。グラフィック生成部14は、メイン制御部18から供給された重力情報及び挿入長情報に基づいて、挿入部2の重力方向及び挿入長を示すインジケータを生成し、生成したインジケータを画像合成部15に供給する。   The gravity information and the insertion length information are supplied from the main control unit 18 to the graphic generation unit 14. The graphic generation unit 14 generates an indicator indicating the gravity direction and insertion length of the insertion unit 2 based on the gravity information and insertion length information supplied from the main control unit 18, and supplies the generated indicator to the image composition unit 15. To do.

画像合成部15は、画像処理部11から供給された内視鏡画像と、グラフィック生成部14から供給されたインジケータとを1枚の映像データとして合成し、合成した合成画像を表示装置4に出力する。これにより、表示装置4の表示部4aに合成画像が表示される。   The image synthesis unit 15 synthesizes the endoscopic image supplied from the image processing unit 11 and the indicator supplied from the graphic generation unit 14 as one piece of video data, and outputs the synthesized image to the display device 4. To do. As a result, the composite image is displayed on the display unit 4 a of the display device 4.

また、この画像合成部15は、メイン制御部18による制御に応じて、内視鏡画像を表示装置4の表示部4aに単独で表示するための処理を行うことも可能である。そのため、表示装置4の表示部4aには、内視鏡画像、あるいは内視鏡画像とインジケータとの合成画像等が表示される。   In addition, the image composition unit 15 can also perform processing for independently displaying an endoscopic image on the display unit 4 a of the display device 4 in accordance with control by the main control unit 18. Therefore, an endoscopic image or a composite image of an endoscopic image and an indicator is displayed on the display unit 4a of the display device 4.

記録媒体読み書き部16は、例えば、フラッシュメモリカード等の記録媒体19が着脱自在に接続されるようになっている。記録媒体読み書き部16に記録媒体19が装着された状態において、検査者が操作部5を操作して記録操作を指示すると、記録媒体読み書き部16は、メイン制御部18からの制御に従って、画像合成部15に供給される内視鏡画像のデータ、挿入長情報のデータ及び重力情報のデータを読み出し、記録媒体19に供給して記録する。このような記録処理において、記録媒体読み書き部16は、内視鏡画像のデータ、挿入長情報のデータ及び重力情報のデータを1つの動画ファイル、例えば、Motion JPEG形式のAVIファイルとして記録媒体19に記録する。   For example, the recording medium read / write unit 16 is detachably connected to a recording medium 19 such as a flash memory card. When the inspector operates the operation unit 5 to instruct a recording operation in a state where the recording medium 19 is mounted on the recording medium read / write unit 16, the recording medium read / write unit 16 performs image synthesis according to control from the main control unit 18. The endoscope image data, insertion length information data, and gravity information data supplied to the unit 15 are read out and supplied to the recording medium 19 for recording. In such a recording process, the recording medium read / write unit 16 transfers the endoscope image data, insertion length information data, and gravity information data to the recording medium 19 as one moving image file, for example, an AVI file in Motion JPEG format. Record.

また、記録媒体読み書き部16は、メイン制御部18による制御に従って、記録媒体19に記録されている内視鏡画像のデータ、重力情報のデータ、及び挿入長情報のデータを読み出すことができる。このとき、記録媒体読み書き部16は、内視鏡画像のデータを画像合成部15に供給し、重力情報及び挿入長情報のデータをメイン制御部18に供給する。メイン制御部18に供給された重力情報及び挿入長情報のデータは、グラフィック生成部14に供給され、重力方向及び挿入長を示すインジケータが生成される。この重力方向及び挿入長を示すインジケータは、画像合成部15に供給され、内視鏡画像とインジケータとを合成した合成画像が生成される。これにより、表示装置4の表示部4aに合成画像が表示される。   In addition, the recording medium read / write unit 16 can read the endoscope image data, gravity information data, and insertion length information data recorded on the recording medium 19 in accordance with control by the main control unit 18. At this time, the recording medium read / write unit 16 supplies endoscopic image data to the image synthesis unit 15, and supplies gravity information and insertion length information data to the main control unit 18. The gravity information and insertion length information data supplied to the main control unit 18 is supplied to the graphic generation unit 14, and an indicator indicating the direction of gravity and the insertion length is generated. The indicator indicating the gravitational direction and the insertion length is supplied to the image composition unit 15, and a composite image obtained by combining the endoscope image and the indicator is generated. As a result, the composite image is displayed on the display unit 4 a of the display device 4.

記憶部17は、例えば、ROM等であり、メイン制御部18によってデータの書き込み及び読み出しが行われる。また、記憶部17は、記憶部17には、動画ファイルの再生を行うための再生ソフトが記憶されている。   The storage unit 17 is, for example, a ROM or the like, and data is written and read by the main control unit 18. Further, the storage unit 17 stores reproduction software for reproducing a moving image file.

操作部5には、先端部2aの湾曲操作及び上述した記録媒体19への記録操作等を行うための図示しない操作スイッチ等が設けられており、検査者は、操作部5の操作スイッチを操作し、湾曲操作及び記録操作等の所望の操作を行う。操作部5は、検査者の操作に応じた操作信号をメイン制御部18に供給する。   The operation unit 5 is provided with an operation switch (not shown) for performing the bending operation of the distal end portion 2a and the recording operation on the recording medium 19 described above, and the inspector operates the operation switch of the operation unit 5. Then, a desired operation such as a bending operation and a recording operation is performed. The operation unit 5 supplies an operation signal corresponding to the operation of the examiner to the main control unit 18.

メイン制御部18は、後述するように、挿入長指定エディットボックスで挿入長が指定されると、指定された挿入長が対応付けられた最初のフレームからAVIファイルを再生する。また、メイン制御部18は、操作部5からの操作信号に応じた処理を行うように各回路部等を制御し、内視鏡装置1全体の動作制御を行う。さらに、メイン制御部18は、動画ファイルの再生が指示されると、記憶部17に記憶されている再生ソフトを読み出し実行するとともに、記憶部17へのデータの書き込み、あるいは、記憶部17からデータの読み出しを行う。   As will be described later, when the insertion length is designated in the insertion length designation edit box, the main control unit 18 reproduces the AVI file from the first frame associated with the designated insertion length. Further, the main control unit 18 controls each circuit unit and the like so as to perform processing according to the operation signal from the operation unit 5, and controls the operation of the entire endoscope apparatus 1. Further, when the main control unit 18 is instructed to reproduce the moving image file, the main control unit 18 reads and executes the reproduction software stored in the storage unit 17, writes data to the storage unit 17, or reads data from the storage unit 17. Is read out.

次に、記録媒体19に記録されるAVIファイルの構造について説明する。   Next, the structure of the AVI file recorded on the recording medium 19 will be described.

図2は、AVIファイルの構造の例について説明するための図である。   FIG. 2 is a diagram for explaining an example of the structure of the AVI file.

図2に示すように、AVIファイル20は、RIFF(Resource Interchange File Format)というフォーマットであり、ファイルの先頭から順に、LIST“hdrl”で示すヘッダ部21と、JUNKで示すダミーチャンク22と、LIST“movi”で示すストリームデータ部23と、idx1で示すインデックス24とを有した構造となっている。   As shown in FIG. 2, the AVI file 20 has a format called RIFF (Resource Interchange File Format), and in order from the top of the file, a header portion 21 indicated by LIST “hdrl”, a dummy chunk 22 indicated by JUNK, and a LIST. It has a structure having a stream data part 23 indicated by “movi” and an index 24 indicated by idx1.

このヘッダ部21は、Avihで示すAVIメインヘッダ25と、LIST“strl”で示すビデオデータ用のストリームリスト26と、LIST“strl”で示すオーディオデータ用のストリームリスト27とを有した構造となっている。   The header section 21 has a structure including an AVI main header 25 indicated by Avih, a stream list 26 for video data indicated by LIST “str”, and a stream list 27 for audio data indicated by LIST “str”. ing.

このオーディオデータ用のストリームリスト27は、strhで示すAVIストリームヘッダ28と、strfで示すストリームフォーマット29、strnで示すオプションデータ30とを有した構造となっている。   The stream list 27 for audio data has a structure including an AVI stream header 28 indicated by strh, a stream format 29 indicated by strf, and option data 30 indicated by strn.

本実施の形態では、ヘッダ部21のオプションデータ30のオプションデータ内容に付加情報フラグが追加されている。この付加情報フラグは、AVIファイル20に重力情報及び挿入長情報のデータが格納されているか否かを示すフラグである。AVIファイル20に重力情報及び挿入長情報のデータが格納されていない場合、付加情報フラグのフラグ情報は0に設定され、AVIファイル20に重力情報及び挿入長情報のデータが格納されている場合、付加情報フラグのフラグ情報は1に設定される。この付加情報フラグのフラグ情報の設定は、メイン制御部18によって実行される。   In the present embodiment, an additional information flag is added to the option data content of the option data 30 in the header section 21. This additional information flag is a flag indicating whether or not gravity information and insertion length information data are stored in the AVI file 20. When gravity information and insertion length information data are not stored in the AVI file 20, flag information of the additional information flag is set to 0, and when gravity information and insertion length information data are stored in the AVI file 20, The flag information of the additional information flag is set to 1. The setting of the flag information of the additional information flag is executed by the main control unit 18.

また、ストリームデータ部23は、単位時間毎に区切られた複数、ここでは2つのストリームデータ23a及び23bを有した構造となっている。なお、図2では、2つのストリームデータ23a及び23bのみを記載しているが、動画像の撮影時間に応じたストリームデータがストリームデータ部23に格納される。即ち、AVIファイル20に60秒の動画像を記録する場合、ストリームデータ部23は、60個のストリームデータを有することになる。なお、各ストリームデータの構成は同一のため、以下では、ストリームデータ23aの構成を例に説明する。   Further, the stream data section 23 has a structure having a plurality of, here two, stream data 23a and 23b divided for each unit time. In FIG. 2, only two stream data 23 a and 23 b are illustrated, but stream data corresponding to the moving image shooting time is stored in the stream data unit 23. That is, when a 60-second moving image is recorded in the AVI file 20, the stream data unit 23 has 60 stream data. Since the configuration of each stream data is the same, the configuration of the stream data 23a will be described below as an example.

ストリームデータ領域としてのストリームデータ23aは、画像格納領域としての30個の画像ストリーム31aと、1つの音声ストリーム32aとにより構成され、さらに、重力情報及び挿入長情報のデータを付加する場合、情報格納領域としての情報ストリーム33aの領域が確保される。そして、重力情報及び挿入長情報のデータを付加する場合、この情報ストリーム33aの領域に重力情報及び挿入長情報のデータが格納される。この画像格納領域としての30個の画像ストリーム31aには、内視鏡画像のデータが格納され、音声ストリーム32aには、その内視鏡画像のデータに対応付けられた音声情報のデータが格納され、情報ストリーム33aには、その内視鏡画像のデータに対応付けられた重力情報及び挿入長情報のデータが格納される。   The stream data 23a as the stream data area is composed of 30 image streams 31a as the image storage area and one audio stream 32a. Further, when data of gravity information and insertion length information is added, information is stored. An area of the information stream 33a as an area is secured. When data of gravity information and insertion length information is added, gravity information and insertion length information data are stored in the area of the information stream 33a. Endoscopic image data is stored in the 30 image streams 31a serving as the image storage areas, and audio information data associated with the endoscopic image data is stored in the audio stream 32a. The information stream 33a stores gravity information and insertion length information data associated with the endoscopic image data.

なお、単位時間あたりのストリームデータ23aには、30個の画像ストリーム31aが格納されているが、即ち、フレームレートが30となっているが、フレームレートは30に限定されることなく、例えば、24であってもよい。   The stream data 23a per unit time stores 30 image streams 31a, that is, the frame rate is 30, but the frame rate is not limited to 30, for example, 24 may be sufficient.

また、音声記録を行なわない場合、音声ストリーム32aの領域を設けないようにしてもよい。または、音声ストリーム32aの領域に重力情報及び挿入長情報のデータを格納し、情報ストリーム33aを設けないようにしてもよい。これにより、AVIファイル20のファイルサイズを小さくすることができる。   If audio recording is not performed, the audio stream 32a area may not be provided. Alternatively, gravity information and insertion length information data may be stored in the area of the audio stream 32a, and the information stream 33a may not be provided. Thereby, the file size of the AVI file 20 can be reduced.

また、本実施の形態では、1つのAVIファイル20に内視鏡画像、重力情報及び挿入長情報のデータを格納して保存している。例えば、動画ファイルが大量にある場合、内視鏡画像のデータと、重力情報及び挿入長情報のデータとを別のファイルに保存していると、ファイルのコピー及び移動等が煩わしい。また、動画ファイルが大量にある場合、内視鏡画像のデータと、重力情報及び挿入長情報のデータとを別のファイルに保存していると、ファイルのコピー及び移動等の漏れが発生することがある。即ち、内視鏡画像のデータのファイルと、重力情報及び挿入長情報のデータのファイルとのいずれか一方にコピー漏れ等があると、詳細な検査ができなくなる。これに対し、本実施の形態では、1つのAVIファイル20に内視鏡画像、重力情報及び挿入長情報のデータを記録するので、ファイルのコピー漏れ等の発生を防ぐことができ、ファイルの管理が容易になる。   In the present embodiment, endoscope data, gravity information, and insertion length information data are stored and saved in one AVI file 20. For example, when there are a large number of moving image files, copying and moving the files is troublesome if the data of the endoscopic image and the data of gravity information and insertion length information are stored in separate files. In addition, when there are a large number of moving image files, if the endoscope image data and the gravity information and insertion length information data are stored in separate files, leakage such as copying and moving of the files may occur. There is. That is, if there is a copy omission or the like in one of the endoscope image data file and the gravity information and insertion length information data file, detailed inspection cannot be performed. On the other hand, in the present embodiment, since the endoscope image, gravity information, and insertion length information data are recorded in one AVI file 20, file copy omission etc. can be prevented, and file management can be performed. Becomes easier.

なお、動画ファイルの形式は、AVIファイル20に限定されることなく、MOVファイル等であってもよい。MOVファイルは、トラック単位で構成されており、動画、音声に加え、テキストトラック、チャプタトラック等を含むことできる。例えば、このテキストトラックまたはチャプタトラックに重力情報及び挿入長情報のデータを記録することができる。   The format of the moving image file is not limited to the AVI file 20, and may be a MOV file or the like. The MOV file is configured in units of tracks, and can include a text track, a chapter track, and the like in addition to a moving image and audio. For example, gravity information and insertion length information data can be recorded on the text track or chapter track.

次に、AVIファイル20の再生が指示された際の再生ウィンドウについて説明する。   Next, a reproduction window when an instruction to reproduce the AVI file 20 is given will be described.

図3は、再生ウィンドウの例を説明するための図であり、図4は、挿入長が指定された際の再生ウィンドウの例を説明するための図である。   FIG. 3 is a diagram for explaining an example of the playback window, and FIG. 4 is a diagram for explaining an example of the playback window when the insertion length is designated.

再生ウィンドウ40は、検査者がAVIファイル20の再生を指示した際に最初に表示されるウィンドウであり、表示部4aに表示される。   The reproduction window 40 is a window that is displayed first when the inspector instructs the reproduction of the AVI file 20, and is displayed on the display unit 4a.

この再生ウィンドウ40は、メイン制御部18が記憶部17から再生ソフトを読み出し、実行することで表示部4aに表示される。メイン制御部18は、検査者よってAVIファイル20の再生が指示されると、再生ウィンドウ40の生成をグラフィック生成部14に指示する。グラフィック生成部14は、メイン制御部18の指示に応じて、再生ウィンドウ40を表示するためのグラフィック画像信号を生成し、画像合成部15に出力する。画像合成部15は、このグラフィック画像信号に内視鏡画像及び挿入長を示すインジケータ等を合成して表示部4aに出力することにより、再生ウィンドウ40が表示部4aに表示される。以下、再生ウィンドウ40のグラフィカルユーザインターフェイス(GUI)の機能について説明する。   The reproduction window 40 is displayed on the display unit 4a when the main control unit 18 reads out and executes reproduction software from the storage unit 17. When the examiner gives an instruction to reproduce the AVI file 20, the main controller 18 instructs the graphic generator 14 to generate the reproduction window 40. The graphic generation unit 14 generates a graphic image signal for displaying the reproduction window 40 in accordance with an instruction from the main control unit 18 and outputs the graphic image signal to the image synthesis unit 15. The image synthesizing unit 15 synthesizes an endoscope image and an indicator indicating the insertion length with the graphic image signal and outputs them to the display unit 4a, whereby the reproduction window 40 is displayed on the display unit 4a. The function of the graphical user interface (GUI) of the playback window 40 will be described below.

画像表示ボックス41は、内視鏡画像を表示するためのボックスであり、再生ソフトが実行されると、画像表示ボックス41にAVIファイル20に格納されている内視鏡画像が順次表示される。画像表示ボックス41に表示される内視鏡画像には、挿入長を示す挿入長インジケータ42が合成される。なお、重力方向を示すインジケータを内視鏡画像に合成して表示してもよい。   The image display box 41 is a box for displaying an endoscopic image. When the reproduction software is executed, the endoscopic images stored in the AVI file 20 are sequentially displayed in the image display box 41. An insertion length indicator 42 indicating the insertion length is combined with the endoscopic image displayed in the image display box 41. An indicator indicating the direction of gravity may be combined with the endoscopic image and displayed.

再生バー43は、動画ファイル、ここでは、再生が指示されたAVIファイル20の総再生時間を表すためのバーであり、再生バー43の右端の下には、AVIファイル20の総再生時間が表示される。このように、再生バー43の単位は時間となっている。   The playback bar 43 is a bar for representing the total playback time of the moving image file, here, the AVI file 20 instructed to be played back. A total playback time of the AVI file 20 is displayed below the right end of the playback bar 43. Is done. Thus, the unit of the playback bar 43 is time.

再生ポインタ44は、再生バー43内に設けられ、総再生時間に対してどの程度を再生したのかを表すためのポインタであり、AVIファイル20を再生中は、再生ポインタ44が右へと移動していく。再生ポインタ44の下には、現在の再生時間が表示される。なお、検査者は、操作部5を用いて図示しないカーソル等により再生ポインタ44をドラッグすることで、AVIファイル20を再生中に早送りまたは巻き戻しをすることも可能である。   The playback pointer 44 is provided in the playback bar 43 and is a pointer for indicating how much playback has been performed with respect to the total playback time. During playback of the AVI file 20, the playback pointer 44 moves to the right. To go. Below the playback pointer 44, the current playback time is displayed. The inspector can also fast-forward or rewind the AVI file 20 during reproduction by dragging the reproduction pointer 44 with a cursor (not shown) using the operation unit 5.

再生ボタン45は、動画の停止中にAVIファイル20を再生させるためのボタンであり、停止ボタン46は、AVIファイル20の再生中に動画を停止させるためのボタンである。また、巻き戻しボタン47は、AVIファイル20の再生中の巻き戻しをさせるためのボタンであり、早送りボタン48は、AVIファイル20の再生中に早送りをさせるためのボタンである。   The playback button 45 is a button for playing back the AVI file 20 while the moving image is stopped, and the stop button 46 is a button for stopping the moving image while playing the AVI file 20. The rewind button 47 is a button for rewinding the AVI file 20 during playback, and the fast-forward button 48 is a button for fast-forwarding the AVI file 20 during playback.

挿入長指定エディットボックス49は、挿入長を指定するためのボックスである。検査者が挿入長指定エディットボックス49に特定の挿入長を入力すると、メイン制御部18は、AVIファイル20から指定された挿入長が対応付けられた先頭のフレームを検索する。そして、メイン制御部18は、図4に示すように、指定された挿入長が対応付けられた先頭のフレームからAVIファイル20を再生する。さらに、メイン制御部18は、挿入長が指定された場合、再生時間の下に挿入長を表示する。この場合、画像表示ボックス41に表示される内視鏡画像に挿入長インジケータ42を合成しないようにしてもよい。   The insertion length designation edit box 49 is a box for designating an insertion length. When the inspector inputs a specific insertion length in the insertion length designation edit box 49, the main control unit 18 searches for the first frame associated with the insertion length designated from the AVI file 20. Then, as shown in FIG. 4, the main control unit 18 reproduces the AVI file 20 from the first frame associated with the specified insertion length. Further, when the insertion length is designated, the main control unit 18 displays the insertion length under the playback time. In this case, the insertion length indicator 42 may not be combined with the endoscopic image displayed in the image display box 41.

このような記録媒体19に記録されたAVIファイル20は、内視鏡装置1で再生することも可能であるが、検査者が記録媒体19を会社等に持ち帰り、詳細な検査を行う場合、重量のある内視鏡装置1も持ち運ぶことは面倒である。そこで、検査者は、記録媒体19のみを会社等に持ち帰り、記録媒体19に記録されたAVIファイル20を図5に示す再生装置で再生し、詳細な検査を行うことができる。   The AVI file 20 recorded in such a recording medium 19 can be reproduced by the endoscope apparatus 1, but when the inspector takes the recording medium 19 back to the company or the like and performs a detailed inspection, the weight is reduced. It is troublesome to carry an endoscope apparatus 1 with a large size. Therefore, the inspector can bring back only the recording medium 19 to the company or the like and reproduce the AVI file 20 recorded on the recording medium 19 with the reproducing apparatus shown in FIG.

図5は、AVIファイルを再生する内視鏡画像再生装置の構成の例を示す図である。   FIG. 5 is a diagram illustrating an example of a configuration of an endoscopic image reproduction device that reproduces an AVI file.

内視鏡画像再生装置100は、例えば、パーソナルコンピュータであり、本体部101と、LCD等の表示部102aを備えた表示装置102と、キーボートあるいはマウス等の各種操作を行うための操作部103とを有して構成されている。   The endoscopic image reproduction device 100 is, for example, a personal computer, a main body 101, a display device 102 including a display unit 102a such as an LCD, an operation unit 103 for performing various operations such as a keyboard or a mouse, and the like. It is comprised.

本体部101は、記録媒体読み書き部111と、記憶部112と、メイン制御部113と、グラフィック生成部114と、画像合成部115と有して構成されている。   The main body 101 includes a recording medium read / write unit 111, a storage unit 112, a main control unit 113, a graphic generation unit 114, and an image composition unit 115.

検査者が操作部103を用いて再生処理を指示すると、その操作信号がメイン制御部113に供給される。記憶部112には、上述した再生ソフトが記憶されている。メイン制御部113は、この操作信号に応じて、記憶部112から再生ソフトを読み出して実行するとともに、記録媒体読み書き部111にAVIファイル20に記録されているデータの読み出しを指示する。記録媒体読み書き部111は、メイン制御部113の制御により、装着された記録媒体19に記録されているAVIファイル20を読み出す。   When the inspector instructs the reproduction process using the operation unit 103, the operation signal is supplied to the main control unit 113. The storage unit 112 stores the above-described reproduction software. In response to the operation signal, the main control unit 113 reads out and executes the reproduction software from the storage unit 112 and instructs the recording medium read / write unit 111 to read out the data recorded in the AVI file 20. The recording medium read / write unit 111 reads the AVI file 20 recorded on the mounted recording medium 19 under the control of the main control unit 113.

記録媒体読み書き部111は、AVIファイル20から読み出した内視鏡画像のデータを画像合成部115に出力し、挿入長情報をメイン制御部113に出力する。そして、メイン制御部113は、再生ウィンドウ40の生成及び挿入長インジケータ42の生成をグラフィック生成部114に指示する。グラフィック生成部114は、メイン制御部113からの指示に応じて、再生ウィンドウ40を表示するためのグラフィック画像信号及び挿入長を示す挿入長インジケータ42を生成して画像合成部115に出力する。   The recording medium read / write unit 111 outputs the endoscope image data read from the AVI file 20 to the image composition unit 115 and outputs the insertion length information to the main control unit 113. Then, the main control unit 113 instructs the graphic generation unit 114 to generate the playback window 40 and the insertion length indicator 42. In response to an instruction from the main control unit 113, the graphic generation unit 114 generates a graphic image signal for displaying the playback window 40 and an insertion length indicator 42 indicating the insertion length, and outputs the graphic image signal to the image composition unit 115.

画像合成部115は、再生ウィンドウ40に内視鏡画像のデータ及び挿入長を示す挿入長インジケータ42を合成し、表示装置102に出力する。これにより、表示部102a上に図3に示す再生ウィンドウ40が表示され、AVIファイル20に記録された動画が再生される。メイン制御部113は、挿入長指定エディットボックス49で挿入長が指定されると、指定された挿入長が対応付けられた最初のフレームからAVIファイル20を再生する。この結果、検査者は、検査現場から動画像データを持ち帰った後、AVIファイル20を再生し、詳細な検査を行う際に、再生ウィンドウ40の挿入長指定エディットボックス49で挿入長を指定し、検査画像を記録したAVIファイル20から所望の検査部位を素早く検出することができる。   The image synthesis unit 115 synthesizes the endoscope image data and the insertion length indicator 42 indicating the insertion length in the playback window 40 and outputs the synthesized data to the display device 102. As a result, the playback window 40 shown in FIG. 3 is displayed on the display unit 102a, and the moving image recorded in the AVI file 20 is played back. When the insertion length is designated in the insertion length designation edit box 49, the main control unit 113 reproduces the AVI file 20 from the first frame associated with the designated insertion length. As a result, the inspector, after bringing back the moving image data from the inspection site, reproduces the AVI file 20 and designates the insertion length in the insertion length designation edit box 49 of the reproduction window 40 when performing a detailed examination. A desired inspection site can be quickly detected from the AVI file 20 in which the inspection image is recorded.

ここで、挿入長指定エディットボックス49で挿入長が指定された場合の処理について説明する。   Here, processing when the insertion length is designated in the insertion length designation edit box 49 will be described.

図6は、挿入長が指定された場合の処理の流れの例を説明するためのフローチャートである。   FIG. 6 is a flowchart for explaining an example of the flow of processing when the insertion length is designated.

まず、挿入長が指定されたか否かが判定される(ステップS1)。挿入長が指定されていない場合、NOとなり、処理を終了する。一方、挿入長が指定された場合、YESとなり、指定された挿入長(距離)が記憶部17に記憶される(ステップS2)。再生中のAVIファイル20から、記憶部17に記憶されている挿入長が対応付けられた最初のフレームが検索される(ステップS3)。検索して得られたフレームから再生が開始され(ステップS4)、処理を終了する。   First, it is determined whether or not an insertion length has been designated (step S1). If the insertion length is not specified, NO is determined and the process is terminated. On the other hand, when the insertion length is designated, the answer is YES, and the designated insertion length (distance) is stored in the storage unit 17 (step S2). The first frame associated with the insertion length stored in the storage unit 17 is searched from the AVI file 20 being reproduced (step S3). Playback is started from the frame obtained by the search (step S4), and the process is terminated.

以上のように、内視鏡装置1は、挿入長指定エディットボックス49で挿入長が指定されると、メイン制御部18の制御によって、指定された挿入長が対応付けられた最初のフレームからAVIファイル20を再生するようにした。   As described above, when the insertion length is designated in the insertion length designation edit box 49, the endoscope apparatus 1 controls the AVI from the first frame associated with the designated insertion length under the control of the main control unit 18. File 20 was played back.

よって、本実施の形態の内視鏡装置1によれば、検査画像を記録した動画から所望の検査部位を素早く検出することができる。
(第2の実施の形態)
Therefore, according to the endoscope apparatus 1 of the present embodiment, a desired examination site can be quickly detected from a moving image in which an examination image is recorded.
(Second Embodiment)

次に、第2の実施の形態について説明する。   Next, a second embodiment will be described.

本実施の形態では、再生バー43の単位を切り換えることができる内視鏡装置について説明する。なお、本実施の形態の内視鏡装置1aの構成は、第1の実施の形態の内視鏡装置1と同様のため、説明を省略する。   In the present embodiment, an endoscope apparatus capable of switching the unit of the reproduction bar 43 will be described. Note that the configuration of the endoscope apparatus 1a according to the present embodiment is the same as that of the endoscope apparatus 1 according to the first embodiment, and a description thereof will be omitted.

図7及び図8は、第2の実施の形態に係る再生ウィンドウの例を説明するための図である。   7 and 8 are diagrams for explaining an example of a playback window according to the second embodiment.

検査者が記録媒体19に記録したAVIファイル20の再生を指示すると、メイン制御部18は、図7に示す再生バー43の単位が時間の状態の再生ウィンドウ40aの生成をグラフィック生成部14に指示する。再生ウィンドウ40aは、図3の再生ウィンドウ40と略同じであり、挿入長指定エディットボックス49に代わり、再生の単位を切り換える再生単位切り換えボタン50を有して構成される。   When the inspector instructs the reproduction of the AVI file 20 recorded on the recording medium 19, the main control unit 18 instructs the graphic generation unit 14 to generate the reproduction window 40a in which the unit of the reproduction bar 43 shown in FIG. To do. The playback window 40a is substantially the same as the playback window 40 of FIG. 3, and includes a playback unit switching button 50 for switching the playback unit in place of the insertion length designation edit box 49.

再生単位切り換えボタン50の表示は、再生バー43の単位が時間の状態では、「meter」となっている。検査者が、AVIファイル20を再生中に詳細な検査を実施したい検査部位の内視鏡画像を確認するために、図7の右下にある再生単位切り換えボタン50を押下すると、メイン制御部18は、図8に示す再生ウィンドウ40bの生成をグラフィック生成部14に指示する。   The display of the playback unit switching button 50 is “meter” when the unit of the playback bar 43 is time. When the examiner presses the reproduction unit switching button 50 in the lower right of FIG. 7 in order to confirm the endoscopic image of the examination site to be subjected to the detailed examination while reproducing the AVI file 20, the main control unit 18 Instructs the graphic generation unit 14 to generate the playback window 40b shown in FIG.

再生ウィンドウ40bは、再生の単位が時間である再生バー43に代わり、再生の単位が挿入長である再生バー51を用いて構成される。この再生バー51の右端の下には、総挿入長が表示される。また、再生ウィンドウ40bでは、再生ポインタ44の下に現在の挿入長が表示され、挿入長インジケータ42が表示されないようになっている。さらに、再生の単位が挿入長に変更されると、再生単位切り換えボタン50の表示は、メイン制御部18の制御により、「meter」から「time」に変更される。検査者が再生単位切り換えボタン50をもう一度押下すると、再生の単位が時間である再生ウィンドウ40aに切り換わる。   The playback window 40b is configured by using a playback bar 51 whose playback unit is an insertion length instead of the playback bar 43 whose playback unit is time. Below the right end of the reproduction bar 51, the total insertion length is displayed. In the playback window 40b, the current insertion length is displayed below the playback pointer 44, and the insertion length indicator 42 is not displayed. Further, when the playback unit is changed to the insertion length, the display of the playback unit switching button 50 is changed from “meter” to “time” under the control of the main control unit 18. When the inspector presses the playback unit switching button 50 again, the playback unit 40 switches to a playback window 40a whose time is the playback unit.

このような再生ウィンドウ40bでは、再生バー51の単位が挿入長となっているため、検査者は、再生ポインタ44をドラッグし、挿入長の位置を素早く指定して再生することができる。   In such a playback window 40b, since the unit of the playback bar 51 is the insertion length, the inspector can drag the playback pointer 44 and quickly specify the position of the insertion length for playback.

検査者が記録媒体19に記録されているAVIファイル20の再生操作を行うと、メイン制御部18は、再生バー51の単位を挿入長とするAVIファイル20a(図8参照)を生成し、記憶部17に記憶する。そして、検査者が再生バー43の単位を時間としている場合は、一般的な動画再生と同様にAVIファイル20を再生し、検査者が再生バー51の単位を挿入長に指定した場合は、記憶部17に記憶されているAVIファイル20aを再生する。   When the inspector performs the reproduction operation of the AVI file 20 recorded on the recording medium 19, the main control unit 18 generates and stores the AVI file 20a (see FIG. 8) having the reproduction bar 51 as the insertion length. Store in unit 17. If the inspector uses the unit of the playback bar 43 as time, the AVI file 20 is played in the same way as general video playback, and if the inspector specifies the unit of the playback bar 51 as the insertion length, the memory is stored. The AVI file 20a stored in the unit 17 is reproduced.

図9は、再生バーの単位を挿入長とした場合のAVIファイルの構造の例を説明するための図である。   FIG. 9 is a diagram for explaining an example of the structure of the AVI file when the playback bar unit is the insertion length.

図9に示すAVIファイル20aは、再生バー43の単位が時間のAVIファイル20と構造自体は略同じであるが、ストリームデータ23a及び23bに代わり、ストリームデータ52a及び53aを有した構造となっている。   The AVI file 20a shown in FIG. 9 has substantially the same structure as the AVI file 20 in which the unit of the playback bar 43 is time, but has a structure having stream data 52a and 53a instead of the stream data 23a and 23b. Yes.

ストリームデータ領域としてのストリームデータ52aは、画像格納領域としての30個の画像ストリーム54aと、1つの音声ストリーム55aとにより構成され、ストリームデータ53aは、30個の画像ストリーム54bと、1つの音声ストリーム55bとにより構成されている。なお、図2と同様に、情報ストリームの領域を設け、重力情報のデータを格納するようにしてもよい。   The stream data 52a as a stream data area is composed of 30 image streams 54a as an image storage area and one audio stream 55a, and the stream data 53a is composed of 30 image streams 54b and one audio stream. 55b. As in FIG. 2, an information stream area may be provided to store gravity information data.

30個の画像ストリーム54a及び54bには、特定の挿入長毎の内視鏡画像のデータが格納される。例えば、30個の画像ストリーム54aには、挿入長が0mの内視鏡画像のデータが格納され、30個の画像ストリーム54bには、挿入長が0.1mの内視鏡画像のデータが格納される。AVIファイル20には、内視鏡画像のデータに挿入長情報が対応付けられているため、AVIファイル20から同じ挿入長の内視鏡画像のデータが30個読み出され、30個の画像ストリーム54aに格納される。   The 30 image streams 54a and 54b store endoscopic image data for each specific insertion length. For example, endoscopic image data with an insertion length of 0 m is stored in 30 image streams 54 a, and endoscopic image data with an insertion length of 0.1 m is stored in 30 image streams 54 b. Is done. Since the insertion length information is associated with the endoscope image data in the AVI file 20, 30 pieces of endoscope image data having the same insertion length are read from the AVI file 20, and 30 image streams are read. 54a.

このとき、AVIファイル20において同じ挿入長に対応する内視鏡画像のデータが1秒分のフレーム数以上、即ち、本実施の形態では30フレーム以上ある場合、画像ストリーム54aに収まらない31フレーム以降の内視鏡画像のデータは破棄する。また、AVIファイル20において同じ挿入長に対応する内視鏡画像のデータが30フレーム以下の場合、内視鏡画像のデータが格納されていない画像ストリーム54aには、その挿入長での最後のフレームの内視鏡画像のデータを格納する。   At this time, if the endoscope image data corresponding to the same insertion length in the AVI file 20 is equal to or greater than the number of frames for one second, that is, 30 frames or more in this embodiment, 31 frames or less that do not fit in the image stream 54a. Endoscopic image data is discarded. When the endoscope image data corresponding to the same insertion length in the AVI file 20 is 30 frames or less, the image stream 54a in which no endoscope image data is stored is included in the last frame of the insertion length. Stores the data of the endoscopic image.

なお、再生バー51が挿入長の場合のAVIファイル20aは、記憶部17に記憶せずに、他のハードディスク等の記憶媒体に一時的に記憶してもよい。また、AVIファイル20aは、AVIファイル20を再生するときに生成されるが、例えば、AVIファイル20を記録媒体19に記録するときに生成してもよいし、AVIファイル20を再生する前に、別途、生成指示を出すことにより生成してもよい。   Note that the AVI file 20a when the playback bar 51 is the insertion length may be temporarily stored in another storage medium such as a hard disk without being stored in the storage unit 17. The AVI file 20a is generated when the AVI file 20 is played back. For example, the AVI file 20a may be generated when the AVI file 20 is recorded on the recording medium 19, or before the AVI file 20 is played back. Alternatively, it may be generated by issuing a generation instruction.

検査者が再生単位切り換えボタン50を押下し、再生バー51の単位を挿入長に指定した場合、メイン制御部18は、AVIファイル20から生成され、記憶部17に記憶されたAVIファイル20aを読み出して再生する。   When the inspector presses the reproduction unit switching button 50 and designates the unit of the reproduction bar 51 as the insertion length, the main control unit 18 reads the AVI file 20a generated from the AVI file 20 and stored in the storage unit 17. To play.

次に、再生単位切り換えボタン50が押下された場合の処理について説明する。   Next, processing when the playback unit switching button 50 is pressed will be described.

図10は、再生単位切り換えボタンが押下された場合の処理の流れの例を説明するためのフローチャートである。   FIG. 10 is a flowchart for explaining an example of the flow of processing when the playback unit switching button is pressed.

まず、再生単位切り換えボタン50が押下されたか否かが判定される(ステップS11)。再生単位切り換えボタン50が押下されていない場合、NOとなり、処理を終了する。再生単位切り換えボタン50が押下された場合、YESとなり、現在の再生バー43の単位(モード)が時間か否かが判定される(ステップS12)。現在の再生バー43の単位(モード)が時間の場合、YESとなり、再生中のAVIファイル20と対となる再生バー51の単位が挿入長のAVIファイル20aを、現在の時間に対応する挿入長の最初のフレームから再生が開始され(ステップS13)、処理を終了する。一方、現在の再生バー43の単位(モード)が時間でない場合、NOとなり、現在の再生バー43の単位(モード)が挿入長か否かが判定される(ステップS14)。現在の再生バー43の単位(モード)が挿入長でない場合、NOとなり、処理を終了する。一方、現在の再生バー43の単位(モード)が挿入長の場合、YESとなり、再生中のAVIファイル20aと対となる再生バー43の単位が時間のAVIファイル20を、現在の挿入長に対応する時間の最初のフレームから再生が開始され(ステップS15)、処理を終了する。   First, it is determined whether or not the playback unit switching button 50 has been pressed (step S11). If the playback unit switching button 50 is not pressed, the determination is NO and the process is terminated. If the playback unit switching button 50 is pressed, the determination is YES, and it is determined whether the unit (mode) of the current playback bar 43 is time (step S12). If the unit (mode) of the current playback bar 43 is time, the answer is YES, and the AVI file 20a whose insertion bar is the unit of the playback bar 51 paired with the AVI file 20 being played back is inserted into the insertion length corresponding to the current time. Playback is started from the first frame (step S13), and the process ends. On the other hand, if the unit (mode) of the current playback bar 43 is not time, the determination is NO, and it is determined whether or not the unit (mode) of the current playback bar 43 is the insertion length (step S14). When the current unit (mode) of the playback bar 43 is not the insertion length, NO is determined and the process is terminated. On the other hand, when the unit (mode) of the current playback bar 43 is the insertion length, the answer is YES, and the unit of the playback bar 43 paired with the AVI file 20a being played corresponds to the current insertion length of the AVI file 20 with the time. Playback is started from the first frame of the time to be performed (step S15), and the process ends.

図11は、図10のステップS13の処理の流れの例について説明するためのフローチャートである。   FIG. 11 is a flowchart for explaining an example of the process flow of step S13 of FIG.

まず、再生中のAVIファイル20の時間が記憶部17に記憶される(ステップS21)。再生中のAVIファイル20が一時停止され、非表示にされる(ステップS22)。再生中のAVIファイル20と対となる再生バー51の単位(モード)が挿入長のAVIファイル20aが開かれる(ステップS23)。再生バー51の単位(モード)が挿入長のAVIファイル20aから、記憶部17で記憶されている時間に対応する挿入長の最初のフレームが検索される(ステップS24)。最後に、検索して得られたフレームから再生が開始され(ステップS25)、処理を終了する。   First, the time of the AVI file 20 being reproduced is stored in the storage unit 17 (step S21). The AVI file 20 being reproduced is paused and hidden (step S22). The AVI file 20a having the insertion length of the unit (mode) of the playback bar 51 paired with the AVI file 20 being played back is opened (step S23). The first frame of the insertion length corresponding to the time stored in the storage unit 17 is searched from the AVI file 20a whose playback bar 51 unit is the insertion length (step S24). Finally, reproduction is started from the frame obtained by the search (step S25), and the process is terminated.

図12は、図10のステップS15の処理の流れの例について説明するためのフローチャートである。   FIG. 12 is a flowchart for explaining an example of the process flow of step S15 of FIG.

まず、再生中のAVIファイル20aの挿入長が記憶部17に記憶される(ステップS31)。再生中のAVIファイル20aが一時停止され、非表示にされる(ステップS32)。再生中のAVIファイル20aと対となる再生バー43の単位(モード)が時間のAVIファイル20が開かれる(ステップS33)。再生バー43の単位(モード)が時間のAVIファイル20から、記憶部17で記憶されている挿入長に対応する時間の最初のフレームが検索される(ステップS34)。最後に、検索して得られたフレームから再生が開始され(ステップS35)、処理を終了する。   First, the insertion length of the AVI file 20a being reproduced is stored in the storage unit 17 (step S31). The AVI file 20a being reproduced is paused and hidden (step S32). The AVI file 20 whose time is the unit (mode) of the playback bar 43 paired with the AVI file 20a being played back is opened (step S33). The first frame of time corresponding to the insertion length stored in the storage unit 17 is searched from the AVI file 20 whose unit (mode) of the playback bar 43 is time (step S34). Finally, reproduction is started from the frame obtained by the search (step S35), and the process is terminated.

以上のように、内視鏡装置1aは、AVIファイル20の再生が指示された際に、再生バー43の単位を挿入長とするAVIファイル20aを生成する。そして、内視鏡装置1は、再生単位切り換えボタン50が押下されると、AVIファイル20を再生するようにした。   As described above, when the reproduction of the AVI file 20 is instructed, the endoscope apparatus 1a generates the AVI file 20a having the insertion length of the unit of the reproduction bar 43. The endoscope apparatus 1 is configured to reproduce the AVI file 20 when the reproduction unit switching button 50 is pressed.

よって、内視鏡装置1aは、第1の実施の形態と同様に、検査画像を記録した動画から所望の検査部位を素早く検出することができる。
(第3の実施の形態)
Therefore, the endoscope apparatus 1a can quickly detect a desired examination site from a moving image in which an examination image is recorded, as in the first embodiment.
(Third embodiment)

次に、第3の実施の形態について説明する。   Next, a third embodiment will be described.

従来、工業用の内視鏡装置では、発電プラントあるいは航空機のエンジン等の定期検査に使用されるが、この場合、同じ検査部位の前回の検査結果と今回の検査結果とを比較して、クラック等の欠陥の進み具合を評価するために利用したりする。しかし、2つの動画を同時に再生した場合でも、時間の経過に伴う検査部位は、検査時毎で異なるため、同じ検査部位を並べて表示しての比較ができない。   Conventionally, industrial endoscope devices are used for periodic inspections of power plants or aircraft engines. In this case, the previous inspection results of the same inspection site are compared with the current inspection results, and cracks are detected. It is used to evaluate the progress of defects such as. However, even when two moving images are played back simultaneously, the examination site with the passage of time differs depending on the examination time, and therefore the same examination site cannot be displayed side by side for comparison.

そこで、本実施の形態では、2つの動画を比較する、例えば、同じ検査対象の1年前の定期検査で記録された動画と、この定期検査の1年後に記録された動画とを比較することができる内視鏡装置について説明する。なお、本実施の形態の内視鏡装置1bの構成は、第1の実施の形態の内視鏡装置1と同様のため、説明を省略する。   Therefore, in the present embodiment, two moving images are compared, for example, a moving image recorded in a periodic inspection one year before the same inspection object is compared with a moving image recorded one year after this periodic inspection. An endoscope apparatus capable of performing the above will be described. Note that the configuration of the endoscope apparatus 1b according to the present embodiment is the same as that of the endoscope apparatus 1 according to the first embodiment, and a description thereof will be omitted.

図13は、第3の実施の形態に係る再生ウィンドウの例を説明するための図である。   FIG. 13 is a diagram for explaining an example of a playback window according to the third embodiment.

図13に示す再生ウィンドウ40cは、2つの画像表示ボックス60a及び60bを有し、再生の単位が挿入長である再生バー51を用いた構成である。その他の構成は、再生ウィンドウ40と同様のため、説明を省略する。なお、再生ウィンドウ40cは、2つの画像表示ボックス60a及び60bを有しているが、これに限定されることなく、3つ以上の画像表示ボックスを有していてもよい。   The playback window 40c shown in FIG. 13 has a configuration using a playback bar 51 that has two image display boxes 60a and 60b and whose playback unit is the insertion length. Since other configurations are the same as those of the playback window 40, description thereof is omitted. The playback window 40c has two image display boxes 60a and 60b, but is not limited to this, and may have three or more image display boxes.

検査者が、例えば、記録媒体19に記録されている2つのAVIファイル20を選択し、比較再生操作をした場合、メイン制御部18は、2つのAVIファイル20のそれぞれについて、再生バー51の単位が挿入長であるAVIファイル20aを生成し、生成した2つのAVIファイル20aを同時に再生し、画像表示ボックス60a及び60bに内視鏡画像を表示する制御を行う。なお、再生バー51の単位を挿入長としたAVIファイル20aを生成し、再生する方法は、第2の実施の形態と同様のため説明を省略する。   For example, when the inspector selects two AVI files 20 recorded on the recording medium 19 and performs a comparison playback operation, the main control unit 18 sets the unit of the playback bar 51 for each of the two AVI files 20. The AVI file 20a having the insertion length is generated, the two generated AVI files 20a are simultaneously reproduced, and an endoscope image is displayed in the image display boxes 60a and 60b. Note that the method of generating and playing back the AVI file 20a with the playback bar 51 unit as the insertion length is the same as in the second embodiment, and thus the description thereof is omitted.

従来、同じ検査対象を記録したAVIファイル20を同時に再生した場合、2つの検査で検査対象に挿入部2を挿入する速度が違うため、検査対象の同じ検査部位を表示しながら再生することはできない。   Conventionally, when the AVI file 20 in which the same inspection object is recorded is reproduced at the same time, it cannot be reproduced while displaying the same inspection site to be inspected because the insertion portion 2 is inserted into the inspection object in two inspections at different speeds. .

これに対し、内視鏡装置1bは、2つのAVIファイル20のそれぞれから再生バー51の単位を挿入長としたAVIファイル20aを生成し、同時に再生するため、画像表示ボックス60a及び60bには、同じ挿入長の内視鏡画像が表示される。このため、検査者は、2つの動画の比較を容易に行うことができる。   On the other hand, since the endoscope apparatus 1b generates an AVI file 20a with the unit of the playback bar 51 as an insertion length from each of the two AVI files 20, and reproduces them simultaneously, the image display boxes 60a and 60b include Endoscopic images with the same insertion length are displayed. For this reason, the inspector can easily compare the two moving images.

よって、本実施の形態の内視鏡装置1bによれば、2つの動画の比較を容易に行うことができる。   Therefore, according to the endoscope apparatus 1b of the present embodiment, it is possible to easily compare two moving images.

なお、2つのAVIファイル20aを同時に並べて再生する際に、AVIファイル20aに格納されている重力情報に基づいて、一方の内視鏡画像を他方の内視鏡画像と重力方向が一致するように回転させて表示してもよい。   When two AVI files 20a are arranged and played back simultaneously, based on the gravity information stored in the AVI file 20a, the direction of gravity of one endoscopic image matches that of the other endoscopic image. You may rotate and display.

図14は、重力方向を一致させる処理の流れの例を説明するためのフローチャートである。   FIG. 14 is a flowchart for explaining an example of the flow of processing for matching the gravity directions.

まず、図13に向かって左側の画像表示ボックス60aで現在再生中のフレームに対応付けられている重力方向のロール角(重力方向に対する画像の回転角度)が取得される(ステップS41)。次に、図13に向かって右側の画像表示ボックス60bで現在再生中のフレームに対応付けられている重力方向のロール角が取得される(ステップS42)。最後に、取得したロール角の差分が算出され、算出された回転角度分だけ右側の内視鏡画像を回転させて表示させる(ステップS43)。以上の処理により、検査者は、内視鏡画像同士の比較をさらに容易にすることができる。   First, the roll angle in the gravity direction (the rotation angle of the image with respect to the gravity direction) associated with the currently reproduced frame is acquired in the image display box 60a on the left side in FIG. 13 (step S41). Next, the roll angle in the gravitational direction associated with the currently reproduced frame is acquired in the right image display box 60b toward FIG. 13 (step S42). Finally, the difference between the acquired roll angles is calculated, and the right-side endoscope image is rotated and displayed by the calculated rotation angle (step S43). By the above processing, the examiner can further easily compare the endoscope images.

また、2つの動画を比較する場合、以下の使用方法をしてもよい。   Moreover, when comparing two moving images, you may use the following usage method.

一般的に、先端部2aには、交換式の光学アダプタ(レンズ)を取り付けて検査を行うが、その際に、同じ検査対象を視野方向が異なる光学アダプタで撮影した複数の動画同士を比較再生する。このとき、重力方向を内視鏡画像に合成して表示する。これにより、検査者は、同じ検査部位を異なる視野方向で撮像した内視鏡画像を並べて確認することができる。   In general, the tip 2a is inspected by attaching an interchangeable optical adapter (lens). At that time, a plurality of videos obtained by photographing the same inspection object with optical adapters having different viewing directions are compared and reproduced. To do. At this time, the direction of gravity is combined with the endoscopic image and displayed. Thereby, the examiner can confirm the endoscope images obtained by imaging the same examination site in different viewing directions side by side.

また、工業用の内視鏡検査において、検査対象における検査部位の検査を定期的に行うことがマニュアル化されていることがある。そこで、メイン制御部18は、動画を記録時に検査マニュアルファイルを用いて、AVIファイル20にチャプタを入れるようにしてもよい。   Further, in industrial endoscopy, it is sometimes manual to periodically inspect an inspection site in an inspection object. Therefore, the main control unit 18 may insert a chapter into the AVI file 20 using an inspection manual file when recording a moving image.

図15は、検査マニュアルファイルの例を説明するための図である。   FIG. 15 is a diagram for explaining an example of an inspection manual file.

図15に示す検査マニュアルファイル61では、検査箇所に相当する挿入長がリスト化されている。検査者は、AVIファイル20または20aの再生を指示する際に、検査マニュアルファイル61を指定する。メイン制御部18は、検査マニュアルファイル61で指定されている挿入長にチャプタを設定する。   In the inspection manual file 61 shown in FIG. 15, the insertion length corresponding to the inspection location is listed. The inspector designates the inspection manual file 61 when instructing the reproduction of the AVI file 20 or 20a. The main control unit 18 sets a chapter at the insertion length specified in the inspection manual file 61.

なお、検査者は、操作部5を操作して記録操作を指示する際に、この検査マニュアルファイル61を指定するようにしてもよい。メイン制御部18は、AVIファイル20として記録しているときに、検査マニュアルファイル61で指定されている挿入長にチャプタを設定する。また、挿入長が所定の時間変化がなかった場合、あるいは、重力方向に大きな変化があった場合等に、チャプタを設定するようにしてもよい。   The inspector may specify the inspection manual file 61 when operating the operation unit 5 to instruct a recording operation. The main control unit 18 sets the chapter to the insertion length specified in the inspection manual file 61 when recording as the AVI file 20. Further, chapters may be set when the insertion length has not changed for a predetermined time or when there has been a significant change in the direction of gravity.

これにより、検査者は、AVIファイル20または20aを再生時に、チャプタが設定された挿入長に対応付けられた内視鏡画像の頭出しを容易に行うことができる。   Thereby, the inspector can easily cue the endoscope image associated with the insertion length in which the chapter is set when reproducing the AVI file 20 or 20a.

さらに、メイン制御部18は、再生バー51の単位を挿入長としたAVIファイル20a同士を比較する際に、2つのAVIファイル20aで同じ挿入長の内視鏡画像の差分の有無を検出するようにしてもよい。そして、メイン制御部18は、検出した差分が所定以上のレベルになった場合、差分が所定以上のレベルになった挿入長をチャプタとして自動設定する。また、メイン制御部18は、差分が所定以上のレベルになった挿入長を検査マニュアルファイル61に検査箇所として自動設定するようにしてもよい。これにより、次回の検査から、差分が所定以上のレベルになった挿入長の内視鏡画像の頭出しを容易に行うことができる。   Further, when comparing the AVI files 20a having the insertion length as the unit of the playback bar 51, the main control unit 18 detects whether there is a difference between the endoscope images having the same insertion length in the two AVI files 20a. It may be. When the detected difference reaches a predetermined level or higher, the main control unit 18 automatically sets the insertion length at which the difference has reached a predetermined level or more as a chapter. Further, the main control unit 18 may automatically set the insertion length in which the difference has reached a predetermined level or more as the inspection location in the inspection manual file 61. Thereby, from the next examination, it is possible to easily find an endoscope image having an insertion length in which the difference has reached a predetermined level or more.

なお、本明細書における各フローチャート中の各ステップは、その性質に反しない限り、実行順序を変更し、複数同時に実行し、あるいは実行毎に異なった順序で実行してもよい。   It should be noted that the steps in the flowcharts in this specification may be executed in a different order for each execution by changing the execution order and performing a plurality of steps at the same time, as long as the steps are not contrary to the nature.

本発明は、上述した実施の形態に限定されるものではなく、本発明の要旨を変えない範囲において、種々の変更、改変等が可能である。   The present invention is not limited to the above-described embodiments, and various changes and modifications can be made without departing from the scope of the present invention.

1,1a,1b…内視鏡装置、2…挿入部、2a…先端部、3…本体部、4…表示装置、4a…表示部、5…操作部、6…根元部、7…挿入長検出部、8…撮像素子、9…重力方向検出部、11…画像処理部、12…重力信号処理部、13…挿入長信号処理部、14…グラフィック生成部、15…画像合成部、16…記録媒体読み書き部、17…記憶部、18…メイン制御部、19…記録媒体、20,20a…AVIファイル、40,40a,40b,40c…再生ウィンドウ、41…画像表示ボックス、42…挿入長インジケータ、43…再生バー、44…再生ポインタ、45…再生ボタン、46…停止ボタン、47…巻き戻しボタン、48…早送りボタン、49…挿入長指定エディットボックス、50…再生単位切り換えボタン、51…再生バー、60a,60b…画像表示ボックス、61…検査マニュアルファイル、100…内視鏡画像再生装置、101…本体部、102…表示装置、102a…表示部、103…操作部、111…記録媒体読み書き部、112…記憶部、113…メイン制御部、114…グラフィック生成部、115…画像合成部。   DESCRIPTION OF SYMBOLS 1,1a, 1b ... Endoscope apparatus, 2 ... Insertion part, 2a ... Tip part, 3 ... Main-body part, 4 ... Display apparatus, 4a ... Display part, 5 ... Operation part, 6 ... Root part, 7 ... Insertion length Detecting unit, 8 ... imaging device, 9 ... gravity direction detecting unit, 11 ... image processing unit, 12 ... gravity signal processing unit, 13 ... insertion length signal processing unit, 14 ... graphic generation unit, 15 ... image composition unit, 16 ... Recording medium read / write unit, 17 ... storage unit, 18 ... main control unit, 19 ... recording medium, 20, 20a ... AVI file, 40, 40a, 40b, 40c ... playback window, 41 ... image display box, 42 ... insertion length indicator 43 ... Playback bar, 44 ... Playback pointer, 45 ... Playback button, 46 ... Stop button, 47 ... Rewind button, 48 ... Fast forward button, 49 ... Insert length designation edit box, 50 ... Playback unit switching button, 51 ... Raw bar, 60a, 60b ... image display box, 61 ... inspection manual file, 100 ... endoscopic image reproduction device, 101 ... main body, 102 ... display device, 102a ... display unit, 103 ... operation unit, 111 ... recording medium Reading / writing unit, 112 ... storage unit, 113 ... main control unit, 114 ... graphic generation unit, 115 ... image synthesis unit.

Claims (9)

内視鏡挿入部の先端部に設けられた撮像素子により撮像された撮像信号に画像処理を施し、内視鏡画像を生成する画像処理部と、
前記先端部を検査対象に挿入した挿入長に関する情報を検出する挿入長検出部と、
前記挿入長検出部によって検出された前記挿入長に関する情報に所定の信号処理を施し、挿入長情報を検出する挿入長信号処理部と、
記録媒体が着脱可能であって、前記内視鏡画像のデータに前記挿入長情報のデータを対応付けて1つの動画ファイルに格納し、前記記録媒体に記録する記録媒体読み書き部と、
前記動画ファイルの再生が指示されると、再生ウィンドウで動画ファイルを再生するとともに、前記再生ウィンドウに設けられた、挿入長を指定する挿入長指定ボックスで挿入長が指定された場合、前記指定された挿入長に対応付けられた最初のフレームから再生を開始させる制御を行う制御部と、
を有することを特徴とする内視鏡装置。
An image processing unit that performs image processing on an imaging signal imaged by an imaging device provided at a distal end portion of the endoscope insertion unit, and generates an endoscope image;
An insertion length detection unit for detecting information related to an insertion length in which the tip portion is inserted into an inspection object;
An insertion length signal processing unit that performs predetermined signal processing on information related to the insertion length detected by the insertion length detection unit, and detects insertion length information;
A recording medium is detachable, the endoscope image data is associated with the data of the insertion length information, stored in one moving image file, and recorded on the recording medium;
When the playback of the movie file is instructed, the movie file is played back in the playback window, and when the insertion length is specified in the insertion length specification box for specifying the insertion length provided in the playback window, the specified A control unit that performs control to start playback from the first frame associated with the inserted length;
An endoscope apparatus characterized by comprising:
前記動画ファイルに含まれる前記挿入長情報のデータから前記内視鏡挿入部の前記先端部の挿入長を示す挿入長インジケータを生成するグラフィック生成部と、
前記動画ファイルに含まれる内視鏡画像のデータと、前記グラフィック生成部で生成された前記挿入長を示す挿入長インジケータとを合成した合成画像を前記再生ウィンドウに表示させる画像合成部とをさらに有することを特徴とする請求項1に記載の内視鏡装置。
A graphic generation unit that generates an insertion length indicator indicating an insertion length of the distal end portion of the endoscope insertion unit from data of the insertion length information included in the moving image file;
An image compositing unit that displays in the playback window a composite image obtained by compositing data of an endoscopic image included in the moving image file and an insertion length indicator indicating the insertion length generated by the graphic generation unit; The endoscope apparatus according to claim 1.
前記制御部は、前記動画ファイルの再生が指示されると、前記動画ファイルから再生バーの単位を挿入長とする動画ファイルを生成して記憶部に記憶するとともに、前記再生ウィンドウに設けられた、前記再生バーの単位を挿入長と時間とで切り換える再生単位切り換えボタンが押下された場合、前記再生バーの単位を挿入長とする動画ファイルの現在の時間に対応する挿入長の最初のフレームから再生を開始することを特徴とする請求項1に記載の内視鏡装置。 When the playback of the video file is instructed, the control unit generates a video file having a playback bar unit as an insertion length from the video file, stores the video file in a storage unit, and is provided in the playback window. When the playback unit switching button for switching the playback bar unit between insertion length and time is pressed, playback starts from the first frame of the insertion length corresponding to the current time of the video file with the playback bar unit as the insertion length. The endoscope apparatus according to claim 1, wherein the endoscope apparatus is started. 前記制御部は、同一の検査対象を撮像して得られた複数の動画ファイルのそれぞれから前記再生バーの単位を挿入長とする動画ファイルを生成し、生成した複数の前記再生バーの単位を挿入長とする動画ファイルを前記再生ウィンドウで再生させることを特徴とする請求項1に記載の内視鏡装置。   The control unit generates a moving image file having the playback bar unit as an insertion length from each of a plurality of moving image files obtained by imaging the same inspection target, and inserts the generated plurality of the reproducing bar units. The endoscope apparatus according to claim 1, wherein a moving image file having a long length is reproduced in the reproduction window. 記録媒体が着脱可能であって、前記記録媒体に記録された動画ファイルを読み出す記録媒体読み書き部と、
前記動画ファイルの再生が指示されると、再生ウィンドウで動画ファイルを再生するとともに、前記再生ウィンドウに設けられた、挿入長を指定する挿入長指定ボックスで挿入長が指定された場合、前記指定された挿入長に対応付けられた最初のフレームから再生を開始させる制御を行う制御部と、
を有することを特徴とする内視鏡画像再生装置。
A recording medium detachable, and a recording medium read / write unit for reading a moving image file recorded on the recording medium;
When the playback of the movie file is instructed, the movie file is played back in the playback window, and when the insertion length is specified in the insertion length specification box for specifying the insertion length provided in the playback window, the specified A control unit that performs control to start playback from the first frame associated with the inserted length;
An endoscopic image reproduction device comprising:
前記動画ファイルに含まれる前記挿入長情報のデータから前記内視鏡挿入部の前記先端部の挿入長を示す挿入長インジケータを生成するグラフィック生成部と、
前記動画ファイルに含まれる内視鏡画像のデータと、前記グラフィック生成部で生成された前記挿入長を示す挿入長インジケータとを合成した合成画像を前記再生ウィンドウに表示させる画像合成部とをさらに有することを特徴とする請求項5に記載の内視鏡画像再生装置。
A graphic generation unit that generates an insertion length indicator indicating an insertion length of the distal end portion of the endoscope insertion unit from data of the insertion length information included in the moving image file;
An image compositing unit that displays in the playback window a composite image obtained by compositing data of an endoscopic image included in the moving image file and an insertion length indicator indicating the insertion length generated by the graphic generation unit; The endoscopic image reproduction device according to claim 5.
前記制御部は、前記動画ファイルの再生が指示されると、前記動画ファイルから再生バーの単位を挿入長とする動画ファイルを生成して記憶部に記憶するとともに、前記再生ウィンドウに設けられた、前記再生バーの単位を挿入長と時間とで切り換える再生単位切り換えボタンが押下された場合、前記再生バーの単位を挿入長とする動画ファイルの現在の時間に対応する挿入長の最初のフレームから再生を開始することを特徴とする請求項5に記載の内視鏡画像再生装置。 When the playback of the video file is instructed, the control unit generates a video file having a playback bar unit as an insertion length from the video file, stores the video file in a storage unit, and is provided in the playback window. When the playback unit switching button for switching the playback bar unit between insertion length and time is pressed, playback starts from the first frame of the insertion length corresponding to the current time of the video file with the playback bar unit as the insertion length. The endoscope image reproduction device according to claim 5, wherein the endoscope image reproduction device is started. 前記制御部は、同一の検査対象を撮像して得られた複数の動画ファイルのそれぞれから前記再生バーの単位を挿入長とする動画ファイルを生成し、生成した複数の前記再生バーの単位を挿入長とする動画ファイルを前記再生ウィンドウで再生させることを特徴とする請求項5に記載の内視鏡画像再生装置。   The control unit generates a moving image file having the playback bar unit as an insertion length from each of a plurality of moving image files obtained by imaging the same inspection target, and inserts the generated plurality of the reproducing bar units. 6. The endoscopic image reproduction device according to claim 5, wherein a long moving image file is reproduced in the reproduction window. 単位時間毎に区切られた複数のストリームデータ領域と、
前記複数のストリームデータ領域のそれぞれに設けられた複数の画像格納領域と、
を備え、
前記複数の画像格納領域毎に同一の挿入長の内視鏡画像のデータが格納されていることを特徴とする動画ファイルのデータ構造を記録したコンピュータが読み取り可能な記録媒体
A plurality of stream data areas separated by unit time;
A plurality of image storage areas provided in each of the plurality of stream data areas;
With
A computer-readable recording medium recording a data structure of a moving image file, wherein endoscopic image data having the same insertion length is stored for each of the plurality of image storage areas.
JP2010273935A 2010-12-08 2010-12-08 Endoscope apparatus, endoscope image reproducing apparatus, and recording medium recording data structure Active JP5690124B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010273935A JP5690124B2 (en) 2010-12-08 2010-12-08 Endoscope apparatus, endoscope image reproducing apparatus, and recording medium recording data structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010273935A JP5690124B2 (en) 2010-12-08 2010-12-08 Endoscope apparatus, endoscope image reproducing apparatus, and recording medium recording data structure

Publications (3)

Publication Number Publication Date
JP2012120706A JP2012120706A (en) 2012-06-28
JP2012120706A5 JP2012120706A5 (en) 2014-01-30
JP5690124B2 true JP5690124B2 (en) 2015-03-25

Family

ID=46502824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010273935A Active JP5690124B2 (en) 2010-12-08 2010-12-08 Endoscope apparatus, endoscope image reproducing apparatus, and recording medium recording data structure

Country Status (1)

Country Link
JP (1) JP5690124B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021164490A (en) * 2018-04-10 2021-10-14 オリンパス株式会社 Medical system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3228622B2 (en) * 1993-12-20 2001-11-12 オリンパス光学工業株式会社 Endoscope system
JP2006043449A (en) * 2004-07-08 2006-02-16 Pentax Corp Endoscope system
JP4979271B2 (en) * 2006-05-29 2012-07-18 オリンパス株式会社 ENDOSCOPE SYSTEM AND ENDOSCOPE OPERATING METHOD
JP5148227B2 (en) * 2007-09-25 2013-02-20 富士フイルム株式会社 Endoscope system

Also Published As

Publication number Publication date
JP2012120706A (en) 2012-06-28

Similar Documents

Publication Publication Date Title
US11568900B1 (en) Interface for indicating video editing decisions
JP5980604B2 (en) Endoscope system
KR20070099453A (en) Image processing apparatus and image display method
JP5751899B2 (en) Medical image processing apparatus and medical image diagnostic apparatus
JP5635265B2 (en) Editing apparatus and editing method
US8698883B2 (en) Endoscopic image reproducing apparatus
JP5690124B2 (en) Endoscope apparatus, endoscope image reproducing apparatus, and recording medium recording data structure
KR20140136802A (en) Digital video recorder and operation method thereof
JP4964572B2 (en) Movie recording / playback device
JP2010147509A (en) Video processor and video distribution system
JP2007124538A (en) Electronic apparatus and reproduction control method
JP2004193695A (en) Recording and reproducing apparatus and method
US7555197B2 (en) Image processing apparatus
JP2009250792A (en) Data inspection system
JP6230237B2 (en) Endoscope device
JP5846940B2 (en) Information processing apparatus, program, information processing method, and reproduction method
KR20100042866A (en) Pipe probe report creation system
TW200924527A (en) Video recording and playing system and method for setting and playing video section
JP2012120706A5 (en)
JPH03122692A (en) Video window system
JP3510619B2 (en) Video data editing device
JP5037090B2 (en) Ultrasonic diagnostic device, ultrasonic image recording device
JP3845641B2 (en) Image editing apparatus and image editing method
JP4600585B2 (en) Image management apparatus and image management method
JP3465249B2 (en) Video data editing device and video data editing method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131204

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140716

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140805

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141003

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150113

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150130

R151 Written notification of patent or utility model registration

Ref document number: 5690124

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250