Medical support devices, endoscopic devices, medical support methods, and programs

JPWO2023149013A5Active Publication Date: 2024-10-10FUJIFILM CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023578368
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-09-30
Filing Date
2022-09-30
Publication Date
2024-10-10
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

Existing medical systems face challenges in accurately identifying the type of treatment instrument and internal body conditions during procedures, leading to increased workload for medical professionals in documenting procedure names, especially when multiple lesions are involved.

Method used

A processor that acquires and analyzes a series of endoscopic images to identify the type of treatment instrument and internal body conditions using machine learning models, deriving a treatment name based on the identified types and conditions, and outputs this information for improved accuracy.

Benefits of technology

Enhances the accuracy of treatment name output by considering both the type of treatment instrument and internal body conditions, reducing the workload for medical professionals and improving procedural documentation efficiency.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The technology of the present disclosure relates to a medical support device, an endoscope device, a medical support method, and a program.

Background Art

[0002] International Publication No. WO2021 / 140616 discloses a treatment instrument that incises biological tissue by applying treatment energy from an end effector to the biological tissue according to the supplied power, an imaging device that generates an imaging image of a state in which treatment energy is being applied from the end effector to the biological tissue, and a control device having a processor that controls the operation of the treatment instrument. The processor acquires the imaging image, determines whether the incision of the biological tissue has been completed based on the imaging image, and stops the supply of power to the treatment instrument when it is determined that the incision of the biological tissue has been completed.

Summary of the Invention

[0003] One embodiment of the technology according to the present disclosure provides a medical support device, an endoscope device, a medical support method, and a program that can realize the output of an accurate treatment name as compared with the case where the treatment name is output only from the type of the first treatment instrument.

Means for Solving the Problems

[0004] A first aspect of the technology according to the present disclosure includes a processor. The processor acquires a plurality of endoscope images obtained by being imaged in time series by an endoscope scope, identifies the type of a first treatment instrument included in a first endoscope image among the plurality of endoscope images, identifies the type of a second treatment instrument included in a second endoscope image among the plurality of endoscope images or a first internal state included in the second endoscope image, and outputs information indicating a treatment name corresponding to a first identification result that is a result of identifying the type of the first treatment instrument and a second identification result that is a result of identifying the type of the second treatment instrument or the first internal state. This is a medical support device.

[0005] A second aspect of the technology of this disclosure is a medical support device according to the first aspect, wherein the second endoscopic image is an image obtained by the endoscope after the first endoscopic image.

[0006] A third aspect of the technology of this disclosure is a medical support device according to the first or second aspect, wherein the processor identifies a first internal body shape based on a first identification result and a second endoscopic image.

[0007] A fourth aspect of the technology of this disclosure is a medical support device relating to any one of the first to third aspects, wherein if the processor has identified the type of a first processing tool and then ceases to identify the type of the first processing tool for several frames, it identifies the type of a second processing tool or the first internal body form within a time determined according to the type of the first processing tool.

[0008] A fifth aspect of the technology of this disclosure is a medical support device relating to any one of the first to fourth aspects, wherein the processor outputs an output image associated with a procedure name, and the output image is an image obtained between a first endoscopic image and a second endoscopic image among a plurality of images.

[0009] A sixth aspect of the technology of this disclosure is a medical support device relating to any one of the first to fifth aspects, wherein the processor further identifies the type of third treatment instrument or the second internal body form included in the third endoscopic image, and the information indicating the treatment name is information corresponding to the first identification result, the second identification result, and the third identification result which is the result of identifying the type of third treatment instrument or the second internal body form.

[0010] A seventh aspect of the technology of this disclosure is a medical support device according to the sixth aspect, wherein the second identification result is the result of identifying the type of second treatment instrument.

[0011] An eighth aspect of the technology of this disclosure is a medical support device relating to the sixth aspect, wherein the second identification result is the result of identifying the first internal aspect.

[0012] A ninth aspect of the technology of this disclosure is a medical support device relating to any one of the sixth to eighth aspects, wherein the third endoscopic image is an image obtained by the endoscope after the second endoscopic image.

[0013] A tenth aspect of the technology of this disclosure is a medical support device according to the first aspect, wherein the first endoscopic image is an image obtained by the endoscope after the second endoscopic image.

[0014] An eleventh aspect of the technology of this disclosure is a medical support device according to the tenth aspect, wherein the first internal aspect is a treatment target area.

[0015] A twelfth aspect of the technology of this disclosure is a medical support device relating to any one of the first to eleventh aspects, wherein the first internal aspect includes a lesion area, a burn scar, an excision area, a change in the excision area, a raised area, and / or a marking area.

[0016] A thirteenth aspect of the technology of this disclosure is a medical support device relating to any one of the first to twelfth aspects, wherein the first internal aspect includes a lesion area, and the information indicating the treatment name is based on the size of the first treatment instrument and the size of the lesion area.

[0017] A fourteenth aspect of the technology of this disclosure is an endoscopic device comprising a medical support device relating to any one of the first to thirteenth aspects, and an endoscope.

[0018] A 15th aspect of the technology of this disclosure is a medical support method that includes acquiring a plurality of endoscopic images obtained by imaging in a time series with an endoscope, identifying the type of a first treatment instrument included in the first endoscopic image based on the first endoscopic image among the plurality of endoscopic images, identifying the type of a second treatment instrument included in the second endoscopic image or the first internal body form included in the second endoscopic image among the plurality of endoscopic images, and outputting information indicating the name of a procedure corresponding to the first identification result, which is the result of identifying the type of the first treatment instrument, and the second identification result, which is the result of identifying the type of the second treatment instrument or the first internal body form.

[0019] A sixteenth aspect of the technology disclosed herein includes causing a computer to acquire a plurality of endoscopic images obtained by being imaged in time series by an endoscopic scope, specifying the type of a first treatment tool included in a first endoscopic image based on the first endoscopic image among the plurality of endoscopic images, specifying the type of a second treatment tool included in a second endoscopic image among the plurality of endoscopic images or a first internal state included in the second endoscopic image, and outputting information indicating a treatment name corresponding to a first specification result which is a result of specifying the type of the first treatment tool and a second specification result which is a result of specifying the type of the second treatment tool or the first internal state. It is a program for executing a process including this.

Brief Description of the Drawings

[0020] [Figure 1] It is a conceptual diagram showing an example of the overall configuration of an endoscopic device. [Figure 2] It is a block diagram showing an example of the hardware configuration of an endoscopic device. [Figure 3] It is a block diagram showing an example of the main functions of a processor. [Figure 4] It is a conceptual diagram showing an example of the processing content of a treatment tool specifying unit. [Figure 5] It is a conceptual diagram showing an example of the processing content of a treatment tool specifying unit and an internal state specifying unit. [Figure 6] It is a conceptual diagram showing an example of the processing content of an internal state specifying unit. [Figure 7] It is a conceptual diagram showing an example of the processing content of a treatment name specifying unit. [Figure 8] It is a conceptual diagram showing an example of the processing content of an output unit. [Figure 9] It is a flowchart showing an example of the flow of a treatment name specifying process. [Figure 10] It is a conceptual diagram showing an example of the processing content of a treatment name specifying unit. [Figure 11] It is a conceptual diagram showing an example of the processing content of a treatment name specifying unit. [Figure 12]This is a conceptual diagram showing an example of the processing content of the treatment name specifying unit. [Figure 13] This is a conceptual diagram showing an example of the processing content of the internal state specifying unit. [Figure 14] This is a conceptual diagram showing an example of the processing content of the treatment tool specifying unit. [Figure 15] This is a conceptual diagram showing an example of the processing content of the treatment name specifying unit. [Figure 16] This is a conceptual diagram showing an example of the processing content of the treatment tool specifying unit and the internal state specifying unit. [Figure 17] This is a conceptual diagram showing an example of the processing content of the treatment name specifying unit. [Figure 18] This is a conceptual diagram showing an example of the processing content of the treatment tool specifying unit and the internal state specifying unit. [Figure 19] This is a conceptual diagram showing an example of the processing content of the treatment name specifying unit. [Figure 20] This is a conceptual diagram showing an example of the processing content of the treatment tool specifying unit and the internal state specifying unit. [Figure 21] This is a conceptual diagram showing an example of the processing content of the treatment name specifying unit. [Figure 22] This is a conceptual diagram showing an example of the overall configuration of the endoscope system.

Embodiments for Carrying Out the Invention

[0021] Hereinafter, an example of an embodiment of a medical support device, an endoscope device, a medical support method, and a program according to the technology of the present disclosure will be described with reference to the accompanying drawings.

[0022] First, the terms used in the following description will be explained.

[0023] CPU stands for "Central Processing Unit". GPU stands for "Graphics Processing Unit". RAM stands for "Random Access Memory". EEPROM stands for "Electrically Erasable Programmable Read-Only Memory". ASIC stands for "Application Specific Integrated Circuit". PLD stands for "Programmable Logic Device". FPGA stands for "Field-Programmable Gate Array". SoC stands for "System-on-a-chip". SSD stands for "Solid State Drive". USB stands for "Universal Serial Bus". HDD stands for "Hard Disk Drive". EL stands for "Electro-Luminescence". I / F stands for "Interface". CMOS stands for "Complementary Metal Oxide Semiconductor". CCD stands for "Charge Coupled Device". NN stands for "Neural Network". EMR stands for "Endoscopic Mucosal Resection". ESD stands for "Endoscopic Submucosal Dissection". AI stands for "Artificial Intelligence". PIP stands for "Picture-In-Picture".

[0024] [First Embodiment] As an example, as shown in Figure 1, the endoscopic device 10 includes an endoscope 12. The endoscopic device 10 is a device for performing medical procedures on the inside of the body (for example, the stomach or large intestine, etc.) via the endoscope 12. The endoscope 12 includes an operating section 16 and an insertion section 18. The insertion section 18 is partially bent when the operating section 16 is operated. As a result, the insertion section 18 is inserted while bending according to the shape of the inside of the body (for example, the shape of the large intestine). The endoscopic device 10 is an example of an "endoscopic device" relating to the technology of this disclosure.

[0025] The tip 20 of the insertion section 18 is provided with an endoscope scope 22, an illumination device 24, and an opening 26 for treatment instruments. The endoscope scope 22 is a device for imaging the inside of the body, and an example of an endoscope scope 22 is a CMOS camera. However, this is merely an example, and other types of cameras such as CCD cameras may also be used. The illumination device 24 is a device for irradiating illumination light into the body. The opening 26 for treatment instruments is an opening for protruding a treatment instrument 58 from the tip 20. The treatment instrument 58 is inserted into the insertion section 18 from the treatment instrument insertion port 30. The treatment instrument 58 passes through the insertion section 18 and protrudes into the body from the opening 26 for treatment instruments. In the example shown in Figure 1, a forceps 32 is shown protruding from the opening 26 for treatment instruments as the treatment instrument 58. The endoscope scope 22 is an example of an "endoscope scope" related to the technology of this disclosure.

[0026] The endoscope device 10 is equipped with a control device 34. The endoscope 12 is electrically connected to the control device 34 via a cable 36. The endoscope 12 is also optically connected to a light source device 38 via the cable 36. A display device 40 and a reception device 42 are connected to the control device 34.

[0027] As an example, as shown in Figure 2, the control device 34 includes a computer 44 and an external I / F 46. The computer 44 has a processor 48, storage 50, and RAM 52. The processor 48, storage 50, RAM 52, external I / F 46, display device 40, and receiving device 42 are connected to a bus 54. The control device 34 is an example of a "medical support device" related to the technology of this disclosure. The computer 44 is an example of a "computer" related to the technology of this disclosure. The processor 48 is an example of a "processor" related to the technology of this disclosure.

[0028] The processor 48, for example, has a CPU and a GPU, and controls the entire control unit 34. The GPU operates under the control of the CPU and is responsible for screen display and / or image processing. The processor 48 may consist of one or more CPUs with integrated GPU functionality, or one or more CPUs without integrated GPU functionality.

[0029] Storage 50 is a non-volatile storage device that stores various programs and parameters. An example of storage 50 is flash memory (e.g., EEPROM and / or SSD). Flash memory is merely an example; it may be other non-volatile storage devices such as HDDs, or a combination of two or more types of non-volatile storage devices. RAM 52 is memory that temporarily stores information and is used as work memory by the processor 48.

[0030] The external I / F 46 manages communication between the control device 34 and the endoscope scope 22. For example, the external I / F 46 outputs signals from the processor 48 to the endoscope scope 22 and outputs signals from the endoscope scope 22 to the processor 48. The processor 48 acquires images obtained by imaging the inside of the body with the endoscope scope 22 (hereinafter simply referred to as "endoscopic images") via the external I / F 46. In this embodiment, the endoscopic images include moving images (for example, live view images or recording moving images). However, this is merely an example, and for example, the endoscopic image 56 may be a still image obtained by continuous shooting. The external I / F 46 also manages communication between the control device 34 and the light source device 38. The processor 48 controls the light source device 38 via the external I / F 46. The light source device 38 supplies illumination light to the illumination device 24 according to instructions from the processor 48.

[0031] The display device 40 displays various types of information (e.g., images and text) under the control of the processor 48. Examples of the display device 40 include an EL display or a liquid crystal display.

[0032] The reception device 42 receives instructions from the user of the endoscope device 10. Examples of users of the endoscope device 10 include medical professionals (e.g., doctors, nurses, and / or technicians). Instructions received by the reception device 42 are acquired by the processor 48. Examples of the reception device 42 include a keyboard and / or mouse. The keyboard and / or mouse are merely examples; the reception device 42 may, in place of or in conjunction with the keyboard and / or mouse, utilize at least one of the following: a proximity input device that accepts proximity input, a voice input device that accepts voice input, or a gesture input device that accepts gesture input. Examples of proximity input devices include touch panels and tablets. Furthermore, the connection between the reception device 42 and the endoscope device 10 may be wired or wireless.

[0033] By the way, when performing procedures (e.g., examinations or treatments) using the endoscopic device 10, recording the name of the procedure in the medical record each time a procedure is performed on a lesion is a significant workload for medical professionals. In particular, when procedures are performed on multiple lesions, the workload for medical professionals is expected to increase even further. On the other hand, it is conceivable that image recognition processing could be performed on the endoscopic images during the procedure to identify the name of the procedure, but since there are various types of procedures, there was room for improvement in accurately identifying the name of the procedure.

[0034] Therefore, in light of these circumstances, in this embodiment, as an example, as shown in Figure 3, the processor 48 performs the treatment name identification process. The storage 50 stores the treatment name identification process program 50A. The processor 48 reads the treatment name identification process program 50A from the storage 50 and performs the treatment name identification process by executing the read treatment name identification process program 50A on the RAM 52. The treatment name identification process is realized by the processor 48 operating as a treatment instrument identification unit 48A, an internal body condition identification unit 48B, a treatment name identification unit 48C, and an output unit 48D. The treatment name identification process program 50A is an example of a "program" related to the technology of this disclosure.

[0035] Furthermore, the storage 50 stores the NN50B for identifying treatment instruments, the NN50C for identifying internal body conditions, and the treatment name derivation table 50D. The NN50B for identifying treatment instruments and the NN50C for identifying internal body conditions are trained models generated by optimizing NN11 and NN19 through machine learning. The NN50B for identifying treatment instruments is obtained by performing machine learning on NN11. The machine learning performed on NN11 is machine learning using multiple images 13 containing treatment instruments. An example of an image 13 containing treatment instruments is an endoscopic image containing a treatment instrument 15. For example, the treatment instrument 15 refers to a treatment instrument (e.g., forceps, snare, and / or knife, etc.) that is extended from the tip of the endoscope (e.g., tip 20) and used. In the example shown in Figure 3, forceps are shown as the treatment instrument 15. In this embodiment, the NN50B for identifying treatment instruments is used by the processor 48 to identify the treatment instruments included in the endoscopic image, i.e., the treatment instrument corresponding to the treatment instrument 15. In this embodiment, the treatment instrument included in the endoscopic image refers to a treatment instrument that is included as an image in the endoscopic image.

[0036] Furthermore, the NN50C for identifying internal body features is a trained model generated by optimizing the NN19 through machine learning. The NN50C for identifying internal body features is obtained by performing machine learning on the NN19. The machine learning performed on the NN19 is machine learning using multiple images 23 containing internal body features. An example of an image 23 containing internal body features is an endoscopic image containing internal body features 21. Internal body features 21 refer to features that show traces of treatment performed inside the body by a treatment instrument extended from the tip of the endoscope (e.g., tip 20) (e.g., excision marks and / or burn marks). In the example shown in Figure 3, burn marks are shown as internal body features 21. In this embodiment, the NN50C for identifying internal body features is used by the processor 48 to identify internal body features included in the endoscopic image, i.e., internal body features corresponding to internal body features 21.

[0037] The procedure name derivation table 50D is a table for deriving procedure names. The procedure name derivation table 50D takes the type of treatment instrument and the internal body configuration included in the endoscopic image as input values ​​and the procedure name as the output value. Alternatively, instead of the table, a calculation formula may be used in which the values ​​indicating the type of treatment instrument and the internal body configuration are independent variables and the value indicating the procedure name is the dependent variable.

[0038] As an example, as shown in Figure 4, first, an endoscopic image group 55 is obtained by imaging the inside of the body in a time series using the endoscope scope 22. The endoscopic image group 55 contains multiple endoscopic images 56. In the control device 34, the endoscopic image group 55 is temporarily stored in the RAM 52. The treatment instrument identification unit 48A retrieves the endoscopic image group 55 from the RAM 52. In this case, the treatment instrument identification unit 48A may acquire several frames (for example, three frames) of the endoscopic images 56 included in the endoscopic image group 55 at once, or it may acquire the endoscopic images 56 one frame at a time continuously.

