Disclosure of Invention
The invention provides a contrast image analysis method and a contrast image analysis device, which are used for solving the defect of low definition of an angiography image in the prior art and realizing the effect of obtaining a clearer angiography image.
The invention provides a contrast image analysis method, which comprises the following steps:
acquiring a first image of a target vessel before injecting a carbon dioxide contrast agent into the target vessel;
acquiring a second image of a target vascular region after injecting a carbon dioxide contrast agent into the target vascular region, the carbon dioxide contrast agent evacuating blood within the target vascular region;
acquiring a third image, wherein the third image is an image of the target blood vessel region after blood flows back to the target blood vessel;
comparing the sharpness of the target blood vessel in a first developed image with the sharpness of the target blood vessel in a second developed image, the first developed image being determined based on the third image and the second image;
and determining a target angiography image of the target vascular region based on the first developed image when the definition of the target vascular in the first developed image is greater than the definition of the target vascular in the second developed image.
According to the contrast image analysis method provided by the invention, the definition of the target blood vessel is determined by the following modes:
performing target segmentation on an image containing the target blood vessel, and respectively identifying a region and a background region of the target blood vessel;
determining the contrast of the region of the target blood vessel relative to the background region and the edge definition of the target blood vessel based on the region of the target blood vessel and the background region;
The sharpness of the target vessel is determined based on the signal-to-noise ratio of the region of the target vessel, the contrast of the region of the target vessel relative to the background region, and the edge sharpness of the target vessel.
According to the method for analyzing a contrast image provided by the invention, the determining a target angiography image of the target vascular region based on the first developed image includes:
Comparing the blood vessel contour of the target blood vessel in the first development image with the blood vessel contour of the target blood vessel in the second development image;
Correcting the first developed image based on the second developed image under the condition that the blood vessel contour of the target blood vessel in the first developed image deviates from the blood vessel contour of the target blood vessel in the second developed image;
And determining the corrected first developed image as the target angiographic image.
According to the contrast image analysis method provided by the invention, the correction of the first developed image based on the second developed image includes:
Identifying a first target position of the target blood vessel in the first developed image based on the second developed image, wherein the first target position is a position where the morphology of the target blood vessel is deformed;
and correcting the first target position of the target blood vessel in the first developed image based on the image of the target blood vessel in the first target position in the second developed image, so as to obtain a corrected first developed image.
According to the contrast image analysis method provided by the invention, the correction of the first developed image based on the second developed image includes:
Identifying a second target position of the target blood vessel in the first developed image based on the second developed image, wherein the second target position is a position where dense carbon dioxide contrast agent residues exist in the target blood vessel;
and correcting the second target position of the target blood vessel in the first developed image based on the image of the target blood vessel in the second target position in the second developed image, so as to obtain a corrected first developed image.
According to the contrast image analysis method provided by the invention, the first image, the second image and the third image are all obtained by shooting by using a DSA device with a high frame rate.
The present invention also provides a contrast image analysis device, comprising:
A first acquisition module for acquiring a first image of a target blood vessel before a carbon dioxide contrast agent is not injected into the target blood vessel;
a second acquisition module for acquiring a second image of a target vascular region after injecting a carbon dioxide contrast agent into the target vascular region, the carbon dioxide contrast agent evacuating blood within the target vascular region;
The third acquisition module is used for acquiring a third image, wherein the third image is an image of the target blood vessel region after blood flows back to the target blood vessel;
The contrast module is used for comparing the definition of the target blood vessel in a first developed image with the definition of the target blood vessel in a second developed image, wherein the first developed image is determined based on the third image and the second image;
And the processing module is used for determining a target angiography image of the target blood vessel area based on the first development image under the condition that the definition of the target blood vessel in the first development image is larger than that of the target blood vessel in the second development image.
The invention also provides DSA developing equipment, which comprises an X-ray generator, an imaging auxiliary device, an image generator and a processing system;
the X-ray generator is used for generating X-rays, the imaging auxiliary device is used for adjusting the position of an imaged object, and the image generator is used for capturing image data formed after the X-rays generated by the X-ray generator pass through the imaged object;
The processing system is used for controlling the operation of the X-ray generator, the imaging auxiliary device and the image generator and processing and analyzing the acquired image data, and comprises an image processor and a memory, wherein the memory stores a computer program, and the image processor realizes the contrast image analysis method according to any one of claims 1 to 6 when executing the computer program.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a contrast image analysis method as described in any of the above when executing the program.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a contrast image analysis method as described in any of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements a contrast image analysis method as described in any of the above.
According to the contrast image analysis method and device, the image of the target blood vessel region after blood flows back to the target blood vessel is obtained, the first development image processed by the front image is obtained, the second development image obtained by the conventional development process is subjected to definition comparison, and then the image with higher definition is selected to obtain the final target angiography image, so that the influence of low definition of the development image caused by dynamic changes of blood and contrast agent is reduced, and the sharpest and most accurate target angiography image can be obtained.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The contrast image analysis method and apparatus of the present invention are described below with reference to fig. 1 to 4.
As shown in fig. 1, the contrast image analysis method according to the embodiment of the present invention mainly includes step 110, step 120, step 130, step 140, and step 150.
Step 110, a first image is acquired.
The first image is an image of the target vessel prior to the carbon dioxide contrast agent being injected into the target vessel.
Step 120, a second image is acquired.
The second image is an image of the target vascular region after the carbon dioxide contrast agent empties blood within the target blood vessel after injecting the carbon dioxide contrast agent into the target vascular region.
Step 130, a third image is acquired.
The third image is an image of the target blood vessel region after blood returns to the target blood vessel.
It will be appreciated that the vessel image may be captured by equipping with a Digital Subtraction Angiography (DSA) device or other suitable imaging device.
Before injecting carbon dioxide into the target vessel, a DSA device is used to capture a base image and a first image of the target vessel. The image is taken of the vascular structure in the state of full blood, but no carbon dioxide contrast agent is injected yet, and no definite vascular structure can be directly observed.
After carbon dioxide injection, the carbon dioxide contrast agent can rapidly spread in the blood vessel and replace blood, so that the inner cavity of the blood vessel is clearly revealed. A second image is captured using the DSA device immediately after carbon dioxide contrast injection, the second image reflecting vascular structure after carbon dioxide has replaced blood.
After the carbon dioxide contrast agent completes the mapping, blood will naturally flow back to the target vascular region. This process is usually done very quickly, so a third image after this process needs to be taken quickly.
After blood flow back to the target vessel, a third image is again taken using DSA. The third image shows the state of the blood vessel after blood refill.
The first image, the second image, and the third image are all captured using a DSA apparatus with a high frame rate.
A high frame rate DSA device is capable of capturing images at speeds of tens to hundreds of frames per second. This enables the DSA device to record the rapid flow of blood and carbon dioxide contrast agent within the blood vessel, providing a continuous sequence of dynamic images.
In other words, by using a DSA device with a high frame rate, the first image, the second image and the third image may each comprise a plurality of consecutive image sequences, thus providing a rich base image for obtaining an accurate developed image.
In addition, the high frame rate can obviously reduce image blurring and artifacts caused by micro motion such as heart beat and the like, thereby improving the definition and accuracy of the image.
And 140, comparing the definition of the target blood vessel in the first developed image with the definition of the target blood vessel in the second developed image.
The first developed image is determined based on the third image and the second image, and the second developed image is determined based on the second image and the first image.
Subtraction techniques in DSA can highlight contrast agent distribution in blood vessels by subtracting one image from another. Typically, the background image (the base image without contrast agent) is compared with the foreground image (the image after injection of contrast agent) and subtraction processed.
By image processing software, the information in the background image (e.g., bone, soft tissue, etc.) is subtracted, leaving only the contrast agent image in the foreground image. This process eliminates unnecessary background interference and makes vessel visualization clearer.
In the present embodiment, the first developed image is obtained by performing a subtraction operation on the third image and the second image. Subtraction refers to subtracting pixel values of one image from another image. Specifically, the pixel value in the second image may be subtracted from the pixel value in the third image.
The third image shows the state after blood has been returned back to the target vessel, while the second image shows the state when the vessel is filled with carbon dioxide contrast agent. By subtraction, the structure of the blood vessel after blood reflux can be highlighted, and the blood vessel structure presents higher contrast by this subtraction process, and the inner wall, possible lesions or narrow areas of the blood vessel can be displayed more clearly.
The second developed image may be obtained by performing a subtraction operation on the second image and the first image. The second developed image may be obtained by subtracting the pixel values in the first image from the pixel values in the second image.
The first image represents the basal state when blood fills the blood vessel, while the second image represents the intravascular state after the carbon dioxide contrast agent has replaced the blood.
After the blood flows back to the target blood vessel, a subtraction operation is performed by acquiring a suitable third image and a prefrontal image, so that a relatively clearer first developed image of the target blood vessel can be obtained.
Although the sharpness of the first developed image may be higher during actual operation, there are some cases where the sharpness of the first developed image is also poor.
Because the speed of the reflux of the blood after the carbon dioxide gas is discharged from the blood vessel is difficult to determine, the third image taken by the DSA device in the actual process may not be a photograph of the blood just after the reflux, the blood may not completely reflux, or the reflux of the blood is too fast, and the carbon dioxide of the tissue around the target blood vessel region is also rapidly dissipated, which also makes the first developed image obtained after the subtraction between the third image and the second image of the preamble impossible to show the clear structure of the target blood vessel.
Therefore, the sharpness of the target blood vessel in the first developed image is compared with the sharpness of the target blood vessel in the second developed image, and then an image with higher sharpness is selected to obtain the target angiographic image.
It will be appreciated that the sharpness of an image is assessed by summing the magnitudes of gradients throughout the image, with regions of greater gradients generally representing more detailed images, and further more detailed images being treated as higher definition images.
The energy (typically the sum of squares of the gray level variations) of a localized area of the image can also be analyzed to evaluate the texture and edge sharpness of the image, and more detailed images can be distinguished. The image may also be converted to the frequency domain for analysis, with higher definition images typically having higher frequency content, and by comparing the high frequency content of the first developed image with the second developed image, it may be determined which image has higher definition.
In some embodiments, the sharpness of the target vessel is determined in the following manner.
The image containing the target blood vessel may be first subjected to target segmentation to identify the region of the target blood vessel and the background region, respectively. And determining the contrast of the region of the target blood vessel relative to the background region and the edge definition of the target blood vessel based on the region of the target blood vessel and the background region.
Finally, the sharpness of the target vessel is determined based on the signal-to-noise ratio of the region of the target vessel, the contrast of the region of the target vessel relative to the background region, and the edge sharpness of the target vessel.
It will be appreciated that the acquired image may be pre-processed, including gray scale conversion, denoising (e.g., gaussian filtering), etc., to reduce image noise and enhance the visibility of the target vessel.
The region of the target vessel and the background region are separated in the image using a target segmentation algorithm, such as Otsu thresholding, region growing, K-means clustering, convolutional Neural Network (CNN), or the like. The result after segmentation is typically a binarized image, in which the vessel region is marked as foreground (e.g. 1) and the background region is marked as background (e.g. 0).
Contrast is generally defined as the difference in gray value between the target vessel region and the background region. The average gray value of all pixels in the target vascular area and the average gray value of the background area can be calculated, and further the contrast is obtained.
Based on this, edge detection algorithms, such as Sobel operator, canny edge detection, etc., are further used to identify the edge of the target vessel.
The result of edge detection is typically an image emphasizing areas of rapid grey change in the image, which areas typically correspond to the edges of the blood vessel. In the edge image, the gradient magnitude (i.e., the speed of the gray scale change) of the edge pixels is calculated. The average gradient magnitude or peak value of the edge may be used as a measure of edge sharpness. Higher gradient magnitudes indicate sharper edges and higher vessel definition.
The signal-to-noise ratio represents the ratio of the signal (i.e., useful information of the target vessel region) to noise (background or random noise). The signal intensity typically takes as the signal intensity the average gray value of the target vessel region. The noise intensity may be represented by the standard deviation of the background area. The higher signal-to-noise ratio indicates that the difference between the target blood vessel region and the background region is more obvious, and the definition of the image is higher.
In some embodiments, the three indices (contrast, edge definition, signal to noise ratio) may be normalized such that they are compared on the same scale and each index is given a weight, which may be determined empirically, in the application scenario, or experimentally.
Finally, the definition of the target blood vessel is determined according to the comprehensive score. If necessary, a threshold may be set to determine if the image meets the resolution required for diagnosis.
Step 150, determining a target angiographic image of the target vessel region based on the first visualisation image, in case the sharpness of the target vessel in the first visualisation image is greater than the sharpness of the target vessel in the second visualisation image.
It will be appreciated that in the case where the sharpness of the target blood vessel in the first visualisation image is greater than the sharpness of the target blood vessel in the second visualisation image, the first visualisation image may be determined directly as a target angiographic image of the target blood vessel region.
Of course, if there is a flaw in the first developed image, the first developed image may be further modified, so as to obtain a final target angiographic image.
According to the contrast image analysis method provided by the embodiment of the invention, the image of the target blood vessel region after blood flows back to the target blood vessel is acquired, the first development image processed by the precursor image is obtained, the second development image obtained by the conventional development process is subjected to definition comparison, and then the image with higher definition is selected to obtain the final target angiography image, so that the influence of low definition of the development image caused by dynamic changes of blood and contrast agent is reduced, and the sharpest and sharpest target angiography image can be obtained.
In some embodiments, as shown in FIG. 2, step 150, a target angiographic image of the target vascular region is determined based on the first visualization image, including steps 151, 152, and 153.
Step 151, comparing the blood vessel contour of the target blood vessel in the first visualized image with the blood vessel contour of the target blood vessel in the second visualized image.
In step 152, when there is a deviation between the blood vessel contour of the target blood vessel in the first visualized image and the blood vessel contour of the target blood vessel in the second visualized image, the first visualized image is corrected based on the second visualized image.
Step 153, determining the corrected first developed image as a target angiographic image.
An edge detection algorithm, such as Canny edge detection or Sobel operator, may be used to extract the contours of the target vessel in the first and second developed images.
The continuous contour lines in the edge detection result can be extracted to obtain the outer edge of the target blood vessel.
Image registration (e.g., affine transformation or rigid transformation) of the first developed image and the second developed image ensures that the two images are spatially aligned. And comparing the blood vessel contours in the two registered images. Shape matching algorithms, such as Hausdorff distance, ICP algorithm, etc., may be used to evaluate the deviation between the two.
Hausdorff distance is a distance that measures the furthest deviation between two sets of points (here, two vessel contours). It is able to quantify the maximum deviation between two contours. The contour of the target vessel may be first extracted from the first developed image and the second developed image, and the contour point set may be expressed as two point sets a and B.
The one-way Hausdorff distance from point set a to point set B may be calculated based on the euclidean distance, then the distance from point set B to point set a is calculated, and the final Hausdorff distance is the maximum of these two one-way distances. The larger Hausdorff distance indicates a larger deviation between the two contours. The degree of matching between the two contours is evaluated by calculating the Hausdorff distance. If the distance is large, it is indicated that the contour in the first developed image needs to be corrected.
The ICP algorithm is a method for registering two sets of points. It gradually reduces the deviation between the two contours by iteratively finding the closest point pair.
Based on the contour comparison result of step 151, a deviation between the contour of the target vessel in the first developed image and the contour in the second developed image is calculated. The deviation can be measured by the point-to-point distance of the contour line, the angle difference or the degree of deformation.
The first developed image may be subjected to appropriate geometric transformations (e.g., translation, rotation, scaling) to more closely conform its vessel contours to the contours of the second developed image. The transformation may be determined by minimizing the difference between the two contours.
If the deviation is mainly concentrated in a specific area, the area can be locally corrected. A deformation model (e.g., thin plate spline deformation) may be used to achieve local fine tuning.
If there is still a slight deviation after correction, it may be necessary to fuse the corrected first and second developed images to obtain a final high quality target angiographic image.
And (3) carrying out definition evaluation (such as contrast, edge definition and signal-to-noise ratio analysis) on the corrected first developed image again to ensure that the quality of the corrected image is higher than or equal to that of the second developed image.
If the sharpness of the corrected first developed image meets or exceeds the expected criterion, it can be determined directly as the target angiographic image.
Through the steps, the blood vessel contours of the two development images can be accurately compared and corrected, so that a target angiography image with higher quality and higher accuracy is obtained, the method is suitable for a scene requiring high-accuracy blood vessel imaging, and lesion positions such as blood vessel stenosis and aneurysm can be found more accurately.
In some embodiments, the first developed image is modified based on the second developed image, further comprising identifying a first target location of a target vessel in the first developed image based on the second developed image, the first target location being a location where a morphology of the target vessel is deformed, the deforming comprising at least one of bending, stretching, and twisting, and modifying the first target location of the target vessel in the first developed image based on an image of the target vessel in the second developed image at the first target location to obtain a modified first developed image.
In angiographic procedures, the injected subject may experience a certain pain or other physical discomfort after injection of the carbon dioxide contrast agent, which may affect the target vessel at the imaging site if the patient's torso moves or twists.
The blood vessel may be deformed, such as bent, stretched or distorted, under different conditions, which may lead to inconsistent morphology and location of the blood vessel in different visualizations. Especially in the position with obvious deformation, the target vessel morphology in the first developed image may deviate from the actual condition, and the accuracy of the image and the subsequent analysis are affected.
When the second developed image is acquired, the carbon dioxide contrast agent is just injected into the blood vessel, and the reaction of the injected object is small. A first target location of the morphogenic deformation of the blood vessel in the first visualized image may be identified based on information in the second visualized image. This location is typically the site of a vessel that is bent, stretched or twisted. By analyzing the morphology of the blood vessel at this location in the second visualized image, more accurate morphology information can be obtained. Then, the information is used for correcting the blood vessel morphology of the corresponding position in the first developed image, so that the blood vessel morphology is more real and accurate. Finally, a corrected first development image is obtained, and the blood vessel morphology in the image is ensured to be more accordant with the actual situation, so that the diagnostic value and the reliability of the image are improved.
In some embodiments, modifying the first developed image based on the second developed image includes identifying a second target location of a target vessel in the first developed image based on the second developed image, the second target location being a location in the target vessel where dense carbon dioxide contrast agent remains, and modifying the second target location of the target vessel in the first developed image based on an image of the target vessel in the second developed image at the second target location to obtain a modified first developed image.
During capnography, dense carbon dioxide residue may exist, particularly in certain locations of the blood vessel, due to the dispersion and distribution of the capnography agent within the blood vessel. Such residues can affect the sharpness and accuracy of the developed image, resulting in incomplete or blurred display of the target vessel in the first developed image at these locations.
In order to improve the accuracy of the image, it is necessary to correct the first developed image based on the second developed image. The specific operation is that first, a second target position with dense carbon dioxide residues in the first developed image is identified in the second developed image. These locations are typically caused by incomplete dissipation or evacuation of contrast agent. The vessels at the corresponding locations in the first developed image are then corrected using the clearer and complete vessel image information at these locations in the second developed image.
By correction, image errors caused by contrast agent residues can be reduced, and a more accurate and clear corrected first development image is finally obtained, so that the diagnosis effect of angiography is ensured to be more reliable.
The following describes a contrast image analysis apparatus provided by the present invention, and the contrast image analysis apparatus described below and the contrast image analysis method described above may be referred to correspondingly to each other.
As shown in fig. 3, the contrast image analysis apparatus according to the embodiment of the present invention mainly includes a first acquisition module 310, a second acquisition module 320, a third acquisition module 330, a comparison module 340, and a processing module 350.
The first acquiring module 310 is configured to acquire a first image, where the first image is an image of a target blood vessel before the carbon dioxide contrast agent is not injected into the target blood vessel;
The second acquisition module 320 is configured to acquire a second image, where the second image is an image of a target blood vessel region after the carbon dioxide contrast agent has emptied blood in the target blood vessel after injecting the carbon dioxide contrast agent into the target blood vessel region;
The third acquiring module 330 is configured to acquire a third image, where the third image is an image of a target blood vessel region after blood returns to the target blood vessel;
The contrast module 340 is configured to compare the sharpness of the target blood vessel in the first developed image with the sharpness of the target blood vessel in the second developed image, where the first developed image is determined based on the third image and the second image;
The processing module 350 is configured to determine a target angiographic image of the target vessel region based on the first visualizations if the sharpness of the target vessel in the first visualizations is greater than the sharpness of the target vessel in the second visualizations.
According to the contrast image analysis device provided by the embodiment of the invention, the first development image processed by the precursor image is obtained by obtaining the image of the target blood vessel region after blood flows back to the target blood vessel, and the second development image obtained by the conventional development process is subjected to the contrast of definition, so that the final target angiography image is obtained by selecting the image with higher definition, the influence of low definition of the development image caused by dynamic changes of blood and contrast agent is reduced, and the sharpest and sharpest target angiography image can be obtained.
The embodiment of the invention also provides DSA developing equipment which comprises an X-ray generator, an imaging auxiliary device, an image generator and a processing system. The X-ray generator is used for generating X-rays, the imaging auxiliary device is used for adjusting the position of an imaged object, and the image generator is used for capturing image data formed after the X-rays generated by the X-ray generator pass through the imaged object.
The processing system is used for controlling the operation of an X-ray generator, an imaging auxiliary device and an image generator and processing and analyzing acquired image data, the processing system comprises an image processor and a memory, the memory stores a computer program, the image processor executes the computer program to realize the contrast image analysis method, the method comprises the steps of acquiring a first image, which is an image of a target blood vessel before carbon dioxide contrast agent is injected into the target blood vessel, acquiring a second image, which is an image of a target blood vessel area after the carbon dioxide contrast agent is injected into the target blood vessel area and the blood in the target blood vessel is emptied, acquiring a third image, which is an image of the target blood vessel area after blood returns to the target blood vessel, comparing the definition of the target blood vessel in the first developed image with the definition of the target blood vessel in the second developed image, determining the first developed image based on the third image and the second image, determining the definition of the target blood vessel in the first developed image based on the definition of the target blood vessel in the first developed image is greater than the target blood vessel in the second developed image.
Fig. 4 illustrates a physical schematic diagram of an electronic device, as shown in fig. 4, which may include a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430, and a communication bus 440, where the processor 410, the communication interface 420, and the memory 430 perform communication with each other through the communication bus 440. The processor 410 may invoke logic instructions in the memory 430 to perform a contrast image analysis method that includes acquiring a first image of a target vessel prior to an injection of a carbon dioxide contrast agent into the target vessel, acquiring a second image of a target vessel region after the carbon dioxide contrast agent has been injected into the target vessel region, evacuating blood within the target vessel after the carbon dioxide contrast agent has emptied the target vessel, acquiring a third image of the target vessel region after blood has reflowed to the target vessel, comparing a sharpness of the target vessel in the first developed image with a sharpness of the target vessel in the second developed image, the first developed image being determined based on the third image and the second image, the second developed image being determined based on the second image and the first image, and determining the target vessel image of the target vessel region based on the first developed image if the sharpness of the target vessel in the first developed image is greater than the sharpness of the target vessel in the second developed image.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes.
In another aspect, the invention provides a computer program product comprising a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program when executed by a processor being capable of performing the contrast image analysis method provided by the methods described above, the method comprising obtaining a first image of a target vessel prior to injection of a carbon dioxide contrast agent into the target vessel, obtaining a second image of a target vessel region after evacuation of blood in the target vessel by the carbon dioxide contrast agent after injection of the carbon dioxide contrast agent into the target vessel region, obtaining a third image of the target vessel region after reflux of blood into the target vessel, comparing sharpness of the target vessel in the first developed image with sharpness of the target vessel in the second developed image, the first developed image being determined based on the third image and the second image, the second developed image being determined based on the second image and the first image, determining the sharpness of the target vessel in the first developed image being greater than the sharpness of the target vessel in the second developed image, the first developed image being determined based on the sharpness of the target vessel in the first developed image.
In yet another aspect, the present invention provides a non-transitory computer readable storage medium having stored thereon a computer program which when executed by a processor performs the contrast image analysis method provided by the methods described above, the method comprising acquiring a first image of a target blood vessel prior to injection of a carbon dioxide contrast agent into the target blood vessel, acquiring a second image of a target blood vessel region after evacuation of blood in the target blood vessel by the carbon dioxide contrast agent after injection of the carbon dioxide contrast agent into the target blood vessel region, acquiring a third image of the target blood vessel region after reflux of blood into the target blood vessel, comparing a sharpness of the target blood vessel in the first developed image with a sharpness of the target blood vessel in the second developed image, the first developed image being determined based on the third image and the second image, the second developed image being determined based on the second image and the first image, and determining the target blood vessel region based on the first developed image if the sharpness of the target blood vessel in the first developed image is greater than the sharpness of the target blood vessel in the second developed image.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
It should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention, and not for limiting the same, and although the present invention has been described in detail with reference to the above-mentioned embodiments, it should be understood by those skilled in the art that the technical solution described in the above-mentioned embodiments may be modified or some technical features may be equivalently replaced, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the spirit and scope of the technical solution of the embodiments of the present invention.