Breach position detection method, device, equipment and storage medium
By identifying the low-density region and skeletal line of the intimal patch area in 3D CTA images, the problem of relying on human factors for the detection of aortic dissection rupture location in existing technologies is solved, achieving rapid and accurate rupture location detection and improving detection efficiency and diagnosis time.
Patent Information
- Application Number
- CN202210352696.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-30
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-03-30
AI Technical Summary
Existing methods for detecting the location of aortic dissection ruptures rely heavily on the doctor's subjective judgment and cannot provide timely and accurate information about the rupture location, resulting in low detection efficiency.
By acquiring three-dimensional CT angiography (CTA) images of the aortic region, the low-density area and skeleton line of the intimal patch are identified. By comparing the features of the skeleton line and the low-density area, the location of the rupture can be accurately determined, avoiding the influence of uneven distribution of contrast agent.
It enables rapid and accurate location of the tear in the intimal flap area of aortic dissection, improving detection efficiency and saving diagnostic time.
Smart Images

Figure CN114820462B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of medical image processing, and more specifically, to a method, apparatus, device and storage medium for detecting a rupture position. Background Art
[0002] Aortic dissection refers to the presence of an intermediate dissecting valve formed by blood penetrating the aortic intima and entering the middle layer. It is an acute, severe cardiovascular disease with a rapidly progressive course. Aortic dissection includes Stanford type A and type B. Among them, Stanford type A dissection involves the ascending aorta; type B involves the aortic arch but not the ascending aorta, and the rupture location of type B dissection is mainly treated with minimally invasive endovascular treatment. The corresponding surgical plan can be selected according to the location of the rupture to provide patients with rapid and timely treatment.
[0003] Currently, the method for detecting the rupture location of type B aortic dissection is to use a three-dimensional hole-filling algorithm to detect the rupture location based on manual segmentation of the aortic dissection intimal sheet, or rely on doctors to manually label based on CTA (CT angiography) images.
[0004] However, the above detection method is greatly affected by the human factors of doctors and cannot give the rupture location accurately and timely. Summary of the invention
[0005] The embodiments of the present application provide a rupture position detection method, device, equipment and storage medium, which can quickly and accurately obtain the rupture position of the intimal sheet area on aortic dissection. Compared with the method of manually segmenting the intimal sheet of aortic dissection and manually marking the rupture position, the detection efficiency of the rupture position is improved and the diagnosis time is saved.
[0006] In a first aspect, the present application provides a breach position detection method, comprising:
[0007] Acquiring a three-dimensional CT angiography (CTA) image of an aorta region, wherein the three-dimensional CTA image includes an M-layer two-dimensional image;
[0008] For each layer of the M two-dimensional images, determining an intimal patch region of the two-dimensional image, wherein the intimal patch region is an intermediate region between a true lumen and a false lumen in aortic dissection;
[0009] Determine a low-density area in which the grayscale value of the pixel point in the inner membrane area is less than a first threshold;
[0010] For each layer of the two-dimensional image, based on the first skeleton line of the inner membrane sheet area and the second skeleton line of the low-density area, determine the rupture position of the inner membrane sheet area of the M-layer two-dimensional image;
[0011] Based on the rupture position of the intimal sheet region of the M-layer two-dimensional image, the target rupture position is determined.
[0012] In a second aspect, the present application provides a breach position detection device, comprising:
[0013] An acquisition unit, used for acquiring a three-dimensional CT angiography CTA image of an aorta region, wherein the three-dimensional CTA image includes an M-layer two-dimensional image;
[0014] A first determining unit is used to determine an intimal patch region of each layer of the two-dimensional image in the M layers of two-dimensional images, where the intimal patch region is an intermediate region between a true lumen and a false lumen in aortic dissection;
[0015] A second determining unit is used to determine a low-density area in which the grayscale value of the pixel point in the inner membrane area is less than a first threshold;
[0016] A third determining unit is used to determine, for each layer of the two-dimensional image, a rupture position of the inner membrane sheet area of the M-layer two-dimensional image based on the first skeleton line of the inner membrane sheet area and the second skeleton line of the low-density area;
[0017] The fourth determining unit is used to determine the target rupture position based on the rupture position of the intima sheet area of the M-layer two-dimensional image.
[0018] In a third aspect, the present application provides an electronic device, including:
[0019] a processor adapted to execute a computer program;
[0020] A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the method of the first aspect described above is implemented.
[0021] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute the method of the first aspect.
[0022] In a fifth aspect, the present application provides a computer program product, comprising a computer program / instructions, which implement the method of the first aspect when executed by a processor.
[0023] Based on the above technical solution, first, a low-density area in which the grayscale value of the pixel point in the endothelial sheet area of the two-dimensional image is less than a first threshold is determined. This is equivalent to considering that in the CTA image of a normal artery, the entire endothelial sheet area is in a low-brightness state. If there is a break in the endothelial sheet area, the break in the endothelial sheet area is usually in a high-brightness state together with the true lumen, that is, the grayscale value is higher, and other areas in the endothelial sheet area except the break are in a low-brightness state, that is, the grayscale value is lower (low-density area). Therefore, the low-density area in the endothelial sheet area is determined to pave the way for further using the characteristics of the low-density area to confirm whether the endothelial sheet has a break.
[0024] Secondly, considering that the skeleton line is a thin curve consistent with the connectivity and topological structure of the original shape, the skeleton line based on the low-density area and the skeleton line of the inner membrane area can accurately reflect the thin curve in the low-density area that is consistent with the connectivity and topological structure of the original shape, as well as the thin curve in the inner membrane area that is consistent with the connectivity and topological structure of the original shape, which is beneficial to perform feature comparison based on the thin curve in the low-density area and the thin curve in the inner membrane area, accurately determine whether there is a break in the inner membrane area, and if there is a break, determine the location of the break.
[0025] In addition, the solution provided in this embodiment determines the rupture position of the endocardial sheet area in the M-layer two-dimensional image based on the skeleton line of the endocardial sheet area and the skeleton line of the low-density area. It is independent of contrast agent, that is, it is independent of the CT value on the two-dimensional image. Even if the contrast agent is unevenly distributed in the true lumen and false lumen of the aorta, the rupture position can be accurately detected.
[0026] In short, the solution provided in this embodiment is based on the skeleton lines of the intimal sheet area and the skeleton lines of the low-density area of the M-layer two-dimensional image, and can quickly and accurately obtain the rupture position of the intimal sheet area on the aortic dissection. Compared with the method of manually segmenting the intimal sheet of aortic dissection and manually marking the rupture position, it improves the detection efficiency of the rupture position and saves diagnosis time. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0028] Figure 1 It is a schematic flow chart of the breach position detection method provided in an embodiment of the present application.
[0029] Figure 2These are the renderings of the binary true cavity mask, the binary false cavity mask, and the masking effect of the inner membrane area provided in the embodiments of the present application.
[0030] Figure 3 It is an original rendering of a two-dimensional image, a binary mask rendering of an inner membrane area on a two-dimensional image, and a grayscale image of an inner membrane area on a two-dimensional image provided in an embodiment of the present application.
[0031] Figure 4 It is a schematic diagram of the arc length and arc area corresponding to the skeleton line provided in the embodiment of the present application.
[0032] Figure 5 It is another schematic flow chart of the breach position detection method provided in an embodiment of the present application.
[0033] Figure 6 It is a block diagram of a breach position detection device provided in an embodiment of the present application.
[0034] Figure 7 It is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0036] The solution provided in this application may involve artificial intelligence technology.
[0037] Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.
[0038] With the research and advancement of artificial intelligence technology, artificial intelligence has been applied in the field of smart medicine and played an increasingly important role.
[0039] The embodiments of the present application may involve computer vision (CV) technology in artificial intelligence technology. Computer vision is a science that studies how to make machines "see". To put it more concretely, it refers to machine vision such as using cameras and computers to replace human eyes to identify, track and measure targets, and further perform graphic processing to make computer processing into a picture that is more suitable for human eye observation or transmission to instrument detection. As a scientific discipline, computer vision studies related theories and technologies, and attempts to establish an artificial intelligence system that can obtain information from images or multidimensional data. Computer vision technology generally includes image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous positioning and map construction, and other technologies.
[0040] Specifically, the embodiments of the present application may involve image processing technology in computer vision, and more specifically, the image processing technology may be medical image processing technology; the image processing technology may include lesion detection, image segmentation, image registration, image fusion and other technologies.
[0041] In addition, embodiments of the present application may also involve imaging genomics technology.
[0042] Radiomics originated from computer-aided detection or diagnosis (CAD), which combines quantitative image analysis with machine learning methods. At present, the basic role of radiomics is to quantitatively analyze the lesion area through a large number of radiomics features, which can provide valuable diagnostic, prognostic or predictive information. The purpose of radiomics is to explore and use these information resources to develop diagnosis, auxiliary prediction or obtain radiomics models to support personalized clinical decision-making and improve individualized treatment options. The workflow of radiomics may include: image acquisition, image segmentation, image feature extraction and quantification, feature selection, and the establishment of prediction and classification models based on radiomics features to serve auxiliary detection or diagnosis.
[0043] At present, the imaging genomics method for detecting the rupture location in aortic dissection is to use a three-dimensional hole-filling algorithm to detect the rupture location based on manual segmentation of the aortic dissection intimal sheet, or rely on doctors to manually label CTA (CTangiography) images; however, this detection method is greatly affected by the human factors of doctors and cannot give the rupture location in a timely and accurate manner.
[0044] Based on this, the present application provides a rupture position detection method, device, equipment and storage medium, which can quickly and accurately obtain the rupture position of aortic dissection. Compared with the method of manually segmenting the aortic dissection endothelium and manually marking the rupture position, the detection efficiency of the rupture position is improved and the diagnosis time is saved.
[0045] Before introducing the present application scheme, the terms related to breach position detection are explained below.
[0046] 1. Three-dimensional CTA image: refers to an image that can display the internal features of blood vessels in three dimensions after computer processing of the image after intravenous injection of contrast agent.
[0047] 2. Aortic dissection: It refers to the blood in the aortic cavity entering the aortic media from the tear in the aortic intima, causing the media to separate and expand along the long axis of the aorta to form a state of separation between the true and false cavities of the aortic wall.
[0048] 3. Skeleton line: refers to a thin curve that is consistent with the connectivity and topological structure of the original shape. Usually used as an ideal way to express an object, the skeleton line of a general polygon is essentially an abstract description of the polygon.
[0049] Figure 1 It is a schematic flow chart of the breach location detection method 100 provided in the embodiment of the present application. It should be noted that the scheme provided in the embodiment of the present application can be executed by any electronic device with data processing capabilities. For example, the electronic device can be implemented as a server. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, and big data and artificial intelligence platforms. The server can be directly or indirectly connected by wired or wireless communication, and this application is not limited here. For another example, the electronic device can be implemented as a terminal device. The terminal device can be a tablet computer, a laptop computer or a desktop computer. For another example, the electronic device can be implemented as a combination of a server and a terminal device; wherein, the server and the terminal device can communicate based on the Internet protocol by wireless or wired means, and this application does not specifically limit the electronic device.
[0050] The following will take the electronic device as a terminal device as an example to explain in detail the solution provided in the embodiment of the present application.
[0051] like Figure 1 As shown, the method 100 may include some or all of the following:
[0052] S101, acquiring a three-dimensional CT angiography CTA image of an aorta region, where the three-dimensional CTA image includes an M-layer two-dimensional image;
[0053] S102, for each layer of the M layers of two-dimensional images, determining an intimal patch region of the two-dimensional image, the intimal patch region being an intermediate region between a true lumen and a false lumen in aortic dissection;
[0054] S103, determining a low-density area in which the grayscale value of the pixel point in the inner membrane area is less than a first threshold;
[0055] S104, for each layer of the two-dimensional image, based on the first skeleton line of the inner membrane sheet area and the second skeleton line of the low-density area, determining the rupture position of the inner membrane sheet area of the M layers of the two-dimensional image;
[0056] S105, determining a target rupture position based on the rupture position of the intimal sheet region of the M-layer two-dimensional image.
[0057] In other words, first, a three-dimensional CTA image of the aorta region is acquired; secondly, for each layer of two-dimensional images in the three-dimensional CTA image, the endocardial patch region of each layer of the two-dimensional image is determined, and the low-density region is determined in the endocardial patch region of each layer of the two-dimensional image respectively; then, based on the skeleton line of the endocardial patch region of each layer of the two-dimensional image and the skeleton line of the low-density region of each layer of the two-dimensional image respectively, it is determined whether there is a rupture in the endocardial patch region of each layer of the two-dimensional image, and finally the endocardial patch region with a rupture in the endocardial patch region of M layers of two-dimensional images is determined, and the position of the rupture on the endocardial patch region with a rupture is determined to obtain the rupture position of the endocardial patch region of the M layers of two-dimensional images; finally, the target rupture position is determined from the rupture positions of the endocardial patch regions of the M layers of two-dimensional images.
[0058] Based on the above technical solution, first, a low-density area in which the grayscale value of the pixel point in the endothelial sheet area of the two-dimensional image is less than a first threshold is determined. This is equivalent to considering that in the CTA image of a normal artery, the entire endothelial sheet area is in a low-brightness state. If there is a break in the endothelial sheet area, the break in the endothelial sheet area is usually in a high-brightness state together with the true lumen, that is, the grayscale value is higher, and other areas in the endothelial sheet area except the break are in a low-brightness state, that is, the grayscale value is lower (low-density area). Therefore, the low-density area in the endothelial sheet area is determined to pave the way for further using the characteristics of the low-density area to confirm whether the endothelial sheet has a break.
[0059] Secondly, considering that the skeleton line is a thin curve consistent with the connectivity and topological structure of the original shape, the skeleton line based on the low-density area and the skeleton line of the inner membrane area can accurately reflect the thin curve in the low-density area that is consistent with the connectivity and topological structure of the original shape, as well as the thin curve in the inner membrane area that is consistent with the connectivity and topological structure of the original shape, which is beneficial to perform feature comparison based on the thin curve in the low-density area and the thin curve in the inner membrane area, accurately determine whether there is a break in the inner membrane area, and if there is a break, determine the location of the break.
[0060] In addition, the solution provided in this embodiment determines the rupture position of the endocardial sheet area in the M-layer two-dimensional image based on the skeleton line of the endocardial sheet area and the skeleton line of the low-density area. It is independent of contrast agent, that is, it is independent of the CT value on the two-dimensional image. Even if the contrast agent is unevenly distributed in the true lumen and false lumen of the aorta, the rupture position can be accurately detected.
[0061] In short, the solution provided in this embodiment is based on the skeleton lines of the intimal sheet area and the skeleton lines of the low-density area of the M-layer two-dimensional image, and can quickly and accurately obtain the rupture position of the intimal sheet area on the aortic dissection. Compared with the method of manually segmenting the intimal sheet of aortic dissection and manually marking the rupture position, it improves the detection efficiency of the rupture position and saves diagnosis time.
[0062] In some embodiments of the present application, S102 may include:
[0063] For each layer of the M two-dimensional images, determining a segmentation mask for segmenting the true lumen and the false lumen in the aortic dissection of the two-dimensional image;
[0064] Performing dilation processing on the segmentation mask to obtain a binary true cavity mask and a binary false cavity mask after dilation processing;
[0065] The largest connected domain in the boundary region between the binary true lumen mask and the binary false lumen mask is determined as the endometrial patch region of the two-dimensional image.
[0066] Exemplarily, the three-dimensional CTA image is preprocessed based on a convolutional neural network to obtain segmentation masks for segmenting the true lumen and the false lumen in the aortic dissection of each layer of the two-dimensional image in the three-dimensional CTA image.
[0067] Exemplarily, the expansion process may use a kernel of size (5, 5). Of course, kernels of other sizes may also be used, and the present application does not impose any specific limitation on this.
[0068] For example, the binary true cavity mask after dilation processing can be expressed as a two-dimensional matrix Among them, b mnIndicates whether the pixel at the mth row and nth column in the two-dimensional image is located in the true cavity. If b mn is 1, it means that the pixel is in the true cavity. mn If it is 0, it means that the pixel is not located in the true cavity.
[0069] For example, the binary false cavity mask after dilation processing can be represented as a two-dimensional matrix Among them, c mn Indicates whether the pixel in the mth row and nth column of the two-dimensional image is located in the false cavity. mn If c is 1, it means that the pixel is located in the false cavity. mn If it is 0, it means that the pixel is not located in the false cavity.
[0070] Exemplarily, a two-dimensional matrix used to characterize a binary true cavity mask and a two-dimensional matrix used to characterize a binary false cavity mask are multiplied to obtain a boundary area between the binary true cavity mask and the binary false cavity mask; it should be noted that the boundary area may include at least one connected domain based on the adjacency relationship of pixels.
[0071] For example, the binary mask corresponding to the largest connected domain (i.e., the inner membrane area) in the junction area can be expressed as a two-dimensional matrix Among them, d mn Indicates whether the pixel in the mth row and nth column of the two-dimensional image is located in the inner membrane area. mn If d is 1, it means that the pixel is located in the inner membrane area. mn If it is 0, it means that the pixel is not located in the inner membrane area.
[0072] The following will be combined Figure 2 The effect diagram of the binary true lumen mask, the effect diagram of the binary false lumen mask, and the mask effect diagram of the endocardial sheet area are exemplified.
[0073] like Figure 2 As shown, the left side is the effect of the binary true lumen mask, the middle is the effect of the binary false lumen mask, and the right side is the mask effect of the inner membrane area.
[0074] In some embodiments of the present application, S103 may include:
[0075] Based on the grayscale characteristics of the two-dimensional image, using the maximum inter-class variance method, calculate a first threshold when the inter-class variance between the background and the target in the two-dimensional image is the largest;
[0076] An area in the inner membrane area of the two-dimensional image where the grayscale value of the pixel point is less than the first threshold is determined as the low-density area.
[0077] In one implementation, the first threshold may be calculated based on the grayscale characteristics of the two-dimensional image using the maximum inter-class variance method in the following manner:
[0078] Assume that the two-dimensional image contains L gray levels and the number of pixels with gray value i is N. i , the total number of pixels of the two-dimensional image is: N = N0 + N1 + ... + N L-1 .
[0079] The probability of a pixel with gray value i in the two-dimensional image is:
[0080] According to the expected formula, the mean gray value of the two-dimensional image is:
[0081] According to the grayscale characteristics of the two-dimensional image, assuming that the threshold T divides the image into two categories: target c0 and background c1, then the probability of c0 occurring when the threshold is T is When the threshold value is T, the probability of c1 occurring is ω1(T)=1-ω0(T).
[0082] The mean gray value of part c0 when the threshold is T
[0083] The mean gray value of part c1 when the threshold is T
[0084] Based on this, the inter-class variance when the threshold is T in the histogram representing the gray value of the two-dimensional image
[0085] According to the property that the segmentation with the largest inter-class variance means the smallest probability of misclassification, the optimal threshold is defined as the T value corresponding to the maximum inter-class variance, and the optimal threshold is determined as the first threshold.
[0086] Among them, the maximum between-class variance
[0087] Exemplarily, before determining the region in which the grayscale value of the pixel point in the inner membrane region is less than the first threshold, the grayscale image of the inner membrane region is determined in the following manner:
[0088] First, read the grayscale value of the two-dimensional image. The two-dimensional matrix corresponding to the grayscale value of the two-dimensional image can be expressed as Among them, a mn Represents the grayscale value of the pixel in the mth row and nth column of the two-dimensional image.
[0089] Secondly, determine the binary mask matrix of the inner membrane area of the two-dimensional image The specific determination method is as described above and will not be repeated here.
[0090] Finally, the two-dimensional matrix corresponding to the grayscale value of the two-dimensional image is multiplied by the binary mask matrix of the inner membrane area of the two-dimensional image to obtain a two-dimensional matrix for representing the grayscale image of the inner membrane area. Among them, f mn represents the gray value of the pixel at row m and column n in the inner membrane area. If the pixel is in the inner membrane area, then f mn is the gray value of the pixel in the inner membrane area, otherwise it is 0.
[0091] Exemplarily, after obtaining the grayscale image and the first threshold of the inner membrane area, the first threshold is used to perform threshold segmentation on each pixel x in the inner membrane area to obtain the mask value f(x) of each pixel. The mask value f(x) can be expressed as Wherein, T is the first threshold.
[0092] Based on this, all pixels with a mask value of 1 in the inner membrane area after threshold segmentation are connected to obtain a low-density area in the inner membrane area. Correspondingly, all pixels with a mask value of 2 in the inner membrane area are connected to obtain a high-density area in the inner membrane area.
[0093] It should be noted that the mask value f(x) of each pixel can also be defined as other non-zero values, as long as the mask value of the pixel whose grayscale value is less than the first threshold is different from the mask value of the pixel whose grayscale value is greater than or equal to the first threshold. This application does not impose any specific restrictions on this.
[0094] The following will be combined Figure 3 An original rendering of a two-dimensional image, a binary mask rendering of an inner membrane patch region on a two-dimensional image, and a grayscale image of an inner membrane patch region on a two-dimensional image are exemplarily described.
[0095] like Figure 3 As shown, the left side is the original effect image of the two-dimensional image, the middle is the binary mask effect image of the inner membrane area on the two-dimensional image, and the right side is the grayscale image of the inner membrane area on the two-dimensional image.
[0096] In this embodiment, based on the grayscale characteristics of the two-dimensional image, the maximum inter-class variance automatic threshold segmentation method is used to divide the inner membrane area into low-density areas and high-density areas, so that the division of low-density areas is more accurate, and then based on the skeleton line of the low-density area, the judgment of the rupture position is more accurate.
[0097] It should be noted that the maximum inter-class variance method divides the image into two parts: background and target according to the grayscale characteristics of the image. The larger the inter-class variance between the background and the target, the greater the difference between the two parts of the image. When part of the target is misclassified as the background or part of the background is misclassified as the target, the difference between the two parts will become smaller. Therefore, the segmentation that maximizes the inter-class variance means the minimum probability of misclassification.
[0098] In some embodiments of the present application, before S104, the method may further include:
[0099] Using a binary image thinning algorithm, the target point of the inner membrane area of the two-dimensional image is corroded to obtain the central axis of the inner membrane area;
[0100] Pruning the central axis of the inner membrane area to obtain the first skeleton line;
[0101] Determine the first connected domain with the largest area in the low-density region;
[0102] Using a binary image thinning algorithm, the target point of the first connected domain is corroded to obtain the central axis of the first connected domain;
[0103] The central axis of the first connected domain is pruned to obtain the second skeleton line.
[0104] Exemplarily, a binary image thinning algorithm is used to corrode the pixel points in the binary mask corresponding to the inner membrane area from the outermost layer to the inner layer, and the topological properties and connectivity structure of the original object in the inner membrane area are maintained while continuously peeling off the simplified points, until only a skeleton line of unit width (i.e., the central axis of the object) remains, and then the central axis (the thinned skeleton line) is pruned to eliminate bifurcations and burrs to obtain the first skeleton line.
[0105] Similarly, exemplarily, using a binary image thinning algorithm, the pixel points in the binary mask corresponding to the first connected domain are corroded layer by layer from the outermost layer to the inner layer, and the simplified points are continuously peeled off while maintaining the topological properties and connectivity structure of the original object in the first connected domain, until only a skeleton line of unit width (i.e., the central axis of the object) remains, and then the central axis (the thinned skeleton line) is pruned to eliminate bifurcations and burrs to obtain the second skeleton line.
[0106] It should be noted that the skeleton line of a region refers to the skeleton part of the region, which is one of the important features for describing the geometric and topological properties of an image. Usually, the process of extracting the skeleton line of a region is the process of thinning the region; in short, it means removing points in the object that do not change the topological properties of the object during the thinning process.
[0107] It should be noted that the target point of the inner membrane area is the pixel point with a value of 1 in the binary mask corresponding to the inner membrane area; correspondingly, the background point corresponds to the target point, and the background point of the inner membrane area is the pixel point with a value of 0 in the binary mask corresponding to the inner membrane area; similarly, the target point of the first connected domain is the pixel point with a value of 1 in the binary mask corresponding to the first connected domain.
[0108] In the solution provided in this embodiment, the first connected domain in the inner membrane area and the low-density area is corroded and then pruned, which can make the first skeleton line and the second skeleton line more accurate, thereby making the rupture detection in the inner membrane area more accurate.
[0109] In some embodiments of the present application, S104 may include:
[0110] Based on the skeleton feature of the first skeleton line, determining whether the first skeleton line is a closed curve;
[0111] Based on the skeleton feature of the second skeleton line, determining whether the second skeleton line is a closed curve;
[0112] Based on the judgment result of whether the first skeleton line is a closed curve and the judgment result of whether the second skeleton line is a closed curve, determining whether there is a breach in the inner membrane area of the two-dimensional image;
[0113] When the rupture exists in the endocardial sheet region of the two-dimensional image, the rupture position of the rupture is determined as one of the rupture positions in the endocardial sheet region of the M-layer two-dimensional image.
[0114] It should be noted that the skeleton feature of the first skeleton line is used to confirm the shape of the first skeleton line; and the skeleton feature of the second skeleton line is used to confirm the shape of the second skeleton line.
[0115] In the solution provided in this embodiment, the skeleton features of the skeleton line are introduced to judge the shapes of the first skeleton line and the second skeleton line respectively, and then combined with the shapes of the skeleton lines, it is judged whether there is a break in the inner membrane area of the two-dimensional image. This is equivalent to using the connectivity between the regional skeleton line and the original shape of the regional object, and the fine curve properties that are consistent with the topological structure of the regional skeleton line and the original shape of the regional object to judge whether there is a break in the inner membrane area, thereby improving the accuracy of the break judgment.
[0116] In some embodiments of the present application, whether the first skeleton line and the second skeleton line are closed curves can be determined respectively in the following manners:
[0117] If the difference between the first area and the first arc length is greater than the second threshold, the first skeleton line is a closed curve, the first arc length is the arc length corresponding to the first skeleton line, the first area is the arc area corresponding to the first skeleton line, and the skeleton features of the first skeleton line include the first area and the first arc length;
[0118] If the difference between the second area and the second arc length is greater than the second threshold, the second skeleton line is a closed curve, the second arc length is the arc length corresponding to the second skeleton line, the second area is the arc area corresponding to the second skeleton line, and the skeleton features of the second skeleton line include the second area and the second arc length.
[0119] For example, Figure 4 As shown, the first skeleton line and the second skeleton line are both regarded as an arc on the circle, and the formulas for calculating the arc length of an arc on the circle and the arc area corresponding to the arc are:
[0120] Where ArcLength represents the arc length, θ represents the angle corresponding to the arc on the circle, r represents the radius of the circle, and Area represents the arc area.
[0121] Based on this, according to the above arc length and area formula, the arc length corresponding to the first skeleton line is calculated, expressed as L flap , calculate the arc area corresponding to the first skeleton line, expressed as A flap Similarly, calculate the arc length corresponding to the second skeleton line, expressed as L low , calculate the arc area corresponding to the first skeleton line, expressed as A low .
[0122] Exemplarily, the second threshold may be a preset value. Of course, it may also be other numerical values obtained based on experience, and this application does not impose any specific limitation on this.
[0123] Based on this, whether the skeleton line is a closed curve can be judged by the following formula:
[0124] Wherein, Skelekon=1 indicates that the skeleton line is a closed curve, Skelekon=0 indicates that the skeleton line is a non-closed curve, and T1 indicates the second threshold.
[0125] In the solution provided in this embodiment, based on the thin curve properties of the skeleton line, the skeleton feature arc length and area of the skeleton line are determined, and then the relationship between the arc length and area in the closed curve is used to accurately determine whether the skeleton line is a closed curve.
[0126] In some embodiments of the present application, it can be determined whether there is a breach in the two-dimensional image by:
[0127] If the first skeleton line and the second skeleton line are both closed curves, then there is no break in the two-dimensional image;
[0128] If the first skeleton line is a closed curve and the second skeleton line is a non-closed curve, then there is a break in the two-dimensional image;
[0129] If both the first skeleton line and the second skeleton line are non-closed curves, and the ratio of the second arc length to the first arc length is greater than a third threshold, then there is no break in the two-dimensional image, the second arc length is the arc length corresponding to the second skeleton line, and the first arc length is the arc length corresponding to the first skeleton line;
[0130] If the first skeleton line and the second skeleton line are both non-closed curves, and the ratio of the second arc length to the first arc length is less than or equal to the third threshold, then there is a gap in the two-dimensional image.
[0131] Exemplarily, whether the first skeleton line is a closed curve is represented by S flap , S flap =1 means the first skeleton line is a closed curve, S flap = 0 means that the first skeleton line is a non-closed curve. Whether the second skeleton line is a closed curve is represented by S low , S low =1 means the second skeleton line is a closed curve, S low =0 means that the second skeleton line is a non-closed curve. Based on this, the following formula can be used to determine whether there is a rupture in the inner membrane area of the two-dimensional image:
[0132]
[0133] Tear = 1 indicates that there is a tear in the inner membrane area of the two-dimensional image, and Tear = 0 indicates that there is no tear in the inner membrane area of the two-dimensional image; L low Indicates the arc length corresponding to the second skeleton line, L flap represents the arc length corresponding to the first skeleton line, and T2 represents the third threshold.
[0134] Exemplarily, the third threshold may be a preset value greater than 0 and less than 1, and the preset value may be obtained based on expert experience. The present application does not impose any specific limitation on the method for obtaining the third threshold.
[0135] In the solution provided in this embodiment, whether the first skeleton line and the second skeleton line are closed, as well as the skeleton features of the first skeleton line and the skeleton features of the second skeleton line are comprehensively considered to determine whether there is a rupture in the endocardial sheet area, thereby improving the accuracy of rupture judgment.
[0136] In some embodiments of the present application, S105 may include:
[0137] If there are ruptures in the inner membrane regions of two adjacent two-dimensional images in the M-layer two-dimensional images, the rupture positions of the ruptures in the inner membrane regions of the two adjacent two-dimensional images are merged into the same rupture position;
[0138] Sorting the merged rupture positions in the intimal sheet region of the M-layer two-dimensional image along the direction from the aortic arch to the descending aorta;
[0139] The first N breach positions in the sorting results are determined as the target breach positions, M>N≥1.
[0140] Exemplarily, N=4. Of course, N can also be other values, and this application does not impose any specific limitation on this.
[0141] In the solution provided in this embodiment, from a medical perspective, if there are rupture locations in the intimal sheet areas of adjacent two-dimensional images, it is considered that the rupture locations in the intimal sheet areas of the adjacent two-dimensional images are the same rupture location, so as to ensure that the final target rupture locations are different rupture locations; in addition, from medical experience, it is known that the rupture close to the aortic arch is more important and more valuable for disease diagnosis, so when determining the target rupture location, the merged rupture locations in the intimal sheet area of the M-layer two-dimensional image are sorted along the direction from the aortic arch to the descending aorta, and the first N rupture locations in the sorting result are determined as the target rupture location, thereby improving the accuracy of the target rupture location and thereby improving the accuracy of disease diagnosis.
[0142] Figure 5 It is another schematic flow chart of the breach position detection method 200 provided in an embodiment of the present application.
[0143] S201, acquiring a three-dimensional CT angiography CTA image of an aorta region, wherein the three-dimensional CTA image includes an M-layer two-dimensional image.
[0144] S202, for each layer of the M layers of two-dimensional images, determining an intimal patch region of the two-dimensional image, where the intimal patch region is an intermediate region between a true lumen and a false lumen in the aortic dissection;
[0145] S203, using the maximum inter-class variance method, threshold segmentation is performed on the inner membrane area to obtain a low-density area in which the grayscale value of the pixel points in the inner membrane area is less than a first threshold.
[0146] S204, extracting the first skeleton line of the inner membrane area and the second skeleton line of the low-density area respectively.
[0147] S205 , determining a first area and a first arc length corresponding to the first skeleton line, and a second area and a second arc length corresponding to the second skeleton line.
[0148] S206 , for each layer of the two-dimensional image, determine whether there is a rupture in the endocardial region of each layer of the two-dimensional image based on the first area, the first arc length, the second area, and the second arc length.
[0149] S207, if there are ruptures in the endocardial sheet regions of two adjacent layers of the two-dimensional images in the M layers of the two-dimensional images, the rupture positions of the ruptures in the endocardial sheet regions of the two adjacent layers of the two-dimensional images are merged into a same rupture position.
[0150] S208, sorting the merged rupture positions in the intimal sheet region of the M-layer two-dimensional image along the direction from the aortic arch to the descending aorta.
[0151] S209, determining the first four breach positions in the sorting result as the target breach positions.
[0152] In the solution provided in this embodiment, the rupture position of the intimal sheet area on the M-layer two-dimensional image is determined based on the skeleton features of the intimal sheet area and the skeleton features of the low-density area. This can quickly and accurately obtain the rupture position of the aortic dissection. Compared with the method of manually segmenting the intimal sheet of aortic dissection and manually marking the rupture position, the detection efficiency of the rupture position is improved and the diagnosis time is saved.
[0153] The preferred embodiments of the present application are described in detail above in conjunction with the accompanying drawings. However, the present application is not limited to the specific details in the above embodiments. Within the technical concept of the present application, the technical solution of the present application can be subjected to a variety of simple modifications, and these simple modifications all belong to the protection scope of the present application. For example, the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present application will not further describe various possible combinations. For another example, the various different embodiments of the present application can also be combined arbitrarily, as long as they do not violate the idea of the present application, they should also be regarded as the contents disclosed in the present application. It should also be understood that in the various method embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0154] The breach position detection method provided in the embodiment of the present application is described above, and the breach position detection device provided in the embodiment of the present application is described below.
[0155] Figure 6 This is an example of a block diagram 300 of a breach position detection device provided in an embodiment of the present application.
[0156] like Figure 6 As shown, the device 300 may include some or all of the following:
[0157] An acquisition unit 310 is used to acquire a three-dimensional CT angiography CTA image of the aorta region, where the three-dimensional CTA image includes an M-layer two-dimensional image;
[0158] A first determining unit 320 is used to determine an intimal patch region of each layer of the M layers of two-dimensional images, where the intimal patch region is an intermediate region between a true lumen and a false lumen in aortic dissection;
[0159] The second determining unit 330 is used to determine a low-density area in which the grayscale value of the pixel point in the inner membrane area is less than a first threshold;
[0160] A third determining unit 340 is used to determine, for each layer of the two-dimensional image, a rupture position of the inner membrane sheet area of the M-layer two-dimensional image based on the first skeleton line of the inner membrane sheet area and the second skeleton line of the low-density area;
[0161] The fourth determining unit 350 is configured to determine a target rupture position based on the rupture position of the intimal sheet region of the M-layer two-dimensional image.
[0162] In some embodiments of the present application, the second determining unit 330 is specifically configured to:
[0163] Based on the grayscale characteristics of the two-dimensional image, using the maximum inter-class variance method, calculate a first threshold when the inter-class variance between the background and the target in the two-dimensional image is the largest;
[0164] An area in the inner membrane area of the two-dimensional image where the grayscale value of the pixel point is less than the first threshold is determined as the low-density area.
[0165] In some embodiments of the present application, the second determining unit 330 is further configured to:
[0166] Using a binary image thinning algorithm, the target point of the inner membrane area of the two-dimensional image is corroded to obtain the central axis of the inner membrane area;
[0167] Pruning the central axis of the inner membrane area to obtain the first skeleton line;
[0168] Determine the first connected domain with the largest area in the low-density region;
[0169] Using a binary image thinning algorithm, the target point of the first connected domain is corroded to obtain the central axis of the first connected domain;
[0170] The central axis of the first connected domain is pruned to obtain the second skeleton line.
[0171] In some embodiments of the present application, the third determining unit 340 is specifically configured to:
[0172] Based on the skeleton feature of the first skeleton line, determining whether the first skeleton line is a closed curve;
[0173] Based on the skeleton feature of the second skeleton line, determining whether the second skeleton line is a closed curve;
[0174] Based on the judgment result of whether the first skeleton line is a closed curve and the judgment result of whether the second skeleton line is a closed curve, determining whether there is a breach in the inner membrane area of the two-dimensional image;
[0175] When the rupture exists in the endocardial sheet region of the two-dimensional image, the rupture position of the rupture is determined as one of the rupture positions in the endocardial sheet region of the M-layer two-dimensional image.
[0176] In some embodiments of the present application, the third determining unit 340 is further configured to:
[0177] If the difference between the first area and the first arc length is greater than the second threshold, the first skeleton line is a closed curve, the first arc length is the arc length corresponding to the first skeleton line, the first area is the arc area corresponding to the first skeleton line, and the skeleton features of the first skeleton line include the first area and the first arc length;
[0178] The step of judging whether the second skeleton line is a closed curve based on the skeleton feature of the second skeleton line includes:
[0179] If the difference between the second area and the second arc length is greater than the second threshold, the second skeleton line is a closed curve, the second arc length is the arc length corresponding to the second skeleton line, the second area is the arc area corresponding to the second skeleton line, and the skeleton features of the second skeleton line include the second area and the second arc length.
[0180] In some embodiments of the present application, the third determining unit 340 is further configured to:
[0181] If the first skeleton line and the second skeleton line are both closed curves, then there is no break in the two-dimensional image;
[0182] If the first skeleton line is a closed curve and the second skeleton line is a non-closed curve, then there is a break in the two-dimensional image;
[0183] If both the first skeleton line and the second skeleton line are non-closed curves, and the ratio of the second arc length to the first arc length is greater than a third threshold, then there is no break in the two-dimensional image, the second arc length is the arc length corresponding to the second skeleton line, and the first arc length is the arc length corresponding to the first skeleton line;
[0184] If the first skeleton line and the second skeleton line are both non-closed curves, and the ratio of the second arc length to the first arc length is less than or equal to the third threshold, then there is a gap in the two-dimensional image.
[0185] In some embodiments of the present application, the fourth determining unit 350 is further configured to:
[0186] If there are ruptures in the inner membrane regions of two adjacent two-dimensional images in the M-layer two-dimensional images, the rupture positions of the ruptures in the inner membrane regions of the two adjacent two-dimensional images are merged into the same rupture position;
[0187] Sorting the merged rupture positions in the intimal sheet region of the M-layer two-dimensional image along the direction from the aortic arch to the descending aorta;
[0188] The first N breach positions in the sorting results are determined as the target breach positions, M>N≥1.
[0189] In some embodiments of the present application, the first determining unit 320 is specifically configured to:
[0190] For each layer of the M two-dimensional images, determining a segmentation mask for segmenting the true lumen and the false lumen in the aortic dissection of the two-dimensional image;
[0191] Performing dilation processing on the segmentation mask to obtain a binary true cavity mask and a binary false cavity mask after dilation processing;
[0192] The largest connected domain in the boundary region between the binary true lumen mask and the binary false lumen mask is determined as the endometrial patch region of the two-dimensional image.
[0193] It should be understood that the breach position detection device embodiment and the method embodiment can correspond to each other, and similar descriptions can refer to the method embodiment. To avoid repetition, no further description is given here. Specifically, the breach position detection device 300 can correspond to the corresponding subjects in the method 100 and the method 200 of the embodiment of the present application, and the various units in the breach position detection device 300 are respectively for implementing the corresponding processes in the method 100 and the method 200, and for the sake of brevity, no further description is given here.
[0194] It should also be understood that the various units in the breach position detection device 300 involved in the embodiment of the present application can be separately or all combined into one or several other units to constitute, or some (some) of the units can also be split into multiple smaller units in function to constitute, which can achieve the same operation without affecting the realization of the technical effect of the embodiment of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be realized by multiple units, or the function of multiple units is realized by one unit. In other embodiments of the present application, the breach position detection device 300 may also include other units. In practical applications, these functions can also be implemented by other units, and can be implemented by multiple units in collaboration. According to another embodiment of the present application, the breach position detection device 300 involved in the embodiment of the present application can be constructed by running a computer program (including program code) capable of executing each step involved in the corresponding method on a general computing device including a general-purpose computer such as a central processing unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM) and other processing elements and storage elements. Among them, the computer program can be recorded on, for example, a computer-readable storage medium, and loaded into an electronic device through the computer-readable storage medium and run therein to implement the corresponding method of the embodiment of the present application.
[0195] In other words, the units mentioned above can be implemented in hardware form, can be implemented in software form, or can be implemented in the form of a combination of software and hardware. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form of the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software combination in the decoding processor can be executed. Optionally, the software can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in combination with its hardware.
[0196] Figure 7 It is a schematic structural diagram of an electronic device 400 provided in an embodiment of the present application.
[0197] like Figure 7As shown, the electronic device 400 at least includes a processor 410 and a computer-readable storage medium 420. The processor 410 and the computer-readable storage medium 420 may be connected via a bus or other means. The computer-readable storage medium 420 is used to store a computer program 421, which includes computer instructions, and the processor 410 is used to execute the computer instructions stored in the computer-readable storage medium 420. The processor 410 is the computing core and control core of the electronic device 400, which is suitable for implementing one or more computer instructions, and is specifically suitable for loading and executing one or more computer instructions to implement the corresponding method flow or corresponding function.
[0198] As an example, the processor 410 may also be referred to as a central processing unit (CPU). The processor 410 may include, but is not limited to, a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
[0199] As an example, the computer-readable storage medium 420 may be a high-speed RAM memory, or a non-volatile memory (Non-Volatile Memory), such as at least one disk memory; optionally, it may also be at least one computer-readable storage medium located away from the aforementioned processor 410. Specifically, the computer-readable storage medium 420 includes, but is not limited to: a volatile memory and / or a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DR RAM).
[0200] In one implementation, the electronic device 400 may be Figure 6 The breach position detection device 300 shown; the computer readable storage medium 420 stores computer instructions; the computer instructions stored in the computer readable storage medium 420 are loaded and executed by the processor 410 to implement the corresponding steps in the method embodiment; in the specific implementation, the computer instructions in the computer readable storage medium 420 are loaded by the processor 410 and the corresponding steps are executed. To avoid repetition, they are not repeated here.
[0201] According to another aspect of the present application, an embodiment of the present application further provides a computer-readable storage medium (Memory), which is a memory device in the electronic device 400 for storing programs and data. For example, a computer-readable storage medium 420. It is understandable that the computer-readable storage medium 420 here may include both the built-in storage medium in the electronic device 400 and the extended storage medium supported by the electronic device 400. The computer-readable storage medium provides a storage space, which stores the operating system of the electronic device 400. In addition, one or more computer instructions suitable for being loaded and executed by the processor 410 are also stored in the storage space, and these computer instructions may be one or more computer programs 421 (including program codes).
[0202] The electronic device 400 may further include a transceiver 430 , which may be connected to the processor 410 or the computer-readable storage medium 420 .
[0203] The computer-readable storage medium 420 may control the transceiver 430 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 430 may include a transmitter and a receiver. The transceiver 430 may further include an antenna, and the number of antennas may be one or more.
[0204] According to another aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. For example, computer program 421. At this time, the electronic device 400 can be a computer, the processor 410 reads the computer instructions from the computer-readable storage medium 420, and the processor 410 executes the computer instructions, so that the computer executes the breach position detection method provided in the above various optional ways.
[0205] In other words, when implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process of the embodiment of the present application is run in whole or in part or the function of the embodiment of the present application is implemented. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center.
[0206] Those of ordinary skill in the art will appreciate that the units and process steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0207] Finally, it should be noted that the above embodiments are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for detecting a breach position, characterized in that: include: Acquiring a three-dimensional CT angiography (CTA) image of an aorta region, wherein the three-dimensional CT angiography (CTA) image includes an M-layer two-dimensional image; For each layer of the two-dimensional images in the M layers of two-dimensional images, determining an intimal patch area of the two-dimensional image, wherein the intimal patch area is an area between a true lumen and a false lumen in aortic dissection; Determine a low-density area in which the grayscale value of the pixel point in the inner membrane area is less than a first threshold; For each layer of the two-dimensional image, based on the first skeleton line of the inner membrane sheet area and the second skeleton line of the low-density area, determine the rupture position of the inner membrane sheet area of the M-layer two-dimensional image; Determining a target rupture position based on the rupture position of the inner membrane sheet area of the M-layer two-dimensional image; Before determining the rupture position of the endothelial sheet region of the M-layer two-dimensional image based on the first skeleton line of the endothelial sheet region and the second skeleton line of the low-density region for each layer of the two-dimensional image, the method further comprises: Using a binary image thinning algorithm, the target point of the inner membrane area of the two-dimensional image is corroded to obtain the central axis of the inner membrane area; Pruning the central axis of the inner membrane area to obtain the first skeleton line; Determine a first connected domain with the largest area in the low-density region; Using a binary image thinning algorithm, the target point of the first connected domain is corroded to obtain a central axis of the first connected domain; Pruning the central axis of the first connected domain to obtain the second skeleton line; The step of determining the target rupture position based on the rupture position of the inner membrane area of the M-layer two-dimensional image includes: If there are ruptures in the inner membrane sheet regions of two adjacent layers of two-dimensional images in the M layers of two-dimensional images, the rupture positions of the ruptures in the inner membrane sheet regions of the two adjacent layers of two-dimensional images are merged into the same rupture position; sorting the merged rupture positions in the intimal sheet region of the M-layer two-dimensional image along the direction from the aortic arch to the descending aorta; The first N breach positions in the sorting result are determined as the target breach positions, M>N≥1.
2. The method according to claim 1, characterized in that The step of determining a low-density area in which the grayscale value of pixels in the inner membrane area of the two-dimensional image is less than a first threshold comprises: Based on the grayscale characteristics of the two-dimensional image, using the maximum inter-class variance method, calculating a first threshold when the inter-class variance between the background and the target in the two-dimensional image is the maximum; An area in the inner membrane area of the two-dimensional image where the grayscale value of the pixel point is less than the first threshold is determined as the low-density area.
3. The method according to claim 1, characterized in that The step of determining the rupture position of the inner membrane region of the M-layer two-dimensional image based on the first skeleton line of the inner membrane region and the second skeleton line of the low-density region for each layer of the two-dimensional image comprises: Based on the skeleton feature of the first skeleton line, determining whether the first skeleton line is a closed curve; Based on the skeleton feature of the second skeleton line, determining whether the second skeleton line is a closed curve; Based on the judgment result of whether the first skeleton line is a closed curve and the judgment result of whether the second skeleton line is a closed curve, determining whether there is a breach in the endocardial sheet area of the two-dimensional image; When the rupture exists in the endocardial sheet region of the two-dimensional image, the rupture position of the rupture is determined as one of the rupture positions in the endocardial sheet region of the M-layer two-dimensional image.
4. The method according to claim 3, characterized in that The determining, based on the skeleton feature of the first skeleton line, whether the first skeleton line is a closed curve includes: If the difference between the first area and the first arc length is greater than a second threshold, the first skeleton line is a closed curve, the first arc length is the arc length corresponding to the first skeleton line, the first area is the arc area corresponding to the first skeleton line, and the skeleton features of the first skeleton line include the first area and the first arc length; The determining whether the second skeleton line is a closed curve based on the skeleton feature of the second skeleton line includes: If the difference between the second area and the second arc length is greater than the second threshold, the second skeleton line is a closed curve, the second arc length is the arc length corresponding to the second skeleton line, the second area is the arc area corresponding to the second skeleton line, and the skeleton features of the second skeleton line include the second area and the second arc length.
5. The method according to claim 3, characterized in that: The determining whether there is a breach in the endocardial sheet region of the two-dimensional image based on the judgment result of whether the first skeleton line is a closed curve and the judgment result of whether the second skeleton line is a closed curve comprises: If the first skeleton line and the second skeleton line are both closed curves, then there is no break in the two-dimensional image; If the first skeleton line is a closed curve and the second skeleton line is a non-closed curve, then there is a gap in the two-dimensional image; If both the first skeleton line and the second skeleton line are non-closed curves, and the ratio of the second arc length to the first arc length is greater than a third threshold, then there is no break in the two-dimensional image, the second arc length is the arc length corresponding to the second skeleton line, and the first arc length is the arc length corresponding to the first skeleton line; If both the first skeleton line and the second skeleton line are non-closed curves, and the ratio of the second arc length to the first arc length is less than or equal to the third threshold, then there is a gap in the two-dimensional image.
6. The method according to any one of claims 1 to 5, characterized in that The step of determining the endocardial sheet region of each layer of the M layers of two-dimensional images includes: For each layer of the M layers of two-dimensional images, determining a segmentation mask for segmenting the true lumen and the false lumen in the aortic dissection of the two-dimensional image; Performing expansion processing on the segmentation mask to obtain a binary true cavity mask and a binary false cavity mask after the expansion processing; The largest connected domain in the boundary region between the binary true lumen mask and the binary false lumen mask is determined as the endometrial patch region of the two-dimensional image.
7. A breach position detection device, suitable for using the method according to any one of claims 1 to 6, characterized in that: include: An acquisition unit, configured to acquire a three-dimensional CT angiography CTA image of an aorta region, wherein the three-dimensional CT angiography CTA image includes an M-layer two-dimensional image; A first determining unit is used to determine an intimal patch region of each layer of the M layers of two-dimensional images, wherein the intimal patch region is an intermediate region between a true lumen and a false lumen in aortic dissection; A second determining unit is used to determine a low-density area in which the grayscale value of the pixel point in the inner membrane area is less than a first threshold; A third determining unit is used to determine, for each layer of the two-dimensional image, a rupture position of the inner membrane sheet area of the M-layer two-dimensional image based on the first skeleton line of the inner membrane sheet area and the second skeleton line of the low-density area; The fourth determining unit is used to determine the target rupture position based on the rupture position of the endocardial sheet area of the M-layer two-dimensional image.
8. An electronic device, characterized in that: include: a processor adapted to execute a computer program; A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Thoracic aortic dissecting aneurysm first rupture position locating method
CN108776961A
Method for detecting crevasse position of aorta interlayer
CN109009000A
