[go: up one dir, main page]

CN114137004A - A material identification method, device and storage medium - Google Patents

A material identification method, device and storage medium Download PDF

Info

Publication number
CN114137004A
CN114137004A CN202111356516.6A CN202111356516A CN114137004A CN 114137004 A CN114137004 A CN 114137004A CN 202111356516 A CN202111356516 A CN 202111356516A CN 114137004 A CN114137004 A CN 114137004A
Authority
CN
China
Prior art keywords
sub
scattering
regions
radiation
particle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111356516.6A
Other languages
Chinese (zh)
Inventor
高春宇
汤秀章
陈欣南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Institute of Atomic of Energy
Original Assignee
China Institute of Atomic of Energy
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Institute of Atomic of Energy filed Critical China Institute of Atomic of Energy
Priority to CN202111356516.6A priority Critical patent/CN114137004A/en
Publication of CN114137004A publication Critical patent/CN114137004A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N23/00Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00
    • G01N23/20Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00 by using diffraction of the radiation by the materials, e.g. for investigating crystal structure; by using scattering of the radiation by the materials, e.g. for investigating non-crystalline materials; by using reflection of the radiation by the materials

Landscapes

  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Analysing Materials By The Use Of Radiation (AREA)

Abstract

本发明公开了一种材料识别方法、装置及存储介质,方法包括:获取穿过部署待识别材料的探测区域的多个辐射粒子中,每个粒子对应的近似散射点和散射角;将探测区域划分为多个子区域,并针对多个子区域中每个子区域,从多个辐射粒子中,选取出对应近似散射点位于子区域内的辐射粒子,确定为对应的辐射粒子;针对多个子区域中每个子区域,基于对应的辐射粒子的散射角,确定对应的散射密度,得到与多个子区域一一对应的多个散射密度;利用预设材料识别模型,基于多个散射密度对待识别材料进行材料类型识别,得到待识别材料的材料类型识别结果。通过上述技术方案,提高了材料识别的效率。

Figure 202111356516

The invention discloses a material identification method, device and storage medium. The method includes: acquiring the approximate scattering point and scattering angle corresponding to each particle in a plurality of radiation particles passing through a detection area where a material to be identified is deployed; It is divided into multiple sub-regions, and for each sub-region in the multiple sub-regions, from the multiple radiation particles, the radiation particles whose corresponding approximate scattering points are located in the sub-regions are selected as the corresponding radiation particles; for each of the multiple sub-regions There are several sub-regions, based on the scattering angles of the corresponding radiation particles, the corresponding scattering densities are determined, and multiple scattering densities corresponding to the multiple sub-regions are obtained; the preset material identification model is used to determine the material type of the material to be identified based on the multiple scattering densities. Identify, and obtain the material type identification result of the material to be identified. Through the above technical solutions, the efficiency of material identification is improved.

Figure 202111356516

Description

一种材料识别方法、装置及存储介质A material identification method, device and storage medium

技术领域technical field

本申请涉及材料检测技术领域,尤其涉及一种材料识别方法、装置及存储介质。The present application relates to the technical field of material detection, and in particular, to a material identification method, device and storage medium.

背景技术Background technique

近年来,核材料的非法转移、核扩散等问题时刻威胁着国土安全,核材料检测技术逐渐引起世界各国的重视。In recent years, the illegal transfer of nuclear materials, nuclear proliferation and other issues have always threatened homeland security, and nuclear material detection technology has gradually attracted the attention of countries around the world.

与核材料的传统检测手段X射线相比,μ子作为一种天然辐射源,没有辐照危害,同时对高Z物质敏感,穿透能力强,在核材料检测技术应用中具备天然优势,然而,由于天然μ子的通量有限,为了提高μ子成像的图像质量,通常需要较长的检测时间,对于集装箱、货物核材料走私检测等要求时效性的现场应用场景来说,材料识别及时性较差。Compared with X-ray, the traditional detection method for nuclear materials, muons, as a natural radiation source, have no radiation hazards, are sensitive to high-Z substances, have strong penetrating ability, and have natural advantages in the application of nuclear material detection technology. , Due to the limited flux of natural muons, in order to improve the image quality of muon imaging, a long detection time is usually required. poor.

发明内容SUMMARY OF THE INVENTION

为解决上述技术问题,本发明实施例期望提供一种材料识别方法、装置及存储介质,直接利用预设材料识别模型,结合探测区域对应的散射密度,确定待识别材料的材料类型,从而提高了材料识别的效率。In order to solve the above technical problems, the embodiments of the present invention are expected to provide a material identification method, device and storage medium, which directly use a preset material identification model and combine the scattering density corresponding to the detection area to determine the material type of the material to be identified, thereby improving the performance of the material. Efficiency of material identification.

本发明的技术方案是这样实现的:The technical scheme of the present invention is realized as follows:

本发明提供了一种材料识别方法,所述方法包括:The present invention provides a material identification method, the method comprising:

获取穿过部署待识别材料的探测区域的多个辐射粒子中,每个粒子对应的近似散射点和散射角;Obtain the approximate scattering point and scattering angle corresponding to each particle among the multiple radiation particles passing through the detection area where the material to be identified is deployed;

将所述探测区域划分为多个子区域,并针对所述多个子区域中每个子区域,从所述多个辐射粒子中,选取出对应近似散射点位于子区域内的辐射粒子,确定为对应的辐射粒子;The detection area is divided into a plurality of sub-areas, and for each sub-area of the plurality of sub-areas, from the plurality of radiation particles, the radiation particles whose corresponding approximate scattering points are located in the sub-areas are selected as corresponding radiation particles;

针对所述多个子区域中每个子区域,基于对应的辐射粒子的散射角,确定对应的散射密度,得到与所述多个子区域一一对应的多个散射密度;For each sub-area in the plurality of sub-areas, based on the scattering angle of the corresponding radiation particle, determine the corresponding scattering density, and obtain a plurality of scattering densities corresponding to the plurality of sub-areas one-to-one;

利用预设材料识别模型,基于所述多个散射密度对所述待识别材料进行材料类型识别,得到所述待识别材料的材料类型识别结果。Using a preset material identification model, the material type identification of the to-be-identified material is performed based on the plurality of scattering densities, and a material type identification result of the to-be-identified material is obtained.

在上述方法中,所述获取穿过部署待识别材料的探测区域的多个辐射粒子中,每个粒子对应的近似散射点和散射角,包括:In the above method, obtaining the approximate scattering point and scattering angle corresponding to each particle among the plurality of radiation particles passing through the detection area where the material to be identified is deployed includes:

获取所述多个辐射粒子中每个粒子对应的入射径迹和出射径迹;acquiring an incident track and an exit track corresponding to each of the plurality of radiation particles;

针对所述多个辐射粒子中每个粒子,将对应的入射径迹的延长线和出射径迹的延长线的交点,确定为对应的近似散射点;For each particle in the plurality of radiation particles, the intersection of the extension line of the corresponding incident track and the extension line of the output track is determined as the corresponding approximate scattering point;

针对所述多个辐射粒子中每个粒子,将对应的入射径迹的延长线和出射径迹的延长线的夹角,确定为对应的散射角。For each particle in the plurality of radiation particles, the included angle between the extension line of the corresponding incident track and the extension line of the output track is determined as the corresponding scattering angle.

在上述方法中,所述针对所述多个子区域中每个子区域,基于对应的辐射粒子的散射角,确定对应的散射密度,得到与所述多个子区域一一对应的多个散射密度,包括:In the above method, for each sub-region of the plurality of sub-regions, a corresponding scattering density is determined based on the scattering angle of the corresponding radiation particle, and a plurality of scattering densities corresponding to the plurality of sub-regions one-to-one are obtained, including :

针对所述多个子区域中每个子区域,计算对应的辐射粒子的散射角的方差,得到对应的散射角方差;For each sub-region in the plurality of sub-regions, calculate the variance of the scattering angle of the corresponding radiation particle to obtain the corresponding variance of the scattering angle;

针对所述多个子区域中每个子区域,将对应子区域的高度,确定为对应的粒子穿过长度;For each sub-region in the plurality of sub-regions, the height of the corresponding sub-region is determined as the corresponding particle passing length;

针对所述多个子区域中每个子区域,将对应的散射角方差和粒子穿过长度之比确定为对应的散射密度。For each sub-region in the plurality of sub-regions, the corresponding scattering angle variance and the ratio of the particle passing length are determined as the corresponding scattering density.

在上述方法中,所述利用预设材料识别模型,基于所述多个散射密度对所述待识别材料进行材料类型识别,得到所述待识别材料的材料类型识别结果,包括:In the above method, using a preset material identification model to identify the material type of the material to be identified based on the multiple scattering densities, to obtain a material type identification result of the material to be identified, including:

从所述多个散射密度中,选取出表征异常的散射密度;From the plurality of scattering densities, selecting a scattering density that characterizes anomalies;

将选取出的散射密度输入所述预设材料识别模型,得到所述材料类型识别结果。The selected scattering density is input into the preset material identification model to obtain the material type identification result.

在上述方法中,所述利用预设材料识别模型,基于所述多个散射密度对所述待识别材料进行材料类型识别,得到所述待识别材料的材料类型识别结果之前,还包括:In the above method, before the material type identification is performed on the material to be identified based on the plurality of scattering densities by using a preset material identification model, and the material type identification result of the material to be identified is obtained, the method further includes:

获取散射密度样本,并利用待训练材料识别模型,基于所述散射密度样本对待识别样本进行材料类型识别,得到所述待识别样本的材料类型识别结果;Acquiring a scattering density sample, and using the material identification model to be trained to identify the material type of the sample to be identified based on the scattering density sample, to obtain a material type identification result of the sample to be identified;

计算所述待识别样本的材料类型识别结果与针对所述散射密度样本预设的目标材料类型识别结果之间的损失信息,得到损失信息;Calculate the loss information between the material type identification result of the to-be-identified sample and the target material type identification result preset for the scattering density sample to obtain the loss information;

基于所述损失信息,对所述待训练材料识别模型进行模型参数调整,得到所述预设材料识别模型。Based on the loss information, model parameters are adjusted for the material identification model to be trained to obtain the preset material identification model.

本发明提供了一种材料识别装置,包括:The present invention provides a material identification device, comprising:

获取模块,用于获取穿过部署待识别材料的探测区域的多个辐射粒子中,每个粒子对应的近似散射点和散射角;an acquisition module, configured to acquire the approximate scattering point and scattering angle corresponding to each particle among the plurality of radiation particles passing through the detection area where the material to be identified is deployed;

选取模块,用于将所述探测区域划分为多个子区域,并针对所述多个子区域中每个子区域,从所述多个辐射粒子中,选取出对应近似散射点位于子区域内的辐射粒子,确定为对应的辐射粒子;A selection module, configured to divide the detection area into a plurality of sub-areas, and for each sub-area in the plurality of sub-areas, from the plurality of radiation particles, select radiation particles whose corresponding approximate scattering points are located in the sub-areas , which is determined as the corresponding radiation particle;

确定模块,用于针对所述多个子区域中每个子区域,基于对应的辐射粒子的散射角,确定对应的散射密度,得到与所述多个子区域一一对应的多个散射密度;a determining module, configured to, for each sub-region in the plurality of sub-regions, determine a corresponding scattering density based on the scattering angle of the corresponding radiation particle, and obtain a plurality of scattering densities corresponding to the plurality of sub-regions one-to-one;

识别模块,用于利用预设材料识别模型,基于所述多个散射密度对所述待识别材料进行材料类型识别,得到所述待识别材料的材料类型识别结果。The identification module is configured to use a preset material identification model to identify the material type of the material to be identified based on the plurality of scattering densities, and obtain a material type identification result of the material to be identified.

在上述装置中,所述获取模块,具体用于获取所述多个辐射粒子中每个粒子对应的入射径迹和出射径迹;针对所述多个辐射粒子中每个粒子,将对应的入射径迹的延长线和出射径迹的延长线的交点,确定为对应的近似散射点;针对所述多个辐射粒子中每个粒子,将对应的入射径迹的延长线和出射径迹的延长线的夹角,确定为对应的散射角。In the above device, the acquiring module is specifically configured to acquire the incident track and the outgoing track corresponding to each particle in the plurality of radiation particles; for each particle in the plurality of radiation particles, the corresponding incident track The intersection of the extension line of the track and the extension line of the exit track is determined as the corresponding approximate scattering point; for each particle in the plurality of radiation particles, the extension line of the corresponding incident track and the extension line of the exit track are determined as corresponding approximate scattering points; The included angle of the line is determined as the corresponding scattering angle.

在上述装置中,所述确定模块,具体用于针对所述多个子区域中每个子区域,计算对应的辐射粒子的散射角的方差,得到对应的散射角方差;针对所述多个子区域中每个子区域,将对应子区域的高度,确定为对应的粒子穿过长度;针对所述多个子区域中每个子区域,将对应的散射角方差和粒子穿过长度之比确定为对应的散射密度。In the above device, the determining module is specifically configured to, for each sub-region in the multiple sub-regions, calculate the variance of the scattering angle of the corresponding radiation particle to obtain the corresponding scattering angle variance; for each of the multiple sub-regions For each sub-region, the height of the corresponding sub-region is determined as the corresponding particle passing length; for each sub-region in the multiple sub-regions, the ratio of the corresponding scattering angle variance to the particle passing length is determined as the corresponding scattering density.

在上述装置中,所述识别模块,具体用于从所述多个散射密度中,选取出表征异常的散射密度;将选取出的散射密度输入所述预设材料识别模型,得到所述材料类型识别结果。In the above device, the identification module is specifically configured to select a scattering density characterizing abnormality from the plurality of scattering densities; input the selected scattering density into the preset material identification model to obtain the material type Identify the results.

在上述装置中,还包括模型训练模块,用于获取散射密度样本,并利用待训练材料识别模型,基于所述散射密度样本对待识别样本进行材料类型识别,得到所述待识别样本的材料类型识别结果;计算所述待识别样本的材料类型识别结果与针对所述散射密度样本预设的目标材料类型识别结果之间的损失信息,得到损失信息;基于所述损失信息,对所述待训练材料识别模型进行模型参数调整,得到所述预设材料识别模型。In the above-mentioned device, a model training module is further included, which is used to obtain a scattering density sample, and use a material identification model to be trained to identify the material type of the to-be-identified sample based on the scattering density sample, and obtain the material type identification of the to-be-identified sample. Result; calculate the loss information between the material type identification result of the sample to be identified and the target material type identification result preset for the scattering density sample, and obtain the loss information; based on the loss information, analyze the material to be trained The identification model adjusts model parameters to obtain the preset material identification model.

本发明提供了一种材料识别装置,包括:处理器、存储器和通信总线;The invention provides a material identification device, comprising: a processor, a memory and a communication bus;

所述通信总线,用于实现所述处理器和所述存储器之间的通信连接;the communication bus for realizing the communication connection between the processor and the memory;

所述处理器,用于执行所述存储器中存储的材料识别程序,以实现上述材料识别方法。The processor is configured to execute the material identification program stored in the memory, so as to realize the above-mentioned material identification method.

