CN109272485B - Method and device for repairing three-dimensional model of blood vessel and electronic equipment - Google Patents

Method and device for repairing three-dimensional model of blood vessel and electronic equipment Download PDF

Info

Publication number
CN109272485B
CN109272485B CN201810893094.8A CN201810893094A CN109272485B CN 109272485 B CN109272485 B CN 109272485B CN 201810893094 A CN201810893094 A CN 201810893094A CN 109272485 B CN109272485 B CN 109272485B
Authority
CN
China
Prior art keywords
point
blood vessel
gray
pixel point
images
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810893094.8A
Other languages
Chinese (zh)
Other versions
CN109272485A (en
Inventor
***
吴乙荣
韩月乔
庞晓磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Medical Equipment Co Ltd
Original Assignee
Qingdao Hisense Medical Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Medical Equipment Co Ltd filed Critical Qingdao Hisense Medical Equipment Co Ltd
Priority to CN201810893094.8A priority Critical patent/CN109272485B/en
Publication of CN109272485A publication Critical patent/CN109272485A/en
Application granted granted Critical
Publication of CN109272485B publication Critical patent/CN109272485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10072Tomographic images
    • G06T2207/10081Computed x-ray tomography [CT]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30101Blood vessel; Artery; Vein; Vascular

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Apparatus For Radiation Diagnosis (AREA)

Abstract

The embodiment of the invention discloses a method, a device and electronic equipment for repairing a three-dimensional model of a blood vessel, wherein the method comprises the following steps: acquiring position information of a starting point and an end point of a blood vessel disconnected region in a three-dimensional blood vessel model and M CT images corresponding to the blood vessel disconnected region; obtaining a gray contrast enhancement coefficient of each pixel point in M CT images based on the historical gray information of the blood vessel of the three-dimensional blood vessel model; determining potential energy of each pixel point in the M CT images according to the gray contrast enhancement coefficient of each pixel point in the M CT images; and determining the shortest path between the starting point and the end point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point, and repairing the blood vessel three-dimensional model of the blood vessel disconnected region according to the shortest path. And then, the blood vessel three-dimensional model of the blood vessel disconnected region is automatically repaired without manual participation, so that the repairing efficiency is improved, and the repairing precision is high.

Description

Method and device for repairing three-dimensional model of blood vessel and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of image processing, in particular to a method and a device for repairing a three-dimensional model of a blood vessel and electronic equipment.
Background
The blood vessels of the human body are complicated and numerous in fine branch and minor node. The original CT image often has many noises due to imaging devices, manual operations, etc., and the gray scale of the blood vessels on the image is not uniform, so that there are often disconnected parts during the blood vessel extraction, and at this time, the blood vessels in the disconnected region need to be repaired.
In the prior art, a blood vessel in an area of disconnection is repaired manually, specifically, a disconnection position on a three-dimensional model is mapped to a two-dimensional image to obtain a plurality of two-dimensional images. And then, manually drawing and repairing the blood vessel of the disconnected region on each two-dimensional image, and finally, superposing the repaired two-dimensional images to obtain a modified three-dimensional model of the blood vessel.
As can be seen from the above, the prior art has the disadvantages of heavy repair task, high manpower resource consumption and long repair time.
Disclosure of Invention
The embodiment of the invention provides a method and a device for repairing a three-dimensional model of a blood vessel and electronic equipment.
In a first aspect, an embodiment of the present invention provides a method for repairing a three-dimensional model of a blood vessel, including:
acquiring position information of a starting point and an end point of a blood vessel disconnected region in a three-dimensional blood vessel model and M CT images corresponding to the blood vessel disconnected region;
based on the historical gray information of the blood vessel of the three-dimensional blood vessel model, correcting the gray value of each pixel point in the M CT images to obtain the gray contrast enhancement coefficient of each pixel point in the M CT images;
determining potential energy of each pixel point in the M CT images according to the gray contrast enhancement coefficient of each pixel point in the M CT images;
and determining a shortest path between the starting point and the end point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point, and repairing the blood vessel three-dimensional model of the blood vessel disconnected region according to the shortest path.
In a possible implementation manner of the first aspect, the modifying the gray scale value of each pixel point in the M CT images based on the historical gray scale information of the blood vessel of the three-dimensional blood vessel model to obtain the gray scale contrast enhancement coefficient of each pixel point in the M CT images includes:
acquiring a gray level histogram of historical gray level information of the blood vessel of the three-dimensional blood vessel model, and shifting a gray level average value of the gray level histogram to the left by a preset pixel value to obtain a target gray level average value;
and correcting the first pixel points with the gray values lower than the target gray average value in the M CT images to obtain the gray contrast enhancement coefficient of each first pixel point in the M CT images.
In another possible implementation manner of the first aspect, the modifying first pixel points in the M CT images, whose gray values are lower than the target gray average value, to obtain a gray contrast enhancement coefficient of each first pixel point in the M CT images includes:
and taking the square of the ratio of the gray value of the first pixel point to the average value of the target gray values as a gray contrast enhancement coefficient of the first pixel point.
In another possible implementation manner of the first aspect, the determining potential energy of each pixel point in the M CT images according to the gray scale contrast enhancement coefficient of each pixel point in the M CT images includes:
aiming at each pixel point in M CT images, determining an included angle between a connecting line of the pixel point and the starting point and a connecting line of the starting point and the end point according to the position information of the starting point and the end point;
and determining the potential energy of the pixel point according to the included angle, the gray contrast enhancement coefficient of the pixel point, the gray value of the pixel point and the target gray average value.
In another possible implementation manner of the first aspect, the determining, according to the position information of the start point and the end point, an included angle between a connection line between the pixel point and the start point and a connection line between the start point and the end point includes:
according to the formula
Figure BDA0001757457290000021
Determining the pixel point x and the starting point xstartAnd an angle theta between the connecting line of (a) and the connecting line of the starting point and the end point;
wherein, the
Figure BDA0001757457290000022
Said xendIs the end point.
In another possible implementation manner of the first aspect, the determining the potential energy of the pixel point according to the included angle, the gray scale contrast enhancement coefficient of the pixel point, the gray scale value of the pixel point, and the target gray scale average value includes:
according to the formula
Figure BDA0001757457290000031
Determining potential energy P (x) of the pixel point x;
wherein g (p (x)) is a gray contrast enhancement coefficient of a pixel point x, p (x) is a gray value of the pixel point x, mean _ grey is the target gray average value, and λ and β are both positive constants.
In another possible implementation manner of the first aspect, the determining the shortest path between the starting point and the ending point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the ending point includes:
determining a minimum activity graph between the starting point and the end point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point;
and processing the minimum activity graph based on the steepest descent direction, and determining the shortest path between the starting point and the end point.
In another possible implementation manner of the first aspect, the repairing the three-dimensional model of the blood vessel disconnected region according to the shortest path includes:
obtaining the blood vessel radius corresponding to each pixel point on the shortest path, and obtaining the blood vessel section surrounded by the blood vessel radius corresponding to each pixel point;
and connecting the sections of the blood vessels to obtain a three-dimensional model of the blood vessel in the disconnected region of the blood vessel.
In a second aspect, the present embodiment provides a repairing apparatus for a three-dimensional model of a blood vessel, including:
the acquisition module is used for acquiring the position information of a starting point and an end point of a blood vessel disconnected region in a three-dimensional blood vessel model and M CT images corresponding to the blood vessel disconnected region;
an enhancement coefficient obtaining module, configured to modify a gray scale value of each pixel in the M CT images based on historical gray scale information of the blood vessel of the three-dimensional blood vessel model, so as to obtain a gray scale contrast enhancement coefficient of each pixel in the M CT images;
the potential energy determining module is used for determining the potential energy of each pixel point in the M CT images according to the gray contrast enhancement coefficient of each pixel point in the M CT images;
the shortest path determining module is used for determining the shortest path between the starting point and the end point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point;
and the repairing module is used for repairing the blood vessel three-dimensional model of the blood vessel disconnected region according to the shortest path.
In a possible implementation manner of the second aspect, the enhancement coefficient obtaining module includes:
the average gray level obtaining unit is used for obtaining a gray level histogram of the historical gray level information of the blood vessel of the three-dimensional blood vessel model, and shifting the gray level average value of the gray level histogram to the left by a preset pixel value to obtain a target gray level average value;
and the enhancement coefficient acquisition unit is used for correcting the first pixel points with the gray values lower than the target gray average value in the M CT images to acquire the gray contrast enhancement coefficient of each first pixel point in the M CT images.
In another possible implementation manner of the second aspect, the enhancement coefficient obtaining unit is specifically configured to use a square of a ratio of the gray value of the first pixel to the target gray average value as the gray contrast enhancement coefficient of the first pixel.
In another possible implementation manner of the second aspect, the potential energy determination module includes:
an included angle obtaining unit, configured to determine, for each pixel point in the M CT images, an included angle between a connection line between the pixel point and the start point and a connection line between the start point and the end point according to the position information of the start point and the end point;
and the potential energy determining unit is used for determining the potential energy of the pixel point according to the included angle, the gray contrast enhancement coefficient of the pixel point, the gray value of the pixel point and the target gray average value.
In another possible implementation manner of the second aspect, the included angle obtaining unit is specifically configured to,
according to the formula
Figure BDA0001757457290000041
Determining the pixel point x and the starting point xstartAnd an angle theta between the connecting line of (a) and the connecting line of the starting point and the end point;
wherein, the
Figure BDA0001757457290000042
Said xendIs the end point.
In another possible implementation manner of the second aspect, the potential energy determination unit is specifically configured to,
according to the formula
Figure BDA0001757457290000043
Determining potential energy P (x) of the pixel point x;
wherein g (p (x)) is a gray contrast enhancement coefficient of a pixel point x, p (x) is a gray value of the pixel point x, mean _ grey is the target gray average value, and λ and β are both positive constants.
In another possible implementation manner of the second aspect, the shortest path determining module includes:
the minimum activity graph determining unit is used for determining a minimum activity graph between the starting point and the end point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point;
and the shortest path determining unit is used for processing the minimum activity graph based on the steepest descent direction and determining the shortest path between the starting point and the end point.
In another possible implementation manner of the second aspect, the shortest path determining unit is specifically configured to obtain a blood vessel radius corresponding to each pixel point on the shortest path, and a blood vessel section surrounded by the blood vessel radius corresponding to each pixel point; and connecting the sections of the blood vessels to obtain a three-dimensional model of the blood vessel in the disconnected region of the blood vessel.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
a memory for storing a computer program;
a processor for executing the computer program to implement the method for repairing a three-dimensional model of a blood vessel according to any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium, in which a computer program is stored, and the computer program, when executed, implements the method for repairing a three-dimensional model of a blood vessel according to any one of the first aspect.
According to the method, the device and the electronic equipment for repairing the three-dimensional model of the blood vessel, provided by the embodiment of the invention, the position information of the starting point and the end point of the disconnected region of the blood vessel in the three-dimensional blood vessel model and M CT images corresponding to the disconnected region of the blood vessel are obtained; based on the historical gray information of the blood vessel of the three-dimensional blood vessel model, correcting the gray value of each pixel point in the M CT images to obtain the gray contrast enhancement coefficient of each pixel point in the M CT images; determining potential energy of each pixel point in the M CT images according to the gray contrast enhancement coefficient of each pixel point in the M CT images; and determining a shortest path between the starting point and the end point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point, and repairing the blood vessel three-dimensional model of the blood vessel disconnected region according to the shortest path. According to the method, the three-dimensional model of the blood vessel in the blood vessel disconnection area is automatically repaired without manual participation, so that manpower is liberated, and the repairing efficiency is improved. Meanwhile, the gray contrast enhancement coefficient of each pixel point in the M CT images corresponding to the blood vessel disconnected region is determined, and the potential energy of each pixel point is corrected by using the gray contrast enhancement coefficient, so that the shortest path between the starting point and the end point obtained based on the corrected potential energy is more accurate, and the accurate repair of the blood vessel three-dimensional model can be realized based on the accurate shortest path.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for repairing a three-dimensional model of a blood vessel according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a blood vessel disconnected region in a three-dimensional model of a blood vessel according to an embodiment;
FIG. 3 is a schematic diagram of a start point and an end point of a blood vessel disconnected region in the three-dimensional model of a blood vessel according to the embodiment;
FIG. 4 is a schematic diagram of a repaired three-dimensional model of a blood vessel according to an embodiment;
FIG. 5 is a flowchart of a method for repairing a three-dimensional model of a blood vessel according to a second embodiment of the present invention;
fig. 6 is a flowchart of a method for repairing a three-dimensional model of a blood vessel according to a third embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a repairing apparatus for a three-dimensional model of a blood vessel according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a repairing apparatus for a three-dimensional model of a blood vessel according to a second embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a repairing apparatus for a three-dimensional model of a blood vessel according to a third embodiment of the present invention;
FIG. 10 is a schematic structural diagram of a repairing apparatus for a three-dimensional model of a blood vessel according to a fourth embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Vascular diseases are becoming one of the most important diseases worldwide because of their high mortality, high disability rate and high medical risk, and becoming the first killer to endanger human health. For example, biliary tract diseases such as bile duct stones and biliary tract stenosis are common diseases in biliary tract surgery, and due to intrahepatic bile duct stones, cholangitis and biliary tract obstruction, the biliary tract structure may be distorted, deformed, expanded and narrowed, which may also cause changes in other hepatic duct systems. The clear structures of blood vessels and bile ducts in medical images have very important significance for the auxiliary diagnosis, treatment and surgical planning of diseases.
The blood vessels of the human body are arteries and veins, which are densely and hemp-interwoven into a net, and the blood vessels of an adult are more than 1000 hundred million in size and small in size. When the vein-phase or artery-phase blood vessels are automatically generated by using the region segmentation, the vein-phase or artery-phase blood vessels often have disconnected places when the blood vessels are thin or the characteristics of the image blood vessels are not obvious due to Digital Imaging and Communications in Medicine (DICOM). At this time, the prior art uses a manual drawing mode to manually correct the blood vessel. However, the manual repair of blood vessels is cumbersome, consumes human resources, and takes a long time to repair.
In order to solve the above technical problem, in the embodiment of the present application, a gray contrast enhancement coefficient of a pixel point in M CT images corresponding to a blood vessel disconnected region is obtained, potential energy of each pixel point in the M CT images is improved by using the gray contrast enhancement coefficient, a shortest path between a start point and an end point of the blood vessel disconnected region is determined based on the improved potential energy, and a blood vessel three-dimensional model can be repaired according to the shortest path. The whole repairing process is automatically carried out, does not need the participation of manpower, liberates the manpower, and has simple repairing process, high repairing speed and high repairing precision.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a flowchart of a method for repairing a three-dimensional model of a blood vessel according to an embodiment of the present invention. As shown in fig. 1, the method of this embodiment may include:
s101, obtaining position information of a starting point and an end point of a blood vessel disconnected region in a three-dimensional blood vessel model, and M CT images corresponding to the blood vessel disconnected region.
The execution subject of the embodiment is an electronic device having a function of repairing a three-dimensional model of a blood vessel, and specifically is a processor in the electronic device.
Currently, some examples of electronic devices are: a mobile phone (mobile phone), a tablet computer, a notebook computer, a palm top computer, a Mobile Internet Device (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote surgery (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (smart security), a wireless terminal in city (smart city), a wireless terminal in home (smart home), and the like.
The embodiment does not limit the specific process of obtaining the three-dimensional blood vessel model, for example, the electronic device may obtain the three-dimensional blood vessel model from a database. Optionally, the electronic device of this embodiment has a scanning module, and can perform scanning (for example, scanning a patient) to obtain a three-dimensional blood vessel model.
The three-dimensional blood vessel model obtained in this example has a blood vessel disconnected region (region in a circle in fig. 2).
At this time, the present embodiment needs to acquire coordinates of the start point and the end point of the blood vessel disconnected region in fig. 2, that is, coordinates of the start point a and the end point b as shown in fig. 3.
As shown in fig. 2, due to a scanning device, etc., when a blood vessel is extracted from a CT image, incomplete blood vessel extraction occurs, and a blood vessel disconnected region (a region in a dotted circle in fig. 2) occurs.
Before automatic repair of a three-dimensional model of a blood vessel is carried out, two three-dimensional points (namely a starting point and an end point) at the connection part of a blood vessel break are obtained, and coordinates of the two points on a two-dimensional screen are obtained.
The process of acquiring the starting point a and the end point b comprises the following steps:
and clicking the disconnected position of the three-dimensional model of the blood vessel by the mouse to obtain the two-dimensional screen coordinate of the mouse click position. And then loading a three-dimensional model of the blood vessel to be repaired, and acquiring the three-dimensional coordinates of all the vertexes. And transforming the vertex into a model view matrix coordinate system through the model view matrix, transforming the vertex in the model view matrix into a projection matrix, and calculating the 2D screen coordinate of the current 3D vertex through the position and the size of the viewport. And circularly traversing the screen coordinates of the vertex and the screen coordinates acquired by the mouse, taking the point columns which are equal within a certain threshold value as interest points, selecting the point with the minimum depth value, returning the corresponding three-dimensional vertex coordinates, namely the points acquired by the mouse, and storing the three-dimensional vertex coordinates. Through the above steps, the coordinates of the start point a and the end point b can be obtained.
Optionally, the coordinates of the starting point a and the ending point b may also be determined according to other existing methods, which is not limited in this embodiment.
After the starting point and the end point of the blood vessel disconnected region are obtained according to the method, M CT images corresponding to the blood vessel disconnected region are obtained, wherein M is a positive integer.
For example, the blood vessel disconnection region is divided into M along the vertical direction of the blood vessel disconnection region, a CT image of the cross section of each blood vessel disconnection region is obtained, and M CT images are obtained.
The size of the M in this embodiment is not limited, and is determined specifically according to actual needs.
S102, based on the historical gray level information of the blood vessel of the three-dimensional blood vessel model, correcting the gray level value of each pixel point in the M CT images to obtain the gray level contrast enhancement coefficient of each pixel point in the M CT images.
The blood vessel historical grayscale information of the three-dimensional blood vessel model in this embodiment may be grayscale information of N historical CT images of the three-dimensional blood vessel model, where the grayscale information of the N historical CT images may be directly read from other devices, or the grayscale information of each CT image may be obtained by processing the N historical CT images.
In the above-described manner, the three-dimensional blood vessel model corresponding to the blood vessel history gray scale information does not have the blood vessel disconnected region in S101, so that the gray scale information of the blood vessel disconnected region in S101 can be obtained from the gray scale information of the N history CT images of the three-dimensional blood vessel model.
And in the step S101, the gray scale information of the three-dimensional blood vessel model changes due to the presence of the blood vessel disconnected region, and at this time, the gray scale value of each pixel point in the M CT images can be corrected by using the blood vessel historical gray scale information of the three-dimensional blood vessel model, so as to obtain the gray scale contrast enhancement coefficient of each pixel point in the M CT images.
In one example, a target gray average value of historical gray information of a blood vessel of a three-dimensional blood vessel model is obtained, and the gray value of each pixel point in M CT images is corrected by using the target gray average value, so that a gray contrast enhancement coefficient of each pixel point in the M CT images is obtained.
In another example, a pixel point 2 corresponding to each pixel point 1 in M CT images in the blood vessel historical gray information of the three-dimensional blood vessel model is obtained, and the gray value of the pixel point 1 in the M CT images is corrected by using the gray value of the pixel point 2 in the blood vessel historical gray information, so as to obtain the gray contrast enhancement coefficient of each pixel point 1 in the M CT images.
In this embodiment, the specific process of obtaining the gray contrast enhancement coefficient of each pixel point in the M CT images by correcting the gray value of each pixel point in the M CT images based on the historical gray information of the blood vessel based on the three-dimensional blood vessel model is not limited.
S103, determining potential energy of each pixel point in the M CT images according to the gray contrast enhancement coefficient of each pixel point in the M CT images.
Specifically, according to the obtained gray contrast enhancement coefficient of each pixel point in the M CT images, the potential energy corresponding to each pixel point in the M CT images is corrected by using the gray contrast enhancement coefficient of each pixel point in the M CT images, and each corrected potential energy is divided into potential energy parts serving as the potential energy of each pixel point in the M CT images.
In an example, taking a pixel point x in M CT images as an example, according to the above steps, the gray contrast increasing coefficient of the pixel point x is obtained as g (p (x)), where p (x) is the gray value of the pixel point x.
At this time, according to the existing method, the potential energy P0(x) before the correction of the pixel point x is determined, then, g (P (x)) is used to correct the potential energy P0(x), so as to obtain the potential energy of the corrected pixel point x, and the potential energy is used as the final potential energy P (x) of the pixel point x. For example, the product or weighted product of g (P (x)) and P0(x) is taken as P (x). Optionally, any parameter in P0(x) may be modified by g (P (x)), so as to obtain P (x).
In another example, the gray value p (x) of the pixel point x is corrected by using g (p (x)), and the final potential energy p (x) of the pixel point x is determined according to the corrected gray value p (x).
Optionally, the following method may also be used to obtain the final potential energy p (x) of the determined pixel point x.
The method can obtain the potential energy of each pixel point in M CT images.
S104, determining a shortest path between the starting point and the end point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point, and repairing the blood vessel three-dimensional model of the blood vessel disconnected region according to the shortest path.
Specifically, potential energy of each pixel point in the M CT images is obtained according to the steps, and thus the shortest path between the starting point and the end point is found according to the potential energy of each pixel point in the M CT images, the starting point and the end point.
For example, traversing each pixel point in the field of the starting point a by taking the starting point a as a middle point, traversing each pixel point c in the field of the starting point a, then traversing each pixel point in the field of the c point by taking the c point as a middle point, obtaining a pixel point d with the minimum potential energy in the field, repeating the steps until the position of the end point b is found, connecting the pixel points with the minimum potential energy between the points a and b, and obtaining the shortest path between the starting point a and the end point b.
Optionally, the shortest path between the starting point a and the ending point b may also be obtained by using other shortest path search algorithms (e.g., ant colony algorithm, genetic algorithm, etc.).
In a possible implementation manner of this embodiment, the determining, in the step S104, a shortest path between the starting point and the ending point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the ending point may further include:
s104a, determining a minimum activity graph between the starting point and the ending point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the ending point.
S104b, processing the minimum activity graph based on the steepest descent method, and determining the shortest path between the starting point and the end point.
Specifically, the starting point x is obtained according to the formula (1)startAnd the minimum acquisition graph between the pixel points x
Figure BDA0001757457290000101
Wherein the content of the first and second substances,
Figure BDA0001757457290000116
as a starting point xstartThe smallest figure obtained between the two and the pixel point x, and ^ jΩP (C (s)) is an energy minimization model, s is an arc length parameter on the curve C,
Figure BDA0001757457290000112
represents xstartAll paths to pixel point x.
Figure BDA0001757457290000115
Figure BDA0001757457290000117
Taking the formula (2) and the formula (3) as boundary conditions of the formula (1), and carrying out the iteration until the end point x is foundendSo as to obtain the minimum activity diagram of the starting point and the end point
Figure BDA0001757457290000113
Then, the minimum activity graph is aligned based on the steepest descent direction
Figure BDA0001757457290000114
And processing to determine the shortest path between the starting point and the end point.
For example, according to equation (4), the shortest path between the starting point and the ending point can be obtained by a backtracking method.
Figure BDA0001757457290000111
Wherein, C (0) ═ xend
According to the embodiment, the minimum activity graph between the starting point and the end point is determined according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point, the minimum activity graph is processed based on the steepest descent direction, the shortest path between the starting point and the end point is accurately determined, and the accuracy of the blood vessel repair based on the shortest path is further improved.
And obtaining the shortest path between the starting point and the end point according to the method, and then repairing the blood vessel three-dimensional model of the blood vessel disconnected region based on the shortest path.
For example, the radius of the blood vessel in the blood vessel disconnected region can be obtained according to the blood vessel historical gray scale information of the three-dimensional blood vessel model, and the shortest path is taken as a central line, so that the repair of the blood vessel three-dimensional model in the blood vessel disconnected region can be completed.
Optionally, the radius of the blood vessel at the starting point and the ending point may also be obtained, the radius of the blood vessel at the starting point is taken as the scanning starting point, the radius of the blood vessel at the ending point is taken as the scanning ending point, and the shortest path is taken as the central line, so that the blood vessel three-dimensional model of the blood vessel disconnected region can be obtained through scanning.
In a possible implementation manner of this embodiment, the repairing the three-dimensional model of the blood vessel in the blood vessel disconnected region according to the shortest path in S104 may include:
s104c, obtaining the blood vessel radius corresponding to each pixel point on the shortest path, and obtaining the blood vessel section surrounded by the blood vessel radius corresponding to each pixel point.
S104d, connecting the sections of the blood vessels to obtain a three-dimensional model of the blood vessel disconnected region.
Specifically, according to the image corresponding to the blood vessel disconnected region, the blood vessel radius corresponding to each pixel point on the shortest path is obtained, for example, the blood vessel radius corresponding to each pixel point on the shortest path is obtained through a ray-casting algorithm. At this time, taking a pixel point k on the shortest path as an example, taking the pixel point k as a circle center, and taking a blood vessel radius corresponding to the pixel point k as a radius, a blood vessel section can be generated. If the shortest path includes Q pixel points, Q vessel sections can be obtained.
And superposing the Q blood vessel sections, and generating a blood vessel three-dimensional surface patch by using a sliding cube method, thereby obtaining a blood vessel three-dimensional model of the blood vessel disconnected region as shown in fig. 4.
According to the method for repairing the three-dimensional model of the blood vessel, provided by the embodiment of the invention, the position information of the starting point and the end point of the disconnected region of the blood vessel in the three-dimensional blood vessel model and M CT images corresponding to the disconnected region of the blood vessel are obtained; based on the historical gray information of the blood vessel of the three-dimensional blood vessel model, correcting the gray value of each pixel point in the M CT images to obtain the gray contrast enhancement coefficient of each pixel point in the M CT images; determining potential energy of each pixel point in the M CT images according to the gray contrast enhancement coefficient of each pixel point in the M CT images; and determining a shortest path between the starting point and the end point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point, and repairing the blood vessel three-dimensional model of the blood vessel disconnected region according to the shortest path. According to the method, the three-dimensional model of the blood vessel in the blood vessel disconnection area is automatically repaired without manual participation, so that manpower is liberated, and the repairing efficiency is improved. Meanwhile, the gray contrast enhancement coefficient of each pixel point in the M CT images corresponding to the blood vessel disconnected region is determined, and the potential energy of each pixel point is corrected by using the gray contrast enhancement coefficient, so that the shortest path between the starting point and the end point obtained based on the corrected potential energy is more accurate, and the accurate repair of the blood vessel three-dimensional model can be realized based on the accurate shortest path.
Fig. 5 is a flowchart of a method for repairing a three-dimensional model of a blood vessel according to a second embodiment of the present invention. On the basis of the above embodiment, the present embodiment relates to a specific process of correcting the gray scale value of each pixel point in the M CT images based on the historical gray scale information of the blood vessel of the three-dimensional blood vessel model to obtain the gray scale contrast enhancement coefficient of each pixel point in the M CT images. As shown in fig. 5, the S102 may include:
s201, obtaining a gray level histogram of historical gray level information of the blood vessel of the three-dimensional blood vessel model, and shifting a gray level average value of the gray level histogram to the left by a preset pixel value to obtain a target gray level average value.
Specifically, the blood vessel gray values of the N historical CT images of the three-dimensional blood vessel model are obtained as the blood vessel historical gray information of the three-dimensional blood vessel model. The grey values of the blood vessels of the N historical CT images form a grey histogram with the interval of [0,255], the abscissa represents the size of the grey value, and the ordinate represents the number of pixel points.
According to the gray level histogram, a curve (close to gaussian distribution) is fitted, and the gray level mean value of the gray level histogram can be obtained according to the curve. Because the gray-scale values of the pixels in the disconnected region of the blood vessel are lower than those of the extracted part due to the problems of angiography and stenosis, the average value of the curve (i.e., the gray-scale average value of the gray-scale histogram) is shifted to the left by a preset pixel value, for example, by 10 pixel values, based on the above assumption, and the target gray-scale average value is obtained.
S202, correcting the first pixel points with the gray values lower than the target gray average value in the M CT images to obtain the gray contrast enhancement coefficient of each first pixel point in the M CT images.
And dividing each pixel point in the M CT images into a first pixel point and a second pixel point according to the target gray average value, specifically, marking the pixel points with the gray values smaller than the target gray average value as the first pixel points, and marking the pixel points with the gray values larger than or equal to the target gray average value as the second pixel points.
The gray value of the second pixel point is larger, which indicates that the second pixel point is a background or a known blood vessel, and therefore, the second pixel point is not corrected, that is, the gray contrast enhancement coefficient of the second pixel point is 1.
And if the gray value of the first pixel point is smaller, the probability that the first pixel point is a pixel point in the blood vessel disconnected region is larger, so that the first pixel point is corrected according to the target gray average value to obtain the gray contrast enhancement coefficient of the first pixel point.
In this embodiment, the gray contrast enhancement coefficient of the first pixel point is determined, and the first pixel point with the gray level smaller than the average gray level is suppressed, so that the enhancement of the blood vessel is realized, and the energy value corresponding to the first pixel point is lower when the minimum path is searched, so that the first pixel point is preferentially traversed in the backtracking process.
Optionally, in this embodiment, a ratio of the gray value of the first pixel point to the target gray average value may be used as the gray contrast enhancement coefficient of the first pixel point.
Optionally, the difference between the gray value of the first pixel point and the target gray average value is used as the gray contrast enhancement coefficient of the first pixel point.
Optionally, other modes may also be used, and the gray value of the first pixel point is corrected according to the target gray average value to obtain the gray contrast enhancement coefficient of the first pixel point.
In a possible implementation manner of this embodiment, the step S202 may include:
s202a, taking the square of the ratio of the gray value of the first pixel point to the target gray average value as the gray contrast enhancement coefficient of the first pixel point.
For example,
Figure BDA0001757457290000141
wherein, g (p (x)) is a gray contrast enhancement coefficient of a pixel point x, p (x) is a gray value of the pixel point x, and mean _ grey is a target gray average value.
The gray contrast enhancement coefficient of each pixel point in the M CT images can be obtained according to the formula (5).
According to the method for repairing the blood vessel three-dimensional model, provided by the embodiment of the invention, the gray level histogram of the historical gray level information of the blood vessel of the three-dimensional blood vessel model is obtained, the gray level mean value of the gray level histogram is shifted to the left by a preset pixel value, a target gray level mean value is obtained, the first pixel points of which the gray level values are lower than the target gray level mean value in the M CT images are corrected, the gray level contrast enhancement coefficients of the first pixel points in the M CT images are obtained, and the accurate determination of the gray level contrast enhancement coefficients of the pixel points in the M CT images is further realized.
Fig. 6 is a flowchart of a method for repairing a three-dimensional model of a blood vessel according to a third embodiment of the present invention. On the basis of the above embodiment, the specific process of determining the potential energy of each pixel point in the M CT images according to the gray scale contrast enhancement coefficient of each pixel point in the M CT images according to the embodiment is described. As shown in fig. 6, the S103 may include:
s301, aiming at each pixel point in the M CT images, according to the position information of the starting point and the end point, determining an included angle between a connecting line of the pixel point and the starting point and a connecting line of the starting point and the end point.
In this embodiment, an included angle between each pixel point in the M CT images and a connection line T formed by the starting point and the ending point is determined, and the potential energy of each pixel point is determined according to the included angle, the gray scale contrast enhancement coefficient of the pixel point, the gray scale value of the pixel point, and the like.
For convenience of explanation, a pixel point x in M CT images is taken as an example for explanation, and other pixel points are referred to.
Firstly, a connecting line T between a starting point and an end point is obtained, then, a connecting line L between a pixel point X and the starting point is obtained, and an included angle between the T and the L can be obtained by utilizing a geometrical relation according to coordinates of the starting point, the end point and the X point.
In a possible implementation manner of this embodiment, the step S301 may include:
according to the formula
Figure BDA0001757457290000151
Determining the pixel point x and the starting point xstartAnd an angle theta between the connecting line of (a) and the connecting line of the starting point and the end point;
wherein, the
Figure BDA0001757457290000152
Said xendIs the end point.
Specifically, a starting point x is obtainedstartTo the end point xendVector of (2)
Figure BDA0001757457290000153
And a starting point xstartDistance x-x to pixel point xstart. Then, the pixel point x and the starting point x can be obtained according to the above formula (6)startAnd the angle theta between the connecting line of the starting point and the end point.
With reference to the above description, each pixel point and the starting point x in M CT images can be obtainedstartAnd the angle between the connecting line of the starting point and the end point.
S302, determining the potential energy of the pixel point according to the included angle, the gray contrast enhancement coefficient of the pixel point, the gray value of the pixel point and the target gray average value.
In this step, the pixel point x is taken as an example for explanation, and other pixel points are referred to.
According to the steps, an included angle between the pixel point x and a connecting line of the starting point and the end point can be obtained, and then according to the included angle, the gray contrast enhancement coefficient of the pixel point, the gray value of the pixel point and the obtained target gray average value, the potential energy of the pixel point x can be determined.
In an example, the gray scale contrast enhancement coefficient of the pixel point x is used to correct the gray scale value of the pixel point x (for example, the gray scale contrast enhancement coefficient of the pixel point x is multiplied by the gray scale value of the pixel point x), and the corrected gray scale value, the included angle, the target gray scale average value, and the like are correspondingly calculated to obtain the potential energy of the pixel point.
In another example, the potential energy of a pixel point can be determined by equation (7),
Figure BDA0001757457290000154
in a possible implementation manner of this embodiment, the step S302 may include:
determining the potential energy P (x) of the pixel point x according to the formula (8)
Figure BDA0001757457290000155
Wherein g (p (x)) is a gray contrast enhancement coefficient of a pixel point x, p (x) is a gray value of the pixel point x, mean _ grey is the target gray average value, and λ and β are both positive constants. For example, λ is 1000 and β is 10.
The method for repairing the three-dimensional model of the blood vessel provided by the embodiment of the invention is characterized in that aiming at each pixel point in M CT images, according to the position information of the starting point and the end point, an included angle between a connecting line of the pixel point and the starting point and a connecting line of the starting point and the end point is determined; and determining the potential energy of the pixel point according to the included angle, the gray contrast enhancement coefficient of the pixel point, the gray value of the pixel point and the target gray average value, and further realizing accurate determination of the potential energy of each pixel point, so that the repair of the three-dimensional model of the blood vessel based on the potential energy of the pixel point is more accurate.
Fig. 7 is a schematic structural diagram of a repair apparatus for a three-dimensional model of a blood vessel according to an embodiment of the present invention. As shown in fig. 7, the repair apparatus 100 for a three-dimensional model of a blood vessel of the present embodiment may include:
an obtaining module 110, configured to obtain position information of a start point and an end point of a blood vessel disconnected region in a three-dimensional blood vessel model, and M CT images corresponding to the blood vessel disconnected region;
an enhancement coefficient obtaining module 120, configured to modify a gray scale value of each pixel in the M CT images based on historical gray scale information of the blood vessel of the three-dimensional blood vessel model, so as to obtain a gray scale contrast enhancement coefficient of each pixel in the M CT images;
a potential energy determining module 130, configured to determine potential energy of each pixel point in the M CT images according to a gray contrast enhancement coefficient of each pixel point in the M CT images;
a shortest path determining module 140, configured to determine a shortest path between the starting point and the ending point according to potential energy of each pixel point in the M CT images and position information of the starting point and the ending point;
and the repairing module 150 is used for repairing the blood vessel three-dimensional model of the blood vessel disconnected region according to the shortest path.
The device for repairing a three-dimensional model of a blood vessel according to an embodiment of the present invention may be used to implement the technical solution of the above-described method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 8 is a schematic structural diagram of a repair device for a three-dimensional model of a blood vessel according to a second embodiment of the present invention. As shown in fig. 8, the enhancement coefficient obtaining module 120 further includes:
an average gray level obtaining unit 121, configured to obtain a gray level histogram of historical gray level information of the blood vessel of the three-dimensional blood vessel model, and shift a gray level average value of the gray level histogram to the left by a preset pixel value to obtain a target gray level average value;
and the enhancement coefficient obtaining unit 122 is configured to correct the first pixel points in the M CT images, where the gray values of the first pixel points are lower than the target gray average value, to obtain a gray contrast enhancement coefficient of each first pixel point in the M CT images.
In a possible implementation manner of this embodiment, the enhancement coefficient obtaining unit 122 is specifically configured to use a square of a ratio of the gray value of the first pixel to the target gray average value as the gray contrast enhancement coefficient of the first pixel.
The device for repairing a three-dimensional model of a blood vessel according to an embodiment of the present invention may be used to implement the technical solution of the above-described method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 9 is a schematic structural diagram of a repair device for a three-dimensional model of a blood vessel according to a third embodiment of the present invention. As shown in fig. 9, the potential energy determination module 130 further includes:
an included angle obtaining unit 131, configured to determine, for each pixel point in the M CT images, an included angle between a connection line between the pixel point and the start point and a connection line between the start point and the end point according to the position information of the start point and the end point;
the potential energy determining unit 132 is configured to determine the potential energy of the pixel point according to the included angle, the gray contrast enhancement coefficient of the pixel point, the gray value of the pixel point, and the target gray average value.
In a possible implementation manner of this embodiment, the included angle obtaining unit 131 is specifically configured to,
according to the formula
Figure BDA0001757457290000171
Determining the pixel point x and the starting point xstartAnd an angle theta between the connecting line of (a) and the connecting line of the starting point and the end point;
wherein, the
Figure BDA0001757457290000172
Said xendIs the end point.
In another possible implementation manner of this embodiment, the potential energy determination unit 132 is specifically configured to,
according to the formula
Figure BDA0001757457290000173
Determining potential energy P (x) of the pixel point x;
wherein g (p (x)) is a gray contrast enhancement coefficient of a pixel point x, p (x) is a gray value of the pixel point x, mean _ grey is the target gray average value, and λ and β are both positive constants.
The device for repairing a three-dimensional model of a blood vessel according to an embodiment of the present invention may be used to implement the technical solution of the above-described method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of a repair apparatus for a three-dimensional model of a blood vessel according to a fourth embodiment of the present invention. As shown in fig. 10, the shortest path determining module 140 includes:
a minimum activity graph determining unit 141, configured to determine a minimum activity graph between the starting point and the ending point according to potential energy of each pixel point in the M CT images and position information of the starting point and the ending point;
a shortest path determining unit 142, configured to process the minimum activity graph based on a steepest descent direction, and determine a shortest path between the starting point and the end point.
In a possible implementation manner of this embodiment, the shortest path determining unit 142 is specifically configured to obtain a blood vessel radius corresponding to each pixel point on the shortest path, and a blood vessel section surrounded by the blood vessel radius corresponding to each pixel point; and connecting the sections of the blood vessels to obtain a three-dimensional model of the blood vessel in the disconnected region of the blood vessel.
The device for repairing a three-dimensional model of a blood vessel according to an embodiment of the present invention may be used to implement the technical solution of the above-described method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 11, an electronic device 300 according to the embodiment includes:
a memory 310 for storing a computer program;
the processor 320 is configured to execute the computer program to implement the method for repairing a three-dimensional model of a blood vessel, which has similar implementation principles and technical effects, and will not be described herein again.
Further, when at least a part of the functions of the method for repairing a three-dimensional model of a blood vessel according to the embodiments of the present invention are implemented by software, the embodiments of the present invention further provide a computer storage medium for storing computer software instructions for repairing the three-dimensional model of the blood vessel, which, when executed on a computer, enable the computer to perform various possible methods for repairing a three-dimensional model of a blood vessel according to the embodiments of the present invention. The processes or functions described in accordance with the embodiments of the present invention may be generated in whole or in part when the computer-executable instructions are loaded and executed on a computer. The computer instructions may be stored on a computer storage medium or transmitted from one computer storage medium to another via wireless (e.g., cellular, infrared, short-range wireless, microwave, etc.) to another website site, computer, server, or data center. The computer storage media may be any available media that can be accessed by a computer or a data storage device, such as a server, data center, etc., that incorporates one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., SSD), among others.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (18)

1. A method for repairing a three-dimensional model of a blood vessel, comprising:
acquiring position information of a starting point and an end point of a blood vessel disconnected region in a three-dimensional blood vessel model and M CT images corresponding to the blood vessel disconnected region;
based on the historical gray information of the blood vessel of the three-dimensional blood vessel model, correcting the gray value of each pixel point in the M CT images to obtain the gray contrast enhancement coefficient of each pixel point in the M CT images;
determining potential energy of each pixel point in the M CT images according to the gray contrast enhancement coefficient of each pixel point in the M CT images;
and determining a shortest path between the starting point and the end point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point, and repairing the blood vessel three-dimensional model of the blood vessel disconnected region according to the shortest path.
2. The method according to claim 1, wherein the modifying the gray scale value of each pixel point in the M CT images based on the historical gray scale information of the blood vessel of the three-dimensional blood vessel model to obtain the gray scale contrast enhancement coefficient of each pixel point in the M CT images comprises:
acquiring a gray level histogram of historical gray level information of the blood vessel of the three-dimensional blood vessel model, and shifting a gray level average value of the gray level histogram to the left by a preset pixel value to obtain a target gray level average value;
and correcting the first pixel points with the gray values lower than the target gray average value in the M CT images to obtain the gray contrast enhancement coefficient of each first pixel point in the M CT images.
3. The method according to claim 2, wherein the correcting the first pixel points in the M CT images with gray values lower than the target gray average value to obtain the gray contrast enhancement coefficient of each first pixel point in the M CT images comprises:
and taking the square of the ratio of the gray value of the first pixel point to the average value of the target gray values as a gray contrast enhancement coefficient of the first pixel point.
4. The method of claim 2, wherein determining potential energy of each pixel point in the M CT images according to the gray scale contrast enhancement coefficient of each pixel point in the M CT images comprises:
aiming at each pixel point in M CT images, determining an included angle between a connecting line of the pixel point and the starting point and a connecting line of the starting point and the end point according to the position information of the starting point and the end point;
and determining the potential energy of the pixel point according to the included angle, the gray contrast enhancement coefficient of the pixel point, the gray value of the pixel point and the target gray average value.
5. The method according to claim 4, wherein determining an angle between a line connecting the pixel point and the start point and a line connecting the start point and the end point according to the position information of the start point and the end point comprises:
according toFormula (II)
Figure FDA0002633192640000021
Determining the pixel point x and the starting point xstartAnd an angle theta between the connecting line of (a) and the connecting line of the starting point and the end point;
wherein, the
Figure FDA0002633192640000022
Said xendIs the end point.
6. The method of claim 5, wherein determining the potential energy of the pixel point according to the included angle, the gray contrast enhancement coefficient of the pixel point, the gray value of the pixel point, and the target gray average value comprises:
according to the formula
Figure FDA0002633192640000023
Determining potential energy P (x) of the pixel point x;
wherein g (p (x)) is a gray contrast enhancement coefficient of a pixel point x, p (x) is a gray value of the pixel point x, mean _ grey is the target gray average value, and λ and β are both positive constants.
7. The method according to any one of claims 1-6, wherein determining the shortest path between the starting point and the ending point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the ending point comprises:
determining a minimum activity graph between the starting point and the end point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point;
and processing the minimum activity graph based on the steepest descent direction, and determining the shortest path between the starting point and the end point.
8. The method of claim 7, wherein said repairing a three-dimensional model of a vessel of said vessel disconnected region based on said shortest path comprises:
obtaining the blood vessel radius corresponding to each pixel point on the shortest path, and generating a blood vessel section surrounded by the blood vessel radius corresponding to each pixel point;
and connecting the sections of the blood vessels to obtain a three-dimensional model of the blood vessel in the disconnected region of the blood vessel.
9. A device for repairing a three-dimensional model of a blood vessel, comprising:
the acquisition module is used for acquiring the position information of a starting point and an end point of a blood vessel disconnected region in a three-dimensional blood vessel model and M CT images corresponding to the blood vessel disconnected region;
an enhancement coefficient obtaining module, configured to modify a gray scale value of each pixel in the M CT images based on historical gray scale information of the blood vessel of the three-dimensional blood vessel model, so as to obtain a gray scale contrast enhancement coefficient of each pixel in the M CT images;
the potential energy determining module is used for determining the potential energy of each pixel point in the M CT images according to the gray contrast enhancement coefficient of each pixel point in the M CT images;
the shortest path determining module is used for determining the shortest path between the starting point and the end point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point;
and the repairing module is used for repairing the blood vessel three-dimensional model of the blood vessel disconnected region according to the shortest path.
10. The apparatus of claim 9, wherein the enhancement factor obtaining module comprises:
the average gray level obtaining unit is used for obtaining a gray level histogram of the historical gray level information of the blood vessel of the three-dimensional blood vessel model, and shifting the gray level average value of the gray level histogram to the left by a preset pixel value to obtain a target gray level average value;
and the enhancement coefficient acquisition unit is used for correcting the first pixel points with the gray values lower than the target gray average value in the M CT images to acquire the gray contrast enhancement coefficient of each first pixel point in the M CT images.
11. The apparatus according to claim 10, wherein the enhancement factor obtaining unit is specifically configured to use a square of a ratio of the gray scale value of the first pixel to the target gray scale average value as the gray scale contrast enhancement factor of the first pixel.
12. The apparatus of claim 10, wherein the potential energy determination module comprises:
an included angle obtaining unit, configured to determine, for each pixel point in the M CT images, an included angle between a connection line between the pixel point and the start point and a connection line between the start point and the end point according to the position information of the start point and the end point;
and the potential energy determining unit is used for determining the potential energy of the pixel point according to the included angle, the gray contrast enhancement coefficient of the pixel point, the gray value of the pixel point and the target gray average value.
13. The device according to claim 12, wherein the angle acquisition unit is in particular adapted to,
according to the formula
Figure FDA0002633192640000041
Determining the pixel point x and the starting point xstartAnd an angle theta between the connecting line of (a) and the connecting line of the starting point and the end point;
wherein, the
Figure FDA0002633192640000042
Said xendIs the end point.
14. The device according to claim 13, characterized in that the potential energy determination unit, in particular for,
according to the formula
Figure FDA0002633192640000043
Determining potential energy P (x) of the pixel point x;
wherein g (p (x)) is a gray contrast enhancement coefficient of a pixel point x, p (x) is a gray value of the pixel point x, mean _ grey is the target gray average value, and λ and β are both positive constants.
15. The apparatus of any of claims 9-14, wherein the shortest path determining module comprises:
the minimum activity graph determining unit is used for determining a minimum activity graph between the starting point and the end point according to the potential energy of each pixel point in the M CT images and the position information of the starting point and the end point;
and the shortest path determining unit is used for processing the minimum activity graph based on the steepest descent direction and determining the shortest path between the starting point and the end point.
16. The apparatus according to claim 15, wherein the shortest path determining unit is specifically configured to obtain a vessel radius corresponding to each pixel point on the shortest path, and a vessel cross section surrounded by the vessel radii corresponding to each pixel point; and connecting the sections of the blood vessels to obtain a three-dimensional model of the blood vessel in the disconnected region of the blood vessel.
17. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program for implementing a method of repairing a three-dimensional model of a blood vessel according to any one of claims 1-8.
18. A computer storage medium, characterized in that the storage medium has stored therein a computer program which, when executed, implements a method of repairing a three-dimensional model of a blood vessel according to any one of claims 1-8.
CN201810893094.8A 2018-08-07 2018-08-07 Method and device for repairing three-dimensional model of blood vessel and electronic equipment Active CN109272485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810893094.8A CN109272485B (en) 2018-08-07 2018-08-07 Method and device for repairing three-dimensional model of blood vessel and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810893094.8A CN109272485B (en) 2018-08-07 2018-08-07 Method and device for repairing three-dimensional model of blood vessel and electronic equipment

Publications (2)

Publication Number Publication Date
CN109272485A CN109272485A (en) 2019-01-25
CN109272485B true CN109272485B (en) 2020-12-01

Family

ID=65153451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810893094.8A Active CN109272485B (en) 2018-08-07 2018-08-07 Method and device for repairing three-dimensional model of blood vessel and electronic equipment

Country Status (1)

Country Link
CN (1) CN109272485B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114332202B (en) * 2021-12-30 2023-11-24 北京阅影科技有限公司 Vascular model processing method and device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923713A (en) * 2010-08-04 2010-12-22 中国科学院自动化研究所 Method for extracting central line of coronary artery vessel
CN104282009A (en) * 2013-07-02 2015-01-14 上海联影医疗科技有限公司 Coronary artery extraction method
CN108133478A (en) * 2018-01-11 2018-06-08 苏州润心医疗器械有限公司 A kind of method for extracting central line of coronary artery vessel
CN108335284A (en) * 2018-01-09 2018-07-27 北京理工大学 A kind of coronary artery vessel centerline matching process and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7860290B2 (en) * 2006-04-21 2010-12-28 Siemens Medical Solutions Usa, Inc. Three-dimensional (3D) modeling of coronary arteries
US8073227B2 (en) * 2008-05-09 2011-12-06 Siemens Aktiengesellschaft System and method for geometric modeling of tubular structures
US10102633B2 (en) * 2015-11-30 2018-10-16 Hyland Switzerland Sarl System and methods of segmenting vessels from medical imaging data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923713A (en) * 2010-08-04 2010-12-22 中国科学院自动化研究所 Method for extracting central line of coronary artery vessel
CN104282009A (en) * 2013-07-02 2015-01-14 上海联影医疗科技有限公司 Coronary artery extraction method
CN108335284A (en) * 2018-01-09 2018-07-27 北京理工大学 A kind of coronary artery vessel centerline matching process and system
CN108133478A (en) * 2018-01-11 2018-06-08 苏州润心医疗器械有限公司 A kind of method for extracting central line of coronary artery vessel

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Identification and reconnection of interrupted vessels in retinal vessel segmentation;Vinaysk S.Joshi 等;《2011 IEEE International Symposium on Biomedical Imaging:From Nano to Macro》;20110609;第1416-1420页 *
Semi-automatic 3D segmentation of carotid lumen in contrast-enhanced computed tomography angiography images;Hamidreza Hemmati 等;《Physica Medica》;20151001;第1098-1104页 *
基于最小路径的血管图像分割算法;陈鉴;《中国优秀硕士学位论文全文数据库医药卫生科技辑》;20170315;第E062-41页 *
血管内OCT图像序列中血管三维重建方法的研究;陈艳花;《中国优秀硕士学位论文全文数据库医药卫生科技辑》;20170315;第E062-27页 *

Also Published As

Publication number Publication date
CN109272485A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN108805871B (en) Blood vessel image processing method and device, computer equipment and storage medium
CN109685060B (en) Image processing method and device
CN109118542B (en) Calibration method, device, equipment and storage medium between laser radar and camera
CN113160189A (en) Blood vessel center line extraction method, device, equipment and storage medium
CN110246216B (en) Spine model generation method, spine model generation system and terminal
Zhou et al. Interactive medical image segmentation using snake and multiscale curve editing
CN111724413B (en) Blood vessel tracking method, coronary image segmentation method, medium and electronic equipment
CN115731232A (en) Blood vessel image processing method and device, readable storage medium and electronic equipment
CN115456947A (en) Deep learning-based acetabulum injury repair method
CN109272485B (en) Method and device for repairing three-dimensional model of blood vessel and electronic equipment
JP7187680B2 (en) LINE STRUCTURE EXTRACTION APPARATUS AND METHOD, PROGRAM AND TRAINED MODEL
CN115147360B (en) Plaque segmentation method and device, electronic equipment and readable storage medium
WO2023241032A1 (en) Deep learning-based method and system for intelligently identifying osteoarthritis
US11790537B2 (en) Tracking device, endoscope system, and tracking method
JP2022546303A (en) Segmenting tubular features
CN114565646A (en) Image registration method, device, electronic device and readable storage medium
CN111612860B (en) VRDS 4D medical image-based Ai identification method and product for embolism
JP6253962B2 (en) Information processing apparatus and method
JP2022059493A (en) Model generation method, model generation device, image processing method, and image processing device
CN112270643B (en) Three-dimensional imaging data stitching method and device, electronic equipment and storage medium
CN118095108B (en) Method, system and equipment for reconstructing three-dimensional model in bored pile
Sabrowsky-Hirsch et al. A content-driven architecture for medical image segmentation
CN117942161B (en) Single puncture needle power confirmation method and device, electronic equipment and storage medium
CN115100222B (en) Image processing method and device for separating artery and vein blood vessels, storage medium and terminal
CN117197175A (en) Blood vessel segmentation method, device, equipment and medium of coronary angiography image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant