Image processing method based on artificial intelligence, image processing device, computer program, and computer device

The AI-based image processing method improves efficiency and accuracy by automating the marking of target tissues in cancer imaging by cutting images into blocks and using a marking model to determine vertex positions, reducing manual labor and complexity.

JP7540127B2Active Publication Date: 2024-08-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2022555626
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-06-30
Filing Date
2021-06-11
Publication Date
2024-08-27
Estimated Expiration
2041-06-11

AI Technical Summary

Technical Problem

Current image processing methods for lymph node metastasis in cancers like breast and pancreatic cancer are cumbersome and time-consuming due to manual marking of large pathology images, leading to low efficiency and accuracy.

Method used

An AI-based image processing method that cuts slice images into blocks, uses a marking model to determine vertex positions of polygon areas, and connects them to mark target human tissues automatically, eliminating the need for pixel-by-pixel prediction.

Benefits of technology

This approach enhances image processing accuracy and efficiency by reducing complexity and labor costs, ensuring continuous and hole-free markings of target tissues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007540127000027
    Figure 0007540127000027
  • Figure 0007540127000022
    Figure 0007540127000022
  • Figure 0007540127000023
    Figure 0007540127000023
Patent Text Reader

Abstract

This application discloses an image processing method, device, equipment and storage medium based on artificial intelligence, which relates to the field of computer technology, and includes the steps of: acquiring a slice image (201); dividing the slice image to acquire a plurality of image blocks (202); inputting the plurality of image blocks into a marking model, extracting pixel features of the slice image from the plurality of image blocks in the marking model according to the pixel features, determining a plurality of vertex positions of a polygonal region in the slice image according to the pixel features, connecting the plurality of vertex positions, and outputting marking information of the slice image, where the polygonal region is an area where a target human tissue is located (203).
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This application claims priority to a Chinese patent application bearing application number 202010614446.9 and entitled "Artificial Intelligence-Based Image Processing Method, Apparatus, Device and Storage Medium" filed with the State Intellectual Property Office of the People's Republic of China on June 30, 2020, the entire contents of which are incorporated herein by reference.

[0002] [Technical field] The present application relates to the field of computer technology, and in particular to an image processing method, device, apparatus and storage medium based on artificial intelligence. [Background technology]

[0003] Lymph node metastasis is common in many cancers, such as breast cancer, colon cancer, and pancreatic cancer. Usually, the more cancer cells that metastasize to the lymph nodes, the worse the patient's prognosis. Therefore, it is necessary to process slice images to determine the location of lymph node metastasis sites, followed by diagnosis and treatment planning.

[0004] At present, image processing methods based on artificial intelligence usually involve manual marking of complete pathological images, and the marking information of pathological images is obtained after the region where the target human tissue is located is marked, and then the pathological images with marking information are used to train models. For example, bounding boxes need to be manually marked, or extreme points need to be manually marked or graffiti marked, which all require the manual marking information to be used as prior information to generate corresponding semantic segmentation masks.

[0005] The training of deep learning algorithms relies on a large amount of manually marked data, and the size of a complete pathological image is generally tens of thousands of pixels, making the marking process very cumbersome, time-consuming, and labor-intensive. In some marking methods, the areas where the marked target human tissues are located are non-intersecting areas, which do not conform to the characteristics that the areas where the target human tissues are located are continuous and hole-free, so the image processing is very inefficient and not highly accurate. Summary of the Invention [Problem to be solved by the invention]

[0006] The embodiments of the present application provide an image processing method, device, equipment and storage medium based on artificial intelligence, which can improve the accuracy and efficiency of the image processing method. [Means for solving the problem]

[0007] According to one aspect of the present application, there is provided an artificial intelligence based image processing method, the method comprising: acquiring a slice image; cutting the slice image to obtain a plurality of image blocks; The method includes the steps of inputting the plurality of image blocks into a marking model, extracting pixel features of the slice image from the plurality of image blocks in the marking model, determining a plurality of vertex positions of a polygon region in the slice image according to the pixel features, connecting the plurality of vertex positions, and outputting marking information of the slice image, wherein the polygon region is an area where a target human tissue is located.

[0008] According to one aspect of the present application, there is provided an artificial intelligence based image processing device, the device comprising: an acquisition module for acquiring slice images; a cutting module for cutting the sliced ​​image to obtain a plurality of image blocks; a processing module for inputting the plurality of image blocks into a marking model, extracting pixel features of the slice image from the plurality of image blocks in the marking model, determining a plurality of vertex positions of a polygon region in the slice image according to the pixel features, connecting the plurality of vertex positions, and outputting marking information of the slice image, wherein the polygon region is an area where a target human tissue is located.

[0009] According to one aspect of the present application, there is provided a computing device including a processor and a memory, wherein at least one program code is stored in the memory, and when the program code is loaded and executed by the processor, an operation of executing the artificial intelligence based image processing method is performed.

[0010] According to one aspect of the present application, there is provided a computer-readable storage medium having stored thereon at least one program code, the program code, when loaded and executed by a processor, performing operations for executing the artificial intelligence based image processing method. [Brief description of the drawings]

[0011] In order to more clearly explain the technical solutions in the embodiments of the present application, the following briefly introduces drawings necessary for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can also obtain other drawings from these drawings without any creative efforts. [Figure 1] FIG. 1 is a schematic diagram of an implementation environment of an image processing method based on artificial intelligence provided in an embodiment of the present application. [Diagram 2] 1 is a flowchart of a marking model training method provided in an embodiment of the present application. [Diagram 3] 1 is a flowchart of an image processing method based on artificial intelligence provided in an embodiment of the present application. [Figure 4] FIG. 2 is a structural schematic diagram of a marking model provided in an embodiment of the present application. [Diagram 5] FIG. 2 is a schematic diagram of image marking comparison results provided in the examples of the present application. [Figure 6] FIG. 13 is a schematic diagram of another image marking comparison result provided in an embodiment of the present application. [Figure 7] FIG. 2 is a structural schematic diagram of an image processing device based on artificial intelligence provided in an embodiment of the present application; [Figure 8] FIG. 2 is a structural schematic diagram of a terminal provided in an embodiment of the present application; [Figure 9] FIG. 2 is a structural schematic diagram of a server provided in an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] In order to clarify the objectives, technical solutions and advantages of the present application, the embodiments of the present application will be described in more detail with reference to the drawings.

[0013] Below, we will introduce the nouns mentioned in this application.

[0014] Artificial Intelligence (AI) is the theory, methods, techniques and application systems that use digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, sense the environment, acquire knowledge and use the knowledge to obtain optimal results. In other words, AI is an integrated technology of computer science that seeks to grasp the essence of intelligence and produce intelligent machines that can react in a manner similar to human intelligence. AI studies the design principles and realization methods of various intelligent machines, giving them the capabilities of sensing, reasoning and decision-making.

[0015] Artificial intelligence technology is an integrated discipline with a wide range of related 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, operating / interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly has several major directions, such as computer vision technology, voice processing technology, natural language processing technology and machine learning / deep learning.

[0016] Here, computer vision (CV) technology is a science that studies how to make machines "see". More specifically, computer vision refers to machine vision that uses cameras and computers instead of human eyes to recognize, track, measure, etc., targets, and further performs graphic processing on the results of recognition, tracking, and measurement, and has the computer process the computer-processed results into images that are more suitable for human eye observation or for transmission to equipment for detection. As a scientific discipline, computer vision studies related theories and technologies to establish an artificial intelligence system that can obtain information from images or multidimensional data. Computer vision technology generally includes technologies such as 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, synchronous localization, and map construction, and also includes general bio-feature recognition technologies such as face recognition and fingerprint recognition. For example, it is a technology for segmenting medical images, and for locating lesion sites in medical images.

[0017] Machine learning (ML) is a multi-disciplinary study, which involves multiple disciplines such as probability theory, statistics, approximation theory, convex analysis, and algorithm complexity theory. Machine learning focuses on how computers can simulate or realize human learning behavior so as to acquire new knowledge or skills, reorganize existing knowledge structures, and continue to improve their own performance. Machine learning is the core of artificial intelligence, and is a basic method for making computers intelligent, and is applied to various fields of artificial intelligence. Machine learning and deep learning generally include techniques such as artificial neural networks, confidence networks, augmentative learning, transition learning, inductive learning, and teaching learning. For example, an image processing model is obtained by training with the machine learning method, and a medical image is processed with the image processing model. In a specific application scenario, the image processing model may be a marking model, which marks a target human tissue area (e.g., a lesion site) in a medical image.

[0018] With the research and progress of artificial intelligence technology, it has been researched and applied in multiple fields, such as conventional smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, autonomous driving, drones, robots, smart medical care, and smart customer service. Artificial intelligence technology will be applied to more fields and play an increasingly important value.

[0019] The means provided in the examples of the present application relate to artificial intelligence computer vision technology, machine learning and other technologies, particularly to the field of smart medical care. The implementation environment and specific embodiments of the method are described in the following examples.

[0020] Fig. 1 is an implementation environment of an image processing method based on artificial intelligence provided in an embodiment of the present application. Referring to Fig. 1, the implementation environment may include a computer device 101 and a database 102. Here, the computer device 101 may perform data interaction with the database 102 through a wired connection manner, or may perform data interaction with the database 102 through a wireless network connection manner, and the embodiment of the present application is not limited thereto.

[0021] In the embodiment of the present application, the computer device 101 may process a slice image. In an embodiment, the slice image may be a medical image, i.e., a human body tissue image, and the image processing method based on artificial intelligence provided in the embodiment of the present application can be applied to localize a target human body tissue, for example, localize a metastatic region where cancer cells such as breast cancer, colon cancer, pancreatic cancer, etc. have metastasized to lymph nodes, and of course, can also be applied to localize other target human body tissues, and the embodiment of the present application is not limited thereto. The image processing method based on artificial intelligence can also be applied to localize a target scene in other images, for example, localize a target scene in a landscape image.

[0022] The slice images can be stored in the database 102, and the computer device 101 can extract the slice images from the database 102 and process the slice images. Of course, after the computer device 101 processes the slice images, the computer device 101 can send the processed slice images with the marking information to the database 102 for storage.

[0023] Specifically, the computing device 101 may be a terminal or a server, and the embodiments of the present application are not limited thereto.

[0024] FIG. 2 is a flow chart of an image processing method based on artificial intelligence provided in an embodiment of the present application. In an embodiment, the image processing method based on artificial intelligence may be applied to a computer device, and the computer device may be the computer device 101 in the above implementation environment, or may be another computer device. That is, the marking model may be obtained by training on the above computer device 101, or may be obtained by training on another computer device, and then the marking model may be processed into a profile and the profile may be sent to the computer device 101, and the marking model is stored in the computer device 101. Of course, when marking is required, the computer device 101 may call the marking model obtained by training on the other computer device, and the embodiment of the present application is not limited thereto. Referring to FIG. 2, the method may include steps 201 to 203.

[0025] Step 201, a computer device acquires slice images.

[0026] In an embodiment, the slice image may be an image of a pathology slice. The slice image may be a digital image obtained by scanning a conventional glass pathology slice with a fully automated microscope or optical magnification system, and the digital image may be a large-size, high-resolution image. The human tissue in the slice image may be a liver region, a brain region, a lung region, etc., and of course, may be other human tissues. This specification only provides an exemplary description and does not limit the specific type of the slice image.

[0027] In an embodiment of the present application, the computer device may process the slice image with the marking model to mark the location of a target tissue region in the slice image, and in an embodiment, the target tissue region may be referred to as a lesion site, which is a region where a diseased part of an organism is located, that is, a limited region where a diseased tissue having a pathogenic microorganism is located, such as a region where breast cancer cells are located.

[0028] In step 202, a computer device cuts the slice image to obtain a number of image blocks.

[0029] The computer device can cut the sliced ​​image, and the cut image blocks are input to a marking model, and the cut image blocks can be directly input to the marking model for marking without the need for manual marking.

[0030] A complete slice image generally contains tens of thousands of pixels, and if the entire slice image is manually marked, the amount of work is very large and tedious. In the embodiment of the present application, it is input into the marking model after cutting, so that it can be predicted according to the image block, and there is no need to predict on a pixel-by-pixel basis, which greatly reduces the complexity of prediction and improves processing efficiency.

[0031] Step 203: the computer device inputs the plurality of image blocks into a marking model, extracts pixel features of the slice image from the plurality of image blocks in the marking model, determines a plurality of vertex positions of a polygon region in the slice image according to the pixel features, connects the plurality of vertex positions, and outputs marking information of the slice image, where the polygon region is the region where the target human tissue is located.

[0032] A computer inputs the plurality of image blocks into a marking model, and the marking model can predict the vertex positions of the region where the target human tissue is located according to the plurality of image blocks, where the region where the target human tissue is located is a polygon region. By marking the slice image with a polygon, it can be ensured that the marked region is continuous and without holes, and is more accurate than the pixel-by-pixel prediction method.

[0033] The marking model may be a pre-trained model, and the marking model can be obtained by training based on sample slice images with target marking information.

[0034] In the embodiment of the present application, a slice image is cut, and a plurality of image blocks obtained by cutting are directly input to a marking model, and the vertex positions of the polygonal region in the slice image are automatically marked in the marking model, and the vertex positions are connected to output the marking information. The polygonal region is determined by marking the vertex positions of the polygonal region, and the determined polygonal region matches the characteristics of the target human tissue region, which is continuous and has no holes, so that the accuracy of the image processing is higher. In addition, since there is no need to predict the slice image pixel by pixel, the complexity of the image processing process can be greatly reduced. In addition, the marking process does not rely on manual marking of data, but is automatically marked in the marking model, so that the labor cost can be greatly reduced, the marking speed can be effectively increased, and the image processing efficiency can be further improved.

[0035] 3 is a flow chart of an image processing method based on artificial intelligence provided in an embodiment of the present application. Referring to FIG. 3, the method includes steps 301 to 306.

[0036] Step 301, a computer device acquires slice images.

[0037] In an embodiment, the slice images may be stored in an image database, and the computer device may extract the slice images from the image database. In another embodiment, the slice images may be collected by the computer device or another computer device, and the computer device processes the slice images. The number of the slice images may be one or more, and the embodiment of the present application is not limited thereto.

[0038] In step 302, a computer device cuts the slice image to obtain a number of image blocks.

[0039] By dividing a slice image into a plurality of image blocks of smaller sizes, the computer device does not need to perform pixel-by-pixel prediction for the entire slice image, thereby reducing the complexity of prediction.

[0040] In an embodiment, the computer device may cut the slice image into a plurality of image blocks of the same size. Specifically, the computer device may cut the slice image according to a target size to obtain a plurality of image blocks of the target size. In this way, the size of the image blocks may be the same, and the processing manner when processing the image blocks may be the same, thereby reducing the calculation difficulty of the computer device and improving the processing efficiency.

[0041] Here, the target size may be set according to the demands of image processing, and the embodiment of the present application is not limited thereto.

[0042] Step 303: the computer device inputs the plurality of image blocks into a marking model.

[0043] The marking model may be a trained model, and the training process may be realized by the following steps (1) to (3). The training process may be performed on the computer device, or on another computer device, and the embodiments of the present application are not limited thereto.

[0044] Step (1): Obtain a number of sample slice images with target marking information.

[0045] The plurality of sample slice images may be stored in an image database, and the computing device may extract the sample slice images from the image database to perform model training.

[0046] Wherein, the target marking information is used to indicate the actual marking situation of the sample slice image, and according to the target marking information, the accuracy of the marking information predicted by the model can be determined, and further, whether the model parameters need to be adjusted, so as to improve the prediction accuracy of the model.

[0047] Step (2): input the plurality of sample slice images into an initial marking model, and use the initial marking model to predict marking information of the plurality of sample slice images to obtain predicted marking information.

[0048] The model parameters of the initial marking model are initial values, and the computer device can train the initial marking model by using the multiple sample slice images as training samples and validation samples. That is, by adjusting the model parameters of the initial marking model with the sample slice images, the slice images can be accurately predicted with the model parameters after several adjustments, and marking information with higher accuracy can be output.

[0049] Specifically, a computer device may input the multiple sample slice images into an initial marking model, and predict each sample slice image with the initial marking model, and determine the predictive ability of the initial marking model based on the prediction result and the target marking information, thereby adjusting the model parameters of the initial marking model, thereby improving the predictive ability of the initial marking model, so that the marking model obtained by training can be used for accurate marking later.

[0050] Step (3), according to the predicted marking information and the target marking information, adjust the model parameters of the initial marking model until it meets the target conditions, and obtain the marking model.

[0051] According to the predicted marking information and the target marking information, the accuracy of the predicted marking information can be obtained, and the model parameters are adjusted according to the accuracy, where the target condition can be that the accuracy converges or that the number of iterations reaches a target number, etc., and the embodiment of the present application is not limited thereto.

[0052] In an embodiment, the process of the initial marking model processing the sample slice image may be as follows: the initial marking model extracts pixel features of the sample slice image from the plurality of image blocks, and determines a plurality of vertex positions of a polygon region in the sample slice image according to the pixel features, connects the plurality of vertex positions, and outputs the predictive marking information of the sample slice image, where the polygon region is the region where the target human tissue is located.

[0053] In an embodiment, the structure of the initial marking model and the marking model may include a feature extraction module and a prediction module, where the feature extraction module is used to perform a feature extraction step, and the prediction module is used to perform a prediction step. For example, the structure of the initial marking model and the marking model may be as shown in FIG. 4, where the feature extraction module may be called a Pi-Net module, and the prediction module may be called a Po-Net module.

[0054] In an embodiment, the pixel feature may be a segmentation mask, and the Pi-Net module may generate a pixel-level segmentation mask for the input image. The Pi-Net module may perform an encoding process and a decoding process to generate the segmentation mask. The above pixel feature acquisition process may be as follows: a computer device encodes the image blocks according to pixel values ​​of the image blocks to obtain features of the image blocks, and decodes the encoded features to obtain the segmentation mask of the sample slice image (i.e., pixel features of the sample slice image).

[0055] In a specific embodiment, the Pi-Net module may be composed of an encoder and a decoder, where the encoder is used to perform the encoding process and the decoder is used to perform the decoding process.

[0056] In an embodiment, the above encoding and decoding processes can both be realized based on multiple convolutional layers, where the multiple convolutional layers of the encoder may be referred to as first convolutional layers, and the multiple convolutional layers of the decoder may be referred to as second convolutional layers.

[0057] Correspondingly, the above encoding process may be as follows: A computer device performs convolution operation on adjacent image blocks among the plurality of image blocks based on a plurality of first convolution layers, performs a batch normalization process on the first feature after the operation, and performs a downsampling process on the second feature after the batch normalization process with a convolution kernel corresponding to the selected parameter according to a selected parameter among model parameters to obtain the features of the plurality of image blocks. Here, batch normalization is a technique used in training a deep neural network, specifically, normalizing batch data, for example, normalizing batch data input to a neural network or batch data output by a certain layer of a middle part of the neural network. Batch normalization can not only speed up the convergence speed of the model, but also alleviate the problem of "gradient diffusion" in a deep network to a certain extent, so that the training of a deep network model is easier and more stable.

[0058] The decoding process may be as follows: the computer device performs a convolution operation on features of adjacent image blocks among the plurality of image blocks based on a plurality of second convolution layers, performs a batch normalization operation on the third feature after the operation, and performs a deconvolution operation on the fourth feature after the batch normalization operation according to a selected parameter among the model parameters with a convolution kernel corresponding to the selected parameter to obtain a segmentation mask of the sample slice image.

[0059] Note that the lower layer of the encoder can extract low-level features (e.g., texture, edge, etc.) of the sample slice images, and the upper layer of the encoder can extract high-level features (e.g., shape, etc.) of the sample slice images. The decoder is used to perform a deconvolution operation on the extracted features to recover a segmentation mask (i.e., pixel features) of the same size as the original input size.

[0060] In the above encoding process, the operation of "convolution -> batch normalization -> kernel selection module -> downsampling" is introduced between adjacent blocks to halve the size of the feature map and double the number of feature channels. In the decoding process, the operation of "convolution -> batch normalization -> kernel selection module -> deconvolution" is introduced between adjacent blocks to double the size of the feature map and halve the number of feature channels, that is, the process of restoring the split mask to the same size as the original input size is realized.

[0061] Here, the parameter of the kernel selection module is the selection parameter, which is used to select different convolution kernels. The selection parameter can be obtained by learning during model training, that is, in the above step (3), the selection parameter can be adjusted when adjusting the model parameters, so that during model training, the model dynamically learns to select and predict suitable convolution kernels, improving the model's feature extraction ability and further improving the marking ability. In the learning process, feature representations of different convolution kernels (e.g., 3×3, 5×5, 7×7) can be dynamically learned, and the receptive field is extremely rich, which is favorable for the model to better extract features. Here, the receptive field is the size of the area in which pixel points on the feature map output by each layer of the convolutional neural network are mapped to the input image, i.e., the area on the input image corresponding to one point on the feature map.

[0062] In an embodiment, a skip connection can be established between the encoding process and the decoding process, that is, a skip connection can be established between the first convolutional layer and the second convolutional layer, and when each second convolutional layer processes the output of the previous second convolutional layer, it can further combine with the output result of the first convolutional layer (the convolutional layer adopted during encoding) to ensure that the detailed information of the image is better transmitted to the encoding stage, thereby more effectively locating the polygonal region (also called the region of interest).

[0063] Specifically, in the decoding process, for each second convolution layer, the computer device decodes the features output by the second convolution layer immediately before the second convolution layer according to the features output by the first convolution layer corresponding to the second convolution layer to obtain the output of the second convolution layer, and the second convolution layers are adjacent to each other by two, and the features output by the second convolution layers are concatenated to obtain the segmentation mask of the sample slice image.

[0064] In an embodiment, the Po-Net module may be a two-layer convolutional long short-term memory (ConvLSTM) model. Specifically, the computer device may perform a convolution operation on the pixel features based on the two-layer convolutional long short-term memory ConvLSTM model to obtain multiple vertex positions of a polygon region in the slice image.

[0065] Here, the Long Short-Term Memory (LSTM) model is a recurrent neural network for time series data processing, which is suitable for solving the problem of long-term dependency that exists in general recurrent neural networks (RNNs) and can effectively process image sequences. The above multiple image blocks are an image block sequence, and the vertex positions are predicted one by one through loop prediction to obtain the final marking information. Compared with LSTM, ConvLSTM uses convolution operations instead of matrix multiplication, which can significantly reduce the training parameters and improve operation efficiency.

[0066] Specifically, the vertices corresponding to the target grid may be used, and the pixel features of the target grid are used as the vertex positions. In the above prediction process, the pixel features are input to the two-layer ConvLSTM model, which performs convolution on the pixel features of the neighboring grids of the multiple target grids, encodes the convolution result to obtain the pixel features of the target grid, and uses the pixel features of the multiple target grids as the multiple vertex positions of the polygon region in the slice image.

[0067] The target grid may be set according to the needs of image processing, and the embodiment of the present application is not limited thereto. When encoding the result of the convolution operation, any encoding method may be adopted, and one-hot encoding is taken as an example here. For example, the output of each of the above ConvLSTM steps is a grid of size 28×28, and further, in one-hot encoding, a grid unit is made to correspond to the spatial position (i.e., the vertex position) of one vertex of the polygon region. One-hot encoding is also called 1-bit valid encoding, and mainly adopts an N-bit state register to encode N states, each state has its own independent register bit, and only one bit is valid at any time.

[0068] Specifically, the two-layer ConvLSTM model realizes the prediction process through the following process, and can predict each vertex position one by one through multiple predictions. The computer inputs the pixel feature into the two-layer ConvLSTM model, and the two-layer ConvLSTM model performs a convolution operation on pixel features of the surrounding grids of the first target grid, and then encodes the convolution operation result to obtain the pixel feature of the first target grid, and the pixel feature of the target grid is the first vertex position. The computer performs a convolution operation on pixel features of the surrounding grids of the second target grid based on the pixel feature and the first vertex position based on the ConvLSTM model, and then encodes the convolution operation result to obtain the pixel feature of the second target grid, and the pixel feature of the second target grid is the second vertex position. The computer performs the convolution operation and encoding based on the pixel feature, the first vertex position, and the second vertex position until all vertex positions of the polygon region are obtained.

[0069] For example, as shown in FIG. 4, the input of Po-Net at step t may include three parts: the connected feature map (extracted pixel features) output by Pi-Net, predicted vertices y(t-1), y(t-2), and the initial vertex y0.

[0070] In an embodiment, when training a model, when predicting the next vertex position based on the previous two vertex positions, the previous two vertex positions in the target marking information can be adopted to predict the next vertex position, so that prediction can be guided according to actual marking information and the marking accuracy of the prediction module can be improved.Specifically, the initial model can determine the previous two vertex positions in the target marking information as the previous two vertex positions in the sample slice image, and predict the next vertex position based on the previous two vertex positions and the sample slice image to obtain the predicted marking information.

[0071] For example, as shown in Figure 4, for the prediction for step t, the previous two vertex positions y(t-1) and y(t-2) can adopt the actual polygon markings instead of the predicted markings to predict the next vertex position y(t), thereby improving the marking accuracy of ConvLSTM. In the inference process of the model, one vertex of the polygon marking is generated at each ConvLSTM step, and the final marking result can be obtained by concatenating these vertices in order.

[0072] In an embodiment, during the training, the accuracy of the prediction process may be measured by one or more loss values, and in particular, the loss values ​​may be at least one of a prediction loss value, a partition loss value, or a constraint loss value.

[0073] Therefore, in the above step (3), the computer device can perform one of the following: obtaining a predicted loss value according to the predicted marking information and the target marking information, obtaining a segmentation loss value according to the predicted pixel features and the target pixel features of the sample slice image, or obtaining a constraint loss value between the predicted pixel features and the predicted marking information, and then adjusting model parameters of the initial marking model according to the obtained at least one loss value.

[0074] For these three types of loss values, the predicted loss values ​​are

number

number

[0075] Split loss value

number

number

[0076] In formula (1),

number

number

number

[0077] Predicted loss value

number

number

[0078]

number

[0079] Constrained loss function L Cons is used to constrain the output results of Pi-Net and Po-Net, and can be calculated using the following equation (3).

number

[0080] In step 304, the computer device extracts pixel features of the slice images from the plurality of image blocks based on the marking model.

[0081] Step 304 is similar to the feature extraction process shown in step 303 above, and the marking model may include a feature extraction module and a prediction module, where the feature extraction module is used to perform step 304, and the prediction module is used to perform the following step 305, and the steps performed by the two modules are similar to the feature extraction step in the model training process above, both of which process multiple image blocks, and will only be briefly described here, and detailed description will be omitted.

[0082] In an embodiment, the pixel feature may be a segmentation mask, and correspondingly, step 304 may be as follows: the computer device encodes the image blocks according to pixel values ​​of the image blocks to obtain features of the image blocks, and decodes the encoded features to obtain a segmentation mask of the slice image.

[0083] The above encoding and decoding processes can both be realized based on multiple convolution layers. The encoding process can be as follows: a computer device can perform convolution operations on adjacent image blocks among the multiple image blocks based on multiple first convolution layers, perform a batch normalization process on the first feature after the operation, and perform a downsampling process on the second feature after the batch normalization process according to a selection parameter in the model parameters with a convolution kernel corresponding to the selection parameter to obtain the features of the multiple image blocks.

[0084] Correspondingly, the decoding process may be as follows: the computer device may perform a convolution operation on features of adjacent image blocks among the plurality of image blocks based on a plurality of second convolution layers, perform a batch normalization process on a third feature after the operation, and according to a selection parameter in the model parameters, perform a deconvolution operation on a fourth feature after the batch normalization process with a convolution kernel corresponding to the selection parameter to obtain a segmentation mask of the slice image.

[0085] In an embodiment, a skip connection can be established between the encoding process and the decoding process, that is, a skip connection can be established between the first convolutional layer and the second convolutional layer, and when each second convolutional layer processes the output of the previous second convolutional layer, it can further combine with the output result of the first convolutional layer (the convolutional layer adopted during encoding) to ensure that the detailed information of the image is better transmitted to the encoding stage, thereby more effectively locating the polygonal region (also called the region of interest).

[0086] Specifically, in the decoding process, for each second convolution layer, the computer device decodes the features output by the second convolution layer immediately before the second convolution layer according to the features output by the first convolution layer corresponding to the second convolution layer to obtain the output of the second convolution layer, and the second convolution layers are adjacent to each other by two, and the features output by the second convolution layers are concatenated to obtain the segmentation mask of the slice image.

[0087] Step 305: the computer device determines, based on the marking model, a plurality of vertex positions of a polygon region in the slice image according to the pixel features, where the polygon region is an area where the target human tissue is located.

[0088] After extracting the pixel features, the computer device may predict the vertex positions, and after obtaining the vertex positions, the vertex positions can be connected to determine the polygon area.

[0089] In an embodiment, the prediction process can be realized by a two-layer convolutional long short-term memory (ConvLSTM) model. Specifically, the computer device performs a convolution operation on the pixel features based on the two-layer convolutional long short-term memory ConvLSTM model to obtain multiple vertex positions of the polygon region in the slice image.

[0090] Specifically, the vertices corresponding to the target grid may be used, and the pixel features of the target grid are used as the vertex positions. In the above prediction process, the pixel features are input to the two-layer ConvLSTM model, and the two-layer ConvLSTM model performs convolution operations on the pixel features of the neighboring grids of the multiple target grids, and the convolution operation results are encoded to obtain the pixel features of the target grid, and the pixel features of the multiple target grids are used as the multiple vertex positions of the polygon region in the slice image.

[0091] Specifically, the two-layer ConvLSTM model specifically realizes the prediction process through the following process: The computer device can input the pixel feature into the two-layer ConvLSTM model, and the two-layer ConvLSTM model can perform a convolution operation on pixel features of the surrounding grids of the first target grid, and then encode the convolution operation result to obtain the pixel feature of the first target grid, and the pixel feature of the target grid is the first vertex position. The computer device can perform a convolution operation on pixel features of the surrounding grids of the second target grid based on the pixel feature and the first vertex position based on the ConvLSTM model, and then encode the convolution operation result to obtain the pixel feature of the second target grid, and the pixel feature of the second target grid is the second vertex position. The computer device performs the convolution operation and encoding based on the pixel feature, the first vertex position, and the second vertex position until all vertex positions of the polygon region are obtained.

[0092] This step 305 is similar to the prediction step in the model training process in step 303 above, and will not be described in detail here.

[0093] In step 306, the computer device connects the vertex positions according to a marking model, and outputs marking information of the slice image.

[0094] This step 306 is similar to the corresponding concatenating and outputting step in the model training process shown in step 303 above, and will not be described in detail here.

[0095] In an embodiment, the computer device can also display the marking information of the slice image, and if the user thinks that the marking information is not accurate and wants to correct it, the user can perform a correction operation on the marking information. When the computer device detects the correction operation, it responds to the correction operation on the marking information of the slice image and corrects the marking information of the slice image according to the correction operation. The computer device can also re-input the corrected marking information into the marking model and re-mark in the marking model to obtain marking information with higher accuracy. Specifically, the computer device inputs the corrected marking information into the marking model, and re-marks multiple vertex positions of the polygonal region in the slice image in the marking model based on the corrected marking information to obtain marking information.

[0096] The computer device regards the marking process as a polygon vertex prediction task. A polygon is usually composed of a series of sequentially connected vertices, and its prediction complexity is much lower than that of predicting a mask pixel by pixel. Therefore, it is easier to predict the boundary of a polygon region (e.g., a cancer metastasis region), and the risk of introducing noise is also reduced. Furthermore, polygon-based prediction enables man-machine interaction. Specifically, when the generated polygon is inaccurate or the edge is self-intersecting, the manual marker can easily adjust the polygon vertices (i.e., drag the vertices whose prediction is inaccurate to the correct position), and then input the new manually calibrated polygon into the algorithm to perform a new iteration until the optimal marking result is obtained.

[0097] Hereinafter, by way of a specific example, the marking model provided in the embodiment of the present application will be compared with the existing polygon-RNN, which may be specifically as follows.

[0098] The Camelyon16 dataset is used to test the above marking model and polygon-RNN. Camelyon16 is a dataset that includes 158 pathological slices (i.e. slice images), where the training set, validation set and test set are 110, 24 and 24, respectively. All slices (i.e. slice images) are cut into small images (i.e. image blocks) of 224×224 (i.e. target size) by 10 times magnification and used as the input of the model. In order to reduce the data imbalance problem, 1000 small images are randomly extracted from the pathological slices, and when the number of cut small images is more than 1000, only the small images containing only one example are retained.