本发明提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可以被一个或者多个处理器执行,以实现上述材料识别方法。The present invention provides a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs can be executed by one or more processors to implement the above-mentioned material identification method .

本发明提供了一种材料识别方法、装置及存储介质,方法包括:获取穿过部署待识别材料的探测区域的多个辐射粒子中,每个粒子对应的近似散射点和散射角;将探测区域划分为多个子区域,并针对多个子区域中每个子区域,从多个辐射粒子中,选取出对应近似散射点位于子区域内的辐射粒子,确定为对应的辐射粒子;针对多个子区域中每个子区域,基于对应的辐射粒子的散射角,确定对应的散射密度,得到与多个子区域一一对应的多个散射密度;利用预设材料识别模型,基于多个散射密度对待识别材料进行材料类型识别,得到待识别材料的材料类型识别结果。本发明提供的技术方案,直接利用预设材料识别模型,结合探测区域对应的散射密度,确定待识别材料的材料类型,从而提高了材料识别的效率。The present invention provides a material identification method, device and storage medium. The method includes: acquiring the approximate scattering point and scattering angle corresponding to each particle in a plurality of radiation particles passing through a detection area where a material to be identified is deployed; It is divided into multiple sub-regions, and for each sub-region in the multiple sub-regions, from the multiple radiation particles, the radiation particles whose corresponding approximate scattering points are located in the sub-regions are selected as the corresponding radiation particles; There are sub-regions, and the corresponding scattering densities are determined based on the scattering angles of the corresponding radiation particles, and multiple scattering densities corresponding to the multiple sub-regions are obtained; the preset material identification model is used to determine the material type of the material to be identified based on the multiple scattering densities. Identify, and obtain the material type identification result of the material to be identified. The technical solution provided by the present invention directly utilizes a preset material identification model and combines the scattering density corresponding to the detection area to determine the material type of the material to be identified, thereby improving the efficiency of material identification.

附图说明Description of drawings

图1为本发明实施例提供的一种材料识别方法的流程示意图;1 is a schematic flowchart of a material identification method according to an embodiment of the present invention;

图2为本发明实施例提供的一种示例性的模拟探测环境流程示意图;FIG. 2 is a schematic flowchart of an exemplary simulated detection environment provided by an embodiment of the present invention;

图3为本发明实施例提供的一种示例性的确定近似散射点和散射角的示意图;FIG. 3 is an exemplary schematic diagram of determining an approximate scattering point and a scattering angle according to an embodiment of the present invention;

图4为本发明实施例提供的一种示例性的预设材料识别模型的结构示意图;4 is a schematic structural diagram of an exemplary preset material identification model provided by an embodiment of the present invention;

图5为本发明实施例提供的一种示例性的模型准确度随迭代次数变化的示意图;5 is a schematic diagram of an exemplary model accuracy varying with the number of iterations provided by an embodiment of the present invention;

图6为本发明实施例提供的一种示例性的损失函数随迭代次数变化的示意图;6 is a schematic diagram of an exemplary loss function changing with the number of iterations provided by an embodiment of the present invention;

图7为本发明实施例提供的一种材料识别装置的结构示意图一;FIG. 7 is a schematic structural diagram 1 of a material identification device according to an embodiment of the present invention;

图8为本发明实施例提供的一种材料识别装置的结构示意图二。FIG. 8 is a second schematic structural diagram of a material identification device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明中的技术方案进行清楚、完整地描述。可以理解的是,此处所描述的具体实施例仅仅用于解释相关申请,而非对该申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关申请相关的部分。The technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It should be understood that the specific embodiments described herein are only used to explain the related application, but not to limit the application. In addition, it should be noted that, for the convenience of description, only the parts related to the relevant application are shown in the drawings.

本发明提供了一种材料识别方法,应用于材料识别装置,图1为本发明实施例提供的一种材料识别方法的流程示意图。如图1所示,主要包括以下步骤:The present invention provides a material identification method, which is applied to a material identification device. FIG. 1 is a schematic flowchart of a material identification method provided by an embodiment of the present invention. As shown in Figure 1, it mainly includes the following steps:

S101、获取穿过部署待识别材料的探测区域的多个辐射粒子中,每个粒子对应的近似散射点和散射角。S101. Acquire an approximate scattering point and a scattering angle corresponding to each particle among a plurality of radiation particles passing through the detection area where the material to be identified is deployed.

在本发明的实施例中,材料识别装置可以获取穿过部署待识别材料的探测区域的多个辐射粒子中,每个粒子对应的近似散射点和散射角。In the embodiment of the present invention, the material identification device may acquire the approximate scattering point and scattering angle corresponding to each particle among the plurality of radiation particles passing through the detection area where the material to be identified is deployed.

需要说明的是,在本发明的实施例中,辐射粒子可以为μ子,该辐射粒子作为一种天然辐射源,没有辐射危害,同时对高Z物质敏感,穿透能力强,在核检测技术应用中具有天然的优势。It should be noted that, in the embodiment of the present invention, the radiation particles may be muons. As a natural radiation source, the radiation particles have no radiation hazards, are sensitive to high-Z substances, and have strong penetrating ability. There are natural advantages in application.

图2为本发明实施例提供的一种示例性的模拟探测环境流程示意图。如图2所示,多个辐射粒子先通过2层探测阵列入射进探测区域,然后穿过探测区域,最后再通过2层探测阵列散射出来。FIG. 2 is a schematic flowchart of an exemplary simulated detection environment provided by an embodiment of the present invention. As shown in Fig. 2, a plurality of radiation particles first enter the detection area through the 2-layer detection array, then pass through the detection area, and finally scatter out through the 2-layer detection array.

具体的,在本发明的实施例中,材料识别装置获取穿过部署待识别材料的探测区域的多个辐射粒子中,每个粒子对应的近似散射点和散射角,包括:获取多个辐射粒子中每个粒子对应的入射径迹和出射径迹;针对多个辐射粒子中每个粒子,将对应的入射径迹的延长线和出射径迹的延长线的交点,确定为对应的近似散射点;针对多个辐射粒子中每个粒子,将对应的入射径迹的延长线和出射径迹的延长线的夹角,确定为对应的散射角。Specifically, in the embodiment of the present invention, the material identification device obtains the approximate scattering point and scattering angle corresponding to each particle in a plurality of radiation particles passing through the detection area where the material to be identified is deployed, including: obtaining a plurality of radiation particles For each particle in the multiple radiation particles, the intersection of the extension line of the corresponding incident track and the extension line of the exit track is determined as the corresponding approximate scattering point ; For each particle in the plurality of radiation particles, the included angle between the extension line of the corresponding incident track and the extension line of the exit track is determined as the corresponding scattering angle.

需要说明的是,在本发明的实施例中,材料识别装置会获取多个辐射粒子中每个粒子对应的入射径迹和出射径迹,然后,延长入射径迹和出射径迹,将两直线的交点确定为近似散射点,将两直线的夹角确定为散射角。It should be noted that, in the embodiment of the present invention, the material identification device will acquire the incident track and the output track corresponding to each particle in the plurality of radiation particles, and then extend the incident track and the output track, and connect the two straight lines. The intersection point is determined as the approximate scattering point, and the angle between the two straight lines is determined as the scattering angle.

图3为本发明实施例提供的一种示例性的确定近似散射点和散射角的示意图。如图3所示,位于探测区域上面两层的探测阵列用来记录辐射粒子入射的位置信息,材料识别装置利用上面两层,即1#和2#,探测阵列记录的辐射粒子的两个位置信息拟合入射径迹,位于探测区域下面两层探测阵列用来记录辐射粒子出射的位置信息,材料识别装置利用上面两层,即3#和4#,探测阵列记录的辐射粒子的两个位置信息拟合出射径迹,然后,延长入射径迹和出射径迹,将两直线的交点γ确定为近似散射点,将两直线的夹角θ确定为散射角。FIG. 3 is an exemplary schematic diagram of determining an approximate scattering point and a scattering angle according to an embodiment of the present invention. As shown in Figure 3, the detection array located on the upper two layers of the detection area is used to record the position information of the incident radiation particles. The material identification device uses the upper two layers, namely 1# and 2#, to detect the two positions of the radiation particles recorded by the array. The information fits the incident track. The two layers of detection arrays located below the detection area are used to record the position information of the radiation particles. The material identification device uses the upper two layers, namely 3# and 4#, to detect the two positions of the radiation particles recorded by the array. The information is fitted to the outgoing track, then, the incoming and outgoing tracks are extended, the intersection γ of the two straight lines is determined as the approximate scattering point, and the angle θ between the two straight lines is determined as the scattering angle.

S102、将探测区域划分为多个子区域,并针对多个子区域中每个子区域,从多个辐射粒子中,选取出对应近似散射点位于子区域内的辐射粒子,确定为对应的辐射粒子。S102. Divide the detection area into a plurality of sub-areas, and for each sub-area in the plurality of sub-areas, select a radiation particle whose corresponding approximate scattering point is located in the sub-area from the plurality of radiation particles, and determine it as a corresponding radiation particle.

在本发明的实施例中,材料识别装置将探测区域划分为多个子区域,并针对多个子区域中每个子区域,从多个辐射粒子中,选取出对应近似散射点位于子区域内的辐射粒子,确定为对应的辐射粒子。In the embodiment of the present invention, the material identification device divides the detection area into a plurality of sub-areas, and for each sub-area of the plurality of sub-areas, selects a radiation particle whose corresponding approximate scattering point is located in the sub-area from the plurality of radiation particles , determined as the corresponding radiation particles.

需要说明的是,在本发明的实施例中,材料识别装置将探测区域划分成多个子区域,具体的划分方式见图3所示,具体的划分尺寸可以根据实际需求和应用场景进行设定,对此,本发明不作限定。It should be noted that, in the embodiment of the present invention, the material identification device divides the detection area into multiple sub-areas. The specific division method is shown in Figure 3. The specific division size can be set according to actual needs and application scenarios. In this regard, the present invention is not limited.

需要说明的是,在本发明的实施例中,材料识别装置在将探测区域划分成多个子区域之后,依据多个辐射粒子中每个粒子对应的近似散射点,确定多个子区域中每个子区域对应的辐射粒子。It should be noted that, in the embodiment of the present invention, after dividing the detection area into a plurality of sub-areas, the material identification device determines each sub-area in the plurality of sub-areas according to the approximate scattering point corresponding to each particle in the plurality of radiation particles corresponding radiation particles.

S103、针对多个子区域中每个子区域,基于对应的辐射粒子的散射角,确定对应的散射密度,得到与多个子区域一一对应的多个散射密度。S103. For each sub-region in the multiple sub-regions, determine the corresponding scattering density based on the scattering angle of the corresponding radiation particle, and obtain multiple scattering densities corresponding to the multiple sub-regions one-to-one.

在本发明的实施例中,材料识别装置针对多个子区域中每个子区域,基于对应的辐射粒子的散射角,确定对应的散射密度,得到与多个子区域一一对应的多个散射密度。In the embodiment of the present invention, the material identification device determines a corresponding scattering density for each sub-area of the plurality of sub-areas based on the scattering angle of the corresponding radiation particle, and obtains a plurality of scattering densities corresponding to the plurality of sub-areas one-to-one.

需要说明的是,在本发明的实施例中,材料识别装置对于多个子区域中每个子区域,利用该子区域对应的所有辐射粒子对应的辐射角,确定一个散射密度。It should be noted that, in the embodiment of the present invention, the material identification device determines a scattering density for each sub-region in the multiple sub-regions by using the radiation angles corresponding to all the radiation particles corresponding to the sub-region.

具体的,在本发明的实施例中,材料识别装置针对多个子区域中每个子区域,基于对应的辐射粒子的散射角,确定对应的散射密度,得到与多个子区域一一对应的多个散射密度,包括:针对多个子区域中每个子区域,计算对应的辐射粒子的散射角的方差,得到对应的散射角方差;针对多个子区域中每个子区域,将对应子区域的高度,确定为对应的粒子穿过长度;针对多个子区域中每个子区域,将对应的散射角方差和粒子穿过长度之比确定为对应的散射密度。Specifically, in the embodiment of the present invention, the material identification device determines the corresponding scattering density for each sub-area of the plurality of sub-areas based on the scattering angle of the corresponding radiation particle, and obtains a plurality of scattering densities corresponding to the plurality of sub-areas one-to-one. Density, including: for each sub-region in multiple sub-regions, calculating the variance of the scattering angle of the corresponding radiation particle to obtain the corresponding scattering angle variance; for each sub-region in the multiple sub-regions, determining the height of the corresponding sub-region as the corresponding For each sub-region in the multiple sub-regions, the ratio of the corresponding scattering angle variance and the particle-passing length is determined as the corresponding scattering density.

需要说明的是,在本发明的实施例中,材料识别装置针对多个子区域中每个子区域,计算该区域对应的所有辐射粒子对应的散射角的方差,具体的计算方式见公式(1):It should be noted that, in the embodiment of the present invention, the material identification device calculates the variance of the scattering angles corresponding to all the radiation particles corresponding to the region for each sub-region in the multiple sub-regions. The specific calculation method is shown in formula (1):

Figure BDA0003357370290000071
Figure BDA0003357370290000071

其中,

Figure BDA0003357370290000081
为第i个子区域对应的M个辐射粒子的散射角方差,σθ1θ2,…,σθN为第i个子区域对应的M个辐射粒子的散射角,σa为第i个子区域对应的M个辐射粒子的散射角均值。in,
Figure BDA0003357370290000081
is the scattering angle variance of the M radiation particles corresponding to the ith sub-region, σ θ1 , σ θ2 ,…,σ θN is the scattering angle of the M radiation particles corresponding to the ith sub-region, σ a is the corresponding The mean value of the scattering angles of the M radiation particles.

需要说明的是,在本发明的实施例中,材料识别装置对多个子区域中每个子区域,将对应子区域的高度,确定为粒子穿过长度,具体的粒子穿过长度为辐射粒子穿过的两个平行面之间的距离,即子区域的高度。It should be noted that, in the embodiment of the present invention, the material identification device determines the height of the corresponding sub-region as the particle passing length for each sub-region in the multiple sub-regions, and the specific particle passing length is the radiation particle passing through length. The distance between the two parallel surfaces of , that is, the height of the subregion.

需要说明的是,在本发明的实施例中,材料识别装置在得到多个子区域中每个子区域对应的粒子穿过长度和散射角方差之后,将某个子区域对应的散射角方差与粒子穿过长度之比确定为对应子区域的散射角密度,具体的计算公式见公式(2):It should be noted that, in the embodiment of the present invention, after obtaining the particle passing length and scattering angle variance corresponding to each subregion in the multiple subregions, the material identification device compares the scattering angle variance corresponding to a certain subregion with the particle passing The length ratio is determined as the scattering angular density of the corresponding sub-region. The specific calculation formula is shown in formula (2):

Figure BDA0003357370290000082
Figure BDA0003357370290000082

其中,λi为第i个子区域对应的散射密度,Li为第i个子区域对应的高度,

Figure BDA0003357370290000083
为第i个子区域对应的散射角方差。Among them, λ i is the scattering density corresponding to the ith sub-region, L i is the height corresponding to the ith sub-region,
Figure BDA0003357370290000083
is the scattering angle variance corresponding to the ith subregion.

S104、利用预设材料识别模型,基于多个散射密度对待识别材料进行材料类型识别,得到待识别材料的材料类型识别结果。S104 , using a preset material identification model to identify the material type of the material to be identified based on multiple scattering densities, and obtain a material type identification result of the material to be identified.

在本发明的实施例中,材料识别装置利用预设材料识别模型,基于多个散射密度对待识别材料进行材料类型识别,得到待识别材料的材料类型识别结果。In an embodiment of the present invention, the material identification device uses a preset material identification model to identify the material type of the material to be identified based on multiple scattering densities, and obtains a material type identification result of the material to be identified.

需要说明的是,在本发明的实施例中,材料类型识别结果可以包括待识别材料的材料类型,识别出该材料类型的准确度、误报率,或者,总体准确度,具体的材料类型识别结果可以根据实际需求和应用场景进行设定,对此,本发明不作限定。It should be noted that, in the embodiment of the present invention, the material type identification result may include the material type of the material to be identified, the accuracy of identifying the material type, the false alarm rate, or the overall accuracy, the specific material type identification The result can be set according to actual requirements and application scenarios, which are not limited in the present invention.

具体的预设材料识别模型针对某一材料类型的识别准确度的计算方式可以为:The calculation method of the recognition accuracy of a specific preset material recognition model for a certain material type can be as follows:

Figure BDA0003357370290000084
Figure BDA0003357370290000084

其中,taccuracy(xi)为材料xi正确识别的准确度,

Figure BDA0003357370290000091
为材料xi正确识别的样本数,
Figure BDA0003357370290000092
为材料xi的总样本数。Among them, t accuracy ( xi ) is the accuracy of correct identification of material xi ,
Figure BDA0003357370290000091
the number of samples correctly identified for material x i ,
Figure BDA0003357370290000092
is the total number of samples of material x i .

具体的预设材料识别模型将某一材料类型误识别为其他材料的误识别率的计算方式可以为:The specific preset material identification model misidentifies a certain material type as other materials. The calculation method of the misrecognition rate can be as follows:

Figure BDA0003357370290000093
Figure BDA0003357370290000093

其中,t(xi,xj)为材料xi识别为xj的误识别率。Among them, t( xi , x j ) is the misrecognition rate of the material xi being identified as x j .

具体的预设材料识别模型的总体准确度的计算公式可以为:The formula for calculating the overall accuracy of the specific preset material identification model can be:

Figure BDA0003357370290000094
Figure BDA0003357370290000094

其中,ttotal为预设材料识别模型的总体准确度,N总样本数为Q种材料的总样本数,

Figure BDA0003357370290000095
为Q种材料的正确识别样本数。具体的,在本发明的实施例中,材料识别装置利用预设材料识别模型,基于多个散射密度对待识别材料进行材料类型识别,得到待识别材料的材料类型识别结果,包括:从多个散射密度中,选取出表征异常的散射密度;将选取出的散射密度输入预设材料识别模型,得到材料类型识别结果。Among them, t total is the overall accuracy of the preset material identification model, N total number of samples is the total number of samples of Q materials,
Figure BDA0003357370290000095
Number of correctly identified samples for Q materials. Specifically, in the embodiment of the present invention, the material identification device uses a preset material identification model to identify the material type of the material to be identified based on multiple scattering densities, and obtains a material type identification result of the material to be identified, including: from multiple scattering densities. In the density, select the scattering density that characterizes the abnormality; input the selected scattering density into the preset material identification model to obtain the material type identification result.

需要说明的是,在本发明的实施例中,材料识别装置在获取到多个散射密度之后,会先对多个散射密度进行筛选,选取出待识别材料影响到的子区域对应的散射密度,然后利用选取出的散射密度来确定待识别材料的材料类型识别结果,由于仅对待识别材料影响到的子区域对应的散射密度进行数据处理,能够提高材料识别的准确度和效率。It should be noted that, in the embodiment of the present invention, after acquiring multiple scattering densities, the material identification device will first screen the multiple scattering densities, and select the scattering densities corresponding to the sub-regions affected by the material to be identified. Then, the selected scattering density is used to determine the material type identification result of the material to be identified. Since only the scattering density corresponding to the sub-region affected by the material to be identified is processed, the accuracy and efficiency of material identification can be improved.

具体的,在本发明的实施例中,材料识别装置利用预设材料识别模型,基于多个散射密度对待识别材料进行材料类型识别,得到待识别材料的材料类型识别结果之前,还可以执行以下步骤:获取散射密度样本,并利用待训练材料识别模型,基于散射密度样本对待识别样本进行材料类型识别,得到待识别样本的材料类型识别结果;计算待识别样本的材料类型识别结果与针对散射密度样本预设的目标材料类型识别结果之间的损失信息,得到损失信息;基于损失信息,对待训练材料识别模型进行模型参数调整,得到预设材料识别模型。Specifically, in the embodiment of the present invention, the material identification device uses a preset material identification model to identify the material type of the material to be identified based on multiple scattering densities, and before obtaining the material type identification result of the material to be identified, the following steps may also be performed. : Obtain the scattering density sample, and use the material identification model to be trained to identify the material type of the sample to be identified based on the scattering density sample, and obtain the material type identification result of the sample to be identified; Loss information between preset target material type identification results is obtained; based on the loss information, model parameters are adjusted for the identification model of the material to be trained to obtain a preset material identification model.

需要说明的是,在本发明的实施例中,待训练材料识别模型可以为卷积神经网络模型,材料识别模型可以将散射密度样本输入到待训练材料识别模型中,对散射密度样本进行特征提取,得到待识别样本的材料类型识别结果。It should be noted that, in the embodiment of the present invention, the material identification model to be trained may be a convolutional neural network model, and the material identification model may input the scattering density samples into the material identification model to be trained, and perform feature extraction on the scattering density samples , to obtain the identification result of the material type of the sample to be identified.

图4为本发明实施例提供的一种示例性的待识别材料识别模型的结构示意图。如图4所示,材料识别模型将散射密度样本输入到预设材料识别模型中,经过卷积层输出的特征图被传递至池化层进行特征选择和信息过滤,进一步降低数据维度,加快模型训练速度,经过多轮卷积层和池化层的处理后,输入的散射密度被抽象成高阶特征,由全连接层对提取的特征进行非线性组合以得到散射密度样本对应的待识别样本的材料类型识别结果。FIG. 4 is a schematic structural diagram of an exemplary identification model of a material to be identified according to an embodiment of the present invention. As shown in Figure 4, the material identification model inputs the scattering density samples into the preset material identification model, and the feature map output by the convolution layer is passed to the pooling layer for feature selection and information filtering, further reducing the data dimension and speeding up the model. Training speed. After multiple rounds of convolutional layer and pooling layer processing, the input scattering density is abstracted into high-order features, and the extracted features are nonlinearly combined by the fully connected layer to obtain the sample to be identified corresponding to the scattering density sample. The result of the material type identification.

需要说明的是,在本发明的实施例中,材料识别装置在得到待识别样本的材料类型识别结果之后,会计算待识别样本的材料类型识别结果与针对散射密度样本预设的目标材料类型识别结果之间的损失信息,得到损失信息,即确定损失贡献最大的权重,然后基于损失信息,对待训练材料识别模型进行模型参数调整,得到预设材料识别模型,具体的参数调整过程为先使用交叉熵损失函数调整优化权重来减少损失,表达式见公式(6):It should be noted that, in the embodiment of the present invention, after obtaining the material type identification result of the sample to be identified, the material identification device will calculate the identification result of the material type of the sample to be identified and the target material type identification preset for the scattering density sample. The loss information between the results is obtained, that is, the weight that contributes the most to the loss is determined, and then based on the loss information, the model parameters are adjusted for the identification model of the material to be trained, and the preset material identification model is obtained. The specific parameter adjustment process is to first use the cross The entropy loss function adjusts the optimization weight to reduce the loss, the expression is shown in formula (6):

