Restorative procedure, system and the computer storage medium of blood vessel segmentation image fracture
Technical field
A kind of be broken the present invention relates to medical imaging technology more particularly to blood vessel segmentation image restorative procedure, system and
Computer storage medium.
Background technique
It is the current the most frequently used and most important means for treating coronary artery disease that coronary artery, which is rebuild, has important clinical valence
Value and practical significance.
Currently, can be led to using DiceLoss as the loss function of segmentation neural network in automation coronary artery reconstruction process
Machine learning, the neural metwork training acquisition coronary artery parted pattern for crossing sample image, using coronary artery parted pattern to data (such as CT
Image) coronary artery segmentation is carried out to form coronary artery segmented image.
However, in the process, coronary artery segmented image will appear the abnormal conditions such as noise, fracture, coronary artery segmentation is influenced
Effect.
Summary of the invention
The present invention provides restorative procedure, system and the computer storage medium of a kind of blood vessel segmentation image fracture, to improve
The effect of coronary artery segmentation.
One aspect of the present invention provides a kind of restorative procedure of blood vessel segmentation image fracture, comprising:
Obtain blood vessel original image;
Processing is split to form blood vessel segmentation image to the blood vessel original image using segmentation network;
The breaking part in the blood vessel segmentation image is searched, and obtains the coordinate at the breaking part both ends;
It is chosen in the blood vessel original image according to the coordinate at the breaking part both ends corresponding with the breaking part
Part;
Using part corresponding with the breaking part in the blood vessel original image in the blood vessel segmentation image
Breaking part is repaired.
Another aspect of the present invention provides a kind of repair system of blood vessel segmentation image fracture, comprising:
Original image obtains module, for obtaining blood vessel original image;
Blood vessel segmentation image collection module, for using segmentation network to the blood vessel original image be split processing with
Form blood vessel segmentation image;
Searching module for searching the breaking part in the blood vessel segmentation image, and obtains the seat at the breaking part both ends
Mark;
Module is chosen, chooses in the blood vessel original image for the coordinate according to the breaking part both ends and breaks with described
Split the corresponding part in place;
Repair module is used for using part corresponding with the breaking part in the blood vessel original image to the blood vessel
Breaking part in segmented image is repaired.
Further aspect of the present invention provides a kind of computer readable storage medium, and the storage medium includes one group of computer can
It executes instruction, requires the reparation of blood vessel segmentation image fracture of the present invention for perform claim when executed
Method.
The restorative procedure of blood vessel segmentation image provided by the invention fracture, using segmentation network to blood vessel original image into
During row dividing processing is to form blood vessel segmentation image, it will appear fracture in blood vessel segmentation image, breaking part includes fracture
Locate both ends and the lack part between breaking part both ends, in the breaking part found in blood vessel segmentation image and obtains fracture
After the coordinate for locating both ends, portion corresponding with breaking part can be chosen in blood vessel original image according to the coordinate at breaking part both ends
Point, it is corresponding due to that can have lack part with breaking part both ends and between breaking part both ends in blood vessel original image
Part, therefore the breaking part in blood vessel segmentation image can be repaired according to the corresponding part.Thereby, it is possible to make segmentation figure be in
Reveal more complete blood vessel, promotes the effect of coronary artery segmentation, enable a physician to the state of an illness for more comprehensively analyzing patient, thus
Conducive to the therapeutic effect for improving vascular diseases.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the restorative procedure of blood vessel segmentation image fracture provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the restorative procedure of another blood vessel segmentation image fracture provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the restorative procedure of another blood vessel segmentation image provided in an embodiment of the present invention fracture;
Fig. 4 A- Fig. 4 C is a kind of implementation result of the restorative procedure of blood vessel segmentation image fracture provided in an embodiment of the present invention
Schematic diagram;
Fig. 5 is a kind of structural schematic diagram of the repair system of blood vessel segmentation image fracture provided in an embodiment of the present invention.
Appended drawing reference:
101: original image obtains module;102: segmented image obtains module;
103: searching module;104: choosing module;
105: repair module;106: similitude judgment module;
107: comparison module;108: central line pick-up module;
109: endpoint extraction module;201: breaking part both ends;
301: two end datas;302: data to be judged.
Specific embodiment
To keep the purpose of the present invention, feature, advantage more obvious and understandable, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
It is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, those skilled in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Embodiment one
Referring to FIG. 1, the embodiment of the present invention provides a kind of restorative procedure of blood vessel segmentation image fracture, including walk as follows
It is rapid:
Step S101 obtains blood vessel original image;
Tomoscan can be carried out to blood vessel by computed tomography (CT, Computed Tomography) equipment, with
Form blood vessel original image.
Step S201 is split processing to blood vessel original image using segmentation network to form blood vessel segmentation image;
By segmentation network can in blood vessel original image angiosomes and non-vascular region be labeled, with formed
Blood vessel segmentation image, however in the process, it will appear fracture in blood vessel segmentation image, i.e. breaking part includes breaking part both ends
201 and the lack part between breaking part both ends 201.
Step S301 searches the breaking part in blood vessel segmentation image, and obtains the coordinate at breaking part both ends 201;
It prepares as a result, for the processing next for breaking part.
Referring to FIG. 2, preferred, step S301 is specifically included:
Step S3011 extracts the center line of blood vessel segmentation image;
Since the center line of the breaking part of blood vessel segmentation image also will appear fracture, in the process for extracting center line
In, breaking part both ends 201 will be respectively formed respective center line.
Step S3012 extracts the endpoint of center line;
During extracting centerline end point, endpoint can be extracted on the center line at breaking part both ends 201.
Step S3013 searches the breaking part in blood vessel segmentation image according to the endpoint of center line, and obtains breaking part both ends
201 coordinate.
It, can be more according to the endpoint of center line due to can extract endpoint on the center line at breaking part both ends 201
Easily and accurately to find breaking part.
Step S401 chooses in blood vessel original image corresponding with breaking part according to the coordinate at breaking part both ends 201
Part;
Due to that can exist and breaking part both ends 201 and the missing between breaking part both ends 201 in blood vessel original image
The corresponding part in part, therefore can be accurately in blood vessel according to the coordinate at breaking part both ends 201 in blood vessel segmentation image
Part corresponding with the breaking part is chosen in original image.
Step S501, using part corresponding with breaking part in blood vessel original image to the fracture in blood vessel segmentation image
It is repaired at place.
It can be by the way that the part chosen in blood vessel original image and blood vessel segmentation image be merged, thus to blood vessel segmentation
Breaking part in image is repaired.Thereby, it is possible to make segmentation figure show more complete blood vessel, enable a physician to more complete
The state of an illness of the analysis patient in face, to be conducive to improve the therapeutic effect of vascular diseases.
Embodiment two
Referring to FIG. 3, on the basis of example 1, step S401 is specifically included:
According to the coordinate at breaking part both ends 201, portion corresponding with breaking part both ends 201 is chosen in blood vessel original image
It is allocated as two end datas 301, and is choosing portion corresponding with lack part between breaking part both ends 201 in blood vessel original image
It is allocated as data 302 to be judged.
It further include step S402 after step S401, step S402 includes:
It is treated using similar network and judges that data 302 and two end datas 301 carry out similitude judgement and export similitude to sentence
Disconnected prediction data.
In similitude deterministic process, data 302 to be judged can be compared with two end datas 301 respectively, with judgement
Data 302 the to be judged similitude with two end datas 301 respectively.Wherein, it when being trained to similar network, can be set to training
It is standby to input multiple blood vessel original image cases so that similar network carries out similitude training, while similitude is inputted to training equipment
The labeled data of judgement, and the prediction data that similar network carries out similitude judgement obtained by similitude training is sentenced with similitude
Disconnected labeled data is compared, and so as to obtain loss function, and restrains loss function by the training of multiple similitude,
So that similitude network improves.
Corresponding, after step S402, step S501 is specifically included:
If similitude judges that prediction data shows that data 302 to be judged and two end datas 301 are similar, will data be judged
302 merge with blood vessel segmentation image, to repair to the breaking part in blood vessel segmentation image.
Since the adjacent part similarity on same blood vessel is higher, if similitude judges that prediction data is shown wait judge
Data 302 and two end datas 301 are similar, then it is adjacent on same blood vessel to illustrate that data 302 to be judged belong to two end datas 301
Part, so as to think that the data 302 to be judged are the lack part of blood vessel segmentation image breaking part.It later can will be wait sentence
Disconnected data 302 merge with blood vessel segmentation image, to complete the reparation to the breaking part in blood vessel segmentation image.It improves as a result,
The accuracy repaired.
It please refers to Fig. 4 A- Fig. 4 C and first looks for the breaking part in blood vessel segmentation image in a specific repair process,
And obtain the coordinate (as shown in Figure 4 A) at breaking part both ends 201;It is original in blood vessel later according to the coordinate at breaking part both ends 201
Corresponding with breaking part both ends 201 part is chosen in image as two end datas 301, and choose in blood vessel original image and
The corresponding part of lack part is used as data 302 to be judged between breaking part both ends 201, is treated sentence using similar network later
Disconnected data 302 and two end datas 301 carry out similitude judgement and export similitude judging prediction data (as shown in Figure 4 B);Most
Afterwards, if similitude judges that prediction data shows that data 302 to be judged and two end datas 301 are similar, will data be judged 302 with
Blood vessel segmentation image merges, to be repaired (as shown in Figure 4 C) to the breaking part in blood vessel segmentation image.
Embodiment three
It on the basis of example 2, further include step S601 after step S402, step S601 includes:
By similitude judge prediction data with using data 302 to be judged and the corresponding labeled data of two end datas 301 into
The similitude of row similitude judgement judges that labeled data is compared.
Prediction data labeled data corresponding with utilization data 302 to be judged and two end datas 301 is judged by similitude
The similitude for carrying out similitude judgement judges that labeled data is compared, and can obtain loss function, therefore can be by the loss letter
The foundation that loss function obtained in several and similar network is trained before this is trained together as similar network, to be conducive to similar net
Network it is perfect.
Referring to FIG. 5, the embodiment of the present invention provides a kind of repair system of blood vessel segmentation image fracture, comprising: original graph
As obtaining module 101, for obtaining blood vessel original image;Segmented image obtains module 102, for utilizing segmentation network to blood vessel
Original image is split processing to form blood vessel segmentation image;Searching module 103, it is disconnected in blood vessel segmentation image for searching
Place is split, and obtains the coordinate at breaking part both ends 201;Choose module 104, for according to the coordinate at breaking part both ends 201 in blood vessel
Part corresponding with breaking part is chosen in original image;Repair module 105 is used to utilize in blood vessel original image and breaking part
Corresponding part is repaired by the breaking part in blood vessel segmentation image.
Processing is split to be formed to blood vessel original image using segmentation network in blood vessel segmentation image collection module 102
During blood vessel segmentation image, it will appear fracture in blood vessel segmentation image, breaking part includes breaking part both ends 201 and is located at disconnected
The lack part between place both ends 201 is split, breaking part and acquisition in blood vessel segmentation image are being found by searching for module 103
It, can be by choosing module 104 according to the coordinate at breaking part both ends 201 in blood vessel original image after the coordinate at breaking part both ends 201
It is middle to choose part corresponding with breaking part, due to that can exist in blood vessel original image with breaking part both ends 201 and positioned at fracture
Locate both ends 201 between the corresponding part of lack part, therefore can by repair module 105 according to the corresponding part to blood vessel
Breaking part in segmented image is repaired.Thereby, it is possible to make segmentation figure show more complete blood vessel, enable a physician to more
For the state of an illness for comprehensively analyzing patient, to be conducive to improve the therapeutic effect of vascular diseases.
In the present embodiment, it is preferred that the repair system of blood vessel segmentation image fracture further includes similitude judgment module 106;
Selection module 104 is used for the coordinate according to breaking part both ends 201, selection and 201 phase of breaking part both ends in blood vessel original image
The lack part phase between breaking part both ends 201 is being chosen in blood vessel original image as two end datas 301 in corresponding part
Corresponding part is used as data 302 to be judged;Similitude judgment module 106 judges data 302 for treating using similar network
It carries out similitude judgement with two end datas 301 and exports similitude to judge prediction data;Repair module 105 in similitude for sentencing
Disconnected prediction data is shown will data 302 and blood vessel segmentation be judged in the state that data 302 to be judged and two end datas 301 are similar
Image merges, to repair to the breaking part in blood vessel segmentation image.
Data 302 to be judged can be compared with two end datas 301 by similar network respectively, to judge data to be judged
302 similitudes with two end datas 301 respectively.It wherein, can be multiple to training equipment input when being trained to similar network
Blood vessel original image case carries out similitude training, while the mark judged to training equipment input similitude for similar network
Data, and similar network is carried out to the prediction data of the obtained similitude judgement of similitude training and the mark of similitude judgement
Data are compared, and so as to obtain loss function, and restrain loss function by the training of multiple similitude, so that similar
Property network improves.
Since the adjacent part similarity on same blood vessel is higher, if similitude judges that prediction data is shown wait judge
Data 302 and two end datas 301 are similar, then it is adjacent on same blood vessel to illustrate that data 302 to be judged belong to two end datas 301
It part later can be by repairing so as to think that the data 302 to be judged are the lack part of blood vessel segmentation image breaking part
Multiple module 105 merges data 302 to be judged with blood vessel segmentation image, to complete to the breaking part in blood vessel segmentation image
It repairs.Which thereby enhance the accuracy of reparation.
In the present embodiment, it is preferred that the repair system of blood vessel segmentation image fracture further includes comparison module 107, compares mould
Block 107 be used to judge similitude prediction data and utilization data 302 to be judged and the corresponding labeled data of two end datas 301 into
The similitude of row similitude judgement judges that labeled data is compared.
Similitude is judged into prediction data by comparison module 107 and utilizes data 302 to be judged and two end datas 301 right
The similitude that the labeled data answered carries out similitude judgement judges that labeled data is compared, and can obtain loss function, therefore
The foundation that loss function obtained in capable of training before this loss function and similar network is trained together as similar network, from
And it is conducive to the perfect of similar network.
In the present embodiment, it is preferred that further include central line pick-up module 108 and endpoint extraction module 109, central line pick-up
Module 108 is used to extract the center line of blood vessel segmentation image, and endpoint extraction module 109 is used to extract the endpoint of center line, searches
Module 103 is used to search the breaking part in blood vessel segmentation image according to the endpoint of center line, and obtains the seat at breaking part both ends 201
Mark.
Since the center line of the breaking part of blood vessel segmentation image also will appear fracture, in central line pick-up module 108
During extracting blood vessel segmentation picture centre line, the breaking part both ends in blood vessel segmentation image will be respectively formed respective center
Line.Later during endpoint extraction module 109 extracts centerline end point, can on the center line at breaking part both ends 201
Extract endpoint.Due to can extract endpoint on the center line at breaking part both ends, searching module 103 is according to center line
Endpoint more can easily and accurately find breaking part.
The embodiment of the invention also provides a kind of computer readable storage medium, the storage medium includes one group of computer
Executable instruction requires repairing for blood vessel segmentation image fracture of the present invention for perform claim when executed
Compound method.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.Moreover, particular features, structures, materials, or characteristics described
It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this
The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples
Sign is combined.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed or hidden
It include at least one this feature containing ground.In the description of the present invention, the meaning of " plurality " is two or more, unless otherwise
Clear specific restriction.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.