Method, device, equipment and medium for detecting installation accuracy of detector mounting rail

By establishing a coordinate system on the CT detector mounting rail and calculating the coordinates of the projected centroid, the problem of CT detector mounting rail accuracy detection was solved, thus improving CT imaging quality and system stability.

CN120890372BActive Publication Date: 2026-01-09SAINUO WEISHENG SCI & TECH BEIJING
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511407878.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2026-01-09
Estimated Expiration
2045-09-29

AI Technical Summary

Technical Problem

The installation accuracy of CT detector mounting rails is difficult to measure precisely, which affects CT imaging quality and system stability.

Method used

By establishing first and second coordinate systems, and using an X-ray device and a flat panel detector, the theoretical and actual projection centroid coordinates of the through hole in each coordinate system are determined. Combined with the transformation relationship matrix, the installation accuracy of the detector mounting rail is calculated.

Benefits of technology

It improves CT image quality and system stability, ensures precise installation of the detector mounting rail, and enhances the clinical diagnostic reliability of CT equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120890372B_ABST
    Figure CN120890372B_ABST
Patent Text Reader

Abstract

The method, device, equipment and medium for detecting installation precision of a detector mounting rail provided by the embodiments of the present disclosure comprise the following steps: determining theoretical projection barycentric coordinates of each through hole in a first coordinate system; obtaining projection data of a through hole device on a target detector mounting position of a detector mounting rail to be tested; determining actual projection barycentric coordinates of each through hole in a second coordinate system according to the projection data; determining installation precision of the target detector mounting position of the detector mounting rail to be tested according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system, the actual projection barycentric coordinates of each through hole in the second coordinate system and a conversion relationship matrix of the first coordinate system and the second coordinate system; and improving CT image quality by calculating the installation precision of the target detector mounting position of the detector mounting rail to be tested and guiding rail machining precision based on the calculated installation precision of the target detector mounting position of the detector mounting rail to be tested.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of CT scanning and related technical fields, in particular, to a method, device, equipment and medium for detecting installation precision of a detector installation guide rail. BACKGROUND

[0002] The CT detector is used for collecting X-ray signals and is responsible for data reception and conversion, and is an important component of the CT device with imaging function. Since the reconstruction of the CT image depends on the specific optical path geometry, the assembly positioning precision of the CT detector has an important influence on the imaging quality of the CT.

[0003] The angle of the installation surface and the position precision of the installation hole on the CT detector installation guide rail directly affect the angle position precision of the CT detector, and the installation precision of the CT detector installation guide rail is one of the core factors for ensuring the imaging quality, system stability and reliability of clinical diagnosis of the CT device. Due to the particularity of the arc structure of the CT detector installation guide rail, the high precision requirement and the influence of multiple factors coupling, it is urgent to develop a detection method for detecting the installation precision of the detector installation guide rail. SUMMARY

[0004] The embodiments described herein provide a method, device, equipment and medium for detecting installation precision of a detector installation guide rail, which solves the problems existing in the prior art.

[0005] In a first aspect, according to the content of the present disclosure, a method for detecting installation precision of a detector installation guide rail is provided, which is applied to a device for detecting installation precision of a detector installation guide rail, and the device comprises at least an X-ray device, a flat panel detector, a detector installation guide rail to be tested and a through-hole device, the through-hole device comprises a mounting bracket and a shielding sheet, and the through-hole device is arranged on a detector installation position of the detector installation guide rail to be tested, the shielding sheet comprises a through hole, and the method comprises the following steps:

[0006] determining the theoretical projection barycenter coordinates of each through hole in a first coordinate system;

[0007] obtaining projection data of the through-hole device on a target detector installation position of the detector installation guide rail to be tested;

[0008] determining the actual projection barycenter coordinates of each through hole in a second coordinate system according to the projection data;

[0009] determining the installation precision of the target detector installation position of the detector installation guide rail to be tested according to the theoretical projection barycenter coordinates of each through hole in the first coordinate system, the actual projection barycenter coordinates of each through hole in the second coordinate system and the conversion relationship matrix of the first coordinate system and the second coordinate system;

[0010] The first coordinate system takes the projection position of the focal point of the X-ray device on the flat panel detector as a coordinate origin, and the second coordinate system takes the upper left corner position of the flat panel detector as a coordinate origin.

[0011] In some embodiments of the present disclosure, the determination of the theoretical projection barycentric coordinates of each through hole in the first coordinate system comprises:

[0012] obtaining a first theoretical coordinate of the focal point of the X-ray device in the first coordinate system and a second theoretical coordinate of each through hole in the first coordinate system;

[0013] determining the theoretical projection barycentric coordinates of each through hole in the first coordinate system according to the first theoretical coordinate of the focal point of the X-ray device in the first coordinate system and the second theoretical coordinate of each through hole in the first coordinate system.

[0014] In some embodiments of the present disclosure, the determination of the actual projection barycentric coordinates of each through hole in the second coordinate system according to the projection data comprises:

[0015] generating a projection image according to the projection data;

[0016] determining the actual projection barycentric coordinates of each through hole in the second coordinate system according to the gray scale information of the projection image.

[0017] In some embodiments of the present disclosure, the determination of the actual projection barycentric coordinates of each through hole in the second coordinate system according to the gray scale information of the projection image comprises:

[0018] selecting target pixel points with gray scale information satisfying a preset threshold according to the gray scale information of each pixel point in the projection image;

[0019] obtaining target pixel regions with the same number of through holes as the through hole device comprises by region division on the target pixel points with the gray scale information satisfying the preset threshold;

[0020] determining the weighted values of each pixel point according to the gray scale information of each pixel point located in the same target pixel region;

