AN INTEGRATED X-RAY PRECISION IMAGING DEVICE
20220079544 · 2022-03-17
Inventors
Cpc classification
G01T1/161
PHYSICS
A61B6/0407
HUMAN NECESSITIES
International classification
A61B6/00
HUMAN NECESSITIES
A61B6/04
HUMAN NECESSITIES
Abstract
The invention relates to medical equipment, and particularly relates to an integrated X-Ray precision imaging device, which includes a table, a control module, an X-ray emitting device, an X-ray receiving device, and a thickness measuring mechanism. The X-ray emitting device and the X-ray receiving device are arranged on the table, the X-ray emitting device is located above the X-ray receiving device, the thickness measuring mechanism is provided on the X-ray emitting device, the thickness measuring mechanism and the X-ray emitting device. Both are electrically connected to the control module. By setting a measurement mechanism, the invention can accurately measure the body shape of a patient in real time, and control the precise emission amount of X-rays through the body shape data of the patient to ensure that a clear image is obtained, and at the same time, minimize the possibility of the patient being harmed by ionizing radiation.
Claims
1-67. (canceled)
68. An integrated X-Ray precision imaging device comprising: a table; a control module; an X-ray emitting device; an X-ray detection device; a patient thickness measuring camera integrated with an X-ray collimator; a computer system that automatically adjusts X-ray emission parameters based on measured patient thickness; and wherein the X-ray emitting device and X-ray detection device are both arranged such that the X-ray emitting device is located above an X-ray receiving flat panel, and wherein the thickness measuring stereo camera and the X-ray emitting device are both electrically connected to a micro-computer.
69. The integrated X-Ray precision imaging device according to claim 68, wherein the X-ray emitting device is comprised of a high-voltage generator is stowed within the table base and is electrically connected to the micro-computer, an X-ray tube is connected above the X-ray collimator and directs the light downward to the X-ray receiving flat panel; and wherein the thickness measuring camera is arranged on the X-ray collimator facing a patient, a connecting frame comprises a tube stand, a transverse arm and a support base and the X-ray tube and collimator are connected to the support base.
70. The integrated X-Ray precision imaging device according to claim 68, characterized in that dimensions of the collimated X-ray beam can be adjusted; an end of the transverse arm is connected to the tube stand and the transverse arm can be adjusted up and down along the tube stand.
71. The integrated X-Ray precision imaging device according to claim 68, characterized in that the X-ray detection device is a flat panel detector connected to the table with floating table top positioned above it; and touch screen display is provided on the X-Ray emission device.
72. An X-ray dose determination method based on thickness value comprised of the following steps: accurately measuring body thickness for a patient under exposure in real-time wherein an image depth value is obtained to calculate a real thickness of the body part and the image depth value is passed to a measurement range table stored inside an EI standard processor; searching the range table for corresponding exposure dosage values for a calculated thickness measurement of the patient; receiving at an X-ray generator the exposure dosage values and using the exposure dosage values to set specified operating voltage of the tube kVp product and the operating current mA.Math.s, and emitting an X-ray corresponding to radiation of a specified quality time; producing a clear and accurate imaging with a flat panel detector with suitable reception quality of X-ray radiation.
73. The method according to claim 72, wherein step (a) can be integrated into a visible light measuring system, near-visible or measuring system of any one of an ultrasonic measuring system.
74. The method according to claim 72, wherein step (a) further includes the steps of measuring thickness of body measurements; obtaining a distance L1 from the surface of the patient under exposure; and calculating the difference L, considering background distance (distance from flat panel) L2 and L1 of the body measurement system by the algorithm processor, the value “L” is the body thickness measurement of the corresponding body part of the patient.
75. A median filtering method for thickness measurement comprising the following steps: performing N predictions on a surface of a measured object/body part through a distance measuring device to obtain N measured values si, where si represents a distance from a depth camera to the surface of the object/body part to be measured, i represents the measurement index where values range from i=1, 2, N; creating a first-in first-out queue with a capacity of n to store the measured values, wherein when the number of measured values in the queue reaches n, the queue discards the earliest measured value that enters the queue and puts the new measured value into the queue, so that the queue stores the latest n measurement values; obtaining a median a in the queue by means of fast median filtering, and the median a is an accurate value of N predicted quantities; calibrating a distance b of the camera to the background, wherein the distance b is from a collimator to a table without a patient or obstructing object/body part present and the thickness value L of an object/body part on the table is then calculated as L=b−a.
76. The median filtering method for thickness measurement according to claim 75, wherein step (c), includes an algorithm for fast median filtering comprising: setting a value range [m, M] of predicted median values in advance; instantiating array A with a capacity of M−m+1 with all elements initialized to 0; when a new measured value mk is added to the queue, Amk increases by 1; when an old measurement value m.sub.j is discarded, Am.sub.j decreases by 1 and array A records the number of occurrences of each measurement value from m to M where: ϵ.sub.i=Σ.sup.i a; and for this array, accumulate local sums from and to: l=1.sup.l, ϵ.sub.i−1<n/2, where the measured value i−m+1 is the median ϵ.sub.i>n/2.
77. The median filtering method for thickness measurement according to claim 76, characterized in that the quick sorting algorithm continuously adjusts the narrowed value range [m, M] according to the new and old measured values, and the narrowed value range.
78. The median filtering method for thickness measurement according to claim 75, characterized in that: the measured object/body part is placed on a flat plate during measurement, and the distance b represents the measurement of a vertical distance from a transmitting head to a flat plate.
79. An accurate measurement imaging system based on X-rays, comprising: a thickness measurement module for measuring a thickness value of an illuminated object/body part in real time; and an X-ray imaging module that accepts the thickness value sent by the thickness measurement module and brings the thickness value into an EI standard range table to obtain corresponding exposure parameters and then emits X-rays for imaging.
80. The accurate measurement imaging system according to claim 79, wherein the exposure parameters include a working tube voltage and a working tube current product.
81. The accurate measurement imaging system according to claim 79, characterized in that the X-ray imaging module includes a control unit connected to the thickness measurement module, and EI is written in the control unit standard range table.
82. The accurate measurement imaging system according to claim 79, wherein the X-ray imaging module further comprises a high-voltage generator, an X-ray tube, a beam lighter/collimator, and an X-ray receiving imaging module; wherein the control unit is connected to the high-voltage generator and controls the high-voltage generator to provide electric power to the X-ray tube, and the X-rays emitted by the X-ray tube are adjusted by a beam setter at the emitting end of the X-ray tube to pass through the illuminated object/body part and enter the X-ray receiving imaging module for imaging.
83. The accurate measurement imaging system according to claim 79, wherein: the X-ray receiving and imaging module is a flat panel detector.
84. The accurate measurement imaging system according to claim 79, wherein the thickness measurement module comprises a distance measuring unit coplanar with an X-ray emitting end of the X-ray imaging module, and a thickness calculation unit connected to the distance measuring unit; wherein the thickness calculation unit calculates a thickness value of the illuminated the body part according to a distance value detected by the distance measuring unit in real time and inputs the thickness value to the X-ray imaging module.
85. The accurate measurement imaging system according to claim 84, wherein the distance measuring unit is an ultrasonic distance meter.
86. The accurate measurement imaging system according to claim 84, wherein the distance measuring unit is a dual camera distance measuring module.
87. The accurate measurement imaging system according to claim 84, characterized in that: the distance measuring unit is set in a beam lighter/collimator, and a calculation start end of the distance measuring unit and the beam lighter/collimator emit the end surfaces are coplanar.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0243] The invention will be further understood from the following description with reference to the attached drawings.
[0244]
[0245]
[0246]
[0247]
[0248]
[0249]
[0250]
[0251]
[0252]
[0253]
[0254]
[0255]
[0256]
[0257]
[0258]
[0259]
[0260]
[0261]
[0262]
[0263]
[0264]
[0265]
[0266]
[0267]
[0268]
[0269]
[0270]
[0271]
[0272]
[0273]
[0274]
[0275]
[0276]
[0277]
[0278]
[0279]
[0280]
[0281]
[0282]
[0283]
[0284]
[0285]
[0286]
[0287]
[0288]
[0289]
[0290]
[0291]
[0292]
DETAILED DESCRIPTION
[0293] A preferred embodiment of the present invention will be set forth in detail with reference to the drawings, in which like reference numerals refer to like elements or method steps throughout. The present invention will be further described below with reference to the drawings and specific embodiments. It should be noted that although the description of these embodiments is used to help understand the present invention, it does not limit the present invention. The specific structural and functional details disclosed herein are merely used to describe example embodiments of the invention. However, the invention may be embodied in many alternative forms and should not be construed as limited to the embodiments set forth herein.
[0294] It should be understood that, although the terms first, second, etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are only used to distinguish one unit from another. For example, a first unit may be referred to as a second unit, and similarly, a second unit may be referred to as a first unit without departing from the scope of the exemplary embodiments of the present invention.
[0295] It should be understood that, for the term “and/or” that may appear in this article, it is only an association relationship describing the associated object/body part, which means that there can be three kinds of relationships, for example, A and/or B, which can mean: A exists alone, B exists alone, and A and B exist simultaneously; for terms that may appear in this article “/And”, which describes another kind of related object/body part relationship, means that there can be two kinds of relationships, for example, A/ and B, can mean: there are two cases of A alone, and A and B alone; in addition, for this article, The possible characters “/” generally indicate that the related object/body parts are an “or” relationship.
[0296] It should be understood that the terminology used herein is used only to describe a particular embodiment and is not intended to limit example embodiments of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms unless the context clearly indicates the contrary. It should also be understood that if the terms “including,” “including,” “including,” and/or “including” are used herein, the stated features, integers, steps, operations, units and/or components are specified. Presence and does not exclude the presence or increase of one or more other features, quantities, steps, operations, units, components and/or combinations thereof.
[0297] It should be understood that specific details are provided in the following description to facilitate a thorough understanding of the example embodiments. However, one of ordinary skill in the art would understand that example embodiments may be implemented without these specific details. For example, the system can be shown in a block diagram to avoid making the example unclear with unnecessary details. In other instances, well-known processes, structures, and techniques may not be shown in unnecessary detail to avoid obscuring the example embodiments.
[0298] The present invention will be further describable below with reference to the drawings and specific components.
EXAMPLE 1
[0299] As shown in
[0300] Working principle: The thickness measurement mechanism accurately measures the thickness of object/body parts between the collimator and table top in real time by acquiring image depth information. Specifically, the distance between the X-ray emitting point of the X-ray tube and the table top is measured. A second distance measurement is made between the X-ray emitting point and the upper epidermis of the patient after lying on the table top. A live measurement of this second distance is passed to the processor electrically. The processor then calculates the difference between the initial calibration distance and subsequent distance measurements, resulting in a measurement of the patient's thickness. The above thickness measurement mechanism and processor are all existing technologies. The thickness measurement mechanism uses a stereo camera, monocular structured infrared light, laser sensor, sonar sensor, etc.. The binocular camera works best; after the processor gets the data, it looks for the X-ray tube corresponding to the patient's body in the “EI standard range table” pre-stored in the processor then outputs an accurate tube voltage kVp and current-time product mA.Math.s. The required exposure parameters are passed to the X-ray emission device electrically connected to the processor. The above-mentioned “EI standard range table” is established based on the standard radiation quality RQA5 standard of the specific image chain system. This table can be queried by related data; after receiving the required exposure parameters, the X-ray emission device will issue the voltage and current product value specified by the required exposure parameters (usually the high voltage generator in the X-ray emission device. The maximum current reached multiplied by the shortest working time); the X-ray emitting device emits X-rays corresponding to the radiation quality (penetration, density) within a specified time under the specified voltage and current; the flat panel receives the appropriate amount of X-rays for clear and accurate imaging.
[0301] The invention not only meets the diagnosis requirements of a diagnosis doctor, but also can obtain clear images, and at the same time greatly reduces the possibility of patients being harmed by ionizing radiation.
EXAMPLE 2
[0302] As a preferred solution of the present invention, on the basis of Embodiment 1, the X-ray emitting device includes a high-voltage generator 1, an X-ray tube 6, a connecting frame and a beam lighter/collimator 8, and the high-voltage generator 1 is connected. On the table 12, the high-voltage generator 1 is electrically connected to the control module, and the X-ray tube 6 is connected by the frame and is connected to the high-voltage generator 1. the X-ray tube 6 is electrically connected to the high-voltage generator 1, and the beam of light device 8 is connected to the X-ray tube 6, and the beam lighter/collimator 8 is located above the X-ray receiving device. The mechanism 11 is arranged on the light beam 8. The high voltage generator 1 mainly provides high voltage power for the X-ray tube 6 is composed of a cathode filament and an anode target, and a vacuum glass tube. When the filament is powered, the filament is heated to generate free electrons and gather near the cathode. When the high-voltage generator 1 supplies high-voltage electricity to the two poles of the X-ray tube, the potential difference between the cathode and the anode sharply increases, and free electrons in an active state are strongly attracted to make the bunch of electrons from the cathode to the anode at high speed Traveling and striking the anode target atomic structure.
[0303] At this time, energy conversion occurs, of which about 1% of the energy forms X-rays, and the remaining 99% or more is converted into thermal energy. The control module is mainly used to control the voltage and current output value of the high-voltage generator 1. The beam lighter/collimator 8 is mainly used to guide and adjust the field of view of the X-rays. The measuring mechanism 11 is mainly used to detect the body shape of the patient, and measure the body shape data of the patient, so as to adjust the optimal X-ray dose through the body shape data, ensure a clear diagnosis and reduce radiation damage to the patient. The collimator 8 is arranged above the X-ray receiving device, and is convenient for the X-ray receiving device to receive X-ray imaging. Since the patient is generally located on the X-ray receiving device, the measurement mechanism 11 is provided on the beam lighter/collimator to facilitate the measurement mechanism to measure the patient's body shape.
EXAMPLE 3
[0304] As a preferred solution of the present invention, on the basis of Embodiment 2, the connecting frame includes a ball tube. One end of the column 4, the cross arm 5 and the support base 7, the tube column 4 is connected to the high voltage generator 1, the arm 5 is fixedly connected to the other end of the tube post 4, and the support base 7 is fixedly connected to the cross arm 5.
[0305] The X-ray tube 6 is fixedly connected to the support base 7. Since the X-rays generated by the X-ray tube 6 need to be received by the X-ray receiving device, the patient is located between the two to use X-rays for diagnosis. Usually, the X-ray tube 6 is located above and high pressure occurs Device 1 is not easy to be straight due to its large size and weight. It is arranged above, preferably, the high voltage generator 1 and the X-ray tube 6 are connected through the tube column 4, the cross arm 5 and the support base 7, and the tube column 4, the cross arm 5 can support the X-ray tube 6 It also guarantees a certain height and reasonable structural design. The support base 7 is mainly used to connect the X-ray tube 6. Due to the special structure of the X-ray tube 6, the connection needs to be stable and protected to a certain extent. Easy to connect directly on the cross arm 5, the support base 7 can provide sufficient connection space and play a certain protection role.
EXAMPLE 4
[0306] As shown in
[0307] Both the 11 and X-ray emission devices are electrically connected to the control module.
[0308] The X-ray emitting device includes a high voltage generator 1, an X-ray tube 6, a connecting frame and a beam lighter/collimator 8. The high voltage generator 1 is connected to a table, and the high voltage generator 1 is electrically connected to a control module. X-ray
[0309] The X-ray tube 6 is connected to the high-voltage generator 1 through a connecting frame, and the X-ray tube 6 is connected to the high-voltage generator 1.
[0310] The collimator 8 is electrically connected to the X-ray tube 6, and the light collimator 8 is located in the X-ray receiving device.
[0311] The measuring mechanism 11 is placed on the light beam 8. The connecting frame comprises a tube stand 4, a cross arm 5 and a support base 7. One end of the tube stand 4 is connected to the high voltage generator 1, and the cross arm 5 is fixedly connected to the other end of the tube stand 4. Support 7 is fixedly connected with the cross arm 5, and the X-ray tube 6 is fixedly connected to the support base 7. An adjustment button 10 is provided on the beam lighter/collimator 8. The end of the cross arm 5 is slidably connected to the tube post 4 and the cross arm 5 can be along the tube post 4 reciprocating up and down.
[0312] The X-ray receiving device is a flat panel detector 2. The flat panel detector 2 is connected to the table body 12. A table panel 3 is arranged above the flat panel detector 2, and the table panel 3 is slidably connected to the table body 12 on. The X-ray emitting device is provided with a touch display 9. By setting the measuring mechanism 11, the body shape of the patient can be accurately measured in real time.
[0313] The provision of the beam lighter/collimator 8 can effectively reduce the influence of scattered rays and out-of-focus rays, and reduce harmful radiation to patients and operators.
[0314] By slidingly connecting the end of the cross arm 5 and the tube post 4 and allowing the cross arm 5 to reciprocate up and down along the tube post 4, the X-ray tube 6 and the light beam 8 can be adjusted in real time relative to The distance guarantees the best position. The specific connection between the cross arm 5 and the tube post 4 can be provided in the tube post 4. Set the slide rail, and set a slide block at the end of the cross arm 5 to slide the slide block to the slide rail. When sliding along the slide rail, the cross arm 5 can be reciprocated up and down along the tube column 4. Inside the tube post 4. There is a circuit that the high voltage generator 1 is electrically connected to the X-ray tube 6, and the tube column 4 can play a role in the circuit. The control module can be set on one side of the internal space of the table 12 for controlling the high-voltage generator 1.
[0315] By setting the slidable table panel 3, the position of the patient can be changed by sliding the table panel 3, which is convenient for diagnosis of the patient. The sliding of the table panel 3 can be controlled by the pedal 13, and those skilled in the art can install it according to the actual situation. The specific control and connection settings are the prior art, and will not be repeated here. By setting the touch display 9, the user can operate the host as long as he touches the icon or text on the computer display screen with his finger lightly. This eliminates keyboard and mouse operations and makes human-computer interaction more straightforward. The diagnostic process is very convenient.
[0316] The present invention is not limited to the above-mentioned optional embodiments. Anyone can obtain other various forms of products under the inspiration of the present invention, but regardless of any changes in its shape or structure, any fall in the present invention The technical solutions within the scope defined by the claims all fall within the protection scope of the invention.
[0317] List of Reference Characters: 1-high voltage generator; 2-flat detector; 3-table panel; 4-support column; 5-cross arm; 6-X-ray tube; 7-upper support base; 8-X-ray collimator; 9-touch display; 10-collimator adjustment knobs; 11-depth camera; 12-table body; 13-pedal.
X-Ray Imaging Dose Determination Method Based on Thickness Value
[0318] Specific embodiments of the present invention will be further set forth below and the accompanying drawings.
EXAMPLE 1
[0319] parameter value in the table EI standard range.
to reduce measurement errors, elimination of abnormal values measured in time series.
EXAMPLE 2
[0320] generator needs to be transmitted according to the actual situation;
[0321] It is worth noting that the current standard radiation quality RQA5 application in the industry the most widely used, which corresponds to the X-ray tube voltage quality standards 70v, but in addition to the standard quality of the radiation RQA5, can also select an X-ray tube voltage are standard radiation quality 50v, 60v, 80v of RQA3, standard radiation quality RQA4, standard quality RQA6 radiation and other industry standards.
EXAMPLE 3
[0322] As a preferred embodiment, X-ray generator comprising a high voltage generator and X-Ray tube, a high voltage generator for emitting a corresponding operating parameter according to the exposure tube voltage and the operating current product kVp mA.Math.s, X-ray tube for the tube voltage at the respective working volume kVp and mA.Math.s current work within a specified time emitting radiation corresponding to X-ray quality; a product of operating current mA.Math.s product is a high voltage generator and the current maximum achievable minimum operating time; refers to radiation quality of the radiation and radiation penetration density.
Median Filtering Method for Thickness Measurement
[0323] The present invention is further described below with reference to the drawings and specific embodiments.
EXAMPLE 1
[0324] As shown in
[0325] Step S1: Firstly perform N predictions on the surface of the measured object/body part through the distance measuring device to obtain N measurement values si, where si represents the distance from the distance measuring device to the surface of the measured object/body part, i represents the measurement serial number, and the value range is i=1, 2, . . . , N;
[0326] Step S2: Create a first-in-first-out queue with a capacity of n to store the measured values. When the number of measured values in the queue reaches n, the queue discards the earliest measured value that enters the queue, and puts the new measured value into the queue, that is, discarded. The old measurement value is added to the new measurement value, so that the queue stores the latest n measurement values;
[0327] Step S3: Obtain the median a in the queue by means of fast median filtering, and the median a is the accurate value of the N predicted quantities; Step S4: Predict the background distance b in use of the distance measuring device, and the thickness value L of the measured object/body part is b−a.
[0328] By performing multiple measurements on a part and selecting the median value among multiple measurement values, occasional measurement errors can be well avoided. The selected median value can be used as an accurate measurement value to calculate the measured object/body part
[0329] The thickness of the body to send the appropriate working tube voltage kVp. For example, the distance measuring device measures the surface of the measured object/body part 5 times, and the results of the 5 measurements are 27, 28, 29, 29, 30 in order. The capacity of the queue is 3, according to the principle of first in, first out, the first two data will be discarded, and the three measured values remaining in the queue are 29, 29, 30, and then the median value is filtered to obtain the median value a.=29, then the thickness of the measured object/body part can be obtained by measuring the background distance in advance; of course, in normal measurement, the data measured in one measurement cycle is much greater than 5 times, generally 20-50 times, and the capacity of the queue is also Much larger than 3, generally ranging from tens to hundreds.
EXAMPLE 2
[0330] As shown in
[0331] Step S301: Set the value range [m, M] of the predicted value in advance, and create a capacity of M−m+1 Array A, all elements are initialized to 0, when a new measured value mk is added to the queue, A mk is increased by 1, when an old measurement value m.sub.j is discarded, Am.sub.jis decreased by 1; array A records the number of occurrences of each measurement value from m to M;
[0332] Step S302:
[0333] Through fast median filtering, the algorithm operation time can be greatly reduced, especially when processing a large amount of data, the median value can be obtained quickly, and the work efficiency can be improved; continue to assume that there are five measured values 27, 28, 29, 29, 30, that is, n=5, and the value range of array A is [25, 30]. After entering five measurement values, array A becomes [0, 0, 1, 1, 2, 1], when i=3, ϵ.sub.i−1<n/2, ϵ.sub.i>n/2, and a median value of 29 is obtained. Generally, when measuring a patient's body part, the value range of the array A is generally [20, 80], and when measuring, the measured values are all integers in centimeters, so the value range
[0334] There will be 61 value points within the range, and during the measurement, the number of measurements in a measurement cycle may be hundreds of times. If the traditional median filtering method is used, continuous sorting and calculation are required, and the capacity of the array.
[0335] The amount is also a few hundred, so the algorithm takes a long time. After using this fast median filter, the capacity of the array is 61. The change is the increase and decrease of Am.sub.j in the array. This fast median Filtering provides a way with time complexity of O (1), which greatly reduces the algorithm operation time and greatly improves the work efficiency.
EXAMPLE 3
[0336] As shown in
[0337] Step S3011: When a new measurement value m.sub.k is added to the queue, the sizes of mk and m are compared at the same time. If M>m.sub.k>m, the value range [m, M] is converted to [m.sub.k, M], and array A The capacity becomes M−m.sub.k+1; when another new measured value m.sub.p is added to the queue, the sizes of m.sub.p and mk are compared at the same time. m.sub.k>m.sub.p>m, the value range [m.sub.k, M] is transformed into [m.sub.p mk], and the capacity of array A becomes m.sub.k−m.sub.p+1; if M>m.sub.p>m.sub.k, transform the value range [m.sub.k, M] to [m.sub.k, m.sub.p]. The capacity of A becomes m.sub.p−m.sub.k+1;
[0338] Step S3012: When a new measured value mn is added to the queue, repeat step S3011 to compare m.sub.n and m.sub.p or mk size, re-determine the size range and size of the array.
[0339] For example, when measuring, it is assumed that the value range of array A is [20,80], but for some parts, the thickness range can be determined to be 50-60, so there will be a large number of 0 A m.sub.k in array A, so Waste the computing time of the processor. If the range can be quickly reduced to the actual measurement range, the processor will save a lot of time when performing median filtering; therefore, the specific implementation of the steps of narrowing the value range is assuming that the original array The value range of A is [20,80]. When a new measurement value ml is added to the queue, m.sub.1=50, then m.sub.1>20, so the value range of array A becomes [50,80]; when the new measurement value m.sub.2 After joining the queue, assuming m.sub.2=60 and 50<m.sub.2<80, the value range of array A becomes [50,60]; assuming m.sub.2=40 and m.sub.2<50, the value range of array A becomes [40 , 50]; After adding a new measurement value m.sub.3, assuming m.sub.3=70 and m.sub.3>50, the value range of array A becomes [40,70];
[0340] Adjust the value range of the array A until it reaches the minimum range, and the median filtering speed in this range will be greatly reduced.
[0341] This fast median filter can be implemented by a programming program in the processor. The following is an example of programming code for fast median filter:
TABLE-US-00001
indicates data missing or illegible when filed
EXAMPLE 4
[0342] Based on the above embodiment, as a further preferred solution, the m and M are integer values, and the new measurement value mk is an integer value in a value range [m, M]; the measured object/body part is placed during measurement On a flat plate, the background distance b represents the vertical distance between the ranging transmitter and the flat plate of the distance measuring device; when the distance measuring device predicts the surface of the measured object/body part, it first performs N predictions on the same point on the surface of the measured object/body part. After obtaining the median measurement value, move the ranging device to another point and perform N predictions again to obtain the corresponding measured median value; the ranging device uses any of the visible light ranging device, near visible light ranging device, or sonar ranging device One.
An Accurate Measurement Imaging System Based on X-Ray
[0343] The invention is further explained below with reference to the drawings and specific embodiments.
EXAMPLE 1
[0344] When existing X-ray imaging equipment emits X-rays, it is necessary to adjust the irradiation parameters so as to achieve the optimal irradiation dose. In the prior art, when adjusting the irradiation parameters, it is often adjusted according to the experience of the operator and according to different irradiation object/body parts and irradiation positions, thereby determining a range value.
[0345] This embodiment provides an X-ray-based accurate measurement imaging system, including a real-time measurement irradiation thickness measurement module for object/body part thickness values; it also includes X-rays used to accept the thickness values sent by the thickness measurement module and bring the thickness values into a set EI standard range table to obtain corresponding exposure parameters and then emit X-rays for imaging Imaging module. The X-ray imaging module is a complete X-ray imaging device, and the EI standard range table is written in advance.
[0346] In this embodiment, the thickness measurement module provided separately can realize the real-time detection of the center thickness value of the irradiation area of the irradiation object/body part, and send the detection result to the X-ray imaging module. Value to find the corresponding irradiation parameter, and then adjust the irradiation mechanism to perform X-ray irradiation imaging according to the corresponding irradiation parameter. The system is fast and efficient, and has high accuracy and precision, which can take independent photos without the guidance of a professional physician.
EXAMPLE 2
[0347] This embodiment provides an X-ray-based accurate measurement imaging system, including a thickness measurement module and a thickness value for receiving the thickness value sent by the thickness measurement module, and bringing the thickness value into a set EI standard range table to obtain corresponding exposure parameters An X-ray imaging module that then emits X-rays for imaging. The X-ray imaging module is a complete X-ray imaging device, and the EI standard range table is written in advance.
[0348] Among them, the transmission parameters include the working tube voltage and the working tube current product.
[0349] The working tube voltage is the voltage across the cathode filament and anode target of the tube in the existing X-ray equipment, which can accelerate the electron excitation on the filament to flow to the anode target. The working tube voltage determines the quality of the X-rays, which is the penetrating power.
[0350] The work tube current product is the amount of X-rays and is the product of the current and the irradiation time. Theoretically speaking, the working current is adjusted to the highest value, but the maximum current value of different equipment is different, you can adjust the irradiation time to compensate to achieve the most appropriate current product. By controlling the voltage and current product of the working tube, the total radiation dose can be determined before irradiation, thereby avoiding the real-time detection of X-ray absorption by a detector afterwards, which is more safe and convenient, and has higher accuracy.
[0351] The X-ray imaging module includes a control unit connected to the thickness measurement module, and the control unit is written with EI Standard Range Table. The control unit is a control circuit provided separately, including a processor and memory. The EI standard range table is stored in a memory, and the processor calls the data of the EI standard range table in the memory and converts the received thickness value data to obtain a data packet output of the exposure parameters.
[0352] The X-ray imaging module further includes a high-voltage generator, an X-ray tube, a beam lighter/collimator, and an X-ray receiving imaging module. The control unit is connected to the high-voltage generator and controls the high-voltage generator to provide power to the X-ray tube. The X-rays emitted by the X-ray tube are adjusted by a beam setter at the emitting end of the X-ray tube to pass through the illuminated object/body part and enter the X-ray receiving imaging module for imaging.
[0353] The high-voltage output of the high-voltage generator is sandwiched between the cathode filament and the anode target, respectively. A high-voltage electric field is provided to accelerate the active electrons on the filament to the anode target to form a high-speed electron flow. X-ray.
[0354] The EI standard range table is established for different irradiation object/body parts and then according to the standard radiation quality RQA5 of the specific image chain system and a large amount of clinical data of the specific image chain system. The irradiation object/body parts described in this embodiment include, but are not limited to, humans and other living things. According to a large amount of data, a corresponding EI standard range table is set for different species in advance, and there are corresponding sub-tables for different parts of the species in the table, so as to achieve the effect of accurately guiding the adjustment of the irradiation parameters. The independent variable in each sub-table is the thickness value, the unit is CM, and the dependent variable is the irradiation parameter. That is, the EI standard range table is similar to a standard curve, but because there is no linear relationship between the thickness value and the irradiation parameters, and there are multiple irradiation parameters, the clinical experience summary and the standard radiation quality are aimed at different The thickness determines a parameter value.
EXAMPLE 3
[0355] This embodiment is optimized and limited on the basis of the foregoing Embodiment 2. The X-ray receiving imaging module is a flat panel detector.
[0356] The thickness measurement module includes a distance measurement unit that is coplanar with the X-ray emitting end of the X-ray imaging module and a thickness calculation unit connected to the distance measurement unit. The thickness calculation unit calculates an irradiation object/body part based on the distance value detected by the distance measurement unit in real time. And enter the thickness value in the X-ray imaging module.
[0357] The thickness measurement module mainly calculates the X-ray generation end of the X-ray imaging module to the surface of the illuminated object/body part.
[0358] Spacing between. Because when the irradiation target is a fixed target, the irradiation target will be fixed on a movable plate and moved to a suitable position, and the cross bulls eye on the beamer will be aligned with the irradiation position. At this time, the bottom of the irradiation object/body part is attached to the flat plate, and the distance between the light beam and the flat plate is a fixed value: D.sub.1. The distance between the beamer and the projected point of the cross bulls-eye of the illuminated object/body part is D.sub.2, and the thickness of the measurement point is H. The calculation formula is H=D.sub.1−D.sub.2.
EXAMPLE 4
[0359] This embodiment is optimized and limited on the basis of the foregoing Embodiment 3. As shown in
EXAMPLE 5
[0360] This embodiment provides an X-ray-based accurate measurement imaging system, including a thickness measurement module and a thickness value for receiving the thickness value sent by the thickness measurement module, and bringing the thickness value into a set EI standard range table to obtain corresponding exposure parameters. An X-ray imaging module that then emits X-rays for imaging. The X-ray imaging module is a complete X-ray imaging device, and the EI standard range table is written in advance.
[0361] The emission parameters include the working tube voltage and the working tube current product. The working tube voltage is the voltage across the cathode filament and anode target of the tube in the existing X-ray equipment, which can accelerate the electron excitation on the filament to the anode target. The working tube voltage determines the quality of the X-rays, which is the penetrating power.
[0362] The X-ray imaging module includes a control unit connected to the thickness measurement module, and the control unit is written with EI Standard Range Table.
[0363] The control unit is a separately set control circuit, including a processor and a memory, the EI standard range table is stored in the memory, and the processor calls the thickness value data received in the memory. The data of the EI standard range table is converted to obtain a data packet output of the exposure parameters.
[0364] The X-ray imaging module further includes a high-voltage generator, an X-ray tube, a beam lighter/collimator, and an X-ray receiving imaging module. The control unit is connected to the high-voltage generator and controls the high-voltage generator to provide power to the X-ray tube. The X-rays emitted by the X-ray tube are adjusted by a beam setter at the emitting end of the X-ray tube to pass through the illuminated object/body part and enter the X-ray receiving imaging module for imaging.
[0365] The high-voltage output of the high-voltage generator is sandwiched between the cathode filament and the anode target, respectively. A high-voltage electric field is provided to accelerate the active electrons on the filament to the anode target to form a high-speed electron flow X-ray.
[0366] The thickness measurement module includes a distance measurement unit that is coplanar with the X-ray emitting end of the X-ray imaging module and a thickness calculation unit connected to the distance measurement unit. The thickness calculation unit calculates an irradiation object/body part based on the distance value detected by the distance measurement unit in real time And enter the thickness value in the X-ray imaging module.
[0367] The ranging unit is a laser rangefinder. The principle of laser rangefinder is similar to that of ultrasonic rangefinder. It uses beam light for detection, and calculates the distance value based on the time difference between round trips.
EXAMPLE 6
[0368] This embodiment provides an X-ray-based accurate measurement imaging system, including a thickness measurement module and a thickness value for receiving the thickness value sent by the thickness measurement module, and bringing the thickness value into a set EI standard range table to obtain corresponding exposure parameters An X-ray imaging module that then emits X-rays for imaging. The X-ray imaging module is a complete X-ray imaging device, and the EI standard range table is written in advance.
[0369] The emission parameters include the working tube voltage and the working tube current product. The working tube voltage is the voltage across the cathode filament and anode target of the tube in the existing X-ray equipment, which can accelerate the electron excitation on the filament to the anode target. The working tube voltage determines the quality of the X-rays, which is the penetrating power.
[0370] The X-ray imaging module includes a control unit connected to the thickness measurement module, and the control unit is written with EI Standard Range Table.
[0371] The control unit is a separately set control circuit, including a processor and a memory, the EI standard range table is stored in the memory, and the processor calls the thickness value data received in the memory. The data of the EI standard range table is converted to obtain a data packet output of the exposure parameters.
[0372] The X-ray imaging module further includes a high-voltage generator, an X-ray tube, a beam lighter/collimator, and an X-ray receiving imaging module. The control unit is connected to the high-voltage generator and controls the high-voltage generator to provide power to the X-ray tube. The X-rays emitted by the X-ray tube are adjusted by a beam setter at the emitting end of the X-ray tube to pass through the illuminated object/body part and enter the X-ray receiving imaging module for imaging. The high-voltage output of the high-voltage generator is sandwiched between the cathode filament and the anode target, respectively. A high-voltage electric field is provided to accelerate the active electrons on the filament to the anode target to form a high-speed electron flow X-ray.
[0373] The thickness measurement module includes a distance measurement unit that is coplanar with the X-ray emitting end of the X-ray imaging module and a thickness calculation unit connected to the distance measurement unit. The thickness calculation unit calculates an irradiation object/body part based on the distance value detected by the distance measurement unit in real time. And enter the thickness value in the X-ray imaging module. The ranging unit is a dual camera ranging module.
[0374] The distance measuring unit is disposed in the light beam, and the calculation starting end of the distance measuring unit is coplanar with the surface of the light beam emitting end. Among them, the thickness value required in this embodiment is calculated indirectly based on the distance between the emission end face of the beam emitter and the external marking point of the irradiation object/body part, and the distance measuring unit not only needs to follow the X-ray emission end face of the beam emitter Only on the same plane, and the plane is parallel to the flat surface of the irradiation object/body part being fixed, can a relatively accurate distance value be obtained by the distance measuring unit provided on one side. The results are then optimized by later software, with infinite iterations and accurate values through multiple iterations.
[0375] The working process of the entire system is as follows: firstly, through the thickness measurement module, obtain the image depth information to accurately measure the body shape of the patient to be irradiated in real time, perform fast median filtering on the time series, and iteratively reduce the measurement error and eliminate abnormal measurement values And pass the measured value to the processor. The processor finds the exact working tube voltage kVp and working tube current product mA.Math.s required for the X-ray tube corresponding to the patient's body in the “EI Standard Range Table”, and passes the required exposure parameters to the high voltage generator.
[0376] When the high-voltage generator receives the required exposure parameters, it will issue the voltage and current product value specified by the required exposure parameters (usually the maximum current that the high-voltage generator can multiply by the shortest working time to achieve). The X-ray tube emits X-rays corresponding to the radiation quality at a specified time and voltage. Finally, the flat-panel detector receives X-rays of appropriate radiation quality for clear and accurate imaging.
[0377] The EI standard range table is established for different irradiation object/body parts and then according to the standard radiation quality RQA5 of the specific image chain system and a large amount of clinical data of the specific image chain system. The irradiation object/body parts described in this embodiment include, but are not limited to, humans and other living things. According to a large amount of data, a corresponding EI standard range table is set for different species in advance, and there are corresponding sub-tables for different parts of the species in the table, so as to achieve the effect of accurately guiding the adjustment of the irradiation parameters. The independent variable in each sub-table is the thickness value, the unit is CM, and the dependent variable is the irradiation parameter. That is, the EI standard range table is similar to a standard curve, but because there is no linear relationship between the thickness value and the irradiation parameters, and there are multiple irradiation parameters, the clinical experience summary and the standard radiation quality are aimed at different The thickness determines a parameter value.
[0378] In this embodiment, the EI standard range table established for domestic pets is used, including Table 1, Table 2, and Table 3.
[0379] Table 1 is the standard radiation quality RQA5, as follows:
TABLE-US-00002 EI normal range Place Body type values abdomen Big 1200-2300 medium 1100-2200 Immature 900-2000 chest Big 1100-2100 medium 1000-2000 Immature 900-1900 pelvis Big 1400-2300 medium 1300-2200 Immature 1100-2000 Four limbs Big 700-1800 medium 500-1400 Immature 300-1000 head Big 700-1800 medium 500-1600 Immature 300 to 1400
[0380] Table 2 is a table of thickness EI standards applicable to both limbs and head, as follows:
TABLE-US-00003 Working tube Current product Thickness voltage pipe work (cm) (KVp) (MAs) 1 60 4 2 60 4 3 60 4 4 60 4 5 65 4 6 65 4 7 65 4 8 65 4 9 65 4 10 70 4
[0381] Table 3 is the standard range of EI thickness of the chest, as follows:
TABLE-US-00004 Working tube Current product voltage pipe work Thickness (cm) (KVp) (MAs) 1 60 4 2 60 4 3 60 4 4 60 4 5 65 4 6 65 4 7 65 4 8 65 4 9 65 4
[0382] The above only includes the exposure parameters of some thickness values, and the specific parameter table will be adjusted according to different irradiation object/body parts, and a set of thickness EI standard range tables suitable for the type of the object/body part will be established to provide more accurate exposure parameter data.
A Method for Reducing Measurement Data Error by Data Iteration
[0383] The invention is further explained below with reference to the drawings and specific embodiments.
EXAMPLE 1
[0384] The existing binocular ranging device is a dual-camera module that is symmetrically set and the lenses are on the same plane. The module takes pictures and calculates each pixel point on the captured picture to the plane where the lens is located by using a parallax algorithm. For the vertical spacing between them. However, there is a fixed point A outside the binocular ranging device. The fixed point A is coplanar with the two lenses, but the fixed point A and the center point of the line connecting the two lens centers have a certain distance. When the fixed point A is in the coordinate of the corresponding vertical projection point and the corresponding distance value in the depth map captured by the binocular ranging device, the accurate distance value cannot be obtained.
[0385] A method for reducing measurement data errors through data iteration, including the following steps:
[0386] First, the binocular ranging device is first used to measure the distance between the fixed point A and the target mark point B through the parallax ranging method, and obtain a depth map. The center point C of the binocular ranging device and the fixed point A are shared. And the distance between the center point C and the fixed point A is fixed.
[0387] The binocular ranging device can obtain all pixels in the depth map to the lens of the binocular ranging device to calculate the vertical distance between the planes. According to this principle, in order to solve the point drift error caused by the distance between the binocular ranging device and the measured fixed point A, this method uses multiple iterative algorithms to find the approximate point close to the target point in the depth map. Since the height around the measured target point changes gently, the corresponding thickness value of the approximate point in the depth map is the optimized accurate thickness value.
[0388] Second, as shown in
[0389] Third, as shown in
EXAMPLE 2
[0390] This embodiment is an application in which the method of Embodiment 1 described above is used in an X-ray imaging device to obtain an accurate thickness value of a target object/body part, thereby adjusting an exposure parameter for accurate X-ray imaging. The X-ray imaging device includes a movable sliding plate, a control circuit, a high-voltage generator, an X-ray tube, a beam lighter/collimator, and a flat panel detector provided at the lower portion of the sliding plate. The control circuit controls the high-voltage generator to give X-rays. The bulb provides electric energy, so that the X-ray bulb emits X-rays. The X-rays can be accurately irradiated in a certain range through the adjustment of the beam lighter/collimator. Finally, the X-rays pass through the human body and are accepted by the flat panel detector for digital imaging. The device for implementing thickness detection is a binocular distance measuring device, and the binocular distance measuring device is disposed on one side of the beam lighter/collimator.
[0391] The specific thickness error optimization method includes the following steps:
[0392] First, the binocular ranging device is first used to measure the distance between the cross-center point A of the beam beamer and the patient's marked point B through the parallax ranging method, and obtain a depth map, wherein the central point C of the binocular ranging device and The beam center cross center point A is coplanar, and the distance between the center point C and the beam center cross center point A is fixed.
[0393] First, the binocular ranging device is first used to measure the distance between the cross-center point A of the beam collimator and the patient's marked point B through the parallax ranging method, and obtain a depth map, wherein the central point C of the binocular ranging device and The beam center cross center point A is coplanar, and the distance between the center point C and the beam center cross center point A is fixed.
[0394] Second, test depth maps are obtained by photographing standard pieces of various thicknesses by using the binocular distance measuring device. The standard pieces are multiple normal cylinders with the same bottom surface radius but varying thickness as standard pieces. The cylinder is fixed at the same position with any circular surface as a base, and a depth map is taken of each of the regular cylinders by using a binocular ranging device, and the center of the upper circular surface of the regular cylinder and the beam lighter/collimator Center point of the cross.
[0395] The line A is perpendicular to the plane where the two cameras of the binocular ranging device are located. Find the coordinates of the center point of the upper circular surface in the depth map of each regular cylinder, and obtain the corresponding thickness value of each center point coordinate in the depth map, so as to establish a gradient comparison of the corresponding center point coordinates at different thicknesses table.
[0396] Third, use the binocular ranging device to capture the target and obtain the target depth map. The target thickness value is at 0, the corresponding coordinates of the beam center cross point A on the depth map of the target are determined, and the coordinates are the projection points of the beam center cross point A on the background plate surface. Get this coordinate to find the corresponding thickness value D.sub.1 in the target depth map; then find it in the gradient comparison table according to the thickness value D.sub.1.
[0397] To the corresponding target point coordinates, at this time recorded as iteration. Then find the corresponding thickness value D.sub.2 in the depth map; then find the corresponding target point coordinates in the gradient comparison table according to the thickness value D.sub.2.
[0398] At this time, it is recorded as two iterations; the above iterative method is repeated until D.sub.n is used as the accurate thickness value when the coordinate distance between D.sub.n and D.sub.n−1 is smaller than a preset error value, and then it is recorded as n iterations. Where n is a natural number.
A Method for Assisting Posture Adjustment of X-Ray Object
[0399]
Advantages of Invention
[0400] With the two step detections of measuring standing and angular positions for the measured object/body part, the posture of object/body part under study can be matched in real time to the preset standard values. Horizontal positioning is determined by the binary map which is created by the calculating the degree of coincidence with the preset image detection. The standing posture is determined by calculating the surface normal vector of the measured object/body part followed by comparing with standard normal vector and calculating the deviation.
[0401] The significant horizontal positioning deviation directly affects the intensity of X-ray exposures whereas the significant deviation in standing angle position directly affects the accuracy of the imaging ratio. Hence, it is required to calculate both horizontal and standing deviations. It is also prominent that horizontal positioning is adjusted prior to standing position. This is because any change in horizontal position will definitely affect the standing position. This invention is responsible to adjust the positioning of the measured object/body part to obtain the quality image exposures.
[0402] In the foregoing embodiment, the processing method of the binary map, the method of converting the depth image into point cloud data, and the method of calculating the normal vector of the surface of the measured object/body part based on the point cloud data are the existing technologies which are not described here.
Automatic Calibration Method and System for Detecting Position During X-Ray Shooting
[0403] The present invention is further described below with reference to the drawings and specific embodiments.
EXAMPLE 1
[0404] As shown in
[0405] S1. The signal source obtains an RGBD image of the human body at the detection position;
[0406] S2. The memory stores RGBD image information collected by the signal source and a number of preset calibration data, where the preset calibration data includes preset three-dimensional coordinates of a shoulder joint point and a preset horizontal position;
[0407] S3. The processor processes the RGBD image information collected by the signal source, obtains the three-dimensional coordinates of the human joint points through the deep learning model based on the detection of the human joint points, and calculates the coordinate difference value according to the three-dimensional coordinates of the human joint points. First, the actual detection angle and horizontal displacement;
[0408] S4. The actuator includes a flat-panel detector driving mechanism and a prompting device, and the processor sends a control instruction to the flat-panel detector driving mechanism to drive the flat-panel detector according to the coordinate difference value, according to the actual detection. The angle value and the horizontal displacement amount send a control instruction two to the prompting device to guide the human body to adjust corresponding actions.
EXAMPLE 2
[0409] This embodiment is optimized and limited on the basis of the first embodiment.
[0410] As shown in
[0411] S3.1. Use a binocular camera to capture the scene at the detection position, collect RGBD image information of the human body located at the detection position, and perform stereo processing on the RGBD image information through the processor 23 to obtain RGB images and depth images. The depth image includes Image information and depth of field information;
[0412] S3.2. The deep learning model based on human joint point detection calculates the positions of several human joint points in the depth image, and determines the joint point image coordinates of several human joint points in the depth image;
[0413] S3.3. Calculate the three-dimensional coordinates of the joint points corresponding to the joint point image coordinates according to the joint point image coordinates, the depth of field information and the preset binocular camera calibration parameters. The three-dimensional joint point coordinates are used to represent the human body 3D coordinate values of nodes in the scene.
[0414] Specifically, the calibration parameters of the binocular camera 21 include the camera focal length, image center coordinates, and image distortion coefficients. The joint point correction coordinates are calculated based on the image distortion coefficients and the joint point image coordinates. According to the depth of field information in the depth image, the joint point image is determined. The joint point depth value corresponding to the coordinates, the joint point depth value is the Z-axis coordinate value in the joint point three-dimensional coordinate; the joint point depth value, joint point correction coordinate and image center coordinate are brought into the three-dimensional coordinate calculation model, and the joint point three-dimensional is calculated coordinate.
[0415] The deep learning model and the three-dimensional coordinate calculation model for detecting human joint points are both existing calculation models, and the corresponding parameters can be used to calculate the three-dimensional coordinates of the human joint points.
[0416] The three-dimensional coordinates of the node include the three-dimensional coordinates of the shoulder joints of the human body and the three-dimensional coordinates of other joint points of the human body.
[0417] S3.4. Because the binocular camera and the X light source 25, the beam lighter/collimator 26, and the flat panel detector 34 remain relative to each other, when the flat panel detector 34 is in a proper position, the longitudinal coordinates of the shoulders of the human body in the RGB image are both Relatively fixed, the longitudinal coordinate value of the human shoulder joint point 32 and the preset shoulder joint point 33.
[0418] The longitudinal coordinate values are subtracted to obtain a coordinate difference value of 1. The coordinate difference value becomes the basis for the movement direction and amplitude of the flat panel detector 34. The specific calculation is as follows:
Y.sub.3=Y.sub.1−Y.sub.2
[0419] Among them, the ordinate value of the human shoulder joint point 32 is Y.sub.1, the preset ordinate value of the shoulder joint point 33 is Y.sub.2, the coordinate difference value is Y.sub.3, and the processor 23 sends to the flat panel detector driving mechanism according to the coordinate difference value Y.sub.3 control instruction one.
[0420] Specifically, the longitudinal coordinate value of the preset shoulder joint point 33 is related to the height position of the flat panel detector 34. Correspondingly, by judging the longitudinal coordinate value of the preset shoulder joint point 33 and the longitudinal sitting of the human shoulder joint. The difference between the calibration values can be used to obtain the corresponding distance that the flat panel detector 34 needs to move up or down.
[0421] The moving direction of the flat panel detector 34 is as follows:
[0422] The longitudinal coordinate value of the human shoulder joint point 32 is greater than the preset longitudinal coordinate value of the shoulder joint point 33, the flat panel detector 34 moves up and vice versa.
EXAMPLE 3
[0423] This embodiment is optimized and limited on the basis of the foregoing embodiment 1 or 2.
[0424] As shown in
[0425] The angle value of the angle between the rays of light 9, the angle value is α, and the angle calculation formula of α is:
tanα=|H.sub.2/H.sub.1|
[0426] Among them: the joint points of the human body include joint points 27 and 28 on the human detection plane, and the three-dimensional coordinates of the joint nodes 27 and 28 are A (x.sub.1, y.sub.1, z.sub.1) and B (x.sub.2, y.sub.2) , Z.sub.2), where y.sub.1=y.sub.2, z.sub.1 is the distance between joint point 27 and the binocular camera, z.sub.2 the distance between node 2 28 and the binocular camera, and the distance between the two is subtracted to obtain the coordinate difference. Second, the coordinate difference two is H.sub.1, that is, H.sub.1=z.sub.1−z.sub.2 x.sub.1, x.sub.2 are the abscissas of joint point 1, 27, and joint point 2, respectively. The coordinate difference value is obtained by subtracting the abscissa of the two. The coordinate difference three is H.sub.2, that is, H.sub.2=x.sub.1−x.sub.2;
[0427] The angle of α is the angle at which the detection plane of the human body is offset by X-ray 29. If the deviation angle is too large, the detection plane of the human body does not face the direction of X-ray 29 irradiation. Therefore, the shooting effect will be deformed, affecting the shooting effect. Therefore, it is necessary to ensure that the angle of a is as close to 90 ° as possible. If the offset angle exceeds a preset value, the prompt device 24 is used to indicate that the angular position of the human body needs to be adjusted. During the entire position adjustment process, the angle is calculated in real time and the prompting device 24 enables the person to be detected to know the effect of their adjustment in real time until the angle adjustment meets the requirements.
[0428] The horizontal displacement is the deviation between the actual horizontal position 30 and the preset horizontal position 31 of the human body. When the actual horizontal position 30 of the human body deviates greatly from the preset horizontal position 31, the human body needs to adjust. It meets the requirement to coincide with the preset horizontal position 31 as much as possible. Therefore, the horizontal displacement is the actual level of the human body. The position 30 is subtracted from the preset horizontal position 31 to obtain a coordinate difference of four. The coordinate difference of four is H.sub.3. The horizontal position 30 is the horizontal coordinate value X.sub.n on a joint point of the human body, and the preset horizontal position 31 is the horizontal coordinate value X.sub.m on the joint point preset by the system, then H.sub.3=X.sub.n−X.sub.m; that is, the positive and negative values of H.sub.3 determine The horizontal movement direction of the human body is determined. The absolute value of H.sub.3 is the horizontal movement distance of the human body. The horizontal movement direction of the human body and the horizontal movement distance are guided by the prompting device 24. The entire horizontal position adjustment process is calculated in real time. The amount of horizontal displacement and the prompting device 24 enable the person to be detected to know the effect of their adjustment in real time until the horizontal position adjustment meets the requirements.
[0429] In summary, the actual detection angle value a and the horizontal displacement amount H.sub.3 are calculated, and the angle and the horizontal displacement range that the human body needs to adjust can be obtained. The processor 23 sends the prompt detection device 24 according to the actual detection angle value α and the horizontal displacement amount H.sub.3. Control instruction 2 prompts the human body to adjust the posture through the prompting device 24 so as to achieve the coincidence of the human body and the standard position as much as possible, that is, to achieve the coincidence of the human detection plane and the actual horizontal position of the human body with the standard position. The prompting device 24 prompts the human body to adjust the posture, and provides guidance for the human body to adjust the posture. In order to meet different usage needs, the prompting device prompt mode 4 includes one or more of acousto-optic prompt or display prompt mode.
[0430] In this embodiment, the prompting device 24 is a voice prompting device. The voice prompting device receives the control instruction 2. After the test person stands on the detection position, he can adjust his position through voice prompts. The voice prompt can realize that the person to be inspected can also perform correct posture adjustment without staff.
[0431] The prompting device may also be a display screen. The display screen guides the person to be inspected for posture adjustment through corresponding prompting images.
EXAMPLE 4
[0432] This embodiment is optimized and limited based on the third embodiment.
[0433] Flat-plate detector driving mechanism includes flat-plate detector 34 and used to drive flat-plate detector 34 up and down the driving mechanism includes a driving device, and a control terminal of the driving device is connected to an output terminal of the processor 23.
[0434] Specifically, the driving device is a driving motor, and the flat motor 34 is lifted and lowered by means of gear transmission or chain rotation on the driving motor. The driving structure of the flat panel 34 for lifting motion adopts the existing driving structure, and is not limited motor drive.
EXAMPLE 5
[0435] As shown in
[0436] Binocular camera 21, binocular camera 21 is located in front of the detection position, used to obtain the RGBD image;
[0437] Memory 22 is used to store RGBD image information collected by the binocular camera and preset calibration data. The preset calibration data includes preset shoulder joint points 33 three-dimensional coordinates and preset horizontal position 31.
[0438] The processor 23 is configured to process the RGBD image information collected by the binocular camera, obtain a three-dimensional coordinate of the human joint point by solving, calculate a coordinate difference value one based on the three-dimensional coordinate of the human joint point, and calculate an actual according to the three-dimensional coordinate of the human joint point. Detection of angular value and horizontal displacement.
[0439] Execution mechanism, which includes a flat-panel detector driving mechanism and a prompting device 24, and the processor 23, sends a control instruction to the flat-panel detector driving mechanism to drive the flat-panel detector 34 according to the coordinate difference.
[0440] First, according to the actual detection angle value and the amount of horizontal displacement, a control instruction 2 is issued to the prompting device 24 to guide the human body to adjust corresponding actions.
[0441] In this technical solution, the RGBD image of the human body at the detection position is obtained through the binocular camera 21. The 3D coordinates of the human joint points are obtained through the deep learning model based on the detection of the joint points of the human body. 3D coordinates of other joint points of the human body. The longitudinal coordinate value of the shoulder joint point 32 is subtracted from the preset longitudinal coordinate value of the shoulder joint point 33 to obtain a coordinate difference.
[0442] Value one, the processor 23 sends a control instruction one to the driving mechanism of the flat panel detector according to the coordinate difference value, and drives. The flat panel detector 34 moves in the vertical direction and can automatically adjust the height of the flat panel detector to ensure the image shooting effect.
[0443] Calculate the actual detection angle value and horizontal displacement according to the three-dimensional coordinates of the human joint point, and then you can get the angle that the human body needs to rotate and the adjustment range of the horizontal displacement, and prompt the human body to adjust the posture through the prompting device 24 to perform the corresponding position for the person to be detected. The movement guidance can achieve the coincidence of the human body and the standard position as much as possible, without the guidance of the staff, and can also ensure that the posture of the person to be tested meets the detection requirements, thereby ensuring the correctness and effectiveness of the image.
[0444] In the picture: binocular camera 21; memory 22; processor 23; prompting device 24; X light source 25; beam lighter/collimator 26; node 1 27; joint point 2 28; X ray 29; actual horizontal position 30; preset level Position 31; human shoulder joint point 32; preset shoulder joint point 33; flat panel detector 34.
A Method for Automatically Stitching Image by Adjusting Height of X-Ray Detector
[0445] The present invention is further described below with reference to the drawings and specific embodiments.
EXAMPLE 1
[0446] As shown in
[0447] S2. Calculate the coordinate offset: Subtract the longitudinal coordinate value of the human shoulder joint point 42 from the preset longitudinal coordinate value of the shoulder joint point to obtain the coordinate offset;
[0448] S3. Initial position positioning: The flat panel detector 44 performs initial position positioning according to the coordinate offset, moves to the corresponding initial position, and then the X light source 45 starts shooting to obtain the initial captured image;
[0449] S4. Determine the coordinates of the movement reference point 46: obtain the coordinates of the reference point 46 of the initial position according to the initial position;
[0450] S5. Shift and capture images one by one: Flat panel detector 44 uses datum point 46 as reference and multiple presets. The distance adjustment value 47 is the successive displacement of the length. After each time the flat panel detector 44 moves into position, the X-ray source 45 starts shooting. After the shooting is completed, the next shift is performed to obtain multiple captured images.
[0451] S6. Image stitching: continuous automatic stitching of images according to each captured image.
EXAMPLE 2
[0452] This embodiment is optimized and limited on the basis of the first embodiment.
In S 1:
[0453] S1.1. The scene on the detection position is captured by the binocular camera 41. The RGBD image information of the human body located on the detection position is collected, and the RGBD image information is stereo processed by the processor to obtain RGB images and depth images. Image information and depth of field information;
[0454] S1.2. The deep learning model based on human joint point detection calculates the positions of several human joint points in the depth image, and determines the joint point image coordinates of several human joint points in the depth image;
[0455] S1.3. Calculate the three-dimensional coordinates of the joint points corresponding to the joint point image coordinates according to the joint point image coordinates, depth of field information and the preset binocular camera 41 calibration parameters. The joint point three-dimensional coordinates are used to represent the three-dimensional of the human joint points in the scene. Coordinate values; 3D coordinates of joint points include human shoulder joint points 2 3D sitting 3D coordinates of the target and several other joint points of the human body.
[0456] Specifically, the calibration parameters of the binocular camera 41 include the camera focal length, image center coordinates, and image distortion coefficients. The joint point correction coordinates are calculated based on the image distortion coefficients and the joint point image coordinates. According to the depth of field information in the depth image, the joint point image is determined The joint point depth value corresponding to the coordinates, the joint point depth value is the Z-axis coordinate value in the joint point three-dimensional coordinate; the joint point depth value, joint point correction coordinate and image center coordinate are brought into the three-dimensional coordinate calculation model, and the joint point three-dimensional is calculated coordinate.
[0457] The deep learning model and the three-dimensional coordinate calculation model for detecting human joint points are both existing calculation models, and the corresponding parameters can be used to calculate the three-dimensional coordinates of the human joint points.
EXAMPLE 3
[0458] This embodiment is optimized and limited on the basis of the first embodiment.
In S6:
[0459] S6.1. Determine the alignment point 48: The alignment point 48 is the joint point one 8.1 and the joint point two in the A image 50. 8.2 and node B in image 51 and joint point four, joint point one 8.1 and joint point three are the same joint point of the human body, joint point two 8.2 and joint point four are the same joint point of the human body;
[0460] S6.2. Match point 48: Match joint point 8.1 with joint point three, and joint point 8.2 with joint point four, and get rectangular overlap area 49;
[0461] S6.3. Image fusion is performed on the rectangular overlapping area 49 to obtain a new A image 50, and the A image 50 and the next B image 51 are continued from the stitching steps of S6.1 and S6.2 above, until all the images are completely used.
EXAMPLE 4
[0462] This embodiment is optimized and limited on the basis of the first embodiment.
[0463] In S2: the 3D coordinates of the joint point include the shoulder joint point 42 of the human body and the 3D coordinates of other joint points 43 of the human body. Since the binocular camera 41 and the X light source 45, the beam lighter/collimator, and the flat panel detector 44 maintain relative positions, therefore, when the flat panel detector 44 is in a proper position, the longitudinal coordinates of the shoulders of the human body in the RGB image are relatively fixed. The longitudinal coordinate value of the shoulder joint point 42 of the human body and the preset shoulder joint point
[0464] The subtraction of the longitudinal coordinate values of the coordinate coordinates yields the coordinate offset, which becomes the basis for the movement direction and amplitude of the flat panel detector 44. The specific calculation is as follows:
Y.sub.3=Y.sub.1−Y.sub.2
[0465] The ordinate value of the shoulder joint point 42 of the human body is Y.sub.1, the preset ordinate value of the shoulder joint points is Y.sub.2, and the coordinate offset is Y.sub.3.
EXAMPLE 5
[0466] This embodiment is optimized and limited on the basis of any one of the foregoing embodiments 1-4.
[0467] The longitudinal coordinate value of the preset shoulder joint point corresponds to the height position of the flat panel detector 44, so by judging the difference between the preset longitudinal coordinate value of the shoulder joint point and the longitudinal coordinate value of the human shoulder joint, the corresponding distance that the flat panel detector 44 needs to move up or down can be obtained.
[0468] The moving direction of the flat panel detector 44 is as follows: The longitudinal coordinate value of human shoulder joint point 42 is greater than the preset longitudinal coordinate value of shoulder joint point. Detector 44 moves up and vice versa.
EXAMPLE 6
[0469] This embodiment is optimized and limited on the basis of the foregoing Embodiment 5. The reference point 46 is located at the upper end, the lower end, or the middle of the flat panel detector 44. In this embodiment, the reference point 46 is located at the upper end of the flat panel detector 44, which has different reference points 6 at different positions. Each reference point 46 serves as the starting point for the next movement of the flat panel detector 44.
EXAMPLE 7
[0470] This embodiment is optimized and limited based on the foregoing embodiment 6.
[0471] In order to achieve a coincidence area with a certain width in the two images taken in order to determine the alignment point 48 in the coincidence area, the preset distance adjustment value 47 is smaller than the distance from the upper end to the lower end of the flat panel detector 44. The size of the preset distance adjustment value 47 is set according to the position characteristics of the joint points of the human body, and the same joint points need to appear on the two images taken one after the other.
EXAMPLE 8
[0472] This embodiment is optimized and limited based on the foregoing Embodiment 7.
[0473] The flat panel detector 44 is connected with a driving device, and the control end of the driving device is connected with the output end of the processor. Specifically, the driving device is a driving motor, and the driving motor is driven by gear transmission or chain rotation, etc. The flat plate detector 44 can be lifted and lowered. The drive structure of the flat plate detector 44's lifting movement adopts the existing drive structure, and is not limited to the motor drive.
[0474] In this technical solution, the RGBD image of the human body at the detection position is obtained through the binocular camera 41, and the three-dimensional coordinates of the human joint point are obtained through the deep learning model based on the detection of the human joint points. 3D coordinates of other joint points of the human body. The longitudinal coordinate value of the shoulder joint point 42 is subtracted from the preset shoulder coordinate point to obtain a coordinate offset. The processor sends a control instruction to the drive mechanism of the flat panel detector 44 according to the coordinate offset to drive the flat panel. The detector 44 moves in the vertical direction, which can automatically adjust the flat panel detector 44 to an appropriate initial position. This facilitates the correctness of the subsequent displacement of the flat panel detector 44 and ensures the subsequent image capture effect, thereby facilitating the effectiveness of image stitching.
[0475] In addition, since the joint point of the human body is determined as the alignment point 48 for judging the overlap of the two images, it is easy to determine the position and size of the overlapping parts of the two images. The human joint point is used as the alignment point 48 to guide the stitching of the images, which undoubtedly greatly reduces the stitching. The difficulty of the image also guarantees the effect of image stitching.
[0476] In the picture: binocular camera 41; human shoulder joint point 42; other joint points 43; flat panel detector 44; X light source 45; reference point 46; preset distance adjustment value 47; alignment point 48; joint point 8.1; joint point Two 8.2; rectangular overlapping area 49; A image 50; B image 51.
A Method for Automatically Stitching Image by Adjusting Height of X-Ray Detector
EXAMPLE 1
[0477] As shown in
[0478] Determine whether the current input data to be predicted is valid data. If yes, import the input data to be predicted into the trained regression model for prediction operation. If not, output early warning information; output early warning information indicates the input living body information and environment. The information and/or hardware information are missing necessary data. The exposure parameters obtained from the current input data to be predicted cannot form a high-quality X-ray image. It is necessary to re-obtain living information, environmental information and/or hardware information as the input data to be predicted. One or more data results in low quality X-ray imaging; among them, the regression model is trained based on clinically collected multi-dimensional data and high-quality X-ray images, which can predict when known living information, environmental information, and hardware information high quality exposure parameters that should be used for X-ray imaging.
[0479] After the prediction operation is performed, the exposure parameter of the X-ray imaging corresponding to the input data to be predicted is obtained, and the exposure parameter of the current X-ray imaging is used as the optimal exposure parameter corresponding to the input data to be predicted.
[0480] According to the current optimal exposure parameters, the exposure parameters required for X-ray imaging are obtained. The exposure parameters include the tube voltage (kVp), the tube current (mA), and the exposure time (ms).
EXAMPLE 2
[0481] This embodiment is improved on the basis of Embodiment 1. Specifically, in this embodiment, living body information is obtained through an existing medical system such as an automatic thickness measurement system, a case management system, and an intelligent diagnosis and treatment system. The living body information includes living species, one or more of sex, age, body weight, thickness of the part to be detected, density of the part to be detected, disease of the part to be detected, and lesion development stage of the part to be detected; among which, the living species may be humans, various animals, etc. Need to be manually entered by medical personnel after manual judgment;
[0482] Due to different densities of living beings of different sexes, different ages and different weights, sex, age and living weight are used to distinguish between different sexes, different ages and different weights. sex, age and body weight can be automatically filled according to registration information Or manually input by medical staff; the thickness of the part to be detected is an indispensable criterion for judging the exposure dose, because the greater the thickness, the higher the exposure dose, regardless of the penetrating power or the amount of radiation; the density of the part to be detected It can be manually input by medical staff according to the known organ density; the disease to be detected is obtained for the diagnosis of a specific disease or some specific diseases, and some specific lesions require a specific exposure dose; due to the different stages of each disease may appear Expansion or metastasis may also occur in different lesions. At the same time, the exposure dose used in the stage of recovery of the lesion and the stage of diagnosis of the lesion will be different. Therefore, the development stage of the lesion to be detected is obtained according to the exposure dose required for the development stage of the lesion.
EXAMPLE 3
[0483] This embodiment is improved on the basis of Embodiment 1 and/or 2. Specifically, in this embodiment, the environmental information includes a living body distance, an environment temperature where the X-ray machine is located, ambient humidity, ambient pressure, and an inherent filter of the X-ray machine. One or more of the aluminum equivalents; among them, the ionization ability of X-ray is affected by its propagation medium, and other variables remain unchanged in different natural environments, even if the X-photo-ionization finally obtained with the same exposure parameters The capabilities are also different, and the propagation medium in the medical environment is mainly determined by object/body factors such as temperature, humidity, and air pressure. In order to further improve the quality of X-ray imaging, the final exposure parameters also need to be fine-tuned to different degrees for different object/body factors; The living body distance is the distance between the living body and the vacuum glass tube of the bulb. The scattering amount of X-rays during the propagation process is also an influential factor explicitly mentioned in the standard radiation quality (such as RQA5). The living body distance will affect the X-ray itself. Capability; the inherent filtering of X-rays during propagation, in general, this should be a standard 2.5 mm aluminum equivalent, which can pass through known The inherently filtered aluminum equivalent adjusts the exposure parameters to further improve the accuracy of the optimal exposure parameters.
[0484] It should also be noted that the current standard radiation quality RQA5 is most widely used in the industry, which corresponds to the quality standard of X-ray tube voltage of 70v, but in addition to the standard radiation quality RQA5, X-ray tube voltages can also be selected respectively. It is 50v, 60v, 80v standard radiation quality RQA3, standard radiation quality RQA4, standard radiation quality RQA6 and other industry standards.
EXAMPLE 4
[0485] This embodiment is improved on the basis of Embodiment 1, 2, and/or 3. Specifically, in this embodiment, the hardware information includes X-ray machine factory parameters, X-ray machine use parameters, tube use parameters, and detectors leave the factory. One or more of the parameters; among them, the X-ray machine factory parameters can include but not only include power, supported parameter adjustment range, scale of each parameter, attenuation curve, etc.; X-ray machine use parameters can but not only include Use age, number of exposures, etc.; bulb (ie X-ray generation source) use parameters can be, but not limited to, use age, stability, etc.; detector (and image acquisition device) factory parameters can include, but are not limited to, linear response range and sensitivity. Process, materials, etc.; the above object/body factors or equipment loss parameters during use will affect X-ray imaging to varying degrees, so it also needs to be used as reference data for adjusting the optimal exposure parameters.
EXAMPLE 5
[0486] This embodiment is improved based on Embodiments 1, 2, 3, and/or 4. Specifically, in this embodiment, the training steps of the regression model are as follows:
[0487] Obtain multiple X-ray images as initial data, extract living information, environmental information, and hardware information recorded when each X-ray image was taken as basic data, and use the exposure parameters corresponding to each basic data as labels for each basic data; where The X-ray images obtained in this step are collected clinically and authorized by the final high-quality X-ray image confirmed by the experts of Radiographic; when the exposure parameter corresponding to each basic data is used as the label of each basic data, the label of each basic data is the exposure parameter corresponding to the current basic data X-ray image.
[0488] Dimension reduction calculation is performed on all basic data of each X-ray image to obtain sample data, and then all sample data of each X-ray image after dimensionality reduction is taken as a binary group, and multiple binary groups are imported into deep learning Recognition training is performed in the model, where each pair is used as sample input data, and the exposure parameter corresponding to each pair is used as sample verification data.
[0489] Until the mapping relationship between each type of living information, environmental information or hardware information and exposure parameters is established, then the training is completed.
EXAMPLE 6
[0490] This embodiment is improved on the basis of Embodiment 5. Specifically, in this embodiment, during the training process, according to the matching result of the training input data and the sample verification data, the gradient descent algorithm is used to continuously optimize the deep learning. The model completes the training until the error between the correlation between the input data of the same sample and the sample check data is less than the threshold; the threshold can be either a pre-set threshold or a default value, which can be calculated from The living information, environment information, and hardware information with high correlation with the exposure parameters are generated, thereby making the trained regression model have higher prediction accuracy of the prediction data.
EXAMPLE 7
[0491] This embodiment is improved on the basis of Embodiment 6. Specifically, in this embodiment, when the correlation between the sample input data and the sample verification data is greater than a preset value, the current sample input data is necessary data; to predict whether the input data is valid data, the specific steps are as follows:
[0492] Determine whether the current prediction input data includes all necessary data. If so, the current input data to be predicted is valid data. If not, the current input data to be predicted is invalid data.
EXAMPLE 8
[0493] This embodiment is improved on the basis of Embodiments 5, 6, and/or 7. Specifically, in this embodiment, after the exposure parameter corresponding to each basic data is used as a label of each basic data, the covariance is calculated by To get the correlation between each basic data and the exposure parameter.
EXAMPLE 9
[0494] This embodiment is improved on the basis of Embodiments 5, 6, 7, and/or 8. Specifically, in this embodiment, when performing dimensionality reduction calculation on the basic data, the PCA method, the tSNE method, and/or the Auto-Encoder are used.
EXAMPLE 10
[0495] This embodiment is improved on the basis of any of Embodiments 5, 6, 7, 8, and/or 9. Specifically, in this embodiment, the deep learning model uses logistic regression, a decision tree, a random forest, and shellfish. It is realized by the Yes network, support vector machine or Gaussian mixture model, which makes the recognition accuracy of the regression model high.
EXAMPLE 11
[0496] This embodiment is improved on the basis of Embodiments 5, 6, 7, 8, 9, and/or 10. Specifically, in this embodiment, each live information, each environment information, and each hardware information correspond to each other. The number of basic data is not less than 1,000. A sufficient number of basic data can further improve the prediction accuracy of the regression model, and can form a more accurate mapping relationship between the input sample and the verification sample.
X-Ray Emission Front End Automatic Adjustment Method and System
EXAMPLE 1
[0497] As shown in
[0498] The method includes the following steps:
[0499] S1: Use the front camera to automatically obtain the user's natural image data;
[0500] S2: According to the key point detection model, the data processing subsystem is used to detect and obtain the user's feature points in the natural image data;
The method for establishing the key point detection model includes the following steps:
[0501] A1: Perform scaling processing on existing human body image data; obtain a number of scaled image data of a preset size, and set labels;
[0502] The label is: Gaussian distribution centered on the coordinates of key points in the scaled image data; the formula of the Gaussian distribution is:
[0503] A2: Combining the scaled image data and corresponding labels into a pair to form training sample set;
[0504] A3: Use the training sample set for training, and calculate the loss through the cross-entropy between the obtained prediction output and the corresponding label;
[0505] The formula for the cross-entropy loss function is:
In the formula, CE (p, q) are cross-entropy loss functions; q is the current sample label indicator; p is the probability that the output point is a feature point.
[0506] The gradient of the cross-entropy loss function for the weight of the last layer is only proportional to the difference between the output value and the true value. At this time, the convergence is faster; and the back propagation is multiplicative, so the update of the entire weight matrix will be accelerated. In addition, Derivation of multi-class cross-entropy loss is simpler, and the loss is only related to the probability of the correct category;
[0507] A4: Determine whether the loss has reached the local or global minimum (a necessary and inadequate condition is that the current gradient is 0 in the parameter space). If it is, the reasonable weight to make the loss reach the local or global minimum is the hidden parameter of the model. The detection model is the model structure (function prototype) with corresponding hidden parameters, and the method ends, otherwise the gradient descent method is used to update the weight of the current key point detection model, and returns to step A4;
[0508] The key point detection model is a supervised model. By training the human image data, updating the model weights, and outputting the optimal key point detection model, the accuracy is improved. When the user's natural image data is input, feature points are obtained for subsequent natural images. Acquisition of the displacement vector from the data center to the feature point;
The formula for obtaining feature points is:
P(x=k|x)
In the formula, P is the probability that each point in the image is a feature point, and x is a point in the image; k is the feature point of the image; the point with the highest probability Pmax in the image is the feature point;
[0509] S3: Obtain a displacement vector from the center of the natural image data to the feature point. The direction of the displacement vector is from the center of the natural image data to the feature point. In this embodiment, the displacement vector is decomposed into an X-axis projection vector in a rectangular coordinate system And Y-axis projection vectors to facilitate the displacement subsystem to automatically adjust the position of the transmitting front end surface.
[0510] S4: According to the displacement vector, the displacement front-end is used to automatically move the transmitting front-end to achieve its adjustment which improves accuracy and efficiency, and avoids significant deviations due to manual adjustment which prevents missing information on the x-ray images after exposures.
[0511] S5: Detect and analyze the position of the light source and the corresponding feature point to the position of the projection point on the plane of the acquisition device. If it is, the method ends, otherwise return to step S1; this further reduces the error and avoids the error caused by human error for better results.
EXAMPLE 2
[0512] This embodiment is based on Embodiment 1, and provides an X-ray emission front-end automatic adjustment system, as shown in
[0513] The transmitting front end includes a light source and a front camera. The light source and the front camera are located at the same position on the top of the displacement subsystem and are connected to the data processing subsystem. The light source is an X-ray light source.
[0514] The data processing subsystem includes a microcontroller and a displacement drive module. The microcontroller is in communication with the X-ray light source, the front camera, the displacement drive module, and the data terminal The displacement drive module is in communication with the displacement subsystem.
[0515] The front camera collects the user's natural image data and transmits it to the microcontroller. The microcontroller controls the displacement subsystem to automatically move the transmitting front end according to the displacement vector. As a preferred implementation, the displacement subsystem includes a lateral displacement motor and a longitudinal displacement The displacement skeleton has the lateral displacement motor and longitudinal displacement motor located inside it with active communication with displacement driving module.
[0516] According to the displacement vector, microcontroller controls the lateral displacement motor through the displacement drive module to adjust the lateral position of the displacement skeleton, and controls the vertical displacement motor through the displacement drive module to adjust the longitudinal position of the displacement skeleton to realize the automatic adjustment of the relative position of the transmitting front end with the user. When the position of the X-ray light source coincides with the position of the feature point corresponding to the projection point on the plane of the acquisition device, the X-ray light source starts working to emit X-rays, and the acquisition device acquires X-ray image data.
[0517] As a preference, the system further includes a power module, which is electrically connected to the transmitting front end, data processing subsystem and displacement subsystem respectively. The power module is an X-ray light source, a front camera, a microcontroller and a displacement driving module, and a lateral displacement. The motor and the longitudinal displacement motor provide the operating voltage.
Light Field Adjustment System and Method for Part to be Photographed Based on Key Point Detection
EXAMPLE 1
[0518] This embodiment provides a light field area adjustment system for a part to be exposed based on key point detection, including: The X-ray source end and the X-ray collimator for controlling the X-ray radiation range, and also includes a shooting area calculation module for calculating the key points of the human body and for obtaining and comparing the ideal light field area; the light field is the area where the X-rays are exposed on the human body. In this embodiment, the light field is rectangular.
[0519] The X-ray variable beam limiter is provided with a visible light source end, a laser source end, and an image capturing device; the visible light source end, the laser source end, and the X-ray source end have the same light field area; the laser source end is used to project the laser pattern preset; the visible light source end is used to project the light field area of the X-ray source end on the human body to be captured; the image capturing device is used to capture the natural light image.
EXAMPLE 2
[0520] This embodiment is a further improvised version of Embodiment 1. This embodiment is the same as Embodiment 1.
The difference is:
[0521] In this embodiment, the light field area adjustment system for a part to be exposed is based on key point detection which further includes a display end; the display end is used to display the actual light field range corresponding to the visible light source end and/or the laser source end, and also used to display the shooting area of ideal light field area obtained by the computing module.
EXAMPLE 3
[0522] This embodiment is a further improvised version based on any of Embodiment 1 and Embodiment 2. The difference between this embodiment and any of the embodiments 1 and 2 lies in: In this embodiment, the light field area adjustment system for a part to be exposed based on a key point detection which further includes an X-ray light field adjustment module; a lead plate is provided at the opening of the X-ray collimator; the X-ray light field adjustment module is used for adjustment position of the lead plate; the lead plate is used to adjust the light field area of the visible light source end, the laser source end, and the X-ray source end on the human body to be exposed.
[0523] Example 4 Based on the embodiments 1-3, this embodiment provides a method for adjusting a light field region of a part under exposure based on key point detection, which includes the following steps: Obtain the information about the part to be detected and the position information of the current human body to be exposed; The preset laser pattern is projected onto the current human body to be captured, and an initial natural light image of the current human body to be captured is obtained, and then the key point information of the human body in the current initial natural light image is obtained. The preset laser pattern can be of any shape, for example the cross shape shown in
[0524] Determining the verification light field area information corresponding to the laser pattern in the current verification natural light image according to the current laser key point information, wherein the verification light field area information includes verification center point information and verification size information;
[0525] Determine whether the difference between the current verification light field information and the ideal light field area is less than the threshold. If so, obtain the X-ray image of the current human body to be captured. If not, readjust the projection area of the laser pattern.
EXAMPLE 5
[0526] This embodiment is a further improvised based on Embodiment 4:
[0527] The difference is: In this embodiment, the key point information of the human body includes the key point information of the part and the key point information of the joint; wherein the key point information of the human body is obtained by a key point detection algorithm. It should be noted that for everyone the key points of the body have a clear correspondence with the corresponding joints or parts of the human body; the key points of the human body can be, but not limited to, including head, neck, left and right shoulder joints, left and right elbow joints, left and right wrist joints, left and right hip joints, left and right knee joints, Ankle joints, facial features and finger joints, as shown in
[0528] As one of the preferred implementation modes for shooting the torso part of the human body (such as the chest cavity, lumbar spine, etc.) is achieved by using a high-resolution network model HRNet (Deep High-Resolution Representation Learning for Human Pose Estimation).
[0529] As another preferred embodiment, the hand (finger, wrist, etc.) of the human body is taken using 2D/3D gesture key point algorithm (Hand Key point Detection in Single Images using Multi-view Bootstrapping).
[0530] As another preferred embodiment, when the HRNet algorithm is used, the algorithm structure is modified so that it outputs a natural light image that includes both the key points of the human body and the key points of the laser pattern.
EXAMPLE 6
[0531] This embodiment is a further improvement on Embodiment 4 or 5. The difference between Example 4 and 5 is: In this embodiment, when obtaining the ideal light field area information of the current part to be detected, the specific steps are as follows: According to the information of the current first part to be detected, the position information, and the key point information of the human body, the current ideal center point information of the part is detected. According to the current human key point information and the reference human key point information, the ideal size information of the current part to be detected is calculated, wherein the ideal size information includes length information and width information.
[0532] As an example, as shown in
[0533] The information is positive. The four points of PQRS constitute the laser pattern. The gray area of four points of HIJK is the ideal light field area. The numbers 3 and A are the key points of the human left shoulder joint. The numbers 4 and B are the key points of the human right shoulder joint. Points 9 and C are the key points of the human left hip joint, points 10 and D are the key points of the human right hip joint, and point O is the ideal center point of the thoracic spine.
[0534] According to anatomical knowledge, the ideal center point of the thoracic spine is about ¼ of the line connecting the left and right shoulder joints with the left and right hip joints. When the key point detection algorithm is used to identify key points A, B, after the position information of C and D, calculate the midpoint E of line segment AB and the midpoint F of line segment CD at the position in the initial natural light image, we can get point O on line segment EF and |OE|=|EF|/4; the ideal size information includes the ideal light field length and the ideal light field width.
[0535] The ideal light field width is determined by the width of the site to be detected. Take the thoracic spine and
[0536] The ideal light field length is determined by the length of the part to be detected. Taking the above thoracic spine and
[0537] Therefore, the ideal center point information and ideal size information of the area to be detected can be calculated based on the information of the area to be detected, the position information and the key point information of the human body detected by the key point detection algorithm; the control by the X-ray collimator of the size and position of the light field area should be consistent with the ideal size information and ideal position information; the size and position of the light field controlled by the X-ray collimator is indicated by the laser pattern, and can also be calculated from the key points of the laser pattern. For different parts and positions, only the calculation method needs to be appropriately changed according to human anatomy knowledge, and the ideal light field area information to be controlled by the center of the part to be detected, the shooting area and the X-ray collimator can be obtained.
EXAMPLE 7
[0538] This embodiment is a further improvement made on the basis of any of the embodiments 4-6.
[0539] The difference between any of Examples 4-6 is:
[0540] In this embodiment, when determining whether the difference between the current light field area information and the ideal light field area is less than a threshold, the specific steps are as follows:
[0541] Judging whether the difference between the verification center point information in the current verification light field area information and the ideal center point information in the current ideal light field area information is less than a threshold;
[0542] If not, readjust the projection area of the laser pattern;
[0543] If so, continue to determine whether the difference between the calibration size information in the current calibration light field area information and the ideal size information in the current ideal light field area information is less than a threshold value; if so, obtain an X-ray image of the current human body to be captured, If not, readjust the projection area of the laser pattern.
[0544] For example, as shown in
EXAMPLE 8
[0545] This embodiment is a further improvement made on the basis of any of the embodiments 4-7. The difference between any of Examples 4-7 is: In this embodiment, after obtaining the ideal light field area information of the current part to be detected, the ideal light field area information and the checkout natural light image including the laser pattern are output to the display end.
[0546] After the ideal light field area information is calculated according to the key points of the human body, it can be displayed on the display end (such as the gray area in
A Method for Adjusting Physical Alignment of Components in X-Ray Imaging System
EXAMPLE 1
[0547] As shown in
[0548] The above method specifically includes the following steps:
[0549] Obtain the information about the position and position of the current human body to be detected;
[0550] The preset laser pattern is projected onto the current human body part to be detected, and a natural light image for a current human body to be detected, the laser pattern, and the flat panel detector is acquired. Then the key point information of the human body, the key point information of the laser pattern, and the Key point information at the ray receiving end is obtained; the preset laser pattern can be of any shape, such as the cross shape shown in
[0551] Obtaining the reference point information corresponding to the current position to be detected information and the positioning information, and obtaining distance information between multiple reference points corresponding to the current reference point information;
[0552] According to the current key point information of the human body, the key point information of the laser pattern, and the key point information of the ray receiving end, obtain the center point information of the current part to be detected, the center point information of the X-ray source end, and the center point information of the ray receiving end, and obtain the part to be detected. The spatial position information of the center point, the spatial position information of the center point of the X-ray source, and the spatial position information of the center point of the ray receiving end; among them, the key point information of the human body, the key point information of the laser pattern, and the key point information of the ray receiving end are all set information; as shown in
[0553] According to the spatial position information of the center point of the part to be detected, the spatial position information of the center point of the X-ray source end, the spatial position information of the center point information of the ray receiving end, the reference point information, and the distance information, the center point of the ray receiving end, the center point of the x-ray source end and the center point of the part to be detected should be collinear.
EXAMPLE 2
[0554] This embodiment is a further improvement based on Embodiment 1. This embodiment is the same as Embodiment 1.
[0555] The difference is: In this embodiment, the spatial position information includes height information and horizontal position information.
EXAMPLE 3
[0556] This embodiment is a further improvement made on the basis of Embodiment 2. This embodiment and Embodiment 2. In this embodiment, after the three points of the center point of the ray receiving end, the center point of the X-ray source end, and the center point of the site to be detected are made collinear, the height of the center point of the ray receiving end, the height of the center point of the X-ray source end, and The center points of the parts are all the same height, and the three points are on the same horizontal line.
EXAMPLE 4
[0557] This embodiment further improves on the basis of any of Embodiments 1-3. The difference between any of Examples 1-3 is: In this embodiment, the ray receiving end includes a flat panel detector and a box body cased around the flat panel detector; the box body is provided with more than two key points of the box body; and the key point of the ray receiving end is more than two box body key points.
EXAMPLE 5
[0558] This embodiment is a further improvement based on Embodiment 4, and this embodiment and Embodiment 4. The difference is: In this embodiment, the ray receiving end further includes a hand-held support; the hand-held support is provided with two or more stand-by key points of the stand; when the key points of the box are not detected in the natural light image, the stand-by key points of the stand are received as rays Key point; as shown in
EXAMPLE 6
[0559] This embodiment is a further improvement made on the basis of any one of Embodiments 1-5. The difference between any of Examples 1-5 is: In this embodiment, the key point information of the human body includes the key point information of the part and the key point information of the joint.
[0560] In the human body, key point information is obtained through a key point detection algorithm. It should be noted that each key point of the human body has a clear corresponding relationship with the corresponding joint or part of the human body; the key points of the human body can be, but not limited to, including head, neck, left and right shoulder joints, left and right elbow joints, left and right wrist joints, left and right hip joints, left and right knee joints, left and right ankle joints, facial features and finger joints, etc., as shown in
[0561] There are 14 points; the numbers 1-14 in
[0562] As another preferred embodiment, the hand (finger, wrist, etc.) of the human body is taken using 2D/3D gesture key point algorithm (Hand Key point Detection in Single Images using Multiview Bootstrapping).
[0563] As another preferred embodiment, when the HRNet algorithm is used, the algorithm structure is modified so that it outputs a natural light image that includes both the key points of the human body and the key points of the laser pattern.
EXAMPLE 7
[0564] This embodiment is a further improvement made on the basis of any one of Embodiments 1-6. The difference between any of Examples 1-6 is: In this embodiment, after obtaining the spatial position information of the center point of the current part to be detected, the spatial position information of the center point of the X-ray source end, and the spatial position information of the center point of the ray receiving end, the spatial position information of the center point of the part to be detected, The spatial position information of the center point of the X-ray source end and the spatial position information of the center point of the ray receiving end are output to the display end, and natural light images including the key points of the human body, the key points of the laser pattern, and the key points of the ray receiving end are output to the display end.
[0565] An example of how the present invention achieves the adjustment of the physical alignment of the components is shown below:
EXAMPLE 1
[0566] In addition to the key points of the human body, a total of 14 special key points are used in Example 1, including the key points of the laser pattern and the key points of the ray receiving end. The scene of taking an X-ray image for the human body is shown in
The device for obtaining distance information is installed at the position of point O, so that the distance from point O to the surface of any object/body part can be obtained (except for the blocked part, for example, in
[0567] The dimensions of the box rectangle ABCD at the ray receiving end are known, that is, the lengths of the line segments AB and BC are known. The plane of the natural light image is the plane a, that is, the actual distance between the points in the plane a and the corresponding points in the natural light image. The pixel distance is proportional.
[0568] In Example 1, an optimized human key point detection algorithm is used. When calculating human key points, the positions of the center point of the flat panel detector box and the center point of the laser pattern in the natural light image are calculated, that is, the points F and S are determined.
[0569] Since the lengths of the line segments OF and OS are known, they can be obtained according to the Pythagorean Theorem:
Let FS be the length of the line segment FS in the image (the unit is the number of pixels). The actual distance between the points is proportional to the pixel distance in the natural light image.
The angle of ∠POS is: ∠POS
Since the length of the line segment OM is known, the length of the line segment MR is:
(
From the above, the length of the line segment MR is:
Since the length of the line segment AB is known, according to the length of the line segment MR:
The height difference between the center points of the ray receiving end in the actual space is the length of the line segment ER, that is:
The height difference between the center point T of the human body to be detected and the center point O of the ray source end is the length of the line segment ST:
[0570] In summary, when the ray receiving end moves to an arbitrary height, the position and height difference of the center point of the ray receiving end, the center point of the human body to be detected, and the center point of the laser pattern in the three-dimensional space can be obtained from natural light images and distance information. It is found that when the above-mentioned height differences ER and ST are smaller than the threshold, it is considered that the center points of the three components are at the same height, thereby realizing the adjustment of the physical alignment of the three components.
EXAMPLE 2
[0571] When the ray receiving end moves vertically up and down, the midpoints of the edges of the upper and lower boxes get blocked. As shown in
[0572] N is the leftmost end and rightmost end of the handheld support, not the left and right midpoints of the box; at this time, the actual length of the line segment obtained from the distance information includes the line segment OM, line OS and line OF, and the box and hand The average size of the brace is known;
[0573] According to the Pythagorean Theorem, the distance from the center point E of the ray receiving end to the center point O of the camera is the distance of the line segment OE.
Length, Specifically:
[0574]
Similarly, the length of the line segment FS is:
From the above three formulas, we can get:
The height difference between the center point of the ray receiving end in the actual space is the length of the line segment ER, that is:
Since the actual distance between two points on the alpha plane is proportional to the pixel distance in the image, then:
[0575] From the above, the height difference between the center point T of the human body to be detected and the center point O of the ray source end is the length of the line segment ST is:
[0576] In summary, when the ray receiving end moves to an arbitrary height, the position and height difference of the center point of the ray receiving end, the center point of the human body to be detected, and the center point of the laser pattern in the three-dimensional space can be obtained from natural light images and distance information. It is found that when the above-mentioned height differences ER and ST are smaller than the threshold, it is considered that the center points of the three components are at the same height, thereby realizing the adjustment of the physical alignment of the three components.
EXAMPLE 8
[0577] As shown in
[0578] The ray source end is used to obtain natural light images, distance information and angle information, and is used to emit X-ray and laser patterns; The ray receiving end is used for receiving X-rays emitted from the ray source and outputting X-ray images; universal adjustment mechanism for adjusting the spatial position of the ray source and the angle between the X-rays emitted from the ray source and the ray receiving end; post adjustment mechanism for adjusting the height of the radiation receiving end.
[0579] The control module is used to calculate the height information of the ray receiving end, the position information of the ray source end and the angle information of the ray source end after receiving the natural light image, the distance information and the angle information, and then according to the height information of the ray receiving end, the position information of the ray source end and the ray source The end angle information controls the start and stop of the universal adjustment mechanism and the column adjustment mechanism.
[0580] The invention uses a ray source end to project a laser pattern on the surface of a human body using the ray source end, and then acquires
[0581] The natural light image provides a theoretical basis for the calculation of the position information of each component. The distance and angle information can be combined to obtain the position and attitude of the center point of the ray source, the center point of the human body, and the center point of the ray receiver in the actual three-dimensional space. Subsequent adjustment of the position of each component provides a theoretical basis; at the same time, through the setting of the universal adjustment mechanism and the column adjustment mechanism, errors caused by manual adjustment are avoided.
[0582] In this embodiment, the X-ray imaging system described in the embodiment is convenient for adjusting the physical alignment of the components, and further includes a display terminal communicably connected to the control module; the display terminal is used to display the natural light image, distance information, angle information, and Height information, position information on the ray source and/or angle information on the ray source.
[0583] In this embodiment, the ray source end includes housing, and also includes a laser source and an X-ray source both embedded in the housing and having a uniform light field area, and also includes a laser source and an X-ray source both embedded in the housing and communicated with the control module. Image acquisition device, ranging device and angle measurement device; image acquisition device is used to acquire natural light image, distance measurement device is used to obtain distance information between multiple preset reference points; angle measurement device is used to obtain laser source and X-ray The operating angle of the source, where the operating angle includes a horizontal deflection angle and a vertical pitch angle. By obtaining a photo of natural light, the angle of the ray source end, and the distance from the ray source end to the surface of the object/body part in space, the center point of the part to be detected, the center point of the ray receiving end, the center point of the ray source end, and the angle of the ray source end can be obtained. The center point of the detection part, the center point of the ray receiving end, the center point of the ray source end, and the angle of the ray source end can guide the corresponding parts in the X-ray imaging system to make position adjustments and angle adjustments, avoiding the manual adjustment of the position caused by the X-ray technician. The operation is tedious and error-prone.
[0584] It should be noted that the laser source is used to emit a laser pattern, and the laser pattern may have any shape; the light field is an area where the X-rays are irradiated on the human body. In this embodiment, the light field is rectangular.
[0585] In this embodiment, the beam source end further includes a beam lighter/collimator disposed at the opening of the casing; the beam lighter/collimator is used to control the light field area of the laser source and the X-ray source; the beam lighter/collimator is communicatively connected to the control module.
[0586] In this embodiment, the ray source end further includes a high-voltage generator that is communicatively connected to the control module and is connected to the X-ray source; the high-voltage generator is used to provide an operating voltage for the X-ray source.
[0587] As a preferred embodiment, the ray source end further includes a manual adjustment bracket provided on the casing; the manual adjustment bracket is used to manually adjust the spatial position of the casing.
[0588] In this embodiment, the control module is further configured to detect the key points of the human body, the key points of the laser pattern and the key points of the ray receiving end in the natural light image, and calculate the center point of the part to be detected, the center point information of the X-ray source end, and Center point.
[0589] In this embodiment, the ray receiving end includes a flat panel detector and a box body wrapped around the flat panel detector; the bottom of the box body is fixedly connected to the post adjustment mechanism; and the box body is preset with more than two key points. The key points of the ray receiving end are more than two key points of the box body; among them, the box body package is arranged around and around the flat panel detector.
EXAMPLE 8
[0590] This embodiment is a further improvement made on the basis of Embodiment 7. This embodiment and Embodiment 7. The difference is: In this embodiment, the ray receiving end further includes a hand-held support; the hand-held support is provided with two or more stand-by key points of the stand; when the key points of the box are not detected in the natural light image, the stand-by key points of the stand are received as rays' Key point.
EXAMPLE 9
[0591] This embodiment is a further improvement made on the basis of any of Embodiments 1-8. The difference between any of Examples 1-8 is that: In this embodiment, the post adjustment mechanism includes a post, a motor, and a transmission component installed in cooperation with the output end of the motor; the bottom of the box body is fixedly connected to the transmission component; and the motor and the control module are communicatively connected.
[0592] As one of the preferred embodiments, as shown in
[0593] The driving member is connected to the inner top surface of the vertical rod. The driving member includes a driving circuit electrically connected to the motor. The output end of the motor is fixedly connected to the upper end of the screw rod; the lower end of the screw rod is connected to the inner bottom surface of the vertical rod; The upper thread is connected with a threaded cylinder, and the threaded cylinder is fixedly connected to the sliding table; the lower end of the screw rod is movably connected to the inner wall or inner bottom surface of the vertical rod through a bearing; the bottom of the box body is fixedly connected to the sliding table; the drive circuit receives the starter from the control module. After the stop signal, the motor is controlled to start and stop; when the motor is running, the screw rod is driven to rotate, and the screw rod drives the threaded barrel to perform lifting movement, thereby realizing the height adjustment of the radiation receiving end.
[0594] As another preferred embodiment, on the basis of the above-mentioned transmission assembly, as shown in
[0595] The distance from the ray source to the ray receiving end in this embodiment can be continuously changed, the spatial position can be adjusted, and the angle at which the X-rays emitted by the ray source enters the ray receiving end is variable. In this embodiment, the patient is calculated by acquiring the natural light image The center point of the part to be detected, the center point of the ray receiving end and the center point of the ray source end, and then the ray source end angle (that is, the angle between the ray source end plane normal vector and the ray receiving end plane normal vector), the ray source end to space The distance between the surface of the object/body part and the object/body part to adjust the physical alignment of the X-ray imaging system. It is convenient to use, improves the quality of X-ray images, and avoids unnecessary radiation to the human body, which is suitable for popularization. And the position information of the key points of each part in this embodiment can be intuitively displayed to the
[0596] X-ray technician to avoid the situation where the position of each component of the X-ray imaging system cannot be adjusted accurately due to lack of experience, and multi-angle and multi-range shooting X The light image is more flexible and easy to use. At the same time, the entire system of this embodiment uses a software coupling method to link the ray source end and the ray receiver end, eliminating the complex physical structure, reducing manufacturing, maintenance, and management costs; The X-ray imaging system of the coupling method is cumbersome to use, and it is not convenient to accurately adjust the position of the component, and the problems of inconvenience caused by the fixed source and the receiving end of the ray.
[0597] In the picture, 101-X-ray source, 102-angle measuring device, 103-beam light device, 104-laser source, 105-image acquisition device, 106-ranging device, 107-manual adjustment bracket, 108-universal adjustment mechanism; 201-post adjustment mechanism, 202-hand-held bracket, 203-box, 204-flat detector, 205-motor, 206-slider, 207-screw, 208-slider, 209-slide table, 210-transition bracket; 300-control module; 400-display end
An X-Ray Imaging System that Facilitates Physical Alignment of Components
EXAMPLE 1
[0598] As shown in
[0599] The ray source end is used to obtain natural light images, distance information and angle information, and is used to emit X-ray and laser patterns; the ray receiving end is used for receiving X-rays emitted from the ray source and outputting X-ray images; Universal adjustment mechanism for adjusting the spatial position of the ray source end and the angle between the X-ray emitted from the ray source end and the ray receiving end; post adjustment mechanism for adjusting the height of the radiation receiving end.
[0600] The control module is used to calculate the height information of the ray receiving end, the position information of the ray source and the angle information of the ray source after receiving the natural light image, the distance information and the angle information, and then according to the height information of the ray receiving end, the position information of the ray source end and the ray source The end angle information controls the start and stop of the universal adjustment mechanism and the column adjustment mechanism.
[0601] In this embodiment, a ray source is used to project a laser pattern on the surface of a human body, and then a natural light image is obtained to provide a theoretical basis for the calculation of the position information of each component. The distance center and angle information can be used to obtain the center of the ray source. The position and posture of the point, the center point of the human body, and the center point of the ray receiving end in the actual three-dimensional space provide a theoretical basis for the subsequent adjustment of the position of each component; at the same time, the setting of the universal adjustment mechanism and the post adjustment mechanism avoids Error caused by manual adjustment.
EXAMPLE 2
[0602] This embodiment is a further improvement based on Embodiment 1. This embodiment is the same as Embodiment 1.
[0603] The difference is: In this embodiment, the X-ray imaging system described in the embodiment is convenient for adjusting the physical alignment of the components, and further includes a display terminal communicably connected to the control module; the display terminal is used to display the natural light image, distance information, angle information, Height information, position information on the ray source and/or angle information on the ray source.
EXAMPLE 3
[0604] This embodiment is a further improvement made on the basis of Embodiment 2. The difference is: In this embodiment, the ray source end includes housing, and also includes a laser source and an X-ray source both embedded in the housing and having a uniform light field area, and also includes a laser source and an X-ray source both embedded in the housing and communicated with the control module. Image acquisition device, ranging device and angle measurement device; image acquisition device is used to acquire natural light image, distance measurement device is used to obtain distance information between multiple preset reference points; angle measurement device is used to obtain laser source and X-ray The operating angle of the source, where the operating angle includes a horizontal deflection angle and a vertical pitch angle. By obtaining a natural light photo, the angle of the ray source end, and the distance from the ray source end to the surface of the object/body part in space, the center point of the part to be detected, the center point of the ray receiving end, the center point of the ray source end, and the angle of the ray source end can be obtained; The center point of the detection part, the center point of the ray receiving end, the center point of the ray source end, and the angle of the ray source end can guide the corresponding parts in the X-ray imaging system to make position adjustments and angle adjustments, avoiding the manual adjustment of the position caused by the X-ray technician. The operation is tedious and error-prone.
[0605] It should be noted that the laser source is used to emit a laser pattern, and the laser pattern may have any shape; the light field is an area where the X-rays are irradiated on the human body. In this embodiment, the light field is rectangular.
EXAMPLE 4
[0606] This embodiment further improves on the basis of any of Embodiments 1-3. This embodiment and implementation the difference between any of Examples 1-3 is: In this embodiment, the radiation source end further includes a radiation lighter disposed at the opening of the housing; the radiation lighter is used to control the light field area of the laser source and the X-ray source; the radiation lighter is communicatively connected to the control module.
EXAMPLE 5
[0607] This embodiment is a further improvement based on Embodiment 4, and this embodiment and Embodiment 4. The difference is: In this embodiment, the ray source end further includes a high-voltage generator that is communicatively connected to the control module and is connected to the X-ray source; the high-voltage generator is used to provide an operating voltage for the X-ray source.
[0608] As a preferred embodiment, the ray source end further includes a manual adjustment provided on the housing. Bracket; manual adjustment bracket is used to manually adjust the spatial position of the housing.
EXAMPLE 6
[0609] This embodiment is a further improvement made on the basis of any one of Embodiments 1-5. The difference between any of Examples 1-5 is:
[0610] In this embodiment, the control module is further configured to detect the key points of the human body, the key points of the laser pattern, and the key points of the ray receiving end in the natural light image, and calculate the center point of the part to be detected, the center point of the X-ray source end, and the center of the ray receiving end point.
EXAMPLE 7
[0611] This embodiment is a further improvement made on the basis of any one of Embodiments 1-6. The difference between any of Examples 1-6 is: In this embodiment, the ray receiving end includes a flat panel detector and a box body wrapped around the flat panel detector; the bottom of the box body is fixedly connected to the post adjustment mechanism; and the box body is preset with more than two key points.
[0612] The key points of the ray receiving end are more than two key points of the box body; among them, the box body package is arranged around and around the flat panel detector.
EXAMPLE 8
[0613] This embodiment is a further improvement based on Embodiment 7, and this embodiment and Embodiment 7. The difference is: In this embodiment, the ray receiving end further includes a hand-held support; the hand-held support is provided with two or more stand-by key points of the stand; when the key points of the box are not detected in the natural light image, the stand-by key points of the stand are received as rays Key point.
EXAMPLE 9
[0614] This embodiment is a further improvement made on the basis of any of Embodiments 1-8. The difference between any of Examples 1-8 is that: In this embodiment, the post adjustment mechanism includes a post, a motor, and a transmission component installed in cooperation with the output end of the motor; the bottom of the box body is fixedly connected to the transmission component; and the motor and the control module are communicatively connected.
[0615] As one of the preferred embodiments, as shown in
[0616] As another preferred embodiment, on the basis of the above-mentioned transmission assembly, as shown in
EXAMPLE 10
[0617] This embodiment is a further improvement made on the basis of any of Embodiments 1-9. The difference between any of Examples 1-9 is that: In this embodiment, the universal adjustment mechanism uses a universal arm; the distance measurement device uses a laser rangefinder or a binocular camera; and the angle measurement device uses a gyroscope.
EXAMPLE 11
[0618] As shown in
The Alignment Method Includes the Following Steps:
[0619] Obtain the information about the position and position of the current human body to be detected;
[0620] The preset laser pattern is projected onto the current human body to be detected, and a natural light image including the current human body to be detected, the laser pattern, and the flat panel detector is acquired, and then the key point information of the human body, the key point information of the laser pattern, and Key point information at the ray receiving end; among them, the preset laser pattern can be any shape, such as the cross shape shown in
[0621] Obtaining the reference point information corresponding to the current position to be detected information and the positioning information, and obtaining distance information between multiple reference points corresponding to the current reference point information; According to the current key point information of the human body, the key point information of the laser pattern, and the key point information of the ray receiving end, obtain the center point information of the current part to be detected, the center point information of the X-ray source end, and the center point information of the ray receiving end, and obtain the part to be detected. The spatial position information of the center point, the spatial position information of the center point of the X-ray source, and the spatial position information of the center point of the ray receiving end; among them, the key point information of the human body, the key point information of the laser pattern, and the key point information of the ray receiving end are all Set information; as shown in
[0622] According to the spatial position information of the center point of the part to be detected, the spatial position information of the center point of the X-ray source end, the spatial position information of the center point information of the ray receiving end, the reference point information, and the distance information, the center point of the ray receiving end, the X-ray source, the center point of the end and the center point of the part to be detected are three points collinear.
EXAMPLE 12
[0623] This embodiment is a further improvement made on the basis of Implementation 11. This embodiment and Embodiment 11 the difference is: In this embodiment, the spatial position information includes height information and horizontal position information. In this embodiment, after the three points of the center point of the ray receiving end, the center point of the X-ray source end, and the center point of the part to be detected are collinear, the height of the center point of the ray receiving end, and the center point of the X-ray source end.
[0624] The height and the height of the center point of the part to be detected are the same, and the three points are on the same horizontal line.
[0625] In this embodiment, the ray receiving end includes a flat panel detector and a box body arranged around the flat panel detector; the box body is provided with more than two key points of the box body; the key point of the ray receiving end is more than two key points of the box body.
[0626] In this embodiment, the ray receiving end further includes a hand-held support; the hand-held support is provided with two or more stand-by key points of the stand; when the key points of the box are not detected in the natural light image, the stand-by key points of the stand are received as rays Key point; as shown in
[0627] In this embodiment, the key point information of the human body includes the key point information of the part and the key point information of the joint; wherein the key point information of the human body is obtained by a key point detection algorithm. It should be noted that each key point of the human body has a clear corresponding relationship with the corresponding joint or part of the human body; the key points of the human body can be, but not limited to, including head, neck, left and right shoulder joints, left and right elbow joints, left and right wrist joints, left and right hip Joints, left and right knee joints, left and right ankle joints, facial features and finger joints, for example, as shown in
[0628] There are 14 places in total; the numbers 1-14 in
[0629] As one of the preferred implementation manners, shooting the torso part of the human body (such as the chest cavity, lumbar spine, etc.) is implemented by using a high-resolution network model HRNet (Deep High-Resolution Representation Learning for Human Pose Estimation) human pose estimation algorithm.
[0630] As another preferred embodiment, the hand (finger, wrist, etc.) of the human body is taken using 2D/3D gesture key point algorithm (Hand Key point Detection in Single Images using Multiview Bootstrapping).
[0631] As another preferred embodiment, when the HRNet algorithm is used, the algorithm structure is modified to make it output a natural light image that contains both the key points of the human body and the key points of the laser pattern.
[0632] In this embodiment, after obtaining the spatial position information of the center point of the current part to be detected, the spatial position information of the center point of the X-ray source end, and the spatial position information of the center point of the ray receiving end, the spatial position information of the center point of the part to be detected, The spatial position information of the center point of the X-ray source end and the spatial position information of the center point of the ray receiving end include output to the display end, and output natural light images including the key points of the human body, the key points of the laser pattern and the key points of the ray receiving end to the display end.
[0633] In Embodiment 11 and Embodiment 12, the positional relationship between the center point of the ray source end, the center point of the human body to be detected, and the center point of the ray receiving end in the real space is obtained by combining the distance information and the key point information in the natural light image, and accurately The position adjustment of each component in the X-ray imaging system realizes the physical alignment between the components, eliminates the error caused by the X-ray technician's adjustment of the position of each component, and improves the quality of the X-ray image. Avoid unnecessary radiation to the human body; at the same time, in this embodiment, the physical alignment process of each component is more accurate and reasonable. The diagnostically effective areas in the generated X-ray image can be well presented, and the quality of X-ray imaging is higher. To further facilitate subsequent diagnosis.
[0634] An example is given to illustrate how to adjust the physical alignment of the components in Embodiment 11 and Embodiment 12, as follows:
EXAMPLE 1
[0635] In addition to the key points of the human body, a total of 14 special key points are used in Example 1, including the key points of the laser pattern and the key points of the ray receiving end. The scene of taking an X-ray image for the human body is shown in
[0636] The dimensions of the box rectangle ABCD at the ray receiving end are known, that is, the lengths of the line segments AB and BC are known. The plane of the natural light image is the plane α, that is, the actual distance between the points in the plane a and the corresponding points in the natural light image. The pixel distance is proportional.
[0637] In Example 1, an optimized human key point detection algorithm is used. When calculating human key points, the positions of the center point of the flat panel detector box and the center point of the laser pattern in the natural light image are calculated, that is, the points F and S are determined.
[0638] Since the lengths of the line segments OF and OS are known, they can be obtained according to the Pythagorean Theorem;
Let FS be the length of the line segment FS in the image (the unit is the number of pixels).
Angle POS=arctan {(PS)/(OS)}
The actual distance between the points is proportional to the pixel distance in the natural light image.
Since the length of the line segment OM is known, the length of the line segment MR is:
(
From the above, the length of the line segment MR is:
Since the length of the line segment AB is known, according to the length of the line segment MR, we can get:
[0639] The height difference between the center points of the ray receiving end in the actual space is the length of the line segment ER, that is:
[0640] The height difference between the center point T of the human body to be detected and the center point O of the ray source end is the length of the line segment ST:
[0641] In summary, when the ray receiving end moves to an arbitrary height, the position and height difference of the center point of the ray receiving end, the center point of the human body to be detected, and the center point of the laser pattern in the three-dimensional space can be obtained from natural light images and distance information. It is found that when the above-mentioned height differences ER and ST are smaller than the threshold, it is considered that the center points of the three components are at the same height, thereby realizing the adjustment of the physical alignment of the three components.
[0642] According to the Pythagorean theorem, the distance from the center point E of the ray receiving end to the center point O of the camera is the distance of the line segment OE.
Length:
[0643]
[0644] Similarly, the length of the line segment FS is:
[0645] From the above three formulas, we can get:
[0646] The height difference between the center point of the ray receiving end in the actual space is the length of the line segment ER, which is:
[0647] Since the actual distance between two points on the a plane is proportional to the pixel distance in the image, then:
[0648] From the above, the height difference between the center point T of the human body to be detected and the center point O of the ray source end is The length of the line segment ST is:
[0649] In summary, when the ray receiving end moves to an arbitrary height, the position and height difference of the center point of the ray receiving end, the center point of the human body to be detected, and the center point of the laser pattern in the three-dimensional space can be obtained from natural light images and distance information. It is found that when the above-mentioned height differences ER and ST are smaller than the threshold, it is considered that the center points of the three components are at the same height, thereby realizing the adjustment of the physical alignment of the three components.
[0650] In the picture, 101-X-ray source, 102-angle measuring device, 103-beam light device, 104-laser source, 105-image acquisition device, 106-ranging device, 107-manual adjustment bracket, 108-universal adjustment mechanism 201-pillar adjustment mechanism, 202-hand-held bracket, 203-box, 204-flat detector, 205-motor, 206-slider, 207-lead rod, 208-slider, 209-slider, 210-Transition bracket; 300-control module; 400-display end.
[0651] The embodiments described above are merely schematic. If the units described as separate components are involved, they may or may not be physically separated; if the components are displayed as units, they may or may not be A physical unit can be located in one place or distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the object/body factors of the solution of this embodiment.
[0652] The above embodiments are only used to illustrate the technical solutions of the present invention, but not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still apply the foregoing embodiments. The recorded technical solutions are modified, or some technical features are replaced equivalently. These modifications or replacements do not change the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
[0653] The present invention is not limited to the above-described alternative embodiments, anyone can obtain other forms of product in light of the present invention, but irrespective of any changes in its shape or structure, all falling within the definition of the claimed invention within the scope of the technical, are within the scope of the present invention.
[0654] The scope of the claims should not be limited by the preferred embodiments set forth in the examples but should be given the broadest interpretation consistent with the description as a whole.