Radiation source decay detection system, method, and storage medium

By using the target grayscale value detection data from the calibration module and detection unit, the X-ray source attenuation detection system solves the image quality problem caused by X-ray source attenuation, realizes intuitive monitoring and automatic adjustment of X-ray source attenuation, and improves detection accuracy and user experience.

CN119313630BActive Publication Date: 2025-11-07WUXI LEAD INTELLIGENT EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411375659.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-11-07
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

Existing X-ray sources will attenuate after prolonged use, resulting in a decrease in the intensity of the emitted beam, which affects the integrity of the image and grayscale values, causing missed or false judgments. Furthermore, existing algorithms cannot intuitively present the degree of attenuation.

Method used

The X-ray source attenuation detection system uses a calibration module and a detection unit to form multiple image regions in the target direction using calibration objects of different sizes. The system outputs detection data through the target grayscale value, allowing users to intuitively compare the grayscale value with the reference range and visually present the degree of attenuation. It also maintains the optimal imaging state by automatically adjusting the electrical parameters of the X-ray source.

Benefits of technology

It enables intuitive monitoring and precise adjustment of X-ray source attenuation, improves user experience, reduces missed and false detections, and dynamically maintains the best imaging effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119313630B_ABST
    Figure CN119313630B_ABST
Patent Text Reader

Abstract

The application discloses a kind of ray source attenuation detection system, method and storage medium;In the above-mentioned ray source attenuation detection system, after each detection unit obtains the target image corresponding to calibration module, the target gray value of target image region in at least two image regions is obtained, and the detection data including target gray value is output, because the target gray value in detection data is used as the parameter value of the current light beam intensity, the user can compare the size relationship between the target gray value of target region and reference gray range, intuitively present the attenuation degree of ray source, and the user can also compare multiple target gray values output by multiple detection units, obtain the attenuation trend of ray source.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of ray source detection, and relate to, but are not limited to, a ray source attenuation detection system, a method and a storage medium. BACKGROUND

[0002] Under the existing hardware technical conditions, the phenomenon of attenuation is inevitable when the ray source is used for a long time. Since the attenuation of the ray source will cause the intensity of the emitted light beam to decrease, the image formed by the detector according to the received light beam will also change, for example, the completeness of the image decreases or the gray value of the image changes, thereby causing the technician to make a wrong judgment or a false judgment when judging the quality of the measured object through the image formed by the detector.

[0003] Although there is an algorithm in the related art for judging whether the ray source is attenuated by using the completeness of the image or the gray value of the image, the algorithm can only obtain the result of whether the ray source is attenuated, and cannot intuitively present the attenuation degree of the ray source. SUMMARY

[0004] Therefore, the ray source attenuation detection system, the method and the storage medium provided by the embodiments of the present application can intuitively present the attenuation degree of the ray source, facilitate the user to accurately monitor the attenuation of the ray source, and improve the user experience.

[0005] In a first aspect, the ray source attenuation detection system provided by the embodiments of the present application comprises a ray source, a calibration module and a detection unit, wherein:

[0006] The ray source is configured to emit a light beam.

[0007] The calibration module is arranged between the ray source and the detection unit, and comprises at least two calibration objects. Different calibration objects have different sizes in a target direction, and the target direction is the direction of the light beam emitted by the ray source.

[0008] The detection unit is configured to receive the light beam attenuated by the calibration module and obtain a target image according to the light beam. The target image comprises at least two image regions. According to a target gray value of a target image region, detection data is outputted. The detection data comprises the target gray value. The at least two image regions correspond to the at least two calibration objects one by one. The target image region is one of the at least two image regions.

[0009] In the ray source attenuation detection system, after the target image corresponding to the calibration module is obtained by each detection unit, the target gray value of the target image region in the at least two image regions is obtained, and the detection data including the target gray value is output. Since the target gray value in the detection data is taken as a parameter value representing the current light beam intensity, the user can intuitively present the attenuation degree of the ray source by comparing the size relationship between the target gray value of the target region and the reference gray range, and the user can also obtain the attenuation trend of the ray source by comparing the plurality of target gray values output by the plurality of detection units.

[0010] In some embodiments, the outputting detection data according to the target gray value of the target image region comprises:

[0011] The target image region corresponding to the electrical parameter of the ray source is determined from the at least two image regions, the target gray value of the target image region is obtained and recorded, and the detection data including the recorded target gray value is output.

[0012] It can be understood that by associating the electrical parameter of the ray source with the at least two image regions, the determination process of the target image region can be simplified, and the electrical parameter of the ray source at this time can be better reflected by the target gray value.

[0013] In some embodiments, the detection unit is further configured to:

[0014] Output prompt information including a reference gray range, so that the user determines whether the ray source is attenuated according to the size relationship between the target gray value and the reference gray range.

[0015] It can be understood that after the detection data is output, the prompt information including the reference gray range is output, so that the user can more intuitively see the attenuation of the ray source at this time.

[0016] In some embodiments, the detection data is a curve, the curve takes the recording order as the horizontal coordinate and the target gray value as the vertical coordinate, and the prompt information includes a prompt line indicating the reference gray range.

[0017] It can be understood that by setting the detection data as a curve and the prompt information as a prompt line indicating the reference gray range, the attenuation degree of the ray source at this time can be more intuitively seen.

[0018] In some embodiments, the obtaining the target gray value of the target image region comprises:

[0019] The target image region is obtained, the edge region of the target image region is filtered out, and the average gray value of the filtered target image region is determined as the target gray value.

[0020] It can be understood that, by filtering out the edge region of the target image region, and calculating the average gray value of the target image region after filtering out the edge region, the error of the gray value caused by the excessive exposure of the edge part of the calibration module can be reduced.

[0021] In some embodiments, the detection unit is further configured to:

[0022] determine a parameter adjustment value according to a difference between the reference gray range and the target gray value;

[0023] control the ray source to adjust the electrical parameter of the ray source according to the parameter adjustment value.

[0024] It can be understood that, by automatically adjusting the electrical parameter of the ray source according to the difference between the reference gray range and the target gray value, the dynamic maintenance of the optimal imaging state can be achieved.

[0025] In some embodiments, the material of the calibration object is determined by the type of the light beam emitted by the ray source, so as to achieve compatibility with different types of ray sources.

[0026] In some embodiments, if the light beam is visible light, the calibration object comprises a translucent material; if the light beam is X-ray, the calibration object comprises at least one of a square metal plate, a ring-shaped metal plate, and a metal ball, so as to achieve compatibility with visible light and X-ray.

[0027] In some embodiments, the calibration module is connected between each calibration object by a penetrable material or a hollow structure, so as to achieve automatic segmentation of at least two image regions, without the need for an additional algorithm to perform the segmentation process, thereby reducing the consumption of computing resources.

[0028] In some embodiments, the number of the at least two calibration objects is determined by the maximum working voltage of the ray source, so as to accurately control the number of calibration objects according to the electrical parameter of the ray source.

[0029] In a second aspect, the ray source attenuation detection method provided by the embodiments of the present application is applied to a ray source attenuation detection system, the system comprising a ray source, a calibration module, and a detection unit, the calibration module being arranged between the ray source and the detection unit, the calibration module comprising at least two calibration objects, different calibration objects having different sizes in a target direction, the target direction being the direction of the light beam emitted by the ray source, the method comprising:

[0030] emitting a light beam by the ray source based on an excitation signal;

[0031] The target image is obtained by receiving and according to the light beam attenuated by the calibration module, the target image includes at least two image regions, and detection data is output according to a target gray value of a target image region, the detection data includes the target gray value, the at least two image regions correspond to the at least two calibration objects one by one, and the target image region is one of the at least two image regions.

[0032] In a third aspect, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. When the computer program is executed by a processor, the method provided in the first aspect is implemented.

[0033] It should be understood that the second aspect and the third aspect of the embodiments of the present application are consistent with the technical solution of the first aspect of the embodiments of the present application, and the beneficial effects obtained by each aspect and the corresponding feasible implementation manner are similar, which will not be repeated. BRIEF DESCRIPTION OF DRAWINGS

[0034] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present application and, together with the specification, serve to explain the technical solutions of the present application.

[0035] Figure 1 A structure diagram of a ray source attenuation detection system provided by the embodiments of the present application is shown.

[0036] Figure 2A One of the structure diagrams of the at least two calibration objects and the corresponding target image provided by the embodiments of the present application is shown.

[0037] Figure 2B The second structure diagram of the at least two calibration objects and the corresponding target image provided by the embodiments of the present application is shown.

[0038] Figure 3 The third structure diagram of the at least two calibration objects and the corresponding target image provided by the embodiments of the present application is shown.

[0039] Figure 4 The fourth structure diagram of the at least two calibration objects and the corresponding target image provided by the embodiments of the present application is shown.

[0040] Figure 5 One of the detection data provided by the embodiments of the present application is shown.

[0041] Figure 6 The second detection data provided by the embodiments of the present application is shown.

[0042] Figure 7 A structure diagram of a detection environment for detecting a to-be-detected object provided by the embodiments of the present application is shown.

[0043] Figure 8 A schematic flowchart illustrating the X-ray source attenuation detection method provided in this application embodiment;

[0044] Figure 9 A schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the specific technical solutions of this application will be further described in detail below with reference to the accompanying drawings of the embodiments of this application. The following embodiments are used to illustrate this application, but are not intended to limit the scope of this application.

[0046] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0047] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0048] It should be noted that the terms "first, second, third" used in the embodiments of this application are used to distinguish similar or different objects and do not represent a specific order of objects. It can be understood that "first, second, third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0049] Figure 1 This is a schematic diagram of the structure of a radiation source attenuation detection system provided in an embodiment of this application. Figure 1 As shown, the X-ray source attenuation detection system may include a X-ray source 101, a calibration module 102, and a detection unit 103. The calibration module 102 is disposed between the X-ray source 101 and the detection unit 103. The calibration module 102 includes at least two calibration objects, which have different dimensions in the target direction, which is the beam emission direction of the X-ray source 101.

[0050] X-ray source 101 is used to emit a beam of light;

[0051] The detection unit 103 is configured to receive the light beam attenuated by the calibration module 102 and obtain a target image, the target image includes at least two image regions, and output detection data according to target gray values of the target image regions, the detection data includes the target gray values, the at least two image regions correspond to the at least two calibration objects one by one, and the target image region is one of the at least two image regions.

