Method for training radiation image recognition model on line, radiation image recognition method and radiation image recognition device

By collecting and online labeling data at the radiation inspection site, and combining the preset data with online training of the radiation image recognition model, the problems of long update cycle and low labeling efficiency in the existing technology are solved, and efficient and robust radiation image recognition is achieved to meet the needs of Data confidentiality requirements.

CN118570587APending Publication Date: 2024-08-30NUCTECH CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410789095.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing radiation image recognition systems based on deep learning require manual annotation of data for model updates after deployment, resulting in a long update cycle, low efficiency, and inability to meet data confidentiality requirements. Moreover, the annotation work requires a lot of manpower, and the existing annotation method requires all annotations. All objects in the category of interest are inefficient.

Method used

The second radiation image is collected at the radiation inspection site for online annotation to form incomplete annotation information. The training data set is synthesized online with the preset data, and the training data set is used to train the radiation image recognition model online to reduce the annotation burden and meet confidentiality requirements.

Benefits of technology

By training the model with incomplete annotation data, the user annotation burden is reduced, the system robustness is improved, and on-site data is not transmitted back, meeting data confidentiality requirements and improving the accuracy of radiation image recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570587A
    Figure CN118570587A
Patent Text Reader

Abstract

The invention provides an online training method and device of a radiation image recognition model and a radiation image recognition method and device. Preset data is pre-stored in the radiation inspection system, and the preset data comprises a first radiation image. The training method comprises the following steps: acquiring a second radiation image on a radiation inspection site; the second radiation image is marked online to form on-site collection data with second marking information, the second marking information is incomplete marking information of the second radiation image, and the second marking information is used for indicating part of interested objects in the second radiation image; synthesizing the preset data and the field acquisition data on line to form a training data set; and using the training data set to train the radiation image recognition model online.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the Chinese invention patent application with application number 202210478943.X (application date: April 29, 2022; invention name: method for online training of radiation image recognition model, radiation image recognition method and device). Technical Field

[0002] The present disclosure relates to the field of image processing technology, and in particular to a method and device for online training of a radiation image recognition model, a radiation image recognition method and device, an electronic device, a computer-readable storage medium, and a program product. Background Art

[0003] The widespread application of radiation imaging technology has brought great convenience to the identification of special objects, but the rapidly increasing number of packages and the pass rate requirements have put tremendous pressure on traditional manual image judgment, and a more automated identification method is urgently needed. Radiation image intelligent recognition technology has emerged. This technology uses a deep learning-based target detection method to automatically identify and alarm the collected radiation images, greatly reducing the manpower burden.

[0004] At present, after the radiation image recognition method based on deep learning is deployed at the radiation inspection site, whenever the user's needs change, the data collected on site needs to be sent back to the developer of the radiation image intelligent recognition system, who will manually annotate it, train the model based on the results of the manual annotation, and then update the trained model to the radiation inspection site before it can be used on site. This set of processes has a long implementation cycle, low efficiency, and cannot meet the user's (i.e., the user of the radiation image intelligent recognition system) needs for data confidentiality. Moreover, the amount of data collected at the radiation inspection site is extremely large, and the existing annotation method requires annotating all objects of all categories of interest, which requires a lot of manpower and has low annotation efficiency.

[0005] The above information disclosed in this section is only for understanding the background of the inventive concept of the present disclosure and therefore the above information may contain information that does not constitute the prior art. Summary of the invention

[0006] In view of at least one aspect of the above technical problems, a method and device for online training of a radiation image recognition model, a radiation image recognition method and device, an electronic device, a computer-readable storage medium, and a program product are proposed.

[0007] In one aspect, a method for online training of a radiation image recognition model is provided, wherein the radiation image recognition model is applied to a radiation inspection system, wherein the radiation inspection system is arranged at a radiation inspection site, wherein preset data is pre-stored in the radiation inspection system, wherein the preset data includes a first radiation image, and wherein the method includes:

[0008] Acquiring a second radiation image at the radiation inspection site;

[0009] Annotating the second radiation image online to form on-site acquisition data with second annotation information, wherein the second annotation information is incomplete annotation information of the second radiation image, and the second annotation information is used to indicate a part of the object of interest in the second radiation image;

[0010] Online synthesizing the preset data and the field collected data to form a training data set; and

[0011] The radiation image recognition model is trained online using the training data set.

[0012] According to some exemplary embodiments, the first radiation image in the preset data includes at least one of the following situations:

[0013] The first radiation image in the preset data carries first annotation information, where the first annotation information is used to indicate all objects of interest in the first radiation image;

[0014] The first radiation image in the preset data does not include any object of interest;

[0015] The preset data includes multiple first radiation images, some of which carry first annotation information, where the first annotation information is used to indicate all objects of interest in the first radiation images, and some of which do not include any objects of interest.

[0016] According to some exemplary embodiments, the online synthesis of the preset data and the field collected data to form training data includes:

[0017] extracting the object of interest corresponding to the second annotation information from the second radiation image; and

[0018] The second annotation information and the extracted object of interest are synthesized into the first radiation image included in the preset data to form the training data set.

[0019] According to some exemplary embodiments, the first annotation information is used to indicate all objects of interest of all categories in the first radiation image, the second annotation information is used to indicate objects of interest of some categories in the second radiation image, or the second annotation information is used to indicate some objects of interest of some categories in the second radiation image.

[0020] According to some exemplary embodiments, the first annotation information includes at least one first annotation box and at least one first label annotated in the first radiation image, wherein the at least one first annotation box is used to indicate the positions of all objects of interest in the first radiation image, and the at least one first label is used to indicate the categories of all objects of interest in the first radiation image.

[0021] According to some exemplary embodiments, the second annotation information includes at least one second annotation box and at least one second label annotated in the second radiation image, wherein the at least one second annotation box is used to indicate the position of a portion of the object of interest in the second radiation image, and the at least one second label is used to indicate the category of the portion of the object of interest in the second radiation image.

[0022] According to some exemplary embodiments, synthesizing the second annotation information and the extracted object of interest into the first radiation image included in the preset data to form the training data set specifically includes:

[0023] inserting the extracted object of interest into the first radiation image to form a training radiation image;

[0024] generating a third annotation box and a third label in the training radiation image, wherein the third annotation box is generated according to the second annotation box, and the third label is the same as the second label and is used to indicate the category of the object of interest enclosed by the third annotation box; and

[0025] The training data set is formed according to the training radiation image with the first annotation box, the first label, the third annotation box and the third label.

[0026] According to some exemplary embodiments, the first radiation image includes a transparent area and an opaque area, and inserting the extracted object of interest into the first radiation image to form a training radiation image specifically includes:

[0027] Selecting an area that meets the insertion requirement from the transparent area of ​​the first radiation image as at least one candidate insertion area;

[0028] According to the data synthesis rule, one of the at least one candidate insertion regions is selected as the insertion region; and

[0029] The extracted object of interest is inserted into the insertion area.

[0030] According to some exemplary embodiments, satisfying the insertion requirement includes: an area or volume of the candidate insertion region is greater than or equal to an area or volume of the object of interest to be inserted.

[0031] According to some exemplary embodiments, the data synthesis rule includes: the degree of concealment of the candidate insertion area by surrounding objects in the first radiation image meets specified requirements.

[0032] According to some exemplary embodiments, the method further comprises:

[0033] forming quasi-complete annotation information of the second radiation image according to the incomplete annotation information of the second radiation image; and

[0034] A second radiation image with quasi-complete annotation information is determined as a part of the training data set.

[0035] According to some exemplary embodiments, forming the quasi-complete annotation information of the second radiation image according to the incomplete annotation information of the second radiation image specifically includes:

[0036] detecting an unlabeled object of interest in the second radiation image;

[0037] Calculating the similarity between the unlabeled object of interest and the object of interest corresponding to the second labeling information; and

[0038] When the similarity meets the similarity threshold requirement, the unlabeled object of interest is labeled using the second labeling information to form quasi-complete labeling information of the second radiation image.

[0039] According to some exemplary embodiments, inserting the extracted object of interest into the first radiation image to form a training radiation image specifically includes:

[0040] Performing a data augmentation operation on the extracted objects of interest to form augmented data, wherein the number of the extracted objects of interest is n, and the number of objects of interest included in the augmented data is N, N=m*n, wherein n is a positive integer greater than or equal to 1, and m is a positive integer greater than or equal to 2; and

[0041] The N objects of interest included in the augmented data are respectively inserted into the first radiation image to form a plurality of training radiation images.

[0042] According to some exemplary embodiments, the data augmentation operation includes at least one of the following operations: flipping, rotating, and numerical dithering operations.

[0043] According to some exemplary embodiments, the training data set includes a first training data subset and a second training data subset, the first training data subset and the second training data subset have different data distributions, the first training data subset includes preset data, and the second training data subset includes an unlabeled third radiation image collected at a radiation inspection site, and the method further includes:

[0044] training the radiation image recognition model using the first training data subset; and

[0045] Using the second training data subset to train the radiation image recognition model trained by the first training data subset,

[0046] In the process of using the second training data subset to train the radiation image recognition model trained by the first training data subset, the distance between the first training data subset and the second training data subset is minimized by adjusting the parameters of the feature layer of the radiation image recognition model.

[0047] According to some exemplary embodiments, the preset data includes typical samples in radiation examination, and the typical samples are obtained by screening through a genetic method.

[0048] According to some exemplary embodiments, the online annotation of the second radiation image comprises:

[0049] automatically detecting an object of interest of unknown class in the second radiation image; and

[0050] A reminder signal is issued, where the reminder signal is used to remind the user to mark the object of interest of unknown category in the second radiation image.

[0051] According to some exemplary embodiments, the online training of the radiation image recognition model using the training data set includes:

[0052] Using the training data set to train multiple candidate models;

[0053] Filter the plurality of candidate models according to specified indicators; and

[0054] One of the multiple candidate models that meets the specified indicators is determined as the radiation image recognition model.

[0055] In another aspect, a radiation image recognition method is provided, the radiation image recognition method is applied to a radiation inspection system, the radiation inspection system is arranged at a radiation inspection site, the method comprising:

[0056] Collect radiation images to be identified at the radiation inspection site;

[0057] Inputting the radiation image to be identified into a radiation image recognition model, wherein the radiation image recognition model is trained using the method described above; and

[0058] The radiation image to be identified is identified using the radiation image identification model.

[0059] In another aspect, a device for online training of a radiation image recognition model is provided, wherein the radiation image recognition model is applied to a radiation inspection system, wherein the radiation inspection system is arranged at a radiation inspection site, wherein preset data is pre-stored in the radiation inspection system, wherein the preset data includes a first radiation image, and wherein the device includes:

[0060] An acquisition module, used for acquiring a second radiation image at a radiation inspection site;

[0061] An online annotation module, used for annotating the second radiation image online to form field acquisition data with second annotation information, wherein the second annotation information is incomplete annotation information of the second radiation image, and the second annotation information is used to indicate a part of the object of interest in the second radiation image;

[0062] An online synthesis module, used for online synthesis of the preset data and the field collected data to form a training data set; and

[0063] A training module is used to train the radiation image recognition model online using the training data set.

[0064] According to some exemplary embodiments, the online synthesis of the preset data and the field collected data to form training data includes:

[0065] extracting the object of interest corresponding to the second annotation information from the second radiation image; and

[0066] The second annotation information and the extracted object of interest are synthesized into the first radiation image included in the preset data to form the training data set.

[0067] In yet another aspect, a radiation image recognition device is provided, the radiation image recognition device is applied to a radiation inspection system, the radiation inspection system is arranged at a radiation inspection site, and the device comprises:

[0068] An acquisition module is used to acquire radiation images to be identified at the radiation inspection site;

[0069] an input module, used for inputting the radiation image to be identified into a radiation image recognition model, wherein the radiation image recognition model is trained by the method as described above; and

[0070] The recognition module is used to recognize the radiation image to be recognized by using the radiation image recognition model.

[0071] In yet another aspect, an electronic device is provided, comprising:

[0072] one or more processors;

[0073] a storage device for storing one or more programs,

[0074] When the one or more programs are executed by the one or more processors, the one or more processors execute the method as described above.

[0075] According to some exemplary embodiments, the electronic device is a radiation inspection device.

[0076] In yet another aspect, a computer-readable storage medium is provided, on which executable instructions are stored. When the instructions are executed by a processor, the processor executes the method as described above.

[0077] In still another aspect, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method as described above is implemented.

[0078] In the embodiments of the present disclosure, the incompletely labeled data collected on-site can be directly used to eliminate the negative impact caused by it, which can greatly reduce the labeling burden of users. Specifically, it is possible to use incompletely labeled or extremely incompletely labeled data, that is, each category in the data set does not need to be fully labeled, or only some objects of the category of interest in an image can be labeled to minimize the labeling burden and improve the robustness of the system. In addition, it can be ensured that the data collected on-site does not leave the site, that is, the data collected on-site does not need to be transmitted back, thereby meeting the confidentiality needs of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] In order to better understand the present invention, the present invention will be described in detail according to the following drawings:

[0080] Figure 1 is a schematic structural diagram of a radiation inspection system according to an embodiment of the present invention.

[0081] Figure 2 is a schematic diagram of a CT scanning device implementing a reconstruction scanning method according to some exemplary embodiments of the present disclosure.

[0082] Figure 3 An example of attenuated signal data obtained according to an embodiment of the present disclosure is shown.

[0083] Figure 4It is a schematic flowchart of a method for online training of a radiation image recognition model according to an embodiment of the present disclosure.

[0084] Figure 5 is a schematic diagram of a radiation image in preset data according to some exemplary embodiments of the present disclosure.

[0085] Fig. 6A is a schematic diagram of a radiation image in field acquisition data according to some exemplary embodiments of the present disclosure.

[0086] Figure 6B is a schematic diagram of a radiation image in synthetic data according to some exemplary embodiments of the present disclosure.

[0087] Figure 7 is a schematic flowchart of an online synthesis step in a method for online training of a radiation image recognition model according to some exemplary embodiments of the present disclosure.

[0088] Figure 8 is a detailed flowchart of the online synthesis step in the method for online training of a radiation image recognition model according to some exemplary embodiments of the present disclosure.

[0089] Fig. 9 is a schematic flowchart of a method for online training of a radiation image recognition model according to some other exemplary embodiments of the present disclosure.

[0090] Fig.10 yes Fig. 9 Detailed flowchart of operation S910 in .

[0091] Fig.11 is a schematic flowchart of a method for online training of a radiation image recognition model according to some other exemplary embodiments of the present disclosure.

[0092] Fig.12 is a schematic flowchart of online training steps of a method for online training of a radiation image recognition model according to some exemplary embodiments of the present disclosure.

[0093] Fig.13 is a schematic flow chart of a radiation image recognition method according to an exemplary embodiment of the present disclosure.

[0094] Fig.14 is a structural block diagram of an apparatus for online training of a radiation image recognition model according to an exemplary embodiment of the present disclosure.

[0095] Fig.15 is a structural block diagram of a radiation image recognition device according to an exemplary embodiment of the present disclosure.

[0096] Fig.16The structure block diagram of an electronic device suitable for implementing a method for online training a radiation image recognition model or a radiation image recognition method according to an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0097] The specific embodiments of the present invention will be described in detail below. It should be noted that the embodiments described herein are only for illustration and are not intended to limit the present invention. In the following description, a large number of specific details are set forth in order to provide a thorough understanding of the present invention. However, it is obvious to those of ordinary skill in the art that these specific details do not have to be adopted to implement the present invention. In other examples, in order to avoid confusing the present invention, known structures, materials or methods are not specifically described.

[0098] Throughout the specification, references to "one embodiment," "an embodiment," "an example," or "an example" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment or example is included in at least one embodiment of the present invention. Therefore, the phrases "in one embodiment," "in an embodiment," "an example," or "an example" appearing in various places throughout the specification do not necessarily all refer to the same embodiment or example. In addition, particular features, structures, or characteristics may be combined in one or more embodiments or examples in any suitable combination and / or subcombination. In addition, it should be understood by those of ordinary skill in the art that the term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0099] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0100] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0101] The inventors have found through research that the widespread application of radiation imaging technology has brought great convenience to the identification of specific items, but the rapidly increasing number of packages and the pass rate requirements have put tremendous pressure on traditional manual image judgment, and a more automated identification method is urgently needed.

[0102] With the rapid development of GPU hardware technology, deep learning has entered all walks of life, and its emergence has innovatively changed the basic research methods of the industry. As the foundation of deep learning methods, artificial neural networks, the concept of "neurons" as their basic units has been well known. In the early days of neural network development, fully connected methods were generally used to connect adjacent neurons. However, for image processing tasks, such a connection method requires an extremely large and unacceptable amount of parameters. In order to solve this problem, inspired by the local perception characteristics of biological vision models, the convolutional neural network model was proposed. By introducing the convolution calculation method and utilizing its local connection and weight sharing characteristics, this model greatly reduces the number of network parameters and makes it possible to process complex computer vision tasks.

[0103] In the field of computer vision, an important application scenario of deep learning methods is target detection, that is, for an input image, the algorithm can give the location information (bounding box or edge contour) of the object and its category, which has important applications in contraband identification, autonomous driving, anomaly detection, etc. For the target detection problem, the classic solutions include the two-stage method with high accuracy - RCNN series and the one-stage method with fast speed - SSD and YOLO series. In recent years, many researchers have made improvements based on these methods and proposed various variant methods to balance detection effect and detection speed.

[0104] With the development of radiation imaging technology and deep learning technology, radiation image intelligent recognition technology has emerged. This technology uses a deep learning-based target detection method to automatically identify and alarm the collected radiation images, greatly reducing the burden of manpower. For example, CT scanning technology uses rays to detect the internal three-dimensional structure information of objects. It has the ability to detect the internal structure of objects in a low-cost, non-destructive and intuitive manner. It has achieved remarkable results in many fields such as medical imaging, security inspection, and industrial flaw detection. Among them, the dual-energy material recognition technology of security inspection CT can distinguish material information such as the atomic number of objects, greatly improving the ability to detect dangerous goods. The widespread application of CT technology has brought great convenience to the identification of special items, but the rapidly increasing number of packages and pass rate requirements have put tremendous pressure on traditional manual image judgment, and a more automated recognition method is urgently needed. CT intelligent recognition technology has emerged. This technology uses a deep learning-based target detection method to automatically identify and alarm CT scan data, greatly reducing the burden of manpower.

[0105] The inventors have found through research that the radiation image intelligent recognition technology based on deep learning has at least one of the following problems in practical application:

[0106] (1) After the radiation image intelligent recognition system is deployed at the radiation inspection site, whenever the user updates the requirements, the data collected on site needs to be sent back to the developer of the radiation image intelligent recognition system for manual annotation. The developer then trains the model based on the results of the manual annotation. The trained model is then updated to the radiation inspection site before it can be used on site. This set of processes has a long implementation cycle, low efficiency, and cannot meet the user's (i.e., the user of the radiation image intelligent recognition system) needs for data confidentiality.

[0107] (2) The amount of data collected at the radiation inspection site is extremely large. The existing labeling method requires labeling all objects of all categories of interest, which requires a lot of manpower and has low labeling efficiency. If all objects of all categories of interest that need to be labeled are not fully labeled, the problem of not being able to fully utilize the data collected on site will result.

[0108] (3) With the continuous changes in user needs during on-site use and the impact of some unexpected events, the categories of objects that need to be detected will be constantly updated. The existing radiation image intelligent recognition system cannot flexibly and conveniently add new detectable categories on the original basis according to user needs.

[0109] (4) The data collected at different use sites are not distributed in the same way, which is reflected in the differences in object categories, quantity distribution, etc. The existing radiation image intelligent recognition system cannot adjust the model to achieve the best detection effect based on the on-site data.

[0110] In order to solve at least one aspect of the above-mentioned problems, an embodiment of the present disclosure provides a method for online training of a radiation image recognition model, wherein the radiation image recognition model is applied to a radiation inspection system, and the radiation inspection system is arranged at a radiation inspection site. Preset data is pre-stored in the radiation inspection system, and the preset data includes a first radiation image. The method includes: acquiring a second radiation image at the radiation inspection site; annotating the second radiation image online to form on-site acquired data with second annotation information, wherein the second annotation information is incomplete annotation information of the second radiation image, and the second annotation information is used to indicate part of the objects of interest in the second radiation image; online synthesizing the preset data and the on-site acquired data to form a training data set; and using the training data set to train the radiation image recognition model online.

[0111] In the embodiments of the present disclosure, the incompletely labeled data collected on-site can be directly used to eliminate the negative impact caused by it, which can greatly reduce the labeling burden of users. Specifically, it is possible to use incompletely labeled or extremely incompletely labeled data, that is, each category in the data set does not need to be fully labeled, or only some objects of the category of interest in an image can be labeled to minimize the labeling burden and improve the robustness of the system. In addition, it can be ensured that the data collected on-site does not leave the site, that is, the data collected on-site does not need to be transmitted back, thereby meeting the confidentiality needs of users.

[0112] An embodiment of the present disclosure also provides a radiation image recognition method, which is applied to a radiation inspection system, and the radiation inspection system is arranged at a radiation inspection site. The method includes: collecting a radiation image to be identified at the radiation inspection site; inputting the radiation image to be identified into a radiation image recognition model, wherein the radiation image recognition model is trained using the method described above; and using the radiation image recognition model to identify the radiation image to be identified.

[0113] In an embodiment of the present disclosure, the accuracy of radiation image recognition can be improved by utilizing a radiation image recognition model trained with a large amount of field collected data.

[0114] Below, taking CT radiation inspection as an example, the embodiments of the present disclosure are described in detail. It should be understood that the embodiments of the present disclosure are not limited to CT radiation inspection scenarios, and can be applied to various radiation inspection scenarios. For example, X-ray machine security inspection, terahertz (millimeter wave) human body security inspection, etc. For another example, it can be applied to radiation inspection scenarios including various inspection objects, including but not limited to vehicle radiation inspection, luggage / package radiation inspection, human body radiation inspection, etc. It should be noted that the description of radiation inspection scenarios here is not an exhaustive description, and the description here should not be understood as limiting the scope of protection of the present disclosure.

[0115] It should be noted that the embodiments of the present disclosure are not limited to target detection tasks, but can also be applied to tasks such as image classification and image segmentation. Similarly, the dimension of the data is not limited to the detected object, and it can be three-dimensional data used for illustration in the following embodiments, or it can be two-dimensional data, pseudo three-dimensional data (depth data), etc. Thus, in this article, unless otherwise specified, the expression "image recognition" includes but is not limited to various tasks such as target detection, image classification, and image segmentation.

[0116] Figure 1 Schematic diagram of the structure of a radiation inspection system according to an embodiment of the present invention. Figure 1 In FIG. 1 , a CT scanning device is schematically shown as an example of the radiation inspection system. Figure 1As shown, the CT scanning device according to this embodiment includes: a rack 20, a carrying mechanism 40, a controller 50, a data processor 60 (such as a computer), etc. The rack 20 includes a ray source 10 that emits X-rays for inspection, such as an X-ray machine, and a detection and acquisition device 30. The carrying mechanism 40 carries the object to be inspected (such as checked luggage) 70 to pass through the scanning area between the ray source 10 of the rack 20 and the detection and acquisition device 30, and the rack 20 rotates around the forward direction of the object to be inspected 70, so that the rays emitted by the ray source 10 can pass through the object to be inspected 70, and CT scan the object to be inspected 70. The detection and acquisition device 30 is, for example, a detector and a data acquisition device with an integral module structure, such as a flat panel detector, which is used to detect the rays that penetrate the liquid article to be inspected, obtain analog signals, and convert the analog signals into digital signals, so as to output the projection data of the object to be inspected 70 for X-rays. The controller 50 is used to control the various parts of the entire system to work synchronously. The data processor 60 is used to process the data collected by the data acquisition device, process and reconstruct the data, and output the results.

[0117] like Figure 1 As shown, the ray source 10 is placed on one side where the inspected object can be placed, and the detection and acquisition device 30 is placed on the other side of the inspected object 70, including a detector and a data collector, which is used to obtain the transmission data and / or multi-angle projection data of the inspected object 70. The data collector includes a data amplification and shaping circuit, which can work in a (current) integration mode or a pulse (counting) mode. The data output cable of the detection and acquisition device 30 is connected to the controller 50 and the data processor 60, and the collected data is stored in the data processor 60 according to the trigger command.

[0118] In an embodiment of the present disclosure, a radiation image recognition system 80 may be deployed in the data processor 60, and a radiation image recognition model may be deployed in the radiation image recognition system 80. The radiation image recognition system 80 may use the radiation image recognition model to recognize the collected field data (e.g., radiation images), and the recognition may include target detection, for example, detecting an object of interest in the radiation image. For example, the object of interest may be various types of contraband. It should be understood that the specific category of the object of interest depends on the radiation inspection site where the radiation inspection system is arranged, or in other words, the specific category of the object of interest is determined by the user of the radiation inspection system (also referred to as the user in this article) according to the specific radiation inspection needs, and it can be dynamically adjusted according to the radiation inspection needs.

[0119] In the embodiment of the present disclosure, the ray source 10 may be, for example, an X-ray machine, and a suitable X-ray machine focal spot size may be selected according to the imaging resolution. In other embodiments, an X-ray machine may not be used, but a linear accelerator may be used to generate an X-ray beam.

[0120] The detection and acquisition device 30 includes an X-ray detector and a data acquisition circuit. The X-ray detector may use a solid detector, a gas detector or other detectors, but the embodiments of the present disclosure are not limited thereto. The data acquisition circuit includes a readout circuit, an acquisition trigger circuit, and a data transmission circuit.

[0121] The combination of the controller 50 and the data processor 60, for example, includes a computer device installed with a control program and a data processing program, which is responsible for completing the control of the operation process of the CT scanning device, including mechanical rotation, electrical control, safety interlock control, etc., reconstructing CT images from projection data, training radiation image recognition models, and using the trained radiation image recognition models to recognize radiation images, etc.

[0122] Figure 2 FIG. 1 is a schematic diagram of a CT scanning device for implementing a reconstruction scanning method according to some exemplary embodiments of the present disclosure. Figure 2 As shown, after the X-rays emitted from the ray source 10 pass through a portion of the inspected object 70 in the field of view 45, they are received by the detection and acquisition device 30, converted into electrical signals and then converted into digital signals representing attenuation values, which are used as projection data and reconstructed by a computer to obtain a higher quality image.

[0123] According to the embodiment of the present disclosure, the CT scanning device is used to perform CT scanning on the object to be inspected to obtain the original attenuation signal. The attenuation signal data corresponding to a row of detectors can also be displayed in the form of a two-dimensional image. Figure 3 FIG. 2 shows an example of attenuation signal data obtained according to an embodiment of the present disclosure. Figure 3 The horizontal axis of the raw attenuation signal shown represents the pixel sequence in the detector column direction (e.g., from 1 to 256), and the vertical axis represents the angle (e.g., from 1 degree to 360 degrees). The raw attenuation signal is preprocessed to become projection data. For example, the projection data can be preprocessed by a CT scanning device such as negative logarithmic transformation to obtain the projection data. Then, the data processor 60 executes a reconstruction program, for example, a mainstream analytical reconstruction method in the field can be used to obtain a reconstructed image, which is the radiation image mentioned in the embodiment of the present disclosure.

[0124] In an embodiment of the present disclosure, the data processor 60 may perform image recognition (e.g., target detection) on the reconstructed image (i.e., the radiation image) to identify an object of interest (e.g., contraband) in the radiation image. Specifically, a radiation image recognition system 80 may be deployed in the data processor 60, and a radiation image recognition model may be deployed in the radiation image recognition system 80, and the radiation image recognition system 80 may use the radiation image recognition model to recognize the radiation image.

[0125] Figure 4is a schematic flow chart of a method for online training of a radiation image recognition model according to an embodiment of the present disclosure. In an embodiment of the present disclosure, the radiation image recognition model is applied to a radiation inspection system (e.g. Figure 1 In the CT scanning device shown in the figure), the radiation inspection system is arranged at the radiation inspection site, and the radiation inspection system pre-stores preset data, and the preset data includes a first radiation image. The method for online training of a radiation image recognition model may include the following operations S410 to S440.

[0126] In an embodiment of the present disclosure, the first radiation image in the preset data includes at least one of the following situations: the first radiation image in the preset data carries first annotation information, and the first annotation information is used to indicate all objects of interest in the first radiation image; the first radiation image in the preset data does not include any object of interest; the preset data includes multiple first radiation images, some of the multiple first radiation images carry first annotation information, and the first annotation information is used to indicate all objects of interest in the first radiation image, and some of the multiple first radiation images do not include any object of interest. In other words, the first radiation image in the preset data carries first annotation information indicating all objects of interest in the first radiation image, and / or the first radiation image in the preset data may not include any object of interest, in which case the first radiation image only provides background information.

[0127] In operation S410, a second radiation image is acquired at a radiation examination site.

[0128] In an embodiment of the present disclosure, the radiation image recognition model is provided by a developer, and preset data is pre-stored in the radiation inspection system. The preset data may be data in a security package pre-configured by the developer, or may be on-site data confirmed by the user. Then, the radiation image recognition model is deployed in the radiation inspection system. In actual application, the radiation inspection system deployed with the radiation image recognition model is arranged at the radiation inspection site for use by users at the radiation inspection site. For example, the radiation inspection site may be a security inspection site such as an airport or a subway, or may be an inspection site such as a port, a dock, or a vehicle inspection station. The embodiment of the present disclosure does not impose any special restrictions on the radiation inspection site.

[0129] For example, in operation S410, a user using the radiation inspection system operates as follows: Figure 1 The radiation inspection system shown reconstructs the collected projection data to obtain a radiation image, thereby realizing the collection of a second radiation image at the radiation inspection site.

[0130] In an embodiment of the present disclosure, the preset data is data provided by a developer and collected off-site; and the second radiation image is collected on-site.

[0131] For example, the reserved safety package can cover as much as possible the data collected from different sites in the early stage and the specific data produced in the laboratory.

[0132] In an embodiment of the present disclosure, the preset data includes typical samples in radiation inspection, and the typical samples are obtained by genetic screening. Specifically, the typical samples can be obtained by, but not limited to, the following genetic screening method: set the number of typical samples to Q, and for the complete training data set, we randomly extract Q samples from it, extract q times in total, and train q independent models respectively. Then, according to the quantitative index performance of the model on the test data (accuracy, false alarm rate, etc.), we screen out q / 2 models with better performance, and randomly shuffle the corresponding q / 2 groups of data, resample q groups of data (each group is still Q), and perform model training, screening and data resampling again. Repeat this process until the indicators of the trained optimal model are no longer significantly improved or a number of Q typical samples have been screened out.

[0133] In an embodiment of the present disclosure, typical samples of each category are preset in the system. After adding data of the newly added category or false alarm data of the original category, all the data are merged together to train the model, thereby realizing the function of continuous learning, that is, being able to automatically add new detection categories or improve the detection performance of existing categories without reducing the detection effects of other categories.

[0134] In operation S420, the second radiation image is annotated online to form field acquisition data with second annotation information, wherein the second annotation information is incomplete annotation information of the second radiation image, and the second annotation information is used to indicate a part of the object of interest in the second radiation image.

[0135] It should be noted that, in this article, the expression "online" refers to operations performed at the radiation inspection site, which is relative to "non-online" or "offline" operations that require data feedback. For example, "online annotation" refers to annotation performed at the radiation inspection site, that is, annotation performed at the radiation inspection site without the need to return data to the developer; similarly, "online synthesis" refers to synthesis performed at the radiation inspection site, that is, synthesis performed at the radiation inspection site without the need to return data to the developer; "online training" refers to training performed at the radiation inspection site, that is, training performed at the radiation inspection site without the need to return data to the developer.

