Medical assistance device, endoscope system, medical assistance method, and program

The medical support device uses image processing to ensure accurate lesion size measurement by verifying the camera's positional relationship and displaying size information only when correct, addressing measurement errors in medical imaging.

WO2024185468A1PCT designated stage expired Publication Date: 2024-09-12FUJIFILM CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/005563
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-08
Filing Date
2024-02-16
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Current medical imaging technologies face challenges in accurately measuring the size of lesions within medical images, particularly when the relative positional relationship between the camera and the lesion is not as assumed, leading to potential measurement errors.

Method used

A medical support device and method that utilize image processing techniques, including object recognition and depth analysis, to determine the correct positional relationship and measure the size of lesions accurately by displaying size information only when the relationship is appropriate, and reducing the perceived accuracy otherwise.

Benefits of technology

Enables accurate measurement and display of lesion size in medical images, reducing errors by ensuring correct positional alignment and providing accurate size information while indicating inaccuracies visually.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024005563_12092024_PF_FP_ABST
    Figure JP2024005563_12092024_PF_FP_ABST
Patent Text Reader

Abstract

This medical assistance device is provided with a processor. The processor performs a measurement output processing in which the size of an observation area is measured on the basis of a medical image and the size is output, the medical image being obtained through the imaging of an imaging area including the observation area using a camera inserted into a body cavity. The processor also controls the measurement output processing in accordance with depiction information regarding how a plane area that is a portion of the imaging area and includes the observation area is depicted in the medical image.
Need to check novelty before this filing date? Find Prior Art

Description

Medical support device, endoscope system, medical support method, and program

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

[0002] International Publication No. 2019 / 078102 discloses a medical image processing device having an image acquisition unit, an image analysis processing unit, a notification execution unit, a notification setting information storage unit, and a notification setting information selection unit.

[0003] In the medical image processing device described in International Publication No. 2019 / 078102, the image acquisition unit acquires a medical image including a subject. The image analysis processing unit performs image analysis processing on the medical image. The notification execution unit notifies the user of the image analysis processing results in accordance with the notification setting information. The notification setting information storage unit stores the notification setting information in association with individual setting information that is different from the notification setting information. The notification setting information selection unit selects the notification setting information to be used from the notification setting information stored in the notification setting information storage unit using the individual setting information. The notification execution unit performs notification in accordance with the settings of the notification setting information to be used.

[0004] In the medical image processing device described in International Publication No. 2019 / 078102, the image analysis processing unit includes, as part of the image analysis process, a region of interest detection unit that detects a region of interest from a medical image and a lesion determination unit that determines lesion information indicating the content of a lesion for the region of interest. The individual setting information is lesion information. The lesion information is the size or type of the lesion.

[0005] Japanese Patent Application Laid-Open No. 2011-255006 discloses an image processing device including an image acquisition unit, an attention area detection unit, a determination unit, a display mode control unit, and an alert image generation unit.

[0006] In the image processing device described in Japanese Patent Laid-Open No. 2011-255006, the image acquisition unit acquires an acquired image that is at least one of a normal light image including an image of a subject having information in a white wavelength band and a special light image including an image of a subject having information in a specific wavelength band corresponding to the normal light image. The attention area detection unit detects an attention area that is an area that requires attention based on feature amounts of pixels in the acquired image. The determination unit determines whether or not an alert image corresponding to the attention area should be displayed based on the detection result of the attention area. The display mode control unit controls the display of an alert image corresponding to a display target attention area that is an attention area determined by the determination unit to be an area where an alert image should be displayed.

[0007] In the image processing device described in JP 2011-255006 A, a display mode control unit controls the display of an alert image corresponding to a target attention area from among alert images corresponding to attention areas generated by an alert image generation unit.

[0008] In the image processing device described in JP 2011-255006 A, a determination unit determines whether or not to display the alert image generated by the alert image generation unit based on the detection result of the attention area, and a display mode control unit controls to hide the alert image determined by the determination unit not to be displayed.

[0009] One embodiment of the technology disclosed herein provides a medical support device, an endoscopic system, a medical support method, and a program that enable a user to understand the size of an observation area when the surface area including the observation area is appropriately depicted in a medical image.

[0010] A first aspect of the technology of the present disclosure is a medical support device that includes a processor, which measures the size of an observation target area based on a medical image obtained by capturing an image of the imaging target area including the observation target area with a camera inserted into a body cavity, and performs a measurement output process to output the size, and controls the measurement output process according to appearance information regarding how a surface area that is a part of the imaging target area and includes the observation target area appears in the medical image.

[0011] A second aspect of the technology of the present disclosure is a medical support device according to the first aspect, in which the appearance information uses positional relationship identification information that can identify the relative positional relationship between the camera and the surface area.

[0012] A third aspect of the technology of the present disclosure is the medical support device according to the second aspect, in which the positional relationship specification information uses a luminance difference between multiple locations of a surface area within a medical image.

[0013] A fourth aspect of the technology of the present disclosure is a medical support device according to the second or third aspect, in which the positional relationship identification information uses the frequency component difference between multiple locations of a surface area within a medical image.

[0014] A fifth aspect of the technology of the present disclosure is a medical support device according to any one of the second to fourth aspects, in which the positional relationship identification information uses a first depth of the surface area from the camera side, the first depth being obtained based on a medical image.

[0015] A sixth aspect of the technology of the present disclosure is a medical support device according to any one of the second to fourth aspects, in which the positional relationship identification information uses a second depth of the surface area from the camera side, the second depth being obtained using a depth sensor.

[0016] A seventh aspect of the technology of the present disclosure is a medical support device according to any one of the second to sixth aspects, in which the positional relationship identification information uses extension information regarding the extension of the surface area in the depth direction from the camera side.

[0017] An eighth aspect of the technology of the present disclosure is a medical support device according to any one of the second to seventh aspects, in which the positional relationship identification information uses the angle between the optical axis of the camera and the surface area.

[0018] A ninth aspect of the technology of the present disclosure is a medical support device according to any one of the second to eighth aspects, in which the processor does not measure size and / or output size when the positional relationship is not a default positional relationship, and performs measurement output processing when the positional relationship is a default positional relationship.

[0019] A tenth aspect of the technology of the present disclosure is a medical support device according to any one of the second to eighth aspects, in which the processor does not measure the size and outputs first information that can identify that the size measurement was not performed when the positional relationship is not a default positional relationship, and performs measurement output processing when the positional relationship is a default positional relationship.

[0020] An eleventh aspect of the technology of the present disclosure is a medical support device according to any one of the second to eighth aspects, in which the processor performs measurement output processing regardless of whether the positional relationship is a default positional relationship or not, and if the positional relationship is not a default positional relationship, outputs second information that can identify that the size is inaccurate.

[0021] A twelfth aspect of the technology of the present disclosure is a medical support device according to any one of the second to eighth aspects, in which the processor performs measurement output processing regardless of whether the positional relationship is a default positional relationship, and the measurement output processing includes a perception level reduction process that reduces the level at which the size output is perceived when the positional relationship is not the default positional relationship, below the level at which the size output is perceived when the positional relationship is the default positional relationship.

[0022] A thirteenth aspect of the technology of the present disclosure is a medical support device according to any one of the first to twelfth aspects, in which the observation area, the size of which is measured by the measurement output process, is recognized from the medical image by performing object recognition processing on the medical image.

[0023] A fourteenth aspect of the technology of the present disclosure is a medical support device according to any one of the first to thirteenth aspects, in which the observation area, the size of which is measured by the measurement output process, is identified from the medical image in accordance with given instructions.

[0024] A fifteenth aspect of the technology of the present disclosure is a medical support device according to any one of the first to fourteenth aspects, in which the output of the size is achieved by displaying the size on a screen.

[0025] A sixteenth aspect of the technology of the present disclosure is a medical support device according to any one of the first to fifteenth aspects, in which the medical image is an endoscopic image obtained by imaging the imaging target area using an endoscopic scope.

[0026] A seventeenth aspect of the technique of the present disclosure is the medical support device according to any one of the first to sixteenth aspects, in which the observation target region is a lesion.

[0027] An 18th aspect of the technology of the present disclosure is an endoscopic system comprising a medical support device according to any one of the first to seventeenth aspects and an endoscopic scope equipped with a camera.

[0028] A nineteenth aspect of the technology of the present disclosure is a medical support method that includes measuring the size of an observation target area based on a medical image obtained by capturing an image of an imaging target area including the observation target area with a camera inserted into a body cavity, and performing a measurement output process that outputs the size, and controlling the measurement output process in accordance with appearance information regarding how a surface area that is a part of the imaging target area and includes the observation target area appears in the medical image.

[0029] A twentieth aspect of the technique of the present disclosure is a medical support method according to the nineteenth aspect, including using an endoscope equipped with a camera.

[0030] A 21st aspect of the technology of the present disclosure is a program for causing a computer to execute medical support processing, including measuring the size of an observation target area based on a medical image obtained by capturing an image of the imaging target area including the observation target area with a camera inserted into a body cavity, and performing a measurement output process to output the size, and controlling the measurement output process in accordance with appearance information regarding how a surface area that is a part of the imaging target area and includes the observation target area appears in the medical image.

[0031] 1 is a conceptual diagram showing an example of an aspect in which an endoscopic system is used. FIG. 1 is a conceptual diagram showing an example of the overall configuration of an endoscopic system. FIG. 2 is a block diagram showing an example of the hardware configuration of an electrical system of an endoscopic system. FIG. 3 is a block diagram showing an example of main functions of a processor included in a medical support device according to an embodiment, and an example of information stored in an NVM. FIG. 1 is a conceptual diagram showing an example of processing content of a recognition unit and a control unit. FIG. 1 is a conceptual diagram showing an example of processing content of a control unit. FIG. 2 is a conceptual diagram showing an example of a relative positional relationship between a surface area and a camera when the lesion captured in a frame is captured correctly, and an example of a relative positional relationship between a surface area and a camera when the lesion captured in a frame is captured incorrectly. FIG. 3 is a conceptual diagram showing an example of processing content of a measurement unit. FIG. 4 is a conceptual diagram showing an example of an aspect in which an endoscopic video and size are displayed in a first display area, and auxiliary information is displayed in a second display area. FIG. 4 is a flowchart showing an example of the flow of medical support processing. FIG. 5 is a conceptual diagram showing a first modified example of display content displayed on a screen. FIG. 6 is a conceptual diagram showing a second modified example of display content displayed on a screen. FIG. 7 is a conceptual diagram showing a third modified example of display content displayed on a screen. FIG. 1 is a conceptual diagram showing an example of processing content in which a frequency component difference is calculated by a control unit. FIG. 2 is a conceptual diagram showing an example of processing content in which a segmentation corresponding region is identified by a control unit in accordance with an instruction accepted by a reception device. FIG. 3 is a conceptual diagram showing an example of processing content in which an extension degree is calculated by a control unit based on a depth measured by a depth sensor (i.e., an actually measured depth). FIG. 4 is a conceptual diagram showing an example of an output destination of various information. FIG. 5 is a conceptual diagram showing an example of a series of processing in which a processor of an endoscope system issues a processing execution request to an external device via a network, the external device executes processing in accordance with the processing execution request, and the processor of the endoscope system receives the processing result from the external device.

[0032] Hereinafter, examples of embodiments of a medical support device, an endoscope system, a medical support method, and a program according to the techniques of the present disclosure will be described with reference to the accompanying drawings.

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

[0034] CPU is an abbreviation for "Central Processing Unit." GPU is an abbreviation for "Graphics Processing Unit." RAM is an abbreviation for "Random Access Memory." NVM is an abbreviation for "Non-volatile memory." EEPROM is an abbreviation for "Electrically Erasable Programmable Read-Only Memory." ASIC is an abbreviation for "Application Specific Integrated Circuit." PLD is an abbreviation for "Programmable Logic Device." FPGA is an abbreviation for "Field-Programmable Gate Array." SoC is an abbreviation for "System-on-a-chip." SSD is an abbreviation for "Solid State Drive." USB is an abbreviation for "Universal Serial Bus." HDD is an abbreviation for "Hard Disk Drive." EL is an abbreviation for "Electro-Luminescence". CMOS is an abbreviation for "Complementary Metal Oxide Semiconductor". CCD is an abbreviation for "Charge Coupled Device". AI is an abbreviation for "Artificial Intelligence". BLI is an abbreviation for "Blue Light Imaging". LCI is an abbreviation for "Linked Color Imaging". I / F is an abbreviation for "Interface". SSL

[0035] LAN is an abbreviation for "Local Area Network." WAN is an abbreviation for "Wide Area Network."

[0036] 1 , an endoscope system 10 is used by a doctor 12 in an endoscopic examination. The endoscopic examination is assisted by a staff member such as a nurse 14. In this embodiment, the endoscope system 10 is an example of an "endoscope system" according to the technology of the present disclosure.

[0037] The endoscope system 10 is communicatively connected to a communication device (not shown), and information obtained by the endoscope system 10 is transmitted to the communication device. An example of the communication device is a server and / or a client terminal (e.g., a personal computer and / or a tablet terminal) that manages various information such as electronic medical records. The communication device receives the information transmitted from the endoscope system 10 and executes processing using the received information (e.g., processing to store the information in an electronic medical record, etc.).

[0038] The endoscope system 10 includes an endoscope 16, a display device 18, a light source device 20, a control device 22, and a medical support device 24. In this embodiment, the endoscope 16 is an example of an "endoscope" according to the technology of the present disclosure.

[0039] The endoscope system 10 is an apparatus for performing medical examinations on a large intestine 28 contained in the body of a subject 26 (e.g., a patient) using an endoscope 16. In this embodiment, the large intestine 28 is an object to be observed by a doctor 12.

[0040] The endoscope 16 is used by the doctor 12 and inserted into a body cavity of the subject 26. In this embodiment, the endoscope 16 is inserted into the large intestine 28 of the subject 26. The endoscope system 10 causes the endoscope 16 inserted into the large intestine 28 of the subject 26 to capture images of the inside of the large intestine 28 of the subject 26, and performs various medical procedures on the large intestine 28 as necessary.

[0041] The endoscope system 10 captures images of the inside of the large intestine 28 of the subject 26, thereby acquiring and outputting images showing the state of the inside of the large intestine 28. In this embodiment, the endoscope system 10 is an endoscope having an optical imaging function that captures images of reflected light obtained by irradiating the inside of the large intestine 28 with light 30 and reflecting it off a wall 32 of the large intestine 28.

[0042] Although an endoscopic examination of the large intestine 28 is illustrated here, this is merely one example, and the technology disclosed herein can also be applied to endoscopic examination of hollow organs such as the esophagus, stomach, duodenum, or trachea.

[0043] The light source device 20, the control device 22, and the medical support device 24 are installed on a wagon 34. The wagon 34 has a plurality of stands arranged vertically, and the medical support device 24, the control device 22, and the light source device 20 are installed from the lower stand to the upper stand. In addition, the display device 18 is installed on the top stand of the wagon 34.

[0044] The control device 22 controls the entire endoscope system 10. The medical support device 24, under the control of the control device 22, performs various image processing on the images obtained by capturing images of the intestinal wall 32 by the endoscope 16.

[0045] The display device 18 displays various information including images. Examples of the display device 18 include a liquid crystal display and an EL display. Alternatively, a tablet terminal with a display may be used instead of the display device 18 or together with the display device 18.

[0046] A screen 35 is displayed on the display device 18. The screen 35 includes a plurality of display areas. The plurality of display areas are arranged side by side within the screen 35. In the example shown in FIG. 1 , a first display area 36 and a second display area 38 are shown as examples of the plurality of display areas. The size of the first display area 36 is larger than the size of the second display area 38. The first display area 36 is used as a main display area, and the second display area 38 is used as a sub-display area. Note that the size relationship between the first display area 36 and the second display area 38 is not limited to this, and may be any size relationship that fits within the screen 35.

[0047] An endoscopic moving image 39 is displayed in the first display area 36. The endoscopic moving image 39 is a moving image acquired by imaging the intestinal wall 32 inside the large intestine 28 of the subject 26 with the endoscope 16. In the example shown in Fig. 1, a moving image showing the intestinal wall 32 is shown as an example of the endoscopic moving image 39.

[0048] The intestinal wall 32 captured in the endoscopic video 39 includes a lesion 42 (e.g., one lesion 42 in the example shown in FIG. 1 ) as a region of interest (i.e., an observation target region) that is gazed upon by the physician 12, and the physician 12 can visually recognize the appearance of the intestinal wall 32, including the lesion 42, through the endoscopic video 39. In this embodiment, the lesion 42 is an example of an "observation target region" and a "lesion" according to the technology of the present disclosure. The intestinal wall 32 including the lesion 42 is an example of an "image target region" according to the technology of the present disclosure.

[0049] There are various types of lesions 42, and examples of the types of lesions 42 include neoplastic polyps and non-neoplastic polyps. Examples of the types of neoplastic polyps include adenomatous polyps (e.g., SSL). Examples of the types of non-neoplastic polyps include hamartomatous polyps, hyperplastic polyps, and inflammatory polyps. Note that the types exemplified here are types that are anticipated as types of lesions 42 when an endoscopic examination is performed on the large intestine 28, and the types of lesions will differ depending on the organ that is subjected to the endoscopic examination.

[0050] In this embodiment, for the sake of convenience of explanation, an example is given in which one lesion 42 is shown in the endoscopic video image 39, but the technology of the present disclosure is not limited to this, and the technology of the present disclosure is also applicable when multiple lesions 42 are shown in the endoscopic video image 39.

[0051] In this embodiment, a lesion 42 is illustrated, but this is merely one example, and the area of ​​interest (i.e., the area to be observed) that is gazed upon by the doctor 12 may be an organ (e.g., the duodenal papilla), a marked area, an artificial treatment device (e.g., an artificial clip), or a treated area (e.g., an area where traces remain after the removal of a polyp, etc.), etc.

[0052] The image displayed in the first display area 36 is one frame 40 included in a moving image that includes a plurality of frames 40 arranged in chronological order. In other words, the plurality of frames 40 arranged in chronological order are displayed at a predetermined frame rate (e.g., several tens of frames per second) in the first display area 36. In this embodiment, the frame 40 is an example of a "medical image" and an "endoscopic image" according to the technology of the present disclosure.

[0053] An example of a moving image displayed in the first display area 36 is a moving image of a live view type. The live view type is merely one example, and a moving image that is temporarily stored in a memory or the like and then displayed, such as a moving image of a post-view type, may also be used. Furthermore, each frame included in a recording moving image stored in a memory or the like may be reproduced and displayed on the screen 35 (e.g., the first display area 36) as an endoscopic moving image 39.

[0054] Within the screen 35, the second display area 38 is adjacent to the first display area 36 and is displayed in the lower right corner as viewed from the front of the screen 35. The display position of the second display area 38 may be anywhere within the screen 35 of the display device 18, but it is preferable that it be displayed in a position that allows it to be contrasted with the endoscopic video 39. The second display area 38 displays auxiliary information 44 that assists the doctor 12 in making medical decisions, etc. Examples of the auxiliary information 44 include various types of information regarding the subject 26 into which the endoscope 16 is inserted and / or various types of information obtained by performing AI processing on the endoscopic video 39.

[0055] 2, the endoscope 16 includes an operating section 46 and an insertion section 48. The insertion section 48 is partially curved by operating the operating section 46. The insertion section 48 is inserted into the large intestine 28 (see FIG. 1) while curving in accordance with the shape of the large intestine 28, in accordance with the operation of the operating section 46 by the physician 12 (see FIG. 1).

[0056] The distal end portion 50 of the insertion section 48 is provided with a camera 52, an illumination device 54, and a treatment tool opening 56. The camera 52 and the illumination device 54 are provided on the distal end surface 50A of the distal end portion 50. Note that, although an example in which the camera 52 and the illumination device 54 are provided on the distal end surface 50A of the distal end portion 50 is given here, this is merely one example, and the camera 52 and the illumination device 54 may be provided on the side surface of the distal end portion 50, so that the endoscope 16 is configured as a side-viewing scope.

[0057] The camera 52 is inserted into a body cavity of the subject 26 to capture an image of the observation target region. In this embodiment, the camera 52 captures an image of the inside of the subject 26 (for example, the inside of the large intestine 28) to acquire an endoscopic moving image 39. An example of the camera 52 is a CMOS camera. However, this is merely an example, and other types of cameras such as a CCD camera may also be used. The camera 52 is an example of a "camera" according to the technology of the present disclosure.

[0058] The illumination device 54 has illumination windows 54A and 54B. The illumination device 54 emits light 30 (see FIG. 1 ) through the illumination windows 54A and 54B. Examples of the light 30 emitted from the illumination device 54 include visible light (e.g., white light) and invisible light (e.g., near-infrared light). The illumination device 54 also emits special light through the illumination windows 54A and 54B. Examples of the special light include light for BLI and / or light for LCI. The camera 52 captures images of the inside of the large intestine 28 using an optical method while the light 30 is being emitted by the illumination device 54 inside the large intestine 28.

[0059] The treatment tool opening 56 is an opening for allowing a treatment tool 58 to protrude from the distal end portion 50. The treatment tool opening 56 is also used as a suction port for sucking blood, internal waste, etc., and as a delivery port for delivering fluid.

[0060] A treatment tool insertion port 60 is formed in the operation section 46, and the treatment tool 58 is inserted into the insertion section 48 from the treatment tool insertion port 60. The treatment tool 58 passes through the insertion section 48 and protrudes to the outside from the treatment tool opening 56. In the example shown in Fig. 2, a puncture needle is shown as the treatment tool 58 protruding from the treatment tool opening 56. Here, a puncture needle is shown as the treatment tool 58, but this is merely one example, and the treatment tool 58 may also be a grasping forceps, a papillotomy knife, a snare, a catheter, a guidewire, a cannula, and / or a puncture needle with a guide sheath, etc.

[0061] The endoscope 16 is connected to a light source device 20 and a control device 22 via a universal cord 62. A medical support device 24 and a reception device 64 are connected to the control device 22. A display device 18 is also connected to the medical support device 24. That is, the control device 22 is connected to the display device 18 via the medical support device 24.

[0062] Note that, because the medical support device 24 is exemplified here as an external device for expanding the functions performed by the control device 22, an example in which the control device 22 and the display device 18 are indirectly connected via the medical support device 24 is given, but this is merely one example. For example, the display device 18 may be directly connected to the control device 22. In this case, for example, the functions of the medical support device 24 may be installed in the control device 22, or the control device 22 may be equipped with a function for causing a server (not shown) to execute the same processing as that executed by the medical support device 24 (e.g., the medical support processing described below) and receiving and using the processing results from the server.

[0063] The reception device 64 receives instructions from the doctor 12 and outputs the received instructions as an electrical signal to the control device 22. Examples of the reception device 64 include a keyboard, a mouse, a touch panel, a foot switch, a microphone, and / or a remote control device.

[0064] The control device 22 controls the light source device 20 , exchanges various signals with the camera 52 , and exchanges various signals with the medical support device 24 .

[0065] The light source device 20 emits light under the control of the control device 22 and supplies the light to the illumination device 54. The illumination device 54 has a built-in light guide, and the light supplied from the light source device 20 passes through the light guide and is irradiated from illumination windows 54A and 54B. The control device 22 causes the camera 52 to capture an image, acquires an endoscopic moving image 39 (see FIG. 1 ) from the camera 52, and outputs it to a predetermined output destination (for example, the medical support device 24).

[0066] The medical support device 24 supports medical care (here, as an example, endoscopic examination) by performing various image processing on the endoscopic moving image 39 input from the control device 22. The medical support device 24 outputs the endoscopic moving image 39 that has been subjected to various image processing to a predetermined output destination (for example, the display device 18).

[0067] Although the embodiment in which the endoscopic moving image 39 output from the control device 22 is output to the display device 18 via the medical support device 24 has been described above, this is merely one example. For example, the control device 22 and the display device 18 may be connected, and the endoscopic moving image 39 that has been subjected to image processing by the medical support device 24 may be displayed on the display device 18 via the control device 22.

[0068] 3 , the control device 22 includes a computer 66, a bus 68, and an external I / F 70. The computer 66 includes a processor 72, a RAM 74, and an NVM 76. The processor 72, the RAM 74, the NVM 76, and the external I / F 70 are connected to the bus 68.

[0069] For example, the processor 72 has at least one CPU and at least one GPU, and controls the entire control device 22. The GPU operates under the control of the CPU and is responsible for executing various graphic processes and performing calculations using neural networks. The processor 72 may be one or more CPUs that integrate GPU functionality, or one or more CPUs that do not integrate GPU functionality. In the example shown in FIG. 3 , the computer 66 is equipped with one processor 72, but this is merely an example, and the computer 66 may be equipped with multiple processors 72.

[0070] The RAM 74 is a memory that temporarily stores information and is used as a work memory by the processor 72. The NVM 76 is a nonvolatile storage device that stores various programs, various parameters, and the like. An example of the NVM 76 is a flash memory (for example, an EEPROM and / or an SSD). Note that the flash memory is merely one example, and the NVM 76 may be another nonvolatile storage device such as an HDD, or may be a combination of two or more types of nonvolatile storage devices.

[0071] The external I / F 70 controls the exchange of various information between one or more devices (hereinafter also referred to as "first external devices") existing outside the control device 22 and the processor 72. An example of the external I / F 70 is a USB interface.

[0072] The external I / F 70 is connected to the camera 52 as one of the first external devices, and the external I / F 70 controls the exchange of various information between the camera 52 and the processor 72. The processor 72 controls the camera 52 via the external I / F 70. The processor 72 also acquires, via the external I / F 70, endoscopic moving images 39 (see FIG. 1) obtained by the camera 52 capturing images of the inside of the large intestine 28 (see FIG. 1).

[0073] The light source device 20 is connected to the external I / F 70 as one of the first external devices, and the external I / F 70 controls the exchange of various information between the light source device 20 and the processor 72. The light source device 20 supplies light to the illumination device 54 under the control of the processor 72. The illumination device 54 irradiates the light supplied from the light source device 20.

[0074] A reception device 64 is connected to the external I / F 70 as one of the first external devices, and the processor 72 acquires instructions accepted by the reception device 64 via the external I / F 70 and executes processing according to the acquired instructions.

[0075] The medical support device 24 includes a computer 78 and an external I / F 80. The computer 78 includes a processor 82, a RAM 84, and an NVM 86. The processor 82, the RAM 84, the NVM 86, and the external I / F 80 are connected to a bus 88. In the present embodiment, the medical support device 24 is an example of a "medical support device" according to the technology of the present disclosure, the computer 78 is an example of a "computer" according to the technology of the present disclosure, and the processor 82 is an example of a "processor" according to the technology of the present disclosure.

[0076] The hardware configuration of the computer 78 (i.e., the processor 82, RAM 84, and NVM 86) is basically the same as the hardware configuration of the computer 66, so a description of the hardware configuration of the computer 78 will be omitted here.

[0077] The external I / F 80 controls the exchange of various information between the processor 82 and one or more devices (hereinafter also referred to as "second external devices") that exist outside the medical support device 24. An example of the external I / F 80 is a USB interface.

[0078] The control device 22 is connected to the external I / F 80 as one of the second external devices. In the example shown in Fig. 3, the external I / F 70 of the control device 22 is connected to the external I / F 80. The external I / F 80 controls the exchange of various information between the processor 82 of the medical support device 24 and the processor 72 of the control device 22. For example, the processor 82 acquires endoscopic moving images 39 (see Fig. 1 ) from the processor 72 of the control device 22 via the external I / Fs 70 and 80, and performs various image processing on the acquired endoscopic moving images 39.

[0079] The display device 18, which serves as one of the second external devices, is connected to the external I / F 80. The processor 82 controls the display device 18 via the external I / F 80, thereby causing the display device 18 to display various information (e.g., an endoscopic moving image 39 that has been subjected to various image processing).

[0080] During an endoscopic examination, the doctor 12 checks the endoscopic moving image 39 via the display device 18 and determines whether or not medical treatment is required for the lesion 42 shown in the endoscopic moving image 39, and if necessary, performs medical treatment on the lesion 42. The size of the lesion 42 is an important factor in determining whether or not medical treatment is required.

[0081] In recent years, advances in machine learning have made it possible to use AI to detect and differentiate lesions 42 based on endoscopic video images 39. Applying this technology makes it possible to measure the size of lesions 42 from endoscopic video images 39. Measuring the size of lesions 42 with high accuracy and presenting the measurement results to physician 12 is extremely useful for physician 12 in performing medical treatment on the lesion.

[0082] However, depending on how the lesion 42 appears in the endoscopic video 39 (for example, how the lesion 42 appears in the endoscopic video 39 when the relative positional relationship between the lesion 42 and the camera 52 is not the positional relationship expected in advance), there is a risk that the size of the lesion 42 will be measured incorrectly.

[0083] In view of the above circumstances, in this embodiment, as shown in FIG. 4 as an example, medical support processing is performed by a processor 82 of the medical support device 24.

[0084] A medical support program 90 is stored in the NVM 86. The medical support program 90 is an example of a "program" according to the technology of the present disclosure. The processor 82 performs medical support processing by reading the medical support program 90 from the NVM 86 and executing the read medical support program 90 on the RAM 84. The medical support processing is realized by the processor 82 operating as a recognition unit 82A, a control unit 82B, a measurement unit 82C, and an output unit 82D in accordance with the medical support program 90 executed on the RAM 84.

[0085] The NVM 86 stores a recognition model 92 and a distance derivation model 94. As will be described in detail later, the recognition model 92 is used by the recognition unit 82A, and the distance derivation model 94 is used by the control unit 82B and the measurement unit 82C.

[0086] As an example, as shown in FIG. 5, the recognition unit 82A and the output unit 82D acquire each of a plurality of frames 40 in chronological order contained in the endoscopic moving image 39 generated by the camera 52 capturing images at an imaging frame rate (e.g., several tens of frames per second) from the camera 52, one frame at a time in chronological order.

[0087] The output unit 82D outputs the endoscopic moving image 39 to the display device 18. For example, the output unit 82D displays the endoscopic moving image 39 as a live view image in the first display area 36. That is, each time the output unit 82D acquires a frame 40 from the camera 52, the output unit 82D displays the acquired frame 40 in sequence in the first display area 36 at a display frame rate (e.g., several tens of frames per second). The output unit 82D also displays auxiliary information 44 in the second display area 38. For example, the output unit 82D also updates the display content of the second display area 38 (e.g., auxiliary information 44) in accordance with the display content of the first display area 36.

[0088] The recognition unit 82A uses the endoscopic video 39 acquired from the camera 52 to recognize a lesion 42 in the endoscopic video 39. That is, the recognition unit 82A recognizes the lesion 42 shown in the frame 40 by sequentially performing a recognition process 96 on each of a plurality of frames 40 in chronological order included in the endoscopic video 39 acquired from the camera 52. For example, the recognition unit 82A recognizes the geometric characteristics (e.g., position and shape, etc.) of the lesion 42, the type of the lesion 42, and the type of the lesion 42 (e.g., pedunculated, subpedunculated, sessile, surface elevated, surface flat, surface depressed, etc.).

[0089] The recognition process 96 is performed by the recognition unit 82A on the acquired frame 40 each time the frame 40 is acquired. The recognition process 96 is a process for recognizing the lesion 42 using an AI-based method. In the present embodiment, for example, the recognition process 96 uses object recognition processing using an AI-based segmentation method (e.g., semantic segmentation, instance segmentation, and / or panoptic segmentation).

[0090] Here, processing using a recognition model 92 is performed as the recognition processing 96. The recognition model 92 is a trained model for object recognition using an AI segmentation method. An example of a trained model for object recognition using an AI segmentation method is a model for semantic segmentation. An example of a model for semantic segmentation is a model with an encoder-decoder structure. An example of a model with an encoder-decoder structure is U-Net or HRNet. In this embodiment, the recognition processing 96 is an example of "object recognition processing" related to the technology disclosed herein.

[0091] The recognition model 92 is optimized by performing machine learning on the neural network using first training data. The first training data is a data set including a plurality of data (i.e., a plurality of frames of data) in which first example data and first correct answer data are associated with each other.

[0092] The first example data is an image corresponding to frame 40. The first supervised data is supervised data (i.e., annotations) for the first example data. Here, an example of the first supervised data is an annotation that identifies the geometric characteristics, type, and model of a lesion depicted in the image used as the first example data.

[0093] The recognition unit 82A acquires a frame 40 from the camera 52 and inputs the acquired frame 40 to the recognition model 92. As a result, each time a frame 40 is input, the recognition model 92 identifies the geometric characteristics of the lesion 42 depicted in the input frame 40 and outputs information capable of identifying the geometric characteristics. In the example shown in FIG. 5 , position identification information 98 capable of identifying the position of the lesion 42 within the frame 40 is shown as an example of information capable of identifying the geometric characteristics. The recognition unit 82A also acquires, from the recognition model 92, information indicating the type and shape of the lesion 42 depicted in the frame 40 input to the recognition model 92.

[0094] Each time a frame 40 is input to the recognition model 92, the recognition unit 82A obtains a probability map 100 for the frame 40 from the recognition model 92. The probability map 100 is a map that expresses the distribution of the positions of lesions 42 within the frame 40 using a probability, which is an example of an index indicating likelihood. The probability map 100 is also generally referred to as a reliability map or a certainty map.

[0095] The probability map 100 includes a segmentation image 102 that defines the lesion 42 recognized by the recognition unit 82A. The segmentation image 102 is an image region that identifies the position within the frame 40 of the lesion 42 recognized by the recognition process 96 performed on the frame 40 (i.e., an image displayed in a display manner that allows identification of the position within the frame 40 where the lesion 42 is most likely to exist). The recognition unit 82A associates the segmentation image 102 with position identification information 98. An example of the position identification information 98 in this case is coordinates that identify the position of the segmentation image 102 within the frame 40.

[0096] The probability map 100 may be displayed on the screen 35 (e.g., the second display area 38) by the output unit 82D as auxiliary information 44. In this case, the probability map 100 displayed on the screen 35 is updated according to the display frame rate applied to the first display area 36. That is, the display of the probability map 100 in the second display area 38 (i.e., the display of the segmentation image 102) is updated in synchronization with the display timing of the endoscopic moving image 39 displayed in the first display area 36. With this configuration, the doctor 12 can grasp the approximate location of the lesion 42 in the endoscopic moving image 39 displayed in the first display area 36 by referring to the probability map 100 displayed in the second display area 38 while observing the endoscopic moving image 39 displayed in the first display area 36.

[0097] 6, the control unit 82B acquires a frame 40 (here, as an example, a frame 40 used in the recognition process 96) included in the endoscopic moving image 39 from the camera 52, and acquires from the recognition unit 82A a recognition result obtained by performing the recognition process 96 (see FIG. 5) on the frame 40. The control unit 82B determines whether the appearance of the lesion 42 in the frame 40 is correct, based on the frame 40 acquired from the camera 52 and the recognition result acquired from the recognition unit 82A.

[0098] The term "correct imaging" refers to, for example, an imaging in which the relative positional relationship between the lesion 42 and the camera 52 is a positional relationship that has been assumed in advance. An example of a positional relationship that has been assumed in advance is a positional relationship in which the camera 52 is directly facing the lesion surface area. The lesion surface area refers to a surface area that is a portion of the imaging target area (i.e., the entire area in real space that is captured in the frame 40) and that includes the lesion 42. An example of a positional relationship in which the camera 52 is directly facing the lesion surface area is a positional relationship in which the optical axis of the camera 52 is perpendicular to the lesion surface area within an allowable error. The allowable error refers to an error that is allowed in advance as an error that allows the correct size of the lesion 42 in real space to be measured when the size of the lesion 42 is measured by the measurement unit 82C.

[0099] To determine whether the lesion 42 is correctly captured in the frame 40, the control unit 82B acquires distance information 104 of the lesion 42 based on the frame 40 acquired from the camera 52. The distance information 104 indicates the distance from the camera 52 (i.e., the observation position) to the intestinal wall 32 (see FIG. 1 ) including the lesion 42.

[0100] Note that, although the distance from the camera 52 to the intestinal wall 32 including the lesion 42 is exemplified here, this is merely one example, and instead of distance, a numerical value indicating the depth from the camera 52 to the intestinal wall 32 including the lesion 42 (for example, a plurality of numerical values ​​specifying the depth in stages (for example, numerical values ​​ranging from several stages to several tens of stages)) may be used.

[0101] Distance information 104 is acquired for each of all pixels constituting frame 40. Note that distance information 104 may also be acquired for each block of frame 40 that is larger than a pixel (for example, a pixel group made up of several to several hundred pixels).

[0102] The control unit 82B acquires the distance information 104, for example, by deriving the distance information 104 using an AI method. In this embodiment, a distance derivation model 94 is used to derive the distance information 104.

[0103] The distance derivation model 94 is optimized by performing machine learning on the neural network using second training data. The second training data is a data set including a plurality of data (i.e., a plurality of frames of data) in which second example data and second answer data are associated with each other.

[0104] The second example data is an image corresponding to frame 40. The second supervised data is supervised data (i.e., annotation) for the second example data. Here, an annotation that specifies the distance corresponding to each pixel in the image used as the second example data is used as an example of the second supervised data.

[0105] The control unit 82B acquires a frame 40 from the camera 52 and inputs the acquired frame 40 to the distance derivation model 94. As a result, the distance derivation model 94 outputs distance information 104 in pixel units of the input frame 40. That is, the control unit 82B outputs information indicating the distance from the position of the camera 52 (for example, the position of an image sensor or objective lens mounted on the camera 52) to the intestinal wall 32 captured in the frame 40 as distance information 104 in pixel units of the frame 40 from the distance derivation model 94.

[0106] The control unit 82B generates a distance image 106 based on the distance information 104 output from the distance derivation model 94. The distance image 106 is an image in which the distance information 104 is distributed in pixel units included in the endoscopic moving image 39.

[0107] The control unit 82B acquires the position specifying information 98 assigned to the segmentation image 102 in the probability map 100 obtained by the recognition unit 82A. The control unit 82B extracts the representative distance information 104A from the partial distance image 110 determined based on the segmentation corresponding region 108 in the distance image 106.

[0108] The segmentation corresponding region 108 is a closed region within the distance image 106 that corresponds to the position of the segmentation image 102. The partial distance image 110 is determined based on the segmentation corresponding region 108. For example, the partial distance image 110 is a distance image cut out from the distance image 106 by a rectangular frame obtained by enlarging a rectangular frame 110A circumscribing the segmentation corresponding region 108 by a predetermined magnification. An example of the predetermined magnification is a magnification greater than 1 (e.g., 2x). The predetermined magnification may be a fixed value or a variable value that changes in accordance with instructions and / or various conditions received by the reception device 64. Although the rectangular frame 110A circumscribing the segmentation corresponding region 108 is illustrated here, this is merely an example. The rectangular frame 110A may be a geometric frame (e.g., a circle) circumscribing the segmentation corresponding region 108, or may be a frame obtained by enlarging the outer contour of the segmentation corresponding region 108 by a predetermined magnification.

[0109] The representative distance information 104A is distance information 104 obtained from multiple locations in the partial distance image 110. The multiple locations are at least two locations including one location and another location that cross the segmentation corresponding region 108. Examples of crossing the segmentation corresponding region 108 include crossing the segmentation corresponding region 108 over the longest distance and crossing the segmentation corresponding region 108 over the shortest distance.

[0110] 6 , distance information 104 obtained from each of eight locations in partial distance image 110 is shown as representative distance information 104A. The eight locations in partial distance image 110 are the four vertices and the midpoints of each side of partial distance image 110. Note that this is merely an example, and distance information 104 from multiple locations (eight locations, for example) that enable identification of the extent to which lesion 42 extends deep into the body cavity (i.e., in the depth direction of large intestine 28) when lesion 42 is viewed from camera 52 (in other words, the degree to which camera 52 is directly facing lesion 42) can be obtained as multiple pieces of representative distance information 104A (eight pieces of representative distance information 104A, for example).

[0111] The control unit 82B uses the extension degree calculation formula 112 to calculate an extension degree 114, which is an example of information regarding the extension of the lesion surface region in the depth direction from the camera 52 side. The extension degree 114 indicates the degree of extension of the lesion surface region in the depth direction from the camera 52 side. For example, the extension degree 114 is an index that can be identified from the difference between the maximum value and the minimum value of the multiple representative distance information 104A and / or the standard deviation, etc.

[0112] The extensibility calculation formula 112 is an arithmetic formula that uses the plurality of pieces of representative distance information 104A as dependent variables and the extensibility 114 as an independent variable. The control unit 82B inputs the plurality of pieces of representative distance information 104A extracted from the partial distance image 110 to the extensibility calculation formula 112. The extensibility calculation formula 112 outputs the extensibility 114 corresponding to the plurality of pieces of representative distance information 104A that have been input.

[0113] In this embodiment, the degree of extension 114 is defined as two levels: "large" and "small." "Large" indicates a large degree of extension of the lesion surface region in the depth direction from the camera 52 side, and "small" indicates a small degree of extension of the lesion surface region in the depth direction from the camera 52 side. Here, a large degree of extension is synonymous with a lesion 42 that is so large that the true size of the lesion 42 cannot be measured when the size of the lesion 42 is measured by the measurement unit 82C, and a small degree of extension is synonymous with a lesion 42 that is so small that the true size of the lesion 42 can be measured when the size of the lesion 42 is measured by the measurement unit 82C.

[0114] The control unit 82B determines whether the appearance of the lesion 42 in the frame 40 is correct based on the degree of extension 114. For example, when the degree of extension 114 is "large," the control unit 82B determines that the appearance of the lesion 42 in the frame 40 is incorrect, and when the degree of extension 114 is "small," the control unit 82B determines that the appearance of the lesion 42 in the frame 40 is correct. Note that in this embodiment, the degree of extension is expressed in two stages to facilitate understanding of the technology of the present disclosure, but this is merely an example, and the degree of extension may be information (e.g., numerical values) that is evaluated in multiple stages of three or more stages, or information (e.g., numerical values) that is expressed without stages.

[0115] The control unit 82B controls the measurement output process 116 in accordance with the degree of extensibility 114. The measurement output process 116 is a process for measuring the size of the lesion 42 based on the frame 40 and outputting the size of the lesion 42, and is executed by the measurement unit 82C and the output unit 82D. In this embodiment, when the control unit 82B determines that the appearance of the lesion 42 in the frame 40 is correct, it causes the measurement unit 82C and the output unit 82D to execute the measurement output process 116.

[0116] In the example shown in Figure 7, surface area 32A is shown as an example of the above-mentioned lesion surface area. Surface area 32A is a surface area located at a position identified from partial distance image 110 of the intestinal wall 32 within the field of view of camera 52. When the relative positional relationship between surface area 32A and camera 52 is a direct facing relationship, i.e., when extensibility 114 is "small," control unit 82B determines that the appearance of lesion 42 in frame 40 is correct. In this case, measurement output process 116 is executed by measurement unit 82C and output unit 82D (see Figure 6). In this embodiment, the direct facing relationship and "small" extensibility 114 are examples of the "default positional relationship" according to the technology disclosed herein.

[0117] In contrast, when the relative positional relationship between the surface area 32A and the camera 52 is not directly opposite to each other, i.e., when the degree of extensibility 114 is "large," the control unit 82B determines that the appearance of the lesion 42 in the frame 40 is incorrect. In this case, the measurement output process 116 is not executed by the measurement unit 82C and the output unit 82D. This is because, when the degree of extensibility 114 is "large," even if the measurement unit 82C measures the size of the lesion 42 in the frame 40 obtained by capturing an image of the intestinal wall 32 containing the lesion 42 using the camera 52, the measurement will be incorrect. In the example shown in FIG. 7 , when the lesion 42 is viewed from the camera 52 side, the surface area 32A is extended in the depth direction. Therefore, even if the recognition unit 82A recognizes the lesion 42 based on the frame 40 obtained by capturing an image using the camera 52 in this state and the measurement unit 82C measures the size of the lesion 42, the measured size will be smaller than the actual size of the lesion 42.

[0118] Therefore, in the present embodiment, the execution of the measurement output process 116 is controlled according to image appearance information (hereinafter also simply referred to as "image appearance information") regarding how the surface area 32A is imaged within the frame 40. In the present embodiment, as an example, the image appearance information uses positional relationship specifying information (hereinafter also simply referred to as "positional relationship specifying information") that can specify the relative positional relationship between the camera 52 and the surface area 32A. Also, in the present embodiment, as an example, the positional relationship specifying information uses the extensibility 114. Therefore, as described above, the measurement output process 116 is executed according to the extensibility 114. That is, when the extensibility 114 is "small," the measurement output process 116 is executed, and when the extensibility 114 is "large," the measurement output process 116 is not executed. In the present embodiment, the extensibility 114 is an example of "extension information" according to the technology disclosed herein.

[0119] 8, in the measurement output process 116, the measurement unit 82C measures the size 118 of the lesion 42. The size 118 of the lesion 42 refers to the size of the lesion 42 in real space.

[0120] To measure the size 118 of the lesion 42, the measurement unit 82C acquires from the control unit 82B the distance image 106 used in the determination by the control unit 82B. The measurement unit 82C then extracts distance information 104 from a partial distance image 110 included in the distance image 106. Examples of the distance information 104 extracted from the partial distance image 110 include distance information 104 corresponding to the position (e.g., center of gravity) of the lesion 42, or a statistical value (e.g., median, average, or mode) of the distance information 104 for multiple pixels (e.g., all pixels) included in the lesion 42.

[0121] The measurement unit 82C extracts a pixel count 120 from the frame 40 acquired from the camera 52 (e.g., the frame 40 input to the distance derivation model 94 by the control unit 82B). The pixel count 120 is the number of pixels on a line segment 122 that crosses the image region in the frame 40 corresponding to the partial distance image 110, i.e., the image region at the position identified by the position identification information 98 within the entire image region of the frame 40 (in other words, the image region representing the lesion 42). An example of the line segment 122 is the longest line segment parallel to the long side of a rectangular frame 124 that circumscribes the image region representing the lesion 42. Note that the line segment 122 is merely an example, and the longest line segment parallel to the short side of the rectangular frame 124 that circumscribes the image region representing the lesion 42 may be used instead of the line segment 122.

[0122] The measurement unit 82C calculates the size 118 of the lesion 42 based on the distance information 104 extracted from the distance image 106 and the number of pixels 122 extracted from the frame 40. A calculation formula 126 is used to calculate the size 118. The measurement unit 82C inputs the distance information 104 extracted from the distance image 106 and the number of pixels 122 extracted from the frame 40 into the calculation formula 126. The calculation formula 126 is an arithmetic expression in which the distance information 104 and the number of pixels 122 are independent variables and the size 118 is a dependent variable. The calculation formula 126 outputs the size 118 corresponding to the input distance information 104 and number of pixels 122.

[0123] Although size 118 is exemplified as the length of lesion 42 in real space, the technology of the present disclosure is not limited to this, and size 118 may be the surface area or volume of lesion 42 in real space. In this case, for example, arithmetic formula 126 is used, which has the number of pixels in the entire image area representing lesion 42 and distance information 104 as independent variables, and the surface area or volume of lesion 42 in real space as a dependent variable.

[0124] As an example, as shown in Fig. 9 , in the measurement output process 116, the size 118 measured by the measurement unit 82C is output by displaying the size 118 on the screen 35. In the example shown in Fig. 9 , the output unit 82D outputs the size 118 measured by the measurement unit 82C to the display device 18, thereby displaying the size 118 on the screen 35. Also, in the example shown in Fig. 9 , a frame 40 is displayed in the first display area 36, ​​and the size 118 is superimposed on the frame 40. The display position of the size 118 is near the position where the lesion 42 whose size 118 was measured is displayed.

[0125] Every time the size 118 is measured by the measurement unit 82C, the output unit 82D displays the latest size 118 in the first display area 36. That is, the size 118 displayed in the first display area 36 is updated to the latest size 118 every time the size 118 is measured by the measurement unit 82C.

[0126] The size 118 may be displayed in the second display area 38 as auxiliary information 44. Preferably, the size 118 is displayed on the screen 35 in a manner that allows identification of the correspondence between the size 118 and the lesion 42 for which the size 118 was measured. In this case, for example, the size 118 may be displayed on the screen 35 in a manner that links the lesion 42 for which the size 118 was measured with the size 118, such as by a line, or the size 118 may be displayed in a pop-up format from the lesion 42 for which the size 118 was measured, or an area in the frame 40 that includes the lesion 42 corresponding to the displayed size 118 may be displayed more prominently than other areas, or the segmentation image 102 corresponding to the lesion 42 for which the size 118 was measured may be displayed in an identifiable manner.

[0127] Next, the operation of the portion of the endoscope system 10 related to the technology of the present disclosure will be described with reference to Fig. 10. The flow of medical support processing shown in Fig. 10 is an example of a "medical support method" related to the technology of the present disclosure.

[0128] 10 , first, in step ST10, the recognition unit 82A determines whether or not one frame of image data has been captured by the camera 52 inside the large intestine 28. If one frame of image data has not been captured by the camera 52 inside the large intestine 28 in step ST10, the determination is negative, and the medical support process proceeds to step ST28. If one frame of image data has been captured by the camera 52 inside the large intestine 28 in step ST10, the determination is positive, and the medical support process proceeds to step ST12.

[0129] In step ST12, the recognition unit 82A and the output unit 82D acquire a frame 40 obtained by imaging the large intestine 28 with the camera 52. The output unit 82D then displays the frame 40 in the first display area 36 (see FIGS. 5 and 9). For ease of explanation, the following description will be given on the assumption that a lesion 42 is captured in the frame 40. After the processing of step ST12 is executed, the medical support processing proceeds to step ST14.

[0130] In step ST14, the recognition unit 82A performs a recognition process 96 using the frame 40 acquired in step ST12 to recognize the lesion 42 shown in the frame 40 (see FIG. 5). After the process of step ST14 is executed, the medical support process proceeds to step ST16.

[0131] In step ST16, the control unit 82B acquires the degree of extension 114 based on the frame 40 acquired in step ST12 and the recognition result obtained by performing the recognition process 96 in step ST14 (see FIG. 6). After the process of step ST16 is executed, the medical support process proceeds to step ST18.

[0132] In step ST18, the control unit 82B determines whether the appearance of the lesion 42 in the frame 40 acquired in step ST12 is correct, based on the extensibility 114 acquired in step ST16 (see FIG. 6). Here, if the extensibility 114 acquired in step ST16 is "small," it is determined that the appearance of the lesion 42 in the frame 40 is correct, and if the extensibility 114 acquired in step ST16 is "large," it is determined that the appearance of the lesion 42 in the frame 40 is incorrect.

[0133] In step ST18, if the appearance of the lesion 42 in the frame 40 is correct, the determination is affirmative, and the medical support process proceeds to step ST20. In step ST18, if the appearance of the lesion 42 in the frame 40 is incorrect, the determination is negative, and the medical support process proceeds to step ST28.

[0134] In step ST20, the measurement unit 82C measures the size 118 of the lesion 42 shown in the frame 40 acquired in step ST12, based on the frame 40 acquired in step ST12 and the recognition result obtained by performing the recognition process 96 in step ST14 (see FIG. 8 ). After the process of step ST20 is executed, the medical support process proceeds to step ST22.

[0135] In step ST22, the output unit 82D determines whether the size 118 of the lesion 42 is displayed in the first display area 36 of the screen 35. If the size 118 of the lesion 42 is displayed in the first display area 36 of the screen 35 in step ST22, the determination is affirmative, and the medical support processing proceeds to step ST24. If the size 118 of the lesion 42 is not displayed in the first display area 36 of the screen 35 in step ST22, the determination is negative, and the medical support processing proceeds to step ST26.

[0136] In step ST24, the output unit 82D updates the size 118 displayed in the first display area 36 to the size 118 measured in step ST20 (see FIG. 9). After the processing of step ST24 is executed, the medical support processing proceeds to step ST26.

[0137] In step ST26, the output unit 82D displays the size 118 of the lesion 42 in the first display area 36 of the screen 35 (see FIG. 9). After the processing of step ST26 is executed, the medical support processing proceeds to step ST28.

[0138] In step ST28, the control unit 82B determines whether a condition for terminating the medical support process is satisfied. One example of the condition for terminating the medical support process is that an instruction to terminate the medical support process has been given to the endoscope system 10 (for example, that an instruction to terminate the medical support process has been accepted by the acceptance device 64).

[0139] In step ST28, if the condition for terminating the medical support process is not satisfied, the determination is negative, and the medical support process proceeds to step ST 10. In step ST28, if the condition for terminating the medical support process is satisfied, the determination is positive, and the medical support process ends.

[0140] As described above, in the endoscopic system 10, the measurement output process 116 is performed based on the frame 40 obtained by capturing an image of the intestinal wall 32, including the lesion 42, using the camera 52 inserted into the large intestine 28 of the subject 26. By performing the measurement output process 116, the size 118 of the lesion 42 is measured, and the measured size 118 is output. Then, in the endoscopic system 10, the measurement output process 116 is controlled in accordance with image appearance information regarding how the surface area 32A (see FIG. 7 ) is captured within the frame 40. The image appearance information uses positional relationship specifying information that can specify the relative positional relationship between the camera 52 and the surface area 32A. The extensibility 114 is used as the positional relationship specifying information. Therefore, in the endoscopic system 10, the measurement output process 116 is performed in accordance with the extensibility 114. That is, when the extensibility 114 is "small," the measurement output process 116 is performed, and when the extensibility 114 is "large," the measurement output process 116 is not performed.

[0141] Therefore, the endoscope system 10 allows the physician 12 to understand the size 118 of the lesion 42 when the way the surface area 32A is captured within the frame 40 is correct (i.e., appropriate). In other words, the physician 12 can understand the size 118 of the lesion 42 when the relative positional relationship between the camera 52 and the surface area 32A is correct (i.e., appropriate). Furthermore, the endoscope system 10 uses the extension 114 as information that can identify the relative positional relationship between the camera 52 and the surface area 32A, which can contribute to highly accurate determination of whether the relative positional relationship between the camera 52 and the surface area 32A is correct (i.e., appropriate).

[0142] Furthermore, in the endoscope system 10, the lesion 42 whose size 118 is measured by the measurement output process 116 is recognized from the frame 40 by performing the recognition process 96 on the frame 40. Therefore, the endoscope system 10 can easily recognize the lesion 42 whose size 118 is measured by the measurement output process 116 (in other words, identify the lesion 42) without requiring the physician 12 to take any time and effort.

[0143] Furthermore, the endoscope system 10 measures the size 118 of the lesion 42, and displays the measured size 118 in the first display area 36 of the screen 35. Therefore, the endoscope system 10 allows the physician 12 to visually recognize the size 118 of the lesion 42 when the way the surface area 32A is displayed within the frame 40 is correct (i.e., appropriate).

[0144] In the above embodiment, an example is given in which the size 118 of the lesion 42 is not measured when the controller 82B determines that the appearance of the lesion 42 in the frame 40 is incorrect, but the technology of the present disclosure is not limited to this. For example, when the controller 82B determines that the appearance of the lesion 42 in the frame 40 is incorrect, the size 118 of the lesion 42 is measured, but the measured size 118 may not be output (i.e., the measured size 118 may not be displayed).

[0145] In the above embodiment, an example was given in which the size 118 of the lesion 42 is not measured when the control unit 82B determines that the lesion 42 is not correctly captured in the frame 40. However, rather than simply not measuring the size 118 of the lesion 42, for example, as shown in FIG. 11 , the output unit 82D may display, as auxiliary information 44, size non-measurement information 128 in the second display area 38 of the screen 35, which indicates that the size 118 was not measured. The size non-measurement information 128 is an example of the "first information" according to the technology disclosed herein. The size non-measurement information 128 may be text information indicating that the size 118 was not measured, or may be an image or the like indicating that the size 118 was not measured. Furthermore, the size non-measurement information 128 may be displayed in a display area other than the second display area 38 (e.g., a screen other than the first display area 36 and / or the screen 35).

[0146] In this way, by displaying the size non-measurement information 128 in the second display area 38, the doctor 12 can be made aware that the measurement of the size 118 was not performed.

[0147] Although the display of the non-measured size information 128 has been illustrated here as an example of the output of the non-measured size information 128, this is merely an example. For example, the non-measured size information 128 may be output as audio, may be recorded on a medium (e.g., paper) by a printer, may be stored on a storage medium (e.g., memory and / or magnetic tape, etc.), or may be written into an electronic medical record.

[0148] In the above embodiment, an example was given in which the size 118 is not displayed on the screen 35 when the control unit 82B determines that the lesion 42 in the frame 40 is not displayed correctly. However, this is merely an example. For example, as shown in FIG. 12 , even when the control unit 82B determines that the lesion 42 in the frame 40 is not displayed correctly, the size 118 may be displayed on the screen 35 (in the example shown in FIG. 12 , the first display area 36 of the screen 35). In this case, the output unit 82D displays, as auxiliary information 44, in the second display area 38 of the screen 35, inaccurate size information 130 that indicates that the size 118 displayed on the screen 35 is inaccurate. The inaccurate size information 130 is an example of the "second information" according to the technology of the present disclosure. The inaccurate size information 130 may be text information that indicates that the size 118 displayed on the screen 35 is inaccurate, or may be an image that indicates that the size 118 displayed on the screen 35 is inaccurate. The inaccurate size information 130 may be displayed in a display area other than the second display area 38 (e.g., the first display area 36 and / or a screen other than the screen 35). The inaccurate size information 130 may also be displayed in a manner that allows identification of its correspondence with the size 118. For example, the inaccurate size information 130 may be displayed adjacent to the size 118 in the first display area 36.

[0149] In this way, by displaying the inaccurate size information 130 on the screen 35, the doctor 12 can be made aware that the size 118 displayed on the screen 35 is inaccurate.

[0150] Although the display of the inaccurate size information 130 has been illustrated here as an example of output of the inaccurate size information 130, this is merely an example. For example, the inaccurate size information 130 may be output as audio, may be recorded on a medium (e.g., paper) by a printer, may be stored on a storage medium (e.g., memory and / or magnetic tape, etc.), or may be written into an electronic medical record.

[0151] In the above embodiment, an example was given in which the size 118 is not displayed on the screen 35 when the control unit 82B determines that the lesion 42 in the frame 40 is not displayed correctly. However, for example, as shown in FIG. 13 , the output unit 82D may display the size 118 on the screen 35 (in the example shown in FIG. 12 , the first display area 36 of the screen 35) even when the control unit 82B determines that the lesion 42 in the frame 40 is not displayed correctly. In this case, the output unit 82D performs a perception level reduction process as one of the processes included in the measurement output process 116. The perception level reduction process refers to a process of reducing the level at which the physician 12 visually perceives the display of the size 118 in the first display area 36 below the reference perception level when the control unit 82B determines that the lesion 42 in the frame 40 is not displayed correctly. An example of the reference perception level is the level at which the display of size 118 in the first display area 36 is visually perceived by the doctor 12 when the control unit 82B determines that the lesion 42 shown in the frame 40 is correctly depicted.

[0152] Methods for reducing the level at which the display of size 118 is visually perceived by physician 12 include, for example, making the display of size 118 semi-transparent using alpha blending, or making the line thickness of the text representing size 118, the line color of the text representing size 118, the line brightness of the text representing size 118, and / or the line density of the text representing size 118 less noticeable than the text representing size 118 at the standard perception level.

[0153] In this way, if the control unit 82B determines that the lesion 42 shown in the frame 40 is not displayed correctly, a perception level reduction process is performed as one of the processes included in the measurement output process 116, allowing the doctor 12 to understand that the size 118 displayed in the first display area 36 is inaccurate.

[0154] In the above embodiment, the controller 82B determines whether the appearance of the lesion 42 in the frame 40 is correct based on the extension degree 114. However, the technology of the present disclosure is not limited to this. For example, instead of the extension degree 114, the angle (hereinafter simply referred to as "angle") formed between the optical axis OA (see FIG. 7) of the camera 52 and the surface area 32A (see FIG. 7) may be used as the positional relationship identification information. In this case, if the angle is within a reference angle range (e.g., perpendicular or close to perpendicular), the appearance of the lesion 42 in the frame 40 is determined to be incorrect. If the angle is less than the reference angle, the appearance of the lesion 42 in the frame 40 is determined to be correct. The reference angle range refers to, for example, an angle range defined as an allowable range of angles within which the size 118 of the lesion 42 can be accurately measured. The upper and lower limits defining the reference angle range may be fixed values ​​or variable values ​​that are changed according to instructions received by the reception device 64 and / or various conditions.

