CN114283928A - Blood vessel center line editing method and device, computer equipment and storage medium - Google Patents

Blood vessel center line editing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114283928A
CN114283928A CN202111591503.7A CN202111591503A CN114283928A CN 114283928 A CN114283928 A CN 114283928A CN 202111591503 A CN202111591503 A CN 202111591503A CN 114283928 A CN114283928 A CN 114283928A
Authority
CN
China
Prior art keywords
blood vessel
point
intersection point
surface intersection
line direction
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
CN202111591503.7A
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 CN202111591503.7A priority Critical patent/CN114283928A/en
Publication of CN114283928A publication Critical patent/CN114283928A/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 application relates to a three-dimensional blood vessel center line editing method, a three-dimensional blood vessel center line editing device, computer equipment and a storage medium. The method comprises the following steps: receiving a vessel center line editing instruction; acquiring a corresponding point on the center line of the blood vessel according to the editing instruction of the center line of the blood vessel; respectively acquiring a front surface intersection point and a rear surface intersection point of the blood vessel in the current sight line direction based on the corresponding points extending along the current sight line direction; and determining the depth information of the corresponding point according to the front surface intersection point and the rear surface intersection point. By adopting the method, the accuracy of editing the three-dimensional blood vessel center line can be improved.

Description

Blood vessel center line editing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of image processing technology of medical images, and in particular, to a method and an apparatus for editing a blood vessel centerline, a computer device, and a storage medium.
Background
Various problems such as plaque, stenosis and the like often exist in lumen structures such as blood vessels in a human body, and the state of the blood vessels is often required to be evaluated in medicine. The central line of the blood vessel is an important basis for the application of blood vessel curved surface expansion, blood vessel cross section viewing, clinical operation guidance and the like. Because the human body structure is more complicated, there may be errors in the blood vessel center line extracted according to the medical image, and it needs to be corrected. The current main editing methods comprise MPR editing and VR editing, the center line needs to be modified layer by layer on an MPR image, the reading time is long, the modification process is complex, and the blood vessel information is not comprehensive enough; VR editing easily edits the centerline out of the vascular tissue, and the centerline is not smooth.
Disclosure of Invention
In view of the above, it is necessary to provide a blood vessel centerline editing method, a device, a computer device, and a storage medium capable of improving accuracy of blood vessel centerline editing.
In a first aspect, the present application provides a vessel centerline editing method, the method comprising:
receiving a vessel center line editing instruction;
acquiring a corresponding point on the center line of the blood vessel according to the editing instruction of the center line of the blood vessel;
respectively acquiring a front surface intersection point and a rear surface intersection point of the blood vessel in the current sight line direction based on the corresponding points extending along the current sight line direction;
and determining the depth information of the corresponding point according to the front surface intersection point and the rear surface intersection point.
In one embodiment, the extending in the current gaze direction based on the corresponding point includes:
acquiring a current sight line direction, and acquiring an intersection point of a front surface and a rear surface of an object in the current sight line direction;
generating a unit vector according to the front surface intersection point and the rear surface intersection point;
proceeding sequentially from the corresponding point along the unit vector direction by at least one unit vector length.
In one embodiment, the method further comprises:
when the corresponding point does not contact with the vascular tissue along the extension of the current sight line direction, acquiring the previous point of the corresponding point on the central line of the blood vessel;
and taking the depth information of the previous point as the depth information of the corresponding point.
In one embodiment, the method further comprises:
when the non-vascular tissue is extended along the current sight line direction based on the corresponding point and is contacted first, acquiring a preset length;
acquiring a target point intersecting the non-vascular tissue in the current sight line direction, and judging whether the length extending along the current sight line direction based on the target point is greater than or equal to the preset length;
and when the length extending along the current sight line direction based on the target point is smaller than the preset length, continuing to extend along the current sight line direction based on the target point until the front surface intersection point and the rear surface intersection point of the blood vessel in the current sight line direction are obtained when the blood vessel tissue is contacted, and continuing to calculate the depth information of the corresponding point according to the front surface intersection point and the rear surface intersection point.
In one embodiment, the method further comprises:
when the length extending along the current sight line direction based on the target point is smaller than the preset length, continuously acquiring the previous point of the corresponding point on the blood vessel center line; and taking the depth information of the previous point as the depth information of the corresponding point.
In one embodiment, before receiving the vessel centerline editing instruction, the method further includes:
receiving a blood vessel central line selection instruction through a blood vessel three-dimensional image;
and adjusting the display visual angle of the blood vessel image according to the blood vessel central line selected by the blood vessel central line selection instruction.
In one embodiment, the adjusting the display viewing angle of the blood vessel image according to the blood vessel center line selected by the blood vessel center line selection instruction includes:
calculating a target position of the blood vessel image, a characteristic point of a first blood vessel and a characteristic point of a branch to which the central line of the selected blood vessel belongs;
calculating to obtain a ray vector based on the feature point of the first blood vessel and the feature point of the branch to which the central line of the selected blood vessel belongs;
keeping the target position and the display size of the image unchanged, and simulating to rotate the three-dimensional image so as to obtain a rotating angle when the light ray vector is perpendicular to the screen inwards;
adjusting a display viewing angle of the blood vessel image based on the rotated angle.
In one embodiment, after obtaining the corresponding point on the vessel centerline according to the vessel centerline editing instruction, the method further includes:
adjusting the track information of the corresponding points;
after determining the depth information of the corresponding point according to the front surface intersection point and the back surface intersection point, the method further comprises the following steps:
and adjusting the depth information of the corresponding point.
In a second aspect, the present application also provides a vessel centerline editing apparatus, the apparatus comprising:
the editing instruction receiving module is used for receiving a vessel center line editing instruction;
the track information adjusting module is used for acquiring corresponding points on the blood vessel center line according to the blood vessel center line editing instruction;
the intersection point acquisition module is used for respectively acquiring a front surface intersection point and a rear surface intersection point of the blood vessel in the current sight line direction based on the corresponding points extending along the current sight line direction;
and the depth information adjusting module is used for determining the depth information of the corresponding point according to the front surface intersection point and the rear surface intersection point.
In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method described in any one of the above embodiments when executing the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described in any of the above embodiments.
In a fifth aspect, the present application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the method described in any one of the embodiments.
According to the blood vessel center line editing method, the blood vessel center line editing device, the computer equipment and the storage medium, after a blood vessel center line editing instruction is received, the corresponding point is determined, the track information is adjusted, and then the front surface point plus and the rear surface point plus of the blood vessel in the current sight line direction are obtained based on the current sight line direction, so that the depth information can be obtained based on the front surface point plus and the rear surface point plus, the depth of the center line point at the modification position can be automatically determined, the center line point is ensured to be located at the center of the blood vessel, the center line can be corrected rapidly, accurately and comprehensively, and the convenience in center line editing is improved.
Drawings
FIG. 1 is a flow diagram illustrating a method for vessel centerline editing in one embodiment;
FIG. 2 is a schematic diagram of an editing interface, under an embodiment;
FIG. 3 is a schematic representation of an anterior surface intersection point and a posterior surface intersection point of a blood vessel in one embodiment;
FIG. 4 is a schematic representation of an intersection of a front surface and a back surface of an object in one embodiment;
FIG. 5 is a schematic view of a centerline point located extravascularly in one embodiment;
FIG. 6 is a schematic illustration of a portion of a blood vessel that may be embedded in a superficial layer of a heart in one embodiment;
FIG. 7 is a schematic illustration of a vessel occluded by other tissue in one embodiment;
FIG. 8 is a schematic view of the intersection of the anterior surface and the posterior surface of a blood vessel in another embodiment;
FIG. 9 is a diagram illustrating a display viewing angle adjustment step in one embodiment;
FIG. 10 is a block diagram showing the structure of a blood vessel center line editing apparatus according to an embodiment;
FIG. 11 is a diagram illustrating an internal structure of a computer device in one 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.
In one embodiment, as shown in fig. 1, a method for editing a blood vessel centerline is provided, and this embodiment is illustrated by applying the method to a terminal, it is to be understood that the method may also be applied to a server, and may also be applied to a system including a terminal and a server, and is implemented by interaction between the terminal and the server. In this embodiment, the method includes the steps of:
s102: vessel centerline editing instructions are received.
Specifically, the vessel centerline is automatically extracted in advance according to an algorithm, and since the vessel centerline is automatically extracted, there may be an error, and it needs to be corrected. Therefore, the terminal can display the medical image of the corresponding part so as to select the corresponding blood vessel central line and edit the blood vessel central line.
Optionally, the terminal acquires medical data obtained by scanning, reconstructs the medical data to obtain a three-dimensional image, and displays each part in the three-dimensional image in a three-dimensional structure, so that a point set of a centerline of the blood vessel is viewed on the three-dimensional structure based on the sight line direction, and is edited.
Optionally, the three-dimensional image includes primitives of all center lines, but only displays the selected blood vessel center line, when the mouse moves to a certain position of the three-dimensional image, and the terminal detects that the blood vessel center line exists at the position, the blood vessel center line is automatically presented, and then the terminal can receive an editing instruction for the blood vessel center line. Specifically, refer to the schematic diagram of the editing interface shown in fig. 2.
In one embodiment, the editing instructions include selection, deletion, renaming, modification operations, and the like. In other embodiments, the terminal provides a set of centerline lists for the user to switch between selection, deletion, renaming, and modification operations. When the user selects one central line, the optimal view angle for viewing the current central line is automatically calculated, and the current central line is displayed under the optimal view angle.
S104: and acquiring a corresponding point on the center line of the blood vessel according to the editing instruction of the center line of the blood vessel.
Specifically, the vessel centerline is composed of a plurality of points, and when it is determined that there is an error in the vessel centerline, the vessel centerline may be edited, for example, the point with the error on the vessel centerline is selected as the corresponding point, so as to edit the vessel centerline, including re-determining the position of the point on the vessel centerline. Wherein the position of the centerline may include being located at the center of the blood vessel in the visual field range and also being located at the center of the blood vessel in the depth direction of the blood vessel. The point of the center line of the blood vessel is positioned at the center of the blood vessel in the visual field range, and can be directly judged by the user.
S106: based on the corresponding points extending along the current visual line direction, an anterior surface intersection point and a posterior surface intersection point of the blood vessel in the current visual line direction are respectively acquired.
Specifically, the current sight line direction means that the image is directed perpendicular to the screen. The intersection point with the image is the point on the center line of the edited blood vessel on the current screen. As shown in fig. 3, a ray is emitted to the three-dimensional image based on the current visual line direction, and along the current ray direction, a front surface intersection point a of the front surface of the blood vessel and a rear surface intersection point B of the rear surface of the object on the ray line are detected.
S108: and determining the depth information of the corresponding point according to the front surface intersection point and the back surface intersection point.
Specifically, where the front surface intersection of the blood vessel in the current visual line direction is the first intersection of the visual line and the blood vessel in the current visual line direction, likewise, the back surface intersection of the blood vessel in the current visual line direction is the last intersection of the visual line and the blood vessel in the current visual line direction.
The depth information is calculated from the distance between the front surface intersection point and the back surface intersection point, such that the thickness of the blood vessel can be calculated from the distance between the front surface intersection point and the back surface intersection point, and the depth information of the point on the centerline, such as half the distance between the front surface intersection point and the back surface intersection point, can be calculated based on the thickness of the blood vessel. This results in the edited point O on the centerline of the vessel. That is, the center line of the anterior and posterior surfaces of the blood vessel is calculated and is used as the position of the center point after the position editing.
According to the three-dimensional blood vessel center line editing method, after a blood vessel center line editing instruction is received, the corresponding point is determined, the track information is adjusted, and then the front surface point and the rear surface point of intersection of the blood vessel in the current sight direction are obtained based on the current sight direction, so that the depth information can be obtained based on the front surface point and the rear surface point of intersection, the depth of the center line point at the modification position can be automatically determined, the point is ensured to be in the center of the blood vessel, the center line can be corrected quickly, accurately and comprehensively, and the convenience in center line editing is improved.
In one embodiment, extending in the current gaze direction based on the corresponding point comprises: acquiring a current sight line direction, and acquiring an intersection point of a front surface and a rear surface of an object in the current sight line direction; generating a unit vector according to the front surface intersection point and the rear surface intersection point; proceeding from the corresponding point by at least one unit vector length in sequence along the unit vector direction.
Specifically, the current direction of sight is to point the image perpendicular to the screen. The object front surface intersection point and the object rear surface intersection point in the current visual line direction are as the front surface intersection point C and the rear surface intersection point D in fig. 4.
Wherein a ray vector is calculated according to the intersection point of the front surface and the intersection point of the rear surface of the object in the current sight direction:
vRayLine=ptRayEnd-ptRayStart
wherein ptRayStart is the intersection of a ray and the front surface of the object and ptRayEnd is the intersection of a ray and the back surface of the object. Calculating the modulo vRayLine of the vector, and the unit vector
Figure BDA0003429270740000061
Starting from the front surface intersection point, the unit vector lengths are sequentially advanced along the direction of the ray vector until the object is penetrated to achieve extension in the current sight line direction based on the corresponding point.
In one embodiment, the method further comprises: when the corresponding points do not contact with the vascular tissue in the extension along the current sight line direction, acquiring the previous point of the corresponding point on the central line of the blood vessel along the current sight line direction; and taking the depth information of the previous point as the depth information of the corresponding point.
When the corresponding point extends along the current sight line direction and contacts with the blood vessel first, as shown in fig. 2 (whether the tissue which is not shown in the current three-dimensional image is contacted or not is not considered), the corresponding point continues to advance along the light ray direction until reaching the back surface of the blood vessel, the central line of the front and back surfaces of the blood vessel is calculated, and the central line position is used as the central point position after the position is edited.
When the corresponding point does not contact the blood vessel tissue based on the extension of the corresponding point along the current sight line direction, the depth of the center line point adopts the depth information of the previous point of the blood vessel center line.
For example: because coronary vessels are thin, a centerline point is easy to edit to the outside of the coronary when the centerline is edited manually, and the depth deviation of the centerline point outside the coronary needs to be ensured to be controllable, so that the point can be conveniently corrected to the correct position subsequently. Specifically, as shown in fig. 5, in this embodiment, a failure in editing causes the centerline to be edited outside the blood vessel, a ray is inserted from the direction of point E, and the depth information of the previous point on the centerline of the blood vessel is used as the depth information of the point.
In one embodiment, the method further includes: when the non-vascular tissue is extended along the current sight line direction based on the corresponding point and is contacted first, acquiring a preset length; acquiring a target point intersected with the non-vascular tissue in the current sight line direction, and judging whether the length extending along the current sight line direction based on the target point is greater than or equal to a preset length; and when the length extending along the current sight line direction based on the target point is smaller than the preset length, continuing to extend along the current sight line direction based on the target point until the front surface intersection point and the back surface intersection point of the blood vessel in the current sight line direction are obtained when the blood vessel tissue is contacted, and continuing to calculate according to the front surface intersection point and the back surface intersection point to obtain the depth information of the corresponding point.
In one embodiment, the method further comprises: when the length extending along the current sight line direction based on the target point is smaller than the preset length, continuously acquiring the previous point of the corresponding point on the blood vessel center line; and taking the depth information of the previous point as the depth information of the corresponding point.
If other visible tissues than blood vessels are contacted first, tolerance of a preset length N units is allowed, and the tracking to the deep position can be continued. This is to prevent some special situations, such as: the coronary artery on the surface of the heart may not completely emerge on the surface of the heart muscle of the atrium of the heart chamber, and part of the blood vessel may be embedded in the shallow layer of the heart; or the blood vessel is occluded by other tissues at the current angle, and particularly, as shown in fig. 6, a part of the blood vessel may be embedded in the shallow layer of the heart, and as shown in fig. 7, the blood vessel is occluded by other tissues at the current angle.
Where the value of N is found by dividing the empirically acceptable Thickness of the occluding tissue, Thickness (in mm), by the voxel Spacing (the actual physical length of a voxel represented in the medical image volume data), i.e. N ═ Thickness/Spacing.
Specifically, as shown in fig. 8, the non-vascular tissue is contacted first based on the extension of the corresponding point along the current visual line direction, the intersection point of the current visual line direction and the non-vascular tissue, i.e., the target point, i.e., point 1 in fig. 8, is obtained, then the current visual line is extended continuously, and it is determined whether the length extended along the current visual line direction based on the target point is greater than or equal to the preset length, if the length extended continuously from point 1 is less than the preset length, the extension can be continued until the blood vessel front surface (point 2) is contacted, the length from point 1 to point 2 is determined, i.e., whether the distance between the front surface intersection point and the back surface intersection point of the blood vessel in the current visual line direction is less than the preset length, and if the distance is less than the preset length, the depth information is calculated according to point 1 and point 2; if the length is larger than or equal to the preset length, continuously acquiring the previous point of the corresponding point on the center line of the blood vessel; and taking the depth information of the previous point as the depth information of the corresponding point.
In one embodiment, before receiving the vessel centerline editing instruction, the method further comprises: receiving a blood vessel central line selection instruction through a blood vessel three-dimensional image; and adjusting the display visual angle of the blood vessel three-dimensional image according to the blood vessel central line selected by the blood vessel central line selection instruction.
Specifically, the step of receiving the blood vessel center line selection instruction through the blood vessel three-dimensional image is to select a corresponding center line and then edit points on the center line. After the center line is selected, the terminal adjusts the display visual angle of the blood vessel three-dimensional image according to the selected blood vessel center line for convenient viewing.
In one embodiment, the adjusting the display view angle of the blood vessel three-dimensional image according to the blood vessel center line selected by the blood vessel center line selection instruction comprises: calculating a target position of the blood vessel three-dimensional image, a characteristic point of a first blood vessel and a characteristic point of a branch to which the central line of the selected blood vessel belongs; calculating to obtain a ray vector based on the feature point of the first blood vessel and the feature point of the branch to which the central line of the selected blood vessel belongs; keeping the target position and the display size of the three-dimensional image unchanged, and simulating to rotate the three-dimensional image so as to obtain a rotating angle when a light ray vector is perpendicular to the screen inwards; and adjusting the display visual angle of the blood vessel three-dimensional image based on the rotating angle.
The target position of the three-dimensional image of the blood vessel is preferably a central point, in other embodiments, a quarter point and the like may be selected, and is not specifically limited herein, and similarly, the feature point of the first blood vessel and the feature point of the branch to which the selected blood vessel center line belongs are also preferably central points, in other embodiments, a quarter point and the like may be selected, and is not specifically limited herein.
Specifically, as shown in fig. 9, according to the segmentation result, a three-image center point ptCenter and an aortic valve center point ptAorticValve are found; then finding out the central point ptCoronarycenter of the coronary artery branch to which the target central line belongs.
Calculating a light vector according to the central point of the aortic valve and the central point of the coronary artery branch:
vRayLine=ptAorticValve-ptCoronaryCenter
keeping the position ptCenter of the current three-dimensional image central point unchanged, keeping the display size of the three-dimensional image unchanged, and simulating a rotation image until the ray vector vRayLine is perpendicular to the screen inwards, namely the direction angle corresponding to the central line. In this way, the viewing angle and orientation of the 3D image are switched according to the calculated orientation angle.
In one embodiment, after obtaining the corresponding point on the vessel centerline according to the vessel centerline editing instruction, the method further includes: adjusting the track information of the corresponding points; after the depth information of the corresponding point is determined according to the front surface intersection point and the back surface intersection point, the method further comprises the following steps: and adjusting the depth information of the corresponding point.
Specifically, the corresponding point on the blood vessel center line is obtained according to the blood vessel center line editing instruction, the terminal adjusts the track information of the corresponding point according to the input of the user, the terminal automatically calculates the depth information of the corresponding point with the track information adjusted, and the depth information of the corresponding point is adjusted according to the calculated depth information, so that the whole editing process is completed.
In the embodiment, the trend of the center line can be conveniently checked on 3D images such as VR and Mesh, and the center line is directly edited and modified on the 3D images, so that the convenience and the accuracy of center line editing are greatly improved.
It should be understood that, although the steps in the flowcharts related to the embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence 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 a part of the steps in the flowcharts related to the above embodiments may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a three-dimensional blood vessel centerline editing apparatus for implementing the three-dimensional blood vessel centerline editing method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so that specific limitations in one or more embodiments of the three-dimensional vessel centerline editing device provided below can be referred to the limitations of the three-dimensional vessel centerline editing method in the foregoing, and details are not repeated herein.
In one embodiment, as shown in fig. 10, there is provided a three-dimensional vessel centerline editing apparatus comprising: an editing instruction receiving module 1001, a track information adjusting module 1002, an intersection point obtaining module 1003 and a depth information adjusting module 1004, wherein:
an editing instruction receiving module 1001 configured to receive a vessel centerline editing instruction;
the track information adjusting module 1002 is configured to obtain a corresponding point on a blood vessel centerline according to a blood vessel centerline editing instruction;
an intersection point obtaining module 1003, configured to extend along the current visual line direction based on the corresponding point, and respectively obtain a front surface intersection point and a rear surface intersection point of the blood vessel in the current visual line direction;
and a depth information adjusting module 1004 for determining depth information of the corresponding point according to the front surface intersection point and the back surface intersection point.
In one embodiment, the intersection obtaining module 1003 includes:
the intersection point acquisition unit is used for acquiring the current sight line direction and acquiring the intersection point of the front surface and the intersection point of the rear surface of the object in the current sight line direction;
a vector generation unit for generating a unit vector from the front surface intersection and the rear surface intersection;
and an extension unit for sequentially advancing at least one unit vector length from the corresponding point along the unit vector direction.
In one embodiment, the three-dimensional vessel centerline editing apparatus further includes:
the first depth information acquisition module is used for acquiring the previous point of the corresponding point on the blood vessel center line when the corresponding point does not contact the blood vessel tissue along the extension of the current sight line direction; and taking the depth information of the previous point as the depth information of the corresponding point.
In one embodiment, the three-dimensional vessel centerline editing apparatus further includes:
the preset length acquisition module is used for acquiring a preset length when the non-vascular tissue is extended along the current sight line direction based on the corresponding point and is contacted with the non-vascular tissue firstly;
the judging module is used for acquiring a target point intersected with the non-vascular tissue in the current sight direction and judging whether the length extending along the current sight direction based on the target point is greater than or equal to a preset length;
and the second depth information acquisition module is used for continuing to extend along the current sight line direction based on the target point until the target point contacts the vascular tissue to obtain a front surface intersection point and a rear surface intersection point of the blood vessel in the current sight line direction when the length extending along the current sight line direction based on the target point is smaller than the preset length, and continuing to calculate according to the front surface intersection point and the rear surface intersection point to obtain the depth information of the corresponding point.
In one embodiment, the three-dimensional vessel centerline editing apparatus further includes:
the third depth information acquisition module is used for continuously acquiring the previous point of the corresponding point on the blood vessel center line when the length extending along the current sight line direction based on the target point is less than the preset length; and taking the depth information of the previous point as the depth information of the corresponding point.
In one embodiment, the three-dimensional vessel centerline editing apparatus further includes:
the selection instruction receiving module is used for receiving a blood vessel central line selection instruction through a blood vessel three-dimensional image;
and the visual angle adjusting module is used for adjusting the display visual angle of the blood vessel three-dimensional image according to the blood vessel central line selected by the blood vessel central line selection instruction.
In one embodiment, the viewing angle adjusting module includes:
the characteristic point calculating unit is used for calculating a target position of the blood vessel three-dimensional image, a characteristic point of the first blood vessel and a characteristic point of a branch to which the selected blood vessel center line belongs;
the light ray vector calculation unit is used for calculating to obtain a light ray vector based on the feature point of the first blood vessel and the feature point of the branch to which the central line of the selected blood vessel belongs;
the rotation angle calculation unit is used for keeping the target position and the display size of the three-dimensional image unchanged, and acquiring a rotation angle when the three-dimensional image is simulated and rotated so that a light ray vector is perpendicular to the screen inwards;
and the visual angle adjusting unit is used for adjusting the display visual angle of the blood vessel three-dimensional image based on the rotating angle.
In one embodiment, the viewing angle adjusting module includes:
a track information adjusting module 1002, configured to adjust track information of the corresponding point;
and a depth information adjusting module 1004 for adjusting the depth information of the corresponding point.
The modules in the three-dimensional vessel centerline editing 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 terminal, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device 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 and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a three-dimensional vessel centerline editing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 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, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: receiving a vessel center line editing instruction; acquiring a corresponding point on a blood vessel central line according to a blood vessel central line editing instruction; respectively acquiring a front surface intersection point and a rear surface intersection point of the blood vessel in the current sight line direction based on the extension of the corresponding point along the current sight line direction; and determining the depth information of the corresponding point according to the front surface intersection point and the back surface intersection point.
In one embodiment, the extending in the current gaze direction based on the corresponding point, as implemented by the processor when executing the computer program, comprises: acquiring a current sight line direction, and acquiring an intersection point of a front surface and a rear surface of an object in the current sight line direction; generating a unit vector according to the front surface intersection point and the rear surface intersection point; proceeding from the corresponding point by at least one unit vector length in sequence along the unit vector direction.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the corresponding points do not contact with the vascular tissue in the extension along the current sight line direction, acquiring the previous point of the corresponding point on the central line of the blood vessel; and taking the depth information of the previous point as the depth information of the corresponding point.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the non-vascular tissue is extended along the current sight line direction based on the corresponding point and is contacted first, acquiring a preset length; acquiring a target point intersected with the non-vascular tissue in the current sight line direction, and judging whether the length extending along the current sight line direction based on the target point is greater than or equal to a preset length; and when the length extending along the current sight line direction based on the target point is smaller than the preset length, continuing to extend along the current sight line direction based on the target point until the front surface intersection point and the back surface intersection point of the blood vessel in the current sight line direction are obtained when the blood vessel tissue is contacted, and continuing to calculate according to the front surface intersection point and the back surface intersection point to obtain the depth information of the corresponding point.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the length extending along the current sight line direction based on the target point is smaller than the preset length, continuously acquiring the previous point of the corresponding point on the blood vessel center line; and taking the depth information of the previous point as the depth information of the corresponding point.
In one embodiment, the receiving the vessel centerline editing instructions, as implemented by the processor when executing the computer program, further comprises: receiving a blood vessel central line selection instruction through a blood vessel three-dimensional image; and adjusting the display visual angle of the blood vessel three-dimensional image according to the blood vessel central line selected by the blood vessel central line selection instruction.
In one embodiment, the processor, implemented when executing the computer program, adjusts the display viewing angle of the three-dimensional image of the blood vessel according to the blood vessel center line selected by the blood vessel center line selection instruction, and includes: calculating a target position of the blood vessel three-dimensional image, a characteristic point of a first blood vessel and a characteristic point of a branch to which the central line of the selected blood vessel belongs; calculating to obtain a ray vector based on the feature point of the first blood vessel and the feature point of the branch to which the central line of the selected blood vessel belongs; keeping the target position and the display size of the three-dimensional image unchanged, and simulating to rotate the three-dimensional image so as to obtain a rotating angle when a light ray vector is perpendicular to the screen inwards; and adjusting the display visual angle of the blood vessel three-dimensional image based on the rotating angle.
In one embodiment, after the processor, when executing the computer program, acquires the corresponding point on the centerline of the blood vessel according to the vessel centerline editing instruction, the method further includes: adjusting the track information of the corresponding points; after the processor determines the depth information of the corresponding point according to the front surface intersection point and the back surface intersection point when executing the computer program, the method further comprises the following steps: and adjusting the depth information of the corresponding point.
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: receiving a vessel center line editing instruction; acquiring a corresponding point on a blood vessel central line according to a blood vessel central line editing instruction; respectively acquiring a front surface intersection point and a rear surface intersection point of the blood vessel in the current sight line direction based on the extension of the corresponding point along the current sight line direction; and determining the depth information of the corresponding point according to the front surface intersection point and the back surface intersection point.
In one embodiment, the computer program, when executed by the processor, implemented to extend in the current gaze direction based on the corresponding point, comprises: acquiring a current sight line direction, and acquiring an intersection point of a front surface and a rear surface of an object in the current sight line direction; generating a unit vector according to the front surface intersection point and the rear surface intersection point; proceeding from the corresponding point by at least one unit vector length in sequence along the unit vector direction.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the corresponding points do not contact with the vascular tissue in the extension along the current sight line direction, acquiring the previous point of the corresponding point on the central line of the blood vessel; and taking the depth information of the previous point as the depth information of the corresponding point.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the non-vascular tissue is extended along the current sight line direction based on the corresponding point and is contacted first, acquiring a preset length; acquiring a target point intersected with the non-vascular tissue in the current sight line direction, and judging whether the length extending along the current sight line direction based on the target point is greater than or equal to a preset length; and when the length extending along the current sight line direction based on the target point is smaller than the preset length, continuing to extend along the current sight line direction based on the target point until the front surface intersection point and the back surface intersection point of the blood vessel in the current sight line direction are obtained when the blood vessel tissue is contacted, and continuing to calculate according to the front surface intersection point and the back surface intersection point to obtain the depth information of the corresponding point.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the length extending along the current sight line direction based on the target point is smaller than the preset length, continuously acquiring the previous point of the corresponding point on the blood vessel center line; and taking the depth information of the previous point as the depth information of the corresponding point.
In one embodiment, the computer program, when executed by the processor, further comprises, prior to receiving the vessel centerline editing instructions: receiving a blood vessel central line selection instruction through a blood vessel three-dimensional image; and adjusting the display visual angle of the blood vessel three-dimensional image according to the blood vessel central line selected by the blood vessel central line selection instruction.
In one embodiment, the vessel centerline selected by the vessel centerline selection instruction when the computer program is executed by the processor, and adjusting the display viewing angle of the vessel three-dimensional image comprises: calculating a target position of the blood vessel three-dimensional image, a characteristic point of a first blood vessel and a characteristic point of a branch to which the central line of the selected blood vessel belongs; calculating to obtain a ray vector based on the feature point of the first blood vessel and the feature point of the branch to which the central line of the selected blood vessel belongs; keeping the target position and the display size of the three-dimensional image unchanged, and simulating to rotate the three-dimensional image so as to obtain a rotating angle when a light ray vector is perpendicular to the screen inwards; and adjusting the display visual angle of the blood vessel three-dimensional image based on the rotating angle.
In one embodiment, after the computer program is executed by a processor to obtain the corresponding point on the centerline of the blood vessel according to the vessel centerline editing instruction, the computer program further comprises: adjusting the track information of the corresponding points; the computer program, when executed by the processor, further comprising, after determining depth information for a corresponding point from the front surface intersection point and the back surface intersection point: and adjusting the depth information of the corresponding point.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of: receiving a vessel center line editing instruction; acquiring a corresponding point on a blood vessel central line according to a blood vessel central line editing instruction; respectively acquiring a front surface intersection point and a rear surface intersection point of the blood vessel in the current sight line direction based on the extension of the corresponding point along the current sight line direction; and determining the depth information of the corresponding point according to the front surface intersection point and the back surface intersection point.
In one embodiment, the computer program, when executed by the processor, implemented to extend in the current gaze direction based on the corresponding point, comprises: acquiring a current sight line direction, and acquiring an intersection point of a front surface and a rear surface of an object in the current sight line direction; generating a unit vector according to the front surface intersection point and the rear surface intersection point; proceeding from the corresponding point by at least one unit vector length in sequence along the unit vector direction.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the corresponding points do not contact with the vascular tissue in the extension along the current sight line direction, acquiring the previous point of the corresponding point on the central line of the blood vessel; and taking the depth information of the previous point as the depth information of the corresponding point.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the non-vascular tissue is extended along the current sight line direction based on the corresponding point and is contacted first, acquiring a preset length; acquiring a target point intersected with the non-vascular tissue in the current sight line direction, and judging whether the length extending along the current sight line direction based on the target point is greater than or equal to a preset length; and when the length extending along the current sight line direction based on the target point is smaller than the preset length, continuing to extend along the current sight line direction based on the target point until the front surface intersection point and the back surface intersection point of the blood vessel in the current sight line direction are obtained when the blood vessel tissue is contacted, and continuing to calculate according to the front surface intersection point and the back surface intersection point to obtain the depth information of the corresponding point.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the length extending along the current sight line direction based on the target point is smaller than the preset length, continuously acquiring the previous point of the corresponding point on the blood vessel center line; and taking the depth information of the previous point as the depth information of the corresponding point.
In one embodiment, the computer program, when executed by the processor, further comprises, prior to receiving the vessel centerline editing instructions: receiving a blood vessel central line selection instruction through a blood vessel three-dimensional image; and adjusting the display visual angle of the blood vessel three-dimensional image according to the blood vessel central line selected by the blood vessel central line selection instruction.
In one embodiment, the vessel centerline selected by the vessel centerline selection instruction when the computer program is executed by the processor, and adjusting the display viewing angle of the vessel three-dimensional image comprises: calculating a target position of the blood vessel three-dimensional image, a characteristic point of a first blood vessel and a characteristic point of a branch to which the central line of the selected blood vessel belongs; calculating to obtain a ray vector based on the feature point of the first blood vessel and the feature point of the branch to which the central line of the selected blood vessel belongs; keeping the target position and the display size of the three-dimensional image unchanged, and simulating to rotate the three-dimensional image so as to obtain a rotating angle when a light ray vector is perpendicular to the screen inwards; and adjusting the display visual angle of the blood vessel three-dimensional image based on the rotating angle.
In one embodiment, after the computer program is executed by a processor to obtain the corresponding point on the centerline of the blood vessel according to the vessel centerline editing instruction, the computer program further comprises: adjusting the track information of the corresponding points; the computer program, when executed by the processor, further comprising, after determining depth information for a corresponding point from the front surface intersection point and the back surface intersection point: and adjusting the depth information of the corresponding point.
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 can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
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 vessel centerline editing, the method comprising:
receiving a vessel center line editing instruction;
acquiring a corresponding point on the center line of the blood vessel according to the editing instruction of the center line of the blood vessel;
respectively acquiring a front surface intersection point and a rear surface intersection point of the blood vessel in the current sight line direction based on the corresponding points extending along the current sight line direction;
and determining the depth information of the corresponding point according to the front surface intersection point and the rear surface intersection point.
2. The method of claim 1, wherein said extending in a current gaze direction based on the corresponding point comprises:
acquiring the current sight line direction of the corresponding point, and acquiring an intersection point of the front surface and the rear surface of the object in the current sight line direction;
generating a unit vector according to the front surface intersection point and the rear surface intersection point;
proceeding sequentially from the corresponding point along the unit vector direction by at least one unit vector length.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
when the corresponding point does not contact with the vascular tissue along the extension of the current sight line direction, acquiring the previous point of the corresponding point on the central line of the blood vessel;
and taking the depth information of the previous point as the depth information of the corresponding point.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
when the non-vascular tissue is extended along the current sight line direction based on the corresponding point and is contacted first, acquiring a preset length;
acquiring a target point intersecting the non-vascular tissue in the current sight line direction, and judging whether the length extending along the current sight line direction based on the target point is greater than or equal to the preset length;
and when the length extending along the current sight line direction based on the target point is smaller than the preset length, continuing to extend along the current sight line direction based on the target point until the front surface intersection point and the rear surface intersection point of the blood vessel in the current sight line direction are obtained when the blood vessel tissue is contacted, and continuing to calculate the depth information of the corresponding point according to the front surface intersection point and the rear surface intersection point.
5. The method of claim 4, further comprising:
when the length extending along the current sight line direction based on the target point is smaller than the preset length, continuously acquiring the previous point of the corresponding point on the blood vessel center line; and taking the depth information of the previous point as the depth information of the corresponding point.
6. The method according to claim 1 or 2, wherein before receiving the vessel centerline editing instruction, further comprising:
receiving a blood vessel central line selection instruction through a blood vessel image;
and adjusting the display visual angle of the blood vessel three-dimensional image according to the blood vessel central line selected by the blood vessel central line selection instruction.
7. The method according to claim 6, wherein the adjusting the display view angle of the blood vessel image according to the blood vessel center line selected by the blood vessel center line selection instruction comprises:
calculating a target position of the blood vessel image, a characteristic point of a first blood vessel and a characteristic point of a branch to which the central line of the selected blood vessel belongs;
calculating to obtain a ray vector based on the feature point of the first blood vessel and the feature point of the branch to which the central line of the selected blood vessel belongs;
in the target position of the image, simulating and rotating the image to enable the light ray vector to be vertical to the screen inwards, and acquiring a rotating angle;
adjusting a display viewing angle of the blood vessel image based on the rotated angle.
8. A vessel centerline editing apparatus, the apparatus comprising:
the editing instruction receiving module is used for receiving a vessel center line editing instruction;
the track information adjusting module is used for acquiring corresponding points on the blood vessel center line according to the blood vessel center line editing instruction;
the intersection point acquisition module is used for respectively acquiring a front surface intersection point and a rear surface intersection point of the blood vessel in the current sight line direction based on the corresponding points extending along the current sight line direction;
and the depth information adjusting module is used for determining the depth information of the corresponding point according to the front surface intersection point and the rear surface intersection point.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. 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.
11. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 7 when executed by a processor.
CN202111591503.7A 2021-12-23 2021-12-23 Blood vessel center line editing method and device, computer equipment and storage medium Pending CN114283928A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111591503.7A CN114283928A (en) 2021-12-23 2021-12-23 Blood vessel center line editing method and device, computer equipment and 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
CN202111591503.7A CN114283928A (en) 2021-12-23 2021-12-23 Blood vessel center line editing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114283928A true CN114283928A (en) 2022-04-05

Family

ID=80874651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111591503.7A Pending CN114283928A (en) 2021-12-23 2021-12-23 Blood vessel center line editing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114283928A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130066188A1 (en) * 2011-09-09 2013-03-14 Calgary Scientific Inc. Image display of a centerline of tubular structure
CN108269257A (en) * 2018-03-05 2018-07-10 四川和生视界医药技术开发有限公司 The edit methods and editing device of retinal vessel
CN108399647A (en) * 2018-03-05 2018-08-14 四川和生视界医药技术开发有限公司 The edit methods and editing device of retinal vessel edge line
CN113516700A (en) * 2021-07-07 2021-10-19 上海商汤智能科技有限公司 Image processing method, image processing device, related equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130066188A1 (en) * 2011-09-09 2013-03-14 Calgary Scientific Inc. Image display of a centerline of tubular structure
CN108269257A (en) * 2018-03-05 2018-07-10 四川和生视界医药技术开发有限公司 The edit methods and editing device of retinal vessel
CN108399647A (en) * 2018-03-05 2018-08-14 四川和生视界医药技术开发有限公司 The edit methods and editing device of retinal vessel edge line
CN113516700A (en) * 2021-07-07 2021-10-19 上海商汤智能科技有限公司 Image processing method, image processing device, related equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
盛惠娟;邓振生;欧阳丽蓉;: "基于最小代价路径的血管中心线提取", 计算机工程与应用, no. 02, 15 January 2015 (2015-01-15), pages 156 - 160 *

Similar Documents

Publication Publication Date Title
US20240013474A1 (en) Treatment procedure planning system and method
US10878639B2 (en) Interactive voxel manipulation in volumetric medical imaging for virtual motion, deformable tissue, and virtual radiological dissection
CN109544566B (en) Coronary image segmentation method, device, computer equipment and storage medium
US10290098B2 (en) System for real-time organ segmentation and tool navigation during tool insertion in interventional therapy and method of operation thereof
US10354410B2 (en) Apparatus for determining a position of a first object within a second object
US8355550B2 (en) Methods and apparatus for virtual coronary mapping
US9672640B2 (en) Method for interactive manual matching and real-time projection calculation in imaging
US10796498B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable medium
AU2017359301B2 (en) Selecting a medical device for use in a medical procedure
US11547868B2 (en) System for real-time organ segmentation and tool navigation during tool insertion in interventional therapy and method of operation thereof
US11017531B2 (en) Shell-constrained localization of vasculature
US20120224752A1 (en) Image-based diagnosis assistance apparatus, its operation method and program
US10699424B2 (en) Image processing apparatus, image processing method, and non-transitory computer readable medium with generation of deformed images
CN113796960B (en) Catheter navigation device, apparatus and storage medium
US10937170B2 (en) Apparatus for adaptive contouring of a body part
CN114283928A (en) Blood vessel center line editing method and device, computer equipment and storage medium
KR20170128975A (en) Vessel segmentation device and vessel segmentation method thereof
WO2021081846A1 (en) Vein tumor image processing method and related product
US20230206576A1 (en) Vessel displaying method, computer device and readable storage medium
CN116721208A (en) Method and device for reconstructing three-dimensional surface data of tubular organ and electronic equipment
US11295537B1 (en) Method and apparatus for inserting virtual contrast into CT and MRI examinations
CN114283159A (en) Image data processing method, computer device and storage medium
CN117058234A (en) Method and device for planting message
CN114529094A (en) Dose distribution prediction method, device, equipment, storage medium and product
CN116019531A (en) Puncture guiding method, device, equipment and storage medium based on image processing

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