[0136] It should also be noted that in this article, the expression "incomplete annotation information" means that the annotation information only indicates some of the objects of interest in the annotated image, rather than all the objects of interest in the annotated image. In contrast, the expression "complete annotation information" means that the annotation information indicates all the objects of interest in the annotated image. For example, taking the categories of objects of interest in a radiation image as an example, there can be k categories of objects of interest in a certain radiation image, where k is a positive integer greater than or equal to 1. For example, k can be equal to 5, 8, 10, etc. For example, the k categories can respectively correspond to the categories of prohibited items stipulated at each radiation inspection site. If, when performing annotation, the annotation information completely reflects all the objects of interest in the k categories in the radiation image, then the annotation information can be considered complete annotation information. That is to say, expressions such as "complete annotation" and "complete annotation information" can mean that all objects in all categories in the image are annotated. If, when performing annotation, the annotation information does not completely reflect the objects of interest in the k categories in the radiation image, for example, the annotation information only reflects the objects of interest in p categories in the radiation image (p < k), for example, p can even be equal to 1, or the annotation information does not reflect all the objects in a certain category in the radiation image, then the annotation information can be considered incomplete annotation information. That is to say, expressions such as "incomplete annotation" and "incomplete annotation information" can mean that not all categories in the image are annotated or not all objects in one or some categories in the image are annotated. In some examples, expressions such as "incomplete annotation" and "incomplete annotation information" in this article include only annotating one object in a certain category in the image, that is, it can include extremely incomplete situations.

[0137] In this operation S420, when it is not necessary to transmit back the second radiation image, the second radiation image can be annotated online to form on-site acquisition data.

[0138] In the embodiments of the present disclosure, the preset data is data with complete annotation information, and the on-site acquisition data formed in operation S420 is data with incomplete annotation information. For example, in the preset data, the first annotation information indicates all the objects of interest in all categories in the first radiation image. In the on-site acquisition data formed in operation S420, the second annotation information indicates the objects of interest in some categories in the second radiation image, or the second annotation information is used to indicate some of the objects of interest in some categories in the second radiation image.

[0139] For example, all the objects of interest in the first radiation image include u1 categories, where u1 is a positive integer greater than or equal to 1. In one category ui among the u1 categories, the number of objects of interest in this category is vui. Specifically, in the first radiation image, the number of objects of interest in the first category is v1, the number of objects of interest in the second category is v2, and so on. The number of objects of interest in the u1-th category is vu1. The first annotation information indicates all the objects of interest in all categories in the first radiation image. That is, the first annotation information indicates all the objects of interest in all of the u1 categories, and moreover, the first annotation information indicates all the numbers of objects of interest in each category. Specifically, the first annotation information indicates: v1 objects of interest in the first category, v2 objects of interest in the second category, and so on, vu1 objects of interest in the u1-th category.

[0140] For example, all the objects of interest in the second radiation image include u2 categories. In one category ui among the u2 categories, the number of objects of interest in this category is wi. Specifically, in the second radiation image, the number of objects of interest in the first category is w1, the number of objects of interest in the second category is w2, and so on. The number of objects of interest in the u2-th category is wu2. The second annotation information is used to indicate the objects of interest in some categories in the second radiation image, or the second annotation information is used to indicate some of the objects of interest in some categories in the second radiation image. That is, the second annotation information indicates the objects of interest in some of the u2 categories. For example, the second annotation information is used to indicate the objects of interest in u3 categories in the second radiation image, where u2 is a positive integer greater than or equal to 2, and u3 is a positive integer and 1 ≤ u3 < u2. For another example, the second annotation information can be used to indicate some of the objects of interest in the objects of interest in the ui-th category in the second radiation image. For example, when the second annotation information is used to indicate the objects of interest in the ui-th category in the second radiation image, in the second radiation image, the number of objects of interest in the ui-th category is wui. However, the second annotation information can indicate 1 to wui of the wui objects of interest. For example, the second annotation information can only indicate 1 of the wui objects of interest, or the second annotation information can indicate all wui of the wui objects of interest.

[0141] In an embodiment of the present disclosure, the online annotation of the second radiation image may include: automatically detecting an object of interest of an unknown category in the second radiation image; and issuing a reminder signal, wherein the reminder signal is used to remind the annotation of the object of interest of the unknown category in the second radiation image. In this way, potential unknown objects can be automatically identified, and in most cases the user does not need to manually mark the location of the object, but only needs to give a corresponding label, thereby improving the user-friendliness of the system.

[0142] For example, in the online annotation stage, bounding boxes that do not overlap with labels but have higher scores can be retained in a targeted manner, and their labels can be marked as unknown categories to participate in the subsequent classification process of the model, thereby avoiding being defined as background and suppressed.

[0143] For example, the first annotation information includes at least one first annotation box and at least one first label annotated in the first radiation image, wherein the at least one first annotation box is used to indicate the positions of all objects of interest in the first radiation image, and the at least one first label is used to indicate the categories of all objects of interest in the first radiation image. Figure 5 is a schematic diagram of a radiation image in preset data according to some exemplary embodiments of the present disclosure. Figure 5 The first radiation image includes two categories of objects of interest, namely a tablet computer and a watch. The first annotation information includes a first annotation box 11 and a first label “tablet computer” for annotating the tablet computer, and a first annotation box 12 and a first label “watch” for annotating the watch.

[0144] For example, the second annotation information includes at least one second annotation box and at least one second label annotated in the second radiation image, wherein the at least one second annotation box is used to indicate the position of some objects of interest in the second radiation image, and the at least one second label is used to indicate the category of some objects of interest in the second radiation image. Fig. 6A FIG. 1 is a schematic diagram of a radiation image in field acquisition data according to some exemplary embodiments of the present disclosure. Fig. 6A , the second radiation image includes three categories of objects of interest, namely, a gun, a first knife (such as a kitchen knife) and a second knife (such as a dagger). The second annotation information includes a second annotation box 13 for annotating the second knife (such as a dagger) and a second label "knife". That is, the second annotation information only annotates one object of interest of one category in the second radiation image, which is an incomplete annotation information.

[0145] It should be noted that Figure 5 , Fig. 6A , Figure 6BThe categories of the objects of interest and the annotation boxes shown in the figure are only schematic diagrams for illustrating the embodiments of the present disclosure and should not be construed as limiting the embodiments of the present disclosure. In other embodiments, the image may include objects of interest of other categories and corresponding annotation boxes.

[0146] In operation S430, the preset data and the field collected data are synthesized online to form a training data set.

[0147] In operation S440, the radiation image recognition model is trained online using the training data set.

[0148] Figure 7 is a schematic flow chart of an online synthesis step in a method for online training of a radiation image recognition model according to some exemplary embodiments of the present disclosure. Figure 7 , the operation S430 may include operations S710 to S720.

[0149] In operation S710, an object of interest corresponding to the second annotation information is extracted from the second radiation image.

[0150] In operation S720, the second annotation information and the extracted object of interest are synthesized into the first radiation image included in the preset data to form the training data set.

[0151] In the embodiments of the present disclosure, the incompletely labeled data collected on-site can be directly used to eliminate the negative impact caused by it, which can greatly reduce the labeling burden of users. Specifically, it is possible to use incompletely labeled or extremely incompletely labeled data, that is, each category in the data set does not need to be fully labeled, or only some objects of the category of interest in an image can be labeled to minimize the labeling burden and improve the robustness of the system. In addition, it can be ensured that the data collected on-site does not leave the site, that is, the data collected on-site does not need to be transmitted back, thereby meeting the confidentiality needs of users.

[0152] In the embodiments of the present disclosure, when interacting with the user, the user is not required to provide complete annotation information of the category of the object of interest, that is, the user can even only annotate one example of the category of interest in a certain image sample. This interaction requirement greatly reduces the burden on the user and enhances the robustness of the system.

[0153] Figure 8 is a detailed flowchart of the online synthesis step in the method for online training of a radiation image recognition model according to some exemplary embodiments of the present disclosure. Figure 6B is a schematic diagram of a radiation image in synthetic data according to some exemplary embodiments of the present disclosure. Figure 6B and Figure 8, the operation S720 may include operations S810 to S830.

[0154] In operation S810, the extracted object of interest is inserted into the first radiation image to form a training radiation image. Figure 6B ,Will Fig. 6A Insert the tool marked in Figure 5 In the first radiation image shown, Figure 6B The training radiation image is shown.

[0155] For example, refer to Figure 5 , the first radiation image includes a transparent area and an opaque area.

[0156] The operation S810 may specifically include: selecting an area that meets the insertion requirements from the transparent area of ​​the first radiation image as at least one candidate insertion area; selecting one from the at least one candidate insertion area as the insertion area according to a data synthesis rule; and inserting the extracted object of interest into the insertion area.

[0157] For example, satisfying the insertion requirement includes: the area or volume of the candidate insertion region is greater than or equal to the area or volume of the object of interest to be inserted.

[0158] For example, the data synthesis rule includes: the concealment degree of the candidate insertion area by surrounding objects in the first radiation image meets the specified requirements.

[0159] In this embodiment, for the data insertion operation, the transparent area and the opaque area of ​​the radiation image in the preset data are divided according to the reconstruction value (i.e., attenuation coefficient) and the transparency threshold, and then the part of the transparent area that meets the requirements in area (for two-dimensional images) or volume (for three-dimensional images) is selected as a candidate insertion area, and at the same time, the concealment degree of the insertion area is quantified according to the distance from the position to the visual plane and the number of objects around it, and finally an insertion area that meets the specified concealment degree is determined. In the embodiment of the present disclosure, the data insertion operation starts from the physical meaning of the data, which ensures the rationality and authenticity of the synthesized data. The quantification of the concealment of the insertion area can generate data of different difficulty (i.e., occlusion degree), thereby ensuring the richness of the synthesized data.

[0160] In operation S820, a third annotation box and a third label are generated in the training radiation image, wherein the third annotation box is generated according to the second annotation box, and the third label is the same as the second label and is used to indicate a category of the object of interest enclosed by the third annotation box.

[0161] In operation S830, the training data set is formed according to the training radiation image with the first annotation box, the first label, the third annotation box, and the third label.

[0162] Reference Figure 6B The training radiation image includes three categories of objects of interest, namely, a tablet computer, a watch, and a knife. Among them, the tablet computer and the watch are the objects of interest that come with the first radiation image, and the knife is the object of interest extracted and inserted from the second radiation image. Fig. 6A and Figure 6B , the label of the object of interest "tool" remains unchanged, and is still "tool". The position of the third annotation box 14 of the object of interest "tool" is the same as Fig. 6A The position of the second marking box 13 of "tool" is different. Figure 6B In FIG. 1 , the position of the third annotation box 14 of the object of interest “tool” is determined according to the insertion area.

[0163] In the existing intelligent recognition method of radiation images, data with complete annotation information is required to be used as training data to train the model, which will undoubtedly greatly increase the workload of annotation; if data with incomplete annotation information is used as training data, during the training process, the unlabeled objects of interest in the training data will be mistakenly identified as the background of the radiation image, resulting in a low accuracy of the trained model. In the embodiment of the present disclosure, the incomplete annotation information can be directly used, that is, only the information of the labeled area in the data is used to segment the second radiation image with incomplete annotation information, extract the partially labeled objects of interest, and insert them into the preset data to synthesize training data containing objects of the category of interest. In this way, the problem of incomplete annotation reducing model performance can be solved without having to fully label the objects of interest in the second radiation image.

[0164] In an embodiment of the present disclosure, the inserting the extracted objects of interest into the first radiation image to form a training radiation image may specifically include: performing a data augmentation operation on the extracted objects of interest to form augmented data, wherein the number of the extracted objects of interest is n, and the number of objects of interest included in the augmented data is N, N=m*n, wherein n is a positive integer greater than or equal to 1, and m is a positive integer greater than or equal to 2; and respectively inserting the N objects of interest included in the augmented data into the first radiation image to form multiple training radiation images.

[0165] For example, the data augmentation operation includes at least one of the following operations: flipping, rotating, and value dithering operations.

[0166] That is to say, in the embodiments of the present disclosure, the object of interest extracted by segmentation can be inserted into the preset data in different postures. Under this strategy, only a small amount of annotation is required to generate a large amount of data for online training of the model.

[0167] Fig. 9 is a schematic flow chart of a method for online training of a radiation image recognition model according to some other exemplary embodiments of the present disclosure. Fig. 9 , the method may further include operations S910 to S920.

[0168] In operation S910 , quasi-complete annotation information of the second radiation image is formed according to the incomplete annotation information of the second radiation image.

[0169] It should be noted that in this article, the expression "quasi-complete annotation information" refers to the complete annotation information generated by algorithmic processing of incomplete annotation information. Similar to complete annotation information, quasi-complete annotation information indicates all objects of interest in the annotated image. Complete annotation information is directly annotated, while quasi-complete annotation information is generated by converting incomplete annotation information.

[0170] In operation S920, a second radiation image with quasi-complete annotation information is determined as a part of the training data set.

[0171] Fig.10 yes Fig. 9 Detailed flowchart of operation S910 in FIG. Fig.10 , the operation S910 may further include operations S1010 to S1030.

[0172] In operation S1010, an unlabeled object of interest in the second radiation image is detected.

[0173] In operation S1020, a similarity between the unlabeled object of interest and the object of interest corresponding to the second labeling information is calculated.

[0174] In operation S1030, when the similarity satisfies a similarity threshold requirement, the unlabeled object of interest is labeled using the second labeling information to form quasi-complete labeling information of the second radiation image.

[0175] In an embodiment of the present disclosure, the similarity between an unknown object detected by an algorithm in field data and an object of a new category annotated by a user is calculated. The similarity metric may be selected but is not limited to the Euclidean distance in the feature space. When the distance is less than a certain threshold, the unknown object is determined to belong to a newly added category, thereby generating quasi-complete annotation information of the newly added category for subsequent training.

[0176] Fig.11 is a schematic flow chart of a method for online training of a radiation image recognition model according to some other exemplary embodiments of the present disclosure. Fig.11 The method may further include operations S1110 to S1120. The training data set includes a first training data subset and a second training data subset, the first training data subset and the second training data subset have different data distributions, the first training data subset includes preset data, and the second training data subset includes an unlabeled third radiation image collected at a radiation inspection site.

[0177] In operation S1110, the radiation image recognition model is trained using the first training data subset.

[0178] In operation S1120, the radiation image recognition model trained with the first training data subset is trained using the second training data subset, wherein, in the process of training the radiation image recognition model trained with the first training data subset using the second training data subset, the distance between the first training data subset and the second training data subset is minimized by adjusting the parameters of the feature layer of the radiation image recognition model.

[0179] Since the data collected at different sites are distributed differently, in order to optimize the performance, in the method provided in the embodiments of the present disclosure, a domain migration function can be implemented so that the trained model can achieve the best results at different sites. Specifically, an unsupervised domain adaptation method can be used, and the training set contains some labeled original data and unlabeled on-site data, where the labeled original data is responsible for the detection performance of the training model, and the unlabeled on-site data is responsible for the training model. The two parts of data (original data and on-site data) are treated indiscriminately, and the distance between the two parts of data is minimized at the feature layer, thereby reducing the gap between different on-site data, so that the model trained with the original data can achieve the best detection effect at different sites.

[0180] In unsupervised domain adaptation methods, the source task and the target task are the same, but the data distribution of the source domain and the target domain is different, and the source domain has a large number of labeled samples, while the target domain has no (or very few) labeled samples. It is necessary to transfer the knowledge learned from a large number of labeled samples in the source domain to the target domain to achieve the same task.

[0181] For example, in the embodiments of the present disclosure, a feature-based adaptive method may be used. Specifically, the source domain samples and the target domain samples may be adjusted to the same feature space using a mapping function, and the samples may be aligned in this feature space.

[0182] In the embodiments of the present disclosure, an instance-based adaptive method may also be used. Specifically, in the instance-based adaptive method, considering that there are always some samples in the source domain that are similar to samples in the target domain, the loss function of all samples in the source domain is multiplied by a weight (i.e., the degree of "importance") during training. The more similar the sample is to the target domain, the greater the weight. The model can work better on the target domain through the migration of parameters.

[0183] For example, the following algorithms can be used to measure the distance between the source domain and the target domain data: KL divergence (ie, KLDivergence), H divergence (ie, H-divergence), and bulldozer distance (ie, Wasserstein distance).

[0184] Fig.12 is a schematic flow chart of online training steps of a method for online training of a radiation image recognition model according to some exemplary embodiments of the present disclosure. Fig.12 , the method may further include operations S1210 to S1230.

[0185] In operation S1210, a plurality of candidate models are trained using the training data set.

[0186] In operation S1220, the plurality of candidate models are screened according to a prescribed index.

[0187] In operation S1230, one of the multiple candidate models that meets specified indicators is determined as the radiation image recognition model.

[0188] For example, the multiple candidate models can be selected from various known deep learning-based models, including but not limited to RCNN series models, SSD and YOLO series models. The specified indicators can include known model screening indicators such as model inference time, accuracy, recall rate, and video memory occupancy.

[0189] The embodiments of the present disclosure also provide a radiation image recognition method, which is applied to a radiation inspection system, and the radiation inspection system is arranged at a radiation inspection site. It should be noted that the radiation image recognition method described below corresponds to the training method of the radiation image recognition model described above. In order to make this article more concise, some exemplary descriptions will be omitted in the following description of the radiation image recognition method. For these omitted parts, if there is no conflict, the corresponding parts of the training method of the radiation image recognition model described above can be referred to.

[0190] Fig.13 is a schematic flow chart of a radiation image recognition method according to an exemplary embodiment of the present disclosure.

[0191] like Fig.13 As shown, the radiation image recognition method according to an exemplary embodiment of the present disclosure may include operations S1310 to S1330, and the radiation image recognition method may be executed by a processor or any electronic device including a processor, for example, by the above-mentioned radiation inspection device.

[0192] In operation S1310, a radiation image to be identified is acquired at a radiation inspection site.

[0193] In operation S1320, the radiation image to be recognized is input into a radiation image recognition model, wherein the radiation image recognition model is trained using the method described above.

[0194] In operation S1330, the radiation image to be recognized is recognized using the radiation image recognition model.

[0195] Based on the above-mentioned radiation image recognition model training method, the present disclosure also provides a radiation image recognition model training device. Fig.16 The device is described in detail.

[0196] Fig.14 is a structural block diagram of an apparatus for online training of a radiation image recognition model according to an exemplary embodiment of the present disclosure. Fig.14 The device 1400 includes a collection module 1410, an online annotation module 1420, an online synthesis module 1430, and a training module 1440.

[0197] The acquisition module 1410 is used to acquire the second radiation image at the radiation inspection site. In some exemplary embodiments, the acquisition module 1410 may be used to perform the operation S410 and its sub-operations described above, which will not be described in detail herein.

[0198] The online annotation module 1420 is used to annotate the second radiation image online to form field acquisition data with second annotation information, wherein the second annotation information is incomplete annotation information of the second radiation image, and the second annotation information is used to indicate a part of the object of interest in the second radiation image. In some exemplary embodiments, the online annotation module 1420 can be used to perform the operation S420 and its sub-operations described above, which will not be repeated here.

[0199] The online synthesis module 1430 is used to synthesize the preset data and the field collected data online to form a training data set. In some exemplary embodiments, the online synthesis module 1430 can be used to perform the operation S430 and its sub-operations described above, which will not be described in detail here.

[0200] The training module 1440 is used to train the radiation image recognition model online using the training data set. In some exemplary embodiments, the training module 1440 can be used to perform the operation S440 and its sub-operations described above, which will not be described in detail here.

[0201] In an embodiment of the present disclosure, the online synthesis of the preset data and the on-site collected data to form training data includes: extracting the object of interest corresponding to the second annotation information from the second radiation image; and synthesizing the second annotation information and the extracted object of interest into the first radiation image included in the preset data to form the training data set.

[0202] Fig.15 is a structural block diagram of a radiation image recognition device according to an exemplary embodiment of the present disclosure. Fig.15 As shown, the radiation image recognition device 1500 includes a collection module 1510 , an input module 1520 , and a recognition module 1530 .

[0203] The acquisition module 1510 is used to acquire radiation images to be identified at the radiation inspection site. In some exemplary embodiments, the acquisition module 1510 may be used to perform the operation S1310 and its sub-operations described above, which will not be described in detail here.

[0204] The input module 1520 is used to input the radiation image to be identified into the radiation image recognition model, wherein the radiation image recognition model is trained by the method described above. In some exemplary embodiments, the input module 1520 can be used to perform the operation S1320 and its sub-operations described above, which will not be repeated here.

[0205] The recognition module 1530 is used to recognize the radiation image to be recognized by using the radiation image recognition model. In some exemplary embodiments, the recognition module 1530 can be used to perform the operation S1330 and its sub-operations described above, which will not be described in detail here.

[0206] According to an embodiment of the present disclosure, any multiple modules of the acquisition module 1410, the online annotation module 1420, the online synthesis module 1430 and the training module 1440 included in the device 1400 and the acquisition module 1510, the input module 1520 and the recognition module 1530 included in the radiation image recognition device 1500 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, the acquisition module 1410, the online annotation module 1420, the online synthesis module 1430 and the training module 1440 included in the device 1400 and at least one of the acquisition module 1510, the input module 1520 and the recognition module 1530 included in the radiation image recognition device 1500 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging circuits, or can be implemented in any one of the three implementation methods of software, hardware and firmware or in an appropriate combination of any of them. Alternatively, the acquisition module 1410, online labeling module 1420, online synthesis module 1430 and training module 1440 included in the device 1400 and at least one of the acquisition module 1510, input module 1520 and recognition module 1530 included in the radiation image recognition device 1500 can be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function can be executed.

[0207] Fig.16 The structure block diagram of an electronic device suitable for implementing a method for online training a radiation image recognition model or a radiation image recognition method according to an exemplary embodiment of the present disclosure is schematically shown.

[0208] like Fig.16 As shown, the electronic device 1600 according to an embodiment of the present disclosure includes a processor 1601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1602 or a program loaded from a storage part 1608 into a random access memory (RAM) 1603. The processor 1601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1601 may also include an onboard memory for caching purposes. The processor 1601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0209] For example, the electronic device may be a passive terahertz imaging device.

[0210] In RAM 1603, various programs and data required for the operation of electronic device 1600 are stored. Processor 1601, ROM 1602 and RAM 1603 are connected to each other via bus 1604. Processor 1601 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1602 and / or RAM 1603. It should be noted that the program can also be stored in one or more memories other than ROM 1602 and RAM 1603. Processor 1601 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0211] According to an embodiment of the present disclosure, the electronic device 1600 may further include an input / output (I / O) interface 1605, which is also connected to the bus 1604. The electronic device 1600 may further include one or more of the following components connected to the I / O interface 1605: an input portion 1606 including a keyboard, a mouse, etc.; an output portion 1607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1608 including a hard disk, etc.; and a communication portion 1609 including a network interface card such as a LAN card, a modem, etc. The communication portion 1609 performs communication processing via a network such as the Internet. A drive 1610 is also connected to the I / O interface 1605 as needed. A removable medium 1611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1610 as needed, so that a computer program read therefrom is installed into the storage portion 1608 as needed.

[0212] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0213] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact magnetic read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 1602 and / or RAM 1603 described above and / or one or more memories other than ROM 1602 and RAM 1603.

[0214] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method provided by the embodiment of the present disclosure.

[0215] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 1601. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0216] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 1609, and / or installed from the removable medium 1611. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0217] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1609, and / or installed from the removable medium 1611. When the computer program is executed by the processor 1601, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.

[0218] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0219] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0220] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0221] The embodiments of the present disclosure are described above. However, these embodiments are only for the purpose of illustration and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A method for online training of a radiation image recognition model, wherein the radiation image recognition model is applied to a radiation inspection system, wherein the radiation inspection system is arranged at a radiation inspection site, wherein preset data is pre-stored in the radiation inspection system, wherein the preset data includes a first radiation image, wherein: The method comprises: Acquiring a second radiation image at the radiation inspection site; Annotating the second radiation image online to form on-site acquisition data with second annotation information, wherein the second annotation information is incomplete annotation information of the second radiation image, and the second annotation information is used to indicate a part of the object of interest in the second radiation image; Online synthesizing the preset data and the field collected data to form a training data set; and The radiation image recognition model is trained online using the training data set.

2. The method according to claim 1, wherein: The acquiring of the second radiation image at the radiation inspection site includes: utilizing the radiation inspection system to reconstruct the acquired projection data to obtain the second radiation image.

3. The method according to claim 2, wherein: The first radiation image in the preset data includes at least one of the following situations: The first radiation image in the preset data carries first annotation information, where the first annotation information is used to indicate all objects of interest in the first radiation image; The first radiation image in the preset data does not include any object of interest; The preset data includes multiple first radiation images, some of which carry first annotation information, where the first annotation information is used to indicate all objects of interest in the first radiation images, and some of which do not include any objects of interest.

4. The method according to any one of claims 1 to 3, wherein: The online synthesis of the preset data and the field collected data to form training data comprises: extracting the object of interest corresponding to the second annotation information from the second radiation image; and The second annotation information and the extracted object of interest are synthesized into the first radiation image included in the preset data to form the training data set.

5. The method according to claim 3, wherein: The first annotation information is used to indicate all objects of interest of all categories in the first radiation image; The second annotation information is used to indicate objects of interest of some categories in the second radiation image, or the second annotation information is used to indicate some objects of interest of some categories in the second radiation image.

6. The method according to claim 3 or 5, wherein: The first annotation information includes at least one first annotation box and at least one first label annotated in the first radiation image, wherein the at least one first annotation box is used to indicate the positions of all objects of interest in the first radiation image, and the at least one first label is used to indicate the categories of all objects of interest in the first radiation image.

7. The method according to claim 6, wherein: The second annotation information includes at least one second annotation box and at least one second label annotated in the second radiation image, wherein the at least one second annotation box is used to indicate the position of some objects of interest in the second radiation image, and the at least one second label is used to indicate the category of some objects of interest in the second radiation image.

8. The method according to claim 7, wherein: The step of synthesizing the second annotation information and the extracted object of interest into the first radiation image included in the preset data to form the training data set specifically includes: inserting the extracted object of interest into the first radiation image to form a training radiation image; generating a third annotation box and a third label in the training radiation image, wherein the third annotation box is generated according to the second annotation box, and the third label is the same as the second label and is used to indicate the category of the object of interest enclosed by the third annotation box; and The training data set is formed according to the training radiation image with the first annotation box, the first label, the third annotation box and the third label.

9. The method according to claim 8, wherein: The first radiation image includes a transparent area and an opaque area, The step of inserting the extracted object of interest into the first radiation image to form a training radiation image specifically includes: Selecting an area that meets the insertion requirement from the transparent area of ​​the first radiation image as at least one candidate insertion area; According to the data synthesis rule, one of the at least one candidate insertion regions is selected as the insertion region; and The extracted object of interest is inserted into the insertion area.

10. The method according to claim 9, wherein: The satisfying the insertion requirement includes: the area or volume of the candidate insertion region is greater than or equal to the area or volume of the object of interest to be inserted.

11. The method according to claim 9, wherein: The data synthesis rule includes: the concealment degree of the candidate insertion area by surrounding objects in the first radiation image meets the specified requirements.

12. The method according to any one of claims 1 to 3, 5 and 7 to 11, wherein: The method further comprises: forming quasi-complete annotation information of the second radiation image according to the incomplete annotation information of the second radiation image; and A second radiation image with quasi-complete annotation information is determined as a part of the training data set.

13. The method according to claim 12, wherein: The forming the quasi-complete annotation information of the second radiation image according to the incomplete annotation information of the second radiation image specifically includes: detecting an unlabeled object of interest in the second radiation image; Calculating the similarity between the unlabeled object of interest and the object of interest corresponding to the second labeling information; and When the similarity meets the similarity threshold requirement, the unlabeled object of interest is labeled using the second labeling information to form quasi-complete labeling information of the second radiation image.

14. The method according to any one of claims 9 to 11, wherein: The step of inserting the extracted object of interest into the first radiation image to form a training radiation image specifically includes: Performing a data augmentation operation on the extracted objects of interest to form augmented data, wherein the number of the extracted objects of interest is n, and the number of objects of interest included in the augmented data is N, N=m*n, wherein n is a positive integer greater than or equal to 1, and m is a positive integer greater than or equal to 2; and The N objects of interest included in the augmented data are respectively inserted into the first radiation image to form a plurality of training radiation images.

15. The method according to claim 14, wherein: The data augmentation operation includes at least one of the following operations: flipping, rotating, and value dithering operations.

16. The method according to any one of claims 1-3, 5, 7-11, 13 and 15, wherein The training data set includes a first training data subset and a second training data subset, the first training data subset and the second training data subset have different data distributions, the first training data subset includes preset data, and the second training data subset includes an unlabeled third radiation image collected at a radiation inspection site, The method further comprises: training the radiation image recognition model using the first training data subset; and Using the second training data subset to train the radiation image recognition model trained by the first training data subset, In the process of using the second training data subset to train the radiation image recognition model trained by the first training data subset, the distance between the first training data subset and the second training data subset is minimized by adjusting the parameters of the feature layer of the radiation image recognition model.

17. The method according to any one of claims 1-3, 5, 7-11, 13 and 15, wherein: The preset data include typical samples in radiation inspection, and the typical samples are obtained by screening through a genetic method.

18. The method according to any one of claims 1-3, 5, 7-11, 13 and 15, wherein: The online annotation of the second radiation image comprises: automatically detecting an object of interest of unknown class in the second radiation image; and A reminder signal is issued, where the reminder signal is used to remind the user to mark the object of interest of unknown category in the second radiation image.

19. The method according to any one of claims 1-3, 5, 7-11, 13 and 15, wherein: The online training of the radiation image recognition model using the training data set comprises: Using the training data set to train multiple candidate models; Filter the plurality of candidate models according to specified indicators; and One of the multiple candidate models that meets the specified indicators is determined as the radiation image recognition model.

20. A radiation image recognition method, the radiation image recognition method is applied to a radiation inspection system, the radiation inspection system is arranged at a radiation inspection site, characterized in that: The method comprises: Collect radiation images to be identified at the radiation inspection site; Inputting the radiation image to be identified into a radiation image recognition model, wherein the radiation image recognition model is trained according to the method according to any one of claims 1 to 19; and The radiation image to be identified is identified using the radiation image identification model.

21. A device for online training of a radiation image recognition model, wherein the radiation image recognition model is applied to a radiation inspection system, wherein the radiation inspection system is arranged at a radiation inspection site, wherein preset data is pre-stored in the radiation inspection system, wherein the preset data includes a first radiation image, wherein: The device comprises: An acquisition module, used for acquiring a second radiation image at a radiation inspection site; An online annotation module, used for annotating the second radiation image online to form field acquisition data with second annotation information, wherein the second annotation information is incomplete annotation information of the second radiation image, and the second annotation information is used to indicate a part of the object of interest in the second radiation image; An online synthesis module, used for online synthesis of the preset data and the field collected data to form a training data set; and A training module is used to train the radiation image recognition model online using the training data set.

22. A radiation image recognition device, the radiation image recognition device is applied to a radiation inspection system, the radiation inspection system is arranged at a radiation inspection site, characterized in that: The device comprises: An acquisition module is used to acquire radiation images to be identified at the radiation inspection site; an input module, used for inputting the radiation image to be identified into a radiation image recognition model, wherein the radiation image recognition model is trained according to the method according to any one of claims 1 to 19; and The recognition module is used to recognize the radiation image to be recognized by using the radiation image recognition model.

23. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to execute the method according to any one of claims 1 to 19.

24. The electronic device according to claim 23, wherein: The electronic equipment is a radiation inspection device.

25. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to perform the method according to any one of claims 1 to 19.

26. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 19 is implemented.

Citation Information

Cited By

  • Security check whole-line intelligent identification system and method

    CN119832482A