An image processing method for security screening equipment

By centrally interpreting and storing X-ray images from security inspection equipment, the problems of uneven image interpretation and processing by third-party integrated systems in existing technologies are solved, achieving efficient image processing and interpretation.

CN114138999BActive Publication Date: 2025-11-21BEIJING HANGXING MACHINERY MFG CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111495008.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-08
Publication Date
2025-11-21
Estimated Expiration
2041-12-08

AI Technical Summary

Technical Problem

The image interpretation capabilities of existing security inspection equipment are insufficient to meet the needs of security inspection business development, and the images provided to third-party integration systems are difficult to process further.

Method used

By centrally interpreting the X-ray images generated by security inspection equipment, rationally allocating image data, and uploading the original images to a centralized storage device, image processing can be supported by third-party integrated systems.

Benefits of technology

It achieves balanced image interpretation of security inspection equipment, improves interpretation efficiency, meets the needs of security inspection business development, and allows third-party integrated systems to perform professional image processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114138999B_ABST
    Figure CN114138999B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of image processing methods for security inspection equipment, belong to security inspection technical field, it is difficult to meet the needs of image interpretation of image interpretation for the development of security inspection service and the image provided is difficult to meet the needs of third party integrated system problem.Method comprising the following steps: when the X-ray image of security inspection equipment is formed, the column data of the X-ray image formed is numbered in turn, and the row package image to which each column data belongs is judged;For each row package image, match the corresponding terminal of judging image, and send the column data of each row package image to the corresponding terminal of judging image, and the terminal of judging image is displayed according to the column data number received row package image, and centralized interpretation is carried out;The corresponding ray original image of each row package image is obtained, and each ray original image is uploaded to centralized storage;When third party integrated system needs to carry out image processing on row package image, corresponding ray original image is downloaded in centralized storage to carry out corresponding image processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of security inspection technology, and in particular to an image processing method for security inspection equipment. Background Technology

[0002] X-ray security inspection equipment is a commonly used specialized device that uses X-ray imaging to perform non-invasive inspections of luggage. The standard configuration of all X-ray security inspection equipment manufactured by security inspection companies includes an X-ray source, detector, and the conveyor belt and passageway through which the inspected luggage passes. These components are generally encapsulated as a single unit in a metal casing. The operating terminal is connected to the equipment body via a dedicated cable. It can display X-ray images for inspection personnel to examine and interpret, and can also be operated and controlled via the operating terminal. However, because the operating terminal needs to be connected to the equipment body via a dedicated cable, there must be a one-to-one binding relationship between the operating terminal and the X-ray security inspection equipment. Furthermore, the placement of the operating terminal is limited by the dedicated cable; generally, the distance between the operating terminal and the equipment body cannot exceed 200 meters. Under these conditions, security personnel or inspectors operating X-ray security inspection equipment for image interpretation must work next to the X-ray security inspection equipment, and the number of them must be the same as the number of X-ray security inspection equipment. Due to the different levels of busyness at each security checkpoint, the utilization rate of security personnel is uneven, resulting in a certain degree of personnel waste and also limiting the development of security inspection business to some extent.

[0003] Meanwhile, the core principle of X-ray security inspection equipment is that it uses X-rays of different energy spectra to scan baggage, analyzes and processes the output signals and the differences between the output signals of different energy spectra, obtains the material information of the inspected baggage, and assigns different colors to the image, giving the image both grayscale resolution and material resolution capabilities. Later, when querying and playing back the inspected images, a dedicated image display tool is used to convert them into displayable images with color pixel values ​​and display them on a monitor. However, both the initial synchronous display during acquisition and the secondary display during query and playback are done using a dedicated image conversion and display tool developed by the manufacturer. This dedicated image conversion and display tool must be compatible with the original image format stored by the manufacturer to function properly. Because the file format and image display tools for raw X-ray images are defined by each manufacturer and are core technologies that each manufacturer strives to protect, raw X-ray images cannot be displayed in the integrated information system when X-ray equipment is integrated by a third-party system. Currently, X-ray equipment manufacturers convert the saved raw X-ray images into common JPG or BMP image formats before sending them to the third-party integrated information system for display. However, this only meets general browsing needs and is insufficient for professional image interpretation, increasingly failing to meet the needs of end users.

[0004] Therefore, the existing security inspection equipment image processing is insufficient to meet the image interpretation needs of the security inspection business development. Furthermore, the images provided by the existing security inspection equipment to third-party integration systems are difficult to further process, and cannot meet the image usage needs of third-party integration systems. Summary of the Invention

[0005] Based on the above analysis, the embodiments of the present invention aim to provide an image processing method for security inspection equipment, in order to solve the problems that existing image interpretation methods are difficult to meet the needs of security inspection business development and that the provided images are difficult to meet the needs of third-party integrated systems.

[0006] This invention provides an image processing method for security inspection equipment, comprising the following steps:

[0007] When the security inspection equipment generates an X-ray image, the column data of the generated X-ray image are numbered sequentially, and the bag image to which each column data belongs is determined.

[0008] For each row of images, a corresponding image judgment terminal is matched, and the column data of each row of images is sent to the corresponding image judgment terminal. The image judgment terminal displays the row of images according to the received column data number and performs centralized judgment.

[0009] Obtain the original ray image corresponding to each row of the packet image, and upload each original ray image to the centralized storage;

[0010] When a third-party integrated system needs to perform image processing on a baggage image, it downloads the corresponding raw ray image from a centralized storage device and performs the appropriate image processing.

[0011] Furthermore, the step of obtaining the original ray image corresponding to each row of packet images and uploading each original ray image to a centralized storage device specifically involves:

[0012] Based on each generated row of package images, the corresponding original ray image is obtained and uniformly named; wherein, the original ray image includes grayscale data and material data;

[0013] Upload the raw X-ray images, which have been uniformly named, to a centralized storage device;

[0014] The centralized storage also converts the uniformly named original X-ray images into image files in a universal format, and sends the universal format image files to a third-party integration system so that the third-party integration system can determine whether image processing is required. The universal format image files have the same name as the corresponding original X-ray images.

[0015] Furthermore, when a third-party integration system needs to perform image processing on the baggage image, it downloads the corresponding raw ray image from the centralized storage and performs the appropriate image processing, specifically as follows:

[0016] Download the corresponding raw ray image from the centralized storage according to the name of the image file in the common format corresponding to the baggage image;

[0017] The corresponding colors in the color lookup table are obtained from the grayscale data and material data of the original X-ray image, thus obtaining the baggage image. The baggage image is then processed. The color lookup table integrates the colors corresponding to various grayscale data and material data and is stored in a third-party integrated system.

[0018] Furthermore, the image processing includes one or more of the following: brightening, darkening, edge enhancement, super enhancement, pseudo-color, brightness scanning, organic matter removal, inorganic matter removal, magnification, and reduction.

[0019] Furthermore, centralized interpretation is performed by executing the following steps:

[0020] Based on the generation order of each row of packet images, the corresponding image judgment terminal is matched for each row of packet images in turn;

[0021] The column data of the baggage images generated by the current security inspection equipment and matched by the image judgment terminal are sent sequentially to the corresponding image judgment terminal;

[0022] Based on the number of the received column data, the image interpretation terminal sequentially displays the column data to form the corresponding baggage image, then interprets it and returns the interpretation result to the current security inspection equipment.

[0023] Further, the image matching terminal corresponding to each row of packet images includes:

[0024] Based on preset conditions, detect whether there are any idle image-judging terminals within the range of available image-judging terminals of the current security inspection equipment;

[0025] If there is an idle image-judging terminal, the earliest idle image-judging terminal will be used as the image-judging terminal corresponding to the packet image.

[0026] Furthermore, the interpretation result includes a final interpretation result and / or an intermediate interpretation result, wherein the intermediate interpretation result is the result of interpretation based on a portion of the baggage image displayed by the interpretation terminal, and the final interpretation result is the result of interpretation based on the complete baggage image displayed by the interpretation terminal.

[0027] Further, the step of sending the column data of the baggage image generated by the current security inspection equipment and matched to the image judgment terminal to the corresponding image judgment terminal includes:

[0028] Establish a communication connection between the current security inspection equipment and the image analysis terminal corresponding to the baggage image;

[0029] The column data belonging to the image of that row are sent to the corresponding image judgment terminal in sequence according to the set method;

[0030] When the current security inspection equipment receives the interpretation result returned by the corresponding image interpretation terminal, it disconnects the communication connection with the corresponding image interpretation terminal.

[0031] Further, the step of sending the column data belonging to the row packet image to the corresponding image judgment terminal according to the set method includes:

[0032] The column data belonging to the baggage image generated by the current security inspection equipment is sent to the corresponding image judgment terminal in groups of k columns. If the last column data belonging to the baggage image is less than k columns, the remaining column data is sent to the corresponding image judgment terminal as a group. Here, k is greater than or equal to 1 and less than the total number of columns of the baggage image column data.

[0033] Furthermore, the step of sending the column data belonging to the row packet image to the corresponding image judgment terminal according to the set method also includes:

[0034] The time interval between the earliest and latest column data generated by the current security inspection equipment for the baggage image is compared with a set time interval threshold.

[0035] If the time interval is longer than the set time interval, all column data belonging to the baggage image generated by the current security inspection equipment will be sent to the corresponding image judgment terminal.

[0036] Compared with the prior art, the present invention can achieve the following beneficial effects:

[0037] This invention provides an image processing method for security inspection equipment. By centrally interpreting the X-ray images generated by the security inspection equipment, it can achieve a reasonable allocation of baggage images, making the work more balanced, improving interpretation efficiency, and meeting the interpretation needs of security inspection business development. At the same time, by extracting and saving the corresponding original images of each baggage image to a centralized storage, it enables third-party integrated systems to download the corresponding original X-ray images and perform image processing on them when professional image judgment is required, thus meeting the image requirements of third-party integrated systems.

[0038] In this invention, the above-described technical solutions can be combined with each other to achieve more preferred combinations. Other features and advantages of this invention will be set forth in the following description, and some advantages may become apparent from the description or be learned by practicing the invention. The objects and other advantages of this invention can be realized and obtained from what is particularly pointed out in the description and drawings. Attached Figure Description

[0039] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Throughout the drawings, the same reference numerals denote the same parts.

[0040] Figure 1 This is a flowchart illustrating an image processing method for security inspection equipment provided in an embodiment of the present invention.

[0041] Figure 2 This is a schematic diagram of the connection of the centralized server in an embodiment of the present invention. Detailed Implementation

[0042] Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not intended to limit the scope of the present invention.

[0043] A specific embodiment of the present invention discloses an image processing method for security inspection equipment, such as... Figure 1 As shown, it includes the following steps:

[0044] S1. When the security inspection equipment generates an X-ray image, the column data of the generated X-ray image are numbered sequentially, and the baggage image to which each column data belongs is determined.

[0045] Specifically, after the security inspection equipment is turned on, the data from the first column of data that begins to form the X-ray image are numbered continuously until the security inspection equipment is turned off. In other words, the column data belonging to different bag images are not renumbered.

[0046] In implementation, step S1, determining the row packet image to which each column of data belongs, includes:

[0047] S11. If the column data generated from the initial column data of the current baggage image is greater than the air value image data for all consecutive m columns, then the current baggage image is determined to be a normal baggage image. Here, the air value image data is image data that does not contain baggage items. Here, the value of m is related to the size of the baggage itself and is greater than or equal to 1. It can be understood that when determining the baggage image to which the column data belongs, the generated column data is first assigned to a baggage image, and then it is determined whether they belong to the same baggage image. That is, after assigning the initial column data to the current baggage image, the subsequent generated column data is judged in turn. If the subsequent m generated column data all meet the above conditions, then the current baggage image is considered to be a normal baggage image.

[0048] Specifically, after the X-ray source and detector of the current X-ray security inspection equipment have been established, the image data values ​​collected when the current security inspection equipment is not inspecting any bags or items, that is, after turning on the X-ray in an empty channel, are used as the background value, i.e., air value image data, as the basis for determining the bag image to which the column data belongs.

[0049] Specifically, if the column data generated from the initial column data of the current baggage image is not all greater than the air value image data, then the current baggage image is determined to be an abnormal baggage image. The next column of the column data generated from the initial column data that is less than or equal to the air value image data is taken as the initial column data of the current baggage image and the judgment is performed again. Other data are considered abnormal data and are not processed.

[0050] S12. After determining that the baggage image is normal, if there are n consecutive columns of generated data that are all less than or equal to the air value image data, then the generation of column data for the current baggage image is considered complete. The last column of data before the generation of the n consecutive columns is taken as the last column of data for the current baggage image, and the first column of data after the generation of the n consecutive columns that is greater than the air value image data is taken as the initial column data for the next baggage image. Specifically, the first column of data generated after the current security inspection equipment is turned on that is greater than the air value image data is taken as the initial column data for the first baggage image; where n is greater than or equal to 1. It can be understood that after determining that the baggage image is normal, all column data from the initial column data until the last column data is determined are column data for the current baggage image. The determination of column data for the next baggage image only begins after the generation of the current baggage image is complete.

[0051] Preferably, m and n can be configured according to different security inspection equipment models and different application scenarios. For example, for the 6550 model security inspection equipment that inspects ordinary passengers' hand luggage, both m and n are configured to 8.

[0052] It should be noted that if there is a gap between two consecutive adjacent baggage items in the security inspection equipment that can be distinguished by the X-ray image, the baggage data described in the column data can be determined in the above manner; however, when there is no gap between two consecutive adjacent baggage items in the security inspection equipment or they may even overlap, the baggage images formed cannot be distinguished by the X-ray image. Therefore, the baggage data to which the column data belongs is also determined in the following manner.

[0053] Preferably, in step S1, determining the row packet image to which each column of data belongs further includes:

[0054] After determining that the image is a normal baggage image, if all column data from the initial column data to the latest generated column data of the current baggage image are greater than the air value image data when the number of columns reaches the set column number threshold, then the latest generated column data is used as the last column data of the current baggage image, and the next generated column data is used as the initial column data of the next baggage image. In other words, if there are no consecutive column data less than or equal to the air value image data after the initial column data until the number of columns reaches the column number threshold, then the current baggage image is forcibly segmented.

[0055] Specifically, the set column threshold is based on the length of the baggage image corresponding to the largest inspected baggage item in the actual use scenario of the current security inspection equipment, that is, the total number of columns of baggage images.

[0056] S2. Match each row packet image with a corresponding image judgment terminal, and send the column data of the row packet image to the corresponding image judgment terminal. The image judgment terminal displays the row packet image according to the received column data number and performs centralized judgment.

[0057] During implementation, in step S2, centralized interpretation is performed by executing the following steps:

[0058] S21. Based on the generation order of each bag image, the corresponding image judging terminal is matched sequentially for each bag image. It can be understood that the matching of the corresponding image judging terminal begins sequentially during the process of the current security inspection equipment generating images of each bag.

[0059] In implementation, step S21, which sequentially matches the image of each packet with the corresponding image, includes:

[0060] Based on preset conditions, detect whether there are any idle image-judging terminals within the range of available image-judging terminals of the current security inspection equipment;

[0061] If there is an idle image-judging terminal, the earliest idle image-judging terminal will be used as the image-judging terminal corresponding to the packet image.

[0062] Specifically, the preset conditions can be business attributes, such as airport business, subway business, railway business, etc. The image judgment terminal defines the scope based on the business attributes and determines the available image judgment terminals for the current security inspection equipment.

[0063] Specifically, after the initial column data for each row of bag images that has not been matched with a judgment terminal is generated, the system begins to detect whether there are any idle judgment terminals within the range of available judgment terminals currently available on the security inspection equipment. The detection time interval is set according to the actual situation, and the detection continues until a corresponding judgment terminal is matched. That is, according to the generation order of the bag images, the corresponding judgment terminals are matched for the bag images in turn, with priority given to matching the earliest generated bag image, and then matching for the next bag image in turn; the detection ends when all the bag images generated by the current security inspection equipment have been matched with corresponding judgment terminals.

[0064] For example, after the initial column data of a baggage image that has not been matched with a judgment terminal is generated, the system begins to detect whether there is an idle judgment terminal within the range of available judgment terminals of the current security inspection equipment. If no idle judgment terminal is found, the system checks the range of available judgment terminals once for each column of data generated after the initial column data, until a matching terminal is found for the baggage image. More specifically, if no matching judgment terminal is found by the end of the generation of the current baggage image, the system checks the range of available judgment terminals once for each column of data generated for the next image. If an idle judgment terminal is found, that judgment terminal is taken as the earliest generated baggage image that has not been matched with a corresponding judgment terminal, and so on, matching corresponding judgment terminals for baggage images that have not been matched with a corresponding judgment terminal, until all baggage images are matched with corresponding judgment terminals, at which point the detection ends; that is, the time interval for column data generation is used as the detection time interval.

[0065] Preferably, the image matching terminal that sequentially matches each row of packet images further includes:

[0066] If no idle image processing terminal is detected within the set time threshold, the image processing terminal will no longer be matched for that baggage image. Instead, the image will be processed locally, and the results will be displayed and stored. It is understood that if no idle image processing terminal is detected after the time threshold has expired, the image has exceeded the set time for centralized processing. Therefore, it will be processed, displayed, and stored locally to avoid delays in processing the image.

[0067] Specifically, the set time threshold can be set according to the actual situation.

[0068] S22. The column data of the baggage images generated by the current security inspection equipment and matched with the image judgment terminal are sent sequentially to the corresponding image judgment terminal. It can be understood that the baggage images generated by the current security inspection equipment and matched with the image judgment terminal may include multiple images, and the current security inspection equipment may send the column data of each baggage image to the corresponding image judgment terminal at the same time.

[0069] In implementation, step S22, which involves sending the column data of the baggage image generated by the current security inspection equipment and matched to the image-judging terminal to the corresponding image-judging terminal, includes:

[0070] S221. Establish a communication connection between the current security inspection equipment and the image judgment terminal corresponding to the baggage image;

[0071] S222. Send the column data belonging to the image of the row packet to the corresponding image judgment terminal in sequence according to the set method;

[0072] S223. When the current security inspection equipment receives the interpretation result returned by the corresponding image interpretation terminal, the communication connection with the corresponding image interpretation terminal is disconnected.

[0073] Specifically, after the baggage image is matched with the corresponding image judgment terminal, the current security inspection equipment immediately establishes a communication connection with the image judgment terminal.

[0074] More specifically, the communication connection is a network-based Socket connection. The image judgment terminal, acting as the connection server, always keeps a listener open. The security inspection equipment sends a connection request to the corresponding image judgment terminal. After receiving the connection request, the image judgment terminal establishes a connection. After completing the judgment, the image judgment terminal sends the judgment result to the security inspection equipment through the connection session. After receiving the judgment result, the security inspection equipment actively disconnects from the image judgment terminal.

[0075] More specifically, the connection status is used to determine whether the connection was successfully established. If the connection is not established, several attempts are made to establish the connection. If all attempts fail, the image judgment terminal is marked as faulty and removed from the matching range. Other image judgment terminals are then rematched for the current packet image.

[0076] In implementation, step S222, which involves sending the column data belonging to the row packet image to the corresponding image judgment terminal according to a set method, includes:

[0077] The column data belonging to the baggage image generated by the current security inspection equipment is sent sequentially to the corresponding image processing terminal in groups of k columns. If the last column data belonging to the baggage image is less than k columns, the remaining column data is sent as a group to the corresponding image processing terminal. Here, k is greater than or equal to 1 and less than the total number of columns in the baggage image. It can be understood that sending the baggage image column data in groups of k columns allows the transmission to begin during the baggage image formation process, avoiding the delay caused by sending the data only after the entire baggage image has been formed. For example, setting k to 1 means that the security inspection equipment sends the column data column by column.

[0078] Specifically, k is set according to the actual situation of the distance between the image interpretation terminal and the security inspection equipment, and the ratio of the number of image interpretation terminals to the number of security inspection equipment.

[0079] Preferably, k is set to 8, meaning the security inspection equipment sends data in groups of 8 columns.

[0080] In implementation, sending the column data belonging to the row packet image to the corresponding image judgment terminal according to the set method further includes:

[0081] The time interval between the earliest and latest column data generated by the current security inspection equipment for the baggage image is compared with a set time interval threshold.

[0082] If the time interval is greater than the set time interval, all column data belonging to the baggage image generated by the current security inspection equipment will be sent to the corresponding image judgment terminal.

[0083] Specifically, the set time interval is determined based on the actual distance between the image processing terminal and the security inspection equipment, and the ratio of the number of image processing terminals to the number of security inspection equipment.

[0084] Preferably, the time interval is set to 100 milliseconds, that is, when the time interval between the earliest column data generated and the latest column data generated for a baggage image exceeds 100 milliseconds, the security inspection device will send all column data generated for that baggage image.

[0085] It should be noted that the security inspection equipment generates column data, but due to the small number of image interpretation terminals or the small number of terminals in an idle state, the column data generated in the security inspection equipment may not be sent to the image interpretation terminals in a timely manner. If the waiting time for the same baggage image is too long, sending it sequentially will increase the transmission delay of the baggage image. Therefore, if the waiting time for the baggage image exceeds the set time interval, that is, exceeds the maximum allowable delay limit in practice, all baggage image data will be sent.

[0086] Specifically, when the current security inspection equipment sends each row of image data, it first caches the row of image data and marks whether the transmission was successful before sending each column of data. If the transmission fails, it attempts to resend. If the resend fails, it indicates a network failure. The image judgment terminal is then re-determined, and all column data of the row of image are resent.

[0087] S23. Based on the received column data numbers, the image interpretation terminal sequentially displays the column data to form the corresponding baggage image, then performs interpretation, and returns the interpretation result to the current security inspection equipment. It can be understood that the image interpretation terminal sequentially receives a set of column data for the baggage image and displays it according to the column data numbers, enabling the baggage images to be loaded and displayed group by group, allowing interpretation through some or all of the displayed baggage images.

[0088] In practice, the interpretation results include final interpretation results and / or intermediate interpretation results, wherein the intermediate interpretation results are the results of interpretation based on the partial baggage image displayed by the interpretation terminal, and the final interpretation results are the results of interpretation based on the complete baggage image displayed by the interpretation terminal.

[0089] Understandably, the image analysis terminal gradually loads and displays baggage images in the form of a scroll. When performing analysis, if there are doubts about the displayed portion of the baggage images, or if it can be determined from the displayed portion of the images that there are suspicious or prohibited items in the baggage, it can immediately provide feedback to the security inspection equipment for response and handling; it can also analyze and provide feedback on the analysis results based on the complete image generated by the image analysis terminal.

[0090] Preferably, when the image interpretation terminal returns the final image interpretation result, the security inspection equipment actively disconnects from the image interpretation terminal, interprets the complete image of the baggage, ensures the accuracy of the interpretation, and can also store the complete baggage image for later inspection.

[0091] During implementation, if the current column data is the last column data of the corresponding baggage image, then the column data is marked as the end column data of the corresponding baggage image;

[0092] Correspondingly, when the image judgment terminal corresponding to the baggage image receives the end column data, it determines that the received baggage image is a complete image, and then performs judgment based on the complete image to obtain the final judgment result, and returns the final judgment result to the current security inspection equipment.

[0093] Understandably, during the X-ray image generation process of the security inspection equipment, the system determines the baggage image to which each column of data belongs, and then matches it with the corresponding image interpretation terminal. The generated column data is then sent sequentially to the image interpretation terminal, which displays the corresponding images in turn, enabling centralized interpretation. This means that baggage data can be sent to the image interpretation terminal for interpretation simultaneously with the generation of the baggage image, keeping the latency of the image interpretation terminal within 200 milliseconds, achieving near-synchronous performance and better real-time capabilities. This allows the system to be used when baggage items are densely packed through the X-ray security inspection equipment, improving security efficiency and enhancing security effectiveness.

[0094] S3. Obtain the original ray image corresponding to each row of the packet image, and upload each original ray image to the centralized storage.

[0095] Those skilled in the art will understand that after determining the baggage image to which each column of data belongs, the original X-ray image corresponding to each baggage image can be obtained; therefore, steps S3 and S2 do not necessarily have a sequential relationship. The original X-ray image refers to the X-ray energy value superimposed with properties such as atomic number, density, and material, including grayscale data and material data, which is the baggage image without color assignment. The centralized storage is used to store the original X-ray images of each baggage image generated by each security inspection device and to provide them for download by third-party integrated systems. By connecting the security inspection devices to the network, the original X-ray image corresponding to each baggage image is uploaded to the centralized storage one by one.

[0096] In implementation, step S3, which involves acquiring the original ray image corresponding to each row of packet images and uploading each original ray image to a centralized storage device, specifically includes:

[0097] S31. Based on each generated row of package images, obtain the corresponding original X-ray image and uniformly name the original X-ray image; wherein, the original X-ray image includes grayscale data and material data. It should be noted that the obtained original X-ray images have different proprietary formats depending on the manufacturer of the security inspection equipment.

[0098] Specifically, the raw X-ray images are uniformly named according to the information of the security inspection equipment and the order of the generated baggage images. The naming can distinguish each security inspection equipment and each raw X-ray image obtained by each security inspection equipment. For example, they are named A01, A02, A03, B01, B02, and B03, respectively, where A and B represent two different security inspection equipment.

[0099] S32. Upload the original ray images with unified naming to the centralized storage.

[0100] S33. The centralized storage also converts the uniformly named raw X-ray images into universally formatted image files and sends these universally formatted image files to a third-party integration system. This allows the third-party integration system to determine whether image processing is required. The universally formatted image files have the same name as the corresponding raw X-ray images. Understandably, the third-party integration system can preview the universally formatted image files corresponding to the raw X-ray images and determine whether image processing is necessary based on the previewed images.

[0101] Specifically, such as Figure 2 As shown, the centralized storage device can receive and store raw X-ray images from different security inspection devices. It can also be connected to multiple third-party integrated systems via a network interface, enabling centralized management and downloading of raw X-ray images from different security inspection devices.

[0102] Specifically, the common formats are JPG or BMP.

[0103] S4. When a third-party integrated system needs to perform image processing on the baggage image, it performs the corresponding image processing by downloading the original ray image from the centralized storage.

[0104] Understandably, by storing the raw X-ray images of the baggage in a centralized storage device, the third-party integrated system can download the corresponding raw X-ray images and perform image processing on them when professional image judgment is required. This satisfies the professional image processing and judgment needs of the third-party integrated system. In other words, the function of displaying and processing baggage images in the third-party integrated system can be completed without the X-ray security inspection equipment manufacturer disclosing the raw X-ray image format and algorithm. This ensures that the image display and processing effect in the third-party integrated system is the same as that in the display terminal that comes with the security inspection equipment.

[0105] During implementation, in step S4, when the third-party integration system needs to perform image processing on the baggage image, it downloads the corresponding raw ray image from the centralized storage and performs the corresponding image processing, specifically as follows:

[0106] S41. Download the corresponding raw ray image from the centralized storage according to the name of the image file in the general format corresponding to the baggage image;

[0107] S42. Based on the grayscale data and material data of the original X-ray image, obtain the corresponding colors in the color lookup table to obtain the baggage image, and then perform corresponding image processing on the baggage image. The color lookup table integrates the colors corresponding to various grayscale and material data and is stored in a third-party integrated system. It should be noted that the baggage image can also be displayed even without image processing of the original X-ray image.

[0108] Understandably, the color components corresponding to each pixel in the baggage image are determined from the color lookup table based on the grayscale data and material data, and the color of each pixel in the baggage image is assigned to obtain the baggage image.

[0109] In specific implementation, the image processing includes one or more of the following: brightening, darkening, edge enhancement, super enhancement, pseudo-color, brightness scanning, organic matter removal, inorganic matter removal, magnification, and reduction.

[0110] Preferably, a unique authorization code can be generated based on the hardware information parameters of the third-party integrated system, such as the device's CPU, hard disk, and memory, and then encrypted and verified. Only after the third-party integrated system has decrypted and authorized the code can it download the corresponding original X-ray image from the centralized storage.

[0111] For example, an X-ray raw image display and processing terminal control is constructed. This control integrates a color lookup table corresponding to different materials and grayscale information; it integrates a programming language capable of opening the raw X-ray image, reading the grayscale and material data stored in the raw X-ray image, and then adding color to the image according to the color lookup table in the control before displaying it; it integrates image processing functions, including brightening, darkening, edge enhancement, super enhancement, pseudo-color, brightness scanning, organic matter removal, inorganic matter removal, magnification, and reduction operations; it integrates hardware information parameters of the computer device such as CPU, hard disk, and memory of the control, and then generates a unique authorization code, which is encrypted and verified in the program. By encapsulating the color lookup table, encryption and verification functions, and program implementation as a whole, a unified control that can be integrated and executed is constructed. This X-ray raw image display and processing terminal control can be integrated into software programs in third-party integration systems and integrated with other software programs into a unified interface; the overall interface style can be uniformly defined with the style of the third-party integration system and can be customized.

[0112] A terminal control for displaying and processing raw X-ray images is set up on the third-party integrated system. This control receives the name of the raw X-ray image that the third-party integrated system needs to process and loads it into the interface for display and processing via a centralized storage device. The control includes an image display area, an image processing function operation area, and a third-party integrated system information display area. The image display area can preview the image file in a common format corresponding to the baggage image and can also display the baggage image after image processing. The image processing function operation area is used to provide specific operation instructions for image processing. The third-party integrated system information display area is used to display its own relevant information.

[0113] Specifically, third-party integrated systems are designed according to specific business applications, such as information systems for civil aviation passenger security checks, information systems for cargo security checks, and customs' screen-to-screen comparison systems.

[0114] Compared with existing technologies, the image processing method for security inspection equipment provided in this embodiment can achieve reasonable allocation of baggage images by centrally interpreting the X-ray images generated by the security inspection equipment, making the work more balanced, improving interpretation efficiency, and meeting the interpretation needs of security inspection business development. At the same time, by extracting and saving the corresponding original images of each baggage image to a centralized storage, a third-party integrated system can download the corresponding original X-ray images and perform image processing on them when professional image judgment is required, thus meeting the image requirements of the third-party integrated system.

[0115] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.

[0116] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.

Claims

1. An image processing method for security inspection equipment, characterized in that, Includes the following steps: When the security inspection equipment generates an X-ray image, the column data of the generated X-ray image are numbered sequentially, and the baggage image to which each column belongs is determined. The determination of the baggage image to which each column belongs includes: if the column data generated for m consecutive columns starting from the initial column data of the current baggage image is all greater than the air value image data, then the current baggage image is determined to be a normal baggage image; where the air value image data is image data that does not contain baggage items; and m is greater than 1. After determining it to be a normal baggage image, if there are n consecutive columns of column data generated that are all less than or equal to the air value image data, then the generation of the current baggage image column data is determined to be finished. The last column of column data before the generation of the n consecutive columns is taken as the last column of column data of the current baggage image, and the first column of column data after the generation of the n consecutive columns that is greater than the air value image data is taken as the initial column data of the next baggage image. Specifically, the first column of column data generated after the current security inspection equipment is turned on that is greater than the air value image data is taken as the initial column data of the first baggage image; where n is greater than 1. For each row of images, a corresponding image judgment terminal is matched, and the column data of each row of images is sent to the corresponding image judgment terminal. The image judgment terminal displays the row of images according to the received column data number and performs centralized judgment. Obtain the original ray image corresponding to each row of the packet image, and upload each original ray image to the centralized storage; When a third-party integrated system needs to process the image of a baggage, it performs the corresponding image processing by downloading the original ray image from the centralized storage. The process of obtaining the original ray image corresponding to each row of packet images and uploading each original ray image to a centralized storage device specifically involves: Based on each generated row of package images, the corresponding original ray image is obtained and uniformly named; wherein, the original ray image includes grayscale data and material data; Upload the raw X-ray images, which have been uniformly named, to a centralized storage device; The centralized storage also converts the uniformly named raw X-ray images into image files in a universal format, and sends the universal format image files to a third-party integration system so that the third-party integration system can determine whether image processing is required. The universal format image files have the same name as the corresponding raw X-ray images. Centralized interpretation is performed by following these steps: Based on the generation order of each row of packet images, the corresponding image judgment terminal is matched for each row of packet images in turn; The column data of the baggage images generated by the current security inspection equipment and matched by the image judgment terminal are sent sequentially to the corresponding image judgment terminal; Based on the number of the received column data, the image interpretation terminal sequentially displays the column data to form the corresponding baggage image, then interprets it and returns the interpretation result to the current security inspection equipment.

2. The image processing method for security inspection equipment according to claim 1, characterized in that, When a third-party integrated system needs to process the packet image, it performs the corresponding image processing by downloading the original ray image from the centralized storage. Specifically: Download the corresponding raw ray image from the centralized storage according to the name of the image file in the common format corresponding to the baggage image; The corresponding colors in the color lookup table are obtained from the grayscale data and material data of the original X-ray image, thus obtaining the baggage image. The baggage image is then processed. The color lookup table integrates the colors corresponding to various grayscale data and material data and is stored in a third-party integrated system.

3. The image processing method for security inspection equipment according to claim 2, characterized in that, The image processing includes one or more of the following: brightening, darkening, edge enhancement, super enhancement, false color, brightness scanning, organic matter removal, inorganic matter removal, magnification, and reduction.

4. The image processing method for security inspection equipment according to claim 1, characterized in that, The image matching terminal for each row of packets in sequence includes: Based on preset conditions, detect whether there are any idle image-judging terminals within the range of available image-judging terminals of the current security inspection equipment; If there is an idle image-judging terminal, the earliest idle image-judging terminal will be used as the image-judging terminal corresponding to the packet image.

5. The image processing method for security inspection equipment according to claim 1, characterized in that, The interpretation results include final interpretation results and intermediate interpretation results. The intermediate interpretation results are the results of interpretation based on the partial baggage image displayed by the interpretation terminal, and the final interpretation results are the results of interpretation based on the complete baggage image displayed by the interpretation terminal.

6. The image processing method for security inspection equipment according to any one of claims 1-5, characterized in that, The step of sending the column data of the baggage image generated by the current security inspection equipment and matched to the image judgment terminal to the corresponding image judgment terminal includes: Establish a communication connection between the current security inspection equipment and the image analysis terminal corresponding to the baggage image; The column data belonging to the image of that row are sent to the corresponding image judgment terminal in sequence according to the set method; When the current security inspection equipment receives the interpretation result returned by the corresponding image interpretation terminal, it disconnects the communication connection with the corresponding image interpretation terminal.

7. The image processing method for security inspection equipment according to claim 6, characterized in that, The step of sending column data belonging to the row packet image to the corresponding image judgment terminal according to the set method includes: The column data belonging to the baggage image generated by the current security inspection equipment is sent to the corresponding image judgment terminal in groups of k columns. If the last column data belonging to the baggage image is less than k columns, the remaining column data is sent to the corresponding image judgment terminal as a group. Here, k is greater than or equal to 1 and less than the total number of columns of the baggage image column data.

8. The image processing method for security inspection equipment according to claim 7, characterized in that, The step of sending column data belonging to the row packet image to the corresponding image judgment terminal according to the set method also includes: The time interval between the earliest and latest column data generated by the current security inspection equipment for the baggage image is compared with a set time interval threshold. If the time interval is greater than the set time interval, all column data belonging to the baggage image generated by the current security inspection equipment will be sent to the corresponding image judgment terminal.

Citation Information

Patent Citations

  • Medical image storage system based on cloud computing and method thereof

    CN103607435A

  • Parallel human body security check system

    CN108229449A

  • Workpiece detection method, device and equipment and storage medium

    CN110264452A

  • System and method for centralized security screening

    US20040212492A1