CN112950578B - Vascular identification and positioning method and device based on two-dimensional image enhancement - Google Patents
Vascular identification and positioning method and device based on two-dimensional image enhancement Download PDFInfo
- Publication number
- CN112950578B CN112950578B CN202110221254.6A CN202110221254A CN112950578B CN 112950578 B CN112950578 B CN 112950578B CN 202110221254 A CN202110221254 A CN 202110221254A CN 112950578 B CN112950578 B CN 112950578B
- Authority
- CN
- China
- Prior art keywords
- blood vessel
- image
- stage
- vascular
- roi
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000002792 vascular Effects 0.000 title claims description 59
- 210000004204 blood vessel Anatomy 0.000 claims abstract description 154
- 238000003780 insertion Methods 0.000 claims abstract description 75
- 230000037431 insertion Effects 0.000 claims abstract description 75
- 230000011218 segmentation Effects 0.000 claims abstract description 37
- 238000012549 training Methods 0.000 claims abstract description 25
- 238000010241 blood sampling Methods 0.000 claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 13
- 239000008280 blood Substances 0.000 claims description 24
- 210000004369 blood Anatomy 0.000 claims description 24
- 238000007781 pre-processing Methods 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 238000005260 corrosion Methods 0.000 claims description 10
- 230000007797 corrosion Effects 0.000 claims description 10
- 238000003708 edge detection Methods 0.000 claims description 10
- 238000001914 filtration Methods 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 6
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000004907 flux Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000004003 subcutaneous fat Anatomy 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0012—Biomedical image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/40—Image enhancement or restoration using histogram techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20024—Filtering details
- G06T2207/20032—Median filtering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20092—Interactive image processing based on input by user
- G06T2207/20104—Interactive definition of region of interest [ROI]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30101—Blood vessel; Artery; Vein; Vascular
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Quality & Reliability (AREA)
- Radiology & Medical Imaging (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
本发明提供一种基于二维图像增强的血管识别与定位方法及装置,其中方法包括将原始血管图像投影至采血目标区域形成一阶段血管图像;获取一阶段血管图像并基于其中的投影区域部分训练获得投影区域ROI语义分割模型;将原始血管图像输入到投影区域ROI语义分割模型中提取ROI区域,基于提取的ROI区域形成二阶段血管图像;基于二阶段血管图像进行增强处理获得优化血管图像,优化血管图像中含有入针目标血管;获取入针目标血管的优选入针点以及优选入针点在一阶段血管图像中的二维位置参数。本发明能够智能识别血管、并对采血操作的入针点进行精确定位,使采血操作完成的更加有效、准确,降低病患的心理负担,减轻整个流程的痛苦感,提升病患的采血体验。
The present invention provides a blood vessel recognition and positioning method and device based on two-dimensional image enhancement, wherein the method includes projecting the original blood vessel image to the blood sampling target area to form a first-stage blood vessel image; obtaining the first-stage blood vessel image and training the projection area part thereof to obtain the projection area ROI semantic segmentation model; inputting the original blood vessel image into the projection area ROI semantic segmentation model to extract the ROI area, and forming a second-stage blood vessel image based on the extracted ROI area; performing enhancement processing based on the second-stage blood vessel image to obtain an optimized blood vessel image, wherein the optimized blood vessel image contains the needle insertion target blood vessel; obtaining the preferred needle insertion point of the needle insertion target blood vessel and the two-dimensional position parameters of the preferred needle insertion point in the first-stage blood vessel image. The present invention can intelligently identify blood vessels and accurately locate the needle insertion point of the blood sampling operation, so that the blood sampling operation can be completed more effectively and accurately, reduce the psychological burden of patients, alleviate the pain of the entire process, and improve the blood sampling experience of patients.
Description
技术领域Technical Field
本发明属于血管识别定位技术领域,具体涉及一种基于二维图像增强的血管识别与定位方法及装置。The present invention belongs to the technical field of blood vessel identification and positioning, and in particular relates to a blood vessel identification and positioning method and device based on two-dimensional image enhancement.
背景技术Background Art
目前的临床采血现状,基本依赖医护人员自身的经验,通过对被采血人员的观察来对血管进行识别与确定入针点。The current clinical blood collection situation basically relies on the experience of medical staff themselves, who identify blood vessels and determine the needle entry point by observing the person having blood drawn.
然而,医护人员并不能保证每次的采血工作都准确有效,或因为医护人员本身经验不足、或因为被采血人皮下脂肪过于厚实、又或是因为被采血人年龄较大、血管脆弱等实际客观情况的存在,人工采血的成功率和病患体验屡受诟病。However, medical staff cannot guarantee that blood collection is accurate and effective every time. This may be due to the lack of experience of the medical staff themselves, or the thick subcutaneous fat of the person whose blood is being drawn, or the older age of the person whose blood is being drawn or the fragile blood vessels. The success rate of manual blood collection and patient experience have been repeatedly criticized.
发明内容Summary of the invention
因此,本发明要解决的技术问题在于提供一种基于二维图像增强的血管识别与定位方法及装置,能够智能识别血管、并对采血操作的入针点进行精确定位,使采血操作完成的更加有效、准确,还能降低病患的心理负担,减轻整个流程的痛苦感,进而提升病患的采血体验。Therefore, the technical problem to be solved by the present invention is to provide a blood vessel identification and positioning method and device based on two-dimensional image enhancement, which can intelligently identify blood vessels and accurately locate the needle insertion point of the blood collection operation, so that the blood collection operation can be completed more effectively and accurately, and can also reduce the psychological burden of patients and alleviate the pain of the entire process, thereby improving the patient's blood collection experience.
为了解决上述问题,本发明提供一种基于二维图像增强的血管识别与定位方法,包括:In order to solve the above problems, the present invention provides a blood vessel recognition and positioning method based on two-dimensional image enhancement, comprising:
获取采血目标区域的图像形成原始血管图像,并将所述原始血管图像投影至所述采血目标区域形成一阶段血管图像;Acquiring an image of a blood sampling target area to form an original blood vessel image, and projecting the original blood vessel image onto the blood sampling target area to form a first-stage blood vessel image;
获取所述一阶段血管图像并基于其中的投影区域部分训练获得投影区域ROI语义分割模型;Acquire the blood vessel image of the first stage and obtain a projection region ROI semantic segmentation model based on the projection region part training;
将所述原始血管图像输入到所述投影区域ROI语义分割模型中提取ROI区域,基于提取的所述ROI区域形成二阶段血管图像;Inputting the original blood vessel image into the projection area ROI semantic segmentation model to extract the ROI area, and forming a second-stage blood vessel image based on the extracted ROI area;
基于所述二阶段血管图像进行增强处理获得优化血管图像,所述优化血管图像中含有入针目标血管;Performing enhancement processing based on the second-stage vascular image to obtain an optimized vascular image, wherein the optimized vascular image contains a target vascular for needle insertion;
获取所述入针目标血管的优选入针点以及所述优选入针点在所述一阶段血管图像中的二维位置参数。The preferred needle entry point of the needle entry target blood vessel and the two-dimensional position parameters of the preferred needle entry point in the blood vessel image of the first stage are obtained.
优选地,获取所述一阶段血管图像并基于其中的投影区域部分训练获得投影区域ROI语义分割模型采用如下方式实现:Preferably, the first-stage blood vessel image is acquired and the projection region ROI semantic segmentation model is obtained based on the projection region part training in the image by the following method:
将所述一阶段血管图像中的投影区域部分做目标区域ROI标记并制作为训练集,使用MobilenetV2的deeplabV3+语义分割模型,做模型训练得到所述投影区域ROI语义分割模型。The projection area in the first-stage vascular image is marked as a target area ROI and prepared as a training set. The deeplabV3+ semantic segmentation model of MobilenetV2 is used for model training to obtain the projection area ROI semantic segmentation model.
优选地,基于所述二阶段血管图像进行增强处理获得优化血管图像具体包括:Preferably, performing enhancement processing based on the second-stage vascular image to obtain an optimized vascular image specifically includes:
对所述二阶段血管图像依次进行灰度转换、预处理操作、二值化操作获得所述优化血管图像。The optimized blood vessel image is obtained by sequentially performing grayscale conversion, preprocessing operation, and binarization operation on the second-stage blood vessel image.
优选地,Preferably,
所述预处理操作包括先后进行的限制对比度的直方图均衡化处理、一次中值滤波;所述二值化操作包括先后进行的边缘检测操作、腐蚀膨胀、二次中值滤波、最小外接椭圆拟合操作。The preprocessing operation includes a histogram equalization process with limited contrast and a median filter performed successively; the binarization operation includes an edge detection operation, corrosion expansion, a secondary median filter, and a minimum circumscribed ellipse fitting operation performed successively.
优选地,Preferably,
获取所述入针目标血管的优选入针点以及所述优选入针点在所述一阶段血管图像中的二维位置参数具体包括:Acquiring the preferred needle entry point of the needle entry target blood vessel and the two-dimensional position parameters of the preferred needle entry point in the blood vessel image of the first stage specifically includes:
对所述入针目标血管执行细化操作,提取所述入针目标血管的骨架部分,获取所述入针目标血管的单像素轮廓,进而获取单像素轮廓的中心线,确定所述入针目标血管的走向;对所述入针目标血管进行直线检测,得到所述入针目标血管的拟合直线的两个端点,将所述拟合直线的两个端点中处于采血针入针运动方向上的首个端点作为所述优选入针点。Perform a refinement operation on the target needle insertion vessel, extract the skeleton portion of the target needle insertion vessel, obtain the single-pixel contour of the target needle insertion vessel, and then obtain the center line of the single-pixel contour to determine the direction of the target needle insertion vessel; perform straight line detection on the target needle insertion vessel to obtain the two endpoints of the fitting straight line of the target needle insertion vessel, and use the first endpoint of the two endpoints of the fitting straight line that is in the insertion movement direction of the blood collection needle as the preferred needle insertion point.
本发明还提供一种基于二维图像增强的血管识别与定位装置,包括:The present invention also provides a blood vessel identification and positioning device based on two-dimensional image enhancement, comprising:
获取单元,用于获取采血目标区域的图像形成原始血管图像,并将所述原始血管图像投影至所述采血目标区域形成一阶段血管图像;An acquisition unit, used for acquiring an image of a blood sampling target area to form an original blood vessel image, and projecting the original blood vessel image to the blood sampling target area to form a first-stage blood vessel image;
模型训练单元,用于获取所述一阶段血管图像并基于其中的投影区域部分训练获得投影区域ROI语义分割模型;A model training unit, used for acquiring the first-stage blood vessel image and obtaining a projection region ROI semantic segmentation model based on the projection region part of the image;
ROI区域获取单元,用于将所述原始血管图像输入到所述投影区域ROI语义分割模型中提取ROI区域,基于提取的所述ROI区域形成二阶段血管图像;A ROI region acquisition unit, configured to input the original blood vessel image into the projection region ROI semantic segmentation model to extract a ROI region, and form a second-stage blood vessel image based on the extracted ROI region;
定位单元,用于基于所述二阶段血管图像进行增强处理获得优化血管图像,所述优化血管图像中含有入针目标血管;A positioning unit, configured to perform enhancement processing based on the second-stage blood vessel image to obtain an optimized blood vessel image, wherein the optimized blood vessel image contains a target blood vessel for needle insertion;
获取所述入针目标血管的优选入针点以及所述优选入针点在所述一阶段血管图像中的二维位置参数。The preferred needle entry point of the needle entry target blood vessel and the two-dimensional position parameters of the preferred needle entry point in the blood vessel image of the first stage are obtained.
优选地,获取所述一阶段血管图像并基于其中的投影区域部分训练获得投影区域ROI语义分割模型采用如下方式实现:Preferably, the first-stage blood vessel image is acquired and the projection region ROI semantic segmentation model is obtained based on the projection region part training in the image by the following method:
将所述一阶段血管图像中的投影区域部分做目标区域ROI标记并制作为训练集,使用MobilenetV2的deeplabV3+语义分割模型,做模型训练得到所述投影区域ROI语义分割模型。The projection area in the first-stage vascular image is marked as a target area ROI and prepared as a training set. The deeplabV3+ semantic segmentation model of MobilenetV2 is used for model training to obtain the projection area ROI semantic segmentation model.
优选地,基于所述二阶段血管图像进行增强处理获得优化血管图像具体包括:Preferably, performing enhancement processing based on the second-stage vascular image to obtain an optimized vascular image specifically includes:
对所述二阶段血管图像依次进行灰度转换、预处理操作、二值化操作获得所述优化血管图像。The optimized blood vessel image is obtained by sequentially performing grayscale conversion, preprocessing operation, and binarization operation on the second-stage blood vessel image.
优选地,Preferably,
所述预处理操作包括先后进行的限制对比度的直方图均衡化处理、一次中值滤波;所述二值化操作包括先后进行的边缘检测操作、腐蚀膨胀、二次中值滤波、最小外接椭圆拟合操作。The preprocessing operation includes a histogram equalization process with limited contrast and a median filter performed successively; the binarization operation includes an edge detection operation, corrosion expansion, a secondary median filter, and a minimum circumscribed ellipse fitting operation performed successively.
优选地,Preferably,
获取所述入针目标血管的优选入针点以及所述优选入针点在所述一阶段血管图像中的二维位置参数具体包括:Acquiring the preferred needle entry point of the needle entry target blood vessel and the two-dimensional position parameters of the preferred needle entry point in the blood vessel image of the first stage specifically includes:
对所述入针目标血管执行细化操作,提取所述入针目标血管的骨架部分,获取所述入针目标血管的单像素轮廓,进而获取单像素轮廓的中心线,确定所述入针目标血管的走向;对所述入针目标血管进行直线检测,得到所述入针目标血管的拟合直线的两个端点,将所述拟合直线的两个端点中处于采血针入针运动方向上的首个端点作为所述优选入针点。Perform a refinement operation on the target needle insertion vessel, extract the skeleton portion of the target needle insertion vessel, obtain the single-pixel contour of the target needle insertion vessel, and then obtain the center line of the single-pixel contour to determine the direction of the target needle insertion vessel; perform straight line detection on the target needle insertion vessel to obtain the two endpoints of the fitting straight line of the target needle insertion vessel, and use the first endpoint of the two endpoints of the fitting straight line that is in the insertion movement direction of the blood collection needle as the preferred needle insertion point.
本发明提供的一种基于二维图像增强的血管识别与定位方法及装置,获取投影形成的一阶段血管图像,采用训练获得的投影区域ROI语义分割模型提取ROI区域进而获得二阶段血管图像,并对二阶段血管图像进行增强处理得到优化血管图像,最终获得入针目标血管以及相应的优选入针点的二维位置参数,从而实现对入针目标血管以及优选入针点的精准识别与定位,这改变了现有技术中原本完全依靠医护人员个人经验识别血管、查找入针点的工作方式,采用本发明的技术方案能够利于智能自动化采血的实现,进而能够在提升采血操作成功率和减轻病患痛苦、提升采血体验感等方面带来有益效果。The present invention provides a blood vessel identification and positioning method and device based on two-dimensional image enhancement, which obtains a first-stage blood vessel image formed by projection, uses a trained projection area ROI semantic segmentation model to extract the ROI area to obtain a second-stage blood vessel image, and enhances the second-stage blood vessel image to obtain an optimized blood vessel image, and finally obtains the two-dimensional position parameters of the target blood vessel for needle insertion and the corresponding preferred needle insertion point, thereby realizing accurate identification and positioning of the target blood vessel for needle insertion and the preferred needle insertion point. This changes the working mode of the prior art that originally relied entirely on the personal experience of medical staff to identify blood vessels and find needle insertion points. The technical solution of the present invention can facilitate the realization of intelligent and automated blood collection, and can bring beneficial effects in improving the success rate of blood collection operations, alleviating the pain of patients, and improving the blood collection experience.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明实施例的基于二维图像增强的血管识别与定位方法的步骤示意图;FIG1 is a schematic diagram of the steps of a method for blood vessel recognition and positioning based on two-dimensional image enhancement according to an embodiment of the present invention;
图2为本发明另一实施例的基于图像的血管识别与定位方法的步骤示意图;FIG2 is a schematic diagram of the steps of an image-based blood vessel recognition and positioning method according to another embodiment of the present invention;
图3为采用本发明实施例的基于二维图像增强的血管识别与定位装置的结构示意图。FIG. 3 is a schematic diagram of the structure of a blood vessel recognition and positioning device based on two-dimensional image enhancement according to an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
结合参见图1至图3所示,根据本发明的实施例,提供一种基于二维图像增强的血管识别与定位方法,包括:With reference to FIGS. 1 to 3 , according to an embodiment of the present invention, a method for identifying and locating blood vessels based on two-dimensional image enhancement is provided, comprising:
获取采血目标区域的图像形成原始血管图像,并将所述原始血管图像投影至所述采血目标区域形成一阶段血管图像;Acquiring an image of a blood sampling target area to form an original blood vessel image, and projecting the original blood vessel image onto the blood sampling target area to form a first-stage blood vessel image;
获取所述一阶段血管图像并基于其中的投影区域部分训练获得投影区域ROI(region of interest,感兴趣区域)语义分割模型;Acquire the first-stage blood vessel image and obtain a projection region ROI (region of interest) semantic segmentation model based on the projection region part training;
将所述原始血管图像输入到所述投影区域ROI语义分割模型中提取ROI区域,基于提取的所述ROI区域形成二阶段血管图像;Inputting the original blood vessel image into the projection area ROI semantic segmentation model to extract the ROI area, and forming a second-stage blood vessel image based on the extracted ROI area;
基于所述二阶段血管图像进行增强处理获得优化血管图像,所述优化血管图像中含有入针目标血管;Performing enhancement processing based on the second-stage vascular image to obtain an optimized vascular image, wherein the optimized vascular image contains a target vascular for needle insertion;
获取所述入针目标血管的优选入针点以及所述优选入针点在所述一阶段血管图像中的二维位置参数。The preferred needle entry point of the needle entry target blood vessel and the two-dimensional position parameters of the preferred needle entry point in the blood vessel image of the first stage are obtained.
该技术方案中,获取投影形成的一阶段血管图像,采用训练获得的投影区域ROI语义分割模型提取ROI区域进而获得二阶段血管图像,并对二阶段血管图像进行增强处理得到优化血管图像,最终获得入针目标血管以及相应的优选入针点的二维位置参数,从而实现对入针目标血管以及优选入针点的精准识别与定位,这改变了现有技术中原本完全依靠医护人员个人经验识别血管、查找入针点的工作方式,采用本发明的技术方案能够利于智能自动化采血的实现,进而能够在提升采血操作成功率和减轻病患痛苦、提升采血体验感等方面带来有益效果。In this technical solution, a first-stage vascular image formed by projection is obtained, and the ROI area is extracted using the trained projection area ROI semantic segmentation model to obtain a second-stage vascular image, and the second-stage vascular image is enhanced to obtain an optimized vascular image, and finally the two-dimensional position parameters of the target blood vessel for needle insertion and the corresponding preferred needle insertion point are obtained, thereby achieving accurate identification and positioning of the target blood vessel for needle insertion and the preferred needle insertion point. This changes the working mode of the prior art that originally relied entirely on the personal experience of medical staff to identify blood vessels and find needle insertion points. The use of the technical solution of the present invention can facilitate the realization of intelligent and automated blood collection, and can bring beneficial effects in improving the success rate of blood collection operations, alleviating the pain of patients, and improving the blood collection experience.
在一些实施方式中,获取所述一阶段血管图像并基于其中的投影区域部分训练获得投影区域ROI语义分割模型采用如下方式实现:将所述一阶段血管图像中的投影区域部分做目标区域ROI标记并制作为训练集,使用MobilenetV2的deeplabV3+语义分割模型,做模型训练得到所述投影区域ROI语义分割模型。采用训练获得的所述投影区域ROI语义分割模型能够进一步提升对图像中血管的识别精度。In some embodiments, the first-stage vascular image is obtained and the projection area ROI semantic segmentation model is obtained based on the projection area part of the image. The projection area part of the first-stage vascular image is marked as the target area ROI and prepared as a training set, and the deeplabV3+ semantic segmentation model of MobilenetV2 is used to perform model training to obtain the projection area ROI semantic segmentation model. The projection area ROI semantic segmentation model obtained by training can further improve the recognition accuracy of blood vessels in the image.
在一些实施方式中,基于所述二阶段血管图像进行增强处理获得优化血管图像具体包括:对所述二阶段血管图像依次进行灰度转换、预处理操作、二值化操作获得所述优化血管图像。In some embodiments, performing enhancement processing based on the second-stage vascular image to obtain the optimized vascular image specifically includes: performing grayscale conversion, preprocessing operations, and binarization operations on the second-stage vascular image in sequence to obtain the optimized vascular image.
具体的,所述灰度转换也即对所述二阶段血管图像进行灰度化处理,将彩色三通道图像转换成灰度单通道图像,能够加快图像数据的处理速度。Specifically, the grayscale conversion is to grayscale the second-stage blood vessel image, and convert the color three-channel image into a grayscale single-channel image, which can speed up the processing of image data.
所述预处理操作包括先后进行的限制对比度的直方图均衡化处理、一次中值滤波,此步骤主要是对前述灰度转换后的灰度图进行预处理,消除光子通量的随机性造成的噪声,对图像进行去噪处理。The preprocessing operation includes a histogram equalization process with limited contrast and a median filter. This step mainly preprocesses the grayscale image after the grayscale conversion, eliminates the noise caused by the randomness of the photon flux, and denoises the image.
所述二值化操作包括先后进行的边缘检测操作、腐蚀膨胀、二次中值滤波、最小外接椭圆拟合操作。其中,所述边缘检测能够识别出投影区域中的血管部分并将其提取出来;所述腐蚀膨胀、二次中值滤波则能够消除提取的血管部分中的血管轮廓图像中的噪声点;所述最小外接椭圆拟合操作的操作对象为前述的血管轮廓,通过此操作可以根据拟合结果对血管轮廓的平均长度、平均宽度、面积以及相对位置、因素进行量化分析,对以上四个维度的数据进行归一化处理,根据各因素的权重计算优选指数,根据优选指数从血管轮廓中找到最适合入针的血管作为所述入针目标血管。The binarization operation includes edge detection, corrosion expansion, secondary median filtering, and minimum circumscribed ellipse fitting operations. The edge detection can identify the blood vessel part in the projection area and extract it; the corrosion expansion and secondary median filtering can eliminate the noise points in the blood vessel contour image in the extracted blood vessel part; the minimum circumscribed ellipse fitting operation is the aforementioned blood vessel contour. Through this operation, the average length, average width, area, relative position, and factors of the blood vessel contour can be quantitatively analyzed according to the fitting results, and the data of the above four dimensions can be normalized. The preferred index is calculated according to the weight of each factor, and the most suitable blood vessel for needle insertion is found from the blood vessel contour according to the preferred index as the needle insertion target blood vessel.
在一些实施方式中,获取所述入针目标血管的优选入针点以及所述优选入针点在所述一阶段血管图像中的二维位置参数具体包括:In some embodiments, obtaining the preferred needle entry point of the needle entry target blood vessel and the two-dimensional position parameter of the preferred needle entry point in the blood vessel image at the first stage specifically includes:
对所述入针目标血管执行细化操作,提取所述入针目标血管的骨架部分,获取所述入针目标血管的单像素轮廓,进而获取单像素轮廓的中心线,确定所述入针目标血管的走向,这能够保证优选入针点和入针轨迹始终在血管区域内部;对所述入针目标血管进行直线检测,得到所述入针目标血管的拟合直线的两个端点,将所述拟合直线的两个端点中处于采血针入针运动方向上的首个端点作为所述优选入针点。A thinning operation is performed on the target needle insertion vessel to extract the skeleton portion of the target needle insertion vessel, obtain the single-pixel contour of the target needle insertion vessel, and then obtain the center line of the single-pixel contour to determine the direction of the target needle insertion vessel, which can ensure that the preferred needle insertion point and the needle insertion trajectory are always inside the blood vessel area; a straight line detection is performed on the target needle insertion vessel to obtain the two endpoints of the fitting straight line of the target needle insertion vessel, and the first endpoint of the two endpoints of the fitting straight line that is in the insertion movement direction of the blood collection needle is used as the preferred needle insertion point.
根据本发明的实施例,还提供一种基于二维图像增强的血管识别与定位装置,包括:According to an embodiment of the present invention, there is also provided a blood vessel recognition and positioning device based on two-dimensional image enhancement, comprising:
获取单元,用于获取采血目标区域的图像形成原始血管图像,并将所述原始血管图像投影至所述采血目标区域形成一阶段血管图像;An acquisition unit, used for acquiring an image of a blood sampling target area to form an original blood vessel image, and projecting the original blood vessel image to the blood sampling target area to form a first-stage blood vessel image;
模型训练单元,用于获取所述一阶段血管图像并基于其中的投影区域部分训练获得投影区域ROI(region of interest,感兴趣区域)语义分割模型;A model training unit, used for acquiring the first-stage blood vessel image and obtaining a projection region ROI (region of interest) semantic segmentation model based on the projection region part of the image;
ROI区域获取单元,用于将所述原始血管图像输入到所述投影区域ROI语义分割模型中提取ROI区域,基于提取的所述ROI区域形成二阶段血管图像;A ROI region acquisition unit, configured to input the original blood vessel image into the projection region ROI semantic segmentation model to extract a ROI region, and form a second-stage blood vessel image based on the extracted ROI region;
定位单元,用于基于所述二阶段血管图像进行增强处理获得优化血管图像,所述优化血管图像中含有入针目标血管;A positioning unit, configured to perform enhancement processing based on the second-stage blood vessel image to obtain an optimized blood vessel image, wherein the optimized blood vessel image contains a target blood vessel for needle insertion;
获取所述入针目标血管的优选入针点以及所述优选入针点在所述一阶段血管图像中的二维位置参数。The preferred needle entry point of the needle entry target blood vessel and the two-dimensional position parameters of the preferred needle entry point in the blood vessel image of the first stage are obtained.
该技术方案中,获取投影形成的一阶段血管图像,采用训练获得的投影区域ROI语义分割模型提取ROI区域进而获得二阶段血管图像,并对二阶段血管图像进行增强处理得到优化血管图像,最终获得入针目标血管以及相应的优选入针点的二维位置参数,从而实现对入针目标血管以及优选入针点的精准识别与定位,这改变了现有技术中原本完全依靠医护人员个人经验识别血管、查找入针点的工作方式,采用本发明的技术方案能够利于智能自动化采血的实现,进而能够在提升采血操作成功率和减轻病患痛苦、提升采血体验感等方面带来有益效果。In this technical solution, a first-stage vascular image formed by projection is obtained, and the ROI area is extracted using the trained projection area ROI semantic segmentation model to obtain a second-stage vascular image, and the second-stage vascular image is enhanced to obtain an optimized vascular image, and finally the two-dimensional position parameters of the target blood vessel for needle insertion and the corresponding preferred needle insertion point are obtained, thereby achieving accurate identification and positioning of the target blood vessel for needle insertion and the preferred needle insertion point. This changes the working mode of the prior art that originally relied entirely on the personal experience of medical staff to identify blood vessels and find needle insertion points. The use of the technical solution of the present invention can facilitate the realization of intelligent and automated blood collection, and can bring beneficial effects in improving the success rate of blood collection operations, alleviating the pain of patients, and improving the blood collection experience.
在一些实施方式中,获取所述一阶段血管图像并基于其中的投影区域部分训练获得投影区域ROI语义分割模型采用如下方式实现:将所述一阶段血管图像中的投影区域部分做目标区域ROI标记并制作为训练集,使用MobilenetV2的deeplabV3+语义分割模型,做模型训练得到所述投影区域ROI语义分割模型。采用训练获得的所述投影区域ROI语义分割模型能够进一步提升对图像中血管的识别精度。In some embodiments, the first-stage vascular image is obtained and the projection area ROI semantic segmentation model is obtained based on the projection area part of the image. The projection area part of the first-stage vascular image is marked as the target area ROI and prepared as a training set, and the deeplabV3+ semantic segmentation model of MobilenetV2 is used to perform model training to obtain the projection area ROI semantic segmentation model. The projection area ROI semantic segmentation model obtained by training can further improve the recognition accuracy of blood vessels in the image.
在一些实施方式中,基于所述二阶段血管图像进行增强处理获得优化血管图像具体包括:对所述二阶段血管图像依次进行灰度转换、预处理操作、二值化操作获得所述优化血管图像。In some embodiments, performing enhancement processing based on the second-stage vascular image to obtain the optimized vascular image specifically includes: performing grayscale conversion, preprocessing operations, and binarization operations on the second-stage vascular image in sequence to obtain the optimized vascular image.
具体的,所述灰度转换也即对所述二阶段血管图像进行灰度化处理,将彩色三通道图像转换成灰度单通道图像,能够加快图像数据的处理速度。Specifically, the grayscale conversion is to grayscale the second-stage blood vessel image, and convert the color three-channel image into a grayscale single-channel image, which can speed up the processing of image data.
所述预处理操作包括先后进行的限制对比度的直方图均衡化处理、一次中值滤波,此步骤主要是对前述灰度转换后的灰度图进行预处理,消除光子通量的随机性造成的噪声,对图像进行去噪处理。The preprocessing operation includes a histogram equalization process with limited contrast and a median filter. This step mainly preprocesses the grayscale image after the grayscale conversion, eliminates the noise caused by the randomness of the photon flux, and denoises the image.
所述二值化操作包括先后进行的边缘检测操作、腐蚀膨胀、二次中值滤波、最小外接椭圆拟合操作。其中,所述边缘检测能够识别出投影区域中的血管部分并将其提取出来;所述腐蚀膨胀、二次中值滤波则能够消除提取的血管部分中的血管轮廓图像中的噪声点;所述最小外接椭圆拟合操作的操作对象为前述的血管轮廓,通过此操作可以根据拟合结果对血管轮廓的平均长度、平均宽度、面积以及相对位置、因素进行量化分析,对以上四个维度的数据进行归一化处理,根据各因素的权重计算优选指数,根据优选指数从血管轮廓中找到最适合入针的血管作为所述入针目标血管。The binarization operation includes edge detection, corrosion expansion, secondary median filtering, and minimum circumscribed ellipse fitting operations. The edge detection can identify the blood vessel part in the projection area and extract it; the corrosion expansion and secondary median filtering can eliminate the noise points in the blood vessel contour image in the extracted blood vessel part; the minimum circumscribed ellipse fitting operation is the aforementioned blood vessel contour. Through this operation, the average length, average width, area, relative position, and factors of the blood vessel contour can be quantitatively analyzed according to the fitting results, and the data of the above four dimensions can be normalized. The preferred index is calculated according to the weight of each factor, and the most suitable blood vessel for needle insertion is found from the blood vessel contour according to the preferred index as the needle insertion target blood vessel.
在一些实施方式中,获取所述入针目标血管的优选入针点以及所述优选入针点在所述一阶段血管图像中的二维位置参数具体包括:In some embodiments, obtaining the preferred needle entry point of the needle entry target blood vessel and the two-dimensional position parameter of the preferred needle entry point in the blood vessel image at the first stage specifically includes:
对所述入针目标血管执行细化操作,提取所述入针目标血管的骨架部分,获取所述入针目标血管的单像素轮廓,进而获取单像素轮廓的中心线,确定所述入针目标血管的走向,这能够保证优选入针点和入针轨迹始终在血管区域内部;对所述入针目标血管进行直线检测,得到所述入针目标血管的拟合直线的两个端点,将所述拟合直线的两个端点中处于采血针入针运动方向上的首个端点作为所述优选入针点。A thinning operation is performed on the target needle insertion vessel to extract the skeleton portion of the target needle insertion vessel, obtain the single-pixel contour of the target needle insertion vessel, and then obtain the center line of the single-pixel contour to determine the direction of the target needle insertion vessel, which can ensure that the preferred needle insertion point and the needle insertion trajectory are always inside the blood vessel area; a straight line detection is performed on the target needle insertion vessel to obtain the two endpoints of the fitting straight line of the target needle insertion vessel, and the first endpoint of the two endpoints of the fitting straight line that is in the insertion movement direction of the blood collection needle is used as the preferred needle insertion point.
本领域的技术人员容易理解的是,在不冲突的前提下,上述各有利方式可以自由地组合、叠加。It is easy for those skilled in the art to understand that, under the premise of no conflict, the above-mentioned advantageous methods can be freely combined and superimposed.
以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。以上仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和变型,这些改进和变型也应视为本发明的保护范围。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention shall be included in the protection scope of the present invention. The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and variations can be made without departing from the technical principles of the present invention, and these improvements and variations should also be regarded as the protection scope of the present invention.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110221254.6A CN112950578B (en) | 2021-02-26 | 2021-02-26 | Vascular identification and positioning method and device based on two-dimensional image enhancement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110221254.6A CN112950578B (en) | 2021-02-26 | 2021-02-26 | Vascular identification and positioning method and device based on two-dimensional image enhancement |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112950578A CN112950578A (en) | 2021-06-11 |
CN112950578B true CN112950578B (en) | 2024-10-29 |
Family
ID=76246692
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110221254.6A Active CN112950578B (en) | 2021-02-26 | 2021-02-26 | Vascular identification and positioning method and device based on two-dimensional image enhancement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112950578B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107397534A (en) * | 2017-08-28 | 2017-11-28 | 深圳麦科田软件技术有限公司 | A kind of integrated vein blood vessel identifying system and method |
CN112043922A (en) * | 2020-09-25 | 2020-12-08 | 伏羲九针智能科技(北京)有限公司 | Automatic puncture equipment for venous blood vessels |
CN112288731A (en) * | 2020-11-05 | 2021-01-29 | 杭州深睿博联科技有限公司 | A kind of vascular stenosis analysis method and device |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010056538A1 (en) * | 2008-10-29 | 2010-05-20 | Tim Maguire | An automated vessel puncture device using three-dimensional(3d) near infrared (nir) imaging and a robotically driven needle |
DE102014213408B4 (en) * | 2014-07-10 | 2018-10-25 | Siemens Healthcare Gmbh | Method for determining a three-dimensional model data set of a blood vessel system comprising at least one vessel segment |
CN107644420B (en) * | 2017-08-31 | 2020-12-29 | 西北大学 | Vascular image segmentation method and MRI system based on centerline extraction |
EP3863517B1 (en) * | 2018-10-09 | 2024-07-31 | Rutgers, The State University of New Jersey | Device for directing a cannula toward a target location under a patient's skin |
CN111820920B (en) * | 2020-06-05 | 2021-10-29 | 哈工大机器人(中山)无人装备与人工智能研究院 | A method and device for processing venous blood collection data and an intelligent blood collection robot |
CN112102227B (en) * | 2020-06-05 | 2025-04-01 | 哈尔滨工业大学 | A method for selecting optimal puncture point of blood vessels based on blood vessel size characteristics |
CN111887864A (en) * | 2020-06-05 | 2020-11-06 | 哈工大机器人(中山)无人装备与人工智能研究院 | End effector for blood collection robotic device |
CN112022346B (en) * | 2020-08-31 | 2022-02-18 | 同济大学 | A control method of an automatic venipuncture and identification integrated robot |
CN112242193B (en) * | 2020-11-16 | 2023-03-31 | 同济大学 | Automatic blood vessel puncture method based on deep learning |
-
2021
- 2021-02-26 CN CN202110221254.6A patent/CN112950578B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107397534A (en) * | 2017-08-28 | 2017-11-28 | 深圳麦科田软件技术有限公司 | A kind of integrated vein blood vessel identifying system and method |
CN112043922A (en) * | 2020-09-25 | 2020-12-08 | 伏羲九针智能科技(北京)有限公司 | Automatic puncture equipment for venous blood vessels |
CN112288731A (en) * | 2020-11-05 | 2021-01-29 | 杭州深睿博联科技有限公司 | A kind of vascular stenosis analysis method and device |
Also Published As
Publication number | Publication date |
---|---|
CN112950578A (en) | 2021-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109859203B (en) | Defect tooth image identification method based on deep learning | |
JP6231885B2 (en) | Medical device for examining the neck | |
CN113017625B (en) | Control method and device of blood sampling robot | |
CN110930374A (en) | Acupoint positioning method based on double-depth camera | |
CN117457229B (en) | Anesthesia depth monitoring system and method based on artificial intelligence | |
CN108229584A (en) | A kind of Multimodal medical image recognition methods and device based on deep learning | |
WO2020042303A1 (en) | Method and device for identifying image difference | |
CN109948719A (en) | An automatic classification method of fundus image quality based on residual dense module network structure | |
CN112233789A (en) | Regional feature fusion type hypertensive retinopathy classification method | |
CN110648304A (en) | Intelligent auxiliary diagnosis method for handheld hard endoscope | |
CN111899272B (en) | Fundus image blood vessel segmentation method based on coupled neural network and line connector | |
CN113171053A (en) | A method for enhanced detection of blood vessels in endoscopic surgery based on near-infrared imaging | |
CN107194928A (en) | A kind of venous blood collection acupuncture treatment point extraction method of view-based access control model | |
CN113017566B (en) | Image-based blood vessel identification and positioning method and device | |
Smith et al. | Automated torso contour extraction from clinical cardiac MR slices for 3D torso reconstruction | |
CN112950578B (en) | Vascular identification and positioning method and device based on two-dimensional image enhancement | |
CN105869151B (en) | Tongue segmentation and tongue fur tongue nature separation method | |
CN110070125A (en) | A kind of liver and gall surgical department's therapeutic scheme screening technique and system based on big data analysis | |
CN109785325A (en) | A method for multimodal medical imaging based on deep learning | |
CN112183518B (en) | Automatic vein target determination method, device and equipment | |
Abdel-Latif et al. | Achieving information security by multi-modal iris-retina biometric approach using improved mask R-CNN | |
CN112102227B (en) | A method for selecting optimal puncture point of blood vessels based on blood vessel size characteristics | |
CN104783786B (en) | Characteristics of electrocardiogram identifying system and method | |
CN118397015A (en) | Ultrasonic image plaque segmentation method, system and equipment based on deep learning | |
CN112700421B (en) | Coronary image classification method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |