Carotid artery blood vessel positioning method with three-dimensional connectivity

Through the three-dimensional connected carotid artery blood vessel positioning method, using the prediction box linked list, pruning method, and linear interpolation method, the problem of long time and subjectivity in the detection of carotid artery stenosis in the existing technology is solved, and the precise positioning of the carotid artery blood vessel is achieved. and completion, improving the accuracy and efficiency of detection.

CN118674777APending Publication Date: 2024-09-20QINGDAO VIRTUAL REALITY RES INST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410696077.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing carotid artery stenosis detection methods are time-consuming, subjective, and difficult to accurately distinguish carotid arteries from other blood vessels. They ignore the three-dimensional properties of blood vessels, leading to detection errors and missed detections.

Method used

The three-dimensional connected carotid artery blood vessel positioning method is used to generate a prediction box linked list through the steps of preliminary identification, blood vessel connection, blood vessel screening and blood vessel completion, and the pruning method and linear interpolation method are used to achieve precise positioning and completion of the carotid artery blood vessels. .

Benefits of technology

It improves the accuracy of carotid artery stenosis detection, reduces misjudgments and missed detections, and enhances the objectivity and efficiency of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0004869787580000101
    Figure BDA0004869787580000101
  • Figure HDA0004869787590000011
    Figure HDA0004869787590000011
  • Figure HDA0004869787590000012
    Figure HDA0004869787590000012
Patent Text Reader

Abstract

The invention discloses a carotid artery blood vessel positioning method with three-dimensional connectivity, which comprises the steps of preliminary identification, blood vessel communication, blood vessel screening and blood vessel complementation, and is mainly used for tracking and positioning from carotid artery double-side blood vessels to brain entering section double-side blood vessels, so that three-dimensional data representation of the blood vessels is realized; the method comprises the following steps of: screening and correcting a prediction frame which is wrongly detected in a bilateral carotid artery blood vessel positioning and detecting process from a three-dimensional angle, and complementing blood vessels which are missed among a plurality of CT images according to attributes of three-dimensional connectivity; therefore, the carotid artery blood vessel area can be accurately positioned and amplified, the blood vessel area is accurately cut, accurate detection of blood vessel focus plaques in the next step is facilitated, and the accuracy of carotid artery blood vessel stenosis pathogenesis detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a method for locating carotid artery vessels with three-dimensional connectivity. Background Art

[0002] Carotid stenosis (CS) is defined as carotid artery narrowing or obstruction caused by plaque accumulation, which may lead to an increased risk of cerebrovascular events and is one of the main causes of acute ischemic stroke. This year, deep learning models for carotid stenosis have begun to appear, and deep learning algorithms such as vascular stenosis detection, plaque classification, and plaque segmentation have emerged. However, in large CT medical image maps, carotid artery vessels are difficult to be accurately located and found automatically. The implementation of all the above algorithms is inseparable from first enlarging and locating the blood vessels in the area where the blood vessels are located in the large CT medical image, obtaining a close-up enlarged image of the blood vessels, and then segmenting the vascular lesions.

[0003] Carotid stenosis (CS) is defined as the narrowing or obstruction of the carotid artery caused by plaque accumulation, which may lead to an increased risk of cerebrovascular events and is also one of the main causes of acute ischemic stroke, accounting for about 20% of cases. Therefore, accurate detection of carotid stenosis is crucial for preventing stroke and other cardiovascular and cerebrovascular events. Traditional carotid stenosis (CS) detection mainly relies on taking vascular CT images, relying on doctors to identify the lesion area in the CT image with the naked eye, and manually recording the lesion type and distribution range.

[0004] In the past few years, various deep learning models have shown potential for coronary artery stenosis detection and plaque quantification. First, various convolutional neural networks have been used for segmentation and automatic stenosis quantification using CT angiography images. For example, the two-dimensional ResU-Net vascular stenosis automatic detection model and the three-dimensional ResU-Net multi-feature sequence callback model developed by Fanfu et al. are used for vascular stenosis detection and plaque classification in head and neck CT images. Jinzhu Yang et al. proposed an algorithm based on Frangi's multi-scale leaf sets method to segment retinal vessels from fundus images. In terms of the classification and quantification of carotid atherosclerotic plaques, Ni rvedh H Meshram et al. proposed a deep learning algorithm for carotid plaque segmentation with an improved U-Net architecture, and implemented fully automatic and semi-automatic methods with bounding boxes.

[0005] In addition, transfer learning based on pre-trained CNN models is also widely used in the detection of carotid stenosis. Filippo et al. proposed a fuzzy Mamdani-type pre-classifier, which improved the performance of carotid stenosis segmentation and detection by optimizing the deblurring threshold; Chen et al. proposed a deep learning framework based on transfer learning, using YOLO V3, Mobile Net and RCNN pre-trained models and fine-tuning them for detecting carotid plaques from MRI scans for carotid plaque detection and stroke risk assessment.

[0006] Traditional methods have a series of significant problems in the detection of carotid stenosis. First, these methods are usually time-consuming, which not only limits the efficiency of diagnosis, but also may delay the treatment of patients. Second, traditional methods are subject to strong subjectivity when evaluating images, because the results depend largely on the doctor's personal experience and expertise. This leads to differences in diagnostic results between different doctors, lack of consistency and objectivity.

[0007] The use of deep learning is currently a common method for detecting carotid arteries. This aspect of research mainly uses traditional image processing segmentation detection technology and models such as convolutional neural networks to quantify and detect the plaque area of ​​the carotid artery to obtain the spatial structure and morphological information of the carotid artery for determining whether it is carotid stenosis. On the one hand, due to the interference of similar blood vessels in CT images, the current detection algorithm cannot distinguish between the carotid artery and other blood vessels, and there will be a large proportion of incorrect recognition results. On the other hand, most of the current technologies process and judge the detection from two-dimensional blood vessel scanning images, ignoring the three-dimensional properties of the blood vessels themselves, which becomes a performance bottleneck for stenosis detection. Summary of the invention

[0008] In view of the above-mentioned shortcomings, the technical problem to be solved by the present invention is: to provide a carotid artery vascular positioning method with three-dimensional connectivity, to realize the tracking and positioning of the bilateral blood vessels of the carotid artery to the bilateral blood vessels entering the brain segment, to realize the three-dimensional data representation of the blood vessels, to screen out and correct the prediction frames that detect errors in the process of bilateral carotid artery vascular positioning detection from a three-dimensional perspective, and to supplement the missed blood vessels between multiple CT images according to the attributes of three-dimensional connectivity, so as to accurately locate the carotid artery vascular area for enlargement, accurately crop the vascular area, and facilitate the next step of accurate detection of vascular lesions, thereby improving the accuracy of carotid artery stenosis detection.

[0009] In order to solve the above technical problems, the technical solution of the present invention is:

[0010] A method for locating carotid artery vessels with three-dimensional connectivity comprises the following steps:

[0011] Preliminarily identify and detect the carotid artery vascular target on each CT image, and generate a prediction box on each CT image based on the vascular target location;

[0012] Blood vessels are connected, and the file is traversed to obtain the prediction box i on the i-th CT image m ; First determine the prediction box i on the i-th CT image m Is there a potential preceding node? If not, record the predicted box i m is the header of the new linked list, and then the n frames of CT images after the i-th CT image are sequentially traversed, and for all the prediction boxes j on the j-th CT image m Respectively and predict box i on the i-th CT image m Do the intersection and union ratio. If there is a prediction box i whose intersection and union ratio is greater than the predetermined threshold m , then the prediction box i m Set to prediction box j m The potential predecessor node of m Add to prediction box i m ; during the sequential traversal, if there is no prediction box on a CT image, the next one will be traversed. If the intersection and union ratio of the next one is greater than the threshold, the previous blank page will also be added to the linked list for later completion; after completing the judgment of all prediction boxes in the i-th CT image, the above operation is performed on each prediction box of each slice in the CT case in the slice order, and the node information of the prediction box with the intersection and union ratio greater than the threshold is inserted into the created linked list, and the aortic vascular linked list is continuously extended; or for the multiple recognized erroneous vascular prediction boxes and the newly appeared bifurcated vascular prediction boxes, they are listed separately as the new linked list heads to establish a new linked list; finally, the different linked lists composed of all prediction boxes form a linked list list; where m is a positive integer less than 4, and i and j are both positive integers;

[0013] Blood vessels are screened and linked lists are traversed. The longest branch in each linked list is retained using the pruning method, so that all linked lists are converted into single-branch linked lists. Blood vessels are then screened based on the biological characteristics of the carotid artery, which is symmetrically distributed in the human body and longer than other blood vessels. The longest linked lists on both sides are screened from the linked list as the linked list to which the carotid artery belongs.

[0014] Blood vessel completion, using linear interpolation to complete the missing prediction frames in a single CT image. In the carotid artery vascular linked list, the center point and size of the prediction frame in the adjacent frame are used to fill in the frames with missing prediction frames, so that the linked list contains the prediction frame information of each picture. Finally, the carotid artery vascular linked list is combined with the original CT image to output the carotid artery vascular CT image.

[0015] Preferably, the preliminary identification further comprises the following steps:

[0016] The coordinate system is constructed with the upper left corner of the CT image as the origin;

[0017] The upper left corner coordinates and lower right corner coordinates of each predicted box are used as the position coordinates;

[0018] All prediction boxes of all CT images are stored in the data format of CT image number + position coordinates;

[0019] Then the blood vessel connecting step further includes:

[0020] Read all prediction boxes of all CT images according to the data format of CT image number + position coordinates.

[0021] Preferably, all CT images in each linked list are arranged in the order of the numbers of the original CT images.

[0022] Preferably, the pruning method comprises:

[0023] First, the root nodes of several blood vessels are determined by identifying the nodes in the linked list that have no subsequent detection frames;

[0024] Secondly, start traversing all child nodes of each root node in the linked list. During this process, maintain a maximum depth parameter that records the depth of the child node farthest from the root node. For each root node, obtain the longest path under it. When the lengths of the two branches after the blood vessel bifurcation are similar, use the intersection-and-union ratio between different prediction boxes as an auxiliary judgment basis, and select the branch with a larger intersection-and-union ratio as the longest path to be retained.

[0025] The preferred method is to insert at least one prediction frame into the linked list belonging to the carotid artery. For blank CT images with missed prediction frames without blood vessels, if the intersection and union ratio of the prediction frames of the subsequent frames and the prediction frames of the previous frames is greater than a threshold, the size of the prediction frame added to each blank image frame is the average size of the prediction frame on the previous image with the prediction frame and the prediction frame on the next image with the prediction frame.

[0026] A preferred embodiment is that the preliminary identification uses a pre-trained model to detect each CT image, and the pre-trained model forms a function of automatically identifying vascular targets by learning and identifying carotid vascular CT images of multiple cases with manually annotated vascular prediction frames;

[0027] The automatic recognition function includes automatically recognizing the carotid artery vascular target on the CT image, marking a prediction frame on the CT image according to the vascular target position, and generating the coordinate position of the prediction frame;

[0028] The preliminary recognition step also includes: saving the coordinate position of each prediction box and the CT image to which it belongs as node information.

[0029] After adopting the above technical solution, the beneficial effects of the present invention are:

[0030] The method for locating the carotid artery vessels with three-dimensional connectivity of the present invention includes the steps of preliminary identification, vessel connectivity, vessel screening and vessel completion, which mainly includes first detecting the carotid artery vessel target on each CT image, and generating a prediction frame on each CT image according to the vessel position; converting the prediction frames on all CT images into a linked list; then traversing the linked list, using the pruning method to retain the longest branch in each linked list, so that all linked lists are converted into single-branch linked lists, and then screening the blood vessels according to the biological characteristics of the carotid artery vessels being symmetrically distributed in the human body and being longer than the remaining blood vessels, and screening the longest linked lists on the left and right sides from the linked list as the linked list belonging to the carotid artery vessels; finally, using the linear interpolation method, completing the missing prediction frames in a single CT image, in the linked list belonging to the carotid artery vessels, using the center point and size of the prediction frame in the adjacent frames to fill the frames with the missing prediction frames, so that the linked list contains the prediction frame information of each picture, and finally combining the linked list belonging to the carotid artery vessels with the original CT image to output the carotid artery vessel CT image. It can be seen that the method of the present invention can realize the tracking and positioning of the bilateral blood vessels of the carotid artery to the bilateral blood vessels entering the brain segment, realize the three-dimensional data representation of the blood vessels, screen out and correct the prediction frames that detect errors in the process of bilateral carotid artery blood vessel positioning detection from a three-dimensional perspective, and supplement the missed blood vessels between multiple CT images according to the attributes of three-dimensional connectivity, so as to accurately locate the carotid artery blood vessel area for enlargement, accurately crop the blood vessel area, and facilitate the next step of accurate detection of vascular lesion plaques, thereby improving the accuracy of carotid artery stenosis detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 is a schematic diagram of a method for locating a carotid artery vessel with three-dimensional connectivity in the present invention;

[0032] Figure 2 Comparison of visualization results of carotid artery vascular localization method with 3D connectivity and detection by YOLOV7 pre-trained model. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0034] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.

[0035] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0036] like Figure 1 As shown, a method for locating a carotid artery vessel with three-dimensional connectivity comprises the following steps:

[0037] Preliminary identification and detection of the carotid artery vascular target on each CT image, and generation of a prediction frame on each CT image according to the vascular target position; in the present embodiment, during preliminary identification, a coordinate system is constructed with the upper left corner of the CT image as the coordinate origin; the upper left corner coordinates and the lower right corner coordinates of each prediction frame are used as the position coordinates; all prediction frames of all CT images are stored in the data format of CT image number + position coordinates.

[0038] In this embodiment, the preliminary recognition is to detect each CT image using the YOLOV7 pre-trained model. The pre-trained model forms an automatic recognition function by learning to recognize the carotid artery vascular CT images of multiple cases; the automatic recognition function includes automatically identifying the carotid artery vascular target on the CT image, and marking the prediction box on the CT image according to the vascular target position, and generating the coordinate position of the prediction box; the preliminary recognition step also includes: saving the coordinate position of each prediction box and the CT image to which it belongs as node information; a preferred solution is that all node information is stored in a JSON file.

[0039] It should be noted that: the present invention uses a pre-trained model (YOLOV7 detection algorithm) for a group of specified CT cases. During the training process, 5864 CT images with carotid artery vascular label prediction frames are used for the pre-trained model, and 10% are retained as a test set. The prediction accuracy of the algorithm automatically counted is about 95%. After the training, the YOLOV7 pre-trained model is used to perform fully automatic preliminary recognition of the CT images of all 150 cases, and a total of 64469 CT images with carotid artery vascular prediction frames are output. The recognition accuracy of the YOLOV7 algorithm for carotid artery vessels is manually reviewed. The one-time detection accuracy of a single CT is only 82.76%, which causes problems such as missing and misjudgment of blood vessels. In order to solve the above technical problems, the present invention uses the data format of CT image number + position coordinates to store the prediction frame, that is, adjust the output format of the pre-trained model, and change the generation of the prediction picture to the generation of the position coordinates of each blood vessel prediction frame. Then, through the vascular connectivity method in this application, the problems of missing and misjudged blood vessels in the preliminary prediction process are solved, and the prediction accuracy is improved. In addition, under normal circumstances, two prediction boxes can be marked on each CT image, and the two prediction boxes correspond to the left and right carotid arteries respectively. However, an abnormal CT image may have 0, 1 or more than 3 prediction boxes. At this time, there are prediction errors in the predicted blood vessel positions of the CT image.

