Depth camera calibration method and device of standing medical scanning equipment

By using multiple camera calibration light sources in a standing medical scanning device and calibration reticles on the calibration tooling to adjust the position and angle of the depth camera, and calibrating the image algorithm based on pixel coordinates and calibration coordinates, the problem of image errors caused by equipment installation deviations is solved , improving the accuracy of scanned images.

CN118614871APending Publication Date: 2024-09-10SAINUO WEISHENG SCI & TECH BEIJING
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410655972.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Standing medical scanning equipment is prone to installation deviations during the installation process of depth cameras, resulting in large errors in the collected depth images and affecting the smooth progress of the scanning process.

Method used

By using multiple cameras to calibrate light sources and calibration reticles on the calibration tooling, adjust the position and angle of the depth camera, and calibrate the image algorithm based on the pixel coordinates and calibration coordinates within the field of view, reduce installation deviation and improve image accuracy.

Benefits of technology

It effectively reduces the error of the depth image, improves the accuracy of the scanned image, adaptively compensates for different installation deviations, and improves the overall performance of the standing medical scanning equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118614871A
    Figure CN118614871A
Patent Text Reader

Abstract

The embodiment of the invention provides a depth camera calibration method and device of standing type medical scanning equipment. The depth camera calibration method comprises the steps of adjusting positions and / or angles of a plurality of depth cameras according to a plurality of camera calibration light sources and a plurality of first calibration scribed lines arranged on a camera calibration tool, and adjusting positions and / or angles of all the depth cameras according to second calibration scribed lines in a plurality of calibration images and image centers of all the calibration images, and calibrating an image algorithm of each depth camera according to the pixel coordinate and the calibration coordinate of the third calibration scribed line in the visual field of each depth camera. According to the depth camera calibration method, the position and the angle of the depth camera can be calibrated to reduce the installation deviation of the depth camera, and the image algorithm of the depth camera with different installation deviations can be calibrated to adaptively compensate different installation deviations and reduce the error of the depth image, so that the accuracy of scanning the image is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of medical equipment technology, and more particularly to a method and apparatus for calibrating a depth camera of a standing medical scanning device. Background Art

[0002] Conventional medical scanning equipment uses the patient in a supine position for examination. Due to the influence of gravity, when the human body is in a standing position and a supine position, the position of the anatomical structure changes due to the difference in body position, and the position and shape of the internal organs of the body will also change accordingly. The different forces on various parts of the skeletal muscle system may cause changes in morphological structure. Standing medical scanning equipment refers to changing the patient's examination from the original supine position to a standing or semi-sitting position. The medical scanning equipment is changed from being fixed on the ground and rotating around the patient to achieve X-ray penetration. The medical scanning equipment simultaneously achieves linear motion along the patient's axis and rotation around the patient to achieve X-ray penetration. Standing medical scanning equipment can identify the real state of the human body's weight-bearing position, especially the spine and lower limbs, and is used for differential diagnosis of various diseases such as orthopedics and tumors.

[0003] In the standing scanning equipment system, the patient stands on the patient support, and the system realizes the patient scanning process by lifting the patient or moving the frame. During the installation process of the depth camera of the standing scanning equipment system, installation deviation will occur, resulting in large errors in the collected depth image, thus affecting the smooth progress of the entire scanning process. Summary of the invention

[0004] The embodiments of the present disclosure provide a depth camera calibration method and apparatus for a standing medical scanning device, which can calibrate the position and angle of the depth camera to reduce the installation deviation of the depth camera. The image algorithms of depth cameras with different installation deviations can also be calibrated to adaptively compensate for different installation deviations, thereby reducing the error of the depth image and improving the accuracy of the scanned image.

[0005] In a first aspect, the present disclosure provides a depth camera calibration method for a standing medical scanning device, comprising:

[0006] According to multiple camera calibration light sources and multiple first calibration marks set on the camera calibration tooling, the positions and / or angles of multiple depth cameras are adjusted, and the camera calibration tooling is also provided with multiple second calibration marks and multiple third calibration marks with calibrated coordinates; according to the second calibration marks in multiple calibration images and the image center of each calibration image, the position and / or the angle of each depth camera is adjusted; according to the pixel coordinates and the calibrated coordinates of the third calibration marks within the field of view of each depth camera, the image algorithm of each depth camera is calibrated.

[0007] In some embodiments of the present disclosure, calibrating the image algorithm of each of the depth cameras according to the pixel coordinates and the calibration coordinates of the third calibration reticle within the field of view of each of the depth cameras includes:

[0008] According to the pixel coordinates of each of the third calibration reticles, the object plane coordinates of each of the third calibration reticles are determined; and according to the object plane coordinates of each of the third calibration reticles and the calibration coordinates, the image algorithm of the corresponding depth camera is calibrated.

[0009] In some embodiments of the present disclosure, determining the object plane coordinates of each of the third calibration reticles according to the pixel coordinates of each of the third calibration reticles comprises:

[0010] According to the pixel coordinates of each of the third calibration reticles, the image plane coordinates of each of the third calibration reticles are determined; according to the image plane coordinates of each of the third calibration reticles and the distance between each of the third calibration reticles and the depth camera, the object plane coordinates of each of the third calibration reticles are determined.

[0011] In some embodiments of the present disclosure, calibrating the image algorithm of the corresponding depth camera according to the object plane coordinates and the calibration coordinates of each of the third calibration reticles includes:

[0012] For each of the third calibration lines within the field of view of the depth camera: when the object plane coordinates do not match the calibration coordinates, adjust at least some parameters in the image algorithm of the corresponding depth camera until the object plane coordinates match the calibration coordinates.

[0013] In some embodiments of the present disclosure, the object plane coordinates are matched with the calibration coordinates so that a distance between the object plane coordinates and the calibration coordinates is less than a preset distance.

