Medical image data segmentation method and system

By using attention-based multi-scale fusion deep learning algorithm and group intelligence optimization algorithm in medical image data segmentation, the problems of insufficient segmentation accuracy, poor generalization capabilities of model and low degree of automation are solved, and high-precision, automated and intelligent medical image data segmentation are achieved.

CN119963567AActive Publication Date: 2025-05-09BEIJING KAIAI MEDICAL TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510050520.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-05-09
Estimated Expiration
2045-01-13

AI Technical Summary

Technical Problem

The existing medical image data segmentation technology has problems such as insufficient segmentation accuracy, poor generalization capabilities of models, and low degree of automation and intelligence.

Method used

The attention multi-scale fusion deep learning algorithm is adopted to build a medical image data segmentation model by image processing and label setting on historical medical image data, and optimize model parameters using group intelligence optimization algorithm to realize an automated and intelligent segmentation process.

Benefits of technology

It improves the accuracy and generalization ability of medical image data segmentation, meets the high-precision requirements of clinical diagnosis, and realizes the automation and intelligence of the segmentation process, reducing the need for manual intervention and parameter adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119963567A_ABST
    Figure CN119963567A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of image segmentation, and discloses a medical image data segmentation method and system. The method comprises the following steps: acquiring a plurality of pieces of historical medical image data, and performing image processing on the plurality of pieces of historical medical image data to obtain a plurality of pieces of image-processed historical medical image data provided with real labels; according to the historical medical image data after image processing, constructing a medical image data segmentation model by using an attention multi-scale fusion deep learning algorithm; and collecting real-time medical image data, and performing medical image data segmentation on the real-time medical image data by using the medical image data segmentation model to obtain a real-time medical image data segmentation result. According to the method, the problems of insufficient segmentation precision, poor model generalization ability and low automation and intelligence degree in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image segmentation, and in particular relates to a method and system for segmenting medical image data. Background Art

[0002] Medical imaging data refers to image data obtained through imaging technology during medical diagnosis and treatment. These data are usually generated by various medical imaging devices, such as X-rays, computed tomography, magnetic resonance imaging, ultrasound, positron emission tomography, etc. Medical imaging data segmentation is an important part of medical imaging analysis, which is of great significance for the diagnosis, treatment and prognosis of diseases.

[0003] The existing medical image data segmentation technology has the following defects: 1) Insufficient segmentation accuracy: Existing medical image data segmentation methods cannot accurately identify and segment the subtle structures in complex medical images, resulting in segmentation results that cannot meet the high-precision requirements of clinical diagnosis; 2) Poor model generalization ability: Existing medical image data segmentation models perform well on specific data sets, but have poor generalization ability on new data sets and are difficult to adapt to medical image data from different sources or types. Segmentation models have limited adaptability to different disease states or different patients, and need to be retrained or adjusted for specific situations. 3) Low degree of automation and intelligence: Model parameters are manually adjusted by professionals, which requires a lot of manual intervention and is not only time-consuming, but also prone to inconsistent results due to differences in personal experience. Parameter selection and optimization often rely on trial and error, lacking an automated and intelligent parameter adjustment mechanism. Summary of the invention

[0004] In order to solve the problems of insufficient segmentation accuracy, poor model generalization ability, and low automation and intelligence in the prior art, the present invention aims to provide a method and system for segmenting medical image data.

[0005] The technical solution adopted by the present invention is: A method for segmenting medical image data comprises the following steps: Collecting a number of historical medical image data, and performing image processing on the number of historical medical image data to obtain a number of image-processed historical medical image data with real labels; Based on several historical medical imaging data after image processing, a medical imaging data segmentation model was constructed using the attention multi-scale fusion deep learning algorithm; Real-time medical image data is collected, and a medical image data segmentation model is used to perform medical image data segmentation on the real-time medical image data to obtain a real-time medical image data segmentation result.

