Intracranial aneurysm segmentation method, device, equipment and storage medium
By generating artificial aneurysm datasets and merging them with deep learning networks for adaptive block segmentation training, the problems of low segmentation accuracy and high annotation cost of intracranial aneurysms were solved, and high-precision segmentation of aneurysms of different sizes was achieved.
Patent Information
- Application Number
- CN202611263421.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-19
- Publication Date
- 2026-11-24
AI Technical Summary
In existing technologies, intracranial aneurysm segmentation suffers from low segmentation accuracy and high cost of aneurysm annotation acquisition, especially for aneurysms of different sizes where high-precision segmentation is difficult to achieve.
By acquiring a small number of labeled binary images of blood vessels and binary images of aneurysms and performing coordinate transformation, an artificial aneurysm dataset is generated. An encoder-decoder deep learning network is used for adaptive block segmentation training to construct a target aneurysm segmentation model, achieving accurate segmentation of aneurysms of different sizes.
It reduces the reliance on extensive and precise annotation of aneurysms, improves the segmentation accuracy of aneurysms of different sizes, and meets the needs of clinical applications.
Smart Images

Figure CN123160879A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, and in particular to methods, apparatus, devices and storage media for intracranial aneurysm segmentation. Background Technology
[0002] Intracranial aneurysms are high-risk vascular lesions formed by abnormal local dilation of intracranial arteries. Rupture can lead to fatal subarachnoid hemorrhage, seriously threatening the patient's life. Currently, clinical diagnosis mainly relies on multimodal vascular imaging such as digital subtraction angiography (DSA), CT angiography (CTA), and magnetic resonance angiography (MRA). Although experienced physicians can quickly locate aneurysms, manual segmentation is still required. This process is time-consuming and labor-intensive, and the segmentation results are greatly affected by the physician's subjective experience, resulting in poor consistency and failing to meet the clinical needs for efficient and precise treatment.
[0003] In existing technologies, intracranial aneurysm segmentation primarily relies on fully automated methods, categorized into two types: direct segmentation based on raw images and segmentation of aneurysms after generating a vascular mask. These technologies cover both traditional image segmentation algorithms and deep learning algorithms. Deep learning solutions often improve segmentation performance by adjusting network structure and introducing modules such as multi-round feature enhancement fusion and attention mechanisms. However, the segmentation accuracy of existing methods falls short of clinical requirements. On one hand, obtaining high-precision aneurysm annotations is extremely costly, and using low-quality pseudo-labels during training introduces a large amount of dirty data, directly limiting the model's performance ceiling. On the other hand, the algorithms cannot simultaneously achieve high segmentation accuracy across aneurysms of different sizes. Large aneurysms are prone to incomplete segmentation and misclassification of the parent artery within the aneurysm region, while small aneurysms commonly suffer from missed segmentation. Overall, the segmentation accuracy fails to meet clinical application standards.
[0004] It is evident that existing technologies suffer from low segmentation accuracy and high cost in obtaining aneurysm annotations for intracranial aneurysms of different sizes. Summary of the Invention
[0005] This application provides a method, apparatus, device, and storage medium for intracranial aneurysm segmentation, in order to solve the technical problems of low segmentation accuracy and high cost of aneurysm annotation acquisition in the prior art for segmenting intracranial aneurysms of different sizes.
[0006] According to one aspect of the embodiments of this application, this application provides a method for segmenting intracranial aneurysms. The method includes: performing coordinate transformation based on acquired binary image annotations of blood vessels and binary image annotations of aneurysms; constructing an artificial aneurysm dataset based on the rotation matrix and spatial translation vector of the aneurysm and blood vessel obtained by the coordinate transformation; training an aneurysm segmentation model based on the artificial aneurysm dataset; performing adaptive block segmentation and forward propagation of aneurysm block images for aneurysms of different sizes to obtain a target aneurysm segmentation model; and segmenting the image to be segmented using the target aneurysm segmentation model based on multiple three-dimensional contour coordinate points of the aneurysm in the image to be segmented and the binary image of the blood vessel to obtain a target aneurysm segmented image.
[0007] Optionally, the step of performing coordinate transformation based on the acquired binary image annotations of blood vessels and binary image annotations of aneurysms, and constructing an artificial aneurysm dataset based on the rotation matrix and spatial translation vector of the aneurysm and blood vessel obtained from the coordinate transformation, includes: constructing a set of binary images of blood vessels based on the acquired binary image annotations of blood vessels, and constructing a set of binary images of aneurysms based on the acquired binary image annotations of aneurysms; acquiring a binary image of a blood vessel based on the set of binary images of blood vessels, and acquiring a binary image of an aneurysm based on the set of binary images of aneurysms; calculating the binary mask of the blood vessel edge of the binary image of blood vessels and the binary mask of the aneurysm edge of the binary image of aneurysms, respectively; performing coordinate transformation based on the binary mask of the blood vessel edge and the binary mask of the aneurysm edge, calculating the rotation matrix of the aneurysm rotating to the blood vessel and the spatial translation vector between the aneurysm and the blood vessel; and attaching the binary image of the aneurysm to the binary image of blood vessels based on the rotation matrix and the spatial translation vector to construct artificial aneurysm data, and constructing the artificial aneurysm dataset based on all the constructed artificial aneurysm data.
[0008] Optionally, the step of performing coordinate transformation based on the binary mask of the vessel edge and the binary mask of the aneurysm edge, and calculating the rotation matrix of the aneurysm rotating to the vessel and the spatial translation vector between the aneurysm and the vessel, includes: selecting the coordinates of the vessel center point from the binary mask of the vessel edge, and selecting the coordinates of the aneurysm center point from the binary mask of the aneurysm edge; calculating the coordinates of the N vessel points closest to the vessel center point coordinates in the binary mask of the vessel edge, and calculating the coordinates of the M aneurysm points closest to the aneurysm center point coordinates in the binary mask of the aneurysm edge, where N and M are positive integers greater than 1; performing principal component analysis on the coordinates of the N vessel points and the M aneurysm points respectively, and calculating the vessel feature vector corresponding to the minimum eigenvalue of the vessel and the aneurysm feature vector corresponding to the minimum eigenvalue of the aneurysm; performing rotation calculation based on the vessel feature vector and the aneurysm feature vector to obtain the rotation matrix of the aneurysm rotating to the vessel, and obtaining the spatial translation vector between the vessel and the aneurysm based on the coordinates of the vessel center point and the aneurysm center point.
[0009] Optionally, the step of attaching the binary image of the aneurysm to the binary image of the blood vessel based on the rotation matrix and the spatial translation vector to construct artificial aneurysm data, and constructing the artificial aneurysm dataset based on all the constructed artificial aneurysm data, includes: rotating the binary image of the aneurysm using the rotation matrix based on an affine transformation function; migrating the rotated binary image of the aneurysm to the target spatial position of the binary image of the blood vessel based on the spatial translation vector; performing pixel fusion between the binary image of the aneurysm at the target spatial position and the binary image of the blood vessel to obtain the labeled data of the artificial aneurysm, and constructing the artificial aneurysm dataset based on all the constructed artificial aneurysm data.
[0010] Optionally, the step of training the aneurysm segmentation model based on the artificial aneurysm dataset, performing adaptive block segmentation and forward propagation of the segmented aneurysm images for aneurysms of different sizes, and training the target aneurysm segmentation model includes: constructing the aneurysm segmentation model based on a deep learning network with an encoder-decoder structure; performing data preprocessing on the artificial aneurysm dataset, including dataset expansion, adaptive block segmentation for aneurysms of different sizes, and data normalization; performing forward propagation on the preprocessed segmented aneurysm images based on the aneurysm segmentation model, and performing model convergence according to the gradient descent method to train the target aneurysm segmentation model.
[0011] Optionally, the adaptive segmentation of aneurysms of different sizes includes: calculating the coordinates of the center point of the segmentation block and the size of the aneurysm in each dimension of three-dimensional space based on multiple three-dimensional coordinate points of the aneurysm in the artificial aneurysm dataset; estimating the target size of the segmented aneurysm image based on the size of the aneurysm in each dimension of three-dimensional space; and segmenting the aneurysm segmentation image of the target size onto the binary image of the blood vessel, with the coordinates of the center point of the segmentation block as the center.
[0012] Optionally, the step of segmenting the image to be segmented using the target aneurysm segmentation model based on multiple three-dimensional contour coordinate points of the aneurysm in the image to be segmented and the binary image of the blood vessel to obtain a target aneurysm segmentation image includes: calculating the coordinates of the center point of the image to be segmented and the size of the aneurysm in each dimension of the three-dimensional space based on multiple three-dimensional contour coordinate points of the aneurysm in the image to be segmented; estimating the block size of the target aneurysm segmentation image based on the coordinates of the center point of the image to be segmented and the size of the aneurysm in each dimension of the three-dimensional space; segmenting blocks on the binary image of the blood vessel of the image to be segmented based on the block size of the target aneurysm segmentation image; performing forward propagation inference on the target aneurysm segmentation image using the target aneurysm segmentation model to obtain an aneurysm segmentation probability image; and performing binary image mapping based on the aneurysm segmentation probability image to obtain the target aneurysm segmentation image corresponding to the image to be segmented.
[0013] According to another aspect of the embodiments of this application, this application provides an intracranial aneurysm segmentation device, the device comprising: a data construction module, used to perform coordinate transformation based on acquired binary image annotations of blood vessels and binary image annotations of aneurysms, and construct an artificial aneurysm dataset based on the rotation matrix and spatial translation vector of the aneurysm and blood vessel obtained by coordinate transformation; a model training module, used to train an aneurysm segmentation model based on the artificial aneurysm dataset, perform adaptive block segmentation and forward propagation of aneurysm block images for aneurysms of different sizes, and train to obtain a target aneurysm segmentation model; and a target segmentation module, used to segment the image to be segmented based on multiple three-dimensional contour coordinate points of the aneurysm in the image to be segmented and the binary image of the blood vessel, and obtain a target aneurysm segmentation image by using the target aneurysm segmentation model.
[0014] According to another aspect of the embodiments of this application, this application provides an electronic device, including: a processor, a memory, and a network interface. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory through the network interface, and the processor executes the machine-readable instructions to perform the steps of the intracranial aneurysm segmentation method.
[0015] According to another aspect of the embodiments of this application, this application provides a storage medium having processor-executable non-volatile program code that causes the processor to perform the steps of the intracranial aneurysm segmentation method.
[0016] Compared with related technologies, the technical solutions provided in this application have the following advantages: The intracranial aneurysm segmentation method provided in this application can convert a small number of labeled binary images of blood vessels and aneurysms to form a rotation matrix and spatial translation vector between the aneurysm and the blood vessel. Then, the binary images of the aneurysm and the blood vessel are fitted together according to the rotation matrix and spatial translation vector to generate an artificial aneurysm dataset. This allows for the generation of diverse artificial aneurysm data with less data, meeting the data requirements of aneurysm segmentation models under deep learning and reducing the dependence on a large number of accurately labeled aneurysms. In addition, the aneurysm segmentation model implements adaptive block segmentation for aneurysms of different sizes during training, which can improve the segmentation accuracy for aneurysms of different sizes. It can also achieve accurate segmentation of aneurysms based on multiple three-dimensional contour coordinate points of the aneurysm in the given image to be segmented and the binary image of the blood vessel, further improving the segmentation accuracy for aneurysms of different sizes. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without any creative effort.
[0018] Figure 1 This is a flowchart of an optional intracranial aneurysm segmentation method according to an embodiment of this application; Figure 2 This is an optional flowchart for generating artificial aneurysm data according to an embodiment of this application; Figure 3 This is a flowchart illustrating an optional aneurysm segmentation model training process according to an embodiment of this application. Figure 4 This is a flowchart illustrating an optional aneurysm segmentation model inference provided according to an embodiment of this application. Figure 5 This is a structural diagram of an optional intracranial aneurysm segmentation device according to an embodiment of this application; Figure 6 This is a schematic diagram of an optional electronic device structure provided in an embodiment of this application. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] To address the problems mentioned in the background art, according to one aspect of the embodiments of this application, an embodiment of an intracranial aneurysm segmentation method is provided.
[0021] like Figure 1 As shown, Figure 1 This is a flowchart illustrating an intracranial aneurysm segmentation method provided in an embodiment of the present invention. Taking the intracranial aneurysm segmentation method executed by a server as an example, the intracranial aneurysm segmentation method includes the following steps: Step S102: Based on the acquired binary image annotations of blood vessels and binary image annotations of aneurysms, coordinate transformation is performed, and an artificial aneurysm dataset is constructed based on the rotation matrix and spatial translation vector of the aneurysm and blood vessels obtained from the coordinate transformation.
[0022] In this embodiment, the intracranial aneurysm segmentation method provided by the present invention is applicable to data scenarios of different modalities such as CT angiography, magnetic resonance imaging (MRA), and digital subtraction angiography (DSA).
[0023] In this context, the annotation of binary images of blood vessels and aneurysms refers to the already annotated binary images of blood vessels (blood vessel masks) and aneurysms (aneurysm masks), requiring only a small amount of labeled data. Based on the acquired multiple blood vessel mask annotations and aneurysm mask annotations, coordinate transformation calculations are performed to obtain the rotation matrix and spatial translation vector between the aneurysm and the blood vessel. The rotation matrix refers to the degree of rotation from the aneurysm mask to the blood vessel mask, and the spatial translation vector refers to the amount of translation from the aneurysm to the blood vessel mask. Based on the rotation matrix and spatial translation vector, the aneurysm mask can be attached to the blood vessel mask, thus obtaining artificial aneurysm data. After completing the translation and rotation between all blood vessel mask annotations and aneurysm mask annotations, n sets of artificial aneurysm data will be obtained, which can then be used to construct an artificial aneurysm dataset. .
[0024] Step S104: Based on the artificial aneurysm dataset, train the aneurysm segmentation model by performing adaptive block segmentation and forward propagation of the aneurysm segmentation images for aneurysms of different sizes, and train to obtain the target aneurysm segmentation model.
[0025] In this embodiment, the aforementioned artificial aneurysm dataset is used to train an aneurysm segmentation model, such as the Unet model, using a deep learning network model with an encoder-decoder structure. The training process includes data preprocessing and network training. Data preprocessing includes adaptive block segmentation for aneurysms of different sizes, including adaptive block segmentation for ultra-large aneurysms (diameter greater than 6 mm) and ultra-small aneurysms (diameter less than 2 mm), to ensure that the proportion of aneurysms in the overall image input to the aneurysm segmentation model is similar for all sizes. During model training, the segmented aneurysm images are forward-propagated to finally train the target aneurysm segmentation model. Model convergence can be achieved using gradient descent.
[0026] Furthermore, during the forward propagation process, the aneurysm segmentation image, as input data, sequentially passes through the convolution and pooling layers of the encoder to extract multi-scale vascular and aneurysm features. Then, through the upsampling and skip connection layers of the decoder, the spatial resolution of the feature map is gradually restored. After completing the forward computation of all network layers, the prediction results of the output layer are obtained through the interface to obtain the aneurysm segmentation image of the corresponding segmentation block.
[0027] Step S106: Based on the multiple three-dimensional contour coordinate points of the aneurysm in the image to be segmented and the binary image of the blood vessel, the aneurysm segmentation model is used to segment the image to be segmented to obtain the segmented image of the target aneurysm.
[0028] In the reasoning process of the model, multiple three-dimensional contour coordinates of the aneurysm and the binary image of the blood vessel in the image to be segmented are input as known data into the target aneurysm segmentation model. In the target aneurysm segmentation model, based on the multiple three-dimensional contour coordinates of the aneurysm and the binary image of the blood vessel, the size of the cut-out image in the image to be segmented is estimated. Then, based on the estimated cut-out image, forward propagation is performed to output the target aneurysm segmentation image of the image to be segmented.
[0029] In this embodiment of the invention, a small number of labeled binary images of blood vessels and binary images of aneurysms can be converted to form a rotation matrix and a spatial translation vector between the aneurysm and the blood vessel. Then, the binary images of the aneurysm and the blood vessel are fitted together according to the rotation matrix and the spatial translation vector to generate an artificial aneurysm dataset. This allows for the generation of diverse aneurysm data with less data, meeting the data requirements of aneurysm segmentation models under deep learning and reducing the dependence on a large number of accurately labeled aneurysms. In addition, the aneurysm segmentation model implements adaptive block segmentation for aneurysms of different sizes during training. For aneurysms of different sizes, it can improve the segmentation accuracy and can achieve accurate segmentation of aneurysms based on multiple three-dimensional contour coordinate points of the aneurysm in the given image to be segmented and the binary image of the blood vessel, further improving the segmentation accuracy for aneurysms of different sizes.
[0030] In some optional embodiments, step S102 above includes: S1021, construct a set of binary images of blood vessels based on the obtained binary image annotations of the blood vessels, and construct a set of binary images of aneurysms based on the obtained binary image annotations of the aneurysms; S1022, Obtain a binary image of a blood vessel based on the set of binary images of blood vessels, and obtain a binary image of an aneurysm based on the set of binary images of aneurysms; S1023, calculate the binary mask of the blood vessel edge in the binary image of the blood vessel and the binary mask of the aneurysm edge in the binary image of the aneurysm, respectively; S1024, Based on the binary mask of the blood vessel edge and the binary mask of the aneurysm edge, perform coordinate transformation, and calculate the rotation matrix of the aneurysm rotating to the blood vessel and the spatial translation vector between the aneurysm and the blood vessel; S1025, based on the rotation matrix and the spatial translation vector, the binary image of the aneurysm is attached to the binary image of the blood vessel to construct artificial aneurysm data, and the artificial aneurysm data set is constructed based on all the constructed artificial aneurysm data.
[0031] Combination Figure 2 As shown, a set of binary blood vessel images can be constructed based on the obtained n blood vessel mask annotations. Similarly, a set of binary aneurysm images is constructed based on the obtained n aneurysm mask annotations. A mask for an aneurysm is randomly selected from a set of binary aneurysm images. ) and a vascular mask ( ), calculated using morphological methods of expansion and corrosion and The corresponding edge mask, i.e. Binary mask of blood vessel edges and Binary mask of aneurysm margin .
[0032] Furthermore, based on and By performing coordinate transformation on the corresponding edge mask, the rotation matrix of the aneurysm to the blood vessel and the spatial translation vector between the aneurysm and the blood vessel can be calculated. After rotating and translating the aneurysm based on the rotation matrix and spatial translation vector, the aneurysm can be attached to the blood vessel mask to obtain the corresponding... and Artificial aneurysm data I i When the set of binary images of blood vessels is completed... and aneurysm binary image set After constructing the artificial aneurysm data from n data points, we will obtain n artificial aneurysm data sets, thus constructing an artificial aneurysm dataset. .
[0033] In this embodiment, by performing edge mask calculation and coordinate transformation based on a small number of acquired binary image annotations of blood vessels and aneurysms, the rotation matrix of the aneurysm rotating to the blood vessel and the spatial translation vector between the aneurysm and the blood vessel can be obtained. Based on the rotation matrix and the spatial translation vector, the aneurysm is attached to the blood vessel, and finally an artificial aneurysm dataset can be constructed. This realizes the generation of aneurysm fake data based on a small number of annotations, meets the data requirements of deep learning segmentation models, reduces the dependence on a large number of accurate aneurysm annotations, eliminates the need to acquire a large number of accurate aneurysm annotations, reduces the cost of high-precision aneurysm annotation data, and avoids the situation where the fake labels output by the model contain dirty data, which affects the performance of the segmentation model.
[0034] In some optional embodiments, step S1024 specifically includes: A11, Select the coordinates of the center point of the blood vessel from the binary mask of the blood vessel edge, and select the coordinates of the center point of the aneurysm from the binary mask of the aneurysm edge; A12, calculate the coordinates of the N blood vessel points closest to the coordinates of the blood vessel center point in the binary mask of the blood vessel edge, and calculate the coordinates of the M aneurysm points closest to the coordinates of the aneurysm center point in the binary mask of the aneurysm edge, where N and M are positive integers greater than 1; A13, perform principal component analysis on the coordinates of the first N blood vessel points and the coordinates of the first M aneurysm points respectively, and calculate the blood vessel feature vector corresponding to the minimum feature value of the blood vessel and the aneurysm feature vector corresponding to the minimum feature value of the aneurysm. A14. Based on the vascular feature vector and the aneurysm feature vector, perform rotation calculation to obtain the rotation matrix of the aneurysm rotating to the vascular, and based on the coordinates of the vascular center point and the aneurysm center point, obtain the spatial translation vector between the vascular and the aneurysm.
[0035] Combination Figure 2 As shown, in this embodiment, a binary mask is used at the edge of the blood vessel. A point is randomly selected as the center point, and the coordinates of the center point of the blood vessel are: Selected by calculating Euclidean distance The coordinates of the center point of the blood vessel are The coordinates of the N nearest vessel points are calculated; for example, the coordinates of the 30 nearest vessel points are calculated. Then, Principal Component Analysis (PCA) is used to calculate the vessel eigenvector (vessel cross-section normal vector) corresponding to the minimum eigenvalue. PCA methods include covariance matrix eigenvalue decomposition, Singular Value Decomposition (SVD), and Non-negative Matrix Factorization (NMF).
[0036] Similarly, in aneurysms A point is randomly selected as the center point, and the coordinates of the aneurysm center point are: A binary mask for aneurysms is selected by calculating the Euclidean distance. The coordinates of the center point of the aneurysm are Calculate the coordinates of the M nearest aneurysm points, for example, the coordinates of the 30 nearest aneurysm points. Then, use principal component analysis to calculate the aneurysm eigenvector (aneurysm cross-section normal vector) corresponding to the minimum eigenvalue.
[0037] Furthermore, based on the normal vectors of the vessel section and the aneurysm section, the rotation matrix from the aneurysm to the vessel can be calculated using the Rodriguez rotation formula, along with the coordinates of the vessel's center point. Coordinates of the aneurysm center The spatial translation vector can be calculated.
[0038] In this embodiment, the eigenvector corresponding to the minimum eigenvalue of PCA is used as the cross-sectional normal vector. This allows for the precise extraction of the cross-sectional normal direction of blood vessels and aneurysms directly from local point set data. Compared to traditional manual calibration methods, the error in normal vector calculation is significantly reduced, ensuring a more reasonable attachment angle between the aneurysm and the blood vessel. The entire process achieves precise pose solving based on the pixel coordinates of the mask, resulting in a higher quality artificial aneurysm dataset that effectively supports the training of subsequent aneurysm segmentation models. Furthermore, it eliminates the need to introduce additional image grayscale information and can directly interface with existing blood vessel and aneurysm segmentation annotation results, significantly lowering the barrier to generating artificial aneurysm data.
[0039] In some optional embodiments, step S1025 above includes: A21, Based on the affine transformation function, the binary image of the aneurysm is rotated by the rotation matrix; A22, based on the spatial translation vector, the rotated binary image of the aneurysm is migrated to the target spatial position of the binary image of the blood vessel; A23, perform pixel fusion of the binary image of the aneurysm at the target spatial location and the binary image of the blood vessel to obtain the labeled data of the artificial aneurysm, and construct the artificial aneurysm data set based on all the constructed artificial aneurysm data.
[0040] Among them, the biomimetic transformation function is a customized affine registration function specifically designed to accurately fit an independent aneurysm mask to a specified position on a vascular mask. Its core purpose is to generate labeled data of artificial aneurysms that conform to the real anatomical morphology, and to avoid generating invalid samples that do not conform to clinical anatomical logic.
[0041] In this embodiment, an affine transformation function is called to rotate the aneurysm mask by an angle using a rotation matrix. The rotated aneurysm mask is then moved to the target spatial position of the blood vessel mask based on a translation vector. The transformed aneurysm mask and the blood vessel mask are then pixel-fused, preserving the main body of the blood vessel while superimposing the aneurysm region. Invalid pixels that overlap and conflict after fusion are removed to obtain the final artificial aneurysm annotation data.
[0042] In some examples, a pre-calculated 3×3 rotation matrix and a spatial translation vector calculated from the coordinates of the vessel center point and the aneurysm center point are loaded first. The first two rows of the 3×3 rotation matrix are truncated and concatenated with the spatial translation vector to form a 2×3 standard affine transformation matrix, completing the parameter initialization of the affine transformation function. The affine transformation function can use bilinear interpolation as a resampling strategy to avoid jagged edges after the aneurysm mask is rotated and to ensure that the pixel attributes of the binary mask are not destroyed. Further, the original independent aneurysm mask is input into the initialized affine transformation function, using the geometric center point coordinates of the aneurysm itself as the rotation anchor point. A spatial mapping operation is performed based on the concatenated affine transformation matrix, automatically preserving the complete shape of the aneurysm during rotation. After rotation, an intermediate aneurysm mask whose pose perfectly matches the local cross-section of the vessel is output. The rotated intermediate aneurysm mask is then input into the spatial translation module, using the spatial translation vector as the displacement parameter, to accurately migrate the geometric center point of the aneurysm mask to a pre-selected target spatial position on the vessel mask. It is important to note that the spatial coordinate system of the vascular mask is strictly aligned during the migration process to ensure that the voxel spacing and spatial resolution of the aneurysm mask are completely consistent with those of the vascular mask, avoiding spatial misalignment and scale mismatch issues. Then, the aneurysm mask migrated to the target spatial location and the vascular mask are fused pixel by pixel. Pixels in the vascular mask originally marked as vascular regions retain their original attributes, while pixels in the aneurysm mask marked as aneurysms are labeled as independent aneurysm category tags in the fusion result. During the fusion process, the connection area between the aneurysm and the vessel is automatically verified, and invalid pixels where the aneurysm is completely detached from the vessel or penetrates the vessel wall are removed. The final output is labeled artificial aneurysm data that conforms to the actual clinical anatomical morphology, and an artificial aneurysm dataset is constructed based on all the obtained artificial aneurysm data.
[0043] In this embodiment, an affine transformation function is used to perform an affine transformation based on the rotation matrix and the spatial translation vector to achieve precise pose adjustment and spatial positioning of the aneurysm mask. Then, pixel-level fusion is used to generate artificial aneurysm annotation data. This avoids the shortcomings of traditional registration algorithms, such as iterative time consumption and easy getting trapped in local optima. It also ensures that the generated artificial aneurysm completely fits the real vascular anatomy, greatly improving the generation efficiency and sample quality of aneurysm annotation data, and providing high-quality samples for model training.
[0044] In some optional embodiments, step S104 above includes: S1041, The aneurysm segmentation model is constructed based on a deep learning network with an encoder-decoder structure; S1042, perform data preprocessing on the artificial aneurysm dataset, including dataset expansion, adaptive block segmentation for aneurysms of different sizes, and data normalization; S1043, Based on the aneurysm segmentation model, the preprocessed aneurysm block image is forward propagated, and the model converges according to the gradient descent method to train and obtain the target aneurysm segmentation model.
[0045] In this embodiment, combined with Figure 3 As shown, after inputting the intracranial blood vessel mask and aneurysm mask, image preprocessing is performed, and then model training is performed. Among them, in the data preprocessing, the dataset can be expanded by translating, rotating, flipping, etc., of the samples in the artificial aneurysm dataset, making the sample set richer and more diverse. Adaptive block segmentation of aneurysms of different sizes can obtain their respective corresponding aneurysm block images, which can ensure that the proportion of aneurysms in the whole image input into the aneurysm segmentation model is similar for all sizes of aneurysms. Data normalization, including converting data of different dimensions and ranges to a unified standard, can improve the performance of the segmentation model. The calculation formula for data normalization is as follows (1): (1) Among them, I This represents the pixel value of the artificial aneurysm data at coordinates (x, y). Let I(x,y) be the pixel value mapped from the pixel at coordinate (x,y), and Min(I(x,y)) and Max(I(x,y)) be the minimum and maximum pixel values in the artificial aneurysm dataset, respectively.
[0046] Furthermore, the aneurysm segmentation model is used to perform forward propagation on the segmented images of each aneurysm. During the forward propagation, gradient descent is used until the aneurysm segmentation model converges. The loss function used can be the Dice loss function, or a combination of Dice loss and weighted cross-entropy, to solve the class imbalance problem of small aneurysm targets and guide the model to quickly focus on the lesion. The calculation formula of the Dice loss function is shown in the following formula (2): (2) in, This is a segmentation probability image obtained through inference calculations using an aneurysm segmentation model. A mask is used to segment the aneurysm.
[0047] In some examples, the U-Net encoder-decoder architecture, commonly used in medical image segmentation, is used as the base network. The encoder has four downsampling levels. Each level extracts features sequentially through dual 3×3 convolutions, a BatchNorm layer, and a ReLU activation layer, followed by a 2×2 max-pooling layer for downsampling. The number of channels gradually increases from an initial 64 to 1024, progressively extracting superficial edge details and deep semantic features of the aneurysm. The decoder has four upsampling levels. Each level doubles the feature map size through bilinear upsampling and simultaneously concatenates the superficial features from the corresponding encoder levels using skip connections. Finally, a single-channel aneurysm segmentation probability image is output through a 1×1 convolution, fully restoring the spatial resolution of the segmented image. The preprocessed aneurysm segmented images are batch-input into the initialized U-Net network, first entering the encoder's input layer. They then pass through the four downsampling modules for multi-scale feature extraction. The deepest features output by the encoder are fed into the decoder, where upsampling and skip connections progressively fuse superficial detail features. The final output layer generates a single-channel probability map with the same size as the input aneurysm segmentation image. The probability map needs to undergo data post-processing to obtain the final binary segmentation image of the aneurysm. Data post-processing includes binary map mapping.
[0048] In this embodiment, a deep learning network based on an encoder-decoder structure is used for model training. The segmentation results are output through forward propagation of the aneurysm block image. The Dice loss function is used to drive gradient descent for iterative training until convergence. This is more suitable for the class imbalance characteristics of small aneurysms in medical imaging, effectively avoids the defect of traditional cross-entropy loss that tends to be biased towards the background, and significantly improves the segmentation accuracy of small aneurysms, thus better meeting the high-precision requirements of clinical intracranial aneurysm segmentation.
[0049] In some alternative embodiments, step S1042 above includes: adaptive block slicing for aneurysms of different sizes, comprising: The coordinates of the center point of the block to be cut out and the size of the aneurysm in each dimension of the three-dimensional space are calculated based on multiple three-dimensional coordinate points of the aneurysm in the artificial aneurysm dataset. The target size of the aneurysm cutout image is estimated based on the size of the aneurysm in each dimension of three-dimensional space; Using the coordinates of the center point of the block to be cut out as the center on the binary image of the blood vessel, the aneurysm block image of the target size is cut out.
[0050] In some examples, to calculate the coordinates of the center point of the block to be cut out, the set of three-dimensional coordinate points of the aneurysm with a value of 1 is extracted by traversing all voxels of the artificial aneurysm mask. The extreme values of all coordinates in the X, Y, and Z dimensions of the set are counted. The geometric center point of the aneurysm is calculated by the mean of the coordinates in each dimension. The calculated geometric center point is used as the coordinates of the center point of the block to be cut out, avoiding the positional deviation caused by manual point selection.
[0051] In some examples, for estimating the 3D size of an aneurysm and the target size of the aneurysm cutout image, the maximum span size of the aneurysm in the X, Y, and Z dimensions is calculated based on the set of 3D coordinate points of the aneurysm. To ensure that the cutout completely covers the aneurysm and the surrounding vascular context, a certain safety margin is added outward based on the original size of the aneurysm in each dimension, for example, an extension of 3mm. To adapt to the 4-level downsampling structure of the U-Net encoder, the expanded dimensions in the three dimensions are rounded up to an integer multiple of 8 to ensure that the cutout size is divisible by the downsampling factor, avoiding problems such as feature map size mismatch and forced truncation of edge pixels during downsampling. Finally, the 3D target size of the aneurysm cutout image is obtained. For example, if the original 3D size of the aneurysm is 6mm×5mm×4mm, the expanded target cutout size is 16mm×16mm×16mm, corresponding to a 16×16×16 voxel 3D cutout.
[0052] Furthermore, a vascular mask perfectly aligned with the aneurysm mask space is loaded. Using the pre-calculated center point coordinates of the block to be segmented as the center, the target size is extended to both sides along the X, Y, and Z axes by half to define the 3D bounding box of the segmented block. All voxels within this bounding box are directly extracted from the vascular mask to obtain the final aneurysm segmented image. Optionally, if the edge of the bounding box exceeds the effective range of the original image, the excess portion is automatically padded with 0 values to ensure that the target size of all segments is completely uniform.
[0053] In some possible implementations, if the size of the aneurysm segmentation image is inconsistent with the target size, the size of the aneurysm segmentation image can be adjusted to the target size through interpolation. This can automatically correct the inconsistency in segmentation size caused by image boundary overflows and differences in the original aneurysm size. While preserving the morphological details of the aneurysm and surrounding vessels to the greatest extent and without introducing additional deformation artifacts, it ensures that the dimensions of all training samples input to the aneurysm segmentation model are completely aligned, perfectly adapting to the downsampling requirements of encoder-decoder structures such as U-Net.
[0054] In this embodiment, the center coordinates of the block to be segmented and the target size of the segmented block image of aneurysms of different sizes are automatically calculated by using multiple known three-dimensional coordinate points of the aneurysm. The segmented block image of the aneurysm is then segmented on the known vascular mask based on the target size. This not only enables accurate aneurysm segmentation, but also achieves better segmentation accuracy on both very large and very small aneurysms, avoiding the problems of low efficiency and low segmentation accuracy of traditional manual point selection and segmentation.
[0055] In some optional embodiments, step S106 above includes: S1061, Calculate the coordinates of the center point of the image to be segmented and the size of the aneurysm in each dimension of the three-dimensional space based on the multiple three-dimensional contour coordinate points of the aneurysm in the image to be segmented. S1062, Based on the coordinates of the center point of the image to be segmented and the size of the aneurysm to be segmented in each dimension of the three-dimensional space, estimate the size of the segmented image of the target aneurysm; S1063, based on the block size of the target aneurysm block image, blocks are cut out on the binary image of the blood vessel in the image to be segmented, and the target aneurysm block image is forward propagated through the target aneurysm segmentation model to obtain an aneurysm segmentation probability image. S1064, perform binary image mapping based on the aneurysm segmentation probability image to obtain the target aneurysm segmentation image corresponding to the image to be segmented.
[0056] Combination Figure 4 As shown, in this embodiment, during the inference process of the segmentation model, multiple three-dimensional contour coordinates of the aneurysm in the image to be segmented and the vascular mask are used as input data. Image preprocessing is first performed, including adaptive block segmentation of the input intracranial vascular image based on the aforementioned method for aneurysms of different sizes, to obtain the optimal target aneurysm block image from the intracranial vascular image, and data normalization mapping of the target aneurysm block image. This is then further fed into the trained target aneurysm segmentation model for forward propagation inference. Block segmentation is performed on the vascular mask based on the block size of the target aneurysm block image, thereby obtaining the aneurysm segmentation probability image. .
[0057] Furthermore, post-processing is performed on the image to obtain the segmentation probability image calculated by the aneurysm segmentation model. The image is mapped to a binary image, then the resulting binary image is interpolated back to the original patch size and restored to the patch position in the original image. The binary image mapping formula is shown in equation (3) below: (3) In this embodiment, by using a given vascular mask and multiple three-dimensional coordinate points on the aneurysm contour, the optimal block size of the target aneurysm block image is adaptively calculated during inference. This ensures that aneurysms of different sizes have similar foreground proportions in the block image, thereby guaranteeing aneurysm segmentation accuracy. By using the trained target aneurysm segmentation model to perform forward propagation inference on the higher-precision target aneurysm block image, it is more conducive to improving the segmentation accuracy of the target aneurysm segmentation image, ultimately achieving accurate segmentation.
[0058] According to another aspect of the embodiments of this application, such as Figure 5 As shown, corresponding to the intracranial aneurysm segmentation method in the above embodiments, this embodiment provides an intracranial aneurysm segmentation device, the device comprising: The data construction module 501 is used to perform coordinate transformation based on the acquired binary image annotations of blood vessels and binary image annotations of aneurysms, and to construct an artificial aneurysm dataset based on the rotation matrix and spatial translation vector of aneurysms and blood vessels obtained from the coordinate transformation. The model training module 503 is used to train an aneurysm segmentation model based on the artificial aneurysm dataset, and to perform adaptive block segmentation and forward propagation of aneurysm block images for aneurysms of different sizes to train a target aneurysm segmentation model. The target segmentation module 505 is used to segment the aneurysm in the image to be segmented based on multiple three-dimensional contour coordinate points of the aneurysm and the binary image of the blood vessel in the image to be segmented, and to obtain a segmented image of the target aneurysm.
[0059] It should be noted that in this embodiment, the data construction module 501 can be used to execute step S102 in this application embodiment, the model training module 503 in this embodiment can be used to execute step S104 in this application embodiment, and the target segmentation module 505 in this embodiment can be used to execute step S106 in this application embodiment.
[0060] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above embodiments. The suffixes such as module, submodule, and subunit used to represent elements in the above device are only for the purpose of illustration in this application and have no specific meaning in themselves. Therefore, they can be used in combination.
[0061] According to another aspect of the embodiments of this application, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps of the intracranial aneurysm segmentation method in any of the above embodiments.
[0062] According to another aspect of the embodiments of this application, this application also provides an electronic device, such as... Figure 6 As shown, the device includes a memory 601, a processor 603, and a network interface 605. The memory 601 stores a computer program that can run on the processor 603. The memory 601 and the processor 603 communicate through the network interface 605 and a communication bus 607. When the electronic device is running, the processor 603 and the memory 601 communicate through the network interface 605. When the processor 603 executes the computer program, it implements the steps of the above-described intracranial aneurysm segmentation method.
[0063] The memory and processor in the aforementioned electronic device communicate with each other via a communication bus and a communication interface. The communication bus can be a peripheral component interconnect standard (PCI) bus or an extended industry standard structure (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. The memory can include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory can also be at least one storage device located remotely from the aforementioned processor. The aforementioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0064] It is understood that the embodiments described herein can be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits, digital signal processors, digital signal processing devices, microprocessors, and other electronic units or combinations thereof for performing the functions described herein. For software implementation, the techniques described herein can be implemented by units that perform the functions described herein. Software code can be stored in memory and executed by a processor.
[0065] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented using electronic hardware, or a combination of computer software and electronic hardware. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0066] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or other forms.
[0067] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, the functional units in the various embodiments of this application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0068] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or parts of the technical solutions, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0069] It should be noted that, in this document, relational terms such as first, second, etc., are used only to distinguish one entity or operation from another entity or operation. The terms include, encompass, or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0070] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method of intracranial aneurysm segmentation, characterized in that, The method includes: Based on the acquired binary image annotations of blood vessels and binary image annotations of aneurysms, coordinate transformation is performed, and an artificial aneurysm dataset is constructed based on the rotation matrix and spatial translation vector of the aneurysm and blood vessel obtained from the coordinate transformation. Based on the artificial aneurysm dataset, an aneurysm segmentation model is trained. Adaptive block segmentation and forward propagation of aneurysm block images are performed on aneurysms of different sizes to obtain the target aneurysm segmentation model. Based on the multiple three-dimensional contour coordinates of the aneurysm in the image to be segmented and the binary image of the blood vessel, the aneurysm segmentation model is used to segment the image to be segmented to obtain the segmented image of the target aneurysm.
2. The method of claim 1, wherein, The process involves coordinate transformation based on the acquired binary image annotations of blood vessels and aneurysms, and constructing an artificial aneurysm dataset based on the rotation matrix and spatial translation vector of the aneurysm and blood vessel obtained from the coordinate transformation, including: A set of binary images of blood vessels is constructed based on the obtained binary image annotations of the blood vessels, and a set of binary images of aneurysms is constructed based on the obtained binary image annotations of the aneurysms. A binary image of a blood vessel is obtained based on the set of binary images of blood vessels, and a binary image of an aneurysm is obtained based on the set of binary images of aneurysms. Calculate the binary mask of the blood vessel edge in the binary image of the blood vessel and the binary mask of the aneurysm edge in the binary image of the aneurysm, respectively; Based on the binary mask of the blood vessel edge and the binary mask of the aneurysm edge, coordinate transformation is performed to calculate the rotation matrix of the aneurysm rotating to the blood vessel and the spatial translation vector between the aneurysm and the blood vessel; Based on the rotation matrix and the spatial translation vector, the binary image of the aneurysm is attached to the binary image of the blood vessel to construct artificial aneurysm data, and the artificial aneurysm data set is constructed based on all the constructed artificial aneurysm data.
3. The method of claim 2, wherein, The coordinate transformation based on the binary mask of the blood vessel edge and the binary mask of the aneurysm edge, and the calculation of the rotation matrix of the aneurysm rotating to the blood vessel and the spatial translation vector between the aneurysm and the blood vessel, includes: The coordinates of the vessel center point are selected from the binary mask of the vessel edge, and the coordinates of the aneurysm center point are selected from the binary mask of the aneurysm edge; Calculate the coordinates of the N blood vessel points closest to the coordinates of the blood vessel center point in the binary mask of the blood vessel edge, and calculate the coordinates of the M aneurysm points closest to the coordinates of the aneurysm center point in the binary mask of the aneurysm edge, where N and M are positive integers greater than 1; Principal component analysis was performed on the coordinates of the first N blood vessel points and the coordinates of the first M aneurysm points to calculate the blood vessel feature vector corresponding to the minimum feature value of the blood vessel and the aneurysm feature vector corresponding to the minimum feature value of the aneurysm. Rotation calculations are performed based on the vascular feature vector and the aneurysm feature vector to obtain the rotation matrix from the aneurysm to the vascular, and the spatial translation vector between the vascular and the aneurysm is obtained based on the coordinates of the vascular center point and the aneurysm center point.
4. The method of claim 2, wherein, The process involves attaching the binary image of the aneurysm to the binary image of the blood vessel based on the rotation matrix and the spatial translation vector to construct artificial aneurysm data. A set of artificial aneurysm data is then constructed based on all the constructed artificial aneurysm data, including: Based on the affine transformation function, the binary image of the aneurysm is rotated by the rotation matrix. Based on the spatial translation vector, the rotated binary image of the aneurysm is migrated to the target spatial position of the binary image of the blood vessel; The binary image of the aneurysm at the target spatial location is fused with the binary image of the blood vessel to obtain the labeled data of the artificial aneurysm, and the artificial aneurysm data set is constructed based on all the artificial aneurysm data obtained.
5. The method of claim 1, wherein, The training of the aneurysm segmentation model based on the artificial aneurysm dataset involves adaptive block segmentation and forward propagation of the segmented aneurysm images for aneurysms of different sizes to obtain the target aneurysm segmentation model, including: The aneurysm segmentation model is constructed based on a deep learning network with an encoder-decoder structure. The artificial aneurysm dataset is preprocessed, including dataset expansion, adaptive block segmentation for aneurysms of different sizes, and data normalization. Based on the aneurysm segmentation model, the preprocessed aneurysm segmentation image is forward propagated, and the model converges according to the gradient descent method to train the target aneurysm segmentation model.
6. The method according to claim 5, characterized in that, The adaptive block selection for aneurysms of different sizes includes: The coordinates of the center point of the block to be cut out and the size of the aneurysm in each dimension of the three-dimensional space are calculated based on multiple three-dimensional coordinate points of the aneurysm in the artificial aneurysm dataset. The target size of the aneurysm cutout image is estimated based on the size of the aneurysm in each dimension of three-dimensional space; Using the coordinates of the center point of the block to be cut out as the center on the binary image of the blood vessel, the aneurysm block image of the target size is cut out.
7. The method according to any one of claims 1 to 6, characterized in that, The step of segmenting the aneurysm in the image to be segmented using the target aneurysm segmentation model, based on multiple three-dimensional contour coordinate points of the aneurysm and a binary image of the blood vessel in the image to be segmented, to obtain a segmented target aneurysm image, includes: Based on the multiple three-dimensional contour coordinate points of the aneurysm in the image to be segmented, calculate the coordinates of the center point of the image to be segmented and the size of the aneurysm in each dimension of the three-dimensional space. Based on the coordinates of the center point of the image to be segmented and the size of the aneurysm to be segmented in each dimension of the three-dimensional space, the size of the segmented image of the target aneurysm is estimated. Based on the block size of the target aneurysm block image, blocks are extracted on the binary image of the blood vessel in the image to be segmented. The target aneurysm segmentation model is used to perform forward propagation inference on the target aneurysm block image to obtain an aneurysm segmentation probability image. Binary image mapping is performed based on the aneurysm segmentation probability image to obtain the target aneurysm segmentation image corresponding to the image to be segmented.
8. An intracranial aneurysm segmentation device, characterized in that, The device includes: The data construction module is used to perform coordinate transformation based on the acquired binary image annotations of blood vessels and binary image annotations of aneurysms, and to construct an artificial aneurysm dataset based on the rotation matrix and spatial translation vector of the aneurysm and blood vessel obtained from the coordinate transformation. The model training module is used to train an aneurysm segmentation model based on the artificial aneurysm dataset, and to perform adaptive block segmentation and forward propagation of the block images of aneurysms of different sizes to train the target aneurysm segmentation model. The target segmentation module is used to segment the aneurysm in the image to be segmented based on multiple three-dimensional contour coordinate points of the aneurysm and the binary image of the blood vessel in the image to be segmented, and to obtain the target aneurysm segmented image.
9. An electronic device, comprising: The electronic device comprises a processor, a memory, and a network interface, wherein the memory stores machine-readable instructions executable by the processor, characterized in that: when the electronic device is in operation, the processor communicates with the memory via the network interface, and the processor executes the machine-readable instructions to perform the steps of the intracranial aneurysm segmentation method as described in any one of claims 1 to 7.
10. A storage medium having processor-executable non-volatile program code, characterized in that, The program code causes the processor to perform the steps of the intracranial aneurysm segmentation method according to any one of claims 1 to 7.
