Position adjusting method and electronic equipment

By acquiring and comparing actual and reference images of the ray shielding array, its installation position is automatically adjusted, solving the problem of insufficient installation accuracy in existing technologies, improving image acquisition quality, and saving manpower.

CN120859527APending Publication Date: 2025-10-31OUR UNITED CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510915171.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-02
Publication Date
2025-10-31

AI Technical Summary

Technical Problem

In cone-beam computed tomography image acquisition technology based on ray shielding arrays, the existing laser positioning method for installing ray shielding arrays is prone to misalignment, and the reliance on manual judgment leads to insufficient installation accuracy, resulting in a decline in image quality.

Method used

By acquiring the actual image and reference image projected onto the detector by the first device, comparing them to determine the offset, and adjusting the installation position of the device based on the offset, the image computer equipment is used to automatically and precisely adjust the device.

Benefits of technology

It improved equipment installation accuracy, reduced data loss artifacts and ring artifacts, enhanced image quality, and saved human resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120859527A_ABST
    Figure CN120859527A_ABST
Patent Text Reader

Abstract

The invention provides a position adjustment method and electronic equipment, and relates to the technical field of medical treatment, in particular to the technical field of position adjustment. According to the specific implementation scheme, the method comprises the steps of obtaining an actual image and a reference image, projected to a detector, of first equipment, comparing the reference image with the actual image to obtain the offset of the first equipment, and adjusting the installation position of the first equipment based on the offset of the first equipment. Wherein the actual image refers to an image projected onto the detector by the first equipment at the current installation position. The reference image refers to an image projected on the detector by the first equipment at the target installation position. The first device is used for shielding light beams emitted by the light source. Through the method, the position deviation of the equipment can be effectively reduced, and the installation precision of the equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of medical technology, and more particularly to the field of position adjustment technology, specifically to a position adjustment method and an electronic device. Background Technology

[0002] In the field of cone-beam computed tomography (CBCT) image acquisition technology based on beam stopping arrays (BSAs), image quality is closely related to the installation accuracy of the BSA. Currently, laser positioning is commonly used to install the BSA, but this method has two limitations: first, it is prone to misalignment after installation due to various factors; second, installation accuracy relies on the operator's visual judgment, which introduces subjective errors. Positional deviations of the BSA can cause problems such as missing data artifacts and ring artifacts during CBCT image acquisition, significantly reducing image quality. Summary of the Invention

[0003] This disclosure provides a position adjustment method and an electronic device that can effectively reduce the positional deviation of the device and improve the installation accuracy of the device.

[0004] In a first aspect, this disclosure provides a position adjustment method, the method comprising:

[0005] The actual image and reference image projected onto the detector by the first device are acquired. The reference image and the actual image are compared to obtain the offset of the first device. Based on the offset of the first device, the installation position of the first device is adjusted.

[0006] The actual image refers to the image projected onto the detector by the first device at its current installation position, while the reference image refers to the image projected onto the detector by the first device at its target installation position. The first device is used to block the light beam emitted by the light source. The offset between the adjusted installation position of the first device and the target installation position is smaller than the offset between the original installation position of the first device and the target installation position.

[0007] In some embodiments, the above-mentioned acquisition of the reference image projected onto the detector by the first device may specifically include: acquiring an ideal image of the first device projected onto the detector at the target installation position, acquiring the offset of the second device, and adjusting the ideal image based on the offset of the second device to obtain the reference image.

[0008] Here, the ideal image refers to the image projected onto the detector by the first device at the target installation position when the second device is not offset, and the second device refers to the other devices besides the first device.

[0009] In some embodiments, the above-mentioned adjustment of the ideal image based on the offset of the second device to obtain a reference image may specifically include: determining the projection coordinates of the first device on the detector at the target installation position, correcting the projection coordinates based on the offset of the second device, and adjusting the ideal image based on the corrected projection coordinates to obtain a reference image.

[0010] In some embodiments, when the first device is a BSA, the above-mentioned determination of the projection coordinates of the first device on the detector at the target installation location may specifically include: obtaining the physical coordinates of each occlusion point in the BSA at the target installation location, and determining the projection coordinates of each occlusion point on the detector based on the physical coordinates of each occlusion point, the projection magnification parameter, the pixel size, and the performance parameters of the BSA.

[0011] Pixel size refers to the physical size of each pixel on the detector, and projection magnification parameters are used to characterize the geometric magnification characteristics of the beam during the projection process.

[0012] In some embodiments, the performance parameters of the BSA may include: the array period of the BSA, the number of lateral occlusion points of the BSA, and the number of longitudinal occlusion points of the BSA.

[0013] In some embodiments, the method may further include: determining projection magnification parameters based on a first distance parameter and a second distance parameter. The first distance parameter refers to the distance from the light source to the detector, and the second distance parameter refers to the distance from the light source to the BSA.

[0014] In some embodiments, the second device may include a light source and / or a detector. Based on this, the above-mentioned correction of the projection coordinates based on the offset of the second device may specifically include: correcting the projection coordinates based on the offset of the light source and / or the offset of the detector.

[0015] In some embodiments, the above-mentioned correction of the projection coordinates based on the offset of the light source and / or the offset of the detector may specifically include: adjusting the projection coordinates based on the offset of the light source, the offset of the detector, the pixel size, and the projection magnification parameters.

[0016] Pixel size refers to the physical size of each pixel on the detector, and projection magnification parameters are used to characterize the geometric magnification characteristics of the beam during the projection process.

[0017] In some embodiments, the above comparison of the reference image and the actual image to obtain the offset of the first device may specifically include: determining a first centroid and a second centroid, and determining the offset of the first device based on the first centroid and the second centroid.

[0018] The first centroid refers to the centroid of the first device identified in the reference image, and the second centroid refers to the centroid of the first device identified in the actual image.

[0019] In some embodiments, the first device may be a BSA, and correspondingly, the first centroid may include the centroid of each occlusion point of the BSA identified in the reference image, and the second centroid may include the centroid of each occlusion point of the BSA identified in the actual image.

[0020] Based on this, the above-mentioned determination of the offset of the first device based on the first centroid and the second centroid may specifically include: centering the centroid of each occlusion point of the BSA identified in the reference image to obtain the first centroid of each occlusion point after centering; centering the centroid of each occlusion point of the BSA identified in the actual image to obtain the second centroid of each occlusion point after centering; and determining the offset of the first device based on the first centroid and the second centroid of each occlusion point after centering.

[0021] In some embodiments, the offset of the first device may include: a horizontal offset and / or a rotational offset.

[0022] Secondly, this disclosure also provides a position adjustment device, the device comprising:

[0023] The acquisition unit is used to acquire an actual image and a reference image projected onto the detector by the first device. The actual image refers to the image projected onto the detector by the first device at its current installation position, and the reference image refers to the image projected onto the detector by the first device at its target installation position. The first device is used to block the light beam emitted by the light source.

[0024] The comparison unit is used to compare the reference image and the actual image to obtain the offset of the first device.

[0025] The adjustment unit is used to adjust the installation position of the first device based on the offset of the first device.

[0026] The offset between the adjusted installation position of the first device and the target installation position is less than the offset between the original installation position of the first device and the target installation position.

[0027] Thirdly, this disclosure also provides an electronic device comprising: a processor and a memory configured to store processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the optional position adjustment methods described in the first aspect above.

[0028] The above technical solution allows for automatic adjustment of the installation position of the first device based on the actual image of the first device at its current installation position and a reference image of the first device at its target installation position. This not only saves manpower but also effectively reduces the positional deviation of the first device. When the first device is a BSA (Balanced Attached ... Attached Figure Description

[0029] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:

[0030] Figure 1 This is a schematic diagram of a position adjustment system provided in an embodiment of the present disclosure;

[0031] Figure 2 A flowchart of a position adjustment method provided in this embodiment of the disclosure;

[0032] Figure 3 A schematic diagram of a reference image provided for an embodiment of this disclosure;

[0033] Figure 4 A schematic diagram of another reference image provided for an embodiment of this disclosure;

[0034] Figure 5 A schematic flowchart illustrating the process of determining a reference image, as provided in an embodiment of this disclosure;

[0035] Figure 6 A flowchart illustrating another position adjustment method provided in this embodiment of the disclosure;

[0036] Figure 7 This is a schematic block diagram of an electronic device provided in an embodiment of the present disclosure. Detailed Implementation

[0037] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0038] In the description of this disclosure, it should be understood that the terms "center," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are used only for the convenience of describing this disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this disclosure. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first," "second," or "third" may explicitly or implicitly include one or more of the stated features. In the description of this disclosure, "a plurality of" means two or more, unless otherwise explicitly and specifically defined.

[0039] In the description of this disclosure, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this disclosure is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this disclosure. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this disclosure can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of this disclosure with unnecessary detail. Therefore, this disclosure is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed herein.

