Display method and apparatus for radiographic inspection system, and radiographic inspection system and method
By acquiring multi-frame ray data to generate video data and display dynamically, combined with static image display, the problem of low detection efficiency of portable X-ray inspection system is solved, and the detection efficiency and accuracy are improved.
Patent Information
- Application Number
- PCT/CN2024/142222
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-27
- Filing Date
- 2024-12-25
- Publication Date
- 2025-07-03
AI Technical Summary
The portable X-ray inspection system only supports static display of X-ray images per single shot, resulting in low detection efficiency.
By acquiring multi-frame ray data, processing it into multi-frame images, and generating video data, dynamically displaying video data at a predetermined frequency, and combining with static image display, detection efficiency is improved.
It has achieved the improvement of the detection efficiency and accuracy of the detection system and improved the user experience.
Smart Images

Figure CN2024142222_03072025_PF_FP_ABST
Abstract
Description
Display method and device of radiographic inspection system, radiographic inspection system and method
[0001] This application claims priority to Chinese patent application No. 202311820251.X filed on December 27, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present disclosure relates to the fields of display technology and safety inspection technology, and in particular to a display method and device for a radiographic inspection system, and a radiographic inspection system and method. Background Art
[0003] Radiographic imaging involves scanning an object with a beam of radiation, such as X-rays. A detector receives the X-rays that pass through the object and converts them into electrical signals. These signals are then converted to digital form by an analog / digital converter and fed into a computer for processing, resulting in an X-ray image. X-ray inspection systems can be used to perform radiographic imaging and display these images, enabling inspection of the object.
[0004] In the related art, since the portable X-ray inspection system only supports a single static display of an X-ray image each time, the function is relatively simple, resulting in low detection efficiency of the detection system. Summary of the Invention
[0005] The present disclosure provides a display method and device for a radiographic inspection system, and a radiographic inspection system and method.
[0006] According to a first aspect of the present disclosure, a display method for a radiographic inspection system is provided. The radiographic inspection system includes a radiation source for emitting radiation and a detector for collecting radiation. The method includes:
[0007] Acquire M frames of ray data collected by the detector, wherein the ray data is generated based on rays emitted by the ray source and passing through the inspected object incident on the detector, and M is a positive integer greater than or equal to 2;
[0008] Processing the M frames of ray data respectively to obtain M frames of images, wherein the M frames of images are suitable for display on a display screen of the ray detection system;
[0009] Generate video data based on the M frames of image; and
[0010] The video data is dynamically displayed at a first predetermined frequency.
[0011] According to an embodiment of the present disclosure, generating video data based on the M frames of images includes:
[0012] The M frames of images are compressed and encoded respectively to obtain M frames of video code stream data;
[0013] The M frames of video code stream data are stored in the storage module;
[0014] In response to the client's echo request, the M frames of video code stream data are read from the storage module and the video data is generated.
[0015] According to an embodiment of the present disclosure, the M frames of images are compressed and encoded to obtain M frames of video stream data, including:
[0016] Converting the pixel encoding mode of each frame of the image into a first encoding mode to obtain a first converted image;
[0017] Video encoding is performed on the first converted image to obtain the video code stream data corresponding to each frame of the image.
[0018] According to an embodiment of the present disclosure, in response to the echo request of the client, reading the M frames of video stream data from the storage module and generating the video data includes:
[0019] Reading the M frames of video code stream data from the storage module to obtain the M frames of video code stream data;
[0020] Decoding each frame of the video stream data to obtain a second converted image;
[0021] The pixel encoding mode of the second converted image is converted into a second encoding mode to generate the video data corresponding to each frame of the video code stream data.
[0022] According to an embodiment of the present disclosure, before generating video data based on the M frames of images, the process further includes:
[0023] Using the open graphics library to store the M frames of images into a cache module;
[0024] The display module is used to read the M frames of images from the cache module at a second predetermined frequency and dynamically display the M frames of images at the second predetermined frequency.
[0025] According to an embodiment of the present disclosure, the above method further includes:
[0026] In response to a pause request from the client, pausing display of the video data or the M frames of image;
[0027] Acquiring static radiation data collected by the detector, wherein the static radiation data is generated based on two types of radiation emitted by the radiation source, having different energies and passing through the inspected object, incident on the detector;
[0028] Processing the static ray data to obtain a static image;
[0029] The static image is displayed statically using a display module.
[0030] According to an embodiment of the present disclosure, the above method further includes:
[0031] Storing the static image in a storage module;
[0032] In response to the client's echo request, the static image is statically displayed using the display module.
[0033] According to an embodiment of the present disclosure, the first encoding method includes a YUV format, and the second encoding method includes an RGB format.
[0034] A second aspect of the present disclosure provides a display device for a radiographic inspection system, wherein the radiographic inspection system includes a radiation source for emitting radiation and a detector for collecting radiation, wherein:
[0035] an acquisition module, configured to acquire M frames of ray data collected by the detector, wherein the ray data is generated based on rays emitted by the ray source and passing through the inspected object incident on the detector, and M is a positive integer greater than or equal to 2;
[0036] an obtaining module, configured to process the M frames of ray data respectively to obtain M frames of images, wherein the M frames of images are suitable for display on a display screen of the ray detection system;
[0037] A generating module, configured to generate video data based on the M frames of images; and
[0038] The display module is used to dynamically display the video data at a first predetermined frequency.
[0039] A third aspect of the present disclosure provides a radiographic inspection system, comprising:
[0040] a ray source, the ray source being configured to emit rays;
[0041] a detector configured to collect radiation emitted from the radiation source and passing through the object to be inspected;
[0042] a display screen configured to display images and / or videos related to the data collected by the detector;
[0043] A controller is communicatively connected to the display screen, and the controller is configured to control the display screen to display using the above method.
[0044] A fourth aspect of the present disclosure provides a radiographic inspection method, comprising:
[0045] controlling the radiation source to emit radiation so that at least a portion of the radiation scans the object being inspected;
[0046] Controlling the detector to collect the radiation emitted from the radiation source and passing through the object to be inspected to generate radiation data;
[0047] In response to the dynamic display mode, controlling the display screen to dynamically display images and / or videos related to the radiographic data using the above-described method, and preliminarily identifying a portion of interest in the inspected object based on the dynamically displayed video; and
[0048] In response to the static display mode, the display screen is controlled to display a static image related to the ray data, and the portion of interest is further identified based on the static image. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0050] FIG1 schematically shows a flow chart of a display method for a radiographic inspection system according to an embodiment of the present disclosure;
[0051] FIG2 schematically shows a flow chart of a display method for a radiographic inspection system according to another embodiment of the present disclosure;
[0052] FIG3 schematically shows a flow chart of a display method for a radiographic inspection system according to yet another embodiment of the present disclosure;
[0053] FIG4 schematically shows a structural diagram of a radiographic inspection system according to an embodiment of the present disclosure;
[0054] FIG5 schematically shows a flow chart of a radiographic inspection method according to an embodiment of the present disclosure; and
[0055] FIG6 schematically shows a structural block diagram of a display device for a radiographic inspection system according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0056] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the detailed description below, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0057] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise," "include," etc. used herein indicate the presence of the features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0058] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0059] When expressions such as "at least one of A, B and C, etc." are used, they should generally be interpreted in accordance with the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0060] Because in the related art, the portable X-ray inspection system only supports the static display of a single X-ray image each time. When using the portable X-ray inspection system to check whether the inspected object includes explosives, it can only scan the inspected object once and then statically display a frame of X-ray image. Then, after scanning the inspected object again, it can statically display the next frame of X-ray image. The time interval between displaying two adjacent X-ray images is long, the image display efficiency is low, and the detection efficiency of the detection system is low.
[0061] In order to at least partially solve the technical problems existing in the related art, the embodiments of the present disclosure provide a display method and device of a radiographic inspection system, a radiographic inspection system and method, which can be applied to the fields of display technology and security inspection technology.
[0062] FIG1 schematically shows a flow chart of a display method for a radiographic inspection system according to an embodiment of the present disclosure.
[0063] As shown in FIG1 , the display method for a radiographic inspection system of this embodiment includes operations S110 to S140 , wherein the radiographic inspection system includes a radiation source for emitting radiation and a detector for collecting radiation.
[0064] In operation S110 , M frames of ray data collected by the detector are acquired, wherein the ray data is generated based on rays emitted by a ray source and passing through an inspected object incident on the detector, and M is a positive integer greater than or equal to 2.
[0065] According to the embodiments of the present disclosure, the type of detector can be selected according to actual conditions and is not limited here. For example, the detector can be a flat panel detector, such as a CMOS flat panel detector.
[0066] According to an embodiment of the present disclosure, the ray source can emit X-rays, and the ray source can be single-energy or dual-energy.
[0067] According to the embodiments of the present disclosure, M can be selected according to actual conditions and is not limited here. For example, M can be 5, 10, or 100.
[0068] According to the embodiments of the present disclosure, the object to be inspected can be selected according to actual conditions and is not limited here. For example, the object to be inspected can be a truck, a person, a bag, or a house.
[0069] According to the embodiments of the present disclosure, when the radiation source is single-energy, the radiation data collected by the detector can reflect the density and shape of the inspected object. When the radiation source is dual-energy, the radiation data collected by the detector can reflect the material, density and shape of the inspected object.
[0070] In operation S120 , the M frames of ray data are processed respectively to obtain M frames of images, wherein the M frames of images are suitable for display on a display screen of the ray detection system.
[0071] For example, normalization processing may be performed on M frames of ray data to obtain M frames of images.
[0072] For example, when the radiation source is monoenergetic, M frames of radiation data collected by the detector can be obtained to obtain data that can reflect the density and shape characteristics of the inspected object. The M frames of radiation data are then normalized to obtain M frames of images. At this time, the image is a grayscale image, so that the density and shape characteristics of the inspected object are recorded in the grayscale level changes of the image.
[0073] For example, when the ray source is dual-energy, M frames of ray data collected by the detector can be obtained to obtain data that can reflect the material, density and shape characteristics of the inspected object, and then the M frames of ray data can be normalized separately to obtain M frames of images. At this time, the image is a color image, so that the material of the inspected object is recorded in the color changes of the image, and the density and shape characteristics of the inspected object are recorded in the grayscale level changes of the image.
[0074] In operation S130, video data is generated based on the M frame images.
[0075] For example, the multimedia support library ffmpeg library can be used to compress and encode M frames of images respectively to obtain video code stream data, and then the video code stream data is decoded to generate video data.
[0076] In operation S140, video data is dynamically displayed at a first predetermined frequency.
[0077] According to the embodiment of the present disclosure, the first predetermined frequency can be selected according to actual conditions and is not limited here. For example, the first predetermined frequency can be 30ms / frame, 40ms / frame, or 50ms / frame.
[0078] According to an embodiment of the present disclosure, M frames of ray data collected by a detector are acquired, and then the M frames of ray data are processed separately to obtain M frames of images, thereby obtaining an image that can reflect the characteristics of the inspected object and is suitable for display on a display screen of a ray detection system. Then, based on the M frames of images, video data is generated, and the video data is dynamically displayed at a first predetermined frequency, thereby realizing the display of the scanned inspected object in the form of dynamically displayed video data. Compared with a single statically displayed X-ray image, the display frequency is greatly improved, thereby improving the detection efficiency of the system.
[0079] For example, when the radiation source is single-energy, video data can be dynamically displayed at a first predetermined frequency according to operations S110 to S140 in Figure 1, so as to quickly determine whether the inspected object contains dangerous goods and / or suspicious items based on the dynamically displayed video data, thereby improving the system detection efficiency.
[0080] According to an embodiment of the present disclosure, when video data includes an area with a large grayscale change, the area can be determined as a portion of interest, and it can be preliminarily determined that the inspected object contains dangerous goods and / or suspicious items.
[0081] According to an embodiment of the present disclosure, since the amount of radiation data collected by the detector for each frame is smaller when the radiation source is single-energy than when the radiation source is dual-energy, when the radiation source is single-energy, the radiation data can be quickly processed according to operations S110 to S140 in Figure 1, and the video data can be dynamically displayed to quickly obtain a preliminary recognition result based on the dynamically displayed video data, wherein the preliminary recognition result is a result of preliminarily determining whether the inspected object contains dangerous goods and / or suspicious items.
[0082] According to an embodiment of the present disclosure, with respect to operation S130 shown in FIG1 , generating video data based on M frames of image may include the following operations:
[0083] Perform compression encoding on M frames of images respectively to obtain M frames of video code stream data;
[0084] Store the M-frame video stream data into the storage module;
[0085] In response to the client's echo request, M frames of video stream data are read from the storage module and video data is generated.
[0086] For example, the ffmpeg library may be used to compress and encode M frames of images to obtain M frames of video code stream data.
[0087] According to an embodiment of the present disclosure, the M-frame video code stream data all conforms to the video compression standard H264 or H265.
[0088] According to an embodiment of the present disclosure, M frames of image are compressed and encoded respectively to obtain M frames of video code stream data, and then the M frames of video code stream data are stored in a storage module. Compared with directly storing the M frames of image, hard disk space can be saved. Then, in response to the client's echo request, the M frames of video code stream data are read from the storage module and video data is generated. This can support the display of the scanned detected object in the form of dynamic display of video data while supporting the callback of historical videos, which helps to improve the user experience.
[0089] According to an embodiment of the present disclosure, M frames of images are compressed and encoded respectively to obtain M frames of video code stream data, including:
[0090] Converting the pixel encoding mode of each frame of image into a first encoding mode to obtain a first converted image;
[0091] Video encoding is performed on the first converted image to obtain video code stream data corresponding to each frame of the image.
[0092] According to an embodiment of the present disclosure, the first encoding method includes a YUV format.
[0093] For example, when the encoding method of each frame image is RGB format, the RGB format image can be first converted into a first converted image in YUV format, and then the first converted image in YUV format is encoded using the ffmpeg library to obtain video stream data that complies with the video compression standard H264 or H265.
[0094] According to an embodiment of the present disclosure, by converting the pixel encoding method of each frame image into a first encoding method, a first converted image is obtained, and video encoding is performed on the first converted image to obtain video code stream data corresponding to each frame image, each frame image is compressed into video code stream data that complies with the video compression standard H264 or H265, preparing for the generation of video data.
[0095] According to an embodiment of the present disclosure, in response to an echo request from a client, reading M frames of video stream data from a storage module and generating video data includes:
[0096] Reading M frames of video code stream data from the storage module to obtain M frames of video code stream data;
[0097] Decoding each frame of video stream data to obtain a second converted image;
[0098] The pixel encoding mode of the second conversion image is converted into the second encoding mode to generate video data corresponding to each frame of video code stream data.
[0099] According to an embodiment of the present disclosure, the second encoding method includes an RGB format.
[0100] For example, the ffmpeg library may be used to decode each frame of video stream data to obtain a second converted image in YUV format, and then the pixel encoding of the second converted image in YUV format may be converted into RGB format to generate RGB format video data.
[0101] According to an embodiment of the present disclosure, M frames of video code stream data are read from a storage module, each frame of the video code stream data is decoded to obtain a second converted image, and the pixel encoding method of the second converted image is converted to a second encoding method to generate video data corresponding to each frame of the video code stream data. This enables recalling historical video data from the storage module and generating video data, preparing for dynamic display of video data.
[0102] According to an embodiment of the present disclosure, before generating video data based on M frames of image, the method further includes:
[0103] Using the open graphics library to store M frames of images into the cache module;
[0104] The display module is used to read M frames of images from the buffer module at a second predetermined frequency and dynamically display the M frames of images at the second predetermined frequency.
[0105] According to an embodiment of the present disclosure, the second predetermined frequency may be equal to or different from the first predetermined frequency.
[0106] According to the embodiment of the present disclosure, the second predetermined frequency can be selected according to actual conditions and is not limited here. For example, the second predetermined frequency can be 30ms / frame, 40ms / frame, or 50ms / frame.
[0107] According to an embodiment of the present disclosure, a display module includes a display screen.
[0108] FIG2 schematically shows a flow chart of a display method for a radiographic inspection system according to another embodiment of the present disclosure.
[0109] As shown in FIG2 , after acquiring M frames of ray data 201 collected by the detector, the M frames of ray data 201 can be processed separately to obtain M frames of images 202. M frames of images 202 can then be stored in a cache module 203 using the open graphics library OpenGL or other multimedia development libraries that encapsulate OpenGL. OpenGL can then be used to send display requests to a display module 204 at a second predetermined frequency. In response to the display requests, the display module 204 sequentially reads each frame of the M frames of images 202 from the cache module 203 and dynamically displays the M frames of images 202 at the second predetermined frequency.
[0110] According to an embodiment of the present disclosure, by utilizing an open graphics library to store M frames of images in a cache module, and then utilizing a display module to read the M frames of images from the cache module at a second predetermined frequency and dynamically display the M frames of images at a second predetermined frequency, it is possible to utilize a display module to dynamically display M frames of images while utilizing a detector to scan the object to be detected. Compared with a single static display of an X-ray image, the display frequency is greatly improved, thereby improving the detection efficiency of the system.
[0111] According to an embodiment of the present disclosure, the display method for the radiographic inspection system in FIG1 further includes:
[0112] In response to a pause request from the client, pausing display of the video data or the M-frame image;
[0113] Acquiring static radiation data collected by the detector, wherein the static radiation data is generated based on two types of radiation emitted by a radiation source, having different energies and passing through the inspected object, incident on the detector;
[0114] Processing static ray data to obtain a static image;
[0115] The display module is used to statically display the static image.
[0116] According to an embodiment of the present disclosure, static radiation data is radiation data collected by the detector when the radiation source is dual-energy. Therefore, the static image is a color image. The different colors of the static image reflect the different materials of the inspected object, and the grayscale changes of the static image reflect the density and shape characteristics of the inspected object.
[0117] According to an embodiment of the present disclosure, static ray data may be normalized to obtain a static image.
[0118] According to an embodiment of the present disclosure, after pausing the display of video data or M-frame images in response to a pause request from a client, the dynamic display mode can be directly switched to the static display mode. Alternatively, after pausing the display of video data or M-frame images in response to a pause request from the client, the dynamic display mode can be switched to the static display mode in response to the client clicking a switch button, wherein the switch button is used by the user to switch between the dynamic display mode and the static display mode.
[0119] According to an embodiment of the present disclosure, when there is a pause request from the client, it usually indicates that the user of the client has preliminarily determined that the inspected object contains dangerous goods and / or suspicious items based on the dynamically displayed video data or M-frame images. Therefore, in response to the pause request of the client, the display of the video data or M-frame images can be paused, and then the static radiation data collected by the detector can be obtained, the static radiation data can be processed to obtain a static image, a static color image, and the static image can be statically displayed using the display module, so that the inspected object can be further inspected based on the static color image, thereby improving the detection efficiency of the system and the detection accuracy of the detection system.
[0120] According to an embodiment of the present disclosure, the display method for the radiographic inspection system in FIG1 further includes:
[0121] Storing the static image in the storage module;
[0122] In response to the client's echo request, the static image is statically displayed using the display module.
[0123] According to an embodiment of the present disclosure, by storing static images in a storage module and then responding to the client's echo request, the display module uses the technical means of statically displaying the static images to support the callback of historical static images, which helps to improve the user experience.
[0124] FIG3 schematically shows a flow chart of a display method for a radiographic inspection system according to yet another embodiment of the present disclosure.
[0125] As shown in FIG3 , when the ray source is monoenergetic, M frames of ray data collected by the detector 301 can be acquired, and the M frames of ray data can be processed separately to obtain M frames of images, which can then be dynamically displayed at a second predetermined frequency using the display module 304 .
[0126] At the same time, the encoding unit 302 compresses and encodes the M frames of images respectively to obtain M frames of video code stream data, and stores the M frames of video code stream data in the storage module 305, so that the M frames of video code stream data can be read from the storage module 305 in response to the client's echo request, and the video data is generated in the decoding unit 303, and the video data is dynamically displayed at a first predetermined frequency in the display module 304.
[0127] Subsequently, in response to a pause request from the client, the display module 304 can pause displaying the video data or M frames of images. Simultaneously, the display module can switch from a dynamic display mode to a static display mode. In this case, when the radiation source is dual-energy, static radiation data collected by the detector 301 can be acquired and processed to obtain a static image. The static image can then be statically displayed by the display module 304, displaying a static color image. The static image can also be stored in the storage module 305 and, in response to a display request from the client, statically displayed by the display module 304.
[0128] In Figure 3, during the inspection of the object, M frames of image or video data are first dynamically displayed. Compared to displaying a single static X-ray image, this significantly increases the display frequency and improves the efficiency of initially identifying the portion of interest in the inspected object. A static color image is then displayed, allowing for further inspection of the portion of interest. This improves both the system's detection efficiency and its accuracy. Furthermore, by storing M frames of video stream data and static images in the storage module, the display module can be used to statically display static images or dynamically display video data in response to client requests. This allows for the recall of historical image or video data, enhancing the user experience.
[0129] FIG4 schematically shows a structural diagram of a radiographic inspection system according to an embodiment of the present disclosure.
[0130] As shown in FIG. 4 , the radiation inspection system 400 includes a radiation source 410 , a detector 420 , a display screen 430 , and a controller 440 .
[0131] In Figure 4 , a radiation source 410 can be configured to emit radiation. A detector 420 can be configured to collect radiation emitted from the radiation source 410 and passing through an inspected object 401. A display screen 430 can be configured to display images and / or videos related to the data collected by the detector 420. A controller 440 can be communicatively coupled to the display screen and configured to control the display screen 430 to display information using a display method for a radiographic inspection system.
[0132] In Figure 4 , the controller 440 can also issue instructions to instruct the radiation source 410 to emit radiation, which passes through the object to be inspected 401 and is received by the detector 420 and converted into an electrical signal. The controller 440 then controls the display screen 430 to display the information using a display method used in radiation inspection systems.
[0133] According to an embodiment of the present disclosure, the controller 440 may be configured to control the display screen to perform display using the display method for the radiographic inspection system in FIG. 1 .
[0134] FIG5 schematically shows a flow chart of a radiographic inspection method according to an embodiment of the present disclosure.
[0135] As shown in FIG5 , the radiographic inspection method of this embodiment includes operations S510 to S540 .
[0136] In operation S510 , a radiation source is controlled to emit radiation so that at least a portion of the radiation scans an object under inspection.
[0137] In operation S520 , the detector is controlled to collect radiation emitted from the radiation source and passing through the object to be inspected, to generate radiation data.
[0138] In operation S530 , in response to the dynamic display mode, a display screen is controlled to dynamically display images and / or videos related to the radiographic data using a display method for a radiographic inspection system, and a portion of interest in the inspected object is preliminarily identified based on the dynamically displayed video.
[0139] In operation S540 , in response to the static display mode, the display screen is controlled to display a static image related to the ray data, and a portion of interest is further identified based on the static image.
[0140] According to an embodiment of the present disclosure, in operation S530, in response to a dynamic display mode, the display method for a X-ray inspection system in Figure 1 can be used to control the display screen to dynamically display images and / or videos related to X-ray data, and preliminarily identify the part of interest in the inspected object based on the dynamically displayed video.
[0141] According to an embodiment of the present disclosure, by responding to a dynamic display mode and utilizing a display method for a radiographic inspection system, a display screen is controlled to dynamically display images and / or videos associated with the radiographic data, and a portion of interest in the inspected object is preliminarily identified based on the dynamically displayed video. This significantly increases the display frequency compared to displaying a single static X-ray image, thereby improving the efficiency of preliminarily identifying the portion of interest in the inspected object. Then, in response to a static display mode, the display screen is controlled to display a static image associated with the radiographic data, and the portion of interest is further identified based on the static image, enabling further inspection of the portion of interest based on the static color image. This improves both the detection efficiency of the system and the detection accuracy of the detection system.
[0142] Based on the above display method for a radiographic inspection system, the present disclosure further provides a display device for a radiographic inspection system, which will be described in detail below in conjunction with FIG6 .
[0143] FIG6 schematically shows a structural block diagram of a display device for a radiographic inspection system according to an embodiment of the present disclosure.
[0144] As shown in FIG6 , the display device 600 for the ray inspection system of this embodiment includes an acquisition module 610 , a obtaining module 620 , a generation module 630 and a display module 640 , wherein the ray inspection system includes a ray source for emitting rays and a detector for collecting rays.
[0145] Acquisition module 610 is configured to acquire M frames of ray data collected by the detector, where the ray data is generated based on rays emitted by a ray source, passing through an inspected object, and incident on the detector, where M is a positive integer greater than or equal to 2. In one embodiment, acquisition module 610 may be configured to perform operation S110 described above, and will not be further described herein.
[0146] The obtaining module 620 is configured to process the M frames of ray data respectively to obtain M frames of images, wherein the M frames of images are suitable for display on a display screen of the ray detection system. In one embodiment, the obtaining module 620 can be configured to perform the operation S120 described above, which will not be described in detail here.
[0147] The generating module 630 is configured to generate video data based on the M frames of images. In one embodiment, the generating module 630 may be configured to perform the operation S130 described above, which will not be described in detail herein.
[0148] The display module 640 is configured to dynamically display the video data at a first predetermined frequency. In one embodiment, the display module 640 may be configured to execute the operation S140 described above, which will not be described in detail herein.
[0149] According to an embodiment of the present disclosure, any multiple modules among the acquisition module 610, the obtaining module 620, the generation module 630, and the display module 640 can be combined into a single module for implementation, or any one of these modules can be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules can be combined with at least part of the functionality of other modules and implemented in a single module.
[0150] According to an embodiment of the present disclosure, at least one of the acquisition module 610, the acquisition module 620, the generation module 630, and the display module 640 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or in any one of the three implementation methods of software, hardware, and firmware, or in an appropriate combination of any of them. Alternatively, at least one of the acquisition module 610, the acquisition module 620, the generation module 630, and the display module 640 can be at least partially implemented as a computer program module, which can perform the corresponding function when the computer program module is executed.
[0151] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of this disclosure may be combined and / or coupled in various ways, even if such combinations and / or couplings are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure may be combined and / or coupled in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or couplings are intended to fall within the scope of this disclosure.
[0152] The embodiments of the present disclosure are described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be used in combination to advantage. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A display method for a radiation inspection system, the radiation detection system comprising a radiation source for emitting radiation and a detector for collecting radiation, wherein, The method includes: Obtaining M frames of ray data collected by the detector, where the ray data is generated based on rays emitted by the ray source and passing through the object to be inspected and incident on the detector, and M is a positive integer greater than or equal to 2; Processing the M frames of ray data respectively to obtain M frames of images, where the M frames of images are suitable for display on the display screen of the ray detection system; Generating video data based on the M frames of images; and Dynamically displaying the video data at a first predetermined frequency.
2. The method according to claim 1, wherein, The generating video data based on the M frames of images includes: Performing compression encoding on the M frames of images respectively to obtain M frames of video bitstream data; Storing the M frames of video bitstream data into a storage module; In response to an echo request from the client, reading the M frames of video bitstream data from the storage module and generating the video data.
3. The method according to claim 2, wherein The performing compression encoding on the M frames of images respectively to obtain M frames of video bitstream data includes: Converting the pixel encoding method of each frame of the image to a first encoding method to obtain a first converted image; Performing video encoding on the first converted image to obtain the video bitstream data corresponding to each frame of the image.
4. The method according to claim 2, wherein, The in response to an echo request from the client, reading the M frames of video bitstream data from the storage module and generating the video data includes: Reading the M frames of video bitstream data from the storage module to obtain the M frames of video bitstream data; Decoding each frame of the video bitstream data to obtain a second converted image; Converting the pixel encoding method of the second converted image to a second encoding method to generate the video data corresponding to each frame of the video bitstream data.
5. The method according to claim 1, wherein Before the generating video data based on the M frames of images, it further includes: Storing the M frames of images into a cache module by using an Open Graphics Library; Using a display module to read the M frames of images from the cache module at a second predetermined frequency and dynamically display the M frames of images at the second predetermined frequency.
6. The method according to any one of claims 1 to 5, wherein It further includes: In response to a pause request from the client, pausing the display of the video data or the M frames of images; Obtaining static ray data collected by the detector, where the static ray data is generated based on two types of rays emitted by the ray source, having an energy difference and passing through the object to be inspected and incident on the detector; Processing the static ray data to obtain a static image; Using the display module to perform static display on the static image.
7. The method according to claim 6, wherein, It further includes: Storing the static image into the storage module; In response to an echo request from the client, using the display module to perform static display on the static image.
8. The method according to claim 3 or 4, wherein The first encoding method includes the YUV format, and the second encoding method includes the RGB format.
9. A display device for a radiation inspection system, the radiation detection system including a radiation source for emitting radiation and a detector for collecting radiation, wherein, It includes: An acquisition module for obtaining M frames of ray data collected by the detector, where the ray data is generated based on rays emitted by the ray source and passing through the object to be inspected and incident on the detector, and M is a positive integer greater than or equal to 2; An obtaining module, configured to process the M-frame ray data respectively to obtain M-frame images, where the M-frame images are suitable for being displayed on a display screen of the ray detection system; A generating module, configured to generate video data based on the M-frame images; and A display module, configured to dynamically display the video data at a first predetermined frequency.
10. A ray inspection system, comprising: A ray source, configured to emit rays; A detector, configured to collect the rays emitted from the ray source and passing through an object to be inspected; A display screen, configured to display images and / or videos related to the data collected by the detector; A controller, communicatively connected to the display screen, and configured to: control the display screen to perform display by using the method according to any one of claims 1 to 8.
11. A ray inspection method, comprising: Controlling a ray source to emit rays so that at least part of the rays scan an object to be inspected; Controlling a detector to collect the rays emitted from the ray source and passing through the object to be inspected to generate ray data; In response to a dynamic display mode, controlling a display screen to dynamically display images and / or videos related to the ray data by using the method according to any one of claims 1 to 8, and preliminarily identifying an interested part in the object to be inspected based on the dynamically displayed video; And In response to a static display mode, controlling the display screen to display a static image related to the ray data, and further identifying the interested part based on the static image.
Citation Information
Patent Citations
Ray imaging apparatus and method
CN105078490A
Portable X-ray video camera
CN105898126A
Video generation method and terminal
CN108391123A
Package passing detection method and device, computer equipment and storage medium
CN110933458A
Dynamic video stream and static image processing and displaying method and system
CN112766066A