[0014] In some embodiments of the present disclosure, determining the image plane coordinates of each of the third calibration reticles according to the pixel coordinates of each of the third calibration reticles comprises:

[0015] The image plane coordinates of each of the third calibration reticles are determined according to a conversion relationship between a pixel coordinate system and an image coordinate system and the pixel coordinates of each of the third calibration reticles.

[0016] In some embodiments of the present disclosure, determining the object plane coordinates of each of the third calibration reticles according to the image plane coordinates of each of the third calibration reticles and the distance between each of the third calibration reticles and the depth camera includes:

[0017] The object plane coordinates of each of the third calibration reticles are determined according to a conversion relationship between an image coordinate system and a camera coordinate system, a distance between each of the third calibration reticles and the depth camera, and the image plane coordinates of each of the third calibration reticles.

[0018] In some embodiments of the present disclosure, the depth camera calibration method further includes:

[0019] When the position of the camera calibration jig is not the position of the last simulated height, adjust the position of the camera calibration jig along the vertical direction, and return to execute the process of adjusting the positions and / or angles of multiple depth cameras according to the multiple camera calibration light sources and the multiple first calibration lines set on the camera calibration jig until the position of the camera calibration jig is the position of the last simulated height.

[0020] In a second aspect, the present disclosure provides a depth camera calibration device for a standing medical scanning device, comprising:

[0021] The camera calibration tool is provided with a plurality of first calibration scale lines, a plurality of second calibration scale lines and a plurality of third calibration scale lines with calibrated coordinates.

[0022] A camera adjustment module is used to adjust the position and / or angle of multiple depth cameras according to multiple camera calibration light sources and multiple first calibration lines; and adjust the position and / or the angle of each depth camera according to the second calibration lines in multiple calibration images and the image center of each calibration image.

[0023] The algorithm adjustment module is used to calibrate the image algorithm of each of the depth cameras according to the pixel coordinates and the calibration coordinates of the third calibration reticle within the field of view of each of the depth cameras.

[0024] In some embodiments of the present disclosure, the depth camera calibration device further includes:

[0025] The height adjustment module is used to adjust the position of the camera calibration tool along the vertical direction when the position of the camera calibration tool is not the position of the last simulated height, until the position of the camera calibration tool is the position of the last simulated height.

[0026] In the technical solution of the embodiment of the present disclosure, by adjusting the positions and / or angles of multiple depth cameras according to multiple camera calibration light sources and multiple first calibration marks set on the camera calibration tooling, and adjusting the position and / or angle of each depth camera according to the second calibration marks in multiple calibration images and the image center of each calibration image, the position and angle of the depth camera can be calibrated to reduce the installation deviation of the depth camera, which can reduce the error of the depth image, thereby improving the accuracy of the scanned image. By calibrating the image algorithm of each depth camera according to the pixel coordinates and calibration coordinates of the third calibration marks within the field of view of each depth camera, the image algorithm of the depth camera with different installation deviations can be calibrated to adaptively compensate for different installation deviations, which can reduce the error of the depth image, thereby improving the accuracy of the scanned image.

[0027] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present application, a brief introduction will be given below to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0029] Figure 1 A schematic diagram of the structure of a standing medical scanning device during a camera calibration process provided by an embodiment of the present disclosure.

[0030] Figure 2 A flowchart of a depth camera calibration method provided in an embodiment of the present disclosure is provided.

[0031] Figure 3 A schematic structural diagram of a camera calibration tool provided in an embodiment of the present disclosure.

[0032] Figure 4 A schematic diagram of the structure of a depth camera assembly provided in an embodiment of the present disclosure.

[0033] Figure 5 A schematic diagram of a flow chart of another depth camera calibration method provided in an embodiment of the present disclosure.

[0034] Figure 6 A schematic diagram of the structure of a standing medical scanning device during a camera calibration process provided in an embodiment of the present disclosure.

[0035] Figure 7 A structural schematic diagram of a height adjustment module provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work also fall within the scope of protection of the present disclosure.

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

[0038] Reference to "embodiments" in this disclosure means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase "embodiments" in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this disclosure may be combined with other embodiments.

[0039] In addition, the terms "first", "second", etc. in the specification and claims of the present disclosure or the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order, and may explicitly or implicitly include one or more of the features.

[0040] The term "and / or" in this disclosure is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists, A and B exist at the same time, and B exists. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0041] In the description of the present disclosure, unless otherwise specified, "plurality" and "at least two" mean more than two (including two), and similarly, "multiple groups" and "at least two groups" mean more than two groups (including two).

[0042] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0043] The standing medical scanning device in the present disclosure can be medical equipment such as computed tomography (CT), magnetic resonance imaging (MRI), positron emission computed tomography (PET), single-photon emission computed tomography (SPECT), SPECT\CT or PET\CT.

[0044] Figure 1 A schematic diagram of the structure of a standing medical scanning device during a camera calibration process provided by an embodiment of the present disclosure, such as Figure 1 As shown, the standing medical scanning device 100 includes a vertical support 110, a gantry 120, a patient support 130 and a depth camera assembly 140. Among them, the patient support 130 is the patient's standing position, and the standing medical scanning device realizes the patient scanning process by lifting the patient or moving the frame. The depth camera assembly 140 is fixed to the top of the vertical support 110, wherein the depth camera assembly 140 includes multiple depth cameras and multiple camera calibration light sources, and the patient support 130 is located in the image acquisition area of ​​the depth camera, and the depth camera can obtain the depth image data of the patient's standing position.

[0045] Continue to see Figure 1 , the vertical support 110 is fixed on the ground and extends in the vertical direction, the gantry 120 is fixed on the mounting surface of the vertical support 110 close to the ground, and the gantry 120 extends in the horizontal direction. The patient support 130 is placed between the gantry 120 and the ground, and the level of the patient support 130 is adjusted so that the patient support 130 can be translated on the horizontal plane. After the patient support 130 is adjusted to the mounting position on the horizontal plane, it is fixed on the ground to complete the installation and debugging of the patient support 130. Then, the depth camera assembly 140 is installed and fixed on the top of the vertical support 110.

[0046] The installation deviation of the depth camera assembly 140 affects the accuracy of the depth camera position, resulting in inaccurate depth image data collected by the depth camera, that is, the depth image collected by the depth camera has a large error, thereby affecting the smooth progress of the image during the entire scanning process.

[0047] The depth camera calibration method provided in the present disclosure is applied to a standing medical scanning device in which the depth camera assembly 140 has been installed, such as Figure 1 shown.

[0048] The technical solution provided by the present disclosure is described in detail below with reference to several specific embodiments.

[0049] Figure 2 A flowchart of a depth camera calibration method provided by an embodiment of the present disclosure is shown in FIG. Figure 2 As shown, the specific steps of the depth camera calibration method include:

[0050] S101, adjusting the positions and / or angles of multiple depth cameras according to multiple camera calibration light sources and multiple first calibration marks set on a camera calibration tool.

[0051] For example, Figure 3 A schematic diagram of the structure of a camera calibration tool provided in an embodiment of the present disclosure is shown in FIG. Figure 3 As shown, the camera calibration tool 210 includes a first positioning member 211, and the first positioning member 211 is located on a side surface of the camera calibration tool facing the patient support 130. For example, the first positioning member 211 is a positioning pin.

[0052] A first positioning hole is provided on a surface of the patient support 130 facing the camera calibration tool 210. For example, the first positioning hole is a pin hole. The first positioning member 211 is inserted into the first positioning hole to accurately position the camera calibration tool 210, and the camera calibration tool 210 is fixed to the patient support 130 by fixing screws. Figure 1 At this time, the vertical line of the rotation center of the gantry 120 and the isocenter ISO of the camera calibration fixture 210 coincide with each other.

[0053] Continue to see Figure 3 The camera calibration tool 210 is provided with a plurality of first calibration scribed lines 212 on the side surface facing away from the ground. For example, the camera calibration tool 210 is provided with three first calibration scribed lines 212, such as Figure 3 For example, the first calibration mark 212 is a cross mark, such as Figure 3 shown.

[0054] In other embodiments, the surface of the camera calibration tool 210 facing away from the ground may be provided with two, four or more first calibration scribed lines 212, which is not specifically limited in the present disclosure. The first calibration scribed lines 212 may also be crisscross scribed lines, triangular scribed lines or other types of calibration scribed lines, which is not specifically limited in the present disclosure.

[0055] Figure 4 A schematic diagram of the structure of a depth camera assembly provided by an embodiment of the present disclosure is shown in FIG. Figure 4As shown, the depth camera assembly 140 includes multiple depth cameras 141 and multiple camera calibration light sources 142, and the photosensitive surface of the depth camera 141 faces the side surface of the camera calibration tooling 210 facing away from the ground, and the light emitting surface of the camera calibration light source 142 faces the side surface of the camera calibration tooling 210 facing away from the ground.

[0056] Exemplarily, the depth camera assembly 140 includes three depth cameras 141 and three camera calibration light sources 142. Figure 4 In other embodiments, the depth camera assembly 140 may further include two, four or more depth cameras 141 and two, four or more camera calibration light sources 142. The present disclosure does not specifically limit the number of depth cameras 141 and camera calibration light sources 142. It should be noted that the number of depth cameras 141, camera calibration light sources 142 and first calibration reticle 212 is equal.

[0057] Combination Figure 1 and Figure 4 As shown, the camera calibration light source 142 can emit a camera calibration beam 1421, for example, the camera calibration beam 1421 is a cross beam. In other embodiments, the camera calibration beam 1421 can also be a cross beam, a triangle beam or other types of calibration beams, and the present disclosure does not make specific restrictions on this. It should be noted that when the camera calibration beam 1421 matches the shape of the first calibration reticle 212, it is beneficial to improve the calibration accuracy of the depth camera 141.

[0058] After the depth camera assembly 140 is mounted on the top of the vertical bracket 110, the depth camera 141 is adjusted to be level, and is fixed with screws after being leveled, so that the depth camera 141 can be translated on the horizontal plane. Subsequently, all camera calibration light sources 142 are turned on, and the camera calibration beam 1421 emitted by each camera calibration light source 142 is irradiated to the side surface of the camera calibration fixture 210 facing away from the ground.

[0059] When there is at least one camera calibration beam 1421 whose center does not match the center of the first calibration reticle 212, at least one of the position of the depth camera 141 along the X-axis, the position along the Y-axis, the rotation angle along the X-axis, the rotation angle along the Y-axis, and the rotation angle along the Z-axis can be adjusted, so that the relative position of the center of all camera calibration beams 1421 and the center of the corresponding first calibration reticle 212 can be adjusted. When the center of each camera calibration beam 1421 is adjusted to match the center of one first calibration reticle 212, the position of the depth camera 141 along the X-axis, the position along the Y-axis, the rotation angle along the X-axis, the rotation angle along the Y-axis, and the rotation angle along the Z-axis are stopped, so as to complete the rough calibration of the position and angle of the depth camera 141.

[0060] S102: Adjust the position and / or angle of each depth camera according to the second calibration reticle in the plurality of calibration images and the image center of each calibration image.

[0061] For example, see Figure 3 The camera calibration tool 210 is also provided with a plurality of second calibration scribed lines 213 on the side surface facing away from the ground. For example, three second calibration scribed lines 213 are provided on the camera calibration tool 210, such as Figure 3 For example, the second calibration mark 213 is a cross mark, such as Figure 3 shown.

[0062] In other embodiments, the second calibration scale 213 may also be a cross scale, a triangle scale, or other types of calibration scales, and the present disclosure does not impose specific restrictions on this. The surface of the camera calibration tool 210 facing away from the ground may also be provided with two, four, or more than four second calibration scales 213, and the present disclosure does not impose specific restrictions on this. It should be specified that the number of the second calibration scales 213 and the number of the depth cameras 141 are equal.

[0063] After the rough calibration of the depth camera 141 is completed, each depth camera 141 may capture a calibration image based on the current position along the X-axis, the position along the Y-axis, the rotation angle along the X-axis, the rotation angle along the Y-axis, and the rotation angle along the Z-axis, each calibration image includes a second calibration reticle 213. For each calibration image, the center of the second calibration reticle 213 in the calibration image is compared with the image center of the calibration image to determine whether the center of the second calibration reticle 213 in each calibration image matches the image center of the calibration image.

[0064] When the center of the second calibration reticle 213 in at least one calibration image does not match the corresponding image center, at least one of the position of the depth camera 141 along the X axis, the position along the Y axis, the rotation angle along the X axis, the rotation angle along the Y axis, and the rotation angle along the Z axis is adjusted, thereby adjusting the relative position of the center of the second calibration reticle 213 in the calibration image and the corresponding image center. When the center of the second calibration reticle 213 in each calibration image is adjusted to match the image center of the calibration image, the position of the depth camera 141 along the X axis, the position along the Y axis, the rotation angle along the X axis, the rotation angle along the Y axis, and the rotation angle along the Z axis are stopped, thereby completing the fine calibration of the position and angle of the depth camera 141.

[0065] S103, calibrating the image algorithm of each depth camera according to the pixel coordinates and the calibration coordinates of the third calibration reticle within the field of view of each depth camera.

[0066] Exemplarily, after completing the calibration of the position and angle of the depth camera 141, the installation deviation of each depth camera 141 can be reduced, but the installation deviation of the depth camera 141 still exists and the installation deviation of each depth camera 141 is different. The initial image algorithm of each depth camera 141 is exactly the same. The depth cameras 141 with different installation deviations collect depth images based on the same image algorithm, and the depth image data obtained is inaccurate. Therefore, it is necessary to calibrate the image algorithm corresponding to each depth camera.

[0067] Continue to see Figure 3 The camera calibration fixture 210 is also provided with a plurality of third calibration scribed lines 214 with calibrated coordinates on the side surface facing away from the ground. For example, the camera calibration fixture 210 is provided with three third calibration scribed lines 214 with calibrated coordinates, and the calibrated coordinates of the three third calibration scribed lines 224 are respectively (-120, 160), (0, 210) and (100, 185). Figure 3 For example, the third calibration mark 214 is a cross mark, such as Figure 3 shown.

[0068] In other embodiments, the third calibration reticle 214 may also be a cross-shaped reticle, a triangular reticle, or other types of calibration reticle, and the present disclosure does not impose specific restrictions on this. The surface of the camera calibration tool 210 facing away from the ground may also be provided with two, four, or more than four third calibration reticle 214, and the present disclosure does not impose specific restrictions on this. It should be specified that the number of the third calibration reticle 214 and the number of the depth camera 141 are equal.

[0069] The pixel coordinates (u, v) are the coordinates in the pixel coordinate system, which is a plane rectangular coordinate system fixed on the image in pixels. The origin of the pixel coordinate system is the upper left corner of the depth camera image plane, the u axis of the pixel coordinate system is parallel to the depth camera image plane and points horizontally to the right, and the v axis is perpendicular to the u axis and points downward.

[0070] Each depth camera 141 can automatically lock the center of the third calibration reticle 214 in the field of view and obtain the center coordinates, that is, the pixel coordinates of the third calibration reticle 214. Alternatively, each depth camera 141 can lock the center of the third calibration reticle 214 in the field of view and obtain the pixel coordinates of the third calibration reticle 214 by manually clicking.

[0071] As a specific description of a possible implementation method when executing S103, Figure 5 As shown:

[0072] S201, determining the object plane coordinates of each third calibration reticle according to the pixel coordinates of each third calibration reticle.

[0073] Exemplarily, firstly, the image plane coordinates of each third calibration reticle are determined according to the pixel coordinates of each third calibration reticle.

[0074] The image plane coordinates (x, y) are the coordinates in the image coordinate system, which is a rectangular coordinate system. The origin of the image coordinate system is the intersection of the optical axis of the depth camera and the image plane. The x-axis of the image coordinate system is parallel to the u-axis of the pixel coordinate system, and the y-axis of the image coordinate system is parallel to the v-axis of the pixel coordinate system.

[0075] There is a conversion relationship between the pixel coordinate system and the image coordinate system, and the conversion relationship can be expressed as:

[0076]

[0077] Among them, dx represents the width of a single pixel, dy represents the height of a single pixel, u0 represents the horizontal coordinate of the pixel coordinate corresponding to the origin of the image coordinate system, and v0 represents the vertical coordinate of the pixel coordinate corresponding to the origin of the image coordinate system.

[0078] Substituting the obtained pixel coordinates (u, v) of each third calibration reticle into formula (1), the image plane coordinates (x, y) of each third calibration reticle can be obtained. In this way, the image plane coordinates of each third calibration reticle can be determined based on the conversion relationship between the pixel coordinate system and the image coordinate system and the pixel coordinates of each third calibration reticle.

[0079] Then, the object plane coordinates of each third calibration reticle are determined according to the image plane coordinates of each third calibration reticle and the distance between each third calibration reticle and the depth camera.

[0080] The object plane coordinates (Xc, Yc) are the coordinates formed by the Xc axis coordinates and the Yc axis coordinates in the camera coordinate system. The camera coordinate system is a three-dimensional rectangular coordinate system. The origin of the camera coordinate system is the optical center of the depth camera, the Xc axis of the camera coordinate system is parallel to the x axis of the image coordinate system, the Yc axis of the camera coordinate system is parallel to the y axis of the image coordinate system, and the Zc axis of the camera coordinate system is the optical axis of the depth camera.

[0081] There is a conversion relationship between the image coordinate system and the camera coordinate system, and this conversion relationship can be expressed as:

[0082]

[0083] Where f is the focal length of the depth camera.

[0084] The distance between the third calibration reticle and the depth camera can be understood as the Zc axis coordinate of the third calibration reticle in the camera coordinate system. Based on this, the distance between each third calibration reticle and the depth camera and the image plane coordinates (x, y) of the corresponding third calibration reticle are substituted into formula (2) to obtain the object plane coordinates (Xc, Yc) of each third calibration reticle. In this way, the object plane coordinates of each third calibration reticle can be determined based on the conversion relationship between the image coordinate system and the camera coordinate system, the distance between each third calibration reticle and the depth camera, and the image plane coordinates of each third calibration reticle.

[0085] S202: Calibrate an image algorithm of a corresponding depth camera according to the object plane coordinates and the calibration coordinates of each third calibration reticle.

[0086] Exemplarily, for each third calibration reticle in the field of view of the depth camera, determine whether its object coordinates match the calibration coordinates. Wherein, the object coordinates match the calibration coordinates can be understood as the distance between the object coordinates and the calibration coordinates is less than the preset distance, and the object coordinates do not match the calibration coordinates can be understood as the distance between the object coordinates and the calibration coordinates is greater than or equal to the preset distance.

[0087] For example, the object plane coordinates of the third calibration reticle are (Xc1, Yc1), the calibration coordinates of the third calibration reticle are (Xc2, Yc2), and the preset distance is s. Then the object plane coordinates match the calibration coordinates, if Then the object plane coordinates and the calibration coordinates do not match.

[0088] For each third calibration reticle within the field of view of the depth camera, when the object plane coordinates of the third calibration reticle do not match the calibration coordinates, adjust at least some parameters in the image algorithm of the depth camera to adjust the pixel coordinates of the third calibration reticle within the field of view of the depth camera, thereby adjusting the object plane coordinates of the third calibration reticle within the field of view of the depth camera. When the object plane coordinates of the third calibration reticle within the field of view of the depth camera are adjusted to match the calibration coordinates, the calibration of the image algorithm corresponding to the depth camera is terminated.

[0089] In the disclosed embodiment, by adjusting the positions and / or angles of multiple depth cameras according to multiple camera calibration light sources and multiple first calibration marks set on the camera calibration tooling, and adjusting the position and / or angle of each depth camera according to the second calibration marks in multiple calibration images and the image center of each calibration image, the position and angle of the depth camera can be calibrated to reduce the installation deviation of the depth camera, which can reduce the error of the depth image, thereby improving the accuracy of the scanned image. By calibrating the image algorithm of each depth camera according to the pixel coordinates and calibration coordinates of the third calibration marks within the field of view of each depth camera, the image algorithm of the depth camera with different installation deviations can be calibrated to adaptively compensate for different installation deviations, which can reduce the error of the depth image, thereby improving the accuracy of the scanned image.

[0090] In some embodiments, the camera calibration fixture 210 may be movable in a vertical direction to simulate different patient heights.

[0091] Based on the above embodiment, after executing S103, the following step is further included:

[0092] Determine whether the current position of the camera calibration tool is the position of the last simulated height. When the position of the camera calibration tool is not the position of the last simulated height, adjust the position of the camera calibration tool along the vertical direction, and return to execute S101 until the position of the camera calibration tool is the position of the last simulated height.

[0093] Exemplarily, the position of the camera calibration jig 210 can be adjusted starting from the position of the simulated height closest to the ground and in a direction away from the ground. If the current position of the camera calibration jig 210 in the vertical direction is not the position of the last simulated height, the position of the camera calibration jig 210 in the vertical direction is adjusted. If the current position of the camera calibration jig 210 in the vertical direction is the position of the last simulated height, the adjustment of the position of the camera calibration jig 210 in the vertical direction is stopped.

[0094] After each adjustment of the position of the camera calibration fixture 210 in the vertical direction, the position and angle of each depth camera 141 are calibrated, and the image algorithm of each depth camera 141 is calibrated. When the position and angle of each depth camera 141 and the image algorithm are calibrated for the last height simulated by the camera calibration fixture 210, the calibration of the depth camera 141 is completed.

[0095] In the disclosed embodiment, when the position of the camera calibration jig is not the position of the last simulated height, the position of the camera calibration jig along the vertical direction is adjusted, and the operation returns to be executed according to multiple camera calibration light sources and multiple first calibration lines set on the camera calibration jig to adjust the positions and / or angles of multiple depth cameras until the position of the camera calibration jig is the position of the last simulated height. The depth camera position, angle and image algorithm can be calibrated according to the heights of different patients, so that the standing medical scanning device can scan patients of different heights more accurately, thereby improving the accuracy of the scanned image.

[0096] The present disclosure also provides a depth camera calibration device for use in Figure 1 In the stand-up medical scanning device shown. Figure 1 As shown, the standing medical scanning device 100 includes a vertical support 110 , a gantry 120 , a patient support 130 and a depth camera assembly 140 .

[0097] The depth camera calibration device includes a camera calibration fixture 210, a camera adjustment module and an algorithm adjustment module. The camera calibration fixture 210 is provided with a plurality of first calibration scribed lines 212, a plurality of second calibration scribed lines 213 and a plurality of third calibration scribed lines 214 with calibrated coordinates, such as Figure 3 shown.

[0098] The camera adjustment module is used to adjust the positions and / or angles of the multiple depth cameras 141 according to the multiple camera calibration light sources 142 and the multiple first calibration reticles 212, and adjust the position and / or angle of each depth camera 141 according to the second calibration reticle 213 in the multiple calibration images and the image center of each calibration image. The algorithm adjustment module is used to calibrate the image algorithm of each depth camera 141 according to the pixel coordinates and calibration coordinates of the third calibration reticle 214 in the field of view of each depth camera.

[0099] For example, Figure 3 As shown, the surface of the camera calibration tool 210 facing away from the ground is provided with a plurality of first calibration scribed lines 212, a plurality of second calibration scribed lines 213, and a plurality of third calibration scribed lines 214 with calibrated coordinates. For example, the first calibration scribed lines 212, the second calibration scribed lines 213, and the third calibration scribed lines 214 are cross scribed lines, such as Figure 3 shown.

[0100] In other embodiments, the first calibration mark 212, the second calibration mark 213 and the third calibration mark 214 may also be a Pozigzag mark, a triangular mark or other types of calibration marks, and the present disclosure does not impose any specific limitation on this.

[0101] For example, the camera calibration tool 210 has three first calibration scale lines 212, three second calibration scale lines 213, and three third calibration scale lines 214 with calibrated coordinates disposed on the side surface facing away from the ground. Figure 3 shown.

[0102] In other embodiments, the surface of the camera calibration fixture 210 facing away from the ground may be provided with two, four or more first calibration scribed lines 212, two, four or more second calibration scribed lines 213, and two, four or more third calibration scribed lines 214. The present disclosure does not specifically limit the number of the first calibration scribed lines 212, the second calibration scribed lines 213, and the third calibration scribed lines 214. It should be specified that the number of the first calibration scribed lines 212, the second calibration scribed lines 213, the third calibration scribed lines 214, the camera calibration light source 142, and the depth camera 141 is equal.

[0103] For example, Figure 4 As shown, the camera adjustment module includes: a hanging bracket 1431, an adjustment screw 1432, an X-axis translation bracket 1433, an inclination adjustment block 1434, a base Z-axis 1435, a base Y-axis 1436, a base X-axis 1437 and a mounting bracket 1438. Among them, the hanging bracket 1431 is used to hang the entire depth camera assembly 140, and the hanging bracket 1431 and the adjustment screw 1432 cooperate to adjust the position of the depth camera 141 along the Y-axis.

[0104] The X-axis translation bracket 1433 cooperates with the adjustment screw 1432 to adjust the position of the depth camera 141 along the X-axis. The base Z-axis 1435 cooperates with the tilt adjustment block 1434 to adjust the rotation angle of the depth camera 141 along the Y-axis. The base Y-axis 1436 cooperates with the tilt adjustment block 1434 to adjust the rotation angle of the depth camera 141 along the X-axis. The base X-axis 1437 cooperates with the mounting bracket 1438 to adjust the rotation angle of the depth camera 141 along the Z-axis.

[0105] In this way, the camera adjustment module can adjust the position of the depth camera 141 along the X-axis, the position along the Y-axis, the rotation angle along the X-axis, the rotation angle along the Y-axis, and the rotation angle along the Z-axis, that is, the camera adjustment module can adjust the position and / or angle of the depth camera 141.

[0106] After the depth camera assembly 140 is mounted on the top of the vertical bracket 110, the depth camera 141 is adjusted to be level, and is fixed with screws after being leveled, so that the depth camera 141 can be translated on the horizontal plane. Subsequently, all camera calibration light sources 142 are turned on, and the camera calibration beam 1421 emitted by each camera calibration light source 142 is irradiated to the side surface of the camera calibration fixture 210 facing away from the ground.

[0107] When there is at least one camera calibration beam 1421 whose center does not match the center of the first calibration reticle 212, the camera adjustment module may adjust at least one of the position of the depth camera 141 along the X-axis, the position along the Y-axis, the rotation angle along the X-axis, the rotation angle along the Y-axis, and the rotation angle along the Z-axis, so as to adjust the relative position of the center of all camera calibration beams 1421 and the center of the corresponding first calibration reticle 212. When the center of each camera calibration beam 1421 is adjusted to match the center of one first calibration reticle 212, the camera adjustment module stops adjusting the position of the depth camera 141 along the X-axis, the position along the Y-axis, the rotation angle along the X-axis, the rotation angle along the Y-axis, and the rotation angle along the Z-axis, so as to complete the rough calibration of the position and angle of the depth camera 141.

[0108] Then, each depth camera 141 captures a calibration image based on the current position along the X-axis, the position along the Y-axis, the rotation angle along the X-axis, the rotation angle along the Y-axis, and the rotation angle along the Z-axis, each calibration image includes a second calibration reticle 213. For each calibration image, the center of the second calibration reticle 213 in the calibration image is compared with the image center of the calibration image to determine whether the center of the second calibration reticle 213 in each calibration image matches the image center of the calibration image.

[0109] When there is a mismatch between the center of the second calibration reticle 213 in at least one calibration image and the corresponding image center, the camera adjustment module adjusts at least one of the position of the depth camera 141 along the X-axis, the position along the Y-axis, the rotation angle along the X-axis, the rotation angle along the Y-axis, and the rotation angle along the Z-axis, thereby adjusting the relative position between the center of the second calibration reticle 213 in the calibration image and the corresponding image center. When the center of the second calibration reticle 213 in each calibration image is adjusted to match the image center of the calibration image, the camera adjustment module stops adjusting the position of the depth camera 141 along the X-axis, the position along the Y-axis, the rotation angle along the X-axis, the rotation angle along the Y-axis, and the rotation angle along the Z-axis, thereby completing the fine calibration of the position and angle of the depth camera 141.

[0110] The algorithm adjustment module may determine the object plane coordinates of each third calibration reticle according to the pixel coordinates of each third calibration reticle, and then calibrate the image algorithm of the corresponding depth camera according to the object plane coordinates of each third calibration reticle and the calibration coordinates.

