JP2023107399A - Endoscope system and operation method thereof - Google Patents

Endoscope system and operation method thereof Download PDF

Info

Publication number
JP2023107399A
JP2023107399A JP2022008579A JP2022008579A JP2023107399A JP 2023107399 A JP2023107399 A JP 2023107399A JP 2022008579 A JP2022008579 A JP 2022008579A JP 2022008579 A JP2022008579 A JP 2022008579A JP 2023107399 A JP2023107399 A JP 2023107399A
Authority
JP
Japan
Prior art keywords
failure
animation
video
scene
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2022008579A
Other languages
Japanese (ja)
Inventor
恒史 遠藤
Koji Endo
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2022008579A priority Critical patent/JP2023107399A/en
Publication of JP2023107399A publication Critical patent/JP2023107399A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide an endoscope system which performs a detection of an abnormality of an apparatus due to a failure without using a special sensor for detecting the failure and a determination of the type of the failure and efficiently analyzes a cause of the failure by recording a detection result for each failure, and an operation method thereof.SOLUTION: A detection of a failure of an endoscope and a determination of the type of the failure are performed from a medical moving image photographed by the endoscope, and a failure moving image including a failure scene at the timing when the failure is detected from the medical moving image is extracted. The extracted contents of the failure moving image are determined according to a storage mode. The endoscope system is equipped with a storage mode for storing the entire extracted failure moving image and a storage mode for selecting the failure moving image to be stored by temporarily storing. The endoscope system stores failure information including at least the type of the failure and the failure moving image in a main storage region.SELECTED DRAWING: Figure 3

Description

本発明は、内視鏡システム及びその作動方法に関する。 The present invention relates to an endoscopic system and method of operation thereof.

内視鏡などの医療装置において、機器の故障等の異常を自動的に検出して、エラーログとして保存するシステムは一般的である。エラーログは異常の種別や発生日時のほか、異常発生時の機器の設定やプログラムの処理状況、モジュール間の通信状況などが記録される。エラーログによって、故障等の異常が発生した事実と、発生状況を把握することができる。エラーログによる故障等の検出では、故障の具体的な内容や故障の発生原因を特定しにくい。そのため、エラーログ以外のデータを用いて具体的な故障の内容を把握することが求められる。 In a medical device such as an endoscope, a system that automatically detects an abnormality such as a device failure and saves it as an error log is common. In addition to the error type and date and time of occurrence, the error log records the device settings, program processing status, and communication status between modules when the error occurred. By using the error log, it is possible to grasp the fact that an abnormality such as a failure has occurred and the circumstances of the occurrence. It is difficult to identify the specific details of the failure and the cause of the failure by detecting failures and the like using error logs. Therefore, it is required to grasp the specific details of the failure using data other than the error log.

具体的には、特許文献1では、機器の作動状態を表す複数の状態信号について検査を行う。状態信号が許容範囲から外れたことを検出し、検出した時刻と起動時からの経過時間、その後の状態を記録する。また、異常の種類を灯火、音声等にて表示する。特許文献2では、機器の運転状態を示すデータから異常を検出し、検出した異常の種類とともに運転状態を記録する。異常が故障と確定されているか否か判断し、故障と確定されていない異常が検出された時に記録されたデータを消去する。 Specifically, in Japanese Unexamined Patent Application Publication No. 2002-100002, a plurality of status signals representing operating statuses of equipment are inspected. Detects that the status signal is out of the allowable range, and records the time of detection, the elapsed time from start-up, and the subsequent status. Also, the type of abnormality is displayed by lighting, sound, or the like. In Patent Document 2, an abnormality is detected from data indicating the operating state of equipment, and the operating state is recorded together with the type of the detected abnormality. It is determined whether or not the abnormality is determined to be a failure, and the recorded data is erased when an abnormality that is not determined to be a failure is detected.

特許第3207874号公報Japanese Patent No. 3207874 特許第3549505号公報Japanese Patent No. 3549505

特許文献1では機器の状態信号を用いて異常検出を行い、特許文献2では、異常が、極端な高負荷のときなどに一時的に発生する、経時的に自己回復する可能性が高いものか、そうでないものであるかの種類を判断する。特許文献1および2では機器の作動状態の信号を取得し、異常の検出、記録及び判定を行い、異常の種類を判断する。外部ノイズなどによる一時的な高負荷など、故障による異常ではないと判断はできても、故障であることの判断や、その原因を特定することは困難である。 In Patent Document 1, an abnormality is detected using a device status signal, and in Patent Document 2, an abnormality occurs temporarily when an extremely high load is applied, and the possibility of self-recovery over time is high. , to determine the kind of what is not. In Patent Literatures 1 and 2, a signal indicating the operating state of a device is acquired, abnormality is detected, recorded, and determined to determine the type of abnormality. Although it is possible to determine that an abnormality such as a temporary high load due to external noise or the like is not due to a failure, it is difficult to determine that it is a failure and to identify its cause.

また、内視鏡のようなサイズ制約のある機器では、故障を検知する専用のセンサなどは搭載できない、もしくはコストがかかる。更に、検査結果から得られたデータを全て解析する場合は、ユーザの手間がかかり、効率が悪い。そのため、通常の検査機器から得られる検査結果から故障の検出、及び記録において、効率よく故障内容の確認及び故障原因の特定を行うことが求められる。 In addition, in devices such as endoscopes, which have size restrictions, it is not possible to install a dedicated sensor for detecting failure, or the cost is high. Furthermore, when analyzing all the data obtained from the test results, it takes time and effort for the user and is inefficient. Therefore, it is required to efficiently confirm the contents of the failure and identify the cause of the failure in the detection and recording of the failure from the inspection results obtained from the ordinary inspection equipment.

本発明は、故障を検知する専用センサを用いずに、故障による機器の異常の検出と、故障の種類の判定を行い、故障ごとに検出結果を記録して故障原因の解析を効率よく行える内視鏡システム及びその作動方法を提供することを目的とする。 The present invention detects equipment abnormalities due to failures and determines the type of failure without using a dedicated sensor for detecting failures, and records the detection results for each failure to efficiently analyze the cause of the failure. It is an object of the present invention to provide a scope system and method of operation thereof.

本発明の内視鏡システムは、プロセッサを備え、プロセッサは、内視鏡で撮影した医療動画から内視鏡の故障を検出し、故障の種類を判別し、医療動画から故障が検出されたタイミングである故障シーンを有する故障動画を抽出し、故障動画を、故障の種類を少なくとも含む故障情報と共に主記憶領域に保存する。 The endoscope system of the present invention comprises a processor, and the processor detects a failure of the endoscope from a medical video taken by the endoscope, determines the type of failure, and detects the timing of failure detection from the medical video. is extracted, and stored in the main memory area together with failure information including at least the type of failure.

故障シーンの前又は前後のタイミングに、故障シーンではない複数のフレーム画像を有する故障動画を抽出することが好ましい。 It is preferable to extract a failure animation having a plurality of frame images that are not a failure scene before or before or after the failure scene.

故障シーン、及び故障シーンに対応する故障情報に基づいて、抽出する故障動画の抽出範囲を決定することが好ましい。 It is preferable to determine the extraction range of the failure animation to be extracted based on the failure scene and failure information corresponding to the failure scene.

故障シーン、及び故障シーン付近のタイミングにおける操作履歴に応じて、抽出する故障動画の抽出範囲を決定することが好ましい。 It is preferable to determine the extraction range of the failure animation to be extracted according to the failure scene and the operation history at the timing near the failure scene.

故障動画を一時記憶領域に一時保存し、故障情報に基づいて故障動画の選別を行い、
選別済みの故障動画を主記憶領域に保存することが好ましい。
Temporarily save failure videos in a temporary storage area, sort out failure videos based on failure information,
It is preferable to store the screened failure animation in the main memory area.

故障動画の重要度を算出し、重要度に基づいて選別を行うことが好ましい。 It is preferable to calculate the degree of importance of failure animations and perform selection based on the degree of importance.

故障シーンの時系列の順番に基づいて選別を行うことが好ましい。 Preferably, the selection is based on the chronological order of failure scenes.

故障の種類ごとに少なくとも1つの故障動画を主記憶領域に保存することが好ましい。 Preferably, at least one failure animation is stored in the main memory area for each failure type.

ユーザ操作により、選別を行うことが好ましい。 It is preferable to perform sorting by user operation.

内視鏡の形状情報を取得し、故障動画の保存の際に、故障動画及び故障情報と共に、形状情報を主記憶領域に保存することが好ましい。 It is preferable to acquire the shape information of the endoscope and store the shape information in the main storage area together with the failure animation and the failure information when saving the failure animation.

形状情報を用いて、故障動画を抽出することが好ましい。 It is preferable to extract failure animations using shape information.

内視鏡検査中に故障を検出し、故障動画を抽出することが好ましい。 It is preferable to detect failures during endoscopy and extract failure animations.

故障動画を不揮発メモリに一時保存し、内視鏡検査の終了状況に関わらず、一時保存された故障動画の選別を行い、選別された故障動画を、不揮発メモリから主記憶領域に保存することが好ましい。 It is possible to temporarily save failure videos in non-volatile memory, select the temporarily stored failure videos regardless of the end status of the endoscopy, and save the selected failure videos from the non-volatile memory to the main memory area. preferable.

故障動画の抽出時に、それぞれの故障動画に対して、互いに異なる識別子を設定し、主記憶領域に保存された故障動画の識別子を確認し、確認した識別子と同一の識別子を有する故障動画を、不揮発メモリから削除することが好ましい。 When extracting a failure movie, a different identifier is set for each failure movie, the identifier of the failure movie saved in the main memory area is confirmed, and failure movies having the same identifier as the confirmed identifier are stored in a non-volatile memory. It is preferably deleted from memory.

本発明の内視鏡システムの作動方法は、内視鏡で撮影した医療動画から内視鏡の故障を検出するステップと、故障の種類を判別するステップと、医療動画から故障が検出されたタイミングである故障シーンを有する故障動画を抽出するステップと、故障動画を、故障の種類を少なくとも含む故障情報と共に主記憶領域に保存するステップとを有する。 A method for operating an endoscope system according to the present invention comprises the steps of detecting a failure of an endoscope from a medical video captured by the endoscope, determining the type of failure, and determining the timing at which the failure is detected from the medical video. and storing the failure animation together with failure information including at least the type of failure in the main memory area.

本発明によれば、故障を検知する専用センサを用いずに、故障による機器の異常の検出と、故障の種類の判定を行い、故障ごとに検出結果を記録して故障原因の解析を効率よく行える。 According to the present invention, without using a dedicated sensor for detecting a failure, an abnormality in a device caused by a failure is detected, the type of failure is determined, and the detection result is recorded for each failure, thereby efficiently analyzing the cause of the failure. can do