[0006] Furthermore, a plurality of historical medical image data are collected and image processed to obtain a plurality of image-processed historical medical image data with real labels, including the following steps: Collecting a number of historical medical imaging data and corresponding data information, and performing data cleaning on the number of historical medical imaging data to obtain a number of cleaned historical medical imaging data; Normalizing a number of cleaned historical medical image data to obtain a number of normalized historical medical image data; Performing Gaussian denoising on a number of normalized historical medical image data to obtain a number of denoised historical medical image data; Performing image enhancement on a number of denoised historical medical image data to obtain a number of enhanced historical medical image data; According to the data information of the enhanced historical medical image data, a true label is set for each enhanced historical medical image data to obtain a number of image-processed historical medical image data set with true labels.

[0007] Furthermore, based on several historical medical image data after image processing, a medical image data segmentation model is constructed using an attention multi-scale fusion deep learning algorithm, including the following steps: Use the CNN algorithm to build a segmentation network, and introduce a multi-scale feature fusion mechanism to improve the segmentation network and obtain a multi-scale feature fusion network; The attention mechanism is introduced to improve the multi-scale feature fusion network and obtain the initial medical image data segmentation model; Using a number of image-processed historical medical image data, optimizing and training the initial medical image data segmentation model, obtaining an optimized medical image data segmentation model, and generating a number of historical medical image data segmentation results; According to several historical medical image data segmentation results, the segmentation effect of the optimized medical image data segmentation model is analyzed to obtain real-time segmentation effect analysis results; According to the real-time segmentation effect analysis results, the swarm intelligence optimization algorithm is used to optimize the model parameters of the optimized medical image data segmentation model to obtain the final medical image data segmentation model.

[0008] Furthermore, the multi-scale feature fusion network includes a multi-scale input layer, a multi-scale feature extraction layer, and a multi-scale feature output layer connected in sequence; The attention mechanism is introduced to improve the multi-scale feature fusion network and obtain the initial medical image data segmentation model, which includes the following steps: An attention generation layer is set between the multi-scale input layer and the multi-scale feature extraction layer of the multi-scale feature fusion network; An attention weighted fusion layer is set between the multi-scale feature extraction layer and the multi-scale feature output layer of the multi-scale feature fusion network; After the multi-scale feature output layer, an attention adjustment layer is set to obtain the initial medical image data segmentation model.

[0009] Further, using a number of image-processed historical medical image data, the initial medical image data segmentation model is optimized and trained to obtain an optimized medical image data segmentation model, and a number of historical medical image data segmentation results are generated, including the following steps: The historical medical imaging data after image processing are divided into a model training set and a model test set in a ratio of 7:3; Using the model training set, the initial medical image data segmentation model is optimized and trained to obtain a trained medical image data segmentation model, and a number of historical medical image data segmentation results are generated; Use the model test set to test the trained medical image data segmentation model and obtain several prediction labels; The model test accuracy is obtained by comparing the predicted labels with the real labels of the historical medical imaging data after image processing in the model test set; If the model test accuracy is greater than the accuracy threshold, the optimized medical image data segmentation model is output, otherwise, the optimization training continues.

[0010] Furthermore, based on several historical medical image data segmentation results, the optimized medical image data segmentation model is subjected to segmentation effect analysis to obtain real-time segmentation effect analysis results, including the following steps: Extracting historical feature vectors of a number of historical medical image data segmentation results, and performing standardization processing on the number of historical feature vectors to obtain a number of standardized historical feature vectors; According to several standardized historical feature vectors, a feature space is constructed, and the k-NN algorithm is used to obtain the k neighbors of each historical feature vector in the feature space; According to the k neighbors of each historical feature vector, the segmentation effect analysis is performed to obtain the real-time segmentation effect analysis result of the optimized medical image data segmentation model.

[0011] Furthermore, segmentation effect analysis is performed according to the k neighbors of each historical feature vector to obtain the real-time segmentation effect analysis result of the optimized medical image data segmentation model, including the following steps: Get the Euclidean distance between each historical feature vector and its k neighbors, and get the segmentation effect consistency score based on the average distance of several Euclidean distances; According to the standard deviation of several Euclidean distances, the uncertainty score of the segmentation effect is obtained; According to the segmentation effect consistency score and the segmentation effect uncertainty score, the real-time segmentation effect analysis results of the optimized medical image data segmentation model are obtained.