[0099] In this example, the evaluation indexes adopted in evaluating the performance of the two models are sensitivity, precision, Dice score, and intersection over union score. In all experiments, the rod size adopted for the training model is 8, and the Adam optimizer is used to train the model, the initial learning rate is set to 1e-4, and it is reduced by 10 times after 10 training cycles, and the training process may include 20 training cycles. Both of the above two types of models can be realized by the PyTorch framework, and the NVIDIA Tesla P40 GPU card with 24GB memory can be adopted as the deployment environment. This is only an exemplary description and does not limit the above model training and deployment situations. The performance comparison results of the algorithms of the two types of models and the multiple combination algorithms provided in this application are shown in Table 1. [Table 1]

[0100] As shown in Table 1, the models in the first and second rows are

number

[0101] Polygon-RNN (row 1) adopts VGG-16 (Visual Geometry Group-16) as the feature extractor. SkmUNet represents UNet embedded in Kernel Selection Module (SKM). UNet is a deep learning partitioning network. skm is a pattern matching model based on pattern structure and existing matching knowledge, and is referred to as Kernel Selection Module here. The significant improvement of Dice and IoU values ​​provided in the embodiments of this application indicates that the provided feature extraction module can effectively extract features, thus improving the model performance.

number

number

number

number

number

number

[0102] In an ideal situation, the prediction results of Pi-Net are the same as those of Po-Net, so L Cons The purpose of introducing L is to keep the outputs of the two tasks consistent (compare Models 3 and 4). Cons By minimizing, the two tasks are mutually constrained, and Pi-Net can assist Po-Net in prediction, thereby improving the accuracy of the marking result. When the method provided in the embodiment of the present application is compared with the pixel segmentation method (i.e., Pi-Net), the evaluation result is a Dice value of 0.89 and an IoU value of 0.84. Compared with the pixel-based segmentation method, the model provided in the embodiment of the present application has an improvement of 2.25% and 2.38% in the Dice value and IoU value, respectively, thereby achieving high-quality initial marking results.

[0103] As shown in Figure 5, a comparison result of the marking information after processing the image with multiple types of algorithms is provided. As shown in Figure 6, the marking results generated by the method provided in the embodiment of the present application are sometimes more accurate than those marked by pathologists. And the method provided in the embodiment of the present application can greatly reduce the marking cost.

[0104] In the embodiment of the present application, a slice image is cut, and a plurality of image blocks obtained by cutting are directly input to a marking model, and the vertex positions of the polygonal region in the slice image are automatically marked in the marking model, and the vertex positions are connected to output the marking information. The polygonal region is determined by marking the vertex positions of the polygonal region, and the determined polygonal region matches the characteristics of the target human tissue region, which is continuous and has no holes, so that the accuracy of the image processing is higher. In addition, since there is no need to predict the slice image pixel by pixel, the complexity of the image processing process can be greatly reduced. In addition, the marking process does not rely on manual marking of data, but is automatically marked in the marking model, so that the labor cost can be greatly reduced, the marking speed can be effectively increased, and the image processing efficiency can be further improved.

[0105] All of the above technical solutions can be arbitrarily combined to form the embodiments of the present application, and detailed descriptions thereof will be omitted here.

[0106] FIG. 7 is a structural schematic diagram of an image processing device based on artificial intelligence provided in an embodiment of the present application. Referring to FIG. 7, the device includes: an acquisition module 701 for acquiring slice images; a cutting module 702 for cutting the slice image to obtain a plurality of image blocks; a processing module 703 for inputting the plurality of image blocks into a marking model, extracting pixel features of the slice image from the plurality of image blocks in the marking model, determining a plurality of vertex positions of a polygon region in the slice image according to the pixel features, connecting the plurality of vertex positions, and outputting marking information of the slice image, wherein the polygon region is the region where the target human tissue is located.

[0107] In an embodiment, the pixel feature is a segmentation mask; The processing module 703 includes an encoding unit and a decoding unit; The encoding unit is used for encoding the image blocks according to pixel values ​​of the image blocks to obtain features of the image blocks; The decoding unit is used to decode the features obtained in the encoding to obtain a segmentation mask of the slice image.

[0108] In an embodiment, the step of extracting pixel features of the slice image is realized based on a plurality of convolution layers, The encoding unit is used to perform a convolution operation on adjacent image blocks among the plurality of image blocks based on a plurality of first convolution layers, perform a batch normalization process on a first feature after the operation, and perform a downsampling process on a second feature after the batch normalization process with a convolution kernel corresponding to a selection parameter in a model parameter, thereby acquiring features of the plurality of image blocks.

[0109] In an embodiment, the decoding unit is used to perform a convolution operation on features of adjacent image blocks among the plurality of image blocks based on a plurality of second convolution layers, perform a batch normalization process on a third feature after the operation, and perform a deconvolution operation on a fourth feature after the batch normalization process with a convolution kernel corresponding to a selection parameter in the model parameters, to obtain a segmentation mask of the slice image.

[0110] In an embodiment, for each second convolution layer, the decoding unit decodes features output by a second convolution layer immediately before the second convolution layer according to features output by a first convolution layer corresponding to the second convolution layer to obtain an output of the second convolution layer, and the second convolution layers are adjacent to each other in pairs, and are used to concatenate the features output by the second convolution layers to obtain a segmentation mask of the slice image.

[0111] In an embodiment, the processing module 703 includes a vertex determination unit, which is used to perform a convolution operation on the pixel features based on a two-layer convolutional long short-term memory ConvLSTM model to obtain multiple vertex positions of a polygon region in the slice image.

[0112] In an embodiment, the vertex determination unit is used to input the pixel features into the two-layer ConvLSTM model, perform a convolution operation on pixel features of surrounding grids of multiple target grids in the two-layer ConvLSTM model, encode the convolution operation result to obtain pixel features of the target grid, and set the pixel features of the multiple target grids as multiple vertex positions of a polygon region in the slice image.

[0113] In an embodiment, the vertex determination unit is used for inputting the pixel features into the two-layer ConvLSTM model, performing a convolution operation on pixel features of surrounding grids of a first target grid in the two-layer ConvLSTM model, encoding the convolution operation result to obtain pixel features of the first target grid, and taking the pixel features of the target grid as a first vertex position, performing a convolution operation on pixel features of surrounding grids of a second target grid based on the pixel features and the first vertex position based on the ConvLSTM model, encoding the convolution operation result to obtain pixel features of the second target grid, and taking the pixel features of the second target grid as a second vertex position, and performing convolution operation and encoding based on the pixel features, the first vertex position, and the second vertex position until a plurality of vertex positions of the polygon region are obtained.