内視鏡システムの接続機器を示す説明図である。FIG. 3 is an explanatory diagram showing connected devices of the endoscope system; プロセッサ装置の機能を示すブロック図である。3 is a block diagram showing functions of a processor device; FIG. 故障検出処理を行う医療動画の説明図である。FIG. 10 is an explanatory diagram of a medical moving image for which failure detection processing is performed; 図4(A)、(B)、(C)はそれぞれ故障検出処理で検出される各フレーム画像の説明図である。FIGS. 4A, 4B, and 4C are explanatory diagrams of respective frame images detected in the failure detection process. 故障動画を抽出する際の、故障シーンに対する抽出範囲の説明図である。FIG. 4 is an explanatory diagram of an extraction range for a failure scene when extracting a failure video; 各保存モードの説明図である。FIG. 4 is an explanatory diagram of each save mode; 抽出した故障動画を選別せずに保存する場合の説明図である。FIG. 11 is an explanatory diagram of a case where extracted failure animations are saved without being sorted; 抽出した故障動画を選別して保存する場合の説明図である。FIG. 10 is an explanatory diagram of a case where extracted failure animations are sorted and stored; 故障動画の再生画面を表示する画像図である。FIG. 11 is an image diagram displaying a playback screen of a failure video; 故障動画をサムネイル表示する画像図である。FIG. 10 is an image diagram showing thumbnails of failure animations; 本発明の処理の一連の流れを示すフローチャートである。4 is a flow chart showing a series of processes of the present invention; 図12(A)、(B)、(C)はそれぞれ第2実施形態で内視鏡挿入部の形状情報を取得する説明図である。FIGS. 12A, 12B, and 12C are explanatory diagrams for acquiring shape information of the insertion portion of the endoscope in the second embodiment. 第3実施形態で不揮発性メモリに故障動画を一時保存する説明図である。FIG. 11 is an explanatory diagram of temporarily storing a failure video in a nonvolatile memory in the third embodiment;

[第1実施形態]
図1は、本発明の実施の形態の内視鏡システム10における内視鏡11の接続機器を示す図である。内視鏡システム10は、内視鏡11と、光源装置12と、プロセッサ装置13と、データベース14と、ディスプレイ15と、ユーザインターフェース(UI)16を有する。プロセッサ装置13は、光源装置12、データベース14、ディスプレイ15、及びユーザインターフェース16と電気的に接続する。内視鏡11は、細長い形状で、患者の体内に挿入して映像を取得する挿入部11aと、挿入部11aの湾曲や映像を取得する際のズームなどのユーザ操作を受け付ける操作部11bを有する。また、挿入部11aの先端には、撮影機能を有し、照明光の照射や処置具の突出を行う先端部11cが備わる。
[First embodiment]
FIG. 1 is a diagram showing connected devices of an endoscope 11 in an endoscope system 10 according to an embodiment of the present invention. The endoscope system 10 has an endoscope 11 , a light source device 12 , a processor device 13 , a database 14 , a display 15 and a user interface (UI) 16 . The processor device 13 is electrically connected with the light source device 12 , the database 14 , the display 15 and the user interface 16 . The endoscope 11 has an elongated shape, and has an insertion section 11a that is inserted into a patient's body to acquire an image, and an operation section 11b that receives user operations such as bending of the insertion section 11a and zooming when acquiring an image. . A distal end portion 11c having a photographing function and performing irradiation of illumination light and projection of the treatment instrument is provided at the distal end of the insertion portion 11a.

光源装置12は、内視鏡11と光学的に接続し、内視鏡検査において内視鏡11に照明光を供給する。データベース14は、画像を保管しプロセッサ装置13とデータの送受信ができる機器であり、USB(Universal Serial Bus)やHDD(Hard Disc Drive)などの記録媒体でも良い。ディスプレイ15は、プロセッサ装置13が取得した画像を表示する。ユーザインターフェース16は、プロセッサ装置13への入力等を行う入力デバイスであり、キーボードやマウスに加えて、又は代わりにフットペダル、ジェスチャー認識器、音声認識器を用いてもよい。ユーザインターフェース16に限らず、内視鏡11のスイッチなど医療機器に備わる入力手段を用いて入力を行ってもよい。なお、画像とは動画、静止画、及び動画を構成するフレーム画像を含む。 The light source device 12 is optically connected to the endoscope 11 and supplies illumination light to the endoscope 11 during endoscopy. The database 14 is a device capable of storing images and transmitting/receiving data to/from the processor device 13, and may be a recording medium such as a USB (Universal Serial Bus) or HDD (Hard Disc Drive). The display 15 displays images acquired by the processor device 13 . The user interface 16 is an input device for input to the processor unit 13, and may use a foot pedal, a gesture recognizer, or a voice recognizer in addition to or instead of a keyboard or mouse. The user interface 16 is not limited to the input means provided in the medical device, such as the switch of the endoscope 11 . Note that images include moving images, still images, and frame images that constitute moving images.

データベース14は、プロセッサ装置13や他の医療機器で作成した医療検査の動画や静止画を保管する。医療検査の撮影において特に指定がない場合は、照明光は白色光を使用し、1秒間に60フレーム(60fps(frame per second))の映像信号を取得し、撮影時間を記録する。また、映像信号が60fpsの場合は100分の1秒単位で時刻を数えることが好ましい。 The database 14 stores moving images and still images of medical examinations created by the processor device 13 and other medical equipment. Unless otherwise specified, white light is used as the illumination light for photographing medical examinations, a video signal of 60 frames per second (60 fps (frame per second)) is obtained, and the photographing time is recorded. Also, when the video signal is 60 fps, it is preferable to count the time in units of 1/100 seconds.

図2に示すように、内視鏡システム10においては、画像制御用プロセッサによって構成される中央制御部(図示しない)によって、プログラム用メモリ内のプログラムが動作することで、画像取得部21、入力受信部22、主記憶領域23、表示制御部24、及び故障動画作成部30の機能が実現される。また、故障動画作成部30の機能実現に伴って、故障検出部31と、抽出範囲決定部32と、抽出部35と、一時保存部36と、選別部37との機能が実現される。抽出範囲決定部32では更に、モード制御部33と、画像情報管理部34の機能が含まれ、また選別部37では、更に重要度算出部38の機能が含まれる。画像取得部21は、内視鏡11が撮影した医療動画やデータベース14が保管した医療動画などのデータを受信する。取得した医療動画は、医療動画40として、故障動画作成部30に送信する。 As shown in FIG. 2, in the endoscope system 10, a program in a program memory is operated by a central control unit (not shown) configured by an image control processor, so that an image acquisition unit 21, an input The functions of the receiving unit 22, the main storage area 23, the display control unit 24, and the failure animation creating unit 30 are realized. Further, with the functional realization of the failure video creation unit 30, the functions of the failure detection unit 31, the extraction range determination unit 32, the extraction unit 35, the temporary storage unit 36, and the selection unit 37 are implemented. The extraction range determination unit 32 further includes the functions of a mode control unit 33 and an image information management unit 34 , and the selection unit 37 further includes the function of an importance calculation unit 38 . The image acquisition unit 21 receives data such as medical videos captured by the endoscope 11 and medical videos stored in the database 14 . The acquired medical animation is transmitted to the failure animation creating unit 30 as the medical animation 40 .

入力受信部22は、ユーザインターフェース16と接続する。主記憶領域23は、取得した医療動画、又は故障検出部31で抽出した故障動画を保存する。主記憶領域23の代わりに、プロセッサ装置13と接続したデータベース14がその機能を備えても良い。表示制御部24は、画像をディスプレイ15に表示させる制御を行う。プロセッサ装置13には、画像処理などの処理に関するプログラムがプログラム用メモリ(図示しない)に格納されている。 The input receiver 22 connects with the user interface 16 . The main storage area 23 stores the acquired medical videos or the failure videos extracted by the failure detection unit 31 . Instead of the main storage area 23, the database 14 connected to the processor device 13 may have the function. The display control unit 24 performs control to display an image on the display 15 . In the processor unit 13, programs related to processing such as image processing are stored in a program memory (not shown).

図3に示すように、故障動画作成部30では、故障動画を作成するにあたって、医療動画を構成する各フレームの種類を故障検出処理により、判定する。故障動画作成部30に入力する医療動画40は、生体内を撮影した時系列で連続する、すなわち同一検査において時間的に連続する。医療動画40を構成する各フレーム画像は、故障検出部31で故障検出処理が行われ、故障の無い正常フレーム画像41と、故障による異常を有する故障フレーム画像42、及び異常ではあるが故障ではない無故障異常フレーム画像43に振り分けられる。また、故障の種類も判定される。 As shown in FIG. 3, when creating a failure movie, the failure movie creator 30 determines the type of each frame constituting the medical movie by failure detection processing. The medical animations 40 to be input to the failure animation creating unit 30 are continuous in time series in which the inside of the body is photographed, that is, they are temporally continuous in the same examination. Each frame image constituting the medical video 40 is subjected to failure detection processing by the failure detection unit 31, and normal frame images 41 without failure, failure frame images 42 having an abnormality due to failure, and abnormal but not failure frame images 41 are detected. It is sorted into the no-failure/abnormal frame image 43 . Also, the type of failure is determined.

故障検出処理が行われた医療動画40では、故障の種類が同じであり、かつ連続又は一定以上の頻度で検出された故障フレーム画像42を同一の故障であると判断される。同一の故障を構成するフレーム画像群は、故障シーンとして検出される。医療動画40は、故障シーンごとに故障動画抽出処理が行われる。なお、図3で示す各矩形は医療動画を構成する1フレームとし、連続する3フレームを故障シーンとしているが、実際の医療動画及び故障動画を構成する故障シーンを含むフレーム画像数は膨大となる。 In the medical moving image 40 subjected to the failure detection process, failure frame images 42 having the same failure type and detected continuously or with a certain frequency or more are determined to be the same failure. A frame image group that constitutes the same failure is detected as a failure scene. The medical video 40 undergoes failure video extraction processing for each failure scene. Each rectangle shown in FIG. 3 is one frame that constitutes a medical video, and three consecutive frames are failure scenes. .

図4に示すように、医療動画40の故障検出処理では、正常フレーム画像41か、故障フレーム画像42、又は、無故障異常フレーム画像43のいずれかが検出される。図3において矩形で示した各フレーム画像は、実際には図4(A)~(C)のような状態で撮影されたものである。図4(A)に示すように、正常フレーム画像41は、医療動画40において異常が検出されなかった通常のフレーム画像である。図4(B)に示すように、故障フレーム画像42は、医療動画40において内視鏡11の故障が検出されたフレーム画像であり、「断線」により、画像内に縦線や横線が走った断線Cが映ったフレーム画像や、「スコープ汚れ」により観察対象に関わらず画像上の一部が塗りつぶされ、非病変異常領域Tが含まれるフレーム画像である。また、図4(C)に示すように、無故障異常フレーム画像43は、、異常ではあるが故障ではないフレーム画像である。例えば「外部ノイズ」により一部又は全体を映さない状態や、重度の「病変」として病変領域Rが画像に映ったフレーム画像である。無故障異常フレーム画像43は、故障ではないため、故障検出処理後の抽出においては、正常フレーム画像41と同様に扱う。 As shown in FIG. 4, in the failure detection processing of a medical moving image 40, any one of a normal frame image 41, a failure frame image 42, or a failure-free abnormal frame image 43 is detected. Each frame image indicated by a rectangle in FIG. 3 was actually photographed in the state shown in FIGS. 4(A) to 4(C). As shown in FIG. 4A, normal frame images 41 are normal frame images in which no abnormalities have been detected in the medical moving image 40 . As shown in FIG. 4B, the failure frame image 42 is a frame image in which a failure of the endoscope 11 is detected in the medical video 40, and vertical and horizontal lines run through the image due to "disconnection". A frame image showing a disconnection C and a frame image including a non-lesion abnormal region T in which a part of the image is painted over regardless of the object to be observed due to "scope dirt". Further, as shown in FIG. 4(C), the failure-free abnormal frame image 43 is a frame image that is abnormal but not a failure. For example, it is a frame image in which part or all of the image is not displayed due to "external noise", or a lesion area R is shown in the image as a severe "lesion". Since the fault-free abnormal frame image 43 is not a fault, it is handled in the same manner as the normal frame image 41 in extraction after fault detection processing.

故障動画作成部30の機能は以下のようになる。故障動画作成部30は、画像取得部21がデータベース14又は内視鏡11から取得した、内視鏡11で撮影した動画である医療動画40を受信する。故障検出部31では受信した医療動画40に対して故障検出処理が行われる。故障検出処理では、故障が検出された1または複数のフレーム画像である故障シーンの有無、及び、故障シーンを有する場合に故障の種類を判定する。抽出部35では故障検出処理により検出した、同一の故障を映した1または複数のフレーム画像である故障シーンごとに、短時間の故障動画である故障動画44が抽出される。故障動画44は、故障の情報を少なくとも含む故障情報と共に主記憶領域23に保存される。 The functions of the failure animation creation unit 30 are as follows. The failure animation creation unit 30 receives a medical animation 40 captured by the endoscope 11 , which is acquired by the image acquisition unit 21 from the database 14 or the endoscope 11 . The failure detection unit 31 performs failure detection processing on the received medical moving image 40 . In the failure detection process, the presence or absence of a failure scene, which is one or more frame images in which a failure has been detected, is determined, and if there is a failure scene, the type of failure is determined. The extraction unit 35 extracts a short-time failure movie 44 for each failure scene, which is one or a plurality of frame images showing the same failure detected by the failure detection process. The failure animation 44 is stored in the main memory area 23 together with failure information including at least failure information.

故障シーンは、連続した故障フレーム画像42に限らず、一定以下の割合で正常フレーム画像41又は無故障異常フレーム画像43が含まれていてもよい。ただし、連続していても故障の種類が異なる故障フレーム画像は、別の故障シーンである。すなわち、故障シーンは、連続又は一定以上の頻度で検出され、かつ同じ種類の故障フレーム画像42で構成される。また、故障検出処理で検出された故障フレーム画像42が1枚のみ検出された場合でも、故障シーンとしてもよい。 The failure scene is not limited to the consecutive failure frame images 42, and may include the normal frame images 41 or the failure-free abnormal frame images 43 at a certain rate or less. However, failure frame images that are continuous but have different failure types are different failure scenes. In other words, the failure scene is detected continuously or at a certain frequency or more and is composed of failure frame images 42 of the same type. Further, even when only one failure frame image 42 is detected in the failure detection process, it may be regarded as a failure scene.

故障動画44の構成が故障シーンのみでは、フレーム画像が正常な状態との比較しにくいため、故障の原因を正確に解析できない可能性がある。そのため、医療動画40から故障動画44を抽出する際に、故障シーンの前又は後に正常フレーム画像41を共に取得することが好ましい。 If the failure animation 44 consists only of a failure scene, it is difficult to compare the frame image with a normal state, so there is a possibility that the cause of the failure cannot be analyzed accurately. Therefore, when extracting the failure animation 44 from the medical animation 40, it is preferable to acquire the normal frame images 41 together before or after the failure scene.

図5に示すように、故障動画44の抽出において、設定した抽出範囲に基づいて医療動画40から故障動画の抽出を行う。故障シーン及び故障シーンの前後におけるタイミングの複数の正常フレーム画像41を抽出対象とする第1抽出範囲、故障シーン及び故障シーンの前におけるタイミングの複数の正常フレーム画像41を抽出対象とする第2抽出範囲、または、故障シーンのみを抽出対象とする第3抽出範囲のいずれかの抽出範囲を抽出前に事前設定する。抽出に関しては、無故障異常フレーム画像43は、故障ではないため、正常フレーム画像41と同様に扱う。 As shown in FIG. 5, in extracting the failure animation 44, the failure animation is extracted from the medical animation 40 based on the set extraction range. A first extraction range in which a failure scene and a plurality of normal frame images 41 at timings before and after the failure scene are extracted, and a second extraction in which a failure scene and a plurality of normal frame images 41 at timings before the failure scene are extracted. An extraction range, either the range or a third extraction range for extracting only failure scenes, is set in advance before extraction. As for extraction, the fault-free abnormal frame image 43 is handled in the same way as the normal frame image 41 because it is not a fault.

画面表示による故障の確認や画像解析による故障原因の調査では、故障動画44は故障シーンの前のタイミングに、故障シーンではない複数フレーム画像、例えば正常フレーム画像41を有し、故障発生前後を比較できる第1抽出範囲に設定することが好ましい。発生した故障が一時的ではなく、発生から内視鏡検査終了まで継続した場合は、一定時間経過で故障シーンとしての検出を止めるなど、抽出する故障シーンの上限を設ける。その場合、故障発生後の正常フレーム画像41は無いため、第2抽出範囲とすることが好ましい。大量に故障動画44を保存する際など、データ容量の削減を優先する場合などでは、第3抽出範囲で故障動画44を抽出することが好ましい。以下に説明する各保存モードにおける故障動画44の抽出に関して、特に指定の無い場合は、第1抽出範囲で抽出処理が行われる。 In the confirmation of the failure by screen display and the investigation of the cause of the failure by image analysis, the failure video 44 has multiple frame images that are not the failure scene, for example, the normal frame image 41 at the timing before the failure scene, and compares before and after the failure occurrence. It is preferable to set the first extraction range that is possible. If the failure that has occurred is not temporary and continues from the occurrence until the end of the endoscopy, the upper limit of failure scenes to be extracted is set, such as stopping detection as failure scenes after a certain period of time has elapsed. In that case, since there is no normal frame image 41 after the occurrence of the failure, it is preferable to use the second extraction range. When saving a large amount of failure animations 44, for example, when priority is given to reducing the data capacity, it is preferable to extract the failure animations 44 in the third extraction range. Regarding the extraction of the failure video 44 in each storage mode described below, extraction processing is performed in the first extraction range unless otherwise specified.

故障検出部31では、受信した医療動画40に対して、画像の乱れや汚れなどの故障の有無を、フレームごとに検出する故障検出処理を実行する。故障検出部31は、例えば故障検出処理に必要な学習済みモデルの機能を有する。すなわち、機械学習を行うニューラルネットワークからなるコンピュータアルゴリズムであり、学習内容に応じて入力された医療動画40ごとの故障の有無の検出や、故障を有する場合に故障の種類に対する具体的な推論を行い、故障の種類を判定する。推論結果は、故障の種類に加え、あらかじめ学習していた学習内容との一致率などの情報も取得することが好ましい。 The failure detection unit 31 executes failure detection processing for detecting the presence/absence of failures such as image distortion and dirt on the received medical moving image 40 for each frame. The failure detection unit 31 has a function of a learned model required for failure detection processing, for example. That is, it is a computer algorithm consisting of a neural network that performs machine learning, and detects the presence or absence of a failure for each medical video 40 input according to the learning content, and if there is a failure, performs specific inference about the type of failure. , to determine the type of fault. As for the inference result, it is preferable to acquire information such as the rate of matching with previously learned content in addition to the type of failure.

故障検出処理では、取得した医療動画40におけるフレーム画像から故障フレーム画像42を検出する故障検出と、故障フレーム画像42に対し、「断線」や「スコープ汚れ」、「レンズの損傷」などの故障の種類の判定する故障判定を行う。判定結果は、故障情報として故障フレーム画像42に紐づける。なお、故障検出処理では、異常検出と故障抽出を行い、医療動画40における故障の有無を判定してもよい。異常検出では、映像の乱れやノイズなどの異常を有する正常フレーム画像41ではないフレーム画像を検出し、故障抽出では、異常が内視鏡の故障による「故障」の故障フレーム画像42か、内視鏡の故障ではない「無故障」の無故障異常フレーム画像43かを判断する。 In the failure detection process, failure detection is performed by detecting failure frame images 42 from frame images in the acquired medical video 40, and failure detection such as "disconnection", "scope contamination", and "lens damage" is performed on the failure frame images 42. Perform fault judgment for judging the type. The determination result is associated with the failure frame image 42 as failure information. In the failure detection process, abnormality detection and failure extraction may be performed to determine whether or not there is a failure in the medical video 40 . In the abnormality detection, a frame image other than the normal frame image 41 having an abnormality such as image disturbance or noise is detected. It is determined whether the frame image 43 is a "failure-free" failure-free abnormal frame image 43 that is not a failure of the mirror.

抽出範囲決定部32では、故障検出処理で検出した故障シーンと、モード制御部33で制御された保存モードの設定、及び、画像情報管理部34で参照する操作履歴や故障情報などの情報を組み合わせて、医療動画40から抽出する範囲、すなわち故障動画44の構成を決定する。また、ユーザ操作により設定してもよい。例えば、選別された故障シーンの前後の正常画像フレームを残すか否か、また、故障シーンの種類や画像情報から抽出する故障動画44の時間範囲を決定する。 The extraction range determination unit 32 combines the failure scene detected in the failure detection process, the setting of the save mode controlled by the mode control unit 33, and information such as the operation history and failure information referred to by the image information management unit 34. to determine the range to be extracted from the medical video 40 , that is, the structure of the failure video 44 . Moreover, you may set by user operation. For example, it determines whether to leave the normal image frames before and after the selected failure scene, and determines the time range of the failure animation 44 to be extracted from the type of failure scene and image information.

モード制御部33では、故障動画44の抽出内容の設定に関するモード選択を受け付け、制御する。モード制御部33では、通常モード又は保存モードに設定され、更に保存モードは、第1~第6保存モードのいずれかに設定される。モード選択は、例えばユーザ操作により行われる。通常モードでは、故障検出した医療動画40を主記憶領域23に保存及び表示制御部24への送信による画面表示の少なくともいずれかを実行する。 The mode control unit 33 receives and controls mode selection related to setting of extraction contents of the failure video 44 . The mode control unit 33 sets the normal mode or the save mode, and further sets the save mode to one of the first to sixth save modes. Mode selection is performed by user operation, for example. In the normal mode, at least one of saving the medical video 40 in which the fault is detected in the main storage area 23 and transmitting it to the display control unit 24 is executed.

図6に示すように、保存モードは6種類あり、医療動画40から故障動画44を抽出及び保存する際の条件及び方法によって分けることができる。第1保存モード及び第2保存モードは、故障シーンごとに抽出した故障動画44を選別せず、全て主記憶領域23に保存する。第3~第6保存モードは、故障シーンごとに抽出した故障動画44を一時記憶領域に一時保存し、保存する故障動画44の選別を行う。選別済みの故障動画44を主記憶領域23に保存する。各保存モードのおける抽出や選別における詳細は後述する。 As shown in FIG. 6, there are six types of storage modes, which can be classified according to conditions and methods for extracting and storing failure animations 44 from medical animations 40 . In the first saving mode and the second saving mode, all the failure animations 44 extracted for each failure scene are saved in the main memory area 23 without being sorted. In the third to sixth storage modes, failure movies 44 extracted for each failure scene are temporarily stored in a temporary storage area, and failure movies 44 to be stored are selected. The sorted failure animation 44 is stored in the main memory area 23 . Details of extraction and sorting in each storage mode will be described later.

画像情報管理部34では、故障検出部31で取得した故障の種類を含む故障情報や、内視鏡11の操作履歴などを取得し、管理する。故障情報は、例えば故障の重篤度、故障による異常領域の面積、故障シーンの持続時間などである。内視鏡11の操作履歴は、アングル操作、処置具使用、ズーム操作などである。 The image information management unit 34 acquires and manages the failure information including the type of failure acquired by the failure detection unit 31, the operation history of the endoscope 11, and the like. The failure information includes, for example, the severity of the failure, the area of the abnormal area caused by the failure, the duration of the failure scene, and the like. The operation history of the endoscope 11 includes angle operations, use of treatment tools, zoom operations, and the like.

抽出部35では、抽出範囲決定部32で決定した抽出範囲に基づいて、医療動画40から、故障シーンを少なくとも有する故障動画44を抽出する。抽出した故障動画44は、保存モードに応じて主記憶領域23又は一時保存部36へ送信する。保存モードが、保存する故障動画44の選別を行う場合は、一時保存部36へ送信し、選別を行わず、主記憶領域23に保存するか、保存する故障動画44の選別を行う場合は、故障動画44を一時保存部36に送信する。 The extraction unit 35 extracts a failure video 44 having at least a failure scene from the medical video 40 based on the extraction range determined by the extraction range determination unit 32 . The extracted failure video 44 is transmitted to the main storage area 23 or the temporary storage unit 36 depending on the storage mode. If the save mode selects the failure video 44 to be saved, it is transmitted to the temporary storage unit 36 and is saved in the main storage area 23 without selection, or if the failure video 44 to be saved is selected, The failure animation 44 is transmitted to the temporary storage unit 36 .

故障動画保存モードが、第1保存モード又は第2保存モードに設定されている場合は、選別は非実施であるため、抽出した故障動画44は、主記憶領域23に送信して保存する。第3保存モード~第6保存モードである場合は、保存する故障動画44の選別を実施するため、一時保存部36に送信して一時保存する。 When the failure movie storage mode is set to the first storage mode or the second storage mode, since sorting is not performed, the extracted failure movie 44 is transmitted and stored in the main storage area 23 . In the case of the third saving mode to the sixth saving mode, in order to sort out the failure animation 44 to be saved, it is transmitted to the temporary saving unit 36 and temporarily saved.

一時保存部36は、故障動画作成において、抽出した故障動画44の選別を行う際に、保存候補である各故障動画44の一時保存を行う。選別は、抽出された故障動画44が全て一時保存されてから選別部37で実施されることが好ましい。一時保存は、一時保存部36が、プロセッサ装置13内の揮発性メモリまたは不揮発性メモリである一時記憶領域(図示しない)に保存することで実現される。なお、一時保存領域は、不揮発性メモリである場合は、主記憶領域23と物理的に同一の装置であってもよい。 The temporary storage unit 36 temporarily stores each failure movie 44 that is a storage candidate when sorting out the extracted failure movies 44 in creating a failure movie. The sorting is preferably performed by the sorting unit 37 after all the extracted failure animations 44 are temporarily stored. Temporary storage is realized by the temporary storage unit 36 storing in a temporary storage area (not shown) that is a volatile memory or non-volatile memory within the processor device 13 . It should be noted that the temporary storage area may be physically the same device as the main storage area 23 if it is a non-volatile memory.

選別部37では、第3~第6保存モードがそれぞれ規定する選別基準により故障動画として保存する故障動画44の選別を行う。選別を実施することで故障原因の解析に有益である可能性が高い故障シーンを絞り込みができる。選別は、故障動画44の故障シーンや故障情報同士の比較、または各保存モードで定めた基準を満たす故障シーンであるかの判断の少なくともいずれかが行われる。例えば、第3保存モードでは故障シーンの重要度に基づいて選別を行う。 The sorting unit 37 sorts the failure animations 44 to be stored as failure animations according to the selection criteria defined by the third to sixth storage modes. By performing the sorting, it is possible to narrow down failure scenes that are highly likely to be useful for failure cause analysis. The sorting is performed by at least one of comparing failure scenes and failure information in the failure animation 44, and determining whether the failure scene satisfies the criteria set in each storage mode. For example, in the third storage mode, sorting is performed based on the degree of importance of failure scenes.

重要度算出部38では、故障検出部31で検出した故障シーンの重要度を算出する。重要度の表し方は、例えばパーセンテージ(%)や段階的な評価(高、中、低)などである。重要度は、故障の発生した順番、故障の種類、故障発生の頻度、故障重篤度、故障検出の確信度、故障の視認性、及び影響度の少なくともいずれかから算出される。重要度が高い故障であるほど、故障の解析などに役立つ動画である可能性が高くなる。重要度を算出するための画像情報は、画像情報管理部34で取得する。 The importance calculator 38 calculates the importance of the failure scene detected by the failure detector 31 . The degree of importance can be expressed, for example, as a percentage (%) or graded evaluation (high, medium, low). The degree of importance is calculated from at least one of the order in which failures occur, the types of failures, the frequency of occurrence of failures, the severity of failures, the certainty of failure detection, the visibility of failures, and the degree of impact. The more important a failure is, the more likely it is that the video will be useful for analyzing the failure. Image information for calculating the degree of importance is acquired by the image information management unit 34 .

選別された故障動画44は、主記憶領域23に送信して保存する。また、保存した故障動画44を確認するために表示制御部24に送信し、画面表示してもよい。なお、主記憶領域23の代わりに、または同様にデータベース14に故障動画44を保存してもよい。 The selected failure animation 44 is transmitted to and stored in the main memory area 23 . Moreover, in order to check the stored failure animation 44, it may be transmitted to the display control unit 24 and displayed on the screen. Note that the failure animation 44 may be stored in the database 14 instead of the main storage area 23 or similarly.

表示制御部24は故障動画作成部30から受信した医療動画40又は故障動画44の画面表示を制御する。また、故障動画44を表示する場合は、ユーザインターフェース16を介した、ユーザによる故障動画の構成や故障情報を含む画像情報の編集を受け付ける。故障動画44を表示する場合は、故障シーンの確認及び故障情報の参照が行える。 The display control unit 24 controls screen display of the medical video 40 or the failure video 44 received from the failure video creation unit 30 . Further, when displaying the failure animation 44 , editing of image information including the configuration of the failure animation and failure information by the user via the user interface 16 is accepted. When the failure animation 44 is displayed, the failure scene can be confirmed and the failure information can be referred to.

保存モードの決定について説明する。保存モードは、内視鏡検査の内容などからユーザが設定することが好ましい。保存モードは、故障シーンごとに抽出した故障動画44を直接、主記憶領域23に保存する第1、第2保存モードと抽出した故障動画44を一時保存部36に送信して一時記憶領域に一時保存し、主記憶領域23に保存する故障動画44を選別する第3~第6モードがある。 Determining the save mode will be explained. The save mode is preferably set by the user based on the contents of the endoscopy. The storage mode includes the first and second storage modes in which the failure animation 44 extracted for each failure scene is directly stored in the main memory area 23, and the extracted failure animation 44 is transmitted to the temporary storage unit 36 and temporarily stored in the temporary storage area. There are third to sixth modes for selecting failure animations 44 to be stored and stored in the main memory area 23 .

図7に示すように、第1、第2保存モードに共通する、抽出された故障動画44の選別を行わない場合について説明する。医療動画40は故障検出処理により、それぞれ異なる故障シーンである、故障フレーム画像42の故障シーンと、故障フレーム画像42aの故障シーン、及び故障フレーム画像42bの故障シーンが検出され、検出された故障情報と共に抽出部35に送信される。抽出部35では、故障シーンごとに故障動画44が抽出される。故障フレーム画像42の故障シーンを有する故障動画44と、故障フレーム画像42aの故障シーンを有する故障動画44a、及び故障フレーム画像42bの故障シーンを有する故障動画44bが作成される。作成された故障動画44、44a、44bは抽出された順に主記憶領域23に保存される。 As shown in FIG. 7, a case in which the extracted failure animation 44 is not selected, which is common to the first and second storage modes, will be described. A failure scene of a failure frame image 42, a failure scene of a failure frame image 42a, and a failure scene of a failure frame image 42b, which are different failure scenes, are detected by failure detection processing in the medical video 40, and the detected failure information is is transmitted to the extraction unit 35 together with the The extraction unit 35 extracts a failure animation 44 for each failure scene. A failure movie 44 having a failure scene of the failure frame image 42, a failure movie 44a having a failure scene of the failure frame image 42a, and a failure movie 44b having a failure scene of the failure frame image 42b are created. The created failure animations 44, 44a, 44b are stored in the main memory area 23 in the order of extraction.

第1保存モードでは、医療動画40が有する故障シーン及び故障シーンに対応する故障情報に基づいて、抽出する故障動画44の抽出範囲を決定する。具体的には、故障検出処理で検出した、故障の種類、故障の持続時間、フレーム画像内の故障による異常部位の平均面積をもとに故障シーンごとの故障動画44の抽出範囲を決定する。例えば、持続時間が長い故障シーンや、故障の種類が「断線」である故障シーンでは、共に抽出する正常フレーム画像41の時間すなわち抽出する故障動画44の範囲を長くする。抽出範囲はフレーム画像の枚数で決定してもよいし、1秒あたりのフレーム画像数に基づいて、時間範囲で決定してもよい。 In the first save mode, the extraction range of the failure video 44 to be extracted is determined based on the failure scene included in the medical video 40 and the failure information corresponding to the failure scene. Specifically, the extraction range of the failure video 44 for each failure scene is determined based on the type of failure, the duration of the failure, and the average area of abnormal parts due to the failure in the frame images detected in the failure detection process. For example, in a failure scene with a long duration or in a failure scene whose type of failure is "disconnection", the duration of the normal frame images 41 to be extracted, that is, the range of the failure moving image 44 to be extracted is lengthened. The extraction range may be determined by the number of frame images, or may be determined by a time range based on the number of frame images per second.

第2保存モードでは、医療動画40が有する故障シーン及び故障シーン付近のタイミングにおける内視鏡11の操作履歴に応じて、抽出する故障動画44の抽出範囲を決定する。具体的には、アングル操作、処置具操作、ズーム操作、撮影モード切替操作などである。内視鏡11の操作に関連する故障の特定につながる。アングル操作の際に断線の故障が連動する場合や、処置具を画像に写すことで処置具に関する故障が確認できる場合がある。故障は、内視鏡操作から数秒経過してから発生しうるので、故障シーンの前のタイミングの操作履歴も対象とする。 In the second storage mode, the extraction range of the failure video 44 to be extracted is determined according to the failure scene included in the medical video 40 and the operation history of the endoscope 11 at timings near the failure scene. Specifically, they are an angle operation, a treatment instrument operation, a zoom operation, an imaging mode switching operation, and the like. This leads to identification of failures related to the operation of the endoscope 11 . In some cases, failures such as wire breakage are associated with the angle operation, and in some cases, failures related to the treatment tool can be confirmed by copying the treatment tool into an image. Since a failure can occur after several seconds have passed since the operation of the endoscope, the operation history of the timing before the failure scene is also targeted.

操作履歴に応じて抽出する故障動画44の範囲の決定は、例えば、処置具操作を行った場合、処置具は1回の操作で突出又は収納ができるため、処置具に関する故障は、処置具の突出又は収納の変化による故障シーンと、故障シーンと比較できる程度の正常フレーム画像41が比較的短い範囲で抽出される。アングル操作を行った場合、アングル操作は1回の操作を数秒間かけて行う場合や、複数回操作を行い、内視鏡11の挿入部11aを徐々に湾曲させる。そのため、正常フレーム画像41を多く抽出することで、故障としては検出されないほどわずかな故障の確認や、故障による異常領域の面積が大きくなる変化を確認しやすくなる。 Determining the range of the failure animation 44 to be extracted according to the operation history is, for example, when the treatment tool is operated, the treatment tool can be protruded or retracted with a single operation, so a failure related to the treatment tool A failure scene due to a change in protrusion or retraction and a normal frame image 41 that can be compared with the failure scene are extracted in a relatively short range. When the angle operation is performed, the angle operation may be performed once over several seconds, or may be performed multiple times to gradually bend the insertion portion 11a of the endoscope 11 . Therefore, by extracting a large number of normal frame images 41, it becomes easier to confirm a failure so small that it is not detected as a failure, or to confirm a change in which the area of the abnormal region increases due to the failure.

第3~第6保存モードに共通する、設定された抽出範囲に基づいて抽出された故障動画44の選別を行う場合について説明する。選別を行う場合は、一時保存部36で一時保存した故障動画44を、故障情報に基づいて故障動画の選別を行い、選別済みの故障動画44を主記憶領域23に保存する。 A case will be described in which the extracted failure animation 44 is sorted based on the set extraction range, which is common to the third to sixth storage modes. When sorting is performed, the failure movie 44 temporarily stored in the temporary storage unit 36 is sorted based on the failure information, and the sorted failure movie 44 is stored in the main storage area 23 .

図8に示すように、例えば、医療動画40は故障検出処理により、異なる故障シーンである、故障フレーム画像42、故障フレーム画像42a、及び故障フレーム画像42bの故障シーンがそれぞれ検出され、故障情報と共に抽出部35に送信される。抽出部35では、故障フレーム画像42の故障シーンを有する故障動画44と、故障フレーム画像42aの故障シーンを有する故障動画44a、及び故障フレーム画像42bの故障シーンを有する故障動画44bが抽出される。抽出された故障動画44、44a、及び44bは順に一時保存部36に一時保存される。抽出された故障動画44が全て一時保存された後、選別部37で故障シーンを比較し、選別を行う。故障動画44が選別された場合、故障動画44a及び44bは削除され、故障動画44は主記憶領域23に保存される。 As shown in FIG. 8, for example, in a medical video 40, failure scenes of a failure frame image 42, a failure frame image 42a, and a failure frame image 42b, which are different failure scenes, are detected by failure detection processing, and failure scenes are detected together with failure information. It is transmitted to the extraction unit 35 . The extraction unit 35 extracts a failure movie 44 having a failure scene of the failure frame image 42, a failure movie 44a having a failure scene of the failure frame image 42a, and a failure movie 44b having a failure scene of the failure frame image 42b. The extracted failure videos 44, 44a, and 44b are temporarily stored in the temporary storage unit 36 in order. After all the extracted failure animations 44 are temporarily stored, the failure scenes are compared and selected by the selection unit 37 . When the failure animation 44 is selected, the failure animations 44 a and 44 b are deleted and the failure animation 44 is saved in the main memory area 23 .

第3保存モードでは、故障動画44の重要度を算出し、重要度に基づいて故障動画44の選別を行う。選別に重要度を用いる場合は、重要度算出部38で故障シーンごとに重要度が算出され、故障シーンの故障情報に紐づけられる。重要度は重大な故障の可能性や故障の原因解析に有用性を示し、例えば、重要度が70%以上、又は「高」である算出結果は故障動画44として保存し、重要度が70%未満、又は「低」である算出結果は削除する。重要度の算出方法については後述する。また、重要度が一定値以上の評価となった場合ではなく、重要度が高い順に一定数又は一定割合の故障動画44を選別してもよい。 In the third storage mode, the degree of importance of the failure animation 44 is calculated, and the failure animation 44 is selected based on the degree of importance. When the importance is used for sorting, the importance calculating unit 38 calculates the importance for each failure scene and associates it with the failure information of the failure scene. The degree of importance indicates the possibility of a serious failure and its usefulness in analyzing the cause of the failure. Calculation results that are less than or "low" are deleted. A method of calculating the degree of importance will be described later. Also, a certain number or a certain ratio of failure movies 44 may be selected in descending order of importance instead of the case where the importance is evaluated as a certain value or more.

第4保存モードでは、医療動画40から検出された故障シーンの時系列の順番に基づいて主記憶領域23に保存する故障動画を選別する。例えば、医療動画40で検出された複数の故障シーンうち、最初又は最後からN回分の故障シーンや、一定間隔ごとに1つの故障シーンの選別を有する故障動画44を保存する。最初の故障シーンは、内視鏡検査を始めて経過時間が少なく、スコープ汚れなどの内視鏡検査が原因のもの以外の故障を検出しやすい。最後側の故障シーンでは、複数の故障が発生した場合、1つの故障シーンで複数種類の故障を検出しやすい。また、一定間隔の選別では、内視鏡検査全体で発生する故障があるか確認できる。 In the fourth save mode, failure movies to be saved in the main memory area 23 are selected based on the chronological order of failure scenes detected from the medical movie 40 . For example, among a plurality of failure scenes detected in the medical video 40, the first or last N failure scenes or a failure video 44 having one selected failure scene at regular intervals is saved. In the first failure scene, a short period of time has passed since the endoscopy was started, and it is easy to detect failures other than those caused by the endoscopy, such as dirt on the scope. In the failure scene on the last side, when multiple failures occur, it is easy to detect multiple types of failures in one failure scene. In addition, it is possible to check whether there is a failure that occurs in the entire endoscopy by sorting at regular intervals.

第5保存モードでは、検出された故障シーンの種類に基づいて故障動画の選別を行う。複数の故障が発生した場合に、種類ごとに少なくとも1つの故障動画44を主記憶領域23に保存する。複数の故障において、高頻度で発生し、異常領域の面積が大きい種類の故障と、低頻度で発生し、異常領域面積が小さい種類の故障が医療動画40内で検出された場合でも、保存した故障動画を確認する際に、各種類の故障シーンを見落とさずに確認できる。また、同時又は短い間隔で異なる種類の故障シーンが検出された場合は、別の種類の故障シーンとして両方を含む故障動画44を作成してもよい。 In the fifth save mode, failure movies are sorted based on the types of failure scenes detected. When multiple failures occur, at least one failure animation 44 is saved in the main storage area 23 for each type. Among a plurality of failures, even if a type of failure that occurs with high frequency and has a large abnormal area and a type of failure that occurs with low frequency and has a small abnormal area are detected in the medical video 40, they are saved. When checking failure videos, you can check without overlooking each type of failure scene. Also, if different types of failure scenes are detected simultaneously or at short intervals, the failure animation 44 including both of them may be created as different types of failure scenes.

第6保存モードでは、ユーザ選択により主記憶領域23に保存する故障動画44を選別する。具体的には、一時保存した故障動画44と、少なくとも故障情報を含む画像情報を共にディスプレイ15に表示し、ユーザが再生した故障動画44と、画像情報を確認し、主記憶領域23に保存する故障動画44を決定する。なお、表示する画像情報は、故障動画44の情報でも良いし、表示したフレーム画像ごとの情報でも良い。 In the sixth save mode, the failure animation 44 to be saved in the main memory area 23 is sorted by user selection. Specifically, both the temporarily stored failure video 44 and image information including at least failure information are displayed on the display 15 , and the failure video 44 reproduced by the user and the image information are confirmed and stored in the main storage area 23 . A failure animation 44 is determined. The image information to be displayed may be information of the failure movie 44 or information for each displayed frame image.

図9に示すように、ディスプレイ15には故障動画44を再生し、故障内容を確認する画像表示領域50と、再生する故障動画44の故障情報を含む画像情報を表示する画像情報表示欄51を表示する。画像表示領域50では、例えば抽出された故障動画44を順番に再生し、個別に主記憶領域23に保存するか否か選別する。故障情報は、例えば、故障の種類、故障シーン時間、異常領域平均面積、操作履歴などがある。 As shown in FIG. 9, the display 15 has an image display area 50 for reproducing a failure animation 44 and confirming the contents of the failure, and an image information display column 51 for displaying image information including failure information of the failure animation 44 to be reproduced. indicate. In the image display area 50 , for example, the extracted failure animations 44 are reproduced in order, and whether or not to individually store them in the main storage area 23 is selected. The failure information includes, for example, failure type, failure scene time, abnormal area average area, and operation history.

選別処理におけるユーザ操作は、ユーザインターフェース16を介して行われ、コマンド領域52に備わる、再生コマンドや保存コマンドをキーボードやマウス、又はフットペダルなどで実行する方法などがある。また、ユーザ操作による画像情報の編集を行ってもよい。 User operations in the sorting process are performed via the user interface 16, and there are methods such as executing a playback command or a save command provided in the command area 52 using a keyboard, mouse, foot pedal, or the like. Also, image information may be edited by user operation.

