Security check image display method and device and control equipment
By stopping the acquisition and closing the radiation source after the object to be inspected is collected and using the pre-acquisitioned blank X-ray imaging data as the end sign, the problems of flickering on the display screen of the security inspection equipment and visual fatigue on the operator are solved, and the goal of reducing flickering and ensuring image processing effect is achieved.
Patent Information
- Application Number
- CN202510314796.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2045-03-17
AI Technical Summary
When security inspection equipment displays security images of the items to be inspected, it is easy for the display screen to flicker, causing operator visual fatigue, especially when collecting blank X-ray imaging data.
After the item to be inspected is collected, a stop collection instruction is sent to the security inspection equipment, the X-ray imaging data of the item is stopped, and the radiation source is turned off after the acquisition is stopped. The blank X-ray imaging data acquired in advance are used as the end mark data of the item to be inspected, and the security image is displayed based on the item X-ray imaging data of the item to be inspected.
By avoiding the acquisition of blank X-ray imaging data at the end of the item X-ray imaging data, the flickering of the display screen and the visual fatigue of the operator are reduced, while edge processing can still be performed based on blank X-ray imaging data during security image processing.
Smart Images

Figure CN119846731A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of security inspection imaging, and in particular to a method, device and control equipment for displaying security inspection images. Background Art
[0002] Security inspection equipment can inspect the inside of the inspected items and has a wide range of applications. For example, subway stations, high-speed rail stations and airports. The security inspection equipment collects the scan data of the inspected items and generates security inspection images in real time. Since the scan data is generated by the security inspection equipment scanning the inspected items in columns while the inspected items are moving horizontally, the security inspection images displayed on the display screen also move horizontally. In this way, the display screen is prone to flickering, causing visual fatigue to the operator.
[0003] On this basis, in order to meet the needs of imaging edge processing, after the scan of the inspected object is completed, it is necessary to collect a section of blank X-ray imaging data to achieve smooth processing, but blank X-ray imaging data will further aggravate the problems of flicker 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 solution is as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for displaying a security inspection image, which is applied to a control device in an image display system, wherein the image display system also includes a security inspection device, and the method includes:
[0006] When the inspected article passes through the security inspection equipment channel, obtaining the X-ray imaging data of the inspected article collected by the security inspection equipment;
[0007] When the collection of the inspected object is completed, sending a stop collection instruction to the security inspection device, so that the security inspection device stops collecting the object X-ray imaging data of the inspected object, and turns off the radiation source after stopping collecting the object X-ray imaging data of the inspected object;
[0008] The pre-acquired blank X-ray imaging data is used as the end mark data of the inspected object, and based on the object X-ray imaging data of the inspected object, the security inspection image of the inspected object is displayed.
[0009] Optionally, the X-ray imaging data of the item collected by the security inspection device is stored in a cache, and when the X-ray imaging data of the item is stored in the cache, the X-ray imaging data of the item last stored in the cache is pushed out for security inspection image display;
[0010] The step of using the pre-acquired blank X-ray imaging data as the end mark data of the inspected object and displaying the security inspection image of the inspected object based on the object X-ray imaging data of the inspected object includes:
[0011] When the inspection object is collected, the pre-acquired blank X-ray imaging data is stored in the cache, so that the last X-ray imaging data of the inspection object is pushed out from the cache for security inspection image display;
[0012] The pre-acquired blank X-ray imaging data is used as the end mark data of the inspected object, and the security inspection image of the inspected object is displayed based on the object X-ray imaging data pushed out from the buffer.
[0013] Optionally, the blank X-ray imaging data carries an end mark;
[0014] The step of using the pre-acquired blank X-ray imaging data as the end mark data of the inspected object and displaying the security inspection image of the inspected object based on the object X-ray imaging data pushed out from the cache includes:
[0015] In the case where the end mark is between two object X-ray imaging data, determining that the object to which the object X-ray imaging data before the end mark belongs has completed collection, and displaying the security inspection image of the object to be inspected based on the object X-ray imaging data before the end mark;
[0016] When the end mark is at the end of all the X-ray imaging data of the object, the security inspection image of the inspected object is displayed based on all the X-ray imaging data of the object.
[0017] Optionally, when the end mark is between two X-ray imaging data of the object, the method further includes:
[0018] discarding the blank X-ray imaging data carrying the end mark;
[0019] Continue to obtain the X-ray imaging data of the object collected by the security inspection device until the end mark is detected, and display the security inspection image of the inspected object based on the X-ray imaging data of the object after the discarded blank bar data and the X-ray imaging data of the object that continues to be obtained.
[0020] Optionally, the security inspection equipment includes a conveyor belt, a starting light barrier, a radiation source and a detector, and the inspected object moves along with the conveyor belt and passes through the starting light barrier and the collimation slits corresponding to the radiation source in sequence;
[0021] The step of obtaining X-ray imaging data of the inspected article collected by the security inspection equipment on the inspected article during the process of the inspected article passing through the security inspection equipment channel comprises:
[0022] When the initial light barrier is triggered, start timing and record the time required for the inspected object to pass through the initial light barrier as a first time;
[0023] Acquiring in real time X-ray imaging data of the inspected object collected by the detector;
[0024] When the timing duration reaches the stop duration, the detector is controlled to be turned off to stop collecting X-ray imaging data of the object, and after the detector is turned off, the radiation source is controlled to be turned off, wherein 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 starting light barrier and the collimation slit.
[0025] Optionally, when the initial light barrier is triggered, the method further includes:
[0026] Turning on the radiation source;
[0027] When the timing duration reaches the opening duration, the detector is turned on, wherein the opening duration is greater than the duration required for the energy of the radiation source to stabilize, and the opening duration is not greater than the second duration.
[0028] Optionally, the security inspection equipment includes a conveyor belt, a starting light barrier, a terminating light barrier, a radiation source, and a detector. The inspected article 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 collimating slit corresponding to the radiation source and the starting light barrier, and the distance between the terminating light barrier and the collimating slit is less than a preset distance.
[0029] The step of obtaining X-ray imaging data of the inspected article collected by the security inspection equipment on the inspected article during the process of the inspected article passing through the security inspection equipment channel comprises:
[0030] When the initial light barrier is triggered, obtaining X-ray imaging data of the inspected object collected by the detector in real time;
[0031] When the termination light barrier stops being triggered, the detector is controlled to be turned off to stop collecting X-ray imaging data of the object, and after the detector is turned off, the radiation source is controlled to be turned off.
[0032] Optionally, the blank X-ray imaging data is not used for displaying the security inspection image of the inspected object.
[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, wherein the image display system also includes a security inspection device, and the device includes:
[0034] A data acquisition module, used to acquire X-ray imaging data of the inspected article collected by the security inspection equipment on the inspected article when the inspected article passes through the security inspection equipment channel;
[0035] an instruction sending module, configured to send a stop collection instruction to the security inspection device when the collection of the inspected object is completed, so that the security inspection device stops collecting the object X-ray imaging data of the inspected object, and turns off the radiation source after stopping collecting the object X-ray imaging data of the inspected object;
[0036] The image display module is used to use the pre-acquired blank X-ray imaging data as the end mark data of the inspected object, and display the security inspection image of the inspected object based on the object X-ray imaging data of the inspected object.
[0037] In a third aspect, an embodiment of the present application provides a control device, including:
[0038] Memory, used to store computer programs;
[0039] The processor is used to implement any method described in the first aspect when executing a program stored in the memory.
[0040] Beneficial effects of the embodiments of the present application:
[0041] In the scheme provided by the embodiment of the present application, when the inspected item passes through the security inspection equipment channel, the control device can obtain the item X-ray imaging data collected by the security inspection equipment for the inspected item; when the inspected item is collected, a stop collection instruction is sent to the security inspection equipment to make the security inspection equipment stop collecting the item X-ray imaging data of the inspected item, and turn off the radiation source after stopping collecting the item X-ray imaging data of the inspected item; the pre-acquired blank X-ray imaging data is used as the end mark data of the inspected item, and based on the item X-ray imaging data of the inspected item, the security inspection image of the inspected item 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 inspected item is collected, the control device controls the security inspection equipment 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 inspected item 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 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 technology, blank X-ray imaging data is collected when collecting X-ray imaging data of the object. Therefore, the blank X-ray imaging data will be displayed as a part of the X-ray imaging data of the object. In the method provided in the embodiment of the present application, the pre-acquired blank X-ray imaging data is used as the end mark data of the inspected object. Since the blank X-ray imaging data is acquired in advance, rather than being acquired together with the X-ray imaging data of the object, the edge processing can be directly based on the pre-acquired blank X-ray imaging data during the processing of the security inspection image. 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 in the embodiment of the present application, the flickering of the display screen and the visual fatigue of the operator can be reduced while ensuring the normal edge processing of the X-ray imaging data of the object. Of course, it is not necessary to achieve all the advantages described above at the same time to implement any product or method of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0043] Figure 1 A flowchart of a method for displaying security inspection images provided in an embodiment of the present application;
[0044] Figure 2 Based on Figure 1 A schematic diagram of the security inspection equipment of the illustrated embodiment;
[0045] Figure 3 for Figure 1 A specific flow chart of step S103 in the illustrated embodiment;
[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 illustrated embodiment;
[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 illustrated embodiment;
[0051] Fig. 9 A schematic diagram of the structure of a display device for security inspection images provided in an embodiment of the present application;
[0052] Fig.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 the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field based on the present application belong to the scope of protection of the present application.
[0054] In order to reduce the flickering of the display screen and the visual fatigue of the operator, the 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 the 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, obtaining X-ray imaging data of the inspected article collected by the security inspection equipment while the inspected article passes through the security inspection equipment channel;
[0057] S102, when the collection of the inspected object is completed, sending a stop collection instruction to the security inspection device, so that the security inspection device stops collecting the object X-ray imaging data of the inspected object, and turns off the radiation source after stopping collecting the object X-ray imaging data of the inspected object;
[0058] S103: Using the pre-acquired blank X-ray imaging data as the end mark data of the inspected object, and displaying the security inspection image of the inspected object based on the object X-ray imaging data of the inspected object.
[0059] It can be seen that in the embodiment of the present application, when the inspected object passes through the security inspection device channel, the control device can obtain the item X-ray imaging data collected by the security inspection device for the inspected object; when the inspected object is collected, a stop collection instruction is sent to the security inspection device to make the security inspection device stop collecting the item X-ray imaging data of the inspected object, and turn off the radiation source after stopping collecting the item X-ray imaging data of the inspected object; the pre-acquired blank X-ray imaging data is used as the end mark data of the inspected object, and based on the item X-ray imaging data of the inspected object, the security inspection image of the inspected object 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 inspected object is 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 inspected object 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 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 technology, blank X-ray imaging data is collected when collecting X-ray imaging data of the object. Therefore, the blank X-ray imaging data will be displayed as a part of the X-ray imaging data of the object. In the method provided in the embodiment of the present application, the pre-acquired blank X-ray imaging data is used as the end mark data of the inspected object. Since the blank X-ray imaging data is acquired in advance instead of being acquired together with the X-ray imaging data of the object, the edge processing can be directly based on the pre-acquired blank X-ray imaging data during the processing of the security inspection image. 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 in the embodiment of the present application, the flickering of the display screen and the visual fatigue of the operator can be reduced while ensuring the normal edge processing of the X-ray imaging data of the object.
[0060] First, combine Figure 2The security inspection equipment is introduced. When the inspected object 201 is placed on the conveyor belt 202 , the inspected object 201 will move along the conveyor belt and enter the security inspection equipment channel. The security inspection equipment channel has an entrance 203 and an exit 204 . Figure 2 The direction of the arrow marked is the direction of movement of the conveyor belt.
[0061] When the inspected object 201 passes through the security inspection equipment channel, the ray source 205 can emit rays, which are received by the detector 206 after passing through the inspected object 201. The detector 206 can then obtain multiple X-ray imaging data of the inspected object 201, and each X-ray imaging data of the object is in the form of strips. A main collimation slit 207 and a side collimation slit 208 are arranged near the detector 206. The main collimation slit 207 is used to control the main beam direction and range of the ray, and the side collimation slit 208 is used to shield scattered rays and reduce interference. The collimation slits mentioned in this application specifically refer to the main collimation slit 207, not the side collimation slit 208.
[0062] Steps S101 to S103 are described below:
[0063] When the inspected item passes 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 and low energy raw data of the inspected item collected by the detector when the ray source is turned on. The control device can integrate multiple functional modules such as microprocessors, analog IP (Intellectual Property) cores, digital IP cores, and memory.
[0064] During the period from when the X-ray source is turned off to when it reaches a stable state, the X-ray dose fluctuates and decreases. The rising edge data and falling edge data collected by the detector during the above period will cause a dirty image. In the current related technology, in order to avoid the appearance of a dirty image, an extra period of open source time will be reserved, that is, after the inspection object is collected, an extra period of blank X-ray imaging data will be collected before the X-ray source is turned off. However, the extra collection of blank X-ray imaging data will aggravate the problem of flickering and visual fatigue.
[0065] In the solution provided by the embodiment of the present application, when the collection of the inspected object is completed, the control device can send a stop collection instruction to the security inspection device, that is, execute step S102. When the security inspection device receives the stop collection instruction, it will stop collecting the object X-ray imaging data of the inspected object, and after stopping collecting the object X-ray imaging data of the inspected object, turn off the radiation source.
[0066] In the above process, since the security inspection equipment stops collecting X-ray imaging data of the item when the collection of the inspected item is completed, the end of the X-ray imaging data of the item does not include blank X-ray imaging data. In addition, since the collection of 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 fluctuations associated with the shutdown of the radiation source.
[0067] Next, the control device can use the pre-acquired blank X-ray imaging data as the end mark data of the inspected object, that is, the blank X-ray imaging data is used for edge processing of the object X-ray imaging data, but not for displaying the security inspection image of the inspected object. Furthermore, the control device can display the security inspection image of the inspected object based on the object X-ray imaging data of the inspected object, that is, execute step S103.
[0068] In one embodiment, the control device can perform image processing based 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), obtain a 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 algorithm full-load template data for subsequent normalization processing. In addition, the edge processing of the item X-ray imaging data can be performed based on the blank X-ray imaging data. In this way, the control device can obtain a security inspection image corresponding to the inspected item and display the security inspection image.
[0069] Among them, the above-mentioned image processing algorithm can be integrated inside the control device, so that the control device can call the internal image processing algorithm to perform image processing. The above-mentioned 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. This is all reasonable.
[0070] The blank X-ray imaging data is full-load data, that is, there is no item on the conveyor belt of the security inspection device, and the blank strip data is collected when the radiation source is turned on. The blank X-ray imaging data is acquired in advance, rather than collected together with the inspected items. As an implementation method, before the security inspection device passes the bag normally, 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 blank X-ray imaging data.
[0071] It can be seen that in the embodiment of the present application, on the one hand, in order to reduce the flickering of the display screen and the visual fatigue of the operator, after the inspection object is collected, the control device controls the security inspection device to stop collecting. In this way, the end of the object X-ray imaging data can not include blank X-ray imaging data. Furthermore, the end of the inspected object in the security inspection image also does not include a blank part, which can reduce the flickering of the display screen and the visual fatigue of the operator. On the other hand, in the processing of the security inspection image, it is necessary to perform edge processing on the object X-ray imaging data based on the blank X-ray imaging data. In the current related art, blank X-ray imaging data is collected when collecting object X-ray imaging data, so the blank X-ray imaging data will be displayed as part of the object X-ray imaging data. In the method provided in the embodiment of the present application, the pre-acquired blank X-ray imaging data is used as the end mark data of the inspected object. Since the blank X-ray imaging data is pre-acquired, rather than collected together when collecting the object X-ray imaging data, the edge processing can be directly performed based on the pre-acquired blank X-ray imaging data in the processing of the security inspection image. 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 in the embodiment of the present application, the flicker of the display screen and the visual fatigue of the operator can be reduced while ensuring the normal edge processing of the X-ray imaging data of the object.
[0072] As an implementation method provided in an embodiment of the present application, the X-ray imaging data of the object collected by the above-mentioned security inspection equipment can be stored in a cache. When the X-ray imaging data of the object is stored in the cache, the previous X-ray imaging data of the object stored in the cache can be pushed out for security inspection image display.
[0073] In this case, if Figure 3 As shown, the above step of using the pre-acquired blank X-ray imaging data as the end mark data of the inspected object and displaying the security inspection image of the inspected object based on the object X-ray imaging data of the inspected object may include:
[0074] S301, when the inspection object is collected, storing the pre-acquired blank X-ray imaging data in the cache, so as to push the last X-ray imaging data of the inspection object from the cache for security inspection image display;
[0075] First, let's introduce the cache mechanism. The cache can only store one data. If a data is stored in the cache, the previous data stored in the cache will be pushed out for security inspection image display, that is, pushed to the image processing algorithm. For example, assuming that the cache currently stores item X-ray imaging data 1, and item X-ray imaging data 2 is stored in the cache, then item X-ray imaging data 1 will be pushed out for security inspection image display, and the cache currently stores item X-ray imaging data 2.
[0076] When the inspected item passes through the security inspection equipment channel, the security inspection equipment will collect X-ray imaging data of multiple items. Each time the security inspection equipment collects X-ray imaging data of an item, it will store the X-ray imaging data of the item in the cache. Correspondingly, the X-ray imaging data of the item will push out the previous X-ray imaging data of the item stored in the cache for security inspection image display.
[0077] When the collection of the inspected items is completed, the security inspection device collects the X-ray imaging data of the last item and stores the X-ray imaging data of the last item in the cache. At this time, the X-ray imaging data of the last item will push the X-ray imaging data of the second-to-last item to the image processing algorithm. Due to the solution of the present application, when the collection of the inspected items is completed, no redundant blank X-ray imaging data will be collected, so the X-ray imaging data of the last item will be stored in the cache and cannot be pushed to the image processing algorithm.
[0078] In this case, the control device can store the pre-acquired blank X-ray imaging data in the cache, that is, execute step S301. In this way, the last X-ray imaging data of the inspected object can be pushed out of the cache for security inspection image display.
[0079] S302: Use the pre-acquired blank X-ray imaging data as the end mark data of the inspected object, and display the security inspection image of the inspected object based on the object X-ray imaging data pushed out from the buffer.
[0080] Next, the control device can use the pre-acquired blank X-ray imaging data as the end mark data of the inspected object, and display the security inspection image of the inspected object based on the object X-ray imaging data pushed out from the cache. Specifically, the control device can perform image processing based on the object X-ray imaging data received by the image processing algorithm and the pre-acquired blank X-ray imaging data, obtain the security inspection image corresponding to the inspected object, and display the security inspection image.
[0081] It can be seen that in the embodiment of the present application, when the collection of the inspected items is completed, the control device can store the pre-acquired blank X-ray imaging data in the cache, so as to push the last item X-ray imaging data of the inspected items from the cache for security inspection image display; the pre-acquired blank X-ray imaging data is used as the end mark data of the inspected items, and the security inspection image of the inspected items is displayed based on the item X-ray imaging data pushed out from the cache. 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 inspected items cannot be pushed out for security inspection image display. In order to solve the above problem, the embodiment of the present application actively stores the pre-acquired blank X-ray imaging data in the cache when the collection of the inspected items is completed, so as to push the last item X-ray imaging data of the inspected items for security inspection image display. In this way, the complete display of the inspected items can be ensured while avoiding the blank part at the end of the security inspection image.
[0082] As an implementation of an embodiment of the present application, the blank X-ray imaging data may carry an end mark. In this case, the step of using the pre-acquired blank X-ray imaging data as the end mark data of the inspected object and displaying the security inspection image of the inspected object based on the object X-ray imaging data pushed out from the cache may include:
[0083] In the case where the end mark is between two object X-ray imaging data, determining that the object to which the object X-ray imaging data before the end mark belongs has completed collection, and displaying the security inspection image of the object to be inspected based on the object X-ray imaging data before the end mark;
[0084] When the end mark is at the end of all the X-ray imaging data of the object, the security inspection image of the inspected object is displayed based on all the X-ray imaging data of the object.
[0085] In the first implementation, the end mark is between two object X-ray imaging data. As can be seen from the above embodiment, blank X-ray imaging data is stored in the cache when the collection of the inspected object is completed. At this time, the end mark is between two object X-ray imaging data, indicating that the first object X-ray imaging data of the next inspected object pushes the blank X-ray imaging data for security inspection image display, and the second object X-ray imaging data of the next inspected object pushes the first object X-ray imaging data of the next inspected object for security inspection image display.
[0086] That is to say, the X-ray imaging data of the last inspected item has been pushed out for security inspection image display, and the X-ray imaging data of the item before the end mark belongs to the last inspected item. Therefore, it can be determined that the inspected item to which the X-ray imaging data of the item before the end mark belongs has completed collection, and then the security inspection image of the inspected item can be displayed based on the X-ray imaging data of the item before the end mark. Specifically, the security inspection image corresponding to the inspected item can be obtained and displayed based on the X-ray imaging data of the item before the end mark and the blank X-ray imaging data corresponding to the end mark through an image processing algorithm.
[0087] For example, assuming that the data is arranged as follows: item X-ray imaging data 1, item X-ray imaging data 2, item X-ray imaging data 3, blank X-ray imaging data carrying an end mark, and item X-ray imaging data 4, and item X-ray imaging data 1-item X-ray imaging data 3 belong to inspected item 1, then it can be determined that the collection of inspected item 1 is complete, and through an image processing algorithm, image processing is performed based on item X-ray imaging data 1-item X-ray imaging data 3 to obtain and display a security inspection image corresponding to inspected item 1.
[0088] In the second embodiment, the end mark is at the end of all the X-ray imaging data of the items, which also indicates that the collection of the inspected items is completed. Since all the X-ray imaging data of the items belong to the inspected items, the security inspection image of the inspected items can be displayed based on the X-ray imaging data of all the items. Specifically, the security inspection image corresponding to the inspected items can be obtained based on the X-ray imaging data of all the items and the blank X-ray imaging data corresponding to the end mark through an image processing algorithm, and the security inspection image can be displayed.
[0089] For example, assuming that the data is arranged as follows: item X-ray imaging data 1, item X-ray imaging data 2, item X-ray imaging data 3, and blank X-ray imaging data carrying an end mark, and item X-ray imaging data 1-item X-ray imaging data 3 belong to inspected item 1, then an image processing algorithm can be used to perform image processing based on all item X-ray imaging data to obtain and display a security inspection image corresponding to inspected item 1.
[0090] It can be seen that in the embodiments of the present application, through the above two implementation modes, the control device can quickly and accurately determine the object X-ray imaging data corresponding to the inspected object, and then perform image processing on the determined object X-ray imaging data to obtain the security inspection image of the inspected object, and display the security inspection image.
[0091] As an implementation of the present application, when the above-mentioned end mark is between two X-ray imaging data of the object, such as Figure 4 As shown, the above method may also include:
[0092] S401, discarding the blank X-ray imaging data carrying the end mark;
[0093] When the end mark is between two X-ray imaging data of items, it means that the image X-ray imaging data of the next inspected item has been collected. At this time, the control device can discard the blank X-ray imaging data carrying the end mark, thereby avoiding a blank portion at the beginning of the security inspection image corresponding to the next inspected item.
[0094] S402, continue to obtain the X-ray imaging data of the object collected by the security inspection device until the end mark is detected, and display the security inspection image of the inspected object based on the X-ray imaging data of the object after the discarded blank bar data and the X-ray imaging data of the object that continues to be obtained.
[0095] Next, the control device can continue to obtain the X-ray imaging data of the item collected by the security inspection device, that is, the X-ray imaging data of the next inspected item. When the end mark is detected, it means that the collection of the next inspected item is completed, and then the security inspection image of the inspected item can be displayed based on the X-ray imaging data of the item after the discarded blank bar data and the X-ray imaging data of the item that continues to be obtained.
[0096] Specifically, through an image processing algorithm, based on the X-ray imaging data of the object after the discarded blank bar data, the X-ray imaging data of the object that continues to be acquired, and the blank X-ray imaging data corresponding to the end mark, a security inspection image corresponding to the inspected object can be obtained and displayed.
[0097] The object X-ray imaging data after the discarded blank X-ray imaging data is the earliest collected object X-ray imaging data of the next inspected object. The object X-ray imaging data after the discarded blank X-ray imaging data and the subsequently acquired object X-ray imaging data can constitute the complete object X-ray imaging data of the next inspected object.
[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 mark; continue to obtain the X-ray imaging data of the item collected by the security inspection device until the end mark is detected, and display the security inspection image of the inspected item based on the X-ray imaging data of the item after the discarded blank bar data and the X-ray imaging data of the item that continues to be obtained. Through the above implementation method, the blank X-ray imaging data is discarded, which can avoid the blankness of the starting part of the security inspection image corresponding to the next inspected item, thereby reducing the flickering of the display screen and the visual fatigue of the operator.
[0099] As an implementation method of an embodiment of the present application, the above-mentioned security inspection equipment may include a conveyor belt, a starting light barrier, a radiation source and a detector. The inspected object may pass through the starting light barrier and the collimation slits corresponding to the radiation source in sequence as the conveyor belt moves. In this case, Figure 5 As shown, the step of obtaining X-ray imaging data of the inspected article collected by the security inspection equipment on the inspected article during the process of the inspected article passing through the security inspection equipment channel may include:
[0100] S501, when the initial light barrier is triggered, start timing and record the time required for the inspected object to pass through the initial light barrier as a first time;
[0101] Continue as Figure 2 As shown, the security inspection device further includes a starting light barrier 209. The starting light barrier may be a photoelectric sensor, and when the inspected object passes through the starting light barrier, the starting light barrier will be triggered.
[0102] When the starting light barrier is triggered, it means that the head of the inspected object in the moving direction has passed the starting light barrier. The starting light barrier will not be triggered until the tail of the inspected object in the moving direction has passed the starting light barrier. Therefore, the control device can record the time when the starting light barrier is triggered, that is, the time required for the inspected object to pass the starting light barrier, as the first time.
[0103] In addition, since the data collected by the detector when the inspected object passes through the collimation slit is the X-ray imaging data of the object, in order to determine when the inspected object has been completely collected, the timing can be started when the starting light barrier is triggered, and when the timing time reaches the stop time, it is determined that the inspected object has been completely collected.
[0104] The stop time is the sum of the first time and the second time, and the second time 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 inspected object 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 uniform speed, the second 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 speed of the conveyor belt is unstable, that is, the actual speed of the conveyor belt fluctuates around the rated speed, in order to ensure that when the timing duration reaches the second duration, the inspected object passes through the collimation slit at the tail of the moving direction, the sum of the distance between the starting light barrier and the collimation slit and the preset distance can be calculated, and then the quotient of the above sum and the rated speed of the conveyor belt is calculated to obtain the second duration. Among them, the preset distance can be set according to the fluctuation of the speed of the conveyor belt, for example, it can be 3cm, 5cm, etc., which is not specifically limited here.
[0106] S502, acquiring X-ray imaging data of the inspected object collected by the detector in real time; when the timing duration reaches the stop duration, executing step S503;
[0107] Next, the control device can obtain the item data collected by the detector on the inspected item in real time. If the timing duration reaches the stop duration, it means that the tail of the inspected item in the moving direction passes through the collimation slit, that is, the inspected item has been collected, and the control device can execute step S503.
[0108] S503, controlling the detector to be turned off to stop collecting X-ray imaging data of the object, and after the detector is turned off, controlling the radiation source to be turned off.
[0109] In order to avoid collecting blank X-ray imaging data, the control device can control the detector to turn off when the timing time reaches the second time, thereby stopping collecting the X-ray imaging data of the inspected object. Since after the detector is turned off, the energy fluctuation generated by the radiation source from being turned off to reaching a stable state will not be collected by the detector, the control device can control the radiation source to turn off after the detector is turned off.
[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 time required for the inspected object to pass through the starting light barrier as the first time; obtain the X-ray imaging data of the inspected object collected by the detector in real time; when the timing time reaches the stop time, control the detector to turn off to stop collecting the X-ray imaging data of the object, and after the detector is turned off, control the radiation source to turn off, wherein the stop time is the sum of the first time and the second time, and the second time 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 implementation, the moment when the inspected object is collected can be determined by timing, and then the detector can be turned off at this moment. In this way, it can be ensured that the end of the object X-ray imaging data does not include blank X-ray imaging data, thereby reducing the flickering of the display screen and the visual fatigue of the operator.
[0111] As an implementation of the embodiment of the present application, when the above-mentioned starting light barrier is triggered, Figure 6 As shown, the above method may also include:
[0112] S601, turning on the radiation source; when the timing duration reaches the turning-on duration, executing step S602;
[0113] Since energy fluctuations will also be generated in the process of the radiation source being turned on to reaching a stable state, in order to prevent the above energy fluctuations from 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 time reaches the turn-on time.
[0114] The on time is longer than the time required for the ray source to reach energy stability, so that it can be ensured that the ray source has reached an energy stable state when the detector is turned on. In addition, the on time is not longer than the second time, and the second time is the time required for the inspected object to move from the starting light barrier to the collimation slit. Since the on time is not longer than the second time, it can be ensured that when the inspected object reaches the collimation slit, the detector is already in the on state, so that the complete inspected object can be collected.
[0115] In one embodiment, the on time is longer than the time required for the radiation source to stabilize the energy, and the on time is equal to the second time. In this way, the detector can be turned on when the head of the inspected object reaches the collimation slit in the moving direction, so that the beginning of the X-ray imaging data of the object does not include blank X-ray imaging data, and further, the beginning of the inspected object in the security inspection image also does not include a blank part.
[0116] S602, turning on the detector.
[0117] When the timing duration reaches the opening 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 radiation source; when the timing time reaches the turn-on time, the detector is turned on, wherein the turn-on time is greater than the time required for the radiation source to stabilize the energy, and the turn-on time is not greater than the second time. In this way, it is possible to avoid the energy fluctuations generated in the process from the radiation source being turned on to reaching a stable state from being collected by the detector, thereby avoiding the appearance of a dirty image. In addition, when the turn-on time is greater than the time required for the radiation source to stabilize the energy, and the turn-on time is equal to the second time, the beginning of the object X-ray imaging data does not include blank X-ray imaging data, and then the beginning of the inspected object in the security inspection image also does not include a blank part, which can further reduce the flickering of the display screen and the visual fatigue of the operator.
[0119] As an implementation method of an embodiment of the present application, the above-mentioned security inspection equipment may include a conveyor belt, a starting light barrier, an ending light barrier, a radiation source and a detector. The inspected items move with the conveyor belt, pass through the starting light barrier and the ending light barrier in sequence, and 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.
[0120] In this case, if Figure 7 As shown, the step of obtaining X-ray imaging data of the inspected article collected by the security inspection equipment on the inspected article during the process of the inspected article passing through the security inspection equipment channel may include:
[0121] S701, when the starting light barrier is triggered, obtaining the X-ray imaging data of the inspected object collected by the detector in real time; when the ending light barrier stops being triggered, executing step S702;
[0122] When the initial light barrier is triggered, it means that the inspected object has entered the security inspection equipment channel, and the control device can obtain the X-ray imaging data of the inspected object collected by the detector in real time.
[0123] S702, controlling the detector to be turned off to stop collecting X-ray imaging data of the object, and after the detector is turned off, controlling the radiation source to be turned off.
[0124] Continue as Figure 2 As shown, the security inspection device may further include a termination light barrier 210. The termination light barrier may be a photoelectric sensor, and when the inspected object passes through the termination light barrier, the termination light barrier will be triggered.
[0125] The distance between the terminating light barrier and the starting light barrier is not less than the distance between the collimating slit corresponding to the ray source and the starting light barrier, that is, in the moving direction of the conveyor belt, the position of the terminating light barrier can be aligned with the position of the collimating slit, or the position of the terminating light barrier is before the position of the collimating slit.
[0126] Furthermore, the distance between the terminating light barrier and the collimating slit is less than a preset distance, wherein the preset distance can be set according to actual needs, for example, specifically 2 cm, 3 cm, etc., which is not specifically limited here.
[0127] When the head of the inspected object in the moving direction passes through the termination light barrier, the termination light barrier begins to be triggered. While the inspected object passes through the termination light barrier, the termination light barrier continues to be triggered. When the tail of the inspected object in the moving direction leaves the termination light barrier, the termination light barrier stops being triggered.
[0128] Since the distance between the end light barrier and the start light barrier is not less than the distance between the collimation slit corresponding to the ray source and the start light barrier, when the end light barrier stops being triggered, the inspected object has completely passed through the collimation slit, that is, the detector has collected complete data of the inspected object. At this time, the control device can control the detector to turn off to stop collecting X-ray imaging data of the object, and after the detector is turned off, control the ray source to turn off.
[0129] It can be seen that in the embodiment of the present application, the control device can obtain the X-ray imaging data of the object collected by the detector on the inspected object in real time when the starting light barrier is triggered; when the ending light barrier stops being triggered, the detector is controlled to be turned off to stop collecting the X-ray imaging data of the object, and after the detector is turned off, the radiation source is controlled to be turned off. In this way, it can be ensured that the end of the X-ray imaging data of the object does not include blank X-ray imaging data, thereby reducing the flickering of the display screen and the visual fatigue of the operator.
[0130] As an implementation method of the present application, a flowchart of a security inspection image display method can be as follows: Figure 8 As shown, the following steps may be specifically included:
[0131] S801, when the light barrier is triggered, start timing;
[0132] When the light barrier is triggered, it means that the head of the inspected object in the moving direction has reached the light barrier, and timing can start at this time.
[0133] S802, the timing duration reaches the stop duration, and the detector is turned off;
[0134] When the timing time reaches the stop time, it means that the tail of the inspected object in the moving direction reaches the collimation slit, and the detector can be turned off at this time.
[0135] S803, obtaining X-ray imaging data of the object;
[0136] The control device can obtain the X-ray imaging data of the inspected object collected by the detector.
[0137] S804, push one more blank X-ray imaging data;
[0138] Next, the control device can push one more blank X-ray imaging data after the inspected object is collected, thereby pushing the last X-ray imaging data of the inspected object to the image processing algorithm.
[0139] S805, determining whether the end mark is between two X-ray imaging data of the object; if the end mark is between two X-ray imaging data of the object, executing step S806; if the end mark is at the end of all X-ray imaging data of the object, executing step S807;
[0140] The control device can determine whether the end mark is between two X-ray imaging data of the objects, and then perform image processing in a corresponding manner to obtain a security inspection image.
[0141] S806, determining that the X-ray imaging data of the item before the end mark belongs to the inspected item to which the collection is completed, and obtaining a security inspection image through an image processing algorithm based on the X-ray imaging data of the item before the end mark and the blank X-ray imaging data corresponding to the end mark;
[0142] When the end mark is between two X-ray imaging data of an object, the control device can determine that the X-ray imaging data of the object before the end mark has completed the collection. Then, the image processing algorithm can be used to perform image processing based on the X-ray imaging data of the object before the end mark and the blank X-ray imaging data corresponding to the end mark to obtain a security inspection image.
[0143] S807, obtaining a security inspection image through an image processing algorithm based on the X-ray imaging data of all items and the blank X-ray imaging data corresponding to the end mark;
[0144] If the end mark is at the end of all the X-ray imaging data of the items, it means that all the X-ray imaging data of the items belong to the same inspected item. Then the control device can use an image processing algorithm to perform image processing based on the X-ray imaging data of all the items and the blank X-ray imaging data corresponding to the end mark to obtain a security inspection image and display the security inspection image.
[0145] S811, obtaining X-ray imaging data of the next object to be inspected;
[0146] When the next inspected object passes through the security inspection device channel, the control device can obtain the object X-ray imaging data of the next inspected object.
[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 inspected item. When the next inspected item is collected, the control device can execute step S804 to push the last X-ray imaging data of the next inspected item to the image processing algorithm. Then, the control device can obtain the security inspection image corresponding to the next inspected item through the image processing algorithm based on the X-ray imaging data of the item after the discarded blank strip data, the X-ray imaging data of the item that continues to be obtained, and the blank X-ray imaging data corresponding to the end mark, and display the security inspection image.
[0149] In the technical solution of this application, the operations involved in obtaining, storing, using, processing, transmitting, providing and disclosing user personal information are all carried out with the user's authorization.
[0150] Corresponding to the above-mentioned method for displaying a security inspection image, an embodiment of the present application further provides a device for displaying a security inspection image. The following is an introduction to a device for displaying a security inspection image provided by an embodiment of the present application.
[0151] like Fig. 9 As shown, a device for determining the number of stacked objects is applied to a control device in an image display system, wherein the image display system also includes a security inspection device, and the device includes:
[0152] The data acquisition module 901 is used to acquire X-ray imaging data of the inspected article collected by the security inspection equipment while the inspected article passes through the security inspection equipment channel;
[0153] The instruction sending module 902 is used to send a stop collection instruction to the security inspection device when the collection of the inspected object is completed, so that the security inspection device stops collecting the object X-ray imaging data of the inspected object, and turns off the radiation source after stopping collecting the object X-ray imaging data of the inspected object;
[0154] The first image display module 903 is used to use the pre-acquired blank X-ray imaging data as the end mark data of the inspected object, and display the security inspection image of the inspected object based on the object X-ray imaging data of the inspected object.
[0155] It can be seen that in the embodiment of the present application, when the inspected object passes through the security inspection device channel, the control device can obtain the item X-ray imaging data collected by the security inspection device for the inspected object; when the inspected object is collected, a stop collection instruction is sent to the security inspection device to make the security inspection device stop collecting the item X-ray imaging data of the inspected object, and turn off the radiation source after stopping collecting the item X-ray imaging data of the inspected object; the pre-acquired blank X-ray imaging data is used as the end mark data of the inspected object, and based on the item X-ray imaging data of the inspected object, the security inspection image of the inspected object 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 inspected object is 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 inspected object 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 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 technology, blank X-ray imaging data is collected when collecting X-ray imaging data of the object. Therefore, the blank X-ray imaging data will be displayed as a part of the X-ray imaging data of the object. In the method provided in the embodiment of the present application, the pre-acquired blank X-ray imaging data is used as the end mark data of the inspected object. Since the blank X-ray imaging data is acquired in advance instead of being acquired together with the X-ray imaging data of the object, the edge processing can be directly based on the pre-acquired blank X-ray imaging data during the processing of the security inspection image. 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 in the embodiment of the present application, the flickering of the display screen and the visual fatigue of the operator can be reduced while ensuring the normal edge processing of the X-ray imaging data of the object.
[0156] As an implementation method provided by an embodiment of the present application, the X-ray imaging data of the item collected by the security inspection device is stored in a cache. When the X-ray imaging data of the item is stored in the cache, the last X-ray imaging data of the item stored in the cache is pushed out for security inspection image display. In this case, the first image display module 903 may include:
[0157] A data storage submodule, used for storing the pre-acquired blank X-ray imaging data in the cache when the collection of the inspected object is completed, so as to push the last X-ray imaging data of the inspected object from the cache for security inspection image display;
[0158] The image display submodule is used to use the pre-acquired blank X-ray imaging data as the end mark data of the inspected object, and display the security inspection image of the inspected object based on the object X-ray imaging data pushed out from the cache.
[0159] As an implementation method provided in an embodiment of the present application, the blank X-ray imaging data may carry an end mark. In this case, the image display submodule may include:
[0160] A first image display unit is used to determine that the inspection object to which the object X-ray imaging data before the end mark belongs has completed collection when the end mark is between two object X-ray imaging data, and to display the security inspection image of the inspection object based on the object X-ray imaging data before the end mark;
[0161] The second image display unit is used to display the security inspection image of the inspected object based on all the X-ray imaging data of the object when the end mark is at the end of all the X-ray imaging data of the object.
[0162] As an implementation method provided in an embodiment of the present application, when the end mark is between two X-ray imaging data of the object, the device may further include:
[0163] A data discarding module, used for discarding the blank X-ray imaging data carrying the end mark;
[0164] The second image display module is used to continue to obtain the X-ray imaging data of the object collected by the security inspection device until the end mark is detected, and to display the security inspection image of the inspected object based on the X-ray imaging data of the object after the discarded blank bar data and the X-ray imaging data of the object that continues to be obtained.
[0165] 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, a radiation source, and a detector. The inspected object may pass through the starting light barrier and the collimation slits corresponding to the radiation source in sequence as the conveyor belt moves. The data acquisition module 901 may include:
[0166] a timing submodule, configured to start timing when the starting light barrier is triggered, and record the time required for the inspected object to pass through the starting light barrier as a first time;
[0167] A first data acquisition submodule, used for acquiring in real time the X-ray imaging data of the inspected object collected by the detector;
[0168] The first control submodule is used to control the detector to turn off when the timing time reaches the stop time so as to stop collecting the X-ray imaging data of the object, and control the radiation source to turn off after the detector is turned off, wherein the stop time is the sum of the first time and the second time, and the second time is calculated based on the speed of the conveyor belt and the distance between the starting 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 radiation source activation module, used for activating the radiation 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 by an embodiment of the present application, the security inspection equipment may include a conveyor belt, a starting light barrier, a terminating light barrier, a radiation source, and a detector. The inspected article moves along 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 collimating slit corresponding to the radiation source and the starting light barrier, and the distance between the terminating light barrier and the collimating slit is less than the preset distance. In this case, the data acquisition module 901 may include:
[0173] A second data acquisition submodule is used to acquire, in real time, X-ray imaging data of the inspected object collected by the detector when the initial light barrier is triggered;
[0174] The second control submodule is used to control the detector to be turned off to stop collecting X-ray imaging data of the object when the termination light barrier stops being 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 above-mentioned blank X-ray imaging data is not used for displaying the security inspection image of the inspected object.
[0176] The present application also provides a control device, such as Fig.10 As shown, including:
[0177] Memory 1001, used for storing computer programs;
[0178] The processor 1002 is used 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, when the inspected object passes through the security inspection device channel, the control device can obtain the item X-ray imaging data collected by the security inspection device for the inspected object; when the inspected object is collected, a stop collection instruction is sent to the security inspection device to make the security inspection device stop collecting the item X-ray imaging data of the inspected object, and turn off the radiation source after stopping collecting the item X-ray imaging data of the inspected object; the pre-acquired blank X-ray imaging data is used as the end mark data of the inspected object, and based on the item X-ray imaging data of the inspected object, the security inspection image of the inspected object 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 inspected object is 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 inspected object 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 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 technology, blank X-ray imaging data is collected when collecting X-ray imaging data of the object. Therefore, the blank X-ray imaging data will be displayed as a part of the X-ray imaging data of the object. In the method provided in the embodiment of the present application, the pre-acquired blank X-ray imaging data is used as the end mark data of the inspected object. Since the blank X-ray imaging data is acquired in advance instead of being acquired together with the X-ray imaging data of the object, the edge processing can be directly based on the pre-acquired blank X-ray imaging data during the processing of the security inspection image. 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 in the embodiment of the present application, the flickering of the display screen and the visual fatigue of the operator can be reduced while ensuring the normal edge processing of the X-ray imaging data of the object.
[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. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one 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 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 above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can 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 in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned security inspection image display methods are implemented.
[0186] In another embodiment provided in the present application, a computer program product including instructions is also provided. When the computer program product is run on a computer, the computer executes any of the security inspection image display methods in the above 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 process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may 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 available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a solid-state hard disk (SSD), etc.
[0188] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0189] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, control device, computer-readable storage medium, and computer program product embodiments, 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 description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims
1. A method for displaying a security inspection image, characterized in that: A control device applied to an image display system, wherein the image display system further comprises a security inspection device, and the method comprises: When the inspected article passes through the security inspection equipment channel, obtaining the X-ray imaging data of the inspected article collected by the security inspection equipment; When the collection of the inspected object is completed, sending a stop collection instruction to the security inspection device, so that the security inspection device stops collecting the object X-ray imaging data of the inspected object, and turns off the radiation source after stopping collecting the object X-ray imaging data of the inspected object; The pre-acquired blank X-ray imaging data is used as the end mark data of the inspected object, and based on the object X-ray imaging data of the inspected object, the security inspection image of the inspected object is displayed.
2. The method according to claim 1, characterized in that The X-ray imaging data of the item collected by the security inspection device is stored in a cache. When the X-ray imaging data of the item is stored in the cache, the last X-ray imaging data of the item stored in the cache is pushed out for security inspection image display; The step of using the pre-acquired blank X-ray imaging data as the end mark data of the inspected object and displaying the security inspection image of the inspected object based on the object X-ray imaging data of the inspected object includes: When the inspection object is collected, the pre-acquired blank X-ray imaging data is stored in the cache, so that the last X-ray imaging data of the inspection object is pushed out from the cache for security inspection image display; The pre-acquired blank X-ray imaging data is used as the end mark data of the inspected object, and the security inspection image of the inspected object is displayed based on the object X-ray imaging data pushed out from the buffer.
3. The method according to claim 2, characterized in that The blank X-ray imaging data carries an end mark; The step of using the pre-acquired blank X-ray imaging data as the end mark data of the inspected object and displaying the security inspection image of the inspected object based on the object X-ray imaging data pushed out from the cache includes: In the case where the end mark is between two object X-ray imaging data, determining that the object to which the object X-ray imaging data before the end mark belongs has completed collection, and displaying the security inspection image of the object to be inspected based on the object X-ray imaging data before the end mark; When the end mark is at the end of all the X-ray imaging data of the object, the security inspection image of the inspected object is displayed based on all the X-ray imaging data of the object.
4. The method according to claim 3, characterized in that In the case where the end mark is between two X-ray imaging data of the object, the method further includes: discarding the blank X-ray imaging data carrying the end mark; Continue to obtain the X-ray imaging data of the object collected by the security inspection device until the end mark is detected, and display the security inspection image of the inspected object based on the X-ray imaging data of the object after the discarded blank bar data and the X-ray imaging data of the object that continues to be obtained.
5. The method according to any one of claims 1 to 4, characterized in that: The security inspection equipment comprises a conveyor belt, a starting light barrier, a radiation source and a detector. The inspected object moves along with the conveyor belt and passes through the starting light barrier and the collimation slits corresponding to the radiation source in sequence. The step of obtaining X-ray imaging data of the inspected article collected by the security inspection equipment on the inspected article during the process of the inspected article passing through the security inspection equipment channel comprises: When the initial light barrier is triggered, start timing and record the time required for the inspected object to pass through the initial light barrier as a first time; Acquiring in real time X-ray imaging data of the inspected object collected by the detector; When the timing duration reaches the stop duration, the detector is controlled to be turned off to stop collecting X-ray imaging data of the object, and after the detector is turned off, the radiation source is controlled to be turned off, wherein 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 starting light barrier and the collimation slit.
6. The method according to claim 5, characterized in that In the case where the initial light barrier is triggered, the method further comprises: Turning on the radiation source; When the timing duration reaches the opening duration, the detector is turned on, wherein the opening duration is greater than the duration required for the energy of the radiation source to stabilize, and the opening duration is not greater than the second duration.
7. The method according to any one of claims 1 to 4, characterized in that: The security inspection equipment comprises a conveyor belt, a starting light barrier, a terminating light barrier, a radiation source and a detector. The inspected article 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 collimating slit corresponding to the radiation source and the starting light barrier, and the distance between the terminating light barrier and the collimating slit is less than a preset distance. The step of obtaining X-ray imaging data of the inspected article collected by the security inspection equipment on the inspected article during the process of the inspected article passing through the security inspection equipment channel comprises: When the initial light barrier is triggered, obtaining X-ray imaging data of the inspected object collected by the detector in real time; When the termination light barrier stops being triggered, the detector is controlled to be turned off to stop collecting X-ray imaging data of the object, and after the detector is turned off, the radiation source is controlled to be turned off.
8. The method according to any one of claims 1 to 4, characterized in that: The blank X-ray imaging data is not used for displaying the security inspection image of the inspected object.
9. A display device for security inspection images, characterized in that: A control device applied to an image display system, wherein the image display system further includes a security inspection device, and the device includes: A data acquisition module, used to acquire X-ray imaging data of the inspected article collected by the security inspection equipment on the inspected article when the inspected article passes through the security inspection equipment channel; an instruction sending module, configured to send a stop collection instruction to the security inspection device when the collection of the inspected object is completed, so that the security inspection device stops collecting the object X-ray imaging data of the inspected object, and turns off the radiation source after stopping collecting the object X-ray imaging data of the inspected object; The image display module is used to use the pre-acquired blank X-ray imaging data as the end mark data of the inspected object, and display the security inspection image of the inspected object based on the object X-ray imaging data of the inspected object.
10. A control device, characterized in that: include: Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-8 when executing a program stored in a memory.
Citation Information
Patent Citations
X-ray scanning method and scanning system
CN104777178A
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
Display method for diagnosing system
JP1989259433A