[0040] It should be noted that since the method of this embodiment is executed in an electronic device, the processing objects of each electronic device exist in the form of data or information, such as time, which is essentially time information. It is understood that if size, quantity, position, etc. are mentioned in subsequent embodiments, they are all corresponding data that exist so that the computer device can process them. Specific details will not be elaborated here.

[0041] In the field of CBCT image acquisition technology based on BSA (Body Support Array), image quality is closely related to the installation accuracy of the BSA. Low installation accuracy can lead to BSA positional deviations, causing problems such as data loss artifacts and ring artifacts during CBCT image acquisition, significantly reducing image quality. Currently, laser positioning is commonly used to install BSAs, but this method has two limitations: first, it is easily misaligned after installation due to various factors; second, the installation accuracy depends on the operator's visual judgment, which introduces subjective errors.

[0042] Therefore, improving the installation accuracy of BSA and reducing its positional deviation are urgent problems to be solved.

[0043] To address the aforementioned technical issues, this disclosure provides a position adjustment method. First, based on the installation position of the first device, an actual image and a reference image projected onto the detector by the first device are acquired. The reference image and the actual image are then compared to obtain the offset of the first device. Subsequently, the installation position of the first device can be adjusted based on this offset.

[0044] The actual image refers to the image actually projected onto the detector by the first device at the installation position, while the reference image refers to the image projected onto the detector without any offset at the installation position. The first device is used to block the light beam emitted by the light source.

[0045] The above technical solution allows for automatic adjustment of the installation position of the first device based on the actual image and reference image at its current installation location. This not only saves manpower but also effectively reduces the positional deviation of the first device. When the first device is a BSA (Balanced Attached ...

[0046] Figure 1 This is a schematic diagram of a position adjustment system provided in an embodiment of the present disclosure. The system may include an image-guided radiotherapy device 101 and an imaging computer device 102.

[0047] Image-guided radiotherapy equipment 101 may include a gantry 103 and an image guiding device mounted on the gantry 103. The image guiding device includes a light source 104, a first device 105 (also referred to as a shielding device), and a detector 106. The cone-shaped imaging beam emitted by the light source 104 passes through the first device 105 and then through the target object, where it is received by the detector 106 to generate a two-dimensional projection image of the target object.

[0048] In this embodiment of the disclosure, the first device 105 may be located between the light source 104 and the detector 106. During the process of the first device 105 performing scattering correction on the imaging beam emitted by the light source 104, it will block part of the imaging beam.

[0049] In this embodiment of the disclosure, the form of the first device 105 is not specifically limited. For example, the first device 105 may be a BSA or a grating collimator, etc.

[0050] The detector 106 can be a flat panel detector or a curved surface detector. The present disclosure does not specifically limit the shape of the detector 106.

[0051] The image guidance device may include a CBCT device. This disclosure does not specifically limit the form of the image guidance device.

[0052] When the image guidance device is a CBCT device, the light source 104 can be an X-ray tube and the detector 106 can be a flat panel detector.

[0053] The frame 103 can be a ring frame, a C-arm frame, a drum frame, a multi-layer bowl / cylindrical structure frame, etc. The frame 103 can be a rotating frame that can move around the rotation axis or a fixed frame that cannot move.

[0054] The imaging computer device 102 is communicatively connected to the detector 106.

[0055] In some embodiments, the imaging computer device 102 may be a computer device with a graphical user interface (GUI), which may include one or more processors, memory, and one or more application programs. For example, the processor of the imaging computer device 102 may perform the following: based on the installation position of the first device 105, acquire an actual image and a reference image projected by the first device 105 onto the detector 106; compare the reference image and the actual image to obtain the offset of the first device 105; and adjust the installation position of the first device 105 based on the offset of the first device 105. Here, the actual image refers to the image actually projected onto the detector 106 by the first device 105 in its installation position, and the reference image refers to the image projected onto the detector 106 when the installation position of the first device 105 is not offset.

[0056] In this embodiment of the disclosure, the imaging computer device 102 can be a standalone server, or a server network or server cluster composed of servers. For example, the imaging computer device described in this embodiment of the disclosure includes, but is not limited to, a computer, a network host, a single network server, a set of multiple network servers, or a cloud server composed of multiple servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.

[0057] In this embodiment, the imaging computer device 102 can be a general-purpose computer device or a special-purpose computer device. In specific implementations, the computer device can be a desktop computer, a portable computer, a network server, a PDA (Personal Digital Assistant), a mobile phone, a tablet computer, a wireless terminal device, a communication device, an embedded device, etc. This embodiment does not limit the type of computer device.

[0058] The position adjustment method provided in this disclosure is described below using an imaging computer device as an example. Figure 2 This is a flowchart of a position adjustment method provided in an embodiment of the present disclosure. The executing entity is an imaging computer device, such as... Figure 2 As shown, the method includes:

[0059] S201, acquire the actual image and reference image projected onto the detector by the first device.

[0060] In this context, the actual image refers to the image projected onto the detector by the first device at its current installation location. The reference image refers to the image projected onto the detector by the first device at its target installation location. For example, suppose a user (such as a healthcare worker) intends to install the first device at a certain location (i.e., the target installation location, hereinafter referred to as location A). The user can manually install the first device, and suppose the manually installed location is location B (i.e., the current installation location). Based on this, the actual image refers to the image projected onto the detector by the first device at location B. The reference image refers to the image projected onto the detector by the first device at location A.

[0061] It is understandable that when positions A and B are the same, meaning the installation position of the first device is not offset, the actual image projected onto the detector by the first device and the reference image are the same. However, when positions B and A are different, meaning the installation position of the first device, manually installed by the user, is offset, the actual image projected onto the detector by the first device and the reference image are different. For example, consider a BSA as the first device, where positions A and B are not the same. Figure 3 As shown, Figure 3 (a) in the image can be the image of the BSA projected onto the detector at position B. Figure 3 (b) in the image can be the image of the BSA projected onto the detector at position A, for comparison. Figure 3 (a) and Figure 3 As shown in (b), the image projected onto the detector by the BSA differs depending on its location. This solution mainly addresses the case where location B and location A are inconsistent.

[0062] In this embodiment of the disclosure, the reference image is not specifically limited. In one example, the reference image may be a projected image acquired by an imaging computer device in a half-field imaging mode, such as... Figure 4 As shown in image 401. In another example, the reference image may be a projected image acquired by an imaging computer device in full-field mode, such as... Figure 4 Image 402 is shown in the image.

[0063] The first device is located between the light source and the detector, and is used to block the light beam emitted by the light source. This disclosure does not specifically limit the first device. For example, the first device can be a BSA or a grating collimator, etc.

[0064] Specifically, after the user installs the first device, they can trigger a light source to emit a beam of light. This beam passes through the first device and is received by a detector, generating an image—the actual image—projected onto the detector at the first device's current installation location. The detector can then send this actual image to an image computing device. The image computing device can also, based on the first device's target installation location (such as location A above), simulate the light source emitting a beam of light to obtain an image—the reference image—projected onto the detector at that target installation location. In this way, the image computing device can acquire both the actual image and the reference image projected onto the detector by the first device.

[0065] S202, compare the reference image and the actual image to obtain the offset of the first device.

[0066] The offset of the first device may include at least one of the following: (1) the offset of the first device in the horizontal direction (hereinafter referred to as the horizontal offset), and (2) the rotational offset of the first device.

[0067] In this embodiment, the comparison between the reference image and the actual image is not specifically limited. In one example, the reference image and the actual image can be compared using the centroid of the first device identified in the reference image and the centroid of the first device identified in the actual image. In another example, the reference image and the actual image can be compared using the center of a circle indicating the first device in the reference image and the center of a circle indicating the first device in the actual image. In yet another example, the reference image and the actual image can be compared using the centroid of the first device identified in the reference image and the centroid of the first device identified in the actual image.

[0068] The following description describes a method of comparing the reference image and the actual image by using the centroid of the first device identified in the reference image and the centroid of the first device identified in the actual image.

[0069] After obtaining the reference image and the actual image in the above manner, the image computer equipment can determine the centroid of the first device identified in the reference image (hereinafter referred to as the first centroid) and the centroid of the first device identified in the actual image (hereinafter referred to as the second centroid). The image computer equipment can determine the offset of the first device based on the first centroid and the second centroid.

[0070] For specific methods of determining the centroid of the first device identified in the image (such as the reference image and the actual image), please refer to relevant technologies, which will not be elaborated here.

[0071] Specifically, after obtaining the first centroid and the second centroid, the imaging computer device can determine the offset between the first centroid and the second centroid, and use the offset between the first centroid and the second centroid as the offset of the first device.

[0072] S203, Based on the offset of the first device, adjust the installation position of the first device.

[0073] In this embodiment, the method of adjusting the installation position of the first device is not specifically limited. In one example, a user (such as a healthcare worker) can manually adjust the installation position of the first device. In another example, the imaging computer device can automatically adjust the installation position of the first device.

[0074] It is understandable that the offset between the adjusted installation position of the first device and the target installation position is smaller than the offset between the original installation position of the first device and the target installation position.

[0075] Specifically, taking the automatic adjustment of the installation position of the first device by the imaging computer equipment, which includes both horizontal and rotational offsets, as an example, after obtaining the horizontal and rotational offsets of the first device through the above method, the imaging computer equipment can use the horizontal offset to move the installation position of the first device horizontally and use the rotational offset to rotate the first device. In this way, the imaging computer equipment can adjust the installation position of the first device.

[0076] The above technical solution allows for automatic adjustment of the installation position of the first device based on the actual image and reference image at its current installation location. This not only saves manpower but also effectively reduces the positional deviation of the first device and improves its installation accuracy. When the first device is a BSA (Browser Assisted Image) device, improving its installation accuracy can reduce issues such as data loss artifacts and ring artifacts during image acquisition, effectively improving image quality.

[0077] The following will describe an embodiment related to step S201 described above.

[0078] Since the offset of other devices besides the first device (such as light source and detector, hereinafter referred to as the second device) will also affect the image projected by the first device onto the detector, the above-mentioned image computer device can also introduce the offset of the second device in the process of simulating and generating the reference image of the first device.

[0079] In one alternative implementation, the image computing device can first acquire an ideal image of the first device projected onto the detector at the target installation position, and then acquire the offset of the second device. Subsequently, the image computing device can adjust the ideal image based on the offset of the second device to obtain a reference image.

[0080] Here, the ideal image refers to the image projected onto the detector by the first device at the target installation position, assuming the second device remains unchanged. It can be understood that, assuming the second device remains unchanged, the ideal image of the first device is identical to the reference image.

[0081] Specifically, the image computing device can store the offset of the second device, which is prior information. Based on the target installation position of the first device, the image computing device can simulate a light source emitting a beam of light to obtain an ideal image projected onto the detector by the first device at the target installation position. Then, the image computing device can acquire the offset of the second device and adjust the ideal image based on the offset to obtain a reference image.

[0082] The following describes the process by which an image computer device adjusts an ideal image based on the offset of a second device to obtain a reference image.

[0083] Figure 5 This is a schematic flowchart illustrating the process of determining a reference image according to an embodiment of the present disclosure, such as... Figure 5 As shown, the method includes the following steps S501-S503.

[0084] S501, determine the projected coordinates of the first device on the detector at the target installation position.

[0085] Specifically, taking a BSA as an example, the BSA can include multiple occlusion points. The image computing device can store the physical coordinates of each occlusion point in the BSA at the target installation location. After obtaining the physical coordinates of each occlusion point in the BSA at the target installation location, the image computing device can determine the projection coordinates of the occlusion point on the detector based on the physical coordinates of the occlusion point, the projection magnification parameters, the physical size of each pixel on the detector (hereinafter referred to as pixel size), and the performance parameters of the BSA.

[0086] Among them, the projection magnification parameter is used to characterize the geometric magnification characteristics of the beam during the projection process.

[0087] This disclosure does not specifically limit the performance parameters of the BSA. For example, the performance parameters of the BSA may include one or more of the following: the array period of the BSA, the number of lateral occlusion points of the BSA, the number of longitudinal occlusion points of the BSA, and the radius of each occlusion point in the BSA.

[0088] For example, taking the BSA performance parameters, including the BSA array period, the number of lateral occlusion points, and the number of longitudinal occlusion points, as an example, the image computing device can store pixel size, projection magnification parameters, and BSA performance parameters. For each occlusion point, the image computing device can use the following formulas one and two to determine the projected coordinates of the occlusion point on the detector.

[0089]

[0090] Where M represents the projection magnification parameter, Pitch represents the array period of the BSA, and GridSize... x GridSize represents the number of horizontal occlusion points in the BSA. y This indicates the number of vertical occlusion points in the BSA, pixelSize represents the pixel size, and (x, y) represents the physical coordinates of the occlusion point at the target mounting location. proj y proj ) represents the projected coordinates of the occlusion point on the detector.

[0091] In one alternative implementation, the imaging computer device can determine the projection magnification parameters based on the distance from the light source to the detector and the distance from the light source to the first device.

[0092] Specifically, taking BSA as the first device as an example, the above determination of projection magnification parameters based on the distance from the light source to the detector and the distance from the light source to the first device can be replaced by: determining projection magnification parameters based on the distance from the light source to the detector (hereinafter referred to as the first distance parameter) and the distance from the light source to BSA (hereinafter referred to as the second distance parameter).

[0093] In one example, the imaging computer device may use the ratio between a first distance parameter and a second distance parameter as a projection magnification parameter.

[0094] For example, let the first distance parameter be D source-detector The second distance parameter is D source-BSA For example, the projection magnification parameter M can be determined by the following formula three for imaging computer equipment.

[0095]

[0096] S502, based on the offset of the second device, corrects the projected coordinates.

[0097] The second device may include a light source and / or a detector, and accordingly, the image computing device may correct the projection coordinates based on the offset of the light source and / or the offset of the detector.

[0098] The following describes the process by which an image computer device corrects the projected coordinates based on the offset of the light source and the offset of the detector, using the second device including a light source and a detector as an example.

[0099] Imaging computer equipment can correct projection coordinates based on the offset of the light source, the offset of the detector, the pixel size, and the projection magnification parameters.

[0100] For an explanation of pixel size and projection magnification parameters, please refer to the description in S501 above, which will not be repeated here.

[0101] Specifically, taking the first device as a BSA as an example, the BSA can include multiple occlusion points. Accordingly, the above-mentioned correction of the projected coordinates based on the offset of the second device can be replaced by: correcting the projected coordinates of each occlusion point in the BSA based on the offset of the second device.

[0102] For example, after obtaining the offset of the light source, the offset of the detector, the pixel size, and the projection magnification parameters, the imaging computer device can correct the projection coordinates of each occlusion point in the BSA by referring to Formulas 4 and 5 below.

[0103]

[0104] Among them, (x proj y proj (x) represents the projected coordinates of the occlusion point on the detector. shift y shift (x) represents the detector's offset. focus y focus () indicates the offset of the light source. This represents the corrected projected coordinates of the occlusion point.

[0105] S503, based on the corrected projection coordinates, adjust the ideal image to obtain the reference image.

[0106] After obtaining the corrected projection coordinates through the above method, the image computer equipment can adjust the coordinates of the occlusion points of the BSA marked in the ideal image based on the degree of difference between the corrected projection coordinates and the original projection coordinates, and obtain a reference image.

[0107] The following will use BSA as an example to describe the embodiments related to step S202 above.

[0108] When the first device is a BSA (Browser-Assisted Subsystem), the first centroid may include the centroid of each occlusion point of the BSA identified in the reference image, and the second centroid may include the centroid of each occlusion point of the BSA identified in the actual image. Accordingly, determining the offset of the first device based on the first and second centroids specifically includes: centering the centroid of each occlusion point identified in the reference image to obtain a centered first centroid; centering the centroid of each occlusion point identified in the actual image to obtain a centered second centroid; and determining the offset of the first device based on the centered first and second centroids.

[0109] Specifically, the image computing device can determine the centroid of each occluded point in the reference image, as well as the center of the circle for each occluded point in the reference image. Then, the image computing device can center the centroid of each occluded point using the following formula (Formula 6) to obtain the first centroid of each occluded point after centering.

[0110] A centered =A-centroid A (Formula Six)

[0111] Among them, centroid A Let A represent the centroid of the occluded point, and let A represent the center of the circle containing the occluded point. centered This represents the first centroid after centralization.

[0112] Accordingly, the image computing device can determine the centroid of each occluded point in the actual image, as well as the center of the circle for each occluded point in the actual image. Then, the image computing device can center the centroid of each occluded point using the following formula (Formula 7) to obtain a second centroid centered for each occluded point.

[0113] B centered =B-centroid B (Formula 7)

[0114] Among them, centroid B Let B represent the centroid of the occluded point, and let B represent the center of the circle at the occluded point. centered This represents the second centroid after centralization.

[0115] After obtaining the first centroid and the second centroid of each occlusion point after centering using the above method, the image computing device can obtain the corresponding covariance matrix using the following formula 8.

[0116]

[0117] Where H represents the covariance matrix, This represents the transpose of the first centroid after centralization.

[0118] After obtaining the covariance matrix using the above method, the imaging computer equipment can perform singular value decomposition on the covariance matrix using the following formula (nine) to obtain the left singular matrix U, the singular value diagonal matrix S, and the transpose matrix V of the right singular matrix. T .

[0119] H = U·S·V T (Formula Nine)

[0120] We obtain the left singular matrix U, the singular value diagonal matrix S, and the transpose of the right singular matrix V. T Subsequently, the imaging computer equipment can be based on the right singular matrix V and the transpose matrix U of the left singular matrix. T The rotation matrix R is obtained through the following formula 10.

[0121] R = V·U T (Formula 10)

[0122] After obtaining the rotation matrix R, the image computing device can use the centroid of each occlusion point in the actual image (e.g., centroid) B ), rotation matrix R, centroid of each occluded point in the reference image (e.g., centroid of occluded points), and rotation matrix R. A The horizontal offset T of the BSA is obtained by taking the pixel size and the projection magnification parameter M, and then using the following formula eleven.

[0123]

[0124] The imaging computer equipment can also obtain the rotation offset θ of the BSA using the rotation matrix R and the following formula (twelve). deg .

[0125]

[0126] The imaging computer equipment obtains the horizontal offset T and the rotational offset θ in the above manner. deg Then, the horizontal offset T can be used as the horizontal offset of the first device, and the rotational offset θ can be used as the horizontal offset of the first device. deg As the rotational offset of the first device.

[0127] In this way, the imaging computer equipment can adjust the installation position of the first device based on the horizontal and rotational offsets of the first device.

[0128] It is understandable that after adjusting the installation position of the first device, the imaging computer equipment can also determine whether the offset between the adjusted installation position and the target installation position is less than a preset threshold. If the offset between the adjusted installation position and the target installation position is greater than the preset threshold, the imaging computer equipment can repeat the above process. Figure 2 The position adjustment method is used until the offset between the adjusted installation position and the target installation position is less than or equal to a preset threshold.

[0129] The following will take BSA as the first device and a light source and detector as the second device as an example, and combine the above embodiments to explain... Figure 2 The position adjustment method described above will be further explained.

[0130] Figure 6 A flowchart of another position adjustment method provided in this disclosure embodiment is shown below. Figure 6 As shown, the method includes:

[0131] S601, acquire the actual image of the BSA projected onto the detector at the current installation location.

[0132] S602, Obtain the ideal image of the BSA projected onto the detector at the target installation location.

[0133] S603, obtain the physical coordinates of each occlusion point in the BSA at the target installation location.

[0134] S604 determines the projected coordinates of each occlusion point on the detector based on the physical coordinates, projection magnification parameters, pixel size, and BSA performance parameters of each occlusion point.

[0135] S605, obtains the offset of the light source and the offset of the detector.

[0136] S606 corrects the projected coordinates of each occlusion point on the detector based on the offset of the light source and the offset of the detector.

[0137] S607, based on the corrected projection coordinates of each occlusion point on the detector, adjusts the ideal image to obtain a reference image.

[0138] S608, the centroid of each occlusion point of the BSA identified in the reference image is centered to obtain the first centroid after centering.

[0139] S609, the centroid of each occlusion point of the BSA identified in the actual image is centered to obtain the centered second centroid.

[0140] S610, based on the first centroid and the second centroid after centering, determines the covariance matrix.

[0141] S611, perform singular value decomposition on the covariance matrix to obtain the offset of the first device.

[0142] S612, adjust the installation position of the first device based on the offset of the first device.

[0143] S613, determine whether the offset between the adjusted installation position of the first device and the target installation position is greater than a preset threshold. If the offset between the adjusted installation position of the first device and the target installation position is greater than the preset threshold, repeat S601-S613. If the offset between the adjusted installation position of the first device and the target installation position is less than or equal to the preset deviation, execute S614.

[0144] S614, End.

[0145] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein. In some embodiments, the electronic device may be as described above. Figure 1 The image computer device shown.

[0146] like Figure 7 As shown, the electronic device 700 includes a computing unit 701, which can perform various appropriate actions and processes based on a computer program stored in a read-only memory 702 or a computer program loaded from a storage unit 708 into a random access memory 703. The random access memory (RAM) 703 can also store various programs and data required for the operation of the electronic device 700. The computing unit 701, the read-only memory (ROM) 702, and the RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0147] Multiple components in electronic device 700 are connected to input / output interface 705, including: input unit 706, such as keyboard, mouse, etc.; output unit 707, such as various types of monitors, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows electronic device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0148] The computing unit 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit, a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors, and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as the reset method. For example, in one embodiment, the reset method may be implemented as a computer software program tangibly included in a machine-readable medium, such as storage unit 708. In one embodiment, part or all of the computer program may be loaded and / or installed on the electronic device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by the computing unit 701, one or more steps of the reset method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the reset method by any other suitable means (e.g., by means of firmware).

[0149] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays, application-specific integrated circuits (ASICs), application-specific standard parts (ASSPs), systems-on-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0150] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0151] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory, optical fibers, portable compact disk read-only memory, optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0152] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user, such as a cathode ray tube (CRT) or liquid crystal display (LCD) monitor; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0153] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0154] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0155] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this disclosure can be achieved, and this is not limited herein.

[0156] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A position adjustment method, characterized in that, The method includes: Acquire an actual image and a reference image projected onto the detector by the first device; the actual image refers to the image projected onto the detector by the first device at its current installation position, and the reference image refers to the image projected onto the detector by the first device at its target installation position, wherein the first device is used to block the light beam emitted by the light source; The offset of the first device is obtained by comparing the reference image and the actual image; The installation position of the first device is adjusted based on the offset of the first device.

2. The method according to claim 1, characterized in that, Acquiring a reference image projected from the first device onto the detector includes: Obtain an ideal image projected onto the detector by the first device at the target installation position; the ideal image refers to the image projected onto the detector by the first device at the target installation position when the second device is not offset, and the second device refers to the other devices besides the first device; Obtain the offset of the second device; The ideal image is adjusted based on the offset of the second device to obtain the reference image.

3. The method according to claim 2, characterized in that, The step of adjusting the ideal image based on the offset of the second device to obtain the reference image includes: Determine the projected coordinates of the first device on the detector at the target installation location; The projected coordinates are corrected based on the offset of the second device; Based on the corrected projection coordinates, the ideal image is adjusted to obtain the reference image.

4. The method according to claim 3, characterized in that, The first device is a beam shielding array (BSA), and determining the projected coordinates of the first device on the detector at the target installation position includes: Obtain the physical coordinates of each occlusion point in the BSA at the target installation location; Based on the physical coordinates, projection magnification parameters, pixel size, and BSA performance parameters of each occlusion point, the projection coordinates of each occlusion point on the detector are determined. Wherein, the pixel size refers to the physical size of each pixel on the detector, and the projection magnification parameter is used to characterize the geometric magnification characteristics of the light beam during the projection process.

5. The method according to claim 4, characterized in that, The method further includes: The projection magnification parameters are determined based on the first distance parameter and the second distance parameter; the first distance parameter refers to the distance from the light source to the detector, and the second distance parameter refers to the distance from the light source to the BSA.

6. The method according to claim 3, characterized in that, The second device includes a light source and / or the detector; The step of correcting the projected coordinates based on the offset of the second device includes: The projected coordinates are corrected based on the offset of the light source and / or the offset of the detector.

7. The method according to claim 6, characterized in that, The step of correcting the projected coordinates based on the offset of the light source and / or the offset of the detector includes: The projection coordinates are corrected based on the offset of the light source, the offset of the detector, the pixel size, and the projection magnification parameters. Wherein, the pixel size refers to the physical size of each pixel on the detector, and the projection magnification parameter is used to characterize the geometric magnification characteristics of the light beam during the projection process.

8. The method according to claim 1, characterized in that, The step of comparing the reference image and the actual image to obtain the offset of the first device includes: A first centroid and a second centroid are determined, wherein the first centroid refers to the centroid of the first device identified in the reference image, and the second centroid refers to the centroid of the first device identified in the actual image; The offset of the first device is determined based on the first centroid and the second centroid.

9. The method according to claim 8, characterized in that, The first device is a BSA, the first centroid includes the centroid of each occlusion point of the BSA identified in the reference image, and the second centroid includes the centroid of each occlusion point of the BSA identified in the actual image; Determining the offset of the first device based on the first centroid and the second centroid includes: The centroid of each occlusion point of the BSA identified in the reference image is centered to obtain the first centroid of each occlusion point after centering. The centroid of each occlusion point of the BSA identified in the actual image is centered to obtain the second centroid after centering each occlusion point; The offset of the first device is determined based on the first centroid centered at each occlusion point and the second centroid centered at each occlusion point.

10. An electronic device, characterized in that, The electronic device includes: processor; A memory configured to store processor-executable instructions; The processor is configured to execute the instructions to implement the position adjustment method as described in any one of claims 1-9.