[0052] By implementing the ray source attenuation detection system in the embodiment, after the detection unit 103 obtains the target image corresponding to the calibration module 102 each time, the target gray values of the target image regions in the at least two image regions are obtained, and the detection data including the target gray values are output. Since the target gray values in the detection data are taken as parameter values representing the current light beam intensity and are output, the user can intuitively present whether the ray source 101 is attenuated and the corresponding attenuation degree by manually comparing the size relationship between the target gray values of the target regions and the reference gray range. Meanwhile, the user can also obtain the attenuation trend of the ray source 101 by comparing the multiple target gray values output by the detection unit 103 after receiving multiple light beams.

[0053] It should be understood that since the sizes of the different calibration objects in the calibration module 102 in the target direction are different, and the larger the size of the calibration object in the target direction is, the more light beams the calibration object absorbs, and the less light beams can be transmitted to the detection unit 103, after the light beam emitted by the ray source 101 passes through the calibration module 102 and reaches the detection unit 103, the detection unit 103 forms at least two image regions with different gray values. Taking an image region corresponding to 8-bit data as an example, if the gray value of the image region formed by the detection unit 103 is 0, it represents the lowest gray value, the image region presents black color, and it indicates that the light beam cannot penetrate the calibration object. If the gray value of the image region formed by the detection unit 103 is 255, it represents the highest gray value, the image region presents white color, and it indicates that the light beam completely penetrates the calibration object.

[0054] In some embodiments, the detection unit 103 can be an imaging screen which can form a corresponding image according to the received light beam and output the detection data after a series of image processing and grayscale recognition; or the detection unit 103 can also include a camera and a processing device, the camera forms a corresponding image according to the received light beam and outputs the image to the processing device, the processing device can output the detection data after a series of image processing and grayscale recognition, the camera can be any sensor having the ability to convert light beams into images, such as a charge coupled device image sensor (CCD) and the like, and the processing device can be any electronic device having image processing capability, such as a personal computer, a notebook computer, a palm computer, a server or a mobile terminal, and the like, which is specifically set by a person skilled in the art according to the actual situation, and the present application does not make any limitation.

[0055] In some embodiments, the output detection data can include a single target grayscale value or multiple target grayscale values, when the detection data includes only a single target grayscale value, the single target grayscale value can be the target grayscale value obtained by the detection unit 103 in the current acquisition period or the target grayscale value obtained by the detection unit 103 in a certain historical acquisition period, which is specifically set by a person skilled in the art according to the actual situation, and the present application does not make any limitation; when the detection data includes multiple target grayscale values, the multiple target grayscale values can be the multiple target grayscale values obtained by the detection unit 103 in a target period, the target period can include the current acquisition period and the historical acquisition period adjacent to the current acquisition period, or the target period can only include multiple historical acquisition periods, which is specifically set by a person skilled in the art according to the actual situation, and the present application does not make any limitation. Wherein, if the output detection data includes multiple target grayscale values, it can be convenient for the technician to compare multiple target grayscale values to know the attenuation trend and attenuation amplitude of the ray source 101 after comparison.

[0056] In some embodiments, the arrangement of the at least two calibration objects can be linear array distribution or rectangular array distribution, which is specifically set by a person skilled in the art according to the actual situation, and the present application does not make any limitation.

[0057] Exemplarily, taking the linear array distribution between the at least two calibration objects as an example, as shown in FIG. 2, the linear array distribution between the at least two calibration objects can be a straight line or a curved line, which is specifically set by a person skilled in the art according to the actual situation, and the present application does not make any limitation. Figure 2AAs shown in the figure, the at least two calibration objects include calibration object A, calibration object B and calibration object C, the line between the midpoints of calibration object A, calibration object B and calibration object C is parallel to the horizontal line, and the size of calibration object A in the target direction is the largest, and the size of calibration object C in the target direction is the smallest, so the at least two image regions formed in the detection unit 103 are also arranged horizontally, and the image region corresponding to calibration object A is black, and the image region corresponding to calibration object C is white.

[0058] For example, taking the rectangular array distribution between the at least two calibration objects as an example, as shown in the figure, Figure 2B As shown in the figure, the at least two calibration objects include calibration object A, calibration object B, calibration object C and calibration object D, and the at least two calibration objects are arranged in a rectangular array, and LA>LB>LC>LD, LA is the size of calibration object A in the target direction, LB is the size of calibration object B in the target direction, LC is the size of calibration object C in the target direction, and LD is the size of calibration object D in the target direction, so the at least two image regions formed in the detection unit 103 are also arranged in a rectangular array, and the gray value of the image region corresponding to calibration object A is greater than the gray value of the image region corresponding to calibration object B, the gray value of the image region corresponding to calibration object B is greater than the gray value of the image region corresponding to calibration object C, and the gray value of the image region corresponding to calibration object C is greater than the gray value of the image region corresponding to calibration object D.

[0059] In some embodiments, each of the at least two calibration objects described above can include a plurality of entities with the same size in the target direction, for example, as shown in the figure, Figure 3 As shown in the figure, the at least two calibration objects are arranged in a linear array, and the at least two calibration objects include calibration object A, calibration object B and calibration object C, calibration object A includes entity A and entity B, calibration object B includes entity C and entity D, and calibration object C includes entity E and entity F, entity A and entity B have the same size in the target direction, entity C and entity D have the same size in the target direction, and entity E and entity F have the same size in the target direction, so in the at least two image regions formed in the detection unit 103, the gray value of the image region corresponding to entity A and entity B is the same, the gray value of the image region corresponding to entity C and entity D is the same, the gray value of the image region corresponding to entity E and entity F is the same, the gray value of the image region corresponding to entity A and entity B is greater than the gray value of the image region corresponding to entity C and entity D, and the gray value of the image region corresponding to entity C and entity D is greater than the gray value of the image region corresponding to entity E and entity F.

[0060] In some embodiments, the target image region can be obtained by receiving and responding to a control instruction triggered by a user, or can be obtained according to a preset corresponding relationship between the electrical parameters of the ray source 101 and the image regions. The specific implementation is determined by a person skilled in the art according to actual conditions, and is not limited in the present application.

[0061] For example, when the target image region is obtained by receiving and responding to a control instruction triggered by a user, the user can input a control instruction including the target image region to the ray source 101 attenuation detection system to specify the gray value of the target image region in the detection of the at least two image regions each time the ray source 101 attenuation detection system performs detection. If the user does not input a control instruction including the target image region to the ray source 101 attenuation detection system when performing detection at a certain time, the target image region in the last received control instruction can be used.

[0062] In some embodiments, when the user selects the target image region, the image region with the maximum gray value and the image region with the minimum gray value can be excluded to narrow the range of region selection. Because the image region with the maximum gray value and the image region with the minimum gray value generally do not produce obvious changes in gray value before and after the attenuation of the ray source 101 due to the size limitation of the calibration object, the image region with the maximum gray value and the image region with the minimum gray value are not used as the target image region when determining whether the ray source 101 attenuates. The means of excluding the image region can be that the user excludes it himself when selecting the region, or the display region of the detection unit outputs a region selection interface when the user selects the target image region, and only displays the image regions other than the image region with the maximum gray value and the image region with the minimum gray value in the at least two image regions in the region selection interface, so as to ensure that the target image region selected by the user is any one of the other image regions.

[0063] It can be understood that the target image region is determined by receiving a control instruction triggered by a user. Because the gray values of different image regions have different numerical ranges, the user can be provided with the selection right of the numerical range indicated in the detection data.

[0064] For example, when the target image region is obtained according to a preset corresponding relationship between the electrical parameters of the ray source 101 and the image regions, the voltage, current of the ray source 101 and the gray value of the image region are positively correlated, as shown in Table 1:

[0065] Table 1

[0066] Serial number Voltage of the radiation source Current of the radiation source Grey value of the image region 1 Increased Unchanged Lightened 2 Decreased Unchanged Darkened 3 Unchanged Increased Lightened 4 Unchanged Decreased Darkened

[0067] That is, the gray value of the image region is related to the electrical parameter of the ray source 101, the higher the value of the electrical parameter, the brighter the gray value of the image region, and in order to ensure that the value of the selected target gray value is within a fixed value range regardless of the ray source 101 corresponding to the electrical parameter, different target image regions need to be selected for ray sources 101 with different electrical parameters. For example, in order to ensure that the target gray value is maintained at a suitable value, for example, about 8000, for a ray source 101 with a voltage of 120kV and a current of 120uA, image region A needs to be selected, and for a ray source 101 with a voltage of 130kV and a current of 120uA, image region B needs to be selected. The size of the calibration object corresponding to image region A in the target direction is smaller than the size of the calibration object corresponding to image region B in the target direction.

[0068] It can be understood that by associating the electrical parameter of the ray source 101 with at least two image regions, the determination process of the target image region can be simplified, and the target gray value can better reflect the electrical parameter of the ray source 101 at this time.

[0069] In some embodiments, the material of the calibration object is determined by the type of the light beam emitted by the ray source 101, thereby achieving compatibility with different types of ray sources 101.

[0070] It should be understood that different types of ray sources 101 emit light beams with different penetration abilities, so when applied to ray sources 101 with weak light beam penetration ability, the material of the calibration object needs to be selected to be easily penetrated, and when applied to ray sources 101 with strong light beam penetration ability, the material of the calibration object can be selected to be not easily penetrated.

[0071] In some embodiments, if the light beam is visible light, the calibration object includes a translucent material; if the light beam is X-ray, the calibration object includes at least one of a square metal plate, a ring-shaped metal plate, and a metal ball, thereby achieving compatibility with visible light and X-ray while reducing the demand cost of the calibration object.

[0072] In some embodiments, the way to identify different image regions in the target image can be to identify the dividing line between different image regions according to different gray values in different image regions, or to set a material that is easily penetrated or hollow between calibration objects of different sizes in the calibration module 102. The specific setting is performed by a person skilled in the art according to the actual situation, and the present application does not make any limitation.

[0073] Among them, the specific process of identifying the dividing line between different image regions according to different gray values in different image regions can adopt a commonly used image segmentation algorithm, which will not be described here.

[0074] In some embodiments, at least two calibration objects can be automatically distinguished by connecting each calibration object in the calibration module 102 with a penetrable material or a hollow, and the light beam can be less absorbed after passing through the penetrable material or the hollow, so that the target image formed in the detection unit 103 can be automatically segmented into at least two image regions without additional algorithm to perform the segmentation process, thereby reducing the consumption of computing resources.

[0075] For example, as shown in FIG. 2, the distance between any two of the at least two calibration objects is set to a certain interval, and the penetrable material or the hollow is arranged in the interval, so that when the at least two image regions are formed, there is a white interval between any two of the at least two image regions, thereby separating any two of the at least two image regions. Figure 4

[0076] In some embodiments, the number of the at least two calibration objects is determined by the maximum working voltage of the ray source 101, so that the number of the calibration objects can be accurately controlled according to the electrical parameters of the ray source 101.

[0077] It should be understood that, in order to ensure that the gray value of the image region is within a certain range, for example, the gray value of the image region corresponding to the calibration object with the smallest size in the target direction is the highest, i.e., white, and the gray value of the image region corresponding to the calibration object with the largest size in the target direction is the lowest, i.e., black, the size of the calibration object in the target direction is generally limited, for example, the size of the at least two calibration objects in the target direction ranges from 1 mm to 5 mm, i.e., the maximum target size and the minimum target size of the at least two calibration objects are fixed, and the target size of the at least two calibration objects will not exceed the size range constituted by the maximum target size and the minimum target size, so when the number of the calibration objects is increased, it means that the size difference between any two of the calibration objects will be reduced, and thus the gray value difference between the corresponding two image regions in the target image formed in the detection unit will also be reduced, thereby affecting the identification of the image regions and the calculation of the gray value, so the number of the calibration objects will affect the gray value of each image region. Therefore, in order to accurately control the number of the calibration objects, the specific number of the calibration objects can be determined by the maximum working voltage of the ray source 101, i.e., the number of steel plates num = VMax / Vgap, wherein VMax is the maximum working voltage of the ray source 101, and Vgap is the voltage accuracy of the ray source 101. The specific value of the voltage accuracy of the ray source 101 can be set by a person skilled in the art according to the actual situation, for example, 10 KV, and the smaller the Vgap, the higher the attenuation sensitivity, wherein the number of steel plates num is a non-zero positive integer.

[0078] In some embodiments, the detection data described above can be presented in the form of a table or in the form of a curve, which is set by a person skilled in the art according to the actual situation, and is not limited in the present application. ​

[0079] Exemplarily, as shown in Table 2, taking the detection data as an example, the table includes two fields of record order and target gray value, and records the target gray value of each detection, for example, the target gray value detected for the first time is 8000, the target gray value detected for the second time is 7984, the target gray value detected for the third time is 7910, the target gray value detected for the fourth time is 7890, and the target gray value detected for the fifth time is 7835.

[0080] Table 2

[0081] Recording order Target grey value 1 8000 2 7984 3 7910 4 7890 5 7835

[0082] As can be seen from the above table, the target gray value is gradually decreasing, that is, the ray source 101 is attenuated, and the attenuation amplitude is getting larger and larger.

[0083] Exemplarily, as shown in Table 2, taking the detection data as an example, the table includes two fields of record order and target gray value, and records the target gray value of each detection, for example, the target gray value detected for the first time is 8000, the target gray value detected for the second time is 7984, the target gray value detected for the third time is 7910, the target gray value detected for the fourth time is 7890, and the target gray value detected for the fifth time is 7835. Figure 5 As can be seen from the overall trend of the target gray value, the ray source 101 is attenuated, and the attenuation amplitude is getting larger and larger.

[0084] In some embodiments, the detection unit 103 is further configured to:

[0085] output prompt information, the prompt information including a reference gray range, so that the user determines whether the ray source 101 is attenuated according to the size relationship between the target gray value and the reference gray range.

[0086] The above prompt information can be an acousto-optic-electric signal, a prompt symbol in a table, or a prompt line in a curve, which is set by a person skilled in the art according to actual conditions, and is not limited in the present application.

[0087] In some embodiments, the above prompt information can be an acousto-optic-electric signal, when the detection unit 103 judges that the target gray value at this time has exceeded the reference gray range, the detection unit 103 can output prompt information indicating that the ray source 101 is attenuated; when the detection unit 103 judges that the target gray value at this time does not exceed the reference gray range, the detection unit 103 can output prompt information indicating that the ray source 101 is not attenuated.

[0088] In some embodiments, in the case of detection data being a curve, the above prompt information can include a prompt line indicating the reference gray range, as shown in Table 2. Figure 6 As can be seen from the overall trend of the target gray value, the ray source 101 is attenuated, and the attenuation amplitude is getting larger and larger.

[0089] It can be understood that setting the detection data as a curve and the prompt information as a prompt line indicating the reference gray range can make the attenuation degree of the ray source 101 more intuitive.

[0090] In some embodiments, in the case of detection data in a table, the prompt information can include a prompt indicating that the target gray value exceeds the reference gray range and / or does not exceed the reference gray range. For example, based on the detection data shown in Table 2, according to the size relationship between the target gray value and the reference gray range, it is known that the target gray value recorded in the fourth time and the target gray value recorded in the fifth time have exceeded the reference gray range, so the “↓” identifier can be added next to the target gray value recorded in the fourth time and the target gray value recorded in the fifth time in the output table to indicate that the target gray value has exceeded the reference gray range, while the target gray value recorded in the first time, the second time and the third time has not exceeded the reference gray range, so the “↓” identifier is not added in the output table to indicate that the target gray value has not exceeded the reference gray range, as shown in Table 3:

[0091] Table 3

[0092] Recording order Target grey value 1 8000 2 7984 3 7910 4 7890↓ 5 7835↓

[0093] In some embodiments, when the target gray value has exceeded the reference gray range, the difference between the target gray value and the reference gray range can also be obtained, and the difference is further identified in the detection data, so that the user can intuitively check the difference between the target gray value and the reference gray range.

[0094] It can be understood that after outputting the detection data, outputting the prompt information including the reference gray range can make the user more intuitive to see the attenuation of the ray source 101.

[0095] In some embodiments, the process of obtaining the target gray value of the target image region by the detection unit 103 can include:

[0096] The detection unit 103 obtains the target image region, filters out the edge region of the target image region, and determines the average gray value of the filtered target image region as the target gray value.

[0097] It should be understood that because the edge part of the calibration module 102 will produce excessive exposure under the action of the light beam, the distribution of the gray value of the edge part of the calibration module 102 in the target image generated by the detection unit 103 after receiving the light beam is not uniform, which will bring errors to the calculation of the target gray value, so when calculating the gray value of the target image region, the edge region of the target image region needs to be filtered out first, and then the gray value is calculated.

[0098] In some embodiments, the size of the edge region of the target image region can be set by those skilled in the art according to the actual situation. For example, the edge region of the target image region can be 0.25 times the size of the entire target image region. After shrinking the target image region by 0.25 times, the filtered target image region can be obtained.

[0099] The average gray value of the filtered target image region is calculated using a common method for calculating image gray values, which will not be elaborated here.

[0100] In some embodiments, if the detection unit 103 includes a camera and a processing device, the process by which the detection unit 103 obtains the target grayscale value of the target image region may include:

[0101] The camera receives and, based on the light beam attenuated by the calibration module, obtains and outputs a target image;

[0102] The processing device receives the target image, determines the target image region in the target image, filters out the edge regions of the target image region, and determines the average gray value of the filtered target image region as the target gray value.

[0103] After determining the target grayscale value, the processing equipment can then output detection data including the target grayscale value.

[0104] It is understandable that by filtering out the edge regions of the target image region and then calculating the average gray value of the target image region after filtering out the edge regions, the gray value error caused by the overexposure of the edge parts of the calibration module 102 can be reduced.

[0105] In some embodiments, the detection unit 103 is further configured to:

[0106] The parameter adjustment value is determined based on the difference between the reference gray value and the target gray value;

[0107] Based on the parameter adjustment value, control the X-ray source 101 to adjust the electrical parameters of the X-ray source 101.

[0108] It should be understood that the above-mentioned X-ray source 101 detection system can be applied to environments where the object to be tested 104 is to be detected, such as... Figure 7 As shown, this application environment includes a radiation source 101, a calibration module 102, an object under test 104, and a detection unit 103. The calibration module 102 and the object under test 104 are positioned between the radiation source 101 and the detection unit 103. The calibration module 102 and the object under test 104 can be at different heights or at the same height, provided that they do not interfere with each other in forming a complete target image in the detection unit 103. Figure 7 This is merely an example and should not be taken as a limitation of this embodiment.

[0109] Therefore, in the process of detecting the object 104 by the ray source 101, the detection unit 103 can adjust the electrical parameter of the ray source 101 in real time according to the difference between the target gray value and the reference gray value, so as to automatically adjust the values of the tube voltage and the tube current of the ray source 101 to dynamically maintain the optimal imaging state and reduce the influence of the attenuation of the ray source 101 on the detection result of the object 104.

[0110] In some embodiments, the above-mentioned parameter adjustment value can be a fixed value, and once the difference between the reference gray value and the target gray value exceeds the preset range, the parameter adjustment value can be a first value, and once the difference between the reference gray value and the target gray value exceeds the preset range, the parameter adjustment value can be a second value, the first value and the second value are different, that is, whether the detected target gray value exceeds the preset range or not, the electrical parameter of the ray source 101 is adjusted, but the corresponding adjustment amplitude is different to adaptively cope with different degrees of attenuation of the ray source 101, for example, the parameter adjustment value is 1 when the difference between the reference gray value and the target gray value does not exceed the preset range, and the parameter adjustment value is 3 when the difference between the reference gray value and the target gray value exceeds the preset range.

[0111] Alternatively, in the case where the difference between the reference gray value and the target gray value does not exceed the preset range, the parameter adjustment value is not set, that is, the electrical parameter of the ray source 101 is not adjusted, and in the case where the difference between the reference gray value and the target gray value exceeds the preset range, the parameter adjustment value is set to a third parameter value, that is, only when the detected target gray value exceeds the preset range, the electrical parameter of the ray source 101 is adjusted.

[0112] For example, in the case where the difference between the reference gray value and the target gray value does not exceed the preset range, the parameter adjustment value is not set, that is, the electrical parameter of the ray source 101 is not adjusted, and in the case where the difference between the reference gray value and the target gray value exceeds the preset range, the parameter adjustment value is set to 1, if the current voltage of the ray source 101 is V=v(kV), the current current is A=a(uA), the reference gray value range is G=8000, the preset range is ±100, and the detection unit 103 obtains the target gray value G' of the target image area, if G-G'>100, the voltage V needs to be adjusted, and V=V+1 each time until -100<G-G'<100, but if G-G'<-100, the voltage V needs to be adjusted, and V=V-1 each time until -100<G-G'<100.