Figure BDA0003357370290000101
Figure BDA0003357370290000101

其中,C为交叉损失函数,N为样本数,y表示针对散射密度样本预设的目标材料类型识别结果,x表示上一层待识别样本的材料类型识别结果,a表示待识别样本的材料类型识别结果,具体的a的表达式见公式(7):Among them, C is the cross loss function, N is the number of samples, y represents the target material type recognition result preset for the scattering density sample, x represents the material type recognition result of the sample to be recognized in the previous layer, and a represents the material type of the sample to be recognized. The identification result, the specific expression of a is shown in formula (7):

a=σ(z)(z=wx+b) (7)a=σ(z)(z=wx+b) (7)

其中,w为链接权重,b为参数,交叉熵损失函数求导得:Among them, w is the link weight, b is a parameter, and the cross entropy loss function is derived:

Figure BDA0003357370290000102
Figure BDA0003357370290000102

Figure BDA0003357370290000103
Figure BDA0003357370290000103

对应的参数更新公式为:The corresponding parameter update formula is:

Figure BDA0003357370290000111
Figure BDA0003357370290000111

Figure BDA0003357370290000112
Figure BDA0003357370290000112

其中,η为学习率。由式(10)可知,权重的更新速度与损失信息(a-y)呈线性关系,当损失信息大的时候,权重更新快,当损失信息小的时候,权重更新慢。将多个散射密度样本输入到待训练材料识别模型,进行迭代训练。where η is the learning rate. It can be seen from equation (10) that the update speed of the weight is linearly related to the loss information (a-y). When the loss information is large, the weight update is fast, and when the loss information is small, the weight update is slow. Input multiple scattering density samples into the material identification model to be trained for iterative training.

图5为本发明实施例提供的一种示例性的模型准确度随迭代次数变化的示意图。如图5所示,随着迭代次数的增加,准确度逐渐收敛。图6为本发明实施例提供的一种示例性的损失函数随迭代次数变化的示意图,如图6所示,随着迭代次数的增加,损失函数逐渐收敛。最终得到一个最优权重集合,获得一个训练好的预设材料识别模型。FIG. 5 is a schematic diagram of an exemplary variation of model accuracy with iteration times according to an embodiment of the present invention. As shown in Figure 5, as the number of iterations increases, the accuracy gradually converges. FIG. 6 is a schematic diagram of an exemplary loss function changing with the number of iterations provided by an embodiment of the present invention. As shown in FIG. 6 , as the number of iterations increases, the loss function gradually converges. Finally, an optimal weight set is obtained, and a trained preset material recognition model is obtained.

需要说明的是,在本发明的实施例中,材料识别装置获取的散射密度样本可以是模拟的数据,也可以是实际测得的数据,相应的,训练的模型也仅适用于对应的环境,比如,材料识别装置利用模拟数据训练的预设材料识别模型,可以应用到模拟环境下的材料识别,材料识别装置利用实际数据训练的预设材料识别模型,可以应用到实际情况下的材料识别,当然,探测时间的长短对应的模型可以不同,也可以相同,对此,本发明不作限定。It should be noted that, in the embodiment of the present invention, the scattering density samples obtained by the material identification device may be simulated data or actually measured data. Correspondingly, the trained model is only applicable to the corresponding environment. For example, a preset material identification model trained by the material identification device using simulated data can be applied to material identification in a simulated environment, and a preset material identification model trained by the material identification device using actual data can be applied to material identification in actual situations. Of course, the models corresponding to the length of the detection time may be different or the same, which is not limited in the present invention.

本发明提供了一种材料识别方法,方法包括:获取穿过部署待识别材料的探测区域的多个辐射粒子中,每个粒子对应的近似散射点和散射角;将探测区域划分为多个子区域,并针对多个子区域中每个子区域,从多个辐射粒子中,选取出对应近似散射点位于子区域内的辐射粒子,确定为对应的辐射粒子;针对多个子区域中每个子区域,基于对应的辐射粒子的散射角,确定对应的散射密度,得到与多个子区域一一对应的多个散射密度;利用预设材料识别模型,基于多个散射密度对待识别材料进行材料类型识别,得到待识别材料的材料类型识别结果。本发明提供的材料识别方法,直接利用预设材料识别模型,结合探测区域对应的散射密度,确定待识别材料的材料类型,从而提高了材料识别的效率。The present invention provides a material identification method. The method includes: acquiring the approximate scattering point and scattering angle corresponding to each particle in a plurality of radiation particles passing through a detection area where a material to be identified is deployed; and dividing the detection area into a plurality of sub-areas , and for each sub-region in the multiple sub-regions, from the multiple radiation particles, select the radiation particle whose corresponding approximate scattering point is located in the sub-region, and determine it as the corresponding radiation particle; for each sub-region in the multiple sub-regions, based on the corresponding According to the scattering angle of the radiation particles, the corresponding scattering densities are determined, and multiple scattering densities corresponding to multiple sub-regions are obtained; using the preset material identification model, based on the multiple scattering densities, the material type is identified for the material to be identified, and the identified material is obtained. The material type identification result for the material. The material identification method provided by the present invention directly utilizes a preset material identification model and determines the material type of the material to be identified in combination with the scattering density corresponding to the detection area, thereby improving the efficiency of material identification.

本发明提供了一种材料识别装置,图7为本发明实施例提供的一种材料识别装置的结构示意图一。如图7所示,包括:The present invention provides a material identification device, and FIG. 7 is a first structural schematic diagram of a material identification device provided by an embodiment of the present invention. As shown in Figure 7, including:

获取模块701,用于获取穿过部署待识别材料的探测区域的多个辐射粒子中,每个粒子对应的近似散射点和散射角;An acquisition module 701, configured to acquire the approximate scattering point and scattering angle corresponding to each particle among the plurality of radiation particles passing through the detection area where the material to be identified is deployed;

选取模块702,用于将所述探测区域划分为多个子区域,并针对所述多个子区域中每个子区域,从所述多个辐射粒子中,选取出对应近似散射点位于子区域内的辐射粒子,确定为对应的辐射粒子;The selection module 702 is configured to divide the detection area into a plurality of sub-areas, and for each sub-area in the plurality of sub-areas, from the plurality of radiation particles, select the radiation whose corresponding approximate scattering point is located in the sub-area particle, determined as the corresponding radiation particle;

确定模块703,用于针对所述多个子区域中每个子区域,基于对应的辐射粒子的散射角,确定对应的散射密度,得到与所述多个子区域一一对应的多个散射密度;A determination module 703, configured to, for each sub-region of the plurality of sub-regions, determine a corresponding scattering density based on the scattering angle of the corresponding radiation particle, and obtain a plurality of scattering densities corresponding to the plurality of sub-regions one-to-one;

识别模块704,用于利用预设材料识别模型,基于所述多个散射密度对所述待识别材料进行材料类型识别,得到所述待识别材料的材料类型识别结果。The identification module 704 is configured to use a preset material identification model to identify the material type of the material to be identified based on the plurality of scattering densities, and obtain a material type identification result of the material to be identified.

