Large-range three-dimensional imaging method and device based on DR
By calibrating the marker feature points and rotation center data, the problem that three-dimensional digital X-ray photography can only be locally imaged in the prior art is solved, and a large-scale three-dimensional imaging is achieved, which improves imaging accuracy and clinical application value.
Patent Information
- Application Number
- CN202411173166.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-12-06
AI Technical Summary
The existing three-dimensional digital X-ray technology can only perform three-dimensional imaging of small-scale local tissues, but cannot achieve large-scale three-dimensional imaging, which limits its clinical application.
By acquiring multiple projected images of different angles, the rotation center coordinates and initial shooting angle data are calibrated using marker feature points to perform three-dimensional reconstruction to ensure the accurate position of the projected image in the three-dimensional space, thereby achieving large-scale three-dimensional reconstruction.
A large-scale three-dimensional imaging is realized, which improves the accuracy and flexibility of imaging, and can be suitable for clinical applications that require scanning of the whole body or a large area of the patient.
Smart Images

Figure CN119074034A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of three-dimensional imaging, and in particular to a DR-based large-scale three-dimensional imaging method and device. Background Art
[0002] DR (Digital Radiography) refers to a technology that directly performs digital X-ray photography under computer control, that is, the X-ray detector converts the X-ray information that penetrates the human body into digital signals, and the computer reconstructs the image and performs a series of image post-processing. The DR system mainly consists of several parts, such as X-ray generator, X-ray detector, system controller, image monitor, and image processing workstation.
[0003] The development of DR has gone through multiple stages including static DR, dynamic DR, and three-dimensional DR. Static DR has a long imaging time and cannot collect images in real time. It can only collect static images, which cannot meet the needs of real-time observation of tissue movement. It is also easy to fail to shoot due to patient movement. Later, it developed into the dynamic DR stage. The detector has the ability to collect images in real time, and can observe and record the patient's tissue movement in real time. It can meet the applications of cardiopulmonary function observation, joint movement function examination, gastrointestinal angiography, etc., and has higher clinical value than static DR. However, whether it is static DR or dynamic DR, only two-dimensional images are obtained. Two-dimensional images cannot avoid the interference caused by tissue overlap, so a few manufacturers have begun to adopt three-dimensional DR in recent years. Three-dimensional DR reconstructs three-dimensional tomographic images through projection images from multiple angles and uses algorithms to avoid tissue overlap, provide accurate three-dimensional spatial information, and can accurately obtain information such as the location and size of the lesion, so as to help doctors diagnose and treat more accurately. However, the existing three-dimensional DR is limited by multiple factors such as equipment structure, scanning method, and detector format. It can only perform three-dimensional imaging of small-scale local tissues, which greatly limits its clinical application. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a large-scale three-dimensional imaging method and device based on DR, so as to realize large-scale 3D imaging through DR.
[0005] In order to solve the above technical problems, a technical solution adopted by the present invention is:
[0006] A large-scale three-dimensional imaging method based on DR, comprising the steps of:
[0007] Acquire an image to be processed taken by a DR device, wherein the image to be processed includes a plurality of projection images at different angles, and the projection images include feature points of a marker; and acquire initial shooting angle data of each projection image;
[0008] Calibrate the rotation center coordinates and the initial shooting angle data according to the marker feature points so that the feature angles of the marker feature points are consistent;
[0009] A three-dimensional reconstruction is performed according to the projection image, the calibrated rotation center coordinates and the initial shooting angle data to obtain a reconstructed image.
[0010] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0011] A DR-based large-scale three-dimensional imaging device, comprising a frame, a detector, a ray generator, a rotating module, a movable support base, a patient support device, a patient fixing device and a computer terminal; the computer terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements each step of the above-mentioned DR-based large-scale three-dimensional imaging method when executing the computer program;
[0012] The detector and the ray generator are fixed relatively to the frame and arranged relatively to the patient support device;
[0013] The patient support device comprises a support plate and a rotation drive motor, wherein the rotation drive motor is connected to the support plate, and the support plate is arranged on the movable support device;
[0014] The patient fixing device comprises a backrest plate and a binding belt, one side of the backrest plate is fixedly connected to the support plate, and one side of the binding belt is fixed to the backrest plate.
[0015] The beneficial effect of the present invention is that: the image to be processed taken by the DR device is obtained, and the image to be processed includes the projection image. In the process of three-dimensional modeling, the photographed object rotates relative to the ray generator and the detector, and the initial shooting angle data obtained by the sensor will have deviations due to measurement errors and other reasons, thereby affecting the accuracy of three-dimensional reconstruction, so it is necessary to calibrate the rotation angle before three-dimensional reconstruction can be performed. Because in a three-dimensional scene, the relative position of the same marker to other key points in the photographed object should be fixed, by setting the marker, after obtaining the image to be processed, the initial shooting angle data of the projection image in the image to be processed is calibrated according to the marker feature points therein, and after obtaining the calibrated initial shooting angle, the accurate position of the captured projection image in the three-dimensional space can be determined, and the projection image, the calibrated initial shooting angle and the rotation center are used as parameters in the three-dimensional reconstruction process, and the position of a large range of projection images in the three-dimensional space is determined by the calibrated angle, so that a large range of three-dimensional reconstruction can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A flowchart of a method for large-scale three-dimensional imaging based on DR according to an embodiment of the present invention;
[0017] Figure 2 A schematic diagram of a system cross-sectional coordinate system of a large-scale three-dimensional device based on DR according to an embodiment of the present invention;
[0018] Figure 3 This is a schematic diagram of a double-column frame of a large-scale three-dimensional imaging device based on DR according to an embodiment of the present invention;
[0019] Figure 4 A schematic diagram of a U-arm frame of a large-scale three-dimensional imaging device based on DR according to an embodiment of the present invention;
[0020] Figure 5 This is a schematic diagram of an arm frame of a large-scale three-dimensional imaging device based on DR according to an embodiment of the present invention;
[0021] Figure 6 This is a schematic diagram of a frame matching a column and an arm of a large-scale three-dimensional imaging device based on DR according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0023] Please refer to Figure 1 , a large-scale three-dimensional imaging method based on DR, comprising the steps of:
[0024] Acquire an image to be processed taken by a DR device, wherein the image to be processed includes a plurality of projection images at different angles, and the projection images include feature points of a marker; and acquire initial shooting angle data of each projection image;
[0025] Calibrate the rotation center coordinates and the initial shooting angle data according to the marker feature points so that the feature angles of the marker feature points are consistent;
[0026] A three-dimensional reconstruction is performed according to the projection image, the calibrated rotation center coordinates and the initial shooting angle data to obtain a reconstructed image.
[0027] From the above description, it can be seen that the beneficial effect of the present invention is to obtain the image to be processed taken by the DR device, and the image to be processed includes the projection image. In the process of three-dimensional modeling, the photographed object rotates relative to the ray generator and the detector, and the initial shooting angle obtained by the sensor will have deviations due to measurement errors and other reasons, thereby affecting the accuracy of three-dimensional reconstruction. Therefore, it is necessary to calibrate the rotation angle before three-dimensional reconstruction can be performed. Because in a three-dimensional scene, the relative position of the same marker to other key points in the photographed object should be fixed. By setting the marker, after obtaining the image to be processed, the initial shooting angle data of the projection image in the image to be processed is calibrated according to the marker feature points therein. After obtaining the calibrated initial shooting angle, the accurate position of the captured projection image in the three-dimensional space can be determined. The projection image, the calibrated initial shooting angle and the rotation center are used as parameters in the three-dimensional reconstruction process. The position of a large range of projection images in the three-dimensional space is determined by the calibrated angle, so that a large range of three-dimensional reconstruction can be achieved.
[0028] Furthermore, the obtaining of the image to be processed taken by the DR device includes:
[0029] Obtaining the starting point and the ending point of the three-dimensional reconstruction, the maximum single-segment range that can be photographed and reconstructed by a single segment of the DR device, and the overlapping range between two adjacent segments;
[0030] Obtaining the total height of the shooting range according to the starting point, the ending point and the maximum single-segment range;
[0031] Obtaining the total number of segments and the moving distance of each segment according to the total height of the shooting range and the overlapping range;
[0032] Obtaining an actual overlapping range according to the maximum single-segment range and the moving distance;
[0033] Calculate the window height according to the actual overlapping range;
[0034] Adjusting the DR device according to the window height and setting the window width to the maximum; the window height is calculated along the direction of the line connecting the starting point and the end point;
[0035] The exposure start angle and the exposure end angle are obtained, and the image collection to be processed of each segment is completed according to the start point, the exposure start angle, the exposure end angle, the moving distance and the end point.
[0036] From the above description, it can be seen that in the process of acquiring the image to be processed, the total height of the shooting range is obtained according to the preset starting and ending points, end points and the maximum single-segment range that the DR device can shoot and reconstruct in a single time, that is, it is possible to choose to shoot part of the object or the whole of the object, thereby enhancing the flexibility of the system; the minimum overlapping range is set to provide data that can be calibrated for the subsequent stitching process, so that data of different segments can be successfully stitched with small errors, and the actual window height is calculated. Finally, the image to be processed is acquired according to the calculated parameters, thereby ensuring the quality of the original image to be processed.
[0037] Further, the acquiring of the exposure start angle and the exposure end angle, and completing the acquisition of the to-be-processed image of each segment according to the starting point, the exposure start angle, the exposure end angle, the moving distance and the end point comprises:
[0038] Starting exposure from the exposure starting angle of the starting point and rotating the rotation module of the DR device, and collecting a projection image in real time through the DR device;
[0039] When the rotation module of the DR device rotates to the exposure end angle, the exposure is stopped and the acquisition of the image to be processed is stopped, and the acquisition of the image to be processed in the current segment is completed;
[0040] The frame of the DR device is moved toward the end point by the moving distance as a new starting point, and the image acquisition of the next segment to be processed is continued until the end point is reached.
[0041] From the above description, it can be seen that since a single exposure of the X-ray can only obtain one projection image, the images to be processed at multiple angles for the same object can be fully obtained by rotation, which is convenient for the subsequent reconstruction and stitching of the three-dimensional image and improves the accuracy of the final three-dimensional image; and the moving distance is calculated based on the minimum overlapping range, which ensures that the stitching reference can be obtained according to the overlapping range during the stitching process, further ensuring the accuracy of the stitching result, and reducing the radiation received by the object, further ensuring the health of the patient when performing three-dimensional reconstruction of the patient.
[0042] Furthermore, calibrating the rotation center coordinates and the initial shooting angle according to the marker feature points includes:
[0043] Obtain the detector center point O, the ray source point S and the initial shooting angle data θ of the i-th projection image of the DR device i ;
[0044] Calculating a first distance SID between the center point of the detector and the ray source point;
[0045] The plane where the detector is located is taken as the x-axis, and the y-axis is established parallel to the straight line where the ray source point and the center point of the detector are connected, and a two-dimensional rectangular coordinate system is established; the projection position (px) of the feature point of the marker in the projection image on the plane where the detector is located is obtained. i , 0);
[0046] Get px i The maximum projection position (px) of the first projection image with the largest value A , 0), calculate the corresponding first measurement angle data θ according to the maximum projection position A =actan(SID / px A ), obtaining first initial shooting angle data of the first projection image, and obtaining a first difference dθ between the first measurement angle data and the first initial shooting angle data A ;
[0047] Get px i The minimum projection position (px) of the second projection image with the smallest value B , 0), calculate the corresponding second measurement angle data θ according to the minimum projection position B =actan(SID / px B ), obtaining the second initial shooting angle data of the second projection image, and obtaining the second difference dθ between the second measurement angle data and the second initial shooting angle data B ;
[0048] Calculate the third difference of the x coordinates of two adjacent projection images, and obtain the difference projection position (px) where the third difference is the largest. D , 0) and the corresponding third projection image, and calculating the corresponding third measurement angle data θ according to the difference projection position D =actan(SID / px D ), obtaining the third initial shooting angle data of the corresponding third projection image, and obtaining a third difference dθ between the third measurement angle data and the third initial shooting angle data D ;
[0049] Obtaining an average angle deviation dθ according to the first difference, the second difference and the third difference;
[0050] Correct each of the initial shooting angle data θ according to the average angle deviation i .
[0051] From the above description, it can be seen that before performing rotation calibration, the error value of the measured angle is calibrated according to the feature points that can be obtained, and the measured initial shooting angle value is corrected according to the calibration result to ensure the accuracy of subsequent calculations.
[0052] Furthermore, performing three-dimensional reconstruction according to the projection image, the calibrated rotation center coordinates and the initial shooting angle to obtain a reconstructed image includes:
[0053] The projection image, the calibrated initial shooting angle corresponding to the projection image, and the calibrated rotation center are input into a reconstruction module for three-dimensional reconstruction to obtain a reconstructed image.
[0054] From the above description, it can be seen that a special reconstruction module is set up to execute the reconstruction process of the three-dimensional image, and the three-dimensional reconstruction is performed according to the projection image and the calibrated data, which further improves the accuracy of the reconstructed image. The special reconstruction module is easy to manage.
[0055] Furthermore, calibrating the rotation center coordinates and the initial shooting angle data according to the marker feature point also includes:
[0056] Construct the maximum projection position (px) A ,0) corresponds to the first origin A coordinates x A = r*cos(θ A )+x C ,y A =r*sin(θ A )+y C ;
[0057] Construct the minimum projection position (px) B ,0) corresponds to the second origin B coordinates x B = r*cos(θ B )+x C ,y B =r*sin(θ B )+y C ;
[0058] Construct the difference projection position (px D ,0) corresponds to the third origin D coordinates of the third expression x D = r*cos(θ D )+x C ,y D =r*sin(θ D )+y C ;
[0059] Get the projection mapping formula px*(SID-y)=x*SID;
[0060] Wherein, px represents the x-axis coordinate after projection, (x, y) represents the origin coordinate before projection, and the origin includes the first origin, the second origin and the third origin;
[0061] The rotation center coordinates (x C ,y C ) and the radius of rotation r.
[0062] From the above description, it can be seen that after calculating the coordinates of the feature points, the coordinates of the rotation center are determined, and then three-dimensional reconstruction can be performed based on the calibrated rotation center to further improve the accuracy of the calculation.
[0063] Furthermore, performing three-dimensional reconstruction according to the projection image, the calibrated rotation center coordinates and the initial shooting angle to obtain a reconstructed image includes:
[0064] Performing three-dimensional reconstruction according to the projection image in each segment, the calibrated rotation center coordinates and the initial shooting angle to obtain a three-dimensional image;
[0065] Traversing the three-dimensional image corresponding to the segment, when traversing to the target three-dimensional image, obtaining the intermediate tomographic image in the target three-dimensional image, obtaining the marker feature points in the intermediate tomographic image, calculating the current correction angle of the line connecting the marker feature point and the rotation center relative to the straight line connecting the ray source point and the center point of the detector, and comparing it with the historical correction angle of the previous three-dimensional image, if they are inconsistent, rotating the three-dimensional image so that the current correction angle is consistent with the historical correction angle; and obtaining the corrected target three-dimensional image;
[0066] All corrected target three-dimensional images are stitched together to obtain a reconstructed image.
[0067] From the above description, it can be seen that after three-dimensional reconstruction is performed on each segment to obtain a three-dimensional image, the angles between the three-dimensional images obtained by reconstructing two adjacent segments are further aligned, thereby avoiding the angle error generated during the splicing process of the three-dimensional images of different segments after reconstruction, and further ensuring the accuracy of the final reconstructed image.
[0068] Furthermore, the step of stitching all corrected target three-dimensional images to obtain a reconstructed image includes:
[0069] Traversing the segments, when traversing to the target segment, obtaining the corrected target three-dimensional image corresponding to the target segment and the position (x0, y0, z0) of the historical comparison area of the previous target segment; searching for the current comparison area with the highest similarity in the target tomographic image of the corrected target three-dimensional image according to the content of the historical comparison area, and recording the position (x1, y1, z1) of the current comparison area; calculating the offset value Δd=(x0, y0, z0)-(x1, y1, z1) of the current comparison area compared to the historical comparison area; and translating the corrected target three-dimensional image according to the offset value;
[0070] A target tomographic image in the corrected target three-dimensional image is acquired, a new historical comparison area is acquired within the overlapping range of the corrected target three-dimensional image, and the position of the historical comparison area is updated.
[0071] It can be seen from the above description that by traversing and correcting the offset of the target three-dimensional image corresponding to each segment one by one, the error is reduced and the effect of subsequent stitching is ensured.
[0072] Further, adjusting the DR device according to the window height and setting the window width to the maximum includes:
[0073] Starting exposure from the exposure starting angle of the starting point and rotating the rotation module of the DR device, while moving the DR device toward the ending point and collecting the projection image, initial shooting angle data corresponding to the projection image and the rack movement position in real time through the DR device;
[0074] When the DR device reaches the end point and the rotation module rotates to the exposure end angle, the exposure is stopped and the acquisition of the image to be processed is stopped;
[0075] The three-dimensional reconstruction according to the projection image, the calibrated rotation center coordinates and the initial shooting angle to obtain the reconstructed image comprises:
[0076] The gantry motion position, the projection image, the calibrated initial shooting angle corresponding to the projection image, and the calibrated rotation center coordinates are input into a reconstruction module for three-dimensional reconstruction to obtain a reconstructed image.
[0077] From the above description, it can be seen that another method for acquiring images is provided. By rotating the frame while moving from the starting point to the ending point, the image can be reconstructed in place at one time during reconstruction. Compared with the method of segmented reconstruction and then splicing, the splicing steps are reduced. It is only necessary to input the movement position of the frame as a parameter in the reconstruction process into the reconstruction module to complete the reconstruction at one time. The reduction in steps also reduces the types of errors that may occur. Furthermore, the frame can be set to move at a uniform speed, and the movement position of the frame can be accurately obtained according to the uniform motion speed and motion time of the frame, thereby further ensuring the accuracy of the reconstructed image.
[0078] Please refer to Figure 3-6, a DR-based large-scale three-dimensional imaging device, comprising a frame, a detector, a ray generator, a rotation module, a movable support base, a patient support device, a patient fixing device and a computer terminal; the computer terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements each step of the above-mentioned DR-based large-scale three-dimensional imaging method when executing the computer program;
[0079] The detector and the ray generator are fixed relatively to the frame and arranged relatively to the patient support device;
[0080] The patient support device comprises a support plate and a rotation drive motor, wherein the rotation drive motor is connected to the support plate, and the support plate is arranged on the movable support device;
[0081] The patient fixing device comprises a backrest plate and a binding belt, one side of the backrest plate is fixedly connected to the support plate, and one side of the binding belt is fixed to the backrest plate.
[0082] From the above description, it can be seen that the detector and the ray generator are supported by a frame and arranged relative to the patient support device, so that the rays emitted by the ray generator can be received by the detector; and a rotary drive motor is arranged on the patient support device, so that the patient support device can rotate under the drive of the rotary motor to achieve the acquisition of the image to be processed; and the computer terminal therein can control the device according to the above-mentioned large-scale three-dimensional imaging method based on DR; that is, a device that can realize the above-mentioned large-scale three-dimensional imaging method based on DR is provided.
[0083] The above-mentioned DR-based large-scale three-dimensional imaging method and device of the present invention can be applied to fields that require large-scale three-dimensional imaging, such as the need to scan the patient's entire body in a hospital, and to provide a more accurate and effective imaging method for clinical examination of whole-body posture, whole-spine deformity, whole-lower-limb deformity, etc., which has important clinical significance and is explained through specific implementation methods below.
[0084] Please refer to Figure 1-2 , Embodiment 1 of the present invention is:
[0085] A large-scale three-dimensional imaging method based on DR, comprising the steps of:
[0086] S1. Obtain an image to be processed taken by a DR device, wherein the image to be processed includes a plurality of projection images at different angles, and the projection images include feature points of a marker; and obtain initial shooting angle data of each projection image, including:
[0087] S10, system reset: the control module controls the support device to return to the 0 degree point. Control method: detect the 0 degree detector signal, when the 0 degree detector signal is not detected, control the support device to rotate until the 0 degree detector signal is detected, then stop rotating; the 0 degree point is the point where the marker is closest to the detector;
[0088] Start and end point selection: Move the detector and ray generator to the starting point of the shooting range by moving the control rod, and confirm it by the starting point selection key; move the detector and ray generator to the end point of the shooting range by moving the control rod, and confirm it by the end point selection key;
[0089] Exposure condition setting: The control module sets the filter according to the patient's age and weight. For children, the filter is set to reduce the radiation damage of soft rays to children; set the high voltage value and current value;
[0090] If the patient's images to be processed are collected, it also includes information registration: input the patient's information for registration;
[0091] S11, obtaining the starting point Q, the ending point E, the maximum single-segment range Z that can be reconstructed by the DR device in a single shot, and the overlapping range c between two adjacent segments; the overlapping range is the minimum overlapping range required for the stitching process;
[0092] S12, obtaining the total height H=Z+EQ of the shooting range according to the starting point, the end point and the maximum single-segment range;
[0093] S13, obtaining the total number N of the segments and the moving distance d of each segment according to the total height of the shooting range and the minimum overlapping range;
[0094] N = ceil (H / (Zc)); where ceil means rounding up to the nearest integer;
[0095] d = (HZ) / (N-1);
[0096] S14, according to the maximum single-segment range and the moving distance, the actual overlapping range is c'=Zd;
[0097] The ideal state is to minimize motion errors and ensure that as little radiation as possible is performed outside the overlap range required for the splicing process;
[0098] S15, calculating the window height according to the actual overlapping range;
[0099] If the overlap range is too large, the patient will receive too much useless radiation, so the height of the beam optic window should be reduced to block unnecessary radiation. The window height at the rotation center is set to h = Z-c' + c, the actual imaging range of a single segment is Z' = h, and the window width is the largest to obtain the largest horizontal area.
[0100] Because X-rays are cone beams, under the premise that the beam opening remains unchanged, the farther away from the X-ray source point, the larger the irradiation range (window) of the light. Here, the window height refers to the window height calculated at the rotation center position, that is, Figure 3 Height of middle MN;
[0101] S16, adjusting the DR device according to the window height, and setting the window width to the maximum; the window height is calculated along the direction of the line connecting the starting point and the end point;
[0102] S17, obtaining an exposure start angle and an exposure end angle, and completing the collection of the to-be-processed image of each segment according to the start point, the exposure start angle, the exposure end angle, the moving distance and the end point;
[0103] S2, calibrating the rotation center coordinates and the initial shooting angle according to the marker feature points so that the feature angles of the marker feature points are consistent;
[0104] Refer to the attached Figure 2 It can be seen that due to the equipment setting, if the detector center point O, the ray source point S and the rotation center C are not on the same horizontal line, the projection PC of the rotation center will have an error with the detector center O, that is, the measured rotation angle θ will have an error with the actual rotation angle. The angle calibration steps include:
[0105] S201, obtaining the detector center point O, the ray source point S and the initial shooting angle data θ of the i-th projection image of the DR device i
[0106] S202, calculating a first distance SID between the center point of the detector and the ray source point;
[0107] S203, taking the plane where the detector is located as the x-axis, establishing a y-axis parallel to the straight line where the ray source point and the center point of the detector are located, and establishing a two-dimensional rectangular coordinate system; obtaining the projection position (px) of the feature point of the marker in the projection image on the plane where the detector is located i , 0);
[0108] In an optional embodiment, since the marker is an object with obvious features during the ray scanning process, it has an obvious edge signal. The position (px, py) of the marker in the projection image can be obtained by edge extraction. According to the established coordinate system, with the plane where the detector is located as the x-axis, py=0, and for each frame of the image, that is, the projection image obtained by shooting, (px ij , 0);
[0109] S204, get px i The maximum projection position (px) of the first projection image with the largest value A , 0), calculate the corresponding first measurement angle data θ according to the maximum projection position A =actan(SID / px A ), obtaining first initial shooting angle data of the first projection image, and obtaining a first difference dθ between the first measurement angle data and the first initial shooting angle data A ;
[0110] S205, get px i The minimum projection position (px) of the second projection image with the smallest value B , 0), calculate the corresponding second measurement angle data θ according to the minimum projection position B =actan(SID / px B ), obtaining the second initial shooting angle data of the second projection image, and obtaining the second difference dθ between the second measurement angle data and the second initial shooting angle data B ;
[0111] Among them, the maximum projection position and the minimum projection position refer to the positions of the two projection points PA and PB that are farthest from the detector center O;
[0112] S206, calculating the third difference between the x coordinates of two adjacent projection images, and obtaining the difference projection position (px) where the third difference is the largest D , 0) and the corresponding third projection image, and calculating the corresponding third measurement angle data θ according to the difference projection position D =actan(SID / px D ), obtaining the third initial shooting angle data of the corresponding third projection image, and obtaining a third difference dθ between the third measurement angle data and the third initial shooting angle data D ;
[0113] S207, obtain an average angle deviation dθ=(dθ according to the first difference, the second difference and the third difference. A +dθ B +dθ D) / 3;
[0114] S208, correcting each of the initial shooting angle data θ according to the average angle deviation i =θ i +dθ;
[0115] In an optional implementation, it also includes:
[0116] S209, construct the maximum projection position (px A , 0) corresponds to the first origin coordinate A of the first expression x A = r*cos(θ A )+x C ,y A =r*sin(θ A )+y C ;
[0117] Construct the minimum projection position (px) B ,0) corresponds to the second origin coordinate B of the second expression x B = r*cos(θ B )+x C ,y B =r*sin(θ B )+y C ;
[0118] Construct a third expression x of the third origin coordinate D corresponding to the difference projection position (pxD, 0) D = r*cos(θ D )+x C ,y D =r*sin(θ D )+y C ;
[0119] Get the projection mapping formula px*(SID-y)=x*SID;
[0120] Wherein, px represents the x-axis coordinate after projection, (x, y) represents the origin coordinate before projection, and the origin includes the first origin, the second origin and the third origin;
[0121] S210, obtain the rotation center coordinates (x C ,y C ) and the radius of rotation r;
[0122] Reference Figure 2It can be seen that the original marker feature points A and B corresponding to the maximum projection position PA and PB from the center of the detector are the tangent points on the marker motion trajectory, so it can be determined that ∠PA is the same as ∠ACS. Therefore, by calculating ∠PA, the size of the rotation angle θ, that is, the actual rotation angle, can be obtained. At the same time, because the starting position of the angle calculation is set to be parallel to the line of SO, and the y-axis is also parallel to the line of SO, and it can be known that when the rotation stops after one circle to the initial position, the speed of the point D farthest from the initial position is the fastest, so the point D is confirmed by confirming the maximum speed, and the rotation angle corresponding to the point D can be obtained by calculating ∠OSPC. In this way, three points are determined, and thus the rotation center is determined;
[0123] For example, if the marker is set to be a metal wire or small metal balls evenly distributed from top to bottom, then after three-dimensional reconstruction based on the calibrated initial shooting angle data and the rotation center, the marker feature points are also located on a straight line in the reconstructed image; the marker feature points are used as reference points for angle calibration, so that other points on the projected image that rotate with the marker feature points can determine the corresponding positions in three-dimensional space. In an optional embodiment, the projected images can be rotated back to the 0-degree position at the initial shooting angle during the reconstruction process;
[0124] S3, performing three-dimensional reconstruction according to the projection image, the calibrated rotation center coordinates and the initial shooting angle to obtain a reconstructed image, including:
[0125] The projection image, the calibrated initial shooting angle corresponding to the projection image, and the calibrated rotation center are input into a reconstruction module for three-dimensional reconstruction to obtain a reconstructed image.
[0126] Embodiment 2 of the present invention is:
[0127] A large-scale three-dimensional imaging method based on DR is different from the first embodiment in that S17 includes:
[0128] S171, starting exposure from the exposure starting angle of the starting point and rotating the rotation module of the DR device, and collecting a projection image in real time through the DR device;
[0129] In an optional embodiment, the rotation module of the DR device is rotated at a constant speed;
[0130] S172, when the rotation module of the DR device rotates to the exposure end angle, stop exposure and stop collecting the image to be processed, and complete the collection of the image to be processed in the current segment;
[0131] S173, moving the rack of the DR device toward the end point by the moving distance as a new starting point, and continuing to collect the next segment of images to be processed until reaching the end point;
[0132] During the movement, you can stop the rotation or just stop the acquisition of the image to be processed. If you do not stop the rotation, there is no need to keep turning on and off the rotation module. When stopping the rotation, you can stop when it rotates to the 0 degree position. Then, when acquiring the next segment of the image to be processed, there is no need to calibrate at 0 degrees. You can move to the corresponding position according to the starting angle to start acquisition.
[0133] Among them, all the images to be processed in each section represent images acquired within the same height range, and the images to be processed include multiple projection images acquired during the process of the DR device rotating from the exposure start angle to the exposure end angle within the height range;
[0134] In an optional implementation, the method further includes preprocessing the image to be processed: performing preliminary processing such as bad pixel correction, noise reduction, and brightness conversion on the collected image to be processed; bad pixel correction is to fill the bad pixel according to the average value or interpolation of normal pixels around the bad pixel; noise reduction can use common noise reduction methods, such as Gaussian filter, mean filter, median filter, etc.; brightness conversion is to convert the image brightness to a relationship proportional to the attenuation rate, and the conversion relationship is I'=log(I0 / I), where I0 represents an image taken in advance without a patient, I represents an image taken with a patient, i.e., the image to be processed, and I' is the converted image;
[0135] S3, performing three-dimensional reconstruction according to the projection image, the calibrated rotation center coordinates and the initial shooting angle to obtain a reconstructed image includes:
[0136] S31, performing three-dimensional reconstruction according to the projection image in each segment, the calibrated rotation center coordinates and the initial shooting angle to obtain a three-dimensional image;
[0137] The reconstruction algorithm can be an analytical algorithm based on filtered back projection or an iterative algorithm based on algebraic equations; the reconstruction algorithm reconstructs the three-dimensional image of the effective exposure range according to the size of the beam limiter and removes the part blocked by the beam limiter;
[0138] S32, traversing the three-dimensional image corresponding to the segment, when traversing to the target three-dimensional image, obtaining the intermediate tomographic image in the target three-dimensional image, obtaining the marker feature points in the intermediate tomographic image, calculating the current correction angle of the line connecting the marker feature point and the rotation center relative to the straight line connecting the ray source point and the center point of the detector, and comparing it with the historical correction angle of the previous three-dimensional image, if they are inconsistent, rotating the three-dimensional image so that the current correction angle is consistent with the historical correction angle; and obtaining the corrected target three-dimensional image;
[0139] A tomographic image is a horizontal slice image in a 3D reconstructed image, which is equivalent to the information seen by making a horizontal cut in the image; an intermediate tomographic image is a tomographic image at the middle height of a reconstructed 3D image;
[0140] S33, stitching all corrected target three-dimensional images to obtain a reconstructed image, including:
[0141] S331, traversing the segments, when traversing to the target segment, obtaining the corrected target three-dimensional image corresponding to the target segment and the position (x0, y0, z0) of the historical comparison area M0 of the previous target segment;
[0142] S332, searching for a current comparison region M1 having the highest similarity in the target tomographic image of the corrected target three-dimensional image according to the content of the historical comparison region, and recording the position (x1, y1, z1) of the current comparison region;
[0143] In an optional implementation, the similarity calculation method is: similarity R = ∑(M1(u, v, k) - M0(u, v, k))2, where (u, v, k) represents the pixel coordinate value in the comparison area (including the historical comparison area and the current comparison area); M1(u, v, k) represents the gray value at the point (u, v, k);
[0144] In an optional implementation, all target tomographic images of the corrected target three-dimensional image are obtained, and within the overlapping range corresponding to the target tomographic image and the historical comparison area, the current comparison area M1 having the greatest similarity to M0 is retrieved layer by layer starting from the first layer of tomographic image, and the position of the current comparison area is recorded;
[0145] S33, calculating an offset value Δd=(x0, y0, z0)-(x1, y1, z1) between the current comparison area and the historical comparison area; and translating the target three-dimensional image according to the offset value;
[0146] Specifically, Δx=x0-x1, Δy=y0-y1, Δz=z0-z1 are obtained, and the corrected target three-dimensional image is moved from the x, y and z axes respectively according to the calculation results; the establishment method of the coordinate axis is not limited here, and the position of each feature point in the three-dimensional image can be calibrated; wherein, the translation of the three-dimensional image is to move the grayscale value of the coordinate pixel in the current target three-dimensional image to the pixel of the target coordinate according to the offset value;
[0147] The range of the z coordinate of the overlapping area is z∈(Z-Δz, Z); where Z is the maximum single-segment range that the DR device can reconstruct in a single shot; since the offset value has been corrected, the corrected coordinates are accurate values; the offset value is used here to calculate the z coordinate range of the overlapping area;
[0148] S34, obtaining a target tomogram in the corrected target three-dimensional image, obtaining a new historical comparison area within the overlapping range of the target tomogram, and updating the position of the historical comparison area before continuing to S31;
[0149] That is, for the segmented acquisition method, after the angle calibration of the projection image, the three-dimensional image of each segment is reconstructed, and the three-dimensional image can be directly spliced, that is, S31 and S33 are executed. If the accuracy is to be further improved, S32 can be added to further align the possible angle deviation between two adjacent segments;
[0150] The overlapping range in S3 can be a maximum overlapping range or a minimum overlapping range, which can be selected according to specific operation needs. The maximum overlapping range can avoid omissions, and the minimum overlapping range can speed up the calculation efficiency; the minimum overlapping range cmin=Zde; the maximum overlapping range cmax=Z-d+e; where d is the distance of the frame movement when obtaining the two adjacent segments of the image to be processed, and e is the motion error of the frame;
[0151] After the calibrated target 3D image is obtained by 3D reconstruction, the marker is a point on the horizontal slice. The angle between the line connecting the point and the rotation center and the y-axis, or the direction of the marker, is different in different data segments. The directions need to be adjusted to be consistent before stitching can be performed. Specifically, the same point will be imaged in the overlapping area of two adjacent segments. If the angles are different, the same point in the two segments will not coincide after stitching. Therefore, the angles need to be adjusted to be the same so that the points coincide before stitching is completed.
[0152] S33 also includes:
[0153] Weighted fusion is performed on the overlapping range; specifically, weighted fusion is performed on the tomographic images that have been calibrated to the same position (M0 and M1) in two adjacent segments, so that the data between the two segments transitions smoothly;
[0154] I=(1-w)*I0(x,y,z)+w*I1(x,y,z);
[0155] Where I represents the fusion result; I0 represents the adjacent first segment of data to be fused, I1 represents the adjacent second segment of data to be fused, z∈(Zd, Z), weight w=(z-Z+d) / d, z represents the vertical coordinate in the overlapping area; that is, the closer the data in the first segment is to the second segment, the higher the weight is. In the process of stitching, the overlapping range is weightedly fused, so that the overlapping range can take into account the features of the two target images to be processed, thereby further improving the stitching effect.
[0156] Embodiment 3 of the present invention is:
[0157] A large-scale three-dimensional imaging method based on DR, which differs from the first embodiment or the second embodiment in that the method includes the following steps after S16:
[0158] S171, starting exposure from the exposure starting angle of the starting point and rotating the rotation module of the DR device, while moving the DR device toward the ending point and collecting the projection image, initial shooting angle data corresponding to the projection image, and the rack movement position in real time through the DR device;
[0159] In an optional embodiment, the frame is moved by rotating and moving at a constant speed;
[0160] S172, when the DR device reaches the end point and the rotation module rotates to the exposure end angle, stop exposure and stop collecting the image to be processed;
[0161] S3 includes: inputting the gantry motion position, the projection image, the calibrated initial shooting angle corresponding to the projection image, and the calibrated rotation center coordinates into a reconstruction module for three-dimensional reconstruction to obtain a reconstructed image;
[0162] For the moving and rotating method, when the rack moves at a constant speed, the rack position can be accurately obtained based on the speed and time. The two-dimensional image + corrected rotation center + corrected angle data + precise rack position are directly input into the reconstruction module for three-dimensional reconstruction to ensure the accuracy of reconstruction.
[0163] Please refer to Figure 3-6 , Embodiment 4 of the present invention is:
[0164] A DR-based large-scale three-dimensional imaging device comprises a frame, a detector, a ray generator, a movable support base, a patient support device, a patient fixing device and a computer terminal; the computer terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements each step of a DR-based large-scale three-dimensional imaging method in Embodiment 1 when executing the computer program;
[0165] The detector is fixed on the frame relative to the ray generator and is arranged relative to the patient support device; and in an optional embodiment, the detector is closer to the patient support device than the ray generator;
[0166] Please refer to Figure 3In an optional embodiment, the rack is a double-column structure, the detector and the ray generator are respectively supported by two columns vertically fixed to the ground, and the detector and the ray generator can move synchronously up and down along the columns to obtain different segments of the image to be processed. The rotation module is arranged between the detector and the ray generator and is close to the detector;
[0167] Please refer to Figure 4 In an optional embodiment, the rack includes a U-arm and a column, one end of the U-arm is movably connected to the column fixed to the ground and is provided with a ray generator, and the other end of the U-arm is provided with a detector. During the movement, the U-arm moves up and down relative to the column to obtain different segments of the image to be processed;
[0168] Please refer to Figure 5 In an optional embodiment, the rack is a double-arm structure; the detector and the ray generator are fixed on two arms respectively, and the arms use a telescopic barrel structure, and the detector and the ray generator are controlled to move upward or downward synchronously by telescoping, and the rotating module is placed between the detector and the ray generator and close to the detector; the arms can be fixed on the ceiling of the room where the equipment is arranged, for example, a track that cooperates with the arms can be set on the ceiling, so that it can be more flexibly adjusted according to the position of the object to be collected and the part to be collected;
[0169] Please refer to Figure 6 In an optional embodiment, the rack is a structure in which a hanging arm and a column cooperate, a detector can be arranged on the column, and a ray generator can be arranged on the hanging arm; or a detector can be arranged on the hanging arm, and a ray generator can be arranged on the column, and the rotating module can be arranged between the detector and the ray generator;
[0170] In an optional embodiment, the detector and the ray generator are an X-ray detector and an X-ray generator, and other rays that can acquire a projection image may also be used according to circumstances;
[0171] The ray generator faces the detector and is at a certain distance from the detector. The control module can control the ray generator of the rack to move up or down synchronously with the detector to a specified height position, so that the system can perform exposure and acquisition at different heights. Due to the limited format of the detector, only images of a certain local tissue of the patient can be obtained when shooting at a fixed position, and the imaging range is limited. By moving the detector and ray generator up and down to shoot, images at different positions can be stitched together to obtain a larger longitudinal imaging range. For example, the patient's whole body can be divided into multiple sections for shooting, and then the multiple sections of the image can be stitched together through a stitching algorithm to obtain a full-body image.
[0172] The rotation module is used to support and fix the patient and drive the patient to rotate, so that the system can shoot the patient at different angles for 3D reconstruction. The rotation module includes a movable support base, a patient support device, a patient fixation device, an angle measurement and synchronization device, a geometric correction device, and other devices;
[0173] The patient support device includes a support plate and a rotation drive motor, the rotation drive motor is connected to the support plate, and the support plate is arranged on the movable support device; the patient stands on the support plate, the center of the support plate overlaps with the center of the rotation axis, and the support plate is driven to rotate by the drive motor, thereby driving the patient to rotate. The drive motor can rotate at a constant speed, and the start, stop and rotation speed of the motor can be controlled by the control module;
[0174] The movable support base can be moved flexibly to meet different shooting needs. Four universal wheels are installed on the bottom of the movable support base, and the universal wheels are locked to prevent displacement when fixed; when performing three-dimensional scanning, move the rotation module as a whole between the detector and the ray generator, and the detector center, rotation center, and ray center should be aligned in a straight line as much as possible. To reduce the magnification effect, the rotation module is placed close to the detector to obtain a larger lateral imaging range. When performing two-dimensional shooting, the rotation module can be removed to achieve conventional two-dimensional DR photography. To ensure the consistency of each position, a positioning device is installed on the ground to ensure that it can return to the same position after each move;
[0175] The patient fixing device comprises a backboard and a strap, one side of the backboard is fixedly connected to the support board, and one side of the strap is fixed to the backboard; during the rotation process, the patient leans against the bed board, and the strap is used to tie the patient to the bed board to ensure that the patient's body remains motionless during the movement process;
[0176] It also includes a high voltage and ray generating module, which is composed of a high voltage generator, a ray generator, and a beam limiter. The high voltage generator is used to generate high voltage electricity, which is loaded into the ray generator to generate X-rays. The generation of X-rays can be started or stopped by the control module. The beam limiter is mainly composed of a beam limiting window and a filter. The beam window can limit the generated X-rays within a certain window range to prevent the X-ray radiation from spreading to the surrounding area. At the same time, the size of the ray window range can be controlled by the control module to achieve irradiation imaging of different formats. The filter is used to filter out soft rays that cannot pass through the human body and reduce unnecessary radiation. There are multiple thicknesses of filters to choose from. The filter of different thicknesses can be switched by the control module. The filtered materials include but are not limited to copper, aluminum and other metal materials;
[0177] The data acquisition and transmission module includes a detector and a transmission module. The detector is used to collect X-ray signals and convert them into image data. The detector with dynamic functions can quickly collect image data of the patient or object's movement process in real time, and the detector can be controlled by the control module to start and stop collection. The transmission module transmits the image data from the detector to the data storage and management module in real time through a high-bandwidth network card and based on the protocol for storage. The transmission module divides the data into multiple numbered data packets by row and transmits them based on the UDP protocol. Since the UDP protocol may have data loss, when a numbered data packet is missing, it is judged as packet loss, and the lost data packet is interpolated and repaired using adjacent data packets;
[0178] The angle measurement and synchronization device is used to measure the rotation angle at each image acquisition moment and feed it back to the image processing module for further three-dimensional reconstruction, including an angle synchronization device and an angle measurement device. The angle synchronization device is used to determine the rotation 0 degree position and synchronously perform angle measurement at each image acquisition moment so that the angle data corresponds to the image one by one, including a 0 degree detector and an angle measurement trigger. The 0 degree detector is used to generate a signal when the support device rotates to 0 degrees to determine whether the current position is 0 degrees. The 0 degree position is the position when the backrest plane is parallel to the detector plane and closest to the detector, that is, the position when the patient leans against the backrest and faces the ray generator. The angle measurement trigger generates a signal at the image acquisition moment to notify the angle measurement device to measure the angle. In the pulse exposure mode, it is triggered by the rising edge of the high-voltage pulse signal, and in the continuous exposure mode, it is triggered by the timer according to the image acquisition interval. The angle measurement device measures the angle of the current position relative to the 0 point position when the angle measurement trigger signal occurs. It can be calculated by the rotation speed and the rotation time relative to the 0 degree position, or it can be realized by an angle measuring instrument. The types of angle measuring instruments include but are not limited to potentiometers, grating rulers, spiral meters, etc.
[0179] The correction device is used to correct the errors of the rotation center and angle. A marker with a certain attenuation and obvious features for easy identification is placed on the back of the bed board and evenly distributed up and down. The marker has obvious features after x-ray imaging. The marker is then detected by the algorithm of the geometric correction module and the position of the rotation center and the rotation radius are calculated based on its motion trajectory, and the angle error is corrected. More accurate three-dimensional information can be obtained for three-dimensional reconstruction. The marker includes, but is not limited to, high-density objects such as metal wires placed up and down within the imaging range, or metal balls placed evenly up and down. The marker can also be placed on a long strip support that is independent of the bed board and fixed to the turntable;
[0180] The computer control system is used to implement each step in the first embodiment, including a user interaction module, a control module, a geometric correction module, an image processing module, and a data storage and management module.
[0181] The user interaction module is used for the user operation module, the information input module and the system status display module. The user operation module includes a start switch, a rack motion control lever, a shooting start point selection key, and an imaging end point selection key. The start switch is used to start and stop data acquisition, which can be achieved by a foot switch, a hand switch or a button. The motion control lever is used to control the up and down movement of the rack. The user can use the control lever to move the detector and the ray generator to the position where the shooting is required. The imaging start point selection key is used to select the starting point of large-scale imaging. The user controls the detector and the ray generator to move to the starting point of shooting and presses the starting point selection key. At this time, the position of the detector and the ray generator is selected as the starting point of shooting. The imaging end point selection key is used to select the end point of large-scale imaging. The user controls the detector and the ray generator to move to the end point of shooting and presses the starting point selection key. At this time, the position of the detector and the ray generator is selected as the end point of shooting. The information input module is used to input information such as the patient's name, age, gender, weight, height, etc. The system status display module displays the system working status. When the user operation does not meet the requirements, relevant prompt information is displayed.
[0182] The control module includes motion control, exposure control, and acquisition control modules. The motion control controls the start, stop, and rotation speed of the patient support device through commands; controls the rack through commands to make the detector and the ray generator move upward or downward synchronously; controls the window size and filter thickness of the beam limiter through commands; and calculates the number of segments of segmented acquisition and the moving distance of each segment according to the starting and ending points of the shooting range selected by the user.
[0183] The exposure control module sends the exposure conditions set by the user to the high voltage generator and can control the start and stop of the x-ray. The exposure mode can be selected as a continuous exposure mode or a pulse exposure mode.
[0184] The acquisition control module sends a synchronization signal to the detector during exposure, so that the detector starts and stops acquiring images synchronously with the X-rays.
[0185] The geometric correction module is used to correct the system rotation center position and measurement angle after each scan, and compensate for the errors caused by inaccurate assembly and positioning of the rotation module. In this way, the rotation module can be flexibly moved to support three-dimensional scanning imaging or two-dimensional shooting, specifically including implementing the angle correction step in Example 1.
[0186] In summary, the present invention provides a large-scale three-dimensional imaging method and device based on DR, which can realize multi-angle acquisition of the image to be processed by rotating the rotation module, calibrate the initial shooting angle data and the rotation center by calibrating the marker feature points in the projection image obtained by shooting at different angles in the image to be processed, and realize three-dimensional modeling according to the projection image, the calibrated initial shooting angle data and the rotation center. In the process of angle calibration, the tangent point and the farthest distance point are obtained through geometric features, so that the rotation center is calibrated through three points to realize the calibration of the initial angle data obtained by measurement; at the same time, other metals and other markers with obvious characteristics under the rays are configured, and the marker feature points can be conveniently used as references for calibration in the image to be processed. After the angle calibration is completed, the segmented three-dimensional data are spliced by calculating the similarity, so as to realize the splicing of three-dimensional images, and finally obtain a large-scale three-dimensional image. For the projection data obtained by rotating and moving, the frame movement position is further introduced and used as a parameter input in the process of three-dimensional reconstruction, so as to obtain a large-scale three-dimensional image at one time. For the corresponding device, if it does not need to rotate and the rotating motor is not started, it can be used as an existing static DR; the device can simultaneously realize the functions of static DR, dynamic DR and three-dimensional DR, and at the same time solves the problem that the current three-dimensional DR can only perform local three-dimensional imaging in a small range. It can scan the whole body and reconstruct a three-dimensional image when the patient is standing.
[0187] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A large-scale three-dimensional imaging method based on DR, characterized in that: Includes steps: Acquire an image to be processed taken by a DR device, wherein the image to be processed includes a plurality of projection images at different angles, and the projection images include feature points of a marker; and acquire initial shooting angle data of each projection image; Calibrate the rotation center coordinates and the initial shooting angle data according to the marker feature points so that the feature angles of the marker feature points are consistent; A three-dimensional reconstruction is performed according to the projection image, the calibrated rotation center coordinates and the initial shooting angle data to obtain a reconstructed image.
2. The method for large-scale DR-based three-dimensional imaging according to claim 1, characterized in that: The obtaining of the to-be-processed image captured by the DR device comprises: Obtaining the starting point and the ending point of the three-dimensional reconstruction, the maximum single-segment range that can be photographed and reconstructed by a single segment of the DR device, and the overlapping range between two adjacent segments; Obtaining the total height of the shooting range according to the starting point, the ending point and the maximum single-segment range; Obtaining the total number of segments and the moving distance of each segment according to the total height of the shooting range and the overlapping range; Obtaining an actual overlapping range according to the maximum single-segment range and the moving distance; Calculate the window height according to the actual overlapping range; Adjusting the DR device according to the window height and setting the window width to the maximum; the window height is calculated along the direction of the line connecting the starting point and the end point; The exposure start angle and the exposure end angle are obtained, and the image collection to be processed of each segment is completed according to the start point, the exposure start angle, the exposure end angle, the moving distance and the end point.
3. The method for large-scale DR-based three-dimensional imaging according to claim 2, characterized in that: The step of acquiring the exposure start angle and the exposure end angle, and completing the acquisition of the to-be-processed image of each segment according to the start point, the exposure start angle, the exposure end angle, the moving distance, and the end point includes: Starting exposure from the exposure starting angle of the starting point and rotating the rotation module of the DR device, and collecting a projection image in real time through the DR device; When the rotation module of the DR device rotates to the exposure end angle, the exposure is stopped and the acquisition of the image to be processed is stopped, and the acquisition of the image to be processed in the current segment is completed; The frame of the DR device is moved toward the end point by the moving distance as a new starting point, and the image acquisition of the next segment to be processed is continued until the end point is reached.
4. The method for large-scale DR-based three-dimensional imaging according to claim 2, characterized in that: The step of calibrating the rotation center coordinates and the initial shooting angle data according to the marker feature points includes: Obtain the detector center point O, the X-ray source point S and the initial shooting angle data θ of the i-th projection image of the DR device i ; Calculating a first distance SID between the center point of the detector and the X-ray source point; The plane where the detector is located is taken as the x-axis, and the y-axis is established parallel to the straight line where the ray source point and the center point of the detector are connected, and a two-dimensional rectangular coordinate system is established; the projection position (px) of the feature point of the marker in the projection image on the plane where the detector is located is obtained. i , 0); Get px i The maximum projection position (px) of the first projection image with the largest value A , 0), calculate the corresponding first measurement angle data θ according to the maximum projection position A =actan(SID / px A ), obtaining first initial shooting angle data of the first projection image, and obtaining a first difference dθ between the first measurement angle data and the first initial shooting angle data A ; Get px i The minimum projection position (px) of the second projection image with the smallest value B , 0), calculate the corresponding second measurement angle data θ according to the minimum projection position B =actan(SID / px B ), obtaining the second initial shooting angle data of the second projection image, and obtaining the second difference dθ between the second measurement angle data and the second initial shooting angle data B ; Calculate the third difference of the x coordinates of two adjacent projection images, and obtain the difference projection position (px) where the third difference is the largest. D , 0) and the corresponding third projection image, and calculating the corresponding third measurement angle data θ according to the difference projection position D =actan(SID / px D ), obtaining the third initial shooting angle data of the corresponding third projection image, and obtaining a third difference dθ between the third measurement angle data and the third initial shooting angle data D ; Obtaining an average angle deviation dθ according to the first difference, the second difference and the third difference; Correct each of the initial shooting angle data θ according to the average angle deviation i .
5. The method for large-scale DR-based three-dimensional imaging according to claim 4, characterized in that: The three-dimensional reconstruction according to the projection image, the calibrated rotation center coordinates and the initial shooting angle to obtain the reconstructed image comprises: The projection image, the calibrated initial shooting angle corresponding to the projection image, and the calibrated rotation center are input into a reconstruction module for three-dimensional reconstruction to obtain a reconstructed image.
6. The method for large-scale DR-based three-dimensional imaging according to claim 4, characterized in that: The calibrating the rotation center coordinates and the initial shooting angle data according to the marker feature points also includes: Construct the maximum projection position (px) A ,0) corresponds to the first origin A coordinates x A = r*cos(θ A )+x C ,y A =r*sin(θ A )+y C ; Construct the minimum projection position (px) B ,0) corresponds to the second origin B coordinates x B = r*cos(θ B )+x C ,y B =r*sin(θ B )+y C ; Construct the difference projection position (px D ,0) corresponds to the third origin D coordinates of the third expression x D = r*cos(θ D )+x C ,y D =r*sin(θ D )+y C ; Get the projection mapping formula px*(SID-y)=x*SID; Wherein, px represents the x-axis coordinate after projection, (x, y) represents the origin coordinate before projection, and the origin includes the first origin, the second origin and the third origin; The rotation center coordinates (x C ,y C ) and the radius of rotation r.
7. The method for large-scale DR-based three-dimensional imaging according to claim 3, characterized in that: The three-dimensional reconstruction according to the projection image, the calibrated rotation center coordinates and the initial shooting angle to obtain the reconstructed image comprises: Performing three-dimensional reconstruction according to the projection image in each segment, the calibrated rotation center coordinates and the initial shooting angle to obtain a three-dimensional image; Traversing the three-dimensional image corresponding to the segment, when traversing to the target three-dimensional image, obtaining the intermediate tomographic image in the target three-dimensional image, obtaining the marker feature points in the intermediate tomographic image, calculating the current correction angle of the line connecting the marker feature point and the rotation center relative to the straight line connecting the ray source point and the center point of the detector, and comparing it with the historical correction angle of the previous three-dimensional image, if they are inconsistent, rotating the three-dimensional image so that the current correction angle is consistent with the historical correction angle; and obtaining the corrected target three-dimensional image; All corrected target three-dimensional images are stitched together to obtain a reconstructed image.
8. The method for large-scale DR-based three-dimensional imaging according to claim 7, characterized in that: The step of stitching all corrected target three-dimensional images to obtain a reconstructed image comprises: Traversing the segments, when traversing to the target segment, obtaining the corrected target three-dimensional image corresponding to the target segment and the position (x0, y0, z0) of the historical comparison area of the previous target segment; searching for the current comparison area with the highest similarity in the target tomographic image of the corrected target three-dimensional image according to the content of the historical comparison area, and recording the position (x1, y1, z1) of the current comparison area; calculating the offset value Δd=(x0, y0, z0)-(x1, y1, z1) of the current comparison area compared to the historical comparison area; and translating the corrected target three-dimensional image according to the offset value; A target tomographic image in the corrected target three-dimensional image is acquired, a new historical comparison area is acquired within the overlapping range of the corrected target three-dimensional image, and the position of the historical comparison area is updated.
9. The method for large-scale DR-based three-dimensional imaging according to claim 2, characterized in that: The step of adjusting the DR device according to the window height and setting the window width to the maximum includes: Starting exposure from the exposure starting angle of the starting point and rotating the rotation module of the DR device, while moving the DR device toward the ending point and collecting the projection image, initial shooting angle data corresponding to the projection image and the rack movement position in real time through the DR device; When the DR device reaches the end point and the rotation module rotates to the exposure end angle, the exposure is stopped and the acquisition of the image to be processed is stopped; The three-dimensional reconstruction according to the projection image, the calibrated rotation center coordinates and the initial shooting angle to obtain the reconstructed image comprises: The gantry motion position, the projection image, the calibrated initial shooting angle corresponding to the projection image, and the calibrated rotation center coordinates are input into a reconstruction module for three-dimensional reconstruction to obtain a reconstructed image.
10. A large-scale three-dimensional imaging device based on DR, characterized in that: The device comprises a frame, a detector, a ray generator, a rotating module, a movable support base, a patient support device, a patient fixing device and a computer terminal; the computer terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements each step of a large-scale three-dimensional imaging method based on DR according to any one of claims 1 to 9 when executing the computer program; The detector and the ray generator are fixed relatively to the frame and arranged relatively to the patient support device; The patient support device comprises a support plate and a rotation drive motor, wherein the rotation drive motor is connected to the support plate, and the support plate is arranged on the movable support device; The patient fixing device comprises a backrest plate and a binding belt, one side of the backrest plate is fixedly connected to the support plate, and one side of the binding belt is fixed to the backrest plate.