[0114] In an embodiment, the process of training the marking model comprises: acquiring a plurality of sample slice images with target marking information; inputting the plurality of sample slice images into an initial marking model, and predicting marking information of the plurality of sample slice images by the initial marking model to obtain predicted marking information; adjusting model parameters of the initial marking model according to the predicted marking information and the target marking information until the initial marking model meets a target condition, thereby obtaining the marking model.

[0115] In an embodiment, the step of predicting marking information of the plurality of sample slice images with the initial marking model to obtain predicted marking information includes: determining, in the initial model, the two previous vertex positions of the target in the target marking information as the two previous vertex positions in the sample slice image; predicting a next vertex position based on the previous two vertex positions and the sample slice image to obtain the predictive marking information.

[0116] In an embodiment, the step of adjusting model parameters of the initial marking model in response to the predicted marking information and the target marking information comprises: performing at least one of the following steps: obtaining a predicted loss value according to the predicted marking information and the target marking information; obtaining a segmentation loss value according to the predicted pixel feature and the target pixel feature of the sample slice image; or obtaining a constraint loss value between the predicted pixel feature and the predicted marking information; and adjusting model parameters of the initial marking model in response to the obtained at least one loss value.

[0117] In an embodiment, the apparatus further includes a correction module that is used to respond to a correction operation on the marking information of the slice image, correct the marking information of the slice image according to the correction operation, input the corrected marking information into the marking model, and re-mark multiple vertex positions of a polygonal region in the slice image in the marking model based on the corrected marking information to obtain marking information.

[0118] In an embodiment, a cutting module 702 is used to cut the slice image according to a target size to obtain a number of image blocks of the target size.

[0119] The device provided in the embodiment of the present application cuts a slice image, directly inputs a plurality of image blocks obtained by cutting into a marking model, automatically marks the vertex positions of polygonal regions in the slice image in the marking model, connects the vertex positions, and outputs the marking information. The polygonal region is determined by marking the vertex positions of the polygonal region, and the determined polygonal region matches the characteristics of the target human tissue region, which is continuous and has no holes, so that the accuracy of the image processing is higher. And since there is no need to predict the slice image pixel by pixel, the complexity of the image processing process can be greatly reduced. Moreover, the marking process does not rely on manual marking of data, but is automatically marked in the marking model, so that the labor cost can be greatly reduced, the marking speed can be effectively increased, and the image processing efficiency can be further improved.

[0120] In addition, the image processing device based on artificial intelligence provided in the above embodiment only takes the division of the above functional modules as an example when processing an image, and in actual application, the above functions can be assigned to different functional modules as necessary, that is, the internal structure of the computer device is divided into different functional modules to achieve all or part of the above functions. In addition, the image processing device based on artificial intelligence provided in the above embodiment belongs to the same concept as the embodiment of the image processing method based on artificial intelligence, and its specific realization process can be referred to the embodiment of the method, and detailed description is omitted here.

[0121] The above computer device may be a terminal as shown in FIG. 8 or a server as shown in FIG. 9, and the embodiments of the present application are not limited thereto.

[0122] 8 is a structural schematic diagram of a terminal provided in an embodiment of the present application. The terminal 800 may be a smartphone, a tablet, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a notebook computer, or a desktop computer. The terminal 800 may also be called a user device, a mobile terminal, a laptop terminal, a desktop terminal, or other names.

[0123] Generally, the terminal 800 includes a processor 801 and a memory 802 .

[0124] The processor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 801 may be implemented in the form of at least one hardware of a DSP (Digital Signal Processing), a FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 801 may include a main processor and a coprocessor, where the main processor is a processor for processing data in a wake state and is also called a CPU (Central Processing Unit), and the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 801 may incorporate a GPU (Graphics Processing Unit), which is used to render and draw content to be displayed on a display. In some embodiments, the processor 801 may further include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.

[0125] The memory 802 may include one or more computer readable storage media, which may be non-transitory. The memory 802 may further include high speed random access memory and non-volatile memory, such as one or more disk storage devices, flash memory storage devices, etc. In some embodiments, the non-transitory computer readable storage media in the memory 802 is used to store at least one program code that is executed by the processor 801 to implement the artificial intelligence based image processing method provided in the method embodiments of the present application.

[0126] In some embodiments, the terminal 800 optionally further includes a peripheral interface 803 and at least one peripheral. The processor 801, the memory 802, and the peripheral interface 803 may be connected to each other via a bus or signal lines. Each peripheral may be connected to the peripheral interface 803 via a bus, signal lines, or a circuit board. Specifically, the peripheral includes at least one of a radio frequency circuit 804, a touch display 805, a camera 806, an audio circuit 807, a positioning component 808, and a power source 809.

[0127] In some embodiments, the terminal 800 further includes one or more sensors 810, including, but not limited to, an acceleration sensor 811, a gyro sensor 812, a pressure sensor 813, a fingerprint sensor 814, an optical sensor 815, and a proximity sensor 816.

[0128] As will be appreciated by those skilled in the art, the structure shown in FIG. 8 is not intended to limit the terminal 800, and the terminal 800 may include more or fewer components than shown, may combine some components, or may employ a different arrangement of components.

[0129] 9 is a structural schematic diagram of a server provided in the embodiment of the present application, the server 900 may have a relatively large difference due to differences in configuration or performance, and may include one or more processors (Central Processing Units, CPU) 901 and one or more memories 902, where at least one program code is provided in the memory 902, and the at least one program code is loaded and executed by the processor 901 to realize the image processing method based on artificial intelligence provided in the embodiment of each method above. Of course, the server may further have components such as a wired or wireless network interface, a keyboard, and an input / output interface for input / output, and the server may further include components for implementing other device functions, and detailed description is omitted here.

[0130] In an exemplary embodiment, a computer-readable storage medium, such as a memory, is further provided that includes a program code, which, when executed by a processor, performs the artificial intelligence-based image processing method in the above embodiment. For example, the computer-readable storage medium can be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0131] In an exemplary embodiment, a computer program product or computer program is further provided, the computer program product or computer program including computer instructions stored in a computer readable storage medium, the computer instructions being read by a processor of a computing device from the computer readable storage medium and, when executed by the processor, causing the computing device to perform the artificial intelligence based image processing methods provided in various alternative embodiments in the various embodiments above.

[0132] Those skilled in the art can understand that all or part of the steps in the above embodiments may be realized by hardware, or may be realized by a program instructing relevant hardware to complete, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk, or a compact disk, etc.

[0133] The above are only preferred embodiments of the present application, and do not limit the present application. Any amendments, equivalent replacements, improvements, etc. made within the spirit and principle of the present application should be included within the protection scope of the present application.

Claims

1. A method of image processing based on artificial intelligence, implemented by a computing device, comprising: acquiring a slice image; cutting the sliced ​​image to obtain a plurality of image blocks having the same size; inputting the plurality of image blocks into a marking model, extracting pixel features of the slice image from the plurality of image blocks in the marking model, determining a plurality of vertex positions of a polygon region in the slice image according to the pixel features, connecting the plurality of vertex positions, and outputting marking information of the slice image, wherein the polygon region is a region where a target human tissue is located; The process of training the marking model includes: acquiring a plurality of sample slice images with target marking information; inputting the plurality of sample slice images into an initial marking model, and predicting marking information of the plurality of sample slice images by the initial marking model to obtain predicted marking information; and adjusting model parameters of the initial marking model according to the predicted marking information and the target marking information until the initial marking model meets a target condition to obtain the marking model. adjusting a model parameter of the initial marking model in response to the predicted marking information and the target marking information, Obtaining a constraint loss value between the predicted pixel feature and the predicted marking information; and adjusting model parameters of the initial marking model according to the obtained constrained loss value. Image processing methods.

2. the pixel feature is a segmentation mask; The step of extracting pixel features of the slice images from the plurality of image blocks includes: encoding the plurality of image blocks according to pixel values ​​of the plurality of image blocks to obtain features of the plurality of image blocks; and decoding the features obtained by encoding to obtain a segmentation mask of the slice image. The image processing method according to claim 1 .

3. The step of extracting pixel features of the slice images is realized based on a plurality of convolution layers; The step of encoding the plurality of image blocks according to pixel values ​​of the plurality of image blocks to obtain features of the plurality of image blocks includes: performing a convolution operation on adjacent image blocks among the plurality of image blocks based on a plurality of first convolution layers; performing a batch normalization process on the calculated first features; and performing a downsampling process on the second feature after the batch normalization process using a convolution kernel corresponding to a selected parameter in the model parameters to obtain features of the plurality of image blocks. The image processing method according to claim 2 .

4. The step of decoding the features obtained by encoding to obtain a segmentation mask of the slice image includes: performing a convolution operation on features of adjacent image blocks among the plurality of image blocks based on a plurality of second convolution layers; performing a batch normalization process on the calculated third feature; According to a selected parameter in the model parameters, performing a deconvolution operation on the fourth feature after the batch normalization process with a convolution kernel corresponding to the selected parameter to obtain a segmentation mask of the slice image. The image processing method according to claim 3.

5. The step of decoding the features obtained by encoding to obtain a segmentation mask of the slice image includes: For each second convolutional layer, according to the features output by the first convolutional layer corresponding to the second convolutional layer, decode the features output by the second convolutional layer immediately before the second convolutional layer to obtain an output of the second convolutional layer, where the second convolutional layers are adjacent to each other by two; and concatenating the features output by the second convolutional layers to obtain a segmentation mask of the slice image. The image processing method according to claim 3.

6. determining a plurality of vertex positions of a polygon region in the slice image according to the pixel characteristics, connecting the plurality of vertex positions, and outputting marking information of the slice image; performing a convolution operation on the pixel features based on a two-layer convolution long short-term memory ConvLSTM model to obtain a plurality of vertex positions of a polygon region in the slice image; The image processing method according to any one of claims 1 to 5.

7. A step of performing a convolution operation on the pixel features based on a two-layer convolution long short-term memory (ConvLSTM) model to obtain a plurality of vertex positions of a polygon region in the slice image, inputting the pixel features into the two-layer convolutional long short-term memory ConvLSTM model, performing a convolution operation on pixel features of neighboring grids of a plurality of target grids in the two-layer convolutional long short-term memory ConvLSTM model, encoding the convolution operation result to obtain pixel features of the target grid, and setting the pixel features of the plurality of target grids as a plurality of vertex positions of a polygon region in the slice image; The image processing method according to claim 6.

8. inputting the pixel features into the two-layer convolutional long short-term memory ConvLSTM model, performing a convolution operation on pixel features of neighboring grids of a plurality of target grids in the two-layer convolutional long short-term memory ConvLSTM model, encoding the convolution operation result to obtain pixel features of the target grid, and setting the pixel features of the plurality of target grids as a plurality of vertex positions of a polygon region in the slice image, inputting the pixel features into the two-layer convolutional long short-term memory ConvLSTM model, performing a convolution operation on pixel features of neighboring grids of a first target grid in the two-layer convolutional long short-term memory ConvLSTM model, encoding the convolution operation result to obtain pixel features of the first target grid, and setting the pixel features of the first target grid as a first vertex position; According to the two-layer convolutional long short-term memory ConvLSTM model, a convolution operation is performed on pixel features of a neighboring grid of a second target grid based on the pixel features and the first vertex position, and the convolution operation result is encoded to obtain pixel features of the second target grid, and the pixel features of the second target grid are set as a second vertex position; performing a convolution operation and encoding based on the pixel characteristics, the first vertex position, and the second vertex position until obtaining a plurality of vertex positions of the polygon region. The image processing method according to claim 7.

9. The step of predicting marking information of the plurality of sample slice images using the initial marking model to obtain predicted marking information includes: determining the previous two vertex positions in the target marking information in the initial marking model as the previous two vertex positions in the sample slice image; and predicting a next vertex position based on the previous two vertex positions and the sample slice image to obtain the predictive marking information. The image processing method according to claim 1 .

10. in response to a correction operation on the marking information of the slice image, correcting the marking information of the slice image in accordance with the correction operation; inputting the corrected marking information into the marking model, and re-marking a plurality of vertex positions of a polygon region in the slice image based on the corrected marking information in the marking model to obtain marking information, The image processing method according to any one of claims 1 to 9.

11. 1. An image processing device based on artificial intelligence, comprising: A processor configured to carry out the image processing method according to any one of claims 1 to 10. Image processing device.

12. 1. A computer device comprising: a processor and a memory coupled to the processor; The memory stores a computer program, The processor is configured to execute the computer program to implement the image processing method according to any one of claims 1 to 10. Computer equipment.

13. A program for causing a computer to execute the image processing method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Image area correction method and device and image segmentation method and device

    CN110874170A

  • Blood vessel segmentation method of medical image, computer equipment and readable storage medium

    CN111161270A

  • System and method for automatically detecting a target object from a 3D image

    US20190050981A1

  • Systems and methods for polygon object annotation and a method of training an object annotation system

    US20190294970A1