Near infrared optical tracking method and system

Through near-infrared binocular cameras and structured light technology, the three-dimensional coordinates of surgical tools and medical images are reconstructed, which solves the problem of redundant information and errors in the optical tracking system and improves the accuracy of surgical navigation.

CN118229930BActive Publication Date: 2024-09-10ARIEMEDI MEDICAL SCI BEIJING CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410402030.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-03
Publication Date
2024-09-10
Estimated Expiration
2044-04-03

AI Technical Summary

Technical Problem

Existing optical tracking systems have problems such as too much redundant information in surgical navigation, human errors introduced by flexible deformation of the skin, and calibration errors introduced by 3D scanners, making it difficult to meet the needs of accurate navigation.

Method used

A near-infrared binocular camera is used to acquire multi-frame fusion images of the surgical area. Through structured light projection and retroreflective landmark point patterns, the triangulation principle is used to reconstruct the three-dimensional coordinates of the retroreflective landmark points and structured light phase shift areas to realize the positioning of surgical tools. Accurate registration with medical images avoids errors introduced by contact measurement and 3D scanning equipment.

Benefits of technology

It improves the positioning accuracy and registration accuracy of surgical navigation, solves the problem of redundant information and errors, and realizes the integration of three-dimensional tool positioning and surface scanning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118229930B
    Figure CN118229930B
Patent Text Reader

Abstract

The present invention discloses a near-infrared optical tracking method and system. The method makes full use of the background area without marker points in the near-infrared image, projects structured light onto the target surface, and solves the problem of redundant information in the image; reconstructs the surface point cloud by non-contact projection stripes, and solves the problem of contact measurement of skin flexible deformation; and simultaneously reconstructs the marker points and the structured light projection surface point cloud in the optical tracking system's own coordinate system, eliminating the need for calibration matrix conversion from three-dimensional scanning point cloud to optical tracking system, and solves the problem of additional calibration errors introduced by three-dimensional scanning equipment, thereby improving the registration accuracy of surgical navigation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer-assisted surgical navigation technology, and in particular to a near-infrared optical tracking method and system based on multi-light source active illumination and stereoscopic vision three-dimensional reconstruction technology, which can realize the integration of three-dimensional tool positioning and surface scanning. Background Art

[0002] Computer-assisted surgical navigation is based on preoperative CT, MR and other medical image data. It uses an optical or electromagnetic tracking system to track the six-degree-of-freedom posture of surgical tools, establish a coordinate transformation matrix from the tracking system to the medical image coordinate system, transform surgical tools to display in medical images, guide doctors to complete the operation along the precise preoperative planning path, and provide the relative position relationship between tools and anatomical structures to improve the safety of surgery. The key technologies of surgical navigation include the three-dimensional positioning of tools in the tracking system and the registration of the tracking system to the coordinate system of medical images. Positioning and registration directly determine the positioning accuracy of surgical navigation.

[0003] The positioning process is achieved through an optical tracking system, which uses two image sensors and light sources in the common field of view to form an optical positioning device to identify active / passive luminous landmarks, track surgical tools attached with three or more landmarks, and calculate rotation and translation postures. Since near-infrared light has the advantages of being invisible to the human eye and having little indoor background interference, optical tracking systems often operate in the near-infrared band. In surgical navigation, the coordinate system registration process establishes a coordinate transformation relationship from the tracking system to the medical image through the corresponding point sets of the image coordinate system and the tracking system coordinate system, so that the real-time position of the tool can be displayed in the image during the operation to guide the doctor to perform the operation.

[0004] At present, the existing optical tracking system can only track active / passive luminous markers, and a large number of background pixels other than the markers in the image are regarded as redundant information. The methods for obtaining three-dimensional surface point clouds for registration are divided into three categories: methods based on surface-attached markers, methods based on surface point selection based on the tip of a rigid probe, and methods based on the combination of three-dimensional scanners and markers. The first two require contact with the target skin to obtain the coordinates of three-dimensional points. Due to the different forces of different operators contacting the skin surface, the artificial error of surface flexible deformation is introduced. The method based on the combination of three-dimensional scanners and markers connects the markers to the three-dimensional scanner, uses an optical positioning device to track the markers on the scanner, and calculates the calibration matrix from the scanner to the optical tracking system. The point cloud reconstructed by the scanner is converted to the optical tracking system coordinate system through the calibration matrix for subsequent registration. However, the scanner solution introduces an additional calibration matrix in the registration. The calibration matrix has rotation and translation errors. During the registration process, the error of the rotation angle is magnified by the distance of the scanned point cloud, which cannot meet the needs of precise navigation. Summary of the invention

[0005] In view of the above problems, the present invention provides a near-infrared optical tracking method and system for overcoming the above problems or at least partially solving the above problems. The three-dimensional positioning function of the optical tracking system is expanded, and the problems of a large amount of redundant information in the above positioning process, flexible deformation of the skin in the registration process, and calibration errors introduced by the three-dimensional scanner are solved.

[0006] The present invention provides the following scheme:

[0007] A near-infrared optical tracking method, comprising:

[0008] Acquire a fused image of a multi-frame surgical area using a near-infrared binocular camera, wherein the fused image includes a stripe structured light pattern emitted by a near-infrared projector to the surgical area and a retro-reflective marker point pattern emitted by a near-infrared light source and reflected to the surgical area by a tracking marker;

[0009] Segment the image threshold of each frame of the fused image to obtain a number of connected domains; classify the connected domains based on the characteristics of each of the connected domains to obtain a number of first target connected domains and a number of second target connected domains corresponding to each frame of the fused image; the first target connected domain is used to characterize the retroreflective mark point area, and the second target connected domain is used to characterize the structured light phase shift area;

[0010] Using the first target connected domains contained in the single-frame fusion image, the center coordinates of each marker point in the retroreflective marker point area are calculated respectively, and the three-dimensional coordinates of each marker point are reconstructed according to the triangulation principle in stereo vision using the center coordinates of each marker point; the three-dimensional coordinates are used for positioning the surgical navigation tool;

[0011] The three-dimensional coordinates of each pixel point in the structured light phase shift area are reconstructed using the several second target connected domains contained in the continuous multiple frames of the fused image in combination with the triangulation principle, and the dense point cloud corresponding to the structured light phase shift area is reconstructed using the three-dimensional coordinates of each pixel point; the dense point cloud is used for medical image registration.

[0012] Preferably: the exposure of the near-infrared binocular camera, the emission of light by the near-infrared light source and the emission of the projection image by the near-infrared projector are performed synchronously.

[0013] Preferably: the near-infrared binocular camera acquires the fused image with high signal-to-noise ratio in a dynamic exposure mode; the timing of the dynamic exposure includes maintaining the illumination time T of the near-infrared light source I The exposure time of the near-infrared binocular camera is extended to T C , set the illumination time of the near-infrared projector to T P , where T P >TC .

[0014] Preferably: the mth connected domain C m The feature calculation method is as follows:

[0015] I max =max(I(x,y)),(x,y)∈C m ,1≤m≤N

[0016]

[0017] In the formula, I max is the maximum grayscale value in the connected domain, I(x,y) is the grayscale of the pixel with coordinates (x,y) on the current frame image, I1, I2, I3, I n Represents the pixel grayscale of the 1st, 2nd, 3rd, and nth frames of a continuous n-frame image.

[0018] Preferably: determine the maximum grayscale value I in the connected domain max Is it greater than the preset threshold I thr , if it is greater than, it is determined as the first target connected domain; if it does not reach the threshold I thr If the connected domain is greater than the preset threshold B, the modulation degree B(x,y) is selected. thr If the pixel is greater than , it is determined to be the second target connected area.

[0019] Preferably: the center coordinates of each of the landmark points are calculated using the threshold weighted grayscale centroid method.

[0020]

[0021] In the formula, I b is the background grayscale near the connected domain.

[0022] Preferably: it also includes using a random sampling consensus algorithm to identify the type of surgical tool.

[0023] Preferably: the random sampling consensus algorithm includes:

[0024] Using a random sampling consistency algorithm, randomly sampling three points from the three-dimensional coordinates of each of the marker points to form a triangle, and matching the side length of the triangle with the marker point coordinates of the retroreflective marker bracket used to install the tracking marker;

[0025] Determine that the difference in the length of the triangle sides is less than a preset difference threshold, and use the least squares method to calculate the rigid transformation matrix;

[0026] Using the rigid transformation matrix to transform all the marking points of the retroreflective marker support, and determining that the nearest points in the three-dimensional coordinates of each of the marking points are matched one by one;

[0027] The least square rigid transformation matrix is ​​calculated, and when it is determined that the error of the least square solution is less than the difference threshold, it is determined to be a correct tool match and output as the tool position information.

[0028] Preferably: Substitute the grayscale of the pixels in the consecutive frames into the inverse tangent function to solve the phase:

[0029]

[0030] Where arctan is the two-dimensional inverse tangent function;

[0031] Match the same phase values ​​in the binocular images in and are the phases solved by the left eye and the right eye respectively, and the difference between the matched coordinates d = x-x' is the disparity value;

[0032] Interpolate the initially matched disparity neighborhood to obtain a sub-pixel disparity map;

[0033] The three-dimensional coordinates of each pixel point in the structured light phase shift area are reconstructed based on the triangulation principle.

[0034] A near-infrared optical tracking system, comprising:

[0035] A near-infrared binocular camera is used to collect multi-frame fusion images of the surgical area;

[0036] a near-infrared projector for emitting a stripe structured light pattern toward the surgical area;

[0037] A near-infrared light source, used for emitting infrared light, so that the infrared light is reflected to the surgical area through the tracking marker to form a retro-reflective marker point pattern;

[0038] A retroreflective marker bracket, the retroreflective marker bracket is connected to the surgical tool, and the retroreflective marker bracket is used to fix the tracking marker;

[0039] A control circuit, wherein the control circuit is connected to the near-infrared binocular camera, the near-infrared projector and the near-infrared light source respectively, and the control circuit is used to control the near-infrared binocular camera, the near-infrared projector and the near-infrared light source to synchronously perform actions;

[0040] A computer workstation, wherein the computer workstation is used to execute the above-mentioned near-infrared optical tracking method.

[0041] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0042] A near-infrared optical tracking method and system are provided in an embodiment of the present application. The method makes full use of the background area in the near-infrared image that does not contain marker points, projects structured light onto the target surface, and solves the problem of redundant information in the image; reconstructs the surface point cloud by non-contact projection stripes, and solves the problem of contact measurement of flexible deformation of the skin; and simultaneously reconstructs the marker points and the structured light projection surface point cloud in the optical tracking system's own coordinate system, eliminating the need for conversion of the three-dimensional scanning point cloud to the calibration matrix of the optical tracking system, and solves the problem of additional calibration errors introduced by the three-dimensional scanning equipment, thereby improving the registration accuracy of surgical navigation.

[0043] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 is a flow chart of a near-infrared optical tracking method provided by an embodiment of the present invention;

[0046] Figure 2 A schematic diagram of a fusion image acquisition process provided by an embodiment of the present invention;

[0047] Figure 3 A schematic diagram of a tracking scenario provided by an embodiment of the present invention;

[0048] Figure 4 A schematic diagram of a synchronous lighting timing sequence provided by an embodiment of the present invention;

[0049] Figure 5 A schematic diagram of a tool posture estimation process of an embodiment of the present invention is provided;

[0050] Figure 6 A schematic diagram of the structured light point cloud reconstruction process of an embodiment of the present invention is provided.