[0155] In this way, by using angles in the positional relationship specification information, similar to the above embodiment, it is possible to contribute to highly accurate determination of whether or not the relative positional relationship between the camera 52 and the surface area 32A is correct.

[0156] In the above embodiment, an example was given in which the control unit 82B determines whether the appearance of the lesion 42 in the frame 40 is correct based on the extension degree 114, but the technology of the present disclosure is not limited to this. For example, as shown in Figures 14 to 16, the above-mentioned angle, distance difference 129 (see Figure 14), luminance difference 142 (see Figure 15), and / or frequency component difference 154 (see Figure 16) may be used as the positional relationship specifying information instead of or in addition to the extension degree 114. Here, the angle is an example of the "angle" according to the technology of the present disclosure, the distance difference 129 is an example of the "first depth" according to the technology of the present disclosure, the luminance difference 142 is an example of the "luminance difference" according to the technology of the present disclosure, and the frequency component difference 154 is an example of the "frequency component difference" according to the technology of the present disclosure.

[0157] 14 indicates the distance difference between multiple locations of surface region 32A within frame 40 (i.e., the difference in depth in the depth direction between multiple locations of surface region 32A). An example of distance difference 129 is the absolute value of the difference between the maximum value and the minimum value of the multiple pieces of representative distance information 104A.

[0158] 14 , control unit 82B calculates distance difference 129 using distance difference calculation formula 127. Distance difference calculation formula 127 is a calculation formula with multiple pieces of representative distance information 104A as dependent variables and distance difference 129 as an independent variable. Control unit 82B inputs multiple pieces of representative distance information 104A extracted from partial distance image 110 to distance difference calculation formula 127. Distance difference calculation formula 127 outputs distance difference 129 corresponding to the multiple pieces of representative distance information 104A input.

[0159] The controller 82B determines whether the appearance of the lesion 42 in the frame 40 is correct based on the distance difference 129. For example, the controller 82B compares the distance difference 129 with a threshold TH1, and determines that the appearance of the lesion 42 in the frame 40 is incorrect if the distance difference 129 is equal to or greater than the threshold TH1. If the distance difference 129 is less than the threshold TH1, the controller 82B determines that the appearance of the lesion 42 in the frame 40 is correct. As in the above embodiment, the controller 82B controls the measurement output process 116 based on the appearance of the lesion 42 in the frame 40. For example, if the appearance of the lesion 42 in the frame 40 is incorrect, the measurement output process 116 is not performed, and if the appearance of the lesion 42 in the frame 40 is correct, the measurement output process 116 is performed. The threshold TH1 refers to, for example, a value determined as the upper limit of the distance difference 129 at which the size 118 of the lesion 42 can be accurately measured. The threshold value TH1 may be a fixed value or a variable value that is changed according to instructions received by the reception device 64 and / or various conditions.

[0160] In this way, in the example shown in Figure 14, the distance difference 129 is used as information that can identify the relative positional relationship between the camera 52 and the surface area 32A, and as in the above embodiment, this can contribute to highly accurate determination of whether the relative positional relationship between the camera 52 and the surface area 32A is correct.

[0161] Although the distance difference 129 is used here as an example, this is merely an example and the distance ratio may be used instead. The distance ratio refers to, for example, the ratio of the maximum value among the plurality of pieces of representative distance information 104A to the minimum value among the plurality of pieces of representative distance information 104A.

[0162] 15 refers to the difference in brightness between multiple locations of surface area 32A within frame 40. Because the brightness decreases with increasing distance from camera 52 along optical axis OA (see FIG. 7) in the depth direction of large intestine 28, here, based on brightness difference 142, it is determined whether or not the relative positional relationship between camera 52 and surface area 32A is correct (for example, whether or not camera 52 is directly facing surface area 32A).

[0163] 15, the control unit 82B generates a luminance image 132 based on the frame 40. The luminance image 132 is an image in which the luminance of each pixel in the frame 40 is mapped.

[0164] The control unit 82B extracts brightness information 138 indicating brightness from a partial brightness image 136 defined based on a segmentation corresponding area 134 in the brightness image 132 in a manner similar to that in which the representative distance information 104A was extracted from the partial distance image 110 in the above embodiment.

[0165] The segmentation corresponding region 134 is a closed region that corresponds to the position of the segmentation image 102 in the intensity image 132. The partial intensity image 136 is determined based on the segmentation corresponding region 134.

[0166] For example, the partial luminance image 132 is a luminance image cut out from the luminance image 132 by a rectangular frame obtained by enlarging a rectangular frame 136A circumscribing the segmentation corresponding region 134 by the default magnification described in the above embodiment.

[0167] The luminance information 138 is luminance information obtained from a plurality of locations in the partial luminance image 132. The plurality of locations is at least two locations including one location and another location that cross the segmentation corresponding region 134. Examples of crossing the segmentation corresponding region 134 include crossing the segmentation corresponding region 134 over the longest distance and crossing the segmentation corresponding region 134 over the shortest distance.

[0168] 15 illustrates brightness information 138 obtained from eight locations on the partial brightness image 132. The eight locations on the partial brightness image 132 are the same as the eight locations on the partial distance image 110 described in the above embodiment. Note that this is merely an example, and it is sufficient to use brightness information 138 from multiple locations (eight locations, for example) that enables identification of the extent to which the lesion 42 extends deep into the body cavity (i.e., in the depth direction of the large intestine 28) when the lesion 42 is viewed from the camera 52 (in other words, the degree to which the camera 52 is directly facing the lesion 42).

[0169] The controller 82B determines whether the lesion 42 shown in the frame 40 is correctly depicted based on the brightness difference 142. An example of the brightness difference 142 is the absolute value of the difference between the maximum and minimum values ​​of the plurality of brightness information 138.

[0170] The control unit 82B calculates the luminance difference 142 using the luminance difference calculation formula 140. The luminance difference calculation formula 140 is a calculation formula in which the plurality of pieces of luminance information 138 are used as dependent variables and the luminance difference 142 is used as an independent variable. The control unit 82B inputs the plurality of pieces of luminance information 138 extracted from the partial luminance image 132 to the luminance difference calculation formula 140. The luminance difference calculation formula 140 outputs the luminance difference 142 corresponding to the plurality of pieces of luminance information 138 input.

[0171] The controller 82B determines whether the appearance of the lesion 42 in the frame 40 is correct based on the luminance difference 142. For example, the controller 82B compares the luminance difference 142 with a threshold value TH2, and determines that the appearance of the lesion 42 in the frame 40 is incorrect if the luminance difference 142 is equal to or greater than the threshold value TH2. However, if the luminance difference 142 is less than the threshold value TH2, the controller 82B determines that the appearance of the lesion 42 in the frame 40 is correct. As in the above embodiment, the controller 82B controls the measurement output process 116 based on the appearance of the lesion 42 in the frame 40. The threshold value TH2 refers to, for example, a value determined as the upper limit of the luminance difference 142 at which the size 118 of the lesion 42 can be accurately measured. Note that the threshold value TH2 may be a fixed value or a variable value that is changed in accordance with instructions received by the reception device 64 and / or various conditions.

[0172] In this way, in the example shown in Figure 15, the brightness difference 142 is used as information that can identify the relative positional relationship between the camera 52 and the surface area 32A, and as in the above embodiment, this can contribute to highly accurate determination of whether the relative positional relationship between the camera 52 and the surface area 32A is correct.

[0173] Although the luminance difference 142 is used here as an example, this is merely an example and the luminance ratio may be used instead. The luminance ratio refers to, for example, the ratio of the maximum value of the plurality of pieces of luminance information 138 to the minimum value of the plurality of pieces of luminance information 138.

[0174] 16 refers to the frequency component difference between multiple locations of surface area 32A within frame 40. Because the frequency components within the depth of field of camera 52 are higher than the frequency components outside the depth of field of camera 52, here, based on frequency component difference 154, it is determined whether or not the relative positional relationship between camera 52 and surface area 32A is correct (for example, whether or not camera 52 is directly facing surface area 32A).

[0175] 16, the control unit 82B generates a frequency component image 144 based on the frame 40. The frequency component image 144 is an image in which the frequency components in the frame 40 are mapped on a pixel-by-pixel basis.

[0176] The control unit 82B extracts frequency component information 150 indicating frequency components from a partial frequency component image 148 defined based on a segmentation corresponding area 146 in the frequency component image 144 in a manner similar to that in which the representative distance information 104A was extracted from the partial distance image 110 in the above embodiment.

[0177] The segmentation corresponding region 146 is a closed region that corresponds to the position of the segmentation image 102 in the frequency component image 144. The partial frequency component image 148 is determined based on the segmentation corresponding region 146.

[0178] For example, the partial frequency component image 148 is a frequency component image cut out from the frequency component image 144 by a rectangular frame 148A circumscribing the segmentation corresponding region 146, enlarged by the default magnification described in the above embodiment.

[0179] The frequency component information 150 is frequency component information obtained from a plurality of locations in the partial frequency component image 148. The plurality of locations is at least two locations including one location and another location that cross the segmentation corresponding region 146. Examples of crossing the segmentation corresponding region 146 include crossing the segmentation corresponding region 146 over the longest distance and crossing the segmentation corresponding region 146 over the shortest distance.

[0180] 16 illustrates frequency component information 148 obtained from eight locations on the partial frequency component image 148. The eight locations on the partial frequency component image 148 are the same as the eight locations on the partial distance image 110 described in the above embodiment. Note that this is merely an example, and it is sufficient to use frequency component information 150 from multiple locations (eight locations, for example) that enables identification of the extent to which the lesion 42 extends deep into the body cavity (i.e., in the depth direction of the large intestine 28) when the lesion 42 is viewed from the camera 52 (in other words, the degree to which the camera 52 is directly facing the lesion 42).

[0181] Controller 82B determines whether lesion 42 is correctly captured in frame 40 based on frequency component difference 154. An example of frequency component difference 154 is the absolute value of the difference between the maximum and minimum values ​​of the plurality of frequency component information 150.

[0182] Control unit 82B calculates frequency component difference 154 using frequency component difference calculation formula 152. Frequency component difference calculation formula 152 is a calculation formula that uses multiple pieces of frequency component information 150 as dependent variables and frequency component difference 154 as an independent variable. Control unit 82B inputs multiple pieces of frequency component information 150 extracted from partial frequency component image 148 to frequency component difference calculation formula 152. Frequency component difference calculation formula 152 outputs frequency component difference 154 corresponding to the multiple pieces of frequency component information 150 input.

[0183] The controller 82B determines whether the appearance of the lesion 42 in the frame 40 is correct based on the frequency component difference 154. For example, the controller 82B compares the frequency component difference 154 with a threshold value TH3, and determines that the appearance of the lesion 42 in the frame 40 is incorrect if the frequency component difference 154 is equal to or greater than the threshold value TH3. However, if the frequency component difference 154 is less than the threshold value TH3, the controller 82B determines that the appearance of the lesion 42 in the frame 40 is correct. As in the above embodiment, the controller 82B controls the measurement output process 116 based on the appearance of the lesion 42 in the frame 40. The threshold value TH3 refers to, for example, a value determined as the upper limit of the frequency component difference 154 at which the size 118 of the lesion 42 can be accurately measured. Note that the threshold value TH3 may be a fixed value or a variable value that is changed in accordance with instructions received by the reception device 64 and / or various conditions.

[0184] In this way, in the example shown in Figure 16, the frequency component difference 154 is used as information that can identify the relative positional relationship between the camera 52 and the surface area 32A, and as in the above embodiment, this can contribute to highly accurate determination of whether the relative positional relationship between the camera 52 and the surface area 32A is correct.

[0185] Although frequency component difference 154 is used here as an example, this is merely an example and frequency component ratio may also be used. The frequency component ratio refers to, for example, the ratio of the maximum value among the plurality of frequency component information 150 to the minimum value among the plurality of frequency component information 150.

[0186] The examples shown in Figures 6 and 14 illustrate an example in which a partial distance image 110 cut out from the distance image 106 using a rectangular frame obtained by enlarging a rectangular frame 110A circumscribing the segmentation corresponding region 108 at a predetermined magnification is used. Also, the example shown in Figure 15 illustrates an example in which a partial luminance image 136 cut out from the luminance image 132 using a rectangular frame obtained by enlarging a rectangular frame 136A circumscribing the segmentation corresponding region 134 at a predetermined magnification is used. Furthermore, the example shown in Figure 16 illustrates an example in which a partial frequency component image 148 cut out from the frequency component image 144 using a rectangular frame obtained by enlarging a rectangular frame 148A circumscribing the segmentation corresponding region 146 at a predetermined magnification is used. However, these are merely examples. For example, in the examples shown in Figures 6 and 14, an image cut out from the distance image 106 using a rectangular frame 110A circumscribing the segmentation corresponding region 108 may be used as the partial distance image 110. 15 , an image cut out from the luminance image 132 by a rectangular frame 136A circumscribing the segmentation corresponding region 134 may be used as the partial luminance image 136. Furthermore, in the example shown in Fig. 16 , an image cut out from the frequency component image 144 by a rectangular frame 148A circumscribing the segmentation corresponding region 146 may be used as the partial frequency component image 148.

[0187] Furthermore, the controller 82B may determine whether the lesion 42 captured in the frame 40 is captured correctly based on two or more indices of the extension degree 114, the angle, the distance difference 129, the brightness difference 142, and the frequency component difference 154. In this case, which indices are to be emphasized may be determined by weighting, for example, as shown in the following formula (1).

[0188] (Total judgment value) = (extension) × A + (angle) × B + (distance difference) × C + (brightness difference) × D + (frequency component difference) × E (1)

[0189] In the above formula (1), A to E are weights. The overall judgment value is a value compared with the reference judgment value, and if the "overall judgment value ≥ reference judgment value," it is determined that the appearance of the lesion 42 in the frame 40 is incorrect, and if the "overall judgment value < reference judgment value," it is determined that the appearance of the lesion 42 in the frame 40 is correct. Here, the weights A to E and / or the reference judgment value may be fixed values, or may be variable values ​​that are changed according to instructions and / or various conditions accepted by the accepting device 64.

[0190] Although the extension degree 114, angle, distance difference 129, brightness difference 142, and frequency component difference 154 are given here as examples of the image appearance information, the technology of the present disclosure is not limited to these. The image appearance information may include, for example, the amount of blur in the image region including the lesion 42 shown in frame 40 and / or the amount of artifacts in the image region including the lesion 42 shown in frame 40.

[0191] For example, if the information used for the appearance information is the blur amount of the image area including the lesion 42 shown in the frame 40, and the blur amount exceeds a reference blur amount (e.g., a blur amount set as the upper limit of the blur amount range in which the recognition unit 82A can correctly recognize the lesion 42), the control unit 82B will determine that the appearance of the lesion 42 shown in the frame 40 is incorrect.

[0192] For example, if the information used for the appearance information is the amount of artifacts for an image area including the lesion 42 appearing in the frame 40, and the amount of artifacts exceeds a reference amount of artifacts (e.g., an amount of artifacts set as the upper limit of the range of artifact amounts at which the recognition unit 82A can correctly recognize the lesion 42), the control unit 82B will determine that the appearance of the lesion 42 appearing in the frame 40 is incorrect.

[0193] In the above embodiment, an example was given in which the segmentation-corresponding region 108 was identified from the position identification information 98 obtained by performing the recognition process 96 on the frame 40. However, the technology of the present disclosure is not limited to this. For example, as shown in FIG. 17 , the segmentation-corresponding region 108 may be identified in accordance with an instruction 156 given by the doctor 12. In the example shown in FIG. 17 , the instruction 156 is received by the reception device 64. The instruction 156 includes position identification information 158 corresponding to the position identification information 98 described in the above embodiment, and the control unit 82B identifies the segmentation-corresponding region 108 from the distance image 106 in accordance with the position identification information 158. In this manner, the lesion 42 located at the position intended by the doctor 12 can be used as the lesion 42 whose size 118 is measured by the measurement output process 116. Note that in the example shown in FIG. 17 , the instruction 156 is an example of an “instruction” according to the technology of the present disclosure.

[0194] In the above embodiment, the control unit 82B generates the distance image 106 (see FIG. 6 ) from the frame 40 using the distance derivation model 94 (see FIG. 6 ). However, the technology of the present disclosure is not limited to this. For example, as shown in FIG. 18 , the depth of the large intestine 28 in the depth direction may be measured by a depth sensor 160 (e.g., a sensor that measures distance using a laser distance measurement method and / or a phase difference method, etc.), and the control unit 82B may generate the distance image 164 based on the measured depth. For example, the depth sensor 160 may be provided at the distal end portion 50 (see FIG. 2 ). In the example shown in FIG. 18 , the depth sensor 160 is an example of a "depth sensor" according to the technology of the present disclosure.

[0195] Distance image 164 is a distance image corresponding to distance image 106 (see FIG. 6 ) described in the above embodiment. In the example shown in FIG. 18 , distance information 162 corresponding to distance information 104 (see FIG. 6 ) described in the above embodiment is mapped pixel by pixel onto frame 40 to generate distance image 164. Distance information 162 is information indicating the distance obtained by measuring the depth of large intestine 28 using depth sensor 160.

[0196] The example shown in Figure 18 shows a segmentation corresponding region 166, a rectangular frame 168A, and a partial distance image 168. The segmentation corresponding region 166 corresponds to the segmentation corresponding region 108 (see Figure 6) described in the above embodiment and is obtained in a similar manner to the segmentation corresponding region 108. The rectangular frame 168A corresponds to the rectangular frame 110A (see Figure 6) described in the above embodiment and is obtained in a similar manner to the rectangular frame 110A. The partial distance image 168 corresponds to the partial distance image 110 (see Figure 6) described in the above embodiment and is obtained in a similar manner to the partial distance image 110.

[0197] 18 shows a plurality of pieces of representative distance information 162A. The plurality of pieces of representative distance information 162A corresponds to the plurality of pieces of representative distance information 104A (see FIG. 6) described in the above embodiment, and is obtained in the same manner as the plurality of pieces of representative distance information 104A. When the plurality of pieces of representative distance information 162A are input to the extensibility calculation formula 112, the extensibility 114 corresponding to the input plurality of pieces of representative distance information 162A is output from the extensibility calculation formula 112. In this case, too, the same effects as those of the above embodiment can be expected.

[0198] Furthermore, a distance difference equivalent to the distance difference 129 may be calculated from a plurality of pieces of representative distance information 162A in the same manner as the distance difference 129 is calculated from a plurality of pieces of representative distance information 104A. In this case, the same effect as the example shown in Fig. 14 can be expected. The distance difference calculated from a plurality of pieces of representative distance information 162A is an example of the "second depth" according to the technology of the present disclosure.

[0199] In the above embodiment, an example was given in which the endoscopic moving image 39 is displayed in the first display area 36, ​​but the results of performing the recognition process 96 on the endoscopic moving image 39 may be superimposed and displayed on the endoscopic moving image 39 in the first display area 36. Also, at least a portion of the segmentation image 102 obtained as a result of performing the recognition process 96 on the endoscopic moving image 39 may be superimposed and displayed on the endoscopic moving image 39. One example of superimposing and displaying at least a portion of the segmentation image 102 on the endoscopic moving image 39 is an example in which the outer contour of the segmentation image 102 is superimposed and displayed on the endoscopic moving image 39 using alpha blending.

[0200] Furthermore, for example, if the recognition process 96 is performed using an AI-based bounding box method, a bounding box may be superimposed on the endoscopic video 39 in the first display area 36. Furthermore, for example, if multiple lesions 42 are captured in the endoscopic video 39, at least a portion of the segmentation image 102 and / or a bounding box may be superimposed on the first display area 36 as information that enables visual identification of the lesion 42 that corresponds to the measured size 118. Furthermore, a probability map 100 and / or a bounding box related to the lesion 42 that corresponds to the measured size 118 may be displayed in a display area separate from the first display area 36. Furthermore, for example, the probability map 100 may be superimposed on the endoscopic video 39 in the first display area 36. The information superimposed on the endoscopic video 39 may be semi-transparent information (e.g., information that has been alpha-blended).

[0201] In the above embodiment, an example was given in which the length in real space of the longest range crossing the lesion 42 along the line segment 122 was measured as the size 118, but the technology of the present disclosure is not limited to this. For example, the length in real space of the range corresponding to the longest line segment parallel to the short side of the rectangular frame 124 for the image area showing the lesion 42 may be measured as the size 118 and displayed on the screen 35. In this case, the physician 12 can grasp the length in real space of the longest range crossing the lesion 42 along the longest line segment parallel to the short side of the rectangular frame 124 for the image area showing the lesion 42.

[0202] Furthermore, the size of the lesion 42 in real space, which is the radius and / or diameter of a circumscribing circle for the image region showing the lesion 42, may be measured and displayed on the screen 35. In this case, the physician 12 can grasp the size of the lesion 42 in real space, which is the radius and / or diameter of a circumscribing circle for the image region showing the lesion 42.

[0203] In the above embodiment, an example was given in which the size 118 is displayed in the first display area 36, ​​but this is merely one example, and the size 118 may be displayed in a pop-up format from within the first display area 36 to outside the first display area 36, ​​or the size 118 may be displayed in a location other than the first display area 36 on the screen 35. In addition, the type and / or the form of the lesion may also be displayed in the first display area 36 and / or the second display area 38, or may be displayed on a screen other than the screen 35.

[0204] In the above embodiment, an example was given in which the size of one lesion 42 was measured and the measurement result was presented to the doctor 12, but if multiple lesions 42 are shown in the frame 40, medical support processing may be performed for each of the multiple lesions 42. In this case, a mark or the like may be added to the image area of ​​the lesion 42 corresponding to the information displayed on the screen 35 so that it is possible to identify which lesion 42 information (size, type, variety, and width) is displayed on the screen 35.

[0205] In the above embodiment, an example has been given in which the size 118 is measured in units of one frame, but this is merely an example, and the size 118 may be measured in units of multiple frames.

[0206] In the above embodiment, an AI-based object recognition process is exemplified as the recognition process 96, but the technology disclosed herein is not limited to this, and the lesion 42 shown in the frame 40 may be recognized by the recognition unit 82A by performing a non-AI-based object recognition process (e.g., template matching, etc.).

[0207] In the above embodiment, an example was described in which arithmetic formula 126 was used to calculate size 118, but the technology of the present disclosure is not limited to this, and size 118 may be measured by performing AI processing on frame 40. In this case, for example, a trained model may be used that outputs size 118 of lesion 42 when frame 40 including lesion 42 is input. When creating the trained model, deep learning may be performed on a neural network using training data to which annotations indicating the size of the lesion are added as ground truth data for lesions shown in images used as example data.

[0208] In the above embodiment, an example of deriving the distance information 104 using the distance derivation model 94 has been described, but the technology of the present disclosure is not limited to this. For example, other methods of deriving the distance information 104 using an AI method include a method that combines segmentation and depth estimation (for example, regression learning that provides distance information 104 for the entire image (for example, all pixels that make up the image), or unsupervised learning that learns the distance of the entire image in an unsupervised manner).

[0209] In the above embodiment, an endoscopic moving image 39 is exemplified, but the technology of the present disclosure is not limited to this, and the technology of the present disclosure can also be applied to medical moving images other than endoscopic moving images 39 (for example, moving images obtained by a modality other than the endoscopic system 10, such as radiological moving images or ultrasound moving images).

[0210] In the above embodiment, an example of measuring the size 118 of a lesion 42 shown in a moving image is given, but this is merely one example, and the technology disclosed herein is also applicable when measuring the size 118 of a lesion 42 shown in a frame-by-frame image or a still image.

[0211] In the above embodiment, an example was given in which the distance information 104 extracted from the distance image 106 was input to the arithmetic expression 126. However, the technology of the present disclosure is not limited to this. For example, without generating the distance image 106, distance information 104 corresponding to the position identified from the position identification information 98 may be extracted from all the distance information 104 output from the distance derivation model 94, and the extracted distance information 104 may be input to the arithmetic expression 126.

[0212] In the above example, the display device 18 is exemplified as an output destination of the size 118 and the like, but the technology of the present disclosure is not limited to this, and the output destination of various information such as the size 118 (hereinafter referred to as "various information") may be a device other than the display device 18. As an example, as shown in Fig. 19, output destinations of the various information include an audio playback device 170, a printer 172, and / or an electronic medical record management device 174.

[0213] The various information may be output as audio by an audio playback device 170. The various information may also be printed as text or the like on a medium (e.g., paper) or the like by a printer 172. The various information may also be stored in an electronic medical record 176 managed by an electronic medical record management device 174.

[0214] In the above examples, various information may or may not be displayed on the screen 35. However, displaying various information on the screen 35 refers to displaying various information in a manner that is perceptible to a user (e.g., doctor 12). The concept of not displaying various information on the screen 35 also includes the concept of lowering the display level of the information (e.g., the level at which the information is perceived through display). For example, the concept of not displaying various information on the screen 35 also includes the concept of displaying various information in a manner that is not visually perceived by a user. Examples of display manners in this case include reducing the font size of the information, thinning the information, dotting the information, flashing the information, displaying the information for an imperceptible display time, or making the information transparent to an imperceptible level. The same applies to the various outputs, such as the audio output, printing, and saving, described above.

[0215] In the above embodiment, an example was described in which medical support processing is performed by a processor 82 included in the endoscopic system 10, but the technology disclosed herein is not limited to this, and a device that performs at least some of the processing included in the medical support processing may be provided outside the endoscopic system 10.

[0216] In this case, for example, as shown in FIG. 20, an external device 178 communicably connected to the endoscope system 10 via a network 180 (for example, a WAN and / or a LAN) may be used.

[0217] An example of the external device 178 is at least one server that directly or indirectly transmits and receives data to and from the endoscopic system 10 via the network 180. The external device 178 receives a processing execution instruction provided from the processor 82 of the endoscopic system 10 via the network 180. The external device 178 then executes processing in accordance with the received processing execution instruction and transmits the processing result to the endoscopic system 10 via the network 180. In the endoscopic system 10, the processor 82 receives the processing result transmitted from the external device 178 via the network 180 and executes processing using the received processing result.

[0218] An example of the processing execution instruction is an instruction to cause the external device 178 to execute at least a part of the medical support processing. A first example of at least a part of the medical support processing (i.e., a processing to be executed by the external device 178) is the recognition processing 96. In this case, the external device 178 executes the recognition processing 96 in accordance with the processing execution instruction provided from the processor 82 of the endoscope system 10 via the network 180, and transmits the recognition processing result (e.g., the position identification information 98 and / or the probability map 100) to the endoscope system 10 via the network 180. In the endoscope system 10, the processor 82 receives the recognition processing result and executes processing similar to that of the above embodiment using the received recognition processing result.

[0219] A second example of at least a portion of the medical support processing (i.e., processing to be executed by the external device 178) is processing by the measurement unit 82C. The processing by the measurement unit 82C refers to, for example, processing to measure the size 118 of the lesion 42. In this case, the external device 178 executes the processing by the measurement unit 82C in accordance with a processing execution instruction provided from the processor 82 of the endoscope system 10 via the network 180, and transmits the measurement processing results (e.g., size 118, etc.) to the endoscope system 10 via the network 180. In the endoscope system 10, the processor 82 receives the measurement processing results and executes processing similar to that of the above embodiment using the received measurement processing results.

[0220] The process in which processor 82 causes external device 178 to measure size 118 of lesion 42 and obtains the measurement result (i.e., size 118) from external device 178 via network 180 is included in the concept of processor 82 measuring size 118 of lesion 42 (i.e., the concept of "measuring the size of the observation area" according to the technology of the present disclosure).

[0221] A third example of at least a part of the medical support processing (i.e., processing to be executed by the external device 178) is processing to control the measurement output processing 116 in accordance with the imaging information. In this case, the external device 178 executes processing to control the measurement output processing 116 in accordance with the imaging information in accordance with a processing execution instruction provided from the processor 82 of the endoscope system 10 via the network 180, receives the control processing results, and executes processing similar to that of the above embodiment (e.g., processing to control the display content of the screen 35) using the received control processing results.

[0222] In addition, the process in which the processor 82 causes the external device 178 to perform a process of controlling the measurement output process 116 in accordance with the image appearance information is included in the concept of the processor 82 performing a process of controlling the measurement output process 116 in accordance with the image appearance information (i.e., the concept of "controlling the measurement output process in accordance with the image appearance information" related to the technology of the present disclosure).

[0223] For example, the external device 178 is realized by cloud computing. Note that cloud computing is merely one example, and the external device 178 may be realized by network computing such as fog computing, edge computing, or grid computing. Instead of a server, at least one personal computer or the like may be used as the external device 178. Alternatively, the external device 178 may be a computing device with a communication function and equipped with multiple types of AI functions.

[0224] In the above embodiment, an example has been described in which the medical support program 90 is stored in the NVM 86, but the technology of the present disclosure is not limited to this. For example, the medical support program 90 may be stored in a portable, computer-readable, non-transitory storage medium such as an SSD or USB memory. The medical support program 90 stored in the non-transitory storage medium is installed in the computer 78 of the endoscope system 10. The processor 82 executes medical support processing in accordance with the medical support program 90.

[0225] In addition, the medical support program 90 may be stored in a storage device such as another computer or server connected to the endoscopic system 10 via a network, and the medical support program 90 may be downloaded and installed on the computer 78 in response to a request from the endoscopic system 10.

[0226] It is not necessary to store the entire medical support program 90 in a storage device such as another computer or server device connected to the endoscopic system 10, or to store the entire medical support program 90 in the NVM 86; only a portion of the medical support program 90 may be stored.

[0227] The hardware resources that execute the medical support processing can be various processors, as listed below. Examples of processors include a CPU, which is a general-purpose processor that functions as a hardware resource that executes medical support processing by executing software, i.e., a program. Examples of processors include dedicated electrical circuits, such as FPGAs, PLDs, or ASICs, which are processors with a circuit configuration specifically designed to execute specific processing. Each processor has built-in or connected memory, and executes medical support processing by using the memory.

[0228] The hardware resource for executing the medical support processing may be configured with one of these various processors, or may be configured with 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 CPU and an FPGA). Also, the hardware resource for executing the medical support processing may be a single processor.

[0229] As an example of a system configured with a single processor, first, one processor is configured by combining one or more CPUs and software, and this processor functions as a hardware resource that executes medical support processing. Second, there is a system that uses a processor that realizes the functions of the entire system, including multiple hardware resources that execute medical support processing, on a single IC chip, as typified by SoC. In this way, medical support processing is realized using one or more of the various processors described above as hardware resources.

[0230] Furthermore, the hardware structure of these various processors can be, more specifically, an electric circuit that combines circuit elements such as semiconductor devices. The above medical support process is merely an example. Therefore, it goes without saying that unnecessary steps may be deleted, new steps may be added, or the processing order may be rearranged, without departing from the spirit of the process.

[0231] The above-described description and illustrations are a detailed explanation of the parts related to the technology of the present disclosure and are merely an example of the technology of the present disclosure. For example, the above description of the configuration, functions, actions, and effects is an explanation of an example of the configuration, functions, actions, and effects of the parts related to the technology of the present disclosure. Therefore, it goes without saying that unnecessary parts may be deleted, new elements may be added, or replacements may be made to the above-described description and illustrations within the scope of the gist of the technology of the present disclosure. Furthermore, to avoid confusion and facilitate understanding of the parts related to the technology of the present disclosure, the above-described description and illustrations omit explanations of common technical knowledge that do not require particular explanation to enable the implementation of the technology of the present disclosure.

[0232] In this specification, "A and / or B" is synonymous with "at least one of A and B." In other words, "A and / or B" means that it may be only A, only B, or a combination of A and B. Furthermore, in this specification, the same concept as "A and / or B" is also applied when three or more things are expressed by connecting them with "and / or."

[0233] All publications, patent applications, and technical standards mentioned in this specification are herein incorporated by reference to the same extent as if each individual publication, patent application, or technical standard was specifically and individually indicated to be incorporated by reference.

Claims

1. A medical support device comprising a processor, which measures the size of an observation target area based on a medical image obtained by imaging an imaging target area including the observation target area with a camera inserted into a body cavity, and performs a measurement output process to output the size, and controls the measurement output process in accordance with appearance information regarding how a surface area that is a part of the imaging target area and includes the observation target area is depicted in the medical image.

2. The medical support device according to claim 1, wherein the imaging information uses positional relationship specification information capable of specifying the relative positional relationship between the camera and the surface area.

3. The medical support device according to claim 2, wherein the positional relationship specification information uses a brightness difference between a plurality of locations of the surface area in the medical image.

4. The medical support device according to claim 2, wherein the positional relationship specification information uses a degree of difference in frequency components between a plurality of locations of the surface area within the medical image.

5. The medical support device according to claim 2, wherein the positional relationship identification information uses a first depth of the surface area from the camera side, the first depth being obtained based on the medical image.

6. The medical support device according to claim 2, wherein the positional relationship identification information uses a second depth of the surface area from the camera side, the second depth being obtained using a depth sensor.

7. The medical support device according to claim 2, wherein the positional relationship specification information uses extension information relating to the extension of the surface area in the depth direction from the camera side.

8. The medical support device according to claim 2, wherein the positional relationship specifying information uses an angle between the optical axis of the camera and the surface area.

9. The medical support device of claim 2, wherein the processor does not measure the size and / or output the size when the positional relationship is not a default positional relationship, and performs the measurement output process when the positional relationship is the default positional relationship.

10. The medical support device of claim 2, wherein the processor, when the positional relationship is not a default positional relationship, does not measure the size and outputs first information capable of identifying that the size measurement was not performed, and when the positional relationship is the default positional relationship, performs the measurement output processing.

11. The medical support device of claim 2, wherein the processor performs the measurement output process regardless of whether the positional relationship is a default positional relationship or not, and when the positional relationship is not the default positional relationship, outputs second information capable of identifying that the size is inaccurate.

12. The medical support device of claim 2, wherein the processor performs the measurement output processing regardless of whether the positional relationship is a default positional relationship or not, and the measurement output processing includes a perception level reduction processing that reduces the level at which the size output is perceived when the positional relationship is not the default positional relationship below the level at which the size output is perceived when the positional relationship is the default positional relationship.

13. The medical support device according to claim 1, wherein the observation area, the size of which is measured by the measurement output process, is recognized from the medical image by performing object recognition processing on the medical image.

14. The medical support device according to claim 1, wherein the observation area, the size of which is measured by the measurement output process, is identified from the medical image in accordance with given instructions.

15. The medical support device according to claim 1, wherein the size is output by displaying the size on a screen.

16. The medical support device according to claim 1, wherein the medical image is an endoscopic image obtained by imaging the imaging target area with an endoscope.

17. The medical support device according to claim 1, wherein the observation area is a lesion.

18. An endoscope system comprising: a medical support device according to any one of claims 1 to 17; and an endoscope scope equipped with the camera.

19. A medical support method comprising: measuring the size of an observation target area based on a medical image obtained by imaging an imaging target area including the observation target area with a camera inserted into a body cavity, and performing a measurement output process to output the size; and controlling the measurement output process in accordance with appearance information regarding how a surface area that is a part of the imaging target area and includes the observation target area is depicted in the medical image.

20. The medical support method according to claim 19, further comprising using an endoscope equipped with the camera.

21. A program for causing a computer to execute medical support processing, including: measuring the size of an observation target area based on a medical image obtained by imaging an imaging target area including the observation target area with a camera inserted into a body cavity, and performing a measurement output process to output the size; and controlling the measurement output process in accordance with appearance information regarding how a surface area that is a part of the imaging target area and includes the observation target area is depicted in the medical image.

Citation Information

Patent Citations

  • Endoscope apparatus, calibration device and calibration method

    JP2020141712A

  • A endoscopic device capable of measuring the size of the lesion or object using the depth estimation by the infrared reflection light intensity measured, method using thereof

    KR101656075B1

  • Video measurement system with automatic calibration and distortion correction

    US5070401A

  • Colposcope device and method for measuring areas of cervical lesions

    US5791346A

  • Endoscope system

    WO2016047191A1