Security inspection device penetration force enhancement method and device, electronic device, and storage medium

CN122989494APending Publication Date: 2026-10-27ZHEJIANG PECKERAI TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510523804.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2026-10-27

AI Technical Summary

Benefits of technology

[0014]本发明实施例的技术方案,提供了一种安检设备穿透力增强方法,包括:获取初始图像的灰度值;基于初始图像的灰度值,对初始图象进行拉伸处理,得到灰度变换图像;基于灰度变换图像进行灰度增强处理,得到穿透力增强图像。在安检设备符合该厚度下的穿透力要求下,通过图像对比度的提升,方便肉眼识别,以增强安检设备穿透力。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122989494A_ABST
    Figure CN122989494A_ABST
Patent Text Reader

Abstract

The application discloses a security inspection equipment penetration force enhancement method, comprising the following steps: acquiring a gray value of an initial image; performing stretching processing on the initial image based on the gray value of the initial image to obtain a gray transformation image; and performing gray enhancement processing based on the gray transformation image to obtain a penetration force enhancement image. Under the condition that the security inspection equipment meets the penetration force requirement under the thickness, the penetration force of the security inspection equipment is enhanced through the improvement of the image contrast, which is convenient for naked eye identification.
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 a method, device, electronic device, and storage medium for enhancing the penetration power of security inspection equipment. Background Technology

[0002] Part III, "Transmissive Cargo Security Inspection Equipment," of the standard "Micro-dose X-ray Security Inspection Equipment" stipulates that the penetrating power of security inspection equipment is tested using test body A. Test body A consists of test steel plates of varying thicknesses stacked with marking plates, which can be combined to achieve thicknesses ranging from 18mm to 88mm. The marking plate consists of a 10mm thick, three-quarter-circular lead block with a diameter of 50mm, adhered to the center of the surface of an 18mm thick steel plate. In actual testing, steel plates are continuously stacked and then passed through the security inspection equipment. The equipment is considered to meet the capability at that thickness when the notch of the three-quarter-circular lead block is clearly visible. The final test result is based on the thickest thickness.

[0003] However, because iron and lead have high atomic numbers, when steel plates are stacked to a certain thickness, the energy of X-rays penetrating their respective regions is relatively low, and the energies of the two materials may be very similar. Therefore, it is difficult for the naked eye to directly distinguish their shapes, specifically the orientation of the 3 / 4-circle lead block. Thus, to clearly show a difference between the two, and provided the security inspection equipment meets the penetration requirements for that thickness, certain image processing techniques are used to enhance their contrast, making them visually distinct and easy to identify. Summary of the Invention

[0004] This invention provides a method, apparatus, electronic device, and storage medium for enhancing the penetration power of security inspection equipment. When the security inspection equipment meets the penetration power requirements at a certain thickness, the penetration power of the security inspection equipment is enhanced by improving the image contrast, making it easier for the naked eye to identify.

[0005] According to one aspect of the present invention, a method for enhancing the penetration power of a security inspection device is provided, comprising: Get the grayscale value of the initial image; Based on the grayscale values ​​of the initial image, the initial image is stretched to obtain a grayscale transformed image; A grayscale enhancement process is performed on the grayscale transformed image to obtain an image with enhanced penetration.

[0006] Optionally, before stretching the initial image based on its grayscale values ​​to obtain the grayscale transformed image, the following steps are included: Get the grayscale value of the initial image; The grayscale value is normalized to obtain the normalized grayscale value.

[0007] Optionally, normalization is performed based on the grayscale values ​​to obtain normalized grayscale values, including: Obtain the number of bits in the unsigned integer data of the probe plate; Based on the number of bits in the unsigned integer data, determine the maximum grayscale value of the initial image. Based on the maximum gray value, the gray values ​​of the initial image are normalized to obtain the normalized gray values.

[0008] Optionally, the maximum grayscale value of the initial image is 2 raised to the power of the number of bits of the unsigned integer data.

[0009] Optionally, based on the grayscale values ​​of the initial image, the initial image is stretched to obtain a grayscale transformed image, including: A power-law transform is performed on the grayscale values ​​of the initial image to obtain the stretched grayscale values. The initial image is stretched based on the stretched grayscale values ​​to obtain a grayscale transformed image.

[0010] Optionally, grayscale enhancement processing is performed on the grayscale transformed image to obtain a penetration-enhanced image, including: The grayscale value after stretching is magnified to obtain the magnified grayscale value. Based on the magnified grayscale values, grayscale enhancement processing is performed on the grayscale transformed image to obtain an image with enhanced penetration.

[0011] According to another aspect of the present invention, a device for enhancing the penetration power of a security inspection device is provided, comprising: The data acquisition module is used to acquire the grayscale values ​​of the initial image; The image stretching module stretches the initial image based on its grayscale values ​​to obtain a grayscale transformed image. The grayscale enhancement module performs grayscale enhancement processing on the grayscale transformed image to obtain an image with enhanced penetration.

[0012] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: At least one processor; and A memory that is communicatively connected to at least one processor; wherein, The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform the security inspection equipment penetration enhancement method according to any embodiment of the present invention.

[0013] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to execute and implement the security inspection equipment penetration enhancement method of any embodiment of the present invention.

[0014] The technical solution of this invention provides a method for enhancing the penetration power of security inspection equipment, comprising: acquiring the grayscale value of an initial image; stretching the initial image based on the grayscale value to obtain a grayscale transformed image; and performing grayscale enhancement processing on the grayscale transformed image to obtain a penetration-enhanced image. Under the condition that the security inspection equipment meets the penetration power requirements at a given thickness, the increased image contrast facilitates visual identification, thereby enhancing the penetration power of the security inspection equipment.

[0015] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a flowchart of a method for enhancing the penetration power of security inspection equipment provided in Embodiment 1 of the present invention; Figure 2 This is a flowchart of a method for enhancing the penetration power of security inspection equipment according to Embodiment 2 of the present invention; Figure 3 This is a comparison diagram showing the effect of a method for enhancing the penetration power of security inspection equipment provided in Embodiment 2 of the present invention; Figure 4 This is a schematic diagram of the structure of a security inspection equipment penetration enhancement device provided in Embodiment 3 of the present invention; Figure 5 This is a schematic diagram of the structure of an electronic device that implements the security inspection equipment penetration enhancement method of the present invention. Detailed Implementation

[0018] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus. Example 1

[0020] Figure 1 This is a flowchart of a method for enhancing the penetrating power of security inspection equipment according to Embodiment 1 of the present invention. This embodiment is applicable to situations where the penetrating power of security inspection equipment needs to be enhanced. This method can be executed by a security inspection equipment penetration enhancement device, which can be implemented in hardware and / or software. This security inspection equipment penetration enhancement device can be configured in electronic devices such as computers and servers. Figure 1 As shown, the method includes: S110. Obtain the grayscale value of the initial image; Grayscale value refers to the brightness information of each pixel in an image. It represents the lightness or darkness of a pixel, and for an 8-bit grayscale image, it is usually represented by an integer between 0 and 255. 0 represents black, 255 represents white, and values ​​in between represent different levels of gray.

[0021] Specifically, the maximum grayscale value of the security image obtained through security screening equipment is determined based on the number of bits used by its detector plate. First, the number of bits in the unsigned integer data of the detector plate is obtained. Second, based on the number of bits in the unsigned integer data, the maximum grayscale value of the initial image is determined. Generally, the maximum grayscale value of the initial image is a power of 2 based on the number of bits in the unsigned integer data. For example, assuming the number of bits in the unsigned integer data of the detector plate is N, then the maximum grayscale value is 2 to the power of N, i.e., 2^N. N The grayscale value ranges from [0, 2]. N The integers are ], where 0 represents black, 255 represents white, and the values ​​in between represent different shades of gray.

[0022] S120. Based on the grayscale values ​​of the initial image, stretch the initial image to obtain a grayscale transformed image.

[0023] In image processing, grayscale transformation is used to adjust the brightness distribution of an image, enhancing its visual appeal or facilitating subsequent analysis and processing. Commonly used grayscale transformation methods include contrast stretching, negative value transformation, and power-law transformation.

[0024] Contrast stretching is a method of improving image contrast by changing the grayscale range of an image. For example, if the original image has a grayscale range between [0, 255], but most pixels are concentrated in a small range, contrast stretching can expand this range to the entire displayable range, making the changes in brightness of the image more obvious.

[0025] Negative transformation inverts the value of each pixel in an image, thus altering the image's brightness distribution. This transformation can turn bright areas into dark areas and dark areas into bright areas, making it highly effective for identifying shadows or inverting image colors.

[0026] Power-law transform is a non-linear grayscale transformation typically used to improve image contrast, especially when processing images with a wide dynamic range. It is achieved by adjusting pixel values ​​using an exponential function.

[0027] S130. Perform grayscale enhancement processing on the grayscale transformed image to obtain a penetration-enhanced image.

[0028] Gray-scale enhancement processing is performed on gray-scale transformed images. By adjusting the gray-scale distribution of the image, details in dark areas become clearer while avoiding overexposure in bright areas, thus significantly improving the image's transparency. Specifically, gray-scale transformation is a pixel-based image processing technique that improves the visual effect of an image by changing the gray-scale value of each pixel. In this embodiment, different gray-scale transformation functions can be selected according to the specific characteristics of the image and the enhancement requirements, such as linear transformations, nonlinear transformations (including logarithmic transformations, exponential transformations, gamma transformations, etc.), or other custom transformation functions. These transformation functions can effectively adjust the brightness and contrast of the image, making the details in the image stand out more.

[0029] The technical solution of this embodiment involves obtaining the grayscale value of an initial image; stretching the initial image based on its grayscale value to obtain a grayscale transformed image; and then performing grayscale enhancement processing on the grayscale transformed image to obtain a penetration-enhanced image. By improving the image contrast to facilitate visual identification, the penetration power of the security inspection equipment is enhanced, provided the security inspection equipment meets the penetration requirements at that thickness. Example 2

[0030] Figure 2This is a flowchart of a method for enhancing the penetration power of security inspection equipment according to Embodiment 2 of the present invention. The method in this embodiment is a further optimization of the method in the above embodiments. Optionally, the number of bits of the unsigned integer data of the detection plate is obtained; based on the number of bits of the unsigned integer data, the maximum grayscale value of the initial image is determined; based on the maximum grayscale value, the grayscale value of the initial image is normalized to obtain a normalized grayscale value; a power-law transform is performed on the normalized grayscale value to obtain a stretched grayscale value; the initial image is stretched based on the stretched grayscale value to obtain a grayscale transformed image; the stretched grayscale value is magnified to obtain a magnified grayscale value; and the grayscale transformed image is enhanced based on the magnified grayscale value to obtain a penetration-enhanced image. Figure 2 As shown, the method includes: S210. Obtain the grayscale value of the initial image.

[0031] S220, Obtain the number of bits in the unsigned integer data of the probe plate; Based on the number of bits in the unsigned integer data, determine the maximum grayscale value of the initial image. Based on the maximum gray value, the gray values ​​of the initial image are normalized to obtain the normalized gray values.

[0032] Specifically, the maximum grayscale value of the initial image is a power of 2 for the number of bits in the unsigned integer data. Typically, the maximum grayscale value is determined by the number of bits used by the detector plate. Assuming the security inspection equipment's detector plate uses N-bit unsigned integer data, then the maximum grayscale value is A = 2^N.

[0033] The purpose of normalization is to facilitate data processing.

[0034] Based on the maximum gray value A, the gray value B of the initial image is divided by the maximum gray value A to obtain the normalized data C=B / A (where the range of C is [0,1]).

[0035] S230. Perform a power-law transformation based on the normalized gray values ​​to obtain the stretched gray values; stretch the initial image based on the stretched gray values ​​to obtain the gray-scale transformed image.

[0036] Specifically, the normalized data is used to perform a power-law transformation to obtain stretched grayscale values. The stretched grayscale values ​​are then used to stretch the image contrast, resulting in a grayscale transformed image.

[0037] By selecting an appropriate α value, a suitable grayscale value after stretching can be obtained, as shown in the formula: D = C α Where D represents the stretched grayscale value. Choosing α less than 1 allows mapping a narrower range of dark input values ​​to a wider range of output values. The value of α is crucial. If α is too small, the stretched dark values ​​will be far less than 0.1, unsuitable for mapping the range of iron and lead blocks to a wider range. Conversely, a larger α value cannot effectively map a small range to a large range, meaning it cannot improve the contrast of iron and lead blocks. Therefore, the choice of α needs to strike a balance, effectively stretching the contrast of iron and lead blocks. In this embodiment, the α value can be 0.20.

[0038] S240. Magnify the stretched grayscale value to obtain the magnified grayscale value; perform grayscale enhancement processing on the grayscale transformed image based on the magnified grayscale value to obtain a penetration-enhanced image.

[0039] Specifically, since the naked eye can perceive darker areas less clearly than brighter areas, it is necessary to magnify the grayscale transformed image.

[0040] E = k×D Where k is the magnification factor, with a value greater than 1, and E is the magnified grayscale value. For the magnified grayscale value, the portion greater than 1 needs to be set to 1. Simultaneously, the value of k must prevent the grayscale values ​​of iron and lead blocks from exceeding 1, otherwise information loss will occur. Therefore, the value of k needs to be determined based on the actual situation of each security inspection device, with the data for iron and lead blocks not exceeding 1 as the boundary. At the same time, the data for iron and lead blocks should not be over-magnified, as over-magnification will cause the data to approach 1, reducing their contrast. In this embodiment, the value of k can be 1.6.

[0041] like Figure 3 As shown, in this embodiment, the image contrast of the 26mm thick steel plate is significantly improved, and the positions of the iron and lead plates can be clearly seen with the naked eye, which significantly improves the penetration capability of the security inspection equipment.

[0042] The technical solution of this embodiment involves acquiring the grayscale value of an initial image and the number of bits in the unsigned integer data of the detector plate. Based on the number of bits in the unsigned integer data, the maximum grayscale value of the initial image is determined. Based on the maximum grayscale value, the grayscale value of the initial image is normalized to obtain a normalized grayscale value. A power-law transform is performed on the normalized grayscale value to obtain a stretched grayscale value. The stretched grayscale value is then used to stretch the initial image to obtain a grayscale transformed image. The stretched grayscale value is then magnified to obtain a magnified grayscale value. Finally, the magnified grayscale value is used to enhance the grayscale transformed image to obtain a penetration-enhanced image. This method, analogous to traditional histogram equalization for contrast enhancement, has the advantages of high operability and low algorithm complexity, which is beneficial for algorithm promotion and improving device response speed. Example 3

[0043] Figure 4 This is a schematic diagram of a penetration enhancement device for security inspection equipment provided in Embodiment 3 of the present invention. Figure 4 As shown, the device includes: The data acquisition module 310 is used to acquire the grayscale value of the initial image; The image stretching module 320 stretches the initial image based on its grayscale values ​​to obtain a grayscale transformed image. The grayscale enhancement module 330 performs grayscale enhancement processing on the grayscale transformed image to obtain a penetration-enhanced image.

[0044] The technical solution of this embodiment obtains the grayscale value of the initial image through the data acquisition module; the image stretching module stretches the initial image based on the grayscale value to obtain a grayscale transformed image; the grayscale enhancement module performs grayscale enhancement processing based on the grayscale transformed image to obtain a penetration enhanced image, which improves the image contrast, facilitates the visual identification of material differences, and enhances the penetration of security inspection equipment.

[0045] Based on the above embodiments, optionally, the data acquisition module 310 is specifically used to acquire the grayscale value of the initial image; and to perform normalization processing on the grayscale value to obtain the normalized grayscale value.

[0046] Optionally, the data acquisition module 310 is further specifically used to acquire the number of bits of the unsigned integer data of the probe; determine the maximum gray value of the initial image based on the number of bits of the unsigned integer data; and normalize the gray value of the initial image based on the maximum gray value to obtain the normalized gray value.

[0047] Optionally, the image stretching module 320 is specifically used to perform a power-law transformation based on the normalized grayscale values ​​to obtain the stretched grayscale values; and to stretch the initial image based on the stretched grayscale values ​​to obtain a grayscale transformed image.

[0048] Optionally, the grayscale enhancement module 330 is specifically used to perform amplification processing based on the stretched grayscale value to obtain an amplified grayscale value; and to perform grayscale enhancement processing on the grayscale transformed image based on the amplified grayscale value to obtain a penetration-enhanced image.

[0049] The security inspection equipment penetration enhancement device provided in this embodiment of the invention can execute the security inspection equipment penetration enhancement method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the method. Example 4

[0050] Figure 5 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0051] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0052] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0053] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as methods for enhancing the penetration of security inspection equipment.

[0054] In some embodiments, the security screening device penetration enhancement method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the security screening device penetration enhancement method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the security screening device penetration enhancement method by any other suitable means (e.g., by means of firmware).

[0055] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0056] Computer programs for implementing the security inspection equipment penetration enhancement method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs can be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server. Example 5

[0057] Embodiment 5 of the present invention also provides a computer-readable storage medium storing computer instructions for causing a processor to execute a method for enhancing the penetration power of a security inspection device, the method comprising: Get the grayscale value of the initial image; Based on the grayscale values ​​of the initial image, the initial image is stretched to obtain a grayscale transformed image; A grayscale enhancement process is performed on the grayscale transformed image to obtain an image with enhanced penetration.

[0058] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0059] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0060] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0061] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0062] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0063] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for enhancing the penetrating power of security inspection equipment, characterized in that, include: Get the grayscale value of the initial image; Based on the grayscale values ​​of the initial image, the initial image is stretched to obtain a grayscale transformed image; A grayscale enhancement process is performed on the grayscale transformed image to obtain an image with enhanced penetration.

2. The method according to claim 1, characterized in that, Before stretching the initial image based on its grayscale values ​​to obtain the grayscale transformed image, the process includes: Obtain the grayscale value of the initial image; The grayscale values ​​are normalized to obtain normalized grayscale values.

3. The method according to claim 2, characterized in that, The normalization process based on the grayscale value to obtain the normalized grayscale value includes: Obtain the number of bits in the unsigned integer data of the probe plate; Based on the number of bits in the unsigned integer data, the maximum grayscale value of the initial image is determined; Based on the maximum gray value, the gray values ​​of the initial image are normalized to obtain normalized gray values.

4. The method according to claim 3, characterized in that, The maximum grayscale value of the initial image is 2 raised to the power of the number of bits of the unsigned integer data.

5. The method according to claim 4, characterized in that, The process of stretching the initial image based on its grayscale values ​​to obtain a grayscale transformed image includes: A power-law transformation is performed on the normalized gray values ​​to obtain the stretched gray values. The initial image is stretched based on the stretched grayscale value to obtain a grayscale transformed image.

6. The method according to claim 5, characterized in that, Gray-level enhancement processing is performed on the gray-level transformed image to obtain a penetration-enhanced image, including: The grayscale value after stretching is magnified to obtain the magnified grayscale value. Based on the magnified grayscale values, the grayscale transformed image is subjected to grayscale enhancement processing to obtain an image with enhanced penetration.

7. A device for enhancing the penetration power of security inspection equipment, characterized in that, include: The data acquisition module is used to acquire the grayscale value of the initial image; The image stretching module stretches the initial image based on its grayscale value to obtain a grayscale transformed image. The grayscale enhancement module performs grayscale enhancement processing on the grayscale transformed image to obtain a penetration-enhanced image.

8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the security inspection equipment penetration enhancement method according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method for enhancing the penetration power of the security inspection equipment as described in any one of claims 1-6.