Method and device for determining a three-dimensional model of a blood vessel
By acquiring and segmenting blood vessel images, determining the projection position of the light source and projecting a linear beam, combined with image acquisition marks to assist in obtaining the device angle, the error problem caused by device error in three-dimensional reconstruction is solved, and a more accurate construction of the three-dimensional blood vessel model is achieved. Operation process.
Patent Information
- Application Number
- CN202111633670.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-28
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-12-28
AI Technical Summary
The existing three-dimensional reconstruction method can easily have errors in the image acquisition device by directly reading the shooting angle information provided by the image, resulting in large errors between the three-dimensional reconstruction image and the real image. The equipment correction operation is complicated and it is difficult to obtain accurately. Angle information.
By obtaining multiple original two-dimensional blood vessel images and their angle information of the target object, segmenting the image to obtain the blood vessel profile, determining the light source projection position, controlling the light source to project a linear beam to build a three-dimensional blood vessel model, and using image acquisition marks to assist in obtaining the device relative to the target The angle information of the object, converting the coordinate system to improve accuracy.
It effectively reduces the error caused by equipment errors in three-dimensional reconstruction, simplifies the angular information acquisition process, improves the accuracy and operation simplicity of the three-dimensional model, and avoids the difficulty of instrument correction.
Smart Images

Figure CN114332372B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer-aided diagnosis, and in particular to a method and device for determining a three-dimensional model of a blood vessel. Background Art
[0002] 3D measurement technology has been widely used in the fields of optical correction and spatial angle measurement. Some optical measurement products use near-infrared wireless detection to track navigation marks on the instrument, and accurately locate by monitoring the patient's position and the movement of the examination table. This series of products is compact and lightweight, and easy and quick to install. At present, research on computer-aided diagnosis systems and disease analysis based on image processing technology relies on image data information, including pixel value, image size, Window Center, Window width, offset, spacing, shooting angle, etc. All of these parameters are obtained through the image's own attribute information. The shooting angle is mainly used in the three-dimensional reconstruction technology of the model. For example, the gold standard technology of coronary blood vessels, DSA, requires at least two or more two-dimensional images at different angles to reconstruct a three-dimensional model. The fewer the number of images, the greater the difficulty of reconstruction. Therefore, the angle information of the image is crucial at this time. The more accurate the image shooting angle is, the more accurate the reconstructed three-dimensional model is.
[0003] In addition, the commonly used medical image format is DICOM. The existing three-dimensional reconstruction method is to directly read the shooting angle information of the image, that is, the projection angle of the C-arm. However, due to equipment errors, this angle value may be inaccurate. At the same time, the calibration operation of the C-arm is complicated and time-consuming, and requires professional personnel to go to the hospital for operation, which makes calibration difficult.
[0004] Regarding the problem that when performing three-dimensional image reconstruction in the above-mentioned related technologies, by directly reading the shooting angle information of the image, it is easy to have errors caused by the image acquisition device itself, which in turn leads to a large error between the three-dimensional reconstructed image and the real image. No effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a method and device for determining a three-dimensional model of a blood vessel, so as to at least solve the technical problem in the related art that when performing three-dimensional reconstruction of an image, the shooting angle information of the image is directly read, which is prone to errors caused by the image acquisition device itself, thereby causing a large error between the three-dimensional reconstructed image and the real image.
[0006] According to one aspect of an embodiment of the present invention, a method for determining a three-dimensional model of a blood vessel is provided, comprising: acquiring multiple original two-dimensional blood vessel images of a target object and angle information corresponding to each of the multiple original two-dimensional blood vessel images; segmenting each of the multiple original two-dimensional blood vessel images to obtain a target blood vessel contour of the target object; determining projection position information of at least two light sources based on the angle information corresponding to each of the original two-dimensional blood vessel images; and controlling the at least two light sources to project a straight light beam to the target blood vessel contour according to the projection position information to obtain a three-dimensional blood vessel model corresponding to the target blood vessel contour.
[0007] Furthermore, before acquiring multiple original two-dimensional vascular images of the target object and the angle information corresponding to each of the multiple original two-dimensional vascular images, the method also includes: acquiring the angle information of the image acquisition device relative to the target object; wherein acquiring the angle information of the image acquisition device relative to the target object includes: using the image acquisition device to acquire a marked image of an image acquisition mark in real time, wherein the image acquisition mark is used to assist in acquiring the angle information of the image acquisition device relative to the target object; and determining the angle information of the image acquisition device relative to the target object based on the marked image.
[0008] Furthermore, determining the angle information of the image acquisition device relative to the target object based on the marked image includes: determining device coordinate information of the image acquisition device and pixel coordinate information corresponding to the marked image; converting the device coordinate information and the pixel coordinate information into the same coordinate system; and determining the angle information of the image acquisition device relative to the target object in the same coordinate system.
[0009] Furthermore, controlling the at least two light sources to project a straight light beam to the target blood vessel contour according to the projection position information to obtain a three-dimensional blood vessel model corresponding to the target blood vessel contour includes: controlling the at least two light sources to project a straight light beam to the target blood vessel contour according to the projection position information; determining at least two spatial areas formed by the light beams of the at least two light sources respectively between their corresponding projection areas; and determining the three-dimensional blood vessel model based on an intersection area of the at least two spatial areas.
[0010] According to another aspect of an embodiment of the present invention, a device for determining a three-dimensional model of a blood vessel is further provided, comprising: a first acquisition unit, a segmentation unit, a determination unit and a control unit, wherein the first acquisition unit is used to acquire multiple original two-dimensional blood vessel images of a target object and angle information corresponding to each of the multiple original two-dimensional blood vessel images; the segmentation unit is used to segment each of the multiple original two-dimensional blood vessel images to obtain a target blood vessel contour of the target object; the determination unit is used to determine projection position information of at least two light sources based on the angle information corresponding to each of the original two-dimensional blood vessel images; and the control unit is used to control the at least two light sources to project a straight light beam to the target blood vessel contour according to the projection position information to obtain a three-dimensional blood vessel model corresponding to the target blood vessel contour.
[0011] Further, the device also includes: a second acquisition unit, the second acquisition unit is used to acquire the angle information of the image acquisition device relative to the target object before acquiring multiple original two-dimensional vascular images of the target object and the angle information corresponding to each of the multiple original two-dimensional vascular images; wherein, the second acquisition unit includes: an acquisition module and a first determination module, wherein the acquisition module is used to use the image acquisition device to acquire a marked image of an image acquisition mark in real time, wherein the image acquisition mark is used to assist in acquiring the angle information of the image acquisition device relative to the target object; the first determination module is used to determine the angle information of the image acquisition device relative to the target object based on the marked image.
[0012] Furthermore, the first determination module includes: a first determination submodule and a second determination submodule, wherein the first determination submodule is used to determine the device coordinate information of the image acquisition device and the pixel point coordinate information corresponding to the marked image; the second determination submodule is used to convert the device coordinate information and the pixel point coordinate information into the same coordinate system to determine the angle information of the image acquisition device relative to the target object.
[0013] Furthermore, the control unit includes: a control module, a second determination module and a third determination module, wherein the control module is used to control the at least two light sources to project a straight light beam toward the target blood vessel contour according to the projection position information; the second determination module is used to determine at least two spatial areas formed by the light beams of the at least two light sources respectively between their corresponding projection areas; and the third determination module is used to determine the three-dimensional model of the blood vessel based on the intersection area of the at least two spatial areas.
[0014] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is executed by a processor, the device where the computer storage medium is located is controlled to execute any one of the methods for determining a three-dimensional model of a blood vessel.
[0015] According to another aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is used to run a computer program, wherein the computer program executes any one of the methods for determining a three-dimensional model of a blood vessel when running.
[0016] In an embodiment of the present invention, first, multiple original two-dimensional blood vessel images of a target object and angle information corresponding to each of the multiple original two-dimensional blood vessel images are obtained; then, each of the multiple original two-dimensional blood vessel images is segmented to obtain a target blood vessel contour of the target object; then, projection position information of at least two light sources is determined based on the angle information corresponding to each of the original two-dimensional blood vessel images; finally, the at least two light sources are controlled to project a straight light beam to the target blood vessel contour according to the projection position information to obtain a three-dimensional blood vessel model corresponding to the target blood vessel contour. The method for determining a three-dimensional blood vessel model of the present application obtains multiple original two-dimensional blood vessel images of a target object and their angle information and determines the projection position information of at least two light sources based on the angle information, so that a straight light beam can be projected to the target blood vessel contour to obtain a three-dimensional blood vessel model corresponding to the target blood vessel contour, thereby solving the technical problem in the related art that when performing three-dimensional reconstruction of an image, the shooting angle information of the image itself is directly read, which is easy to carry errors caused by the image acquisition device itself, thereby causing a large error between the three-dimensional reconstructed image and the real image. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0018] Figure 1 is a flow chart of a method for determining a three-dimensional model of a blood vessel according to an embodiment of the present application;
[0019] Figure 2 It is a schematic diagram of a device for generating a data script according to an embodiment of the present application. DETAILED DESCRIPTION
[0020] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0022] As mentioned in the background technology, in the related technology, when performing three-dimensional reconstruction of an image, by directly reading the shooting angle information of the image, it is easy to carry errors caused by the errors of the image acquisition device itself, which leads to a large error between the three-dimensional reconstructed image and the real image. In order to solve the above problem, a typical embodiment of the present application provides a method and device for determining a three-dimensional model of a blood vessel. The method and device for determining a three-dimensional model of a blood vessel provided in the present application are described below in conjunction with specific embodiments.
[0023] Example 1
[0024] According to a typical embodiment of the present application, a method for determining a three-dimensional model of a blood vessel is provided.
[0025] Figure 1 is a flow chart of a method for determining a three-dimensional model of a blood vessel according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0026] Step S101 : acquiring a plurality of original two-dimensional blood vessel images of a target object and angle information corresponding to each of the plurality of original two-dimensional blood vessel images.
[0027] Step S102 : segmenting each of the plurality of original two-dimensional blood vessel images to obtain a target blood vessel contour of the target object.
[0028] Step S103: determining projection position information of at least two light sources based on the angle information corresponding to each of the original two-dimensional blood vessel images.
[0029] Step S104: Control the at least two light sources to project a straight light beam toward the target blood vessel contour according to the projection position information, so as to obtain a three-dimensional blood vessel model corresponding to the target blood vessel contour.
[0030] In the above-mentioned method for determining the three-dimensional model of a blood vessel, first, a plurality of original two-dimensional blood vessel images of a target object and the angle information corresponding to each of the plurality of original two-dimensional blood vessel images are obtained; then, each of the plurality of original two-dimensional blood vessel images is segmented to obtain the target blood vessel contour of the target object; then, the projection position information of at least two light sources is determined based on the angle information corresponding to each of the original two-dimensional blood vessel images; finally, the at least two light sources are controlled to project a straight light beam to the target blood vessel contour according to the projection position information to obtain the three-dimensional model of the blood vessel corresponding to the target blood vessel contour. By acquiring a plurality of original two-dimensional blood vessel images of a target object and their angle information and determining the projection position information of at least two light sources based on the angle information, the method can project a straight light beam to the target blood vessel contour to obtain the three-dimensional model of the blood vessel corresponding to the target blood vessel contour, thereby solving the technical problem in the related art that when performing three-dimensional reconstruction of an image, the shooting angle information of the image itself is directly read, which is easy to carry the error caused by the error of the image acquisition device itself, thereby causing a large error between the three-dimensional reconstructed image and the real image.
[0031] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0032] In one embodiment of the present application, before acquiring multiple original two-dimensional vascular images of the target object and the angle information corresponding to each of the multiple original two-dimensional vascular images, the method further includes: acquiring the angle information of the image acquisition device relative to the target object; wherein acquiring the angle information of the image acquisition device relative to the target object includes: acquiring a marked image of an image acquisition mark in real time using the image acquisition device, wherein the image acquisition mark is used to assist in acquiring the angle information of the image acquisition device relative to the target object; and determining the angle information of the image acquisition device relative to the target object based on the marked image. Acquiring the angle information of the image acquisition device relative to the target object can solve the problem of poor accuracy of the angle information due to errors in the image acquisition device.
[0033] In a specific embodiment of the present application, the above-mentioned image acquisition device can be an optical measurement series instrument, and the image acquisition mark is placed on the C-arm. The position of the image acquisition mark is photographed in real time by a binocular camera to calculate the current angle information.
[0034] Optionally, in the embodiment of the present application, the image acquisition mark may be a marking ball.
[0035] In order to facilitate the calculation of angle information and make its value more accurate, in another embodiment of the present application, the angle information of the image acquisition device relative to the target object is determined based on the marked image, including: determining the device coordinate information of the image acquisition device and the pixel coordinate information corresponding to the marked image; converting the device coordinate information and the pixel coordinate information into the same coordinate system; and determining the angle information of the image acquisition device relative to the target object in the same coordinate system.
[0036] In actual applications, while obtaining the angle information of the image acquisition device relative to the above-mentioned target object, the original two-dimensional vascular image of the current target object can be directly captured from the workstation. At this time, the original two-dimensional vascular image of the target object and the angle information corresponding to the above-mentioned original two-dimensional vascular image can be obtained at the same time.
[0037] In order to obtain a more accurate three-dimensional model of the blood vessel, in another embodiment of the present application, the at least two light sources are controlled to project a straight light beam to the target blood vessel contour according to the projection position information to obtain the three-dimensional model of the blood vessel corresponding to the target blood vessel contour, including: controlling the at least two light sources to project a straight light beam to the target blood vessel contour according to the projection position information; determining at least two spatial areas formed by the light beams of the at least two light sources respectively between the projection areas corresponding to the light beams; and determining the three-dimensional model of the blood vessel based on the intersection area of the at least two spatial areas.
[0038] Specifically, information such as the blood vessel centerline and radius can be obtained based on the above-mentioned three-dimensional blood vessel model.
[0039] As can be seen from the above, in the embodiment of the present application, the angle information can be obtained first. Specifically, the marker ball can be placed on the C-arm, and the position of the marker ball can be photographed in real time by a binocular camera. After calculating the current angle information, the camera coordinates and the image pixel coordinates are unified to the same coordinate system to obtain the angle of the camera relative to the human body position; wherein, while obtaining the angle information, the current sequence image can be directly captured from the workstation, and the image and its corresponding angle information can be obtained at the same time; then the original two-dimensional image is segmented using an image segmentation method to obtain the vascular area of interest; then, based on the image and its corresponding angle information, different light source positions are obtained, and a straight light beam is emitted from the light source to the three-dimensional space, passing through the target blood vessel and reaching the light beam between the projection areas on the projection surface, forming a control surface area. Similarly, for other light sources, the position of the intersection of multiple spatial areas is the position of the blood vessel in space, and the obtained intersection is the three-dimensional model of the blood vessel in space. After obtaining the three-dimensional model of the blood vessel, the required information such as the center line and radius of the blood vessel can be obtained based on the three-dimensional model of the blood vessel.
[0040] Therefore, through the method for determining the three-dimensional model of a blood vessel provided by an embodiment of the present invention, the angle information corresponding to the image can be obtained directly from the operating room, avoiding the deviation of the image angle caused by instrument errors, and the angle information can be obtained accurately and quickly, avoiding the problem of difficulty in instrument calibration.
[0041] Example 2
[0042] According to another aspect of an embodiment of the present application, a device for determining a three-dimensional model of a blood vessel is also provided.
[0043] Figure 2 is a schematic diagram of a device for generating a data script according to an embodiment of the present application, such as Figure 2 As shown, the device for determining the three-dimensional model of a blood vessel may include: a first acquisition unit 10, a segmentation unit 20, a determination unit 30 and a control unit 40. The device for determining the three-dimensional model of a blood vessel is described below.
[0044] A first acquisition unit 10 is used to acquire a plurality of original two-dimensional blood vessel images of a target object and angle information corresponding to each of the plurality of original two-dimensional blood vessel images;
[0045] A segmentation unit 20, configured to segment each of the plurality of original two-dimensional blood vessel images to obtain a target blood vessel contour of the target object;
[0046] A determination unit 30, configured to determine projection position information of at least two light sources based on the angle information corresponding to each of the original two-dimensional blood vessel images;
[0047] The control unit 40 is used to control the at least two light sources to project a straight light beam toward the target blood vessel contour according to the projection position information, so as to obtain a three-dimensional blood vessel model corresponding to the target blood vessel contour.
[0048] In the above-mentioned device for determining the three-dimensional model of a blood vessel, a first acquisition unit is used to acquire multiple original two-dimensional blood vessel images of a target object and the angle information corresponding to each of the multiple original two-dimensional blood vessel images; then a segmentation unit is used to segment each of the multiple original two-dimensional blood vessel images to obtain the target blood vessel contour of the target object; then a determination unit is used to determine the projection position information of at least two light sources based on the angle information corresponding to each of the original two-dimensional blood vessel images; finally, a control unit is used to control the at least two light sources to project a straight light beam to the target blood vessel contour according to the projection position information to obtain the three-dimensional model of the blood vessel corresponding to the target blood vessel contour. The device acquires multiple original two-dimensional blood vessel images of a target object and their angle information and determines the projection position information of at least two light sources based on the angle information, so that a straight light beam can be projected to the target blood vessel contour to obtain the three-dimensional model of the blood vessel corresponding to the target blood vessel contour, thereby solving the technical problem in the related art that when performing three-dimensional reconstruction of an image, the shooting angle information of the image itself is directly read, which is easy to carry the error caused by the error of the image acquisition device itself, thereby causing a large error between the three-dimensional reconstructed image and the real image.
[0049] It should be noted that the first acquisition unit 10, the segmentation unit 20, the determination unit 30 and the control unit 40 correspond to steps S101 to S104 in Embodiment 1, and the examples and application scenarios implemented by the above units and the corresponding steps are the same, but are not limited to the contents disclosed in the above Embodiment 1. It should be noted that the above units, as part of the device, can be executed in a computer system such as a set of computer executable instructions.
[0050] In one embodiment of the present application, the device further includes: a second acquisition unit, the second acquisition unit being used to acquire angle information of the image acquisition device relative to the target object before acquiring multiple original two-dimensional vascular images of the target object and angle information corresponding to each of the multiple original two-dimensional vascular images; wherein the second acquisition unit includes: an acquisition module and a first determination module, wherein the acquisition module is used to acquire a marked image of an image acquisition mark using the image acquisition device in real time, wherein the image acquisition mark is used to assist in acquiring angle information of the image acquisition device relative to the target object; and the first determination module is used to determine angle information of the image acquisition device relative to the target object based on the marked image. Acquiring angle information of the image acquisition device relative to the target object can solve the problem of poor accuracy of angle information due to errors in the image acquisition device.
[0051] In a specific embodiment of the present application, the above-mentioned image acquisition device can be an optical measurement series instrument, and the image acquisition mark is placed on the C-arm. The position of the image acquisition mark is photographed in real time by a binocular camera to calculate the current angle information.
[0052] In actual applications, while obtaining the angle information of the image acquisition device relative to the above-mentioned target object, the original two-dimensional vascular image of the current target object can be directly captured from the workstation. At this time, the original two-dimensional vascular image of the target object and the angle information corresponding to the above-mentioned original two-dimensional vascular image can be obtained at the same time.
[0053] In order to facilitate the calculation of angle information and make its value more accurate, in another embodiment of the present application, the above-mentioned first determination module includes: a first determination submodule and a second determination submodule, wherein the above-mentioned first determination submodule is used to determine the device coordinate information of the above-mentioned image acquisition device and the pixel point coordinate information corresponding to the above-mentioned marked image; the above-mentioned second determination submodule is used to convert the above-mentioned device coordinate information and the above-mentioned pixel point coordinate information into the same coordinate system to determine the angle information of the above-mentioned image acquisition device relative to the above-mentioned target object.
[0054] In order to obtain a more accurate three-dimensional model of the blood vessel, in another embodiment of the present application, the above-mentioned control unit includes: a control module, a second determination module and a third determination module, wherein the above-mentioned control module is used to control the above-mentioned at least two light sources to project a straight light beam to the above-mentioned target blood vessel contour according to the above-mentioned projection position information; the above-mentioned second determination module is used to determine at least two spatial areas formed by the light beams of the above-mentioned at least two light sources respectively between the projection areas corresponding to them; and the above-mentioned third determination module is used to determine the above-mentioned three-dimensional model of the blood vessel based on the intersection area of the above-mentioned at least two spatial areas.
[0055] Specifically, information such as the blood vessel centerline and radius can be obtained based on the above-mentioned three-dimensional blood vessel model.
[0056] Example 3
[0057] According to another aspect of an embodiment of the present application, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is executed by a processor, the device where the computer storage medium is located is controlled to execute any one of the above-mentioned methods for determining a three-dimensional blood vessel model.
[0058] Example 4
[0059] According to another aspect of an embodiment of the present application, a processor is further provided, and the processor is used to run a computer program, wherein the computer program executes any one of the above-mentioned methods for determining a three-dimensional blood vessel model when running.
[0060] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0061] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0062] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the above-mentioned units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0063] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0064] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0065] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0066] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0067] 1) In the method for determining the three-dimensional model of a blood vessel of the present application, first, multiple original two-dimensional blood vessel images of the target object and the angle information corresponding to each of the multiple original two-dimensional blood vessel images are obtained; then, each of the multiple original two-dimensional blood vessel images is segmented to obtain the target blood vessel contour of the target object; then, the projection position information of at least two light sources is determined based on the angle information corresponding to each of the original two-dimensional blood vessel images; finally, the at least two light sources are controlled to project a straight line beam to the target blood vessel contour according to the projection position information to obtain the three-dimensional model of the blood vessel corresponding to the target blood vessel contour. The method obtains multiple original two-dimensional blood vessel images of the target object and their angle information and determines the projection position information of at least two light sources based on the angle information, so that a straight line beam can be projected to the target blood vessel contour to obtain the three-dimensional model of the blood vessel corresponding to the target blood vessel contour, thereby solving the technical problem in the related art that when performing three-dimensional reconstruction of an image, the error caused by the error of the image acquisition device itself is easily carried by directly reading the shooting angle information of the image, thereby causing a large error between the three-dimensional reconstructed image and the real image.
[0068] 2) In the device for determining the three-dimensional model of a blood vessel of the present application, a first acquisition unit is used to acquire multiple original two-dimensional blood vessel images of a target object and the angle information corresponding to each of the multiple original two-dimensional blood vessel images; a segmentation unit is used to segment each of the multiple original two-dimensional blood vessel images to obtain the target blood vessel contour of the target object; a determination unit is used to determine the projection position information of at least two light sources based on the angle information corresponding to each of the original two-dimensional blood vessel images; and a control unit is used to control the at least two light sources to project a straight beam of light to the target blood vessel contour according to the projection position information to obtain the three-dimensional model of the blood vessel corresponding to the target blood vessel contour. The device acquires multiple original two-dimensional blood vessel images of a target object and their angle information and determines the projection position information of at least two light sources based on the angle information, so that a straight beam of light can be projected to the target blood vessel contour to obtain the three-dimensional model of the blood vessel corresponding to the target blood vessel contour, thereby solving the technical problem in the related art that when performing three-dimensional reconstruction of an image, the error caused by the error of the image acquisition device itself is easily carried by directly reading the shooting angle information of the image, thereby causing a large error between the three-dimensional reconstructed image and the real image.
[0069] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for determining a three-dimensional model of a blood vessel, characterized in that: include: Acquire multiple original two-dimensional blood vessel images of the target object and angle information corresponding to each of the multiple original two-dimensional blood vessel images; Segmenting each of the plurality of original two-dimensional blood vessel images to obtain a target blood vessel contour of the target object; Determining projection position information of at least two light sources based on angle information corresponding to each of the original two-dimensional blood vessel images; Controlling the at least two light sources to project a straight light beam toward the target blood vessel contour according to the projection position information, so as to obtain a three-dimensional blood vessel model corresponding to the target blood vessel contour; Among them, controlling the at least two light sources to project a straight light beam to the target blood vessel contour according to the projection position information to obtain a three-dimensional blood vessel model corresponding to the target blood vessel contour includes: controlling the at least two light sources to project a straight light beam to the target blood vessel contour according to the projection position information; determining at least two spatial areas formed by the light beams of the at least two light sources respectively between the projection areas corresponding to them; and determining the three-dimensional blood vessel model based on the intersection area of the at least two spatial areas.
2. The method according to claim 1, characterized in that Before acquiring a plurality of original two-dimensional blood vessel images of the target object and angle information corresponding to each of the plurality of original two-dimensional blood vessel images, the method further comprises: acquiring angle information of an image acquisition device relative to the target object; Wherein, obtaining the angle information of the image acquisition device relative to the target object includes: Acquire a marked image of an image acquisition mark in real time using the image acquisition device, wherein the image acquisition mark is used to assist in acquiring angle information of the image acquisition device relative to the target object; Angle information of the image acquisition device relative to the target object is determined based on the marker image.
3. The method according to claim 2, characterized in that Determining angle information of the image acquisition device relative to the target object based on the marker image includes: Determine the device coordinate information of the image acquisition device and the pixel coordinate information corresponding to the marked image; Convert the device coordinate information and the pixel coordinate information into the same coordinate system; Angle information of the image acquisition device relative to the target object is determined in the same coordinate system.
4. A device for determining a three-dimensional model of a blood vessel, characterized in that: include: A first acquisition unit, configured to acquire a plurality of original two-dimensional blood vessel images of a target object and angle information corresponding to each of the plurality of original two-dimensional blood vessel images; a segmentation unit, configured to segment each of the plurality of original two-dimensional blood vessel images to obtain a target blood vessel contour of the target object; a determining unit, configured to determine projection position information of at least two light sources based on angle information corresponding to each of the original two-dimensional blood vessel images; A control unit, configured to control the at least two light sources to project a straight light beam toward the target blood vessel contour according to the projection position information, so as to obtain a three-dimensional blood vessel model corresponding to the target blood vessel contour; Wherein, the control unit includes: a control module, used to control the at least two light sources to project a straight light beam toward the target blood vessel contour according to the projection position information; a second determination module, used to determine at least two spatial areas formed by the light beams of the at least two light sources respectively between their corresponding projection areas; and a third determination module, used to determine the three-dimensional model of the blood vessel based on the intersection area of the at least two spatial areas.
5. The device according to claim 4, characterized in that The device further includes: a second acquisition unit, configured to acquire angle information of the image acquisition device relative to the target object before acquiring a plurality of original two-dimensional blood vessel images of the target object and angle information corresponding to each of the plurality of original two-dimensional blood vessel images; Wherein, the second acquisition unit includes: An acquisition module, used to acquire a marked image of an image acquisition mark in real time using the image acquisition device, wherein the image acquisition mark is used to assist in acquiring angle information of the image acquisition device relative to the target object; The first determination module is used to determine angle information of the image acquisition device relative to the target object based on the marked image.
6. The device according to claim 5, characterized in that The first determining module includes: A first determination submodule, used to determine device coordinate information of the image acquisition device and pixel coordinate information corresponding to the marked image; The second determination submodule is used to convert the device coordinate information and the pixel point coordinate information into the same coordinate system to determine the angle information of the image acquisition device relative to the target object.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed by a processor, the device where the computer storage medium is located is controlled to execute the method for determining a three-dimensional blood vessel model according to any one of claims 1 to 3.
