ENDOSCOPYRIGHT: 201002306344.
Patent Information
- Application Number
- JP2023576684
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-12-14
- Filing Date
- 2022-12-14
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2042-12-14
AI Technical Summary
During laparoscopic surgery, it is challenging for operators to accurately reinsert a treatment tool into the affected area without a visible field of view, as the endoscope's field of view may not encompass the tool when it is removed and reinserted.
An endoscope system that includes an endoscope inserted into a subject to acquire images, a mobile device to change the endoscope's position and posture, and a controller with a processor. The controller acquires treatment instrument information and automatically switches to a bird's-eye-view mode, zooming out the image while maintaining a specific point within the subject in view, to facilitate easy reinsertion of the treatment tool.
This solution enables the easy reinsertion of the treatment tool without the need for user operations, improving the accuracy and efficiency of the process by providing a clear, bird's-eye view of the treatment tool's reinsertion.
Description
[Technical field]
[0001] The present invention relates to an endoscope system, a control method for an endoscope system, and a recording medium. [Background technology]
[0002] Conventionally, a system has been proposed in which an endoscope automatically tracks a treatment tool by controlling a robot arm based on the position of the treatment tool (see, for example, Patent Document 1). The system of Patent Document 1 controls the robot arm so that the treatment tool is kept captured in the center of the endoscopic image. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2003-127076 A Summary of the Invention [Problem to be solved by the invention]
[0004] As shown in FIG. 3A, during treatment of the affected area with the treatment tool 6, the endoscope 2 is positioned near the organ E. When the treatment tool 6 is removed from the body and reinserted from this state, the reinserted treatment tool, which is positioned outside the field of view F of the endoscope, is not observed in the endoscope image. Therefore, the surgeon must operate in a state where the reinserted treatment tool cannot be seen. Therefore, it is difficult to accurately reinsert the treatment tool to the affected area, particularly when the treatment tool is inserted and removed via a swingable trocar, as in laparoscopic surgery. In order to easily reinsert the treatment tool, it is desirable to move the endoscope away from the organ and obtain a bird's-eye view of the inside of the body. However, to obtain a bird's-eye view, a user such as a surgeon needs to operate the robot arm every time the treatment tool is reinserted.
[0005] The present invention has been made in consideration of the above-mentioned circumstances, and aims to provide an endoscopic system, a control method for an endoscopic system, and a recording medium that can assist in easy reinsertion of a treatment tool without requiring user operation. [Means for solving the problem]
[0006] One aspect of the present invention is an endoscopic system comprising an endoscope that is inserted into a subject and acquires images of the inside of the subject, a moving device that changes the position and posture of the endoscope, and a control device having at least one processor, wherein the control device acquires treatment tool information regarding the position or movement of a treatment tool inserted into the subject and executes an overhead mode based on the treatment tool information, and in the overhead mode, the control device controls at least one of the endoscope and the moving device to automatically zoom out the image while maintaining a specific point within the subject within the image.
[0007] Another aspect of the present invention is a control method for an endoscopic system, the endoscopic system comprising an endoscope that is inserted into a subject and acquires images of the inside of the subject, and a moving device that changes a position and attitude of the endoscope, the control method including acquiring treatment tool information relating to a position or movement of a treatment tool inserted into the subject, and executing an overhead mode based on the treatment tool information, and in the overhead mode, controlling at least one of the endoscope and the moving device to automatically zoom out the image while maintaining a specific point within the subject within the image. Another aspect of the present invention is a non-transitory computer-readable recording medium storing a control program for causing a computer to execute the above-described control method. Effect of the Invention
[0008] According to the present invention, it is possible to provide an advantage that easy reinsertion of a treatment tool can be assisted without requiring user operation. [Brief description of the drawings]
[0009] [Figure 1] 1 is an overall configuration diagram of an endoscope system according to an embodiment. [Diagram 2] FIG. 2 is a block diagram showing the overall configuration of the endoscope system of FIG. 1. [Figure 3A] 1A to 1C are diagrams illustrating the operation of the endoscope in a tracking mode or a manual mode. [Figure 3B] 1A to 1C are diagrams illustrating the operation of the endoscope in a tracking mode or a manual mode. [Figure 3C] 11A to 11C are diagrams illustrating the operation of the endoscope in a bird's-eye view mode. [Figure 3D] 11A to 11C are diagrams illustrating the operation of the endoscope in a bird's-eye view mode. [Figure 3E] 11A to 11C are diagrams illustrating the operation of the endoscope in a bird's-eye view mode. [Figure 4A] FIG. 13 shows an example of an image in follow mode or manual mode. [Figure 4B] 13A and 13B are diagrams showing examples of images in the follow-up mode or manual mode after the treatment tool has been removed. [Figure 4C] FIG. 13 shows an example of a zoomed out image in an overhead mode. [Diagram 5] 13 is a flowchart of a control method for the endoscope system. [Figure 6A] 1 is a flowchart of a first method for determining a start trigger. [Figure 6B] 11 is a flowchart of a second method for determining a start trigger. [Figure 6C] 13 is a flowchart of a third method for determining a start trigger. [Figure 6D] 13 is a flowchart of a fourth method for determining a start trigger. [Figure 7] 1 is a flow chart of a method for determining an end trigger. [Figure 8] FIG. 13 shows a zoomed out image of the inner wall of the trocar. [Figure 9A] FIG. 13 is a diagram showing an example of a zoomed out image showing a reinserted treatment tool. [Figure 9B] FIG. 13 is a diagram showing another example of a zoomed out image showing a reinserted treatment tool. [Figure 10A] FIG. 13 shows an example of a zoomed out image after movement of the endoscope's field of view. [Figure 10B] FIG. 13 shows another example of a zoomed out image after movement of the endoscope's field of view. [Figure 11] 13 is a flowchart of a variation of a method for determining an end trigger. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An endoscope system, a control method for an endoscope system, and a recording medium according to an embodiment of the present invention will be described below with reference to the drawings. 1, an endoscopic system 1 according to this embodiment is used in surgery in which an endoscope 2 and a treatment tool 6 are inserted into the body of a patient, who is a subject A, and a target site such as an affected area is treated with the treatment tool 6 while observing the treatment tool 6 through the endoscope 2, for example, in laparoscopic surgery. The treatment tool 6 is, for example, an energy treatment tool that uses high-frequency current or ultrasonic vibration to incise and dissect tissue or seal blood vessels, or is forceps for grasping tissue. However, the above example is merely an example, and the present invention is not limited to this, and various treatment tools generally used in endoscopic surgery may be used.
[0011] As shown in Figures 1 and 2, the endoscopic system 1 includes an endoscope 2 to be inserted into a subject A, a moving device 3 for moving the endoscope 2, a display device 4, and a control device 5 for controlling the endoscope 2 and the moving device 3. 3A to 3D, the endoscope 2 and the treatment tool 6 are inserted into the subject A, for example, into the abdominal cavity B, through trocars 7 and 8. The trocars 7 and 8 are cylindrical instruments that are open at both ends. The trocars 7 and 8 pass through holes C and D, respectively, formed in the body wall, and can swing around the positions of the holes C and D, which are pivot points.
[0012] The endoscope 2 is, for example, an oblique-viewing rigid endoscope. The endoscope 2 may be a direct-viewing type. The endoscope 2 has an image sensor 2a such as a CCD image sensor or a CMOS image sensor, and acquires an image G (see FIGS. 4A to 4C) of the inside of the subject A. The image sensor 2a is, for example, a three-dimensional camera provided at the tip of the endoscope 2, and captures a stereo image as the image G. The objective lens of the endoscope 2 may have a zoom lens 2b that optically changes the magnification of the image G. The image G is transmitted from the endoscope 2 to the display device 4 via the control device 5, and is displayed on the display device 4. The display device 4 is any display such as a liquid crystal display or an organic EL display.
[0013] The moving device 3 includes an electric holder 3a consisting of a multi-joint robot arm, and is controlled by a control device 5. The endoscope 2 is held at the tip of the electric holder 3a, and the position and posture of the endoscope 2 are changed three-dimensionally by the operation of the electric holder 3a. Note that the moving device 3 does not necessarily need to be separate from the endoscope 2, and may be formed integrally as part of the endoscope 2.
[0014] The control device 5 is an endoscope processor that controls the endoscope 2, the moving device 3, and the image G displayed on the display device 4. As shown in Fig. 2, the control device 5 includes at least one processor 5a, a memory 5b, a storage unit 5c, and an input / output interface 5d. The control device 5 is connected to the peripheral devices 2, 3, 4, and 9 via an input / output interface 5d, and transmits and receives images G and signals, etc., via the input / output interface 5d.
[0015] The storage unit 5c is a computer-readable non-transitory recording medium, such as a hard disk drive, an optical disk, a flash memory, etc. The storage unit 5c stores a control program 5e that causes the processor 5a to execute a control method described later, and data necessary for the processing of the processor 5a. Some of the processes described below executed by the processor 5a may be realized by dedicated logic circuits or hardware such as a Field Programmable Gate Array (FPGA), a System-On-A-Chip (SoC), an Application Specific Integrated Circuit (ASIC) or a Programmable Logic C,Device (PLD).
[0016] The processor 5a controls at least one of the endoscope 2 and the moving device 3 in one of a number of modes including a manual mode, a tracking mode, and a bird's-eye view mode, according to a control program 5e loaded from the storage unit 5c into a memory 5b such as a RAM (Random Access Memory). A user can select one of the manual mode and the tracking mode using a user interface (not shown) provided in the control device 5.
[0017] The manual mode is a mode that permits a user, such as a surgeon, to operate the endoscope 2. In the manual mode, the user can remotely operate the endoscope 2 using a master device (not shown) connected to the moving device 3. For example, the master device includes input devices such as a button, a joystick, and a touch panel, and the processor 5a controls the moving device 3 according to signals from the master device. The user may directly hold the base end of the endoscope 2 with his or her hand and move the endoscope 2 manually.
[0018] The tracking mode is a mode in which the control device 5 automatically makes the endoscope 2 follow the treatment tool 6. In the tracking mode, the processor 5a recognizes the treatment tool 6 in the image G using a known image recognition technique, acquires the three-dimensional position of the tip 6a of the treatment tool 6 by stereo measurement using the image G, and controls the moving device 3 based on the three-dimensional position of the tip 6a and the three-dimensional position of a predetermined target point. The target point is a point set within the field of view F of the endoscope 2, for example, a point on the optical axis of the endoscope 2 that is a predetermined observation distance Z1 away from the tip 2c of the endoscope 2. As a result, as shown in FIG. 4A, the control device 5 makes the endoscope 2 follow the treatment tool 6 so that the tip 6a is positioned at the center of the image G.
[0019] The overhead mode is a mode in which the control device 5 controls at least one of the endoscope 2 and the moving device 3 to automatically zoom out the image G and obtain an overhead view of the inside of the subject A. The processor 5a acquires treatment tool information during the manual or tracking mode, and automatically starts and ends the overhead mode based on the treatment tool information.
[0020] Next, a control method executed by the processor 5a will be described. As shown in FIG. 5, the control method includes step S1 of controlling the endoscope 2 and the moving device 3 in manual mode or tracking mode, step S2 of acquiring treatment tool information, step S3 of determining a start trigger, step S4 of switching to an overhead mode, step S5 of starting zoom-out, step S7 of determining an end trigger, step S8 of ending zoom-out, steps S6 and S9 of determining a return trigger, and step S10 of switching to the manual mode or the tracking mode.
[0021] The processor 5a controls the moving device 3 and the endoscope 2 in either the tracking mode or the manual mode based on the user's input to the user interface (step S1). As shown in Figures 3A to 3D, during the tracking mode or the manual mode, the user may remove the treatment tool 6 from the subject A for replacement of the treatment tool 6 or the like, and then reinsert it into the subject A. During the tracking mode or manual mode, the processor 5a repeatedly acquires treatment tool information related to the position or movement of the treatment tool 6 (step S2). Based on the treatment tool information, the processor 5a determines a start trigger indicating that the treatment tool 6 has been removed (step S3), and starts the overhead view mode in response to the start trigger being turned ON (step S4).
[0022] 6A through 6D illustrate examples of start trigger determination. In the first method of Fig. 6A, the treatment tool information is the presence or absence of the treatment tool 6 in the image G, and the processor 5a detects the absence of the treatment tool 6 in the image G as a start trigger. Specifically, the processor 5a recognizes the treatment tool 6 in the image G using a known image recognition technique (step S2). If the treatment tool 6 is present and recognized in the image G, the processor 5a determines that the start trigger is OFF (NO in step S3), and if the treatment tool 6 is not present in the image G and is not recognized, the processor 5a determines that the start trigger is ON (YES in step S3).
[0023] Since the speed of the treatment tool 6 during removal is faster than the speed of the endoscope 2 following the treatment tool 6, the treatment tool 6 disappears from the image G during the removal operation, and the processor 5a temporarily stops the endoscope 2. Therefore, after removal, an image G in which the treatment tool 6 does not exist is acquired, so removal can be detected based on the presence or absence of the treatment tool 6 in the image G.
[0024] In the first method, the processor 5a preferably uses, as the treatment tool information, the disappearance time during which the treatment tool 6 is not continuously present in the image G. In this case, the processor 5a determines that the start trigger is OFF (NO in step S3) when the disappearance time is equal to or less than a predetermined time (threshold value), and determines that the start trigger is ON (YES in step S3) when the disappearance time exceeds the predetermined time. Because the endoscope 2 cannot keep up with the treatment tool 6 that moves quickly inside the subject A, the treatment tool 6 may disappear from the image G for a short time even though the treatment tool 6 is still present inside the subject A. By determining whether the disappearance time exceeds a predetermined time, removal can be detected more accurately.
[0025] In the second method of Fig. 6B, the treatment tool information is the speed of the treatment tool 6, and the processor 5a detects that the speed of the treatment tool 6 is greater than a predetermined speed threshold value α as a start trigger. Specifically, the processor 5a acquires the speed of the treatment tool 6 (step S2). If the speed is equal to or less than the threshold value α, the processor 5a determines that the start trigger is OFF (NO in step S3), and if the speed is greater than the threshold value α, the processor 5a determines that the start trigger is ON (YES in step S3). The speed of the treatment tool 6 when being removed is much faster than the speed of the treatment tool 6 when not being removed. Therefore, the removal of the treatment tool 6 can be accurately detected based on the speed.
[0026] In the third method of Fig. 6C, the treatment tool information is a trajectory of the treatment tool 6 in the subject A, and the processor 5a detects the movement of the treatment tool 6 along a predetermined trajectory as a start trigger. Specifically, the processor 5a acquires the position of the treatment tool 6 in the subject A (step S21), calculates the trajectory of the treatment tool 6 from the acquired position (step S22), and calculates the similarity of the calculated trajectory with the predetermined trajectory (step S23). If the similarity is equal to or less than a predetermined similarity threshold value β, the processor 5a determines that the start trigger is OFF (NO in step S3), and if the similarity is greater than the threshold value β, the processor 5a determines that the start trigger is ON (YES in step S3). The treatment tool 6 to be removed retreats along a predetermined trajectory defined by the trocar 8. Therefore, removal of the treatment tool 6 can be accurately detected based on the trajectory of the treatment tool 6.
[0027] In the fourth method of Fig. 6D, the treatment tool information is the position of the treatment tool 6, and the processor 5a detects that the position of the treatment tool 6 is outside the subject A as a start trigger. Specifically, the processor 5a acquires the position of the treatment tool 6 in a three-dimensional space including the inside and outside of the subject A (step S21). If the position of the treatment tool 6 is inside the subject A, the processor 5a determines that the trigger is OFF (NO in step S3), and if the position of the treatment tool 6 is outside the subject A, the processor 5a determines that the start trigger is ON (YES in step S3).
[0028] In this way, the treatment tool information includes the presence or absence of the treatment tool 6 in the image G, the length of time it disappeared, and any of the speed, trajectory, and position of the treatment tool 6. The treatment tool information is detected using the image G, or is detected using any sensor 9 that detects the three-dimensional position of the treatment tool 6. The endoscope system 1 may further include a treatment tool information detection unit that detects treatment tool information. The treatment tool information detection unit may be a processor provided in the control device 5 and that detects treatment tool information from the image G, and this processor may be the processor 5a or another processor. Alternatively, the treatment tool information detection unit may be a sensor 9.
[0029] If it is determined that the start trigger is OFF (NO in step S3), the processor 5a repeats steps S2 to S3. If it is determined that the start trigger is ON (YES in step S3), the processor 5a switches from the follow mode or the manual mode to the bird's-eye view mode (step S4), and then starts zooming out of the image G (step S5).
[0030] In step S5, the processor 5a controls at least one of the moving device 3 and the endoscope 2 to zoom out the image G while maintaining the specific point P in the subject A within the image G. The specific point P is a position where a predetermined point is placed in the field of view F when it is determined that the start trigger is ON. For example, as shown in Fig. 3B, the specific point P is a position where a target point is placed when it is determined that the start trigger is ON, and as shown in Fig. 4B, the specific point P is placed at the center of the image G.
[0031] Specifically, in step S5, the processor 5a calculates the position coordinates of the specific point P in the world coordinate system, for example, from the rotation angles of each joint of the robot arm 3a and the observation distance Z1. The world coordinate system is a coordinate system fixed with respect to the space in which the endoscope system 1 is placed, and is, for example, a coordinate system whose origin is the base end of the robot arm 3a. Next, as shown in Fig. 3C, the processor 5a controls the moving device 3 to move the endoscope 2 backward, and moves the tip 2c of the endoscope 2 in a direction away from the specific point P while maintaining the specific point P on the optical axis. This causes the image G to zoom out while maintaining the specific point P at the center, as shown in Fig. 4C. In step S5, in addition to or instead of moving the endoscope 2, the processor 5a may control the zoom lens 2b of the endoscope 2 to optically zoom out the image G.
[0032] After the zoom-out starts, the processor 5a determines an end trigger that ends the zoom-out (step S7). 7, step S7 includes step S71 of determining an end trigger based on the image G, and steps S72, S73, and S74 of determining an end trigger based on a distance Z from a specific point P to the tip 2c of the endoscope 2. The processor 5a repeats steps S71, S72, S73, and S74 until it is determined that the end trigger is ON in any of steps S71, S72, S73, and S74. If it is determined that the end trigger is ON in any of steps S71, S72, S73, and S74 (YES in step S7), the processor 5a stops the endoscope 2 and / or the zoom lens 2b to end the zoom out (step S8).
[0033] 8, when the tip 2c of the endoscope 2 retracts close to the tip 7a of the trocar 7, the inner wall 7b of the trocar 7 appears in the image G. The processor 5a recognizes the inner wall 7b of the trocar 7 in the zoomed-out image G, calculates the area of the inner wall 7b, and determines that the end trigger is ON when the area of the inner wall 7b reaches a predetermined area threshold value γ (YES in step S71). The threshold value γ is, for example, an area equivalent to a predetermined ratio of the total area of the image G.
[0034] Furthermore, during zoom out, the processor 5a calculates a distance Z in a direction along the optical axis from the specific point P to the tip 2c of the endoscope 2, and determines that the end trigger is ON when the distance Z reaches a predetermined distance threshold. Specifically, the predetermined distance thresholds include a first threshold δ1, a second threshold δ2, and a third threshold δ3, and the processor 5a determines that the end trigger is ON when the distance Z reaches any of the three thresholds δ1, δ2, δ3 (YES in step S72, YES in step S73, or YES in step S74).
[0035] The first threshold value δ1 defines the condition of the distance Z for acquiring an image G having a resolution sufficient for observing a target site after zooming out is completed, and is determined based on the farthest limit point of the depth of field of the endoscope 2. For example, the first threshold value δ1 is the distance from the tip 2c of the endoscope 2 to the farthest limit point. The second threshold value δ2 specifies the distance condition for enabling tracking of the treatment tool 6 reinserted up to the specific point P, and is determined based on the resolution of the image G. For example, the second threshold value δ2 is the limit of the distance Z at which the image G has a resolution capable of image recognition of the treatment tool 6 placed at the specific point P. The third threshold value δ3, like the second threshold value δ2, defines the condition of the distance Z for enabling tracking of the treatment tool 6 reinserted up to the specific point P, and is determined based on the accuracy of stereo measurement. For example, the third threshold value δ3 is the limit of the distance at which the three-dimensional position of the treatment tool 6 placed at the specific point P can be stereo measured from the image G with a predetermined accuracy.
[0036] After removing the treatment tool 6, as shown in FIG. 3D, the user reinserts the treatment tool 6 into the subject A via the trocar 8, and moves the treatment tool 6 toward the target site. After the zoom out is completed, the processor 5a determines whether a return trigger indicating that the treatment tool 6 has been reinserted is present based on the treatment tool information (step S9), and ends the overhead mode in response to the return trigger being turned ON (step S10).
[0037] 9A and 9B illustrate an example of determining a return trigger. 9A, the treatment tool information is the presence or absence of the treatment tool 6 in the image G, and the processor 5a detects the presence of the treatment tool 6 in the image G as a return trigger. That is, when the treatment tool 6 is not recognized in the image G, the processor 5a determines that the return trigger is OFF (NO in step S9), and when the treatment tool 6 is recognized in the image G, the processor 5a determines that the return trigger is ON (YES in step S9).
[0038] In the second example of Fig. 9B, the treatment tool information is the presence or absence of the treatment tool 6 in a predetermined area H in the image G, and the processor 5a detects the presence of the treatment tool 6 in the predetermined area H as a return trigger. The predetermined area H is a part of the image G including the specific point P, for example, the central area of the image G. That is, when the treatment tool 6 is not recognized in the predetermined area H, the processor 5a determines that the return trigger is OFF (NO in step S9), and when the treatment tool 6 is recognized in the predetermined area H, the processor 5a determines that the return trigger is ON (YES in step S9). According to the second example, during the subsequent zoom-in, the target area that was being observed immediately before switching to the bird's-eye view mode can be kept captured in the center of the image G.
[0039] The treatment tool 6 may be reinserted before the zoom out ends. Therefore, the processor 5a may determine whether or not there is a return trigger between steps S5 and S7 in addition to after step S8 (step S6). If it is determined that the return trigger is ON (YES in step S6 or S9), the processor 5a switches from the overhead mode to the follow mode or manual mode in step S1 (step S10).
[0040] When the mode is switched to the tracking mode, the processor 5a recognizes the treatment tool 6 in the zoomed-out image G, and then controls the moving device 3 to move the endoscope 2 to a position where the target point coincides with the tip 6a. As a result, the image G is automatically zoomed in, and the position of the endoscope 2 in the subject A and the magnification of the image G are restored to the state before the bird's-eye view mode (see FIGS. 3A and 4A). When the mode is switched to the manual mode, the processor 5a, for example, controls the moving device 3 to move the endoscope 2, and moves the tip 2c to the position where the tip 2c was located when it was determined that the start trigger was ON. This causes the image G to automatically zoom in.
[0041] In this way, according to this embodiment, removal of the treatment tool 6 is automatically detected based on the treatment tool information, and after removal of the treatment tool 6, the bird's-eye view mode is automatically executed and the image G is automatically zoomed out. In the zoomed-out state, the user can easily reinsert the treatment tool 6 to the target site while observing the image G of a wide range inside the subject A. In this way, easy reinsertion of the treatment tool 6 can be supported without requiring user operation.
[0042] Moreover, in order to observe a wide range inside the subject A, it is preferable that the magnification of the zoomed-out image G is lower. On the other hand, if the zoom-out is excessive, for example, if the distance Z is too large, the observation, image recognition, and tracking of the reinserted treatment tool 6 may be hindered. According to this embodiment, in steps S71 to S74, the position of the endoscope 2 at which the zoom-out ends is automatically determined based on the image G and the distance Z to be the position with the lowest magnification within a range where good observation and good tracking of the reinserted treatment tool 6 are guaranteed. This makes it possible to more effectively support the reinsertion of the treatment tool 6.
[0043] In addition, reinsertion of the treatment tool 6 is automatically detected based on the treatment tool information, and the original mode is automatically restored after reinsertion of the treatment tool 6. This eliminates the need for a user to operate the treatment tool 6 to switch from the bird's-eye view mode to the follow-up or manual mode, and can more effectively assist in reinsertion of the treatment tool 6.
[0044] In this embodiment, as shown in FIG. 3E, the processor 5a may move the field of view F of the endoscope 2 toward the tip 8a of the trocar 8 in parallel with or after zooming out of the image G. Fig. 3E shows a case where the field of view F is moved after zooming out. When the area of the inner wall 7b reaches the threshold value γ or the distance Z reaches any of the threshold values δ1, δ2, δ3 (YES in step S71, S72, S73 or S74), the processor 5a controls the moving device 3 to swing the endoscope 2 in a direction in which the tip 2c of the endoscope 2 approaches the tip 8a of the trocar 8. As a result, as shown in Fig. 10A and Fig. 10B, the specific point P moves from the center to the edge in the image G.
[0045] Specifically, the processor 5a calculates the position coordinates of the tip 8a of the trocar 8 from the position coordinates of the pivot point D of the trocar 8 and the insertion length L3, and swings the endoscope 2 toward the tip 8a. The insertion length L3 is the length of the trocar 8 from the tip 8a to the pivot point D, and the position coordinates of the pivot point D and the tip 8a are coordinates in the world coordinate system. Here, it is assumed that the tip 8a is directed toward a specific point P.
[0046] The processor 5a moves the field of view F towards the tip 8a of the trocar 8 until the specific point P is present in the image G and, if possible, the tip 8a is captured in the image G. Specifically, as shown in Fig. 11, the processor 5a judges whether the specific point P has reached the peripheral region I of the image G (step S75) and whether the tip 8a of the trocar 8 has reached the central region J of the image G (step S76). The peripheral region I is a region having a predetermined width and extending along the edge of the image G (see Fig. 10A), and the central region J is a portion of the image G that includes the center of the image G (see Fig. 10B). When the specific point P has reached the peripheral region I (YES in step S75) or when the tip 8a has reached the central region J (YES in step S76), the processor 5a judges that the end trigger is ON. When moving the field of view F in parallel with the zoom out, the processor 5a swings the endoscope 2 while moving it backward, and performs steps S75 and S76 in parallel with steps S71 to S74.
[0047] 10A to 11, after zooming out, the field of view F of the endoscope 2 is brought closer to the tip 8a of the trocar 8 within a range in which the specific point P is maintained within the image G, and preferably both the specific point P and the tip 8a are included in the image G. This allows the user to more easily observe the treatment tool 6 being reinserted, and more effectively assists in the reinsertion of the treatment tool 6. When the endoscope 2 has a mechanism for changing the direction of the field of view F, the control device 5 may move the field of view F toward the tip 8a by controlling the endoscope 2. The mechanism is, for example, a bending portion provided at the tip of the endoscope 2.
[0048] In the above embodiment, step S7 for determining the end trigger includes four steps S71, S72, S73, and S74, but step S7 may include at least one of steps S71, S72, S73, and S74. For example, if the resolution of image G and the accuracy of the stereo measurement are sufficiently high, step S7 may include only step S71.
[0049] In the above embodiment, the processor 5a switches from the overhead mode to the same mode as the mode immediately before the overhead mode, but instead, the processor 5a may switch to a predetermined mode. For example, the control device 5 may be configured to allow the user to set the mode after the bird's-eye view mode to either the manual mode or the following mode. In this case, the processor 5a may switch to the mode previously set by the user regardless of the mode immediately before the bird's-eye view mode.
[0050] In step S3 of the above embodiment, the processor 5a determines the start trigger based on one piece of treatment tool information. However, instead of this, the processor 5a may determine the start trigger based on a combination of two or more pieces of treatment tool information. That is, the processor 5a may acquire two or more pieces of treatment tool information in step S2, and then execute two or more of the first to fourth methods in Fig. 6A to Fig. 6D. For example, the processor 5a may determine that the start trigger is ON and start the bird's-eye view mode when two or more of the length of disappearance time, the speed of the treatment tool 6, and the trajectory of the treatment tool 6 exceed corresponding thresholds.
[0051] In the above embodiment, the processor 5a automatically detects the start trigger. However, instead of this, or in addition to this, a user input may be used as the start trigger. For example, the user can input a start trigger at any timing to the control device 5 using the user interface. In response to the input of the start trigger, the processor 5a executes the bird's-eye view mode. With this configuration, the user can cause the endoscope 2 and the moving device 3 to zoom out the image G at any desired timing. Similarly, the processor 5a may terminate the zoom out and bird's-eye modes in response to an exit trigger and a return trigger, respectively, input by the user to the user interface.
[0052] In the above embodiment, the control device 5 is an endoscope processor, but instead, it may be any device having a processor 5a and a recording medium 5c storing a control program 5e. For example, the control device 5 may be incorporated in the moving device 3, or may be any computer such as a personal computer connected to the endoscope 2 and the moving device 3.
[0053] Although the embodiment and the modified examples of the present invention have been described in detail above, the present invention is not limited to the above-mentioned embodiment and modified examples. Various additions, substitutions, changes, partial deletions, etc. are possible for these embodiment and modified examples within the scope of the gist of the invention, or within the scope of the idea and intent of the present invention derived from the contents described in the claims and their equivalents. [Explanation of symbols]
[0054] 1 Endoscope system 2 Endoscope 2a Image sensor 3. Mobility Devices 4 Display device 5. Control device 5a Processor (treatment tool information detection unit) 5c Memory unit (recording medium) 5e Control Program 6 Treatment tools 6a Tip 7,8 Trocca 7a tip 7b Inner wall 9. Sensor (treatment tool information detector) A. Subject G Image P specific point
Claims
1. an endoscope that is inserted into a subject to acquire an image of the inside of the subject; A moving device for changing the position and attitude of the endoscope; a controller having at least one processor; The control device, obtaining treatment tool information relating to a position or movement of a treatment tool inserted into the subject; determining that the treatment tool has been removed based on the treatment tool information; When it is determined that the treatment tool has been removed, a bird's-eye view mode is executed; In the overhead mode, the control device controls at least one of the endoscope and the moving device to automatically zoom out the image while maintaining a specific point within the subject within the image.
2. The endoscope system according to claim 1 , wherein the control device starts and ends the bird's-eye view mode based on the treatment tool information.
3. The endoscope system according to claim 1 , wherein the control device zooms out the image by controlling the moving device to move the endoscope away from the specific point.
4. The endoscope system according to claim 1 , wherein the control device controls the endoscope to optically zoom out the image.
5. The endoscope system according to claim 1 , further comprising a treatment tool information detector that detects the treatment tool information.
6. The control device includes the treatment tool information detection unit, The endoscope system according to claim 5 , wherein the treatment tool information detection unit detects the treatment tool information from the image acquired by the endoscope.
7. The endoscope system according to claim 5 , wherein the treatment tool information detection unit has a sensor that detects a position of the treatment tool.
8. The control device switches from a manual mode to the overhead mode and / or switches from the overhead mode to the manual mode; The endoscopic system according to claim 1 , wherein in the manual mode, the control device allows a user to operate the endoscope.
9. The control device switches from a following mode to the overhead mode and / or switches from the overhead mode to the following mode; The endoscope system according to claim 1 , wherein in the tracking mode, the control device controls the moving device based on a position of the treatment tool to cause the endoscope to follow the treatment tool.
10. The endoscopic system according to claim 1 , wherein in the bird's-eye view mode, the control device controls at least one of the moving device and the endoscope to move the field of view of the endoscope toward the tip of a trocar through which the treatment tool passes.
11. The endoscopic system according to claim 10, wherein the control device terminates the movement of the field of view when the specific point reaches a peripheral region in the image or when a tip of a trocar through which the treatment tool penetrates reaches a central region in the image.
12. The endoscopic system according to claim 1, wherein the treatment tool information includes the presence or absence of the treatment tool in the image, the length of time during which the treatment tool is not continuously present in the image, the position, speed and trajectory of the treatment tool, and any combination thereof.
13. the treatment tool information is any one of the length of the disappearance time, the speed of the treatment tool, the trajectory of the treatment tool, and a combination thereof; The endoscope system according to claim 12 , wherein the control device starts the bird's-eye view mode when the treatment tool information exceeds a predetermined threshold value.
14. The treatment tool information includes the presence or absence of the treatment tool in the image, The endoscope system according to claim 1 , wherein the control device terminates the bird's-eye view mode when the presence of the treatment tool is detected in the image.
15. The endoscopic system of claim 1 , wherein the control device terminates the zoom out when an area of a trocar in the image reaches a predetermined area threshold.
16. The endoscope system according to claim 1 , wherein the control device terminates the zoom-out when a distance from the specific point to a tip of the endoscope reaches a predetermined distance threshold.
17. The endoscopic system of claim 16, wherein the predetermined distance threshold includes at least one of a first threshold determined based on a far point of a depth of field of the endoscope, a second threshold determined based on a resolution of the image, and a third threshold determined based on accuracy of stereo measurement of the endoscope.
18. A method for controlling an endoscope system, the endoscope system comprising: an endoscope that is inserted into a subject and acquires an image of the inside of the subject; and a moving device that changes a position and attitude of the endoscope; Obtaining treatment tool information relating to a position or movement of a treatment tool inserted into the subject; and determining that the treatment tool has been removed based on the treatment tool information; executing an overhead view mode when it is determined that the treatment tool has been removed; a control method for controlling at least one of the endoscope and the moving device in the overhead mode to automatically zoom out the image while maintaining a specific point within the subject within the image.
19. A non-transitory computer-readable recording medium storing a control program for causing a computer to execute the control method according to claim 18.
