A method, device and control equipment for displaying security inspection images
By stopping the acquisition and closing of the radiation source after the acquisition of the object to be inspected, and using the pre-acquisitioned blank X-ray imaging data for image processing, the problems of flickering and visual fatigue on the display screen of the security inspection equipment are solved, and the effect of reducing flickering and visual fatigue is achieved.
Patent Information
- Application Number
- CN202510314796.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-03-17
AI Technical Summary
When the security inspection equipment scans the items to be inspected, the flickering of the display screen and the operator's visual fatigue problems are serious, especially when collecting blank X-ray imaging data.
After the item to be inspected is collected, the control device sends a stop acquisition instruction to the security inspection device, stops the collection of the item X-ray imaging data, and closes the radiation source; the blank X-ray imaging data acquired in advance is used as the end mark data, and is used for image processing rather than display, and the security inspection image is displayed based on the item X-ray imaging data.
It reduces the flickering of the display and the operator's visual fatigue, while ensuring normal edge processing of security images, and avoiding the appearance of blank X-ray imaging data in the display.
Smart Images

Figure CN119846731B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of security inspection imaging technology, and particularly to a method, device, and control device for displaying security inspection images. Background Art
[0002] Security inspection equipment can inspect the interior of an item to be inspected and has a wide range of applications. For example, subway stations, high-speed railway stations, and airports. The security inspection equipment collects the scanned data of the item to be inspected and generates a security inspection image in real time. Since the scanned data is generated when the security inspection equipment scans the item to be inspected column by column during the horizontal movement of the item to be inspected, the security inspection image displayed on the display screen also moves horizontally. In this way, the display screen is prone to flickering, causing visual fatigue for the operator.
[0003] On this basis, in order to meet the requirements of imaging edge processing, after the scanning of the item to be inspected is completed, an additional blank X-ray imaging data needs to be collected to achieve smooth processing, but the blank X-ray imaging data will further exacerbate the problems of flickering and visual fatigue. Summary of the Invention
[0004] The purpose of the embodiments of the present application is to provide a method, device, and control device for displaying security inspection images to reduce the flickering of the display screen and the visual fatigue of the operator. The specific technical solutions are as follows:
[0005] In a first aspect, the embodiments of the present application provide a method for displaying a security inspection image, which is applied to a control device in an image display system. The image display system further includes a security inspection device. The method includes:
[0006] During the process of the item to be inspected passing through the channel of the security inspection device, obtain the item X-ray imaging data collected by the security inspection device for the item to be inspected;
[0007] When the item to be inspected is completely collected, send a stop collection instruction to the security inspection device to cause the security inspection device to stop collecting the item X-ray imaging data of the item to be inspected, and turn off the radiation source after stopping collecting the item X-ray imaging data of the item to be inspected;
[0008] Use the pre-obtained blank X-ray imaging data as the end mark data of the item to be inspected, and display the security inspection image of the item to be inspected based on the item X-ray imaging data of the item to be inspected.
[0009] Optionally, the item X-ray imaging data collected by the security inspection device is stored in a cache. When the item X-ray imaging data is stored in the cache, the previous item X-ray imaging data stored in the cache is pushed out for displaying the security inspection image;
[0010] The step of using the pre-acquired blank X-ray imaging data as the end marker data of the item to be inspected and displaying the security inspection image of the item to be inspected based on the item X-ray imaging data of the item to be inspected includes:
[0011] When the item to be inspected is completely collected, store the pre-acquired blank X-ray imaging data in the cache, so as to push out the last item X-ray imaging data of the item to be inspected from the cache for security inspection image display;
[0012] Use the pre-acquired blank X-ray imaging data as the end marker data of the item to be inspected, and display the security inspection image of the item to be inspected based on the item X-ray imaging data pushed out from the cache.
[0013] Optionally, the blank X-ray imaging data carries an end identifier;
[0014] The step of using the pre-acquired blank X-ray imaging data as the end marker data of the item to be inspected and displaying the security inspection image of the item to be inspected based on the item X-ray imaging data pushed out from the cache includes:
[0015] When the end identifier is between two item X-ray imaging data, determine that the item to be inspected to which the item X-ray imaging data before the end identifier belongs is completely collected, and display the security inspection image of the item to be inspected based on the item X-ray imaging data before the end identifier;
[0016] When the end identifier is at the end of all item X-ray imaging data, display the security inspection image of the item to be inspected based on all item X-ray imaging data.
[0017] Optionally, when the end identifier is between two item X-ray imaging data, the method further includes:
[0018] Discard the blank X-ray imaging data carrying the end identifier;
[0019] Continue to acquire the item X-ray imaging data collected by the security inspection device until the end identifier is detected, and display the security inspection image of the item to be inspected based on the item X-ray imaging data after the discarded blank data and the continuously acquired item X-ray imaging data.
[0020] Optionally, the security inspection device includes a conveyor belt, a starting light barrier, a radiation source, and a detector, and the item to be inspected moves along with the conveyor belt and passes through the starting light barrier and the collimation slit corresponding to the radiation source in sequence;
[0021] The step of obtaining the X-ray imaging data of the item collected by the security inspection device for the item being inspected during the process of the item being inspected passing through the channel of the security inspection device includes:
[0022] When the starting light barrier is triggered, start timing and record the time required for the item being inspected to pass through the starting light barrier as the first time period.
[0023] Obtain in real time the X-ray imaging data of the item collected by the detector for the item being inspected.
[0024] When the timing duration reaches the stop duration, control the detector to close to stop collecting the X-ray imaging data of the item, and after the detector is closed, control the radiation source to close, where the stop duration is the sum of the first time period and the second time period, and the second time period is calculated based on the speed of the conveyor belt and the distance between the starting light barrier and the collimation slit.
[0025] Optionally, when the starting light barrier is triggered, the method further includes:
[0026] Turn on the radiation source.
[0027] When the timing duration reaches the turn-on duration, turn on the detector, where the turn-on duration is greater than the time required for the radiation source to reach energy stability and the turn-on duration is not greater than the second time period.
[0028] Optionally, the security inspection device includes a conveyor belt, a starting light barrier, an ending light barrier, a radiation source, and a detector. The item being inspected moves along with the conveyor belt and passes through the starting light barrier and the ending light barrier in sequence. The distance between the ending light barrier and the starting light barrier is not less than the distance between the collimation slit corresponding to the radiation source and the starting light barrier, and the distance between the ending light barrier and the collimation slit is less than a preset distance.
[0029] The step of obtaining the X-ray imaging data of the item collected by the security inspection device for the item being inspected during the process of the item being inspected passing through the channel of the security inspection device includes:
[0030] When the starting light barrier is triggered, obtain in real time the X-ray imaging data of the item collected by the detector for the item being inspected.
[0031] When the ending light barrier stops being triggered, control the detector to close to stop collecting the X-ray imaging data of the item, and after the detector is closed, control the radiation source to close.
[0032] Optionally, the blank X-ray imaging data is not used for displaying the security inspection image of the item being inspected.
[0033] In a second aspect, an embodiment of the present application provides a display device for security inspection images, which is applied to a control device in an image display system. The image display system further includes a security inspection device. The device includes:
[0034] A data acquisition module, configured to acquire item X-ray imaging data of the inspected item collected by the security inspection device during the process that the inspected item passes through the channel of the security inspection device;
[0035] An instruction sending module, configured to send a stop acquisition instruction to the security inspection device when the acquisition of the inspected item is completed, so that the security inspection device stops acquiring the item X-ray imaging data of the inspected item and turns off the radiation source after stopping the acquisition of the item X-ray imaging data of the inspected item;
[0036] An image display module, configured to use pre-acquired blank X-ray imaging data as end mark data of the inspected item, and display a security inspection image of the inspected item based on the item X-ray imaging data of the inspected item.
[0037] In a third aspect, an embodiment of the present application provides a control device, including:
[0038] A memory, configured to store a computer program;
[0039] A processor, configured to implement the method according to any one of the first aspects when executing the program stored on the memory.
[0040] Beneficial effects of the embodiments of the present application:
[0041] In the solution provided by the embodiments of the present application, during the process of the item to be inspected passing through the channel of the security inspection device, the control device can obtain the item X-ray imaging data collected by the security inspection device for the item to be inspected; when the collection of the item to be inspected is completed, the control device sends a stop collection instruction to the security inspection device to make the security inspection device stop collecting the item X-ray imaging data of the item to be inspected, and turn off the radiation source after stopping the collection of the item X-ray imaging data of the item to be inspected; the pre-obtained blank X-ray imaging data is used as the end mark data of the item to be inspected, and based on the item X-ray imaging data of the item to be inspected, the security inspection image of the item to be inspected is displayed. On the one hand, in order to reduce the flicker of the display screen and the visual fatigue of the operator, after the collection of the item to be inspected is completed, the control device controls the security inspection device to stop collecting. In this way, the end of the item X-ray imaging data does not include blank X-ray imaging data. Furthermore, the end of the item to be inspected in the security inspection image also does not include a blank part, which can reduce the flicker of the display screen and the visual fatigue of the operator. On the other hand, during the processing of the security inspection image, edge processing needs to be performed on the item X-ray imaging data based on the blank X-ray imaging data. In the current related technologies, blank X-ray imaging data is collected when collecting the item X-ray imaging data. Therefore, the blank X-ray imaging data will be displayed as a part of the item X-ray imaging data. In the manner provided by the embodiments of the present application, the pre-obtained blank X-ray imaging data is used as the end mark data of the item to be inspected. Since the blank X-ray imaging data is pre-obtained rather than collected together when collecting the item X-ray imaging data, during the processing of the security inspection image, edge processing can be directly performed based on the pre-obtained blank X-ray imaging data. In this way, the blank X-ray imaging data is only used for the image processing algorithm and will not be displayed. Therefore, in the manner provided by the embodiments of the present application, it is possible to reduce the flicker of the display screen and the visual fatigue of the operator on the premise of ensuring normal edge processing of the item X-ray imaging data. Of course, it is not necessary for any product or method implementing the present application to achieve all the above-mentioned advantages simultaneously. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present application, and those of ordinary skill in the art can also obtain other embodiments based on these drawings.
[0043] Figure 1 It is a flowchart of a method for displaying a security inspection image provided by an embodiment of the present application;
[0044] Figure 2 For Figure 1 a schematic diagram of a security inspection device based on the embodiment shown;
[0045] Figure 3 for Figure 1 A specific flow chart of step S103 in the embodiment shown;
[0046] Figure 4 Based on Figure 1 A flow chart of a method for processing X-ray imaging data of an object in the illustrated embodiment;
[0047] Figure 5 for Figure 1 A specific flow chart of step S101 in the embodiment shown;
[0048] Figure 6 Based on Figure 1 A flow chart of the detector activation method of the illustrated embodiment;
[0049] Figure 7 Based on Figure 1 A flow chart of the security inspection image display method of the illustrated embodiment;
[0050] Figure 8 for Figure 1 Another specific flow chart of step S101 in the embodiment shown;
[0051] Figure 9 A schematic structural diagram of a display device for security inspection images provided in an embodiment of the present application;
[0052] Figure 10 A schematic diagram of the structure of a control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field based on this application are within the scope of protection of this application.
[0054] To reduce display screen flicker and operator visual fatigue, embodiments of the present application provide a method, apparatus, control device, computer-readable storage medium, and computer program product for displaying security inspection images. The following first introduces a method for displaying security inspection images provided by embodiments of the present application.
[0055] like Figure 1 As shown, a method for displaying a security inspection image is applied to a control device in an image display system, wherein the image display system also includes a security inspection device. The method includes:
[0056] S101. During the process of the item to be inspected passing through the channel of the security inspection device, obtain the item X-ray imaging data collected by the security inspection device for the item to be inspected;
[0057] S102. When the collection of the item to be inspected is completed, send a stop collection instruction to the security inspection device, so that the security inspection device stops collecting the item X-ray imaging data of the item to be inspected, and closes the radiation source after stopping collecting the item X-ray imaging data of the item to be inspected;
[0058] S103. Use the pre-obtained blank X-ray imaging data as the end mark data of the item to be inspected, and display the security inspection image of the item to be inspected based on the item X-ray imaging data of the item to be inspected.
[0059] It can be seen that in the embodiment of the present application, during the process of the item to be inspected passing through the channel of the security inspection device, the control device can obtain the item X-ray imaging data collected by the security inspection device for the item to be inspected; when the collection of the item to be inspected is completed, send a stop collection instruction to the security inspection device, so that the security inspection device stops collecting the item X-ray imaging data of the item to be inspected, and closes the radiation source after stopping collecting the item X-ray imaging data of the item to be inspected; use the pre-obtained blank X-ray imaging data as the end mark data of the item to be inspected, and display the security inspection image of the item to be inspected based on the item X-ray imaging data of the item to be inspected. On the one hand, in order to reduce the flicker of the display screen and the visual fatigue of the operator, after the collection of the item to be inspected is completed, the control device controls the security inspection device to stop collecting. In this way, the end of the item X-ray imaging data does not include blank X-ray imaging data. Furthermore, the end of the item to be inspected in the security inspection image also does not include a blank part, which can reduce the flicker of the display screen and the visual fatigue of the operator. On the other hand, during the processing of the security inspection image, it is necessary to perform edge processing on the item X-ray imaging data based on the blank X-ray imaging data. In the current related technologies, blank X-ray imaging data is collected when collecting item X-ray imaging data. Therefore, the blank X-ray imaging data will be displayed as a part of the item X-ray imaging data. In the method provided by the embodiment of the present application, the pre-obtained blank X-ray imaging data is used as the end mark data of the item to be inspected. Since the blank X-ray imaging data is pre-obtained rather than collected together when collecting the item X-ray imaging data, during the processing of the security inspection image, edge processing can be directly performed based on the pre-obtained blank X-ray imaging data. In this way, the blank X-ray imaging data is only used for the image processing algorithm and will not be displayed. Therefore, in the method provided by the embodiment of the present application, it is possible to reduce the flicker of the display screen and the visual fatigue of the operator on the premise of ensuring normal edge processing of the item X-ray imaging data.
[0060] First, in combination with Figure 2Introduce the security inspection equipment. Place the item to be inspected 201 on the conveyor belt 202. The item to be inspected 201 will move along with the conveyor belt and enter the security inspection equipment channel, which has an entrance 203 and an exit 204. Figure 2 The arrow direction marked in Figure 2 is the moving direction of the conveyor belt.
[0061] During the process of the item to be inspected 201 passing through the security inspection equipment channel, the radiation source 205 can emit radiation. The radiation passes through the item to be inspected 201 and is received by the detector 206. The detector 206 can then obtain multiple item X-ray imaging data of the item to be inspected 201, and each item X-ray imaging data is in the form of a strip. Near the detector 206, there are a main collimating slit 207 and a side collimating slit 208. Among them, the main collimating slit 207 is used to control the main beam direction and range of the radiation, and the side collimating slit 208 is used to shield scattered radiation and reduce interference. The collimating slits mentioned in this application specifically refer to the main collimating slit 207, rather than the side collimating slit 208.
[0062] The following will introduce steps S101 - S103:
[0063] During the process of the item to be inspected passing through the security inspection equipment channel, the security inspection equipment can collect the item X-ray imaging data of the security inspection equipment, and the control device can obtain the item X-ray imaging data collected by the security inspection equipment, that is, execute step S101. Among them, the item X-ray imaging data is the high-low energy raw data of the item to be inspected collected by the detector when the radiation source is turned on. The control device can integrate multiple functional modules such as a microprocessor, an analog IP (Intellectual Property) core, a digital IP core, and a memory.
[0064] During the period from when the radiation source is turned off to when it reaches a stable state, the radiation dose fluctuates and decreases. The rising-edge data and falling-edge data collected by the detector during this period will cause dirty images to appear. In the current related technologies, in order to avoid the appearance of dirty images, a longer open-source time is reserved, that is, even after the item to be inspected is collected, a blank X-ray imaging data will be collected for a period of time before the radiation source is turned off. However, the extra blank X-ray imaging data collected will exacerbate the problems of scintillation and visual fatigue.
[0065] In the solution provided by the embodiment of this application, when the item to be inspected is collected, the control device can send a stop collection instruction to the security inspection equipment, that is, execute step S102. When the security inspection equipment receives the stop collection instruction, it will stop collecting the item X-ray imaging data of the item to be inspected, and after stopping collecting the item X-ray imaging data of the item to be inspected, it will turn off the radiation source.
[0066] During the above process, since the security inspection device will stop collecting the X-ray imaging data of the item when the inspection item is completely collected, the end of the X-ray imaging data of the item does not include blank X-ray imaging data. Also, since the collection of the X-ray imaging data of the item is stopped first and then the radiation source is turned off, the X-ray imaging data of the item will not be affected by the energy fluctuation associated with the turning off of the radiation source.
[0067] Next, the control device can use the pre-acquired blank X-ray imaging data as the end marker data of the inspected item. That is to say, the blank X-ray imaging data is used for edge processing of the X-ray imaging data of the item, rather than for displaying the security inspection image of the inspected item. Furthermore, the control device can display the security inspection image of the inspected item based on the X-ray imaging data of the inspected item, that is, perform step S103.
[0068] In one embodiment, the control device can perform image processing on the X-ray imaging data of the inspected item and the pre-acquired blank X-ray imaging data through an image processing algorithm (X-ray Signal Processing, XSP) to obtain the security inspection image corresponding to the inspected item and display the security inspection image. Specifically, the blank X-ray imaging data can be used as the algorithm full-load template data for subsequent normalization processing. Also, based on the blank X-ray imaging data, edge processing can be performed on the X-ray imaging data of the item. In this way, the control device can obtain the security inspection image corresponding to the inspected item and display the security inspection image.
[0069] Among them, the above image processing algorithm can be integrated inside the control device, so that the control device can call the internal image processing algorithm for image processing. The above image processing algorithm can also be implemented by other devices outside the control device, so that the control device can trigger other devices to perform image processing, which is all reasonable.
[0070] The above blank X-ray imaging data is full-load data, that is, the data of the blank strip collected when there is no item on the conveyor belt of the security inspection device and the radiation source is turned on. The blank X-ray imaging data is pre-acquired, rather than collected together with the inspected item. As one embodiment, before the security inspection device normally inspects a package, there is no item on the conveyor belt of the security inspection device. In this case, the radiation source can be turned on to collect a section of data as the blank X-ray imaging data.
[0071] It can be seen that in the embodiments of the present application, on the one hand, in order to reduce the flicker of the display screen and the visual fatigue of the operator, after the item to be inspected is collected, the control device controls the security inspection device to stop collecting. In this way, the end of the X-ray imaging data of the item can be made not to include blank X-ray imaging data. Furthermore, the end of the item to be inspected in the security inspection image also does not include a blank part, which can reduce the flicker of the display screen and the visual fatigue of the operator. On the other hand, in the process of processing the security inspection image, edge processing needs to be performed on the X-ray imaging data of the item based on the blank X-ray imaging data. In the current related technologies, the blank X-ray imaging data is collected when collecting the X-ray imaging data of the item. Therefore, the blank X-ray imaging data will be displayed as a part of the X-ray imaging data of the item. However, in the method provided by the embodiments of the present application, the pre-obtained blank X-ray imaging data is used as the end flag data of the item to be inspected. Since the blank X-ray imaging data is pre-obtained instead of being collected together with the X-ray imaging data of the item, in the process of processing the security inspection image, edge processing can be directly performed based on the pre-obtained blank X-ray imaging data. In this way, the blank X-ray imaging data is only used for the image processing algorithm and will not be displayed. Therefore, in the method provided by the embodiments of the present application, it is possible to reduce the flicker of the display screen and the visual fatigue of the operator on the premise of ensuring normal edge processing of the X-ray imaging data of the item.
[0072] As an implementation manner provided by the embodiments of the present application, the X-ray imaging data of the item collected by the above security inspection device can be stored in a cache. When the X-ray imaging data of the item is stored in the cache, the previous X-ray imaging data stored in the cache can be pushed out for security inspection image display.
[0073] In this case, as Figure 3 shown, the steps of using the pre-obtained blank X-ray imaging data as the end flag data of the item to be inspected and displaying the security inspection image of the item to be inspected based on the X-ray imaging data of the item to be inspected may include:
[0074] S301, when the item to be inspected is collected, store the pre-obtained blank X-ray imaging data in the cache to push out the last X-ray imaging data of the item to be inspected from the cache for security inspection image display;
[0075] First, an introduction to the cache mechanism is given. The cache can only store one piece of data. If a certain piece of data is stored in the cache, then the previous piece of data stored in the cache will be pushed out for security inspection image display, that is, it will be pushed to the image processing algorithm. For example, assume that the current data stored in the cache is X-ray imaging data 1. At this time, if X-ray imaging data 2 is stored in the cache, then X-ray imaging data 1 will be pushed out for security inspection image display, and the current data stored in the cache is X-ray imaging data 2.
[0076] During the process of the item to be inspected passing through the security inspection equipment channel, the security inspection equipment will collect multiple X-ray imaging data of the items. Each time the security inspection equipment collects an X-ray imaging data of an item, it will store the X-ray imaging data of the item in the buffer. Correspondingly, the X-ray imaging data of the item will push out the previous X-ray imaging data stored in the buffer for security inspection image display.
[0077] When the item to be inspected has been completely collected, the security inspection equipment collects the last X-ray imaging data of the item and stores the last X-ray imaging data of the item in the buffer. At this time, the last X-ray imaging data of the item will push the penultimate X-ray imaging data of the item to the image processing algorithm. Since the solution of the present application is adopted, when the item to be inspected has been completely collected, no redundant blank X-ray imaging data will be collected. Therefore, the last X-ray imaging data of the item will be stored in the buffer and cannot be pushed to the image imaging algorithm.
[0078] In this case, the control device can store the pre-acquired blank X-ray imaging data in the buffer, that is, execute step S301. In this way, the last X-ray imaging data of the item to be inspected can be pushed out of the buffer for security inspection image display.
[0079] S302, use the pre-acquired blank X-ray imaging data as the end flag data of the item to be inspected, and display the security inspection image of the item to be inspected based on the X-ray imaging data of the item pushed out from the buffer.
[0080] Next, the control device can use the pre-acquired blank X-ray imaging data as the end flag data of the item to be inspected, and display the security inspection image of the item to be inspected based on the X-ray imaging data of the item pushed out from the buffer. Specifically, the control device can perform image processing through the image processing algorithm based on the X-ray imaging data of the item received by the image processing algorithm and the pre-acquired blank X-ray imaging data to obtain the security inspection image corresponding to the item to be inspected, and display the security inspection image.
[0081] It can be seen that in the embodiment of the present application, when the inspection target is completely collected, the control device can store the pre-acquired blank X-ray imaging data in the buffer, so as to push out the last item X-ray imaging data of the inspection target from the buffer for security inspection image display; use the pre-acquired blank X-ray imaging data as the end flag data of the inspection target, and display the security inspection image of the inspection target based on the item X-ray imaging data pushed out from the buffer. Since the blank X-ray imaging data is not included at the end of the item X-ray imaging data, the last item X-ray imaging data of the inspection target cannot be pushed out for security inspection image display. To solve the above problem, in the embodiment of the present application, when the inspection target is completely collected, the pre-acquired blank X-ray imaging data is actively stored in the buffer, so as to push out the last item X-ray imaging data of the inspection target for security inspection image display. In this way, it is possible to ensure the complete display of the inspection target on the premise of avoiding blank parts at the end of the security inspection image.
[0082] As an implementation manner of the embodiment of the present application, the above blank X-ray imaging data may carry an end identifier. In this case, the step of using the pre-acquired blank X-ray imaging data as the end flag data of the inspection target and displaying the security inspection image of the inspection target based on the item X-ray imaging data pushed out from the buffer may include:
[0083] When the end identifier is between two item X-ray imaging data, determine that the collection of the inspection target to which the item X-ray imaging data before the end identifier belongs is completed, and display the security inspection image of the inspection target based on the item X-ray imaging data before the end identifier;
[0084] When the end identifier is at the end of all item X-ray imaging data, display the security inspection image of the inspection target based on all item X-ray imaging data.
[0085] In the first implementation manner, the end identifier is between two item X-ray imaging data. As can be seen from the above embodiment, the blank X-ray imaging data is stored in the buffer when the inspection target is completely collected. At this time, the end identifier is between two item X-ray imaging data, indicating that the first item X-ray imaging data of the next inspection target pushes out the blank X-ray imaging data for security inspection image display, and the second item X-ray imaging data of the next inspection target pushes out the first item X-ray imaging data of the next inspection target for security inspection image display.
[0086] That is to say, all the X-ray imaging data of the previous item to be inspected has been pushed out for security inspection image display, and the X-ray imaging data before the end mark belongs to the previous item to be inspected. Therefore, it can be determined that the acquisition of the item to be inspected corresponding to the X-ray imaging data before the end mark is completed, and then based on the X-ray imaging data before the end mark, the security inspection image of the item to be inspected can be displayed. Specifically, through an image processing algorithm, based on the X-ray imaging data before the end mark and the blank X-ray imaging data corresponding to the end mark, the security inspection image corresponding to the item to be inspected can be obtained and the security inspection image can be displayed.
[0087] For example, assume that the data arrangement is: X-ray imaging data 1 of the item, X-ray imaging data 2 of the item, X-ray imaging data 3 of the item, blank X-ray imaging data with an end mark, X-ray imaging data 4 of the item, and X-ray imaging data 1 - X-ray imaging data 3 belong to the item to be inspected 1. Then it can be determined that the acquisition of the item to be inspected 1 is completed, and through an image processing algorithm, image processing is performed based on X-ray imaging data 1 - X-ray imaging data 3 to obtain and display the security inspection image corresponding to the item to be inspected 1.
[0088] In the second implementation manner, the end mark is at the end of all the X-ray imaging data of the item, which also indicates that the acquisition of the item to be inspected is completed. Since all the X-ray imaging data of the item belongs to the item to be inspected, the security inspection image of the item to be inspected can be displayed based on all the X-ray imaging data of the item. Specifically, through an image processing algorithm, based on all the X-ray imaging data of the item and the blank X-ray imaging data corresponding to the end mark, the security inspection image corresponding to the item to be inspected can be obtained and the security inspection image can be displayed.
[0089] For example, assume that the data arrangement is: X-ray imaging data 1 of the item, X-ray imaging data 2 of the item, X-ray imaging data 3 of the item, blank X-ray imaging data with an end mark, and X-ray imaging data 1 - X-ray imaging data 3 belong to the item to be inspected 1. Then through an image processing algorithm, image processing can be performed based on all the X-ray imaging data of the item to obtain and display the security inspection image corresponding to the item to be inspected 1.
[0090] It can be seen that in the embodiments of the present application, through the above two implementation manners, the control device can quickly and accurately determine the X-ray imaging data of the item corresponding to the item to be inspected, and then perform image processing on the determined X-ray imaging data of the item to obtain the security inspection image of the item to be inspected and display the security inspection image.
[0091] As an implementation manner of the embodiments of the present application, in the case where the above end mark is between two X-ray imaging data of the item, as Figure 4 shown, the above method may further include:
[0092] S401, discard the blank X-ray imaging data carrying the end flag;
[0093] When the end flag is between the X-ray imaging data of two items, it indicates that the X-ray imaging data of the next item to be inspected has been collected. At this time, the control device can discard the blank X-ray imaging data carrying the end flag, thus avoiding a blank part at the start of the security inspection image corresponding to the next item to be inspected.
[0094] S402, continue to obtain the X-ray imaging data of the items collected by the security inspection device until the end flag is detected. Based on the X-ray imaging data of the items after the discarded blank strip data and the continuously obtained X-ray imaging data of the items, display the security inspection image of the item to be inspected.
[0095] Next, the control device can continue to obtain the X-ray imaging data of the items collected by the security inspection device, that is, the X-ray imaging data of the next item to be inspected. When the end flag is detected, it indicates that the collection of the next item to be inspected is completed. Then, based on the X-ray imaging data of the items after the discarded blank strip data and the continuously obtained X-ray imaging data of the items, the security inspection image of the item to be inspected can be displayed.
[0096] Specifically, through an image processing algorithm, based on the X-ray imaging data of the items after the discarded blank strip data, the continuously obtained X-ray imaging data of the items, and the blank X-ray imaging data corresponding to the end flag, the security inspection image corresponding to the item to be inspected can be obtained and the security inspection image can be displayed.
[0097] Among them, the X-ray imaging data of the items after the discarded blank X-ray imaging data is the earliest X-ray imaging data of the next item to be inspected collected. The X-ray imaging data of the items after the discarded blank X-ray imaging data and the subsequently continuously obtained X-ray imaging data of the items can form the complete X-ray imaging data of the next item to be inspected.
[0098] It can be seen that in the embodiment of the present application, the control device can discard the blank X-ray imaging data carrying the end flag; continue to obtain the X-ray imaging data of the items collected by the security inspection device until the end flag is detected. Based on the X-ray imaging data of the items after the discarded blank strip data and the continuously obtained X-ray imaging data of the items, display the security inspection image of the item to be inspected. Through the above implementation method, by discarding the blank X-ray imaging data, a blank at the start of the security inspection image corresponding to the next item to be inspected can be avoided, thereby reducing the flicker of the display screen and the visual fatigue of the operator.
[0099] As an implementation manner of an embodiment of the present application, the above security inspection device may include a conveyor belt, a starting light barrier, a radiation source, and a detector. The item to be inspected moves along with the conveyor belt and can successively pass through the starting light barrier and the collimation slit corresponding to the radiation source. In this case, as Figure 5 shown, the step of obtaining the X-ray imaging data of the item to be inspected collected by the security inspection device during the process of the item to be inspected passing through the channel of the security inspection device may include:
[0100] S501, when the starting light barrier is triggered, start timing and record the duration required for the item to be inspected to pass through the starting light barrier as the first duration;
[0101] Continue as Figure 2 shown, the security inspection device further includes a starting light barrier 209. The starting light barrier may be a photoelectric sensor, and when the item to be inspected passes through the starting light barrier, the starting light barrier will be triggered.
[0102] When the starting light barrier is triggered, it indicates that the head of the item to be inspected in the moving direction passes through the starting light barrier. After the tail of the item to be inspected in the moving direction passes through the starting light barrier, the starting light barrier will stop being triggered. Therefore, the control device can record the duration when the starting light barrier is triggered, that is, the duration required for the item to be inspected to pass through the starting light barrier, as the first duration.
[0103] In addition, since the data collected by the detector is the X-ray imaging data of the item only when the item to be inspected passes through the collimation slit, in order to determine when the item to be inspected is completely collected, timing can be started when the starting light barrier is triggered, and when the timing duration reaches the stop duration, it is determined that the item to be inspected is completely collected.
[0104] The stop duration is the sum of the first duration and the second duration. The second duration can be calculated based on the speed of the conveyor belt and the distance between the starting light barrier and the collimation slit. Since the conveyor belt usually moves at a constant speed, the time required for the head of the item to be inspected in the moving direction to move from the starting light barrier to the collimation slit can be calculated based on the speed of the conveyor belt and the distance between the starting light barrier and the collimation slit.
[0105] In one embodiment, when the conveyor belt moves at a constant speed, the second time duration can be the quotient of the distance between the starting light barrier and the collimation slit and the speed of the conveyor belt. In another embodiment, when the moving speed of the conveyor belt is unstable, that is, the actual moving speed of the conveyor belt fluctuates near the rated speed, in order to ensure that when the timing duration reaches the second time duration, the tail of the item to be inspected passes through the collimation slit in the moving direction, the sum value between the distance between the starting light barrier and the collimation slit and a preset distance can be calculated, and then the quotient of the sum value and the rated speed of the conveyor belt is calculated to obtain the second time duration. The preset distance can be set according to the fluctuation of the moving speed of the conveyor belt. For example, it can be specifically 3 cm, 5 cm, etc., and no specific limitation is made here.
[0106] S502, obtain in real time the item X-ray imaging data collected by the detector for the item to be inspected; when the timing duration reaches the stop duration, perform step S503;
[0107] Next, the control device can obtain in real time the item bar data collected by the detector for the item to be inspected. If the timing duration reaches the stop duration, it means that the tail of the item to be inspected passes through the collimation slit in the moving direction, that is, the item to be inspected is completely collected. Then the control device can perform step S503.
[0108] S503, control the detector to close to stop collecting the item X-ray imaging data, and after the detector is closed, control the radiation source to close.
[0109] To avoid collecting blank X-ray imaging data, the control device can control the detector to close when the timing duration reaches the second time duration, so as to stop collecting the item X-ray imaging data of the item to be inspected. Since the energy fluctuation generated by the radiation source from closing to reaching a stable state after the detector is closed will not be collected by the detector, the control device can control the radiation source to close after the detector is closed.
[0110] It can be seen that in the embodiment of the present application, the control device can start timing when the starting light barrier is triggered, and record the duration required for the item to be inspected to pass through the starting light barrier as the first time duration; obtain in real time the item X-ray imaging data collected by the detector for the item to be inspected; when the timing duration reaches the stop duration, control the detector to close to stop collecting the item X-ray imaging data, and after the detector is closed, control the radiation source to close, where the stop duration is the sum of the first time duration and the second time duration, and the second time duration is calculated based on the speed of the conveyor belt and the distance between the starting light barrier and the collimation slit. Through the above embodiments, the moment when the item to be inspected is completely collected can be determined by timing, and then the detector can be closed at this moment. In this way, it can be ensured that the end of the item X-ray imaging data does not include blank X-ray imaging data, thereby reducing the flicker of the display screen and the visual fatigue of the operator.
[0111] As an implementation manner of the embodiment of the present application, when the above-mentioned starting light barrier is triggered, as Figure 6 shown, the above method may further include:
[0112] S601, turn on the ray source; when the timing duration reaches the turn-on duration, execute step S602;
[0113] Since energy fluctuations will also occur during the process of the ray source from being turned on to reaching a stable state, in order to avoid the above energy fluctuations being collected by the detector, the control device can start timing when the starting light barrier is triggered, and turn on the detector when the timing duration reaches the turn-on duration.
[0114] Wherein, the turn-on duration is greater than the duration required for the ray source to reach energy stability, so as to ensure that the ray source has reached the energy stable state when the detector is turned on. And, the turn-on duration is not greater than the second duration, and the second duration is the duration required for the item to be inspected to move from the starting light barrier to the collimating slit. Since the turn-on duration is not greater than the second duration, it can be ensured that when the item to be inspected reaches the collimating slit, the detector is already in the on state, so that a complete item to be inspected can be collected.
[0115] In one implementation manner, the turn-on duration is greater than the duration required for the ray source to reach energy stability, and the turn-on duration is equal to the second duration. In this way, when the head of the item to be inspected in the moving direction reaches the collimating slit, the detector can be turned on, so that the start of the X-ray imaging data of the item does not include blank X-ray imaging data. Furthermore, the start of the item to be inspected in the security inspection image also does not include a blank part.
[0116] S602, turn on the detector.
[0117] When the timing duration reaches the turn-on duration, the control device can turn on the detector.
[0118] It can be seen that in the embodiment of the present application, the control device can turn on the ray source; when the timing duration reaches the turn-on duration, turn on the detector, wherein the turn-on duration is greater than the duration required for the ray source to reach energy stability, and the turn-on duration is not greater than the second duration. In this way, it is possible to avoid the energy fluctuations generated during the process of the ray source from being turned on to reaching a stable state being collected by the detector, and further avoid the appearance of dirty images. In addition, when the turn-on duration is greater than the duration required for the ray source to reach energy stability and the turn-on duration is equal to the second duration, it is also possible to make the start of the X-ray imaging data of the item not include blank X-ray imaging data. Furthermore, the start of the item to be inspected in the security inspection image also does not include a blank part, which can further reduce the flicker of the display screen and the visual fatigue of the operator.
[0119] As an implementation manner of an embodiment of the present application, the above security inspection device may include a conveyor belt, a starting light barrier, an ending light barrier, a radiation source, and a detector. The item to be inspected moves along with the conveyor belt and passes through the starting light barrier and the ending light barrier in sequence. The distance between the ending light barrier and the starting light barrier is not less than the distance between the collimation slit corresponding to the radiation source and the starting light barrier, and the distance between the ending light barrier and the collimation slit is less than a preset distance.
[0120] In this case, as Figure 7 shown, the step of acquiring the item X-ray imaging data collected by the security inspection device for the item to be inspected during the process that the item to be inspected passes through the channel of the security inspection device may include:
[0121] S701, when the starting light barrier is triggered, acquire in real time the item X-ray imaging data collected by the detector for the item to be inspected; when the ending light barrier stops being triggered, execute step S702;
[0122] When the starting light barrier is triggered, it indicates that the item to be inspected enters the channel of the security inspection device. Then, the control device may acquire in real time the item X-ray imaging data collected by the detector for the item to be inspected.
[0123] S702, control the detector to close to stop collecting the item X-ray imaging data, and after the detector is closed, control the radiation source to close.
[0124] Continuing as Figure 2 shown, the security inspection device may further include an ending light barrier 210. Among them, the ending light barrier may be a photoelectric sensor, and when the item to be inspected passes through the ending light barrier, the ending light barrier will be triggered.
[0125] The distance between the ending light barrier and the starting light barrier is not less than the distance between the collimation slit corresponding to the radiation source and the starting light barrier. That is to say, in the moving direction of the conveyor belt, the position of the ending light barrier may be aligned with the position of the collimation slit, or the position of the ending light barrier is before the position of the collimation slit.
[0126] And, the distance between the ending light barrier and the collimation slit is less than a preset distance. Among them, the preset distance may be set according to actual needs. For example, specifically, it may be 2 cm, 3 cm, etc., and no specific limitation is made here.
[0127] When the head of the item to be inspected in the moving direction passes through the ending light barrier, the ending light barrier starts to be triggered. During the period when the item to be inspected passes through the ending light barrier, the ending light barrier is continuously triggered. When the tail of the item to be inspected in the moving direction leaves the ending light barrier, the ending light barrier stops being triggered.
[0128] Since the distance between the termination light barrier and the start light barrier is not less than the distance between the collimation slit corresponding to the radiation source and the start light barrier, when the termination light barrier stops being triggered, the item to be inspected has completely passed through the collimation slit. That is to say, the detector has collected complete data of the item to be inspected. At this time, the control device can control the detector to close to stop collecting X-ray imaging data of the item, and after the detector is closed, control the radiation source to close.
[0129] It can be seen that in the embodiment of the present application, the control device can, when the start light barrier is triggered, obtain in real time the X-ray imaging data of the item to be inspected collected by the detector; when the termination light barrier stops being triggered, control the detector to close to stop collecting X-ray imaging data of the item, and after the detector is closed, control the radiation source to close. In this way, it can be ensured that the end of the X-ray imaging data of the item does not include blank X-ray imaging data, thereby reducing the flicker of the display screen and the visual fatigue of the operator.
[0130] As an implementation manner of the embodiment of the present application, a flowchart of an X-ray security image display method can be as Figure 8 shown, and specifically may include the following steps:
[0131] S801, start timing when the light barrier is triggered;
[0132] When the light barrier is triggered, it indicates that the head of the item to be inspected in the moving direction reaches the light barrier, and at this time, timing can be started.
[0133] S802, close the detector when the timing duration reaches the stop duration;
[0134] When the timing duration reaches the stop duration, it indicates that the tail of the item to be inspected in the moving direction reaches the collimation slit, and at this time, the detector can be closed.
[0135] S803, obtain the X-ray imaging data of the item;
[0136] The control device can obtain the X-ray imaging data of the item to be inspected collected by the detector.
[0137] S804, push one more blank X-ray imaging data;
[0138] Next, after the item to be inspected is completely collected, the control device can push one more blank X-ray imaging data, so as to push the last X-ray imaging data of the item to be inspected to the image processing algorithm.
[0139] S805, determine whether the end flag is between two X-ray imaging data of the item; if the end flag is between two X-ray imaging data of the item, execute step S806; if the end flag is at the end of all X-ray imaging data of the item, execute step S807;
[0140] The control device can determine whether the end identifier is between the X-ray imaging data of two items, and then perform image processing in a corresponding manner in the subsequent process to obtain the security inspection image.
[0141] S806. Determine that the item to be inspected to which the X-ray imaging data of the item before the end identifier belongs has been completely collected, and based on the X-ray imaging data of the item before the end identifier and the blank X-ray imaging data corresponding to the end identifier, obtain the security inspection image through an image processing algorithm;
[0142] When the end identifier is between the X-ray imaging data of two items, the control device can determine that the item to be inspected to which the X-ray imaging data of the item before the end identifier belongs has been completely collected. Furthermore, an image processing algorithm can be used to perform image processing based on the X-ray imaging data of the item before the end identifier and the blank X-ray imaging data corresponding to the end identifier to obtain the security inspection image.
[0143] S807. Based on all the X-ray imaging data of the items and the blank X-ray imaging data corresponding to the end identifier, obtain the security inspection image through an image processing algorithm;
[0144] If the end identifier is at the end of all the X-ray imaging data of the items, indicating that all the X-ray imaging data of the items belong to the same item to be inspected, then the control device can perform image processing based on all the X-ray imaging data of the items and the blank X-ray imaging data corresponding to the end identifier through an image processing algorithm to obtain the security inspection image and display the security inspection image.
[0145] S811. Obtain the X-ray imaging data of the next item to be inspected;
[0146] When the next item to be inspected passes through the security inspection device channel, the control device can obtain the X-ray imaging data of the next item to be inspected.
[0147] S812. Discard the blank X-ray imaging data.
[0148] Next, the control device can discard the blank X-ray imaging data and continue to obtain the X-ray imaging data of the next item to be inspected. When the next item to be inspected has been completely collected, the control device can execute step S804, thereby pushing the last X-ray imaging data of the next item to be inspected to the image processing algorithm. Furthermore, the control device can obtain the security inspection image corresponding to the next item to be inspected through an image processing algorithm based on the X-ray imaging data after the discarded blank data, the continuously obtained X-ray imaging data, and the blank X-ray imaging data corresponding to the end identifier, and display the security inspection image.
[0149] In the technical solution of this application, operations such as the acquisition, storage, use, processing, transmission, provision, and disclosure of the user's personal information are all carried out under the condition of obtaining the user's authorization.
[0150] Corresponding to the above method for displaying security inspection images, an embodiment of this application further provides a device for displaying security inspection images. The following introduces a device for displaying security inspection images provided by an embodiment of this application.
[0151] As Figure 9 shown, a device for determining the number of stacked items is applied to a control device in an image display system, and the image display system further includes a security inspection device. The device includes:
[0152] A data acquisition module 901, configured to acquire item X-ray imaging data of the inspected item collected by the security inspection device during the process of the inspected item passing through the channel of the security inspection device;
[0153] An instruction sending module 902, configured to send a stop acquisition instruction to the security inspection device when the acquisition of the inspected item is completed, so that the security inspection device stops acquiring the item X-ray imaging data of the inspected item, and closes the radiation source after stopping the acquisition of the item X-ray imaging data of the inspected item;
[0154] A first image display module 903, configured to use pre-acquired blank X-ray imaging data as the end mark data of the inspected item, and display the security inspection image of the inspected item based on the item X-ray imaging data of the inspected item.
[0155] It can be seen that in the embodiment of the present application, during the process of the item to be inspected passing through the channel of the security inspection device, the control device can obtain the item X-ray imaging data collected by the security inspection device for the item to be inspected; when the item to be inspected is completely collected, a stop collection instruction is sent to the security inspection device to cause the security inspection device to stop collecting the item X-ray imaging data of the item to be inspected, and the radiation source is turned off after stopping collecting the item X-ray imaging data of the item to be inspected; the pre-obtained blank X-ray imaging data is used as the end mark data of the item to be inspected, and based on the item X-ray imaging data of the item to be inspected, the security inspection image of the item to be inspected is displayed. On the one hand, in order to reduce the flicker of the display screen and the visual fatigue of the operator, after the item to be inspected is completely collected, the control device controls the security inspection device to stop collecting. In this way, the end of the item X-ray imaging data does not include blank X-ray imaging data. Furthermore, the end of the item to be inspected in the security inspection image also does not include a blank part, which can reduce the flicker of the display screen and the visual fatigue of the operator. On the other hand, during the processing of the security inspection image, edge processing needs to be performed on the item X-ray imaging data based on the blank X-ray imaging data. In the current related technologies, the blank X-ray imaging data is collected when collecting the item X-ray imaging data. Therefore, the blank X-ray imaging data will be displayed as a part of the item X-ray imaging data. In the method provided by the embodiment of the present application, the pre-obtained blank X-ray imaging data is used as the end mark data of the item to be inspected. Since the blank X-ray imaging data is pre-obtained instead of being collected together when collecting the item X-ray imaging data, during the processing of the security inspection image, edge processing can be directly performed based on the pre-obtained blank X-ray imaging data. In this way, the blank X-ray imaging data is only used for the image processing algorithm and will not be displayed. Therefore, in the method provided by the embodiment of the present application, it is possible to reduce the flicker of the display screen and the visual fatigue of the operator on the premise of ensuring normal edge processing of the item X-ray imaging data.
[0156] As an implementation manner provided by the embodiment of the present application, the item X-ray imaging data collected by the above security inspection device is stored in a cache. When the item X-ray imaging data is stored in the cache, the previous item X-ray imaging data stored in the cache is pushed out for displaying the security inspection image. In this case, the above first image display module 903 may include:
[0157] A data storage sub-module, configured to store the pre-obtained blank X-ray imaging data in the cache when the item to be inspected is completely collected, so as to push out the last item X-ray imaging data of the item to be inspected from the cache for displaying the security inspection image;
[0158] An image display sub-module, configured to use the pre-obtained blank X-ray imaging data as the end mark data of the item to be inspected, and display the security inspection image of the item to be inspected based on the item X-ray imaging data pushed out from the cache.
[0159] As an implementation manner provided in an embodiment of the present application, the above blank X-ray imaging data may carry an end flag. In this case, the above image display sub-module may include:
[0160] A first image display unit, configured to determine that the acquisition of the inspected item to which the X-ray imaging data of the item before the end flag belongs is completed when the end flag is between the X-ray imaging data of two items, and display the security inspection image of the inspected item based on the X-ray imaging data of the item before the end flag;
[0161] A second image display unit, configured to display the security inspection image of the inspected item based on all the X-ray imaging data of the items when the end flag is at the end of all the X-ray imaging data of the items.
[0162] As an implementation manner provided in an embodiment of the present application, when the end flag is between the X-ray imaging data of two items, the above device may further include:
[0163] A data discarding module, configured to discard the blank X-ray imaging data carrying the end flag;
[0164] A second image display module, configured to continue to obtain the X-ray imaging data of the items collected by the security inspection device until the end flag is detected, and display the security inspection image of the inspected item based on the X-ray imaging data of the items after the discarded blank data and the continuously obtained X-ray imaging data.
[0165] As an implementation manner provided in an embodiment of the present application, the above security inspection device may include a conveyor belt, a start light barrier, a radiation source, and a detector. The inspected item moves along with the conveyor belt and may sequentially pass through the start light barrier and the collimation slit corresponding to the radiation source. The above data acquisition module 901 may include:
[0166] A timing sub-module, configured to start timing when the start light barrier is triggered, and record the duration required for the inspected item to pass through the start light barrier as the first duration;
[0167] A first data acquisition sub-module, configured to continuously obtain the X-ray imaging data of the items collected by the detector for the inspected item;
[0168] A first control sub-module, configured to control the detector to close to stop collecting the X-ray imaging data of the items when the timing duration reaches the stop duration, and control the radiation source to close after the detector is closed, where the stop duration is the sum of the first duration and the second duration, and the second duration is calculated based on the speed of the conveyor belt and the distance between the start light barrier and the collimation slit.
[0169] As an implementation method provided in an embodiment of the present application, when the initial light barrier is triggered, the device may further include:
[0170] A ray source activation module, used for activating the ray source;
[0171] The detector activation module is used to activate the detector when the timing duration reaches the activation duration, wherein the activation duration is greater than the duration required for the energy of the radiation source to stabilize, and the activation duration is not greater than the second duration.
[0172] As an implementation method provided in an embodiment of the present application, the security inspection equipment may include a conveyor belt, a starting light barrier, an ending light barrier, a radiation source, and a detector. The inspected article moves along the conveyor belt, sequentially passing through the starting light barrier and the ending light barrier. The distance between the ending light barrier and the starting light barrier is not less than the distance between the collimating slit corresponding to the radiation source and the starting light barrier, and the distance between the ending light barrier and the collimating slit is less than a preset distance. In this case, the data acquisition module 901 may include:
[0173] a second data acquisition submodule, configured to acquire, in real time, X-ray imaging data of the inspected article collected by the detector when the initial light barrier is triggered;
[0174] The second control submodule is configured to control the detector to be turned off to stop collecting X-ray imaging data of the object when the termination light barrier is triggered, and control the radiation source to be turned off after the detector is turned off.
[0175] As an implementation method provided in an embodiment of the present application, the blank X-ray imaging data is not used to display the security inspection image of the inspected article.
[0176] The present application also provides a control device, such as Figure 10 Shown, including:
[0177] Memory 1001, used for storing computer programs;
[0178] The processor 1002 is configured to implement the method for displaying security inspection images described in any of the above embodiments when executing the program stored in the memory 1001 .
[0179] Furthermore, the control device may further include a communication bus and / or a communication interface, and the processor 1002, the communication interface, and the memory 1001 communicate with each other via the communication bus.
[0180] It can be seen that in the embodiment of the present application, during the process of the item to be inspected passing through the channel of the security inspection device, the control device can obtain the item X-ray imaging data collected by the security inspection device for the item to be inspected; when the collection of the item to be inspected is completed, a stop collection instruction is sent to the security inspection device to cause the security inspection device to stop collecting the item X-ray imaging data of the item to be inspected, and the radiation source is turned off after stopping the collection of the item X-ray imaging data of the item to be inspected; the pre-obtained blank X-ray imaging data is used as the end mark data of the item to be inspected, and based on the item X-ray imaging data of the item to be inspected, the security inspection image of the item to be inspected is displayed. On the one hand, in order to reduce the flicker of the display screen and the visual fatigue of the operator, after the collection of the item to be inspected is completed, the control device controls the security inspection device to stop collecting. In this way, the end of the item X-ray imaging data does not include blank X-ray imaging data. Furthermore, the end of the item to be inspected in the security inspection image also does not include a blank part, which can reduce the flicker of the display screen and the visual fatigue of the operator. On the other hand, during the processing of the security inspection image, edge processing needs to be performed on the item X-ray imaging data based on the blank X-ray imaging data. In the current related technologies, the blank X-ray imaging data is collected when collecting the item X-ray imaging data, so the blank X-ray imaging data will be displayed as a part of the item X-ray imaging data. However, in the method provided by the embodiment of the present application, the pre-obtained blank X-ray imaging data is used as the end mark data of the item to be inspected. Since the blank X-ray imaging data is pre-obtained instead of being collected together when collecting the item X-ray imaging data, during the processing of the security inspection image, edge processing can be directly performed based on the pre-obtained blank X-ray imaging data. In this way, the blank X-ray imaging data is only used for the image processing algorithm and will not be displayed. Therefore, in the method provided by the embodiment of the present application, it is possible to reduce the flicker of the display screen and the visual fatigue of the operator on the premise of ensuring normal edge processing of the item X-ray imaging data.
[0181] The communication bus mentioned in the above control device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, only a thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0182] The communication interface is used for communication between the above control device and other devices.
[0183] The memory may include a Random Access Memory (RAM), or may also include a Non-Volatile Memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0184] The aforementioned processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0185] In another embodiment provided by this application, there is also provided a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned display methods of security inspection images are implemented.
[0186] In another embodiment provided by this application, there is also provided a computer program product containing instructions, which when running on a computer, causes the computer to execute any of the above-mentioned display methods of security inspection images in the embodiments.
[0187] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a solid-state disk (SSD), etc.
[0188] It should be noted that in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including", or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements includes not only those elements but also other elements that are not explicitly listed, or also includes elements that are inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article, or device that includes the element.
[0189] Each embodiment in this specification is described in a related manner. The same or similar parts among the embodiments can be referred to each other, and the differences between each embodiment and other embodiments are emphasized. In particular, for the embodiments of the device, control device, computer-readable storage medium, and computer program product, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0190] The above are only the preferred embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application are all included in the protection scope of the present application.
Claims
1. A method for displaying security inspection images, characterized in that, A control device applied to an image display system, the image display system further including a security inspection device, the method comprising: During the process of an item to be inspected passing through the channel of the security inspection device, obtaining the item X-ray imaging data of the item to be inspected collected by the security inspection device; When the item to be inspected is completely collected, sending a stop collection instruction to the security inspection device so that the security inspection device stops collecting the item X-ray imaging data of the item to be inspected, so that the end of the item X-ray imaging data does not include blank X-ray imaging data, and turning off the radiation source after stopping collecting the item X-ray imaging data of the item to be inspected; Taking the blank X-ray imaging data obtained in advance and not collected together with the item to be inspected as the end mark data of the item to be inspected, and displaying the security inspection image of the item to be inspected based on the item X-ray imaging data of the item to be inspected, wherein the blank X-ray imaging data is not used for displaying the security inspection image of the item to be inspected.
2. The method according to claim 1, characterized in that, The item X-ray imaging data collected by the security inspection device is stored in a cache. When the item X-ray imaging data is stored in the cache, the previous item X-ray imaging data stored in the cache is pushed out for security inspection image display; The step of taking the blank X-ray imaging data obtained in advance as the end mark data of the item to be inspected and displaying the security inspection image of the item to be inspected based on the item X-ray imaging data of the item to be inspected includes: When the item to be inspected is completely collected, storing the blank X-ray imaging data obtained in advance in the cache to push out the last item X-ray imaging data of the item to be inspected from the cache for security inspection image display; Taking the blank X-ray imaging data obtained in advance as the end mark data of the item to be inspected, and displaying the security inspection image of the item to be inspected based on the item X-ray imaging data pushed out from the cache.
3. The method according to claim 2, characterized in that, The blank X-ray imaging data carries an end identifier; The step of taking the blank X-ray imaging data obtained in advance as the end mark data of the item to be inspected and displaying the security inspection image of the item to be inspected based on the item X-ray imaging data pushed out from the cache includes: When the end identifier is between two item X-ray imaging data, determining that the collection of the item to be inspected to which the item X-ray imaging data before the end identifier belongs is completed, and displaying the security inspection image of the item to be inspected based on the item X-ray imaging data before the end identifier; When the end identifier is at the end of all the item X-ray imaging data, displaying the security inspection image of the item to be inspected based on all the item X-ray imaging data.
4. The method according to claim 3, wherein When the end identifier is between two item X-ray imaging data, the method further includes: Discarding the blank X-ray imaging data carrying the end identifier; Continuing to obtain the item X-ray imaging data collected by the security inspection device until the end identifier is detected, and displaying the security inspection image of the item to be inspected based on the item X-ray imaging data after the discarded blank strip data and the continuously obtained item X-ray imaging data.
5. The method according to any one of claims 1 to 4, characterized in that, The security inspection device includes a conveyor belt, a starting light barrier, a radiation source, and a detector. The item to be inspected moves along with the conveyor belt and passes through the starting light barrier and the collimation slit corresponding to the radiation source in sequence. The step of obtaining the X-ray imaging data of the item to be inspected collected by the security inspection device during the process of the item to be inspected passing through the channel of the security inspection device includes: When the starting light barrier is triggered, start timing and record the time required for the item to be inspected to pass through the starting light barrier as the first time period. Obtain the X-ray imaging data of the item to be inspected collected by the detector in real time. When the timing duration reaches the stop duration, control the detector to close to stop collecting the X-ray imaging data of the item, and after the detector is closed, control the radiation source to close, where the stop duration is the sum of the first time period and the second time period, and the second time period is calculated based on the speed of the conveyor belt and the distance between the starting light barrier and the collimation slit.
6. The method according to claim 5, wherein When the starting light barrier is triggered, the method further includes: Turn on the radiation source. When the timing duration reaches the turn-on duration, turn on the detector, where the turn-on duration is greater than the time required for the radiation source to reach energy stability and the turn-on duration is not greater than the second time period.
7. The method according to any one of claims 1-4, characterized in that, The security inspection device includes a conveyor belt, a starting light barrier, a terminating light barrier, a radiation source, and a detector. The item to be inspected moves along with the conveyor belt and passes through the starting light barrier and the terminating light barrier in sequence. The distance between the terminating light barrier and the starting light barrier is not less than the distance between the collimation slit corresponding to the radiation source and the starting light barrier, and the distance between the terminating light barrier and the collimation slit is less than a preset distance. The step of obtaining the X-ray imaging data of the item to be inspected collected by the security inspection device during the process of the item to be inspected passing through the channel of the security inspection device includes: When the starting light barrier is triggered, obtain the X-ray imaging data of the item to be inspected collected by the detector in real time. When the terminating light barrier stops being triggered, control the detector to close to stop collecting the X-ray imaging data of the item, and after the detector is closed, control the radiation source to close.
8. A display device for security inspection images, characterized in that, Applied to a control device in an image display system, the image display system further includes a security inspection device, and the device includes: A data acquisition module for obtaining the X-ray imaging data of the item to be inspected collected by the security inspection device during the process of the item to be inspected passing through the channel of the security inspection device. An instruction sending module for sending a stop collection instruction to the security inspection device when the item to be inspected is completely collected, so that the security inspection device stops collecting the X-ray imaging data of the item to be inspected, so that the end of the X-ray imaging data does not include blank X-ray imaging data, and the radiation source is turned off after stopping collecting the X-ray imaging data of the item to be inspected. An image display module, which is configured to use pre-acquired blank X-ray imaging data that is not collected together with the inspected item as the end flag data of the inspected item, and display the security inspection image of the inspected item based on the item X-ray imaging data of the inspected item, wherein the blank X-ray imaging data is not used for displaying the security inspection image of the inspected item.
9. A control device, characterized in that, Comprising: A memory for storing computer programs; A processor, which is configured to implement the method according to any one of claims 1-7 when executing the programs stored on the memory.
Citation Information
Patent Citations
Data acquisition control device of detector array and security check system
CN113552145A
Image data processing method and device and electronic equipment
CN117808662A
Parcel image interval detection method in security check and security check image processing method
CN117950071A