[0113] In other embodiments, the above-mentioned parameter adjustment value can be determined according to the difference between the reference gray value and the target gray value, and the parameter adjustment value is proportional to the difference between the reference gray value and the target gray value.

[0114] For example, if the current voltage of the ray source 101 is V=v (kV), the current A=a (uA), the reference gray value is G=8000, the preset range is ±100, and the detection unit 103 obtains the target gray value G' of the target image area, if G-G'>100 or G-G'<-100, the parameter adjustment value V' is further determined, V'=|G-G'| / 100, so that when G-G'>100, V=V+V' is set, and when G-G'<-100, V=V-V' is set.

[0115] It can be understood that, according to the difference between the reference gray range and the target gray value, the electrical parameters of the ray source 101 are automatically adjusted, and the dynamic maintenance of the best imaging state can be realized.

[0116] Figure 8 The flowchart of the ray source attenuation detection method provided by the embodiment of the present application is shown in FIG. 1. As shown in the figure, the method comprises the following steps: Figure 8

[0117] Step S101, emitting a light beam by a ray source;

[0118] Step S102, receiving the light beam attenuated by the calibration module by a detection unit, and obtaining a target image according to the light beam, the target image comprising at least two image areas, outputting detection data according to a target gray value of a target image area, the detection data comprising the target gray value, the at least two image areas corresponding to the at least two calibration objects of the calibration module one by one, and the target image area being one of the at least two image areas.

[0119] In some embodiments, the process of outputting the detection data according to the target gray value of the target image area in the above-mentioned step S102 can comprise:

[0120] Determining a target image area corresponding to the electrical parameter of the ray source from the at least two image areas, obtaining and recording a target gray value of the target image area, and outputting the detection data comprising the recorded target gray value.

[0121] In some embodiments, the above-mentioned method further comprises:

[0122] Outputting prompt information, the prompt information comprising a reference gray range, so that a user determines whether the ray source has attenuated according to the size relationship between the target gray value and the reference gray range.

[0123] In some embodiments, if the above-mentioned detection data is a curve, the curve taking the recording order as the horizontal coordinate and the target gray value as the vertical coordinate, and the prompt information comprising a prompt line indicating the reference gray range.

[0124] ​In some embodiments, the step of obtaining the target gray value of the target image region can include:

[0125] obtaining a target image region, filtering out an edge region of the target image region, and determining an average gray value of the filtered target image region as the target gray value.

[0126] In some embodiments, the method further includes:

[0127] determining a parameter adjustment value according to a difference between the reference gray range and the target gray value;

[0128] controlling the ray source to adjust the electrical parameter of the ray source according to the parameter adjustment value.

[0129] In some embodiments, the material of the calibration object is determined by the type of the light beam emitted by the ray source.

[0130] In some embodiments, if the light beam is visible light, the calibration object includes a translucent material; if the light beam is X-ray, the calibration object includes at least one of a square metal plate, a ring-shaped metal plate, and a metal ball.

[0131] In some embodiments, the calibration module includes a plurality of calibration objects, and each of the calibration objects is connected to at least one other calibration object by a penetrable material or a hollow structure.

[0132] In some embodiments, the number of the at least two calibration objects is determined by a maximum working voltage of the ray source.

[0133] It should be understood that, although Figure 8 the steps in the flowchart of FIG. 1 are shown in a particular order, these steps are not necessarily performed in the order shown by the arrows. Unless otherwise specified herein, the steps are not necessarily performed in the order shown, and these steps can be performed in other orders. Moreover, Figure 8 at least some of the steps in the flowchart of FIG. 1 can include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the order of the execution of these sub-steps or stages is not necessarily sequential, but can be performed in rotation or alternation with other steps or sub-steps or stages of other steps.

[0134] It should be noted that, in the embodiments of the present application, if the above-mentioned method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, and includes a plurality of instructions for causing an electronic device to execute all or part of the methods described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk, and various media that can store program codes. Thus, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0135] The computer device provided in the embodiments of the present application can be a server, and an internal structure diagram thereof can be as shown in Figure 9 The computer device includes a processor, a memory and a network interface connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement a method for detecting attenuation of a radiation source.

[0136] The embodiments of the present application provide a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the steps in the method provided in the above-mentioned embodiments.

[0137] The embodiments of the present application provide a computer program product containing instructions, which, when executed on a computer, cause the computer to perform the steps in the method provided in the above-mentioned method embodiments.

[0138] Those skilled in the art can understand that Figure 9 The structure shown in the above-mentioned embodiments is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0139] In one embodiment, a computer device can store various program modules that make up the electronic device in its memory. The various program modules constitute a computer program that causes the processor to perform the steps of the ray source attenuation detection method of various embodiments of the present application described in the specification.

[0140] In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, and the processor implementing the steps of the ray source attenuation detection method described above when executing the computer program.

[0141] It should be noted that the above description of the storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.