[0039] The endoscopic image group 55 includes an endoscopic image 56A in which a treatment instrument 58 is visible. The treatment instrument identification unit 48A identifies the type of treatment instrument 58 included in the endoscopic image 56A based on the endoscopic image 56A. For example, the treatment instrument identification unit 48A identifies the type of treatment instrument 58 by performing image recognition processing using AI. The endoscopic image group 55 is an example of "multiple endoscopic images" relating to the technology of this disclosure, and the endoscopic image 56A is an example of "first endoscopic image" relating to the technology of this disclosure.

[0040] When the treatment instrument identification unit 48A performs image recognition processing using AI, first, the treatment instrument identification unit 48A obtains the treatment instrument identification NN50B from the storage 50. The treatment instrument identification unit 48A inputs the endoscopic image 56 to the treatment instrument identification NN50B. When the treatment instrument identification NN50B receives the endoscopic image 56, it identifies the type of treatment instrument 58 from the endoscopic image 56. The treatment instrument identification NN50B outputs the type of treatment instrument 58 as the treatment instrument identification result 60. In the example shown in Figure 4, an example is shown in which the type of treatment instrument 58 is identified as forceps 32 as the treatment instrument identification result 60. The treatment name identification unit 48C obtains the treatment instrument identification result 60, which is the result of identifying the type of treatment instrument 58, from the treatment instrument identification unit 48A. The treatment instrument 58 is an example of the "first treatment instrument" related to the technology of this disclosure, and the treatment instrument identification result 60 is an example of the "first identification result" related to the technology of this disclosure.

[0041] As an example, as shown in Figure 5, after the instrument identification process in the instrument identification unit 48A, if predetermined conditions are met, the instrument identification process by the instrument identification unit 48A transitions to the process of identifying the internal body configuration 62 (see Figure 6) by the internal body configuration identification unit 48B. For example, a predetermined condition is when the type of instrument 58 is no longer identifiable for several frames (e.g., 2 to 3 frames) after the type of instrument 58 has been identified (i.e., when the instrument 58 is no longer visible in the endoscopic image 56). In the example shown in Figure 5, the predetermined condition is that the process transitions to the internal body configuration identification process when 3 frames have elapsed since the forceps 32, which is the instrument 58, ceased to be visible in the endoscopic image 56. The internal body configuration identification process refers to the process of identifying the internal body configuration.

[0042] The identification of the internal body configuration 62 by the internal body configuration identification unit 48B is performed within a time period determined according to the type of treatment instrument 58. For example, the internal body configuration identification unit 48B derives the time for identifying the internal body configuration 62 using a configuration identification time calculation formula (not shown). The configuration identification time calculation formula is a calculation formula in which a numerical value indicating the treatment instrument identification result 60 is the independent variable and a numerical value indicating the time for identifying the internal body configuration 62 is the dependent variable. For example, if forceps 32 are identified as the treatment instrument 58, the identification of the internal body configuration 62 is performed within 30 seconds from the start of the identification of the internal body configuration 62.

[0043] As an example, as shown in Figure 6, the internal body condition identification unit 48B acquires a group of endoscopic images 55 from the RAM 52. The group of endoscopic images 55 includes an endoscopic image 56B in which an internal body condition 62 (for example, traces of treatment by the treatment instrument 58) is captured. Here, the internal body condition 62 occurs after the treatment by the treatment instrument 58. Therefore, endoscopic image 56B is an image obtained after endoscopic image 56A.

[0044] The internal body shape identification unit 48B identifies internal body shapes 62 contained in the endoscopic image 56B based on the endoscopic image 56B. For example, the internal body shape identification unit 48B identifies internal body shapes 62 by performing image recognition processing using AI. The endoscopic image 56B is an example of a "second endoscopic image" relating to the technology of this disclosure, the internal body shape 62 is an example of an "internal body shape" relating to the technology of this disclosure, and the shape identification result 64 is an example of a "second identification result" relating to the technology of this disclosure.

[0045] When the internal body shape identification unit 48B performs image recognition processing using AI, the internal body shape identification unit 48B obtains the internal body shape identification NN50C from the storage 50. The internal body shape identification unit 48B inputs the endoscopic image 56 to the internal body shape identification NN50C. When the internal body shape identification NN50C receives the endoscopic image 56, it identifies the internal body shape 62 from the endoscopic image 56. The internal body shape identification NN50C outputs a shape identification result 64. In the example shown in Figure 6, the shape identification result 64 shows an example in which the internal body shape 62 is identified as a burn mark 62A (i.e., a mark where a part of the body has been burned off by a treatment instrument 58). Note that the burn mark 62A as the internal body shape 62 is merely an example, and could be, for example, smoke produced when a part of the body is burned off. The treatment name identification unit 48C obtains the shape identification result 64, which is the result of identifying the internal body shape, from the internal body shape identification unit 48B.

[0046] As an example, as shown in Figure 7, the treatment name identification unit 48C obtains the treatment tool identification result 60 from the treatment tool identification unit 48A. The treatment name identification unit 48C also obtains the pattern identification result 64 from the internal pattern identification unit 48B. The treatment name identification unit 48C identifies a treatment name 66 corresponding to the treatment tool identification result 60 and the pattern identification result 64. The treatment name identification unit 48C obtains the treatment name derivation table 50D from the storage 50. The treatment name derivation table 50D is a table that takes the treatment tool identification result 60 and the pattern identification result 64 as input values ​​and the treatment name 66 as the output value. The treatment name identification unit 48C derives a treatment name 66 corresponding to the treatment tool identification result 60 and the pattern identification result 64 from the treatment name derivation table 50D. In the example shown in Figure 7, "forceps" is identified as the treatment tool identification result 60, and "burn marks" is identified as the pattern identification result 64. The treatment name identification unit 48C derives "hot biopsy" as the treatment name 66 from the treatment name derivation table 50D, corresponding to the treatment instrument identification result 60, "forceps," and the form identification result 64, "burn marks." The treatment name 66 is an example of a "treatment name" related to the technology of this disclosure.

[0047] As an example, as shown in Figure 8, the output unit 48D acquires information indicating the procedure name 66 from the procedure name identification unit 48C. The output unit 48D also accepts the user 43's specification of the endoscopic image 56 via the reception device 42. The output unit 48D acquires the endoscopic image 56 specified by the user 43 from the RAM 52. The output unit 48D uses the acquired endoscopic image 56 as the output image 57. For example, the output image 57 is the endoscopic image 56 obtained between the acquisition of the endoscopic image 56A containing the procedure instrument 58 and the endoscopic image 56B containing the internal body view 62 from the endoscopic image group 55. The output image 57 is an example of an "output image" related to the technology of this disclosure.

[0048] The output unit 48D associates the treatment name 66 obtained from the treatment name identification unit 48C with the output image 57. For example, the output unit 48D adds information indicating the treatment name 66 as supplementary information to the output image 57. The output unit 48D outputs the information indicating the treatment name 66 to the display device 40. For example, the information indicating the treatment name 66 is output to the display device 40 as a screen 68. In this case, the output unit 48D causes the display device 40 to display the screen 68. The screen 68 displays both the treatment name 66 and the output image 57. In the example shown in Figure 8, a configuration is shown in which the treatment name 66 and the output image 57 are displayed side by side on the screen 68. The treatment name 66 may be displayed relative to the output image 57 using a picture-in-picture (PIP) method or a pop-up method.

[0049] Next, the operation of the endoscope device 10 will be explained with reference to Figure 9. Figure 9 shows an example of the flow of the procedure name identification process performed by the processor 48 of the endoscope device 10. Note that the procedure name identification process shown in Figure 9 is an example of a "medical support method" related to the technology of this disclosure.

[0050] In the procedure name identification process shown in Figure 9, first, in step ST10, the procedure instrument identification unit 48A determines whether or not the timing for acquiring the endoscopic image 56 has arrived. If the timing for acquiring the endoscopic image 56 has not arrived in step ST10, the determination is denied, and the determination in step ST10 is repeated. If the timing for acquiring the endoscopic image 56 has arrived in step ST10, the determination is affirmed, and the procedure name identification process proceeds to step ST12.

[0051] In step ST12, the treatment instrument identification unit 48A transmits an imaging signal to the endoscope scope 22. After the processing in step ST12 is completed, the treatment name identification process proceeds to step ST14.

[0052] In step ST14, the treatment instrument identification unit 48A acquires the endoscopic image group 55 captured by the endoscope scope 22 from the RAM 52. After the processing in step ST14 is completed, the treatment name identification process proceeds to step ST16.

[0053] In step ST16, the instrument identification unit 48A starts identifying the type of instrument 58 included in the endoscopic image 56A by using the instrument identification unit NN50B on the endoscopic image 56 acquired in step ST14. After the processing in step ST16 is completed, the procedure name identification process proceeds to step ST18.

[0054] In step ST18, the treatment tool identification unit 48A determines whether the identification of the type of treatment tool 58 has been completed. If the identification of the type of treatment tool 58 has not been completed in step ST18, the determination is denied, and the determination in step ST18 is repeated. If the identification of the type of treatment tool 58 has been completed in step ST18, the determination is affirmed, and the treatment name identification process proceeds to step ST19.

[0055] In step ST19, the internal body shape identification unit 48B determines whether or not the predetermined conditions have been met. An example of the timing for internal body shape identification is the time when three frames have elapsed since the treatment instrument 58 is no longer visible in the endoscopic image 56 due to the processing in step ST16 and step ST18. If the predetermined conditions have not been met in step ST19, the determination is denied, and the determination in step ST19 is repeated. If the predetermined conditions have been met in step ST19, the determination is affirmed, and the processing name identification process proceeds to step ST20.

[0056] In step ST20, the internal body shape identification unit 48B starts identifying the internal body shape 62 contained in the endoscopic image 56B by using the internal body shape identification unit NN50C on the endoscopic image 56 acquired in step ST14. After the processing in step ST20 is completed, the procedure name identification process moves on to step ST22.

[0057] In step ST22, the internal body configuration identification unit 48B determines whether the identification of the internal body configuration 62 has been completed. If the identification of the internal body configuration 62 has not been completed in step ST22, the determination is denied, and the determination in step ST22 is repeated. If the identification of the internal body configuration 62 has been completed in step ST22, the determination is affirmed, and the treatment name identification process proceeds to step ST24.

[0058] In step ST24, the procedure name identification unit 48C obtains the procedure tool identification result 60 from the procedure tool identification unit 48A. The procedure name identification unit 48C also obtains the pattern identification result 64 from the in-body pattern identification unit 48B. After the processing in step ST24 is executed, the procedure name identification procedure proceeds to step ST26.

[0059] In step ST26, the treatment name identification unit 48C derives a treatment name 66 from the treatment name derivation table 50D, corresponding to the treatment tool identification result 60 and the manner identification result 64. After the processing in step ST26 is executed, the treatment name identification process proceeds to step ST28.

[0060] In step ST28, the output unit 48D associates the treatment name 66 obtained from the treatment name identification unit 48C with the output image 57 specified by the user 43 via the reception device 42. After the processing in step ST28 is completed, the treatment name identification process proceeds to step ST30.

[0061] In step ST30, the output unit 48D outputs a screen 68 containing the treatment name 66 and the output image 57 to the display device 40 as information indicating the treatment name 66. As a result, the display device 40 displays the treatment name 66 and the output image 57 side by side. After the processing in step ST30 is completed, the treatment name identification process proceeds to step ST32.

[0062] In step ST32, the output unit 48D determines whether the conditions for terminating the treatment name identification process (hereinafter referred to as "termination conditions") have been met. An example of a termination condition is that an instruction to terminate the treatment name identification process has been received by the receiving device 42. If the termination conditions are not met in step ST32, the determination is denied, and the treatment name identification process proceeds to step ST10. If the termination conditions are met in step ST32, the determination is affirmed, and the treatment name identification process terminates.

[0063] As described above, in the endoscope device 10 according to this first embodiment, information indicating the treatment name 66 is output based on the treatment instrument identification result 60, which is the result of identifying the type of treatment instrument 58, and the pattern identification result 64, which is the result of identifying the internal body pattern 62. Therefore, with this configuration, it is possible to achieve more accurate output of the treatment name 66 compared to the case in which the treatment name 66 is output based only on the result of identifying the type of treatment instrument 58.

[0064] Furthermore, in the endoscopic device 10 according to this first embodiment, the endoscopic image 56B, which includes the internal body view 62, is obtained by the endoscopic scope 22 after the endoscopic image 56A, which includes the treatment instrument 58, has been obtained. Therefore, with this configuration, compared to the case where the order in which the endoscopic image 56A and the endoscopic image 56B are obtained is not considered when identifying the treatment name 66, accurate output of the treatment name 66 can be achieved.

[0065] Furthermore, in the endoscope device 10 according to this first embodiment, if the type of treatment instrument 58 is not identified for several frames (for example, 2 to 3 frames) after the type of treatment instrument 58 has been identified, the treatment instrument identification process by the treatment instrument identification unit 48A transitions to the identification process of the internal body configuration by the internal body configuration identification unit 48B. In addition, the identification of the internal body configuration 62 by the internal body configuration identification unit 48B is performed within a time determined according to the type of treatment instrument 58. Therefore, with this configuration, it is possible to achieve accurate output of the treatment name 66 compared to the case where the time from the identification of the type of treatment instrument 58 to the identification of the internal body configuration 62 is not considered.

[0066] For example, after the treatment instrument 58 is identified, the subsequent internal body condition 62 is identified within a predetermined time after the treatment instrument 58 is no longer visible in the endoscopic image 56A. This makes it easier to infer that the treatment by the treatment instrument 58 and the resulting internal body condition 62 are part of a series of treatment actions, and allows for the accurate identification of the treatment name 66.

[0067] Furthermore, in the endoscopic device 10 according to this first embodiment, the procedure name 66 is associated with the output image 57, and the output image 57 is an image obtained between the acquisition of endoscopic image 56A and endoscopic image 56B. Therefore, with this configuration, compared to the case where the procedure name 66 is associated with an endoscopic image 56 that does not include the procedure instrument 58 or the internal body configuration 62, an improvement in the relationship between the procedure name 66 and the endoscopic image 56 can be achieved.

[0068] In the above embodiment, an example of how the procedure name 66 and the output image 57 are associated was described, but the technology of this disclosure is not limited thereto. For example, the procedure name 66 may be associated with an endoscopic image 56B that includes the internal body configuration 62, or it may be associated with an endoscopic image consisting of multiple frames including the endoscopic image 56B.

[0069] Furthermore, in the above embodiment, an example was given in which information indicating a screen 68 in which both the treatment name 66 and the output image 57 are displayed to the display device 40 is output, but this is merely one example. Instead of, or in conjunction with, the visible display of screen 68 on the display device 40, an audible display by a speaker or a permanent visible display by paper media or the like may be provided. Also, for example, the information indicating the treatment name 66 output from the output unit 48D may be stored in the storage 50.

[0070] Furthermore, although the above embodiment describes an example in which the type of treatment instrument 58 is identified using the treatment instrument identification NN50B and the internal body configuration 62 is identified using the internal body configuration identification NN50C, the technology of this disclosure is not limited thereto. For example, an image identification NN (not shown) may be used instead of the treatment instrument identification NN50B and the internal body configuration identification NN50C. The image identification NN is an NN for identifying the treatment instrument 58 and internal body configuration 62 contained in the endoscopic image 56A, and is a trained model generated by optimizing the NN through machine learning. The treatment instrument identification unit 48A identifies the type of treatment instrument 58 contained in the endoscopic image 56A using the image identification NN. The internal body configuration identification unit 48B identifies the internal body configuration 62 contained in the endoscopic image 56B using the image identification NN.

[0071] [Example 1] In the above embodiment, the treatment name derivation table 50D was described as a table in which the input value for treatment instrument identification result 60 is forceps, the input value for aspect identification result 64 is burn scar or excision area, and the output value for treatment name 66 is hot biopsy or biopsy. However, the technology of this disclosure is not limited thereto. In this modified example, the treatment name derivation table 50D1 includes treatment instrument identification results 60 other than forceps and aspect identification results 64 other than burn scar as input values. Furthermore, the treatment name derivation table 50D1 has a treatment name 66 other than hot biopsy or biopsy as an output value.

[0072] As an example, as shown in Figure 10, the procedure name derivation table 50D1 has forceps as the input value for the procedure instrument identification result 60, and further has a region in which the target area inside the body has been partially excised (i.e., a partially excised region) as the input value for the pattern identification result 64. In this case, the procedure name derivation table 50D1 has cold forceps biopsy as the output value for the procedure name 66. Alternatively, the procedure name derivation table 50D1 has forceps as the input value for the procedure instrument identification result 60, and further has a region in which the entire target area inside the body has been excised (i.e., a completely excised region) as the input value for the pattern identification result 64. In this case, the procedure name derivation table 50D1 has cold forceps polypectomy as the output value for the procedure name 66.

[0073] The procedure name derivation table 50D1 has "snare" as the input value for the procedure instrument identification result 60, and further has "burn scar" as the input value for the pattern identification result 64. In this case, the procedure name derivation table 50D1 has "hot snare polypectomy" as the output value for the procedure name 66. Also, the procedure name derivation table 50D1 has "snare" as the input value for the procedure instrument identification result 60, and further has "excision area" as the input for the pattern identification result 64. In this case, the procedure name derivation table 50D1 has "cold snare polypectomy" as the output value for the procedure name 66.

[0074] The procedure name derivation table 50D1 has "knife" as the input value for the procedure instrument identification result 60, and further has "marking area" as the input value for the pattern identification result 64. In this case, the procedure name derivation table 50D1 has "ESD" as the output value for the procedure name 66. Alternatively, the procedure name derivation table 50D1 has "knife" as the input value for the procedure instrument identification result 60, and further has "excision area (for example, the submucosa after the lesion area has been dissected)" as the input value for the pattern identification result 64. In this case, the procedure name derivation table 50D1 has "ESD" as the output value for the procedure name 66.

[0075] As explained above, in the endoscopic device 10 according to this modified example, the procedure name 66 is derived from the procedure name derivation table 50D1, and in the procedure name derivation table 50D1, the internal body characteristics 62 of the input value include burn marks, resection area, changes in the resection area, and marking area. Therefore, with this configuration, it is possible to achieve a more accurate output of the procedure name 66 compared to the case where the procedure name 66 is identified based only on the presence or absence of the internal body characteristics 62.

[0076] [Differentiation 2] In the above embodiment, the procedure name derivation table 50D was described as a table that takes the type of treatment instrument 58 (see Figure 4) and the internal body configuration 62 (see Figure 6) included in the endoscopic image 56 (see Figure 4) as input values ​​and outputs the procedure name 66 (see Figure 7), but the technology of this disclosure is not limited thereto. In this modified example, the procedure name derivation table 50D2 has treatment instrument identification result 60 and configuration identification result 64, as well as treatment instrument size 61 and configuration size 65 as input values. Treatment instrument size 61 is the size of the treatment instrument 58, and configuration size 65 is the size of the internal body configuration 62.

[0077] As an example, as shown in FIG. 11, the treatment name derivation table 50D2 has the treatment tool identification result 60, the mode identification result 64, the treatment tool size 61, and the mode size 65 as input values. The treatment tool size 61 is derived using the treatment tool identification NN50B together with the identification of the type of the treatment tool 58 included in the endoscopic image 56 by the treatment tool identification unit 48A. The mode size 65 is derived using the in-vivo mode identification NN50C together with the identification of the in-vivo mode 62 included in the endoscopic image 56 by the in-vivo mode identification unit 48B. The treatment name derivation table 50D2 has the treatment name 66 corresponding to the treatment tool identification result 60, the mode identification result 64, the treatment tool size 61, and the mode size 65 as an output value.

[0078] The treatment name derivation table 50D2 has the forceps as an input value for the treatment tool identification result 60 and the lesion area as an input value for the mode identification result 64. In this case, the treatment name derivation table 50D2 has the size of the forceps, which is the treatment tool 58, and the size of the lesion area, which is the in-vivo mode 62, as input values. When the size of the forceps is smaller than the size of the lesion area (for example, when the size of the forceps is X millimeters and the size of the lesion area is Y millimeters, and X < Y holds), the treatment name derivation table 50D2 has the cold forceps biopsy as an output value for the treatment name 66. Also, when the size of the forceps is larger than the size of the lesion area (for example, when the size of the forceps is X millimeters and the size of the lesion area is Z millimeters, and X > Z holds), the treatment name derivation table 50D2 has the cold forceps polypectomy as an output value for the treatment name 66.

[0079] As described above, in the endoscopic apparatus 10 according to this modification example, the in-vivo mode 62 includes the lesion area. Also, the information indicating the treatment name 66 is information based on the treatment tool size 61 and the mode size 65. Therefore, according to this configuration, it is possible to realize the output of the accurate treatment name 66 as compared with the case where the treatment name 66 is output only from the result of identifying the type of the treatment tool 58.

[0080] [Modification Example 3] In the above embodiment, the procedure name derivation table 50D was described as a table in which the type of treatment instrument 58 (see Figure 4) and the internal body configuration 62 (see Figure 6) included in the endoscopic image 56 (see Figure 4) are input values, and the procedure name 66 (see Figure 7) is output value, but the technology of this disclosure is not limited thereto. In this modified example, the procedure name derivation table 50D3 has, in addition to the treatment instrument identification result 60 and the configuration identification result 64, the ratio of the treatment instrument size 61 to the configuration size 65 as input values.

[0081] As an example, as shown in Figure 12, the treatment name derivation table 50D3 has as input values ​​the treatment tool identification result 60, the aspect identification result 64, and the ratio of the treatment tool size 61 to the aspect size 65. The ratio of the treatment tool size 61 to the aspect size 65 is calculated by the treatment name identification unit 48C based on the treatment tool size 61 and aspect size 65. The treatment name derivation table 50D2 has as output values ​​the treatment name 66 corresponding to the ratio of the treatment tool size 61 to the treatment tool identification result 60, the aspect identification result 64, and the aspect size 65.

[0082] The procedure name derivation table 50D3 has forceps as the input value for the procedure instrument identification result 60 and the lesion area as the input value for the pattern identification result 64. In this case, the procedure name derivation table 50D3 has the ratio of the size of the forceps, which is the procedure instrument 58, and the size of the lesion area, which is the internal pattern 62, as input values. If the size of the forceps is smaller than the size of the lesion area (for example, if (procedure instrument size / pattern size) × 100 = V (%) and V < 100), the procedure name derivation table 50D3 has cold forceps biopsy as the output value for the procedure name 66. Also, if the size of the forceps is larger than the size of the lesion area (for example, if (procedure instrument size / pattern size) × 100 = W (%) and W ≥ 100), the procedure name derivation table 50D3 has cold forceps polypectomy as the output value for the procedure name 66.

[0083] As explained above, in the endoscope device 10 according to this modified example, the internal body configuration 62 includes the lesion area, and the information indicating the procedure name 66 is based on the ratio of the treatment instrument size 61 to the configuration size 65. Therefore, with this configuration, it is possible to achieve a more accurate output of the procedure name 66 compared to the case where the procedure name 66 is output only from the result of identifying the type of treatment instrument 58.

[0084] [Differentiation Example 4] In the first embodiment described above, when identifying the internal body configuration 62, an example was given in which the internal body configuration 62 is identified based on an endoscopic image 56B that includes the internal body configuration 62. However, the technology of this disclosure is not limited thereto. In this modified example, the internal body configuration 62 may be identified based on the identification result of the treatment instrument 58 together with the endoscopic image 56B.

[0085] As an example, as shown in Figure 13, the internal body shape identification unit 48B acquires a group of endoscopic images 55 from the RAM 52. The group of endoscopic images 55 includes an endoscopic image 56B in which the internal body shape 62 is captured. The internal body shape identification unit 48B also acquires a treatment instrument identification result 60 from the treatment instrument identification unit 48A. In the example shown in Figure 13, a forceps 32 is identified as the treatment instrument 58.

[0086] The internal body shape identification unit 48B identifies the type of internal body shape 62 contained in the endoscopic image 56B based on the endoscopic image 56B and the treatment instrument identification result 60. For example, the internal body shape identification unit 48B identifies the internal body shape 62 by performing image recognition processing using AI.

[0087] The storage 50 stores the NN50C1 for identifying internal body features. The NN50C1 for identifying internal body features is a neural network (NN) for identifying internal body features 62 contained in the endoscopic image 56 according to the type of treatment instrument 58, and is a trained model generated by optimizing the NN through machine learning. For example, the NN50C1 for identifying internal body features is a trained model optimized to identify internal body features 62 corresponding to the forceps 32.

[0088] The internal body type identification unit 48B obtains the internal body type identification NN50C1 from the storage 50 based on the treatment device identification result 60. The internal body type identification unit 48B uses the internal body type identification NN50C to identify the internal body type 62. The treatment name identification unit 48C obtains the type identification result 64 from the internal body type identification unit 48B.

[0089] As explained above, in the endoscopic device 10 according to this modified example, the internal body configuration 62 is identified based on the endoscopic image 56B which includes the internal body configuration 62 and the treatment instrument identification result 60. Therefore, with this configuration, it is possible to achieve more accurate output of the treatment name 66 compared to the case where the internal body configuration 62 is identified based solely on the endoscopic image 56B.

[0090] [Second Embodiment] In the first embodiment described above, an example of how the treatment name 66 is identified according to the treatment tool identification result 60 and the manner identification result 64 was given, but the technology of this disclosure is not limited thereto. In this second embodiment, the treatment name 66 is identified according to the identification results of two types of treatment tools 58.

[0091] As an example, as shown in Figure 14, the instrument identification unit 48A acquires a group of endoscopic images 55 from the RAM 52. The group of endoscopic images 55 includes an endoscopic image 56C containing a first instrument 58A and an endoscopic image 56D containing a second instrument 58B. The instrument identification unit 48A uses the instrument identification NN 50B to identify the type of the first instrument 58A included in the endoscopic image 56C. In the example shown in Figure 14, the first instrument identification result 60A shows an example in which the type of the first instrument 58A is identified as a local injection needle 59A. The endoscopic image 56C is an example of a "first endoscopic image" relating to the technology of this disclosure, the first instrument 58A is an example of a "first instrument" relating to the technology of this disclosure, and the first instrument identification result 60A is an example of a "first identification result" relating to the technology of this disclosure.

[0092] After the type of the first treatment instrument 58A is identified as the first treatment instrument identification result 60A, the treatment instrument identification unit 48A identifies the type of the next second treatment instrument 58B if predetermined conditions are met. For example, a predetermined condition is when the second treatment instrument 58B is captured in the endoscopic image 56D. The treatment instrument identification unit 48A uses the treatment instrument identification NN 50B to identify the type of the second treatment instrument 58B included in the endoscopic image 56. In the example shown in Figure 14, the second treatment instrument identification result 60B indicates that the type of the second treatment instrument 58B is identified as a snare 59B. The endoscopic image 56D is an example of a "second endoscopic image" relating to the technology of this disclosure, the second treatment instrument identification result 60B is an example of a "second identification result" relating to the technology of this disclosure, and the second treatment instrument 58B is an example of a "second treatment instrument" relating to the technology of this disclosure.

[0093] As an example, as shown in Figure 15, the treatment name identification unit 48C obtains the first treatment tool identification result 60A and the second treatment tool identification result 60B from the treatment tool identification unit 48A. The treatment name identification unit 48C derives a treatment name 66 from the treatment name derivation table 50D4 corresponding to the first treatment tool identification result 60A and the second treatment tool identification result 60B. In the example shown in Figure 15, "local injection needle" is identified as the first treatment tool identification result 60A, and "snare" is identified as the second treatment tool identification result 60B. The treatment name identification unit 48C derives "EMR" as the treatment name 66 from the treatment name derivation table 50D4 corresponding to the first treatment tool identification result 60A, "local injection needle," and the second treatment tool identification result 60B, "snare."

[0094] Furthermore, the procedure name derivation table 50D4 has local injection needle as the input value for the first procedure instrument identification result 60, and a knife as the input value for the second procedure instrument identification result 60B. In this case, the procedure name derivation table 50D4 has ESD as the output value for the procedure name 66.

[0095] As described above, in the endoscope device 10 according to this second embodiment, information indicating the treatment name 66 is output based on the first treatment instrument identification result 60A, which is the result of identifying the type of the first treatment instrument 58A, and the second treatment instrument identification result 60B, which is the result of identifying the type of the second treatment instrument 58B. Therefore, with this configuration, it is possible to achieve more accurate output of the treatment name 66 compared to the case in which the treatment name 66 is output based only on the result of identifying the type of the first treatment instrument 58A.

[0096] [Third Embodiment] In the first embodiment described above, an example of how the treatment name 66 is identified according to the treatment device identification result 60 and the form identification result 64 was given, but the technology of this disclosure is not limited thereto. In this third embodiment, the treatment name 66 is identified according to the identification result of two types of treatment devices 58 and the identification result of the in-vivo form 62.

[0097] As an example, as shown in Figure 16, the instrument identification unit 48A acquires a group of endoscopic images 55 from the RAM 52. The group of endoscopic images 55 includes an endoscopic image 56C that includes a first instrument 58A and an endoscopic image 56D that includes a second instrument 58B. The instrument identification unit 48A uses the instrument identification NN 50B to identify the type of the first instrument 58A included in the endoscopic image 56. In the example shown in Figure 16, the first instrument identification result 60A shows an example in which the type of the first instrument 58A is identified as a local injection needle 59A. The endoscopic image 56C is an example of a "first endoscopic image" relating to the technology of this disclosure, the first instrument 58A is an example of a "first instrument" relating to the technology of this disclosure, and the first instrument identification result 60A is an example of a "first identification result" relating to the technology of this disclosure.

[0098] After the type of the first treatment device 58A is identified as the first treatment device identification result 60A, if predetermined conditions are met, the first treatment device identification process by the treatment device identification unit 48A transitions to the internal body configuration identification process by the internal body configuration identification unit 48B. For example, the predetermined conditions include the case where, after the type of the first treatment device 58A has been identified, the type of the first treatment device 58A is no longer identified for several frames (for example, 2 to 3 frames).

[0099] The internal body shape identification unit 48B acquires a group of endoscopic images 55 from the RAM 52. The group of endoscopic images 55 includes an endoscopic image 56E that includes an internal body shape 62. Here, the internal body shape 62 occurs after the procedure performed by the first treatment instrument 58A. Therefore, the endoscopic image 56E is an image obtained after the endoscopic image 56C. The internal body shape identification unit 48B uses the internal body shape identification NN 50C to identify the internal body shape 62 included in the endoscopic image 56E. In the example shown in Figure 16, the identification result 64 shows an example in which the internal body shape 62 is identified as a raised region 62B (i.e., a region in which a part of the body has been raised by the injection of liquid (e.g., physiological saline) from the local injection needle 59A). The endoscopic image 56E is an example of a "second endoscopic image" relating to the technology of this disclosure, the internal body shape 62 is an example of a "first internal body shape" relating to the technology of this disclosure, and the identification result 64 is an example of a "second identification result" relating to the technology of this disclosure.

[0100] After the internal body form 62 is identified as the form identification result 64, if predetermined conditions are met, the internal body form identification process by the internal body form identification unit 48B proceeds to the second treatment instrument identification process by the treatment instrument identification unit 48A. For example, a predetermined condition is that the second treatment instrument 58B is captured in the endoscopic image 56D.

[0101] The instrument identification unit 48A uses the instrument identification unit NN50B to identify the type of the second instrument 58B included in the endoscopic image 56D. Here, the internal state 62 occurs after the procedure performed by the first instrument 58A, and the second instrument 58B is then used on the internal state 62. Therefore, the endoscopic image 56D is an image obtained after the endoscopic image 56E.

[0102] In the example shown in Figure 16, the second treatment instrument identification result 60B indicates that the type of the second treatment instrument 58B is identified as a snare 59B. The endoscopic image 56E is an example of a "third endoscopic image" relating to the technology of this disclosure, the second treatment instrument 58B is an example of a "third treatment instrument" relating to the technology of this disclosure, and the second treatment instrument identification result 60B is an example of a "third identification result" relating to the technology of this disclosure.

[0103] As an example, as shown in Figure 17, the treatment name identification unit 48C obtains the first treatment instrument identification result 60A and the second treatment instrument identification result 60B from the treatment instrument identification unit 48A. The treatment name identification unit 48C also obtains the pattern identification result 64 from the in-body pattern identification unit 48B. The treatment name identification unit 48C derives a treatment name 66 from the treatment name derivation table 50D5 corresponding to the first treatment instrument identification result 60A and the second treatment instrument identification result 60B. In the example shown in Figure 17, "local injection needle" is identified as the first treatment instrument identification result 60A, and "snare" is identified as the second treatment instrument identification result 60B. In addition, "elevated region" is identified as the pattern identification result 64. The treatment name identification unit 48C derives "EMR" as the treatment name 66 from the treatment name derivation table 50D4, corresponding to the first treatment tool identification result 60A, the second treatment tool identification result 60B, and the pattern identification result 64.

[0104] Furthermore, the procedure name derivation table 50D5 has local injection needle as the input value for the first procedure instrument identification result 60. The procedure name derivation table 50D5 has raised region as the input value for the pattern identification result 64. In addition, the procedure name derivation table 50D5 has knife as the input value for the second procedure instrument identification result 60B. In this case, the procedure name derivation table 50D4 has ESD as the output value for the procedure name 66.

[0105] As explained above, in the endoscope device 10 according to this third embodiment, the information indicating the procedure name 66 corresponds to the first procedure instrument identification result 60A, which is the result of identifying the type of the first procedure instrument 58A; the configuration identification result 64, which is the result of identifying the internal body configuration 62; and the second procedure instrument identification result 60B, which is the result of identifying the type of the second procedure instrument 58B. Therefore, with this configuration, it is possible to achieve a more accurate output of the procedure name 66 compared to the case where the procedure name 66 is output only from the result of identifying the type of the first procedure instrument 58A.

[0106] Furthermore, in the endoscopic device 10 according to this third embodiment, the endoscopic image 56D including the second treatment instrument 58B is obtained by the endoscopic scope 22 after the endoscopic image 56E including the internal body view 62 is obtained. Therefore, with this configuration, compared to the case where the order in which the endoscopic image 56D and the endoscopic image 56E are obtained is not considered when identifying the treatment name 66, accurate output of the treatment name 66 can be achieved.

[0107] [Difference 5] In the third embodiment described above, an example of a configuration in which the first treatment instrument 58A (e.g., local injection needle 59A), the internal structure 62 (e.g., raised region 62B), and the second treatment instrument 58B (e.g., snare 59B) are specified in that order was given, but the technology of this disclosure is not limited thereto. In this modified example, the first treatment instrument 58A, the second treatment instrument 58B, and the internal structure 62 are specified in that order.

[0108] As an example, as shown in Figure 18, the treatment instrument identification unit 48A acquires a group of endoscopic images 55 from the RAM 52. The group of endoscopic images 55 includes endoscopic image 56C which includes the first treatment instrument 58A and endoscopic image 56D which includes the second treatment instrument 58B. Here, the second treatment instrument 58B is used after the treatment with the first treatment instrument 58A. Therefore, endoscopic image 56D is an image obtained after endoscopic image 56C.

[0109] The instrument identification unit 48A uses the instrument identification unit NN50B to identify the type of the first instrument 58A included in the endoscopic image 56C. The endoscopic image 56C is an example of the "first endoscopic image" relating to the technology of this disclosure, the first instrument 58A is an example of the "first instrument" relating to the technology of this disclosure, and the first instrument identification result 60A is an example of the "first identification result" relating to the technology of this disclosure.

[0110] After the type of the first treatment instrument 58A is identified as the first treatment instrument identification result 60A, if a predetermined condition (for example, when the second treatment instrument 58B is captured in the endoscopic image 56D) is met, the treatment instrument identification unit 48A uses the treatment instrument identification NN50B to identify the type of the second treatment instrument 58B included in the endoscopic image 56D. The endoscopic image 56D is an example of the "second endoscopic image" relating to the technology of this disclosure, the second treatment instrument 58B is an example of the "second treatment instrument" relating to the technology of this disclosure, and the second treatment instrument identification result 60B is an example of the "second identification result" relating to the technology of this disclosure.

[0111] After the type of the second treatment instrument 58B is identified, if predetermined conditions are met, the treatment instrument identification process by the treatment instrument identification unit 48A transitions to the internal body configuration identification process by the internal body configuration identification unit 48B. For example, the predetermined conditions include the case where, after the type of the second treatment instrument 58B has been identified, the type of the second treatment instrument 58B is no longer identified for several frames (e.g., 2 to 3 frames).

[0112] The internal body condition identification unit 48B acquires a group of endoscopic images 55 from the RAM 52. The group of endoscopic images 55 includes an endoscopic image 56E that includes an internal body condition 62. Here, the internal body condition 62 occurs after the procedure performed by the second treatment instrument 58B. Therefore, endoscopic image 56E is an image obtained after endoscopic image 56D.

[0113] The internal body shape identification unit 48B uses the internal body shape identification unit NN50C to identify the internal body shape 62 contained in the endoscopic image 56. The endoscopic image 56E is an example of the "third endoscopic image" relating to the technology of this disclosure, the internal body shape 62 is an example of the "second internal body shape" relating to the technology of this disclosure, and the shape identification result 64 is an example of the "third identification result" relating to the technology of this disclosure.

[0114] As an example, as shown in Figure 19, the treatment name identification unit 48C derives a treatment name 66 from the treatment name derivation table 50D6 according to the first treatment tool identification result 60A and the second treatment tool identification result 60B. In the example shown in Figure 19, "local injection needle" is identified as the first treatment tool identification result 60A, and "snare" is identified as the second treatment tool identification result 60B. In addition, "burn mark" is identified as the form identification result 64. The treatment name identification unit 48C derives "EMR" as the treatment name 66 from the treatment name derivation table 50D6 according to the first treatment tool identification result 60A, the second treatment tool identification result 60B, and the form identification result 64.

[0115] As explained above, in the endoscopic device 10 according to this modified example, the information indicating the procedure name 66 is information corresponding to the first procedure instrument identification result 60A, which is the result of identifying the type of the first procedure instrument 58A; the second procedure instrument identification result 60B, which is the result of identifying the type of the second procedure instrument 58B; and the pattern identification result 64, which is the result of identifying the internal body pattern 62. Therefore, with this configuration, it is possible to achieve a more accurate output of the procedure name 66 compared to the case where the procedure name 66 is output only from the result of identifying the type of the first procedure instrument 58A.

[0116] Furthermore, in the endoscopic device 10 according to this modified example, the endoscopic image 56E, which includes the internal body view 62, is obtained by the endoscopic scope 22 after the endoscopic image 56D, which includes the second treatment instrument 58B, has been obtained. Therefore, with this configuration, compared to the case where the order in which the endoscopic image 56D and the endoscopic image 56E are obtained is not considered when identifying the treatment name 66, accurate output of the treatment name 66 can be achieved.

[0117] [Fourth Embodiment] In the first embodiment described above, an example of a configuration in which the treatment device 58 and the internal body configuration 62 are specified in that order was given, but the technology of this disclosure is not limited thereto. In this fourth embodiment, the internal body configuration 62 and the treatment device 58 are specified in that order.

[0118] As an example, as shown in Figure 20, the internal body shape identification unit 48B acquires a group of endoscopic images 55 from the RAM 52. The group of endoscopic images 55 includes an endoscopic image 56E that contains an internal body shape 62. The internal body shape identification unit 48B uses the internal body shape identification NN 50C to identify the internal body shape 62 contained in the endoscopic image 56. In the example shown in Figure 20, the shape identification result 64 shows an example in which the internal body shape 62 is identified as a marking area 62C as a treatment target area (for example, an area in the body where a target site is marked with a dye). The marking area 62C is an example of a "treatment target area" related to the technology of this disclosure.

[0119] After the internal body form 62 is identified as the form identification result 64, if the predetermined conditions are met, the internal body form identification process by the internal body form identification unit 48B transitions to the treatment instrument identification process by the treatment instrument identification unit 48A. For example, the predetermined conditions include the treatment instrument 58 being captured in the endoscopic image 56D.

[0120] The internal body shape identification unit 48B acquires a group of endoscopic images 55 from the RAM 52. The group of endoscopic images 55 includes an endoscopic image 56F that includes a treatment instrument 58. Here, after the treatment area is determined, a procedure (for example, excision of the treatment area) is performed using the treatment instrument 58. Therefore, the endoscopic image 56F is an image obtained after the endoscopic image 56E. The treatment instrument identification unit 48A uses the treatment instrument identification NN 50B to identify the type of treatment instrument 58 included in the endoscopic image 56F. In the example shown in Figure 20, the treatment instrument identification result 60 shows an example in which the treatment instrument 58 is identified as a knife 59C.

[0121] As an example, as shown in Figure 21, the procedure name identification unit 48C derives a procedure name 66 from the procedure name derivation table 50D7 according to the manner identification result 64 and the procedure instrument identification result 60. In the example shown in Figure 21, "knife" is identified as the procedure instrument identification result 60, and "marking area" is identified as the manner identification result 64. For example, a marking area is an area in the body where the site to be excised has been marked with a knife. The procedure name identification unit 48C derives "ESD" as the procedure name 66 from the procedure name derivation table 50D7 according to the procedure instrument identification result 60 and the manner identification result 64.

[0122] As described above, in the endoscope device 10 according to this fourth embodiment, information indicating the treatment name 66 is output based on the pattern identification result 64, which is the result of identifying the internal body pattern 62, and the treatment instrument identification result 60, which is the result of identifying the type of treatment instrument 58. Therefore, with this configuration, it is possible to achieve more accurate output of the treatment name 66 compared to the case in which the treatment name 66 is output based only on the result of identifying the type of treatment instrument 58.

[0123] Furthermore, in the endoscopic device 10 according to this fourth embodiment, the endoscopic image 56F including the treatment instrument 58 is obtained by the endoscopic scope 22 after the endoscopic image 56E including the internal view 62 is obtained. Therefore, with this configuration, compared to the case where the order in which the endoscopic image 56E and the endoscopic image 56F are obtained is not considered when identifying the treatment name 66, accurate output of the treatment name 66 can be achieved.

[0124] Furthermore, in the endoscope device 10 according to this fourth embodiment, the marking area 62C, which is the area to be treated, is identified as the internal body configuration 62. Therefore, with this configuration, it is possible to achieve more accurate output of the treatment name 66 compared to the case where the treatment name 66 is identified based solely on the presence or absence of the internal body configuration 62.

[0125] In the embodiments described above, examples were given of methods for identifying the type of treatment instrument 58 or the internal body configuration 62 using AI-based image recognition processing, but the technology of this disclosure is not limited thereto. For example, image recognition processing using a pattern matching method may be performed.

[0126] Furthermore, although the above embodiments and modifications have described examples in which the treatment name derivation table 50D and 50D1 to 50D7 are separate tables, the technology of this disclosure is not limited thereto. The treatment name derivation table 50D and 50D1 to 50D7 may be combined into a single table.

[0127] Furthermore, while the above embodiments have described examples in which one procedure is performed and a procedure name 66 is specified during a single examination or treatment, the technology of this disclosure is not limited thereto. For example, multiple procedures may be performed on multiple locations within the body during a single examination or treatment, and a procedure name 66 may be specified for each of the multiple procedures.

[0128] Furthermore, while the above embodiments have described examples of identifying the procedure name 66 by performing image recognition processing on endoscopic images 56 obtained during examination or treatment, the technology of this disclosure is not limited thereto. For example, the procedure name 66 may be identified by performing image recognition processing on endoscopic images 56 obtained during past examinations or treatments.

[0129] Furthermore, in each of the above embodiments, examples were given in which the procedure name identification process is performed by the processor 48 of the control device 34 included in the endoscope device 10. However, the technology of this disclosure is not limited thereto, and the device that performs the procedure name identification process may be provided outside the endoscope device 10. In this case, as an example, an endoscope system 100 may be used, as shown in Figure 22. The endoscope system 100 comprises an endoscope device 10 and an external device 110. The external device 110 is, for example, a server. The server is implemented, for example, by cloud computing. Here, cloud computing is given as an example, but this is merely an example, and for example, the server may be implemented by a mainframe, or by network computing such as fog computing, edge computing, or grid computing. Here, a server is given as an example of an external device 110, but this is merely an example, and instead of a server, at least one personal computer or the like may be used as the external device 110.

[0130] The external device 110 includes a processor 112, storage 114, RAM 116, and a communication interface 118. The processor 112, storage 114, RAM 116, and communication interface 118 are connected by a bus 120. The communication interface 118 is connected to the endoscope device 10 via a network 122. The network 122 is, for example, the internet. Note that the network 122 is not limited to the internet, but may also be a WAN and / or a LAN such as an intranet.

[0131] The storage 114 stores the procedure name identification processing program 50A, the instrument identification NN50B, the internal body condition identification NN50C, and the procedure name derivation table 50D. The processor 112 executes the procedure name identification processing program 50A in the RAM 116. The processor 112 performs the procedure name identification processing described above according to the procedure name identification processing program 50A executed on the RAM 116. When performing the procedure name identification processing, the processor 112 processes the endoscopic image 56 using the instrument identification NN50B and the internal body condition identification NN50C as described in each of the above examples. The endoscopic image group 55, which includes multiple endoscopic images 56, is transmitted, for example, from the endoscope device 10 to the external device 110 via the network 122. The communication I / F 118 of the external device 110 receives the endoscopic image group 55. The processor 112 performs the procedure name identification processing based on the endoscopic image 56 received by the communication I / F 118. The processor 112 generates information indicating the procedure name 66 by performing a procedure name identification process, and transmits the generated information indicating the procedure name 66 to the endoscope device 10. The endoscope device 10 receives the information indicating the procedure name 66 transmitted from the external device 110.

[0132] In the example shown in Figure 22, the external device 110 is an example of a "medical support device" relating to the technology of this disclosure, and the processor 112 is an example of a "processor" relating to the technology of this disclosure.

[0133] Furthermore, the procedure name identification process may be performed in a distributed manner by multiple devices, including the endoscope device 10 and the external device 110.

[0134] Furthermore, although the above embodiment described an example in which the treatment name identification processing program 50A is stored in the storage 50, the technology of this disclosure is not limited thereto. For example, the treatment name identification processing program 50A may be stored in a portable storage medium such as an SSD or USB memory. The storage medium is a non-temporary computer-readable storage medium. The treatment name identification processing program 50A stored in the storage medium is installed in the computer 44 of the control device 34. The processor 48 executes the treatment name identification processing according to the treatment name identification processing program 50A.

[0135] Furthermore, although a computer 44 is exemplified in the above embodiment, the technology of this disclosure is not limited thereto, and devices including ASICs, FPGAs, and / or PLDs may be used instead of the computer 44. Alternatively, a combination of hardware and software configurations may be used instead of the computer 44.

[0136] Furthermore, the following types of processors can be used as hardware resources to perform the treatment name identification process described in the above embodiment. Examples of processors include general-purpose processors that function as hardware resources to perform the treatment name identification process by executing software, i.e., a program. Other examples of processors include dedicated electronic circuits, such as FPGAs, PLDs, or ASICs, which have circuit configurations specifically designed to perform particular processing. Each processor has built-in or connected memory, and each processor uses this memory to perform the treatment name identification process.

[0137] The hardware resource that performs the treatment name identification process may consist of one of these various processors, or it may consist of a combination of two or more processors of the same or different types (for example, a combination of multiple FPGAs, or a combination of a processor and an FPGA). Alternatively, the hardware resource that performs the treatment name identification process may consist of a single processor.

[0138] Examples of configurations using a single processor include, firstly, a configuration in which one or more processors and software are combined to form a single processor, and this processor functions as a hardware resource that performs the treatment name identification process. Secondly, a configuration using a processor that realizes the functions of the entire system, including multiple hardware resources that perform the treatment name identification process, on a single IC chip, as exemplified by SoCs. Thus, the treatment name identification process is realized using one or more of the above types of processors as hardware resources.

[0139] Furthermore, the hardware structure of these various processors can more specifically utilize electronic circuits that combine circuit elements such as semiconductor elements. Also, the estimation process described above is merely an example. Therefore, it goes without saying that unnecessary steps can be deleted, new steps added, or the processing order rearranged, as long as it does not deviate from the main purpose.

[0140] The descriptions and illustrations presented above are detailed explanations of the technical aspects of this disclosure and are merely examples of the technical aspects. For example, the above descriptions of the structure, function, operation, and effect are examples of the structure, function, operation, and effect of the technical aspects of this disclosure. Therefore, it goes without saying that you may delete unnecessary parts, add new elements, or replace elements in the descriptions and illustrations presented above, as long as you do not deviate from the essence of the technical aspects of this disclosure. Furthermore, in order to avoid confusion and facilitate understanding of the technical aspects of this disclosure, explanations of common technical knowledge and the like that do not require special explanation to enable the implementation of the technical aspects of this disclosure have been omitted from the descriptions and illustrations presented above.

[0141] In this specification, "A and / or B" is synonymous with "at least one of A and B." That is, "A and / or B" means that it may be A alone, or B alone, or a combination of A and B. Furthermore, in this specification, the same concept as "A and / or B" applies when expressing three or more things linked by "and / or."

[0142] All documents, patent applications, and technical standards described herein are incorporated by reference to the same extent as if each individual document, patent application, and technical standard were specifically and individually noted to be incorporated by reference.

[0143] The disclosure of Japanese Patent Application No. 2022-014192, filed on February 1, 2022, is incorporated herein by reference in its entirety.

Claims

1. A processor is provided. The processor, A plurality of endoscopic images obtained by capturing images in time series using an endoscope are acquired, Identifying a type of a first treatment tool included in a first endoscopic image based on a first endoscopic image of the plurality of endoscopic images; Identifying a type of a second treatment tool included in a second endoscopic image of the plurality of endoscopic images or a first internal state included in the second endoscopic image; outputting information indicating a treatment name corresponding to a first identification result which is a result of identifying the type of the first treatment tool and a second identification result which is a result of identifying the type of the second treatment tool or the first internal state; Medical support equipment.

2. The second endoscope image is an image obtained by the endoscope scope after the first endoscope image is obtained. The medical support device according to claim 1 .

3. The processor identifies the first internal state based on the first identification result and the second endoscope image. The medical support device according to claim 1 or 2.

4. When the processor does not identify the type of the first treatment tool for a period of a plurality of frames after identifying the type of the first treatment tool, the processor identifies the type of the second treatment tool or the first internal state within a time period determined according to the type of the first treatment tool. The medical support device according to claim 1 or 2.

5. The processor outputs an image for output associated with the treatment name; The output image is an image obtained between the first endoscope image and the second endoscope image among the plurality of endoscope images. The medical support device according to claim 1 or 2.

6. The processor further identifies a type of a third treatment tool included in a third endoscopic image or a second internal configuration included in the third endoscopic image, The information indicating the treatment name is information corresponding to the first identification result, the second identification result, and a third identification result which is a result of identifying the type of the third treatment tool or the second internal state. The medical support device according to claim 1 or 2.

7. The second identification result is a result of identifying the type of the second treatment tool. The medical support device according to claim 6.

8. The second identification result is a result of identifying the first in-body mode. The medical support device according to claim 6.

9. The third endoscope image is an image obtained by the endoscope scope after the second endoscope image is obtained. The medical support device according to claim 6.

10. The first endoscope image is an image obtained by the endoscope scope after the second endoscope image is obtained. The medical support device according to claim 1 .

11. The first internal aspect is an area to be treated. The medical support device according to claim 10.

12. The first internal feature may include a lesion area, a burn mark, an excision area, a change in an excision area, a raised area, and / or a marked area. The medical support device according to claim 1 .

13. the first internal aspect includes a diseased area; The information indicating the treatment name is information based on the size of the first treatment tool and the size of the lesion area. The medical support device according to claim 1 .

14. The medical support device according to claim 1 ; The endoscope includes: Endoscopic device.

15. acquiring a plurality of endoscopic images obtained by capturing images in time series using an endoscope; Identifying a type of a first treatment tool included in a first endoscopic image based on a first endoscopic image among the plurality of endoscopic images; Identifying a type of a second treatment tool included in a second endoscopic image among the plurality of endoscopic images or a first internal configuration included in the second endoscopic image; and and outputting information indicating a treatment name corresponding to a first identification result, which is a result of identifying the type of the first treatment tool, and a second identification result, which is a result of identifying the type of the second treatment tool or the first internal state. Medical assistance methods.

16. On the computer, acquiring a plurality of endoscopic images obtained by capturing images in time series using an endoscope; Identifying a type of a first treatment tool included in a first endoscopic image based on a first endoscopic image among the plurality of endoscopic images; Identifying a type of a second treatment tool included in a second endoscopic image among the plurality of endoscopic images or a first internal configuration included in the second endoscopic image; and A program for executing a process including outputting information indicating a treatment name corresponding to a first identification result, which is a result of identifying the type of the first treatment tool, and a second identification result, which is a result of identifying the type of the second treatment tool or the first internal body condition.