CBCT imaging area determination method and device based on optical equipment and electronic equipment
Patent Information
- Application Number
- CN202310327512.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-15
AI Technical Summary
Existing CBCT imaging area determination methods have the problems of increasing the patient's radiation dose and prolonging the operation time. They cannot quickly help doctors determine the imaging area and increase the risk of surgery.
By calibrating the coordinate transformation relationship between the CBCT tube and the optical equipment, the first coordinate transformation matrix is obtained, and the coordinate transformation relationship between the CBCT imaging area and the tube is calibrated to obtain the second coordinate transformation matrix. , based on these two matrices, the CBCT imaging area is converted to the optical equipment coordinate system, the optical equipment is used to capture the image information of the scanned object, and it is superimposed with the imaging area on the display screen.
It achieves automatic and intelligent determination of the CBCT imaging area, reduces the radiation dose to the patient, improves surgical efficiency, and reduces surgical risks.
Smart Images

Figure CN118766483A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of image navigation technology, and in particular to a method, device and electronic device for determining a CBCT imaging region based on an optical device. Background Art
[0002] Cone-beam Computed Tomography (CBCT) is a new type of computed tomography technology with the advantages of high image resolution, short scanning time, simple operation, and low radiation dose. Therefore, image navigation technology based on CBCT has gradually been used in spinal surgery. Image navigation technology can improve the accuracy of spinal instrument placement and increase patient safety, but image navigation technology based on fluoroscopy or ordinary CT still has a high risk of radiation damage.
[0003] At present, the CBCT imaging area is generally determined by laser marking. However, the laser light generally only gives the center point of the imaging area, and the boundary information needs to be determined by the doctor himself, so it is easy to need multiple shots, which not only increases the patient's radiation dose, but also fails to quickly help the doctor determine the imaging area, prolonging the operation time and increasing the risk of surgery. Summary of the invention
[0004] In view of this, the embodiments of the present disclosure provide a CBCT imaging area determination method, apparatus and electronic device based on an optical device to solve the problems existing in the prior art of increasing the patient's radiation dose, failing to quickly determine the imaging area, prolonging the operation time and increasing the operation risk.
[0005] According to a first aspect of an embodiment of the present disclosure, a method for determining a CBCT imaging area based on an optical device is provided, comprising: calibrating a coordinate transformation relationship between a tube mounted on the CBCT and the optical device to obtain a first coordinate transformation matrix; calibrating a coordinate transformation relationship between an imaging area of the CBCT and the tube to obtain a second coordinate transformation matrix; based on the first coordinate transformation matrix and the second coordinate transformation matrix, converting the imaging area of the CBCT to a coordinate system of the optical device; photographing a scanned object using the optical device to obtain image information of the scanned object, and superimposing the image information of the scanned object and the imaging area of the CBCT on a display screen.
[0006] According to a second aspect of an embodiment of the present disclosure, a CBCT imaging area determination device based on an optical device is provided, comprising: a first calibration module, configured to calibrate the coordinate transformation relationship between a tube mounted on the CBCT and the optical device to obtain a first coordinate transformation matrix; a second calibration module, configured to calibrate the coordinate transformation relationship between the imaging area of the CBCT and the tube to obtain a second coordinate transformation matrix; a conversion module, configured to convert the imaging area of the CBCT to the optical device coordinate system based on the first coordinate transformation matrix and the second coordinate transformation matrix; and a display module, configured to photograph a scanned object using the optical device to obtain image information of the scanned object, and superimpose the image information of the scanned object and the imaging area of the CBCT on a display screen for display.
[0007] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the steps of the above method are implemented when the processor executes the program.
[0008] At least one of the above technical solutions adopted in the embodiments of the present disclosure can achieve the following beneficial effects:
[0009] The first coordinate transformation matrix is obtained by calibrating the coordinate transformation relationship between the tube installed on the CBCT and the optical device; the second coordinate transformation matrix is obtained by calibrating the coordinate transformation relationship between the imaging area of the CBCT and the tube; based on the first coordinate transformation matrix and the second coordinate transformation matrix, the imaging area of the CBCT is transformed to the coordinate system of the optical device; the scanned object is photographed by the optical device to obtain the image information of the scanned object, and the image information of the scanned object is superimposed and displayed with the imaging area of the CBCT on the display screen. The present application automatically and intelligently determines the imaging area during the CBCT imaging process, and displays the scanned object and the imaging area together on the display screen, so that the doctor can quickly determine the imaging area without having to photograph the affected area multiple times to determine the imaging area, thereby reducing the radiation dose to the patient, improving the surgical efficiency, and reducing the surgical risk. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0011] Figure 1 It is a flowchart of a method for determining a CBCT imaging area based on an optical device provided in an embodiment of the present application;
[0012] Figure 2 It is a schematic diagram of the structure of CBCT and a computer screen when an optical device is used to assist in determining an imaging area according to an embodiment of the present application;
[0013] Figure 3 It is a schematic diagram of the installation structure of various accessories and CBCT when calibrating the relative position relationship provided in an embodiment of the present application;
[0014] Figure 4 is a schematic structural diagram of a CBCT imaging region determination device based on an optical device provided in an embodiment of the present disclosure;
[0015] Figure 5 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0016] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it should be clear to those skilled in the art that the present disclosure may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present disclosure with unnecessary details.
[0017] As described in the background technology, cone-beam computed tomography (CBCT) is a new type of computed tomography technology, also known as cone-beam computed tomography, which has the advantages of high image resolution, short scanning time, simple operation, and low radiation dose. Therefore, image navigation technology based on CBCT has gradually begun to be used in spinal surgery. Image navigation technology can improve the accuracy of spinal instrument placement and increase patient safety, but image navigation technology based on fluoroscopy or ordinary CT still has a high risk of radiation damage.
[0018] At present, the CBCT imaging area is generally determined by laser marking. However, the laser light generally only gives the center point of the imaging area, and the boundary information needs to be determined by the doctor himself, so it is easy to need multiple shots, that is, multiple shots of the affected area are required to determine the imaging area, which not only increases the patient's radiation dose, but also fails to help the doctor quickly determine the imaging area, which not only prolongs the operation time, but also increases the risk of surgery.
[0019] CBCT is mainly composed of an X-ray generator, a detector, a rotating platform, and computer reconstruction software. The X-ray generator generates cone-beam X-rays, the detector is used to record the absorption of X-rays inside the object, and the rotating platform is used to control the X-ray source (i.e., the X-ray generator) and the detector to rotate around the scanned object, thereby capturing image data at different angles. The computer reconstruction software processes these images and generates three-dimensional images.
[0020] The principle of CBCT imaging is to use cone beam X-rays to irradiate objects, obtain two-dimensional X-ray images from different angles, and then reconstruct these images through computers to form three-dimensional images. During the imaging process, X-rays pass through objects, are recorded by detectors for absorption, and converted into digital signals. The computer processes these digital signals into two-dimensional images, and obtains images from multiple angles with the help of a rotating platform, ultimately generating high-resolution three-dimensional images.
[0021] In view of the problems existing in the above prior art, an embodiment of the present application provides a method for determining an imaging area with the assistance of an optical device. The present application combines an optical device (such as a camera) that can acquire an image of a target object with CBCT, calibrates the coordinate transformation relationship between the tube and the optical device, and the coordinate transformation relationship between the imaging area and the tube, respectively, and uses these two coordinate transformation relationships to transform the imaging area of CBCT into the coordinate system of the optical device. Finally, the optical device is used to photograph the scanned object, and the image information of the scanned object is superimposed and displayed on the display screen with the imaging area of CBCT. The present application enables doctors to quickly determine the imaging area, avoiding the determination of the imaging area when the intraoperative fluoroscopy cannot obtain an effective image. The present application does not need to use a CBCT camera to photograph the affected area multiple times to determine the imaging area, thereby reducing the radiation dose to the patient, improving surgical efficiency, and reducing surgical risks.
[0022] The technical solution of the present application is described in detail below with reference to the accompanying drawings and specific embodiments.
[0023] Figure 1 It is a flowchart of a method for determining a CBCT imaging area based on an optical device provided in an embodiment of the present application. Figure 1 The optical device-based CBCT imaging area determination method can be performed by an image navigation system. Figure 1 As shown, the CBCT imaging area determination method based on the optical device may specifically include:
[0024] S101, calibrating the coordinate transformation relationship between the tube installed on the CBCT and the optical device to obtain a first coordinate transformation matrix;
[0025] S102, calibrating the coordinate transformation relationship between the CBCT imaging area and the tube to obtain a second coordinate transformation matrix;
[0026] S103, based on the first coordinate transformation matrix and the second coordinate transformation matrix, transform the imaging area of the CBCT into the optical device coordinate system;
[0027] S104, photographing the scanned object using an optical device to obtain image information of the scanned object, and superimposing the image information of the scanned object and the imaging area of the CBCT on a display screen for display.
[0028] Specifically, the coordinate transformation matrix and the coordinate transformation relationship of the embodiment of the present application are essentially used to characterize the transformation between two coordinate systems. Therefore, the coordinate transformation matrix and the coordinate transformation relationship have the same meaning, and the two are only replaced in terms of nouns. Of course, in practical applications, those skilled in the art can also use other terms instead, such as coordinate transformation formulas, etc., and the replacement of terms does not constitute a limitation on the technical solution of the present application.
[0029] Furthermore, the optical device of the embodiment of the present application includes all devices that can capture the image of an object (such as a camera). The following embodiments of the present application are described with the camera as the optical device. The installation relationship between the camera and the CBCT in the embodiment of the present application is that the camera is fixedly installed on the rack of the CBCT near the tube side. It should be understood that the optical device of the embodiment of the present application is not limited to the camera, and any device that can take pictures can be regarded as an optical device.
[0030] First, the overall implementation process of the technical solution of the present application is described below in conjunction with the accompanying drawings and specific embodiments. Figure 2 As shown, Figure 2 It is a structural schematic diagram of CBCT and a computer screen when an optical device is used to assist in determining an imaging area provided in an embodiment of the present application.
[0031] exist Figure 2 In the structural diagram shown, A is the tube, B is the optical device (i.e., camera), and C is the imaging area (the cubic area in the figure). First, the coordinate transformation relationship between the tube installed on the CBCT and the optical device (i.e., the first coordinate transformation matrix) is calibrated, that is, the relative position relationship between the tube A and the camera B is calibrated before use, and the transformation relationship is recorded as T AB :A→B, then the coordinate transformation relationship between the CBCT imaging area and the tube (i.e., the second coordinate transformation matrix) is calibrated, that is, the relative position relationship between the imaging area C and the tube A is calibrated, and the transformation relationship is recorded as T AC :A→C.
[0032] Based on the transformation relationship T AB:A→B and transformation relationship T AC :A→C, when the object D ( Figure 2 When the smiling face shown in FIG. 1 is placed in the approximate imaging area, the image information of the photographed object D is collected by camera B and the image information of the photographed object D is sent to the computer screen (i.e. Figure 2 At the same time, by transforming the relationship The imaging area C is transformed into the coordinate system of the camera B, and the imaging area C and the photographed object D are superimposed and displayed on the computer screen, that is, the image of the imaging area and the image of the photographed object are displayed on the screen at the same time, thereby helping the operator to quickly and intuitively determine the scanning range, thereby achieving the purpose of intuitively determining the imaging area.
[0033] It can be seen that the key to the embodiment of the present application is to determine the relative position relationship between the tube A and the camera B, that is, T AB : A→B, and the relative position relationship between the imaging area C and the tube A, that is, T AC : A→C. The calibration process and principle of these two relative position relationships will be described in detail below in conjunction with specific embodiments.
[0034] Before formally describing the calibration process of the above two relative position relationships, the embodiment of the present application provides some accessories and installation position relationships between accessories to facilitate the calibration of the two relative position relationships. The installation relationship and function of the accessories provided in the embodiment of the present application are described below in conjunction with the accompanying drawings and specific embodiments. Figure 3 As shown, Figure 3 It is a schematic diagram of the installation structure of various accessories and CBCT when calibrating the relative position relationship provided in an embodiment of the present application.
[0035] exist Figure 3 In the structural diagram shown, in order to calibrate the transformation matrix, that is, T AB : A→B and T AC : A→C, the embodiment of the present application introduces the following accessories: a special phantom G, a marker E, a phantom tracker F, a camera tracker H and an optical tracking camera I.
[0036] Among them, an optical device (i.e., a phantom tracker F) that can be detected by the optical tracking camera I is installed on one side of the special phantom G (hereinafter referred to as the phantom G), and the phantom G is rigidly connected to the phantom tracker F; the phantom G is made of a low-attenuation material, for example, it can be made of a material with a slightly lower density, and a certain number of high-attenuation balls (i.e., markers E) are inlaid on the surface of the phantom G, for example, a certain number of steel balls can be regularly inlaid on the phantom G, or a Zhang Zhengyou calibration plate can be used as the phantom G. The phantom G can effectively extract and identify the position of the ball in X-ray imaging; the position of the steel ball (i.e., marker E) in the phantom tracker coordinate system can be calibrated by a three-dimensional measuring instrument.
[0037] Furthermore, the camera tracker H and the camera B are bound together by a specific device, and the installation accuracy is guaranteed each time. When calibrating the coordinate conversion relationship between the camera tracker H and the camera B, the image of the phantom G is first captured by the camera B, and the position of the steel ball in the image is determined by identifying the steel ball in the image. At the same time, the optical tracking camera I can detect the relative position of the phantom tracker F and the camera tracker H. Therefore, according to the position of the steel ball in the phantom tracker F, it is converted to the coordinate system of the camera tracker H through the optical tracking camera I, so that the transformation relationship between the coordinate system of the camera tracker H and the coordinate system of the camera B can be established.
[0038] The following is based on Figure 3 The schematic diagram of the installation structure of each accessory and CBCT shown in the figure respectively describes in detail the calibration process and principle of the relative position relationship between the tube A and the camera B and the relative position relationship between the imaging area C and the tube A in the embodiment of the present application.
[0039] In some embodiments, calibrating the coordinate transformation relationship between the tube mounted on the CBCT and the optical device includes:
[0040] The CBCT tube is used to collect a two-dimensional image of the phantom within the imaging field of view, and the coordinates of the markers on the phantom in the two-dimensional image coordinate system and the phantom tracker coordinate system are determined respectively;
[0041] According to the coordinates of the marker in the two-dimensional image coordinate system and the phantom tracker coordinate system, and the geometric parameters of CBCT, the coordinates of the marker in the tube coordinate system are determined;
[0042] Determine the coordinates of the marker in the optical device coordinate system according to the coordinate conversion relationship between the optical device tracker coordinate system and the phantom tracker coordinate system established by the optical tracking camera;
[0043] Based on the coordinates of the marker in the tube coordinate system and the coordinates of the marker in the optical device coordinate system, a coordinate conversion relationship between the tube and the optical device is established.
[0044] Specifically, before starting calibration, the operator manually adjusts the phantom G to place it within the imaging field of view of the CBCT, and collects a perspective image of the phantom G (i.e., a two-dimensional image of the phantom) while ensuring that the phantom tracker F and the camera tracker H can be detected by the optical tracking camera I at the same time, and determines the coordinates of the steel ball in the two-dimensional image coordinate system and the phantom tracker coordinate system, respectively.
[0045] Further, analogous to the camera calibration process, through the coordinates of the steel ball in the two-dimensional image and under the phantom tracker F, when the CBCT geometric parameters are known, the position of the marker E (steel ball) in the tube coordinate system can be obtained, that is, the coordinate conversion relationship between the marker E and the tube A is determined. At the same time, through the relative position relationship between the optical device tracker (i.e., camera tracker H) and the phantom tracker F detected by the optical tracking camera I, the coordinates of the marker E under the phantom tracker F are transformed to the coordinate system of the optical device tracker, and then transformed to the coordinate system of the camera B.
[0046] Through the above operations, the coordinate transformation relationship between tube A and camera B is calibrated to obtain T AB :A→B, in practical applications, in order to reduce the error of a single measurement, AB : During the calibration process of A→B, the CBCT can be used to rotate different angles to collect multiple two-dimensional images according to the actual situation, and the multiple measurement results can be averaged to obtain the final coordinate transformation matrix.
[0047] In some embodiments, using a tube of a CBCT to acquire a two-dimensional image of a phantom within an imaging field of view, and determining coordinates of a marker on the phantom in a two-dimensional image coordinate system and a phantom tracker coordinate system, respectively, includes:
[0048] A phantom is placed in the imaging field of the tube, a phantom tracker is provided on one side of the phantom, and a preset number of markers are regularly arranged on the phantom;
[0049] When the optical device tracker and the phantom tracker can be detected by the optical tracking camera at the same time, a two-dimensional image of the phantom is collected by using the tube, and the coordinates of the marker in the two-dimensional image coordinate system are determined;
[0050] The position of each marker in the coordinate system of the phantom tracker is calibrated using a three-dimensional measuring instrument to obtain the coordinates of the marker in the coordinate system of the phantom tracker.
[0051] Specifically, since the attenuation coefficient of marker E is large, this characteristic of marker E can be used to extract the position of marker E from the two-dimensional image by setting a pixel threshold; in practical applications, X-ray imaging shows the remaining light intensity after the X-ray passes through the detected object, which reflects the attenuation coefficient of different objects. For example: since the attenuation coefficient of the steel ball is relatively large, the pixel value of the steel ball in the two-dimensional image is relatively small. By screening the pixels in the two-dimensional image that are less than the preset pixel threshold, the imaging area of the steel ball can be extracted from the two-dimensional image. The imaging area of the steel ball is roughly a circle, and the center of the circle is the position of the steel ball in the two-dimensional image. In this way, the coordinate value of marker E in the two-dimensional image can be obtained, that is, the coordinate of marker E in the two-dimensional image coordinate system. The coordinates of marker E in the model tracker coordinate system can be directly obtained by calibration of the three-dimensional measuring instrument. The calibration process of the three-dimensional measuring instrument will not be described in detail here.
[0052] In some embodiments, determining the coordinates of the marker in the tube coordinate system according to the coordinates of the marker in the two-dimensional image coordinate system and the phantom tracker coordinate system, and the geometric parameters of the CBCT, includes:
[0053] Using the predetermined coordinate conversion formula between three-dimensional coordinates and two-dimensional coordinates, the coordinates of the marker in the two-dimensional image coordinate system and the phantom tracker coordinate system, as well as the camera intrinsic parameters and camera extrinsic parameters of CBCT are used as inputs of the coordinate conversion formula, and the coordinate conversion relationship between the marker and the tube is solved using the coordinate conversion formula.
[0054] Specifically, during CBCT imaging, the conversion relationship between three-dimensional coordinates and two-dimensional coordinates can be expressed by the following formula:
[0055]
[0056] Among them, [u, v, 1] on the left side of the formula equal sign represents the coordinates of a certain structural point (such as a steel ball) in a two-dimensional image, [x, y, z, 1] on the right side of the formula equal sign represents the coordinates of the structural point in a three-dimensional image, the first matrix on the right side of the equal sign represents the internal parameters of the CBCT camera, which is determined by the geometric structure of the CBCT, and the second matrix on the right side of the equal sign represents the external parameters of the CBCT camera, indicating how to convert the three-dimensional coordinate point to the tube coordinate system. Therefore, when the coordinates of the marker E in the two-dimensional image coordinate system and the phantom tracker coordinate system, as well as the CBCT geometric parameters, are known, they are substituted into the above formula to determine the coordinate conversion relationship between the marker E and the tube A.
[0057] It should be noted that the above-mentioned CBCT camera refers to a method of imaging two-dimensional images using a camera. In practical applications, the imaging process of the two-dimensional images is different according to the different imaging principles of the two-dimensional images, and the above-mentioned internal parameters will also be different. The embodiment of the present application is explained by taking the cone beam imaging principle as an example, and the process of shooting two-dimensional images using cone beam X-rays is equivalent to the imaging process of the camera, so the above-mentioned internal parameters are called the internal parameters of the CBCT camera, which can also be referred to as the camera internal parameters.
[0058] In some embodiments, determining the coordinates of the marker in the optical device coordinate system according to the coordinate conversion relationship between the optical device tracker coordinate system and the phantom tracker coordinate system established by the optical tracking camera includes:
[0059] Using an optical tracking camera to detect the positions of the optical device tracker and the phantom tracker, and establishing a coordinate conversion relationship between the optical device tracker coordinate system and the phantom tracker coordinate system;
[0060] According to the coordinate conversion relationship between the optical device tracker coordinate system and the phantom tracker coordinate system, the coordinates of the marker in the phantom tracker coordinate system are converted to the optical device tracker coordinate system;
[0061] According to the pre-established coordinate conversion relationship between the optical device tracker coordinate system and the optical device coordinate system, the coordinates of the marker in the optical device tracker coordinate system are converted to the optical device coordinate system.
[0062] Specifically, the optical tracking camera I of the embodiment of the present application can automatically detect the positions of the camera tracker H (i.e., the optical device tracker) and the phantom tracker F, and establish a coordinate transformation matrix based on the relative position relationship between the camera tracker H and the phantom tracker F. Based on the coordinate transformation matrix between the camera tracker coordinate system and the phantom tracker coordinate system, the coordinates of the marker E in the phantom tracker coordinate system can be directly transformed into the camera tracker coordinate system; at the same time, according to the pre-calibrated coordinate transformation matrix between the camera tracker coordinate system and the camera coordinate system, the coordinates of the marker E in the camera tracker coordinate system are transformed into the camera coordinate system, that is, the coordinate transformation relationship between the marker E and the camera B is established.
[0063] Furthermore, by using the coordinate transformation relationship between the marker E and the tube A, and the coordinate transformation relationship between the marker E and the camera B determined in the above embodiments, the coordinate transformation relationship between the tube A and the camera B can be directly obtained, that is, T AB :A→B.
[0064] The above embodiments are for T AB: A→B calibration process and principle are described in detail. The following is a calibration process of the coordinate transformation relationship between the imaging area C and the tube A, that is, T AC : The calibration process of A→C is described in detail. It should be noted that the embodiment of the present application provides two methods for calibrating the coordinate transformation relationship between the imaging area C and the tube A. The two methods are described below respectively.
[0065] In some embodiments, calibrating the coordinate transformation relationship between the imaging area of the CBCT and the tube includes:
[0066] The position of the imaging area in the tube coordinate system is determined according to the distance between the tube and the detector, the distance between the tube and the rotation center, and the size of the imaging area, so as to calibrate the coordinate conversion relationship between the imaging area and the tube.
[0067] Specifically, in the first calibration method, the CBCT is calibrated using the internal parameters provided by the manufacturer when it leaves the factory. The basic principle is that the imaging area coordinate system is parallel to the tube coordinate system, with only a translation in the z direction. Therefore, the coordinate transformation relationship between the imaging area C and the tube A can be directly established based on the internal parameters of the CBCT.
[0068] In a specific example, the distance from the tube to the flat panel (i.e., the detector) and the distance from the tube to the rotation center (i.e., the image center) are usually marked on the product manual of the cone-beam CBCT. At the same time, the size of the area where the CBCT presents the image is also given. Based on the above parameters, the position of the imaging area (the imaging area of the three-dimensional image) in the tube coordinate system can be determined, that is, the coordinate conversion relationship between the imaging area C and the tube A can be obtained.
[0069] In some embodiments, calibrating the coordinate transformation relationship between the imaging area of the CBCT and the tube includes:
[0070] The CBCT tube is rotated to collect the two-dimensional image of the phantom, and the collected two-dimensional image is reconstructed to generate a three-dimensional image, and the spatial area corresponding to the three-dimensional image is used as the imaging area;
[0071] Extracting the position of the marker in the imaging area based on a preset pixel threshold to obtain the coordinates of the marker in the imaging area;
[0072] According to the coordinates of the marker in the phantom tracker coordinate system, a coordinate transformation relationship between the imaging area and the phantom tracker coordinate system is established;
[0073] According to the coordinate transformation relationship between the optical device tracker coordinate system and the phantom tracker coordinate system, a coordinate transformation relationship between the imaging area and the optical device tracker coordinate system is established;
[0074] The coordinate transformation relationship between the imaging area and the tube is established based on the coordinate transformation relationship between the tube and the optical device and the coordinate transformation relationship between the optical device and the optical device tracker coordinate system.
[0075] Specifically, in the second calibration method, the coordinate transformation relationship between the imaging area C and the tube A is established through the three-dimensional image taken by CBCT. The basic principle is to use Figure 3 The accessories and the installation structure of CBCT shown in the figure use the CBCT multi-angle rotation scanning phantom G to obtain multiple two-dimensional images, reconstruct the collected two-dimensional images to obtain the corresponding three-dimensional images, and use the large attenuation coefficient of the marker E to extract the position of the marker E from the three-dimensional image by setting the pixel threshold, and then determine the coordinates of the marker E in the imaging area C, that is, the coordinates of the marker E in the imaging area coordinate system; the coordinates of the marker E in the phantom tracker coordinate system are also known, so the coordinate conversion relationship between the imaging area C and the phantom tracker coordinate system can be established, and then the coordinate conversion relationship between the imaging area C and the camera tracker coordinate system is established by using the coordinate conversion relationship between the camera tracker H and the phantom tracker F detected by the optical tracking camera I. Finally, the coordinate conversion relationship between the imaging area C and the tube A is established based on the coordinate conversion relationship between the tube A and the camera B and the coordinate conversion relationship between the camera B and the camera tracker coordinate system obtained in the above-mentioned embodiment.
[0076] In a specific example, the embodiment of the present application uses CBCT to perform rotational scanning on the phantom G to obtain a three-dimensional image. The spatial area of the three-dimensional image can be considered as the imaging area of CBCT. In the three-dimensional imaging process, it actually displays the three-dimensional structure of the object in the imaging area C. Based on the same principle of extracting the coordinates of the steel ball in the two-dimensional image in the previous embodiment, considering that the attenuation coefficient of the steel ball is relatively large, the pixel value of the steel ball is usually relatively low in the three-dimensional image. By screening the pixels in the image that are less than the preset pixel threshold, the position of the steel ball can be extracted from the three-dimensional image.
[0077] Furthermore, after obtaining the coordinates of the steel ball in the imaging area, and knowing the coordinates of the steel ball in the model tracker coordinate system, the coordinate transformation relationship between the steel ball and the imaging area can be directly transformed into the coordinate transformation relationship between the imaging area C and the model tracker coordinate system; then, the coordinate transformation relationship between the camera tracker H and the model tracker F detected by the optical tracking camera I can be used to easily determine the coordinate transformation relationship between the imaging area C and the camera tracker coordinate system. Finally, based on the coordinate transformation relationship between the ball tube A and the camera B and the coordinate transformation relationship between the camera B and the camera tracker coordinate system, the coordinate transformation relationship between the imaging area C where the steel ball is located and the ball tube A is established. The transformation process of the entire coordinate transformation relationship can be abbreviated as: C->F->H->B->A.
[0078] Finally, after obtaining the coordinate transformation relationship T between the tube A and the camera B AB :A→B and the coordinate transformation relationship between the tube A and the imaging area C T AC : After A→C, the imaging area C can be transformed from the tube coordinate system to the camera coordinate system, and the scanned object can be photographed by the camera to obtain the image information of the scanned object. Since the image information of the scanned object is already in the camera coordinate system, the image information of the scanned object can be directly superimposed on the CBCT imaging area on the display screen, which is convenient for the operator to intuitively judge the scanned range, that is, to judge the positional relationship between the imaging area and the object image.
[0079] According to the technical solution provided in the embodiment of the present application, the present application combines a camera that can capture images of surrounding objects with CBCT, calibrates the coordinate transformation relationship between the tube and the camera and the coordinate transformation relationship between the tube and the imaging area, transforms the imaging area to the camera coordinate system using the calibrated coordinate transformation relationship, and superimposes the imaging area and the image of the photographed object on the display screen, so that the operator can intuitively judge the positional relationship between the imaging area and the photographed object. The present application avoids the problem that the existing laser positioning method only displays the imaging center, resulting in inaccurate positioning and requiring multiple transmissions; the present application proposes a method and device for calibrating the relative position of the tube and the camera, reduces the requirements for machinery when installing the camera, and eliminates tooling errors to the maximum extent; the present application can also enable the user (doctor or operator) to intelligently determine the imaging area, avoiding the judgment of the imaging area when the intraoperative fluoroscopy cannot obtain effective images, thereby improving the efficiency of the operation and reducing the risk of the operation.
[0080] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.
[0081] Figure 4 Schematic diagram of the structure of the CBCT imaging area determination device based on optical equipment provided by the embodiment of the present disclosure. Figure 4 As shown, the CBCT imaging area determination device based on optical equipment includes:
[0082] A first calibration module 401 is configured to calibrate the coordinate transformation relationship between the tube installed on the CBCT and the optical device to obtain a first coordinate transformation matrix;
[0083] The second calibration module 402 is configured to calibrate the coordinate transformation relationship between the imaging area of the CBCT and the tube to obtain a second coordinate transformation matrix;
[0084] The conversion module 403 is configured to convert the imaging area of the CBCT into the optical device coordinate system based on the first coordinate transformation matrix and the second coordinate transformation matrix;
[0085] The display module 404 is configured to use an optical device to photograph the scanned object, obtain image information of the scanned object, and superimpose the image information of the scanned object and the imaging area of CBCT on a display screen for display.
[0086] In some embodiments, Figure 4 The first calibration module 401 uses the tube of the CBCT to collect a two-dimensional image of the model within the imaging field of view, and determines the coordinates of the markers on the model in the two-dimensional image coordinate system and the model tracker coordinate system respectively; determines the coordinates of the markers in the tube coordinate system according to the coordinates of the markers in the two-dimensional image coordinate system and the model tracker coordinate system, and the geometric parameters of the CBCT; determines the coordinates of the markers in the optical device coordinate system according to the coordinate conversion relationship between the optical device tracker coordinate system and the model tracker coordinate system established by the optical tracking camera; establishes a coordinate conversion relationship between the tube and the optical device based on the coordinates of the markers in the tube coordinate system and the coordinates of the markers in the optical device coordinate system.
[0087] In some embodiments, Figure 4 The first calibration module 401 places a phantom in the imaging field of view of the tube, a phantom tracker is provided on one side of the phantom, and a preset number of markers are regularly arranged on the phantom; when the optical device tracker and the phantom tracker can be detected by the optical tracking camera at the same time, the tube is used to collect a two-dimensional image of the phantom, and the coordinates of the markers in the two-dimensional image coordinate system are determined; the position of each marker in the phantom tracker coordinate system is calibrated by a three-dimensional measuring instrument to obtain the coordinates of the marker in the phantom tracker coordinate system.
[0088] In some embodiments, Figure 4The first calibration module 401 uses a coordinate conversion formula between a predetermined three-dimensional coordinate and a two-dimensional coordinate, takes the coordinates of the marker in the two-dimensional image coordinate system and the model tracker coordinate system, as well as the camera intrinsic parameters and camera extrinsic parameters of the CBCT as inputs of the coordinate conversion formula, and uses the coordinate conversion formula to solve the coordinate conversion relationship between the marker and the tube.
[0089] In some embodiments, Figure 4 The first calibration module 401 detects the positions of the optical device tracker and the phantom tracker by using an optical tracking camera, and establishes a coordinate conversion relationship between the optical device tracker coordinate system and the phantom tracker coordinate system; based on the coordinate conversion relationship between the optical device tracker coordinate system and the phantom tracker coordinate system, converts the coordinates of the marker in the phantom tracker coordinate system to the optical device tracker coordinate system; based on the pre-established coordinate conversion relationship between the optical device tracker coordinate system and the optical device coordinate system, converts the coordinates of the marker in the optical device tracker coordinate system to the optical device coordinate system.
[0090] In some embodiments, Figure 4 The second calibration module 402 determines the position of the imaging area in the tube coordinate system according to the distance between the tube and the detector, the distance between the tube and the rotation center, and the size of the imaging area, so as to calibrate the coordinate conversion relationship between the imaging area and the tube.
[0091] In some embodiments, Figure 4 The second calibration module 402 utilizes the CBCT tube rotation to collect a two-dimensional image of the model, reconstructs the collected two-dimensional image to generate a three-dimensional image, and uses the spatial area corresponding to the three-dimensional image as the imaging area; extracts the position of the marker in the imaging area based on a preset pixel threshold to obtain the coordinates of the marker in the imaging area; establishes a coordinate transformation relationship between the imaging area and the model tracker coordinate system based on the coordinate transformation relationship between the optical device tracker coordinate system and the model tracker coordinate system; establishes a coordinate transformation relationship between the imaging area and the tube based on the coordinate transformation relationship between the tube and the optical device and the coordinate transformation relationship between the optical device and the optical device tracker coordinate system.
[0092] In some embodiments, the optical device is a camera, which is fixedly mounted on a frame of the CBCT and is installed at a position close to one side of the tube.
[0093] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.
[0094] Figure 5 Schematic diagram of the structure of the electronic device 5 provided by the embodiment of the present disclosure. Figure 5 As shown, the electronic device 5 of this embodiment includes: a processor 501, a memory 502, and a computer program 503 stored in the memory 502 and executable on the processor 501. When the processor 501 executes the computer program 503, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 501 executes the computer program 503, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0095] Exemplarily, the computer program 503 may be divided into one or more modules / units, which are stored in the memory 502 and executed by the processor 501 to complete the present disclosure. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 503 in the electronic device 5.
[0096] The electronic device 5 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 5 may include, but is not limited to, a processor 501 and a memory 502. Those skilled in the art will appreciate that Figure 5 It is only an example of the electronic device 5 and does not constitute a limitation of the electronic device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0097] The processor 501 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0098] The memory 502 may be an internal storage unit of the electronic device 5, for example, a hard disk or memory of the electronic device 5. The memory 502 may also be an external storage device of the electronic device 5, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 5. Further, the memory 502 may also include both an internal storage unit of the electronic device 5 and an external storage device. The memory 502 is used to store computer programs and other programs and data required by the electronic device. The memory 502 may also be used to temporarily store data that has been output or is to be output.
[0099] In addition, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the CBCT imaging area determination method based on an optical device described in the above embodiment.
[0100] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0101] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0102] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0103] In the embodiments provided in the present disclosure, it should be understood that the disclosed apparatus / computer equipment and methods can be implemented in other ways. For example, the apparatus / computer equipment embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. Multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of the apparatus or unit, which may be electrical, mechanical or other forms.
[0104] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0105] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0106] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present disclosure implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0107] The above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should all be included in the protection scope of the present disclosure.
Claims
1. A method for determining a CBCT imaging area based on an optical device, characterized in that: include: Calibrate the coordinate transformation relationship between the tube installed on the CBCT and the optical device to obtain a first coordinate transformation matrix; Calibrate the coordinate transformation relationship between the imaging area of the CBCT and the tube to obtain a second coordinate transformation matrix; Based on the first coordinate transformation matrix and the second coordinate transformation matrix, transforming the imaging area of the CBCT into an optical device coordinate system; The optical device is used to photograph the scanned object to obtain image information of the scanned object, and the image information of the scanned object is superimposed and displayed on a display screen with the imaging area of the CBCT.
2. The method according to claim 1, characterized in that The calibration of the coordinate transformation relationship between the tube installed on the CBCT and the optical device includes: Using the tube of the CBCT to collect a two-dimensional image of the phantom within the imaging field of view, and determining the coordinates of the markers on the phantom in the two-dimensional image coordinate system and the phantom tracker coordinate system respectively; Determining the coordinates of the marker in the tube coordinate system according to the coordinates of the marker in the two-dimensional image coordinate system and the phantom tracker coordinate system, and the geometric parameters of the CBCT; Determine the coordinates of the marker in the optical device coordinate system according to the coordinate conversion relationship between the optical device tracker coordinate system and the phantom tracker coordinate system established by the optical tracking camera; Based on the coordinates of the marker in the tube coordinate system and the coordinates of the marker in the optical device coordinate system, a coordinate conversion relationship between the tube and the optical device is established.
3. The method according to claim 2, characterized in that The method of using the tube of the CBCT to collect a two-dimensional image of the phantom within the imaging field of view and determining the coordinates of the marker on the phantom in the two-dimensional image coordinate system and the phantom tracker coordinate system respectively includes: A phantom is placed in the imaging field of the tube, a phantom tracker is provided on one side of the phantom, and a preset number of markers are regularly arranged on the phantom; When the optical device tracker and the phantom tracker can be detected by the optical tracking camera at the same time, using the tube to collect a two-dimensional image of the phantom, and determining the coordinates of the marker in the two-dimensional image coordinate system; The position of each marker in the phantom tracker coordinate system is calibrated using a three-dimensional measuring instrument to obtain the coordinates of the marker in the phantom tracker coordinate system.
4. The method according to claim 2, characterized in that: Determining the coordinates of the marker in the tube coordinate system according to the coordinates of the marker in the two-dimensional image coordinate system and the phantom tracker coordinate system, and the geometric parameters of the CBCT, comprises: By using a predetermined coordinate conversion formula between three-dimensional coordinates and two-dimensional coordinates, the coordinates of the marker in the two-dimensional image coordinate system and the phantom tracker coordinate system, as well as the camera intrinsic parameters and camera extrinsic parameters of the CBCT are used as inputs of the coordinate conversion formula, and the coordinate conversion relationship between the marker and the tube is solved by using the coordinate conversion formula.
5. The method according to claim 2, characterized in that: The coordinate conversion relationship between the optical device tracker coordinate system and the phantom tracker coordinate system established by the optical tracking camera is used to determine the coordinates of the marker in the optical device coordinate system, including: Using the optical tracking camera to detect the positions of the optical device tracker and the phantom tracker, and establishing a coordinate conversion relationship between the optical device tracker coordinate system and the phantom tracker coordinate system; According to the coordinate conversion relationship between the optical device tracker coordinate system and the phantom tracker coordinate system, the coordinates of the marker in the phantom tracker coordinate system are converted to the optical device tracker coordinate system; According to the pre-established coordinate conversion relationship between the optical device tracker coordinate system and the optical device coordinate system, the coordinates of the marker in the optical device tracker coordinate system are converted to the optical device coordinate system.
6. The method according to claim 1, characterized in that The calibrating the coordinate transformation relationship between the imaging area of the CBCT and the tube includes: The position of the imaging area in the tube coordinate system is determined according to the distance between the tube and the detector, the distance between the tube and the rotation center, and the size of the imaging area, so as to calibrate the coordinate conversion relationship between the imaging area and the tube.
7. The method according to claim 1, characterized in that The calibrating the coordinate transformation relationship between the imaging area of the CBCT and the tube includes: The CBCT tube is rotated to collect a two-dimensional image of the phantom, and the collected two-dimensional image is reconstructed to generate a three-dimensional image, and a spatial area corresponding to the three-dimensional image is used as an imaging area; Extracting the position of the marker in the imaging area based on a preset pixel threshold to obtain the coordinates of the marker in the imaging area; According to the coordinates of the marker in the phantom tracker coordinate system, a coordinate conversion relationship between the imaging area and the phantom tracker coordinate system is established; According to the coordinate transformation relationship between the optical device tracker coordinate system and the phantom tracker coordinate system, a coordinate transformation relationship between the imaging area and the optical device tracker coordinate system is established; A coordinate transformation relationship between the imaging area and the tube is established based on a coordinate transformation relationship between the tube and the optical device and a coordinate transformation relationship between the optical device and a tracker coordinate system of the optical device.
8. The method according to any one of claims 1 to 7, characterized in that The optical device is a camera, and the camera is fixedly mounted on the frame of the CBCT, and the camera is installed at a position close to one side of the tube.
9. A CBCT imaging area determination device based on an optical device, characterized in that: include: A first calibration module is configured to calibrate the coordinate transformation relationship between the tube installed on the CBCT and the optical device to obtain a first coordinate transformation matrix; A second calibration module is configured to calibrate the coordinate transformation relationship between the imaging area of the CBCT and the tube to obtain a second coordinate transformation matrix; A conversion module, configured to convert the imaging area of the CBCT into an optical device coordinate system based on the first coordinate transformation matrix and the second coordinate transformation matrix; The display module is configured to use the optical device to photograph the scanned object, obtain image information of the scanned object, and superimpose the image information of the scanned object and the imaging area of the CBCT on a display screen for display.
10. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 8 when executing the program.
Citation Information
Cited By
X-ray equipment navigation and simulation imaging method in image navigation surgery
CN119770175A
Method and device for carrying out scanning planning on load-bearing position CBCT through camera
CN121622082A
