ENDOSCOPE SYSTEM, CONTROL DEVICE, AND RECORDING MEDIUM
The endoscope system automatically adjusts the vertical direction of the endoscopic image based on predefined position and rotation angle information, addressing the manual adjustment requirement in existing systems and enhancing surgical efficiency.
Patent Information
- Application Number
- JP2022547659
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-09-10
- Filing Date
- 2021-09-09
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2041-09-09
AI Technical Summary
Existing endoscope systems fail to automatically adjust the vertical direction of the endoscopic image according to the position and observation needs, requiring surgeons to interrupt their procedures to manually adjust the endoscope posture.
An endoscope system with a control device that calculates and adjusts the rotation angles of the endoscopic image based on predefined position and rotation angle information of different regions within the subject, allowing automatic adjustment of the image orientation.
Provides surgeons with an appropriately oriented endoscopic image in real-time, reducing operational stress and shortening treatment time by eliminating the need for manual adjustments.
Smart Images

Figure 0007534423000012 
Figure 0007534423000020 
Figure 0007534423000025
Abstract
Description
[Technical field]
[0001] The present invention relates to an endoscope system, a control device, a control method, and a recording medium. This application claims priority to U.S. Provisional Patent Application No. 63 / 076,408, filed September 10, 2020, the contents of which are incorporated herein by reference. [Background technology]
[0002] Conventionally, there has been known an endoscope system in which an endoscope held in an electric holder is moved by controlling the holder (see, for example, Patent Document 1). The endoscope system of Patent Document 1 stores the time-series changes in the rotation angle of each joint of the holder while the operator is moving the endoscope in manual mode, and in automatic return mode, plays back the time-series changes in the rotation angle of each joint in reverse, causing the endoscope to move in the reverse direction along the movement trajectory in manual mode and automatically return to its initial position and posture. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6161687 Summary of the Invention [Problem to be solved by the invention]
[0004] When a surgeon performs surgery on an affected area while observing an endoscopic image displayed on a display device, the up-down direction of the endoscopic image on the display device is important. The up-down direction of the endoscopic image indicates the rotation angle of the subject in the endoscopic image, which is also called the top-bottom direction. The arrangement of organs and the appearance of tissues differ depending on the up-down direction of the endoscopic image. Therefore, in order for the surgeon to be able to accurately recognize the organs and tissues in the endoscopic image on the display device, it is important that an endoscopic image with an appropriate up-down direction is displayed on the display device. is desirable.
[0005] However, the vertical direction of the endoscopic image changes as the endoscope moves inside the body. Furthermore, the vertical direction of the endoscopic image desired by the surgeon differs depending on the observation position and the contents of the procedure. The endoscopic system of Patent Document 1 only reproduces the movement trajectory in the manual mode, and does not have a function of adjusting the vertical direction of the endoscopic image according to the position of the endoscope or the observation position. Therefore, in order to adjust the vertical direction of the endoscopic image, the surgeon must temporarily release the treatment tool being operated, interrupt the treatment, and manually operate the endoscope to adjust the posture of the endoscope.
[0006] The present invention has been made in consideration of the above-mentioned circumstances, and aims to provide an endoscopic system, a control device, a control method, and a recording medium that can automatically adjust the up-down direction of an endoscopic image. [Means for solving the problem]
[0007] One aspect of the present invention includes an endoscope that is inserted into a subject (inside a patient's body cavity) to acquire endoscopic images of the inside of the subject, a moving device that holds the endoscope and moves the endoscope, a storage unit, and a control device having at least one processor, wherein the storage unit stores first position information and first rotation angle information of a first region within the subject, and second position information and second rotation angle information of a second region different from the first region within the subject, the first rotation angle information being information that specifies a rotation angle of the endoscopic image of the first region, and the second rotation angle information being information that specifies a rotation angle of the endoscopic image of the second region, and the at least one processor calculating a positional relationship between third position information of a third region within the subject and the first and second position information, and calculating third rotation angle information of the third region based on the positional relationship, the first rotation angle information, and the second rotation angle information; The third area is an area different from the first and second areas, and when the current imaging area currently being imaged by the endoscope is included in the third area, the endoscopic image is rotated based on the third rotation angle information, and the rotated endoscopic image is output to a display device.
[0008] Another aspect of the present invention is a control device for controlling an endoscopic image acquired by an endoscope and displayed on a display device, comprising a storage unit and at least one processor, wherein the storage unit stores first position information and first rotation angle information of a first region within a subject, and second position information and second rotation angle information of a second region different from the first region within the subject, the first rotation angle information being information that specifies a rotation angle of the endoscopic image of the first region, and the second rotation angle information being information that specifies a rotation angle of the endoscopic image of the second region, and the at least one processor: calculating a positional relationship between third position information of a third region within the subject and the first and second position information, and calculating third rotation angle information of the third region based on the positional relationship, the first rotation angle information, and the second rotation angle information; The third area is an area different from the first and second areas, and when the current imaging area currently being imaged by the endoscope is included in the third area, the control device rotates the endoscopic image based on the third rotation angle information and outputs the rotated endoscopic image to a display device.
[0009] The present invention A reference for the invention as a reference example An embodiment is a control method for controlling an endoscopic image acquired by an endoscope and displayed on a display device using first position information and first rotation angle information of a first region within a subject and second position information and second rotation angle information of a second region different from the first region within the subject, wherein the first rotation angle information is information that specifies the rotation angle of the endoscopic image of the first region, and the second rotation angle information is information that specifies the rotation angle of the endoscopic image of the second region, and the control method includes the steps of calculating third rotation angle information of a third region within the subject based on the first position information, the first rotation angle information, the second position information, the second rotation angle information and third position information of the third region, the third region being a region different from the first and second regions, and when a current imaging region currently imaged by the endoscope is included in the third region, rotating the endoscopic image based on the third rotation angle information, and outputting the rotated endoscopic image to a display device.
[0010] Another aspect of the present invention is An endoscopic image acquired by an endoscope and displayed on a display device is controlled using first position information and first rotation angle information of a first region in a subject and second position information and second rotation angle information of a second region different from the first region in the subject. A non-transitory computer-readable recording medium having a control program recorded thereon for causing a computer to execute the control method. a control method for a subject, the control method comprising: a step of calculating a positional relationship between third position information of a third region within the subject and the first and second position information, and calculating third rotation angle information of the third region based on the positional relationship, the first rotation angle information, and the second rotation angle information, the third region being a region different from the first and second regions; a step of rotating the endoscopic image based on the third rotation angle information when a current imaging region currently being imaged by the endoscope is included in the third region; and a step of outputting the rotated endoscopic image to a display device.It is. Effect of the Invention
[0011] According to the present invention, it is possible to provide an operator with an appropriate endoscopic image in the up-down direction according to an observation position inside a subject. [Brief description of the drawings]
[0012] [Figure 1A] 1 is an external view showing an overall configuration of an endoscope system. [Figure 1B] 1A to 1C are diagrams illustrating the movement of an endoscope inserted into the abdominal cavity. [Figure 1C] FIG. 1 is a diagram showing a tip portion of a robot arm and an endoscope. [Diagram 2] 1 is a block diagram showing an overall configuration of an endoscope system. [Figure 3A] FIG. 2 is a sequence diagram showing a control method according to the first embodiment, illustrating a user operation and a processor process in a manual mode. [Figure 3B] 4 is a flowchart showing a control method according to the first embodiment, illustrating the processing of a processor in an autonomous mode. FIG. [Figure 4A] 10A to 10C are diagrams illustrating the operation of the endoscope in the process of determining first position information and first rotation angle information. [Figure 4B] 11A to 11C are diagrams illustrating the operation of the endoscope in the process of determining second position information and second rotation angle information. [Figure 5A] FIG. 13 is a diagram showing an endoscopic image at point O. [Figure 5B] FIG. 13 is a diagram showing an endoscopic image at point B. [Figure 5C] FIG. 5C shows the endoscopic image of FIG. 5B with the up-down direction adjusted by rotation. [Figure 6A] FIG. 2 is a diagram showing an endoscopic image at point A. [Figure 6B] FIG. 6B shows the endoscopic image of FIG. 6A with the up-down direction adjusted by rotation. [Figure 7]11A and 11B are diagrams illustrating position information and rotation angle information stored in a storage unit in a manual mode. [Figure 8A] FIG. 13 is a sequence diagram showing a control method according to the second embodiment, illustrating a user operation and a processor process in a manual mode. [Figure 8B] 13 is a flowchart showing a control method according to the second embodiment, illustrating the processing of a processor in an autonomous mode. FIG. [Figure 9] 13 is a flowchart showing a control method according to the third embodiment, illustrating the processing of a processor in an autonomous mode. FIG. [Figure 10] FIG. 13 is a diagram showing an oblique-viewing endoscope according to a first modified example. [Figure 11A] FIG. 13 is a sequence diagram showing a control method according to a first modified example, illustrating a user operation and a processor process in a manual mode. [Figure 11B] FIG. 11 is a flowchart showing a control method according to a first modified example, illustrating the processing of a processor in an autonomous mode. [Figure 12] FIG. 13 is a diagram showing an endoscope having a bending portion according to a second modified example. [Figure 13A] FIG. 13 is a sequence diagram showing a control method according to another modified example, illustrating a user operation and a processor process in a manual mode. [Figure 13B] 13 is a flowchart showing a control method according to another modified example, illustrating the processing of a processor in an autonomous mode. FIG. [Figure 14A] 1B is an external view showing the overall configuration of a modified example of the endoscope system of FIG. 1A. [Figure 14B] 1B is an external view showing the overall configuration of another modified example of the endoscope system in FIG. 1A. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] (First embodiment) An endoscope system, a control device, a control method, and a recording medium according to a first embodiment of the present invention will be described with reference to the drawings. As shown in FIG. 1A, the endoscopic system 10 according to this embodiment is used in surgery in which an endoscope 2 and one or more treatment tools 6 are inserted into the body of a patient X, who is a subject, and a treatment site is treated with the treatment tools 6 while the treatment tools 6 are observed by the endoscope 2, for example, in laparoscopic surgery.
[0014] As shown in Fig. 1B, the endoscope 2 is inserted into the subject, for example, into the abdominal cavity, through a hole H formed in the body wall. As a result, the endoscope 2 is supported by the body wall at the position of the hole H, which is a pivot point fixed relative to the subject, and is swingable about a pivot axis (first pivot axis) P1 passing through the pivot point H. In the laparoscopic surgery shown in Figs. 1A and 1B, the pivot axis P1 extends in the front-rear direction of the patient X from the ventral side to the dorsal side. By swinging the endoscope 2 around the pivot axis P1, the imaging region imaged by the endoscope 2 can move between a first region including the aorta F and a second region including the pelvis G. The endoscope 2 and the treatment tool 6 may be inserted into the subject via a trocar that passes through the hole H. The trocar is a cylindrical instrument that is open at both ends. In this case, the endoscope 2 is supported by the trocar at the position of the hole H.
[0015] As shown in Figures 1A and 2, the endoscopic system 10 includes an endoscope 2, a moving device 3 that holds the endoscope 2 and moves the endoscope 2 within the subject, an endoscope processor 4 that is connected to the endoscope 2 and processes an endoscopic image E captured by the endoscope 2, a control device 1 that is connected to the moving device 3 and the endoscope processor 4 and controls the moving device 3, and a display device 5 that is connected to the endoscope processor 4 and displays the endoscopic image E.
[0016] The endoscope 2 is a direct-viewing endoscope having a visual axis (optical axis) C coaxial with the longitudinal axis I of the endoscope 2, and is, for example, a rigid endoscope. The endoscope 2 has an image sensor 2a, and captures an image of the inside of the subject X, for example, the abdominal cavity, and acquires an endoscopic image E (see Figs. 5A to 6B) including the tip of the treatment tool 6. 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 endoscopic image E. The image sensor 2a is an image sensor such as a CCD (Charge Coupled Device) image sensor or a CMOS (Complementary Metal Oxide Semiconductor) image sensor, and generates an image of the predetermined area by converting light received from a predetermined area into an electric signal by photoelectric conversion. The stereo image, which is the endoscopic image E, is generated by image processing two images having parallax by an endoscope processor 4 or the like. In this case, the tip of the endoscope 2 has a stereo optical system.
[0017] The endoscopic image E is transmitted from the endoscope 2 to the endoscope processor 4, where it is subjected to necessary processing, transmitted from the endoscope processor 4 to the display device 5, and displayed on the display screen 5a of the display device 5. The display device 5 is any display such as a liquid crystal display, an organic EL display, etc. The surgeon operates the treatment tool 6 inserted inside the body while observing the endoscopic image E displayed on the display screen 5a. The display device 5 may be equipped with an audio device such as a speaker. In addition to the display device 5, a terminal used by a user and communicating with the control device 1 and the endoscope processor 4 via a communication network may be provided, and the endoscope image E may be displayed on the terminal. The terminal is not particularly limited, but may be a notebook computer, a laptop computer, a tablet computer, a smartphone, or the like.
[0018] The moving device 3 includes a robot arm 3a (including an electric scope holder) that holds the endoscope 2 and three-dimensionally controls the position and posture of the endoscope 2. The moving device 3 has multiple joints 3b, 3c, and by operating the multiple joints 3b, 3c, the endoscope 2 can be moved around the pivot axis P1 as a fulcrum, thereby changing the position and posture of the endoscope 2 three-dimensionally.
[0019] 1C, the joint 3c is a rotary joint that rotates the endoscope 2 about the longitudinal axis I, and is provided, for example, at the tip of the robot arm 3a. Rotation of the joint 3c causes the endoscope 2 to rotate about the optical axis C that is coaxial with the longitudinal axis I, thereby changing the rotation angle of the subject in the endoscopic image E, i.e., the up-down direction of the endoscopic image E. The moving device 3 includes a plurality of angle sensors 3d that detect the rotation angles of each of the plurality of joints 3b, 3c. The angle sensors 3d are, for example, encoders, potentiometers, or Hall sensors provided at the respective joints 3b, 3c.
[0020] 2, the control device 1 includes at least one processor 11, such as a central processing unit, a memory 12, a storage unit 13, an input interface 14, an output interface 15, and a user interface 16. The control device 1 may be, for example, a desktop computer, a tablet computer, a laptop computer, a smartphone, or a mobile phone.
[0021] The processor 11 may be a single processor, a multiprocessor, or a multi-core processor. The processor 11 reads out and executes a program stored in the storage unit 13. The memory 12 is, for example, a semiconductor memory including a ROM (read-only memory) or a RAM (random access memory) area. The memory 12 may store data necessary for processing by the processor 11, similar to the storage unit 13 described later (i.e., may operate as a "storage unit").
[0022] The storage unit 13 is a non-transitory recording medium readable by a computer, and is, for example, a non-volatile recording medium including a semiconductor memory such as a hard disk or a flash memory. The storage unit 13 stores various programs including a tracking control program (not shown) and an image control program (control program) 1a, and data necessary for processing by the processor 11. Some of the processing executed by the processor 11, which will be described later, 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), and a programmable logic device (PLD).
[0023] The storage unit 13 may be a server such as a cloud server connected to the control device 1 having a communication interface via a communication network, instead of a recording medium built into the control device 1. The communication network may be, for example, a public line such as the Internet, a dedicated line, or a LAN (Local Area Network). The various devices may be connected by either a wired connection or a wireless connection.
[0024] The endoscope processor 4 that processes the endoscopic image E may include the processor 11. That is, like the processor 11 included in the control device 1, the endoscope processor 4 may include a processor, a dedicated logic circuit, or hardware, and perform the processes described below like the processor 11. The endoscope processor 4 and the control device 1 may be integrated. The endoscope processor 4 and the control device 1 may each be provided with one or more processors. Any of the components of the at least one processor 11, memory 12, storage unit 13, input interface 14, output interface 15 and user interface 16 included in the control device 1 may be further included in a terminal used by a user, separate from the endoscope processor 4 and the control device 1. In addition, the control device 1 may be integrated with the moving device 3.
[0025] The input interface 14 and the output interface 15 are connected to the endoscope processor 4. The control device 1 can acquire an endoscopic image E from the endoscope 2 via the endoscope processor 4, and can output the endoscopic image E to the display device 5 via the endoscope processor 4. The input interface 14 may be directly connected to the endoscope 2, and the output interface 15 may be directly connected to the display device 5 so that the control device 1 can directly acquire the endoscopic image E from the endoscope 2 and directly output the endoscopic image E to the display device 5. Furthermore, the input interface 14 and the output interface 15 are connected to the mobile device 3. The control device 1 acquires information on the rotation angles of the joints 3b and 3c detected by the angle sensor 3d from the mobile device 3, and transmits control signals to the mobile device 3 for driving the joints 3b and 3c.
[0026] The user interface 16 has input devices such as a button, a mouse, a keyboard, and a touch panel that allow a user such as an operator to input to the user interface 16, and accepts input from the user. The user interface 16 also has means, such as a switch, for the user to switch between a manual mode and an autonomous mode, which will be described later. The user interface 16 is also configured to be able to accept a first instruction and a second instruction from the user. The first instruction and the second instruction are instructions for causing the control device 1 to execute registration of position information and rotation angle information, which will be described later. For example, the user interface 16 has a button operated by the operator, and accepts the first instruction when the button is operated a first time, and accepts the second instruction when the button is operated a second time.
[0027] The processor 11 is capable of operating in either a manual mode or an autonomous mode. The manual mode is a mode that permits a user such as a surgeon to operate the endoscope 2. In the manual mode, the surgeon can hold the base end of the endoscope 2 by hand and manually move the endoscope 2. Alternatively, the surgeon can remotely operate the endoscope 2 using an operation device connected to the movement device 3. The operation device can include a button, a joystick, a touch panel, and the like.
[0028] The autonomous mode is a mode in which the endoscope 2 automatically follows the treatment tool 6 by controlling the moving device 3 based on the position of the treatment tool 6 shown in the endoscopic image E. In the autonomous mode, the processor 11 acquires the three-dimensional position of the tip of the treatment tool 6 from the endoscopic image E, and controls the moving device 3 based on the three-dimensional position of the tip of the treatment tool 6 and the three-dimensional position of a predetermined target point set in the field of view of the endoscope 2. The target point is, for example, a point on the optical axis C corresponding to the center point of the endoscopic image E. As a result, the control device 1 controls the movement of the endoscope 2, and causes the endoscope 2 to follow the treatment tool 6 so that the tip of the treatment tool 6 is positioned at the center point in the endoscopic image E.
[0029] Furthermore, in the autonomous mode, the processor 11 controls the rotation angle of the endoscopic image E displayed on the display screen 5a by executing the control method shown in Figures 3A and 3B in accordance with the image control program 1a loaded into the memory 12.
[0030] Next, a control method executed by the processor 11 will be described. As shown in Figures 3A and 3B, the control method of this embodiment includes step SB2 of setting an initial position of the endoscope 2, steps SB3 and SB4 of determining first position information and first rotation angle information of a first region within the subject, steps SB5 and SB6 of determining second position information and second rotation angle information of a second region within the subject, steps SB7 and SB8 of calculating third position information and third rotation angle information of a third region within the subject, step SB9 of storing the position information and rotation angle information in memory unit 13, steps SC4 to SC9 of rotating the endoscopic image E according to the current imaging region currently being imaged by the endoscope 2, and step SC10 of outputting the rotated endoscopic image E to the display device 5. As shown in FIG. 3A, steps SB2 to SB9 are executed in the manual mode, and as shown in FIG. 3B, steps SC3 to SC10 are executed in the autonomous mode.
[0031] After inserting the endoscope 2 held by the moving device 3 into the abdominal cavity, a user such as a surgeon switches to manual mode (SA1, SB1) and starts looking around by moving the endoscope 2 inside the abdominal cavity (SA3). Looking around is a task of observing the entire abdominal cavity and confirming the positions of organs and tissues. Since the positions of organs and tissues differ for each patient, this task is necessary for each insertion. In looking around, the surgeon rotates the endoscope 2 around the pivot axis P1 to observe an area including at least two specific tissues having anatomical characteristics with the endoscope 2. In this embodiment, the specific tissues are the aorta F and the pelvis G.
[0032] As shown in FIG. 3A, before looking around, the surgeon registers the initial position of the endoscope 2 in the control device 1 (SA2). For example, the surgeon places the endoscope 2 at a desired initial position and operates a predetermined button on the user interface 16. In response to the operation of the predetermined button, the processor 11 calculates the current position φ of the endoscope 2 and stores the current position φ as the initial position φ=0° in the memory unit 13 (SB2). The position φ is the circumferential position of the endoscope 2 around the pivot axis P1, and is calculated from the rotation angles of the joints 3b and 3c detected by the angle sensor 3d. The position φ represents the circumferential position of the imaging area around the pivot axis P1.
[0033] Next, as shown in Fig. 4A and Fig. 5A, the surgeon places the endoscope 2 at a position (point O) where the aorta F is imaged from the front, and adjusts the rotation angle ω of the endoscope 2 around the optical axis C so that the aorta F is positioned at a desired rotation angle in the endoscopic image E (SA4). The rotation angle of the aorta F here is the circumferential position around the center point of the endoscopic image E. In this embodiment, as shown in Fig. 5A, the rotation angle ω is adjusted so that the aorta F is positioned horizontally in the endoscopic image E. Next, the surgeon inputs a first instruction to the user interface 16 (SA5).
[0034] After inputting the first command, the surgeon observes the entire aorta F with the endoscope 2 by rotating the endoscope 2 from point O around the pivot axis P1 while maintaining the rotation angle ω adjusted at point O. As shown in Figures 5A and 5B, as the endoscope 2 rotates from point O toward point B, the aorta F rotates and moves in the endoscopic image E. Point B is an end point of the range in which the aorta F can be observed in the endoscopic image E.
[0035] In response to the user interface 16 receiving the first instruction, the processor 11 determines (SB3, SB4) first position information and first rotation angle information of the first region including the aorta (first specific tissue) F based on the endoscopic image E. The first rotation angle information is information that defines the rotation angle of the endoscopic image E of the first region.
[0036] Specifically, the memory unit 13 stores a trained model 1b that has been machine-learned to learn the correspondence between an image including a specific tissue and the type of the specific tissue. In step SB3, the processor 11 uses the trained model 1b to recognize the aorta F in the endoscopic image E, and determines the range of the position φ of the endoscope 2 in which the aorta F is included in the endoscopic image E as the first position information. In other words, the first region is the region between point O and point B. For example, the first position information is φ=0° to 20°. In this way, instead of setting the initial position by steps SA2 and SB2, the processor 11 may set the position φ of the endoscope 2 at the time when the first instruction is accepted to the initial position φ=0°. In other words, the initial position is determined at the timing and place desired by the user. Furthermore, the processor 11 may set the position φ of the endoscope 2 at the time when the first instruction is accepted as the first position information without going through the processing by the trained model 1b. That is, the first position information is determined at the timing and place desired by the user.
[0037] Next, in step SB4, the processor 11 sets the endoscopic image E and the rotation angle ω of the endoscope 2 at the time the user interface 16 receives the first instruction to the first reference endoscopic image and the first reference rotation angle, respectively, and determines the first rotation angle information based on the first reference endoscopic image and the first reference rotation angle. Specifically, the processor 11 calculates a first reference rotation angle for a predetermined initial rotation angle ω=0° as a target rotation angle θt of the endoscopic image E at the position φ at the time when the first instruction is received. The calculated target rotation angle θt represents the amount of rotation of the endoscopic image E required to position the aorta F horizontally in the endoscopic image E at the position φ at the time when the first instruction is received. In this embodiment, the first reference rotation angle ω is set to the initial rotation angle of 0°.
[0038] Next, the processor 11 calculates a rotation amount Δθ of the endoscopic image E required for matching the aorta F in the endoscopic image E with the aorta F in the first reference endoscopic image for the endoscopic image E acquired at another position φ included in the first position information. Next, the processor 11 calculates a target rotation angle θt at the other position φ by adding the rotation amount Δθ to the first reference rotation angle. The calculated target rotation angle θt represents a rotation amount of the endoscopic image E required for horizontally arranging the aorta F in the endoscopic image E at the other position φ. FIG. 5C shows the endoscopic image E of FIG. 5B rotated by the target angle θt at point B.
[0039] In this manner, the processor 11 calculates the target rotation angle θt of the endoscopic image E for horizontally positioning the aorta F at each position φ=0°, ..., 20° included in the first position information, and determines the target rotation angle θt at each position φ=0°, ..., 20° as the first rotation angle information. In Fig. 7, only the target rotation angles θt=0°, -10° at φ=0°, 20° are representatively shown as the first rotation angle information.
[0040] Next, as shown in Fig. 4B, the surgeon places the endoscope 2 at a position (point D) for imaging the pelvis G. When the pelvis G is observed with an initial rotation angle ω = 0°, the pelvis G may be placed at an inappropriate position in the endoscopic image E, as shown in Fig. 6A. The surgeon adjusts the rotation angle ω around the optical axis C of the endoscope 2 so that the pelvis G is placed at a desired rotation angle in the endoscopic image E (SA6), and inputs a second instruction to the user interface 16 (SA7). In this embodiment, the rotation angle ω is adjusted so that the pelvis G is placed upward in the endoscopic image E, as shown in Fig. 6B.
[0041] After inputting the second instruction, the surgeon observes the entire pelvis G with the endoscope 2 by rotating the endoscope 2 from point D around the pivot axis P1 while maintaining the rotation angle ω adjusted at point D. At this time, as the endoscope 2 rotates from point D toward point A, the pelvis G rotates and moves in the endoscopic image E. Point A is the end point of the range in which the pelvis G can be observed in the endoscopic image E.
[0042] In response to the user interface 16 receiving the second instruction, the processor 11 determines (SB5, SB6) second position information and second rotation angle information of the second region including the pelvis (second specific tissue) G based on the endoscopic image E. The second rotation angle information is information that defines the rotation angle of the endoscopic image E of the second region.
[0043] Specifically, in step SB5, the processor 11 recognizes the pelvis G in the endoscopic image E using the trained model 1b, and determines, as the second position information, the range of the position φ of the endoscope 2 in which the pelvis G is included in the endoscopic image E. That is, the second region is the region between point D and point A. For example, the second position information is φ=70° to 90°. Regarding the second position information, the processor 11 may set the position φ of the endoscope 2 at the time when the second instruction is accepted as the second position information without going through processing by the trained model 1b. That is, the second position information is determined at the timing and place desired by the user.
[0044] Next, in step SB6, the processor 11 sets the endoscopic image E and the rotation angle ω of the endoscope 2 at the time the user interface 16 receives the second instruction to a second reference endoscopic image and a second reference rotation angle, respectively, and determines second rotation angle information based on the second reference endoscopic image and the second reference rotation angle. Specifically, the processor 11 calculates the second reference rotation angle relative to the initial rotation angle ω=0° as the target rotation angle θt of the endoscopic image E at the position φ when the second instruction is received. The calculated target rotation angle θt represents the amount of rotation of the endoscopic image E required to position the pelvis G upward in the endoscopic image E at the position φ when the second instruction is received.
[0045] Next, the processor 11 calculates a rotation amount Δθ of the endoscopic image E required for aligning the pelvis G in the endoscopic image E with the pelvis G in the second reference endoscopic image for the endoscopic image E acquired at the other position φ included in the second position information. Next, the processor 11 calculates a target rotation angle θt at the other position φ by adding the rotation amount Δθ to the second reference rotation angle. The calculated target rotation angle θt represents a rotation amount of the endoscopic image E required for positioning the pelvis G upward in the endoscopic image E at the other position φ.
[0046] In this manner, the processor 11 calculates the target rotation angle θt of the endoscopic image E for positioning the pelvis G upward at each position φ=70°, ..., 90° included in the second position information, and determines the target rotation angle θt at each position φ=70°, ..., 90° as the second rotation angle information. In Fig. 7, only the target rotation angles θt=100°, 90° at φ=70°, 90° are representatively shown as the second rotation angle information.
[0047] Next, processor 11 calculates third position information and third rotation angle information of the third region based on the first position information, the first rotation angle information, the second position information, and the second rotation angle information (SB7, SB8). The third region is a region different from the first region and the second region, and in this embodiment, is a region between points A and B. In step SB7, the processor 11 determines the range of the position φ between the first position information and the second position information as the third position information. For example, the third position information is φ=20° to 70°.
[0048] Next, in step SB8, the processor 11 calculates third rotation angle information based on the first, second, and third position information and the first and second rotation angle information. The third rotation angle information is information that defines the rotation angle of the endoscopic image E of the third region. Specifically, the processor 11 calculates a positional relationship between the third position information and the first and second position information, and calculates the third rotation angle information based on the positional relationship, the first rotation angle information, and the second rotation angle information.
[0049] As an example, each position φ (point M) of the third position information is considered to be an internal division point that divides the trajectory between points A and B at m:n. The processor 11 calculates a target rotation angle θt at each position φ based on the ratio m:n, the rotation angle of point A being 100°, and the rotation angle of point B being -10°. For example, since the position φ=45° divides the trajectory between points A and B at 1:1, the target rotation angle θt at the position φ=45° is 45°, which is the median between -10° and 100°.
[0050] As a result, as the position φ changes from point B toward point A, the target rotation angle θt that gradually changes from 100° toward −10° is calculated. The processor 11 determines the target rotation angle θt at each position φ=20°, ..., 70° as the third rotation angle information. In Fig. 7, only the target rotation angle θt=45° at φ=45° is representatively depicted as the third rotation angle information.
[0051] That is, the third region is a region in which a specific tissue that serves as an indicator of the rotation angle of the endoscopic image E, such as the pelvis G and the aorta F in the first and second regions, is not reflected in the endoscopic image. In such a region, it is difficult for the trained model 1b to recognize the specific tissue and for the user to determine a desired rotation angle. Therefore, it is necessary to calculate the third position information and the third rotation angle information based on the first and second position information and the first and second rotation angle information of the first and second regions.
[0052] Next, in step SB9, the processor 11 stores the first position information, the first rotation angle information, the second position information, the second rotation angle information, the third position information, and the third rotation angle information determined in steps SB3 to SB8 in the storage unit 13. As a result, as shown in Fig. 7, data including the rotation angle φ of the endoscope 2 representing the position of the imaging area and the target rotation angle θt of the endoscopic image E at each rotation angle φ is generated in the storage unit 13.
[0053] After the operator has finished looking around, the operator switches from the manual mode to the autonomous mode and treats the aorta F and the pelvis G with the treatment tool 6. As shown in FIG. 3B, when the operator switches to the autonomous mode (SC2), the processor 11 rotates the rotary joint 3c to make the rotation angle ω of the endoscope 2 coincide with the initial rotation angle 0°, and while maintaining the rotation angle ω at 0°, controls the moving device 3 to make the endoscope 2 follow the tip of the treatment tool 6 (SC3). In addition, in parallel with the tracking of the endoscope 2, the processor 11 controls the up and down direction of the endoscopic image E displayed on the display screen 5a (SC4 to SC10).
[0054] The processor 11 successively receives the rotation angles of the joints 3b and 3c from the moving device 3 while the devices 1 and 3 are running, and calculates the current position φ of the endoscope 2 from the rotation angles of the joints 3b and 3c (SC1). The processor 11 determines whether the current imaging region is included in the first region, the second region, or the third region, based on the current position of the endoscope 2, the first position information, and the second position information (SC4, SC6, SC8).
[0055] Specifically, when the current position φ is included in the first position information (φ=0° to 20°), the processor 11 determines that the current imaging region is included in the first region (YES in SC4). Next, the processor 11 rotates the endoscopic image E within the plane of the endoscopic image E based on the first rotation angle information stored in the storage unit 13 (SC5). Specifically, the processor 11 reads out the target rotation angle θt of the current position φ from the storage unit 13, and rotates the endoscopic image E by the target rotation angle θt through image processing. Next, the processor 11 outputs the rotated endoscopic image E from the control device 1 to the display device 5 and displays it on the display screen 5a (SC10).
[0056] In the rotated endoscopic image E, the aorta F is positioned horizontally. Therefore, while the endoscope 2 moves within a range of φ=0° to 20° to acquire the endoscopic image E including the aorta F, the aorta F in the endoscopic image E displayed on the display screen 5a is maintained horizontal. For example, when the endoscope 2 swings 20° around the pivot axis P1 from point O to point B, the endoscopic image E rotates from 0° to -10°.
[0057] If the current position φ is included in the second position information (φ=70° to 90°), the processor 11 determines that the current imaging area is included in the second area (NO in SC4 and YES in SC6). Next, the processor 11 rotates the endoscopic image E in the plane of the endoscopic image E based on the second rotation angle information stored in the storage unit 13 (SC7). Specifically, the processor 11 reads out the target rotation angle θt of the current position φ from the storage unit 13, and rotates the endoscopic image E by the target rotation angle θt through image processing. Next, the processor 11 outputs the rotated endoscopic image E from the control device 1 to the display device 5 and displays it on the display screen 5a (SC10).
[0058] In the rotated endoscopic image E, the pelvis G is positioned at the top. Therefore, while the endoscope 2 moves within a range of φ=70° to 90° to acquire the endoscopic image E including the pelvis G, the pelvis G in the endoscopic image E displayed on the display screen 5a is maintained at the top. For example, when the endoscope 2 swings 20° around the pivot axis P1 from point A to point D, the endoscopic image E rotates from 100° to 90°.
[0059] If the current position φ is not included in either the first position information or the second position information (NO in SC4 and NO in SC6), the processor 11 determines that the current imaging area is included in the third area (SC8). Next, the processor 11 rotates the endoscopic image E within the plane of the endoscopic image E based on the third rotation angle information stored in the storage unit 13 (SC9). Specifically, the processor 11 reads out the rotation angle of the current position φ from the storage unit 13, and rotates the endoscopic image E by the rotation angle through image processing. Next, the processor 11 outputs the rotated endoscopic image E from the control device 1 to the display device 5 and displays it on the display screen 5a (SC10).
[0060] The endoscopic image E displayed on the display screen 5a is rotated by a target rotation angle θt according to the position φ, and as the position φ changes from the first region side to the second region side, the target rotation angle θt gradually changes from the target rotation angle of the first region toward the target rotation angle of the second region. Therefore, for example, when the endoscope 2 swings around the pivot axis P1 from point B to point A, the endoscopic image E displayed on the display screen 5a rotates in one direction from -10° to 100°.
[0061] As described above, according to this embodiment, the first position information of the first region including the specific tissue F and the first rotation angle information defining the target rotation angle θt of the endoscopic image E for arranging the specific tissue F at the rotation angle desired by the surgeon are stored in the storage unit 13. In addition, the second position information of the second region including the specific tissue G and the second rotation angle information defining the target rotation angle θt of the endoscopic image E for arranging the specific tissue G at the rotation angle desired by the surgeon are stored in the storage unit 13. Furthermore, as the third rotation angle information of the third region between the first region and the second region, the target rotation angle θt that gradually changes between the target rotation angle θt of the first rotation angle information and the target rotation angle θt of the second rotation angle information is interpolated and stored in the storage unit 13.
[0062] Thereafter, in the autonomous mode, the endoscopic image E is rotated by a target rotation angle θt according to the position φ of the current imaging area, thereby automatically adjusting the up-down direction of the endoscopic image E. Specifically, when the current imaging area is a first or second area including the specific tissues F, G, the endoscopic image E is automatically rotated by the target rotation angle θt at which the specific tissues F, G are positioned at a predetermined rotation angle. When the current imaging area is a third area not including the specific tissues F, G, the endoscopic image E is automatically rotated by an appropriate target rotation angle θt estimated from the first and second rotation angle information.
[0063] In this way, an appropriate endoscopic image E in the up-down direction according to the position of the current imaging region in the abdominal cavity can be provided to the operator. Furthermore, by automatically adjusting the up-down direction of the endoscopic image E, the stress on the surgeon can be reduced and the treatment time can be shortened. That is, when the surgeon adjusts the up-down direction of the endoscopic image E himself, the surgeon must temporarily release the treatment tool 6 being operated and manually rotate the endoscope 2. According to this embodiment, the surgeon does not need to operate the endoscope 2 to adjust the up-down direction, so the surgeon can continue the treatment without interruption.
[0064] Second embodiment Next, an endoscope system, a control device, a control method, and a recording medium according to a second embodiment of the present invention will be described with reference to the drawings. This embodiment differs from the first embodiment in that the processor 11 rotates the endoscopic image E by rotating the endoscope 2 instead of image processing. In this embodiment, configurations different from the first embodiment will be described, and configurations common to the first embodiment will be denoted by the same reference numerals and description thereof will be omitted.
[0065] An endoscope system 10 according to this embodiment includes a control device 1, an endoscope 2, a moving device 3, an endoscope processor 4, and a display device 5, similarly to the first embodiment. 8A and 8B show a control method executed by the processor 11 in this embodiment.
[0066] As shown in Figures 8A and 8B, the control method of this embodiment includes step SB2 of determining an initial position of the endoscope 2, steps SB3 and SB4' of determining first position information and first rotation angle information of a first region within the subject, steps SB5 and SB6' of determining second position information and second rotation angle information of a second region within the subject, steps SB7 and SB8' of calculating third position information and third rotation angle information of a third region within the subject, step SB9 of storing the position information and rotation angle information in memory unit 13, steps SC4 to SC9' of rotating the endoscopic image E according to the current imaging region currently being imaged by the endoscope 2, and step SC10 of outputting the rotated endoscopic image E to the display device 5. As shown in FIG. 8A, steps SB2 to SB9 are executed in the manual mode, and as shown in FIG. 8B, steps SC4 to SC10 are executed in the autonomous mode.
[0067] As in the first embodiment, the user performs steps SA1 to SA5. In response to the user interface 16 receiving the first instruction, the processor 11 determines first position information and first rotation angle information of the first region based on the endoscopic image E (SB3, SB4'). Specifically, in step SB4' following step SB3, the processor 11 sets the endoscopic image E and the rotation angle ω of the endoscope 2 at the time when the user interface 16 receives the first instruction to the first reference endoscopic image and the first reference rotation angle, respectively.
[0068] Next, the processor 11 calculates a first reference rotation angle relative to a predetermined initial rotation angle ω=0° as a target rotation angle ωt of the endoscope 2 at the position φ at the time when the first instruction is received. Next, the processor 11 calculates a rotation amount Δθ of the endoscopic image E required for aligning the aorta F in the endoscopic image E with the aorta F in the first reference endoscopic image for the endoscopic image E acquired at another position φ included in the first position information. Next, the processor 11 calculates a target rotation angle ωt of the endoscope 2 at the other position φ by adding the rotation amount Δθ to the first reference rotation angle. In this manner, the processor 11 calculates the target rotation angle ωt of the endoscope 2 for positioning the aorta F horizontally at each position φ=0°, ..., 20° included in the first position information, and determines the target rotation angle ωt at each position φ=0°, ..., 20° as the first rotation angle information.
[0069] Next, the user performs steps SA6 and SA7. In response to the user interface 16 receiving the second instruction, the processor 11 determines second position information and second rotation angle information of the second region based on the endoscopic image E (SB5, SB6'). Specifically, in step SB6' following step SB5, the processor 11 sets the endoscopic image E and the rotation angle ω of the endoscope 2 at the time when the user interface 16 receives the second instruction to a second reference endoscopic image and a second reference rotation angle, respectively.
[0070] Next, the processor 11 calculates a second reference rotation angle relative to the initial rotation angle ω=0° as a target rotation angle ωt of the endoscope 2 at the position φ at the time when the second instruction is received. Next, the processor 11 calculates a rotation amount Δθ of the endoscopic image E required for aligning the pelvis G in the endoscopic image E with the aorta G in the second reference endoscopic image for the endoscopic image E acquired at another position φ included in the second position information. Next, the processor 11 calculates a target rotation angle ωt of the endoscope 2 at the other position φ by adding the rotation amount Δθ to the second reference rotation angle. In this manner, the processor 11 calculates the target rotation angle ωt of the endoscope 2 for positioning the pelvis G upward at each position φ=70°, ..., 90° included in the second position information, and determines the target rotation angle ωt at each position φ=70°, ..., 90° as the second rotation angle information.
[0071] Next, processor 11 calculates third position information and third rotation angle information of the third region based on the first position information, the first rotation angle information, the second position information, and the second rotation angle information (SB7, SB8'). Specifically, in step SB8' following step SB7, processor 11 determines target rotation angles ωt at each position φ=20°, ..., 70° of the third position information as the third rotation angle information, in the same manner as in step SB8'.
[0072] Next, in step SB9, the processor 11 stores the position information and rotation angle information determined in steps SB3, SB4', SB5, SB6', SB7, and SB8' in the storage unit 13. As a result, data including the rotation angle φ of the endoscope 2 representing the position of the imaging area and the target rotation angle ωt of the endoscope 2 at each rotation angle φ is generated in the storage unit 13.
[0073] 8B, the processor 11 calculates the current position φ of the endoscope 2 (SC1). When the mode is switched to the autonomous mode (YES in SC2), the processor 11 determines whether the current imaging area is included in the first area, the second area, or the third area (SC4, SC6, SC8).
[0074] When it is determined that the current imaging region is included in the first region (YES in SC4), the processor 11 rotates the endoscope 2 based on the first rotation angle information stored in the storage unit 13 (SC5'). Specifically, the processor 11 reads out the target rotation angle ωt of the current position φ from the storage unit 13, and rotates the endoscope 2 to the target rotation angle ωt, thereby rotating the endoscopic image E.
[0075] When it is determined that the current imaging region is included in the second region (NO in SC4 and YES in SC6), the processor 11 rotates the endoscope 2 based on the second rotation angle information stored in the storage unit 13 (SC7'). Specifically, the processor 11 reads out the target rotation angle ωt of the current position φ from the storage unit 13, and rotates the endoscope 2 by the target rotation angle ωt to rotate the endoscopic image E.
[0076] When it is determined that the current imaging region is included in the third region (SC7), the processor 11 rotates the endoscope 2 based on the third rotation angle information stored in the storage unit 13 (SC8'). Specifically, the processor 11 reads out the target rotation angle ωt of the current position φ from the storage unit 13, and rotates the endoscope 2 by the target rotation angle ωt to rotate the endoscopic image E. After step SC5', SC7' or SC9', the processor 11 outputs the rotated endoscopic image E from the control device 1 to the display device 5 and displays it on the display screen 5a (SC10).
[0077] As described above, according to this embodiment, similarly to the first embodiment, in the autonomous mode, the endoscope 2 is rotated to a target rotation angle ωt according to the position φ of the current imaging region, thereby automatically adjusting the up-down direction of the endoscopic image E. Specifically, when the current imaging region is the first or second region including the specific tissues F, G, the endoscope 2 is automatically rotated to the target rotation angle ωt at which the specific tissues F, G are positioned at a predetermined rotation angle. When the current imaging region is the third region not including the specific tissues F, G, the endoscope 2 is automatically rotated to an appropriate target rotation angle ωt estimated from the first and second rotation angle information. In this way, an endoscopic image E with an appropriate up-down direction according to the current position of the imaging area in the abdominal cavity can be provided to the operator. Furthermore, by automatically adjusting the up-down direction of the endoscopic image E, stress on the surgeon can be reduced and the treatment time can be shortened.
[0078] Furthermore, according to this embodiment, by rotating the endoscopic image E by rotating the endoscope 2 around the optical axis C, it is possible to eliminate image processing for rotating the endoscopic image E and reduce the load on the processor 11. Furthermore, the user can intuitively recognize the up-down direction of the endoscopic image E by visually checking the rotation angle ω of the part of the endoscope 2 placed outside the body.
[0079] In this embodiment, the endoscopic image E is rotated by rotating the entire endoscope 2 about the optical axis C, but instead, the image pickup element 2a may be rotated about the optical axis C while maintaining the rotation angle ω of the endoscope 2 about the optical axis C. In this case, a rotation mechanism for rotating the image pickup element 2a is provided in the endoscope 2. By rotating the image pickup element 2a relative to the main body of the endoscope 2, the endoscopic image E can be rotated in the same manner as when the entire endoscope 2 is rotated.
[0080] Third embodiment Next, an endoscope system, a control device, a control method, and a recording medium according to a third embodiment of the present invention will be described with reference to the drawings. This embodiment differs from the first and second embodiments in that the endoscopic image E is rotated by a combination of image processing and rotation of the endoscope 2 around the optical axis C. In this embodiment, configurations different from the first and second embodiments will be described, and configurations common to the first and second embodiments will be denoted by the same reference numerals and description thereof will be omitted.
[0081] An endoscope system 10 according to this embodiment includes a control device 1, an endoscope 2, a moving device 3, an endoscope processor 4, and a display device 5, similarly to the first embodiment. 9 shows a control method executed by the processor 11 in the autonomous mode in this embodiment. The control method according to this embodiment includes, in addition to steps SB2, SB3, SB4', SB5, SB6', SB7, SB8', SB9, SC1 to SC4, SC5', SC6, SC7', SC8, and SC9' described in the second embodiment, step SC11 of determining whether the rotation angle ω of the endoscope 2 is a predetermined limit angle, and step SC12 of rotating the endoscopic image E by image processing.
[0082] After step SB9, as shown in Fig. 9, the processor 11 calculates the current position φ of the endoscope 2 (SC1). When the mode is switched to the autonomous mode (YES in SC2), the processor 11 executes steps SC1 to SC4, SC5', SC6, SC7', SC8, and SC9'.
[0083] In steps SC5', SC7', and SC9', the processor 11 determines whether or not the rotation angle ω of the endoscope 2 has reached the limit angle of the rotatable range of the endoscope 2, based on the rotation angle of the rotary joint 3c detected by the angle sensor 3d (SC11). The rotatable range within which the endoscope 2 can rotate may be limited by physical constraints, etc. For example, because twisting occurs in the cables inside the endoscope 2 and the moving device 3 due to the rotation of the endoscope 2, the rotatable range of the endoscope 2 is set so that excessive twisting does not occur.
[0084] When the endoscope 2 rotates to the target rotation angle ωt without the rotation angle ω reaching the limit angle (NO in SC11), the processor 11 outputs the rotated endoscopic image E to the display device 5 (SC10). On the other hand, if the rotation angle ω reaches the limit angle before reaching the target rotation angle ωt (YES in SC11), the processor 11 stops the rotation of the endoscope 2 at the limit angle, and then rotates the endoscopic image E by the rotation angle that is short of the target rotation angle ωt through image processing (SC12), and outputs the rotated endoscopic image E to the display device 5 (SC10).
[0085] As described above, according to this embodiment, by combining rotation of the endoscope 2 around the optical axis C with image processing, it is possible to realize rotation of the endoscopic image E, which is difficult to achieve by rotating the endoscope 2 alone. The other effects of this embodiment are the same as those of the first and second embodiments, so a description thereof will be omitted.
[0086] (First Modification) Next, a first modified example of the endoscope system 10, the control device 1, the control method, and the recording medium according to the first to third embodiments will be described. As shown in FIG. 10, this modification differs from the above-described first to third embodiments in that the endoscope 2 is of an oblique type.
[0087] The oblique-viewing endoscope 2 has a long insertion section 2b having a longitudinal axis I that is inserted into the subject, and an imaging section 2c that includes an image sensor 2a and is connected to the base end of the insertion section 2b. The insertion section 2b and the imaging section 2c rotate together around the longitudinal axis I by rotation of the rotary joint 3c. In the case of a separate oblique-viewing endoscope, the camera head (imaging section 2c) and the optical tube (insertion section 2b) have separate rotation angle information, but in this modified example, the camera head and the optical tube are rotated together and processed as common rotation angle information.
[0088] In the case of a direct-viewing endoscope 2, the visual axis (optical axis) C is coaxial with the longitudinal axis I, so the position of the visual axis C is maintained even when the endoscope 2 rotates about the longitudinal axis I. On the other hand, in the case of an oblique-viewing endoscope 2, the visual axis C is inclined with respect to the longitudinal axis I, so that the visual axis C rotates and moves about the longitudinal axis I as the endoscope 2 rotates about the longitudinal axis I, and the imaging area moves.
[0089] 11A and 11B show a control method in this modification executed by the processor 11. As shown in Fig. 11A and 11B, the control method according to this modification includes steps SB2', SB3 to SB9, and SC3', SC4 to SC10. In step SB2', the processor 11 sets the current position φ of the endoscope 2 to the initial position φ=0°, and sets the current attitude ω of the endoscope 2 to the initial attitude ω=0°. The attitude ω of the endoscope 2 is a rotation angle around the longitudinal axis I, and corresponds to the attitude of the visual axis C with respect to the longitudinal axis I.
[0090] Next, in response to the user interface 16 receiving a first instruction (SA5), the processor 11 determines first position information and first rotation angle information (SB3, SB4), and further retains information on the first posture of the endoscope 2 at the time the first instruction was received. Next, in response to the user interface 16 receiving a second instruction (SA7), the processor 11 determines second position information and second rotation angle information (SB5, SB6), and further retains information on the second posture of the endoscope 2 at the time the second instruction was received.
[0091] In step SB9, the processor 11 stores the first attitude and the second attitude in addition to the position information and the rotation angle information in the storage unit 13. As a result, data including the rotation angle φ of the endoscope 2 representing the position of the imaging area, the target rotation angle θt of the endoscopic image E at each rotation angle φ, and the first attitude and the second attitude of the endoscope 2 corresponding to each imaging area is generated in the storage unit 13.
[0092] Next, in the autonomous mode, the processor 11 controls the position and attitude of the endoscope 2 by controlling the moving device 3, and causes the endoscope 2 to follow the tip of the treatment tool 6 (SC3'). Here, the processor 11 controls the position and attitude of the endoscope 2 based on the first and second position information and the first and second attitudes stored in the storage unit 13, thereby controlling the attitude ω of the endoscope 2 to the first attitude when the imaging area is included in the first area, and controlling the attitude ω of the endoscope 2 to the second attitude when the imaging area is included in the second area. Then, similarly to the first embodiment, the processor 11 rotates the endoscopic image E by the target rotation angle θt through image processing in accordance with the current imaging area (SC4 to SC9).
[0093] As described above, in the case of the oblique-viewing endoscope 2, the imaging area moves due to the rotation of the endoscope 2 about the longitudinal axis I. Therefore, it is difficult to control the up-down direction of the endoscopic image E only by the control method of the second embodiment in which the endoscopic image E is rotated by the rotation of the endoscope 2.
[0094] According to this modification, in the manual mode, a first attitude of the endoscope 2 when imaging a first region and a second attitude of the endoscope 2 when imaging a second region are stored. Then, in the autonomous mode, when imaging the first region, the attitude of the endoscope 2 is controlled to the first attitude and the up-down direction of the endoscopic image E is adjusted by rotation through image processing. Also, in the autonomous mode, when imaging the second region, the attitude of the endoscope 2 is controlled to the second attitude and the up-down direction of the endoscopic image E is adjusted by rotation through image processing. This makes it possible to appropriately control the up-down direction of the endoscopic image E acquired by the oblique-viewing endoscope 2.
[0095] (Second Modification) Next, a second modification of the endoscope system 10, the control device 1, the control method, and the recording medium 13 according to the first to third embodiments will be described. As shown in FIG. 12, this modification example differs from the above-described first to third embodiments in that the endoscope 2 has a bending portion 2d.
[0096] The endoscope 2 has a long insertion section 2b that is inserted into the subject, and a bending section 2d that is provided at the tip of the insertion section 2b and can be bent in a direction intersecting the longitudinal axis I of the insertion section 2b. When the bending section 2d is bent, the visual axis C is inclined with respect to the longitudinal axis I, and therefore the visual axis C rotates and moves about the longitudinal axis I in accordance with the rotation of the endoscope 2 about the longitudinal axis I, and the imaging area moves. Furthermore, the inclination direction and inclination angle of the visual axis C with respect to the longitudinal axis I differ depending on the bending direction and bending angle of the bending section 2d.
[0097] The control method executed by the processor 11 in this modification includes steps SB2', SB3 to SB9 and steps SC3', SC4 to SC10, similar to the first modification. However, as the attitude of the endoscope 2, the rotation direction and rotation angle of the bending portion 2d are used instead of the rotation angle ω about the longitudinal axis I.
[0098] That is, in step SB2', the processor 11 sets the current bending direction and bending angle of the bending portion 2d as an initial posture. Then, in step SB9, the processor 11 stores in the storage unit 13 the bending direction and bending angle of the bending portion 2d at the time when the first instruction is received as a first posture, and stores in the storage unit 13 the bending direction and bending angle of the bending portion 2d at the time when the second instruction is received as a second posture.
[0099] In addition, in step SC3' of the autonomous mode, the processor 11 controls the position and posture of the endoscope 2 based on the first and second position information and the first and second postures stored in the memory unit 13, thereby controlling the bending direction and bending angle of the bending portion 2d to the first posture when the imaging area is included in the first area, and controlling the bending direction and bending angle of the bending portion 2d to the second posture when the imaging area is included in the second area (SC3').
[0100] As described above, in the case of the endoscope 2 having the bending portion 2d, the imaging area rotates and moves according to the bending direction and bending angle of the bending portion 2d by the rotation of the endoscope 2. Therefore, it is difficult to control the up-down direction of the endoscopic image E by the control method of the second embodiment in which the endoscopic image E is rotated by the rotation of the endoscope 2.
[0101] According to this modification, similarly to the first modification, in the autonomous mode, when the first region is imaged, the attitude of the endoscope 2 is controlled to the first attitude stored in the manual mode, and the up-down direction of the endoscopic image E is adjusted by rotation through image processing. Also, in the autonomous mode, when the second region is imaged, the attitude of the endoscope 2 is controlled to the second attitude stored in the manual mode, and the up-down direction of the endoscopic image E is adjusted by rotation through image processing. This makes it possible to appropriately control the up-down direction of the endoscopic image E acquired by the endoscope 2 having the bending portion 2d.
[0102] In each of the above-described embodiments and modifications, the processor 11 calculates the third rotation angle information in the manual mode and stores it in the storage unit 13. Alternatively, as shown in Fig. 13A and Fig. 13B, the processor 11 may calculate the third rotation angle information in real time while the autonomous mode is being executed (SC13). In other words, the processor 11 does not determine and store the third position information and the third rotation angle information in the manual mode. In this case, the third region means a region other than the first region and the second region.
[0103] In the autonomous mode of each embodiment and each modification, when it is determined that the current imaging region is included in the third region (not the first region or the second region), the processor 11 may calculate the target rotation angle θt or ωt at the current position φ of the endoscope 2 in real time based on the current position φ, the first position information, the first rotation angle information, the second position information, and the second rotation angle information (SC13). Furthermore, when the current imaging region is included in either the first region or the second region (not included in the third region), the processor 11 does not calculate the target rotation angle θt or ωt in real time, but may match it with the first rotation angle information or the second rotation angle information. In this way, the amount of position information and rotation angle information stored in the storage unit 13 in the manual mode can be reduced, and only the third position information and the third rotation angle information required during the operation in the autonomous mode need to be calculated, thereby reducing the load on the system.
[0104] Furthermore, when the current imaging region is included in the first region or the second region, the processor 11 may update the first position information or the second position information, or the first rotation angle information or the second rotation angle information stored in advance to the current position information and rotation angle information. When the endoscope 2 is moved after the update and it is determined that the current imaging region is included in the first region or the second region, the updated first position information, second position information, first rotation angle information, and second rotation angle information can be used. When updating, the user only needs to issue an update instruction from the user interface 16. In this way, even if a part of the patient's body is deformed due to pneumoperitoneum or adjustment of the body position, it is possible to update the position information and rotation angle information to correct information according to the current situation.
[0105] In each of the above embodiments and variations, the processor 11 recognizes a specific tissue in the endoscopic image E and determines each piece of position information and each piece of rotation angle information based on the recognized specific tissue. Alternatively, however, each piece of position information and each piece of rotation angle information may be determined based on the position φ and rotation angle ω of the endoscope 2 at the time each instruction is received. That is, in the manual mode, the surgeon places the endoscope 2 at a desired position with a desired rotation angle ω and inputs a first instruction. The processor 11 determines the peripheral range of the position φ of the endoscope 2 at the time when the user interface 16 receives the first instruction as the first position information, and determines the rotation angle ω of the endoscope 2 at the time when the user interface 16 receives the second instruction as the first rotation angle information.
[0106] Similarly, the surgeon places the endoscope 2 at another desired position with a desired rotation angle ω and inputs a second instruction. The processor 11 determines the peripheral range of the position φ of the endoscope 2 at the time when the user interface 16 receives the second instruction as the second position information, and determines the rotation angle ω of the endoscope 2 at the time when the user interface 16 receives the second instruction as the second rotation angle information. According to this configuration, the operator can register any region in the subject as the first region and the second region, and can determine the position information and the rotation angle information according to the operator's sense. Even if the first and second regions do not include a specific tissue, the operator can arbitrarily determine and store the position information and the rotation angle information of the first and second regions without processing the trained model 1b.
[0107] Determination of position information and rotation angle information based on a specific tissue in the endoscopic image E may be used in combination with determination of position information and rotation angle information based on the position φ and rotation angle ω of the endoscope 2 at the time the instruction is accepted. For example, the processor 11 may determine first and second position information and first and second rotation angle information based on specific tissues F, G in the endoscopic image E as described in the first to third embodiments and their modified examples, and then may further determine position information and rotation angle information of any region different from the first and second regions based on instructions from the surgeon.
[0108] In each of the above embodiments and modified examples, the specific tissues are the aorta F and the pelvis G, but the specific tissue may be any organ or tissue having anatomical characteristics, for example, the uterus. In each of the above embodiments and modifications, the position information and rotation angle information of two regions are stored, but instead, the position information and rotation angle information of three or more regions may be stored, which can improve the accuracy of calculating the position information and rotation angle information based on the information stored in advance.
[0109] In each of the above embodiments and modifications, the position φ of the endoscope 2, which indicates the position of the imaging region, is expressed in a two-dimensional polar coordinate system with the pivot point H as the origin, but instead, it may be expressed in a three-dimensional polar coordinate system. That is, the endoscope 2 may be supported so as to be swingable about a second pivot axis P2 that passes through the pivot point H and is perpendicular to the first pivot axis P1, and the position of the imaging region may be expressed as (φ1, φ2). φ1 is the rotation angle about the first pivot axis P1, and φ2 is the rotation angle about the second pivot axis P2. In this case, each of the first position information, the second position information, and the third position information is three-dimensional information including the rotation angles φ1 and φ2.
[0110] In each of the above-described embodiments and modifications, the position of the imaging area may be expressed in other types of coordinate systems instead of the polar coordinate system. For example, the position of the imaging area may be expressed in a Cartesian coordinate system with the hole H as the origin. In each of the above embodiments and modifications, the coordinate system of the position φ of the imaging region is a global coordinate system fixed with respect to the subject, but instead, it may be a relative coordinate system with respect to the tip of the endoscope 2.
[0111] In each of the above embodiments and variations, the first and second position information is determined in manual mode and stored in the memory unit 13. Alternatively, the first and second position information may be stored in advance in the memory unit 13 before surgery. Before surgery, an examination image of an area including a treatment site, for example, a CT image of the abdomen, may be acquired. A number of CT images are deconvoluted to generate a three-dimensional image of the abdominal cavity. Based on such a preoperative three-dimensional image, the first and second position information may be determined before surgery and stored in the storage unit 13. In this case, in the manual mode, steps SB4 and SB6 are omitted. This configuration can reduce the amount of calculations performed by processor 11 in manual mode.
[0112] In each of the above embodiments and modified examples, the processor 11 may store in the manual mode a first endoscopic image E obtained by capturing an image of a first region and a second endoscopic image E obtained by capturing an image of a second region in the storage unit 13. For example, in step SB3, the processor 11 stores one or more endoscopic images E in which the aorta F is recognized in the storage unit 13 as the first endoscopic images. In addition, in step SB6, the processor 11 stores one or more endoscopic images E in which the pelvis G is recognized in the storage unit 13 as the second endoscopic images.
[0113] In this case, in the autonomous mode, the processor 11 may determine whether the current imaging area is included in the first, second, or third area based on the first and second endoscopic images. That is, the processor 11 compares the current endoscopic image E with the first and second endoscopic images. Then, the processor 11 determines that the current imaging area is included in the first area when a first endoscopic image identical or similar to the current endoscopic image E exists, and determines that the current imaging area is included in the second area when a second endoscopic image identical or similar to the current endoscopic image E exists.
[0114] In each of the above embodiments and modifications, when a specific tissue is included in the endoscopic image E, the processor 11 may read information on the rotation angle of the specific tissue from the database 1c stored in the storage unit 13, and rotate the endoscopic image E based on the read information on the rotation angle. The rotation angle is an angle around the center point of the endoscopic image E. According to this configuration, the endoscopic image E can be rotated so that the specific tissue in the endoscopic image E is positioned at a predetermined rotation angle.
[0115] For example, the database 1c registers one or more types of specific tissues other than the aorta F and the pelvis G, and the rotation angle of each type. The processor 11 recognizes the specific tissue in the endoscopic image E, reads out the rotation angle of the specific tissue from the database 1c, and rotates the endoscopic image E so that the specific tissue is positioned at the rotation angle. As an example, since it is preferable that the uterus J, which is a specific tissue, is positioned at the top in the endoscopic image E, 90°, which corresponds to the 12 o'clock position, is registered in the database 1c as the rotation angle of the uterus J. The processor 11 rotates the endoscopic image E so that the recognized uterus J is positioned at the 90° position. As a result, when the uterus J is included in the endoscopic image E, the up-down direction of the endoscopic image E is automatically adjusted so that the uterus J is positioned at the 90° position.
[0116] In each of the above embodiments and modified examples, the rotation of the endoscopic image E is controlled based on specific tissues F, G in the endoscopic image E, but in addition to this, the rotation of the endoscopic image E may also be controlled based on a treatment tool 6 in the endoscopic image E. For example, the processor 11 can operate in a first rotation mode in which the rotation of the endoscopic image E is controlled based on specific tissues F, G, and a second rotation mode in which the rotation of the endoscopic image E is controlled based on the treatment tool 6. A user such as an operator can use the user interface 16 to switch between the first rotation mode and the second rotation mode.
[0117] In the second mode, the processor 11 detects the angle of the treatment tool 6 in the current endoscopic image E, rotates the endoscopic image E by rotating the endoscope 2 or by image processing so that the angle of the treatment tool 6 becomes equal to a predetermined target angle, and outputs the rotated endoscopic image E to the display device 5 to display it on the display screen 5a. The angle of the treatment tool 6 is, for example, the angle of the longitudinal axis of the shaft of the treatment tool 6 relative to the horizontal line of the endoscopic image E.
[0118] It is important that the angle of the treatment tool 6 in the endoscopic image E displayed on the display screen 5a is appropriate in order for the surgeon to properly operate the treatment tool 6 while observing the endoscopic image E. However, when the surgeon moves the treatment tool 6 or when the attitude of the endoscope 2 that follows the treatment tool 6 changes, the angle of the treatment tool 6 in the endoscopic image E changes. The surgeon can display the treatment tool 6 in the endoscopic image E at a target angle on the display screen 5a by switching from the first rotation mode to the second rotation mode as necessary.
[0119] In each of the above embodiments and modifications, the surgeon holds the treatment tool 6 by hand and operates it manually. Alternatively, as shown in FIG. 14A and FIG. 14B, the treatment tool 6 may be held and controlled by a second moving device 31 different from the moving device 3. In this case, the control device 1 may obtain information on the positions of the endoscope 2 and the treatment tool 6 from the moving device 3 that moves the endoscope 2 and the second moving device 31 that moves the treatment tool 6, respectively. The second moving device 31 holds the treatment tool 6 by a robot arm or an electric holder, like the moving device 3, and changes the position and posture of the treatment tool 6 three-dimensionally according to the control by the control device 101. The treatment tool 6 may be connected to the tip of the robot arm and integrated with the robot arm as shown in FIG. 14A, or may be separate from the robot arm and held by the robot arm as shown in FIG. 14B. [Explanation of symbols]
[0120] 1 Control device 11 Processors 12. Memory 13 Memory unit, recording medium 14 Input Interface 15 Output Interface 16 User Interface 1a Image control program 1b Pre-trained model 1c Database 2 Endoscope 2a Image sensor 3. Mobility Devices 3a Robot arm 3b,3c joint 3d angle sensor 4 Endoscope processor 5 Display device 5a display screen 6 Treatment tools A,B,D,O position C optical axis, visual axis P1 First pivot axis P2 Second pivot axis E Endoscopic image F Aorta, 1st specific tissue G Pelvis, second specific tissue H hole
Claims
1. an endoscope that is inserted into a subject and acquires an endoscopic image of the inside of the subject; a moving device for holding the endoscope and moving the endoscope; A storage unit; a controller having at least one processor; the storage unit stores first position information and first rotation angle information of a first region within the subject, and second position information and second rotation angle information of a second region different from the first region within the subject, the first rotation angle information being information defining a rotation angle of the endoscopic image of the first region, and the second rotation angle information being information defining a rotation angle of the endoscopic image of the second region, The at least one processor calculating a positional relationship between third position information of a third region within the subject and the first and second position information; calculating third rotation angle information of the third region based on the positional relationship, the first rotation angle information, and the second rotation angle information; the third region is a region different from the first and second regions, When a current imaging area currently imaged by the endoscope is included in the third area, the endoscope image is rotated based on the third rotation angle information; An endoscope system that outputs the rotated endoscope image to a display device.
2. The endoscopic system of claim 1 , wherein the at least one processor rotates the endoscopic image by image processing.
3. the moving device is capable of rotating the endoscope about an optical axis of the endoscope; The endoscopic system of claim 1 , wherein the at least one processor rotates the endoscopic image by controlling the movement device to rotate the endoscope about the optical axis.
4. the at least one processor is operable in a manual mode to permit operation of the endoscope by a user; The endoscopic system according to claim 1 , wherein in the manual mode, the at least one processor determines the first position information, the first rotation angle information, the second position information, and the second rotation angle information and stores them in the memory unit.
5. The at least one processor: determining the first position information and the first rotation angle information based on a first specific tissue included in the endoscopic image; The endoscope system according to claim 4 , wherein the second position information and the second rotation angle information are determined based on a second specific tissue included in the endoscope image.
6. The storage unit stores a trained model that has been machine-learned to learn a correspondence between an image including a specific tissue and a type of the specific tissue; The at least one processor: Recognizing the first specific tissue and the second specific tissue in the endoscopic image using the trained model stored in the storage unit; determining the first position information based on a position of an imaging area of the endoscopic image in which the first specific tissue is recognized, and determining the first rotation angle information based on a rotation angle of the first specific tissue in the endoscopic image; The endoscopic system according to claim 5, wherein the second position information is determined based on a position of an imaging area of the endoscopic image in which the second specific tissue is recognized, and the second rotation angle information is determined based on a rotation angle of the second specific tissue in the endoscopic image.
7. The control device further includes a user interface that receives an instruction from a user, The at least one processor determining the first position information based on a position of the imaging area when the user interface receives a first instruction, and determining the first rotation angle information based on a rotation angle of the endoscope about an optical axis when the user interface receives the first instruction; The endoscopic system according to claim 4, wherein the second position information is determined based on the position of the imaging area when the user interface receives the second instruction, and the second rotation angle information is determined based on the rotation angle of the endoscope about the optical axis when the user interface receives the second instruction.
8. The endoscopic system according to claim 4, wherein the at least one processor stores a first endoscopic image, which is an endoscopic image captured of the first area, and a second endoscopic image, which is an endoscopic image captured of the second area, in the memory unit.
9. The endoscopic system of claim 8, wherein the at least one processor determines whether the current imaging area is included in the first area, the second area, or the third area based on the first endoscopic image and the second endoscopic image stored in the memory unit.
10. The endoscopic system according to claim 1 , wherein the first position information and the second position information determined based on an examination image of the inside of the subject acquired before surgery are pre-stored in the memory unit.
11. The at least one processor When the current imaging region is included in the first region, rotating the endoscopic image based on the first rotation angle information; The endoscope system according to claim 1 , wherein when the current imaging area is included in the second area, the endoscopic image is rotated based on the second rotation angle information.
12. The endoscopic system of claim 11, wherein the processor determines whether the current imaging area is included in the first area, the second area, or the third area based on the position of the imaging area, the first position information, and the second position information.
13. the endoscope is supported so as to be swingable about a first pivot axis at a predetermined pivot point fixed to the subject, and the imaging area is movable between the first area and the second area by swinging the endoscope about the first pivot axis; The endoscopic system of claim 1 , wherein each of the first position information, the second position information, and the third position information includes a rotation angle of the endoscope about the first pivot axis.
14. the endoscope is supported at the predetermined pivot point so as to be swingable about a second pivot axis, the second pivot axis being perpendicular to the first pivot axis; The endoscopic system of claim 13 , wherein each of the first position information, the second position information, and the third position information is three-dimensional information and further includes a rotation angle of the endoscope about the second pivot axis.
15. the moving device has one or more joints and one or more angle sensors for detecting a rotation angle of each of the one or more joints; The endoscopic system of claim 13 , wherein the processor calculates a rotation angle of the endoscope about the first pivot axis based on a rotation angle detected by the one or more angle sensors.
16. a database in which a type of specific tissue is associated with rotation angle information is stored in the storage unit; When the specific tissue is included in the endoscopic image of the third region, the processor: reading from the database the rotation angle information corresponding to the type of the specific tissue in the endoscopic image; The endoscope system according to claim 1 , wherein the endoscopic image is rotated based on the read-out rotation angle information.
17. The at least one processor The endoscope system according to claim 3 , wherein when a rotation angle of the endoscope about the optical axis reaches a limit angle of a predetermined rotatable range, the endoscopic image is rotated by image processing.
18. The endoscopic system according to claim 1 , wherein the endoscope is a direct-viewing endoscope or an oblique-viewing endoscope.
19. The endoscope system according to claim 1 , wherein the endoscope has a bending portion at a tip portion of the endoscope that can be bent electrically.
20. The at least one processor When the current imaging area is included in the first area, the first position information or the first rotation angle information can be updated to position information or rotation angle information of a current imaging area; The endoscope system according to claim 1 , wherein when the current imaging area is included in the second area, the second position information or the second rotation angle information can be updated to position information or rotation angle information of the current imaging area.
21. The endoscope system according to claim 4 , wherein, in the manual mode, the at least one processor calculates the third position information and the third rotation angle information and stores them in the storage unit.
22. The at least one processor a moving device that is operable in an autonomous mode to move the endoscope autonomously; The endoscope system according to claim 1 , wherein the third position information and the third rotation angle information are calculated during the autonomous mode.
23. A control device for controlling an endoscopic image acquired by an endoscope and displayed on a display device, A storage unit; At least one processor; the storage unit stores first position information and first rotation angle information of a first region within a subject, and second position information and second rotation angle information of a second region within the subject that is different from the first region, the first rotation angle information being information that defines a rotation angle of the endoscopic image of the first region, and the second rotation angle information being information that defines a rotation angle of the endoscopic image of the second region; The at least one processor calculating a positional relationship between third position information of a third region within the subject and the first and second position information; calculating third rotation angle information of the third region based on the positional relationship, the first rotation angle information, and the second rotation angle information; the third region is a region different from the first and second regions, When a current imaging area currently imaged by the endoscope is included in the third area, the endoscope image is rotated based on the third rotation angle information; A control device that outputs the rotated endoscopic image to a display device.
24. A non-transitory computer-readable recording medium storing a control program for causing a computer to execute a control method for controlling an endoscopic image acquired by an endoscope and displayed on a display device using first position information and first rotation angle information of a first region within a subject and second position information and second rotation angle information of a second region within the subject that is different from the first region, comprising: the first rotation angle information is information defining a rotation angle of the endoscopic image of the first region, and the second rotation angle information is information defining a rotation angle of the endoscopic image of the second region, The control method comprises: calculating a positional relationship between third position information of a third region in the subject and the first and second position information, and calculating third rotation angle information of the third region based on the positional relationship, the first rotation angle information, and the second rotation angle information, the third region being a region different from the first and second regions; a step of rotating the endoscopic image based on the third rotation angle information when a current imaging area currently imaged by the endoscope is included in the third area; and outputting the rotated endoscopic image to a display device.
Citation Information
Patent Citations
Method for removing mercury from waste containing mercury
JP1986061687A
Electronic endoscope device
JP1994319697A
Endoscopic instrument
JP2005055756A
Medical imaging device and medical observation system
JP2019162231A
Image orientation for endoscopic video displays
US20020161280A1