[0142] It should be understood that the "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" or "in some embodiments" appearing throughout the specification does not necessarily mean the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above processes does not mean the order of execution, and the execution order of the processes should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above sequence number of the embodiments of the present application is only for description, not representing the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between each embodiment, and the same or similar parts can be referred to each other, and for the sake of brevity, this paper will not be repeated here.

[0143] The term "and / or" in this paper is only a description of the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, object A and / or object B, which can represent the three cases of the existence of object A alone, the existence of object A and object B at the same time, and the existence of object B alone.

[0144] It should be noted that in this paper, the term "include", "contain" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the sentence "including a…" does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0145] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other manners. The above described embodiments are merely exemplary, for example, the division of the modules is only a logical function division, and there can be another division manner for the actual implementation, for example, a plurality of modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the various components shown or discussed can be indirect coupling or communication connection through some interfaces, devices or modules, and can be electrical, mechanical or other forms.

[0146] The modules described above as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules; they can be located in one place, or distributed on multiple network units; and some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments.

[0147] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can be a separate unit, or two or more modules can be integrated into one unit; the integrated module can be realized in the form of hardware or hardware plus software functional unit.

[0148] Those of ordinary skill in the art can understand that all or part of the steps of the above method embodiments can be completed by a program instructing related hardware, and the foregoing program can be stored in a computer readable storage medium, and the program executes the steps of the above method embodiments when executed; and the foregoing storage medium includes mobile storage devices, read only memory (ROM), magnetic discs or optical discs, and various storage media that can store program codes.

[0149] Alternatively, the integrated units of the present application, if implemented in the form of software functional modules and sold or used as independent products, can also be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, and includes a plurality of instructions for causing an electronic device to execute all or part of the methods described in the embodiments of the present application. The foregoing storage medium includes mobile storage devices, ROM, magnetic discs or optical discs, and various storage media that can store program codes.

[0150] The methods disclosed in the several method embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments.

[0151] The features disclosed in the several product embodiments provided by the present application can be combined arbitrarily without conflict to obtain new product embodiments.

[0152] The features disclosed in the several method or device embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments or device embodiments.

[0153] The above merely provides a method of the present application, but the protection scope of the present application is not limited to this, any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A system for detecting attenuation of a radiation source, the system comprising: The system comprises a ray source, a calibration module and a detection unit, wherein: The ray source is configured to emit a light beam; The calibration module is arranged between the ray source and the detection unit, and comprises at least two calibration objects, different calibration objects having different sizes in a target direction, the target direction being a direction in which the light beam is emitted by the ray source; The detection unit is configured to receive the light beam after being attenuated by the calibration module, and obtain a target image according to the attenuated light beam, the target image comprising at least two image regions, and output detection data according to a target gray value of a target image region, the detection data comprising the target gray value, the at least two image regions corresponding to the at least two calibration objects one by one, and the target image region being one of the at least two image regions.

2. The system of claim 1, wherein, The detection unit outputs the detection data according to the target gray value of the target image region, comprising: The detection unit determines a target image region corresponding to an electrical parameter of the ray source from the at least two image regions, obtains and records a target gray value of the target image region, and outputs the detection data, the detection data comprising the recorded target gray value.

3. The system of claim 1 or 2, wherein, The detection unit is further configured to: output prompt information, the prompt information comprising a reference gray range, so that a user determines whether the ray source has been attenuated according to a size relationship between the target gray value and the reference gray range.

4. The system of claim 3, wherein, The detection data is a curve, the curve taking a recording order as an abscissa and the target gray value as an ordinate, and the prompt information comprises a prompt line indicating the reference gray range.

5. The system of claim 2, wherein, The detection unit obtains the target gray value of the target image region, comprising: The detection unit obtains the target image region, filters out an edge region of the target image region, and determines an average gray value of the filtered target image region as the target gray value.

6. The system of claim 2, wherein, The detection unit is further configured to: determine a parameter adjustment value according to a difference between a reference gray value and the target gray value; and control the ray source to adjust the electrical parameter of the ray source according to the parameter adjustment value.

7. The system of claim 1, wherein, The material of the calibration object is determined by the type of the light beam emitted by the ray source.

8. The system of claim 7, wherein, If the light beam is visible light, the calibration object comprises a translucent material; and if the light beam is X-ray, the calibration object comprises at least one of a square metal plate, a ring-shaped metal plate and a metal ball.

9. The system of claim 1, wherein, Each of the calibration objects in the calibration module is connected by a penetrable material or is hollow.

10. The system of claim 1, wherein, The number of the at least two calibration objects is determined by a maximum working voltage of the ray source.

11. A method of detecting attenuation of a radiation source, characterized by, The system comprises a ray source, a calibration module and a detection unit, the calibration module being arranged between the ray source and the detection unit, the calibration module comprising at least two calibration objects, different calibration objects having different sizes in a target direction, the target direction being a direction in which the light beam is emitted by the ray source, and the method comprising: emitting a light beam by the ray source; The detection data includes the target gray value, and the at least two image regions correspond to the at least two calibration objects one by one.

12. A computer storage medium having stored thereon a computer program, characterized in that The computer program is executed by a processor to implement the method of claim 11.

Citation Information

Patent Citations

  • Intelligent calibration method for X-ray thickness gauge

    CN117109494A

  • X-ray-based nondestructive testing method and system for internal defects of power supply equipment

    CN118566266A