図10に示すように、故障動画44を順番に再生して確認する方法ではなく、画像表示領域50に、サムネイルを用いた一覧表示を行って選別してもよい。複数表示された故障動画44のサムネイル画像を選択し、画像情報表示欄51では選択された故障動画44の画像情報が表示される。画像情報に基づいて、コマンド領域52するか否かを判断してもよい。選択した故障動画44を再生する場合は、サムネイル表示されたサイズのまま再生を行っても良いし、図9のように一時的に拡大して再生してもよい。 As shown in FIG. 10 , instead of the method of sequentially reproducing and confirming failure animations 44 , a list display using thumbnails may be performed in the image display area 50 for sorting. A plurality of displayed thumbnail images of the failure animation 44 is selected, and the image information of the selected failure animation 44 is displayed in the image information display column 51 . Whether or not to use the command area 52 may be determined based on the image information. When the selected malfunction video 44 is to be reproduced, it may be reproduced in the size displayed as the thumbnail, or may be temporarily enlarged and reproduced as shown in FIG.

故障動画保存モードは、上記第1~第6保存モードの内容に限られず、各保存モードの抽出基準や選別の条件を組み合わせて、故障動画44の保存をしてもよい。また、各保存モードによる故障動画44を主記憶領域23へ保存した後は、保存した故障動画44をディスプレイ15に表示して、確認をしてもよい。 The failure movie storage mode is not limited to the contents of the first to sixth storage modes, and the failure movie 44 may be stored by combining the extraction criteria and selection conditions of each storage mode. Further, after storing the failure animation 44 in each storage mode in the main storage area 23, the stored failure animation 44 may be displayed on the display 15 for confirmation.

図11に示すフローチャートに沿って、本実施形態の故障動画44の保存を制御する動作の一連の流れについて説明する。内視鏡システム10は、データベース14や内視鏡11から、故障動画44の抽出元である、医療検査を撮影した医療動画40を取得する(ステップST110)。取得した医療動画40の検査内容や、予想される故障内容に応じて、故障動画44を抽出及び保存するための保存モードのいずれかを選択する。(ステップST120)。医療動画40から故障シーンを検出する故障検出処理を実行する(ステップST130)。故障検出処理により医療動画40から故障シーンが検出されなかった場合(ステップST140でN)は、故障無しであると判断される。故障動画44の抽出を行うためには別の医療動画40を取得する(ステップST110)。故障検出処理により医療動画40における故障シーンを検出した場合(ステップST140でY)は、検出した故障シーンごとの故障の種類を判定する(ステップST150)。選択した保存モード、及び故障検出処理の結果に応じた抽出範囲に従って、医療動画40から少なくとも故障シーンを有する故障動画44を抽出する(ステップST160)。 A series of operations for controlling storage of the failure animation 44 according to the present embodiment will be described along the flowchart shown in FIG. 11 . The endoscope system 10 acquires from the database 14 and the endoscope 11 the medical video 40 of the medical examination, which is the extraction source of the failure video 44 (step ST110). One of the storage modes for extracting and storing the failure animation 44 is selected according to the examination contents of the acquired medical animation 40 and the expected failure contents. (Step ST120). A failure detection process is executed to detect a failure scene from the medical moving image 40 (step ST130). If no failure scene is detected from the medical video 40 by the failure detection process (N in step ST140), it is determined that there is no failure. Another medical video 40 is acquired in order to extract the failure video 44 (step ST110). If a failure scene is detected in the medical video 40 by the failure detection process (Y in step ST140), the type of failure for each detected failure scene is determined (step ST150). A failure animation 44 having at least a failure scene is extracted from the medical animation 40 according to the selected storage mode and the extraction range according to the result of the failure detection processing (step ST160).

抽出された故障動画44は、そのまま全て保存する場合と、保存する故障動画44を選別する場合がある。選別を実施するか否かは保存モードによって決定される。保存モードが第1保存モード又は第2保存モード、すなわち故障動画44の選別を実施しない場合(ステップST170でN)は、抽出した故障動画44を全て主記憶領域23に全て保存する(ステップST200)。 All of the extracted failure animations 44 may be stored as they are, or the failure animations 44 to be stored may be selected. Whether or not sorting is performed is determined by the save mode. If the save mode is the first save mode or the second save mode, that is, if the failure movie 44 is not selected (N in step ST170), all the extracted failure movies 44 are saved in the main storage area 23 (step ST200). .

保存モードが第3~第6保存モード、すなわち故障シーンの選別を実施する場合(ステップST170でY)では、故障動画44は故障情報を含む画像情報と共に一時保存される(ステップST180)。一時保存された故障動画44は、保存モードごとに、
一定基準を満たすか否かの判断や、故障動画44同士の比較が行われ、保存対象となる故障動画44が選別される(ステップST190)。選別された故障動画44を主記憶領域23に保存する(ステップST200)。
If the save mode is the third to sixth save modes, that is, if failure scenes are to be screened (Y in step ST170), the failure animation 44 is temporarily saved together with image information including failure information (step ST180). The temporarily stored failure video 44 is
A judgment as to whether or not a certain criterion is satisfied is made, and the failure animations 44 are compared with each other to select the failure animation 44 to be stored (step ST190). The selected failure animation 44 is stored in the main memory area 23 (step ST200).

故障の原因解析にあたって、故障動画44の数が不十分である場合や、同じ医療動画40から抽出を行う際の保存モードなどを変更する場合(ステップST210でN)は、改めて医療動画40を取得して、故障の検出、故障動画44の抽出、保存を行うことが好ましい(ステップST110)。故障の原因解析に十分な故障動画44を保存できた場合(ステップST210でY)は、一連の流れを終了する。 When the number of failure videos 44 is insufficient for analyzing the cause of the failure, or when changing the storage mode when extracting from the same medical video 40 (N in step ST210), the medical video 40 is acquired again. Then, it is preferable to detect the failure, extract the failure animation 44, and store it (step ST110). If enough failure animations 44 for failure cause analysis can be saved (Y in step ST210), a series of flow is terminated.

[第2実施形態]
上記第1実施形態では、故障検出処理で医療動画40を構成する各フレームから故障シーンを検出し、検出した故障シーンごとに故障動画44を抽出し、保存する形態である。第2実施形態では、それに加えて、内視鏡11の形状情報を取得し、抽出した故障動画44を保存する際に、形状情報と故障情報を共に保存する形態について説明する。なお。上記実施形態と共通する内容に関しては説明を省略する。
[Second embodiment]
In the above-described first embodiment, a failure scene is detected from each frame constituting the medical video 40 in the failure detection process, and the failure video 44 is extracted and stored for each detected failure scene. In the second embodiment, in addition to that, when the shape information of the endoscope 11 is acquired and the extracted failure animation 44 is stored, both the shape information and the failure information are stored. note that. The description of the contents common to the above embodiment will be omitted.

故障動画44の保存の際には、主記憶領域23に、形状情報と故障情報が紐づけられた故障動画44を保存する。形状情報を用いて故障動画44の故障原因の解析に用いてもよい。また、内視鏡11の形状情報を用いて、故障動画44の抽出を行う。また、抽出だけでなく、選別を行う際に形状情報を用いてもよい。 When saving the failure animation 44 , the failure animation 44 in which the shape information and the failure information are linked is saved in the main storage area 23 . The shape information may be used to analyze the failure cause of the failure animation 44 . Also, the shape information of the endoscope 11 is used to extract the failure animation 44 . Shape information may be used not only for extraction but also for selection.

図12に示すように、医療動画40の故障検出処理において、例えば図12(A)のような、内視鏡11の先端部11cから一定距離における挿入部11aの湾曲が、操作部11bに対して約45度である場合は断線が発生せず、図12(B)のような、内視鏡11の先端部11cから一定距離における挿入部11aの湾曲が、操作部11bに対して約90度に湾曲した場合には断線が発生する場合など、内視鏡11の物理的な形状によって故障が検出される場合と、検出されない場合がある。その場合、アングル操作が1回や2回など少ない回数では断線が発生せず、また、アングル操作は短時間ではなく時間をかけて徐々に湾曲させる場合もあるため、操作履歴では必ずしも十分に追跡できるとは限らない。また、図12(C)のような、内視鏡11の先端部11cから一定距離における挿入部11aの湾曲が、操作部11bに対して約180度である場合は、同じ断線であるが、約90度の湾曲よりも深刻な故障として検出される場合がある。そのため、内視鏡11の挿入部11aの形状情報を加えた故障検出処理では、機械学習などによる医療動画40の故障検出処理よりも精度の高い故障検出処理を行うことができる。 As shown in FIG. 12, in the failure detection process of the medical moving image 40, the bending of the insertion portion 11a at a certain distance from the distal end portion 11c of the endoscope 11 as shown in FIG. 12(B), the bending of the insertion portion 11a at a certain distance from the distal end portion 11c of the endoscope 11 is about 90 degrees with respect to the operation portion 11b. A failure may or may not be detected depending on the physical shape of the endoscope 11 , such as when the endoscope 11 is bent to a degree and disconnection occurs. In that case, disconnection does not occur with a small number of angle operations such as one or two times, and the angle operation may be bent gradually over time rather than in a short period of time, so the operation history does not necessarily track sufficiently. Not always possible. Also, when the curvature of the insertion portion 11a at a certain distance from the distal end portion 11c of the endoscope 11 is approximately 180 degrees with respect to the operation portion 11b, as shown in FIG. A bend of about 90 degrees may be detected as a more severe fault. Therefore, the failure detection processing including the shape information of the insertion portion 11a of the endoscope 11 can perform failure detection processing with higher accuracy than the failure detection processing of the medical animation 40 by machine learning or the like.

具体的には、スコープの形状情報センサを有する内視鏡システム10を用いることで、故障検出処理と内視鏡11の形状情報の変動をフレーム単位で組み合わせる。故障シーン検出をトリガーとして、形状情報を記憶することが好ましい。これにより、内視鏡検査中に発生する断線などの故障が、外部ノイズによるものと判断される場合や、故障シーンの重要度が低く算出される場合を防ぎ、精度の高い検出ができる。また、故障原因の解析において、故障の発生が特定の形状となることが条件であるという結果を得ることで、故障の修理がしやすくなる。 Specifically, by using the endoscope system 10 having a scope shape information sensor, failure detection processing and change in the shape information of the endoscope 11 are combined on a frame-by-frame basis. It is preferable to store the shape information with failure scene detection as a trigger. This prevents a failure such as disconnection that occurs during an endoscopy from being determined to be due to external noise, or a failure scene whose importance is calculated to be low, enabling highly accurate detection. In addition, in the analysis of the cause of the failure, it becomes easier to repair the failure by obtaining the result that the occurrence of the failure requires a specific shape.

内視鏡11の挿入部11aの形状情報センサとして、例えば内視鏡挿入形状観測装置(コロナビ)などの、外部から磁気を発生させて形状情報を取得する機能を用いることが好ましい。また、内視鏡11は形状情報センサに加えて、先端部の故障検出が目的ではない機能、例えば、動態センサや挿入深度計を用いて形状情報を取得してもよい。 As the shape information sensor of the insertion portion 11a of the endoscope 11, it is preferable to use a function of acquiring shape information by generating magnetism from the outside, such as an endoscope insertion shape observation device (coronavi). In addition to the shape information sensor, the endoscope 11 may acquire shape information using a function not intended to detect failure of the distal end, such as a dynamic sensor or an insertion depth gauge.

[第3実施形態]
上記第1実施形態及び第2実施形態は、内視鏡検査全体を撮影した医療動画40を取得し、故障動画44を抽出及び保存する形態である。本実施形態では、リアルタイムに内視鏡検査をしている状態でプロセッサ装置が受信したフレーム画像に対して故障検出処理を行い、故障動画44を抽出する形態について説明する。なお、上記実施形態と共通する内容に関しては説明を省略する。
[Third embodiment]
The first embodiment and the second embodiment described above are forms in which the medical video 40 obtained by photographing the entire endoscopy is acquired, and the failure video 44 is extracted and stored. In the present embodiment, a mode will be described in which failure detection processing is performed on frame images received by the processor device while endoscopic inspection is being performed in real time, and a failure moving image 44 is extracted. Note that the description of the contents common to the above embodiment will be omitted.

内視鏡検査中にリアルタイムで故障検出処理を行う。内視鏡検査が開始すると、画像取得部21は、1枚又は少数ずつのフレーム画像を受信し、故障動画作成部30に入力する。故障動画作成部30に入力されたフレーム画像は、故障検出部31で順次に、故障検出処理が行われ、故障シーンが検出される。 Perform fault detection processing in real time during endoscopy. When the endoscopy starts, the image acquiring unit 21 receives one or a few frame images and inputs them to the failure animation creating unit 30 . The failure detection unit 31 sequentially performs failure detection processing on the frame images input to the failure animation creation unit 30 to detect failure scenes.

故障シーンごとに故障動画44が抽出される。選別を行わない保存モードである場合は、抽出した故障動画44を主記憶領域23に保存する。選別を行う保存モードである場合は、抽出した故障動画44を一時保存部36に一時保存する。一時保存された故障動画44は、保存モードに応じた選別を行い、選別後に主記憶領域23へ保存される。なお、医療検査全体を記録する医療動画40は作成しなくてもよい。 A failure animation 44 is extracted for each failure scene. In the case of a storage mode in which selection is not performed, the extracted failure animation 44 is stored in the main memory area 23 . In the case of the storage mode for sorting, the extracted failure animation 44 is temporarily stored in the temporary storage unit 36 . The temporarily stored failure animation 44 is sorted according to the storage mode, and is stored in the main storage area 23 after sorting. Note that it is not necessary to create the medical moving image 40 that records the entire medical examination.

一時保存部36は、プロセッサ装置13が通電していない状態でも、保存したデータを維持する不揮発性メモリにより機能が実現されてもよい。内視鏡検査中に内視鏡11又はプロセッサ装置13の電源がオフになる事態や、内視鏡検査終了後に、一時保存した故障動画44の主記憶領域23への保存が完了する前にプロセッサ装置13の電源がオフになる事態が起こりうる。このような場合でも、不揮発メモリである一時保存部36に一時保存したデータは、電源オフによって失われるのを防ぐことができる。 The function of the temporary storage unit 36 may be implemented by a non-volatile memory that maintains stored data even when the processor device 13 is not powered. If the power of the endoscope 11 or the processor device 13 is turned off during the endoscopic examination, or if the processor device 13 is not completely saved in the main storage area 23 after the endoscopic examination is completed, A situation may occur in which the device 13 is powered off. Even in such a case, the data temporarily stored in the temporary storage unit 36, which is a non-volatile memory, can be prevented from being lost when the power is turned off.

選別を行う保存モードである場合、故障ごとに抽出された故障動画44は、順次、不揮発メモリである一時保存部36に一時保存される。内視鏡検査中に内視鏡11又はプロセッサ装置13の電源オフになった場合は、その時点で内視鏡検査を終了とし、再び電源をオンにした際には故障動画44の選別を開始する。内視鏡検査の終了後は、選別が行われ、選別された故障動画44を主記憶領域23へ保存する。 In the storage mode for selection, the failure animation 44 extracted for each failure is temporarily stored in the temporary storage unit 36, which is a non-volatile memory. When the power of the endoscope 11 or the processor device 13 is turned off during the endoscopy, the endoscopy is finished at that time, and when the power is turned on again, sorting of the failure animation 44 is started. do. After the endoscopy is completed, sorting is performed, and the sorted failure animation 44 is stored in the main memory area 23 .

図13に示すように、不揮発メモリである一時保存領域に対して一時保存を行うリアルタイム検出において、検査中に電源オフとなった場合について説明する。検査Aは、電源がオフにならずに内視鏡検査が終了し、検査Bは、リアルタイム検出中に内視鏡11又はプロセッサ装置13が電源オフになった場合の検査である。ユーザが内視鏡検査における終了を操作した検査Aでは、内視鏡検査の終了後に、一時保存した故障動画44に対して、選別及び保存が行われる。ユーザが操作した終了ではなく、電源がオフとなり強制終了となった検査Bでは、再び電源がオンとなった際に、電源がオフとなった時点で不揮発メモリに保存された分の故障動画44の選別、及び保存が行われる。不揮発性メモリに一時保存を行うことで、検査中に電源がオフになった場合など、内視鏡検査の終了状況に関わらず、故障動画44の選別ができる。 As shown in FIG. 13, a case where the power is turned off during inspection in real-time detection in which data is temporarily stored in a temporary storage area, which is a non-volatile memory, will be described. Examination A is an examination when the endoscope examination is completed without turning off the power, and examination B is an examination when the power of the endoscope 11 or the processor device 13 is turned off during real-time detection. In the examination A for which the user has operated the end of the endoscopy, sorting and saving are performed on the temporarily saved failure video 44 after the end of the endoscopy. In inspection B, which was forcibly terminated when the power was turned off instead of being terminated by a user's operation, when the power was turned on again, the failure movie 44 that was saved in the non-volatile memory at the time the power was turned off are selected and stored. By temporarily storing it in the non-volatile memory, it is possible to sort out the failure animation 44 regardless of the completion status of the endoscopy, such as when the power is turned off during the examination.

選別終了後に、選別された故障動画44を不揮発メモリから主記憶領域23に保存処理を行うが、保存中にプロセッサ装置13の電源がオフになる場合や、主記憶領域23がプロセッサ装置13から着脱できるものであると接続が切れる場合がある。保存処理が中断されると、主記憶領域23に保存された故障動画44と、保存されていない故障動画44の判別がつかない恐れがある。そのため、自動で判別するために故障動画44を抽出する際に、フラグなどの識別子を設定する。 After the sorting is finished, the sorted failure video 44 is saved from the non-volatile memory to the main memory area 23. However, if the processor device 13 is powered off during saving or if the main memory area 23 is removed from the processor device 13, If it is possible, the connection may be cut off. If the saving process is interrupted, it may not be possible to distinguish between the failure video 44 saved in the main memory area 23 and the failure video 44 that is not saved. Therefore, an identifier such as a flag is set when extracting the failure animation 44 for automatic determination.

故障動画44を一時保存する場合、故障動画の抽出時にそれぞれの故障動画44に対して、互いに異なる識別子が設定される。識別子はフラグなどであり、画像情報として設定されることが好ましいが、互いの故障動画44を判別できるものであればよく、特に限定しない。中断された保存処理を再開する際に、主記憶領域23に保存された故障動画44の識別子を確認し、不揮発メモリである一時記憶領域に同一の識別子を有する故障動画44の有無を判別する。確認した識別子と同一の識別子を有する故障動画44は、保存処理は行わず、不揮発メモリから削除する。 When the failure animations 44 are temporarily saved, different identifiers are set for the respective failure animations 44 when extracting the failure animations. The identifier is a flag or the like, and is preferably set as image information. When resuming the interrupted saving process, the identifier of the failure movie 44 saved in the main memory area 23 is confirmed, and the presence or absence of the failure movie 44 having the same identifier is determined in the temporary storage area, which is a non-volatile memory. The failure video 44 having the same identifier as the confirmed identifier is deleted from the non-volatile memory without being saved.

同一の識別子が確認されなかった故障動画44が一時保存領域にある場合、その故障動画44は、主記憶領域23に保存されていないと判定し、保存処理を行う。なお、識別子の利用は、保存処理が中断された時のみではなく、通常の保存処理の際にも保存が確実に行われたか確認するために用いてもよい。 If the failure video 44 for which the same identifier has not been confirmed exists in the temporary storage area, it is determined that the failure video 44 is not saved in the main storage area 23, and storage processing is performed. It should be noted that the identifier may be used not only when the saving process is interrupted, but also for confirming whether the saving is surely performed during the normal saving process.

第3実施形態(リアルタイムの故障検出)において、故障動画44の選別を、全ての故障動画44が揃うタイミング、すなわち検査終了まで待つ必要はなく、故障動画44の抽出後すぐに行ってもよい。例えば、既に一時保存されているm番目に抽出した故障動画44と、新たに抽出したm+1番目の故障動画44の重要度を比較し、重要度が低い一方を削除する。これにより、一時保存の領域が限られる場合などにメモリ領域を節約できる。 In the third embodiment (real-time failure detection), the sorting of failure videos 44 may be performed immediately after extraction of the failure videos 44 without waiting for the timing when all the failure videos 44 are available, that is, until the end of the inspection. For example, the level of importance of the m-th extracted failure video 44 that has already been temporarily stored is compared with the newly extracted (m+1)-th failure video 44, and the one with the lower level of importance is deleted. As a result, the memory area can be saved when the area for temporary storage is limited.

上記実施形態において、中央制御部、画像取得部21、入力受信部22、表示制御部24、及び故障動画作成部30に含まれる故障検出部31、抽出範囲決定部32モード制御部33、画像情報管理部34、抽出部35、一時保存部36、選別部37、及び重要度算出部38といった各種の処理を実行する処理部(processing unit)のハードウェア的な構造は、次に示すような各種のプロセッサ(processor)である。各種のプロセッサには、ソフトウエア(プログラム)を実行して各種の処理部として機能する汎用的なプロセッサであるCPU(Central Processing Unit)、FPGA(Field Programmable Gate Array) などの製造後に回路構成を変更可能なプロセッサであるプログラマブルロジックデバイス(Programmable Logic Device:PLD)、各種の処理を実行するために専用に設計された回路構成を有するプロセッサである専用電気回路などが含まれる。 In the above embodiment, the central control unit, the image acquisition unit 21, the input reception unit 22, the display control unit 24, and the failure detection unit 31 included in the failure video creation unit 30, the extraction range determination unit 32, the mode control unit 33, the image information The hardware structure of the processing unit (processing unit) that executes various processes such as the management unit 34, the extraction unit 35, the temporary storage unit 36, the selection unit 37, and the importance calculation unit 38 includes various processor. Various processors include CPUs (Central Processing Units) and FPGAs (Field Programmable Gate Arrays), which are general-purpose processors that run software (programs) and function as various processing units. Programmable Logic Devices (PLDs), which are processors, and dedicated electric circuits, which are processors having circuitry specifically designed to perform various processes.

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

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

