CN114334099A - Blood vessel display method, blood vessel display device, computer equipment and readable storage medium - Google Patents

Blood vessel display method, blood vessel display device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN114334099A
CN114334099A CN202111614404.6A CN202111614404A CN114334099A CN 114334099 A CN114334099 A CN 114334099A CN 202111614404 A CN202111614404 A CN 202111614404A CN 114334099 A CN114334099 A CN 114334099A
Authority
CN
China
Prior art keywords
blood vessel
data
section
target
vessel section
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.)
Pending
Application number
CN202111614404.6A
Other languages
Chinese (zh)
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.)
Shanghai United Imaging Healthcare Co Ltd
Original Assignee
Shanghai United Imaging Healthcare 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 Shanghai United Imaging Healthcare Co Ltd filed Critical Shanghai United Imaging Healthcare Co Ltd
Priority to CN202111614404.6A priority Critical patent/CN114334099A/en
Publication of CN114334099A publication Critical patent/CN114334099A/en
Priority to US18/088,088 priority patent/US20230206576A1/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Apparatus For Radiation Diagnosis (AREA)

Abstract

The present application relates to the field of medical technology, and in particular, to a blood vessel display method, apparatus, computer device, and readable storage medium. The method comprises the following steps: obtaining blood vessel data of a detection object, wherein the blood vessel data comprises blood vessel section central lines of all blood vessel sections and corresponding blood vessel section data; receiving an editing instruction; obtaining an edited central line of the target blood vessel section based on the editing instruction; constructing a corresponding target blood vessel section according to the edited central line of the target blood vessel section; and displaying the target blood vessel section. By adopting the method, the blood vessel display efficiency can be improved.

Description

Blood vessel display method, blood vessel display device, computer equipment and readable storage medium
Technical Field
The present application relates to the field of medical technology, and in particular, to a blood vessel display method, apparatus, computer device, and readable storage medium.
Background
The surface drawing is widely applied to medical post-treatment, doctors can more intuitively observe the form and relative position relation of tissues in organs through a reconstructed three-dimensional model, and tubular structure tissues such as blood vessels and biliary tracts establish the tubular grid model through 3-D skeletonization.
In the conventional method, when the blood vessel is constructed and generated, frequent editing operation on the blood vessel segment data is often needed to obtain a more complete and accurate segmentation result.
However, in this method, each time the vessel segment data is edited, it is necessary to perform skeletonization of the vessel, that is, to generate the center line of the vessel, so that the generation processing efficiency is low when the vessel is subsequently generated based on the center line of the vessel segment.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a blood vessel display method, a blood vessel display apparatus, a computer device, and a readable storage medium, which can improve blood vessel display efficiency.
A method of vessel visualization, the method comprising:
obtaining blood vessel section data of a detection object, wherein the blood vessel section data comprises a blood vessel section central line of each blood vessel section and corresponding blood vessel section data;
receiving an editing instruction;
obtaining an edited central line of the target blood vessel section based on the editing instruction;
constructing a corresponding target blood vessel section according to the edited central line of the target blood vessel section;
and displaying the target blood vessel section.
In one embodiment, the receiving an edit instruction includes:
receiving a cutting instruction, wherein the cutting instruction comprises cutting area data;
the obtaining of the edited central line of the target blood vessel section based on the editing instruction comprises:
determining a corresponding initial target blood vessel section based on the cutting instruction, and acquiring an initial target blood vessel section central line corresponding to the initial target blood vessel section;
judging whether each centerline point of the centerline of the initial target blood vessel segment is positioned in the cutting area data or not;
and when the centerline point is located in the cutting area data, determining the centerline point as a target centerline point corresponding to the cutting instruction, and deleting the target centerline point from the initial target vessel segment centerline to obtain an edited target vessel segment centerline.
In one embodiment, the constructing a corresponding target vessel segment according to the edited target vessel segment centerline includes:
acquiring initial target blood vessel segment data corresponding to the initial target blood vessel segment;
deleting the blood vessel point data corresponding to the cutting area data from the initial target blood vessel segment data to obtain processed target blood vessel segment data;
and constructing a corresponding target blood vessel section according to the processed target blood vessel section data and the edited central line of the target blood vessel section.
In one embodiment, the receiving an edit instruction includes:
receiving a modification instruction, wherein the modification instruction comprises a blood vessel section identifier of an initial target blood vessel section to be modified and regional data to be modified;
the obtaining of the edited central line of the target blood vessel section based on the editing instruction comprises:
acquiring an initial target blood vessel section central line of the initial target blood vessel section to be modified according to the blood vessel section identification;
according to the data of the area to be modified, splitting the central line of the initial target blood vessel section to obtain a first central line corresponding to the data of the area to be modified and a second central line which is not modified;
and modifying the vessel name and/or the vessel segment identifier of the first central line to obtain a modified first central line.
In one embodiment, the constructing a corresponding target vessel segment according to the edited target vessel segment centerline includes:
acquiring initial target blood vessel section data of the initial target blood vessel section to be modified according to the blood vessel section identification;
extracting blood vessel point data corresponding to the data of the area to be modified from the initial target blood vessel segment data to obtain first blood vessel segment data to be modified;
deleting the first vessel segment data from the initial target vessel segment data to obtain second vessel segment data which is not modified;
modifying the vessel name and/or vessel segment identification of the first vessel segment data to obtain modified first vessel segment data;
and constructing a corresponding first target blood vessel section according to the modified first central line and the modified first blood vessel section data, and constructing a corresponding second target blood vessel section according to the second central line and the second blood vessel section data.
In one embodiment, the receiving an edit instruction includes:
receiving an adding instruction, wherein the adding instruction carries the data of the blood vessel section to be added and the blood vessel section identification of the added initial target blood vessel section;
the obtaining of the edited central line of the target blood vessel section based on the editing instruction comprises:
acquiring an initial target blood vessel section central line and initial target blood vessel section data of the added initial target blood vessel section according to the blood vessel section identification;
generating combined vessel segment data based on the vessel segment data to be added and the initial target vessel segment data;
determining a corresponding central line of the combined vessel section according to the combined vessel section data;
generating a target vessel segment centerline based on the initial target vessel segment centerline and the combined vessel segment centerline.
In one embodiment, the acquiring blood vessel segment data of the detection object includes:
acquiring scanning data of a detection object;
segmenting the scanning data to generate original blood vessel segment data corresponding to the object to be detected;
performing skeletonization and thinning processing on the original blood vessel segment data to obtain blood vessel segment central lines corresponding to the blood vessel segments;
and determining the vessel segment data corresponding to each vessel segment from the original vessel segment data based on the centerline of each vessel segment.
In one embodiment, the method further comprises:
obtaining the center line of the blood vessel section of each blood vessel section which is not edited and the corresponding data of the blood vessel section;
and displaying each unedited blood vessel section and each target blood vessel section based on the center line of each unedited blood vessel section and the corresponding blood vessel section data, and the center line of each edited target blood vessel section and the target blood vessel section data.
A blood vessel display device, the device comprising:
the blood vessel section data acquisition module is used for acquiring blood vessel section data of a detection object, wherein the blood vessel section data comprises a blood vessel section central line of each blood vessel section and corresponding blood vessel section data;
the editing instruction receiving module is used for receiving an editing instruction;
the editing processing module is used for obtaining the center line of the edited target blood vessel section based on the editing instruction;
the blood vessel construction display module is used for constructing a corresponding target blood vessel section according to the edited central line of the target blood vessel section;
and the display module is used for displaying the target blood vessel section.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method of any of the above embodiments when the processor executes the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the above embodiments.
According to the blood vessel display method, the blood vessel display device, the computer equipment and the readable storage medium, the blood vessel section data of the detection object are obtained, the blood vessel section data comprise the blood vessel section central line of each blood vessel section and the corresponding blood vessel section data, then the editing instruction is received, the edited target blood vessel section central line is obtained based on the editing instruction, further, the corresponding target blood vessel section is constructed according to the edited target blood vessel section central line, and the display is carried out. Therefore, when the blood vessel is edited at every time, the blood vessel segment central line can be edited according to the editing instruction, the target blood vessel segment central line is generated, the target blood vessel is constructed and displayed according to the edited target blood vessel segment central line, and the blood vessel segment data is edited in a traditional mode.
Drawings
FIG. 1 is a diagram illustrating an exemplary embodiment of a method for displaying a blood vessel;
FIG. 2 is a flow chart illustrating a method for displaying a blood vessel according to an embodiment;
FIG. 3 is a flow chart illustrating a method for displaying a blood vessel according to another embodiment;
FIG. 4 is a block diagram of a blood vessel display device according to an embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The blood vessel display method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. Specifically, the user may acquire scan data of the object to be detected through the acquisition terminal 1021 and send the scan data to the server 104, so that the server 104 may acquire blood vessel data of the object to be detected based on the scan data, where the blood vessel data includes a blood vessel segment center line of each blood vessel segment and corresponding blood vessel segment data. Then, the server 104 may receive the editing instruction sent by the editing terminal 1022, and perform editing processing on the centerline of the target blood vessel segment based on the editing instruction to obtain the centerline of the edited target blood vessel segment, and construct a corresponding target blood vessel segment according to the centerline of the edited target blood vessel segment. Further, the server 104 may construct and display a corresponding target blood vessel segment according to the processed target blood vessel segment data and the edited target blood vessel segment center line. Preferably, the server 104 may display all of the vessel segments. The acquisition terminal 1021 may be, but is not limited to, various devices capable of scanning a detection object, for example, but not limited to, a CT terminal, a magnetic resonance terminal, and the like, the editing terminal 1022 may be, but is not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a blood vessel display method is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
step S202, blood vessel data of a detection object is obtained, wherein the blood vessel data comprises the blood vessel section central line of each blood vessel section and the corresponding blood vessel section data.
The subject to be tested is a subject to be tested in medical tests, and may be a patient with a disease or a subject such as a volunteer in a clinical trial, for example.
In this embodiment, the blood vessel data is data corresponding to each blood vessel segment including a detection target, and may include, for example, a blood vessel segment center line of each blood vessel segment, which may also be referred to as a blood vessel skeleton line, and may further include blood vessel segment data of each blood vessel segment, that is, data of each point constituting a blood vessel. The vessel segment data may also be referred to as a three-dimensional vessel mask.
It will be understood by those skilled in the art that the vessel is a three-dimensional vessel, and the coordinate position of each point in the vessel segment data may include coordinates in three dimensions x, y, and z. Similarly, the centerline of the vessel segment may also be composed of a plurality of points, and the position coordinates of each point may also be coordinates including three dimensions of x, y, and z.
In this embodiment, the blood vessel data may be data including a plurality of blood vessel segments, and specifically may include a blood vessel segment centerline set and a blood vessel segment data set, where the blood vessel segment centerline set includes blood vessel segment centerlines of the plurality of blood vessel segments, and the blood vessel segment data set includes blood vessel segment data of the plurality of blood vessel segments.
In this embodiment, each vessel Segment centerline may include a corresponding vessel identifier (denoted as Segment ID), a centerline voxel set (i.e., the points and coordinate locations thereof that make up the vessel Segment centerline), and a vessel radius r. Each vessel Segment data may include a corresponding vessel identification (denoted as Segment ID) and a vessel Segment voxel set (i.e., the individual points and their coordinate locations that make up the vessel Segment data).
In this embodiment, the server may scan the detection object through the scanning terminal, for example, through CT scanning or magnetic resonance device scanning, to obtain corresponding scanning data, and obtain blood vessel data of the detection object based on the obtained scanning data.
In this embodiment, after acquiring the blood vessel data of the detection object, the server may construct a corresponding blood vessel according to the blood vessel data, that is, construct a tubular network model of the corresponding blood vessel, and send the tubular network model to the terminal, so as to perform three-dimensional display through the terminal.
In step S204, an editing instruction is received.
The editing instruction refers to data for editing a blood vessel segment in the blood vessel data.
As described in the background, in practical applications, in order to obtain a more complete and accurate segmentation result of a blood vessel, a blood vessel segment needs to be edited by frequent editing operations.
In this embodiment, a user may edit a blood vessel displayed by the terminal to generate a corresponding editing instruction, and send the corresponding editing instruction to the server, so that the server performs subsequent processing after receiving the corresponding editing instruction.
And step S206, obtaining the edited central line of the target blood vessel section based on the editing instruction.
And S208, constructing a corresponding target blood vessel section according to the edited central line of the target blood vessel section.
In this embodiment, after the server obtains the editing instruction, the server may perform editing processing on the blood vessel segment according to the editing instruction.
Specifically, the server determines a corresponding target blood vessel section according to the editing instruction, and then edits a target blood vessel section center line corresponding to the target blood vessel section to obtain a corresponding target blood vessel section center line.
Further, the server may perform the same processing on the corresponding target vessel segment data according to the editing of the target vessel segment center line to obtain the processed target vessel segment data.
In this embodiment, the editing instruction may be an editing instruction simultaneously corresponding to a plurality of blood vessel segments, and the server may perform editing processing on the plurality of blood vessel segments simultaneously in parallel with the thread.
And step S208, displaying the target blood vessel section.
In this embodiment, after obtaining the processed target blood vessel segment data and the edited target blood vessel segment center line, the server may construct a blood vessel corresponding to the target blood vessel segment according to the manner described above, and send the blood vessel to the terminal for three-dimensional display.
Specifically, the method further comprises: obtaining the center line of the blood vessel section of each blood vessel section which is not edited and the corresponding data of the blood vessel section; and displaying each unedited blood vessel section and each target blood vessel section based on the center line of each unedited blood vessel section and the corresponding blood vessel section data, and the center line of each edited target blood vessel section and the target blood vessel section data.
In this embodiment, when constructing a blood vessel corresponding to a target blood vessel segment, all blood vessels of a detection object may be constructed, that is, the unedited blood vessel segment and the edited target blood vessel segment both perform three-dimensional construction and three-dimensional display of the blood vessel, so that the entire blood vessel construction result may be displayed through the terminal.
In the blood vessel display method, the blood vessel section data of the detection object is obtained, the blood vessel section data comprises the blood vessel section central line of each blood vessel section and the corresponding blood vessel section data, then the editing instruction is received, the edited target blood vessel section central line is obtained based on the editing instruction, and further, the corresponding target blood vessel section is constructed and displayed according to the edited target blood vessel section central line. Therefore, when the blood vessel is edited at every time, the blood vessel segment central line can be edited according to the editing instruction, the target blood vessel segment central line is generated, the target blood vessel is constructed and displayed according to the edited target blood vessel segment central line, and the blood vessel segment data is edited in a traditional mode.
In one embodiment, the vessel segment centerline may include a first number of centerline points, the vessel segment data may include a second number of vessel point data, and there is a correspondence between each centerline point and at least one vessel point data in the same vessel segment.
As previously described, each vessel segment centerline may include a corresponding vessel segment identification, a set of centerline voxels, and a vessel radius r, and each vessel segment data may include a corresponding vessel segment identification and a set of vessel segment voxels. I.e. each vessel segment centerline may comprise a plurality of centerline voxels, i.e. a first number of centerline points, and each vessel segment data may comprise a plurality of vessel segment voxels, i.e. a second number of vessel point data.
In this embodiment, there is a corresponding relationship between each centerline point in the same vessel segment and at least one vessel segment point data, that is, for a certain centerline voxel in the vessel segment centerline, there may be a corresponding relationship between at least one vessel segment voxel and its corresponding vessel segment data in the corresponding vessel segment data.
In this embodiment, processing the corresponding target vessel segment data according to the edited target vessel segment centerline to obtain processed target vessel segment data may include: and processing the corresponding target vessel segment data according to the edited central line of the target vessel segment and the corresponding relation to obtain the processed target vessel segment data.
In this embodiment, after editing the target blood vessel segment centerline based on the editing instruction, the server may process the blood vessel segment point data corresponding to the edited blood vessel segment centerline point according to the corresponding correlation between the blood vessel segment centerline point and the blood vessel segment point data, so as to obtain the processed target blood vessel segment data.
It should be noted that the editing instruction may include at least one of a cutting instruction, a modifying instruction, and an adding instruction, and the following description will describe the editing instructions listed above one by one.
In one embodiment, receiving the editing instruction may include: and receiving a cutting instruction, wherein the cutting instruction comprises cutting area data.
In one embodiment, obtaining the edited centerline of the target blood vessel segment based on the editing instruction includes: determining a corresponding initial target blood vessel section based on the cutting instruction, and acquiring an initial target blood vessel section central line corresponding to the initial target blood vessel section; judging whether each centerline point of the centerline of the initial target blood vessel section is positioned in the cutting area data or not; and when the center line point is positioned in the cutting area data, determining the center line point as a target center line point corresponding to the cutting instruction, and deleting the target center line point from the initial target blood vessel section center line to obtain an edited target blood vessel section center line.
In one embodiment, constructing a corresponding target vessel segment according to the edited target vessel segment centerline includes: acquiring initial target blood vessel segment data corresponding to the initial target blood vessel segment; deleting the blood vessel point data corresponding to the cutting area data from the initial target blood vessel segment data to obtain processed target blood vessel segment data; and constructing a corresponding target blood vessel section according to the processed target blood vessel section data and the edited central line of the target blood vessel section.
Specifically, the editing instruction may be a clipping instruction that clips a portion of the blood vessel of the detection target when editing the blood vessel.
In this embodiment, the clipping instruction may include clipping region data corresponding to the clipping region, and the clipping region data may be data of the same data type as the blood vessel segment data, that is, may be a mask set.
In this embodiment, based on the cutting instruction, a corresponding target blood vessel segment is determined, and a target blood vessel segment center line corresponding to the target blood vessel segment and corresponding target blood vessel segment data are obtained; judging whether each centerline point of the centerline of the target blood vessel section is positioned in the cutting area data; when the center line point is located in the cutting area data, determining the center line point as a target center line point corresponding to the cutting instruction, and deleting the target center line point from the center line of the target blood vessel section to obtain the center line of the edited target blood vessel section; and deleting the blood vessel point data corresponding to the target central line point from the target blood vessel segment data to obtain the processed target blood vessel segment data.
In this embodiment, after receiving the clipping instruction, the server may mark the clipping region data carried in the clipping instruction as mask1, then traverse the blood vessel segment centerline set, take out the target blood vessel segment centerline of the target blood vessel to be clipped by mask1, and store the target blood vessel segment centerline in the newly created blood vessel segment centerline set.
Further, the server may retrieve target vessel segment data corresponding to a centerline of the target vessel segment from the vessel segment data set.
In this embodiment, after determining the target blood vessel segment centerline, the server may obtain each centerline voxel, i.e., each centerline point, in the target blood vessel segment centerline, and determine whether each centerline point of the target blood vessel segment centerline is located in the clipping region data mask 1.
In this embodiment, when the server determines that the centerline point is located in the tailored region data mask1, the server determines that the centerline point is the target centerline point corresponding to the tailoring instruction and deletes the target centerline point from the target blood vessel segment centerline, and when the server determines that the centerline point is not located in the tailored region data mask1, the server does not process the centerline point.
In this embodiment, the server may traverse each centerline point on the centerline of the target blood vessel segment to obtain the edited centerline of the target blood vessel segment.
Further, the blood vessel point data corresponding to the target central line point is deleted from the target blood vessel segment data, and the processed target blood vessel segment data is obtained. Alternatively, the server may determine each blood vessel point data in the target blood vessel segment data and the trimmed region data mask1, determine whether the blood vessel point data is located in the trimmed region data mask1, delete the blood vessel point data when it is determined that the blood vessel point data is located in the trimmed region data mask1, and retain the blood vessel point data when it is determined that the blood vessel point data is not located in the trimmed region data mask 1.
In this embodiment, for a blood vessel, after cutting, two blood vessel segments or a blood vessel segment may be obtained, that is, the cutting may include at least one of the following cases: cutting the edge of the blood vessel section, cutting the middle of the blood vessel section, splicing the blood vessel section obtained by cutting, and cutting between the two blood vessel sections.
The editing instruction may be a modification instruction, wherein the modification instruction mainly refers to a modification process of the vessel name and/or the vessel segment identification on the first centerline.
In one embodiment, receiving the editing instruction may include: and receiving a modification instruction, wherein the modification instruction comprises the blood vessel identification of the target blood vessel to be modified and the data of the region to be modified.
In one embodiment, obtaining the edited centerline of the target blood vessel segment based on the editing instruction includes: acquiring an initial target blood vessel section central line of an initial target blood vessel section to be modified according to the blood vessel section identification; splitting the central line of the initial target blood vessel section according to the data of the area to be modified to obtain a first central line corresponding to the data of the area to be modified and a second central line which is not modified; and modifying the vessel name and/or the vessel segment identifier of the first central line to obtain a modified first central line.
In one embodiment, the constructing a corresponding target vessel segment according to the edited target vessel segment centerline includes: acquiring initial target vessel segment data of an initial target vessel segment to be modified according to the vessel segment identifier; extracting blood vessel point data corresponding to the data of the area to be modified from the initial target blood vessel segment data to obtain first blood vessel segment data to be modified; deleting the first vessel segment data from the initial target vessel segment data to obtain second vessel segment data which is not modified; modifying the vessel name and/or the vessel segment identifier of the first vessel segment data to obtain modified first vessel segment data; and constructing a corresponding first target blood vessel section according to the modified first central line and the modified first blood vessel section data, and constructing a corresponding second target blood vessel section according to the second central line and the second blood vessel section data.
Specifically, the editing instruction may refer to a modification instruction, that is, when the blood vessel segment of the detection object is edited, one or more blood vessels are modified into another blood vessel, for example, a portal blood vessel is modified into a vein blood vessel, or a part of one blood vessel is modified into a part of another blood vessel.
In this embodiment, the modification instruction may include a blood vessel Segment identifier of the target blood vessel Segment, such as the Segment ID described above, and the region data to be modified.
In the embodiment, a target blood vessel segment center line and target blood vessel segment data of a target blood vessel segment to be modified are obtained according to a blood vessel segment identifier; splitting the center line of the target blood vessel section according to the data of the area to be modified to obtain a first center line corresponding to the data of the area to be modified and a second center line which is not modified; determining first vessel segment data corresponding to the first central line and second vessel segment data corresponding to the second central line from the target vessel segment data based on the first central line and the second central line; and modifying the first central line and the first vessel segment data according to the data of the area to be modified to obtain the modified first central line and the modified first vessel segment data. Specifically, the first centerline is subjected to modification processing of a vessel name and/or a vessel segment identifier, so as to obtain a modified first centerline.
In this embodiment, after receiving the modification instruction, the server may obtain, according to the blood vessel identifier, a target blood vessel segment centerline of the target blood vessel segment to be modified from the blood vessel segment centerline set, and obtain corresponding target blood vessel segment data from the blood vessel segment data set.
Or, the server may mark the data of the region to be modified carried in the modification instruction as mask2, traverse the blood vessel segment centerline set, take out the target blood vessel segment centerline of the target blood vessel segment to be modified by mask2, and store the centerline in the newly-built blood vessel segment centerline set.
Further, the server splits the center line of the target blood vessel section according to the to-be-modified region data mask2 to obtain a first center line corresponding to the to-be-modified region data mask2 and a second center line which is not modified.
Specifically, the server may determine each centerline point in the centerline of the target blood vessel segment, determine whether each centerline point is located in the to-be-modified region data mask2, store the centerline point in the newly-created first initial centerline when the centerline point is located in the to-be-modified region data mask2, and store the centerline point in the newly-created second initial centerline when the centerline point is not located in the to-be-modified region data mask 2. The server traverses each centerline point in the centerline of the target blood vessel segment, so that a corresponding first centerline and a corresponding second centerline can be generated.
It will be appreciated by those skilled in the art that in some special cases, either the first centerline or the second centerline may not exist, for example, when all centerline points in the centerline of the target blood vessel segment are located in the region data mask2 to be modified, then the second centerline does not exist, and when all centerline points in the centerline of the target blood vessel segment are not located in the region data mask2 to be modified, then the first centerline does not exist.
In this embodiment, the server may determine, from the target vessel segment data, first vessel segment data corresponding to the first centerline and second vessel segment data corresponding to the second centerline, that is, decompose the target vessel segment data corresponding to the target vessel segment centerline into the first vessel segment data corresponding to the first centerline and the second vessel segment data corresponding to the second centerline.
Further, the server may modify the first centerline and the first vessel segment data according to the data of the area to be modified, for example, modify a vessel identifier or a vessel type, so as to obtain the modified first centerline and the modified first vessel segment data.
In one embodiment, the server may also determine, according to the to-be-modified region data mask2, first vessel segment data corresponding to the first centerline and second vessel segment data corresponding to the second centerline from the target vessel segment data, and traverse each vessel segment point data to determine whether the target vessel segment data is located in the to-be-modified region data mask2, if the target vessel segment data is located in the to-be-modified region data mask2, determine that the vessel segment point data is the first vessel segment data corresponding to the first centerline, and if the target vessel segment data is not located in the to-be-modified region data mask2, determine that the vessel segment point data is the second vessel segment data corresponding to the second centerline.
In one embodiment, receiving the editing instruction may include: and receiving an adding instruction, wherein the adding instruction carries the data of the blood vessel section to be added and the blood vessel section identification of the added initial target blood vessel section.
In one embodiment, obtaining the edited centerline of the target blood vessel segment based on the editing instruction includes: acquiring an initial target blood vessel section central line and initial target blood vessel section data of the added initial target blood vessel section according to the blood vessel section identification; generating combined vessel segment data based on the vessel segment data to be added and the initial target vessel segment data; determining a corresponding central line of the combined vessel section according to the data of the combined vessel section; and generating a target vessel segment central line based on the initial target vessel segment central line and the combined vessel segment central line.
Specifically, the editing instruction may be an addition instruction, that is, when the blood vessel segment of the detection object is edited, the blood vessel segment is added to one or more blood vessel segments.
In this embodiment, the adding instruction may include the blood vessel Segment data to be added of the blood vessel Segment to be added and the blood vessel Segment identifier, i.e. Segment ID, of the target blood vessel Segment to be added.
In the embodiment, according to the vessel segment identifier, obtaining an initial target vessel segment center line of the added initial target vessel segment and initial target vessel segment data; generating combined vessel segment data based on the vessel segment data to be added and the initial target vessel segment data; determining a corresponding central line of the combined vessel section according to the data of the combined vessel section; and generating a target vessel segment central line based on the initial target vessel segment central line and the combined vessel segment central line.
Specifically, the server may screen out a target blood vessel section center line of the added target blood vessel section corresponding to the blood vessel section identifier from the blood vessel section center line set according to the blood vessel section identifier, and store the target blood vessel section center line in the newly-built blood vessel section center line set, and acquire target blood vessel section data from the blood vessel section data set, and store the target blood vessel section data in the newly-built blood vessel section data set.
In this embodiment, the server may perform skeletonization refinement processing according to the combined vessel segment data to obtain a combined vessel segment centerline.
Further, the server may generate a target vessel segment centerline from the initial target vessel segment centerline and the combined vessel segment centerline.
Further, the server may obtain blood vessel point data from the combined blood vessel segment data according to the target blood vessel segment center line after the adding processing, and add the blood vessel point data to the target blood vessel segment data to obtain the processed target blood vessel segment data.
In one embodiment, the method for generating a target vessel segment centerline based on the initial target vessel segment centerline and the combined vessel centerline includes: obtaining an overlapping relation according to the central line of each combined blood vessel section and the data of the initial target blood vessel section; and processing the central line of the combined blood vessel section and the central line of the initial target blood vessel section according to the overlapping relations, and generating the central line of the target blood vessel section based on the processed combined central line and the central line of the initial target blood vessel section. Constructing a corresponding target blood vessel section according to the edited central line of the target blood vessel section, wherein the construction comprises the following steps: according to the central line of each blood vessel section, the combined blood vessel section data is split to generate each blood vessel section data corresponding to the central line of each blood vessel section; processing each blood vessel segment data according to each overlapping relation, and obtaining target blood vessel segment data based on the processed blood vessel segment data and the initial target blood vessel segment data; and constructing a corresponding target blood vessel section based on the target blood vessel section data and the target blood vessel section central line.
In one embodiment, processing the combined centerline and the initial target vessel segment centerline according to each of the overlapping relationships, and generating a target vessel segment centerline based on the processed combined centerline and the initial target vessel segment centerline, includes: when the overlapping relation is all overlapping, deleting the corresponding blood vessel section central line from the combined blood vessel central line; when the overlapping relation is non-overlapping, keeping the central line of the vessel section in the central line of the combined vessel; when the overlapping relationship is partial overlapping, the vessel segment central line in the combined vessel central line is reserved, and the central line point of the overlapping part is deleted from the corresponding initial target vessel segment central line; traversing the central lines of all the blood vessel sections to obtain a processed combined central line and a processed initial target blood vessel section central line; adding the processed combined center line to the processed initial target blood vessel section center line to obtain a target blood vessel section center line; the processing each blood vessel segment data according to each overlapping relation, and obtaining target blood vessel segment data based on the processed blood vessel segment data and the initial target blood vessel segment data, includes: when the overlapping relationship is all overlapping, deleting the blood vessel section data corresponding to all overlapping from the combined blood vessel section data; when the overlapping relationship is non-overlapping, retaining the blood vessel section data corresponding to the non-overlapping in the combined blood vessel section data; when the overlapping relationship is partial overlapping, preserving the blood vessel section data in the combined blood vessel section, and deleting the overlapping part of the partially overlapped blood vessel section data according to the initial target blood vessel section data to obtain the deleted initial target blood vessel section data; traversing each blood vessel section data to obtain processed each combined blood vessel section data and processed initial target blood vessel section data; and adding the processed combined blood vessel section data to the processed initial target blood vessel section data to obtain target blood vessel section data.
In one embodiment, acquiring blood vessel data of a detection object may include: acquiring scanning data of a detection object; segmenting the scanning data to generate blood vessel data corresponding to the object to be detected; performing skeletonization thinning processing on the blood vessel data to obtain blood vessel section central lines corresponding to the blood vessel sections; and determining blood vessel segment data corresponding to each blood vessel segment from the original blood vessel data based on the central line of each blood vessel segment.
Specifically, referring to fig. 3, the server may scan the detection object through a CT or a magnetic resonance detection system, etc. to acquire scan data of the detection object.
Further, the server may segment the scan data, for example, segment the scan data by a segmentation method based on deep learning, so as to obtain original blood vessel data corresponding to the object to be detected. The raw vessel data may include vessel segment data corresponding to each vessel.
In this embodiment, the server may perform skeletonization refinement processing on the original blood vessel data through a skeletonization refinement processing algorithm, and extract the blood vessel segment center line of each blood vessel segment.
Further, the server may obtain the blood vessel segment data corresponding to each blood vessel segment from the blood vessel segment data according to the center line of each blood vessel segment, so as to obtain the blood vessel segment data corresponding to the detection object.
It should be understood that although the steps in the flowcharts of fig. 2 and 3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 and 3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided a blood vessel display device including: a blood vessel data acquisition module 100, an editing instruction receiving module 200, an editing processing module 300, a blood vessel segment processing module 400 and a display module 500, wherein:
a blood vessel data obtaining module 100, configured to obtain blood vessel data of a detection object, where the blood vessel data includes a blood vessel segment center line of each blood vessel segment and corresponding blood vessel segment data;
an editing instruction receiving module 200, configured to receive an editing instruction;
a centerline editing module 300, configured to obtain an edited centerline of the target blood vessel segment based on the editing instruction;
a vessel segment processing module 400, configured to construct a corresponding target vessel segment according to the edited target vessel segment center line;
and the display module is used for displaying the target blood vessel section.
In one embodiment, the editing instruction receiving module 200 is configured to receive a cutting instruction, where the cutting instruction includes cutting area data;
the center line edit processing module 300 includes:
a first central line obtaining unit, configured to determine a corresponding initial target blood vessel segment based on the clipping instruction, and obtain an initial target blood vessel segment central line corresponding to the initial target blood vessel segment;
the judging unit is used for judging whether each central line point of the central line of the initial target blood vessel section is positioned in the cutting area data or not;
and the first editing unit is used for determining the central line point as a target central line point corresponding to the cutting instruction when the central line point is positioned in the cutting area data, and deleting the target central line point from the initial target blood vessel section central line to obtain an edited target blood vessel section central line.
In one embodiment, the blood vessel segment processing module 400 comprises:
a first blood vessel segment data acquisition unit for acquiring initial target blood vessel segment data corresponding to the initial target blood vessel segment;
a first deleting unit, configured to delete the blood vessel point data corresponding to the cut-down region data from the initial target blood vessel segment data, so as to obtain processed target blood vessel segment data;
and the first construction unit is used for constructing a corresponding target blood vessel section according to the processed target blood vessel section data and the edited target blood vessel section central line.
In one embodiment, the editing instruction receiving module 200 is configured to receive a modification instruction, where the modification instruction includes a blood vessel segment identifier of an initial target blood vessel segment to be modified and data of a region to be modified;
the center line edit processing module 300 includes:
a second centerline obtaining unit, configured to obtain an initial target blood vessel segment centerline of the initial target blood vessel segment to be modified according to the blood vessel segment identifier;
the splitting unit is used for splitting the central line of the initial target blood vessel section according to the data of the area to be modified to obtain a first central line corresponding to the data of the area to be modified and a second central line which is not modified;
and the first modifying unit is used for modifying the vessel name and/or the vessel segment identifier of the first central line to obtain a modified first central line.
In one embodiment, the blood vessel segment processing module 400 comprises:
a second vessel segment data obtaining unit, configured to obtain, according to the vessel segment identifier, initial target vessel segment data of the initial target vessel segment to be modified;
the extraction unit is used for extracting the blood vessel point data corresponding to the data of the area to be modified from the initial target blood vessel segment data to obtain first blood vessel segment data to be modified;
a second deleting unit configured to delete the first vessel segment data from the initial target vessel segment data to obtain second vessel segment data without modification;
the second modification unit is used for modifying the blood vessel name and/or the blood vessel section identification of the first blood vessel section data to obtain modified first blood vessel section data;
and the second construction unit is used for constructing a corresponding first target blood vessel section according to the modified first central line and the modified first blood vessel section data, and constructing a corresponding second target blood vessel section according to the second central line and the second blood vessel section data.
In one embodiment, the editing instruction receiving module 200 is configured to receive an adding instruction, where the adding instruction carries to-be-added blood vessel segment data of a to-be-added blood vessel segment and a blood vessel segment identifier of an added initial target blood vessel segment;
the center line edit processing module 300 includes:
a third center line obtaining unit, configured to obtain an initial target blood vessel segment center line of the added initial target blood vessel segment and initial target blood vessel segment data according to the blood vessel segment identifier;
a generating unit, configured to generate combined vessel segment data based on the vessel segment data to be added and the initial target vessel segment data;
the third vessel segment data acquisition unit is used for determining a corresponding combined vessel segment central line according to the combined vessel segment data;
and a third construction unit, configured to generate a target vessel segment centerline based on the initial target vessel segment centerline and the combined vessel segment centerline.
In one embodiment, the blood vessel data acquiring module 100 includes:
a scan data acquisition unit for acquiring scan data of the detection object;
the segmentation unit is used for segmenting the scanning data to generate original blood vessel data corresponding to the object to be detected;
the skeletonization unit is used for performing skeletonization thinning processing on the original blood vessel data to obtain blood vessel section central lines corresponding to the blood vessel sections;
and the blood vessel section data acquisition unit is used for determining blood vessel section data corresponding to each blood vessel section from the original blood vessel data based on the central line of each blood vessel section.
In one embodiment, the display module 500 is further configured to obtain a centerline of each vessel segment that is not edited and corresponding vessel segment data; and displaying each unedited blood vessel section and each target blood vessel section based on the center line of each unedited blood vessel section and the corresponding blood vessel section data, and the center line of each edited target blood vessel section and the target blood vessel section data.
For specific definition of the blood vessel display device, reference may be made to the above definition of the blood vessel display method, which is not described herein again. The modules in the blood vessel display device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as blood vessel data and editing instructions. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a blood vessel display method.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: obtaining blood vessel data of a detection object, wherein the blood vessel data comprises blood vessel section central lines of all blood vessel sections and corresponding blood vessel section data; receiving an editing instruction; obtaining an edited central line of the target blood vessel section based on the editing instruction; constructing a corresponding target blood vessel section according to the edited central line of the target blood vessel section; and displaying the target blood vessel section.
In one embodiment, the receiving editing instructions implemented when the processor executes the computer program includes: receiving a cutting instruction, wherein the cutting instruction comprises cutting area data; the obtaining of the edited centerline of the target blood vessel segment based on the editing instruction when the processor executes the computer program includes: determining a corresponding initial target blood vessel section based on the cutting instruction, and acquiring an initial target blood vessel section central line corresponding to the initial target blood vessel section; judging whether each centerline point of the centerline of the initial target blood vessel segment is positioned in the cutting area data or not; and when the centerline point is located in the cutting area data, determining the centerline point as a target centerline point corresponding to the cutting instruction, and deleting the target centerline point from the initial target vessel segment centerline to obtain an edited target vessel segment centerline.
In one embodiment, the constructing of the corresponding target vessel segment according to the edited centerline of the target vessel segment, which is implemented when the processor executes the computer program, includes: acquiring initial target blood vessel segment data corresponding to the initial target blood vessel segment; deleting the blood vessel point data corresponding to the cutting area data from the initial target blood vessel segment data to obtain processed target blood vessel segment data; and constructing a corresponding target blood vessel section according to the processed target blood vessel section data and the edited central line of the target blood vessel section.
In one embodiment, the receiving editing instructions implemented when the processor executes the computer program includes: receiving a modification instruction, wherein the modification instruction comprises a blood vessel section identifier of an initial target blood vessel section to be modified and regional data to be modified; the obtaining of the edited centerline of the target blood vessel segment based on the editing instruction when the processor executes the computer program includes: acquiring an initial target blood vessel section central line of the initial target blood vessel section to be modified according to the blood vessel section identification; according to the data of the area to be modified, splitting the central line of the initial target blood vessel section to obtain a first central line corresponding to the data of the area to be modified and a second central line which is not modified; and modifying the vessel name and/or the vessel segment identifier of the first central line to obtain a modified first central line.
In one embodiment, the constructing of the corresponding target vessel segment according to the edited centerline of the target vessel segment, which is implemented when the processor executes the computer program, includes: acquiring initial target blood vessel section data of the initial target blood vessel section to be modified according to the blood vessel section identification; extracting blood vessel point data corresponding to the data of the area to be modified from the initial target blood vessel segment data to obtain first blood vessel segment data to be modified; deleting the first vessel segment data from the initial target vessel segment data to obtain second vessel segment data which is not modified; modifying the vessel name and/or vessel segment identification of the first vessel segment data to obtain modified first vessel segment data; and constructing a corresponding first target blood vessel section according to the modified first central line and the modified first blood vessel section data, and constructing a corresponding second target blood vessel section according to the second central line and the second blood vessel section data.
In one embodiment, the receiving editing instructions implemented when the processor executes the computer program includes: receiving an adding instruction, wherein the adding instruction carries the data of the blood vessel section to be added and the blood vessel section identification of the added initial target blood vessel section; the obtaining of the edited centerline of the target blood vessel segment based on the editing instruction when the processor executes the computer program includes: acquiring an initial target blood vessel section central line and initial target blood vessel section data of the added initial target blood vessel section according to the blood vessel section identification; generating combined vessel segment data based on the vessel segment data to be added and the initial target vessel segment data; determining a corresponding central line of the combined vessel section according to the combined vessel section data; generating a target vessel segment centerline based on the initial target vessel segment centerline and the combined vessel segment centerline.
In one embodiment, the acquiring blood vessel data of the detection object, which is realized when the processor executes the computer program, includes: acquiring scanning data of a detection object; segmenting the scanning data to generate original blood vessel data corresponding to the object to be detected; performing skeletonization and thinning processing on the original blood vessel data to obtain blood vessel section central lines corresponding to the blood vessel sections; and determining blood vessel segment data corresponding to each blood vessel segment from the original blood vessel data based on the central line of each blood vessel segment.
In one embodiment, the processor, when executing the computer program, further performs the steps of: obtaining the center line of the blood vessel section of each blood vessel section which is not edited and the corresponding data of the blood vessel section; and displaying each unedited blood vessel section and each target blood vessel section based on the center line of each unedited blood vessel section and the corresponding blood vessel section data, and the center line of each edited target blood vessel section and the target blood vessel section data.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: obtaining blood vessel data of a detection object, wherein the blood vessel data comprises blood vessel section central lines of all blood vessel sections and corresponding blood vessel section data; receiving an editing instruction; obtaining an edited central line of the target blood vessel section based on the editing instruction; constructing a corresponding target blood vessel section according to the edited central line of the target blood vessel section; and displaying the target blood vessel section.
In one embodiment, the receiving editing instructions, implemented when the computer program is executed by the processor, includes: receiving a cutting instruction, wherein the cutting instruction comprises cutting area data; the obtaining of the edited centerline of the target blood vessel segment based on the editing instructions, which is realized when the computer program is executed by the processor, includes: determining a corresponding initial target blood vessel section based on the cutting instruction, and acquiring an initial target blood vessel section central line corresponding to the initial target blood vessel section; judging whether each centerline point of the centerline of the initial target blood vessel segment is positioned in the cutting area data or not; and when the centerline point is located in the cutting area data, determining the centerline point as a target centerline point corresponding to the cutting instruction, and deleting the target centerline point from the initial target vessel segment centerline to obtain an edited target vessel segment centerline.
In one embodiment, the constructing a corresponding target vessel segment according to the edited centerline of the target vessel segment, which is realized when the computer program is executed by the processor, includes: acquiring initial target blood vessel segment data corresponding to the initial target blood vessel segment; deleting the blood vessel point data corresponding to the cutting area data from the initial target blood vessel segment data to obtain processed target blood vessel segment data; and constructing a corresponding target blood vessel section according to the processed target blood vessel section data and the edited central line of the target blood vessel section.
In one embodiment, the receiving editing instructions, implemented when the computer program is executed by the processor, includes: receiving a modification instruction, wherein the modification instruction comprises a blood vessel section identifier of an initial target blood vessel section to be modified and regional data to be modified; the obtaining of the edited centerline of the target blood vessel segment based on the editing instructions, which is realized when the computer program is executed by the processor, includes: acquiring an initial target blood vessel section central line of the initial target blood vessel section to be modified according to the blood vessel section identification; according to the data of the area to be modified, splitting the central line of the initial target blood vessel section to obtain a first central line corresponding to the data of the area to be modified and a second central line which is not modified; and modifying the vessel name and/or the vessel segment identifier of the first central line to obtain a modified first central line.
In one embodiment, the constructing a corresponding target vessel segment according to the edited centerline of the target vessel segment, which is realized when the computer program is executed by the processor, includes: acquiring initial target blood vessel section data of the initial target blood vessel section to be modified according to the blood vessel section identification; extracting blood vessel point data corresponding to the data of the area to be modified from the initial target blood vessel segment data to obtain first blood vessel segment data to be modified; deleting the first vessel segment data from the initial target vessel segment data to obtain second vessel segment data which is not modified; modifying the vessel name and/or vessel segment identification of the first vessel segment data to obtain modified first vessel segment data; and constructing a corresponding first target blood vessel section according to the modified first central line and the modified first blood vessel section data, and constructing a corresponding second target blood vessel section according to the second central line and the second blood vessel section data.
In one embodiment, the receiving editing instructions, implemented when the computer program is executed by the processor, includes: receiving an adding instruction, wherein the adding instruction carries the data of the blood vessel section to be added and the blood vessel section identification of the added initial target blood vessel section; the obtaining of the edited centerline of the target blood vessel segment based on the editing instructions, which is realized when the computer program is executed by the processor, includes: acquiring an initial target blood vessel section central line and initial target blood vessel section data of the added initial target blood vessel section according to the blood vessel section identification; generating combined vessel segment data based on the vessel segment data to be added and the initial target vessel segment data; determining a corresponding central line of the combined vessel section according to the combined vessel section data; generating a target vessel segment centerline based on the initial target vessel segment centerline and the combined vessel segment centerline.
In one embodiment, the acquiring blood vessel data of a detection object, which is realized when the computer program is executed by the processor, includes: acquiring scanning data of a detection object; segmenting the scanning data to generate original blood vessel data corresponding to the object to be detected; performing skeletonization and thinning processing on the original blood vessel data to obtain blood vessel section central lines corresponding to the blood vessel sections; and determining blood vessel segment data corresponding to each blood vessel segment from the original blood vessel data based on the central line of each blood vessel segment.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining the center line of the blood vessel section of each blood vessel section which is not edited and the corresponding data of the blood vessel section; and displaying each unedited blood vessel section and each target blood vessel section based on the center line of each unedited blood vessel section and the corresponding blood vessel section data, and the center line of each edited target blood vessel section and the target blood vessel section data.
In an embodiment, a computer program product is provided, comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A method of displaying a blood vessel, the method comprising:
obtaining blood vessel data of a detection object, wherein the blood vessel data comprises blood vessel section central lines of all blood vessel sections and corresponding blood vessel section data;
receiving an editing instruction;
obtaining an edited central line of the target blood vessel section based on the editing instruction;
constructing a corresponding target blood vessel section according to the edited central line of the target blood vessel section;
and displaying the target blood vessel section.
2. The method of claim 1, wherein receiving the editing instruction comprises:
receiving a cutting instruction, wherein the cutting instruction comprises cutting area data;
the obtaining of the edited central line of the target blood vessel section based on the editing instruction comprises:
determining a corresponding initial target blood vessel section based on the cutting instruction, and acquiring an initial target blood vessel section central line corresponding to the initial target blood vessel section;
judging whether each centerline point of the centerline of the initial target blood vessel segment is positioned in the cutting area data or not;
and when the centerline point is located in the cutting area data, determining the centerline point as a target centerline point corresponding to the cutting instruction, and deleting the target centerline point from the initial target vessel segment centerline to obtain an edited target vessel segment centerline.
3. The method according to claim 2, wherein constructing a corresponding target vessel segment according to the edited target vessel segment centerline comprises:
acquiring initial target blood vessel segment data corresponding to the initial target blood vessel segment;
deleting the blood vessel point data corresponding to the cutting area data from the initial target blood vessel segment data to obtain processed target blood vessel segment data;
and constructing a corresponding target blood vessel section according to the processed target blood vessel section data and the edited central line of the target blood vessel section.
4. The method of claim 1, wherein receiving the editing instruction comprises:
receiving a modification instruction, wherein the modification instruction comprises a blood vessel section identifier of an initial target blood vessel section to be modified and regional data to be modified;
the obtaining of the edited central line of the target blood vessel section based on the editing instruction comprises:
acquiring an initial target blood vessel section central line of the initial target blood vessel section to be modified according to the blood vessel section identification;
according to the data of the area to be modified, splitting the central line of the initial target blood vessel section to obtain a first central line corresponding to the data of the area to be modified and a second central line which is not modified;
and modifying the vessel name and/or the vessel segment identifier of the first central line to obtain a modified first central line.
5. The method according to claim 4, wherein constructing a corresponding target vessel segment according to the edited target vessel segment centerline comprises:
acquiring initial target blood vessel section data of the initial target blood vessel section to be modified according to the blood vessel section identification;
extracting blood vessel point data corresponding to the data of the area to be modified from the initial target blood vessel segment data to obtain first blood vessel segment data to be modified;
deleting the first vessel segment data from the initial target vessel segment data to obtain second vessel segment data which is not modified;
modifying the vessel name and/or vessel segment identification of the first vessel segment data to obtain modified first vessel segment data;
and constructing a corresponding first target blood vessel section according to the modified first central line and the modified first blood vessel section data, and constructing a corresponding second target blood vessel section according to the second central line and the second blood vessel section data.
6. The method of claim 1, wherein receiving the editing instruction comprises:
receiving an adding instruction, wherein the adding instruction carries the data of the blood vessel section to be added and the blood vessel section identification of the added initial target blood vessel section;
the obtaining of the edited central line of the target blood vessel section based on the editing instruction comprises:
acquiring an initial target blood vessel section central line and initial target blood vessel section data of the added initial target blood vessel section according to the blood vessel section identification;
generating combined vessel segment data based on the vessel segment data to be added and the initial target vessel segment data;
determining a corresponding central line of the combined vessel section according to the combined vessel section data;
generating a target vessel segment centerline based on the initial target vessel segment centerline and the combined vessel segment centerline.
7. The method of claim 1, wherein the acquiring blood vessel data of the test object comprises:
acquiring scanning data of a detection object;
segmenting the scanning data to generate original blood vessel data corresponding to the object to be detected;
performing skeletonization and thinning processing on the original blood vessel data to obtain blood vessel section central lines corresponding to the blood vessel sections;
and determining blood vessel segment data corresponding to each blood vessel segment from the original blood vessel data based on the central line of each blood vessel segment.
8. The method according to any one of claims 1 to 7, further comprising:
obtaining the center line of the blood vessel section of each blood vessel section which is not edited and the corresponding data of the blood vessel section;
and displaying each unedited blood vessel section and each target blood vessel section based on the center line of each unedited blood vessel section and the corresponding blood vessel section data, and the center line of each edited target blood vessel section and the target blood vessel section data.
9. A blood vessel display device, characterized in that the device comprises:
the blood vessel section data acquisition module is used for acquiring blood vessel section data of a detection object, wherein the blood vessel section data comprises a blood vessel section central line of each blood vessel section and corresponding blood vessel section data;
the editing instruction receiving module is used for receiving an editing instruction;
the editing processing module is used for obtaining the center line of the edited target blood vessel section based on the editing instruction;
the blood vessel construction display module is used for constructing a corresponding target blood vessel section according to the edited central line of the target blood vessel section;
and the display module is used for displaying the target blood vessel section.
10. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN202111614404.6A 2021-12-23 2021-12-27 Blood vessel display method, blood vessel display device, computer equipment and readable storage medium Pending CN114334099A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111614404.6A CN114334099A (en) 2021-12-27 2021-12-27 Blood vessel display method, blood vessel display device, computer equipment and readable storage medium
US18/088,088 US20230206576A1 (en) 2021-12-23 2022-12-23 Vessel displaying method, computer device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111614404.6A CN114334099A (en) 2021-12-27 2021-12-27 Blood vessel display method, blood vessel display device, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114334099A true CN114334099A (en) 2022-04-12

