A puncture method based on marker tracking

By setting marker points at the puncture point and using HSV color space and edge detection technology, accurate tracking and real-time movement information acquisition in complex environments are achieved, and the error problem caused by breathing during the puncture process is solved.

CN114742810BActive Publication Date: 2024-09-27JINAN PEOPLES HOSPITAL +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210448700.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-27
Publication Date
2024-09-27
Estimated Expiration
2042-04-27

AI Technical Summary

Technical Problem

During the puncture process, the operator cannot directly see the internal conditions of the human body, so the selection of the needle insertion point depends on experience. The instability caused by the patient's breathing causes errors in the puncture results.

Method used

A method based on marker point tracking is adopted, by setting marker points at the puncture point, using HSV color space to remove image noise, edge detection and non-maximum suppression to obtain the target contour image, and using the least square method to fit geometric features and track the marker points in real time. Location.

Benefits of technology

Accurately identify and track puncture points in complex environments, enhance robustness to occlusion, obtain movement information of puncture points in real time, and reduce errors caused by patient breathing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114742810B
    Figure CN114742810B
Patent Text Reader

Abstract

A puncture method based on marker point tracking includes setting a marker point at the puncture point, tracking the marker point to shoot an input video stream, initializing the input video stream, and converting it into an HSV color space to remove image noise; finding the target color area by selecting the HSV color range; using edge detection processing and non-maximum suppression methods to obtain the maximum target color area, judging whether the area of ​​the maximum target color area is greater than a threshold, and obtaining a target contour image; traversing all points of the target contour image, using the least squares method to fit the geometric features, obtain a fitting circle, and complete the tracking of the marker point; and performing puncture according to the obtained fitting circle. Tracking markers placed at percutaneous puncture points can be identified and tracked in more complex environments, enhancing robustness to occlusion, thereby accurately obtaining the specific location of the puncture point, and obtaining the movement information of the puncture point in real time to solve the movement error caused by the patient's breathing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a puncture method based on marker point tracking. Background Art

[0002] Puncture is a diagnostic and treatment technique in which a puncture needle is inserted into the body cavity to extract secretions for testing, or to inject gas or contrast agent into the body cavity for imaging examination, or to inject drugs into the body cavity.

[0003] During the puncture process, the operator cannot directly see the internal situation of the human body, and the selection of the needle entry point depends on the operator's experience. In the prior art, the operator usually puts a marking sticker on the surface of the patient's body based on experience, and then performs the puncture. Imaging equipment can be used to confirm whether the needle tip of the puncture needle has entered the target puncture target in the patient's body. However, the patient needs to breathe normally during the puncture process, and the needle entry point cannot remain still. In the prior art, the patient is basically required to adjust it by himself to ensure smooth and regular breathing, but it will still cause errors in the puncture results. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a puncture method based on marker point tracking.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: a puncture method based on marker point tracking, comprising the following steps: S1, setting a marker point at the puncture point, tracking the marker point to shoot the input video stream, initializing the input video stream, and converting it into the HSV color space with image noise removed; S2, finding the target color area by selecting the HSV color range; S3, using edge detection processing and non-maximum suppression method to obtain the maximum area of ​​the target color, judging whether the area of ​​the maximum area of ​​the target color is greater than the threshold, and obtaining the target contour image; S4, traversing all points of the target contour image, using the least squares method to fit the geometric features, obtain the fitting circle, and complete the tracking of the marker point; S5, puncturing according to the obtained fitting circle. The tracking marker placed at the percutaneous puncture point can be identified and tracked in a more complex environment, and the robustness to occlusion is enhanced, so as to accurately obtain the specific position of the puncture point, and the movement information of the puncture point can be obtained in real time to solve the movement error caused by the patient's breathing.

[0006] Preferably, the marking point is a circular tracking marker.

[0007] Preferably, the input video stream is in RGB color space.

[0008] Preferably, in step S1, the image noise of the HSV video stream is removed by converting the input RGB video stream into an HSV video stream and performing smoothing filtering and corrosion expansion operations on the HSV video stream using a two-dimensional Gaussian template. Images are easily affected by the environment during acquisition, transmission and conversion, which is manifested as noise in the image. These noises will cause image quality to degrade or interfere with the extraction of the desired image information, so it is necessary to remove the noise interference in these images to improve the accuracy of recognition. Compared with the RGB space, the HSV space can express the brightness, hue, and vividness of colors very intuitively, which is convenient for contrast between colors.

[0009] Preferably, step S3 specifically includes: S31, edge detection processing is performed on the target color area found in step S2 to obtain a preliminary edge response image and obtain available gradient feature information; S32, the edge response image is refined by a non-maximum suppression method to obtain a single-pixel edge image; S33, the single-pixel edge image is binarized based on a hysteresis threshold to obtain a contour image with continuous contours; S34, the maximum area of ​​the contour image is calculated, and it is determined whether it is greater than a threshold, and contour images greater than the threshold are removed to obtain a target contour image. Non-maximum suppression can very effectively refine the ridge band in the gradient amplitude image, thereby retaining only the points with the largest local changes.

[0010] Preferably, step S4 specifically includes: S41, traversing all points of the target contour image to find the four points on the leftmost, rightmost, topmost and bottommost; S42, finding the center and radius of the smallest circle surrounding the four points; S43, starting iteration, traversing all points, checking whether there are points out of bounds, using the least squares method to fit the geometric features until all points are within the smallest circle found, then the circle is the final circle, exiting the iteration, returning to the center of the circle, and completing the tracking of the marked points.

[0011] Due to the application of the above technical solution, the present invention has the following advantages compared with the prior art: 1. The present invention can identify and track the tracking marker placed at the percutaneous puncture point in a more complex environment, enhance the robustness against occlusion, thereby accurately obtaining the specific position of the puncture point, and can obtain the movement information of the puncture point in real time, solving the movement error caused by the patient's breathing;

[0012] 2. Images are easily affected by the environment during acquisition, transmission and conversion, which is manifested as noise in the image. These noises will reduce the image quality or interfere with the extraction of the desired image information. Therefore, it is necessary to remove the noise interference in these images to improve the accuracy of recognition. Compared with the RGB space, the HSV space can very intuitively express the brightness, hue, and vividness of the color, which is convenient for contrast between colors;

[0013] 3. Non-maximum suppression can very effectively refine the ridge bands in the gradient magnitude image, thereby retaining only the points with the largest local changes. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0015] The puncture method based on marker point tracking as shown in the figure includes the following steps.

[0016] Step S1, set a circular tracking marker at the puncture point, track the circular tracking marker to shoot the video stream of the input RGB color space, convert the input RGB video stream into an HSV video stream, and use a two-dimensional Gaussian template to perform smoothing filtering and corrosion expansion operations on the HSV video stream to remove the image noise of the HSV video stream. Images are easily affected by the environment during acquisition, transmission and conversion, which is manifested as noise in the image. These noises will cause the image quality to degrade or interfere with the extraction of the desired image information, so it is necessary to remove the noise interference in these images to improve the accuracy of recognition. Compared with the RGB space, the HSV space can very intuitively express the brightness, hue, and vividness of the color, which is convenient for contrast between colors.

[0017] Step S2, finding the target color area by selecting the HSV color range.

[0018] Step S3, edge detection is performed on the target color area found in step S2 to obtain a preliminary edge response image and available gradient feature information; the edge response image is refined by non-maximum suppression to obtain a single-pixel edge image; the single-pixel edge image is binarized based on a hysteresis threshold to obtain a contour image with continuous contours; the maximum area of ​​the contour image is calculated to determine whether it is greater than a threshold, and contour images greater than the threshold are removed to obtain a target contour image. Non-maximum suppression can very effectively refine the ridge band in the gradient amplitude image, thereby retaining only the points with the largest local changes.

[0019] Step S4, traverse all points of the target contour image, find the four points on the leftmost, rightmost, topmost and bottommost; S42, find the center and radius of the smallest circle surrounding these four points; S43, start iteration, traverse all points, check whether there are points out of bounds, use the least squares method to fit the geometric features, until all points are within the smallest circle found, then the circle is the final circle, exit iteration, return to the center of the circle, and complete the tracking of the marked points.

[0020] Step S5, performing puncture according to the final circle obtained.

[0021] The present invention can identify and track tracking markers placed at percutaneous puncture points in more complex environments, enhance robustness against occlusion, and thus accurately obtain the specific location of the puncture point. It can also obtain the movement information of the puncture point in real time and solve the movement error caused by the patient's breathing.

[0022] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made according to the spirit of the present invention should be included in the protection scope of the present invention.

Claims

1. A puncture method based on marker tracking, characterized in that: The following steps are involved: S1, setting a marking point at the puncture point, tracking the marking point to shoot the input video stream, performing an initialization operation on the input video stream, and converting it into an HSV color space for removing image noise; S2. Find the target color area by selecting the HSV color range; S3, using edge detection processing and non-maximum suppression method to obtain the maximum target color area, determine whether the area of ​​the maximum target color area is greater than a threshold, and obtain a target contour image; S4, traversing all points of the target contour image, using the least square method to fit the geometric features, obtaining a fitting circle, and completing the tracking of the marked points; S5. Perform puncture according to the obtained fitting circle.

2. The puncture method based on marker tracking according to claim 1, characterized in that: The marking point is a circular tracking marker.

3. The puncture method based on marker tracking according to claim 1, characterized in that: The input video stream is in RGB color space.

4. The puncture method based on marker tracking according to claim 3, characterized in that: In step S1, the input RGB video stream is converted into an HSV video stream, and a two-dimensional Gaussian template is used to perform smoothing filtering and erosion and dilation operations on the HSV video stream to remove image noise from the HSV video stream.

5. The puncture method based on marker tracking according to claim 1, characterized in that: Step S3 specifically includes: S31, performing edge detection processing on the target color area found in step S2 to obtain a preliminary edge response image and obtain available gradient feature information; S32, using a non-maximum suppression method to perform refinement processing on the edge response image to obtain a single-pixel edge image; S33, performing a hysteresis threshold-based binarization processing on the single-pixel edge image to obtain a contour image with continuous contours; S34, calculating the maximum area of ​​the contour image, judging whether it is greater than a threshold, removing contour images greater than the threshold, and obtaining a target contour image.

6. The puncture method based on marker tracking according to claim 1, characterized in that: Step S4 specifically includes: S41, traversing all points of the target contour image to find the four points on the leftmost, rightmost, topmost and bottommost; S42, finding the center and radius of the smallest circle surrounding these four points; S43, starting iteration, traversing all points, checking whether there are points out of bounds, using the least squares method to fit the geometric features until all points are within the smallest circle found, then the circle is the final circle, exiting the iteration, returning to the center of the circle, and completing the tracking of the marked points.