[0012] Further, according to the real-time segmentation effect analysis results, a swarm intelligence optimization algorithm is used to optimize the model parameters of the optimized medical image data segmentation model to obtain the final medical image data segmentation model, including the following steps: According to the real-time segmentation effect analysis results, the optimization target of the swarm intelligence optimization algorithm is defined, and the model parameters of the optimized medical image data segmentation model are encoded as individual vectors of the swarm intelligence optimization algorithm; According to the optimization target and individual vector, the swarm intelligence optimization algorithm is used to iteratively search for the best individual in the search space. Decoding the individual vector of the optimal individual to obtain the optimal model parameters of the optimized medical imaging data segmentation model; According to the optimal model parameters, the optimized medical image data segmentation model is optimized to obtain the final medical image data segmentation model.

[0013] Furthermore, real-time medical image data is collected, and a medical image data segmentation model is used to perform medical image data segmentation on the real-time medical image data to obtain a real-time medical image data segmentation result, including the following steps: Collecting real-time medical image data and performing preprocessing to obtain preprocessed real-time medical image data, and inputting the preprocessed real-time medical image data into a medical image data segmentation model; Using a multi-scale input layer, multi-scale sampling is performed on the pre-processed real-time medical image data to obtain several real-time feature maps of different scales; Use the attention generation layer to generate corresponding real-time attention weight values ​​based on several real-time feature maps; Use a multi-scale feature extraction layer to extract real-time image features of each real-time feature map; Use the attention weighted fusion layer to perform weighted fusion on several real-time image features according to the real-time attention weight value to obtain real-time weighted fusion features; Use a multi-scale feature output layer to output the initial real-time medical image data segmentation results based on real-time weighted fusion features; Using the attention adjustment layer, the initial real-time medical image data segmentation result is fine-tuned according to the real-time attention weight value to obtain the final real-time medical image data segmentation result.

[0014] A medical image data segmentation system is used to implement a segmentation method. The system comprises an image processing unit, a model building unit and a data segmentation unit which are connected in sequence.

[0015] The beneficial effects of the present invention are: The present invention provides a medical image data segmentation method and system, which can provide high-quality training data for a segmentation model by performing image processing on historical medical image data and setting real labels, thereby improving the segmentation accuracy of the segmentation model on real-time medical image data, accurately identifying and segmenting fine structures in complex medical images, so that the segmentation results meet the high-precision requirements of clinical diagnosis; the model constructed using the attention multi-scale fusion deep learning algorithm can better capture the key features in medical images, improve the model's generalization ability for medical image data of different types and sources, and there is no need to retrain or adjust the model for specific situations; the medical image data segmentation model is automatically constructed, reducing the need for manual intervention and parameter adjustment, realizing the automation and intelligence of the segmentation process, reducing errors caused by inconsistent human judgment, and improving the reliability of medical image segmentation.

[0016] Other beneficial effects of the present invention will be further described in the specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a flowchart of the medical image data segmentation method in the present invention.

[0018] Figure 2 It is a structural block diagram of the medical image data segmentation system in the present invention. DETAILED DESCRIPTION

[0019] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments.

[0020] Embodiment 1: like Figure 1 As shown, this embodiment provides a method for segmenting medical image data, comprising the following steps: S1: collecting a number of historical medical image data, and performing image processing on the number of historical medical image data to obtain a number of image-processed historical medical image data with real labels, including the following steps: S1-1: collecting a number of historical medical imaging data and corresponding data information, and performing data cleaning on the number of historical medical imaging data to obtain a number of cleaned historical medical imaging data; Data information includes patient information, diagnosis results, image acquisition parameters, etc.; preliminary screening of the collected historical medical image data is carried out to exclude image data that does not meet quality standards, has incomplete information, or is not in a uniform format, so as to improve data quality; S1-2: performing normalization processing on a number of cleaned historical medical image data to obtain a number of normalized historical medical image data; Normalization includes size normalization and pixel value normalization to eliminate the size and image intensity differences caused by different imaging devices; S1-3: performing Gaussian denoising on a number of normalized historical medical image data to obtain a number of denoised historical medical image data; To reduce random noise in the image, Gaussian denoising helps improve image quality, making subsequent feature extraction and segmentation more accurate; S1-4: performing image enhancement on a number of denoised historical medical image data to obtain a number of enhanced historical medical image data; Perform enhancement processing on the denoised image data, such as contrast enhancement and sharpening, to highlight the key features in the image. Image enhancement helps improve the visibility and interpretability of the image, providing a better basis for subsequent segmentation and annotation; S1-5: according to the data information of the enhanced historical medical image data, a true label is set for each enhanced historical medical image data, so as to obtain a plurality of image-processed historical medical image data with true labels set; The true label may include the outline of the lesion area, the location of the organ, the type of lesion, etc., providing supervised learning samples for subsequent model training; S2: Based on several historical medical image data after image processing, a medical image data segmentation model is constructed using the attention multi-scale fusion deep learning algorithm, including the following steps: S2-1: Use the Convolutional Neural Networks (CNN) algorithm to build a segmentation network, and introduce a multi-scale feature fusion mechanism to improve the segmentation network to obtain a multi-scale feature fusion network; CNN extracts hierarchical features of images through structures such as convolutional layers and pooling layers, and introduces a multi-scale feature fusion mechanism to capture image details at different scales. The multi-scale feature fusion network includes a multi-scale input layer, a multi-scale feature extraction layer, and a multi-scale feature output layer connected in sequence. By designing a multi-scale feature fusion network, feature extraction and fusion of medical imaging data at different scales are achieved, thereby capturing details and global information in medical imaging data. S2-2: Introduce the attention mechanism and improve the multi-scale feature fusion network to obtain the initial medical image data segmentation model, including the following steps: S2-2-1: An attention generation layer is set between the multi-scale input layer and the multi-scale feature extraction layer of the multi-scale feature fusion network, so that the network can pay more attention to the important areas in the image. This layer will generate an attention weight map, which will affect the processing of image features by the subsequent feature extraction layer; S2-2-2: An attention weighted fusion layer is set between the multi-scale feature extraction layer and the multi-scale feature output layer of the multi-scale feature fusion network. The weighted fusion features will be more representative, which will help improve the accuracy of segmentation and ensure that the network can utilize multi-scale information, which is especially important for processing lesions with different sizes and shapes. S2-2-3: After the multi-scale feature output layer, an attention adjustment layer is set to obtain the initial medical image data segmentation model; Introducing an attention mechanism into the network enables the network to automatically learn and emphasize key areas in medical imaging data, improving segmentation accuracy and efficiency; S2-3: Using a number of image-processed historical medical image data, optimizing and training the initial medical image data segmentation model to obtain an optimized medical image data segmentation model, and generating a number of historical medical image data segmentation results, including the following steps: S2-3-1: Divide the processed historical medical imaging data into a model training set and a model test set in a ratio of 7:3; S2-3-2: Use the model training set to optimize the initial medical image data segmentation model, obtain a trained medical image data segmentation model, and generate several historical medical image data segmentation results; S2-3-3: Use the model test set to test the trained medical image data segmentation model and obtain several prediction labels; S2-3-4: Compare and count the predicted labels with the real labels of the historical medical imaging data after image processing in the model test set to obtain the model test accuracy; S2-3-5: If the model test accuracy is greater than the accuracy threshold, the optimized medical image data segmentation model is output, otherwise, the optimization training continues; The medical image data segmentation result includes a plurality of segmented images obtained by segmenting the medical image data; S2-4: According to several historical medical image data segmentation results, the optimized medical image data segmentation model is analyzed for segmentation effect, and a real-time segmentation effect analysis result is obtained, including the following steps: S2-4-1: extracting historical feature vectors of several historical medical image data segmentation results, and performing standardization processing on the several historical feature vectors to obtain several standardized historical feature vectors; Feature vectors include texture, shape, and edge information of medical imaging data; S2-4-2: construct a feature space based on several standardized historical feature vectors, and use the k-Nearest Neighbors (k-NN) algorithm to obtain k neighbors of each historical feature vector in the feature space; The feature vectors of all segmentation results are constructed into a feature space, and each feature vector corresponds to a point in the feature space; the construction of the feature space helps to analyze the relationship between feature vectors in a multidimensional space; S2-4-3: Perform segmentation effect analysis based on the k neighbors of each historical feature vector to obtain the real-time segmentation effect analysis result of the optimized medical image data segmentation model, including the following steps: S2-4-3-1: Obtain the Euclidean distance between each historical feature vector and its k neighbors, and obtain the segmentation effect consistency score based on the average distance of several Euclidean distances; The average distance is used to characterize the similarity between the segmented image of historical medical imaging data and its neighbors, and can evaluate the consistency of the segmented image. If the similarity between neighbors is high, it means that the segmentation results are relatively consistent; otherwise, there may be uncertainty; S2-4-3-2: Get the uncertainty score of the segmentation effect based on the standard deviation of several Euclidean distances; The distance standard deviation is used to characterize the neighbor distribution of the segmented image of historical medical imaging data. By analyzing the neighbor distribution of the segmented image in the feature space, the uncertainty of the segmentation result can be quantified; S2-4-3-3: According to the segmentation effect consistency score and the segmentation effect uncertainty score, the real-time segmentation effect analysis result of the optimized medical image data segmentation model is obtained; In this embodiment, the segmentation effect consistency score is less than the consistency score threshold, and the real-time segmentation effect analysis result includes poor segmentation result consistency; the segmentation effect uncertainty score is less than the uncertainty score threshold, and the real-time segmentation effect analysis result includes high segmentation result uncertainty; S2-5: According to the real-time segmentation effect analysis results, the swarm intelligence optimization algorithm is used to optimize the model parameters of the optimized medical image data segmentation model to obtain the final medical image data segmentation model, including the following steps: S2-5-1: Based on the real-time segmentation effect analysis results, define the optimization target of the swarm intelligence optimization algorithm, and encode the model parameters of the optimized medical image data segmentation model into individual vectors of the swarm intelligence optimization algorithm; In this embodiment, the real-time segmentation effect analysis result is that the segmentation result consistency is poor and the segmentation result uncertainty is high, so the optimization goal is to maximize consistency and minimize uncertainty; The swarm intelligence optimization algorithm is Improved Sparrow Search Algorithm (ISSA). The ISSA algorithm avoids the defect of traditional swarm intelligence optimization algorithms that they are prone to fall into local optimal values ​​and cannot jump out, thus improving the efficiency of model training and the accuracy of model prediction. S2-5-2: According to the optimization target and individual vector, use the swarm intelligence optimization algorithm to iteratively search in the search space to obtain the optimal individual, including the following steps: S2-5-2-1: Set the algorithm parameters and maximum number of iterations of the ISSA algorithm, and set the fitness function according to the optimization goal; The algorithm parameters of the ISSA algorithm include the search space dimension, determine the search space food and the sparrow position is ;in, is the search space food matrix, They are all elements of the food matrix in the search space. is the sparrow position matrix, are all elements of the sparrow position matrix, is the number of ISSA individuals, Optimize the dimensions of the problem for the model; h is the total number of sparrows; The formula is:

[0021] In the formula, ISSA individual The fitness value of ISSA individual The uncertainty function of ISSA individual The consistency function of All are weight coefficients; is the smallest real number that is not 0; c is the ISSA individual indicator; S2-5-2-2: Initialize using the Circle chaotic mapping sequence according to the algorithm parameters and individual vectors to obtain an initial ISSA population including several initial ISSA individuals; The formula is:

[0022] In the formula, is the initial ISSA individual of Circle chaos mapping; is the randomly generated initial ISSA individual; S2-5-2-3: Use the fitness function to obtain the initial fitness values ​​of all initial ISSA populations, and sort the initial ISSA individuals according to the initial fitness values ​​to obtain the initial discoverers, initial joiners, and initial predators; S2-5-2-4: update the initial ISSA population to obtain an updated ISSA population; the updated ISSA population includes updated discoverers, updated joiners and updated predators; The update formula of the discoverer is:

[0023] In the formula, Respectively t +1, t The iteration c ISSA individuals who discovered it; is the maximum number of iterations; is a random number between 0 and 1; is a normally distributed random number; for A matrix whose elements are all 1; is the warning value; is the safety threshold; The update formula for the joiner is:

[0024] In the formula, Respectively t +1, t The iteration c ISSA individuals who join; The best position for the exposed person to occupy; is the current worst position; is the maximum iteration number threshold; is a random number between 0 and 1; for A matrix whose elements are all 1 or -1; Update parameters for position; The update formula of the predator is:

[0025] In the formula, Respectively t +1, t The iteration c predator ISSA individuals; is the step size control parameter, and , is the convergence factor, A positive real number that controls the step size that is not 0; is the current best position; are the current, best and worst fitness of ISSA individuals respectively; is the minimum constant to prevent the denominator from being 0;

[0026] In the formula, is the convergence factor; tanh(.) is the hyperbolic tangent function; is the iteration indicator; is the maximum number of iterations; a max , a min are the maximum and minimum values ​​of the convergence factor respectively; λ is the deceleration rate parameter, is the decreasing cycle parameter, λ =-2 π , = π ; S2-5-2-5: Use the dynamic reverse learning algorithm to perform dynamic reverse learning on the updated ISSA population to generate a dynamic reverse ISSA population; The formula is:

[0027] In the formula, is a dynamically reversed ISSA individual; is the decreasing inertia coefficient; is the upper limit of the search space; is the lower limit of the search space; For the updated ISSA entity; S2-5-2-6: Use the fitness function to obtain the updated fitness values ​​of all ISSA individuals in the updated ISSA population and the dynamically reversed ISSA population, and obtain the optimal individual based on the updated fitness values; S2-5-2-7: If the current number of iterations is greater than the maximum iteration test or the fitness value of the optimal individual is less than the fitness threshold, the optimal individual is output; S2-5-3: Decode the individual vector of the optimal individual to obtain the optimal model parameters of the optimized medical image data segmentation model; S2-5-4: Optimizing the optimized medical image data segmentation model according to the optimal model parameters to obtain a final medical image data segmentation model; S3: collecting real-time medical image data, and using a medical image data segmentation model to perform medical image data segmentation on the real-time medical image data to obtain a real-time medical image data segmentation result, including the following steps: S3-1: collecting real-time medical image data, and performing preprocessing to obtain preprocessed real-time medical image data, and inputting the preprocessed real-time medical image data into a medical image data segmentation model; S3-2: Use the multi-scale input layer to perform multi-scale sampling on the pre-processed real-time medical image data to obtain several real-time feature maps of different scales; S3-3: Use the attention generation layer to generate corresponding real-time attention weight values ​​according to several real-time feature maps; S3-4: Use a multi-scale feature extraction layer to extract real-time image features of each real-time feature map; S3-5: Use the attention weighted fusion layer to perform weighted fusion on several real-time image features according to the real-time attention weight value to obtain real-time weighted fusion features; S3-6: Use the multi-scale feature output layer to output the initial real-time medical image data segmentation results based on the real-time weighted fusion features; S3-7: Use the attention adjustment layer to fine-tune the initial real-time medical image data segmentation result according to the real-time attention weight value to obtain the final real-time medical image data segmentation result.

[0028] Embodiment 2: like Figure 2 As shown, this embodiment provides a medical image data segmentation system for implementing a segmentation method. The system includes an image processing unit, a model building unit, and a data segmentation unit connected in sequence.

[0029] An image processing unit, used for collecting a number of historical medical image data, and performing image processing on the number of historical medical image data to obtain a number of image-processed historical medical image data with real labels; A model building unit, used to build a medical image data segmentation model based on a number of image-processed historical medical image data using an attention multi-scale fusion deep learning algorithm; The data segmentation unit is used to collect real-time medical image data and use a medical image data segmentation model to perform medical image data segmentation on the real-time medical image data to obtain a real-time medical image data segmentation result.

[0030] The present invention provides a medical image data segmentation method and system, which can provide high-quality training data for a segmentation model by performing image processing on historical medical image data and setting real labels, thereby improving the segmentation accuracy of the segmentation model on real-time medical image data, accurately identifying and segmenting fine structures in complex medical images, so that the segmentation results meet the high-precision requirements of clinical diagnosis; the model constructed using the attention multi-scale fusion deep learning algorithm can better capture the key features in medical images, improve the model's generalization ability for medical image data of different types and sources, and there is no need to retrain or adjust the model for specific situations; the medical image data segmentation model is automatically constructed, reducing the need for manual intervention and parameter adjustment, realizing the automation and intelligence of the segmentation process, reducing errors caused by inconsistent human judgment, and improving the reliability of medical image segmentation.

[0031] The present invention is not limited to the above optional implementations, and anyone can derive other various forms of products under the enlightenment of the present invention. The above specific implementations should not be understood as limiting the scope of protection of the present invention. The scope of protection of the present invention should be based on the definition in the claims, and the description can be used to interpret the claims.

Claims

1. A method for segmenting medical image data, characterized in that: The steps include: Collecting a number of historical medical image data, and performing image processing on the number of historical medical image data to obtain a number of image-processed historical medical image data with real labels; Based on several historical medical imaging data after image processing, a medical imaging data segmentation model was constructed using the attention multi-scale fusion deep learning algorithm; Real-time medical image data is collected, and a medical image data segmentation model is used to perform medical image data segmentation on the real-time medical image data to obtain a real-time medical image data segmentation result.

2. A method for segmenting medical image data according to claim 1, characterized in that: Collecting a number of historical medical image data, and performing image processing on the number of historical medical image data to obtain a number of image-processed historical medical image data with real labels, includes the following steps: Collecting a number of historical medical imaging data and corresponding data information, and performing data cleaning on the number of historical medical imaging data to obtain a number of cleaned historical medical imaging data; Normalizing a number of cleaned historical medical image data to obtain a number of normalized historical medical image data; Performing Gaussian denoising on a number of normalized historical medical image data to obtain a number of denoised historical medical image data; Performing image enhancement on a number of denoised historical medical image data to obtain a number of enhanced historical medical image data; According to the data information of the enhanced historical medical image data, a true label is set for each enhanced historical medical image data to obtain a number of image-processed historical medical image data set with true labels.

3. A method for segmenting medical image data according to claim 2, characterized in that: Based on several historical medical image data after image processing, a medical image data segmentation model is constructed using the attention multi-scale fusion deep learning algorithm, including the following steps: Use the CNN algorithm to build a segmentation network, and introduce a multi-scale feature fusion mechanism to improve the segmentation network and obtain a multi-scale feature fusion network; The attention mechanism is introduced to improve the multi-scale feature fusion network and obtain the initial medical image data segmentation model; Using a number of image-processed historical medical image data, optimizing and training the initial medical image data segmentation model, obtaining an optimized medical image data segmentation model, and generating a number of historical medical image data segmentation results; According to several historical medical image data segmentation results, the segmentation effect of the optimized medical image data segmentation model is analyzed to obtain real-time segmentation effect analysis results; According to the real-time segmentation effect analysis results, the swarm intelligence optimization algorithm is used to optimize the model parameters of the optimized medical image data segmentation model to obtain the final medical image data segmentation model.

4. The method for segmenting medical image data according to claim 3, characterized in that: The multi-scale feature fusion network includes a multi-scale input layer, a multi-scale feature extraction layer and a multi-scale feature output layer connected in sequence; The attention mechanism is introduced to improve the multi-scale feature fusion network and obtain the initial medical image data segmentation model, which includes the following steps: An attention generation layer is set between the multi-scale input layer and the multi-scale feature extraction layer of the multi-scale feature fusion network; An attention weighted fusion layer is set between the multi-scale feature extraction layer and the multi-scale feature output layer of the multi-scale feature fusion network; After the multi-scale feature output layer, an attention adjustment layer is set to obtain the initial medical image data segmentation model.

5. A method for segmenting medical image data according to claim 4, characterized in that: Using a number of image-processed historical medical image data, optimizing and training the initial medical image data segmentation model, obtaining an optimized medical image data segmentation model, and generating a number of historical medical image data segmentation results, including the following steps: The historical medical imaging data after image processing are divided into a model training set and a model test set in a ratio of 7:3; Using the model training set, the initial medical image data segmentation model is optimized and trained to obtain a trained medical image data segmentation model, and a number of historical medical image data segmentation results are generated; Use the model test set to test the trained medical image data segmentation model and obtain several prediction labels; The model test accuracy is obtained by comparing the predicted labels with the real labels of the historical medical imaging data after image processing in the model test set; If the model test accuracy is greater than the accuracy threshold, the optimized medical image data segmentation model is output, otherwise, the optimization training continues.

6. A method for segmenting medical image data according to claim 5, characterized in that: According to several historical medical image data segmentation results, the optimized medical image data segmentation model is analyzed for segmentation effect, and the real-time segmentation effect analysis result is obtained, including the following steps: Extracting historical feature vectors of a number of historical medical image data segmentation results, and performing standardization processing on the number of historical feature vectors to obtain a number of standardized historical feature vectors; According to several standardized historical feature vectors, a feature space is constructed, and the k-NN algorithm is used to obtain the k neighbors of each historical feature vector in the feature space; According to the k neighbors of each historical feature vector, the segmentation effect analysis is performed to obtain the real-time segmentation effect analysis result of the optimized medical image data segmentation model.

7. A method for segmenting medical image data according to claim 6, characterized in that: According to the k neighbors of each historical feature vector, segmentation effect analysis is performed to obtain the real-time segmentation effect analysis result of the optimized medical image data segmentation model, including the following steps: Get the Euclidean distance between each historical feature vector and its k neighbors, and get the segmentation effect consistency score based on the average distance of several Euclidean distances; According to the standard deviation of several Euclidean distances, the uncertainty score of the segmentation effect is obtained; According to the segmentation effect consistency score and the segmentation effect uncertainty score, the real-time segmentation effect analysis results of the optimized medical image data segmentation model are obtained.

8. A method for segmenting medical image data according to claim 7, characterized in that: According to the real-time segmentation effect analysis results, the swarm intelligence optimization algorithm is used to optimize the model parameters of the optimized medical image data segmentation model to obtain the final medical image data segmentation model, including the following steps: According to the real-time segmentation effect analysis results, the optimization target of the swarm intelligence optimization algorithm is defined, and the model parameters of the optimized medical image data segmentation model are encoded as individual vectors of the swarm intelligence optimization algorithm; According to the optimization target and individual vector, the swarm intelligence optimization algorithm is used to iteratively search for the best individual in the search space. Decoding the individual vector of the optimal individual to obtain the optimal model parameters of the optimized medical imaging data segmentation model; According to the optimal model parameters, the optimized medical image data segmentation model is optimized to obtain the final medical image data segmentation model.

9. A method for segmenting medical image data according to claim 8, characterized in that: Collecting real-time medical image data, and using a medical image data segmentation model to perform medical image data segmentation on the real-time medical image data to obtain a real-time medical image data segmentation result, includes the following steps: Collecting real-time medical image data and performing preprocessing to obtain preprocessed real-time medical image data, and inputting the preprocessed real-time medical image data into a medical image data segmentation model; Using a multi-scale input layer, multi-scale sampling is performed on the pre-processed real-time medical image data to obtain several real-time feature maps of different scales; Use the attention generation layer to generate corresponding real-time attention weight values ​​based on several real-time feature maps; Use a multi-scale feature extraction layer to extract real-time image features of each real-time feature map; Use the attention weighted fusion layer to perform weighted fusion on several real-time image features according to the real-time attention weight value to obtain real-time weighted fusion features; Use a multi-scale feature output layer to output the initial real-time medical image data segmentation results based on real-time weighted fusion features; Using the attention adjustment layer, the initial real-time medical image data segmentation result is fine-tuned according to the real-time attention weight value to obtain the final real-time medical image data segmentation result.

10. A medical image data segmentation system, used to implement the segmentation method according to any one of claims 1 to 9, characterized in that: The system comprises an image processing unit, a model building unit and a data segmentation unit which are connected in sequence.

Citation Information

Patent Citations

  • Image segmentation system based on cluster analysis

    CN108765429A

  • Noisy plant point cloud semantic segmentation method and system based on self-attention feature fusion

    CN116311218A

  • Medical image segmentation method, system and device, storage medium and product

    CN116758286A

  • Method for intelligently fusing CT image data with MRI data

    CN117636116A

  • Medical image automatic segmentation method based on cognitive deep learning

    CN118470043A