Registration of a spatial tracking system with an augmented reality display
The method aligns tracking systems with AR devices using multimodal markers and affine transformations, addressing the challenge of mapping computer-generated images to real-world environments, ensuring precise and consistent AR image alignment with internal structures.
Patent Information
- Application Number
- JP2023137443
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-04-24
- Filing Date
- 2023-08-25
- Publication Date
- 2024-11-07
- Estimated Expiration
- 2040-04-06
AI Technical Summary
Existing augmented reality systems face challenges in accurately mapping computer-generated images to real-world environments, especially when visible objects are not present, requiring complex and dynamic alignment of tracking systems with spatial coordinates.
A method and system for registering a tracking system with an augmented reality system using multimodal markers and multiple cameras to estimate three-dimensional positions, applying affine transformations to align the tracking system's coordinate system with the AR device's spatial coordinate system, enabling precise mapping of internal anatomical structures despite their invisibility.
Enables continuous, real-time alignment of AR images with internal anatomical structures, correcting for positional drift, and providing accurate, temporally consistent holographic overlays without the need for frequent re-registration.
Smart Images

Figure 0007579403000003 
Figure 0007579403000004 
Figure 0007579403000005
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to U.S. Provisional Patent Application No. 62 / 838,027, filed April 24, 2019, and entitled "REGISTRATION OF SPATIAL TRACKING SYSTEM WITH AUGMENTED REALITY DISPLAY," and U.S. Provisional Patent Application No. 62 / 829,394, filed April 4, 2019, and entitled "SPATIAL REGISTRATION OF TRACKING SYSTEM WITH AN IMAGE USING TWO-DIMENSIONAL IMAGE PROJECTIONS," each of which is incorporated herein by reference in its entirety.
[0002] Technical Field The present disclosure relates to a system and method for mapping a tracking system to an augmented reality system. [Background technology]
[0003] Augmented reality (or mixed reality) is an interactive experience of a real-world environment in which real-world objects are "augmented" with computer-generated perceptual information, either through constructive or destructive sensory overlay. An example of constructive sensory overlay is the use of an augmented reality (AR) headset to overlay computer-generated imagery onto the real physical environment, creating a feeling of immersion in the real environment. However, because the headset is fixed to the user, the computer-generated imagery must be matched to a physical view of the environment in real time. This becomes more complicated when the matched imagery does not represent objects visible in the environment. Summary of the Invention [Means for solving the problem]
[0004] The present disclosure relates to systems and methods for registering a tracking system with an augmented reality system.
[0005] As an example, the method includes acquiring images from a plurality of cameras, each having a known position and orientation relative to a spatial coordinate system of the augmented reality device, the acquired images may include a plurality of predetermined portions of the multimodal marker device, each having a known fixed spatial position relative to at least one tracking sensor of the multimodal marker device. The at least one tracking sensor has a three-dimensional position detectable in a coordinate system of the tracking system. The method also includes estimating three-dimensional positions of a plurality of predetermined portions of the multimodal marker device relative to a spatial coordinate system of the augmented reality device based on each of the respective captured images and known positions and orientations of the plurality of cameras relative to a spatial coordinate system of the augmented reality device. The method also includes calculating an affine transformation configured to map the coordinate system of the tracking system to a visual space of the display in the spatial coordinate system of the augmented reality device based on the estimated three-dimensional positions of each predetermined portion of the multimodal marker device and the known spatial positions of the plurality of predetermined portions of the multimodal marker device relative to the at least one tracking sensor.
[0006] As another example, a system includes an augmented reality device including a plurality of cameras capturing images for respective fields of view. One or more non-transitory computer-readable media are configured to store data and instructions executable by a processor. The data includes augmented reality image data for images captured by the plurality of cameras, each of which has a known position and orientation relative to a spatial coordinate system of the augmented reality device. The augmented reality image data may include a plurality of predetermined portions of the multimodal marker device that have known fixed spatial positions relative to at least one tracking sensor of the multimodal marker device, the at least one tracking sensor having a three-dimensional position detectable in a coordinate system of the tracking system. The instructions include code for generating three-dimensional positions of the plurality of predetermined portions of the multimodal marker device relative to the spatial coordinate system of the augmented reality device based on the captured augmented reality image data and the known positions and orientations of the plurality of cameras relative to the spatial coordinate system of the augmented reality device. The instructions also include code for calculating an affine transformation to map the coordinate system of the tracking system to the visual space of the display in the spatial coordinate system of the augmented reality device based on the three-dimensional positions of each predetermined portion of the multimodal marker device and the known spatial positions and orientations of the predetermined portions of the multimodal marker device relative to the at least one tracking sensor. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a flow diagram illustrating an example method for mapping sensors of a tracking system to the spatial coordinate system of an augmented reality display. [Diagram 2] FIG. 2 is a diagram showing an example of a marker device. [Figure 3A] FIG. 3A illustrates an example of a multimodal marker device. [Figure 3B] FIG. 3B illustrates an example of a multimodal marker device. [Figure 4]FIG. 4 shows an example of an augmented reality device that includes a camera that captures a two-dimensional image of the visual space. [Diagram 5] FIG. 5 illustrates an example system for generating an affine transformation. [Figure 6] FIG. 6 illustrates an example of a registration manager that controls the use or modification of one or more affine transformations. [Figure 7] FIG. 7 shows images from each camera of an augmented reality device containing multimodal markers adjacent to a position-synchronized model of anatomy. [Figure 8] FIG. 8 shows images from each camera of an augmented reality device containing multimodal markers adjacent to a positionally synchronized model of anatomy. [Figure 9] FIG. 9 shows an example of an augmented reality visualization created based on the registration performed in the manner shown in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] The present disclosure relates generally to methods and systems for associating one or more sets of models and a tracking system with an augmented reality (AR) field of view projected on an AR display device, such as a head mounted display. The methods utilize a marker device (e.g., a multimodal marker) that includes fiducial markers detectable in two or more modalities. For example, the marker device includes a first fiducial marker for providing a pattern visible in an image generated by a set of cameras whose position is fixed relative to the visual space (e.g., the AR field of view), and one or more other sets of markers detectable by a three-dimensional spatial tracking system.
[0009] As an example, two or more cameras (e.g., digital grayscale cameras) are mounted as forward-facing cameras spaced apart from one another along the frame of the AR device. Thus, the cameras are configured to provide two-dimensional images of overlapping fields of view. In this manner, the field of view of the camera includes the field of view of the AR device and may include one or more fiducial markers of the multimodal marker device. In addition to the one or more fiducial markers that may not be visible to the human eye but are visible to the spectrum of the camera, the marker device also includes one or more second fiducial markers (e.g., one or more tracking sensors) detectable by a three-dimensional spatial tracking system. Each of the second fiducial markers is disposed at a predetermined spatial position and orientation relative to a first fiducial marker identifiable in a respective image (e.g., a real-time image) acquired by the camera.
[0010] As another example, the cameras each capture images that include a field of view that includes a marker pattern that corresponds to a first fiducial marker of the marker device. Each image is processed to locate and identify a predetermined portion of the pattern (e.g., a corner of a rectangular printed mark) included in each image. Using a known (e.g., fixed) position of each camera relative to the AR device, the identified portion (e.g., a point or region) of the marker pattern is transformed to a corresponding three-dimensional location within the three-dimensional spatial coordinate system of the AR system, i.e., the AR field of view.
[0011] The position and orientation of the one or more tracking sensors relative to the fiducial markers are further stored in memory as tracking position data. One or more affine transformations can also be pre-calculated to align the tracking sensors with the coordinate system, which are also stored in memory (e.g., as a tracking to model system transformation). In one example, the pre-calculated transformations are a set of one or more affine transformations pre-calculated to map the tracking coordinate system to a prior three-dimensional (3D) image scan (e.g., a pre-operative scan). The prior 3D image scans can be high-resolution imaging techniques, such as computed tomography (CT) scans, magnetic resonance imaging (MRI), etc., that may be performed hours, days, or weeks before the procedure. One or more models can be created from the prior 3D image scans, such as a centerline model and / or mesh model of the tubular anatomical structure, and the one or more models can be spatially mapped to the coordinate system of the prior 3D image. Herein, a pre-calculated affine transformation can be calculated to map the position and orientation of each tracking sensor to a common coordinate system with the prior 3D image.
[0012] Another affine transformation (also referred to herein as an AR alignment transformation or zero transformation matrix) is calculated to align the tracking system coordinate system with the AR coordinate system. For example, the AR alignment transformation is determined based on the tracking position data, the AR image data, and the tracking sensor transformation. The tracking sensor transformation may define a predetermined spatial relationship between the tracking sensor and one or more fiducials integrated into the multimodal marker device with fixed spatial offsets, allowing a predetermined spatial location portion of the marker in the tracking system coordinate space to be determined. Thus, the AR alignment transformation enables the system and method to map the position and orientation information of each tracking sensor provided by the tracking system to the coordinate system of the AR system modality. Additional transformations disclosed herein may be further utilized to transform from other spatial domains to the AR coordinate system for simultaneous rendering on the AR display. As disclosed herein, the AR display device and tracking sensors may move relative to the patient's body, and the system may continuously (e.g., in real-time) recalculate the transformation based on such time-changing AR image data and tracking sensor data.
[0013] FIG. 1 is a flow diagram illustrating an example of a method 100 for mapping a three-dimensional coordinate system to a coordinate system of an AR visual display of an AR device. In one example, the method 100 is a set of machine-readable instructions executable by a processor device to execute the method based on data stored in a memory 101. In the context, the method 100 is used to align one or more objects (physical and / or virtual objects) whose spatial positions and orientations are known in another coordinate system with the coordinate system of the AR display. The objects may include objects that are not visible in the field of view of the AR device (e.g., sensors and / or models representing internal anatomical structures). For example, one or more sensors have a position and orientation that can be detected by a three-dimensional tracking system. These sensors may be out of view, such as being located inside the patient's body, or may be part of a marker device (e.g., embedded in the marker). Additionally, the AR display may include objects that are visible in the field of view of the AR device.
[0014] As shown at 114, one or more transformations 114 for aligning the tracking sensor with the model coordinate system can be pre-calculated and stored in memory 101 (e.g., as sensor-to-model space transformations). For example, the transformations 114 can be sensor-to-model space affine transformations programmed to map the tracking coordinate system into a three-dimensional spatial coordinate system common to that of a prior 3D medical image (e.g., a pre-operative CT scan). One or more anatomical models of the region of interest can be created from the pre-operative medical images and mapped into the common coordinate system of the prior 3D images. As disclosed herein, the models can include centerline and surface models of the vasculature and other anatomical structures of interest.
[0015] As another example, a preoperative CT scan is performed to generate three-dimensional image data of a patient's region of interest (e.g., the patient's torso). This image data can be stored in memory as a DICOM image or other known format. The image data can be processed (e.g., segmented and extracted) to provide a segmented image volume that includes the region of interest for which one or more models, such as those disclosed herein, are created. For example, a prior three-dimensional image can be acquired preoperatively for a given patient with a three-dimensional medical imaging modality. As an example, the preoperative image data can correspond to a preoperative arterial CT scan of the patient's region of interest, such as may be acquired weeks or months before the corresponding surgery. Other imaging modalities, such as MRI, ultrasound, positron emission tomography, etc., can also be used to provide the three-dimensional image data. Such scans are common in preoperative planning in surgical workflows to size prostheses and plan for surgery and other interventions.
[0016] In some examples, one or more anatomical structures captured in the preoperative image data may be converted to a respective three-dimensional model in the coordinate system of the preoperative image. As an example, the model is an implicit model that mathematically describes a tubular anatomical structure (e.g., a patient's blood vessel), including, for example, a centerline and a surface of the tubular structure. The implicit model may include a small set of parameters, such as corresponding to a lofted B-spline function for an elongated anatomical structure. As an example, the anatomical modeling device may be programmed to calculate the implicit model data according to the disclosure of U.S. Patent Publication No. 2011 / 0026793, entitled "Automated Centerline Extraction Method and Generation of Corresponding Analytical Expression and Use Thereof," which is incorporated herein by reference. Another example of creating an implicit model for a tubular anatomical structure is disclosed in Analytical centerline extraction and surface fitting using CT scans for aortic aneurysm repair, Goel, Vikash R, Master's Thesis, Cornell University (2005), which is also incorporated herein by reference. Other types of geometric representations can also be used to provide the implicit model. For example, parameters can be generated to represent a lofted ellipse or a triangular mesh to provide anatomical model data representing the anatomical structure of interest of the patient in a three-dimensional coordinate system. The generated three-dimensional mesh (based on three-dimensional prior image data acquired by a preoperative medical imaging modality) can be stored in memory 101 in addition to or instead of the three-dimensional image acquired by the preoperative imaging modality. The mesh can be a static (e.g., fixed) mesh or can change over time, for example, with the subject's heartbeat and breathing.For example, the mesh model may be generated as a 4D model (in model space) such that it has a 3D configuration that changes over time, e.g., to match vital functions such as breathing or heart rate (e.g., as detected by an EKG).
[0017] Based on the acquired intraoperative image data, an intraoperative registration phase is performed. The intraoperative data may be acquired before or during the procedure and may include 2D or 3D image data, such as that obtained from an intraoperative cone beam CT (CBCT) scan or other intraoperative radiological scan (e.g., the non-CBCT registration method disclosed in the previously incorporated U.S. Application No. 62 / 829,394). The intraoperative registration (e.g., CBCT registration or non-CBCT registration) is performed while the marker device (e.g., tracking pad) is worn on the patient, such as immediately before or during the procedure. For example, the marker device may include one or more radiopaque objects on the tracking pad with known positions and orientations relative to one or more tracking sensors, which may be used to determine the position of the tracking sensors in the registration space. That is, the marker device allows for the determination of a transformation (e.g., tracking system / intraoperative transformation; also referred to herein as a first transformation matrix) to spatially align the tracking system space to the intraoperative registration space. The intraoperative registration space is the coordinate system in which the patient resides when the procedure is performed and is the coordinate system used by the AR device and tracking system to simultaneously acquire AR data and tracking data, respectively, during the procedure.
[0018] Another transformation is determined to spatially align the coordinate system of the intraoperative image with the preoperative CT scan (e.g., intraoperative / preoperative transformation; also referred to herein as a second transformation matrix). For example, manual registration is performed to align the bones of the CBCT scan with the bones of the preoperative CT scan. Alternatively, an automated or semi-automated registration process may be performed. In this manner, the intraoperative / preoperative transformation may spatially map the intraoperative image space to the preoperative CT coordinate space. The intraoperative / preoperative transformation may be combined (e.g., by matrix multiplication) with the tracking system / intraoperative transformation to provide a tracking system / preoperative transformation 114 that allows spatial registration from the tracking system coordinate system to the coordinate system of the preoperative image. For example, the position and orientation of any sensor in the tracking system space (e.g., tracking sensor data 120 from the tracking system) may be first mapped (e.g., using the tracking system / intraoperative transformation) from the tracking system space to the intraoperative space and then mapped (using the intraoperative / preoperative transformation) from the intraoperative space to the preoperative space. As mentioned above, the tracking system / intra-operative transformation and the intra-operative / pre-operative transformation may be combined to provide the tracking system / pre-operative transformation 114 .
[0019] As disclosed herein, a multimodal marker device includes one or more "visible" fiducial markers (see, e.g., FIG. 2) and one or more tracking sensors (see, e.g., FIGS. 3A and 3B) integrated into a common fixed structure. The fixed structure of the marker device ensures that the fiducial markers and the tracking sensors have a known spatial relationship and orientation (e.g., fixed spatial offset) in three-dimensional space. This relationship can be stored in memory as tracking sensor data, shown at 112. The fiducial markers of the multimodal marker include one or more marker patterns (see, e.g., FIG. 2) that are visible in images acquired by respective cameras (see, e.g., FIG. 4) whose positions are fixed relative to the AR device. These images can be in the visible light spectrum or in another spectrum (e.g., infrared) other than the visible light spectrum that can be captured in the images acquired by the cameras at 102. The position and orientation of each camera relative to the coordinates of the AR device can be stored in memory 101 as camera position data, shown at 108. As an example, the cameras may be implemented as a pair of forward-facing cameras mounted at respective fixed positions in the frame of the AR device's display (e.g., at positions spaced apart from one another along the front of a head-mounted display).
[0020] As another example, the marker device includes one or more sensors configured to indicate a three-dimensional position in a coordinate system of a tracking system. For example, the tracking system is an electromagnetic tracking system that generates an electromagnetic field. Each sensor provides a sensor signal based on the electromagnetic field, which is converted into position and orientation information for each sensor. An example of an electromagnetic field tracking system is commercially available from Northern Digital, Inc. of Ontario, Canada. The tracking system can provide tracking data at an output sample rate (e.g., 60 samples / second) sufficient for each sensor to determine the sensor position in substantially real time (e.g., provide a vector describing the sensor's position and orientation). In this manner, the tracking system can process each frame of tracking data in a manner such that the tracking data is equivalently representative of real-time tracking data acquired by the tracking system, which can be mapped to the coordinate system of an imaging system as disclosed herein. In some examples, each sensor can be detected by the tracking system, allowing the sensor to be tracked with five or six degrees of freedom. In other examples, other types of sensors and tracking systems may be used.
[0021] In this example context, at 102, the method includes acquiring images from each of the cameras mounted on the AR device (e.g., the AR headset 308). The cameras may each be configured to acquire a respective image for an overlapping field of view. For example, if the AR device includes two cameras, a first and second image may be acquired. The images may be acquired and continually updated over time at an imaging sample rate that is equal to or a multiple of the native sample rate of the cameras. For purposes of this example, the images acquired at 102 include at least one fiducial marker of the multimodal markers, which is presumed to be positioned adjacent to or attached to the patient's body.
[0022] At 104, image processing is performed (e.g., by marker identification function 444) to identify fiducial markers in each image acquired at 102. The total number of images per sample time can be any number, one for each camera. As an example, the "visible" fiducial markers are provided on the surface of the marker device in the form of ArUco markers (see, e.g., Open Source Computer Vision Library: http: / / opencv.org). Examples of such fiducial markers are shown in Figures 2, 3A, and 4. Thus, an image processing algorithm (e.g., detectMarkers() function in the OpenCV library) may be implemented to detect and identify each such fiducial marker at 104. In examples using different types of markers, other image processing techniques may be used to identify the marker locations. Identification of the markers at 104 may be fully automatic or user interactive in response to user input identifying the markers. The identified markers (e.g., pixel locations in each image) may be stored in memory 101 for later processing.
[0023] At 106, a three-dimensional position of each of the predetermined portions of the fiducial markers is estimated (e.g., by marker point generator 446) with respect to the coordinate system of the AR device. The three-dimensional position is determined based on the position of such predetermined portions in each image (determined at 104) and based on the AR camera position data 108. Note that the fiducial markers represented in the images acquired from the camera at 102 may be a pattern including a marker boundary that is rectangular (or other identifiable shape) with corners where the sides meet. Also, in the example of a combination marker including ArUco type markers visible from the camera, spatial coordinates can be generated for each of the corners of each marker, i.e., the coordinates of a set of four points surrounding each tracking sensor. Furthermore, the position of each corner in each image including a representation of an ArUco type fiducial marker can be determined as disclosed herein (see, e.g., the description associated with FIG. 4). FIG. 4 and the corresponding description provide an example of how the position of each corner of such a fiducial marker may be identified in three-dimensional coordinates in AR space.
[0024] At 110, an affine transformation is calculated (e.g., by the null transform calculator 462) to align the tracking system coordinate system with the AR coordinate system. The transformation calculated at 110 may be stored in memory 101 (e.g., corresponding to the null transform matrix 410). In this manner, the affine transformation generated at 110 may be directly applied to map the tracking data in the tracking system space to the AR coordinate space and / or the AR data in the AR coordinate space to the tracking system space. The affine transformation determined at 110 may be created based on the estimated position for the portion of the marker determined at 106 and the tracking sensor data 112. As described above, the tracking sensor data 112 may represent a fixed, known three-dimensional spatial relationship between the tracking sensor of the marker device and the portion of the marker. As an example, the fixed relationship between the portion of the marker and the sensor may be determined at the time of manufacture and printed on the marker. As another example, the relationship may be measured and input (e.g., via a user interface) to a computer programmed to determine the transformation at 110.
[0025] At 116, the affine transformation determined at 110 as well as one or more other transformations 114 are applied to one or more models (e.g., 3D mesh structures) and tracking position data (of one or more sensors) to place such models and sensors in the coordinate system of the AR display. In an example where models are obtained from high-resolution pre-operative CT scans, each model (e.g., centerline model, surface mesh model) used in the AR device is naturally represented in the pre-operative coordinate space. To place such models in the proper position to overlap with real-world objects in the AR display, the affine transformation determined at 110 is combined with one or more other transformations 114 and mapped to the AR coordinate system currently used by the AR device. The other transformations 114 may include a first transformation (e.g., first transformation matrix 412) programmed to create a correspondence between the coordinate system of the intraoperative images and the coordinate space of the tracking system. Additionally or alternatively, the other transformations 114 may include a second transformation (e.g., second transformation matrix 414) programmed to provide a correspondence between the coordinate system of the intraoperative image and the coordinate system of the preceding 3D image (e.g., preoperative image space). The particular manner in which the method 100 applies each of the transformations 110 and 114 (or vice versa) at 116 depends on the final visual space and the domain of the data that is to be positionally synchronized to such visual space. The domain may be automatically recognized, such as based on the type of data or metadata that describes the domain, and / or may be user-specified in response to user input. In the following examples, it is assumed that the visual space is an AR coordinate system.
[0026] At 118, the AR field of view is displayed on the AR display. This may include a computer-generated model positioned to overlap (e.g., graphically overlay) a real-world object at a 3D spatial location determined by applying method 100 to the model and other input data. The method returns from 118 to 102 and repeats to update the affine transformation at 110 based on changes in the image acquired at 102. In this manner, the AR field of view (e.g., hologram) is continually updated in real time such that holograms generated by the AR display are spatially and temporally aligned with internal anatomical structures of the patient even when such structures are not actually visible. As disclosed herein, for example, method 100 operates to align internal anatomical structures (not visible in the real world) with the patient's body in the spatial coordinate system of the AR display, which may be moving relative to the patient's body. Advantageously, by implementing method 100, the transform calculated at 110 changes in response to changing information in the image acquired at 102, while other transforms (including transform 114) do not need to change so that the associated calculations can be more efficiently performed in real time.
[0027] As an example, in rendering the visualization of the output at 118 in the AR spatial domain, multiple transformations (e.g., inv(T0)*inv(T1)*inv(T2)) may be applied to render the bone and vasculature models (e.g., those created from the prior 3D image space) on the AR display. Those tracked in the EM space (catheters, guidewires, etc.) would have a single transformation applied (e.g., inv(T0)). As an example, when rendering the visualization in the prior 3D image space, those tracked in the tracking system space (e.g., objects with one or more tracking sensors, such as catheters, guidewires, etc.) would have two transformations applied (e.g., T1*T2) while those tracked in the tracking system space (e.g., objects with one or more tracking sensors, such as catheters, guidewires, etc.) would have no transformation applied. For example, as disclosed herein, matrix multiplication transformations may be applied to map data from one spatial domain to another.
[0028] As another example, the AR device (e.g., AR device 308) may be implemented as an AR headset (e.g., Microsoft's Hololens or Hololens2, or other smart glasses). In such an AR headset, the AR device is constantly refining its map of the surrounding environment. As a result, holograms generated in the AR field of view tend to "drift" from their original positions. This "drift" can be problematic when precise alignment is required, such as in medical applications. Therefore, the method 100 continuously updates the transformation at 110 based on the acquired images at 102 provided as an image stream from the AR headset's front-facing camera. Furthermore, the use of two non-parallel cameras allows the positions of the corners of the markers to be accurately estimated and constantly updated by computationally efficient triangulation (reducing CPU load). This allows the "drift" to be corrected without the need for re-registration.
[0029] 2 illustrates an example of a fiducial marker 200. As shown in this example, the marker includes black and white color (e.g., binary) and includes a thick, black rectangular (e.g., square) border 202 along each side of the entire perimeter (e.g., having a thickness "t", such as the thickness of one or more pixels). Marker 200 includes white symbols 204 and 206 on the inside that can be used to define an orientation and / or other distinguishing features associated with the marker, such as from the ArUco library.
[0030] 3A and 3B show an example of a multimodal marker device 250. The multimodal marker device 250 can be placed near (e.g., next to or on) the patient during acquisition of the first and second images (e.g., at 102). For example, the multimodal marker device 250 can be placed on a visually unobtrusive surface (e.g., on a hospital bed) or attached to the patient's body during the procedure. FIG. 3A shows one side 252 of the marker 250 with a fiducial marker (e.g., the marker of FIG. 2) 254 positioned inside a white border 256 to provide contrast between the white border and a thick, black border 258 of the fiducial marker (e.g., between the dotted line and the white border 256). Symbols 260 and 262 are on the fiducial marker away from the black border 258.
[0031] The example of FIG. 3B is a view from the same marker 250 showing the other side 268. In FIG. 3B, one or more tracking sensors (e.g., electromagnetic sensors) 270 are attached to the marker device 250 at known positions and orientations relative to the corners 264 of the fiducial marker 254. In one example, the one or more sensors 270 can each sense multiple degrees of freedom (DOF) spatially. For example, the one or more sensors 270 can be configured to sense six DOFs. In one example, an electromagnetic tracking system as disclosed herein can be used to identify the location of the sensors 270. The tracking system allows the position and orientation of each sensor 270 to be determined based on a sensor signal, such as one provided by the sensor to the tracking system in response to an electromagnetic field.
[0032] 4 shows a schematic example of a camera system 300 that can be used to capture two-dimensional images of a fiducial marker 302 from multiple non-parallel viewing angles. For example, the camera system 300 includes a pair of forward-facing cameras 304 and 306 integrated into the front panel of an AR headset 308. For example, the cameras 304 and 306 may be implemented as digital grayscale cameras to capture images of objects in the visible portion of the spectrum. In other examples, the cameras 304 and 306 may capture images outside the visible spectrum, and the fiducial marker 302 may not be visible to the user's eye. Because cameras 304 and 306 are attached to a headset or other portable device 308, the images captured by each camera may change over time as the user moves. For example, as the user's head moves while wearing the AR headset 308, the viewing angle moves accordingly, causing the position of the fiducial markers to change in each image.
[0033] As an example, registration is performed by modeling cameras 304 and 306 as each ideal pinhole camera (e.g., assuming no distortion), where each pixel in the resulting image is formed by projecting a 3D point onto the image plane using a perspective transformation such as: [Number 1] JPEG0007579403000001.jpg26170 where X, Y, Z are the coordinates of the 3D point in a common coordinate system. u and v are the coordinates of the projected point in the camera image in pixels. fx and fy are the focal lengths in pixels. cx and cy are the image center in pixels. r## and t# define the position and orientation, respectively, of the camera in a common coordinate system.
[0034] To create vector v1 or v2, the corners of a fiducial marker 302 (e.g., an ArUco type marker) are placed in the image as u and v. The remaining values of the equation can be filled in based on the already known spatial location, and the equation is solved for X and Y at the focal length (e.g., the distance between the camera and the respective corner position). The vector is then calculated by subtracting the camera position (p1 or p2) from this new position. For example, points p1 and p2 are defined based on the position of the headset 308. The focal length of the camera is measured during device calibration.
[0035] The 3D positions of the corners of the marker 302 can then be calculated by finding the intersection (or closest point) of the two vectors v1 and v2. The position and orientation of the ArUco markers in a common coordinate system is calculated by repeating this process for all four corner positions identified for the fiducial markers in each image. As an example, the intersection (or closest point) of two vectors can be calculated with the following pseudocode: [Number 2] vector ClosestPoint(vector p1, vector v1, vector p2, vector v2) { / / Normalize the direction vector v1 = normalize(v1); v2 = normalize(v2); / / Check that the vectors are not coincident (parallel) float projDir = dot_product(v1, v2); if (absolute_value(projDir) > 0.9999f) { / / The vectors are almost the same (parallel) return p1; } / / Calculate the closest point float proj1 = dot_product(p2 - p1, v1); float proj2 = dot_product(p2 - p1, v2); float dist1 = (proj1 - (projDir * proj2)) / (1 - (projDir * projDir)); float dist2 = (proj2 - (projDir * proj1)) / ((projDir * projDir) - 1); vector pointOnLine1 = p1 + (dist1 * v1); vector pointOnLine2 = p2 + (dist2 * v2); return linear_interpolate(pointOnLine1, pointOnLine2, 0.5f); }
[0036] In this manner, the estimated positions of the marker corners (e.g., determined at 106) and their respective transformations (e.g., determined at 110) may be used to enable rendering of one or more visualizations within the AR field of view.
[0037] As an example, a transformation generated as disclosed herein can be implemented by a registration engine (e.g., registration manager 494) to map tracking data from one or more tracking sensors to an AR visual coordinate system to provide mapped tracking data. An output generator (e.g., output generator 512) running on the AR device or a computer to which the AR device is linked can use the mapped tracking data and the model data to provide a corresponding output visualization that is graphically rendered on a display (e.g., display 510). The model is then visualized as a holographic overlay in the AR visual space located over the patient's body.
[0038] FIG. 5 illustrates an example of a system 400 for generating an affine transformation. In this example, the affine transformation is shown as transformation matrices 410, 412, and 414 for associating tracking data, model, and image data as disclosed herein. The system 400 is described in the context of data and instructions, and a processor can access the data and execute the instructions to perform the functions disclosed herein. It should be understood that not all functions are required to implement the system. For example, different transformation matrices may be generated separately. This provides the advantage that the entire system does not need to be changed when the imaging modality is changed or replaced by another means.
[0039] In the example of FIG. 5, the system 400 is configured to execute program code that generates a zero transformation matrix (T0) 410. The transformation matrix T0 may be configured to transform from a tracking system coordinate system of the tracking system 424 to an AR coordinate system of the AR device and / or from the AR coordinate system to a tracking coordinate system. As disclosed herein, the AR device includes two or more AR cameras 440. By way of example, the AR device may be implemented as an AR headset, a smartphone, a tablet computer or other mobile device. The cameras 440 may be built into or otherwise coupled to the AR device and may be at a known position relative to the AR device. Each camera 440 provides AR image data for a respective field of view 443, which may be at least one AR marker 436 of a multimodal marker device (e.g., marker device 250). The tracking system 424 is configured to provide tracking data 426 that represents the position and orientation of one or more marker tracking sensors 434 and / or object tracking sensors 438.
[0040] For example, a combination marker system 432 (e.g., including one or more multimodal marker devices of FIG. 3A, FIG. 3B, or FIG. 4) can be attached to or positioned near a patient's body 430. In the example of FIG. 5, the combination marker system 432 can include one or more marker tracking sensors 434 that provide marker tracking data representing the position and orientation of each marker device in the coordinate system of the tracking system 424. In one example, one or more object sensors 438 can be affixed to an object that is movable within the patient's body 430 to identify the position of the sensor in the coordinate system of the tracking system. For example, each marker tracking sensor 434 provides a signal (e.g., an induced current) in response to an electromagnetic field generated by a field generator of the tracking system 424. Each such object sensor 438 can be affixed to an object that is movable within the patient's body 430 (e.g., a guidewire, a catheter, etc.). In this manner, the object tracking sensors 438 may provide signals to the tracking system 424 based on which the tracking system 424 can calculate corresponding tracking data representing the position and orientation of that sensor (and the object to which it is attached) in the tracking system coordinate system. As described above, the tracking data 426 represents the position and orientation of each object tracking sensor 438 as well as the position and orientation of the marker tracking sensors 434 of the multi-modal marker system 432.
[0041] By way of example, the tracking system 424 may include a transmitter (e.g., an electromagnetic field generator) that provides a non-ionizing field, indicated at 428. The electromagnetic field is detected by each of the sensors 434 and 438 to provide a corresponding sensor signal to the tracking system. One exemplary tracking system 424 is the AURORA spatial measurement system available from Northern Digital, Inc. of Ontario, Canada. The tracking system 424 may provide tracking data 426 at an output sample rate (e.g., 60 samples / second) sufficient to allow each sensor to determine the sensor position in substantially real-time (e.g., provide a vector describing the sensor's position and orientation). As disclosed herein, each frame of tracking data may be processed by a tracking processing subsystem of the system 424 such that real-time tracking data acquired by the tracking system that may be mapped to another coordinate system may be similarly represented by the tracking data by applying one or more of the generated transformations 410, 412 and / or 414 to produce a graphical representation in a given spatial domain. The tracking system 424 can provide tracking data 426 at an output sample rate to enable visualization and real-time positioning calculations of the combined marker system as well as the object to which the sensor is attached.
[0042] The zero sensor transform 460 is configured to transform the tracking data 426 into the position of the AR marker 436 implemented in each marker device as disclosed herein. The transform 460 provides each position as a 3D spatial coordinate in the coordinate space of the tracking system, which may remain fixed if the marker device does not move in the tracking space, or may change over time if the marker device moves in the tracking space. For example, in the tracking coordinate system, the AR marker of a given marker device is each at a fixed and known offset (e.g., a 3D vector) from the position of the marker tracking sensor 434 that is part of the given marker device of the marker system 432. As mentioned above, the marker system may include multiple multimodal marker devices, such as ArUco type (e.g., device 250), or other marker configurations as disclosed herein.
[0043] As an example, the sensor transform 460 is configured to calculate a point in the tracking system space (e.g., the 3D coordinate of the marker position) based on the tracking data 426 and the known offset of each tracking sensor relative to a given marker position. In the example of an ArUco type multimodal marker device, the marker locations may be a set of four points (e.g., emPoint_1, emPoint_2, emPoint_3, emPoint_4) at the corners of the marker as disclosed herein. For example, for a given marker device, a point in tracking system space may be calculated for a set of marker locations for an ArUco type marker device having sensors providing tracking data 426 by multiplying a sensor transform (TS) containing the 3D coordinates of the tracking sensors with their respective offsets as follows: [Number 3] emPoint_1 = mult(TS, offset_1), emPoint_2 = mult(TS, offset_2), emPoint_3 = mult(TS, offset_3), emPoint_4 = mult(TS, offset_4) The points determined by the sensor transform 460 for the AR markers 436 may be arranged in a set of points for each marker device (if there are multiple marker devices) or as a single set including all points.
[0044] As described above, each AR camera 440 provides AR camera data 442 for an AR field of view 443. For example, the AR field of view 443 may include one or more AR markers 436, such as those in an exposed surface of a multimodal marker device that also includes one or more marker tracking sensors 434. In this manner, the sensor transform 460 provides 3D spatial coordinates in the tracking coordinate system for points on the same AR marker that are visible in an image represented by the AR camera data 442.
[0045] As another example, the system 400 includes a marker identification function 444 (e.g., executable instructions corresponding to the identification in 104) configured to identify the location of each marker (e.g., ArUco markers or other types of markers) in each image frame provided in the AR image data 442. In an example of a combined marker including ArUco type markers, the function 444 may call an ArUco detection function to identify the location of each marker. In an example of a combined marker including markers other than ArUco type markers, an image threshold applied to the image pixels of the AR image 442 as well as other image processing techniques (e.g., feature extraction) may be used to identify the marker's vicinity or other features. The marker identification function 444 may be fully automatic. The identified markers (e.g., pixel locations in each image) may be stored in memory for later processing.
[0046] The marker point generator 446 is programmed to generate spatial coordinates for portions of each marker identified in the (e.g., two or more) images provided by the image data 442. In an example of a marker device including an ArUco type marker, spatial coordinates for the corners of each marker, i.e., coordinates of a set of four (e.g., surrounding or otherwise having a known relative position to the tracking sensor), can be generated. As an example, for example, the marker point generator is programmed to perform a closest point function (e.g., ClosestPoint() function) as disclosed herein to locate a set of points around each tracking sensor of the marker device. Each set of points for a given AR marker 436 can be linked and associated with a respective marker tracking sensor 434 to facilitate generation of the transformation matrix 410.
[0047] The zero transformation calculator 462 is programmed to calculate the zero transformation matrix 410 based on the points (spatial coordinates) provided by the marker point generator 446 in the AR spatial domain and the points (spatial coordinates) provided by the zero sensor transformation function 460 in the tracking spatial domain. In this way, these points represent the same portion of the AR marker in different coordinate systems. For example, the transformation calculator 462 is programmed to align (e.g., position-synchronize) multiple sets of points measured in each of the spatial coordinate systems. Examples of such position synchronization algorithms implemented by the transformation calculator 462 to position-synchronize points in the respective domains (e.g., the tracking system coordinate system and the AR coordinate system) may include an error minimization function or a basis transformation function.
[0048] As an example, the transform calculator 462 is programmed to implement an error minimization function. Given an ordered set of points, the transform calculator 478 will determine an unknown transformation T0 that minimizes the distance between the projected AR positions and the actual positions. For example, for T1, the transform calculator 462 is programmed to find a transformation that minimizes the distance between the points as follows: [Number 4] sum(n = 1..i, distance(mult(T1, arPoint_n), emPoint_n)^2) Here, n denotes a given one of the i points (i is the number of points of a given multimodal marker). arPoint_n is the spatial coordinate in the AR image space of point n. emPoint_n is the spatial coordinate in tracking space of point n. As an example, the error minimization solution can be obtained by singular value decomposition or any number of error minimization algorithms.
[0049] As another example, the transform calculator 462 is programmed to implement a basis transformation function to derive the zero transformation matrix 410. In the example where the AR marker is an ArUco marker, the corners of the AR marker are positioned to generate a set of basis vectors (vectors in x, y, z units that define a coordinate space). For example, rather than minimizing the error, the transform calculator 462 is programmed to find the basis vectors in both coordinate systems and apply them to a common point. This is more computationally efficient than the error minimization approach described above, but requires the points to be in a specific configuration.
[0050] For example, the configuration required to unambiguously define a basis vector is three points that form a 90-degree angle, with enough additional information to identify which point is which (e.g., the sides of the triangle formed by the three points have different lengths). The ArUco-type markers shown in Figures 2, 3A, and 4 have a configuration of points that allows such basis transformation functions to be used.
[0051] In each coordinate system, the transform calculator 462 constructs basis vectors from three points. For example, given point_1, point_2, and point_3 (e.g., the vertices of a right-angled triangle), two segments are provided: one segment from point_2 to point_1, and another segment from point_2 to point_3. These segments are the sides of the right-angled triangle. From these points and line segments, the following basis vectors are obtained: [Number 5] basis_z = normalize(point_1 - point_2) basis_x = normalize(point_3 - point_2) basis_y = cross(basis_x, basis_z)
[0052] From the basis vectors, transform calculator 162 is programmed to generate a matrix (eg, a 4×4 matrix) defining the position and orientation of point_2 as follows: [Number 6] [ basis_x.x, basis_y.x, basis_z.x, point_2.x, basis_x.y, basis_y.y, basis_z.y, point_2.y, basis_x.z, basis_y.z, basis_z.z, point_2.z, 0, 0, 0, 1]
[0053] With that matrix defined in each coordinate system, the transformation calculator 462 can calculate the transformation matrix 410 between the two coordinate systems. For example, for the transformation matrix T0, ar_Matrix is a matrix defined by the basis vectors of the AR coordinate system, em_Matrix is a matrix defined from the basis vectors of the tracking coordinate system. From the above, the transformation calculator 462 can determine the transformation matrix (T0) 410, for example, as follows, by multiplying the tracking matrix (em_Matrix) of the basis vectors by the inverse matrix (inv(ar_Matrix)) of the AR matrix of the basis vectors. [Number 7] T0 = mult(em_Matrix, inv(im_Matrix)) The transformation matrix 410 may be stored in memory and used to transform from the tracking system space to the AR display space. For example, the position of the object sensor 438 within the patient's body, as represented by the tracking data 426, may be mapped to the AR space by applying the transformation T0 to the position and orientation information of the tracking data. As described above, the transformation T0 may be continuously updated in real-time to compensate for movement of the AR camera's field of view relative to the AR marker and / or if the multimodal marker moves (e.g., relative to the patient's body or the AR camera). In some examples, the system 400 may be configured to generate additional transformation matrices 412 and / or 414 to enable position synchronization and visualization of additional data in other coordinate systems as well as the AR display's coordinate system. In other examples, the other transformation matrices 412 and / or 414 may or may not be pre-computed.
[0054] 5, the system is configured to generate a first transformation matrix (T1) 412. The transformation matrix T1 may be configured to transform from a tracking system coordinate system of the tracking system 424 to a coordinate system of the medical imaging modality 456 (e.g., a 2D imaging system such as fluoroscopy or x-ray) and / or from the coordinate system of the medical imaging modality to the tracking coordinate system. In one example, the marker system 432 includes one or more marker devices including a marker tracking sensor 434 that can be attached to the patient's body 430 such that the tracking system 424 can calculate tracking data 426 of the tracking sensor and correspond to the movement of the patient's body 430 in the coordinate system of the tracking system 424.
[0055] In some examples, the object tracking sensor 438 and corresponding tracking data 426 may be ignored (or omitted), for example, for purposes of generating the transformation matrix 410 and / or the transformation matrix 412. In other examples, the object tracking sensor 438 may be placed in a known location relative to the patient's body 430 (e.g., at a known anatomical landmark inside or outside the patient's body) to provide additional data points in both the tracking system spatial domain (e.g., provided by the tracking data 426) and the spatial domain of one or more imaging modalities (e.g., of the intraoperative image data 472), provided that the location where the sensor is located is visible in the generated images provided by the modality generating such data. In one example, an intraoperative medical imaging modality (e.g., fluoroscopy or other x-ray) provides image data 472 (e.g., including the known location of the object tracking sensor 438) that can be used to facilitate the generation of the transformation matrix (T1) 412.
[0056] The first sensor transform 470 is configured to transform the tracking data 426 into a position of a radiopaque object implemented in a respective marker device as disclosed herein. Each position is a 3D spatial coordinate in the coordinate space of the tracking system, which may remain constant if the marker device does not move in the tracking space, or may change over time if the marker device moves in the tracking space. For example, in the tracking coordinate system, each radiopaque marker of a given marker device is at a fixed, known offset (e.g., a 3D vector) from the position of a tracking sensor 434 that is part of the given marker device of the marker system 432. As described above, the marker system may include multiple multimodal marker devices, such as ArUco type (e.g., device 250) or other marker configurations as disclosed herein (e.g., AR device 308). In this manner, the multimodal marker device may include a radiopaque element visible in the image data 472, an AR element visible in the AR image data 442, and a tracking sensor detectable by the tracking system. The radiopaque elements may be in the form of radiopaque ArUco type markers and / or may be radiopaque spheres 272 as shown in FIG. 3B.
[0057] Thus, the sensor transform 470 is configured to calculate a point in the tracking system space (e.g., the 3D coordinates of the marker position) based on the tracking data 426 and the known offset of each tracking sensor relative to a given marker position. For an ArUco type multimodal marker device, a set of four points (e.g., emPoint_1, emPoint_2, emPoint_3, emPoint_4) at the corners of the marker can be the marker position as disclosed herein for the sensor transform 460.
[0058] In an example of a marker device with spherical radiopaque markers (e.g., marker device 250 of FIG. 3B), three spherical markers of known offsets are distributed around each tracking sensor 270. Thus, sensor transformation 470 generates three points for each marker device of marker system 432. For example, transformation 470 can determine the marker positions at points (e.g., emPoint_1, emPoint_2, emPoint_3) located at the centers of each spherical marker based on multiplying the respective transformations with known offsets (e.g., 3D points) between the tracking sensor positions (e.g., 3D offset vectors) and the respective radiopaque objects, as follows: [Number 8] emPoint_1 = mult(Ts, offset_1), emPoint_2 = mult(Ts, offset_2), emPoint_3 = mult(Ts, offset_3) In other examples, other definite locations having fixed offsets relative to the radiopaque markers may be used. In some examples, the points may be placed in a set of points for each marker device or as a single set including all points.
[0059] The image data 472 may also be generated as 2D or 3D data representing an object within a field of view 475 of an imaging modality. For example, the imaging modality may include a cone beam CT, an X-ray scanner, or other medical imaging modality. In one example, the image data 472 is 2D image data of a small number (e.g., at least two, three, or four) of 2D projection images acquired at different viewing angles relative to the patient's body 430. In some examples, the region of the patient's body may be a region of interest over which the object sensor 438 is moved, such as part of a surgical procedure.
[0060] The marker identification function 474 may be configured to identify the location of each radiopaque marker (e.g., ArUco markers and / or other object markers) in the image data 472. Radiopaque markers are opaque to ionizing radiation emitted by the imaging modality 456 and therefore are visible in the image. In a combined marker example that includes ArUco type markers, the marker identification function 474 may call an ArUco detection function to identify the location of each marker. In a combined marker example that includes radiopaque objects other than ArUco type markers, image thresholds applied to image pixel values as well as other image processing techniques may be used to identify the perimeter of each marker. The marker identification function 474 may be fully automatic and / or user interactive in response to user input identifying the markers. The identified markers (e.g., pixel locations in each image) may be stored in memory for later processing.
[0061] The marker point generator 476 is programmed to generate spatial coordinates for each marker identified in the image data 472 by the marker identification function 474. In the example of a combination marker including radiopaque ArUco type markers, spatial coordinates for each corner of each marker can be generated, i.e., the coordinates of a set of four points surrounding each tracking sensor. In the case of spherical radiopaque markers, the spatial coordinates of each marker are provided as the 2D coordinates of the center of a circular projection (e.g., the periphery identified by the marker identification function 474) in each 2D image for the viewing angle provided by the field of view 475 for the marker system 432. In the example where three spherical markers surround each tracking sensor for a given marker device, the marker point generator 476 is programmed to provide the coordinates of a set of three points for the given marker device. Regardless of the type and configuration of the radiopaque markers, the marker point generator 476 is programmed to perform, for example, a closest point function as disclosed herein to locate a set of points surrounding each tracking sensor for the marker device. In this manner, each set of points may be linked together and associated with one of the tracking sensors to facilitate generation of the first transformation matrix 412.
[0062] The first transformation calculator 478 is programmed to calculate the first transformation matrix 412 based on the points provided by the marker point generator 476 and the points provided by the sensor transformation function 470. For example, the transformation calculator 478 is applied to align a set of points measured in a spatial coordinate system. Examples of such position synchronization algorithms for position synchronizing points in each domain (e.g., the tracking system coordinate system and the medical imaging coordinate system) may include an error minimization function or a basis transformation function, as disclosed herein.
[0063] As an example, the transform calculator 478 is programmed to implement an error minimization function. Given an ordered set of points, the transform calculator 478 will determine an unknown transformation T1 that minimizes the distance between the projected and actual positions. For example, for T1, we want to find a transformation that minimizes the distance between the points, e.g., [Number 9] sum(n = 1..i, distance(mult(T1, imPoint_n), emPoint_n)^2) Here, n denotes a given one of the i points (i is the number of points of a given multimodal marker). imPoint_n is the spatial coordinate in image space of point n. emPoint_n is the spatial coordinate in tracking space of point n. As an example, the error minimization solution can be obtained by singular value decomposition or any number of error minimization algorithms.
[0064] As another example, the transformation calculator 478 is programmed to implement a basis transformation function as disclosed herein with respect to the transformation calculator 462. As discussed above, where applicable, the transformation calculator 478 is programmed to implement a basis transformation function, which is more computationally efficient than the error minimization approach discussed above. Both the ArUco type markers of FIG. 3A and FIG. 3B have a sufficient constellation of points to allow such a basis transformation function to be used. It should be noted that for the radiopaque marker device of FIG. 3B, each set of three points for each marker device is treated separately. With its matrices defined in each coordinate system, the transformation calculator 478 can calculate the transformation 412 between the two coordinate systems. For example, for the transformation matrix T1, it is as follows: im_Matrix is a matrix defined from the basis vectors of the medical imaging (eg, intraoperative) coordinate system. em_Matrix is a matrix defined from the basis vectors of the tracking coordinate system. From the above, the transformation calculator 478 can determine the transformation matrix (T1) 412 by multiplying the basis vector tracking matrix (em_Matrix) by the inverse of the basis vector imaging matrix (inv(im_Matrix)), for example, as follows: [Number 10] T1 = mult(em_Matrix, inv(im_Matrix)) This transformation matrix may be stored in memory and used to transform from tracking system space to medical imaging space. For example, the position of the object sensor 438 within the patient's body, as represented by the tracking data 426, can be mapped to medical imaging space by applying the transformation T1 to the position and orientation information of the tracking data.
[0065] As also described above, the system 400 is configured to generate a second transform (T2) 414 used to convert between the medical imaging coordinate system for the intraoperative image data 472 and the coordinate system of the prior 3D image data 480. For example, the prior 3D image data 480 may be stored in memory (e.g., as a DICOM image set) and may include 3D images from a pre-operative scan (e.g., a CT scan) of the patient's body 430 performed at a time (e.g., intra-operatively, such as corresponding to images acquired at 102 and 104) prior to when the medical imaging modality 456 generated the image data 472.
[0066] In some examples, such as when the intraoperative image data is provided as a small number of 2D image projections, the system includes a projection calculator 482. The projection calculator 482 is programmed to generate a respective projection from the 3D image data 480 for each of the images (e.g., two images) provided in the 2D image data 472. The projection calculator 482 performs the function of mapping points from the 3D image space to a two-dimensional plane. For example, the projection calculator creates a forward projection that matches the viewing angle of the image in the 2D image data 472. The registration of the projection angle to each of the 3D projections may be done manually and / or automatically. In one example, the registration may be done automatically, such as based on image metadata of the image data 472 (shown as included in the arrow from the 2D image data 472 to the projection calculator 482) that describes the angle of each of the 2D images. For example, the metadata includes data specifying the projection angle, such as AP, LAO, RAO, etc., which may be known from the angle of the C-arm and / or may be provided in response to user input when the imaging modality 456 acquires the image data 472.
[0067] In some examples, as disclosed herein, the 3D image data may include a model of one or more anatomical structures, such as in the form of a 3D mesh corresponding to the surface of a blood vessel. As disclosed herein, a 3D projection matrix (e.g., a perspective projection matrix or a parallel projection matrix) may be applied to the mesh generated from the preoperative images 480. If the C-arm angle is known for each intraoperative image, one of the meshes is 3D projected to match that angle for each intraoperative image. If the C-arm angle is not known, multiple 3D projections can be made at different angles, and a "best fit" match between each 3D projection and each two-dimensional image can be selected manually or automatically.
[0068] The point generator 484 is programmed to generate spatial points in each of the 2D images (provided by the image data 472) and corresponding projections of the 3D images (provided by the projection calculator 482). Rather than working with corners of spheres or markers, points are selected as features that are visible in both the 2D image data 472 and the 3D image data 480. In other examples, the intraoperative image data 472 may be acquired as 3D data, such as that acquired by cone beam CT or other intraoperative 3D imaging modalities. In such examples, the projection calculator may be omitted to allow the point generator 484 to identify and generate respective sets of points in 3D space provided from both image data sets 472 and 480.
[0069] As another example, features include structures such as bony landmarks on the spine, small calcifications visible in both types of images, or points on blood vessels in examples where contrast is used in both images. In other examples, other features or fiducial points may be used. In some examples, an automated method (e.g., feature extraction) may locate a set of common features. Additionally or alternatively, one or more such features may be selected in response to user input provided via a user interface 486, such as a graphical user interface that interacts with each image and projection provided to the point generator. For example, a user may see a common structure visible from different slices and select / tag it (e.g., by mouse, keyboard, gesture, or other input) in each slice. Thus, point generator 484 generates points for each predefined feature and / or user-selected feature. In this way, the point generator operates similarly to marker point generator 476, only using a different set of landmarks. Because the image data 480 is 3D, in some examples, the user can use a set of orthogonal slices (e.g., axial, coronal, sagittal) of the 3D images of the image data 480 to identify selected points (via the user interface 486) and directly measure their x, y, z location in the 3D coordinate system of the image data 480. In examples where the intraoperative image data is in 2D space, these locations may each be converted to two-dimensional coordinates and, as such, provided in the forward projection provided by the projection calculator 482. The point generator 484 is programmed to locate the same point in the 2D image data, such as by using a vector intersection function applied to the 2D images, such as the closest point function disclosed herein. In other examples where the intraoperative image data is in 3D space, the point generator 484 can locate the point in 3D coordinates in both images, automatically or with the aid of user input via the user interface 486.
[0070] The resulting points in each image are provided to a second transform calculator 488 to generate a transformation matrix 414. The transform calculator 488 is programmed to calculate a transformation matrix for aligning the image of the image data 472 with the 3D image data 480 based on the common points provided by the point generator 484. For example, the transform calculator 488 constructs the transformation matrix (T2) 414 by implementing an error minimization function on the set of common points, such as the singular value decomposition described with respect to the first transform calculator 478. In other examples, other error minimization functions may be used.
[0071] In some examples, the system 400 includes a transformation correction function 490 programmed to manually correct one or more transformation matrices based on instructions provided via a correction user interface 492. Manual correction can be applied even if an estimate of the T1 or T2 transformation has already been made. For example, if the image data 480 and / or 472 does not contain a well-defined set of measurement points (e.g., on the spine or other anatomical structures) that serve to perform registration, the system may allow the user to define an initial estimate of the transformation T2 or, in some examples, an arbitrary T2 transformation (e.g., an "identity" matrix) that is corrected by the correction function 490 to generate the final T2 transformation 414.
[0072] As another example, the registration manager 494 is programmed to select and control the application of each transformation matrix 410, 412, and 414. For example, the spatial domain for one or more output visual spaces can be set automatically or in response to user input. For each output visual space, the registration manager can define a set of one or more transformations to apply to ensure that the images and models are properly rendered in the respective output space. For example, the output spaces may include an AR display, a mobile device or computer display. Each display may include multiple windows (e.g., screen partitions) that can each display a different visualization, including the spatial domain of either the tracking system, the intraoperative image data, the AR display, or the preceding 3D image. Thus, the registration manager 494 can define a set of transformation matrices and apply them to render the correct output image in the desired spatial domain.
[0073] As another example, with reference to Figure 6, a registration manager 494 may be used to control the application of one or more of the transforms 410, 412, and 414, and to control user corrections to one or more of such transforms. The registration manager 494 may be implemented as part of the system 400 of Figure 5, as shown, or may be implemented as a separate function. Thus, for consistency, the functions and data introduced in Figure 5 are shown in Figure 6 using the same reference numbers. For more information regarding such functions and data, reference may be made back to Figure 5 and the corresponding discussion.
[0074] The registration manager 494 includes a transformation correction function 490 and a first transformation matrix 412 and a second transformation matrix 414. In this example, it is assumed that one or both of the transformation matrices 412 and 414 may require correction. The need for correction may be made apparent to the user by applying a transformation to map two or more domains and providing a resulting visualization on the display 510. For example, the output generator 512 is configured to render the visualization in a selected domain, which may be the coordinate system of the AR device 440, the coordinate system of the tracking system 424, the coordinate system of the intraoperative image data 472, or the coordinate system of the prior 3D image data 480.
[0075] In one example, the manager 494 includes a domain selector 514 programmed to select a domain in which the output visualization is being rendered based on user input instructions received via the user interface 520. Furthermore, based on the selected domain, the registration manager applies one or more of the transformations T0, T1 or T2 accordingly. As an example, the following table provides a description of which one or more transformations are applied to the image data 472, 480 or tracking data 426 for each selected domain in which the output visualization is being rendered by the output generator 512, as well as possible models generated in the respective coordinate systems. Furthermore, the registration manager 494 can be used to control the application of the respective transformations to provide the visualization in the selected domain, such as by applying one or more transformations or the inverse of such transformations with matrix multiplication as described in the table. [Table 1]
[0076] As another example, a manual correction to either transform 412 or 414 can be provided by multiplying the respective transform matrix T0, T1 or T2 with a correction matrix such as: [Number 11] correctedT0 = mult(correctionMatrix, T0), correctedT1 = mult(correctionMatrix, T1) or correctedT2 = mult(correctionMatrix, T2) As an example, the types of corrections supported include translation, rotation and scaling, which are applied in the form of matrices as follows: [Number 12] translationMatrix = [ 1, 0, 0, translation.x, 0, 1, 0, translation.y, 0, 0, 1, translation.z, 0, 0, 0, 1] scalingMatrix = [ scale, 0, 0, 0, 0, scale, 0, 0, 0, 0, scale, 0, 0, 0, 0, 1] rotationMatrix = (depends on rotation axis)
[0077] As another example, the user initiates the correction via the user interface 516 using a mouse down / drag / mouse up action or other action. The values used in the correction matrix may be set based on the projection matrix used to display the viewport on the display 510. For example, a translation initiated from an AP view would result in X and Y mouse movements being used to set the translation.x and translation.z values (translation.y would be 0). Such transformations allow the user to change the view of a single image or change the alignment of multiple images.
[0078] As another example, for example, when performing a correction of transformation T2, the domain registration manager 494 applies the transformation T2 to the image data 472, and the output generator 512 visualizes the matched 2D images in the 3D image based on the transformation T2. If the landmarks are properly positioned as displayed on the display 510, no correction may be necessary. However, if the positions of the landmarks in the 2D image do not match their respective positions in the 3D image, a correction may be necessary for T2. Thus, the user may adjust the alignment of the 2D image to the 3D image (or its forward projection) via the user interface 516. As described above, the adjustment may include translation, rotation, and / or scaling in two dimensions in response to commands entered via the user interface using an input device (e.g., a mouse or keyboard). The output generator 512 may respond to each adjustment (e.g., in real time) and update the visualization displayed on the display to indicate the match of the images. Once the desired alignment is visualized, the user can apply and save corrections to the transformation T2 using the user interface 516 and store the updated T2 in memory for later application. Similar types of adjustments may be made to the first transformation matrix 412.
[0079] 7 and 8 show examples of images 600 and 602 acquired from the respective forward-facing cameras of the AR headset. In this example, a multimodal marker (e.g., corresponding markers 250, 302) 604 is placed on a table 606 adjacent to a physical model 608 of a patient's body including simulated organs 610. It is understood that in an actual human, the internal organs would not be visible, but the organs are shown to help illustrate the accuracy of the transformations generated in accordance with the systems and methods disclosed herein. In FIG. 8, image 602 is from a slightly different viewing angle and includes the AR marker 604 and the hand 612 of a user (e.g., an individual using an AR device).
[0080] As shown in images 600 and 602, the marker 604 includes a portion (e.g., a corner) that is identified in the coordinate system of the AR display (e.g., by functions 444 and 446). As disclosed herein, the location of the same point of the marker 604 in the tracking coordinate system is determined based on sensor data generated by a marker tracking sensor (e.g., sensor 434) so that a time-varying transformation matrix (e.g., matrix 410) can be generated. As disclosed herein, other transformation matrices (e.g., matrices 412 and 414) can be generated to align other coordinate systems and images and / or models that may have been generated in such other coordinate systems.
[0081] Figure 9 shows an AR image 650 similar to Figures 7 and 8, including a holographic overlay of a mesh model 652 superimposed on a simulated organ 610. The same reference numbers used in Figures 7 and 8 are used in Figure 9 to denote similar parts. The overlay is aligned with the patient's anatomy (organs 610) in the AR display image 650 based on applying a set of transformations to the mesh model 652 (e.g., according to the method 100 and system 400 of FIG. 1 ). For example, if the mesh model 652 is generated in the coordinate system of the 3D prior image, the inverse of each transformation T0, T1, T2 (e.g., inv(T0)*inv(T1)*inv(T2) as shown in the tables herein) may be applied to the mesh model to positionally synchronize the model in the AR coordinate system.
[0082] In some examples, annotations 654 are shown in the output visualization to provide the user with additional information, such as the distance and projected angle from the object (e.g., where the object tracking sensor 438 is attached) to the target site. Additionally, the view may be altered (e.g., enhanced) in response to user input (e.g., user input device, voice command, or gesture command). For example, the output engine generating the holographic visualization on the AR display may zoom or enlarge the current view superimposed on the patient's body in the actual field of view. Additionally or alternatively, the user may enter a command to change the viewing angle. In some examples, such as when enabled, the output visualization may illuminate or otherwise distinguish corners of the marker 604 (or other portions) to ensure that such portions of the marker are properly associated. Other image enhancements are possible.
[0083] In view of the above structural and functional description, one skilled in the art will appreciate that parts of the systems and methods disclosed herein may be implemented as a method, a data processing system, or a computer program product, such as a non-transitory computer-readable medium. Thus, parts of the techniques disclosed herein may take the form of an entirely hardware embodiment, an entirely software embodiment (e.g., in one or more non-transitory machine-readable media), or an embodiment combining software and hardware. Furthermore, parts of the systems and methods disclosed herein may be computer program products stored on a computer-accessible storage medium having computer-readable program code. Any suitable computer-readable medium may be used, including, but not limited to, static and dynamic storage devices, hard disks, optical storage devices, and magnetic storage devices.
[0084] Several embodiments have been described herein with reference to block diagrams of methods, systems, and computer program products. It will be understood that the illustrated blocks, and combinations of the illustrated blocks, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to one or more processors of a general purpose computer, special purpose computer, or other programmable data processing apparatus (or combination of devices and circuitry) to create a machine in which the instructions executed by the processors implement the functions specified in one or more of the blocks.
[0085] These computer executable instructions may be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory result in an article of manufacture including instructions that implement the functions specified in one or more of the flowchart blocks. Also, the computer program instructions may be loaded into a computer or other programmable data processing apparatus and caused to perform a series of operational steps on the computer or other programmable apparatus to generate a computer-implemented process such that the instructions executing on the computer or other programmable apparatus provide steps for implementing the functions specified in one or more of the flowchart blocks.
[0086] The above is an example. Of course, it is not possible to describe every possible combination of components or methodologies, but one of ordinary skill in the art will recognize that many more combinations and permutations are possible. Accordingly, the present invention is intended to embrace all such changes, modifications, and variations that are encompassed within the scope of this application, including the appended claims. As used herein, the term "includes" means including but not limited to. The term "based on" means based at least in part on. Furthermore, when the disclosure or claims refer to "a," "an," "a first," "another" element, or equivalents thereof, it should be construed to include one or more such elements, without requiring or excluding two or more such elements.
Claims
1. 1. A method comprising: acquiring a plurality of images from a plurality of cameras that are spatially separated from one another and have known fixed positions and orientations relative to a spatial coordinate system of an augmented reality device; the acquired images include a plurality of predetermined portions of the multimodal marker device each having a fixed known spatial position relative to at least one first tracking sensor of the multimodal marker device, the at least one first tracking sensor having a detectable three-dimensional position in a coordinate system of a tracking system; The method further comprises: estimating a three-dimensional position of each of the predetermined portions of the multimodal marker device relative to the spatial coordinate system of the augmented reality device based on each of the captured images and the known positions and orientations of the cameras relative to the spatial coordinate system of the augmented reality device; calculating an affine transformation configured to map the coordinate system of the tracking system to a visual space of a display in the spatial coordinate system of the augmented reality device based on the estimated three-dimensional positions of each of the predetermined portions of the multimodal marker device and the known respective spatial positions of each of the predetermined portions of the multimodal marker device relative to the at least one tracking sensor of the multimodal marker device; receiving tracking data of at least one second tracking sensor attached to the object and movable relative to the patient's body and having a three-dimensional position detectable in a coordinate system of the tracking system; applying the affine transformation to the tracking data of at least one second tracking sensor to map a position and orientation of the at least one second tracking sensor to the visual space of the display in the spatial coordinate system of the augmented reality device; displaying a graphical output in the visual space of the display based on applying the affine transformation to the tracking data of the at least one second tracking sensor, the graphical output including a graphical representation of the object superimposed on the visual space of the display; The method includes:
2. 2. The method of claim 1 , wherein the affine transformation is a first affine transformation, storing in a memory a second affine transformation configured to map a three-dimensional coordinate system of a model space to the spatial coordinate system of the tracking system; storing anatomical model data in the memory to represent at least one three-dimensional model of the patient's anatomy with respect to anatomical internal structures within the model space; applying the first affine transformation and the second affine transformation to the anatomical model data to align the at least one three-dimensional model of the patient's anatomy with respect to the internal anatomical structures to the visual space of the display; 2. The method of claim 1 , wherein the graphical output comprises a graphical representation of the at least one model and the graphical representation of the object both superimposed in the visual space of the display based on the applied first and second affine transformations, respectively.
3. the step of calculating the first affine transformation is performed iteratively on image frames acquired by the multiple cameras to update the first affine transformation to correspond to relative movements of the multiple cameras with respect to the multiple predetermined portions of the multi-modal marker device; The method of claim 2 , wherein the graphical output of the visual space of the display is updated in real time based on the iteratively calculated first and second affine transformations.
4. coordinates of each of the plurality of predetermined portions of the multi-modal marker device are determined based on pixel locations of the predetermined portions in each of the plurality of acquired images; the multimodal marker device includes a fiducial marker visible in at least some of the images acquired by the multiple cameras; the fiducial markers are identified within the images acquired by the multiple cameras; The method of any one of claims 1 to 3, wherein the coordinates of a plurality of the predetermined portions of the multimodal marker device are determined for each identified fiducial marker.
5. 5. The method of claim 4, wherein the fiducial marker includes a rectangular boundary having corners at intersecting sides of the rectangular boundary, and wherein a plurality of the predetermined portions of the multimodal marker device correspond to the respective corners of the boundary.
6. the cameras are at known positions relative to the display of the augmented reality device and are configured to capture the images such that the fields of view overlap and include images that are not parallel to one another; 6. The method of claim 1, wherein the augmented reality device includes a headset including the multiple cameras and the display, the display being a head-mounted display configured to overlay a holographic image on the display within a user's field of view.
7. The model space includes a three-dimensional spatial coordinate system of a prior three-dimensional preoperative medical imaging modality, and determining the second affine transformation comprises: calculating a third transformation to map an intraoperative medical imaging modality coordinate system to a three-dimensional medical imaging modality coordinate system defining said model space; 3. The method of claim 2, further comprising: calculating a fourth affine transformation to map a three-dimensional coordinate system of the tracking system to the three-dimensional coordinate system of the intraoperative medical imaging modality based on the estimated positions of each of the plurality of predetermined portions of the multimodal marker device and a known relationship between the at least one tracking sensor and each of the predetermined portions of the multimodal marker device.
8. 2. The method of claim 1, further comprising: correcting the affine transformation in response to user input by applying a correction matrix configured to apply at least one of a translation, a rotation, and a scaling to the affine transformation.
9. One or more non-transitory computer readable media programmed to perform the method of any one of claims 1 to 8.
10. an augmented reality device including a plurality of cameras for acquiring images for respective fields of view; a tracking system configured to provide sensor tracking data indicative of a position and an orientation of each tracking sensor; 1. A system including one or more non-transitory computer-readable media for storing data and instructions executable by a processor, the system comprising: the data includes augmented reality image data for images captured by the multiple cameras, each camera having a known position and orientation relative to a spatial coordinate system of the augmented reality device, the augmented reality image data including multiple predetermined portions of the multimodal marker device having fixed, known spatial positions relative to at least one first tracking sensor of a multimodal marker device, the at least one first tracking sensor having a three-dimensional position detectable in the coordinate system of the tracking system; The instruction: code for generating three-dimensional positions of the predetermined portions of the multimodal marker device relative to the spatial coordinate system of the augmented reality device based on the acquired augmented reality image data and the known positions and orientations of the cameras relative to the spatial coordinate system of the augmented reality device; code for calculating an affine transformation to map the coordinate system of the tracking system to a visual space of a display in the spatial coordinate system of the augmented reality device based on the three-dimensional position of each of the predetermined portions of the multimodal marker device and the known spatial positions and orientations of the predetermined portions of the multimodal marker device relative to the at least one first tracking sensor; code for applying the affine transformation to tracking data of at least one second tracking sensor, the second tracking sensor being attached to a movable object and having a three-dimensional position detectable in the coordinate system of the tracking system, to map a position and orientation of the at least one second tracking sensor to the visual space of the display in the spatial coordinate system of the augmented reality device; code for displaying the graphical output in the visual space of the display, the graphical output including a graphical representation of the object superimposed in the visual space of the display based on applying the affine transformation to the tracking data of the at least one second tracking sensor; A system including:
11. the affine transformation is a first affine transformation, the instructions further comprising code for calculating at least one second affine transformation for mapping a three-dimensional coordinate system of a model space to the coordinate system of the tracking system, and the data further comprising stored anatomical model data for representing at least one three-dimensional model of a patient's anatomy with respect to anatomical internal structures in the model space; the instructions further include code for applying the first affine transformation and the second affine transformation to the anatomical model data to positionally synchronize at least one three-dimensional model of the patient's anatomy with respect to the internal anatomical structures to the visual space of the display in the spatial coordinate system of the augmented reality device; 11. The system of claim 10, wherein the graphical output includes a graphical representation of the at least one model and the graphical representation of the object both superimposed in the visual space of the display based on the first affine transformation and the second affine transformation, respectively.
12. The code for computing the second affine transform comprises: code for computing a third transformation to map an intraoperative medical imaging modality coordinate system to a three-dimensional medical imaging modality coordinate system defining said model space; 12. The system of claim 11, further comprising code for calculating a fourth affine transformation to map a three-dimensional coordinate system of the tracking system to the three-dimensional coordinate system of the intraoperative medical imaging modality based on the estimated positions of each of the multiple predetermined portions of the multimodal marker device and a known relationship between the at least one first tracking sensor and each of the multiple predetermined portions of the multimodal marker device.
13. 13. The system of claim 10, 11 or 12, wherein the multiple cameras are at known positions relative to the display of the augmented reality device and are configured to capture the images as images with overlapping fields of view and that are not parallel to one another.
14. The system of claim 10, 11, 12 or 13, wherein the code for calculating the affine transformation is programmed to iteratively calculate the affine transformation for image frames acquired by the multiple cameras to update the affine transformation to correspond to relative movement of the multiple cameras with respect to the multiple predetermined portions of the multimodal marker device.
Citation Information
Patent Citations
Display device, control method for the same, and program
JP2016213663A
Projection device, projection method, and computer program for projection
JP2017106959A
Composite image presentation system
JP2017153827A