[0040] Blood vessel connection specifically includes the following steps:

[0041] Step 1: Traverse the file to obtain the prediction box i on the i-th CT image m (There are usually no more than four prediction boxes on the same CT image. m It can be i1, i2, i3 and i4. Of course, i m It can also be i1 and i2), where i is a positive integer used to represent the number of the CT image, and m is a natural number less than 4;

[0042] Step 2, taking the prediction box i1 as an example: first determine whether the prediction box i1 on the i-th CT image has a potential predecessor node. If not, record the prediction box i1 as the header of the new linked list (such as i=1 the first image / new vascular branch generated by vascular bifurcation / incorrectly identified and multiple non-carotid artery vessels).

[0043] Step 3: Sequentially traverse the n frames of CT images after the i-th CT image (n can be set to be less than 15), and for all prediction frames j1, j2, ... on any j-th CT image, where j is a positive integer, make an intersection and union comparison between prediction frame j1, prediction frame j2, ... and prediction frame i1 respectively. If there is a prediction frame j whose intersection and union ratio is greater than a predetermined threshold, m (For example, prediction box j1), then set prediction box i1 as the potential predecessor node of prediction box j1, and add prediction box j1 to the back of the linked list of prediction box i1.

[0044] If one or several CT images are blank without prediction frames, check backwards to find one or several CT images with labels (prediction frames). If the intersection and union ratio of the next CT image is greater than the threshold, add the blank pages in between to the linked list and complete the prediction frames later. (For example, if the intersection and union ratio of 51 is greater than the threshold until the 5th image 11, then 213151 from 1 to 5 will be added to the back of the linked list of 11, even if the 4th image is blank without prediction frames).

[0045] After completing the above prediction frame i1 operation, the above steps 2 and 3 are installed to perform the judgment of all prediction frames j1, j2, ... of any j-th CT image between the prediction frame i2, the prediction frame i3 and the backward n CT images.

[0046] After completing the judgment of all prediction frames in the i-th CT image, the above operation is performed on each prediction frame of each slice in the CT case in the slice order, and the node information of the prediction frame whose intersection and union ratio is greater than the threshold is inserted into the created linked list, and the aortic vessel linked list is continuously extended; or the multiple identified erroneous vessel prediction frames and the newly appeared bifurcated vessel prediction frames are listed separately as the new linked list heads to establish a new linked list.

[0047] Finally, all the different linked lists composed of prediction boxes form a linked list. There can be multiple potential predecessor nodes here (for example, from the internal carotid artery and the external carotid artery to the aorta, the blood vessels may become thicker and there may be a two-to-one phenomenon, and a one-to-two phenomenon may occur when traversing the file in reverse order), and the final predecessor node will be determined through subsequent pruning.

[0048] It should be noted that vascular connectivity mainly adopts the idea of ​​combining two-dimensional and three-dimensional features, integrating two-dimensional features into a new height dimension to connect each prediction box in a three-dimensional perspective. Specifically, it forms a series of new continuous prediction boxes-linked lists by associating the upper and lower prediction boxes, completing and connecting the prediction boxes obtained by the preliminary detection.

[0049] For each CT image, we traverse the multiple frames before and after it. In this process, if the intersection over union (IoU) value of two predicted boxes exceeds the preset threshold, it is determined that the blood vessels between the two frames are connected. Subsequently, the relevant nodes are added to a linked list, which indicates that the blood vessels here are connected.

[0050] By applying the above processing method to all CT images, multiple vascular pathways including the target blood vessels can be constructed. These paths cover the areas that were missed in the previous prediction, laying the foundation for the subsequent smoothing and interpolation processing, and finally generating an accurate and coherent vascular detection result. The application of this method not only improves the continuity of the prediction, but also enhances the reliability and practicality of the overall results.

[0051] Blood vessels are screened and linked lists are traversed. The longest branch in each linked list is retained using the pruning method, so that all linked lists are converted into single-branch linked lists. Blood vessels are then screened based on the biological characteristics of the carotid artery, which is symmetrically distributed in the human body and is longer than other blood vessels. The longest linked lists on the left and right sides are screened from the linked list as the linked list to which the carotid artery belongs.

[0052] The pruning method used in vascular screening is as follows: first, the root nodes of several blood vessels are determined by identifying the nodes in the linked list that have no subsequent detection frames; second, all the child nodes of each root node of the linked list are traversed. In this process, a maximum depth parameter that records the depth of the child node farthest from the root node is maintained. For each root node, the longest path under it is obtained. When the lengths of the two branches after the bifurcation of the blood vessel are similar, the intersection and union ratio between different prediction frames is used as an auxiliary judgment basis to select the branch with a larger intersection and union ratio as the longest path to be retained. After simplifying the graph structure into several linked lists through pruning, the linked lists are screened using the physical properties of the carotid artery. Based on the statistics and observations of 150 cases, it is found that the carotid artery is usually located on both sides of the spine and is the longest blood vessel on the corresponding side. Therefore, all linked lists are traversed, and the longest linked list on each side is selected as the final carotid artery prediction result. The application of this method ensures that the detection results are both accurate and consistent with anatomical characteristics, providing an efficient and reliable solution for the detection of carotid artery vessels.

[0053] Blood vessel completion, using linear interpolation to complete the missing prediction frames in a single CT image. In the carotid artery vascular linked list, the center point and size of the prediction frame in the adjacent frame are used to fill the frames with missing prediction frames, so that the linked list contains the prediction frame information of each picture. Finally, the carotid artery vascular linked list is combined with the original CT image to output the carotid artery vascular CT image, and at least one prediction frame is inserted into the carotid artery vascular linked list. The size of the supplemented prediction frame on each frame is the average size of the prediction frame on the previous frame and the prediction frame on the next frame.

[0054] By adopting the carotid artery vascular positioning method with three-dimensional connectivity of the present invention, the tracking and positioning of the bilateral blood vessels of the carotid artery to the bilateral blood vessels entering the brain segment is realized, and the three-dimensional data representation of the blood vessels is realized. From a three-dimensional perspective, the prediction frames detected incorrectly in the process of bilateral carotid artery vascular positioning detection are screened and corrected, and the missed blood vessels between multiple CT images are supplemented according to the attributes of three-dimensional connectivity, so that the carotid artery vascular area can be accurately positioned for enlargement, the vascular area can be accurately cropped, and the next step of accurate detection of vascular lesions is facilitated, thereby improving the accuracy of carotid artery stenosis detection.

[0055] In summary, the carotid artery vascular positioning method with three-dimensional connectivity of the present invention can improve the accuracy of single carotid artery vessel recognition of a single CT image from 82.76% to 96.47%, and the mAP value of the vessel prediction frame from 91.38% to 98.24%, compared with the currently more widely used YOLOV7 detection algorithm. In addition, the overall detection time will be significantly improved, which can achieve rapid prediction while greatly improving the detection accuracy.

[0056] In addition, YOLOv7 involved in the present invention is the abbreviation of You On ly Look Once version 7 model in English. This is a popular deep learning model for real-time object detection tasks. The YOLO series of models are popular due to their fast and efficient performance characteristics and are often used in the field of computer vision. YOLOv7 is a newer version in this series, providing improved accuracy and speed.

[0057] The full name of JSON file is JavaScript Object Notation file, which is a lightweight data exchange format that is easy for people to read and write, and easy for machines to parse and generate. JSON is mainly used to transmit data on the network, especially between servers and clients. It is text-based and organizes data in an easy-to-access way. It is often used for data interaction in web applications.

[0058] The full name of IoU is Intersection over Union, which is an indicator to measure the degree of overlap between two regions. It is often used in object detection and segmentation tasks to evaluate the accuracy between the bounding box predicted by the model and the true bounding box.

[0059] In order to more clearly illustrate the present invention, examples are given below:

[0060] A. Implementation details. The present invention is implemented by PyTorch, and experiments are conducted on an NVID IA GeForce RTX 4080 GPU. The YOLOV7 network is used for training, and the YOLOV7_we i ghts.pth provided by the model is used as the pre-trained weights. The image input to the network is subjected to data augmentation techniques such as random cropping, horizontal random flipping, and random scaling, and the input size is 512*512. The momentum of the stochastic gradient descent (SGD) optimizer is set to 0.937, and the weight decay rate is set to 5×10-4. The batch size is set to 8 and the number of epochs is set to 200 in the freezing stage; the batch size is set to 4 and the number of epochs is set to 400 in the non-freezing stage. The learning rate is set to 1*10-3, and then decayed to 1*10-5 using a cosine annealing strategy.

[0061] B. Dataset and evaluation indicators. A non-public dataset was used, including 150 real cases, each with about 500-800 CT images. 15 of the cases were manually labeled with carotid artery labels under the guidance of professional physicians from the Affiliated Hospital of Qingdao University, and 5864 CT images with carotid artery label frames were obtained as the training dataset for the pre-training model (YOLOV7 detection algorithm). Subsequently, the trained YOLOV7 pre-training model was used to automatically identify the carotid artery vessels in all 150 CT cases, and a total of 64,469 CT images with carotid artery vascular prediction frames preliminarily identified by YOLOV7 were obtained. Because the 150 cases were not manually labeled with vascular labels, the recognition accuracy could not be automatically counted. The accuracy of the preliminary recognition and positioning of YOLOV7 and the recognition and positioning accuracy of the method in this paper were statistically calculated by manual review.

[0062] In terms of model evaluation, mAP and IoU were selected as evaluation indicators to evaluate the accuracy of model prediction.

[0063] Technical Effects of the Invention

[0064] A quantitative comparison, see Table 1

[0065] B Qualitative comparison: The visualization results predicted directly using YOLOV7 and the prediction results predicted by the carotid artery vascular positioning method with three-dimensional connectivity are selected for comparison. The vascular prediction results of the same CT image are shown in Figure 2. Figure 2 As shown in the figure, the green box is the prediction result of this method, and the red box is the prediction result of the Yolo v7 pre-training model. It can be seen that the prediction accuracy is significantly improved, and the interference of similar blood vessels and the problem of missed recognition can be avoided.

[0066] Table 1 Comparison of prediction data between the carotid artery vascular localization method with three-dimensional connectivity and the YOLOV7 pre-training model

[0067]

[0068] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications made within the spirit and principles of the present invention, as well as improvements to a method for locating carotid arteries with three-dimensional connectivity, etc., should be included in the scope of protection of the present invention.

Claims

1. Carotid artery vascular localization method with three-dimensional connectivity, It is characterized in that The following steps are involved: Preliminarily identify and detect the carotid artery vascular target on each CT image, and generate a prediction box on each CT image based on the vascular target location; Blood vessels are connected, and the file is traversed to obtain the prediction box i on the i-th CT image m ; First determine the prediction box i on the i-th CT image m Is there a potential preceding node? If not, record the predicted box i m is the header of the new linked list, and then the n frames of CT images after the i-th CT image are sequentially traversed, and for all the prediction boxes j on the j-th CT image m Respectively and predict box i on the i-th CT image m Do the intersection and union ratio. If there is a prediction box i whose intersection and union ratio is greater than the predetermined threshold m , then the prediction box i m Set to prediction box j m The potential predecessor node of m Add to prediction box i m ; during the sequential traversal, if there is no prediction box on one or several CT images, traverse backward to a picture with a prediction box. If the intersection and union ratio of the latter picture is greater than the threshold, the blank page in between is also added to the linked list, and the prediction box is completed later; After all prediction frames in the i-th CT image are judged, the above operation is performed for each prediction frame in each slice of the CT case in the slice order, and the node information of the prediction frame whose intersection-and-union ratio is greater than the threshold is inserted into the created linked list, and the aortic vessel linked list is continuously extended; or the multiple identified erroneous vessel prediction frames and the newly appeared bifurcated vessel prediction frames are listed separately as the new linked list heads to establish a new linked list; finally, the different linked lists composed of all prediction frames form a linked list list; where m is a positive integer less than 4, and i and j are both positive integers; Blood vessels are screened and linked lists are traversed. The longest branch in each linked list is retained using the pruning method, so that all linked lists are converted into single-branch linked lists. Blood vessels are then screened based on the biological characteristics of the carotid artery, which is symmetrically distributed in the human body and longer than other blood vessels. The longest linked lists on both sides are screened from the linked list as the linked list to which the carotid artery belongs. Blood vessel completion, using linear interpolation to complete the missing prediction frames in a single CT image. In the carotid artery vascular linked list, the center point and size of the prediction frame in the adjacent frame are used to fill in the frames with missing prediction frames, so that the linked list contains the prediction frame information of each picture. Finally, the carotid artery vascular linked list is combined with the original CT image to output the carotid artery vascular CT image.

2. The method for locating carotid artery vessels with three-dimensional connectivity according to claim 1, It is characterized in that The preliminary identification further comprises the following steps: The coordinate system is constructed with the upper left corner of the CT image as the origin; The upper left corner coordinates and lower right corner coordinates of each predicted box are used as the position coordinates; All prediction boxes of all CT images are stored in the data format of CT image number + position coordinates; Then the blood vessel connecting step further includes: Read all prediction boxes of all CT images according to the data format of CT image number + position coordinates.

3. The method for locating carotid artery vessels with three-dimensional connectivity according to claim 1, It is characterized in that All CT images in each linked list are arranged in the order of the original CT image numbers.

4. The method for locating carotid artery vessels with three-dimensional connectivity according to claim 1, It is characterized in that The pruning method comprises: First, the root nodes of several blood vessels are determined by identifying the nodes in the linked list that have no subsequent detection frames; Secondly, start traversing all child nodes of each root node in the linked list. During this process, maintain a maximum depth parameter that records the depth of the child node farthest from the root node. For each root node, obtain the longest path under it. When the lengths of the two branches after the blood vessel bifurcation are similar, use the intersection-and-union ratio between different prediction boxes as an auxiliary judgment basis, and select the branch with a larger intersection-and-union ratio as the longest path to be retained.

5. The method for locating carotid artery vessels with three-dimensional connectivity according to claim 1, It is characterized in that At least one prediction frame is inserted into the linked list of the carotid artery. For blank CT images with missed prediction frames without blood vessels, if the intersection and union ratio of the prediction frames of the subsequent frames is greater than a threshold, the size of the prediction frame supplemented for each blank image frame in between is the average size of the prediction frame on the previous image with the prediction frame and the prediction frame on the next image with the prediction frame.

6. The method for locating carotid artery vessels with three-dimensional connectivity according to claim 1, It is characterized in that The preliminary recognition uses a pre-trained model to detect each CT image, and the pre-trained model forms a function of automatically identifying vascular targets by learning and identifying carotid vascular CT images of multiple cases with manually annotated vascular prediction frames; The automatic recognition function includes automatically recognizing the carotid artery vascular target on the CT image, marking a prediction frame on the CT image according to the vascular target position, and generating the coordinate position of the prediction frame; The preliminary recognition step also includes: saving the coordinate position of each prediction box and the CT image to which it belongs as node information.