[0111] In some embodiments, a possible implementation method in which the algorithm adjustment module determines the object plane coordinates of each third calibration reticle according to the pixel coordinates of each third calibration reticle is specifically described as follows:

[0112] The algorithm adjustment module determines the image plane coordinates of each third calibration reticle according to the pixel coordinates of each third calibration reticle, and determines the object plane coordinates of each third calibration reticle according to the image plane coordinates of each third calibration reticle and the distance between each third calibration reticle and the depth camera.

[0113] Exemplarily, the algorithm adjustment module determines the image plane coordinates of each third calibration reticle according to the conversion relationship between the pixel coordinate system and the image coordinate system and the pixel coordinates of each third calibration reticle. The algorithm adjustment module determines the object plane coordinates of each third calibration reticle according to the conversion relationship between the image coordinate system and the camera coordinate system, the distance between each third calibration reticle and the depth camera, and the image plane coordinates of each third calibration reticle.

[0114] In some embodiments, a possible implementation method of calibrating the image algorithm of the corresponding depth camera according to the object plane coordinates and the calibration coordinates of each third calibration reticle as an algorithm adjustment module is specifically described as follows:

[0115] For each third calibration reticle within the field of view of the depth camera, the algorithm adjustment module determines whether its object coordinates match the calibration coordinates. When the object coordinates of the third calibration reticle do not match the calibration coordinates, at least some parameters in the image algorithm of the depth camera are adjusted to adjust the pixel coordinates of the third calibration reticle within the field of view of the depth camera, thereby adjusting the object coordinates of the third calibration reticle within the field of view of the depth camera. When the object coordinates of the third calibration reticle within the field of view of the depth camera are adjusted to match the calibration coordinates, the calibration of the image algorithm corresponding to the depth camera is terminated.

[0116] In the present disclosure, depth The camera calibration device includes a camera calibration tool, a camera adjustment module and an algorithm adjustment module. The camera calibration tool is provided with a plurality of first calibration marks, a plurality of second calibration marks and a plurality of third calibration marks with calibrated coordinates. The camera adjustment module can adjust the positions and / or angles of a plurality of depth cameras according to a plurality of camera calibration light sources and a plurality of first calibration marks, and adjust the position and / or angle of each depth camera according to the second calibration marks in a plurality of calibration images and the image center of each calibration image, so as to calibrate the position and angle of the depth camera to reduce the installation deviation of the depth camera, which can reduce the error of the depth image, thereby improving the accuracy of the scanned image. The algorithm adjustment module calibrates the image algorithm of each depth camera according to the pixel coordinates and the calibrated coordinates of the third calibration marks within the field of view of each depth camera, and can calibrate the image algorithm of the depth camera with different installation deviations to adaptively compensate for different installation deviations, which can reduce the error of the depth image, thereby improving the accuracy of the scanned image.

[0117] In some embodiments, Figure 6A schematic diagram of the structure of another standing medical scanning device in a camera calibration process provided by an embodiment of the present disclosure, such as Figure 6 As shown, the depth camera calibration device further includes a height adjustment module 220. The height adjustment module 220 is fixed to the patient support 130, and the camera calibration fixture 210 is installed on the height adjustment module 220. The camera calibration fixture 210 can move vertically on the height adjustment module 220 to simulate the heights of different patients.

[0118] The height adjustment module 220 is used to adjust the position of the camera calibration tool 210 along the vertical direction when the position of the camera calibration tool 210 is not the position of the last simulated height, until the position of the camera calibration tool 210 is the position of the last simulated height.

[0119] For example, Figure 7 A structural diagram of a height adjustment module provided in an embodiment of the present disclosure is shown in FIG. Figure 7 As shown, the height adjustment module 220 includes a second positioning member 221 disposed at the bottom, for example, the second positioning member 221 is a positioning pin. A second positioning hole 222 is disposed at the top of the height adjustment module 220, for example, the second positioning hole 222 is a pin hole.

[0120] Combination Figure 3 and Figure 7 As shown, the second positioning member 221 is inserted into the first positioning hole of the patient support 130, and the first positioning member 211 is inserted into the second positioning hole 222 to ensure the position accuracy of the patient support 130, the height adjustment module 220 and the camera calibration tool 210. The height adjustment module 220 is fixed to the patient support 130 by a fixing member, and the camera calibration tool 210 is fixed to the height adjustment module 220, as shown in FIG. Figure 6 shown.

[0121] When the position of the camera calibration tool 210 is not the position of the last simulated height, the height adjustment module 220 adjusts the position of the camera calibration tool 210 along the vertical direction until the position of the camera calibration tool is the position of the last simulated height.

[0122] The height adjustment module 220 can adjust the position of the camera calibration tool 210 from the position of the simulated height closest to the ground in a direction away from the ground. If the current position of the camera calibration tool 210 along the vertical direction is not the position of the last simulated height, the height adjustment module 220 adjusts the position of the camera calibration tool 210 along the vertical direction. If the current position of the camera calibration tool 210 along the vertical direction is the position of the last simulated height, the height adjustment module 220 stops adjusting the position of the camera calibration tool 210 along the vertical direction.

[0123] After each adjustment of the position of the camera calibration fixture 210 in the vertical direction, the camera adjustment module calibrates the position and angle of each depth camera 141, and the algorithm adjustment module calibrates the image algorithm of each depth camera 141. When the camera adjustment module and the algorithm adjustment module complete the calibration of the position and angle of each depth camera 141 and the calibration of the image algorithm for the last height simulated by the camera calibration fixture 210, the calibration of the depth camera 141 is completed.

[0124] In the disclosed embodiment, the depth camera calibration device also includes a height adjustment module. When the position of the camera calibration tool is not the position of the last simulated height, the height adjustment module adjusts the position of the camera calibration tool along the vertical direction until the position of the camera calibration tool is the position of the last simulated height. The depth camera position, angle and image algorithm can be calibrated according to the height of different patients, so that the standing medical scanning equipment can scan patients of different heights more accurately, thereby improving the accuracy of the scanned image.

[0125] The calibration device provided in the embodiment of the present disclosure is used to execute the steps of any of the above method embodiments, and has the same beneficial effects as the above method embodiments, which will not be repeated here.

[0126] Unless the context clearly indicates otherwise, the singular form of the words used herein and in the appended claims includes the plural and vice versa. Thus, when referring to the singular, the plural form of the corresponding term is generally included. Similarly, the words "comprise" and "include" are to be interpreted as inclusive rather than exclusive. Likewise, the terms "include" and "or" should be interpreted as inclusive unless such interpretation is expressly prohibited herein. Where the term "example" is used herein, particularly when it is located after a group of terms, the "example" is merely exemplary and illustrative and should not be considered exclusive or comprehensive.

[0127] Further aspects and scopes of adaptability become apparent from the description provided herein. It should be understood that various aspects of the present application can be implemented individually or in combination with one or more other aspects. It should also be understood that the description and specific embodiments herein are intended for purposes of illustration only and are not intended to limit the scope of the present application.

[0128] Several embodiments of the present disclosure are described in detail above, 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 attached claims.

Claims

1. A depth camera calibration method for a standing medical scanning device, characterized in that: include: Adjusting the positions and / or angles of the multiple depth cameras according to the multiple camera calibration light sources and the multiple first calibration marks provided on the camera calibration tooling, wherein the camera calibration tooling is also provided with multiple second calibration marks and multiple third calibration marks with calibrated coordinates; Adjusting the position and / or the angle of each of the depth cameras according to the second calibration reticle in a plurality of calibration images and an image center of each of the calibration images; The image algorithm of each of the depth cameras is calibrated according to the pixel coordinates and the calibration coordinates of the third calibration reticle within the field of view of each of the depth cameras.

2. The method according to claim 1, characterized in that The image algorithm of calibrating each of the depth cameras according to the pixel coordinates and the calibration coordinates of the third calibration reticle within the field of view of each of the depth cameras comprises: Determining the object plane coordinates of each of the third calibration reticles according to the pixel coordinates of each of the third calibration reticles; The image algorithm of the corresponding depth camera is calibrated according to the object plane coordinates and the calibration coordinates of each of the third calibration reticles.

3. The method according to claim 2, characterized in that Determining the object plane coordinates of each of the third calibration reticles according to the pixel coordinates of each of the third calibration reticles comprises: Determining image plane coordinates of each of the third calibration reticles according to the pixel coordinates of each of the third calibration reticles; The object plane coordinates of each of the third calibration reticles are determined according to the image plane coordinates of each of the third calibration reticles and the distance between each of the third calibration reticles and the depth camera.

4. The method according to claim 2, characterized in that: The step of calibrating the image algorithm of the corresponding depth camera according to the object plane coordinates and the calibration coordinates of each of the third calibration reticles comprises: For each of the third calibration lines within the field of view of the depth camera: when the object plane coordinates do not match the calibration coordinates, adjust at least some parameters in the image algorithm of the corresponding depth camera until the object plane coordinates match the calibration coordinates.

5. The method according to claim 4, characterized in that The object plane coordinates are matched with the calibration coordinates so that a distance between the object plane coordinates and the calibration coordinates is less than a preset distance.

6. The method according to claim 3, characterized in that Determining the image plane coordinates of each of the third calibration reticles according to the pixel coordinates of each of the third calibration reticles comprises: The image plane coordinates of each of the third calibration reticles are determined according to a conversion relationship between a pixel coordinate system and an image coordinate system and the pixel coordinates of each of the third calibration reticles.

7. The method according to claim 3, characterized in that Determining the object plane coordinates of each of the third calibration reticles according to the image plane coordinates of each of the third calibration reticles and the distance between each of the third calibration reticles and the depth camera comprises: The object plane coordinates of each of the third calibration reticles are determined according to a conversion relationship between an image coordinate system and a camera coordinate system, a distance between each of the third calibration reticles and the depth camera, and the image plane coordinates of each of the third calibration reticles.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: When the position of the camera calibration jig is not the position of the last simulated height, adjust the position of the camera calibration jig along the vertical direction, and return to execute the process of adjusting the positions and / or angles of multiple depth cameras according to the multiple camera calibration light sources and the multiple first calibration lines set on the camera calibration jig until the position of the camera calibration jig is the position of the last simulated height.

9. A depth camera calibration device for a standing medical scanning device, characterized in that: include: A camera calibration tooling is provided with a plurality of first calibration scribed lines, a plurality of second calibration scribed lines, and a plurality of third calibration scribed lines with calibrated coordinates; A camera adjustment module, configured to adjust the positions and / or angles of a plurality of depth cameras according to a plurality of camera calibration light sources and a plurality of the first calibration reticle; Adjusting the position and / or the angle of each of the depth cameras according to a second calibration reticle in a plurality of calibration images and an image center of each of the calibration images; The algorithm adjustment module is used to calibrate the image algorithm of each of the depth cameras according to the pixel coordinates and the calibration coordinates of the third calibration reticle within the field of view of each of the depth cameras.

10. The depth camera calibration device according to claim 9, characterized in that: The depth camera calibration device also includes: The height adjustment module is used to adjust the position of the camera calibration tool along the vertical direction when the position of the camera calibration tool is not the position of the last simulated height, until the position of the camera calibration tool is the position of the last simulated height.

Citation Information

Cited By

  • Error calibration method and device for screw locking machine

    CN119681617A

  • Camera calibration method, device and system for standing position CT (Computed Tomography) equipment

    CN120318333A

  • Camera calibration method, device and system for standing CT equipment

    CN120318333B