Blood vessel reconstruction method and apparatus, computer device, and readable storage medium
By binary processing and pixel screening of intravascular ultrasound images, the blood vessel centerline is constructed, which solves the problem of inaccurate blood vessel information in the existing technology, improves the accuracy of blood vessel outline and the authenticity of the three-dimensional model, and reduces the cost of Risk of missed detection.
Patent Information
- Application Number
- PCT/CN2024/071317
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-16
- Filing Date
- 2024-01-09
- Publication Date
- 2024-09-19
AI Technical Summary
Existing intravascular ultrasound imaging technology is difficult to accurately obtain vascular information, especially the difficulty in identifying three-dimensional lesions due to the influence of blood spots and two-dimensional tomography, which causes doctors to rely on experience for diagnosis, and there is a risk of missed detection.
By acquiring multiple frames of intravascular ultrasound images, performing binary processing and pixel screening, the edge of the blood vessel lumen is outlined, the blood vessel centerline is constructed, and the blood vessel is reconstructed by inserting it into the centerline frame by frame. The KMeans algorithm and morphological operations are used to improve image segmentation. and filtering accuracy.
The accuracy of blood vessel outline is improved, and the generated three-dimensional model is closer to the real situation, providing doctors with more accurate blood vessel information and reducing the risk of missed detection.
Smart Images

Figure CN2024071317_19092024_PF_FP_ABST
Abstract
Description
Vascular reconstruction method, device, computer equipment and readable storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 16, 2023, with application number 2023102550626 and application name “Vascular Reconstruction Method, Apparatus, Computer Device and Readable Storage Medium”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present application relates to the field of image processing technology, and in particular to a blood vessel reconstruction method, apparatus, computer equipment, and readable storage medium. Background Art
[0003] Intravascular Ultrasound (IVUS) is an efficient technology for exploring intravascular tissue structures and can provide vascular cross-sectional information with high temporal and spatial resolution.
[0004] However, the cross-sectional images of blood vessels currently acquired by IVUS probes are easily affected by blood and produce blood spots, which makes the identification of the edges of the vascular lumen more dependent on the doctor's experience. At the same time, the current IVUS probe can only scan the tissue information inside the vascular lumen and around the vascular wall, and cannot directly and accurately obtain the curvature of the tested blood vessel. Furthermore, the current mainstream IVUS systems present vascular tissue information based on a two-dimensional tomography sequence, resulting in some three-dimensional lesions appearing as smaller areas or lower pixel values in a single-frame two-dimensional image. The doctor can only rely on his or her knowledge base of vascular tissue structure and experience in using the IVUS system to identify suspicious information from multiple consecutive independent frames of images.
[0005] Therefore, in order to avoid subjective differences among doctors and reduce missed diagnoses, a technical solution that can accurately obtain vascular information is urgently needed.
[0006] Summary of the Invention
[0007] Based on this, it is necessary to provide a vascular reconstruction method, device, computer equipment and readable storage medium to address the above technical problems, so as to solve the problem that the vascular information of the intravascular cross-sectional images obtained by IVUS probes in the prior art is not accurate enough.
[0008] In a first aspect, the present application provides a method for vascular reconstruction. The method comprises:
[0009] acquiring multiple frames of intravascular ultrasound images of a target object;
[0010] performing binarization processing on each frame of the intravascular ultrasound image to obtain a corresponding binarized image;
[0011] Traversing the pixel points of each frame of the binary image, selecting the pixel points that meet the preset conditions as target pixel points, outlining the lumen edge of the blood vessel according to the target pixel points, and obtaining the segmented region of interest;
[0012] According to the segmented regions of interest, obtaining the coordinates of the center point of each region of interest;
[0013] constructing a centerline of the blood vessel based on the obtained coordinates of all the center points;
[0014] Each frame of the intravascular ultrasound image is inserted into the center line according to a preset order to reconstruct the blood vessel.
[0015] In one embodiment, the step of binarizing each frame of the intravascular ultrasound image to obtain a corresponding binarized image includes:
[0016] performing noise reduction processing on each frame of the intravascular ultrasound image, and performing sharpening processing on the noise-reduced image;
[0017] The KMeans algorithm is used to binarize the sharpened image to obtain the corresponding binary image.
[0018] In one embodiment, the step of performing the binarization process includes:
[0019] extracting a plurality of pixel points from the intravascular ultrasound image or the sharpened image as sample pixel points;
[0020] Selecting two initial central pixel points from the sample pixel points, and calculating the similarity between each sample pixel point except the initial central pixel point and each of the initial central pixel points;
[0021] Classifying each of the sample pixels according to the similarity;
[0022] According to the classification result, each sample pixel is marked to obtain a binary image.
[0023] In one embodiment, the steps after obtaining the binary image include:
[0024] The binary image is expanded and the binary image subjected to the expansion is subjected to median filtering, and the pixel points of the binary image after the median filtering in each frame are traversed.
[0025] In one embodiment, the binary image includes multiple single-frame images, and the single-frame images include multiple scan lines;
[0026] The step of traversing the pixel points of the binary image, selecting the pixel points that meet the preset conditions as target pixel points, and outlining the lumen edge of the blood vessel according to the target pixel points includes:
[0027] Selecting a plurality of pixel points from each of the scan lines as sampling points;
[0028] Traversing the sampling points on each of the scan lines, and selecting the sampling point marked with a first identifier and meeting a first preset condition as a first target pixel point;
[0029] confirming, based on the first target pixel point, an edge region between the catheter and the halo artifact in each frame of the binary image;
[0030] Selecting, from the scan line within the edge area, a sampling point marked with a second identifier and meeting a second preset condition as a second target pixel point; wherein the second identifier is different from the first identifier and is selected from 0 or 1;
[0031] The lumen edge of the blood vessel is outlined according to the second target pixel point.
[0032] In one embodiment, the step of selecting the sampling point marked with the first identifier and satisfying the first preset condition as the first target pixel point includes:
[0033] Obtaining pixel values of all the sampling points;
[0034] Calculate an average pixel value a of a first preset number of sampling points preceding each sampling point marked as a first identifier, and an average pixel value b of a second preset number of sampling points following each sampling point marked as a first identifier. When the average pixel value a is greater than a first preset threshold and the average pixel value b is less than a second preset threshold, the sampling point is the first target pixel. The range of the first preset threshold and the second preset threshold is 0-1.
[0035] In one embodiment, the step of selecting a sampling point marked with a second identifier and satisfying a second preset condition as a second target pixel point includes:
[0036] Obtaining pixel values of each sampling point in the edge area;
[0037] Calculate an average pixel value c of a third preset number of sampling points preceding each sampling point marked as the second identifier, and an average pixel value d of a fourth preset number of sampling points following each sampling point marked as the second identifier. When the average pixel value c is greater than a third preset threshold and the average pixel value d is less than a fourth preset threshold, the sampling point is the second target pixel. The range of the third preset threshold and the fourth preset threshold is 0-1.
[0038] In one embodiment, the step of obtaining the coordinates of the center point of each of the segmented regions of interest includes:
[0039] Calculating the center coordinates of the largest inscribed circle of the region of interest according to the lumen edge of the region of interest;
[0040] The center point coordinates of the region of interest are determined according to the circle center coordinates.
[0041] In one embodiment, the step of determining the center point coordinates of the region of interest based on the circle center coordinates includes:
[0042] Taking the center coordinates of the circle as the center coordinates of the region of interest;
[0043] Alternatively, the center coordinates of the first frame of the intravascular ultrasound image are used as the center point coordinates, and in the current frame of the intravascular ultrasound image, corresponding coordinates of the center point coordinates of the previous frame of the intravascular ultrasound image in the current frame of the intravascular ultrasound image are determined, and coordinate values of all pixel points within a preset range of the corresponding coordinates are obtained. Based on the coordinate values, the minimum distance between each pixel point and the lumen edge of the region of interest in the current frame of the intravascular ultrasound image is calculated to obtain a first distance set;
[0044] The coordinates of the pixel point corresponding to the maximum distance value in the first distance set are determined as the coordinates of the center point of the region of interest of the current intravascular ultrasound image.
[0045] In one embodiment, constructing the centerline of the blood vessel based on all the obtained center point coordinates includes:
[0046] Polynomial fitting is performed on all the center points to obtain the center line of the blood vessel.
[0047] In one embodiment, the step of inserting each frame of the intravascular ultrasound image into the centerline according to a preset order to reconstruct the blood vessel includes:
[0048] Inserting each of the intravascular ultrasound images into the center line frame by frame, wherein the inserted intravascular ultrasound images are orthogonal to the center line;
[0049] The three-dimensional space between each frame of the intravascular ultrasound image is filled in an interpolation manner to reconstruct the blood vessel.
[0050] In a second aspect, the present application also provides a vascular reconstruction device. The device comprises:
[0051] a receiving module, configured to acquire an intravascular ultrasound image of a target object;
[0052] a processing module, configured to perform binarization processing on each frame of the intravascular ultrasound image to obtain a corresponding binarized image;
[0053] a segmentation module, configured to traverse the pixels of each frame of the binary image, select the pixels that meet preset conditions as target pixels, outline the lumen edge of the blood vessel according to the target pixels, and obtain a segmented region of interest;
[0054] A centerline construction module is used to obtain the center point coordinates of each region of interest according to the segmented regions of interest; and construct the centerline of the blood vessel according to all the obtained center point coordinates;
[0055] The blood vessel reconstruction module is used to insert each frame of the intravascular ultrasound image into the center line according to a preset order to reconstruct the blood vessel.
[0056] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the vascular reconstruction method in the first aspect when executing the computer program.
[0057] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the vascular reconstruction method in the first aspect.
[0058] The above-mentioned vascular reconstruction method, apparatus, computer device, and readable storage medium have at least the following advantages:
[0059] This application first processes the intravascular ultrasound image of the target object, filters out target pixels representing the lumen edge of the vessel, and then outlines the lumen edge based on the filtered identification points to obtain the segmented blood vessels. The blood vessel centerline is then constructed based on the segmented blood vessels to reconstruct the blood vessels. This approach can filter out pixels that are more characteristic of the lumen edge, improving the accuracy of the outline and making the reconstructed 3D model closer to the actual blood vessel condition, providing doctors with more effective information about the blood vessels. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The drawings constituting a part of this application are used to provide a further understanding of the present invention. The illustrative embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0061] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0062] FIG1 is a diagram illustrating an application environment of a vascular reconstruction method according to an embodiment;
[0063] FIG2 is a schematic flow chart of a vascular reconstruction method according to an embodiment;
[0064] FIG3 is a schematic diagram of a process for obtaining a binary image in one embodiment;
[0065] FIG4 (a) is an original intravascular ultrasound image in one embodiment;
[0066] FIG4( b ) is a pre-processed intravascular ultrasound image in another embodiment;
[0067] Figure (c) in Figure 4 is a binarized image processed by the KMeans algorithm in another embodiment;
[0068] Figure (d) in Figure 4 is a binary image after dilation processing in another embodiment;
[0069] Figure (e) in Figure 4 is a binarized image after median filtering in another embodiment;
[0070] FIG5 is a schematic diagram of a process of traversing pixels of a binary image in one embodiment;
[0071] FIG6 (a) is a schematic structural diagram of an edge region in one embodiment;
[0072] FIG6( b ) is a schematic structural diagram of the lumen edge in another embodiment;
[0073] FIG6( c ) is a schematic diagram of a segmented single-frame image in another embodiment;
[0074] FIG7 is a schematic diagram of inserting an intravascular ultrasound image to a centerline in one embodiment;
[0075] FIG8 is a block diagram of a vascular reconstruction apparatus according to an embodiment;
[0076] FIG9 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0077] The following describes the embodiments of the present invention through specific examples. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments. The details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other unless they conflict.
[0078] While some exemplary embodiments of the present invention have been described for purposes of illustration, it should be understood that the present invention may be implemented in other ways not specifically shown in the drawings.
[0079] The vascular reconstruction method provided in the embodiments of the present application can be applied in the application environment shown in FIG1 . In this embodiment, terminal 102 communicates with server 104 via a network. A data storage system can store data that server 104 needs to process. The data storage system can be integrated with server 104 or placed in the cloud or on another network server.
[0080] In an embodiment, the terminal 102 can send multiple frames of intravascular ultrasound images of the target object to the server 104, so that the server 104 processes each intravascular ultrasound image. For example, the server 104 binarizes each frame of the intravascular ultrasound image to obtain a corresponding binarized image, traverses the pixel points of each frame of the binarized image, takes the pixel points that meet the preset conditions as the target pixel points, and outlines the lumen edge of the blood vessel based on the target pixel points to obtain the segmented region of interest; based on the segmented region of interest, obtains the center point coordinates of each region of interest; constructs the center line of the blood vessel based on all the obtained center point coordinates; inserts each frame of the intravascular ultrasound image into the center line according to a preset order to reconstruct the blood vessel, so that the server 104 feeds back the reconstructed blood vessel to the terminal 102.
[0081] In the embodiments, terminal 102 may be, but is not limited to, various personal computers, laptops, smartphones, tablet computers, IoT devices, and portable wearable devices. IoT devices may include smart speakers, smart TVs, smart air conditioners, smart car devices, etc. Portable wearable devices may include smart watches, smart bracelets, head-mounted devices, etc. Server 104 may be implemented as a standalone server or a server cluster consisting of multiple servers.
[0082] In one embodiment, the present application provides a blood vessel reconstruction method, which is described below by taking the application of the method to the server in FIG. 1 as an example.
[0083] Please refer to FIG2 , which is a flow chart of a vascular reconstruction method according to this embodiment, which specifically includes the following steps:
[0084] Step S202: Acquire an intravascular ultrasound image of the target object.
[0085] In one embodiment, the intravascular ultrasound image of the target object is obtained by intravascular ultrasound imaging technology. A miniature IVUS probe is sent into the blood vessel lumen through catheter technology, and the operator can view the cross-sectional images of the lumen and the wall in real time through the display interface; at the same time, the cross-sectional images can be automatically saved frame by frame during the operation, and the collection of each cross-sectional image forms the intravascular ultrasound image in this embodiment.
[0086] Step S204 : performing binarization processing on each frame of the intravascular ultrasound image to obtain a corresponding binarized image.
[0087] In one embodiment, each frame of the intravascular ultrasound image is binarized to obtain its corresponding binarized image. This involves selecting appropriate thresholds across the 256 brightness levels of the intravascular ultrasound image to obtain a binarized image that still reflects both the overall and local features of the image. This facilitates subsequent processing of the intravascular ultrasound image, as the collective properties of the image are solely dependent on the locations of points with pixel values of 0 or 1, rather than the multi-level values of the pixels, thereby reducing the complexity of subsequent processing.
[0088] In one embodiment, before binarization of the intravascular ultrasound image, each frame is preprocessed to reduce noise interference with subsequent processing. The preprocessing method can be selected as needed, such as noise reduction and image sharpness enhancement. It should be understood that image noise reduction is used to remove noise generated during image acquisition, transmission, or compression, thereby improving image clarity. Sharpness enhancement, on the other hand, is achieved through mathematical calculations or algorithms that increase the brightness of relatively bright pixels or decrease the brightness of relatively dark pixels in a localized area of the image, thereby making the edges of objects in the image more distinct and facilitating subsequent image segmentation.
[0089] Step S206 , traverse the pixels of each frame of the binary image, take the pixels that meet the preset conditions as target pixels, and outline the lumen edge of the blood vessel according to the target pixels to obtain the segmented region of interest.
[0090] In one embodiment, if a specific object in a binary image, such as the wall or lumen of a blood vessel in this embodiment, has a uniform grayscale value and is located in a uniform background with other levels of grayscale values, by selecting a suitable threshold, each pixel in the binary image can be classified, and pixel points that meet a first preset condition can be selected. For example, pixel points belonging to the same category can be selected and outlined, thereby segmenting the wall and lumen of the blood vessel to obtain a region of interest within the segmented blood vessel.
[0091] Step S208: Obtain the coordinates of the center point of each region of interest based on the segmented region of interest tubes.
[0092] Step S210: constructing the centerline of the blood vessel based on all the obtained center point coordinates.
[0093] Step S212 : insert each frame of the intravascular ultrasound image into the centerline according to a preset order to reconstruct the blood vessel.
[0094] Specifically, steps S202 through S206 process each frame of the IVUS image, segmenting the vessel wall and lumen captured by the micro-IVUS probe to produce a single-frame image with the lumen edge. The image then iterates through all pixels within the lumen edge, calculating the minimum set of Euclidean distances between each pixel and the lumen edge. The pixel with the maximum value in this set is selected as the center point coordinate for the single-frame image. The center point coordinates are then aggregated in frame order to construct the vessel centerline in three-dimensional space. Each frame of the IVUS image is then interpolated into the corresponding center point coordinates along the centerline to produce a reconstructed vessel.
[0095] The above-mentioned vascular reconstruction method first processes the intravascular ultrasound image of the target object to obtain a binary image. It then filters the pixels in the binary image using pre-defined conditions based on image recognition requirements, selecting target pixels representing the lumen edge of the vessel. The lumen edge is then delineated based on these selected target pixels to obtain a segmented region of interest. The vessel centerline is then constructed based on the segmented region of interest to reconstruct the vessel. This approach selects pixels that are more representative of the lumen edge, improving delineation accuracy and making the reconstructed 3D model more accurate to the actual vessel, providing doctors with more effective information about the vessel.
[0096] Referring to FIG. 3 , in one embodiment, processing an intravascular ultrasound image to obtain a binary image includes:
[0097] Step S302 : extracting a plurality of pixels from the intravascular ultrasound image or the sharpened image as sample pixels.
[0098] Step S304 : Select two initial central pixel points from the sample pixel points, and calculate the similarity between each sample pixel point except the initial central pixel point and each initial central pixel point.
[0099] Step S306: classify each sample pixel point according to the similarity.
[0100] Step S308: Mark each sample pixel according to the classification result to obtain a binary image.
[0101] Specifically, multiple pixels are extracted from each frame of the intravascular ultrasound image or the sharpened image as sample pixels, the similarity of each sample pixel is calculated, and the pixels belonging to the same area or tissue are divided into the same category, thereby separating the blood vessel wall and lumen areas.
[0102] Generally speaking, the basic idea of the region-based segmentation method is to first find a target region in the intravascular ultrasound image as a seed target region, and then merge the target regions with the same or similar properties as the seed target region in the neighborhood around the seed target region into the region where the seed target region is located based on a predetermined similarity criterion. These new target regions are treated as new seed target regions and the above process is continued until no target regions that meet the conditions can be included. Its implementation includes a variety of algorithms, such as threshold segmentation algorithm, region growing algorithm and region merging algorithm. Specifically, in this embodiment, the KMeans clustering algorithm is used to classify the intravascular ultrasound image to obtain a binary image. The main steps of the KMeans clustering algorithm include:
[0103] Step 1: Randomly select the initial center pixel values of k classes;
[0104] Step 2: traverse the sample pixel values of the cross-sectional image, calculate the Euclidean distance between each sample pixel value and the k center pixel values, and classify the corresponding pixel points into the category with the shortest distance;
[0105] Step 3: Calculate the mean of the pixel values in the k categories to update the center pixel value;
[0106] Step 4: Iterate steps 2 and 3 until the center pixel value remains unchanged, and the iteration ends;
[0107] Step 5: Set the pixel values belonging to the same class to the same pixel value.
[0108] Using this approach, we can calculate the intra-class similarity of sample pixels in each cross-sectional image, classify each sample pixel by region, and label pixels in the same region with the same pixel value based on the classification results. For example, when k = 2, the pixel value of class 0 is set to 0, and the pixel value of class 1 is set to 1. This separates the blood vessel wall and lumen regions, resulting in a binary image.
[0109] Please refer to Figure 4. Figure (a) in Figure 4 is the original intravascular ultrasound image, which has low-noise points and high-noise points. After the above-mentioned preprocessing such as noise reduction and image sharpness enhancement, some noise is still not filtered out, as shown in Figure (b). As a result, after each intravascular ultrasound image is processed by the above-mentioned KMeans algorithm, there are still a small number of isolated points, as shown in Figure (c). In order to improve the accuracy of subsequent outlining of the lumen edge, the present application further processes the binarized image processed by the KMeans algorithm. The processing method includes dilation processing and median filtering processing. Specifically, the binary image is first dilated with a kernel size of 5×5, and then the dilated binary image is subjected to median filtering. It should be understood that the dilation processing of the image is to add pixel values to the edge of the image so that the overall pixel value is expanded, thereby achieving the dilation effect of the image, thereby filling the holes at the edge or inside of the target. On this basis, median filtering is further performed. This selects the pixel values of a pixel in the digital image or digital sequence and its surrounding pixels (there is an odd number of pixels in total), sorts these pixel values, and then uses the value of the pixel in the middle as the current pixel value, bringing the surrounding pixel values closer to the true value and eliminating isolated noise points. Figure 4 (d) shows the binary image after dilation, and Figure 4 (e) shows the binary image after median filtering. As can be seen, the edges of the binary image in (e) are smoother, resulting in higher accuracy in identifying lumen edges.
[0110] Referring to FIG. 5 , in one embodiment, traversing the pixels of the binary image, selecting pixels that meet preset conditions as target pixels, and outlining the lumen edge of the blood vessel based on the target pixels includes:
[0111] Step 502: Select multiple pixels from each scan line as sampling points.
[0112] Step 504 , traverse the sampling points on each of the scan lines, and select each sampling point marked with a first identifier and meeting a first preset condition as a first target pixel point.
[0113] Step 506 : confirming the edge region of the catheter and the halo artifact in each frame of the binary image according to the first target pixel point.
[0114] Step 508 : Select a sampling point marked with a second identifier and meeting a second preset condition from the scan line in the edge area as a second target pixel point; wherein the second identifier is different from the first identifier and is selected from 0 or 1.
[0115] Step 510: Outline the lumen edge of the blood vessel according to the second target pixel point.
[0116] Specifically, since an IVUS image is a continuous, multi-frame cross-sectional image, the resulting binary image after processing includes multiple single-frame images, with each IVUS image corresponding to each single-frame image on a frame-by-frame basis. Furthermore, a single-frame image includes multiple scan lines, and multiple pixels are selected from each scan line as sampling points. It should be understood that these sampling points have been labeled with pixel values based on the classification results during the aforementioned binarization process. For example, multiple sampling points labeled with a first identifier are pixel values of 0, and multiple sampling points labeled with a second identifier are pixel values of 1. For each scan line, starting with the first sampling point, the process traverses each sampling point downward. Sampling points that meet the first preset criteria are selected as target pixels for subsequently outlining the lumen edge, thereby separating pixels in the binary image that are relevant to the lumen edge from a large number of irrelevant pixels.
[0117] In one embodiment, sampling points on a scan line may be selected first, the sampling points on the scan line may be traversed, and after selecting sampling points that meet the first preset condition, the above operation may be performed on the next scan line until each single frame image is completed.
[0118] Generally speaking, blood vessel segmentation methods include traditional segmentation methods, such as feature-based segmentation methods, region-based segmentation methods, and deep learning-based segmentation methods that have been mainly studied in recent years. The accuracy of traditional segmentation methods will drop significantly when faced with more complex vascular environments and special situations such as the catheter being very close to the vascular wall. Although the deep learning-based segmentation method has more outstanding performance in complex vascular situations, this method relies on a large amount of image data and manual annotation, which brings higher computational complexity. Based on this, the present application combines a feature-based segmentation method and a region-based segmentation method. First, the region-based segmentation method is used to classify each pixel point of the binary image and separate the lumen and wall of the blood vessel. Then, based on the above division results, a feature-based segmentation method is used to outline the lumen edge of the blood vessel to obtain the segmented blood vessel, which is described in detail below.
[0119] Referring to Figure 6 , to reduce misidentification, this embodiment first identifies the edge region between the catheter and the halo artifact. Furthermore, based on this edge region identification, the lumen edge of the blood vessel is identified. Specifically, for each scan line in a single-frame image, starting from the first sampling point, a downward traversal is performed, searching for sampling points marked with a first identifier that are first-category target pixels. It should be understood that the first and second identifiers herein represent the pixel values corresponding to different pixel categories. For example, if the first identifier is 0, all sampling points marked with 0 along the scan line are searched and outlined, thereby forming the edge region between the catheter and the halo artifact, as indicated by the arrow in Figure 6 (a).
[0120] In one embodiment, isolated points may still exist in the catheter and halo artifact regions, leading to misidentification of catheter and halo artifact edge points. Therefore, after identifying a sampling point marked as a first identifier, it is further determined whether the sampling point meets a first preset condition. If so, the sampling point is selected as a first-category target pixel. If not, the traversal continues downward.
[0121] In one embodiment, a method for determining whether the sampling point meets the first preset condition includes:
[0122] All sampling points in the binary image are traversed to obtain pixel values of each sampling point; an average pixel value a of a first preset number of sampling points preceding each sampling point marked as a first identifier and an average pixel value b of a second preset number of sampling points following each sampling point are calculated; when the average pixel value a is greater than a first preset threshold and the average pixel value b is less than a second preset threshold, the sampling point meets a first preset condition; wherein the range of the first preset threshold and the second preset threshold is 0-1.
[0123] Furthermore, from each scan line in the edge area of the catheter and the halo artifact, each sampling point marked with a second identifier is selected as the second target pixel point. For example, if the second identifier is 1, all sampling points marked with 1 on the scan line are searched and outlined to form the lumen edge of the blood vessel, such as the area indicated by the arrow in Figure 6 (b).
[0124] In one embodiment, after the approximate area of the catheter and the halo artifact is identified, isolated points may still exist within the lumen, leading to misidentification of the lumen edge. Therefore, after identifying a sampling point marked as the second identifier, a further determination is made as to whether the sampling point meets a second preset condition. If so, the sampling point is selected as the second target pixel. If not, the traversal continues.
[0125] In one embodiment, a method for determining whether the sampling point meets the second preset condition includes:
[0126] The sampling points in the edge area are traversed to obtain the pixel value of each sampling point; the average pixel value c of the third preset number of sampling points before each sampling point marked as the second identifier and the average pixel value d of the fourth preset number of sampling points after each sampling point are calculated; when the average pixel value c is less than the third preset threshold and the average pixel value d is greater than the fourth preset threshold, the sampling point meets the second preset condition; wherein the range of the first preset threshold and the second preset threshold is 0-1.
[0127] It should be noted that the actual values of the data involved in the above-mentioned first preset condition and second preset condition, such as the first preset number, the first preset threshold and other parameters, can be adjusted accordingly according to the recognition requirements, and their specific values are not limited in this embodiment.
[0128] Figure 6 (c) shows the intravascular ultrasound image after the above-mentioned segmentation processing. As can be seen from Figure (c), the intravascular cross-sectional image after segmentation processing has clearer lumen edges, which helps to make a more accurate assessment of the diseased tissue in the later stage.
[0129] In one embodiment, obtaining the coordinates of the center point of the region of interest according to the segmented region of interest includes:
[0130] According to the lumen edge of the region of interest in each single-frame image, the center coordinates of the largest inscribed circle of the lumen are calculated; and according to the center coordinates, the center point coordinates of the region of interest are determined.
[0131] Specifically, due to the extremely complex orientation of blood vessels, the catheter does not always remain parallel to the vessel wall during IVUS imaging, resulting in data errors. This results in errors in the three-dimensional structure of the blood vessels obtained by directly splicing the above-mentioned single-frame images. In order to obtain the relative position changes between consecutive frames, make the reconstructed three-dimensional blood vessel structure more realistic, and provide doctors with more effective information about the blood vessels to be tested, the centerline of the blood vessel is calculated based on the following strategy in this embodiment: Assuming that a sphere moves in the blood vessel, its diameter is close to or even similar to the inner diameter of the blood vessel, so the center of the sphere can be approximately regarded as the center of the blood vessel. The section through the center of the sphere is the largest circle of the sphere, and each frame image has one and only one intersection with the centerline of the blood vessel. Therefore, each frame image must contain the largest circle of the sphere, and this largest circle is the largest inscribed circle of the blood vessel lumen, and the center of this inscribed circle is the center of the blood vessel.
[0132] Specifically, since the transducer has a fast rotation imaging speed and a slow retraction speed, the difference between single-frame images of adjacent frames is small, and the coordinates of the lumen center in adjacent frames are also relatively close. Based on the above-mentioned characteristics of adjacent frames, this embodiment manually determines the center point of the blood vessel in the first frame image of the lumen edge.
[0133] Therefore, assuming that the blood vessel is not severely twisted and the actual distance between each frame image remains constant, the above method of determining the center point coordinates of the blood vessel based on the center coordinates of the circle includes:
[0134] In the above steps, the center coordinates of the largest inscribed circle of the lumen are calculated according to the lumen edge of the region of interest of the first frame image and are used as the center coordinates of the blood vessel.
[0135] Alternatively, the coordinates of all pixel points within a preset range of the circle center coordinates are obtained, and the minimum distance between each pixel point and the lumen edge of the region of interest is calculated to obtain a first distance set; the coordinates of the pixel point corresponding to the maximum distance value in the first distance set are selected as the center point coordinates of the region of interest.
[0136] Furthermore, starting from the center point of the blood vessel in the second frame image, traverse the lumen edge of the single frame image, and obtain the coordinates of all pixels in the next frame within the preset range of the center coordinates of the previous frame. For example, obtain all pixels in the 11×11 window neighborhood centered on the center coordinates of the previous frame, and select a pixel point coordinate (x p ,y p ), calculate its distance from the lumen edge pixel (x l ,y l ) to obtain the minimum value of the Euclidean distance of the set S, which is expressed as:
[0137] Among them, s p is the minimum value of the Euclidean distance from pixel point p to the lumen edge pixel point l.
[0138] The maximum value in the set S is the radius of the largest inscribed circle corresponding to the center coordinates of the circle in the lumen, for example, s p The value of is the largest, then the coordinate of pixel point p (x p ,y p ) is recorded as the center point coordinate. Further, if the minimum value of the Euclidean distance corresponding to multiple pixel coordinates is the maximum value in the set S, the coordinate value closest to the center of the frame image is selected as the center point coordinate.
[0139] Repeat the above steps to calculate the center point coordinates in each single frame image, and merge the center point coordinates according to the number of frames to obtain the center point set of the blood vessel.
[0140] Based on the set of blood vessel center points obtained in the above steps, the fitting coefficients are calculated through polynomial fitting. The polynomial equation is determined according to the fitting coefficients, and the blood vessel centerline equation group can be expressed as:
[0141] Among them, x represents the x-axis coordinate of the center point after fitting; y represents the y-axis coordinate of the center point after fitting; z represents the single frame image is the zth frame; f x (z), f y (z) represents the mapping function between the image frame number z and the x-axis coordinate and y-axis coordinate of the center point respectively.
[0142] In the above embodiment, by using the center of the largest inscribed circle of the region of interest as the center of the blood vessel, data errors caused by angular deviation between the catheter and the vessel wall during imaging can be reduced. Furthermore, based on the initial coordinates of the inscribed circle's center, the optimal pixel point within a preset range of center coordinates is further searched for as the coordinates of the vessel's center point. This further improves data accuracy, making the reconstructed 3D model of the vessel more accurate to the vessel's actual condition and providing physicians with more effective information about the vessel.
[0143] In one embodiment, inserting the intravascular ultrasound images into the centerline in a preset order includes: inserting each intravascular ultrasound image into the centerline frame by frame, wherein the inserted cross-sectional images are orthogonal to the centerline.
[0144] Please refer to FIG7 . As shown in FIG7 , each intravascular ultrasound image is inserted into the center line according to the position in the center line equation group. For example, the cross-sectional image corresponding to the pixel point p is inserted into the coordinate (x p ,y p ) and ensure that the inserted internal ultrasound image is orthogonal to the center line, thereby obtaining the structure of the three-dimensional model of the blood vessel.
[0145] In one embodiment, after inserting the intravascular ultrasound images into the centerline according to a preset order, the method further includes:
[0146] Interpolation methods, such as quadratic linear interpolation, cubic B-spline interpolation and other algorithms, are used to fill the three-dimensional space between each frame of intravascular ultrasound image to obtain a reconstructed three-dimensional model of the blood vessel. It should be understood that the three-dimensional model of the blood vessel includes a three-dimensional model of the lumen.
[0147] In the above embodiment, each internal ultrasound image is inserted into the corresponding center point coordinates frame by frame, so that the position of each frame image on the center line can be accurately located, a more realistic three-dimensional vascular structure can be reconstructed, and a more accurate three-dimensional model can be obtained.
[0148] In order to enable those skilled in the art to fully understand the present application, the steps of the vascular reconstruction method of the present application are described in detail below:
[0149] First, multiple frames of intravascular ultrasound images of the target object are acquired. These images are cross-sectional images, saved frame by frame. After preprocessing these cross-sectional images, including noise reduction and image sharpness enhancement, the KMeans clustering algorithm is used to classify the pixel values of each cross-sectional image. Based on the classification results, pixels in the same category are assigned the same pixel value, thereby separating the vessel wall and lumen areas to produce a binary image. Furthermore, to improve the accuracy of subsequent lumen edge delineation, the resulting binary image is further processed, including dilation and median filtering.
[0150] Next, multiple pixels are selected from each scan line of the binary image as sampling points. For each scan line, starting from the first sampling point, the sampling points are traversed downward. After a sampling point marked with a first identifier is identified, the sampling point is selected as a first-category target pixel only if the average pixel value of a first preset number of sampling points preceding it is greater than a first preset threshold, and the average pixel value of a second preset number of sampling points following it is less than a second preset threshold. Otherwise, the traversal continues downward until each scan line is completed. Based on the first-category target pixels, the edge region between the catheter and the halo artifact is outlined.
[0151] Next, on each scan line in the edge region, starting from the first sampling point, the sampling points are traversed downward. After a sampling point marked with a second identifier is identified, the sampling point is selected as the second target pixel only if the average pixel value of the first third preset number of sampling points is less than the third preset threshold, and the average pixel value of the fourth preset number of sampling points after the sampling point is greater than the fourth preset threshold. Otherwise, the traversal continues downward until each scan line is completed. Based on the second target pixel, the lumen edge of the blood vessel is outlined to obtain the segmented blood vessel.
[0152] Furthermore, for each single-frame image, the center coordinates of the largest inscribed circle of the vessel lumen are calculated based on the lumen edge within the single-frame image, and these center coordinates are used as the vessel center coordinates. Alternatively, the coordinates of all pixels within a preset range of the center coordinates are obtained, and the minimum distance between each pixel and the lumen edge of the vessel is calculated to obtain a first set. The coordinates of the pixel corresponding to the maximum distance in the first set are selected as the vessel center coordinates. The above steps are repeated to calculate the center coordinates of each single-frame image, and after merging, a set of vessel center points is obtained. A polynomial fit is performed on this set of center points to obtain the vessel centerline. The intravascular ultrasound image is interpolated into the centerline frame by frame according to the corresponding center coordinates, and during the interpolation process, the interpolated intravascular ultrasound image is ensured to be orthogonal to the centerline. Finally, interpolation is used to fill the three-dimensional space between each frame of the intravascular ultrasound image to obtain the reconstructed vessel.
[0153] The above-mentioned vascular reconstruction method first preprocesses the intravascular ultrasound image of the target object. Then, based on a region-based segmentation method, morphological operations, and filtering, each pixel in the preprocessed image is labeled to obtain a binary image. A feature-based segmentation method then performs a first screening of the labeled pixels to separate the vessel's catheter from the halo artifact and lumen. Based on this segmentation result, the pixels are then secondarily screened and outlined to identify the vessel wall and determine the lumen edge, thereby obtaining the segmented vessel. This combination of region-based and feature-based segmentation methods selects pixels with stronger lumen edge characteristics, improving the accuracy of the outline and providing accurate parameters for subsequent vessel reconstruction. Furthermore, based on the segmented lumen edge, the center coordinates of the maximum inscribed circle of the vessel lumen are calculated. The coordinates of the vessel center point are then determined based on the center coordinates. This reduces data errors caused by angular deviation between the catheter and the vessel wall during imaging, making the reconstructed 3D vessel model more accurate to the vessel's actual condition and providing physicians with more effective vascular information.
[0154] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0155] Based on the same inventive concept, embodiments of the present application also provide a vascular reconstruction device for implementing the aforementioned vascular reconstruction method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations in one or more vascular reconstruction device embodiments provided below can be found in the above-described limitations on the vascular reconstruction method and will not be further elaborated here.
[0156] Referring to FIG8 , in one feasible embodiment, the present application provides a vascular reconstruction device, comprising: a receiving module, a processing module, a segmentation module, a centerline construction module, and a vascular reconstruction module, wherein:
[0157] The receiving module is used to obtain an intravascular ultrasound image of the target object.
[0158] The processing module is used to perform binarization processing on each frame of the intravascular ultrasound image to obtain a corresponding binarized image.
[0159] The processing module processes the intravascular ultrasound image to obtain a binary image, including:
[0160] Step 1: extract multiple pixel points from the intravascular ultrasound image as sample pixel points.
[0161] Step 2: Select two initial center pixel points from the sample pixel points, and calculate the similarity between each sample pixel point except the initial center pixel point and each initial center pixel value.
[0162] Step 3: Classify each sample pixel according to similarity.
[0163] Step 4: Mark each sample pixel according to the classification result to obtain a binary image.
[0164] In one embodiment, the processing module is further configured to perform pre-processing on the intravascular ultrasound image, such as noise reduction and image sharpness enhancement, before binarizing the intravascular ultrasound image, to increase image clarity.
[0165] In one embodiment, the processing module is further configured to perform processing such as dilation processing and median filtering on the binary image to remove a small number of isolated points in the binary image, thereby improving subsequent segmentation accuracy.
[0166] The segmentation module is used to traverse the pixels of each frame of the binary image, take the pixels that meet the preset conditions as target pixels, and outline the lumen edge of the blood vessel based on the target pixels to obtain the segmented region of interest.
[0167] The segmentation module traverses the pixels of the binary image, selects pixels that meet preset conditions as target pixels, and outlines the lumen edge of the blood vessel based on the target pixels, including:
[0168] Step 1: Select multiple pixels from each scan line as sampling points.
[0169] Step 2: traverse the sampling points on each scan line, and select the sampling point marked with a first identifier and meeting a first preset condition as a first target pixel point.
[0170] Step 3: According to the first target pixel point, the edge area of the catheter and the halo artifact in each frame of the binary image is confirmed.
[0171] Step 4: Select a sampling point marked with a second identifier and meeting a second preset condition from the scan line in the edge area as a second target pixel point; wherein the second identifier is different from the first identifier and is selected from 0 or 1.
[0172] Step 5: Outline the lumen edge of the blood vessel based on the second target pixel point.
[0173] In one embodiment, the segmentation module determines whether the sampling point meets the first preset condition in a manner that includes:
[0174] Traverse all sampling points in the binary image and obtain the pixel value of each sampling point; calculate the average pixel value a of a first preset number of sampling points before each sampling point marked as a first identifier and the average pixel value b of a second preset number of sampling points after each sampling point; when the average pixel value a is greater than a first preset threshold and the average pixel value b is less than a second preset threshold, the sampling point meets the first preset condition; wherein the range of the first preset threshold and the second preset threshold is 0-1.
[0175] In one embodiment, the segmentation module determines whether the sampling point meets the second preset condition by:
[0176] The sampling points in the edge area are traversed to obtain the pixel value of each sampling point; the average pixel value c of the third preset number of sampling points before each sampling point marked as the second identifier and the average pixel value d of the fourth preset number of sampling points after each sampling point marked as the second identifier are calculated; when the average pixel value c is less than the third preset threshold and the average pixel value d is greater than the fourth preset threshold, the sampling point meets the second preset condition; wherein the range of the first preset threshold and the second preset threshold is 0-1.
[0177] The centerline construction module is used to obtain the center point coordinates of the region of interest according to the segmented region of interest; and construct the centerline of the blood vessel according to the center point coordinates.
[0178] Specifically, the centerline construction module obtains the center point coordinates of the region of interest based on the segmented region of interest, including: calculating the center coordinates of the maximum inscribed circle of the lumen for the lumen edge in each single-frame image, and determining the center point coordinates of the region of interest based on the center coordinates.
[0179] In one embodiment, the step of determining the center coordinates of the blood vessel based on the circle center coordinates by the centerline construction module includes: obtaining the coordinates of all pixels within a preset range of the circle center coordinates, calculating the minimum distance between each pixel and the lumen edge of the region of interest to obtain a first distance set; and selecting the coordinates of the pixel corresponding to the maximum distance value in the first distance set as the center coordinates of the region of interest. The centerline of the blood vessel is constructed based on all center coordinates obtained from multiple frames of intravascular ultrasound images.
[0180] The vascular reconstruction module is used to insert the intravascular ultrasound images into the center line according to a preset order to reconstruct the three-dimensional model of the blood vessel.
[0181] Specifically, the step of inserting the intravascular ultrasound image into the centerline in a preset order by the vascular reconstruction module includes: inserting each intravascular ultrasound image into the centerline frame by frame, and ensuring that the inserted intravascular ultrasound image is orthogonal to the centerline.
[0182] In one embodiment, after the blood vessel reconstruction module inserts the intravascular ultrasound image into the centerline according to a preset order, it also includes: using an interpolation method to fill the three-dimensional space between each frame of the intravascular ultrasound image to obtain a reconstructed blood vessel.
[0183] The vascular reconstruction device first preprocesses an intravascular ultrasound image of the target object. It then labels each pixel in the preprocessed image using a region-based segmentation method, morphological operations, and filtering to obtain a binary image. A feature-based segmentation method then performs a first screening of the labeled pixels to separate the vessel's catheter from the halo artifact and lumen. Based on this segmentation result, the device then performs a second screening of the pixels, delineating the vessel wall and the lumen edge, thereby obtaining a segmented vessel. This combined region-based and feature-based segmentation method selects pixels with stronger lumen edge characteristics, improving delineation accuracy and providing accurate parameters for subsequent vessel reconstruction. Furthermore, based on the segmented lumen edge, the center coordinates of the maximum inscribed circle of the vessel lumen are calculated. The coordinates of the vessel center point are then determined based on the center coordinates. This reduces data errors caused by angular deviation between the catheter and the vessel wall during imaging, making the reconstructed three-dimensional vessel model more accurate to the vessel's actual condition and providing physicians with more effective vascular information.
[0184] Each module in the aforementioned vascular reconstruction device may be implemented in whole or in part through software, hardware, or a combination thereof. Each module may be embedded in or independent of a processor within a computer device in the form of hardware, or may be stored in a computer device memory in the form of software, so that the processor can call and execute the corresponding operations of each module.
[0185] In one embodiment, a computer device is provided, which may be a terminal. Its internal structure diagram may be as shown in Figure 9. The computer device includes a processor, memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and computer program stored in the non-volatile storage medium. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to communicate with external terminals via wired or wireless communication, where the wireless communication may be achieved via Wi-Fi, a mobile cellular network, NFC (near-field communication), or other technologies. When executed by the processor, the computer program implements a vascular reconstruction method. The display unit of the computer device is configured to produce a visually visible image and may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse.
[0186] Those skilled in the art will understand that the structure shown in Figure 9 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0187] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the method steps in the above-mentioned vascular reconstruction method when executing the computer program.
[0188] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method steps in the above-mentioned vascular reconstruction method are implemented.
[0189] In one embodiment, a computer program product is provided, comprising a computer program, which implements the method steps in the above-mentioned vascular reconstruction method when executed by a processor.
[0190] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.
[0191] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.
[0192] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0193] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A method for vascular reconstruction, comprising: Acquire multiple frames of intravascular ultrasound images of a target object; Performing binarization processing on each frame of the intravascular ultrasound image to obtain a corresponding binarized image; Traversing the pixel points of each frame of the binary image, selecting the pixel points that meet the preset conditions as target pixel points, outlining the lumen edge of the blood vessel according to the target pixel points, and obtaining the segmented region of interest; According to the segmented regions of interest, obtaining the coordinates of the center point of each region of interest; Constructing the center line of the blood vessel according to the obtained coordinates of all the center points; Each frame of the intravascular ultrasound image is inserted into the center line according to a preset order to reconstruct the blood vessel.
2. The method according to claim 1, wherein: The step of performing binarization processing on each frame of the intravascular ultrasound image to obtain a corresponding binarized image includes: Performing noise reduction processing on each frame of the intravascular ultrasound image, and performing sharpening processing on the noise-reduced image; The KMeans algorithm is used to binarize the sharpened image to obtain the corresponding binary image.
3. The method according to claim 1 or 2, wherein: The step of performing the binarization process comprises: Extracting a plurality of pixel points from the intravascular ultrasound image or the sharpened image as sample pixel points; Select two initial central pixel points from the sample pixel points, and calculate the similarity between each sample pixel point except the initial central pixel point and each of the initial central pixel points; Classifying each of the sample pixels according to the similarity; According to the classification result, each sample pixel is marked to obtain a binary image.
4. The method according to claim 3, wherein: The steps after obtaining the binary image include: The binary image is expanded, and the binary image after the expansion is subjected to median filtering, and the pixel points of the binary image after the median filtering in each frame are traversed.
5. The method according to claim 1, wherein: The binary image includes a plurality of single-frame images, and the single-frame image includes a plurality of scan lines; The step of traversing the pixel points of the binary image, selecting the pixel points that meet the preset conditions as target pixel points, and outlining the lumen edge of the blood vessel according to the target pixel points includes: Selecting a plurality of pixel points from each of the scan lines as sampling points; Traversing the sampling points on each of the scanning lines, and selecting the sampling point marked with a first identifier and satisfying a first preset condition as a first target pixel point; According to the first target pixel point, confirming the edge area of the catheter and the halo artifact in each frame of the binary image; From the scan line in the edge area, select a sampling point marked with a second identifier and satisfying a second preset condition as a second target pixel point; wherein the second identifier is different from the first identifier and is selected from 0 or 1; The lumen edge of the blood vessel is outlined according to the second target pixel point.
6. The method according to claim 5, wherein: The step of selecting the sampling point marked as the first identifier and satisfying the first preset condition as the first target pixel point comprises: Obtaining pixel values of all the sampling points; Calculate the average pixel value a of a first preset number of sampling points before each sampling point marked as the first identifier and the average pixel value b of a second preset number of sampling points after each sampling point marked as the first identifier. When the average pixel value a is greater than a first preset threshold and the average pixel value b is less than a second preset threshold, the sampling point is the first target pixel point; wherein the range of the first preset threshold and the second preset threshold is 0-1.
7. The method according to claim 6, wherein: The step of selecting a sampling point marked as a second identifier and satisfying a second preset condition as a second target pixel point comprises: Obtaining pixel values of each sampling point in the edge area; Calculate the average pixel value c of the first third preset number of sampling points and the average pixel value d of the last fourth preset number of sampling points of each sampling point marked as the second identifier, when the average pixel value c is greater than the third preset threshold and the average pixel value d is less than the fourth preset threshold, the sampling point is the second target pixel point; wherein the range of the third preset threshold and the fourth preset threshold is 0-1.
8. The method according to claim 1 or 2, wherein: The step of obtaining the coordinates of the center point of each region of interest according to the segmented regions of interest comprises: Calculating the center coordinates of the maximum inscribed circle of the region of interest according to the lumen edge of the region of interest; The coordinates of the center point of the region of interest are determined according to the circle center coordinates.
9. The method according to claim 8, wherein: The step of determining the center point coordinates of the region of interest according to the circle center coordinates comprises: Taking the circle center coordinates as the center point coordinates of the region of interest; Alternatively, the center coordinates of the first frame of the intravascular ultrasound image are used as the center point coordinates, and in the current frame of the intravascular ultrasound image, the corresponding coordinates of the center point coordinates of the previous frame of the intravascular ultrasound image in the current frame of the intravascular ultrasound image are determined, and the coordinate values of all pixel points within a preset range of the corresponding coordinates are obtained, and according to the coordinate values, the minimum distance between each pixel point and the lumen edge of the region of interest of the current frame of the intravascular ultrasound image is calculated to obtain a first distance set; The coordinates of the pixel point corresponding to the maximum distance value in the first distance set are determined as the coordinates of the center point of the region of interest of the current intravascular ultrasound image.
10. The method according to claim 9, wherein: The step of constructing the centerline of the blood vessel according to all the obtained center point coordinates comprises: Polynomial fitting is performed on all the center points to obtain the center line of the blood vessel.
11. The method according to claim 1, wherein: The step of inserting each frame of the intravascular ultrasound image into the centerline according to a preset order to reconstruct the blood vessel comprises: Inserting each of the intravascular ultrasound images into the center line frame by frame, wherein the inserted intravascular ultrasound images are orthogonal to the center line; The three-dimensional space between each frame of the intravascular ultrasound image is filled in an interpolation manner to reconstruct the blood vessel.
12. The method according to claim 11, wherein: The step of filling the three-dimensional space between each frame of the intravascular ultrasound image by interpolation to reconstruct the blood vessel comprises: The three-dimensional space between each frame of intravascular ultrasound image is filled by using quadratic linear interpolation or cubic B-spline interpolation to obtain a reconstructed three-dimensional model of the blood vessel.
13. A vascular reconstruction device, comprising: A receiving module, used for acquiring an intravascular ultrasound image of a target object; A processing module, used for performing binarization processing on each frame of the intravascular ultrasound image to obtain a corresponding binarized image; A segmentation module, used for traversing the pixel points of each frame of the binary image, selecting the pixel points that meet the preset conditions as target pixel points, outlining the lumen edge of the blood vessel according to the target pixel points, and obtaining a segmented region of interest; A centerline construction module is used to obtain the center point coordinates of each region of interest according to the segmented regions of interest; and to construct the centerline of the blood vessel according to all the obtained center point coordinates; The blood vessel reconstruction module is used to insert each frame of the intravascular ultrasound image into the center line according to a preset order to reconstruct the blood vessel.
14. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1 to 12 when executing the computer program.
15. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Integrated IVUS (intravascular ultrasound) image and DSA (digital subtraction angiography) image integrating offline-treatment system
CN103462646A
Three-dimensional blood vessel image reconstruction method and system, medical equipment and storage medium
CN113706684A
Three-dimensional reconstruction method and device for coronary blood vessels, electronic equipment and a storage medium
CN113724377A
Blood vessel lumen intimal contour extraction method and device, ultrasonic equipment and storage medium
CN114693710A
Blood vessel reconstruction method and device, computer equipment and readable storage medium
CN115965750A
Cited By
Selective hepatobiliary blood flow occlusion calibration method and system based on three-dimensional reconstruction
CN119851284A
A selective hepatobiliary blood flow occlusion calibration method and system based on three-dimensional reconstruction
CN119851284B
Interactive MR image carotid artery analysis method based on deep learning model
CN120259315A
Vascular naming method and system based on centerline extraction, terminal and storage medium
CN121709167A