可选的,所述获取模块701,具体用于获取所述多个辐射粒子中每个粒子对应的入射径迹和出射径迹;针对所述多个辐射粒子中每个粒子,将对应的入射径迹的延长线和出射径迹的延长线的交点,确定为对应的近似散射点;针对所述多个辐射粒子中每个粒子,将对应的入射径迹的延长线和出射径迹的延长线的夹角,确定为对应的散射角。Optionally, the obtaining module 701 is specifically configured to obtain the incident track and the output track corresponding to each particle in the plurality of radiation particles; for each particle in the plurality of radiation particles, the corresponding incident track is obtained. The intersection of the extension line of the track and the extension line of the exit track is determined as the corresponding approximate scattering point; for each particle in the plurality of radiation particles, the extension line of the corresponding incident track and the extension line of the exit track are determined as corresponding approximate scattering points; The included angle of the line is determined as the corresponding scattering angle.

可选的,所述确定模块703,具体用于针对所述多个子区域中每个子区域,计算对应的辐射粒子的散射角的方差,得到对应的散射角方差;针对所述多个子区域中每个子区域,将对应子区域的高度,确定为对应的粒子穿过长度;针对所述多个子区域中每个子区域,将对应的散射角方差和粒子穿过长度之比确定为对应的散射密度。Optionally, the determining module 703 is specifically configured to, for each sub-region in the multiple sub-regions, calculate the variance of the scattering angle of the corresponding radiation particle to obtain the corresponding scattering angle variance; For each sub-region, the height of the corresponding sub-region is determined as the corresponding particle passing length; for each sub-region in the multiple sub-regions, the ratio of the corresponding scattering angle variance to the particle passing length is determined as the corresponding scattering density.

可选的,所述识别模块704,具体用于从所述多个散射密度中,选取出表征异常的散射密度;将选取出的散射密度输入所述预设材料识别模型,得到所述材料类型识别结果。Optionally, the identification module 704 is specifically configured to select a scattering density representing anomalies from the plurality of scattering densities; input the selected scattering density into the preset material identification model to obtain the material type Identify the results.

可选的,所述材料识别装置还包括模型训练模块(图中未示出),用于获取散射密度样本,并利用待训练材料识别模型,基于所述散射密度样本对待识别样本进行材料类型识别,得到所述待识别样本的材料类型识别结果;计算所述待识别样本的材料类型识别结果与针对所述散射密度样本预设的目标材料类型识别结果之间的损失信息,得到损失信息;基于所述损失信息,对所述待训练材料识别模型进行模型参数调整,得到所述预设材料识别模型。Optionally, the material identification device further includes a model training module (not shown in the figure), which is used to obtain scattering density samples, and use the material identification model to be trained to identify the material type of the samples to be identified based on the scattering density samples. , obtain the identification result of the material type of the sample to be identified; calculate the loss information between the identification result of the material type of the sample to be identified and the identification result of the target material type preset for the scattering density sample, and obtain the loss information; For the loss information, model parameters are adjusted for the material identification model to be trained to obtain the preset material identification model.

本发明提供了一种材料识别装置,图8为本发明实施例提供的一种材料识别装置的结构示意图二。如图8所示,材料识别装置包括:处理器801、存储器802和通信总线803;The present invention provides a material identification device, and FIG. 8 is a second structural schematic diagram of a material identification device provided by an embodiment of the present invention. As shown in FIG. 8 , the material identification device includes: a processor 801, a memory 802 and a communication bus 803;

所述通信总线803,用于实现所述处理器801和所述存储器802之间的通信连接;The communication bus 803 is used to realize the communication connection between the processor 801 and the memory 802;

所述处理器801,用于执行所述存储器802中存储的材料识别程序,以实现上述材料识别方法。The processor 801 is configured to execute the material identification program stored in the memory 802 to implement the above material identification method.

本发明提供了一种材料识别装置,获取穿过部署待识别材料的探测区域的多个辐射粒子中,每个粒子对应的近似散射点和散射角;将探测区域划分为多个子区域,并针对多个子区域中每个子区域,从多个辐射粒子中,选取出对应近似散射点位于子区域内的辐射粒子,确定为对应的辐射粒子;针对多个子区域中每个子区域,基于对应的辐射粒子的散射角,确定对应的散射密度,得到与多个子区域一一对应的多个散射密度;利用预设材料识别模型,基于多个散射密度对待识别材料进行材料类型识别,得到待识别材料的材料类型识别结果。本发明提供的材料识别装置,直接利用预设材料识别模型,结合探测区域对应的散射密度,确定待识别材料的材料类型,从而提高了材料识别的效率。The invention provides a material identification device, which acquires the approximate scattering point and scattering angle corresponding to each particle in a plurality of radiation particles passing through a detection area where a material to be identified is deployed; the detection area is divided into a plurality of sub-areas, and the For each sub-region of the multiple sub-regions, from the multiple radiation particles, select the radiation particles whose corresponding approximate scattering points are located in the sub-region, and determine them as the corresponding radiation particles; for each sub-region in the multiple sub-regions, based on the corresponding radiation particles According to the scattering angle, the corresponding scattering densities are determined, and multiple scattering densities corresponding to multiple sub-regions are obtained; the preset material identification model is used to identify the material type of the material to be identified based on the multiple scattering densities, and the material of the material to be identified is obtained. Type identification result. The material identification device provided by the present invention directly utilizes a preset material identification model and determines the material type of the material to be identified in combination with the scattering density corresponding to the detection area, thereby improving the efficiency of material identification.

本发明提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可以被一个或者多个处理器执行,以实现上述材料识别方法。计算机可读存储介质可以是是易失性存储器(volatile memory),例如随机存取存储器(Random-Access Memory,RAM);或者非易失性存储器(non-volatile memory),例如只读存储器(Read-Only Memory,ROM),快闪存储器(flash memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);也可以是包括上述存储器之一或任意组合的各自设备,如移动电话、计算机、平板设备、个人数字助理等。The present invention provides a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs can be executed by one or more processors to implement the above-mentioned material identification method . The computer-readable storage medium may be a volatile memory (volatile memory), such as a random-access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read Only Memory). -Only Memory, ROM), flash memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid-state drive (Solid-State Drive, SSD); it can also be a respective device including one or any combination of the above memories, Such as mobile phones, computers, tablet devices, personal digital assistants, etc.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, optical storage, and the like.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本实用申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. , all should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1. A material identification method, characterized in that the method comprises:
acquiring approximate scattering points and scattering angles corresponding to each of a plurality of radiation particles passing through a detection area where a material to be identified is deployed;
dividing the detection area into a plurality of sub-areas, and selecting radiation particles with corresponding approximate scattering points in the sub-areas from the plurality of radiation particles aiming at each sub-area in the plurality of sub-areas to determine the radiation particles as corresponding radiation particles;
for each sub-region in the plurality of sub-regions, determining a corresponding scattering density based on a scattering angle of the corresponding radiation particle, and obtaining a plurality of scattering densities corresponding to the plurality of sub-regions one to one;
and carrying out material type identification on the material to be identified based on the plurality of scattering densities by using a preset material identification model to obtain a material type identification result of the material to be identified.
2. The method of claim 1, wherein acquiring a plurality of radiation particles traversing a detection region in which a material to be identified is deployed, each particle corresponding to an approximate scatter point and scatter angle, comprises:
acquiring an incident track and an emergent track corresponding to each of the plurality of radiation particles;
determining, for each of the plurality of radiation particles, an intersection of an extension of the corresponding incident track and an extension of the exit track as a corresponding approximate scattering point;
for each of the plurality of radiation particles, determining an angle between an extension of the corresponding incident track and an extension of the exit track as a corresponding scattering angle.
3. The method of claim 1, wherein determining, for each of the plurality of sub-regions, a corresponding scattering density based on a scattering angle of a corresponding radiation particle, resulting in a plurality of scattering densities in one-to-one correspondence with the plurality of sub-regions comprises:
calculating the variance of the scattering angle of the corresponding radiation particle aiming at each sub-area in the plurality of sub-areas to obtain the corresponding variance of the scattering angle;
for each sub-region of the plurality of sub-regions, determining a height of the corresponding sub-region as a corresponding particle penetration length;
for each sub-region of the plurality of sub-regions, determining a ratio of a corresponding scatter angle variance and a particle pass length as a corresponding scatter density.
4. The method according to claim 1, wherein the performing material type recognition on the material to be recognized based on the plurality of scattering densities by using a preset material recognition model to obtain a material type recognition result of the material to be recognized comprises:
selecting a scattering density characterizing an anomaly from the plurality of scattering densities;
and inputting the selected scattering density into the preset material identification model to obtain the material type identification result.
5. The method according to claim 1, wherein before performing material type recognition on the material to be recognized based on the plurality of scattering densities by using a preset material recognition model to obtain a material type recognition result of the material to be recognized, the method further comprises:
acquiring a scattering density sample, and performing material type recognition on the sample to be recognized based on the scattering density sample by using a material recognition model to be trained to obtain a material type recognition result of the sample to be recognized;
calculating loss information between a material type identification result of the sample to be identified and a target material type identification result preset for the scattering density sample to obtain loss information;
and adjusting model parameters of the material recognition model to be trained based on the loss information to obtain the preset material recognition model.
6. A material identification device, comprising:
an acquisition module for acquiring an approximate scatter point and a scatter angle corresponding to each of a plurality of radiation particles passing through a detection region where a material to be identified is deployed;
a selecting module, configured to divide the detection region into a plurality of sub-regions, and select, for each sub-region in the plurality of sub-regions, a radiation particle whose corresponding approximate scattering point is located in the sub-region from the plurality of radiation particles, and determine the radiation particle as a corresponding radiation particle;
a determining module, configured to determine, for each of the multiple sub-regions, a corresponding scattering density based on a scattering angle of the corresponding radiation particle, so as to obtain multiple scattering densities corresponding to the multiple sub-regions one to one;
and the identification module is used for identifying the material type of the material to be identified based on the plurality of scattering densities by using a preset material identification model to obtain a material type identification result of the material to be identified.
7. The apparatus of claim 6,
the acquiring module is specifically configured to acquire an incident track and an exit track corresponding to each of the plurality of radiation particles; determining, for each of the plurality of radiation particles, an intersection of an extension of the corresponding incident track and an extension of the exit track as a corresponding approximate scattering point; for each of the plurality of radiation particles, determining an angle between an extension of the corresponding incident track and an extension of the exit track as a corresponding scattering angle.
8. The apparatus of claim 6,
the determining module is specifically configured to calculate, for each sub-region of the plurality of sub-regions, a variance of a scattering angle of the corresponding radiation particle, so as to obtain a corresponding scattering angle variance; for each sub-region of the plurality of sub-regions, determining a height of the corresponding sub-region as a corresponding particle penetration length; for each sub-region of the plurality of sub-regions, determining a ratio of a corresponding scatter angle variance and a particle pass length as a corresponding scatter density.
9. A material identification device, comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the material identification program stored in the memory to implement the material identification method according to any one of claims 1 to 5.
10. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the material identification method of any one of claims 1-5.
CN202111356516.6A 2021-11-16 2021-11-16 A material identification method, device and storage medium Pending CN114137004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111356516.6A CN114137004A (en) 2021-11-16 2021-11-16 A material identification method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111356516.6A CN114137004A (en) 2021-11-16 2021-11-16 A material identification method, device and storage medium

Publications (1)

Publication Number Publication Date
CN114137004A true CN114137004A (en) 2022-03-04

Family

ID=80394268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111356516.6A Pending CN114137004A (en) 2021-11-16 2021-11-16 A material identification method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114137004A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101606082A (en) * 2006-10-27 2009-12-16 洛斯阿拉莫斯国家安全股份有限公司 Statistical tomographic reconstruction based on charged particle measurements
CN105700029A (en) * 2016-01-22 2016-06-22 清华大学 Method, device and system for inspecting object based on cosmic ray
CN108426898A (en) * 2018-02-24 2018-08-21 中国工程物理研究院材料研究所 The method that heavy nucleus material is quickly identified using cosmic ray μ
CN112307795A (en) * 2019-07-23 2021-02-02 清华大学 Substance screening equipment and method for extracting statistical feature quantities based on cluster analysis

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101606082A (en) * 2006-10-27 2009-12-16 洛斯阿拉莫斯国家安全股份有限公司 Statistical tomographic reconstruction based on charged particle measurements
CN105700029A (en) * 2016-01-22 2016-06-22 清华大学 Method, device and system for inspecting object based on cosmic ray
CN108426898A (en) * 2018-02-24 2018-08-21 中国工程物理研究院材料研究所 The method that heavy nucleus material is quickly identified using cosmic ray μ
CN112307795A (en) * 2019-07-23 2021-02-02 清华大学 Substance screening equipment and method for extracting statistical feature quantities based on cluster analysis

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何伟波: "基于机器学习的高Z物质宇宙线μ子成像方法研究", 《中国博士学位论文全文数据库 基础科学辑》, no. 8, pages 16 - 21 *

Similar Documents

Publication Publication Date Title
Chawla et al. Host based intrusion detection system with combined CNN/RNN model
US11023777B1 (en) Methods for training and testing obfuscation network capable of performing distinct concealing processes for distinct regions of original image and learning and testing devices using the same
CN107783185B (en) A kind of processing method and device for chromatographic static correction
WO2018095099A1 (en) Method and device for processing suspicious samples
Nijhawan et al. Gun identification from gunshot audios for secure public places using transformer learning
Kassab et al. Drone detection with improved precision in traditional machine learning and less complexity in single-shot detectors
CN115604032A (en) A complex multi-step attack detection method and system for power systems
Wen et al. Application of improved YOLOv7-based sugarcane stem node recognition algorithm in complex environments
CN117809118B (en) A visual perception recognition method, device and medium based on deep learning
Maray et al. Intelligent pattern recognition using equilibrium optimizer with deep learning model for android malware detection
Yang et al. Foreground enhancement network for object detection in sonar images: C. Yang et al.
Huynh et al. Enhancing Fire Detection Performance Based on Fine-Tuned YOLOv10.
Li et al. Object detection algorithm based on improved YOLOv8 for drill pipe on coal mines
CN114137004A (en) A material identification method, device and storage medium
Wang et al. An optimized and precise road crack segmentation network in complex scenarios
Tydén et al. Edge machine learning for animal detection, classification, and tracking
Yu et al. Enduring, efficient and robust trajectory prediction attack in autonomous driving via optimization-driven multi-frame perturbation framework
XiaoAn et al. Wildlife target detection based on improved YOLOX-s network
Li et al. A multi-scale integrated learning model with attention mechanisms for UAV audio signal detection
Hao et al. A multi modal fusion coal gangue recognition method based on IBWO-CNN-LSTM
Lee et al. Libra-CAM: An Activation-Based Attribution Based on the Linear Approximation of Deep Neural Nets and Threshold Calibration.
CN116152294B (en) Transformer-based feature association multi-target tracking method
Laktionov et al. Development of a hardware-software solution for detection of complex-shaped objects in video stream
Wang et al. CASIA-Net: An indoor work site smoking detection framework
Shoukry et al. An improved deep learning model for early fire and smoke detection on edge vision unit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination