The present invention relates to a computer program and an image playback method.
Patent Document 1 (Japanese Patent Application Laid-Open No. 2011-36370) proposes playback of a part of the moving image of a surgical operation.
In Patent Document 1, though checking for a necessary part through playback based on feature points is made possible, mere playback of a scene in which an incident such as bleeding occurs often makes it difficult to grasp a location of the cause of the incident.
The present invention is made in view of such a background and aims at provision of a technique that allows for easy understanding of an event during a surgical operation.
A computer program according to one aspect of the present invention causes a computer to execute processing of recording operation field images obtained by chronologically shooting an operation field under endoscopic surgery, determining presence or absence of a predetermined or larger amount of bleeding based on the operation field images, and playing back partial images according to a set playback mode in a time range from a time before a start of bleeding to the time after the bleeding among the recorded operation field images, when it is determined that the predetermined or larger amount of bleeding is present.
According to the present invention, an event during a surgical operation is made easily understandable.
The above and further objects and features of the invention will more fully be apparent from the following detailed description with accompanying drawings.
The present invention is described with the contents of embodiments listed up. The present invention has a configuration as below, for example.
A moving image playback mode comprising:
a moving image acquisition unit that acquires a moving image obtained by capturing an image of an operation field of an endoscopic surgery;
an event detection unit that detects a predetermined event in the operation field by analyzing the moving image;
a partial moving image extraction unit that extracts a partial moving image shot during a period including a detection point of the event from the moving image; and an event playback unit that plays back the partial moving image according to each of a plurality of playback modes.
The moving image playback mode according to Clause 1, wherein
the playback modes include at least two of a normal playback, a slow playback, a repetitive playback and a reverse playback.
The moving image playback mode according to Clause 1, wherein
the event playback unit selects a type of the plurality of playback modes according to at least any one of a type of an organ as a subject to be operated, an operative method related to a procedure, and a parameter related to the event.
The moving image playback mode according to Clause 1, wherein
the event playback unit selects at least one of a playback speed related to the playback modes, a time duration from the detection time t0 a start time of the period, a time duration from the detection time t0 an end point of the period and a playback direction according to at least one of a type of an organ as an subject to be operated, an operative method related to a procedure and a parameter related to the event.
The moving image playback mode according to Clause 1, wherein
the event is bleeding from the subject to be operated,
the event detection unit detects a bleeding amount,
the playback modes include at least the slow playback, and
the event playback unit determines a playback speed of the slow playback depending on at least the bleeding amount.
The surgical operation support system according to Clause 1, wherein
the period corresponds to a first period, and
the event playback unit plays back the partial moving image for a second period within a first period which is the period described above at a playback speed lower than that in other periods, the second period being shorter than the first period and including the detection time.
The surgical operation support system according to Clause 1, further comprising a setting unit that sets at least one of a type of the plurality of playback modes, a playback speed related to the playback modes, a time duration from the detection time t0 a start time of the period, a time duration from the detection time t0 an end time of the period and a playback direction.
Clause 8
The surgical operation support system according to Clause 7, wherein
the setting unit changes at least one of a type of the plurality of playback modes, a playback speed related to the playback modes, a time duration from the detection time t0 a start time of the period, a time duration from the detection time t0 an end time of the period and a playback direction after start of playback by the event playback unit.
Hereinafter, a surgical operation system according to one embodiment of the present invention will be described. A surgical operation support system according to the present embodiment is for supporting an endoscopic surgery and can also be a moving image playback mode for outputting a moving image obtained by specifically capturing an image of an operation field and playing back, in the case where an event such as local bleeding, for example, occurs, a scene including the time when the event occurs.
The operation unit 10 is for performing a surgical procedure on a patient 100 as a subject to be operated and includes an instrument part 11 as a procedure unit, a sensor part 12 as a procedure unit likewise and an endoscope camera 13 as an image acquisition unit in the present embodiment.
The instrument part 11 is constructed by a movable arm and a surgical instrument attached to the distal end of the movable arm. Though as surgical instruments, for example, a scalpel (electric scalpel or the like), scissors, forceps, a needle holder, tweezers and like are assumed, various surgical instruments other than the ones described above are attachable according to the applications.
The sensor part 12 employs various sensors such as a pressure sensor, a gyro sensor, an acceleration sensor, a temperature sensor or the like for detecting the state of the instrument part 11, for example.
The configuration of the endoscope camera 13 will be described later.
The operation unit 20 is for accepting an operation performed on the operation unit 10 by an operating surgeon 110 as an operator and includes a display 21 as a display part, a controller part 22 and a speaker 23 in the present embodiment. Furthermore, the operation unit 20 may be provided with a microphone for accepting voice instructions from the operating surgeon 110.
The display 21 is for providing the operating surgeon 110 with various information, and employs a technique of implementing a Head Mount Display (HMD) of VR (Virtual Reality) in the present embodiment, which enables stereoscopic views of an area to be viewed by utilizing parallax of both of the eyes of the operating surgeon 110.
The controller part 22 is implemented by an input device such as a joystick, a foot pedal and the like in the present embodiment, and the speaker 23 provides the operating surgeon 110 with various information by voice or the like.
The processor 31 is an arithmetic device for controlling the operation of the control unit 30 and performing control of data transmission and reception between the components as well as processing or the like necessary for execution of an application program.
The processor 31 is, for example, a CPU (Central Processing Unit) in the present embodiment and performs each processing by executing the application program or the like stored in the storage 33 to be described later and developing it on the memory 32.
The memory 32 is provided with a main storage formed of a volatile storage such as a DRAM (Dynamic Random Access Memory) and an auxiliary storage formed of a nonvolatile storage device such as a flash memory and an HDD (Hard Disc Drive).
This memory 32 is used as a work area of the processor 31 while it stores Basic Input/Output System (BIOS) to be executed upon startup of the control unit 30 as well as various setting information.
The storage 33 stores the application program, data used for various processing and the like. In the present embodiment, an image processing program for performing various processing is stored. The image processing program is provided by a non-transitory recording medium RM in which a program is readably recorded, for example. The processor 31 may read a desired program from the recording medium RM using a reading device (not illustrated) and may merely store the read program in the storage 33. The details of the image processing program will be described later.
The transmission-reception part 34 connects the control unit 30 to the Internet. The transmission-reception part 34 may be equipped with a near field communication interface such as Bluetooth (registered trademark) and Bluetooth Low Energy (BLE).
In the present embodiment, the control unit 30 is connected to the operation unit 10 and the operation unit 20 through the transmission-reception part 34.
The input-output part 35 is connected, as necessary, to information input devices such as a keyboard and a mouse and an output device such as a display.
The bus 36 transfers an address signal, a data signal and various control signals, for example, among the processor 31, the memory 32, the storage 33, the transmission-reception part 34 and the input-output part 35 that are connected to each other.
The image recording part 331 records as a recorded image M1 an image M that is acquired by the endoscope camera 13 and displayed in real time on the display 21.
The surgical operation system according to the present embodiment with such a configuration is to endoscopically perform minimally invasive endoscopic surgery by making more than one small holes of approximately 3 to 10 mm in the body of the patient 100, which reach the abdominal cavity or thoracic cavity of the patient 100, and by inserting the endoscope camera 13 and a surgical instrument of the instrument part 11 through the holes without incision of the body.
The operation input part 311 accepts various operations that are input through the operation unit 20 by the operating surgeon 110.
The occurrence time specification part 312 specifies a time when an event occurs (hereinafter referred to as an event occurrence time) from the recorded image Ml. The occurrence time specification part 312 performs an image analysis on each of the frames F that constitute the recorded image M1 and extracts the feature quantity (red color of bleeding, for example) of an image representing an event to thereby determine whether or not an event occurs in the frame of interest and specify the time corresponding to the foremost frame out of the frames F shot during a series of the same event as an event occurrence time.
The occurrence time specification part 312 can be implemented by an artificial intelligence module for autonomously specifying event-related frames by machine learning, for example. As methods of performing machine learning, various algorithms such as a neural network, a random forest, a support vector machine (SVM) and the like can appropriately be used.
As illustrated in
The partial moving image extraction part 313 extracts a partial moving image (frames included in this period) shot during a period including the event occurrence time. In the example of
The parameter storage part 332 stores various parameters such as times i1, i2 and the like. In the example of
The playback part 314 plays back a partial moving image. In the present embodiment, the playback part 314 plays back a partial moving image using multiple playback modes. The multiple playback modes include at least two of a normal playback, a slow playback, a repetitive playback and a reverse playback. That is, the playback part 314 can play back a scene including the event occurrence time multiple times while varying the playback modes. Various parameters related to the playback modes (playback speed for the slow playback, the number of playbacks for the repetitive playback, for example) are stored in the parameter storage part 332.
The playback part 314 can display a partial image as a wipe image on the display 21 that the operating surgeon 110 is viewing.
Moreover, the playback part 314 can play back a partial moving image by a combination of different playback modes depending on the types of the operation performed with the surgical instrument of the instrument part 11. A playback mode to be used is stored in the setting storage part 333 to be described later.
In the example of
The occurrence time specification part 312 specifies a time (frame) when an event occurs from the recorded image M1 (S401) and specifies an operation type of a surgical instrument of the instrument part 11 from the recorded image M1 (S402). For example, the occurrence time specification part 312 can specify the operation type by analyzing an image.
The partial moving image extraction part 313 respectively reads out parameters and a playback mode list from the parameter storage part 332 and the setting storage part 333 (S403), calculates a extraction period (t0−i1 to t0+i2) from the preceding time (i1) and the succeeding time (i2) of the read parameters and the specified event occurrence time t0 and extracts a partial moving image shot during the calculated period from the recorded image M1 (S404).
The playback part 314 extracts a next playback mode from the playback modes included in the playback mode list (S405), and plays back the partial moving image in the next playback mode (S407) when the next playback mode is present (S406: NO). Here, the parameters in the playback mode (playback speed of the slow playback, the number of repetitions of the repetitive playback and the like) employs the read parameters described above. The playback part 314 may output the partial image as a wipe image W as illustrated in
As in the description above, according to the surgical operation system of the present embodiment, in the case where an event (bleeding, for example) occurring in a space (abdominal cavity, for example) of a subject to be operated is detected, a partial moving image shot during a period including the event occurrence time, i.e., an event occurrence scene can be output. By checking the wipe image W as illustrated in
Moreover, according to the surgical operation system of the present embodiment, a partial moving image shot during a period including an event occurrence time such as bleeding B or the like can be checked by multiple playback modes. Accordingly, displaying the past scene multiple times as in the present embodiment enables easy and reliable grasping of the event occurrence position and the event occurrence cause in comparison with the case of checking the past scene only once. Additionally, by playing back the same scene in the different playback modes as in the present embodiment, the identical event can be checked in different way of viewing, so that the event occurrence location (bleeding site, for example) and the event occurrence factor (the cause of bleeding, for example) can be grasped more easily and reliably.
The control unit 30 according to Embodiment 2 includes a bleeding amount detection part 315 in addition to the configuration of the control unit 30 in Embodiment 1 described above (see
Note that the playback part 314 may change the playback speed only in the case where the playback mode is in the slow playback, or may change the playback speed for all the playback modes.
The control unit 30 according to Embodiment 2 stores two sets of preceding times, succeeding times and playback speeds as parameters to be stored in the parameter storage part 332 unlike the configuration of the control unit 30 according to Embodiment 1 described above (see
In Embodiment 3 as well, the bleeding amount detection part 315 is provided as in Embodiment 2, and a playback may be made at the playback speed 2 depending on the bleeding amount or the bleeding speed during the period for the second set.
Furthermore, the playback speed 1 for the first set is set to a speed higher than the normal speed (real time) to perform a fast-forward playback the scenes other than the scene including the event occurrence time.
Thus, a playback speed and a playback period depending on the playback modes can freely be set.
In Embodiment 6, a configuration in which a partial moving image taken during a predetermined time range including the bleeding start time is played back in the case where a predetermined or larger amount of bleeding is detected. Note that, since the software configuration of the control unit 30 is similar to that of Embodiment 2, the description thereof is not repeated here.
When determining that a predetermined or larger amount of bleeding is present (S472: YES), the control unit 30 executes the processing at and after step S402. That is, the control unit 30 reads out various parameters (playback speed, the number of repetitions for the repetitive playback and the like) related to playback modes and a playback mode list according to the operation type such as resection, abrasion, traction, suture, suction and the like and plays back a partial moving image extracted from the recorded image M1 based on the read parameters and the playback mode list. The extraction method of the partial moving image is similar to that of Embodiment 1. That is, the partial moving image extraction part 313 is only required to extract frames F included in the time range from the time before start of bleeding (t0−i1) to the time after bleeding (t0+i2) as a partial moving image in the recorded image M1 stored in the image recording part 331. In the present embodiment, t0 represents the bleeding start time. The times i1, i2 may previously be set, or may be set according to the operation type such as resection, abrasion, traction, suture and suction and the like as well as the shot scene or the like.
The playback part 314 plays back the partial moving image according to the playback modes including at least one of the normal playback, the slow playback, the frame-by-frame playback, the repetitive playback and the reverse playback. The playback part 314 may output a partial image as a wipe image W as illustrated in
The playback part 314 plays back the partial moving image by switching the playback modes from the normal playback, the partial slow playback and the partial slow reverse playback in this order. The playback part 314 may repeat this order from the normal playback, the partial slow playback and the partial slow reverse playback after the partial slow reverse playback.
In the normal playback, the time i1 (1) is set as 6 seconds while the time i2 (1) is set as 2 seconds, for example. That is, the playback part 314 plays back a partial moving image of 8 seconds in total from 6 seconds before the bleeding start time t0 2 seconds after the bleeding start time at the normal playback speed (playback speed 1). The surgical image shot before bleeding is played back a little longer, which allows the operator to grasp the operation that causes the bleeding.
In the partial slow playback, the time i1(1) is set as 3 seconds, the time i2(1) is set as 2 seconds and the times i1(2) and i2(2) are set as 0.2, for example. That is, the playback part 314 plays back a partial moving image of 2.8 seconds from 3 to 0.2 seconds before the bleeding start time at the normal playback speed (playback speed 1), and plays back in slow motion a partial moving image of 0.4 seconds, i.e. from 0.2 seconds before the bleeding start time t0 0.2 seconds after the bleeding start time, at one fifths of the normal playback speed (playback speed 2). Note that the playback speed in the slow playback may be set to an appropriate speed, not limited to one fifth of the normal speed. After the slow playback, the playback part 314 plays back a partial moving image of 1.8, i.e. seconds from 0.2 to 2 seconds after the bleeding start time, at the normal playback speed (playback speed 1). In the partial slow playback, the instant of bleeding is played back in slow motion, and thus the operator has an advantage of easily recognizing a bleeding site. Furthermore, the playback mode is changed immediately before bleeding, which allows the operator to predict that bleeding is going to occur. Moreover, a partial slow playback is employed, which avoids extension of the playback time.
The time setting in the partial slow reverse playback is similar to that in the partial slow playback. The playback part 314 reversely plays back a partial moving image from 0.2 to 2 seconds after the bleeding start time at the normal playback speed (playback speed 1), and reversely plays back in slow motion a partial moving image from 0.2 seconds before the bleeding start time t0 0.2 seconds after the bleeding start time at one fifths of the normal playback speed (playback speed 2). Note that the playback speed in the slow reverse playback may be set to an appropriate speed, not limited to one fifth of the normal speed. After the slow playback, the playback part 314 reversely plays back a partial moving image from 3 to 0.2 seconds before the bleeding start time at the normal playback speed (playback speed 1). Since the partial slow reverse playback enables image display such that spread blood gradually converges to one location, the operator can easily recognize a bleeding site by grasping the convergent point.
In
As described above, since a bleeding scene is displayed in image only in the case where a predetermined or larger amount of bleeding is detected in Embodiment 6, only the bleeding scene that is to be recognized by the operator can be displayed without hindering the surgical operation.
Though the threshold for the bleeding amount is assumed to be previously set in Embodiment 6, setting of the threshold by the operator such as an operating surgeon may be accepted through the operation input part 311. When accepting the setting of the threshold, by comparing the amount of bleeding estimated from the image and the set threshold, the bleeding amount detection part 315 may determine the presence or absence of a predetermined or larger amount of bleeding.
In Embodiment 7, bleeding equal to or more than a threshold that occurs during image capturing is recognized, and the recognized bleeding scene is displayed as a thumbnail on the display 21. When accepting a selection of the thumbnail, the control unit 30 plays back a moving image of the corresponding bleeding scene.
The control unit 30 determines whether or not a selection of a thumbnail is accepted through the operation input part 311 (S484). The operation input part 311 may accept a selection performed on the thumbnail by using the input device such as a joystick, a foot pedal and the like included in the controller part 22, or may accept voice instructions for selecting a thumbnail using a microphone. When not accepting a selection (S484: NO), the control unit 30 returns the processing to step S481.
The control unit 30 adds a new thumbnail to the operation field images every time a predetermined or larger amount of bleeding is detected. Note that since the excessive number of the thumbnails makes it difficult to check the affected area T in the operation field images, the number of thumbnails to be displayed may be limited. For example, the control unit 30 may select a predetermined number of thumbnails from the thumbnail having the latest detection time in order. Moreover, instead of a configuration in which a thumbnail is displayed so as to be superimposed on the operation field images, the operation field images may be displayed on the display 21 while the thumbnail may be configured to be separately displayed on a sub display.
When accepting a selection operation performed on the thumbnail (S484: YES), the partial moving image extraction part 313 respectively reads out the parameters and the playback mode list from the parameter storage part 332 and the setting storage part 333 for the bleeding scene shown by the selected thumbnail (S403).
Here, the partial moving image extraction part 313 can read the necessary parameters and playback mode list using the information of the bleeding start time t0 associated with the thumbnail as a retrieval key.
The processing after reading the parameters and the playback mode list is similar to that of Embodiment 6. The partial moving image extraction part 313 extracts a partial moving image, and the playback part 314 plays back the partial moving image according to the playback mode described in the playback mode list. The playback part 314 may be only required to playback the partial moving image according to the playback mode including at least one of the normal playback, the slow playback, the frame-by-frame playback, the repetitive playback and the reverse playback. The playback part 314 may output the partial image as a wipe image W as illustrated in
Since, in the description above, a moving image of a bleeding scene is played back only in the case where a thumbnail is selected in the surgical operation system 1 according to Embodiment 7, only the bleeding scene that is desired by an operator such as an operating surgeon can be offered as a moving image.
In Embodiment 8, a configuration in which detection of bleeding is notified in the case where bleeding is detected at a peripheral region of the operation field region acquired by the endoscope camera 13 is described.
When determining that bleeding occurs at the peripheral region of the operation field images (S492: YES), the control unit 30 notifies of information that bleeding occurs (S493). The control unit 30 displays text information indicating the occurrence of bleeding, an icon or the like, for example, on the display 21. Alternatively, the control unit 30 may output voice information indicating the occurrence of bleeding through the speaker 23.
Since, in the description above, information that bleeding occurs is notified in the case where bleeding occurs at the peripheral region of the operation field images in Embodiment 8, the operator can recognize the presence of bleeding that is hard to notice.
In Embodiment 9, a configuration in which a graph showing a chronological variation of the amount of bleeding is displayed is described.
Furthermore, the control unit 30 may denote a point on the graph GR where the amount of bleeding is equal to or more than a predetermined amount by a mark MK or the like as illustrated in
Since, in the description above, the graph representing the chronological variation of the amount of bleeding is displayed in Embodiment 9, the operator can grasp a bleeding state that occurred in the past.
In Embodiment 10, a configuration is described in which determination as to whether or not a predetermined or larger amount of bleeding occurs is performed in the case where a resection instrument is included in the operation field images while such a determination is not performed in the case where a hemostasis device is included in the operation field images.
When the resection instrument is included (S501: YES), the control unit 30 detects the amount of bleeding by analyzing the images of the frames F (S502). The bleeding amount detection part 315 may detect the amount of bleeding depending on the number of pixels having a color corresponding to blood and on the area dimension of the bleeding region, as described in Embodiment 2. The bleeding amount detection part 315 detects the amount of bleeding every time the image of the frame F is input, and determines the presence or absence of a predetermined or larger amount of bleeding by comparing the detected bleeding amount and a preset threshold (S503). When a predetermined or larger amount of bleeding is absent (S503: NO), the control unit 30 returns the processing to step S401.
When a predetermined or larger amount of bleeding is present (S503: YES), the control unit 30 executes the processing at and after step S402 described in Embodiment 1. That is, the control unit 30 reads out various parameters related to playback modes (playback speed, the number of repetitions for the repetitive playback and the like) according to the operation type such as resection, abrasion, traction, suture, suction and the like as well as a playback mode list and plays back a partial moving image extracted from the recorded image M1 based on the read parameters and the playback mode list. The extraction method of the partial moving image is similar to that of Embodiment 1. In other words, the partial moving image extraction part 313 is only required to extract the frames F included in the time range from the time before bleeding (t0·i1) to the time after the bleeding (t0+i2) as a partial moving image among the recorded image Ml. In the present embodiment, the time t0 represents the bleeding start time. The time i1, i2 may previously be set or may be set according to the operation type such as resection, abrasion, traction, suture, suction and the like as well as the shot scene.
Furthermore, when playing back a partial moving image, the control unit 30 analyzes the images of the frames F acquired by the endoscope camera 13 and determines whether or not the hemostasis device is included in the operation field images (S504). The control unit 30 can determine whether or not the hemostasis device is included in the operation field images by judging whether or not a figure of a preset shape is included by using a method of a template matching or the like. When the hemostasis device is not included (S504: NO), the control unit 30 plays back the partial moving image (S407). Meanwhile, when the hemostasis device is included (S504: YES), the control unit 30 ends the processing according to the flowchart without performing playback of the partial moving image.
As described above, in Embodiment 10, the partial moving image is played back only in the case where the amount of bleeding becomes equal to or larger than a predetermined amount during resection of the region to be operated using the resection instrument. Moreover, when the hemostasis device appears in the operation field images, a hemostasis site appears to be determined and playing back the partial moving image is controlled so as not to be performed.
While the present embodiments have been described above, such embodiments are for easy understanding of the present invention, not for limitative understanding of the present invention. It is understood that changes and variations may be made without departing from the spirit of the invention and the equivalence thereof is also embraced.
Though a case where the event is regarded as bleeding B from a region near the affected area T of the patient 100 is described in the above-described embodiments, the event may be regarded as detection of damage, malpractice and other abnormalities, for example.
The present surgical operation system can be applied to all the procedures having a possibility of causing the above-described accidents as well as a surgical operation. The examples include any procedures including accidents caused by or suspected to be caused by medical treatment such as a physical examination, a test, a diagnostic paracentesis, specimen collection, imaging study, administration/injection (including a blood transfusion), rehabilitation, anesthesia, radiation therapy and use of a medical equipment.
The number of the surgical operation systems in a surgical operation may be more the one, not limited to one. Here, the motion of the operation unit and the work unit are synchronized with each other, or may be configured to separately function (a first operation device and a second operation device do not coordinate with each other).
Furthermore, a subject to be operated in the present system may be animals, objects as a subject for training, plants or the like, not limited to the human body.
Moreover, in each of the above-mentioned embodiments, detection of digestive fluid or bile drained due to damage to the internal organs or the digestive organs in place of detection of the amount of bleeding can produce a similar working effect.
Additionally, though the event is assumed as an incident such as bleeding in each of the above-mentioned embodiments, a specific operation with a surgical instrument, for example, can be detected as an event. For example, suturing or anastomosing using a suturing instrument (stapler) is detected as an event, and the situation during suturing or anastomosing can be played back. This makes it possible to confirm whether or not the treatment is properly performed.
Though the present embodiment is assumed to be applied to a real-time moving image shot during a surgical operation performed on the patient 100, it is also useful in the situation where the recorded image M1 recording the situation of the surgical operation is viewed later. For example, the operating surgeon 110 may view the recorded image M1 of the surgical operation performed by himself/herself or another surgeon for using the cause or location of an event occurrence as reference for future surgical operations.
It is noted that, as used herein and in the appended claims, the singular forms “a”, “an”, and “the” include plural referents unless the context clearly dictates otherwise.
| Number | Date | Country | Kind |
|---|---|---|---|
| PCT/JP2020/003482 | Jan 2020 | JP | national |
This application is the national phase of PCT International Application No. PCT/JP2020/041295 which has an International filing date of Nov. 5, 2020 and designated the United States of America.
| Filing Document | Filing Date | Country | Kind |
|---|---|---|---|
| PCT/JP2020/041295 | 11/5/2020 | WO |