10 内視鏡システム
11 内視鏡
11a 挿入部
11b 操作部
11c 先端部
12 光源装置
13 プロセッサ装置
14 データベース
15 ディスプレイ
16 ユーザインターフェース
21 画像取得部
22 入力受信部
23 主記憶領域
24 表示制御部
30 故障動画作成部
31 故障検出部
32 抽出範囲決定部
33 モード制御部
34 画像情報管理部
35 抽出部
36 一時保存部
37 選別部
38 重要度算出部
40 医療動画
41 正常フレーム画像
42 故障フレーム画像
42a 故障フレーム画像
42b 故障フレーム画像
43 無故障異常フレーム画像
44 故障動画
44a 故障動画
44b 故障動画
50 画像表示領域
51 画像情報表示領域
52 コマンド領域
C 断線
R 病変領域
T 非病変異常領域
10 endoscope system 11 endoscope 11a insertion portion 11b operation portion 11c tip portion 12 light source device 13 processor device 14 database 15 display 16 user interface 21 image acquisition portion 22 input reception portion 23 main storage area 24 display control portion 30 failure video Creation unit 31 Failure detection unit 32 Extraction range determination unit 33 Mode control unit 34 Image information management unit 35 Extraction unit 36 Temporary storage unit 37 Selection unit 38 Importance calculation unit 40 Medical video 41 Normal frame image 42 Failure frame image 42a Failure frame image 42b Failure frame image 43 Failure-free abnormal frame image 44 Failure animation 44a Failure animation 44b Failure animation 50 Image display area 51 Image information display area 52 Command area C Disconnection R Lesion area T Non-lesion abnormal area

Claims (15)

プロセッサを備え、
前記プロセッサは、
内視鏡で撮影した医療動画から前記内視鏡の故障を検出し、
前記故障の種類を判別し、
前記医療動画から前記故障が検出されたタイミングである故障シーンを有する故障動画を抽出し、
前記故障動画を、前記故障の種類を少なくとも含む故障情報と共に主記憶領域に保存する内視鏡システム。
with a processor
The processor
Detect failure of the endoscope from medical videos taken with the endoscope,
determining the type of failure;
extracting a failure video having a failure scene at the timing at which the failure was detected from the medical video;
An endoscope system that stores the failure video in a main storage area together with failure information including at least the type of failure.
前記プロセッサは、
前記故障シーンの前又は前後のタイミングに、故障シーンではない複数のフレーム画像を有する前記故障動画を抽出する請求項1記載の内視鏡システム。
The processor
2. The endoscope system according to claim 1, wherein the failure animation having a plurality of frame images that are not the failure scene is extracted before, before, or after the failure scene.
前記プロセッサは、
前記故障シーン、及び前記故障シーンに対応する前記故障情報に基づいて、抽出する前記故障動画の抽出範囲を決定する請求項1又は2記載の内視鏡システム。
The processor
3. The endoscope system according to claim 1, wherein an extraction range of said failure animation to be extracted is determined based on said failure scene and said failure information corresponding to said failure scene.
前記プロセッサは、
前記故障シーン、及び前記故障シーン付近のタイミングにおける操作履歴に応じて、抽出する前記故障動画の抽出範囲を決定する請求項1ないし3いずれか1項記載の内視鏡システム。
The processor
4. The endoscope system according to any one of claims 1 to 3, wherein an extraction range of said failure animation to be extracted is determined according to said failure scene and an operation history at a timing near said failure scene.
前記プロセッサは、
前記故障動画を一時記憶領域に一時保存し、
前記故障情報に基づいて前記故障動画の選別を行い、
選別済みの前記故障動画を主記憶領域に保存する請求項1又は2に記載の内視鏡システム。
The processor
temporarily storing the failure video in a temporary storage area;
sorting the failure video based on the failure information;
3. The endoscope system according to claim 1, wherein the screened failure animation is stored in a main storage area.
前記プロセッサは、
前記故障動画の重要度を算出し、
前記重要度に基づいて前記選別を行う請求項5記載の内視鏡システム。
The processor
Calculate the importance of the failure video,
6. The endoscope system according to claim 5, wherein said sorting is performed based on said degree of importance.
前記プロセッサは、
前記医療動画から検出された前記故障シーンの時系列の順番に基づいて前記選別を行う請求項5記載の内視鏡システム。
The processor
6. The endoscope system according to claim 5, wherein the sorting is performed based on the chronological order of the failure scene detected from the medical moving image.
前記プロセッサは、
前記故障の種類ごとに少なくとも1つの前記故障動画を主記憶領域に保存する請求項5記載の内視鏡システム。
The processor
6. The endoscope system according to claim 5, wherein at least one failure animation is stored in a main storage area for each failure type.
前記プロセッサは、
ユーザ操作により、前記選別を行う請求項5記載の内視鏡システム。
The processor
6. The endoscope system according to claim 5, wherein the sorting is performed by a user's operation.
前記プロセッサは、
前記内視鏡の形状情報を取得し、
前記故障動画の保存の際に、前記故障動画及び前記故障情報と共に、前記形状情報を前記主記憶領域に保存する請求項1ないし9いずれか1項記載の内視鏡システム。
The processor
Acquiring shape information of the endoscope,
10. The endoscope system according to any one of claims 1 to 9, wherein the shape information is stored in the main storage area together with the failure animation and the failure information when storing the failure animation.
前記プロセッサは、
前記形状情報を用いて、前記故障動画を抽出する請求項10記載の内視鏡システム。
The processor
The endoscope system according to claim 10, wherein the failure animation is extracted using the shape information.
前記プロセッサは、
内視鏡検査中に前記故障を検出し、前記故障動画を抽出する請求項1ないし9いずれか1項記載の内視鏡システム。
The processor
The endoscope system according to any one of claims 1 to 9, wherein the failure is detected during endoscopy and the failure animation is extracted.
前記プロセッサは、
前記故障動画を不揮発メモリに一時保存し、
内視鏡検査の終了状況に関わらず、一時保存された前記故障動画の選別を行い、
選別された前記故障動画を、前記不揮発メモリから前記主記憶領域に保存する請求項12記載の内視鏡システム。
The processor
temporarily storing the failure video in a non-volatile memory;
Regardless of the completion status of the endoscopy, sort out the temporarily stored failure video,
13. The endoscope system according to claim 12, wherein the selected failure animation is saved from the nonvolatile memory to the main storage area.
前記プロセッサは、
前記故障動画の抽出時に、それぞれの前記故障動画に対して、互いに異なる識別子を設定し、
前記主記憶領域に保存された前記故障動画の前記識別子を確認し、
確認した前記識別子と同一の前記識別子を有する前記故障動画を、前記不揮発メモリから削除する請求項13記載の内視鏡システム。
The processor
setting different identifiers for each of the failure videos when extracting the failure videos;
confirming the identifier of the failure video saved in the main storage area;
14. The endoscope system according to claim 13, wherein the failure animation having the same identifier as the confirmed identifier is deleted from the nonvolatile memory.
内視鏡で撮影した医療動画から前記内視鏡の故障を検出するステップと、
前記故障の種類を判別するステップと、
前記医療動画から前記故障が検出されたタイミングである故障シーンを有する故障動画を抽出するステップと、
前記故障動画を、前記故障の種類を少なくとも含む故障情報と共に主記憶領域に保存するステップとを有する内視鏡システムの作動方法。
detecting a failure of the endoscope from a medical video taken by the endoscope;
determining the type of failure;
a step of extracting a failure video having a failure scene at the timing at which the failure was detected from the medical video;
A method of operating an endoscope system, comprising a step of storing the failure video together with failure information including at least the type of failure in a main storage area.
JP2022008579A 2022-01-24 2022-01-24 Endoscope system and operation method thereof Pending JP2023107399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022008579A JP2023107399A (en) 2022-01-24 2022-01-24 Endoscope system and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022008579A JP2023107399A (en) 2022-01-24 2022-01-24 Endoscope system and operation method thereof

Publications (1)

Publication Number Publication Date
JP2023107399A true JP2023107399A (en) 2023-08-03

Family

ID=87474664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022008579A Pending JP2023107399A (en) 2022-01-24 2022-01-24 Endoscope system and operation method thereof

Country Status (1)

Country Link
JP (1) JP2023107399A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117572628A (en) * 2024-01-02 2024-02-20 首都医科大学附属北京天坛医院 Portable endoscope and application method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117572628A (en) * 2024-01-02 2024-02-20 首都医科大学附属北京天坛医院 Portable endoscope and application method thereof
CN117572628B (en) * 2024-01-02 2024-05-07 首都医科大学附属北京天坛医院 Portable endoscope and application method thereof

Similar Documents

Publication Publication Date Title
US8199813B2 (en) Method for embedding frames of high quality image data in a streaming video
JP4703480B2 (en) Moving object detection method in video, abnormality cause analysis support method and support system for video system
US20160098636A1 (en) Data processing apparatus, data processing method, and recording medium that stores computer program
US11651317B2 (en) Work operation analysis system and work operation analysis method
CN107209922A (en) Image processing equipment, image processing system and image processing method
JP2011232111A (en) Inspection device and fault detecting method used for inspection device
JP2009098774A (en) Person tracking system, person tracking method and person tracking program
CN104853071B (en) Display control unit and display methods
JP4731127B2 (en) Image diagnosis support apparatus and method
JP2023107399A (en) Endoscope system and operation method thereof
EP3973544A1 (en) Method and system for combining video, image, and audio data with text data for comprehensive data analytics
CN112381054A (en) Method for detecting working state of camera and related equipment and system
EP3945459A1 (en) Devices, systems, and methods for labeling objects of interest during a medical procedure
US20190282176A1 (en) Information display device, biological signal measurement system, and computer program product
JP2011232110A (en) Inspection device and defect detection method using inspection device
KR101941105B1 (en) A method of collectively managing the occurrence of errors in the hardware included in the computer system and performing backup and recovery to inform the external terminal
CN111601105B (en) Video display state abnormity detection method and device and electronic equipment
JP2023141710A (en) Medical image processing system and operation method thereof
JP2023141709A (en) Medical image processing system and operation method thereof
WO2021199152A1 (en) Information processing device, display method, and non-transitory computer-readable medium having program stored therein
EP4362358A1 (en) Methods and systems for testing a system
US20150091922A1 (en) Diagnosing Graphics Display Problems
KR101938202B1 (en) A method of collectively managing the occurrence of errors in the hardware included in the computer system and performing backup and recovery to inform the external terminal
US20240134764A1 (en) Methods and systems for testing a system
KR101793263B1 (en) A method of collectively managing the occurrence of errors in the hardware included in the computer system and performing backup and recovery to inform the external terminal