[0051] In the figure: 1-near-infrared camera, 2-near-infrared light source, 3-binocular camera rigid connector, 4-near-infrared projector, 5-control circuit, 6-retroreflective marker bracket, 7-surgical tools, 8-surgical area, 9-computer workstation. DETAILED DESCRIPTION

[0052] The technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.

[0053] See also Figure 1 , a near-infrared optical tracking method provided by an embodiment of the present invention, such as Figure 1 As shown, the method may include:

[0054] S101: Using a near-infrared binocular camera to obtain a fused image of multiple frames of the surgical area, the fused image includes a stripe structured light pattern emitted by a near-infrared projector to the surgical area and a retroreflective marker point pattern emitted by a near-infrared light source and reflected to the surgical area by a tracking marker; further, the exposure of the near-infrared binocular camera, the emission of light by the near-infrared light source, and the emission of the projected image by the near-infrared projector are performed synchronously.

[0055] In order to solve the problem of projector light power dispersion, the embodiment of the present application can also provide the near-infrared binocular camera to obtain the fused image with high signal-to-noise ratio in a dynamic exposure manner; the timing of the dynamic exposure includes maintaining the illumination time T of the near-infrared light source I The exposure time of the near-infrared binocular camera is extended to T C , set the illumination time of the near-infrared projector to T P , where T P >T C .

[0056] S102: Segmenting each frame of the fused image by an image threshold to obtain a plurality of connected domains; classifying the plurality of connected domains based on the features of each of the connected domains to obtain a plurality of first target connected domains and a plurality of second target connected domains corresponding to each frame of the fused image; the first target connected domains are used to characterize the retroreflective mark point area, and the second target connected domains are used to characterize the structured light phase shift area;

[0057] Furthermore, the mth connected domain C m The feature calculation method is as follows:

[0058] I max =max(I(x,y)),(x,y)∈C m ,1≤m≤N

[0059]

[0060] In the formula, I maxis the maximum grayscale value in the connected domain, I(x,y) is the grayscale of the pixel with coordinates (x,y) on the current frame image, I1, I2, I3, I n Represents the pixel grayscale of the 1st, 2nd, 3rd, and nth frames of a continuous n-frame image.

[0061] Determine the maximum grayscale value I in the connected domain max Is it greater than the preset threshold I thr , if it is greater than, it is determined as the first target connected domain; if it does not reach the threshold I thr If the connected domain is greater than the preset threshold B, the modulation degree B(x,y) is selected. thr If the pixel is greater than , it is determined to be the second target connected area.

[0062] S103: Calculate the center coordinates of each marker point in the retroreflective marker point area in the binocular camera image using the first target connected domains contained in the single-frame fusion image, and reconstruct the three-dimensional coordinates of each marker point according to the triangulation principle in stereo vision using the center coordinates of each marker point; the three-dimensional coordinates are used for positioning the surgical navigation tool; in specific implementation, the embodiment of the present application can provide a threshold weighted grayscale centroid method for calculating the center coordinates of each marker point

[0063]

[0064] In the formula, I b is the background grayscale near the connected domain.

[0065] The method also includes using a random sampling consensus algorithm to identify the type of surgical tool. The random sampling consensus algorithm includes:

[0066] Using a random sampling consistency algorithm, randomly sampling three points from the three-dimensional coordinates of each of the marker points to form a triangle, and matching the side length of the triangle with the marker point coordinates of the retroreflective marker bracket used to install the tracking marker;

[0067] Determine that the difference in the length of the triangle sides is less than a preset difference threshold, and use the least squares method to calculate the rigid transformation matrix;

[0068] Using the rigid transformation matrix to transform all the marking points of the retroreflective marker support, and determining that the nearest points in the three-dimensional coordinates of each of the marking points are matched one by one;

[0069] The least square rigid transformation matrix is ​​calculated, and when it is determined that the error of the least square solution is less than the difference threshold, it is determined to be a correct tool match and output as the tool position information.

[0070] S104: Reconstruct the three-dimensional coordinates of each pixel point in the structured light phase shift area using the connected domains of the second target contained in the continuous multiple frames of the fused image in combination with the triangulation principle, and reconstruct a dense point cloud corresponding to the structured light phase shift area using the three-dimensional coordinates of each pixel point; the dense point cloud is used for medical image registration.

[0071] In order to implement the method provided in the embodiment of the present application, the embodiment of the present application may also provide a near-infrared optical tracking system, which may include:

[0072] The near-infrared binocular camera is used to collect multiple frames of fused images of the surgical area; wherein the near-infrared binocular camera can be realized by connecting two near-infrared cameras 1 with a binocular camera rigid connector 3 .

[0073] A near-infrared projector 4, used for emitting a stripe structured light pattern to the surgical area 8;

[0074] A near-infrared light source 2, used for emitting infrared light, so that the infrared light is reflected by the tracking marker to the surgical area 8 to form a retro-reflective marker point pattern;

[0075] A retroreflective marker support 6, wherein the retroreflective marker support 6 is connected to a surgical tool 7 and is used to fix the tracking marker;

[0076] A control circuit 5, wherein the control circuit 5 is respectively connected to the near-infrared binocular camera, the near-infrared projector 4 and the near-infrared light source 2, and the control circuit 5 is used to control the near-infrared binocular camera, the near-infrared projector 4 and the near-infrared light source 2 to perform actions synchronously;

[0077] A computer workstation 9, wherein the computer workstation 9 is used to execute the above-mentioned near-infrared optical tracking method.

[0078] The near-infrared optical tracking method provided in the embodiment of the present application realizes a tracking method that integrates three-dimensional tool positioning and surface scanning. It uses a near-infrared binocular camera in combination with an LED light source and a digital light projector, controls the synchronized camera exposure and light source illumination time through a control circuit, and collects a fused image of the retroreflective marker point and the structured light projection area. Based on the connected domain analysis of the fused image, the current tool marker point area is identified in a single-frame image, the sinusoidal stripe structured light area is identified through the grayscale periodic change of multiple frames of images, and the phase information of the structured light area is calculated, thereby realizing the synchronous identification of the tool marker point and the structured light projection area. Based on the principle of stereo vision, the phases of the marker points and the structured light areas on the binocular camera image are matched, thereby reconstructing the three-dimensional coordinates of the marker points and the three-dimensional surface data (dense point cloud) of the structured light projection area. The two are respectively used for tool positioning and medical image registration processes for surgical navigation.

[0079] The method provided in the embodiment of the present application is described in detail below in conjunction with the system provided in the embodiment of the present application, wherein four consecutive frames of images are used to reconstruct the point cloud.

[0080] The embodiment of the present application provides an integrated framework for synchronous tool tracking and surface point cloud reconstruction. The specific implementation steps of the method are as follows:

[0081] Step 1: Synchronous dynamic exposure binocular near-infrared image acquisition.

[0082] Specifically, Figure 2 , Figure 3 As shown, the near-infrared binocular camera includes two binocular cameras 1 fixed by a rigid connector 3, a control circuit 5 controls the synchronization of the binocular camera 1, a near-infrared light source (near-infrared LED light board) 2 and a digital light projector 4, and a trigger delay T is set in the register configuration of the binocular camera 1. D , the near-infrared projector (digital light projector) 4 pre-burns the four-step phase shift pattern. Whenever a frame of image is about to be exposed, the binocular camera 1 sends a trigger pulse to the control circuit 5, and after T D After a delay of , the control circuit 5 lights up the near-infrared light source 2 and drives the near-infrared projector 4 to project the stripe structured light pattern of the current frame.

[0083] The binocular camera 1 often works in short exposure mode when tracking a marker to avoid overexposure and smearing. Considering that the light power of the near-infrared projector 4 is relatively dispersed and energy loss occurs on the diffuse reflection surface, the short exposure mode has low responsiveness to the diffuse reflection surface. In this embodiment, a dynamic exposure mode is set to obtain a fused image with a high signal-to-noise ratio.

[0084] The timing of dynamic exposure is as follows Figure 4 As shown, the illumination time TI of the near-infrared light source 2 is kept unchanged, the exposure time of the binocular camera 1 is extended to TC, and the illumination time of the near-infrared projector 4 is set to T P >T C Such a setting can satisfy the fusion image of the structured light signal with high signal-to-noise ratio and the high light reflection signal of the retroreflective marker.

[0085] Since the illumination time T of the near-infrared light source 2 I The response intensity of the retroreflective marker on the image remains unchanged, avoiding overexposure and smearing under long exposure. At the same time, the structured light signal of the long exposure response meets the calculation requirements of high signal-to-noise ratio. The synchronous exposure image collected by the binocular camera 1 is sent to the computer workstation 9 for processing.

[0086] Step 2: Fuse the feature statistics of the image connected domain.

[0087] The targets have their own features in the fused image, where each mark point of the retroreflective marker is characterized by a circular highlight spot, and the structured light area is characterized by a stripe pattern that changes periodically over time.

[0088] The image threshold is divided into different connected regions C1, C2, ..., C N , the features statistically analyzed in the embodiments of the present application include:

[0089] (1) Maximum grayscale value I in the connected domain max .

[0090] (2) The modulation degree B(x,y) of each pixel’s grayscale changing over time.

[0091] For example, the mth connected domain C m The feature calculation method is as follows:

[0092] I max =max(I(x,y)),(x,y)∈C m ,1≤m≤N

[0093]

[0094] Among them, I(x, y) is the grayscale of the pixel with coordinates (x, y) on the current frame image, and I1, I2, I3, and I4 represent the pixel grayscales of the 1st, 2nd, 3rd, and 4th frames of four consecutive frames.

[0095] Based on the above connected domain features, they are classified.

[0096] For the connected domain extracted from a single frame image, determine the maximum grayscale value I in the connected domain max Is it greater than the preset threshold I thr , if it is greater than , it is determined to be a high light reflection area, that is, the first target connected domain. The first target connected domain is used to calculate the three-dimensional coordinates of the retroreflective mark point.

[0097] For those that do not reach the threshold I thr If the connected domain is greater than the preset threshold B, the modulation degree B(x,y) is selected. thr If the pixel is greater than , it is determined to be a structured light area pixel, that is, the second target connected domain. The second target connected domain is used for subsequent dense point cloud reconstruction. The rest that do not meet the above conditions are determined to be background pixels, such as Figure 2 shown.

[0098] Step 3: Single-frame multi-tool pose estimation.

[0099] Based on the connected domain type determined in step 2, the three-dimensional coordinates are reconstructed respectively.

[0100] like Figure 5As shown, for the reverse reflection mark point connected domain (first target connected domain) C, the threshold weighted grayscale centroid method is used to calculate the mark point center

[0101]

[0102] Among them, I b is the background grayscale near the connected domain.

[0103] The center coordinates of the marker points are calculated in the binocular camera image, and the three-dimensional coordinates of the marker points are reconstructed based on the triangulation principle in stereo vision.

[0104] The embodiment of the present application can also use a random sampling consistency algorithm to identify various types of surgical tools 7. The specific steps are as follows: different types of surgical tools 7 are fixed with retroreflective marker brackets 6 with different distributions. A random sampling consistency algorithm is used to randomly sample three points from all reconstructed three-dimensional coordinate points to form a triangle, and the side length of the triangle is matched with the coordinates of the marker points of the retroreflective marker bracket 6. If the difference in the side length of the triangle is less than a certain threshold, the least squares method is used to calculate the rigid transformation matrix; then a second judgment is made, and all the marker points of the retroreflective marker bracket 6 are transformed using the above-mentioned rigid transformation matrix to find the nearest points in the reconstructed three-dimensional coordinate points for one-to-one matching, and the least squares rigid transformation matrix is ​​calculated again. When the error of the least squares solution is less than a certain threshold, it is judged as a correct tool match and output as the tool position information, such as Figure 4 shown.

[0105] Step 4: Reconstruct the surface point cloud in a consistent coordinate system.

[0106] Based on the phase-shifted stripe structured light region (the second target connected domain) identified in step 2, four consecutive frames of images are used to reconstruct the point cloud, and the grayscale of the consecutive frames of pixels is substituted into the inverse tangent function to solve the phase:

[0107]

[0108] Wherein, arctan is the two-dimensional inverse tangent function.

[0109] Match the same phase values ​​in the binocular images in and are the phases solved by the left eye and the right eye respectively. The difference of the matched coordinates d = x-x' is the disparity value. Then, the sub-pixel disparity map is obtained by interpolation of the initially matched disparity neighborhood. Finally, the three-dimensional coordinates of each pixel can be reconstructed according to the principle of triangulation, and the dense point cloud can be reconstructed, such as Figure 6 shown.

[0110] Since steps 3 and 4 are implemented on the same camera near-infrared image, the identified tools and the reconstructed point cloud are generated in the same camera coordinate system, which solves the problem of additional calibration errors introduced by existing 3D scanning technologies. The tools and point clouds in the consistent coordinate system are displayed in the computer workstation 9 for tool positioning in surgical navigation and medical image registration process, respectively.

[0111] In summary, the near-infrared optical tracking method provided in the present application makes full use of the background area in the near-infrared image that does not contain landmark points, projects the structured light onto the target surface, and solves the problem of redundant information in the image; reconstructs the surface point cloud by non-contact projection stripes, and solves the problem of contact measurement of flexible deformation of the skin; by simultaneously reconstructing the landmark points and the structured light projection surface point cloud in the optical tracking system's own coordinate system, there is no need for the calibration matrix conversion from the three-dimensional scanning point cloud to the optical tracking system, and solves the problem of additional calibration errors introduced by the three-dimensional scanning equipment, thereby improving the registration accuracy of surgical navigation.

[0112] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0113] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

[0114] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

[0115] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A near-infrared optical tracking method, characterized in that: include: Acquire a fused image of a multi-frame surgical area using a near-infrared binocular camera, wherein the fused image includes a stripe structured light pattern emitted by a near-infrared projector to the surgical area and a retro-reflective marker point pattern emitted by a near-infrared light source and reflected to the surgical area by a tracking marker; Segment the image threshold of each frame of the fused image to obtain a number of connected domains; classify the connected domains based on the characteristics of each of the connected domains to obtain a number of first target connected domains and a number of second target connected domains corresponding to each frame of the fused image; the first target connected domain is used to characterize the retroreflective mark point area, and the second target connected domain is used to characterize the structured light phase shift area; Using the first target connected domains contained in the single-frame fusion image, the center coordinates of each marker point in the retroreflective marker point area are calculated respectively, and the three-dimensional coordinates of each marker point are reconstructed according to the triangulation principle in stereo vision using the center coordinates of each marker point; the three-dimensional coordinates are used for positioning the surgical navigation tool; The three-dimensional coordinates of each pixel point in the structured light phase shift area are reconstructed using the several second target connected domains contained in the continuous multiple frames of the fused image in combination with the triangulation principle, and the dense point cloud corresponding to the structured light phase shift area is reconstructed using the three-dimensional coordinates of each pixel point; the dense point cloud is used for medical image registration.

2. The near-infrared optical tracking method according to claim 1, characterized in that: The exposure of the near-infrared binocular camera, the emission of light by the near-infrared light source, and the emission of a projection image by the near-infrared projector are performed synchronously.

3. The near-infrared optical tracking method according to claim 2, characterized in that: The near-infrared binocular camera acquires the fused image with high signal-to-noise ratio in a dynamic exposure mode; the timing of the dynamic exposure includes maintaining the illumination time T of the near-infrared light source I The exposure time of the near-infrared binocular camera is extended to T C , set the illumination time of the near-infrared projector to T P , where T P >T C .

4. The near-infrared optical tracking method according to claim 1, characterized in that: The mth connected domain C m The feature calculation method is as follows: I max =max(I(x,y)),(x,y)∈C m ,1≤m≤N In the formula, I max is the maximum grayscale value in the connected domain, I(x,y) is the grayscale of the pixel with coordinates (x,y) on the current frame image, I1, I2, I3, I n Represents the pixel grayscale of the 1st, 2nd, 3rd, and nth frames of a continuous n-frame image.

5. The near-infrared optical tracking method according to claim 1, characterized in that: Determine the maximum grayscale value I in the connected domain max Is it greater than the preset threshold I thr , if it is greater than , it is determined to be the first target connected domain; Threshold I not reached thr If the connected domain is greater than the preset threshold B, the modulation degree B(x,y) is selected. thr If the pixel is greater than , it is determined to be the second target connected area.

6. The near-infrared optical tracking method according to claim 1, characterized in that: The center coordinates of each of the landmark points are calculated using the threshold weighted grayscale centroid method. In the formula, I b is the background grayscale near the connected domain.

7. The near-infrared optical tracking method according to claim 1, characterized in that: It also includes identifying the type of surgical tool using a random sampling consensus algorithm.

8. The near-infrared optical tracking method according to claim 7, characterized in that: The random sampling consensus algorithm includes: Using a random sampling consistency algorithm, randomly sampling three points from the three-dimensional coordinates of each of the marker points to form a triangle, and matching the side length of the triangle with the marker point coordinates of the retroreflective marker bracket used to install the tracking marker; Determine that the difference in the length of the triangle sides is less than a preset difference threshold, and use the least squares method to calculate the rigid transformation matrix; Using the rigid transformation matrix to transform all the marking points of the retroreflective marker support, and determining that the nearest points in the three-dimensional coordinates of each of the marking points are matched one by one; The least square rigid transformation matrix is ​​calculated, and when it is determined that the error of the least square solution is less than the difference threshold, it is determined to be a correct tool match and output as the tool position information.

9. The near-infrared optical tracking method according to claim 1, characterized in that: Substitute the grayscale of consecutive frames into the inverse tangent function to solve the phase: Where arctan is the two-dimensional inverse tangent function; Match the same phase values ​​in the binocular images in and are the phases solved by the left eye and the right eye respectively, and the difference between the matched coordinates d = x-x' is the disparity value; Interpolate the initially matched disparity neighborhood to obtain a sub-pixel disparity map; The three-dimensional coordinates of each pixel point in the structured light phase shift area are reconstructed based on the triangulation principle.

10. A near-infrared optical tracking system, characterized in that: include: A near-infrared binocular camera is used to collect multi-frame fusion images of the surgical area; a near-infrared projector for emitting a stripe structured light pattern toward the surgical area; A near-infrared light source, used for emitting infrared light, so that the infrared light is reflected to the surgical area through the tracking marker to form a retro-reflective marker point pattern; A retroreflective marker bracket, the retroreflective marker bracket is connected to the surgical tool, and the retroreflective marker bracket is used to fix the tracking marker; A control circuit, wherein the control circuit is connected to the near-infrared binocular camera, the near-infrared projector and the near-infrared light source respectively, and the control circuit is used to control the near-infrared binocular camera, the near-infrared projector and the near-infrared light source to synchronously perform actions; A computer workstation, wherein the computer workstation is used to execute the near-infrared optical tracking method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Marker-free optical surgical navigation system and navigation method thereof

    CN106214256A

  • Virtual-real fusion navigation system and method in shape remodeling operation of breast operation

    CN114557772A

  • Three-dimensional point cloud splicing method based on visual tracking and three-dimensional measurement system

    CN116642433A

  • Line structured light non-contact point cloud registration method for thoracic and abdominal percutaneous puncture

    CN116883471A

  • System and method for non-invasive patient-image registration

    US20150049174A1