Image processing method and device, electronic device and computer readable storage medium
Through the image processing method, the background learning branch network and the target semantic segmentation network are used to identify mitotic figures in pathological images, which solves the problem that it is difficult for doctors to accurately identify and improves the accuracy of disease judgment.
Patent Information
- Application Number
- CN202110023706.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-08
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-01-08
AI Technical Summary
In the medical field, it is difficult for doctors to accurately identify mitotic figures in pathological images with the naked eye or a microscope, which affects the accuracy of disease judgment.
The image processing method is used to obtain the pathological image to be processed, determine the suspected significant mitosis area, crop it into blocks of different sizes, use the background learning branch network for feature extraction and fusion, and combine it with the target semantic segmentation network to determine whether it contains mitosis images.
It realizes the automatic and efficient identification of mitotic figures in pathological images, improves the accuracy of judgment and reduces human errors.
Smart Images

Figure CN114742742B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer and Internet technology, and in particular to an image processing method and device, an electronic device, and a computer-readable storage medium. Background Art
[0002] In the medical field, nuclear division images (i.e., nuclear division images) are a typical manifestation of pathological changes. For example, nuclear division images are one of the manifestations of tumor cell atypia. Benign tumors have no or very few nuclear division images, while malignant tumors have more nuclear division images.
[0003] In the medical field, doctors usually determine the patient's condition based on the number and shape of mitotic figures in pathological images. However, it is a great challenge for doctors to find mitotic figures in pathological images simply by naked eyes or microscopes.
[0004] Therefore, the present disclosure provides a technology that can directly and accurately determine the mitotic figure in a pathological image.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure. Summary of the invention
[0006] The embodiments of the present disclosure provide an image processing method and apparatus, an electronic device, and a computer-readable storage medium, which can directly and accurately determine nuclear division images in a pathological image to be processed.
[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0008] The present disclosure embodiment proposes an image processing method, which includes: acquiring a pathological image to be processed; determining a suspected significant nuclear fission area in the pathological image to be processed; cropping the pathological image to be processed to obtain a first block and a second block of different sizes, the first block and the second block both include the suspected significant nuclear fission area, and the first block also includes the surrounding background area of the suspected significant nuclear fission area; using a first background learning branch network to perform feature extraction processing on the first block to obtain a first feature map, the first feature map includes feature information of the surrounding background area of the suspected significant nuclear fission area; using a second background learning branch network to perform feature extraction processing on the second block to obtain a second feature map, the second background learning branch network and the first background learning branch network have different depths; performing feature fusion processing on the first feature map and the second feature map to obtain a first fused feature map; according to the first fused feature map, determining a target significant nuclear fission area including a nuclear fission image in the pathological image to be processed.
[0009] An embodiment of the present disclosure provides an image processing device, which may include: a pathological image to be processed acquisition module, a suspected nuclear division significant area determination module, a cropping module, a first feature map acquisition module, a second feature map acquisition module, a first fused feature map acquisition module, and a first fused feature map acquisition module.
[0010] Among them, the pathological image to be processed acquisition module can be configured to acquire the pathological image to be processed; the suspected nuclear fission significant area determination module can be configured to determine the suspected nuclear fission significant area in the pathological image to be processed; the cropping module can be configured to crop the pathological image to be processed to obtain a first block and a second block of different sizes, the first block and the second block both include the suspected nuclear fission significant area, and the first block also includes the surrounding background area of the suspected nuclear fission significant area; the first feature map acquisition module can be configured to use the first background learning branch network to perform feature extraction processing on the first block to obtain a first feature map, the first feature map includes feature information of the surrounding background area of the suspected nuclear fission significant area; the second feature map acquisition module can be configured to use the second background learning branch network to perform feature extraction processing on the second block to obtain a second feature map, the second background learning branch network and the first background learning branch network have different depths; the first fusion feature map acquisition module can be configured to perform feature fusion processing on the first feature map and the second feature map to obtain a first fusion feature map; the target nuclear fission significant area acquisition module can be configured to determine the target nuclear fission significant area including the nuclear fission image in the pathological image to be processed according to the first fusion feature map.
[0011] In some embodiments, the target nuclear fission significant region acquisition module may include: a deep fusion feature acquisition submodule, a classification processing submodule, and a target nuclear fission significant region determination submodule.
[0012] Among them, the deep fusion feature acquisition submodule can be configured to perform feature extraction processing on the first fusion feature map to obtain deep fusion features; the classification processing submodule can be configured to perform classification processing on the deep fusion features through a target classifier to determine whether the suspected nuclear division significant area includes the nuclear division image; the target nuclear division significant area determination submodule can be configured that if the suspected nuclear division significant area includes the nuclear division image, the suspected nuclear division significant area is the target nuclear division significant area.
[0013] In some embodiments, the deep fusion feature is obtained after feature extraction of the first fusion feature map by a background fusion learning network, the background fusion learning network includes at least M fusion learning modules, M is a positive integer greater than or equal to 2, and the Mth fusion learning module in the background fusion learning network includes convolution layer one, convolution layer two and a pooling layer.
[0014] Among them, the deep fusion feature acquisition submodule may include: a first intermediate fusion feature map acquisition unit, a first intermediate fusion sub-feature map acquisition unit, a second intermediate fusion sub-feature map acquisition unit, a third intermediate fusion sub-feature map acquisition unit, a second intermediate fusion feature map acquisition unit and a deep fusion feature acquisition unit.
[0015] Among them, the first intermediate fusion feature map acquisition unit can be configured to process the first fusion feature map through the first M-1 fusion learning modules of the background fusion learning network to obtain a first intermediate fusion feature map; the first intermediate fusion sub-feature map acquisition unit can be configured to process the first intermediate fusion feature map through the convolution layer one to obtain a first intermediate fusion sub-feature map; the second intermediate fusion sub-feature map acquisition unit can be configured to process the first intermediate fusion feature map through the convolution layer two to obtain a second intermediate fusion sub-feature map; the third intermediate fusion sub-feature map acquisition unit can be configured to process the first intermediate fusion feature map through the pooling layer to obtain a third intermediate fusion sub-feature map; the second intermediate fusion feature map acquisition unit can be configured to fuse the first intermediate fusion sub-feature map, the second intermediate fusion sub-feature map and the third intermediate fusion sub-feature map to obtain a second intermediate fusion feature map; the deep fusion feature acquisition unit can be configured to determine the deep fusion feature according to the second intermediate fusion feature map.
[0016] In some embodiments, the first background learning branch network includes at least N branch feature extraction modules, N is a positive integer greater than or equal to 2, and the Nth branch feature extraction module of the first background learning branch network includes a first convolutional layer, a second convolutional layer, a first activation layer, a second activation layer, a first normalization layer and a second normalization layer.
[0017] The first feature map acquisition module may include: a first branch feature map acquisition submodule, a first branch sub-feature map acquisition submodule, a second branch sub-feature map acquisition submodule, a second branch feature map acquisition submodule and a first feature map acquisition submodule.
[0018] Among them, the first branch feature map acquisition submodule can be configured to perform feature extraction processing on the first block through the first N-1 branch feature extraction modules of the first background learning branch network to obtain a first branch feature map; the first branch sub-feature map acquisition submodule can be configured to process the first branch feature map through the first normalization layer, the first activation layer and the first convolution layer to obtain the first branch sub-feature map; the second branch sub-feature map acquisition submodule can be configured to process the first branch sub-feature map through the second normalization layer, the second activation layer and the second convolution layer to obtain the second branch sub-feature map; the second branch feature map acquisition submodule can be configured to perform residual processing on the second branch sub-feature map through the first branch feature map to obtain the second branch feature map; the first feature map acquisition submodule can be configured to determine the first feature map according to the second branch feature map.
[0019] In some embodiments, the suspected nuclear fission significant region determination module may include: a target heat map acquisition submodule, a probability value acquisition submodule, and a suspected nuclear fission significant region determination submodule.
[0020] Among them, the target heat map acquisition submodule can be configured to perform semantic segmentation processing on the pathological image to be processed through a target semantic segmentation network to obtain a target heat map of the pathological image to be processed; the probability value acquisition submodule can be configured to determine the probability value of each pixel point of the pathological image to be processed belonging to the nuclear division image according to the target heat map; the suspected nuclear division significant area determination submodule can be configured to process the probability value through a target threshold to determine the suspected nuclear division significant area in the pathological image to be processed.
[0021] In some embodiments, the target semantic segmentation network includes an encoding network and a decoding network.
[0022] Among them, the target heat map acquisition submodule may include: a first sub-feature map generation unit, a second sub-feature map generation unit, a second fusion feature map generation unit and a target heat map generation unit.
[0023] Among them, the first sub-feature map generation unit can be configured to perform an encoding operation on the pathological image to be processed through the encoding network to obtain the target feature map of the pathological image to be processed, and generate a first sub-feature map in the process of encoding the pathological image to be processed; the second sub-feature map generation unit can be configured to perform a first decoding operation on the target feature map through the decoding network to generate a second sub-feature map; the second fused feature map generation unit can be configured to perform feature fusion on the first sub-feature map and the second sub-feature map through the decoding network to generate a second fused feature map; the target heat map generation unit can be configured to perform a second decoding operation on the second fused feature map through the decoding network to generate the target heat map.
[0024] In some embodiments, the suspected nuclear division significant area determination module may also include: a pathological image sample acquisition submodule, a training sample block acquisition submodule, a training heat map acquisition submodule, a training nuclear division significant area determination submodule, a training loss determination submodule and a parameter adjustment submodule.
[0025] Among them, the pathological image sample acquisition submodule can be configured to acquire a pathological image sample, and the pathological image sample indicates the centroid pixel position of the nuclear division image through a target label; the training sample block acquisition submodule can be configured to determine the training sample block including the nuclear division image in the pathological image sample according to the centroid pixel position of the nuclear division image; the training heat map acquisition submodule can be configured to input the pathological image sample into the target semantic segmentation network to obtain a training heat map; the training nuclear division significant area determination submodule can be configured to determine the training nuclear division significant area in the pathological image sample according to the training heat map; the training loss determination submodule can be configured to determine the training loss according to the training nuclear division significant area and the training sample block; the parameter adjustment submodule can be configured to adjust the parameters of the target semantic segmentation network according to the training loss to complete the training of the target semantic segmentation network.
[0026] In some embodiments, the training sample image block acquisition submodule may include: a target image block acquisition unit, a V channel image acquisition unit, a gradient change map acquisition unit, a foreground part determination unit, and a training sample image block determination unit.
[0027] Among them, the target image block acquisition unit can be configured to intercept the target image block in the pathological image sample according to the centroid pixel position of the nuclear division image; the V channel image acquisition unit can be configured to convert the target image block into the HSV color space and extract the V channel image of the target image block; the gradient change map acquisition unit can be configured to determine the gradient change map of the V channel image; the foreground part determination unit can be configured to determine the foreground part and the background part in the gradient change map; the training sample block determination unit can be configured to determine the training sample block including the nuclear division image in the pathological image sample according to the foreground part of the gradient change map.
[0028] In some embodiments, the suspected prominent nuclear division region includes a first suspected prominent nuclear division region and a second suspected prominent nuclear division region.
[0029] The suspected nuclear fission significant region determination module may include: a first confidence acquisition submodule, a second confidence acquisition submodule, an area ratio determination submodule, and a removal submodule.
[0030] Among them, the first confidence acquisition submodule can be configured to obtain a first confidence that the first suspected significant nuclear fission region is the suspected significant nuclear fission region; the second confidence acquisition submodule can be configured to obtain a second confidence that the second suspected significant nuclear fission region is the suspected significant nuclear fission region, and the second confidence is greater than the first confidence; the area ratio determination submodule can be configured to determine the area ratio of the first suspected significant nuclear fission region relative to the second suspected significant nuclear fission region; the elimination submodule can be configured to eliminate the first suspected significant nuclear fission region whose area ratio is greater than the area threshold.
[0031] In some embodiments, the cropping module may include: a centroid determination submodule, a second tile determination submodule, and a first tile determination submodule.
[0032] Among them, the center of mass determination submodule can be configured to determine the center of mass of the suspected significant nuclear division area in the image to be processed; the second block determination submodule can be configured to use the center of mass as a base point to cut out the second block in the image to be processed through a second graphic; the first block determination submodule can be configured to use the center of mass as a base point to cut out the first block in the image to be processed through a first graphic, and the first graphic and the second graphic have different sizes.
[0033] In some embodiments, the first block determination submodule includes: a target circumscribed shape determination unit, a first block determination unit, and the second block determination submodule may include: a second block determination unit.
[0034] Among them, the target circumscribed shape determination unit can be configured to determine the target circumscribed shape of the suspected significant nuclear division area in the pathological image to be processed with the centroid as the base point, and the target circumscribed shape is the first figure; the first block determination unit can be configured to determine the first block in the pathological image to be processed according to the target circumscribed shape; the second block determination unit can be configured to determine the second block including the first block in the pathological image to be processed, and the shape of the second block is the second figure.
[0035] An embodiment of the present disclosure provides an electronic device, which includes: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement any of the above-mentioned image processing methods.
[0036] The embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the image processing method as described in any one of the above items is implemented.
[0037] The present disclosure provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device performs the above-mentioned image processing method.
[0038] The image processing method, device, electronic device and computer-readable storage medium provided by the embodiment of the present disclosure first determine a suspected significant nuclear division region in the pathological image to be processed; then, based on the suspected significant nuclear division region, a second image block including the suspected significant nuclear division region and a first image block including both the suspected significant nuclear division region and the surrounding background information are cut out in the pathological image to be processed; then, feature extraction and fusion are performed on the first image block and the second image block to obtain a first fused feature map, which includes both feature information of the suspected significant nuclear division region and feature information of the surrounding background area of the suspected significant nuclear division region; finally, based on the first fused feature map, it is determined whether the suspected significant nuclear division region is a target significant nuclear division region including a nuclear division image. Through the above method. On the one hand, the target significant nuclear division region including a nuclear division image can be automatically and efficiently determined in the pathological image to be processed; on the other hand, whether the suspected significant nuclear division region includes a nuclear division image is judged in combination with the surrounding background area of the suspected significant nuclear division region, which greatly improves the accuracy of judging the nuclear division image.
[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. The drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can also be obtained based on these drawings without creative work.
[0041] Figure 1 A schematic diagram showing an exemplary system architecture of an image processing method or an image processing device applied to an embodiment of the present disclosure.
[0042] Figure 2 The diagram is a schematic structural diagram of a computer system applied to an image processing apparatus according to an exemplary embodiment.
[0043] Figure 3 The figure is a flowchart of an image processing method according to an exemplary embodiment.
[0044] Figure 4 is a schematic diagram of a pathological image according to an exemplary embodiment.
[0045] Figure 5 is a schematic diagram of a first background learning branch network (and a second background learning branch network) according to an exemplary embodiment.
[0046] Figure 6 A method for determining a suspected significant nuclear division region in an image to be processed by deep learning is shown according to an exemplary embodiment.
[0047] Figure 7 A target semantic segmentation network is shown according to an exemplary embodiment, which can determine a suspected salient nuclear division region in an image to be processed.
[0048] Figure 8 is a heat map shown according to an exemplary embodiment.
[0049] Fig. 9 A method for training a target semantic segmentation network is shown according to an exemplary embodiment.
[0050] Fig.10 is a schematic diagram of a pathological image sample according to an exemplary embodiment.
[0051] Fig.11 yes Fig. 9 FIG. 1 is a schematic diagram of step S212 in an exemplary embodiment.
[0052] Fig.12 The diagram is a schematic diagram showing a method of generating a strong label for a pathological image sample according to an exemplary embodiment.
[0053] Fig.13 yes Figure 3 Flowchart of step S7 in an exemplary embodiment.
[0054] Fig.14 The present invention is a network structure diagram for determining a target nuclear division significant region according to an exemplary embodiment.
[0055] Fig.15 is a block diagram of an image processing apparatus according to an exemplary embodiment. DETAILED DESCRIPTION
[0056] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0057] The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.
[0058] The accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some block diagrams shown in the accompanying drawings do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0059] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and steps, nor must they be executed in the order described. For example, some steps can be decomposed, and some steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0060] In this specification, the terms "a", "an", "the", "said" and "at least one" are used to indicate the presence of one or more elements / components / etc.; the terms "comprising", "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first", "second" and "third" etc. are used only as labels and are not intended to limit the quantity of their objects.
[0061] The exemplary embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0062] Figure 1 A schematic diagram showing an exemplary system architecture that can be applied to an image processing method or an image processing device according to an embodiment of the present disclosure.
[0063] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0064] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, wearable devices, virtual reality devices, smart homes, etc.
[0065] The server 105 may be a server that provides various services, such as a background management server that provides support for devices operated by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received request data, and feed back the processing results to the terminal device.
[0066] The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, as well as big data and artificial intelligence platforms, etc. The present disclosure does not impose any restrictions on this.
[0067] The server 105 can, for example: obtain a pathological image to be processed; determine a suspected significant nuclear fission area in the pathological image to be processed; crop the pathological image to be processed to obtain a first tile and a second tile of different sizes, the first tile and the second tile both include the suspected significant nuclear fission area, and the first tile also includes the surrounding background area of the suspected significant nuclear fission area; use a first background learning branch network to perform feature extraction processing on the first tile to obtain a first feature map, the first feature map includes feature information of the surrounding background area of the suspected significant nuclear fission area; use a second background learning branch network to perform feature extraction processing on the second tile to obtain a second feature map, the second background learning branch network and the first background learning branch network have different depths; perform feature fusion processing on the first feature map and the second feature map to obtain a first fused feature map; and determine a target significant nuclear fission area including a nuclear fission image in the pathological image to be processed according to the first fused feature map.
[0068] It should be understood that Figure 1 The number of terminal devices, networks and servers in the figure is only for illustration. The server 105 may be a physical server or may be composed of multiple servers. According to actual needs, it may have any number of terminal devices, networks and servers.
[0069] Reference below Figure 2 , which shows a schematic diagram of the structure of a computer system 200 of a terminal device or server suitable for implementing an embodiment of the present application. Figure 2 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0070] like Figure 2 As shown, the computer system 200 includes a central processing unit (CPU) 201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 202 or a program loaded from a storage part 208 into a random access memory (RAM) 203. In the RAM 203, various programs and data required for the operation of the computer system 200 are also stored. The CPU 201, the ROM 202, and the RAM 203 are connected to each other via a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204.
[0071] The following components are connected to the I / O interface 205: an input section 206 including a keyboard, a mouse, etc.; an output section 207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 208 including a hard disk, etc.; and a communication section 209 including a network interface card such as a LAN card, a modem, etc. The communication section 209 performs communication processing via a network such as the Internet. A drive 210 is also connected to the I / O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 210 as needed, so that a computer program read therefrom is installed into the storage section 208 as needed.
[0072] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 209, and / or installed from a removable medium 211. When the computer program is executed by the central processing unit (CPU) 201, the above-mentioned functions defined in the system of the present application are executed.
[0073] It should be noted that the computer-readable storage medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium that can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0074] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0075] The modules and / or submodules and / or units involved in the embodiments of the present application may be implemented in software or in hardware. The modules and / or submodules and / or units described may also be provided in a processor, for example, may be described as: a processor including a sending unit, an acquiring unit, a determining unit, and a first processing unit. The names of these modules and / or submodules and / or units do not, in certain circumstances, constitute limitations on the modules and / or submodules and / or units themselves.
[0076] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by a device, the device can realize functions including: obtaining a pathological image to be processed; determining a suspected significant nuclear fission area in the pathological image to be processed; cropping the pathological image to be processed to obtain a first block and a second block of different sizes, the first block and the second block both include the suspected significant nuclear fission area, and the first block also includes the surrounding background area of the suspected significant nuclear fission area; using a first background learning branch network to perform feature extraction processing on the first block to obtain a first feature map, the first feature map includes feature information of the surrounding background area of the suspected significant nuclear fission area; using a second background learning branch network to perform feature extraction processing on the second block to obtain a second feature map, the second background learning branch network and the first background learning branch network have different depths; performing feature fusion processing on the first feature map and the second feature map to obtain a first fused feature map; according to the first fused feature map, determining a target significant nuclear fission area including a nuclear fission image in the pathological image to be processed.
[0077] In the disclosed embodiment, computer vision (CV) technology and machine learning (ML) technology in artificial intelligence (AI) technology are involved. Through machine learning technology and computer vision technology in artificial intelligence technology, the following are achieved: obtaining a pathological image to be processed; determining a suspected significant nuclear division area in the pathological image to be processed; cropping the pathological image to be processed to obtain a first block and a second block of different sizes, the first block and the second block both include the suspected significant nuclear division area, and the first block also includes the surrounding background area of the suspected significant nuclear division area; using a first background learning branch network to perform feature extraction processing on the first block to obtain a first feature map, the first feature map includes feature information of the surrounding background area of the suspected significant nuclear division area; using a second background learning branch network to perform feature extraction processing on the second block to obtain a second feature map, the second background learning branch network and the first background learning branch network have different depths; performing feature fusion processing on the first feature map and the second feature map to obtain a first fused feature map; according to the first fused feature map, determining a target significant nuclear division area including a nuclear division image in the pathological image to be processed.
[0078] Among them, artificial intelligence is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.
[0079] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. The basic technologies of artificial intelligence generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0080] Computer vision technology is a science that studies how to make machines "see". To put it more specifically, it refers to machine vision that uses cameras and computers to replace human eyes to identify, track and measure targets, and further performs graphic processing to make computer processing into images that are more suitable for human eye observation or transmission to instruments for detection. As a scientific discipline, computer vision studies related theories and technologies, and attempts to establish an artificial intelligence system that can obtain information from images or multi-dimensional data. Computer vision technology usually includes image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous positioning and mapping, and other technologies, as well as common biometric recognition technologies such as face recognition and fingerprint recognition.
[0081] Machine learning is a multi-disciplinary subject that involves probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and self-learning.
[0082] The following will explain in detail how to implement the above image processing method in conjunction with embodiments.
[0083] Figure 3 is a flowchart of an image processing method according to an exemplary embodiment. The method provided by the embodiment of the present disclosure can be executed by any electronic device with computing and processing capabilities. For example, the method can be executed by the above Figure 1 The server or terminal device in the embodiment may be executed, or the server and the terminal device may be executed together. In the following embodiments, the server is used as the execution subject for example, but the present disclosure is not limited to this.
[0084] Reference Figure 3 The image processing method provided by the embodiment of the present disclosure may include the following steps.
[0085] In step S1, a pathological image to be processed is acquired.
[0086] Pathology refers to the process and principle of disease occurrence and development, that is, the cause of disease occurrence, the pathogenesis, and the changes and laws of the structure, function and metabolism of cells, tissues and organs that occur during the disease process.
[0087] Pathological images may refer to images that can be used to study the causes of disease, pathogenesis, and changes in the structure, function, and metabolism of cells, tissues, and organs that occur during the disease process, and their laws. For example, pathological images that can be detected by a microscope system, etc., are not limited in this disclosure.
[0088] In step S2, a suspected significant nuclear division region is determined in the pathological image to be processed.
[0089] Cell division is the basis of cell metabolism and reproduction. It is mainly in the form of cell nucleus division. Cell division is divided into two types: amitosis and mitosis. The general nuclear division image refers to mitosis, that is, the cell's filaments use the centrosome as the core to divide the chromosomes formed by chromatin aggregation into two, and further divide the cell into two, completing the cell division cycle. The nuclear division images shown during cell division can be divided into the following types: [1] Normal nuclear division image: that is, the normal division image, which can be seen in normal cells with metabolism, cells repaired after cell damage, inflammatory cells, and tumor cells. The number of malignant cells is increased. [2] Pathological nuclear division image: only seen in malignant tumor cells. During the cell division process, the chromosomes can be divided into multiple poles, such as 3 poles, 4 poles, 5 poles or even more irregular shapes. In this way, a tumor cell can be divided into 3, 4, 5 or more cells during division, so malignant tumors grow faster. [3] Abnormal mitotic figures: such as aborted and aborted mitotic figures, i.e., the chromosomes divide asymmetrically or disorderly when they divide into two, making it difficult to complete the cell division cycle and resulting in abortion. The number and morphology of mitotic figures are important indicators in medical diagnosis. The present disclosure does not limit the types of mitotic figures, and any type of mitotic figure is within the scope of protection of the present disclosure.
[0090] In order to accurately determine the target mitotic significant region including the mitotic image in the pathological image to be processed, the suspected mitotic significant region suspected to include the mitotic image can be first determined in the image to be processed. Figure 4 The dark part circled by the dotted line shown in the figure may be the suspected significant nuclear division area.
[0091] In some embodiments, the suspected significant nuclear division area can be determined in the pathological image to be processed by traditional image processing methods such as image recognition and image segmentation, or by deep learning, and the present disclosure does not impose any restrictions on this.
[0092] In some embodiments, there may be multiple suspected significant nuclear division regions determined in the image to be processed, and the multiple suspected significant nuclear division regions may overlap. In order to improve detection efficiency, the overlapping suspected significant nuclear division regions may be eliminated by the following method.
[0093] Assuming that the suspected significant nuclear fission region in the image to be processed includes a first suspected significant nuclear fission region and a second suspected significant nuclear fission region, a first confidence that the first suspected significant nuclear fission region is a suspected significant nuclear fission region and a second confidence that the second suspected significant nuclear fission region is a suspected significant nuclear fission region can be obtained; when it is judged that the second confidence is greater than the first confidence, the area ratio of the first suspected significant nuclear fission region to the second suspected significant nuclear fission region can be further determined (conversely, if it is judged that the second confidence is less than the first confidence, the area ratio of the second suspected significant nuclear fission region to the first suspected significant nuclear fission region can be determined); the first suspected significant nuclear fission region whose area ratio is greater than the area threshold is eliminated (if it is judged that the second confidence is less than the first confidence, the second suspected significant nuclear fission region whose area ratio is greater than the area threshold is eliminated).
[0094] In step S3, the pathological image to be processed is cropped to obtain a first block and a second block of different sizes, wherein the first block and the second block both include the suspected significant nuclear division area, and the first block also includes the surrounding background area of the suspected significant nuclear division area.
[0095] In some embodiments, when a suspected significant nuclear division region is identified (e.g. Figure 4 The dark part in the dotted line shown in the figure can further determine the centroid of the suspected significant nuclear division area, and then use the centroid as the base point to cut out a first block in the image to be processed through a first graphic; use the centroid as the base point to cut out a second block in the image to be processed through a second graphic, and the first graphic and the second graphic have different sizes so that the background information contained in the first block and the second block is different.
[0096] For example, the center of mass of the suspected significant nuclear division area can be used as a base point (the base point can be a center point, such as the center of a circle, the center of a square, etc.), and the target circumscribed shape (such as a target circumscribed envelope edge square) of the suspected significant nuclear division area can be determined in the pathological image to be processed. The target circumscribed shape can be a second figure, and the second image block is determined in the pathological image to be processed according to the target circumscribed shape. Generally speaking, in order to ensure that only one nuclear division image is included in the second image block, the size of the second figure should be close to the size of the nuclear division image. For example, assuming that the length of the nuclear division image in a certain direction is about tens of pixels, the second figure can be set to a square with a side length of 100 pixels.
[0097] For another example, a first block including a second block can be determined in the image to be processed with the center of mass of the suspected significant nuclear division region as the base point, and the size of the first block is larger than the second block. For example, the first block can be a square block that can include the second block. It is understandable that in order to ensure that only one nuclear division image is included in the first block, the size of the first block is only slightly larger than the second block. For example, if the second block is a square with a side length of 100 pixels, then the first block can be a square with a side length of 160 pixels.
[0098] In summary, the first image block is an image block that includes both a suspected significant nuclear fission area and a surrounding background area of the suspected significant nuclear fission area; the second image block is an image block that includes a suspected significant nuclear fission area, may include a small amount of surrounding background area of the suspected significant nuclear fission area, or does not include a surrounding background area of the suspected significant nuclear fission area.
[0099] In order to avoid redundant sub-images with excessive overlap between adjacent image blocks during the cropping process, a non-maximum suppression (NMS) method may be used to filter out the first image block (or the second image block) with a high degree of overlap.
[0100] In step S4, a first background learning branch network is used to perform feature extraction processing on the first image block to obtain a first feature map, wherein the first feature map includes feature information of the surrounding background area of the suspected significant nuclear division area.
[0101] In some embodiments, the first background learning branch network can be a common feature extraction module or a network structure such as Figure 5 The first background learning branch network 501 is shown. Figure 5 The first background learning branch network 501 shown can be composed of N branch feature extraction modules (rectangular modules in the figure), where N is a positive integer greater than or equal to 2, and each branch feature extraction module of the first background learning branch network can include two convolutional layers, two activation layers and two normalization layers.
[0102] Next, we will take the Nth branch feature extraction module as an example to explain how the first background learning branch network performs feature extraction processing on the first image block.
[0103] like Figure 5 As shown, assuming that the Nth branch feature extraction module of the first background learning branch network may include a first convolution layer, a second convolution layer, a first activation layer, a second activation layer, a first normalization layer, and a second normalization layer. Then the Nth branch feature extraction module may include the following steps to extract features from the first block.
[0104] The first image block is subjected to feature extraction processing through the first N-1 branch feature extraction modules of the first background learning branch network 501 to obtain a first branch feature map; the first branch feature map is processed through the first normalization layer, the first activation layer and the first convolution layer of the Nth branch feature extraction module to obtain a first branch sub-feature map; the first branch sub-feature map is then processed through the second normalization layer, the second activation layer and the second convolution layer of the Nth branch feature extraction module to obtain a second branch sub-feature map; the second branch sub-feature map is subjected to residual processing through the first branch feature map to obtain a second branch feature map; and the first feature map is determined according to the second branch feature map.
[0105] The feature extraction process of other branch feature extraction modules of the first background learning branch network 501 is similar to this, and this disclosure will not elaborate on it.
[0106] In step S5, a second background learning branch network is used to perform feature extraction processing on the second image block to obtain a second feature map, and the second background learning branch network and the first background learning branch network have different depths.
[0107] like Figure 5 As shown, if the size of the first block is larger than that of the second block, the depth of the first background learning branch network is deeper than the depth of the second background learning branch network. For example, the second background learning branch network has slightly fewer branch feature extraction modules than the first background learning branch network.
[0108] In some embodiments, the feature extraction of the second image block by the second background learning branch network is similar to the feature extraction of the first image block by the first background learning branch network, which is not limited in the present disclosure.
[0109] It is understandable that feature extraction may also be performed on the first image block and the second image block through other feature extraction structures, such as extracting features from the first image block or the second image block through some simple convolutional layers, activation layers, etc., and the present disclosure does not limit this.
[0110] In step S6, feature fusion processing is performed on the first feature map and the second feature map to obtain a first fused feature map.
[0111] In step S7, based on the first fusion feature map, a target nuclear division significant region including a nuclear division image is determined in the pathological image to be processed.
[0112] like Figure 5As shown, feature extraction can be performed on the first block and the second block respectively to obtain a first feature map and a second feature map, and then feature fusion (e.g., full connection) is performed on the first feature map and the second feature map to generate a first fused feature map, and the first fused feature map is used as the final feature map for classification.
[0113] In some other embodiments, after obtaining the first fused feature map of the first feature map and the second feature map, feature extraction can continue to be performed on the first fused feature map to obtain a deep fusion feature, and then classification can be performed based on the deep fusion feature to determine whether the suspected nuclear division significant area is the target nuclear division significant area including the nuclear division image.
[0114] The technical solution provided in this embodiment is to use a background-aware learning deep learning network to receive small-sized tiles (such as the second tile) and large-sized tiles (such as the first tile) of suspected significant areas of nuclear fission during the process of detecting target nuclear fission images. The background-aware learning module of the network processes and fuses the large-sized tiles and the small-sized tiles, and finally inputs the fused feature map into the back end of the network. The function of the background-aware module can be regarded as a weighted fusion of foreground and background information. In this embodiment, by weighted fusion of large-sized tiles and small-sized tiles including suspected significant areas of nuclear fission, in the process of detecting nuclear fission images, both the nuclear fission image itself and the background area around the nuclear fission image are considered, thereby improving the detection accuracy of nuclear fission images.
[0115] The technical solution provided in this embodiment determines a suspected significant nuclear fission area in the pathological image to be processed; then, based on the suspected significant nuclear fission area, a second image block including the suspected significant nuclear fission area and a first image block including both the suspected significant nuclear fission area and the surrounding background information are cut out in the pathological image to be processed; then, feature extraction and fusion are performed on the first image block and the second image block to obtain a first fused feature map, which includes both feature information of the suspected significant nuclear fission area and feature information of the surrounding background area of the suspected significant nuclear fission area; finally, based on the first fused feature map, it is determined whether the suspected significant nuclear fission area is a target significant nuclear fission area including a nuclear fission image. Through the above method. On the one hand, the target significant nuclear fission area including a nuclear fission image can be automatically and efficiently determined in the pathological image to be processed; on the other hand, whether the suspected significant nuclear fission area includes a nuclear fission image is judged in combination with the surrounding background area of the suspected significant nuclear fission area, which greatly improves the accuracy of judging the nuclear fission image.
[0116] In some embodiments, Figure 3 Step 2 shown can be implemented through traditional image processing methods such as image recognition and image segmentation, or can be implemented through deep learning methods, and the present disclosure does not impose any restrictions on this.
[0117] This embodiment will take a deep learning method as an example to explain how to determine a suspected significant nuclear division region in an image to be processed.
[0118] In some embodiments, the pathological image to be processed can be semantically segmented through a target semantic segmentation network to obtain a target heat map of the pathological image to be processed. The present disclosure does not limit the semantic segmentation network, and any network that can achieve semantic segmentation for the image to be processed is within the protection scope of the present disclosure; then, the probability value of each pixel point of the pathological image to be processed belonging to the nuclear division image is determined according to the target heat map; the probability value is processed through a target threshold to determine the suspected significant nuclear division area in the pathological image to be processed.
[0119] The size of the target heat map (i.e., spatial density estimation) may be equal to the size of the image to be processed, and the pixel value of the target heat map may represent the probability value that the corresponding pixel point in the image to be processed belongs to a nuclear division image.
[0120] Figure 6 A method for determining a suspected significant nuclear division region in an image to be processed by deep learning is shown according to an exemplary embodiment.
[0121] Figure 7 A target semantic segmentation network is shown according to an exemplary embodiment, which can determine a suspected salient nuclear division region in an image to be processed.
[0122] Combination Figure 7 The target semantic segmentation network shown, the above method for determining a suspected significant nuclear division area in an image to be processed may include the following steps.
[0123] In step S21, an encoding operation is performed on the pathological image to be processed through the encoding network to obtain a target feature map of the pathological image to be processed, and a first sub-feature map is generated in the process of encoding the pathological image to be processed.
[0124] like Figure 7 As shown, multiple hierarchical convolutional layers and pooling layers in the encoding network of the target semantic segmentation network can be used to perform convolution dimensionality reduction on the pathological image to be processed, and the high-dimensional pathological image to be processed can be encoded into a target feature map with lower dimensionality.
[0125] After encoding is completed, the decoding network of the target semantic segmentation network can use a deconvolution layer or an upsampling layer to perform a deconvolution operation on the target feature map to obtain a target heat map of the image to be processed.
[0126] In order to improve the accuracy of pixel-level density estimation of the image to be processed (ie, the probability value corresponding to each pixel point in the target heat map), this embodiment further provides a skip connection method, see steps S22 to S25 for details.
[0127] In step S22, a first decoding operation is performed on the target feature map through the decoding network to generate a second sub-feature map.
[0128] like Figure 7 As shown, a partial structure in the decoding network can be used to perform a first decoding operation on the target feature map to obtain a second sub-feature map.
[0129] In step S23, the first sub-feature map and the second sub-feature map are feature fused through the decoding network to generate a second fused feature map.
[0130] Then, the first sub-feature map generated in the encoding process is fused with the second sub-feature map to generate a second fused feature map, so as to fuse the low-level feature map in the encoding network into the middle layer of the decoding network.
[0131] In step S24, a second decoding operation is performed on the second fused feature map through the decoding network to generate the target heat map.
[0132] Finally, the second decoding operation is continued on the second fused feature map to obtain Figure 8 Target heatmap shown.
[0133] The above method can obtain a nonlinear, local-to-global feature map, which not only integrates the underlying visual features and high-level semantic information, but also improves the segmentation performance of small objects.
[0134] In step S25, the probability value of each pixel point of the pathological image to be processed belonging to the mitotic image is determined according to the target heat map.
[0135] In step S26, the probability value is processed by a target threshold value to determine the suspected significant nuclear division region in the pathological image to be processed.
[0136] In some embodiments, the target heat map gives the probability value of each pixel in the image to be processed belonging to a mitotic cell. Figure 8 As shown, each highlighted area in the target heat map can represent the location and size of a suspected mitotic cell.
[0137] In some embodiments, a target threshold may be preset to distinguish the highlighted area in the target heat map as the suspected significant nuclear division area.
[0138] In order to avoid missing the target nuclear division significant area, a lower target threshold can be used to binarize the target heat map to obtain the suspected nuclear division significant area. By setting the target threshold, the detection area of the target nuclear division image can be reduced as much as possible, and the missed selection of nuclear division images can be avoided.
[0139] After obtaining the suspected significant nuclear division area, the image morphological operation can be used to process the binarized image to filter out isolated noise points.
[0140] The technical solution provided in this embodiment, on the one hand, accurately finds suspected significant nuclear division areas in the pathological image to be processed through the processing of the encoding network and the decoding network, which not only improves the detection efficiency and accuracy of suspected significant nuclear division areas, but also avoids false positives and missed detections; on the other hand, all suspected significant nuclear division areas in the pathological image to be processed are found as much as possible through the setting of the target threshold, avoiding missed detections of suspected significant nuclear division areas.
[0141] Generally speaking, before using the above target semantic segmentation network, it is necessary to train the target semantic segmentation network through samples.
[0142] Fig. 9 A training method for a target semantic segmentation network is shown according to an exemplary embodiment. Fig. 9 , the training method of the above-mentioned target semantic segmentation network may include the following steps.
[0143] In step S211, a pathological image sample is acquired, wherein the pathological image sample indicates the centroid pixel position of the nuclear division image through a target label.
[0144] In some embodiments, the pathological image sample usually indicates the centroid (also referred to as the center) pixel position of the training mitotic image through a target label.
[0145] In step S212, a training sample block including the mitotic image is determined in the pathological image sample according to the centroid pixel position of the mitotic image.
[0146] In some embodiments, a training sample block can be determined in the pathological image sample with the centroid pixel position as the base point, for example, a circle (or a square, a rectangle, etc., which is not limited in the present disclosure) can be drawn with the centroid pixel position as the base point to generate a training sample block; the outline of the nuclear division image can also be determined as much as possible at the centroid position to generate a training sample block, which is not limited in the present disclosure.
[0147] In step S213, the pathological image sample is input into the target semantic segmentation network to obtain a training heat map.
[0148] In some embodiments, the pathological image samples can be input into the target semantic segmentation network, and the training heat map of the pathological image samples can be obtained through the encoding network and decoding network of the target semantic segmentation network. The training heat map can display the location of the nuclear division image through the highlighted area.
[0149] In step S214, a training nuclear division significant region is determined in the pathological image sample according to the training heat map.
[0150] The training heat map may represent the probability value of each pixel in the pathological image sample belonging to a mitotic image, and the training mitotic significant region may be determined in the pathological image sample according to the probability value.
[0151] In step S215, a training loss is determined according to the training nucleus splitting significant region and the training sample block.
[0152] In step S216, the parameters of the target semantic segmentation network are adjusted according to the training loss to complete the training of the target semantic segmentation network.
[0153] The training loss between the training nuclear fission salient region and the corresponding training sample block is calculated, and the parameters of the target semantic segmentation network are reversely modified through the training loss to complete the training of the target semantic segmentation network.
[0154] In some embodiments, the target semantic segmentation network can be trained by pathological image samples, and the pathological image samples can indicate the rough location area of the nuclear division image by a weak label and the accurate location area of the nuclear division image by a strong label.
[0155] Among them, weak labels can refer to the area obtained by drawing a circle with the center of mass of the nuclear division image as the label (such as Fig.10 As shown in the figure, a strong label may refer to a label of a mitotic image with its outline. The above weak labels can only indicate the approximate position and shape of mitotic images; the above strong labels can more accurately indicate the specific position and shape of mitotic images, making the target heat map obtained by the trained target semantic segmentation network more accurate.
[0156] The following will explain how to generate strong labels for pathological image samples in conjunction with specific embodiments.
[0157] Fig.11 yes Fig. 9 FIG. 1 is a schematic diagram of step S212 in an exemplary embodiment.
[0158] refer to Fig.11 , the above step S212 may include the following steps.
[0159] In step S2121, a target image block is intercepted from the pathological image sample according to the centroid pixel position of the nuclear division image (see Fig.12 first image on the left).
[0160] like Fig.12 As shown, a square (or other shapes) can be intercepted with the centroid pixel position of the nuclear division image as the base point to serve as the target image block.
[0161] It can be understood that the target image block includes both the nuclear division image and the surrounding background of the nuclear division image.
[0162] In step S2122, the target image block is converted to the HSV color space, and the V channel image of the target image block is extracted (see Fig.12 second image from the left).
[0163] In step S2123, the gradient change map of the V channel image is determined (see Fig.12 third picture from the left).
[0164] In some embodiments, the gradient change map may represent the gradient change between each pixel point in the V channel image.
[0165] In step S2124, the foreground part and the background part are determined in the gradient change map (see Fig.12 The highlight and background in the third image from the left).
[0166] In some embodiments, the foreground part and the background part may be determined in the V channel image according to the gradient change map, so as to determine the position of the nuclear division image through the foreground part as much as possible through the V channel image.
[0167] It should be noted that there may be noise (i.e., small connected domains) in the gradient change graph determined by the V channel. In this embodiment, denoising is also required to reduce the noise. Fig.12 The third picture on the left is processed into Fig.12 The fourth figure on the left, and according to Fig.12 The fourth image from the left identifies the foreground portion.
[0168] Fig.12 The right side shows the effect of determining the target image block in the pathological image sample according to the disclosed method. Fig.12 (a) Fig.12 (c) is the original pathological image sample, Fig.12 (b) and Fig.12 (d) is the approximate outline of the corresponding nuclear division image in the V channel image. It can be understood that since the V channel image and the pathological image sample are one-to-one corresponding, Fig.12 (b) and Fig.12 The outline of the mitotic cell shown in (d) corresponds to the outline of the mitotic cell in the pathological image sample.
[0169] In step S2125, a training sample block including the mitotic image is determined in the pathological image sample according to the foreground portion of the gradient change map.
[0170] In some embodiments, since the size of the V channel image is consistent with the image size of the pathological image sample, if the outline and position of the mitotic image are determined in the V channel image, then the outline and position of the mitotic image in the corresponding pathological image sample are also determined.
[0171] In order to improve the accuracy of nuclear division image detection, the present disclosure can use a weak label such as an approximate circle with the center position as the center of mass to train the target semantic segmentation network; in order to further improve the accuracy of nuclear division image detection, the target semantic segmentation network can also be trained by the above-mentioned pixel-level contour label, and the present disclosure does not impose any restrictions on this.
[0172] Generally speaking, the imaging of pathological images is related to many factors, such as different dye concentrations, different pathological tissues, different models or different scanning parameters, etc., which will cause different staining styles to the acquired pathological images. This difference has a relatively small impact on the human eye. Although the colors are slightly different, they can still be distinguished. However, for the pathological image analysis algorithm (such as the image processing method provided by the disclosed embodiment), it may not be able to adapt to different staining styles. In order to make the pathological image analysis algorithm suitable for pathological pictures with inconsistent staining styles, it is necessary to use a staining normalization method to process this color difference before using the pathological image (such as using the pathological image to be processed or the pathological image sample). The principle is to standardize all images in the data set to the same target image color distribution. Common staining normalization methods include grayscale histogram normalization, RGB color channel normalization and spectral normalization. Among them, grayscale histogram normalization requires that the grayscale distribution of the image is similar, and RGB color channel normalization requires the use of a supervised algorithm for color conversion, which usually requires a large amount of calculation, while spectral normalization uses a spectral matching method, which has a relatively small amount of calculation.
[0173] The disclosed embodiment can adopt a method of RGB color channel normalization, extract a dyed color matrix for each sample in the data set, perform cluster analysis on the color matrices of these samples, and find a color matrix that is relatively more similar to other color matrices as the target color matrix. The target color matrix is used as supervision information to train a color conversion model to convert all samples in the data set to the dyeing style. The pathological image to be processed or the pathological image sample obtained by this method is used to detect nuclear division images, and the accuracy of nuclear division image detection can be provided.
[0174] Fig.13 yes Figure 3 Flowchart of step S7 in an exemplary embodiment.
[0175] like Fig.11 As described in the embodiment, when determining the target nuclear division image, feature extraction can be performed on the first image block and the second image block respectively to obtain a first feature map and a second feature map, and then feature fusion (for example, full connection) is performed on the first feature map and the second feature map to generate a first fused feature map, and the first fused feature map is used as the final feature map for classification; or after obtaining the first fused feature map of the first feature map and the second feature map, feature extraction processing can be performed on the first fused feature map to obtain a deep fusion feature, and then the deep fusion feature is determined according to the second intermediate fusion feature map, and finally the deep fusion feature is classified by the target classifier to determine whether the suspected nuclear division significant area includes the nuclear division image. If the suspected nuclear division significant area includes the nuclear division image, the suspected nuclear division significant area is the target nuclear division significant area.
[0176] In the following, an embodiment will be used to specifically describe how to obtain a deep fusion feature map based on the first fusion feature map, and determine whether the suspected mitosis significant area includes a mitotic image based on the deep fusion feature map.
[0177] In some embodiments, the deep fusion feature can be obtained by extracting features from the first fusion feature map through a background fusion learning network. Fig.14 As shown, the background fusion learning network includes at least M fusion learning modules (e.g., 161, 162, 163, 164, ...), where M is a positive integer greater than or equal to 2, and the M fusion learning modules can be connected through a connection layer.
[0178] Among them, each fusion learning module may include multiple parallel feature extraction branch structures, and each feature extraction branch structure may include at least one convolution layer or pooling layer.
[0179] The deep fusion feature extraction process will be explained below using the Mth fusion learning module in the background learning network.
[0180] Assume that the Mth fusion learning module in the background fusion learning network includes convolution layer 1, convolution layer 2 and pooling layer. It is understandable that the fusion learning module may include more parallel feature extraction modules, such as the structure shown in 144, and the present disclosure does not limit this.
[0181] Then the deep fusion feature extraction process may include steps S71 to S76.
[0182] In step S71, the first fusion feature map is processed by the first M-1 fusion learning modules of the background fusion learning network to obtain a first intermediate fusion feature map.
[0183] In step S72, the first intermediate fusion feature map is processed by the convolution layer to obtain a first intermediate fusion sub-feature map.
[0184] In step S73, the first intermediate fusion feature map is processed by the convolution layer 2 to obtain a second intermediate fusion sub-feature map.
[0185] In step S74, the first intermediate fusion feature map is processed by the pooling layer to obtain a third intermediate fusion sub-feature map.
[0186] It is understandable that more feature extraction structures (such as other convolutional layers, pooling layers, etc.) may be connected in series after the convolutional layer 1, the convolutional layer 2, and the pooling layer, and the present disclosure does not impose any limitation on this.
[0187] In step S75, the first intermediate fusion sub-feature map, the second intermediate fusion sub-feature map and the third intermediate fusion sub-feature map are fused to obtain a second intermediate fusion feature map;
[0188] In step S76, the deep fusion feature is determined according to the second intermediate fusion feature map.
[0189] After obtaining the second intermediate fusion feature, if there is a feature extraction structure after the Mth fusion learning module, feature extraction will continue to be performed on the second intermediate fusion feature. If there is no feature extraction structure after the Mth fusion learning module, the second intermediate fusion feature will be directly used as the deep fusion feature.
[0190] In step S77, the deep fusion features are classified by a target classifier to determine whether the suspected significant nuclear division region includes the nuclear division image.
[0191] In some embodiments, the target classifier may be a classifier such as softmax, which is not limited in the present disclosure.
[0192] In some embodiments, the target classifier can give a probability value of each feature point in the deep fusion feature being a target nuclear fission-significant region, and based on the probability value, it can be determined whether the suspected nuclear fission-significant region is the target nuclear fission-significant region.
[0193] In step S78, if the suspected significant nuclear division region includes the nuclear division image, the suspected significant nuclear division region is the target significant nuclear division region.
[0194] Compared with the construction methods of general convolutional networks and fully connected networks, the background learning fusion learning network architecture provided in this embodiment uses a sparse connection method to construct an asymmetric network structure, and adopts a multi-branch parallel structure, which can improve the learning ability of the network. The asymmetry of the background learning fusion learning network architecture specifically splits the symmetrical two-dimensional convolution kernel (for example, 5×5) into two smaller one-dimensional convolution kernels (i.e., 5×1 and 1×5), which reduces the number of parameters on the one hand and reduces model overfitting on the other hand. The background learning fusion learning network adopts this asymmetric network structure to expand the depth and width, which can not only maintain the sparsity of the network structure, but also utilize the high computing performance of dense matrices. In summary, the technical solution provided in this embodiment can not only reduce the amount of calculation, expand the depth and width of the network, but also improve the accuracy and efficiency of nuclear division image detection.
[0195] In combination with all the above steps, the present disclosure provides an embodiment of an image processing method, which specifically includes the following two steps.
[0196] Step 1: Take a pathological image to be processed; perform an encoding operation on the pathological image to be processed through the encoding network of the target semantic segmentation network to obtain a target feature map of the pathological image to be processed, and generate a first sub-feature map in the process of encoding the pathological image to be processed; perform a first decoding operation on the target feature map through the decoding network of the encoding network of the target semantic segmentation network to generate a second sub-feature map; perform feature fusion of the first sub-feature map and the second sub-feature map through the decoding network of the target semantic segmentation network to generate a second fused feature map; perform a second decoding operation on the second fused feature map through the decoding network of the target semantic segmentation network to generate a target heat map; determine the probability value of each pixel point of the pathological image to be processed belonging to a nuclear division image according to the target heat map; process the probability value through a target threshold to determine the suspected nuclear division significant area in the pathological image to be processed; crop the pathological image to be processed to obtain a first block and a second block of different sizes, the first block and the second block both include a suspected nuclear division significant area, and the first block also includes a surrounding background area of the suspected nuclear division significant area.
[0197] Among them, the target semantic segmentation network can be trained by the following method.
[0198] Acquire a pathological image sample, wherein the pathological image sample indicates the centroid pixel position of the nuclear division image through a target label; intercept a target image block in the pathological image sample according to the centroid pixel position of the nuclear division image; convert the target image block to the HSV color space, and extract the V channel image of the target image block; determine a gradient change map of the V channel image; determine a foreground part and a background part in the gradient change map; determine a training sample block including the nuclear division image in the pathological image sample according to the foreground part of the gradient change map; input the pathological image sample into the target semantic segmentation network to obtain a training heat map; determine a training nuclear division significant area in the pathological image sample according to the training heat map; determine a training loss according to the training nuclear division significant area and the training sample block; and adjust the parameters of the target semantic segmentation network according to the training loss to complete the training of the target semantic segmentation network.
[0199] Step 2:
[0200] The first image block is subjected to feature extraction processing using the first background learning branch network to obtain a first feature map, and the first feature map includes feature information of the surrounding background area of the suspected nuclear fission significant area; the second image block is subjected to feature extraction processing using the second background learning branch network to obtain a second feature map, and the second background learning branch network and the first background learning branch network have different depths; the first feature map and the second feature map are subjected to feature fusion processing to obtain a first fused feature map; the first fused feature map is subjected to feature extraction using the background fusion learning network to obtain deep fusion features; the deep fusion features are subjected to classification processing using the target classifier to determine whether the suspected nuclear fission significant area includes a nuclear fission image; if the suspected nuclear fission significant area includes a nuclear fission image, the suspected nuclear fission significant area is the target nuclear fission significant area. It should be noted that the training process of the above-mentioned first background learning branch network, the second background learning branch network and the background fusion learning network can be trained based on the labeled first image block samples and the second image block samples, and this will not be repeated in the present disclosure.
[0201] This solution provides a complete training and prediction process for a mitotic image detection system.
[0202] In the training phase, pathological images containing mitotic cells are used to train an end-to-end target semantic segmentation network. The training set also needs to provide annotations for mitotic cells. The label of a single centroid pixel can be expanded to a weak label of a circular area or a strong label including the outline of the mitotic image (the specific process is not repeated here). The target semantic segmentation network obtained by training can predict the training set to obtain a training heat map, and the training heat map is binarized with a lower threshold to find suspected mitotic significant areas of suspected mitotic cells. These suspected mitotic significant areas are cropped at multiple scales to obtain a multi-scale image block set of suspected mitotic significant areas. This multi-scale image block set is used for deep learning training with multi-background learning, and then a classification network for identifying mitotic images and false-positive mitotic images is obtained.
[0203] In the prediction stage, the first step is to input a pathological image to be processed into the target semantic segmentation network, which finds the suspected mitotic image salient areas, and similarly performs multi-scale cropping on these suspected mitotic image salient areas to obtain the first image block and the second image block. Then, in the second step, the cropped multi-scale image blocks are sent to the multi-background learning fusion network (which may include the first background learning branch network, the second background learning branch network, and the background learning fusion learning network) for recognition.
[0204] This scheme provides a method for detecting mitotic images in pathological images based on multi-background learning, which includes two stages: salient region positioning and false positive region filtering. Salient region positioning uses a deep learning target semantic segmentation network to find salient regions of suspected mitotic images from the pathological image to be processed, and cuts two-size tiles (such as the first tile and the second tile) based on the center of the salient region of the suspected mitotic image, wherein the small-size tile covers the region of suspected mitotic cells, and the large-size tile covers both the suspected mitotic cell region and the surrounding region of the mitotic cells. False positive region filtering uses a deep learning multi-background learning fusion network, which has two inputs, receiving small-size tiles and large-size tiles of salient regions respectively, and performs end-to-end training based on the given true value label of mitotic images, and finally determines whether the salient region of the suspected mitotic image is a true positive, thereby filtering out the false positive region positioned in the first stage.
[0205] This scheme can use a lower threshold to find as many significant areas of suspected nuclear division images as possible through the target heat map to ensure a high recall rate of nuclear division images, but there will be a large number of false positives (low precision). The false positive area filtering uses a multi-background learning fusion network. Each suspected nuclear division significant area intercepts small and large-sized tiles, where the large-sized tiles cover the surrounding background areas of suspected nuclear division cells, which can improve the filtering performance of false positive cells such as cell apoptosis and cell necrosis, thereby obtaining a high recall rate and high precision final detection result.
[0206] The method provided by the embodiment of the present disclosure was experimentally tested on the public datasets TUPAC2016 and ICPR2014, and F1-score indicators of 0.761 and 0.624 were achieved respectively. The comparison results with several state-of-the-art methods are shown in the following table.
[0207] Technical Solution Dataset Number of images F1-score Solution 1 TUPAC2016 73 training samples, 34 test samples 0.648 Solution 2 TUPAC2016 73 training samples, 34 test samples - Option 3 ICPR2014 7 training samples, 1 test sample 0.608 Option 4 TUPAC2016 73 training samples, 34 test samples 0.736 Option 5 ICPR2014 7 training samples, 1 test sample 0.585 Option 6 TUPAC2016 73 training samples, 34 test samples 0.669 Option 7 ICPR2014 7 training samples, 1 test sample 0.603 This program TUPAC2016 73 training samples, 34 test samples 0.761 This program ICPR2014 7 training samples, 1 test sample 0.624
[0208] It can be found that the performance indicators of this solution are significantly better than those of solutions 1 to 7.
[0209] Among them, the first solution refers to the application of the solution mentioned in the paper "Wide residual networks for mitosis detection" in the TUPAC2016 dataset; the second solution refers to the application of "Mask-driven mitosis detection in histopathology images" in TUPAC2016; the third solution refers to the application of "Mask-driven mitosis detection in histopathology images" in ICPR2014; the fourth solution refers to the application of "Efficient mitosis detection in breast cancer histology images by RCNN" in TUPAC2016; the fifth solution refers to the application of "Efficient mitosis detection in breast cancer histology images by RCNN" in TUPAC2014; the sixth solution refers to the application of "icloss" in TUPAC2016; the seventh solution refers to the application of "icloss" in TUPAC2016. loss” was used in TUPAC2014.
[0210] Fig.15 is a block diagram of an image processing device according to an exemplary embodiment. Fig.15The image processing device 1500 provided in the embodiment of the present disclosure may include: a pathological image to be processed acquisition module 1501, a suspected nuclear division significant area determination module 1502, a cropping module 1503, a first feature map acquisition module 1504, a second feature map acquisition module 1505, a first fused feature map acquisition module 1506 and a target nuclear division significant area acquisition module 1507.
[0211] Among them, the pathological image to be processed acquisition module 1501 can be configured to acquire the pathological image to be processed; the suspected nuclear division significant area determination module 1502 can be configured to determine the suspected nuclear division significant area in the pathological image to be processed; the cropping module 1503 can be configured to crop the pathological image to be processed to obtain a first block and a second block of different sizes, the first block and the second block both include the suspected nuclear division significant area, and the first block also includes the surrounding background area of the suspected nuclear division significant area; the first feature map acquisition module 1504 can be configured to use the first background learning branch network to perform feature extraction processing on the first block to obtain a first feature map, the The first feature map includes feature information of the surrounding background area of the suspected nuclear fission-significant area; the second feature map acquisition module 1505 can be configured to use a second background learning branch network to perform feature extraction processing on the second image block to obtain a second feature map, and the second background learning branch network and the first background learning branch network have different depths; the first fused feature map acquisition module 1506 can be configured to perform feature fusion processing on the first feature map and the second feature map to obtain a first fused feature map; the target nuclear fission-significant area acquisition module 1507 can be configured to determine a target nuclear fission-significant area including a nuclear fission image in the pathological image to be processed based on the first fused feature map.
[0212] In some embodiments, the target nuclear fission significant region acquisition module may include: a deep fusion feature acquisition submodule, a classification processing submodule, and a target nuclear fission significant region determination submodule.
[0213] Among them, the deep fusion feature acquisition submodule can be configured to perform feature extraction processing on the first fusion feature map to obtain deep fusion features; the classification processing submodule can be configured to perform classification processing on the deep fusion features through a target classifier to determine whether the suspected nuclear division significant area includes the nuclear division image; the target nuclear division significant area determination submodule can be configured that if the suspected nuclear division significant area includes the nuclear division image, the suspected nuclear division significant area is the target nuclear division significant area.
[0214] In some embodiments, the deep fusion feature is obtained after feature extraction of the first fusion feature map by a background fusion learning network, the background fusion learning network includes at least M fusion learning modules, M is a positive integer greater than or equal to 2, and the Mth fusion learning module in the background fusion learning network includes convolution layer one, convolution layer two and a pooling layer.
[0215] Among them, the deep fusion feature acquisition submodule may include: a first intermediate fusion feature map acquisition unit, a first intermediate fusion sub-feature map acquisition unit, a second intermediate fusion sub-feature map acquisition unit, a third intermediate fusion sub-feature map acquisition unit, a second intermediate fusion feature map acquisition unit and a deep fusion feature acquisition unit.
[0216] Among them, the first intermediate fusion feature map acquisition unit can be configured to process the first fusion feature map through the first M-1 fusion learning modules of the background fusion learning network to obtain a first intermediate fusion feature map; the first intermediate fusion sub-feature map acquisition unit can be configured to process the first intermediate fusion feature map through the convolution layer one to obtain a first intermediate fusion sub-feature map; the second intermediate fusion sub-feature map acquisition unit can be configured to process the first intermediate fusion feature map through the convolution layer two to obtain a second intermediate fusion sub-feature map; the third intermediate fusion sub-feature map acquisition unit can be configured to process the first intermediate fusion feature map through the pooling layer to obtain a third intermediate fusion sub-feature map; the second intermediate fusion feature map acquisition unit can be configured to fuse the first intermediate fusion sub-feature map, the second intermediate fusion sub-feature map and the third intermediate fusion sub-feature map to obtain a second intermediate fusion feature map; the deep fusion feature acquisition unit can be configured to determine the deep fusion feature according to the second intermediate fusion feature map.
[0217] In some embodiments, the first background learning branch network includes at least N branch feature extraction modules, N is a positive integer greater than or equal to 2, and the Nth branch feature extraction module of the first background learning branch network includes a first convolutional layer, a second convolutional layer, a first activation layer, a second activation layer, a first normalization layer and a second normalization layer.
[0218] The first feature map acquisition module 1504 may include: a first branch feature map acquisition submodule, a first branch sub-feature map acquisition submodule, a second branch sub-feature map acquisition submodule, a second branch feature map acquisition submodule and a first feature map acquisition submodule.
[0219] Among them, the first branch feature map acquisition submodule can be configured to perform feature extraction processing on the first block through the first N-1 branch feature extraction modules of the first background learning branch network to obtain a first branch feature map; the first branch sub-feature map acquisition submodule can be configured to process the first branch feature map through the first normalization layer, the first activation layer and the first convolution layer to obtain the first branch sub-feature map; the second branch sub-feature map acquisition submodule can be configured to process the first branch sub-feature map through the second normalization layer, the second activation layer and the second convolution layer to obtain the second branch sub-feature map; the second branch feature map acquisition submodule can be configured to perform residual processing on the second branch sub-feature map through the first branch feature map to obtain the second branch feature map; the first feature map acquisition submodule can be configured to determine the first feature map according to the second branch feature map.
[0220] In some embodiments, the suspected nuclear fission significant region determination module 1502 may include: a target heat map acquisition submodule, a probability value acquisition submodule, and a suspected nuclear fission significant region determination submodule.
[0221] Among them, the target heat map acquisition submodule can be configured to perform semantic segmentation processing on the pathological image to be processed through a target semantic segmentation network to obtain a target heat map of the pathological image to be processed; the probability value acquisition submodule can be configured to determine the probability value of each pixel point of the pathological image to be processed belonging to the nuclear division image according to the target heat map; the suspected nuclear division significant area determination submodule can be configured to process the probability value through a target threshold to determine the suspected nuclear division significant area in the pathological image to be processed.
[0222] In some embodiments, the target semantic segmentation network includes an encoding network and a decoding network.
[0223] Among them, the target heat map acquisition submodule may include: a first sub-feature map generation unit, a second sub-feature map generation unit, a second fusion feature map generation unit and a target heat map generation unit.
[0224] Among them, the first sub-feature map generation unit can be configured to perform an encoding operation on the pathological image to be processed through the encoding network to obtain the target feature map of the pathological image to be processed, and generate a first sub-feature map in the process of encoding the pathological image to be processed; the second sub-feature map generation unit can be configured to perform a first decoding operation on the target feature map through the decoding network to generate a second sub-feature map; the second fused feature map generation unit can be configured to perform feature fusion on the first sub-feature map and the second sub-feature map through the decoding network to generate a second fused feature map; the target heat map generation unit can be configured to perform a second decoding operation on the second fused feature map through the decoding network to generate the target heat map.
[0225] In some embodiments, the suspected nuclear division significant area determination module 1502 may also include: a pathological image sample acquisition submodule, a training sample block acquisition submodule, a training heat map acquisition submodule, a training nuclear division significant area determination submodule, a training loss determination submodule and a parameter adjustment submodule.
[0226] Among them, the pathological image sample acquisition submodule can be configured to acquire a pathological image sample, and the pathological image sample indicates the centroid pixel position of the nuclear division image through a target label; the training sample block acquisition submodule can be configured to determine the training sample block including the nuclear division image in the pathological image sample according to the centroid pixel position of the nuclear division image; the training heat map acquisition submodule can be configured to input the pathological image sample into the target semantic segmentation network to obtain a training heat map; the training nuclear division significant area determination submodule can be configured to determine the training nuclear division significant area in the pathological image sample according to the training heat map; the training loss determination submodule can be configured to determine the training loss according to the training nuclear division significant area and the training sample block; the parameter adjustment submodule can be configured to adjust the parameters of the target semantic segmentation network according to the training loss to complete the training of the target semantic segmentation network.
[0227] In some embodiments, the training sample image block acquisition submodule may include: a target image block acquisition unit, a V channel image acquisition unit, a gradient change map acquisition unit, a foreground part determination unit, and a training sample image block determination unit.
[0228] Among them, the target image block acquisition unit can be configured to intercept the target image block in the pathological image sample according to the centroid pixel position of the nuclear division image; the V channel image acquisition unit can be configured to convert the target image block into the HSV color space and extract the V channel image of the target image block; the gradient change map acquisition unit can be configured to determine the gradient change map of the V channel image; the foreground part determination unit can be configured to determine the foreground part and the background part in the gradient change map; the training sample block determination unit can be configured to determine the training sample block including the nuclear division image in the pathological image sample according to the foreground part of the gradient change map.
[0229] In some embodiments, the suspected prominent nuclear division region includes a first suspected prominent nuclear division region and a second suspected prominent nuclear division region.
[0230] The suspected nuclear fission significant region determining module 1502 may include: a first confidence acquisition submodule, a second confidence acquisition submodule, an area ratio determination submodule, and a removal submodule.
[0231] Among them, the first confidence acquisition submodule can be configured to obtain a first confidence that the first suspected significant nuclear fission region is the suspected significant nuclear fission region; the second confidence acquisition submodule can be configured to obtain a second confidence that the second suspected significant nuclear fission region is the suspected significant nuclear fission region, and the second confidence is greater than the first confidence; the area ratio determination submodule can be configured to determine the area ratio of the first suspected significant nuclear fission region relative to the second suspected significant nuclear fission region; the elimination submodule can be configured to eliminate the first suspected significant nuclear fission region whose area ratio is greater than the area threshold.
[0232] In some embodiments, the cropping module 1503 may include: a centroid determination submodule, a second tile determination submodule, and a first tile determination submodule.
[0233] Among them, the center of mass determination submodule can be configured to determine the center of mass of the suspected significant nuclear division area in the image to be processed; the second block determination submodule can be configured to use the center of mass as a base point to cut out the second block in the image to be processed through a second graphic; the first block determination submodule can be configured to use the center of mass as a base point to cut out the first block in the image to be processed through a first graphic, and the first graphic and the second graphic have different sizes.
[0234] In some embodiments, the first block determination submodule includes: a target circumscribed shape determination unit, a first block determination unit, and the second block determination submodule may include: a second block determination unit.
[0235] Among them, the target circumscribed shape determination unit can be configured to determine the target circumscribed shape of the suspected significant nuclear division area in the pathological image to be processed with the centroid as the base point, and the target circumscribed shape is the first figure; the first block determination unit can be configured to determine the first block in the pathological image to be processed according to the target circumscribed shape; the second block determination unit can be configured to determine the second block including the first block in the pathological image to be processed, and the shape of the second block is the second figure.
[0236] Since the functional modules of the image processing apparatus 1500 of the exemplary embodiment of the present disclosure correspond to the steps of the exemplary embodiment of the above-mentioned image processing method, they are not described in detail here.
[0237] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for a computing device (which can be a personal computer, a server, a mobile terminal, or a smart device, etc.) to execute the method according to the embodiment of the present disclosure, for example Figure 3 One or more of the steps shown.
[0238] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0239] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not applied for by the present disclosure. The specification and embodiments are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0240] It should be understood that the present disclosure is not limited to the detailed structures, drawings or implementations shown herein, but rather the present disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims
1. An image processing method, It is characterized in that include: Acquiring pathological images to be processed; Determining a suspected significant nuclear division region in the pathological image to be processed; Cropping the pathological image to be processed to obtain a first image block and a second image block of different sizes, wherein the first image block and the second image block both include the suspected significant nuclear division area, and the first image block also includes a surrounding background area of the suspected significant nuclear division area; Performing feature extraction processing on the first image block using a first background learning branch network to obtain a first feature map, wherein the first feature map includes feature information of a background area surrounding the suspected significant nuclear division area; Performing feature extraction processing on the second image block using a second background learning branch network to obtain a second feature map, wherein the second background learning branch network and the first background learning branch network have different depths; Performing feature fusion processing on the first feature map and the second feature map to obtain a first fused feature map; According to the first fusion feature map, a target nuclear division significant area including a nuclear division image is determined in the pathological image to be processed.
2. The method according to claim 1, It is characterized in that Determining a target nuclear division significant region including a nuclear division image in the pathological image to be processed according to the first fusion feature map comprises: Performing feature extraction processing on the first fusion feature map to obtain a deep fusion feature; Classify the deep fusion features by a target classifier to determine whether the suspected significant nuclear division region includes the nuclear division image; If the suspected significant nuclear division region includes the nuclear division image, the suspected significant nuclear division region is the target significant nuclear division region.
3. The method according to claim 2, It is characterized in that The deep fusion feature is obtained by extracting features from the first fusion feature map through a background fusion learning network, wherein the background fusion learning network includes at least M fusion learning modules, where M is a positive integer greater than or equal to 2, and the Mth fusion learning module in the background fusion learning network includes a convolutional layer 1, a convolutional layer 2, and a pooling layer; wherein the first fusion feature map is subjected to feature extraction processing to obtain the deep fusion feature, including: Processing the first fusion feature map through the first M-1 fusion learning modules of the background fusion learning network to obtain a first intermediate fusion feature map; Processing the first intermediate fusion feature map through the convolution layer 1 to obtain a first intermediate fusion sub-feature map; Processing the first intermediate fusion feature map through the convolution layer 2 to obtain a second intermediate fusion sub-feature map; Processing the first intermediate fusion feature map through the pooling layer to obtain a third intermediate fusion sub-feature map; Fusing the first intermediate fusion sub-feature map, the second intermediate fusion sub-feature map, and the third intermediate fusion sub-feature map to obtain a second intermediate fusion feature map; The deep fusion feature is determined according to the second intermediate fusion feature map.
4. The method according to claim 1, It is characterized in that The first background learning branch network includes at least N branch feature extraction modules, N is a positive integer greater than or equal to 2, and the Nth branch feature extraction module of the first background learning branch network includes a first convolution layer, a second convolution layer, a first activation layer, a second activation layer, a first normalization layer, and a second normalization layer; wherein, the first background learning branch network is used to perform feature extraction processing on the first image block to obtain a first feature map, and the first feature map includes feature information of the surrounding background area of the suspected nuclear division significant area, including: Performing feature extraction processing on the first image block through the first N-1 branch feature extraction modules of the first background learning branch network to obtain a first branch feature map; Processing the first branch feature map through the first normalization layer, the first activation layer, and the first convolution layer to obtain a first branch sub-feature map; Processing the first branch sub-feature map through the second normalization layer, the second activation layer, and the second convolutional layer to obtain a second branch sub-feature map; Performing residual processing on the second branch sub-feature map through the first branch feature map to obtain a second branch feature map; The first feature map is determined according to the second branch feature map.
5. The method according to claim 1, It is characterized in that Determining a suspected significant nuclear division region in the pathological image to be processed includes: Performing semantic segmentation processing on the pathological image to be processed by a target semantic segmentation network to obtain a target thermal map of the pathological image to be processed; Determining the probability value of each pixel point of the pathological image to be processed belonging to the mitotic image according to the target heat map; The probability value is processed by a target threshold to determine the suspected significant nuclear division region in the pathological image to be processed.
6. The method according to claim 5, It is characterized in that The target semantic segmentation network includes an encoding network and a decoding network; wherein, the pathological image to be processed is subjected to semantic segmentation processing by the target semantic segmentation network to obtain a target thermal map of the pathological image to be processed, including: Performing an encoding operation on the pathological image to be processed through the encoding network to obtain a target feature map of the pathological image to be processed, and generating a first sub-feature map in the process of encoding the pathological image to be processed; Performing a first decoding operation on the target feature map through the decoding network to generate a second sub-feature map; Performing feature fusion on the first sub-feature map and the second sub-feature map through the decoding network to generate a second fused feature map; A second decoding operation is performed on the second fused feature map through the decoding network to generate the target heat map.
7. The method according to claim 6, It is characterized in that Before performing semantic segmentation processing on the pathological image to be processed by the target semantic segmentation network to obtain the target thermal map of the pathological image to be processed, the method further includes: Acquire a pathological image sample, wherein the pathological image sample indicates a centroid pixel position of a mitotic image through a target label; Determine a training sample block including the mitotic image in the pathological image sample according to the centroid pixel position of the mitotic image; Inputting the pathological image sample into the target semantic segmentation network to obtain a training heat map; Determining a significant training nuclear division region in the pathological image sample according to the training heat map; Determine the training loss according to the training nuclear division significant area and the training sample block; The parameters of the target semantic segmentation network are adjusted according to the training loss to complete the training of the target semantic segmentation network.
8. The method according to claim 7, It is characterized in that Determining a training sample block including the mitotic image in the pathological image sample according to the centroid pixel position of the mitotic image comprises: intercepting a target image block in the pathological image sample according to the centroid pixel position of the mitotic image; Convert the target image block to the HSV color space and extract the V channel image of the target image block; Determine a gradient change map of the V channel image; Determine a foreground portion and a background portion in the gradient change map; A training sample block including the mitotic image is determined in the pathological image sample according to the foreground portion of the gradient change map.
9. The method according to claim 1 or 5, It is characterized in that The suspected significant nuclear division region includes a first suspected significant nuclear division region and a second suspected significant nuclear division region; wherein determining the suspected significant nuclear division region in the pathological image to be processed includes: Acquiring a first confidence level that the first suspected significant nuclear division region is the suspected significant nuclear division region; Acquire a second confidence level that the second suspected significant nuclear fission region is the suspected significant nuclear fission region, the second confidence level being greater than the first confidence level; Determining the area ratio of the first suspected significant nuclear division region to the second suspected significant nuclear division region; The first suspected significant nuclear division region with an area ratio greater than the area threshold is eliminated.
10. The method according to claim 1, It is characterized in that Cropping the pathological image to be processed to obtain a first image block and a second image block of different sizes, wherein both the first image block and the second image block include the suspected significant nuclear division area, and the first image block also includes a surrounding background area of the suspected significant nuclear division area, including: Determining the centroid of the suspected significant nuclear division region in the image to be processed; Using the centroid as a base point, cutting out the second image block from the image to be processed by using a second graphic; The first block is cut out from the image to be processed by using a first graphic with the centroid as a base point, and the first graphic and the second graphic have different sizes.
11. The method according to claim 10, It is characterized in that The method of cutting out the second image block from the image to be processed by using a second graphic with the centroid as a base point includes: Taking the centroid as a base point, determining a target circumscribed shape of the suspected significant nuclear division region in the pathological image to be processed, wherein the target circumscribed shape is the second figure; Determining the second image block in the pathological image to be processed according to the target circumscribed shape; The method of cutting out the first block from the image to be processed by using a first graphic with the centroid as a base point includes: The first image block including the second image block is determined in the pathological image to be processed, and the shape of the first image block is the first figure.
12. An image processing device, It is characterized in that include: A pathological image acquisition module to be processed, configured to acquire the pathological image to be processed; A suspected nuclear division significant region determination module is configured to determine a suspected nuclear division significant region in the pathological image to be processed; A cropping module, configured to crop the pathological image to be processed to obtain a first image block and a second image block of different sizes, wherein the first image block and the second image block both include the suspected significant nuclear division area, and the first image block also includes a surrounding background area of the suspected significant nuclear division area; A first feature map acquisition module is configured to perform feature extraction processing on the first image block using a first background learning branch network to obtain a first feature map, wherein the first feature map includes feature information of a background area surrounding the suspected nuclear division significant area; A second feature map acquisition module is configured to perform feature extraction processing on the second image block using a second background learning branch network to obtain a second feature map, wherein the second background learning branch network and the first background learning branch network have different depths; A first fused feature map acquisition module, configured to perform feature fusion processing on the first feature map and the second feature map to obtain a first fused feature map; The target nuclear division significant region acquisition module is configured to determine the target nuclear division significant region including the nuclear division image in the pathological image to be processed according to the first fusion feature map.
13. An electronic device, It is characterized in that include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 11.
14. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