[0021] determining the actual projection barycentric coordinates of the target pixel region in the second coordinate system according to the coordinate information of each pixel point located in the same target pixel region in the second coordinate system and the weighted values of each pixel point;

[0022] determining the actual projection barycentric coordinates of each through hole in the second coordinate system according to the correspondence between the target pixel region and the through hole and the actual projection barycentric coordinates of the target pixel region in the second coordinate system.

[0023] In some embodiments of the present disclosure, the installation precision of the target detector mounting position of the detector mounting rail to be tested is determined according to the theoretical projection center coordinates of each through hole in the first coordinate system, the actual projection center coordinates of each through hole in the second coordinate system, and the conversion relationship matrix of the first coordinate system and the second coordinate system, including:

[0024] The actual projection center coordinates of each through hole in the first coordinate system are determined according to the actual projection center coordinates of each through hole in the second coordinate system and the conversion relationship matrix of the first coordinate system and the second coordinate system.

[0025] The installation precision of the target detector mounting position of the detector mounting rail to be tested is determined according to the theoretical projection center coordinates of each through hole in the first coordinate system and the actual projection center coordinates of each through hole in the first coordinate system.

[0026] In some embodiments of the present disclosure, the installation precision of the target detector mounting position of the detector mounting rail to be tested is determined according to the theoretical projection center coordinates of each through hole in the first coordinate system and the actual projection center coordinates of each through hole in the first coordinate system, including:

[0027] The projection position deviation of each through hole is determined according to the theoretical projection center coordinates of each through hole in the first coordinate system and the actual projection center coordinates of each through hole in the first coordinate system.

[0028] The average deviation and the maximum deviation of the target detector mounting position are determined according to the projection position deviation of each through hole, wherein the average deviation includes an installation position average deviation, a horizontal direction average deviation, and a vertical direction average deviation.

[0029] The installation precision of the target detector mounting position of the detector mounting rail to be tested is determined according to the relationship between the installation position average deviation and the maximum deviation of the target detector mounting position and a preset deviation.

[0030] In some embodiments of the present disclosure, the installation precision of the target detector mounting position of the detector mounting rail to be tested is determined according to the relationship between the installation position average deviation and the maximum deviation of the target detector mounting position and a preset deviation, including:

[0031] When the installation position average deviation and the maximum deviation of the target detector mounting position are both less than the preset deviation, it is determined that the installation precision of the target detector mounting position of the detector mounting rail to be tested meets the preset installation precision.

[0032] When at least one of the installation position average deviation and the maximum deviation of the target detector mounting position is greater than or equal to the preset deviation, the target detector mounting position is adjusted according to the horizontal direction average deviation and the vertical direction average deviation of the target detector mounting position.

[0033] In a second aspect, according to the present disclosure, a device for detecting installation accuracy of a detector installation guide rail is provided, the device comprising at least an X-ray device, a flat panel detector, a detector installation guide rail to be tested, and a through-hole device, the through-hole device comprising a mounting bracket and a shielding sheet, the through-hole device being arranged at a detector installation position of the detector installation guide rail to be tested, the shielding sheet comprising a through hole, and further comprising:

[0034] a theoretical projection barycentric coordinate determination module configured to determine theoretical projection barycentric coordinates of each through hole in a first coordinate system;

[0035] a projection data acquisition module configured to acquire projection data of the through-hole device at a target detector installation position of the detector installation guide rail to be tested;

[0036] an actual projection barycentric coordinate determination module configured to determine actual projection barycentric coordinates of each through hole in a second coordinate system according to the projection data;

[0037] an installation accuracy determination module configured to determine installation accuracy of the target detector installation position of the detector installation guide rail to be tested according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system, the actual projection barycentric coordinates of each through hole in the second coordinate system, and a conversion relationship matrix of the first coordinate system and the second coordinate system;

[0038] wherein the first coordinate system takes a projection position of a focal point of the X-ray device on the flat panel detector as a coordinate origin, and the second coordinate system takes a top-left corner position of the flat panel detector as a coordinate origin.

[0039] In a third aspect, according to the present disclosure, a computer device is provided, comprising:

[0040] one or more processors;

[0041] a storage device configured to store one or more programs,

[0042] when the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of the first aspect.

[0043] In a fourth aspect, according to the present disclosure, a computer readable storage medium is provided, which stores a computer program, the program being executed by a processor to implement the method according to any one of the first aspect.

[0044] The method, device, equipment and medium for detecting installation precision of a detector installation guide rail provided by the embodiments of the present disclosure first determine the theoretical projection barycentric coordinates of each through hole in a first coordinate system; then acquire projection data of the through hole device on a target detector installation position of the detector installation guide rail to be tested; and determine the actual projection barycentric coordinates of each through hole in a second coordinate system according to the projection data; finally, the installation precision of the target detector installation position of the detector installation guide rail to be tested is determined according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system, the actual projection barycentric coordinates of each through hole in the second coordinate system and the conversion relationship matrix of the first coordinate system and the second coordinate system; the installation precision of each detector installation position on the detector installation guide rail to be tested is evaluated using an optical detection method, the problem that the conventional size precision measurement result is difficult to accurately reflect each detector installation position on the detector installation guide rail to be tested and then affect the CT imaging performance is solved, the installation precision of the target detector installation position of the detector installation guide rail to be tested is calculated, the guide rail machining precision is guided based on the calculated installation precision of the target detector installation position of the detector installation guide rail to be tested, and the CT image quality is improved.

[0045] The above description is only a summary of the technical solutions of the embodiments of the present application, in order to more clearly understand the technical means of the embodiments of the present application, the content of the specification can be implemented, and in order to make the above and other purposes, features and advantages of the embodiments of the present application more obvious and easy to understand, the following specific embodiments of the present application are described. BRIEF DESCRIPTION OF DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below. It should be noted that the drawings described below only relate to some embodiments of the present disclosure, but not limit the present disclosure, wherein:

[0047] Figure 1 is a flow diagram of a method for detecting installation precision of a detector installation guide rail provided by an embodiment of the present disclosure;

[0048] Figure 2A is a device for detecting installation precision of a detector installation guide rail provided by an embodiment of the present disclosure;

[0049] Figure 2B is a structure diagram of a through hole device provided by an embodiment of the present disclosure;

[0050] Figure 2C is a structure diagram of a shielding sheet provided by an embodiment of the present disclosure;

[0051] Figure 3 is a structure diagram of a device for detecting installation precision of a detector installation guide rail provided by an embodiment of the present disclosure;

[0052] Figure 4 is a structural schematic diagram of a computer device provided by an embodiment of the present disclosure.

[0053] In the drawings, reference numbers of the last two digits that are the same, correspond to elements that are the same. It is to be noted that the elements in the drawings are schematic and not drawn to scale. DETAILED DESCRIPTION

[0054] In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions of the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without any inventive effort also belong to the scope of protection of the present disclosure.

[0055] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this present subject matter belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the specification and relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein. As used herein, the statement that two or more parts or components are "connected" or "coupled" together shall mean that the parts are joined or linked together either directly or through one or more intermediate parts or components.

[0056] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase "in an embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily all directed to the same embodiment, or to a common alternative embodiment. It is expressly understood that any of the embodiments described herein can be incorporated into any other embodiment.

[0057] The term "and / or", merely describes an associated relationship between associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the three cases of existence of A, existence of A and B, and existence of B. In addition, the character " / " herein generally represents an "or" relationship between the front and rear associated objects.

[0058] In addition, in all embodiments of the present disclosure, terms such as "first" and "second" are only used to distinguish one component (or part of a component) from another component (or another part of a component).

[0059] In the description of the present application, unless otherwise specified, the meaning of "a plurality of" refers to more than two (including two), and similarly, "a plurality of groups" refers to more than two groups (including two groups).

[0060] In order for those skilled in the art to better understand the scheme of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings.

[0061] Based on the problems existing in the prior art, the present disclosure provides a method for detecting the installation accuracy of a detector mounting rail, and the method for detecting the installation accuracy of the detector mounting rail is applied to a device for detecting the installation accuracy of the detector mounting rail, which at least includes an X-ray device, a flat panel detector, a detector mounting rail to be tested, and a through-hole device. The through-hole device includes a mounting bracket and a shielding piece, and is arranged on a detector mounting position of the detector mounting rail to be tested. The shielding piece includes a through hole, Figure 1 is a flowchart of a method for detecting the installation accuracy of a detector mounting rail provided by the present disclosure, Figure 2A is a device for detecting the installation accuracy of a detector mounting rail provided by the present disclosure, Figure 2B is a structural diagram of a through-hole device provided by the present disclosure, Figure 2C is a structural diagram of a shielding piece provided by the present disclosure, in combination with Figure 1 , Figure 2A , Figure 2B and Figure 2C , the method for detecting the installation accuracy of the detector mounting rail includes:

[0062] S110, determine the theoretical projection barycentric coordinates of each through hole in the first coordinate system.

[0063] In a specific implementation, determining the theoretical projection barycentric coordinates of each through hole in the first coordinate system includes: obtaining a first theoretical coordinate of a focal point of the X-ray device in the first coordinate system and a second theoretical coordinate of each through hole in the first coordinate system; and determining the theoretical projection barycentric coordinates of each through hole in the first coordinate system according to the first theoretical coordinate of the focal point of the X-ray device in the first coordinate system and the second theoretical coordinate of each through hole in the first coordinate system.

[0064] First, a first coordinate system Pxyz is established (the first coordinate system has the projection of the X-ray device's focal point onto the plane of the flat panel detector as its origin, the plane of the flat panel detector as the XY plane, and the perpendicular line from the X-ray device's focal point to the plane of the flat panel detector as the Z-axis). Then, based on the established first coordinate system Pxyz, the second theoretical coordinates of each through-hole in the first coordinate system can be measured. The perpendicular line from the X-ray device's focal point to the plane of the flat panel detector can be calculated when constructing the first coordinate system Pxyz. Therefore, the first theoretical coordinates of the X-ray device's focal point in the first coordinate system can be determined. Finally, based on the first theoretical coordinates of the X-ray device's focal point in the first coordinate system and the second theoretical coordinates of each through-hole in the first coordinate system, the theoretical projection centroid coordinates of each through-hole in the first coordinate system are determined, thus completing the calculation of the theoretical projection centroid coordinates of each through-hole in the first coordinate system.

[0065] Specifically, firstly, the theoretical coordinates F(F) of the X-ray device focus F in the first coordinate system Pxyz are obtained. )(in The vertical distance from the X-ray device focal point to the plane of the flat panel detector is determined by the test system design drawings; the theoretical three-dimensional coordinates Hi of each through-hole on the through-hole device are also given. (i is the through-hole number, determined according to the array arrangement of the through-hole device, such as i=1 to 9 for a 3×3 array of through-holes). Then, based on the principle of X-ray "straight-line projection", construct the equation connecting the focal point F and the through-hole Hi. The equation satisfies: .

[0066] Since the projection point of the X-ray device through the through-hole is on the plane of the flat panel detector, then... Substituting =0 into the linear parametric equation, we obtain the theoretical projection centroid coordinates Ti of the through hole Hi in the first coordinate system as ( ),in, , , .

[0067] The theoretical projection centroid coordinates of all through holes are summarized to form a set of theoretical projection centroid coordinates T = {T1, T2, ..., Tn} (where n is the total number of through holes) at the target detector installation position, which serves as the benchmark for calculating the accuracy deviation of the target detector installation position.

[0068] S120. Obtain the projection data of the through-hole device on the target detector mounting position on the mounting rail of the detector under test.

[0069] After a through-hole device is installed at the target detector mounting position on the mounting rail of the detector under test, the projection data collected by the flat panel detector is obtained.

[0070] S130, determine actual projection barycentric coordinates of each through hole in the second coordinate system according to the projection data.

[0071] In a specific implementation, the determining of the actual projection barycentric coordinates of each through hole in the second coordinate system according to the projection data comprises: generating a projection image according to the projection data; and determining the actual projection barycentric coordinates of each through hole in the second coordinate system according to the gray information of the projection image.

[0072] Specifically, after the projection data is acquired, the projection data is first processed based on a back projection reconstruction algorithm to obtain a projection image, and then the projection image is processed through an image processing algorithm (including threshold segmentation, contour extraction and barycentric calculation) to obtain the actual projection barycentric coordinates of each through hole in the second coordinate system.

[0073] In a specific implementation process, the processing of the projection image through the image processing algorithm to determine the actual projection barycentric coordinates of each through hole in the second coordinate system comprises: selecting target pixel points whose gray information meets a preset threshold according to the gray information of each pixel point in the projection image; obtaining target pixel regions which are the same in number as the through holes included in the through hole device through region division on the target pixel points whose gray information meets the preset threshold; determining the weighted values of the pixel points according to the gray information of the pixel points located in the same target pixel region; determining the actual projection barycentric coordinates of the target pixel region in the second coordinate system according to the coordinate information of the pixel points located in the same target pixel region in the second coordinate system and the weighted values of the pixel points; and determining the actual projection barycentric coordinates of each through hole in the second coordinate system according to the correspondence between the target pixel region and the through hole and the actual projection barycentric coordinates of the target pixel region in the second coordinate system.

[0074] First, the projection image is denoising filtered, and then the gray information of each pixel point after the denoising filtering is acquired, the pixel points whose gray information meets a preset threshold are selected according to the gray information of each pixel point, the target pixel points whose gray information meets the preset threshold are region-divided, the weighted values of the pixel points located in the same region are determined according to the gray information of the pixel points, the position information of the pixel points located in the same region is acquired, the weighted values are used for position-weighted averaging, and the actual projection barycentric coordinates of a pixel region in the second coordinate system are obtained, and each pixel region in the second coordinate system is calculated in the same manner.

[0075] It should be noted that, in the specific implementation process, the pixel points whose gray information meets the preset threshold and are divided into the same region are the pixel points which are received by the same through hole and emit the rays from the X-ray device.

[0076] Therefore, after the actual projection barycentric coordinates of each pixel region in the second coordinate system are determined, the actual projection barycentric coordinates of each pixel region in the second coordinate system are the actual projection barycentric coordinates of the through hole corresponding to each pixel region in the second coordinate system.

[0077] S140, according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system, the actual projection barycentric coordinates of each through hole in the second coordinate system, and the conversion relationship matrix of the first coordinate system and the second coordinate system, determine the installation precision of the target detector mounting position of the detector mounting guide rail to be tested.

[0078] The first coordinate system takes the projection position of the focal point of the X-ray device on the flat panel detector as the coordinate origin, and the second coordinate system takes the upper left corner position of the flat panel detector as the coordinate origin.

[0079] In a specific implementation, according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system, the actual projection barycentric coordinates of each through hole in the second coordinate system, and the conversion relationship matrix of the first coordinate system and the second coordinate system, the installation precision of the target detector mounting position of the detector mounting guide rail to be tested is determined, including: determining the actual projection barycentric coordinates of each through hole in the first coordinate system according to the actual projection barycentric coordinates of each through hole in the second coordinate system and the conversion relationship matrix of the first coordinate system and the second coordinate system; determining the installation precision of the target detector mounting position of the detector mounting guide rail to be tested according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system and the actual projection barycentric coordinates of each through hole in the first coordinate system.

[0080] The installation precision of the target detector mounting position of the detector mounting guide rail to be tested is determined according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system and the actual projection barycentric coordinates of each through hole in the first coordinate system, including: determining the projection position deviation of each through hole according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system and the actual projection barycentric coordinates of each through hole in the first coordinate system; determining the average deviation and the maximum deviation of the target detector mounting position according to the projection position deviation of each through hole, wherein the average deviation includes the installation position average deviation, the horizontal direction average deviation and the vertical direction average deviation; determining the installation precision of the target detector mounting position of the detector mounting guide rail to be tested according to the relationship between the installation position average deviation and the maximum deviation of the target detector mounting position and the preset deviation.

[0081] When the installation position average deviation and the maximum deviation of the target detector mounting position are both less than the preset deviation, it is determined that the installation precision of the target detector mounting position of the detector mounting guide rail to be tested meets the preset installation precision.

[0082] If at least one of the average deviation and the maximum deviation of the target detector mounting position is greater than or equal to the preset deviation, the target detector mounting position is adjusted according to the average deviation in the horizontal direction and the average deviation in the vertical direction.

[0083] The relationship between the first and second coordinate systems can be determined by the installation position of the upper left corner of the flat panel detector in the first coordinate system Pxyz.

[0084] After obtaining the actual projected centroid coordinates of each through hole in the second coordinate system and the transformation relationship matrix between the first and second coordinate systems, the actual projected centroid coordinates of each through hole in the second coordinate system can be converted into the actual projected centroid coordinates in the first coordinate system. Then, the theoretical projected centroid coordinates of each through hole in the first coordinate system are compared with the actual projected centroid coordinates of each through hole in the first coordinate system to determine the installation accuracy of the target detector mounting position on the detector mounting guide rail.

[0085] In a specific implementation, for example, if the actual projected centroid coordinates of the through hole Hi in the second coordinate system are Ai, then the actual projected centroid coordinates of the through hole Hi in the first coordinate system are... for( First, based on the theoretical projection centroid coordinates of each through hole in the first coordinate system and the actual projection centroid coordinates of each through hole in the first coordinate system, the projection position deviation of each through hole is determined. The projection position deviation of through hole Hi satisfies: Then, based on the projected position deviations of all through holes, the average and maximum deviations of the target detector mounting position are determined, wherein the average deviation of the target detector mounting position satisfies: The average horizontal deviation of the target detector mounting position satisfies: The average vertical deviation of the target detector mounting position satisfies: The maximum deviation of the target detector mounting position satisfies: Then, by comparing the relationship between the average and maximum deviations of the target detector mounting position and the preset deviation, the installation accuracy of the target detector mounting position on the mounting rail of the detector to be tested can be determined.

[0086] When the average and maximum deviations of the installation position of the target detector mounting position are both less than the preset deviation, it indicates that the installation accuracy of the target detector mounting position on the mounting rail of the detector under test meets the preset installation accuracy.

[0087] When at least one of the average deviation and the maximum deviation of the target detector mounting position is greater than or equal to the preset deviation, the target detector mounting position is adjusted according to the average deviation in the horizontal direction and the average deviation in the vertical direction.

[0088] It should be noted that in the above embodiment, when the horizontal direction average deviation of the target detector mounting position is positive, it indicates that the target detector mounting position deviates to the positive direction of the x-axis, and the target detector mounting position needs to be adjusted to the negative direction of the x-axis; when the horizontal direction average deviation of the target detector mounting position is negative, it indicates that the target detector mounting position deviates to the negative direction of the x-axis, and the target detector mounting position needs to be adjusted to the positive direction of the x-axis; when the vertical direction average deviation of the target detector mounting position is positive, it indicates that the target detector mounting position deviates to the positive direction of the y-axis, and the target detector mounting position needs to be adjusted to the negative direction of the y-axis; when the vertical direction average deviation of the target detector mounting position is negative, it indicates that the target detector mounting position deviates to the negative direction of the y-axis, and the target detector mounting position needs to be adjusted to the positive direction of the y-axis.

[0089] Through the above method, the installation precision of all detector mounting positions of the to-be-tested detector mounting rail is calculated in turn, thereby laying a foundation for subsequent adjustment of all detector mounting positions of the to-be-tested detector mounting rail.

[0090] It should be noted that in the above embodiment, since the through hole device sets one detector mounting position of the to-be-tested detector mounting rail, the projection data generated by the shielding piece through hole may not cover all the flat panel detectors, and therefore the center coordinate point of the flat panel detector cannot be determined. Therefore, the actual projection barycenter coordinates of each through hole in the second coordinate system are determined according to the projection data, and then the actual projection barycenter coordinates of each through hole in the second coordinate system are converted into the actual projection barycenter coordinates in the first coordinate system, and then the installation precision of the detector mounting position on the detector mounting rail is determined by comparing with the theoretical projection barycenter coordinates.

[0091] The method for detecting the installation precision of the detector mounting rail provided in the embodiments of the present disclosure first determines the theoretical projection barycenter coordinates of each through hole in the first coordinate system; then obtains the projection data of the through hole device on the target detector mounting position of the to-be-tested detector mounting rail; and determines the actual projection barycenter coordinates of each through hole in the second coordinate system according to the projection data; finally, the installation precision of the target detector mounting position of the to-be-tested detector mounting rail is determined according to the theoretical projection barycenter coordinates of each through hole in the first coordinate system, the actual projection barycenter coordinates of each through hole in the second coordinate system, and the conversion relationship matrix of the first coordinate system and the second coordinate system; the installation precision of each detector mounting position on the to-be-tested detector mounting rail is evaluated using the optical detection method, which solves the problem that the conventional size precision measurement result is difficult to accurately reflect each detector mounting position on the to-be-tested detector mounting rail, thereby affecting the CT imaging performance; the installation precision of the target detector mounting position of the to-be-tested detector mounting rail is calculated, and the installation precision of the target detector mounting position of the to-be-tested detector mounting rail obtained by calculation is used to guide the machining precision of the rail, so as to improve the CT image quality.

[0092] On the basis of the above-mentioned embodiments, the disclosure embodiments further provide a device for detecting installation precision of a detector installation guide rail, which at least comprises an X-ray device, a flat panel detector, a detector installation guide rail to be tested, and a through-hole device, the through-hole device comprising a mounting bracket and a shielding piece, the through-hole device being arranged on a detector installation position of the detector installation guide rail to be tested, and the shielding piece comprising a through hole, Figure 3 is a structural schematic diagram of a device for detecting installation precision of a detector installation guide rail provided by the disclosure embodiments, as Figure 3 indicated, the device for detecting installation precision of a detector installation guide rail further comprises:

[0093] a theoretical projection barycentric coordinate determination module 310 for determining theoretical projection barycentric coordinates of each through hole in a first coordinate system;

[0094] a projection data acquisition module 320 for acquiring projection data of the through-hole device on a target detector installation position of the detector installation guide rail to be tested;

[0095] an actual projection barycentric coordinate determination module 330 for determining actual projection barycentric coordinates of each through hole in a second coordinate system according to the projection data;

[0096] an installation precision determination module 340 for determining installation precision of the target detector installation position of the detector installation guide rail to be tested according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system, the actual projection barycentric coordinates of each through hole in the second coordinate system, and a conversion relationship matrix of the first coordinate system and the second coordinate system;

[0097] wherein the first coordinate system takes a projection position of a focal point of the X-ray device on the flat panel detector as a coordinate origin, and the second coordinate system takes a left upper corner position of the flat panel detector as a coordinate origin.

[0098] The device for detecting installation precision of a detector mounting rail provided by the embodiments of the present disclosure first determines theoretical projection barycentric coordinates of each through hole in a first coordinate system; then obtains projection data of the through hole device on a target detector mounting position of the detector mounting rail to be tested; and determines actual projection barycentric coordinates of each through hole in a second coordinate system according to the projection data; finally, the installation precision of the target detector mounting position of the detector mounting rail to be tested is determined according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system, the actual projection barycentric coordinates of each through hole in the second coordinate system, and a conversion relationship matrix of the first coordinate system and the second coordinate system; the installation precision of each detector mounting position on the detector mounting rail to be tested is evaluated using an optical detection method, the problem that a conventional size precision measurement result is difficult to accurately reflect each detector mounting position on the detector mounting rail to be tested and further affect CT imaging performance is solved, the installation precision of the target detector mounting position of the detector mounting rail to be tested is calculated, and the installation precision of the target detector mounting position of the detector mounting rail to be tested obtained through calculation is used to guide rail machining precision, so as to improve CT image quality.

[0099] In specific embodiments, the determining of the theoretical projection barycentric coordinates of each through hole in the first coordinate system comprises:

[0100] obtaining a first theoretical coordinate of a focal point of an X-ray device in the first coordinate system and a second theoretical coordinate of each through hole in the first coordinate system;

[0101] determining the theoretical projection barycentric coordinates of each through hole in the first coordinate system according to the first theoretical coordinate of the focal point of the X-ray device in the first coordinate system and the second theoretical coordinate of each through hole in the first coordinate system.

[0102] In specific embodiments, the determining of the actual projection barycentric coordinates of each through hole in the second coordinate system according to the projection data comprises:

[0103] generating a projection image according to the projection data;

[0104] determining the actual projection barycentric coordinates of each through hole in the second coordinate system according to gray scale information of the projection image.

[0105] In specific embodiments, the determining of the actual projection barycentric coordinates of each through hole in the second coordinate system according to the gray scale information of the projection image comprises:

[0106] selecting target pixel points with gray scale information satisfying a preset threshold according to the gray scale information of each pixel point in the projection image;

[0107] obtaining target pixel regions with the same number as the through holes included in the through hole device through region division on the target pixel points with the gray scale information satisfying the preset threshold;

[0108] determining the weighted value of each pixel point according to the gray information of each pixel point located in the same target pixel region;

[0109] determining the actual projection barycentric coordinate of the target pixel region in the second coordinate system according to the coordinate information of each pixel point located in the same target pixel region in the second coordinate system and the weighted value of each pixel point;

[0110] determining the actual projection barycentric coordinate of each through hole in the second coordinate system according to the correspondence between the target pixel region and the through hole and the actual projection barycentric coordinate of the target pixel region in the second coordinate system.

[0111] In a specific embodiment, the installation precision of the target detector mounting position of the detector mounting guide rail to be tested is determined according to the theoretical projection barycentric coordinate of each through hole in the first coordinate system, the actual projection barycentric coordinate of each through hole in the second coordinate system, and the conversion relationship matrix of the first coordinate system and the second coordinate system, including:

[0112] determining the actual projection barycentric coordinate of each through hole in the first coordinate system according to the actual projection barycentric coordinate of each through hole in the second coordinate system and the conversion relationship matrix of the first coordinate system and the second coordinate system;

[0113] determining the installation precision of the target detector mounting position of the detector mounting guide rail to be tested according to the theoretical projection barycentric coordinate of each through hole in the first coordinate system and the actual projection barycentric coordinate of each through hole in the first coordinate system.

[0114] In a specific embodiment, the installation precision of the target detector mounting position of the detector mounting guide rail to be tested is determined according to the theoretical projection barycentric coordinate of each through hole in the first coordinate system and the actual projection barycentric coordinate of each through hole in the first coordinate system, including:

[0115] determining the projection position deviation of each through hole according to the theoretical projection barycentric coordinate of each through hole in the first coordinate system and the actual projection barycentric coordinate of each through hole in the first coordinate system;

[0116] determining the average deviation and the maximum deviation of the target detector mounting position according to the projection position deviation of each through hole, wherein the average deviation includes the mounting position average deviation, the horizontal direction average deviation, and the vertical direction average deviation;

[0117] determining the installation precision of the target detector mounting position of the detector mounting guide rail to be tested according to the relationship between the mounting position average deviation and the maximum deviation of the target detector mounting position and the preset deviation.

[0118] In a specific implementation, the installation precision of the target detector mounting position of the detector mounting guide rail to be tested is determined according to the relationship between the installation position average deviation and the maximum deviation of the target detector mounting position and the preset deviation, and the installation precision of the target detector mounting position of the detector mounting guide rail to be tested is determined according to the relationship between the installation position average deviation and the maximum deviation of the target detector mounting position and the preset deviation, comprising:

[0119] When the installation position average deviation and the maximum deviation of the target detector mounting position are both less than the preset deviation, it is determined that the installation precision of the target detector mounting position of the detector mounting guide rail to be tested meets the preset installation precision.

[0120] When at least one of the installation position average deviation and the maximum deviation of the target detector mounting position is greater than or equal to the preset deviation, the target detector mounting position is adjusted according to the horizontal direction average deviation and the vertical direction average deviation of the target detector mounting position.

[0121] The embodiments of the present application also provide a computer device, and the specific embodiments are described below. Figure 4 , Figure 4 The basic structure block diagram of the computer device is shown in FIG. 5.

[0122] The computer device includes a memory 510 and a processor 520 which are connected to each other through a system bus. It should be noted that only the computer device with components 510-520 is shown in the figure, but it should be understood that all the shown components are not required to be implemented, and more or fewer components can be alternatively implemented. Among them, those skilled in the art can understand that the computer device herein is a device capable of automatically performing numerical calculation and / or information processing according to pre-set or stored instructions, and the hardware thereof includes but is not limited to microprocessors, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0123] The computer device can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing devices. The computer device can interact with the user through a keyboard, a mouse, a remote controller, a touchpad or a voice control device.

[0124] The memory 510 includes at least one type of readable storage medium, including non-volatile memory or volatile memory, for example, flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. The RAM can include static RAM or dynamic RAM. In some embodiments, the memory 510 can be an internal storage unit of the computer device, for example, a hard disk or a memory of the computer device. In other embodiments, the memory 510 can also be an external storage device of the computer device, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, or a flash card, etc. equipped on the computer device. Of course, the memory 510 can include both an internal storage unit and an external storage device of the computer device. In this embodiment, the memory 510 is generally used to store an operating system and various application software installed on the computer device, for example, program codes of the above-described method, etc. In addition, the memory 510 can also be used to temporarily store various data that has been output or will be output.

[0125] The processor 520 is generally used to perform the overall operation of the computer device. In this embodiment, the memory 510 is used to store program codes or instructions, including computer operation instructions, and the processor 520 is used to execute the program codes or instructions stored in the memory 510 or process data, for example, run the program codes of the above-described method.

[0126] In this article, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus system can be divided into address bus, data bus, control bus, etc. For the convenience of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0127] Another embodiment of the present application also provides a computer readable medium, which can be a computer readable signal medium or a computer readable medium. The processor in the computer reads the computer readable program code stored in the computer readable medium, so that the processor can perform the function actions specified in each step or combination of steps in the above method; generate the device implementing the function actions specified in each block or combination of blocks in the block diagram.

[0128] The computer readable medium includes but is not limited to electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any appropriate combination of the foregoing, for storing program code or instructions, which include computer operation instructions, and processor for executing the program code or instructions of the above method stored in the memory.

[0129] The definition of memory and processor can refer to the description of the foregoing computer device embodiment, which will not be repeated here.

[0130] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiment described above is only schematic, for example, the division of modules or units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be through some interface, indirect coupling or communication connection between the units or devices, which can be electrical, mechanical or other forms.

[0131] The function units or modules in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of software function unit.

[0132] If the integrated unit is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the embodiments of the method of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0133] Unless the context clearly indicates otherwise, as used herein and in the appended claims, the singular form "a," "an," and "the" include plural references unless the context clearly dictates otherwise. Accordingly, the use of "a" or "an" herein and in the following claims is intended to be interpreted to include the plural, unless the context clearly indicates otherwise. Similarly, the words "comprise," "comprises," and "comprising" are to be interpreted inclusively rather than exclusively. Likewise, the terms "include," "including," and "includes" should be construed to be inclusive, unless otherwise indicated herein. Where the term "example" is used occurring in this document, particularly with respect to a term in a set of terms, the "example" is merely an example and is not to be construed as preferred or advantageous over other terms in the set.

[0134] Further aspects and scope of adaptation become apparent from the description provided herein. It should be appreciated that individual aspects of the present application can be implemented alone or in combination with one or more other aspects. It should also be appreciated that the description and specific examples herein are intended to be for illustrative purposes only and are not intended to limit the scope of the present application.

[0135] The above has been described in detail for several embodiments of the present disclosure, but it is obvious that those skilled in the art can make various modifications and variations to the embodiments of the present disclosure without departing from the spirit and scope of the present disclosure. The protection scope of the present disclosure is defined by the appended claims.

Claims

1. A method for detecting installation accuracy of a detector mounting rail, applied to a device for detecting installation accuracy of a detector mounting rail, the device for detecting installation accuracy of a detector mounting rail comprising at least an X-ray device, a flat panel detector, a detector mounting rail to be tested, and a through-hole device, the through-hole device comprising a mounting bracket and a shielding sheet, the through-hole device being arranged at a detector mounting position of the detector mounting rail to be tested, the shielding sheet comprising a through hole, characterized in that, The method comprises the following steps: determining the theoretical projection barycentric coordinates of each through hole in a first coordinate system; obtaining projection data of the through hole device on a target detector mounting position of the detector mounting rail to be tested; determining the actual projection barycentric coordinates of each through hole in a second coordinate system according to the projection data; determining the mounting precision of the target detector mounting position of the detector mounting rail to be tested according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system, the actual projection barycentric coordinates of each through hole in the second coordinate system, and the conversion relationship matrix of the first coordinate system and the second coordinate system; wherein the first coordinate system takes the projection position of the focal point of the X-ray device on the flat panel detector as the coordinate origin, and the second coordinate system takes the upper left corner position of the flat panel detector as the coordinate origin; the step of determining the theoretical projection barycentric coordinates of each through hole in the first coordinate system comprises: obtaining the first theoretical coordinates of the focal point of the X-ray device in the first coordinate system and the second theoretical coordinates of each through hole in the first coordinate system; determining the theoretical projection barycentric coordinates of each through hole in the first coordinate system according to the first theoretical coordinates of the focal point of the X-ray device in the first coordinate system and the second theoretical coordinates of each through hole in the first coordinate system.

2. The method of claim 1, wherein, the step of determining the actual projection barycentric coordinates of each through hole in the second coordinate system according to the projection data comprises: generating a projection image according to the projection data; determining the actual projection barycentric coordinates of each through hole in the second coordinate system according to the gray scale information of the projection image.

3. The method of claim 2, wherein, the step of determining the actual projection barycentric coordinates of each through hole in the second coordinate system according to the gray scale information of the projection image comprises: selecting target pixel points with gray scale information satisfying a preset threshold according to the gray scale information of each pixel point in the projection image; obtaining target pixel regions with the same number as the through holes included in the through hole device by region division on the target pixel points with the gray scale information satisfying the preset threshold; determining the weighted values of each pixel point according to the gray scale information of each pixel point located in the same target pixel region; determining the actual projection barycentric coordinates of the target pixel region in the second coordinate system according to the coordinate information of each pixel point located in the same target pixel region in the second coordinate system and the weighted values of each pixel point; determining the actual projection barycentric coordinates of each through hole in the second coordinate system according to the correspondence between the target pixel region and the through hole and the actual projection barycentric coordinates of the target pixel region in the second coordinate system.

4. The method of claim 1, wherein, the step of determining the mounting precision of the target detector mounting position of the detector mounting rail to be tested according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system, the actual projection barycentric coordinates of each through hole in the second coordinate system, and the conversion relationship matrix of the first coordinate system and the second coordinate system comprises: determining the actual projection barycentric coordinates of each through hole in the first coordinate system according to the actual projection barycentric coordinates of each through hole in the second coordinate system and the conversion relationship matrix of the first coordinate system and the second coordinate system; determining the mounting precision of the target detector mounting position of the detector mounting rail to be tested according to the theoretical projection barycentric coordinates of each through hole in the first coordinate system and the actual projection barycentric coordinates of each through hole in the first coordinate system.

5. The method of claim 4, wherein, The installation precision of the target detector mounting position of the detector mounting guide rail to be tested is determined according to the theoretical projection gravity center coordinates of each through hole in the first coordinate system and the actual projection gravity center coordinates of each through hole in the first coordinate system, and the installation precision of the target detector mounting position of the detector mounting guide rail to be tested is determined according to the relationship between the installation position average deviation and the maximum deviation of the target detector mounting position and the preset deviation. The projection position deviation of each through hole is determined according to the theoretical projection gravity center coordinates of each through hole in the first coordinate system and the actual projection gravity center coordinates of each through hole in the first coordinate system. The average deviation of the target detector mounting position includes an installation position average deviation, a horizontal direction average deviation and a vertical direction average deviation. The installation precision of the target detector mounting position of the detector mounting guide rail to be tested is determined according to the relationship between the installation position average deviation and the maximum deviation of the target detector mounting position and the preset deviation.

6. The method of claim 5, wherein, The installation precision of the target detector mounting position of the detector mounting guide rail to be tested is determined according to the relationship between the installation position average deviation and the maximum deviation of the target detector mounting position and the preset deviation. When the installation position average deviation and the maximum deviation of the target detector mounting position are both less than the preset deviation, it is determined that the installation precision of the target detector mounting position of the detector mounting guide rail to be tested meets the preset installation precision. When at least one of the installation position average deviation and the maximum deviation of the target detector mounting position is greater than or equal to the preset deviation, the target detector mounting position is adjusted according to the horizontal direction average deviation and the vertical direction average deviation of the target detector mounting position.

7. An apparatus for detecting installation accuracy of a detector mounting rail, the apparatus for detecting installation accuracy of a detector mounting rail comprising at least an X-ray apparatus, a flat panel detector, a detector mounting rail to be tested, and a through-hole apparatus, the through-hole apparatus comprising a mounting bracket and a baffle, the through-hole apparatus being disposed on one detector mounting position of the detector mounting rail to be tested, the baffle comprising a through-hole, characterized in that, Further comprising: A theoretical projection gravity center coordinate determination module is configured to determine the theoretical projection gravity center coordinates of each through hole in the first coordinate system. A projection data acquisition module is configured to acquire the projection data of the through hole device on the target detector mounting position of the detector mounting guide rail to be tested. An actual projection gravity center coordinate determination module is configured to determine the actual projection gravity center coordinates of each through hole in the second coordinate system according to the projection data. An installation precision determination module is configured to determine the installation precision of the target detector mounting position of the detector mounting guide rail to be tested according to the theoretical projection gravity center coordinates of each through hole in the first coordinate system, the actual projection gravity center coordinates of each through hole in the second coordinate system and the conversion relationship matrix of the first coordinate system and the second coordinate system. The first coordinate system takes the projection position of the focus of the X-ray device on the flat panel detector as the coordinate origin, and the second coordinate system takes the upper left corner position of the flat panel detector as the coordinate origin. The theoretical projection gravity center coordinates of each through hole in the first coordinate system are determined by: Acquiring the first theoretical coordinates of the focus of the X-ray device in the first coordinate system and the second theoretical coordinates of each through hole in the first coordinate system. According to the first theoretical coordinates of the focus of the X-ray device in the first coordinate system and the second theoretical coordinates of each through hole in the first coordinate system, the theoretical projection gravity center coordinates of each through hole in the first coordinate system are determined.

8. A computer device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method of any one of claims 1-6.

9. A computer readable storage medium having stored thereon a computer program, characterized in that, The program, when executed by a processor, implements the method of any one of claims 1-6.

Citation Information

Patent Citations

  • Projection deviation measuring method of industrial laser projector

    CN118980496A

  • CT system bulb tube position calibration method and device

    CN119587063A