Testing system and testing method for density detection module

By collecting attenuation signals through ray scanning and sensor arrays, building and reconstructing the density distribution model and converting it into a two-dimensional grayscale image, the problem that traditional density detection technology cannot fully reflect the internal density of the goods is solved, and high-precision density detection and visual recording are achieved.

CN120668522AActive Publication Date: 2025-09-19GUANGDONG OPEN UNIV (GUANGDONG POLYTECHNIC VOCATIONAL COLLEGE)
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511178390.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-22
Publication Date
2025-09-19
Estimated Expiration
2045-08-22

AI Technical Summary

Technical Problem

Traditional density detection technology is difficult to fully reflect the internal density status of the cargo, and the data output is abstract, making it impossible to intuitively observe the density distribution.

Method used

Ray scanning combined with a sensor array is used to collect ray attenuation signals to construct a first density distribution model. The second density distribution model is obtained through density reconstruction and converted into a two-dimensional grayscale image to obtain density data of different areas of the cargo.

Benefits of technology

It achieves the accuracy and effectiveness of cargo density detection and provides visual detection records for easy storage and traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120668522A_ABST
    Figure CN120668522A_ABST
Patent Text Reader

Abstract

The invention provides a density detection module testing system and method, and the system comprises a scanning collection end which is used for carrying out the ray scanning of a cargo, and collecting an attenuation signal of a ray based on a sensor array; the analysis end is used for analyzing the attenuation signals of the rays and constructing a first density distribution model of the goods; the density reconstruction end is used for performing density reconstruction on the first density distribution model to obtain a second density distribution model; and the density data acquisition end is used for converting the second density distribution model into a two-dimensional gray level image and obtaining density data of different areas of the cargo based on the two-dimensional gray level image. According to the method, the accuracy and effectiveness of cargo density detection are effectively guaranteed, meanwhile, the two-dimensional gray level images can be conveniently stored and recorded, and visual records are provided for the cargo detection history; when goods detection conditions need to be traced, images and related density data can be directly checked.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of density detection, and in particular to a test system and a test method for a density detection module. Background Art

[0002] At present, customs cargo inspection is a key link in international trade. Its efficiency and accuracy are directly related to the customs clearance speed and the detection ability of contraband. High-precision detection of the internal density distribution of cargo is of great significance. However, traditional density detection technologies often use single-point sensors or local sampling, making it difficult to fully reflect the density status inside the cargo. Furthermore, the density data collected is usually output as abstract numerical values ​​or one-dimensional curves, making it impossible to intuitively observe the distribution of cargo density. Therefore, in order to overcome the above technical problems, the present invention provides a test system and a test method for a density detection module. Summary of the Invention

[0003] The present invention provides a test system and a test method for a density detection module, which are used to perform ray scanning on goods, thereby facilitating the collection of ray attenuation signals based on a sensor array, and then effectively constructing a first density distribution model by analyzing the attenuation signals. By performing density reconstruction on the first density distribution model, a second density distribution model is effectively obtained to ensure that the obtained density distribution model is more accurate. By converting the second density distribution model into a two-dimensional grayscale image, density data of different areas is obtained, effectively ensuring the accuracy and effectiveness of cargo density detection. At the same time, the two-dimensional grayscale image can be conveniently stored and recorded, providing a visual record of the cargo detection history; when it is necessary to trace the cargo detection status, the image and related density data can be directly viewed.

[0004] A test system for a density detection module, comprising: The scanning and collecting end is used to perform ray scanning on the goods and collect the ray attenuation signal based on the sensor array; The analysis end is used to analyze the attenuation signal of the ray and construct the first density distribution model of the cargo; The density reconstruction end is used to perform density reconstruction on the first density distribution model to obtain a second density distribution model; The density data acquisition end is used to convert the second density distribution model into a two-dimensional grayscale image, and obtain density data of different areas of the cargo based on the two-dimensional grayscale image.

[0005] Preferably, a test system for a density detection module, a scanning acquisition end, includes: A radiation scanning unit, used for performing radiation scanning on cargo based on low-energy primary radiation; A data acquisition unit, configured to acquire a ray attenuation signal according to a sensor array based on the ray scanning result; The data conversion unit is used to convert the collected radiation attenuation signal into a digital signal, and record the radiation intensity at each measuring point in the cargo according to the digital signal.

[0006] Preferably, a test system for a density detection module, a data conversion unit, comprises: The sequence acquisition subunit is used to sort the attenuation signals collected at each measurement point on the cargo according to the physical position relationship of the measurement points to obtain an attenuation signal sequence for each row; a configuration subunit, configured to obtain the signal data amount of each row of the attenuated signal sequence, and configure the throughput of the digital-to-analog converter according to the signal data amount of each row of the attenuated signal sequence; The conversion subunit is used to input the attenuation signal sequence of each row into the digital-to-analog converter according to the configuration result to convert the attenuation signal into a digital signal.

[0007] Preferably, a test system for a density detection module, a ray scanning unit, comprises: An angle determination subunit, used to obtain the three-dimensional structure of the cargo and determine, based on the three-dimensional structure, a set of scanning angles of the low-energy primary rays when performing a global scan of the cargo; The scanning subunit is used to perform a ray scan on the goods based on each scanning angle in the scanning angle set, and generate a distinguishing label corresponding to the corresponding ray scan based on the scanning angle; Data acquisition subunit, used for: The sensor array is activated while the ray scanning is being performed, and based on the activation result, the attenuation signal of the ray at each scanning angle is collected; The attenuation signal at each scanning angle is distinguished and marked based on the distinguishing label, and a set of ray attenuation signal sets corresponding to each scanning angle is obtained based on the distinguishing labeling result.

[0008] Preferably, a test system for a density detection module, an analysis end, includes: A signal strength determination unit, configured to: Acquire a digital signal corresponding to the attenuation signal of the ray collected by the sensor array, and determine the signal strength of the attenuation signal of the ray at each measurement point based on the digital signal; At the same time, the ray emission terminal is accessed, and the initial emission intensity of the ray is determined based on the access result; Signal analysis unit for: Obtaining the thickness of the cargo at different measurement points, and determining the attenuation coefficient of the radiation at different measurement points based on the thickness of the cargo at different measurement points, the signal strength at each measurement point, and the initial emission intensity of the radiation at each measurement point; The first density distribution model building unit is used to: Determine the ray attenuation rate at each measuring point based on the attenuation coefficients at different measuring points, and obtain the density data corresponding to each measuring point based on the ray attenuation rate; Density data of different measurement points are correlated based on original position information of each measurement point on the cargo, and a first density distribution model of the cargo is obtained based on the correlation result.

[0009] Preferably, a density detection module test system, a density reconstruction end, includes: The three-dimensional scanning structure diagram determination unit is used to: Determine the scanning range of the ray on the cargo at each angle, and obtain the overlapping area of ​​the ray scanning range on the cargo at different angles; Determine the connection lines of each scanning range based on the overlapping area, and at the same time, merge the angles based on the connection lines to obtain a three-dimensional scanning structure diagram of the cargo; Missing measuring point determination unit for: Identify the density data at each angle and determine the position distribution characteristics of each row of measurement points in the scanning plane at each angle; Determine missing measurement points in the scan plane based on position distribution characteristics; The unit for determining density data to be interpolated is used for: With the missing measurement point as the center and a preset number of measurement points as the radius, the local area is locked, and the density data of all measurement points within the local area are averaged to obtain the density mean, which is used as the first reference indicator; Obtaining adjacent measurement points to the missing measurement point and reading the refractive index of the rays at the adjacent measurement points. Simultaneously, evaluating the thickness of the cargo at the missing measurement point based on the refractive index of the rays at the adjacent measurement points, and using the evaluated thickness as a second reference indicator; Evaluate the density values ​​of missing measurement points based on a second reference indicator; Correcting the first reference index based on the density value of the missing measurement point determined by the second reference index to obtain density data to be interpolated corresponding to the missing measurement point; The second density distribution model determining unit is configured to: Interpolate and supplement the density data to be interpolated in the missing measurement points to obtain a complete density data set corresponding to the scanning plane at each scanning angle; Corresponding density data sets are associated and mapped in the three-dimensional scanning structure diagram according to the scanning angle, and a second density distribution model is generated according to the association mapping result.

[0010] Preferably, in a test system for a density detection module, in a three-dimensional scanning structure diagram determination unit, the connection lines of each scanning range are determined according to the overlapping area, including: Read the overlapping area to determine the area outline of the overlapping area; The boundary line of the overlapping area is determined according to the area outline of the overlapping area, and the boundary line of the overlapping area is used as the connection line of the scanning range.

[0011] Preferably, a density detection module test system, a density data acquisition terminal, includes: a conversion unit, configured to perform grayscale mapping on the second density distribution model and convert the grayscale image into a two-dimensional grayscale image based on the grayscale mapping; The density data acquisition unit is used to read the two-dimensional grayscale image and determine the density data of different areas of the goods.

[0012] Preferably, a test system for a density detection module, a conversion unit, comprises: a direction determining subunit, configured to obtain a plane direction for projecting the second density distribution model; Grayscale range determination subunit, used for: The second density distribution model is projected according to the projection plane direction, and the density values ​​of all voxels at corresponding positions perpendicular to the plane direction are collected and accumulated according to the projection results to obtain the target density value; Get the maximum density value and the minimum density value among the projected target density values; Determine the grayscale range of grayscale mapping according to the maximum density value and the minimum density value; The mapping subunit is used to grayscale map the projected second density distribution model according to the grayscale range and the preset mapping function, assign the grayscale value corresponding to the obtained target density value to the corresponding position in the mapped image, and generate a two-dimensional grayscale image according to the assignment result.

[0013] A method for testing a density detection module, comprising: Step 1: Scan the cargo with radiation and collect the radiation attenuation signal based on the sensor array; Step 2: Analyze the attenuation signal of the ray and construct the first density distribution model of the cargo; Step 3: Perform density reconstruction on the first density distribution model to obtain a second density distribution model; Step 4: Convert the second density distribution model into a two-dimensional grayscale image, and obtain density data of different areas of the cargo based on the two-dimensional grayscale image.

[0014] Compared with the prior art, the present invention has the following beneficial effects: By performing ray scanning on the cargo, it is beneficial to collect the attenuation signal of the ray based on the sensor array, and then by analyzing the attenuation signal, a first density distribution model is effectively constructed. By performing density reconstruction on the first density distribution model, a second density distribution model is effectively obtained to ensure that the obtained density distribution model is more accurate. By converting the second density distribution model into a two-dimensional grayscale image, it is beneficial to obtain density data of different areas, effectively ensuring the accuracy and effectiveness of cargo density detection. At the same time, the two-dimensional grayscale image can be conveniently stored and recorded, providing a visual record of the cargo detection history; when it is necessary to trace the cargo detection situation, the image and related density data can be directly viewed.

[0015] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present invention. The purpose and other advantages of the present invention can be achieved and obtained through the structures specifically pointed out in this application document.

[0016] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 This is a structural diagram of a test system for a density detection module according to an embodiment of the present invention; Figure 2 This is a structural diagram of a scanning and collecting end in a test system of a density detection module in an embodiment of the present invention; Figure 3 The figure is a flow chart of a test method of a density detection module in an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0019] Example 1: This embodiment provides a test system for a density detection module, such as Figure 1 Shown, including: The scanning and collecting end is used to perform ray scanning on the goods and collect the ray attenuation signal based on the sensor array; The analysis end is used to analyze the attenuation signal of the ray and construct the first density distribution model of the cargo; The density reconstruction end is used to perform density reconstruction on the first density distribution model to obtain a second density distribution model; The density data acquisition end is used to convert the second density distribution model into a two-dimensional grayscale image, and obtain density data of different areas of the cargo based on the two-dimensional grayscale image.

[0020] In this embodiment, low-energy primary radiation is used for radiation scanning of cargo, and its energy range is 10-40 keV. The cargo is rapidly scanned by the low-energy primary radiation, and the density of the cargo is calculated by the radiation attenuation rate.

[0021] In this embodiment, the first density distribution model refers to a three-dimensional distribution diagram constructed based on density values ​​at different positions obtained by analyzing the attenuation signal of the ray.

[0022] In this embodiment, the second density distribution model refers to a density distribution model obtained by performing density reconstruction on the first density distribution model, wherein the density reconstruction includes: first, merging density information from different perspectives through angle superposition and synthesis algorithms to form a more complete three-dimensional distribution map; second, filling the density information of unmeasured points between sensor units and generating a continuous density distribution image through interpolation.

[0023] In this embodiment, the grayscale values ​​in the two-dimensional grayscale image represent the density of different regions. For example, a high-density region (such as metal) has a higher grayscale value, while a low-density region (such as food) has a lower grayscale value.

[0024] The working principle and beneficial effects of the above technical solution are: by performing ray scanning on the goods, it is beneficial to collect the attenuation signal of the rays based on the sensor array, and then by analyzing the attenuation signal, effectively constructing the first density distribution model, and by performing density reconstruction on the first density distribution model, effectively obtaining the second density distribution model to ensure that the obtained density distribution model is more accurate, and by converting the second density distribution model into a two-dimensional grayscale image, it is beneficial to obtain density data of different areas, effectively ensuring the accuracy and effectiveness of cargo density detection. At the same time, the two-dimensional grayscale image can be conveniently stored and recorded, providing a visual record for the detection history of the goods; when it is necessary to trace the detection status of the goods, the image and related density data can be directly viewed.

[0025] Example 2: Based on Example 1, this embodiment provides a test system for a density detection module, such as Figure 2 As shown, the scanning acquisition end includes: A radiation scanning unit, used for performing radiation scanning on cargo based on low-energy primary radiation; A data acquisition unit, configured to acquire a ray attenuation signal according to a sensor array based on the ray scanning result; The data conversion unit is used to convert the collected radiation attenuation signal into a digital signal, and record the radiation intensity at each measuring point in the cargo according to the digital signal.

[0026] The working principle and beneficial effects of the above technical solution are: the cargo is scanned by low-energy primary rays to effectively collect the attenuation signal of the rays, and then the intensity of the rays at each measuring point is determined by converting the digital signal, which effectively improves the accuracy and effectiveness of determining the intensity of the rays.

[0027] Example 3: Based on Example 2, this embodiment provides a test system for a density detection module, wherein the data conversion unit includes: The sequence acquisition subunit is used to sort the attenuation signals collected at each measurement point on the cargo according to the physical position relationship of the measurement points to obtain an attenuation signal sequence for each row; a configuration subunit, configured to obtain the signal data amount of each row of the attenuated signal sequence, and configure the throughput of the digital-to-analog converter according to the signal data amount of each row of the attenuated signal sequence; The conversion subunit is used to input the attenuation signal sequence of each row into the digital-to-analog converter according to the configuration result to convert the attenuation signal into a digital signal.

[0028] In this embodiment, the attenuation signals collected at each measurement point on the cargo are sorted in rows according to the physical position relationship of the measurement points. For example, the measurement points are sorted from left to right (i.e., row sorting) so that the attenuation signals corresponding to each measurement point are sorted in rows, thereby obtaining an attenuation signal sequence for each row.

[0029] In this embodiment, throughput refers to configuring the amount of data passing through the analog-to-digital converter per unit time.

[0030] The working principle and beneficial effects of the above technical solution are: configuring the throughput of the digital-to-analog converter according to the signal data volume of each row of the attenuation signal sequence can ensure that the working parameters of the digital-to-analog converter match the characteristics of the input signal; sorting the attenuation signals of each measuring point on the collected goods by row according to the physical position relationship of the measuring points to obtain the attenuation signal sequence of each row; this orderly processing method facilitates the subsequent reasonable configuration of the digital-to-analog converter and efficient data conversion; it enables data to be processed in a certain logical order, reduces the possibility of data confusion and processing errors, and thus improves the operating efficiency of the entire data conversion unit; the adaptive configuration can ensure that each attenuation signal sequence can be accurately converted into a digital signal, reduce data errors caused by mismatch in the conversion process, and provide more accurate data support for subsequent digital signal analysis.

[0031] Example 4: Based on Example 2, this embodiment provides a test system for a density detection module, a ray scanning unit, including: An angle determination subunit, used to obtain the three-dimensional structure of the cargo and determine, based on the three-dimensional structure, a set of scanning angles of the low-energy primary rays when performing a global scan of the cargo; The scanning subunit is used to perform a ray scan on the goods based on each scanning angle in the scanning angle set, and generate a distinguishing label corresponding to the corresponding ray scan based on the scanning angle; Data acquisition subunit, used for: The sensor array is activated while the ray scanning is being performed, and based on the activation result, the attenuation signal of the ray at each scanning angle is collected; The attenuation signal at each scanning angle is distinguished and marked based on the distinguishing label, and a set of ray attenuation signal sets corresponding to each scanning angle is obtained based on the distinguishing labeling result.

[0032] In this embodiment, the distinguishing label refers to a distinguishing identifier of a scanning ray collected based on a scanning angle, that is, one scanning angle corresponds to one scanning ray, and the scanning angle corresponding to the scanning ray can be effectively located.

[0033] In this embodiment, the distinguishing mark refers to marking the attenuation signals at different scanning angles by using distinguishing labels, so as to facilitate determination of the scanning angles corresponding to the different attenuation signals according to the distinguishing labels.

[0034] The working principle and beneficial effects of the above technical solution are: by determining the three-dimensional structure of the goods, a set of scanning angles is realized during the global scanning of the goods, and a differentiation label corresponding to the corresponding ray scan is generated according to the scanning angle, thereby effectively improving the accuracy of the differentiation mark of the attenuation signal, which is conducive to accurately determining the ray attenuation signal set corresponding to each scanning angle, and improving the accuracy of obtaining the ray attenuation signal set.

[0035] Example 5: Based on Example 1, this embodiment provides a test system for a density detection module, the analysis end including: A signal strength determination unit, configured to: Acquire a digital signal corresponding to the attenuation signal of the ray collected by the sensor array, and determine the signal strength of the attenuation signal of the ray at each measurement point based on the digital signal; At the same time, the ray emission terminal is accessed, and the initial emission intensity of the ray is determined based on the access result; Signal analysis unit for: Obtaining the thickness of the cargo at different measurement points, and determining the attenuation coefficient of the radiation at different measurement points based on the thickness of the cargo at different measurement points, the signal strength at each measurement point, and the initial emission intensity of the radiation at each measurement point; The first density distribution model building unit is used to: Determine the ray attenuation rate at each measuring point based on the attenuation coefficients at different measuring points, and obtain the density data corresponding to each measuring point based on the ray attenuation rate; Density data of different measurement points are correlated based on original position information of each measurement point on the cargo, and a first density distribution model of the cargo is obtained based on the correlation result.

[0036] In this embodiment, the data acquisition density calculation formula is based on the Beer-Lambert law: ; : initial ray intensity; : received ray intensity; : attenuation coefficient of the ray; : Length of the radiation penetration path. By measuring simultaneously with multiple sensors, a density distribution model of the cargo can be established. The density information on the path corresponding to each sensor unit can be obtained through the inverse calculation formula: .

[0037] In this embodiment, the initial emission intensity refers to the signal intensity corresponding to the emission of the ray by the ray emitting terminal, that is, the specific intensity corresponding to the ray when it is emitted from the device.

[0038] In this embodiment, the ray attenuation rate refers to the degree of loss of ray intensity at different measurement points.

[0039] The working principle and beneficial effects of the above technical solution are: by analyzing and processing the digital signal corresponding to the attenuation signal of the ray collected by the sensor array, the signal strength at each measuring point is effectively determined. At the same time, the initial emission intensity of the ray and the thickness of the cargo at different measuring points are determined, and finally the attenuation coefficient of the ray at different measuring points is locked, and then the ray attenuation rate at each measuring point is determined according to the attenuation coefficient, so as to achieve accurate and effective determination of the density data corresponding to each measuring point according to the ray attenuation rate. Finally, the density data of different measuring points are associated to achieve accurate and effective construction of the first density distribution model.

[0040] Example 6: Based on Example 1, this embodiment provides a test system for a density detection module, a density reconstruction end, including: The three-dimensional scanning structure diagram determination unit is used to: Determine the scanning range of the ray on the cargo at each angle, and obtain the overlapping area of ​​the ray scanning range on the cargo at different angles; Determine the connection lines of each scanning range based on the overlapping area, and at the same time, merge the angles based on the connection lines to obtain a three-dimensional scanning structure diagram of the cargo; Missing measuring point determination unit for: Identify the density data at each angle and determine the position distribution characteristics of each row of measurement points in the scanning plane at each angle; Determine missing measurement points in the scan plane based on position distribution characteristics; The unit for determining density data to be interpolated is used for: With the missing measurement point as the center and a preset number of measurement points as the radius, the local area is locked, and the density data of all measurement points within the local area are averaged to obtain the density mean, which is used as the first reference indicator; Obtaining adjacent measurement points to the missing measurement point and reading the refractive index of the rays at the adjacent measurement points. Simultaneously, evaluating the thickness of the cargo at the missing measurement point based on the refractive index of the rays at the adjacent measurement points, and using the evaluated thickness as a second reference indicator; Evaluate the density values ​​of missing measurement points based on a second reference indicator; Correcting the first reference index based on the density value of the missing measurement point determined by the second reference index to obtain density data to be interpolated corresponding to the missing measurement point; The second density distribution model determining unit is configured to: Interpolate and supplement the density data to be interpolated in the missing measurement points to obtain a complete density data set corresponding to the scanning plane at each scanning angle; Corresponding density data sets are associated and mapped in the three-dimensional scanning structure diagram according to the scanning angle, and a second density distribution model is generated according to the association mapping result.

[0041] In this embodiment, the connection line of each scanning range is determined based on the overlapping area, including: reading the overlapping area to determine the area outline of the overlapping area; determining the boundary line of the overlapping area based on the area outline of the overlapping area, and using the boundary line of the overlapping area as the connection line of the scanning range.

[0042] In this embodiment, angle merging refers to splicing scanning ranges at different scanning angles according to the connection lines between the scanning ranges.

[0043] In this embodiment, the three-dimensional scanning structure diagram refers to a result obtained by splicing scanning results at different scanning angles.

[0044] In this embodiment, the position distribution feature refers to the distribution of measurement points in each row in the scanning plane, including information such as the distance between measurement points in each row.

[0045] In this embodiment, the missing measurement points refer to points in the scanning plane that are not successfully scanned.

[0046] In this embodiment, the preset number is set in advance.

[0047] In this embodiment, the local area range is a range locked with a preset number of measurement points as a radius, in order to estimate the density data of the missing measurement points based on the locked range.

[0048] In this embodiment, the density data to be interpolated refers to specific values ​​for supplementing the data of missing measurement points.

[0049] The working principle and beneficial effects of the above technical solution are: by determining the scanning range, the overlapping area can be effectively determined, the connection line of each scanning range can be effectively obtained, and the angle merging can be achieved according to the connection line, and then the three-dimensional scanning structure diagram can be determined. By determining the position distribution characteristics of each row of measurement points in the scanning plane at each angle, the missing measurement points can be effectively determined, and then by determining the local area range of the missing measurement points, the first reference index can be effectively determined, and the thickness of the acquisition position can be evaluated by the refractive index of the rays corresponding to the adjacent measurement points of the missing measurement points, and then the second reference index is determined according to the evaluation result. The first reference index is corrected by the second reference index, and then the density data to be interpolated corresponding to the missing measurement points is determined, and the density data to be interpolated is interpolated and supplemented, and the final density data set corresponding to each angle is associated and mapped in the three-dimensional scanning structure diagram to achieve the determination of the second density distribution model, providing reliable data support for determining the density of the cargo.

[0050] Example 7: Based on Example 1, this embodiment provides a test system for a density detection module, wherein the density data acquisition terminal includes: a conversion unit, configured to perform grayscale mapping on the second density distribution model and convert the grayscale image into a two-dimensional grayscale image based on the grayscale mapping; The density data acquisition unit is used to read the two-dimensional grayscale image and determine the density data of different areas of the goods.

[0051] The working principle and beneficial effects of the above technical solution are: by grayscale mapping the second density distribution model, the two-dimensional grayscale image can be accurately and effectively determined, and then the density data of different areas of the cargo can be accurately and effectively determined based on the two-dimensional grayscale image, thereby ensuring the accuracy and reliability of the cargo density test.

[0052] Example 8: Based on Example 7, this embodiment provides a test system for a density detection module, wherein the conversion unit includes: a direction determining subunit, configured to obtain a plane direction for projecting the second density distribution model; Grayscale range determination subunit, used for: The second density distribution model is projected according to the projection plane direction, and the density values ​​of all voxels at corresponding positions perpendicular to the plane direction are collected and accumulated according to the projection results to obtain the target density value; Get the maximum density value and the minimum density value among the projected target density values; Determine the grayscale range of grayscale mapping according to the maximum density value and the minimum density value; The mapping subunit is used to grayscale map the projected second density distribution model according to the grayscale range and the preset mapping function, assign the grayscale value corresponding to the obtained target density value to the corresponding position in the mapped image, and generate a two-dimensional grayscale image according to the assignment result.

[0053] In this embodiment, the projection plane direction is a directional plane used to define a projection operation on the three-dimensional second density distribution model, and is a prerequisite for conversion into a two-dimensional grayscale image.

[0054] In this embodiment, a voxel refers to the smallest basic unit of a projection result.

[0055] In this embodiment, determining the grayscale range of grayscale mapping according to the maximum density value and the minimum density value is to map the minimum density value to the minimum value of the grayscale range and map the maximum density value to the maximum value of the grayscale range, thereby determining the grayscale range.

[0056] In this embodiment, the preset mapping function is set in advance.

[0057] The working principle and beneficial effects of the above technical solution are: by determining the plane direction for projecting the second density distribution model, the second density distribution model is projected according to the plane direction, and the density values ​​of all voxels at the corresponding positions perpendicular to the plane direction are accumulated according to the projection results to accurately lock the target density value. Secondly, the maximum density value and the minimum density value in the target density value are determined, and then the grayscale range of the grayscale mapping is determined. Finally, the projected second density distribution model is grayscale mapped according to the grayscale range and the preset mapping function to achieve accurate and effective generation of a two-dimensional grayscale image, which provides convenience and guarantee for determining the density values ​​of different areas of the cargo.

[0058] Example 9: This embodiment provides a method for testing a density detection module. Figure 3 As shown, including: Step 1: Scan the cargo with radiation and collect the radiation attenuation signal based on the sensor array; Step 2: Analyze the attenuation signal of the ray and construct the first density distribution model of the cargo; Step 3: Perform density reconstruction on the first density distribution model to obtain a second density distribution model; Step 4: Convert the second density distribution model into a two-dimensional grayscale image, and obtain density data of different areas of the cargo based on the two-dimensional grayscale image.

[0059] The working principle and beneficial effects of the above technical solution are: by performing ray scanning on the goods, it is beneficial to collect the attenuation signal of the rays based on the sensor array, and then by analyzing the attenuation signal, effectively constructing the first density distribution model, and by performing density reconstruction on the first density distribution model, effectively obtaining the second density distribution model to ensure that the obtained density distribution model is more accurate, and by converting the second density distribution model into a two-dimensional grayscale image, it is beneficial to obtain density data of different areas, effectively ensuring the accuracy and effectiveness of cargo density detection. At the same time, the two-dimensional grayscale image can be conveniently stored and recorded, providing a visual record for the detection history of the goods; when it is necessary to trace the detection status of the goods, the image and related density data can be directly viewed.

[0060] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

Claims

1. A test system for a density detection module, characterized in that: include: The scanning and collecting end is used to perform ray scanning on the goods and collect the ray attenuation signal based on the sensor array; The analysis end is used to analyze the attenuation signal of the ray and construct the first density distribution model of the cargo; The density reconstruction end is used to perform density reconstruction on the first density distribution model to obtain a second density distribution model; The density data acquisition end is used to convert the second density distribution model into a two-dimensional grayscale image, and obtain density data of different areas of the cargo based on the two-dimensional grayscale image.

2. A density detection module testing system according to claim 1, characterized in that: Scanning and acquisition end, including: A radiation scanning unit, used for performing radiation scanning on cargo based on low-energy primary radiation; A data acquisition unit, configured to acquire a ray attenuation signal according to a sensor array based on the ray scanning result; The data conversion unit is used to convert the collected radiation attenuation signal into a digital signal, and record the radiation intensity at each measuring point in the cargo according to the digital signal.

3. A density detection module testing system according to claim 2, characterized in that: Data conversion unit, including: The sequence acquisition subunit is used to sort the attenuation signals collected at each measurement point on the cargo according to the physical position relationship of the measurement points to obtain an attenuation signal sequence for each row; a configuration subunit, configured to obtain the signal data amount of each row of the attenuated signal sequence, and configure the throughput of the digital-to-analog converter according to the signal data amount of each row of the attenuated signal sequence; The conversion subunit is used to input the attenuation signal sequence of each row into the digital-to-analog converter according to the configuration result to convert the attenuation signal into a digital signal.

4. A density detection module testing system according to claim 2, characterized in that: X-ray scanning unit, including: An angle determination subunit, used to obtain the three-dimensional structure of the cargo and determine, based on the three-dimensional structure, a set of scanning angles of the low-energy primary rays when performing a global scan of the cargo; The scanning subunit is used to perform a ray scan on the goods based on each scanning angle in the scanning angle set, and generate a distinguishing label corresponding to the corresponding ray scan based on the scanning angle; Data acquisition subunit, used for: The sensor array is activated while the ray scanning is being performed, and based on the activation result, the attenuation signal of the ray at each scanning angle is collected; The attenuation signal at each scanning angle is distinguished and marked based on the distinguishing label, and a set of ray attenuation signal sets corresponding to each scanning angle is obtained based on the distinguishing labeling result.

5. The test system for a density detection module according to claim 1, characterized in that: The analysis side includes: A signal strength determination unit, configured to: Acquire a digital signal corresponding to the attenuation signal of the ray collected by the sensor array, and determine the signal strength of the attenuation signal of the ray at each measurement point based on the digital signal; At the same time, the ray emission terminal is accessed, and the initial emission intensity of the ray is determined based on the access result; Signal analysis unit for: Obtaining the thickness of the cargo at different measurement points, and determining the attenuation coefficient of the radiation at different measurement points based on the thickness of the cargo at different measurement points, the signal strength at each measurement point, and the initial emission intensity of the radiation at each measurement point; The first density distribution model building unit is used to: Determine the ray attenuation rate at each measuring point based on the attenuation coefficients at different measuring points, and obtain the density data corresponding to each measuring point based on the ray attenuation rate; Density data of different measurement points are correlated based on original position information of each measurement point on the cargo, and a first density distribution model of the cargo is obtained based on the correlation result.

6. The test system for a density detection module according to claim 1, characterized in that: Density reconstruction end, including: The three-dimensional scanning structure diagram determination unit is used to: Determine the scanning range of the ray on the cargo at each angle, and obtain the overlapping area of ​​the ray scanning range on the cargo at different angles; Determine the connection lines of each scanning range based on the overlapping area, and at the same time, merge the angles based on the connection lines to obtain a three-dimensional scanning structure diagram of the cargo; Missing measuring point determination unit for: Identify the density data at each angle and determine the position distribution characteristics of each row of measurement points in the scanning plane at each angle; Determine missing measurement points in the scan plane based on position distribution characteristics; The unit for determining density data to be interpolated is used for: With the missing measurement point as the center and a preset number of measurement points as the radius, the local area is locked, and the density data of all measurement points within the local area are averaged to obtain the density mean, which is used as the first reference indicator; Obtaining adjacent measurement points to the missing measurement point and reading the refractive index of the rays at the adjacent measurement points. Simultaneously, evaluating the thickness of the cargo at the missing measurement point based on the refractive index of the rays at the adjacent measurement points, and using the evaluated thickness as a second reference indicator; Evaluate the density values ​​of missing measurement points based on a second reference indicator; Correcting the first reference index based on the density value of the missing measurement point determined by the second reference index to obtain density data to be interpolated corresponding to the missing measurement point; The second density distribution model determining unit is configured to: Interpolate and supplement the density data to be interpolated in the missing measurement points to obtain a complete density data set corresponding to the scanning plane at each scanning angle; Corresponding density data sets are associated and mapped in the three-dimensional scanning structure diagram according to the scanning angle, and a second density distribution model is generated according to the association mapping result.

7. A density detection module testing system according to claim 6, characterized in that: In the three-dimensional scanning structure diagram determination unit, the connection lines of each scanning range are determined according to the overlapping area, including: Read the overlapping area to determine the area outline of the overlapping area; The boundary line of the overlapping area is determined according to the area outline of the overlapping area, and the boundary line of the overlapping area is used as the connection line of the scanning range.

8. The test system for a density detection module according to claim 1, characterized in that: Density data acquisition terminal, including: a conversion unit, configured to perform grayscale mapping on the second density distribution model and convert the grayscale image into a two-dimensional grayscale image based on the grayscale mapping; The density data acquisition unit is used to read the two-dimensional grayscale image and determine the density data of different areas of the goods.

9. A density detection module testing system according to claim 8, characterized in that: Conversion unit, including: a direction determining subunit, configured to obtain a plane direction for projecting the second density distribution model; Grayscale range determination subunit, used for: The second density distribution model is projected according to the projection plane direction, and the density values ​​of all voxels at corresponding positions perpendicular to the plane direction are collected and accumulated according to the projection results to obtain the target density value; Get the maximum density value and the minimum density value among the projected target density values; Determine the grayscale range of grayscale mapping according to the maximum density value and the minimum density value; The mapping subunit is used to grayscale map the projected second density distribution model according to the grayscale range and the preset mapping function, assign the grayscale value corresponding to the obtained target density value to the corresponding position in the mapped image, and generate a two-dimensional grayscale image according to the assignment result.

10. A method for testing a density detection module, characterized in that: include: Step 1: Scan the cargo with radiation and collect the radiation attenuation signal based on the sensor array; Step 2: Analyze the attenuation signal of the ray and construct the first density distribution model of the cargo; Step 3: Perform density reconstruction on the first density distribution model to obtain a second density distribution model; Step 4: Convert the second density distribution model into a two-dimensional grayscale image, and obtain density data of different areas of the cargo based on the two-dimensional grayscale image.

Citation Information

Patent Citations

  • Method and apparatus for computing tomographic scans

    CA2060181A1

  • Method and installation for the in-line dimensional control of manufactured objects

    CA3129754A1

  • Medical radiographic imaging method for measuring 3D bone density distributions, in which 3D radiological data are processed in conjunction with a 3D generic model of a bone being imaged

    FR2849241A1

  • System and method for acquisition and reconstruction of contrast-enhanced, artifact-reduced CT images

    US20060109949A1

  • Method and computerized tomography system for determining bone mineral density values

    US20140086383A1