Family

ID=81012703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111614404.6A Pending CN114334099A (en) 2021-12-23 2021-12-27 Blood vessel display method, blood vessel display device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114334099A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269257A (en) * 2018-03-05 2018-07-10 四川和生视界医药技术开发有限公司 The edit methods and editing device of retinal vessel
CN109448004A (en) * 2018-10-26 2019-03-08 强联智创(北京)科技有限公司 A kind of intercept method and system of the intracranial vessel image based on center line
CN113516700A (en) * 2021-07-07 2021-10-19 上海商汤智能科技有限公司 Image processing method, image processing device, related equipment and storage medium
CN113616226A (en) * 2021-09-14 2021-11-09 上海联影医疗科技股份有限公司 Blood vessel analysis method, system, device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269257A (en) * 2018-03-05 2018-07-10 四川和生视界医药技术开发有限公司 The edit methods and editing device of retinal vessel
CN109448004A (en) * 2018-10-26 2019-03-08 强联智创(北京)科技有限公司 A kind of intercept method and system of the intracranial vessel image based on center line
CN113516700A (en) * 2021-07-07 2021-10-19 上海商汤智能科技有限公司 Image processing method, image processing device, related equipment and storage medium
CN113616226A (en) * 2021-09-14 2021-11-09 上海联影医疗科技股份有限公司 Blood vessel analysis method, system, device and storage medium

Similar Documents

Publication Publication Date Title
JP4545169B2 (en) Image display method, apparatus and program
CN110310256A (en) Coronary stenosis detection method, device, computer equipment and storage medium
CN111369525B (en) Image analysis method, apparatus and storage medium
CN113538471B (en) Plaque segmentation method, plaque segmentation device, computer equipment and storage medium
CN113516623A (en) Puncture path checking method and device, computer equipment and readable storage medium
CN111161269A (en) Image segmentation method, computer device and readable storage medium
CN111340756A (en) Medical image lesion detection and combination method, system, terminal and storage medium
CN115984305A (en) Method for generating intracranial aneurysm blood vessel model and computer-readable storage medium
CN111312374B (en) Medical image processing method, medical image processing device, storage medium and computer equipment
CN112115860A (en) Face key point positioning method and device, computer equipment and storage medium
CN111584025A (en) Image report generation method, device and storage medium
CN113129418B (en) Target surface reconstruction method, device, equipment and medium based on three-dimensional image
CN110992310A (en) Method and device for determining partition where mediastinal lymph node is located
CN114445412A (en) Blood vessel segmentation method, device and storage medium
CN113744223A (en) Blood vessel risk assessment method, computer device, and storage medium
CN114334099A (en) Blood vessel display method, blood vessel display device, computer equipment and readable storage medium
JP7187680B2 (en) LINE STRUCTURE EXTRACTION APPARATUS AND METHOD, PROGRAM AND TRAINED MODEL
JP4379706B2 (en) Region extraction method
CN113064674A (en) Method and device for expanding state machine logic, storage medium and electronic device
CN111161240A (en) Blood vessel classification method, computer device and readable storage medium
KR20200101772A (en) Apparatus and method for displaying consecutive nodule images automatically based on machine learning
CN110738664B (en) Image positioning method and device, computer equipment and storage medium
CN110599560B (en) Magnetic resonance imaging method, device, storage medium and computer equipment
CN109524087B (en) Organization image processing method, organization image processing device, storage medium and computer equipment
JP2019512284A (en) System and method for supporting surgery in the presence of tissue deformation

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