JP7783766B2 - Medical image processing system and method of operation - Google Patents
Medical image processing system and method of operationInfo
- Publication number
- JP7783766B2 JP7783766B2 JP2022048169A JP2022048169A JP7783766B2 JP 7783766 B2 JP7783766 B2 JP 7783766B2 JP 2022048169 A JP2022048169 A JP 2022048169A JP 2022048169 A JP2022048169 A JP 2022048169A JP 7783766 B2 JP7783766 B2 JP 7783766B2
- Authority
- JP
- Japan
- Prior art keywords
- failure
- video
- medical
- trigger signal
- fault
- 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
Links
Landscapes
- Endoscopes (AREA)
Description
本発明は、医療画像処理システム及びその作動方法に関する。 The present invention relates to a medical image processing system and its operating method.
内視鏡などの医療装置において、機器の故障等の異常を自動的に検出して、エラーログとして保存するシステムは一般的である。エラーログは異常の種別や発生日時のほか、異常発生時の機器の設定やプログラムの処理状況、モジュール間の通信状況などが記録される。エラーログによって、故障等の異常が発生した事実と、発生状況を把握することができる。エラーログによる故障等の検出では、故障の具体的な内容や故障の発生原因を特定しにくい。そのため、エラーログ以外のデータを用いて具体的な故障の内容を把握することが求められる。 In medical devices such as endoscopes, it is common for systems to automatically detect equipment failures and other anomalies and save them as error logs. Error logs record the type of anomaly, the date and time of occurrence, as well as the device settings, program processing status, and communication status between modules at the time the anomaly occurred. Error logs make it possible to determine the fact that an anomaly such as a failure occurred and the circumstances under which it occurred. However, when detecting failures using error logs, it is difficult to identify the specific nature of the failure or its cause. Therefore, it is necessary to understand the specific nature of the failure using data other than error logs.
具体的には、特許文献1では、機器の作動状態を表す複数の状態信号について検査を行う。状態信号が許容範囲から外れたことを検出し、検出した時刻と起動時からの経過時間、その後の状態を記録する。また、異常の種類を灯火、音声等にて表示する。特許文献2では、機器の運転状態を示すデータから異常を検出し、検出した異常の種類とともに運転状態を記録する。異常が故障と確定されているか否か判断し、故障と確定されていない異常が検出された時に記録されたデータを消去する。 Specifically, in Patent Document 1, multiple status signals that indicate the operating state of the equipment are inspected. When a status signal is detected to be outside of an acceptable range, the time of detection, the time elapsed since startup, and the subsequent state are recorded. The type of abnormality is also indicated by a light, sound, etc. In Patent Document 2, an abnormality is detected from data indicating the operating state of the equipment, and the operating state is recorded along with the type of abnormality detected. A determination is made as to whether the abnormality has been confirmed as a malfunction, and if an abnormality that has not been confirmed as a malfunction is detected, the recorded data is erased.
特許文献1では機器の状態信号を用いて異常検出を行い、特許文献2では、異常が、極端な高負荷のときなどに一時的に発生する、経時的に自己回復する可能性が高いものか、そうでないものであるかの種類を判断する。特許文献1および2では機器の作動状態の信号を取得し、異常の検出、記録及び判定を行い、異常の種類を判断する。外部ノイズなどによる一時的な高負荷など、故障による異常ではないと判断はできても、故障であることの判断や、その原因を特定することは困難である。 Patent Document 1 detects abnormalities using equipment status signals, while Patent Document 2 determines whether the abnormality is one that occurs temporarily during extremely high loads, etc., and is likely to self-recover over time, or one that is not. Patent Documents 1 and 2 acquire signals from the equipment's operating status, detect, record, and determine the type of abnormality, and determine the type of abnormality. While it may be possible to determine that the abnormality is not due to a malfunction, such as a temporary high load caused by external noise, it is difficult to determine that it is a malfunction or identify its cause.
また、内視鏡のようなサイズ制約のある機器では、故障を検知する専用のセンサなどは搭載できない、もしくはコストがかかる。更に、検査結果から得られたデータを全て解析する場合は、ユーザの手間がかかり、効率が悪い。加えて、内視鏡システムにおけるデータ記憶領域の容量が常に十分にあるとは限らず、常時記憶することは非効率である。そのため、通常の検査機器から得られる検査結果から故障の検出、及び外部機器への記録において、効率よく故障内容の確認及び故障原因の特定を行うことが求められる。 Furthermore, with devices that are limited in size, such as endoscopes, it is not possible to install dedicated sensors for detecting faults, or such installations are costly. Furthermore, analyzing all of the data obtained from inspection results requires time and effort from the user, making it inefficient. In addition, the data storage capacity of endoscope systems is not always sufficient, making constant storage inefficient. Therefore, there is a need to efficiently confirm the nature of the fault and identify the cause when detecting faults from inspection results obtained from standard inspection equipment and recording them on external devices.
本発明は、故障を検知する専用センサを用いずに、故障による機器の異常の検出と、故障ごとに検出結果を内視鏡システムに対して外部の機器に記録して故障原因の解析を効率よく行える医療画像処理システム及びその作動方法を提供することを目的とする。 The present invention aims to provide a medical image processing system and its operating method that can detect abnormalities in equipment due to failures without using dedicated sensors to detect failures, and can efficiently analyze the cause of the failure by recording the detection results for each failure in equipment external to the endoscope system.
本発明の医療画像処理システムは、プロセッサを有する外部装置と、内視鏡システムとを備え、プロセッサは、内視鏡システムから内視鏡検査中にリアルタイムの医療動画を取得し、内視鏡システムから医療動画の故障シーンに基づいて作成された故障発生の情報を有するトリガー信号を受信し、医療動画を一時保存し、トリガー信号の受信タイミングに基づいて、一時保存した医療動画から、故障シーンを有する故障動画及び故障静止画の抽出を行い、故障動画及び故障静止画を、外部装置の主記憶領域に保存する。 The medical image processing system of the present invention comprises an external device having a processor and an endoscope system. The processor acquires real-time medical video from the endoscope system during an endoscopic examination, receives a trigger signal from the endoscope system containing information about a failure that has been created based on a failure scene in the medical video, temporarily stores the medical video, and extracts failure videos and failure still images containing the failure scene from the temporarily stored medical video based on the timing of receiving the trigger signal, and stores the failure videos and failure still images in the main memory area of the external device.
内視鏡システムからトリガー信号が埋め込まれた医療動画を取得し、トリガー信号に基づいて、医療動画から、故障動画及び故障静止画の抽出を行うことが好ましい。 It is preferable to acquire medical video with an embedded trigger signal from the endoscope system and extract failure video and failure still images from the medical video based on the trigger signal.
故障検出により故障静止画を作成し、内視鏡システムから故障静止画を取得することが好ましい。 It is preferable to create a fault still image upon fault detection and acquire the fault still image from the endoscope system.
内視鏡システムから故障発生の映像を一定時間フリーズさせた第2医療動画を取得し、第2医療動画を一時保存し、トリガー信号の受信タイミングに基づいて、一時保存した第2医療動画から故障静止画の抽出を行うことが好ましい。 It is preferable to obtain a second medical video from the endoscope system that freezes the video of the malfunction for a certain period of time, temporarily store the second medical video, and extract a still image of the malfunction from the temporarily stored second medical video based on the timing of receiving the trigger signal.
内視鏡システムにおいてユーザによるフリーズ操作で作成された第2トリガー信号を受信し、第2トリガー信号に基づいて、故障動画及び故障静止画の抽出を行うことが好ましい。 It is preferable that the endoscope system receives a second trigger signal created by a freeze operation by the user, and extracts a video and still image of the failure based on the second trigger signal.
第2トリガー信号により抽出された故障静止画及び故障動画を、トリガー信号により抽出された故障静止画及び故障動画に対して視覚的に判別できる加工を行うことが好ましい。 It is preferable to process the failure still images and failure videos extracted in response to the second trigger signal so that they can be visually distinguished from the failure still images and failure videos extracted in response to the trigger signal.
内視鏡検査の開始前に、トリガー信号の受信タイミング及び受信タイミングの前後のシーンを、医療動画から抽出する第1抽出範囲を設定することが好ましい。 Before the endoscopy begins, it is preferable to set a first extraction range that extracts the timing at which the trigger signal is received and the scenes before and after that timing from the medical video.
第1抽出範囲において、トリガー信号の受信タイミングに少なくとも故障動画の記録範囲の確定まで継続する第1制限期間を設定し、第1制限期間において同じ種類の故障であるトリガー信号を受信した場合は、新たな抽出を開始せず、故障情報の取得のみを行うことが好ましい。 In the first extraction range, a first limit period is set at the timing of receiving the trigger signal, which continues at least until the recording range of the fault video is confirmed, and if a trigger signal indicating the same type of fault is received during the first limit period, it is preferable not to start new extraction but to only acquire fault information.
内視鏡検査の開始前に、同じ種類の故障発生の情報を持ち、連続したトリガー信号の範囲を医療動画から抽出する、第2抽出範囲を設定することが好ましい。 Before the endoscopy begins, it is preferable to set a second extraction range that contains information on the occurrence of the same type of fault and extracts a range of continuous trigger signals from the medical video.
内視鏡検査の開始前に、第2抽出範囲に代えて、第2抽出範囲及び第2抽出範囲の前後のシーンを医療動画から抽出する、第3抽出範囲を設定することが好ましい。 Before the endoscopic examination begins, it is preferable to set a third extraction range in place of the second extraction range, which extracts the second extraction range and scenes before and after the second extraction range from the medical video.
第2抽出範囲又は第3抽出範囲において、トリガー信号の受信タイミングに少なくとも故障動画の記録範囲の確定まで継続する第2制限期間を設定し、第2制限期間において同じ種類の故障であるトリガー信号を受信した場合は、新たな抽出を開始せず、故障情報の取得及び抽出範囲の延長を受け付けることが好ましい。 For the second or third extraction range, it is preferable to set a second limit period at the timing of receiving a trigger signal that continues at least until the recording range of the failure video is confirmed, and if a trigger signal indicating the same type of failure is received during the second limit period, not to start new extraction but to accept the acquisition of failure information and the extension of the extraction range.
第2抽出範囲又は第3抽出範囲において、一定時間経過により故障動画の記録範囲を確定させることが好ましい。 It is preferable to determine the recording range of the failure video within the second or third extraction range after a certain period of time has elapsed.
抽出の実行回数に、上限数を設定することが好ましい。 It is recommended to set a limit on the number of times extraction can be performed.
故障動画及び故障静止画の取得時に、医療動画が有する画像情報に含まれる個人情報を、削除又は閲覧できないように加工することが好ましい。 When acquiring failure videos and failure still images, it is preferable to process the personal information contained in the image information contained in the medical video so that it cannot be deleted or viewed.
本発明の医療画像処理システムの作動方法は、プロセッサを有する外部装置と、内視鏡システムとを備え、内視鏡システムから内視鏡検査中にリアルタイムの医療動画を取得するステップと、内視鏡システムから医療動画の故障シーンに基づいて作成された故障発生の情報を有するトリガー信号を取得するステップと、医療動画を一時保存するステップと、トリガー信号の受信タイミングに基づいて、一時保存した医療動画から、故障シーンを有する故障動画及び故障静止画の抽出を行うステップと、故障動画及び故障静止画を、主記憶領域に保存するステップとを有する。 The operating method of the medical image processing system of the present invention includes an external device having a processor and an endoscope system, and includes the steps of acquiring real-time medical video from the endoscope system during an endoscopic examination, acquiring a trigger signal from the endoscope system containing information about a failure that has been created based on a failure scene in the medical video, temporarily saving the medical video, extracting a failure video and a failure still image containing the failure scene from the temporarily saved medical video based on the timing of receiving the trigger signal, and saving the failure video and failure still image in a main memory area.
本発明によれば、故障を検知する専用センサを用いずに、故障による機器の異常の検出と、故障ごとの検出結果を外部機器に記録して故障原因の解析を効率よく行える。 This invention makes it possible to detect equipment abnormalities caused by failures without using dedicated sensors to detect failures, and to efficiently analyze the cause of the failure by recording the detection results for each failure in an external device.
[第1実施形態]
図1は、本発明の実施の形態の内視鏡システム11を有する医療画像処理システム10における構成を示す図である。医療画像処理システム10は、内視鏡システム11と、医療画像処理装置17と、ディスプレイ18と、ユーザインターフェース(UI)19を有し、内視鏡システム11は、内視鏡12と、光源装置13と、プロセッサ装置14と、ディスプレイ15と、ユーザインターフェース(UI)16を有する。プロセッサ装置14は、光源装置13、ディスプレイ15、ユーザインターフェース16、医療画像処理装置17と電気的に接続する。医療画像処理装置17は、ディスプレイ18、ユーザインターフェース19と電気的に接続する。プロセッサ装置14及び医療画像処理装置17には、画像処理などの処理に関するプログラムがプログラム用メモリ(図示しない)に格納されている。医療画像処理装置17は、内視鏡検査により医療動画を撮影する内視鏡システム11に含まれない外部の装置である。
[First embodiment]
FIG. 1 is a diagram showing the configuration of a medical image processing system 10 including an endoscope system 11 according to an embodiment of the present invention. The medical image processing system 10 includes an endoscope system 11, a medical image processing device 17, a display 18, and a user interface (UI) 19. The endoscope system 11 includes an endoscope 12, a light source device 13, a processor device 14, a display 15, and a user interface (UI) 16. The processor device 14 is electrically connected to the light source device 13, the display 15, the user interface 16, and the medical image processing device 17. The medical image processing device 17 is electrically connected to the display 18 and the user interface 19. The processor device 14 and the medical image processing device 17 have programs related to processes such as image processing stored in a program memory (not shown). The medical image processing device 17 is an external device not included in the endoscope system 11 that captures medical videos through endoscopic examinations.
内視鏡12は、細長い形状で、患者の体内に挿入して映像を取得する挿入部12aと、挿入部12aの湾曲や、映像を取得する際のズームなどのユーザ操作、静止画を取得するフリーズ操作を受け付ける操作部12bを有する。フリーズ操作は操作部12bに備わるフリーズボタン12dの押下により実現される。また、挿入部12aの先端には、撮影機能を有し、照明光の照射や処置具の突出を行う先端部12cが備わる。 The endoscope 12 has a long, slender shape and includes an insertion section 12a that is inserted into the patient's body to acquire images, and an operation section 12b that accepts user operations such as bending the insertion section 12a and zooming when acquiring images, as well as a freeze operation to acquire still images. The freeze operation is achieved by pressing a freeze button 12d on the operation section 12b. The tip of the insertion section 12a is also equipped with a tip section 12c that has a photographing function and is used to irradiate illumination light and project treatment tools.
光源装置13は、内視鏡12と光学的に接続し、内視鏡検査において内視鏡12に照明光を供給する。ディスプレイ15は、プロセッサ装置14が取得した画像を表示する。ユーザインターフェース16は、プロセッサ装置14への入力等を行う入力デバイスであり、キーボードやマウス、フットペダル、ジェスチャー認識器、音声認識器などを用いる。ユーザインターフェース16に限らず、内視鏡12のスイッチなど医療機器に備わる入力手段を用いて入力を行ってもよい。なお、画像とは動画、静止画、及び動画を構成するフレーム画像を含む。 The light source device 13 is optically connected to the endoscope 12 and supplies illumination light to the endoscope 12 during endoscopic examination. The display 15 displays images acquired by the processor device 14. The user interface 16 is an input device for inputting data to the processor device 14, and may use a keyboard, mouse, foot pedal, gesture recognizer, voice recognizer, etc. Input may also be made using input means provided on the medical device, such as a switch on the endoscope 12, rather than the user interface 16. Note that images include videos, still images, and frame images that make up videos.
内視鏡検査の撮影において特に指定がない場合は、照明光は白色光を使用し、1秒間に60フレーム(60fps(frame per second))の映像信号を取得し、撮影時間を記録する。また、映像信号が60fpsの場合は100分の1秒単位で時刻を数えることが好ましい。 Unless otherwise specified, white light should be used as illumination when capturing images during an endoscopic examination, and a video signal of 60 frames per second (60 fps) should be acquired and the capture time recorded. Furthermore, if the video signal is 60 fps, it is preferable to count the time in units of 1/100th of a second.
医療画像処理装置17は、プロセッサ装置14とデータの送受信ができる機器であり、医療動画及び故障情報のデータを受信する。医療画像処理装置17では、受信した医療動画の一時保存や、故障情報を用いた故障動画の抽出、及び保存を行う。保存は、内蔵したSSD(Solid State Drive)を用いることが好ましい。SSDの代わりに、USB(Universal Serial Bus)メモリやHDD(Hard Disc Drive)などの記録媒体を用いても良い。 The medical image processing device 17 is a device capable of sending and receiving data to and from the processor device 14, and receives medical video and failure information data. The medical image processing device 17 temporarily stores the received medical video, and extracts and stores failure videos using the failure information. It is preferable to use an internal SSD (Solid State Drive) for storage. Instead of an SSD, recording media such as USB (Universal Serial Bus) memory or HDD (Hard Disc Drive) may also be used.
図2に示すように、プロセッサ装置14においては、画像制御用プロセッサによって構成される中央制御部(図示しない)によって、プログラム用メモリ内のプログラムが動作することで、画像取得部21、入力受信部22、出力制御部23、及び故障特定部25の機能が実現される。また、故障特定部25の機能実現に伴って、故障判定部26と、トリガー信号作成部27と、静止画作成部28との機能が実現される。 As shown in FIG. 2, in the processor device 14, a central control unit (not shown) composed of an image control processor runs programs in program memory, thereby realizing the functions of an image acquisition unit 21, an input receiving unit 22, an output control unit 23, and a fault identification unit 25. Furthermore, with the realization of the function of the fault identification unit 25, the functions of a fault determination unit 26, a trigger signal creation unit 27, and a still image creation unit 28 are also realized.
プロセッサ装置14は、内視鏡12がリアルタイムで撮影した医療動画や静止画を取得し、故障検出処理及びディスプレイ15への表示を行う。また、故障検出処理により検出した故障の種類などの故障情報を有するトリガー信号を医療画像処理装置17に送信する。 The processor device 14 acquires medical videos and still images captured in real time by the endoscope 12, performs fault detection processing, and displays the images on the display 15. It also transmits a trigger signal containing fault information, such as the type of fault detected by the fault detection processing, to the medical image processing device 17.
画像取得部21は、内視鏡12が撮影した医療動画などのデータを受信する。取得した医療動画は、出力制御部23及び故障特定部25に送信する。入力受信部22は、ユーザインターフェース16と接続する。出力制御部23は、医療動画をディスプレイ15に表示させる制御及び医療動画を医療画像処理装置17に送信する制御を行う。 The image acquisition unit 21 receives data such as medical videos captured by the endoscope 12. The acquired medical videos are sent to the output control unit 23 and the fault identification unit 25. The input receiving unit 22 is connected to the user interface 16. The output control unit 23 controls the display of the medical videos on the display 15 and the transmission of the medical videos to the medical image processing device 17.
図3に示すように、医療画像処理装置17においては、画像制御用プロセッサによって構成される中央制御部(図示しない)によって、プログラム用メモリ内のプログラムが動作することで、データ取得部31、入力受信部32、出力制御部33、主記憶領域34、故障動画抽出部35の機能が実現される。また、故障動画抽出部35の機能実現に伴って、抽出範囲設定部36と、モード制御部37と、一時保存部38と、抽出部39と、選別部41との機能が実現される。更に抽出部39では、画像情報管理部40の機能が含まれ、選別部41では、選別用一時保存部42と、重要度算出部43の機能が含まれる。 As shown in FIG. 3, in the medical image processing device 17, a central control unit (not shown) consisting of an image control processor runs programs in the program memory, thereby realizing the functions of a data acquisition unit 31, input receiving unit 32, output control unit 33, main memory area 34, and failure video extraction unit 35. Furthermore, with the realization of the function of the failure video extraction unit 35, the functions of an extraction range setting unit 36, mode control unit 37, temporary storage unit 38, extraction unit 39, and selection unit 41 are also realized. Furthermore, the extraction unit 39 includes the functions of an image information management unit 40, and the selection unit 41 includes the functions of a temporary storage unit for selection 42 and importance calculation unit 43.
プロセッサ装置14で行われる故障検出処理及びトリガー信号の作成について説明する。故障判定部26では、内視鏡12で撮影した医療動画に対して故障検出処理を行い、内視鏡12の故障の有無の検出や、故障の種類の判定が行われる。トリガー信号作成部27では、故障判定部26で判定した、故障を有するフレーム画像の情報や、故障情報を有し、医療画像処理装置17に抽出処理を開始させるトリガー機能を持つトリガー信号を作成する。 The following describes the fault detection process and trigger signal generation performed by the processor device 14. The fault determination unit 26 performs fault detection processing on the medical video captured by the endoscope 12, detecting whether or not there is a fault in the endoscope 12 and determining the type of fault. The trigger signal generation unit 27 generates a trigger signal that contains information about frame images with faults determined by the fault determination unit 26 and fault information, and has a trigger function that causes the medical image processing device 17 to start extraction processing.
故障判定部26は、内視鏡検査中にリアルタイムで故障検出処理を行う。内視鏡検査が開始すると、画像取得部21は、1枚又は少数ずつのフレーム画像を受信し、故障特定部25に入力する。故障特定部25に入力されたフレーム画像は、故障判定部26で順次に、故障検出処理が行われ、故障シーンが検出される。 The fault determination unit 26 performs fault detection processing in real time during the endoscopic examination. When the endoscopic examination begins, the image acquisition unit 21 receives one or a small number of frame images and inputs them to the fault identification unit 25. The frame images input to the fault identification unit 25 are sequentially subjected to fault detection processing by the fault determination unit 26, and fault scenes are detected.
図4に示すように、生体内を撮影し、時間的に連続する医療動画50に対する故障検出処理について説明する。故障判定部26では、医療動画50を構成する各フレームの種類に対して故障検出処理により分類が行われる。図4(A)は、医療動画50を構成する、時間的に連続したフレーム画像群の一部を示しており、故障検出処理では、故障の無い正常フレーム画像51と、故障による異常を有する故障フレーム画像52、及び異常ではあるが故障ではない無故障異常フレーム画像53のいずれかに振り分けられる。振り分けにより、故障フレーム画像52の情報はトリガー信号として、医療画像処理装置17に送信される。なお、プロセッサ装置14が取得する医療動画50は、動画ファイルではなく、リアルタイムで撮影中のフレーム画像群である。 As shown in Figure 4, the fault detection process for a temporally continuous medical video 50 captured inside a living body will be described. The fault determination unit 26 classifies the type of each frame that makes up the medical video 50 using the fault detection process. Figure 4 (A) shows a portion of the temporally continuous frame image group that makes up the medical video 50, and the fault detection process sorts them into one of three types: normal frame image 51 with no faults, fault frame image 52 with an abnormality due to a fault, and fault-free abnormal frame image 53 with an abnormality but not a fault. After sorting, information about the fault frame image 52 is sent to the medical image processing device 17 as a trigger signal. Note that the medical video 50 acquired by the processor device 14 is not a video file, but a group of frame images being captured in real time.
図4(B)は、図4(A)と同じフレーム画像群であり、各矩形は1枚のフレーム画像を表す。故障検出処理により、医療動画50における同一の故障である、複数の故障フレーム画像52で構成される故障シーンが特定される。すなわち、故障の種類や画像に映る特徴が同じであり、かつ連続する故障フレーム画像52を1つの故障である故障シーンが判別される。図4(B)では、連続する3フレームを故障シーンとしているが、実際の故障シーンを構成するフレーム画像の数は数十枚以上であり、膨大となる。また、連続ではなく1フレームのみの故障フレーム画像52も故障シーンとして判別される。なお、完全に連続ではなく、一定以上、例えば8割以上の頻度で検出された同じ故障の故障フレーム画像52を1つの故障シーンであると判断してもよい。後述する故障動画の抽出処理は、故障シーンごとに行われ、故障シーンにおける最初の故障フレーム画像52は、トリガー信号によりトリガー信号受信タイミングであり、抽出処理の際の起点となる。 Figure 4(B) shows the same group of frame images as Figure 4(A), with each rectangle representing a single frame image. The fault detection process identifies a fault scene consisting of multiple fault frame images 52 representing the same fault in the medical video 50. That is, consecutive fault frame images 52 with the same type of fault and the same image characteristics are identified as a single fault scene. In Figure 4(B), three consecutive frames are considered a fault scene, but an actual fault scene typically consists of dozens of frames, making it a huge number. A single, non-consecutive fault frame image 52 can also be identified as a fault scene. It is also possible to determine that a single fault frame image 52 is a single fault scene if it is not completely consecutive, but is detected with a frequency of at least a certain percentage, for example, 80% or more. The fault video extraction process, described below, is performed for each fault scene. The first fault frame image 52 in a fault scene is the trigger signal reception timing, and serves as the starting point for the extraction process.
故障検出処理では、取得した医療動画50におけるフレーム画像から故障フレーム画像52を検出する故障検出と、故障フレーム画像52に対し、「断線」や「スコープ汚れ」、「レンズの損傷」などの故障の種類の判定する故障判定を行う。判定結果は、トリガー信号作成部27に送信する。 The fault detection process involves detecting faulty frame images 52 from the frame images in the acquired medical video 50, and then performing fault judgment on the faulty frame images 52 to determine the type of fault, such as "disconnection," "scope contamination," or "lens damage." The judgment result is sent to the trigger signal creation unit 27.
図5に示すように、故障検出処理により分類されたフレーム画像はそれぞれ異なる特徴を有する。図5(A)に示すように、正常フレーム画像51は、異常が検出されなかったフレーム画像である。図5(B)に示すように、故障フレーム画像52は、「断線」により、画像内に縦線や横線が走った断線Cが映る状態や、「スコープ汚れ」により観察対象に関わらず画像上の一部が塗りつぶされ、非病変異常領域Tが含まれる状態などの、内視鏡12の故障が検出されたフレーム画像である。また、図5(C)に示すように、無故障異常フレーム画像53は、「外部ノイズ」により一部又は全体が映らない状態や、重度の「病変」として病変領域Rが画像に映った状態などの異常ではあるが無故障のフレーム画像である。無故障異常フレーム画像53は、抽出処理においては、正常フレーム画像51と同様に扱う。 As shown in Figure 5, the frame images classified by the fault detection process each have different characteristics. As shown in Figure 5(A), normal frame image 51 is a frame image in which no abnormality was detected. As shown in Figure 5(B), fault frame image 52 is a frame image in which a fault of the endoscope 12 was detected, such as a state in which a "break" causes a break C, which is a vertical or horizontal line running through the image, or a state in which a portion of the image is filled in regardless of the observation target due to "scope dirt," and a non-lesion abnormal region T is included. Furthermore, as shown in Figure 5(C), fault-free abnormal frame image 53 is a frame image that is abnormal but fault-free, such as a state in which part or all of the image is not visible due to "external noise," or a state in which a lesion region R is visible in the image as a severe "lesion." Fault-free abnormal frame image 53 is treated in the same way as normal frame image 51 during the extraction process.
故障検出処理は、例えば故障検出処理に必要な学習済みモデルの機能を用いて実行される。すなわち、故障判定部26は、機械学習を行うニューラルネットワークからなるコンピュータアルゴリズムを有し、学習内容に応じて入力された医療動画50のフレーム画像ごとの故障の有無の検出や、故障を有する場合に故障の種類の判定に対する具体的な推論を行う。推論結果は、フレーム画像の分類結果や故障の種類に加え、あらかじめ学習していた学習内容との一致率などの情報も取得することが好ましい。 The fault detection process is performed, for example, using the functions of the trained model required for the fault detection process. That is, the fault determination unit 26 has a computer algorithm consisting of a neural network that performs machine learning, and performs specific inferences to detect the presence or absence of a fault for each frame image of the input medical video 50 according to the learning content, and to determine the type of fault if a fault is present. In addition to the frame image classification results and type of fault, it is preferable to obtain information such as the degree of match with the previously learned learning content as the inference results.
トリガー信号作成部27では、検出された故障フレーム画像52ごとに、故障情報と、トリガー機能を有するトリガー信号を作成する。故障情報は、故障フレーム画像52の故障の種類、故障の規模、連続する故障フレーム画像52と構成する故障シーンなどの情報であり、トリガー機能は、医療画像処理装置17において医療動画50から故障動画の抽出処理を開始するトリガーである。故障検出処理およびトリガー信号作成は、リアルタイムで行われるため、トリガー信号は、故障フレーム画像52の検出と連動して作成される。作成されたトリガー信号は、出力制御部23を介して医療画像処理装置17に送信される。 The trigger signal creation unit 27 creates failure information and a trigger signal with a trigger function for each detected failure frame image 52. The failure information includes information such as the type of failure in the failure frame image 52, the scale of the failure, and the failure scene formed by consecutive failure frame images 52, and the trigger function is a trigger that starts the process of extracting a failure video from the medical video 50 in the medical image processing device 17. Because the failure detection process and trigger signal creation are performed in real time, the trigger signal is created in conjunction with the detection of the failure frame image 52. The created trigger signal is sent to the medical image processing device 17 via the output control unit 23.
静止画作成部28では、故障検出処理により検出された故障フレーム画像52の静止画である故障静止画を作成する。故障静止画は、トリガー信号と同時に作成されることが好ましい。作成された故障静止画は、出力制御部23を介して医療画像処理装置17に送信される。なお、連続且つ同じ種類の故障である故障フレーム画像52から作成する故障静止画は最初の1枚のみの作成でもよい。 The still image creation unit 28 creates a failure still image, which is a still image of the failure frame image 52 detected by the failure detection process. The failure still image is preferably created simultaneously with the trigger signal. The created failure still image is transmitted to the medical image processing device 17 via the output control unit 23. Note that only the first failure still image may be created from failure frame images 52 that are consecutive and of the same type of failure.
図6に示すように、プロセッサ装置14の出力制御部23を介して、ディスプレイ15には医療動画50が、医療画像処理装置17には医療動画50及びトリガー信号が伝達される。データの伝達は、有線で行ってもよいし、無線で行ってもよい。有線の場合、映像伝送線としてDVI(Digital Visual Interface)を使用して医療動画50の送信及びトリガー伝送線としてRS232c(Recommended Standard 232 version C)を使用してトリガー信号の送信、又はUSBケーブルを用いて医療画像処理装置17に医療動画50及びトリガー信号の送信をしてもよい。医療画像処理装置17に伝達されたデータは、データ取得部31で受信する。なお、ディスプレイ15及び医療画像処理装置17に送信される医療動画50は同一のものであるため、ディスプレイ15を中継して医療画像処理装置17に送信してもよい。 As shown in FIG. 6 , the medical video 50 is transmitted to the display 15, and the medical video 50 and trigger signal are transmitted to the medical image processing device 17 via the output control unit 23 of the processor device 14. Data transmission may be wired or wireless. In the wired case, the medical video 50 may be transmitted using a DVI (Digital Visual Interface) as the video transmission line, and the trigger signal may be transmitted using RS232c (Recommended Standard 232 version C) as the trigger transmission line, or the medical video 50 and trigger signal may be transmitted to the medical image processing device 17 using a USB cable. The data transmitted to the medical image processing device 17 is received by the data acquisition unit 31. Note that the medical video 50 transmitted to the display 15 and the medical image processing device 17 is the same, so it may be transmitted to the medical image processing device 17 via the display 15.
医療動画50は、リアルタイムで撮影したものであるため、常時データの伝達が行われるが、トリガー信号は、故障が検出された場合のみ作成及び伝達される。医療画像処理装置17に伝達される医療動画50は故障情報を有していないため、医療画像処理装置17ではトリガー信号と照合することにより、故障フレーム画像52が特定される。 Since the medical video 50 is captured in real time, data is constantly transmitted, but the trigger signal is only created and transmitted when a failure is detected. Because the medical video 50 transmitted to the medical image processing device 17 does not contain failure information, the medical image processing device 17 compares it with the trigger signal to identify the failure frame image 52.
図7に示すように、内視鏡システム11を構成するディスプレイ15は医療動画50を再生し、撮影内容が確認できる画像表示領域60と、再生する医療動画50の画像情報を表示する画像情報表示欄61を表示する。内視鏡検査中の画像表示領域60はリアルタイム再生を行い、画像情報表示欄61に表示する画像情報は、例えば、患者ID62、患者氏名63、内視鏡種類、操作履歴などがある。図7において、患者ID62は「□□□□」、患者名は「△△△△」、内視鏡種類は「上部消化管内視鏡」とする。また、操作履歴は、内視鏡12における操作部12bの操作を行った履歴を新しい順に表示することが好ましい。例えば、最も新しい操作は「湾曲」操作、2番目に新しい操作は「ズーム」操作、3番目に新しい操作は「フリーズ」操作という形式で表示することが好ましい。 As shown in FIG. 7, the display 15 that constitutes the endoscope system 11 plays back the medical video 50 and displays an image display area 60 where the captured content can be confirmed, and an image information display field 61 where image information of the medical video 50 being played back is displayed. The image display area 60 performs real-time playback during an endoscopic examination, and the image information displayed in the image information display field 61 includes, for example, a patient ID 62, patient name 63, endoscope type, and operation history. In FIG. 7, the patient ID 62 is "□□□□", the patient name is "△△△△", and the endoscope type is "upper gastrointestinal endoscope". Furthermore, the operation history is preferably displayed in reverse chronological order, displaying the history of operations performed on the operation unit 12b of the endoscope 12. For example, it is preferable to display the most recent operation as the "bend" operation, the second most recent operation as the "zoom" operation, and the third most recent operation as the "freeze" operation.
内視鏡システム11に対する外部装置の医療画像処理装置17は、プロセッサ装置14からリアルタイム受信した医療動画50及びトリガー信号に基づいて故障動画の抽出及び保存を行う。医療画像処理装置17は、内視鏡システム11から内視鏡検査中にリアルタイムの医療動画50を受信し、医療画像処理装置に一時保存部38に取得した医療動画50を一時保存し、内視鏡システムが作成した、抽出を開始させるトリガー機能、及び故障シーンに基づいて作成された故障情報を有するトリガー信号を受信し、抽出部39ではトリガー信号の受信に基づいて、一時保存した医療動画50から故障シーンを有する故障動画を抽出する。抽出した故障動画は、主記憶領域34に保存する。また、医療画像処理装置17は、静止画作成部28で作成された故障静止画も取得する。 The medical image processing device 17, an external device to the endoscope system 11, extracts and saves failure videos based on the medical videos 50 and trigger signals received in real time from the processor device 14. The medical image processing device 17 receives real-time medical videos 50 from the endoscope system 11 during an endoscopic examination, temporarily stores the acquired medical videos 50 in the temporary storage unit 38 of the medical image processing device, and receives a trigger signal created by the endoscope system containing a trigger function that starts extraction and failure information created based on the failure scene. Based on the received trigger signal, the extraction unit 39 extracts failure videos containing failure scenes from the temporarily saved medical videos 50. The extracted failure videos are saved in the main memory area 34. The medical image processing device 17 also acquires failure still images created by the still image creation unit 28.
トリガー信号の受信は医療動画50の受信と非同期であるため、トリガー信号と、トリガー信号に対応する故障フレーム画像52を医療画像処理装置17が取得するタイミングは誤差が生じる。トリガー信号は、医療動画50から検出された情報により作成されるため、医療動画50の対応するフレームよりも遅延しやすい。そのため、誤差を含めて抽出を行うことが好ましい。 Because the trigger signal is received asynchronously with the medical video 50, there is an error in the timing between the trigger signal and the acquisition by the medical image processing device 17 of the failure frame image 52 corresponding to the trigger signal. Because the trigger signal is created based on information detected from the medical video 50, it is likely to be delayed compared to the corresponding frame of the medical video 50. Therefore, it is preferable to perform extraction including this error.
抽出範囲設定部36では、故障動画を抽出する際の抽出範囲を内視鏡検査の開始前に設定する。抽出部39は、トリガー信号の受信に応じて、設定された第1~第3抽出範囲のいずれかの抽出範囲に従って抽出処理が実行される。トリガー機能における抽出の開始タイミングは、医療画像処理装置17におけるトリガー信号の受信タイミングの情報により決定し、トリガー信号の受信タイミングを基準に、医療動画50から時系列で前後のシーンを含む故障動画を抽出することが好ましい。 The extraction range setting unit 36 sets the extraction range for extracting the failure video before the endoscopic examination begins. In response to receiving a trigger signal, the extraction unit 39 executes the extraction process according to one of the set first to third extraction ranges. The start timing of extraction in the trigger function is determined by information on the reception timing of the trigger signal in the medical image processing device 17, and it is preferable to extract the failure video, including scenes before and after the trigger signal, from the medical video 50 in chronological order based on the reception timing of the trigger signal.
抽出処理は、抽出範囲設定部36で設定された、抽出範囲に基づいて実行する。第1抽出範囲は、トリガー信号の受信タイミングを基準に、前後のシーンとして前後n秒ずつの範囲における連続する複数のフレーム画像群を抽出する。第2抽出範囲では、故障の種類が同じであるトリガー信号が連続する範囲を抽出する。第3抽出範囲では、第2抽出範囲とその前後n秒ずつである一定期間の範囲における連続するフレーム画像を抽出する。故障動画の記録時間の統一や短縮をする場合は第1抽出範囲に設定し、大量の故障動画同士を比較する場合は第2抽出範囲に設定し、故障シーンと正常なシーンとの比較をする場合は第3抽出範囲に設定することが好ましい。 The extraction process is performed based on the extraction range set by the extraction range setting unit 36. The first extraction range extracts a group of consecutive frame images within a range of n seconds before and after the trigger signal reception timing as scenes before and after the trigger signal. The second extraction range extracts a range in which trigger signals of the same type of fault occur consecutively. The third extraction range extracts consecutive frame images within a certain range of n seconds before and after the second extraction range. It is preferable to set the first extraction range when standardizing or shortening the recording time of fault videos, the second extraction range when comparing a large number of fault videos, and the third extraction range when comparing fault scenes with normal scenes.
第1抽出範囲及び第3抽出範囲における前後n秒ずつの一定期間は、例えば3秒(n=3)や5秒(n=5)ずつなど、故障発生前後の正常フレーム画像51と比較ができ、かつストレージを圧迫しない程度であることが好ましい。また、故障検出処理で判定した、故障の種類、故障の持続時間、フレーム画像内の故障による異常部位の平均面積をもとに正常フレーム画像51の抽出範囲を決定することが好ましい。例えば、持続時間が長い故障シーンや、故障の種類が「断線」である故障シーンでは、n秒の値、すなわち抽出する故障動画の範囲を長くする。 The fixed period of n seconds before and after the first extraction range and the third extraction range is preferably, for example, 3 seconds (n=3) or 5 seconds (n=5), which allows for comparison with normal frame images 51 before and after the occurrence of a fault, without placing a strain on storage. It is also preferable to determine the extraction range of normal frame images 51 based on the type of fault, the duration of the fault, and the average area of the abnormal area caused by the fault in the frame image, as determined by the fault detection process. For example, for fault scenes with a long duration or where the type of fault is a "disconnection," the value of n seconds, i.e., the range of fault videos to be extracted, is increased.
第2抽出範囲及び第3抽出範囲の場合は、故障動画ごとの記録範囲の上限をあらかじめ設定する。故障が一時的ではなく自己回復しない場合や、自己回復に時間がかかる場合などに、一定時間経過によって故障動画の記録範囲を確定させる。例えば、故障シーンが5秒間検出されたらその時点を抽出する故障動画の終端とする。5秒間に限らず、10秒間や30秒間でもよい。 For the second and third extraction ranges, the upper limit of the recording range for each failure video is set in advance. In cases where the failure is not temporary and will not self-recover, or where self-recovery takes time, the recording range for the failure video is determined after a certain period of time has passed. For example, if a failure scene is detected for 5 seconds, that point in time will be the end of the failure video to be extracted. It does not have to be 5 seconds, but could be 10 seconds or 30 seconds.
モード制御部37では、故障動画の抽出及び保存に関する制御を行う。モード制御部37では、通常モード又は保存モードに設定され、保存モードでは、医療動画50から故障動画を抽出及び保存する際の条件及び方法によって更に第1~第4保存モードのいずれかに分類する。保存モードの設定は、内視鏡検査前にあらかじめ設定されることが好ましい。通常モードでは、取得した医療動画50をディスプレイ15またはディスプレイ18にリアルタイム表示及び、医療画像処理装置17の主記憶領域34への保存を行う。 The mode control unit 37 controls the extraction and storage of failure videos. The mode control unit 37 is set to normal mode or storage mode, and in storage mode, it further classifies the mode into one of first to fourth storage modes depending on the conditions and method used to extract and store failure videos from the medical video 50. The storage mode is preferably set in advance before the endoscopic examination. In normal mode, the acquired medical video 50 is displayed in real time on the display 15 or display 18 and stored in the main memory area 34 of the medical image processing device 17.
第1保存モードでは、抽出した故障動画を選別せず、全て主記憶領域34に保存する。第2~第4保存モードは、抽出した故障動画を選別部41に送信し、選別用一時保存部42を介して一時記憶領域に一時保存し、主記憶領域34に保存する故障動画の選別を行う。第2保存モードは故障の種類及び故障検出の順番に基づいて選別し、第3保存モードは故障の種類及び故障の重要度に基づいて選別し、第4保存モードは、ユーザ選択により選別する。各保存モードのおける抽出や選別における詳細は後述する。 In the first storage mode, the extracted failure videos are not selected and are all saved in the main memory area 34. In the second to fourth storage modes, the extracted failure videos are sent to the selection unit 41, temporarily saved in the temporary memory area via the temporary storage unit for selection 42, and the failure videos to be saved in the main memory area 34 are selected. In the second storage mode, selection is based on the type of failure and the order of failure detection, in the third storage mode, selection is based on the type of failure and the severity of the failure, and in the fourth storage mode, selection is based on user selection. Details of extraction and selection in each storage mode will be described later.
一時保存部38では、プロセッサ装置14から伝達される、医療動画50のリアルタイム映像を一時保存領域に保存する。一時保存領域は、揮発性メモリ又は不揮発性メモリに形成され、不揮発性メモリである場合は、主記憶領域34と物理的に同一であってもよい。なお、医療検査全体を記録する医療動画50は一時保存のみで、主記憶領域34に保存しなくてもよい。 The temporary storage unit 38 stores the real-time images of the medical video 50 transmitted from the processor device 14 in a temporary storage area. The temporary storage area is formed in volatile or non-volatile memory, and if it is non-volatile memory, it may be physically the same as the main memory area 34. Note that the medical video 50, which records the entire medical examination, may only be stored temporarily and does not need to be stored in the main memory area 34.
抽出部39では、データ取得部31から受信したトリガー信号が伝達され、トリガー信号に基づいて故障動画として抽出するフレーム画像群を一時保存部38から取得する。トリガー信号が有する故障情報に対応するフレーム画像の照合、すなわち一時保存した医療動画50における故障フレーム画像52を特定する。トリガー信号及び抽出範囲の設定に従って、医療動画50から故障動画を抽出する。故障動画は、トリガー信号の情報を保持することが好ましい。 The extraction unit 39 receives the trigger signal received from the data acquisition unit 31 and acquires from the temporary storage unit 38 a group of frame images to be extracted as a failure video based on the trigger signal. It matches the frame images corresponding to the failure information contained in the trigger signal, i.e., identifies the failure frame images 52 in the temporarily stored medical video 50. It extracts the failure video from the medical video 50 in accordance with the trigger signal and the extraction range settings. It is preferable that the failure video retains trigger signal information.
トリガー信号は、故障フレーム画像52が検出されるたびに伝達されるため、各故障シーンにおいて大量に受信する。同一の故障シーンにおける故障フレーム画像52ごとの故障動画の作成、すなわち同一故障シーンの故障動画は、重複して取得する必要はなく、取得する場合は抽出処理の量が膨大になり、記憶領域の容量を圧迫する。そのため、故障動画の抽出を開始した場合、同一の故障シーンにおける抽出開始は制限することが好ましい。 Since the trigger signal is transmitted each time a failure frame image 52 is detected, a large number of trigger signals are received for each failure scene. Creating a failure video for each failure frame image 52 in the same failure scene, i.e., acquiring failure videos of the same failure scene, does not need to be duplicated; if it is acquired, the amount of extraction processing will be enormous, putting pressure on storage capacity. Therefore, when starting to extract failure videos, it is preferable to limit the start of extraction for the same failure scene.
抽出処理では、トリガー信号の受信後に、新たな抽出処理を開始しないトリガー機能に対する制限期間を一定期間設定し、制限期間にトリガー信号を受信した場合、トリガー機能は実現せず、故障フレーム画像52の故障情報を受け取り、医療動画50と照合する。トリガー機能による故障動画の故障動画の抽出は、制限期間の終了後に再び実現する。制限期間は、トリガー信号の受信直後に開始し、抽出範囲の終端と同じか、終端から一定秒数経過後に終了する。 During the extraction process, a certain period of time is set as a limit for the trigger function, which does not start a new extraction process after receiving a trigger signal. If a trigger signal is received during the limit period, the trigger function is not activated, and the failure information of the failure frame image 52 is received and compared with the medical video 50. Extraction of the failure video using the trigger function is activated again after the limit period ends. The limit period begins immediately after receiving the trigger signal and ends at the same time as the end of the extraction range or a certain number of seconds after the end.
図8に示すように、第1抽出範囲の場合の抽出処理では、トリガー機能の制限期間として第1制限期間を設定する。第1制限期間では、受信したトリガー信号から故障情報の取得のみを行う。第1抽出範囲の終了であるトリガー信号の受信タイミングのn秒後までの期間または抽出範囲終了以降に第1制限期間を終了する。 As shown in Figure 8, in the extraction process for the first extraction range, a first limit period is set as the limit period for the trigger function. During the first limit period, only failure information is acquired from the received trigger signal. The first limit period ends n seconds after the timing of receiving the trigger signal, which is the end of the first extraction range, or after the end of the extraction range.
図9及び図10に示すように、第2抽出範囲及び第3抽出範囲の場合の抽出処理では、トリガー機能の制限期間として第2制限期間を設定する。第2制限期間では、同じ種類の故障に対して新たな抽出は開始しないが、トリガー信号から故障情報を取得し、連続かつ故障の種類が同じであるトリガー信号の受信により抽出範囲の延長を受け付ける。抽出範囲の確定と同時、または抽出範囲の確定以降に第2制限期間を終了する。同じ種類かつ連続するトリガー信号を受信し続けるほど第2制限期間は長くなる。 As shown in Figures 9 and 10, in the extraction process for the second and third extraction ranges, a second limit period is set as the limit period for the trigger function. During the second limit period, new extraction is not initiated for the same type of fault, but fault information is obtained from the trigger signal, and the extraction range is extended when consecutive trigger signals of the same type are received. The second limit period ends simultaneously with or after the extraction range is determined. The longer consecutive trigger signals of the same type are received, the longer the second limit period becomes.
画像情報管理部40では、医療動画50が有する画像情報と、トリガー信号から取得した故障情報を管理する。故障情報は、故障フレーム画像52の非病変異常領域Tなどの故障の状態に関する情報であり、抽出した故障動画54に紐づける。故障情報は、例えばトリガー信号受信タイミング、故障の種類、故障による非病変異常領域Tの面積、故障シーンの持続時間などである。 The image information management unit 40 manages the image information contained in the medical video 50 and the fault information obtained from the trigger signal. The fault information is information relating to the state of the fault, such as the non-lesion abnormal region T in the fault frame image 52, and is linked to the extracted fault video 54. The fault information includes, for example, the timing of receiving the trigger signal, the type of fault, the area of the non-lesion abnormal region T caused by the fault, and the duration of the fault scene.
抽出処理では、故障動画の抽出に加えて、故障情報以外の画像情報の編集も実施する。故障動画54は、内視鏡12の故障の解析に用いられるが、解析を担当するのは内視鏡12のユーザではなく、医療機器メーカーのサービスマンである。そのため、医療動画50の画像情報に含まれる患者情報は故障動画54からは得られないようにする必要がある。画像情報管理部40では、抽出処理の際に、医療動画50に記録された患者ID62や患者氏名63などの患者情報に対する削除又は閲覧できないように加工を行う。加工は、文字の塗り潰しなどのマスク処理、文字のモザイク化などを行う。 In addition to extracting the failure video, the extraction process also edits image information other than the failure information. The failure video 54 is used to analyze the failure of the endoscope 12, but the analysis is performed by a service technician from the medical device manufacturer, not the user of the endoscope 12. For this reason, it is necessary to ensure that the patient information contained in the image information of the medical video 50 cannot be obtained from the failure video 54. During the extraction process, the image information management unit 40 processes patient information such as the patient ID 62 and patient name 63 recorded in the medical video 50 so that it cannot be deleted or viewed. Processing includes masking, such as filling in text, and pixelating text.
内視鏡検査を行ったユーザが故障動画54を閲覧や解析を行う場合でも、病院のネットワーク外で扱うデータを作成する場合は、患者情報は残さないようにする。また、故障フレーム画像52に病変領域Rが含まれる場合に、検出された病変名などの疾病情報も患者情報として扱う。そのため、病変情報も抽出処理の際に削除又は閲覧できないように加工を行う。 Even if the user who performed the endoscopic examination views or analyzes the failure video 54, if the data is created to be handled outside the hospital network, patient information is not retained. Furthermore, if the failure frame image 52 contains a lesion area R, disease information such as the name of the detected lesion is also treated as patient information. For this reason, the lesion information is also deleted or processed so that it cannot be viewed during the extraction process.
医療動画50から大量の故障シーンを検出した場合、抽出処理や選別処理に時間がかかり、故障動画54の取得や確認までに時間かかる。そのため、故障動画54の抽出の実行回数の上限数を設けることが好ましい。上限数を設ける場合は、故障の検出が5回や10回などの設定した回数に達すると抽出を停止する。例えば、上限数が5回に設定された場合、故障動画54が抽出された後は、故障フレーム画像52が検出されても、抽出を実行しない。上限数到達後は、具体的には、トリガー機能の制限期間を無制限に設定し、トリガー信号自体を受け付けなくする、またはモード制御部で保存モードから通常モードに切り替えて、故障検出処理を終了するという方法がある。また、故障の種類ごとに上限数を設定してもよい。なお、上限回数を1回に設定し、内視鏡12が故障を有するか否かを判別してもよい。 When a large number of failure scenes are detected from medical videos 50, the extraction and sorting processes take time, and it takes time to acquire and confirm failure videos 54. For this reason, it is preferable to set an upper limit on the number of times failure videos 54 can be extracted. If an upper limit is set, extraction stops when a set number of failures, such as five or ten, is detected. For example, if the upper limit is set to five, extraction will not be performed even if a failure frame image 52 is detected after a failure video 54 has been extracted. After the upper limit is reached, specific methods include setting the trigger function limit period to unlimited so that trigger signals themselves are not accepted, or switching from storage mode to normal mode in the mode control unit to end the failure detection process. Additionally, an upper limit may be set for each type of failure. Alternatively, the upper limit may be set to one time and a determination may be made as to whether or not the endoscope 12 has a failure.
保存モードが第1保存モードである場合は、選別は非実施であるため、抽出部39で抽出した故障動画54は、主記憶領域34に保存される。第2保存モード~第4保存モードである場合は、保存する故障動画54の選別を実施するため、抽出部39から選別部41に故障動画54を送信し、選別用一時保存部42に一時保存する。 When the storage mode is the first storage mode, selection is not performed, and the failure videos 54 extracted by the extraction unit 39 are stored in the main memory area 34. When the storage mode is the second to fourth storage modes, the failure videos 54 to be stored are selected, and the failure videos 54 are sent from the extraction unit 39 to the selection unit 41, where they are temporarily stored in the temporary storage unit for selection 42.
選別部41では、第2~第4保存モードのそれぞれが規定する選別基準により、故障動画54の選別を行う。選別を実施することで故障原因の解析に有益である可能性が高い故障シーンの絞り込みができる。選別は、故障動画54の故障シーンや故障情報同士の比較、または各保存モードで定めた基準を満たす故障シーンであるかの判断の少なくともいずれかが行われる。 The selection unit 41 selects the failure videos 54 according to the selection criteria defined for each of the second to fourth storage modes. This selection narrows down the failure scenes that are likely to be useful in analyzing the cause of the failure. Selection is performed by comparing the failure scenes and failure information in the failure videos 54, or by determining whether the failure scenes meet the criteria defined for each storage mode.
選別用一時保存部42は、選別処理を行う場合に、選別処理実施前の各故障動画54を一時保存する。選別は、抽出処理が終了し、故障動画54が全て一時保存されてから実施されることが好ましい。一時保存は、選別用一時保存部42を介して医療画像処理装置17内の揮発性メモリまたは不揮発性メモリである一時記憶領域(図示しない)に保存することで実現される。一時保存領域が不揮発性メモリである場合は、主記憶領域34と物理的に同一の領域に一時保存してもよい。 When performing the selection process, the temporary storage unit for selection 42 temporarily stores each failure video 54 before the selection process is performed. It is preferable that selection be performed after the extraction process is completed and all failure videos 54 have been temporarily stored. Temporary storage is achieved by storing the videos in a temporary storage area (not shown) that is volatile memory or non-volatile memory within the medical image processing device 17 via the temporary storage unit for selection 42. If the temporary storage area is non-volatile memory, the videos may be temporarily stored in the same physical area as the main storage area 34.
重要度算出部43では、各故障動画54の重要度を算出する。重要度の表し方は、例えばパーセンテージ(%)や段階的な評価(高、中、低)などである。重要度が高い故障動画54であるほど、故障の解析などに有益である可能性が高くなる。重要度を算出するための故障情報は、トリガー信号の故障情報を記憶する画像情報管理部40で取得する。 The importance calculation unit 43 calculates the importance of each failure video 54. The importance can be expressed, for example, as a percentage (%) or a graded rating (high, medium, low). The more important a failure video 54 is, the more likely it is to be useful for failure analysis, etc. The failure information used to calculate the importance is obtained by the image information management unit 40, which stores failure information for trigger signals.
重要度は、トリガー信号受信タイミングの順番、故障の種類、故障発生の頻度、故障重篤度、故障検出の確信度、故障の視認性、影響度、内視鏡12の種類の少なくともいずれかを用いて算出される。故障の重篤度は、故障フレーム画像52における非病変異常領域Tの面積や、色の明るさ、彩度、色相、発生位置などで算出できる。故障の視認性は、非病変異常領域Tと背景の被写体の輝度差で算出できる。内視鏡12の種類は、処置用内視鏡、診断用内視鏡、上部消化管内視鏡、下部消化管内視鏡(大腸内視鏡)、経鼻内視鏡などが含まれる。 The importance is calculated using at least one of the following: the order of trigger signal reception timing, the type of fault, the frequency of fault occurrence, the severity of the fault, the confidence of fault detection, the visibility of the fault, its impact, and the type of endoscope 12. The severity of the fault can be calculated using the area of the non-lesion abnormal region T in the fault frame image 52, as well as the color brightness, saturation, hue, and location of occurrence. The visibility of the fault can be calculated using the difference in brightness between the non-lesion abnormal region T and the background subject. Types of endoscopes 12 include treatment endoscopes, diagnostic endoscopes, upper gastrointestinal endoscopes, lower gastrointestinal endoscopes (colonoscopes), transnasal endoscopes, etc.
出力制御部33は、故障動画54のディスプレイ18に対する表示などの制御を行う。故障動画54を表示する場合は、ユーザインターフェース16を介した、故障シーンの確認及び故障情報の参照や、ユーザによる故障情報を含む画像情報や動画構成の編集を受け付ける。なお、一時保存した医療動画50をディスプレイ15またはディスプレイ18に出力し、表示させてもよい。 The output control unit 33 controls the display of the failure video 54 on the display 18. When displaying the failure video 54, the output control unit 33 accepts confirmation of the failure scene and reference to failure information via the user interface 16, as well as user editing of image information and video composition including failure information. It is also possible to output and display the temporarily saved medical video 50 on the display 15 or display 18.
図11に示すように、ディスプレイ18は、故障動画54及び対応する故障静止画を表示する画像表示領域60と、故障情報を含む画像情報を表示する画像情報表示欄61、及び故障動画54の再生状況に関する表示を行う動画再生ツールバー64を展開する。画像表示領域60では、例えば故障動画54を抽出された順番に再生し、故障内容を確認ができる。画像情報表示欄61に表示される故障情報は、例えば、故障の種類、故障シーン時間、非病変異常領域Tの平均面積、トリガー信号受信タイミングの順番などがある。抽出処理の際に、医療動画50が有する画像情報に含まれる個人情報は、閲覧できないように加工される。例えば、図7において「□□□□」と表示された患者ID62と、「△△△△」と表示された患者氏名63は、文字部分が判別できないように不可逆的に加工される。 As shown in FIG. 11 , the display 18 displays an image display area 60 that displays the failure video 54 and corresponding failure still images, an image information display area 61 that displays image information including failure information, and a video playback toolbar 64 that displays the playback status of the failure video 54. In the image display area 60, for example, the failure video 54 can be played back in the order in which it was extracted, allowing the details of the failure to be confirmed. The failure information displayed in the image information display area 61 includes, for example, the type of failure, the duration of the failure scene, the average area of the non-lesion abnormal region T, and the order in which the trigger signal was received. During the extraction process, personal information contained in the image information of the medical video 50 is processed so that it cannot be viewed. For example, in FIG. 7, the patient ID 62 displayed as "□□□□" and the patient name 63 displayed as "△△△△" are irreversibly processed so that the text cannot be read.
図12に示すように、ディスプレイ18は、故障動画54に加えて、故障動画54の故障シーンに対応する故障静止画55を画像表示領域60に表示してもよい。故障静止画55は、故障動画54の故障シーンを映しているため、故障の状態、例えば非病変異常領域Tの確認などを行うことができる。 As shown in FIG. 12, in addition to the failure video 54, the display 18 may also display a failure still image 55 corresponding to the failure scene in the failure video 54 in the image display area 60. Because the failure still image 55 shows the failure scene in the failure video 54, it is possible to confirm the state of the failure, for example, the non-lesion abnormal area T.
以下に説明する各保存モードにおける抽出処理に関して、特に指定の無い場合は、第1抽出範囲で抽出処理が行われる。例えば、故障発見タイミングを基準とした前後3秒間ずつ連続したフレーム画像を抽出し、故障動画54を取得する。 Unless otherwise specified, the extraction process for each storage mode described below will be performed within the first extraction range. For example, consecutive frame images for three seconds before and after the timing of the fault discovery will be extracted to obtain the fault video 54.
保存モードは、内視鏡検査の内容などからユーザがあらかじめ設定することが好ましい。保存モードは、選別処理を行わず、故障シーンごとに抽出した故障動画54を全て主記憶領域34に保存する第1保存モードと、抽出した故障動画54を選別用一時保存部42に送信して一時保存し、主記憶領域34に保存する故障動画54の選別を行う第2~第4モードがある。 The storage mode is preferably set in advance by the user based on the content of the endoscopic examination, etc. There are two storage modes: a first storage mode in which no selection process is performed and all failure videos 54 extracted for each failure scene are stored in the main memory area 34, and second to fourth modes in which the extracted failure videos 54 are sent to the temporary storage unit for selection 42 for temporary storage, and the failure videos 54 to be stored in the main memory area 34 are selected.
第1保存モードでは、一時保存部38で一時保存した医療動画50を、故障シーンにおける最初の故障フレーム画像52、すなわちトリガー信号の受信タイミングに基づいて故障動画54を抽出し、抽出した故障動画54を全て主記憶領域34に保存する。 In the first storage mode, the medical video 50 temporarily stored in the temporary storage unit 38 is extracted as a failure video 54 based on the first failure frame image 52 in the failure scene, i.e., the timing of receiving the trigger signal, and all of the extracted failure videos 54 are stored in the main memory area 34.
図13に示すように、選別を実施しない第1保存モードにおいて、医療動画50からそれぞれ異なる故障シーンである、故障フレーム画像52a、故障フレーム画像52b、及び故障フレーム画像52cが検出された場合を例に説明する。トリガー信号に基づいて、故障フレーム画像52aの故障シーンを有する故障動画54aと、故障フレーム画像52bの故障シーンを有する故障動画54b、及び故障フレーム画像52cの故障シーンを有する故障動画54cが抽出範囲の設定に基づいて抽出され、主記憶領域34に保存される。第1抽出範囲の場合では、故障シーンの長さに影響されない故障動画54がそれぞれ抽出される。 As shown in Figure 13, in the first storage mode in which no sorting is performed, an example will be described in which failure frame image 52a, failure frame image 52b, and failure frame image 52c, which are different failure scenes, are detected from medical video 50. Based on the trigger signal, failure video 54a containing the failure scene of failure frame image 52a, failure video 54b containing the failure scene of failure frame image 52b, and failure video 54c containing the failure scene of failure frame image 52c are extracted based on the extraction range setting and saved in main memory area 34. In the case of the first extraction range, failure videos 54 that are not affected by the length of the failure scene are each extracted.
第2~第4保存モードにおける、故障動画54の抽出及び選別について説明する。抽出した故障動画54を、全て選別用一時保存部42で一時保存する。故障動画54を、故障情報に基づいて選別を行い、選別済みの故障動画54は主記憶領域34に保存される。 The extraction and selection of failure videos 54 in the second to fourth storage modes will be explained below. All extracted failure videos 54 are temporarily stored in the temporary selection storage unit 42. The failure videos 54 are selected based on the failure information, and the selected failure videos 54 are stored in the main memory area 34.
図14に示すように、選別を行う第2~第4保存モードにおいて医療動画50から故障検出処理により異なる故障シーンである、故障の種類が同じである故障フレーム画像52a、故障フレーム画像52b、及び故障フレーム画像52cが検出された場合を例に説明する。トリガー信号及び抽出範囲の設定に基づいて、故障フレーム画像52aの故障シーンを有する故障動画54aと、故障フレーム画像52bの故障シーンを有する故障動画54b、及び故障フレーム画像52cの故障シーンを有する故障動画54cが、抽出され、選別用一時保存部42に一時保存される。選別処理を行う故障動画54が全て一時保存された後、選別部41で各故障シーンを比較し、設定された選別基準に従って、選別を行う。故障動画54cが選別された場合、故障動画54a及び54bは削除され、故障動画54cは主記憶領域34に保存される。 As shown in Figure 14, an example will be described in which failure frame images 52a, 52b, and 52c, which are different failure scenes but have the same type of failure, are detected from a medical video 50 by the failure detection process in the second to fourth storage modes for sorting. Based on the trigger signal and extraction range settings, failure video 54a containing the failure scene of failure frame image 52a, failure video 54b containing the failure scene of failure frame image 52b, and failure video 54c containing the failure scene of failure frame image 52c are extracted and temporarily stored in the temporary storage unit for sorting 42. After all failure videos 54 to be sorted have been temporarily stored, the sorting unit 41 compares each failure scene and sorts them according to the set sorting criteria. If failure video 54c is selected, failure videos 54a and 54b are deleted, and failure video 54c is stored in the main memory area 34.
第2保存モード及び第3保存モードでは、故障の種類ごとに故障動画54の選別を行う。故障検出処理において、複数の故障を検出した場合に、種類ごとに少なくとも1つの故障動画54を主記憶領域34に保存する。複数の故障において、高頻度で非病変異常領域Tの面積が大きい種類の故障と、低頻度で非病変異常領域Tの面積が小さい種類の故障が医療動画50で検出された場合でも、保存した故障動画54を確認する際に、各種類の故障シーンを見落とさずに確認できる。 In the second and third storage modes, the failure videos 54 are sorted by failure type. If multiple failures are detected during the failure detection process, at least one failure video 54 for each type is saved in the main memory area 34. Even if multiple failures are detected in the medical video 50, including a type of failure that occurs frequently and has a large area of non-lesion abnormal region T and a type of failure that occurs infrequently and has a small area of non-lesion abnormal region T, it is possible to review the saved failure videos 54 without missing any scenes of each type of failure.
第2保存モードでは、故障の種類、かつ、医療動画50におけるトリガー信号の受信タイミングの時系列の順番に基づいて、主記憶領域34に保存する故障動画54の選別を行う。例えば、故障の種類ごとに各故障動画54が有する故障シーンのうち、最初又は最後からN回分の故障シーンや、一定間隔ごとに1つの故障シーンに対応する故障動画54を保存する。最初の故障シーンは、内視鏡検査を始めて経過時間が少なく、スコープ汚れなどの内視鏡検査が原因のもの以外の故障を検出しやすい。最後側の故障シーンでは、複数の故障が発生した場合、1つの故障シーンで複数種類の故障を検出しやすい。また、一定間隔の選別では、内視鏡検査全体で発生する故障があるか確認できる。 In the second storage mode, the failure videos 54 to be saved in the main memory area 34 are selected based on the type of failure and the chronological order of the trigger signal reception timing in the medical video 50. For example, for each failure type, the first or last N failure scenes contained in each failure video 54, or failure videos 54 corresponding to one failure scene at regular intervals, are saved. The first failure scene is one in which little time has elapsed since the start of the endoscopic examination, making it easier to detect failures other than those caused by the endoscopic examination, such as scope contamination. In the last failure scene, if multiple failures occur, it is easier to detect multiple types of failures from a single failure scene. Furthermore, by selecting at regular intervals, it is possible to check whether there are any failures that occur throughout the entire endoscopic examination.
第3保存モードでは、故障の種類ごとに各故障動画54の重要度を算出し、重要度に基づいて主記憶領域34に保存する故障動画54の選別を行う。重要度算出部43で故障シーンごとの重要度が算出され、故障情報に紐づけられる。重要度は重大な故障の可能性や故障の原因解析に有用性を示し、例えば、重要度が70%以上、又は「高」である算出結果は故障動画54として保存し、重要度が70%未満、又は「低」である算出結果は削除する。重要度の算出方法については後述する。また、重要度が一定値以上の評価となった場合ではなく、選別用一時保存部42に一時保存された故障動画54から重要度が高い順に一定数又は一定割合の故障動画54を選別してもよい。 In the third storage mode, the importance of each failure video 54 is calculated for each type of failure, and the failure videos 54 to be stored in the main memory area 34 are selected based on the importance. The importance calculation unit 43 calculates the importance of each failure scene and links it to the failure information. The importance indicates the possibility of a serious failure or its usefulness in analyzing the cause of the failure. For example, calculation results with an importance of 70% or more, or "high," are saved as failure videos 54, and calculation results with an importance of less than 70% or "low" are deleted. The method of calculating the importance will be described later. Furthermore, instead of selecting failure videos 54 whose importance is evaluated to be above a certain value, a certain number or percentage of failure videos 54 may be selected in order of increasing importance from the failure videos 54 temporarily stored in the temporary storage unit for selection 42.
第4保存モードでは、ユーザ選択により故障動画54を個別に主記憶領域34に保存するか否か選別する。具体的には、一時保存した故障動画54と、少なくとも故障情報を含む画像情報を共にディスプレイ18に表示し、ユーザが、再生した故障動画54及び画像情報を確認し、個別に主記憶領域34に保存する故障動画54を選択する。選別処理におけるユーザ操作は、ユーザインターフェース19を介して行われ、コマンド領域65に備わる、再生コマンドや保存コマンドをキーボードやマウス、又はフットペダルなどで実行する方法などがある。また、ユーザ操作による画像情報の編集を行ってもよい。 In the fourth storage mode, the user selects whether or not to save the failure video 54 individually in the main memory area 34. Specifically, the temporarily saved failure video 54 and image information containing at least the failure information are displayed on the display 18, and the user checks the played failure video 54 and image information and selects the failure video 54 to save individually in the main memory area 34. User operations in the selection process are performed via the user interface 19, and include methods such as executing play commands and save commands provided in the command area 65 using a keyboard, mouse, or foot pedal. User operations may also be used to edit the image information.
図15に示すように、故障動画54を1つずつ順番に再生する方法ではなく、画像表示領域60に、故障動画54の一覧表示を行ってもよい。画像表示領域60では、それぞれの故障動画54を一覧表示し、画像情報表示欄61では選択された故障動画54の画像情報が表示されることが好ましい。画像情報に基づいて、保存や削除をするか否かを判断してもよい。選択した故障動画54を再生する場合は、一覧表示されたサイズのまま再生を行ってもよいし、図11のように一時的に拡大して再生してもよい。また、画像表示領域60で再生中ではない故障動画54は、対応する故障静止画55をサムネイルとして表示することが好ましい。なお、複数の故障動画54を同時に再生してもよい。 As shown in FIG. 15, instead of playing the failure videos 54 one by one in order, a list of the failure videos 54 may be displayed in the image display area 60. It is preferable that the image display area 60 displays a list of each failure video 54, and the image information display field 61 displays image information for the selected failure video 54. A decision as to whether to save or delete the video may be made based on the image information. When playing a selected failure video 54, the video may be played at the same size as displayed in the list, or may be temporarily enlarged and played as shown in FIG. 11. It is also preferable that for failure videos 54 that are not currently being played in the image display area 60, the corresponding failure still images 55 are displayed as thumbnails. Note that multiple failure videos 54 may be played simultaneously.
選別処理は、上記第2~第4保存モードの内容に限らず、各保存モードの選別の条件を組み合わせてもよい。また、故障動画54を主記憶領域34へ保存した後にディスプレイ18に表示し、確認してもよい。 The selection process is not limited to the contents of the second to fourth storage modes described above, and may combine the selection conditions for each storage mode. Furthermore, after the failure video 54 is saved in the main memory area 34, it may be displayed on the display 18 for confirmation.
選別処理は、全ての故障動画54が揃えた、抽出処理終了後ではなく、故障動画54が抽出される度に随時行ってもよい。直前に一時保存した故障動画54と、新たに抽出により作成した故障動画54を二者択一形式で比較し、不要な方を削除することで選別を行う。例えば、第3保存モードでは、一時保存された、m番目に抽出した故障動画54と、新たに抽出されたm+1番目の故障動画54の重要度を比較し、重要度が低い一方を削除する。これにより、時間や一時保存の領域が制限される場合でも選別処理が行える。 The sorting process may be performed whenever a failure video 54 is extracted, rather than after the extraction process has finished when all failure videos 54 have been collected. The most recently temporarily saved failure video 54 is compared in an either/or format with the newly extracted failure video 54, and the unnecessary one is deleted. For example, in the third storage mode, the importance of the temporarily saved mth extracted failure video 54 and the newly extracted m+1th failure video 54 are compared, and the one with the lower importance is deleted. This allows the sorting process to be performed even when time or temporary storage space is limited.
選別部41の機能はプロセッサ装置14の内部にあってもよい。その場合は、選別された故障に対してトリガー信号を送信するので、医療画像処理装置17は常に第1保存モードで動作してもよい。また、プロセッサ装置14による選別は、医療画像処理装置17の選別部41も併用してさらに選別を行ってもよい。選別を併用する場合は、異なる条件で選別を行うことが好ましい。 The function of the selection unit 41 may be located within the processor device 14. In that case, a trigger signal is sent for selected faults, so the medical image processing device 17 may always operate in the first storage mode. Furthermore, the selection by the processor device 14 may also be performed by the selection unit 41 of the medical image processing device 17 in combination. When using multiple selections, it is preferable to perform the selection under different conditions.
図16に示すフローチャートに沿って、本実施形態の故障動画54の抽出及び保存を制御する動作の一連の流れについて説明する。内視鏡システム11は、内視鏡12で生体内の撮影をしたリアルタイムの医療動画50を取得する(ステップST110)。内視鏡システム11におけるプロセッサ装置14では、医療動画50から故障フレーム画像52の検出及び故障の判定を行う故障検出処理を行う。故障フレーム画像52から故障静止画55を作成してもよい(ステップST120)。故障検出処理と同時進行で、医療動画50を医療画像処理装置17に送信する(ステップST130)。故障検出処理により医療動画50から故障シーンが検出されなかった場合(ステップST140でN)は内視鏡検査に用いた内視鏡12には故障が無いと判断される。 The sequence of operations for controlling the extraction and storage of a failure video 54 in this embodiment will be described with reference to the flowchart shown in Figure 16. The endoscope system 11 acquires a real-time medical video 50 captured inside a living body using the endoscope 12 (step ST110). The processor device 14 in the endoscope system 11 performs failure detection processing to detect failure frame images 52 from the medical video 50 and determine whether a failure has occurred. A failure still image 55 may be created from the failure frame image 52 (step ST120). Simultaneously with the failure detection processing, the medical video 50 is transmitted to the medical image processing device 17 (step ST130). If no failure scene is detected from the medical video 50 by the failure detection processing (N in step ST140), it is determined that there is no failure in the endoscope 12 used in the endoscopic examination.
故障検出処理により医療動画50における故障を検出した場合(ステップST140でY)は、故障の発生タイミングの情報を有するトリガー信号を作成する(ステップST150)。トリガー信号は作成後即座に医療画像処理装置に送信される(ステップST160)。医療画像処理装置17は、受信したトリガー信号が有するトリガー信号受信タイミングとリアルタイムで保存される医療動画50を照合し、トリガー信号受信タイミングを特定する(ステップST170)。設定した抽出範囲に従って、医療動画50から少なくとも故障シーンを有する故障動画54を抽出する(ステップST180)。故障検出の際に、故障フレーム画像52から故障静止画55を取得しなかった場合は、故障動画が有する故障シーンを映した故障静止画55も取得する(ステップST190)。 If a fault is detected in the medical video 50 through the fault detection process (Y in step ST140), a trigger signal containing information on the timing of the fault occurrence is created (step ST150). The trigger signal is immediately sent to the medical image processing device after creation (step ST160). The medical image processing device 17 compares the trigger signal reception timing contained in the received trigger signal with the medical video 50 stored in real time, and identifies the trigger signal reception timing (step ST170). A fault video 54 containing at least a fault scene is extracted from the medical video 50 according to the set extraction range (step ST180). If a fault still image 55 was not acquired from the fault frame image 52 during fault detection, a fault still image 55 depicting the fault scene contained in the fault video is also acquired (step ST190).
抽出された故障動画54は、そのまま全て保存する場合と、保存する故障動画54を選別する場合がある。選別を実施するか否かは保存モードによって決定される。保存モードが第1保存モード、すなわち故障動画54の選別を実施しない場合(ステップST200でN)は、抽出した故障動画54を全て主記憶領域34に全て保存し、一連の流れを終了する(ステップST230)。 All extracted failure videos 54 may be saved as is, or the failure videos 54 to be saved may be selected. Whether or not selection is performed is determined by the save mode. If the save mode is the first save mode, i.e., if selection of failure videos 54 is not performed (N in step ST200), all extracted failure videos 54 are saved in the main memory area 34, and the process ends (step ST230).
選別処理では、故障動画54同士の比較を行うため、抽出処理の終了後、すなわち内視鏡検査が終了後に実施することが好ましい。保存モードが第2~第4保存モードである、故障シーンの選別を実施する場合(ステップST200でY)では、故障動画54は選別用一時保存部42に一時保存される(ステップST210)。一時保存された故障動画54は、保存モードごとに、一定基準を満たすか否かの判断や、故障動画54同士の比較が行われ、保存対象となる故障動画54が選別される(ステップST220)。選別された故障動画54を主記憶領域34に保存し、一連の流れを終了する(ステップST230)。 The selection process compares the failure videos 54 with each other, so it is preferable to perform the process after the extraction process is completed, i.e., after the endoscopic examination is completed. When selecting failure scenes in the second to fourth storage modes (Y in step ST200), the failure videos 54 are temporarily stored in the temporary storage unit for selection 42 (step ST210). The temporarily stored failure videos 54 are then judged for each storage mode to determine whether they meet certain criteria, and the failure videos 54 are compared with each other, and the failure videos 54 to be stored are selected (step ST220). The selected failure videos 54 are stored in the main memory area 34, and the process ends (step ST230).
[第2実施形態]
上記第1実施形態では、内視鏡検査をリアルタイムで撮影した医療動画50及び故障動画54を一時保存する際の一時保存領域が、揮発性メモリ及び不揮発性メモリのいずれの場合でも共通する形態である。本実施形態では、一時保存を不揮発性メモリに対して一時保存する形態について説明する。なお、上記実施形態と共通する内容に関しては説明を省略する。
Second Embodiment
In the first embodiment, the temporary storage area for temporarily storing the medical video 50 captured in real time during an endoscopic examination and the failure video 54 is the same whether it is a volatile memory or a nonvolatile memory. In this embodiment, a description will be given of a mode in which the temporary storage is performed in a nonvolatile memory. Note that a description of the content common to the above embodiment will be omitted.
一時保存部38及び選別用一時保存部42は、医療画像処理装置17が通電していない状態でも、保存したデータを維持する不揮発性メモリにより機能が実現されてもよい。内視鏡検査中に内視鏡システム11又は医療画像処理装置17の電源がオフになる事態や、内視鏡検査終了後に、故障動画54の主記憶領域34への保存が完了する前に医療画像処理装置17の電源がオフになる事態が起こりうる。このような場合でも、不揮発性メモリに一時保存したデータは、電源オフによって失われるのを防ぐことができる。 The functions of the temporary storage unit 38 and the temporary storage unit for selection 42 may be realized by non-volatile memory that maintains stored data even when the medical image processing device 17 is not powered. It is possible that the power to the endoscope system 11 or medical image processing device 17 may be turned off during an endoscopic examination, or that the power to the medical image processing device 17 may be turned off after the endoscopic examination is completed before the failure video 54 has been completely saved in the main memory area 34. Even in such cases, the data temporarily stored in the non-volatile memory can be prevented from being lost when the power is turned off.
選別を行う場合、抽出された故障動画54は、順次、医療画像処理装置17の不揮発性メモリである選別用一時保存部42に一時保存される。内視鏡検査中に内視鏡システム11又は医療画像処理装置17の電源オフになった場合は、その時点で内視鏡検査を終了とし、再び電源をオンにした際には故障動画54の選別を開始する。内視鏡検査の終了後は、選別処理が行われ、選別された故障動画54を主記憶領域34へ保存する。 When sorting is performed, the extracted failure videos 54 are temporarily stored in the temporary sorting storage unit 42, which is a non-volatile memory of the medical image processing device 17, in sequence. If the power to the endoscope system 11 or medical image processing device 17 is turned off during an endoscopic examination, the endoscopic examination is terminated at that point, and when the power is turned on again, sorting of the failure videos 54 begins. After the endoscopic examination is completed, the sorting process is performed, and the selected failure videos 54 are stored in the main memory area 34.
図17に示すように、不揮発性メモリである一時保存領域に対して一時保存を行う場合に、検査中に電源オフとなった場合について説明する。検査Aは、電源がオフにならずに内視鏡検査が終了し、検査Bは、リアルタイム検出中に内視鏡システム11又は医療画像処理装置17が電源オフになった場合の内視鏡検査である。ユーザが内視鏡検査における終了を操作した検査Aでは、第1実施形態と同様に故障動画54の保存が行われる。ユーザが操作した終了ではなく、電源がオフとなり強制終了となった検査Bでは、再び電源がオンとなった際に、電源がオフとなった時点で不揮発性メモリに一時保存された分の医療動画50から故障動画54の抽出が行われ、第2~第4保存モードである場合は選別も行われ、故障動画54を主記憶領域34へ保存する。不揮発性メモリに一時保存を行うことで、検査中に電源がオフになった場合など、内視鏡検査の終了状況に関わらず、撮影し、一時保存した分の医療動画50から故障動画54の抽出及び選別を行うことができる。 As shown in Figure 17, this section describes the case where the power is turned off during an examination when temporary storage is performed in a temporary storage area, which is non-volatile memory. Examination A is an endoscopic examination that ended without the power being turned off, and Examination B is an endoscopic examination in which the endoscopic system 11 or medical image processing device 17 was turned off during real-time detection. In Examination A, in which the user operated the endoscope examination, the failure video 54 is saved as in the first embodiment. In Examination B, in which the endoscope examination was forcibly terminated due to the power being turned off rather than being terminated by the user, when the power is turned back on, the failure video 54 is extracted from the medical video 50 temporarily saved in non-volatile memory at the time the power was turned off. If the second to fourth save modes are selected, the failure video 54 is saved in the main memory area 34. Temporarily saving in non-volatile memory allows the failure video 54 to be extracted and selected from the medical video 50 that was captured and temporarily saved regardless of the end status of the endoscopic examination, such as when the power was turned off during the examination.
保存処理は、選別終了後に選別された故障動画54を不揮発性メモリから主記憶領域34に送信するが、選別終了前や保存処理中に医療画像処理装置17の電源がオフになる場合や、主記憶領域34が医療画像処理装置17から着脱できるものであると接続が切れる場合がある。保存処理が中断されると、主記憶領域34に保存された故障動画54と、保存されていない故障動画54の判別がつかない恐れがある。そのため、自動で判別するために故障動画54を抽出する際に、フラグなどの識別子を設定する。 The saving process sends the selected failure videos 54 from the non-volatile memory to the main memory area 34 after selection is complete. However, the medical image processing device 17 may be powered off before selection is complete or during the saving process, or the main memory area 34 may be disconnected if it is detachable from the medical image processing device 17. If the saving process is interrupted, it may be impossible to distinguish between failure videos 54 that have been saved in the main memory area 34 and failure videos 54 that have not been saved. For this reason, an identifier such as a flag is set when extracting the failure videos 54 to enable automatic discrimination.
故障動画54を一時保存する場合、故障動画54の抽出後にそれぞれの故障動画54に対して、互いに異なる識別子が設定される。識別子はフラグなどであり、画像情報として設定されることが好ましいが、互いの故障動画54を判別できるものであればよく、特に限定しない。中断された保存処理を再開する際に、主記憶領域34に保存された故障動画54の識別子を確認し、不揮発性メモリである一時記憶領域に同一の識別子を有する故障動画54の有無を判別する。確認した識別子と同一の識別子を有する故障動画54は、保存処理は行わず、不揮発性メモリから削除する。 When temporarily saving failure videos 54, a different identifier is set for each failure video 54 after extraction. The identifier is preferably a flag or the like and is set as image information, but is not particularly limited as long as it allows for distinguishing between failure videos 54. When resuming the interrupted saving process, the identifier of the failure video 54 saved in the main memory area 34 is checked, and it is determined whether or not there is a failure video 54 with the same identifier in the temporary storage area, which is non-volatile memory. Failure videos 54 with the same identifier as the confirmed identifier are not saved, and are deleted from non-volatile memory.
同一の識別子が確認されなかった故障動画54が一時保存領域にある場合、その故障動画54は、主記憶領域34に保存されていないと判定し、保存処理を行う。なお、識別子の利用は、保存処理が中断された時のみではなく、通常の保存処理の際にも保存が確実に行われたか確認するために用いてもよい。 If there is a failure video 54 in the temporary storage area for which the same identifier has not been confirmed, it is determined that the failure video 54 is not saved in the main memory area 34, and a save process is performed. Note that the identifier may be used not only when the save process is interrupted, but also during normal save processing to confirm that the save has been performed reliably.
[第3実施形態]
第3実施形態では、故障検出処理の際に、トリガー信号が有する情報を医療動画50に埋め込み、故障動画54及び故障静止画55を抽出する形態について説明する。なお、上記実施形態と共通する内容に関しては説明を省略する。プロセッサ装置14の故障特定部25には、トリガー信号作成に応じて医療動画50が編集されたトリガー信号付与部(図示しない)の機能が実現する。
[Third embodiment]
In the third embodiment, information contained in a trigger signal is embedded in a medical video 50 during fault detection processing, and a fault video 54 and a fault still image 55 are extracted. Descriptions of content common to the above embodiments will be omitted. The fault identification unit 25 of the processor device 14 realizes the function of a trigger signal providing unit (not shown) that edits the medical video 50 in response to the creation of a trigger signal.
図18に示すように、プロセッサ装置14では、内視鏡12で撮影した医療動画50をリアルタイムで編集し、故障検出したフレーム画像に対してトリガー信号を付与し、医療画像処理装置17に送信する。故障検出処理を行い、検出された故障フレーム画像52に対してトリガー信号が有するトリガー機能及び故障情報を故障フラグなどの識別子として医療動画50に埋め込むことが好ましい。 As shown in FIG. 18, the processor device 14 edits the medical video 50 captured by the endoscope 12 in real time, assigns a trigger signal to frame images in which a fault is detected, and transmits them to the medical image processing device 17. It is preferable to perform fault detection processing and embed the trigger function and fault information of the trigger signal for the detected fault frame image 52 into the medical video 50 as an identifier such as a fault flag.
医療画像処理装置17は、内視鏡システム11のプロセッサ装置から取得し、一時保存した医療動画50が埋め込まれたトリガー機能及び故障情報に基づいて故障動画54及び故障静止画55の抽出を行う。故障フラグの付与した医療動画50から抽出を行うことで、故障検出したタイミングと抽出するフレーム画像の誤差をなくすことができる。出力制御部23から出力する医療動画50は、故障検出処理したものであることが好ましい。その場合、内視鏡検査で撮影中のフレーム画像が故障検出処理にかかった時間分だけ遅れてディスプレイ15に表示される。表示の遅延が問題になる場合は故障検出処理前の医療動画50を出力制御部23からディスプレイ15に送信してもよい。 The medical image processing device 17 extracts the failure video 54 and failure still image 55 based on the trigger function and failure information embedded in the temporarily stored medical video 50 acquired from the processor device of the endoscope system 11. By extracting from medical videos 50 with failure flags attached, it is possible to eliminate errors between the timing of failure detection and the extracted frame images. It is preferable that the medical video 50 output from the output control unit 23 has undergone failure detection processing. In this case, the frame images captured during the endoscopic examination are displayed on the display 15 with a delay corresponding to the time required for the failure detection processing. If display delays are a problem, the medical video 50 before the failure detection processing may be transmitted from the output control unit 23 to the display 15.
[第4実施形態]
第4実施形態では、故障検出処理において、医療動画50から故障が検出されたフレームが一定時間フリーズした動画である第2医療動画を作成し、医療画像処理装置17に送信する形態について説明する。なお、上記実施形態と共通する内容に関しては説明を省略する。プロセッサ装置14の故障特定部25には、故障検出に応じて医療動画50が編集された第2医療動画を作成する第2医療動画作成部(図示しない)の機能が実現する。
[Fourth embodiment]
In the fourth embodiment, a second medical video is created in the fault detection process by freezing a frame in the medical video 50 in which a fault is detected for a certain period of time, and the created second medical video is transmitted to the medical image processing device 17. Description of content common to the above embodiments will be omitted. The fault identification unit 25 of the processor device 14 realizes the function of a second medical video creation unit (not shown) that creates a second medical video in which the medical video 50 is edited in response to fault detection.
図19に示すように、プロセッサ装置14では、内視鏡検査開始と共に、内視鏡12で撮影した医療動画50をリアルタイムでコピーし、編集した第2医療動画を、医療動画50と共に医療画像処理装置17に送信する。第2医療動画は、故障を検出していない状態では医療動画50と同様の内容を記録し、故障検出した場合は故障検出時から一定期間、フリーズさせた映像を記録した動画である。医療動画50及び第2医療動画とは別に、トリガー信号もプロセッサ装置14から医療画像処理装置17に送信する。内視鏡システム11から医療動画50と共に医療画像処理装置17に伝達された第2医療動画は、一時保存部38に一時保存される。 As shown in FIG. 19, when the endoscopic examination begins, the processor device 14 copies the medical video 50 captured by the endoscope 12 in real time, and transmits the edited second medical video together with the medical video 50 to the medical image processing device 17. The second medical video records the same content as the medical video 50 when no fault is detected, and when a fault is detected, records footage that has been frozen for a certain period of time from the time of fault detection. In addition to the medical video 50 and the second medical video, a trigger signal is also transmitted from the processor device 14 to the medical image processing device 17. The second medical video transmitted from the endoscopic system 11 to the medical image processing device 17 together with the medical video 50 is temporarily stored in the temporary storage unit 38.
抽出部39において、内視鏡システム11からのトリガー信号の受信したタイミングで、医療動画50から故障動画54の抽出、及び第2医療動画から故障静止画55の抽出を行う。一時保存部38における医療動画50及び第2医療動画の一時保存と、トリガー信号を受信するタイミングは非同期であり、誤差が生じる。トリガー信号の受信と共に、第2医療動画の故障シーンは同一の故障フレーム画像52が続くため、非同期であっても、故障が検出された時点に撮影された故障静止画55を取得できる。 The extraction unit 39 extracts a failure video 54 from the medical video 50 and a failure still image 55 from the second medical video upon receiving a trigger signal from the endoscope system 11. The timing of the temporary storage of the medical video 50 and the second medical video in the temporary storage unit 38 and the reception of the trigger signal are asynchronous, resulting in errors. Since the same failure frame image 52 continues in the failure scene of the second medical video upon reception of the trigger signal, it is possible to obtain a failure still image 55 taken at the time the failure was detected, even though the timing is asynchronous.
同じトリガー信号で抽出された故障動画54と故障静止画55は、故障フラグなどの関連付けを行い、主記憶領域34に保存することが好ましい。第2医療動画は、故障静止画55の抽出後は保存せず、削除することが好ましい。 The failure video 54 and failure still image 55 extracted by the same trigger signal are preferably associated with a failure flag or the like and stored in the main memory area 34. It is preferable that the second medical video is not stored after the failure still image 55 is extracted, but is instead deleted.
第4実施形態の変形例として、ユーザ操作により故障動画54及び故障静止画55を抽出する形態について説明する。内視鏡検査中に、内視鏡12の操作部12bに備わるフリーズボタン12dに対するユーザによる押下であるフリーズ操作により、抽出のトリガーとなる第2トリガー信号を作成する。医療画像処理装置17は、内視鏡システム11から手動で作成される第2トリガー信号の受信により医療動画50から故障動画54を抽出し、第2医療動画から故障静止画55を抽出する。 As a modified example of the fourth embodiment, a form in which a failure video 54 and a failure still image 55 are extracted by user operation will be described. During an endoscopic examination, a freeze operation in which the user presses the freeze button 12d provided on the operation unit 12b of the endoscope 12 generates a second trigger signal that serves as an extraction trigger. Upon receiving the second trigger signal manually generated from the endoscope system 11, the medical image processing device 17 extracts a failure video 54 from the medical video 50 and extracts a failure still image 55 from the second medical video.
ユーザによるフリーズ操作で、一定期間映像をフリーズさせた第2医療動画を医療画像処理装置17に送信する。また、フリーズ操作によりトリガー信号作成部27で第2トリガー信号が作成され、医療画像処理装置17に送信される。医療画像処理装置17がトリガー信号を受信すると、抽出部39で、医療動画50から故障動画54を、第2医療動画から故障静止画55を抽出し、主記憶領域34に保存する。 When the user performs a freeze operation, the second medical video, in which the video is frozen for a certain period of time, is sent to the medical image processing device 17. The freeze operation also causes the trigger signal creation unit 27 to create a second trigger signal, which is sent to the medical image processing device 17. When the medical image processing device 17 receives the trigger signal, the extraction unit 39 extracts the failure video 54 from the medical video 50 and the failure still image 55 from the second medical video, and stores them in the main memory area 34.
トリガー信号で抽出された故障動画54又は故障静止画55と、第2トリガー信号で抽出された故障動画54及び故障静止画55は、ユーザが視覚的に判別できるように加工して保存することが好ましい。例えば、第2トリガー信号で抽出した場合は、故障動画54及び故障静止画55の画像を赤枠で囲む加工や、画像右上に「△」などの記号を入れることが好ましい。また、ファイル名にも「手動」という文言を加えてもよい。 It is preferable that the failure video 54 or failure still image 55 extracted in response to the trigger signal and the failure video 54 and failure still image 55 extracted in response to the second trigger signal are processed and saved so that they can be visually distinguished by the user. For example, when extracted in response to the second trigger signal, it is preferable to process the images of the failure video 54 and failure still image 55 so that they are surrounded by a red frame or to add a symbol such as a "△" to the upper right corner of the image. The word "Manual" may also be added to the file name.
上記実施形態において、プロセッサ装置14で実現される中央制御部、画像取得部21、入力受信部22、出力制御部23、及び故障特定部25に含まれる故障判定部26、トリガー信号作成部27、静止画作成部28、第2医療動画作成部と、医療画像処理装置17で実現される中央制御部、データ取得部31、入力受信部32、出力制御部33、及び故障動画抽出部35に含まれる抽出範囲設定部36、モード制御部37、一時保存部38、抽出部39、画像情報管理部40、選別部41、選別用一時保存部42、及び重要度算出部43といった各種の処理を実行する処理部(processing unit)のハードウェア的な構造は、次に示すような各種のプロセッサ(processor)である。各種のプロセッサには、ソフトウエア(プログラム)を実行して各種の処理部として機能する汎用的なプロセッサであるCPU(Central Processing Unit)、FPGA(Field Programmable Gate Array) などの製造後に回路構成を変更可能なプロセッサであるプログラマブルロジックデバイス(Programmable Logic Device:PLD)、各種の処理を実行するために専用に設計された回路構成を有するプロセッサである専用電気回路などが含まれる。 In the above embodiment, the hardware structure of the processing units that perform various processes, such as the central control unit, image acquisition unit 21, input receiving unit 22, output control unit 23 realized by the processor device 14, and the fault determination unit 26, trigger signal creation unit 27, still image creation unit 28, and second medical video creation unit included in the fault identification unit 25, and the central control unit, data acquisition unit 31, input receiving unit 32, output control unit 33 realized by the medical image processing device 17, and the extraction range setting unit 36, mode control unit 37, temporary storage unit 38, extraction unit 39, image information management unit 40, selection unit 41, temporary storage unit for selection 42, and importance calculation unit 43 included in the fault video extraction unit 35, are various processors as shown below. Various types of processors include CPUs (Central Processing Units), which are general-purpose processors that execute software (programs) and function as various processing units, programmable logic devices (PLDs), such as FPGAs (Field Programmable Gate Arrays), which are processors whose circuit configuration can be changed after manufacture, and dedicated electrical circuits, which are processors with circuit configurations designed specifically for performing various processes.
1つの処理部は、これら各種のプロセッサのうちの1つで構成されてもよいし、同種または異種の2つ以上のプロセッサの組み合せ(例えば、複数のFPGAや、CPUとFPGAの組み合わせ)で構成されてもよい。また、複数の処理部を1つのプロセッサで構成してもよい。複数の処理部を1つのプロセッサで構成する例としては、第1に、クライアントやサーバなどのコンピュータに代表されるように、1つ以上のCPUとソフトウエアの組み合わせで1つのプロセッサを構成し、このプロセッサが複数の処理部として機能する形態がある。第2に、システムオンチップ(System On Chip:SoC)などに代表されるように、複数の処理部を含むシステム全体の機能を1つのIC(Integrated Circuit)チップで実現するプロセッサを使用する形態がある。このように、各種の処理部は、ハードウェア的な構造として、上記各種のプロセッサを1つ以上用いて構成される。 A single processing unit may be configured with one of these various processors, or with a combination of two or more processors of the same or different types (for example, multiple FPGAs, or a combination of a CPU and an FPGA). Multiple processing units may also be configured with a single processor. Examples of multiple processing units configured with a single processor include, first, a configuration where a single processor is configured with a combination of one or more CPUs and software, as is typical of client or server computers, and this processor functions as multiple processing units. Second, a configuration where a processor is used to realize the functions of an entire system including multiple processing units on a single IC (Integrated Circuit) chip, as is typical of system-on-chip (SoC). In this way, the various processing units are configured with a hardware structure using one or more of the various processors listed above.
さらに、これらの各種のプロセッサのハードウェア的な構造は、より具体的には、半導体素子などの回路素子を組み合わせた形態の電気回路(circuitry)である。また、記憶部のハードウェア的な構造はHDD(hard disc drive)やSSD(solid state drive)等の記憶装置である。 More specifically, the hardware structure of these various processors is an electrical circuit (circuitry) that combines circuit elements such as semiconductor devices. The hardware structure of the memory unit is a storage device such as an HDD (hard disk drive) or SSD (solid state drive).
10 医療画像処理システム
11 内視鏡システム
12 内視鏡
12a 挿入部
12b 操作部
12c 先端部
12d フリーズボタン
13 光源装置
14 プロセッサ装置
15 ディスプレイ
16 ユーザインターフェース
17 医療画像処理装置
18 ディスプレイ
19 ユーザインターフェース
21 画像取得部
22 入力受信部
23 出力制御部
25 故障特定部
26 故障判定部
27 トリガー信号作成部
28 静止画作成部
31 データ取得部
32 入力受信部
33 出力制御部
34 主記憶領域
35 故障動画抽出部
36 抽出範囲設定部
37 モード制御部
38 一時保存部
39 抽出部
40 画像情報管理部
41 選別部
42 選別用一時保存部
43 重要度算出部
50 医療動画
51 正常フレーム画像
52 故障フレーム画像
52a 故障フレーム画像
52b 故障フレーム画像
52c 故障フレーム画像
53 無故障異常フレーム画像
54 故障動画
54a 故障動画
54b 故障動画
54c 故障動画
55 故障静止画
60 画像表示領域
61 画像情報表示欄
62 患者ID
63 患者氏名
64 動画再生ツールバー
65 コマンド領域
C 断線
R 病変領域
T 非病変異常領域
10 Medical image processing system 11 Endoscope system 12 Endoscope 12a Insertion section 12b Operation section 12c Tip section 12d Freeze button 13 Light source device 14 Processor device 15 Display 16 User interface 17 Medical image processing device 18 Display 19 User interface 21 Image acquisition section 22 Input receiving section 23 Output control section 25 Fault identification section 26 Fault determination section 27 Trigger signal creation section 28 Still image creation section 31 Data acquisition section 32 Input receiving section 33 Output control section 34 Main memory area 35 Fault video extraction section 36 Extraction range setting section 37 Mode control section 38 Temporary storage section 39 Extraction section 40 Image information management section 41 Selection section 42 Temporary storage section for selection 43 Importance calculation section 50 Medical video 51 Normal frame image 52 Fault frame image 52a Fault frame image 52b Fault frame image 52c Fault frame image 53 No-fault abnormal frame image 54 Fault video 54a Fault video 54b Fault video 54c Fault video 55 Fault still image 60 Image display area 61 Image information display field 62 Patient ID
63 Patient name 64 Video playback toolbar 65 Command area C Disconnection R Lesion area T Non-lesion abnormal area
Claims (15)
前記プロセッサは、
前記内視鏡システムから内視鏡検査中にリアルタイムの医療動画を取得し、
前記内視鏡システムから前記医療動画の故障シーンに基づいて作成された故障発生の情報を有するトリガー信号を受信し、
前記医療動画を一時保存し、
前記トリガー信号の受信タイミングに基づいて、一時保存した前記医療動画から、前記故障シーンを有する故障動画及び故障静止画の抽出を行い、
前記故障動画及び前記故障静止画を、主記憶領域に保存する医療画像処理システム。 an external device having a processor; and an endoscope system;
The processor:
acquiring real-time medical video from the endoscopy system during an endoscopy examination;
receiving a trigger signal having information about a failure occurrence generated based on a failure scene in the medical video from the endoscope system;
Temporarily store the medical video;
extracting a failure video and a failure still image including the failure scene from the temporarily stored medical video based on a timing of receiving the trigger signal;
The medical image processing system stores the failure video and the failure still image in a main storage area.
前記内視鏡システムから前記トリガー信号が埋め込まれた前記医療動画を取得し、
前記トリガー信号に基づいて、前記医療動画から、前記故障動画及び前記故障静止画の抽出を行う請求項1記載の医療画像処理システム。 The processor:
acquiring the medical video in which the trigger signal is embedded from the endoscope system;
2. The medical image processing system according to claim 1, wherein the failure video and the failure still image are extracted from the medical video based on the trigger signal.
前記プロセッサは、前記内視鏡システムから前記故障静止画を取得する請求項1記載の医療画像処理システム。 the endoscope system creates the failure still image upon detecting a failure;
The medical image processing system of claim 1 , wherein the processor acquires the failure still image from the endoscope system.
内視鏡システムから前記故障発生の映像を一定時間フリーズさせた第2医療動画を取得し、
前記第2医療動画を一時保存し、
前記トリガー信号の受信タイミングに基づいて、一時保存した前記第2医療動画から前記故障静止画の抽出を行う請求項1記載の医療画像処理システム。 The processor:
acquiring a second medical video from the endoscope system by freezing the video of the occurrence of the failure for a certain period of time;
Temporarily storing the second medical video;
2. The medical image processing system according to claim 1, wherein the failure still image is extracted from the temporarily stored second medical video based on the timing of receiving the trigger signal.
前記内視鏡システムにおいてユーザによるフリーズ操作で作成された第2トリガー信号を取得し、
前記第2トリガー信号に基づいて、前記故障動画及び前記故障静止画の抽出を行う請求項4記載の医療画像処理システム。 The processor:
acquiring a second trigger signal generated by a freeze operation by a user in the endoscope system;
5. The medical image processing system according to claim 4, wherein the failure video and failure still images are extracted based on the second trigger signal.
前記第2トリガー信号により抽出された前記故障静止画及び前記故障動画を、前記トリガー信号により抽出された前記故障静止画及び前記故障動画に対して視覚的に判別できる加工を行う請求項5記載の医療画像処理システム。 The processor:
The medical image processing system according to claim 5, wherein the failure still image and the failure video extracted in response to the second trigger signal are processed so that they can be visually distinguished from the failure still image and the failure video extracted in response to the trigger signal.
前記内視鏡検査の開始前に、前記トリガー信号の受信タイミング及び前記受信タイミングの前後のシーンを前記医療動画から抽出する、第1抽出範囲を設定する請求項1ないし6いずれか1項記載の医療画像処理システム。 The processor:
7. The medical image processing system according to claim 1, further comprising: a first extraction range for extracting, from the medical video, a timing at which the trigger signal is received and scenes before and after the timing of the reception of the trigger signal, before the start of the endoscopic examination.
前記第1抽出範囲において、前記トリガー信号の受信タイミングに少なくとも前記故障動画の記録範囲の確定まで継続する第1制限期間を設定し、
前記第1制限期間において同じ種類の故障である前記トリガー信号を受信した場合は、新たな前記抽出を開始せず、故障情報の取得のみを行う請求項7記載の医療画像処理システム。 The processor:
In the first extraction range, a first limit period is set at the timing of receiving the trigger signal, the first limit period continuing at least until the recording range of the failure video is determined;
8. The medical image processing system according to claim 7, wherein if the trigger signal indicating the same type of fault is received during the first limited period, new extraction is not started and only fault information is acquired.
前記内視鏡検査の開始前に、同じ種類の前記故障発生の情報を持ち、連続した前記トリガー信号の範囲を前記医療動画から抽出する、第2抽出範囲を設定する請求項1ないし6いずれか1項記載の医療画像処理システム。 The processor:
A medical image processing system according to any one of claims 1 to 6, wherein a second extraction range is set before the start of the endoscopic examination, and a range of consecutive trigger signals having information on the occurrence of the same type of fault is extracted from the medical video.
前記内視鏡検査の開始前に、前記第2抽出範囲に代えて、前記第2抽出範囲及び前記第2抽出範囲の前後のシーンを前記医療動画から抽出する第3抽出範囲を設定する請求項9記載の医療画像処理システム。 The processor:
10. The medical image processing system according to claim 9, wherein, before the start of the endoscopic examination, a third extraction range is set in place of the second extraction range, and the third extraction range is used to extract the second extraction range and scenes before and after the second extraction range from the medical video.
前記第2抽出範囲又は前記第3抽出範囲において、前記トリガー信号の受信タイミングに少なくとも前記故障動画の記録範囲の確定まで継続する第2制限期間を設定し、
前記第2制限期間において同じ種類の故障である前記トリガー信号を受信した場合は、新たな前記抽出を開始せず、故障情報の取得及び抽出範囲の延長を受け付ける請求項10記載の医療画像処理システム。 The processor:
In the second extraction range or the third extraction range, a second limit period is set at the timing of receiving the trigger signal, the second limit period continuing at least until the recording range of the failure video is determined;
11. The medical image processing system according to claim 10, wherein if a trigger signal indicating the same type of fault is received during the second limited period, new extraction is not started, and acquisition of fault information and extension of the extraction range are accepted.
前記第2抽出範囲又は前記第3抽出範囲において、一定時間経過により前記故障動画の記録範囲を確定させる請求項10または11記載の医療画像処理システム。 The processor:
12. The medical image processing system according to claim 10, wherein the recording range of the failure video is determined after a certain period of time has elapsed in the second extraction range or the third extraction range.
前記抽出の実行回数に、上限数を設定する請求項1ないし12いずれか1項記載の医療画像処理システム。 The processor:
13. The medical image processing system according to claim 1, wherein an upper limit is set for the number of times the extraction is performed.
前記故障動画及び前記故障静止画の取得時に、前記医療動画が有する画像情報に含まれる個人情報を、削除又は閲覧できないように加工する請求項1ないし13いずれか1項記載の医療画像処理システム。 The processor:
14. The medical image processing system according to claim 1, wherein personal information included in image information of the medical video is deleted or processed so as not to be viewable when the failure video and the failure still image are acquired.
前記外部装置が、前記内視鏡システムから、内視鏡検査中にリアルタイムの医療動画を取得するステップと、
前記外部装置が、前記内視鏡システムから、前記医療動画の故障シーンに基づいて作成された故障発生の情報を有するトリガー信号を受信するステップと、
前記外部装置が、前記医療動画を一時保存するステップと、
前記外部装置が、前記トリガー信号の受信タイミングに基づいて、一時保存した前記医療動画から、前記故障シーンを有する故障動画及び故障静止画の抽出を行うステップと、
前記外部装置が、前記故障動画及び前記故障静止画を、主記憶領域に保存するステップとを有する医療画像処理システムの作動方法。
1. A method of operating a medical imaging system comprising an external device having a processor and an endoscopy system, the method comprising:
acquiring , by the external device, real-time medical video from the endoscopy system during an endoscopy examination;
receiving, from the external device, a trigger signal having information on the occurrence of a failure, the trigger signal being generated based on a failure scene in the medical video;
The external device temporarily stores the medical video;
The external device extracts a failure video and a failure still image including the failure scene from the temporarily stored medical video based on a timing of receiving the trigger signal;
and a step in which the external device stores the failure video and the failure still image in a main memory area.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022048169A JP7783766B2 (en) | 2022-03-24 | 2022-03-24 | Medical image processing system and method of operation |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022048169A JP7783766B2 (en) | 2022-03-24 | 2022-03-24 | Medical image processing system and method of operation |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023141709A JP2023141709A (en) | 2023-10-05 |
| JP7783766B2 true JP7783766B2 (en) | 2025-12-10 |
Family
ID=88206276
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022048169A Active JP7783766B2 (en) | 2022-03-24 | 2022-03-24 | Medical image processing system and method of operation |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7783766B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009034821A1 (en) | 2007-09-11 | 2009-03-19 | Nec Corporation | Data logger, data saving method and program |
| JP2011244884A (en) | 2010-05-24 | 2011-12-08 | Olympus Corp | Endoscopic system |
| JP2012192004A (en) | 2011-03-15 | 2012-10-11 | Olympus Corp | Surgical system |
| WO2018055797A1 (en) | 2016-09-20 | 2018-03-29 | オリンパス株式会社 | Centralized control device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6120722B2 (en) * | 2013-08-13 | 2017-04-26 | オリンパス株式会社 | Observation device and method of operating observation device |
-
2022
- 2022-03-24 JP JP2022048169A patent/JP7783766B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009034821A1 (en) | 2007-09-11 | 2009-03-19 | Nec Corporation | Data logger, data saving method and program |
| JP2011244884A (en) | 2010-05-24 | 2011-12-08 | Olympus Corp | Endoscopic system |
| JP2012192004A (en) | 2011-03-15 | 2012-10-11 | Olympus Corp | Surgical system |
| WO2018055797A1 (en) | 2016-09-20 | 2018-03-29 | オリンパス株式会社 | Centralized control device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023141709A (en) | 2023-10-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9186041B2 (en) | Medical information recording apparatus that determines medical scene or changing of medical scene, synthesizes images obtained by medical equipment, and records synthesized image | |
| CN101686799B (en) | Image processing device, and its operating method | |
| KR100868339B1 (en) | Method for displaying the medical image and system and method for providing captured image by the medical image | |
| JP4971615B2 (en) | System and method for editing an in-vivo captured image stream | |
| CN105142493A (en) | Image management device | |
| US20070285578A1 (en) | Method for motion detection and method and system for supporting analysis of software error for video systems | |
| JP7815001B2 (en) | Medical image processing system and method of operation | |
| JP7579750B2 (en) | Medical Image Processing System | |
| KR100751160B1 (en) | Medical image recording systems | |
| JP2011232111A (en) | Inspection device and fault detecting method used for inspection device | |
| WO2018043585A1 (en) | Endoscope device, information processing device, and program | |
| US10918260B2 (en) | Endoscopic image observation support system | |
| JP7767162B2 (en) | Endoscope system and method of operation thereof | |
| JP7611073B2 (en) | Medical image processing system and method of operation thereof | |
| JP7783766B2 (en) | Medical image processing system and method of operation | |
| US12354333B2 (en) | Learning device, operation method of learning device, and medical image processing terminal | |
| JP2011232110A (en) | Inspection device and defect detection method using inspection device | |
| JP2023043344A (en) | MEDICAL IMAGE PROCESSING APPARATUS, OPERATION METHOD OF MEDICAL IMAGE PROCESSING APPARATUS, AND MEDICAL IMAGE PROCESSING PROGRAM | |
| JP4964572B2 (en) | Movie recording / playback device | |
| JP6591267B2 (en) | Endoscopic image management device | |
| WO2023228659A1 (en) | Image processing device and endoscope system | |
| JP7641920B2 (en) | ENDOSCOPE PROCESSOR, INFORMATION PROCESSING METHOD, AND COMPUTER PROGRAM | |
| WO2022195725A1 (en) | Information processing device and image display method | |
| JP2018183420A (en) | Endoscopic image observation supporting system | |
| JP2020127440A (en) | Endoscopic image observation support system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20241206 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250821 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250826 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20251021 |
|
| 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: 20251104 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251128 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7783766 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |