Afterimage correction method, device, equipment and storage medium

By obtaining the empty frame images and dark field images of the previous frame, combined with the pre -created residual shadow attenuation curve, quickly and accurately complete the residual shadow correction of the current frame image, solve the problem of complex processes in the existing technology. The effect of simplifying the process and improving the quality of the image.

CN116934631BActive Publication Date: 2025-01-24PINGSENG HEALTHCARE KUNSHAN
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311024400.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-15
Publication Date
2025-01-24
Estimated Expiration
2043-08-15

AI Technical Summary

Technical Problem

In the prior art, the afterimage correction process is complicated, and it is difficult to quickly and accurately complete the afterimage correction of the image.

Method used

By obtaining the empty frame images, dark field images and collection time corresponding to the previous frame image, use this information to determine the residual shadow image, and calculate the results of the residual shadow attenuation based on the pre -created residual shadow attenuation curve, so as to correct the current frame image. Essence

Benefits of technology

The empty frame images, dark field images, and residual shadow attenuation curves of the previous frame image are achieved quickly and accurately completing the current correction of the current frame image, simplifying the correction process and improving the quality of the image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116934631B_ABST
    Figure CN116934631B_ABST
Patent Text Reader

Abstract

The present invention discloses an afterimage correction method, device, equipment and storage medium. The method comprises: in the reconstruction process of the current frame image, if there is a previous frame image corresponding to the current frame image, then obtaining the acquisition time of the clear frame image, dark field image, and clear frame image corresponding to the previous frame image, as well as the acquisition time of the current frame image; determining the corresponding afterimage image according to the clear frame image and the dark field image; determining the afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image based on the pre-created afterimage attenuation curve and the acquisition time of the clear frame image; performing afterimage correction on the current frame image according to the afterimage attenuation result to obtain the corrected current frame image. The technical solution provided by the embodiment of the present invention achieves the technical effect of simplifying the afterimage correction process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to an afterimage correction method, device, equipment and storage medium. Background Art

[0002] Detection equipment based on X-ray non-destructive imaging technology, such as DR (digital radiography) and CT (Computed Tomography), can observe the internal structure of the scanned object without trauma. It is one of the mainstream non-contact detection methods currently widely used in the fields of medical care, health, industrial production, etc. The current X-ray non-destructive imaging technology is generally developed based on flat-panel detectors. When a digital flat-panel detector is irradiated with X-rays, the scintillator on the detector converts the incident X-rays into visible light, which excites the photodiode to produce photoelectrons. The electrical signal is then read out and converted into a digital signal through an electronic circuit, i.e., the image output of the flat-panel detector. Due to the physical structure characteristics of the circuit device itself, the collected image is easily affected by the residual image (the residual information of the previous frame image). In this way, when collecting images, not only the projection information of the current collected object is included, but also the projection information of the previous collected object is included.

[0003] The existing technology usually uses relevant algorithms to correct the residual image of the corresponding image, but the correction process is usually complicated. Summary of the invention

[0004] The present invention provides an afterimage correction method, device, equipment and storage medium to solve the problem that the correction process of the existing afterimage correction method is relatively complicated.

[0005] According to one aspect of the present invention, there is provided a residual image correction method, comprising:

[0006] During the reconstruction of the current frame image, if there is a previous frame image corresponding to the current frame image, acquiring the acquisition time of the clear frame image, the dark field image, and the clear frame image corresponding to the previous frame image, and the acquisition time of the current frame image;

[0007] Determine a corresponding residual image according to the clear frame image and the dark field image;

[0008] Determine, based on a pre-created afterimage attenuation curve and the acquisition time of the cleared frame image, an afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image;

[0009] Perform afterimage correction on the current frame image according to the afterimage attenuation result to obtain a corrected current frame image.

[0010] In one embodiment, the afterimage attenuation curve is determined by the following steps, including:

[0011] Acquire a dark field image and a clear frame sequence corresponding to a phantom image of the calibration phantom, wherein the clear frame sequence includes at least two clear frame images, different clear frame images correspond to different generation times, and the phantom image is determined by a flat panel detector based on a set dose exposure;

[0012] Determine a residual image sequence corresponding to the clear frame sequence, wherein each residual image in the residual image sequence is determined based on the dark field image and the corresponding clear frame image;

[0013] An afterimage attenuation curve is determined according to the afterimage image sequence.

[0014] In one embodiment, determining the afterimage attenuation curve according to the afterimage image sequence includes:

[0015] According to the acquisition time of the clear frame image corresponding to each afterimage image in the afterimage image sequence, the afterimage value corresponding to each afterimage image in the afterimage image sequence is fitted to obtain the afterimage attenuation curve.

[0016] In one embodiment, determining the afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image based on the pre-created afterimage attenuation curve and the acquisition time of the clear frame image includes:

[0017] Dividing the afterimage image into at least two regions according to the distribution of afterimage values ​​in the afterimage image, wherein different regions in the at least two regions correspond to different afterimage values;

[0018] Determine the afterimage attenuation results corresponding to the at least two regions at the acquisition time of the current frame image according to the afterimage values ​​respectively corresponding to the at least two regions, the acquisition time of the cleared frame image, and the pre-created afterimage attenuation curve;

[0019] The afterimage attenuation result corresponding to the afterimage image at the time of acquisition of the current frame image is determined according to the afterimage attenuation results corresponding to the at least two regions at the time of acquisition of the current frame image.

[0020] In one embodiment, determining the afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image based on the pre-created afterimage attenuation curve and the acquisition time of the clear frame image includes:

[0021] Determine, according to a pre-created afterimage attenuation curve and the acquisition time of the clear frame image, the afterimage value corresponding to each pixel in the afterimage image at the acquisition time of the clear frame image;

[0022] According to the afterimage value corresponding to each pixel point in the afterimage image at the time of collecting the clear frame image, the afterimage attenuation result corresponding to the afterimage image at the time of collecting the clear frame image is determined.

[0023] In one embodiment, determining the afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image based on the pre-created afterimage attenuation curve and the acquisition time of the clear frame image includes:

[0024] Performing contrast enhancement on the residual image to update the residual image;

[0025] Based on the pre-created afterimage attenuation curve and the acquisition time of the clear frame image, the afterimage attenuation result corresponding to the updated afterimage image at the acquisition time of the current frame image is determined.

[0026] In one embodiment, the set dose is a saturation dose of the flat panel detector.

[0027] According to another aspect of the present invention, there is provided an afterimage correction device, comprising:

[0028] An acquisition module, used for acquiring, during the reconstruction process of a current frame image, if there is a previous frame image corresponding to the current frame image, a clear frame image, a dark field image, an acquisition time of the clear frame image corresponding to the previous frame image, and an acquisition time of the current frame image;

[0029] An afterimage determination module, used for determining a corresponding afterimage image according to the clear frame image and the dark field image;

[0030] An afterimage attenuation result determination module, used to determine the afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image based on a pre-created afterimage attenuation curve and the acquisition time of the clear frame image;

[0031] The afterimage correction module is used to perform afterimage correction on the current frame image according to the afterimage attenuation result to obtain a corrected current frame image.

[0032] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:

[0033] at least one processor; and

[0034] a memory communicatively connected to the at least one processor; wherein,

[0035] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the afterimage correction method described in any embodiment of the present invention.

[0036] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the afterimage correction method described in any embodiment of the present invention when executed.

[0037] The technical solution of the afterimage correction method provided by the embodiment of the present invention is that when performing a ray scan on a target object, the corresponding clear frame image and dark field image are collected while collecting the previous frame image, and the clear frame image and dark field image are used to determine the afterimage information that will affect the current frame image, that is, the afterimage image, and the afterimage attenuation result corresponding to the afterimage image at the collection time of the current frame image is determined based on the pre-created afterimage attenuation curve and the collection time of the clear frame image; the afterimage correction is performed on the current frame image according to the afterimage attenuation result to obtain the corrected current frame image. The technical effect of quickly and accurately completing the afterimage correction of the current frame image is achieved through the clear frame image corresponding to the previous frame image, the collection time of the clear frame image, the dark field image and the pre-created afterimage attenuation curve, and the correction process is simple and practical.

[0038] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 is a flow chart of a residual image correction method provided according to an embodiment of the present invention;

[0041] Figure 2 is a flowchart of a method for determining an afterimage attenuation curve provided by an embodiment of the present invention;

[0042] Figure 3A is a structural schematic diagram of an afterimage correction device provided according to an embodiment of the present invention;

[0043] Figure 3B is a structural schematic diagram of another afterimage correction device provided according to an embodiment of the present invention;

[0044] Figure 4 It is a schematic diagram of the structure of an electronic device for implementing the afterimage correction method of an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0046] It should be noted that the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or apparatus.

[0047] Figure 1 The flowchart of the afterimage correction method provided by the embodiment of the present invention is applicable to the afterimage correction in the process of radiographic image reconstruction. The method can be executed by an afterimage correction device. The afterimage correction device can be implemented in the form of hardware and / or software. The afterimage correction device can be configured in the processor of the electronic device. Figure 1 As shown, the method includes:

[0048] S110. During reconstruction of the current frame image, if there is a previous frame image corresponding to the current frame image, the acquisition time of the clear frame image, the dark field image, and the clear frame image corresponding to the previous frame image, and the acquisition time of the current frame image are obtained.

[0049] The previous frame image corresponding to the current frame image refers to an image whose residual image will affect the current frame image. If the residual image of a certain image does not affect the current frame image, then the image is not the previous frame image corresponding to the current frame image. If the current frame image is the first frame image scanned after the scanning device is turned on or initialized, then the current frame image has no previous frame image corresponding to it.

[0050] Among them, the dark field image includes the background information of the flat panel detector.

[0051] The cleared frame image includes the background information of the flat panel detector and the residual image information of the previous frame image.

[0052] It can be understood that the acquisition time of the current frame image refers to the acquisition time of the projection data used to reconstruct the current frame image.

[0053] Since the residual image value decays over time, in principle, before acquiring the current frame image, a clear frame image corresponding to the previous frame image is acquired and the acquisition time of the clear frame image is recorded. In one embodiment, the corresponding dark field image and the clear frame image are acquired while acquiring the projection data for reconstructing the previous frame image, and the acquisition time of the clear frame image is recorded.

[0054] S120: Determine a corresponding afterimage image according to the clear frame image and the dark field image.

[0055] The local information of the flat panel detector included in the dark field image is subtracted from the clear frame image to obtain an afterimage image corresponding to the clear frame image.

[0056] The intensity of the residual image information of the previous frame image retained by the flat panel detector will gradually decay over time, so the residual image or residual image value is a concept related to time. Since the clear frame includes the residual image information of the previous frame image, while the dark field image does not include the residual image information of the previous frame image, the acquisition time of the clear frame image can be used as the acquisition time of the residual image.

[0057] S130. Determine, based on a pre-created afterimage attenuation curve and the acquisition time of the clear frame image, an afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image.

[0058] The time interval between the acquisition time of the clear frame image and the acquisition time of the current frame image is determined, and the time interval is used as the target time interval.

[0059] In one embodiment, an afterimage value of the afterimage image is determined, the afterimage value and the attenuation result of the afterimage value after the target time interval are determined from a pre-created afterimage attenuation curve, and the attenuation result of the afterimage value is used as the afterimage attenuation result corresponding to the afterimage image at the acquisition moment of the current frame image. The afterimage value of the afterimage image is the average afterimage value of the afterimage image.

[0060] In one embodiment, the afterimage image is divided into at least two regions according to the distribution of afterimage values ​​in the afterimage image, and different regions in the at least two regions correspond to different afterimage values; according to the afterimage values ​​corresponding to the at least two regions, the acquisition time of the clear frame image and the pre-created afterimage attenuation curve, the afterimage attenuation results corresponding to the at least two regions at the acquisition time of the current frame image are determined; according to the afterimage attenuation results corresponding to the at least two regions at the acquisition time of the current frame image, the afterimage attenuation results corresponding to the afterimage image at the acquisition time of the current frame image are determined. In this embodiment, the region corresponding to a certain afterimage value includes one or more sub-regions, the multiple sub-regions are not connected, and the afterimage values ​​of the one or more sub-regions are the same. In this embodiment, the target time interval and the afterimage attenuation results of the afterimage values ​​corresponding to the at least two regions after the target time interval are determined according to the afterimage attenuation curve; and the afterimage attenuation results corresponding to the afterimage values ​​corresponding to the at least two regions at the acquisition time of the current frame image are determined, thereby improving the accuracy of the determination of the afterimage attenuation results and simplifying the process of determining the afterimage attenuation results.

[0061] In one embodiment, the afterimage value corresponding to each pixel in the afterimage image at the time of collecting the clear frame image is determined according to the pre-created afterimage attenuation curve and the time of collecting the clear frame image; the afterimage attenuation result corresponding to the afterimage image at the time of collecting the clear frame image is determined according to the afterimage value corresponding to each pixel in the afterimage image at the time of collecting the clear frame image. After determining the target time interval according to the afterimage attenuation curve, this embodiment determines the afterimage attenuation result of the afterimage value of each pixel in the afterimage image after the target time interval has passed, and determines the afterimage attenuation result corresponding to the afterimage image at the time of collecting the current frame image according to the afterimage attenuation result of each pixel, thereby improving the accuracy of determining the afterimage attenuation result and simplifying the process of determining the afterimage attenuation result.

[0062] In one embodiment, the afterimage image is contrast enhanced to update the afterimage image; based on a pre-created afterimage attenuation curve and the acquisition time of the cleared frame image, the afterimage attenuation result corresponding to the updated afterimage image at the acquisition time of the current frame image is determined. The contrast of the afterimage image is improved by contrast enhancement, thereby improving the accuracy of determining the afterimage value corresponding to each pixel point of the afterimage image.

[0063] S140: Perform afterimage correction on the current frame image according to the afterimage attenuation result to obtain a corrected current frame image.

[0064] After the afterimage attenuation result is determined, afterimage correction is performed on the current frame image according to the afterimage attenuation result to remove the afterimage information of the previous frame image in the current frame image and improve the image quality of the current frame image.

[0065] The technical solution of the afterimage correction method provided by the embodiment of the present invention is that when performing a ray scan on a target object, the corresponding clear frame image and dark field image are collected while collecting the previous frame image, and the clear frame image and dark field image are used to determine the afterimage information that will affect the current frame image, that is, the afterimage image, and the afterimage attenuation result corresponding to the afterimage image at the collection time of the current frame image is determined based on the pre-created afterimage attenuation curve and the collection time of the clear frame image; the afterimage correction is performed on the current frame image according to the afterimage attenuation result to obtain the corrected current frame image. The technical effect of quickly and accurately completing the afterimage correction of the current frame image is achieved through the clear frame image corresponding to the previous frame image, the collection time of the clear frame image, the dark field image and the pre-created afterimage attenuation curve, and the correction process is simple and practical.

[0066] Figure 2 This is a flow chart of a method for determining an afterimage attenuation curve provided by an embodiment of the present invention. This embodiment adds steps of a method for determining an afterimage attenuation curve based on the above embodiment. Figure 2 As shown, the method includes:

[0067] S2001. Acquire a dark field image and a clear frame sequence corresponding to a phantom image of a calibration phantom, wherein the clear frame sequence includes at least two clear frame images, and different clear frame images correspond to different generation times. The phantom image is determined by a flat panel detector based on a set dose exposure.

[0068] In one embodiment, the calibration phantom is a conventional phantom used in the calibration process of the ray scanning device, which is not specifically limited in this embodiment.

[0069] The set dose can be selected as the saturation dose or the approximate saturation dose of the flat panel detector, wherein the approximate saturation dose refers to a dose that reaches 95%-98% of the saturation dose.

[0070] The calibration phantom is exposed to a set dose, a phantom image of the calibration phantom, a dark field image corresponding to the phantom image, and a clear frame image are collected, a set number of clear frame images are collected based on a set time interval, and the set number of clear frame images are sorted according to the collection time to obtain a clear frame sequence.

[0071] S2002. Determine a residual image sequence corresponding to the clear frame sequence, wherein each residual image in the residual image sequence is determined based on the dark field image and the corresponding clear frame image.

[0072] For each clear frame image in the clear frame sequence, determine the residual image corresponding to the current clear frame image according to the current clear frame image and the dark field image. Sort all the residual images according to the acquisition time of their corresponding clear frame images to obtain a residual image sequence.

[0073] S2003. Determine an afterimage attenuation curve according to the afterimage image sequence.

[0074] In one embodiment, according to the acquisition time of the clear frame image corresponding to each afterimage image in the afterimage image sequence, the afterimage value corresponding to each afterimage image in the afterimage image sequence is fitted to obtain an afterimage attenuation curve. The average afterimage value of the afterimage image is used as the afterimage value corresponding to the afterimage image. This embodiment determines the afterimage attenuation curve for reflecting the attenuation law of the afterimage value based on the afterimage image sequence by fitting.

[0075] In one embodiment, for each pixel in the afterimage image, the afterimage value corresponding to the current pixel of each afterimage image is determined; according to the acquisition time of each afterimage image, the afterimage value corresponding to the current pixel in each afterimage image in the afterimage image sequence is fitted to obtain the afterimage attenuation curve corresponding to the current pixel; and the afterimage attenuation curve corresponding to the afterimage image sequence is determined according to the afterimage attenuation curves corresponding to all pixels. In the process of the afterimage attenuation curve, this embodiment refines the afterimage value to the pixel granularity, thereby improving the accuracy of determining the afterimage attenuation curve.

[0076] In the embodiment of the present invention, a residual image sequence corresponding to the clear frame image sequence is determined by clearing the frame sequence and the dark field image, and a corresponding residual image attenuation curve is determined according to the residual image distribution of each residual image in the residual image sequence, and the residual image attenuation curve is used to reflect the attenuation law of the residual image value over time. It is convenient to determine the residual image attenuation result affecting the current frame image according to the residual image attenuation curve, the residual image value distribution of the residual image corresponding to the previous frame image corresponding to the current frame image, and the attenuation interval between the acquisition time of the residual image and the acquisition time of the current image, and perform residual image correction on the current frame image according to the residual image attenuation result, remove the residual image information in the current frame image, and improve the image quality of the current frame image.

[0077] Figure 3A Schematic diagram of the structure of the afterimage correction device provided by the embodiment of the present invention. Figure 3A As shown, the device comprises:

[0078] An acquisition module 31 is used for acquiring, during the reconstruction process of a current frame image, a clear frame image and a dark field image corresponding to a previous frame image, a collection time of the clear frame image, and a collection time of the current frame image if there is a previous frame image corresponding to the current frame image;

[0079] An afterimage determination module 32, configured to determine a corresponding afterimage image according to the clear frame image and the dark field image;

[0080] An afterimage attenuation result determination module 33 is used to determine the afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image based on the pre-created afterimage attenuation curve and the acquisition time of the clear frame image;

[0081] The afterimage correction module 34 is used to perform afterimage correction on the current frame image according to the afterimage attenuation result to obtain a corrected current frame image.

[0082] In one embodiment, Figure 3B As shown, the device further includes a model building module 30, and the model building module 30 includes:

[0083] an acquisition unit, configured to acquire a dark field image and a clear frame sequence corresponding to a phantom image of the calibration phantom, wherein the clear frame sequence includes at least two clear frame images, and different clear frame images correspond to different generation times, and the phantom image is determined by a flat panel detector based on a set dose exposure;

[0084] An afterimage image sequence determining unit, configured to determine an afterimage image sequence corresponding to the clear frame sequence, wherein each afterimage image in the afterimage image sequence is determined based on the dark field image and the corresponding clear frame image;

[0085] The afterimage attenuation curve determining unit is used to determine the afterimage attenuation curve according to the afterimage image sequence.

[0086] In one embodiment, the afterimage attenuation curve determination unit is specifically used to:

[0087] According to the acquisition time of the clear frame image corresponding to each afterimage image in the afterimage image sequence, the afterimage value corresponding to each afterimage image in the afterimage image sequence is fitted to obtain the afterimage attenuation curve.

[0088] In one embodiment, the afterimage attenuation result determination module is used to: divide the afterimage image into at least two regions according to the distribution of afterimage values ​​in the afterimage image, and different regions in the at least two regions correspond to different afterimage values;

[0089] Determine the afterimage attenuation results corresponding to the at least two regions at the acquisition time of the current frame image according to the afterimage values ​​respectively corresponding to the at least two regions, the acquisition time of the cleared frame image, and the pre-created afterimage attenuation curve;

[0090] The afterimage attenuation result corresponding to the afterimage image at the time of acquisition of the current frame image is determined according to the afterimage attenuation results corresponding to the at least two regions at the time of acquisition of the current frame image.

[0091] In one embodiment, the afterimage attenuation result determination module is used to:

[0092] Determine, according to a pre-created afterimage attenuation curve and the acquisition time of the clear frame image, the afterimage value corresponding to each pixel in the afterimage image at the acquisition time of the clear frame image;

[0093] According to the afterimage value corresponding to each pixel point in the afterimage image at the time of collecting the clear frame image, the afterimage attenuation result corresponding to the afterimage image at the time of collecting the clear frame image is determined.

[0094] In one embodiment, the afterimage attenuation result determination module is used to: perform contrast enhancement on the afterimage image to update the afterimage image;

[0095] Based on the pre-created afterimage attenuation curve and the acquisition time of the clear frame image, the afterimage attenuation result corresponding to the updated afterimage image at the acquisition time of the current frame image is determined.

[0096] In one embodiment, the time interval corresponding to adjacent clear frames in the clear frame sequence is smaller than the time interval between the acquisition time of the current frame image and the acquisition time of the previous frame image.

[0097] In one embodiment, the set dose is a saturation dose of the flat panel detector.

[0098] The technical solution of the afterimage correction device provided by the embodiment of the present invention is to collect the corresponding clear frame image and dark field image while collecting the previous frame image when performing ray scanning on the target object, and use the clear frame image and dark field image to determine the afterimage information that will affect the current frame image, that is, the afterimage image, and determine the afterimage attenuation result corresponding to the afterimage image at the collection time of the current frame image based on the pre-created afterimage attenuation curve and the collection time of the clear frame image; perform afterimage correction on the current frame image according to the afterimage attenuation result to obtain the corrected current frame image. The technical effect of quickly and accurately completing the afterimage correction of the current frame image is achieved through the clear frame image corresponding to the previous frame image, the collection time of the clear frame image, the dark field image and the pre-created afterimage attenuation curve, and the correction process is simple and practical.

[0099] The afterimage correction device provided in the embodiment of the present invention can execute the afterimage correction method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0100] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device 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 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, 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 examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0101] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

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

[0103] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the afterimage correction method.

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

[0105] Various implementations 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 chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0106] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0107] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0108] To provide interaction with a user, the systems and techniques described herein may 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 a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0109] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0110] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0111] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0112] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A residual image correction method, characterized in that: include: During the reconstruction of the current frame image, if there is a previous frame image corresponding to the current frame image, then obtaining a clear frame image, a dark field image, a collection time of the clear frame image, and a collection time of the current frame image corresponding to the previous frame image; Determine a corresponding residual image according to the clear frame image and the dark field image; Determine, based on a pre-created afterimage attenuation curve and the acquisition time of the cleared frame image, an afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image; Performing afterimage correction on the current frame image according to the afterimage attenuation result to obtain a corrected current frame image; The determining a corresponding residual image according to the clear frame image and the dark field image comprises: Subtracting the background information of the flat panel detector included in the dark field image from the clear frame image, thereby obtaining an afterimage image corresponding to the clear frame image; The determining, based on the pre-created afterimage attenuation curve and the acquisition time of the clear frame image, the afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image includes: Determine, according to a pre-created afterimage attenuation curve and the acquisition time of the clear frame image, the afterimage value corresponding to each pixel in the afterimage image at the acquisition time of the clear frame image; Determine, according to the afterimage value corresponding to each pixel point in the afterimage image at the time of collecting the clear frame image, the afterimage attenuation result corresponding to the afterimage image at the time of collecting the clear frame image; The previous frame image corresponding to the current frame image refers to an image whose residual image will affect the current frame image; the clear frame image includes the background information of the flat panel detector and the residual image information of the previous frame image; the dark field image includes the background information of the flat panel detector; The afterimage attenuation curve is determined by the following steps, including: Acquire a dark field image and a clear frame sequence corresponding to a phantom image of the calibration phantom, wherein the clear frame sequence includes at least two clear frame images, and different clear frame images correspond to different generation times, and the phantom image is determined by a flat panel detector based on a set dose exposure; Determine a residual image sequence corresponding to the clear frame sequence, wherein each residual image in the residual image sequence is determined based on the dark field image and the corresponding clear frame image; An afterimage attenuation curve is determined according to the afterimage image sequence.

2. The method according to claim 1, characterized in that The determining of the afterimage attenuation curve according to the afterimage image sequence comprises: According to the acquisition time of the clear frame image corresponding to each afterimage image in the afterimage image sequence, the afterimage value corresponding to each afterimage image in the afterimage image sequence is fitted to obtain the afterimage attenuation curve.

3. The method according to claim 1, characterized in that The determining, based on the pre-created afterimage attenuation curve and the acquisition time of the clear frame image, the afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image includes: Dividing the afterimage image into at least two regions according to the distribution of afterimage values ​​in the afterimage image, wherein different regions in the at least two regions correspond to different afterimage values; Determine the afterimage attenuation results corresponding to the at least two regions at the acquisition time of the current frame image according to the afterimage values ​​respectively corresponding to the at least two regions, the acquisition time of the cleared frame image, and the pre-created afterimage attenuation curve; The afterimage attenuation result corresponding to the afterimage image at the time of acquisition of the current frame image is determined according to the afterimage attenuation results corresponding to the at least two regions at the time of acquisition of the current frame image.

4. The method according to claim 1, characterized in that: The determining, based on the pre-created afterimage attenuation curve and the acquisition time of the clear frame image, the afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image includes: Performing contrast enhancement on the residual image to update the residual image; Based on the pre-created afterimage attenuation curve and the acquisition time of the clear frame image, the afterimage attenuation result corresponding to the updated afterimage image at the acquisition time of the current frame image is determined.

5. The method according to claim 1, characterized in that The set dose is the saturation dose of the flat panel detector.

6. An afterimage correction device, characterized in that: include: An acquisition module, used for acquiring, during the reconstruction process of a current frame image, if there is a previous frame image corresponding to the current frame image, the acquisition time of the clear frame image, the dark field image, and the clear frame image corresponding to the previous frame image, as well as the acquisition time of the current frame image; An afterimage determination module, used for determining a corresponding afterimage image according to the clear frame image and the dark field image; An afterimage attenuation result determination module, used to determine the afterimage attenuation result corresponding to the afterimage image at the acquisition time of the current frame image based on a pre-created afterimage attenuation curve and the acquisition time of the clear frame image; an afterimage correction module, configured to perform afterimage correction on the current frame image according to the afterimage attenuation result to obtain a corrected current frame image; the afterimage image determination module is further configured to subtract the flat panel detector background information included in the dark field image from the clear frame image, so as to obtain an afterimage image corresponding to the clear frame image; The afterimage attenuation result determination module is further used to determine the afterimage value corresponding to each pixel in the afterimage image at the time of collecting the clear frame image according to the pre-created afterimage attenuation curve and the time of collecting the clear frame image; Determine, according to the afterimage value corresponding to each pixel point in the afterimage image at the time of collecting the clear frame image, the afterimage attenuation result corresponding to the afterimage image at the time of collecting the clear frame image; The previous frame image corresponding to the current frame image refers to an image whose residual image will affect the current frame image; the clear frame image includes the background information of the flat panel detector and the residual image information of the previous frame image; the dark field image includes the background information of the flat panel detector; Model building modules, including: an acquisition unit, configured to acquire a dark field image and a clear frame sequence corresponding to a phantom image of the calibration phantom, wherein the clear frame sequence includes at least two clear frame images, and different clear frame images correspond to different generation times, and the phantom image is determined by a flat panel detector based on a set dose exposure; An afterimage image sequence determining unit, configured to determine an afterimage image sequence corresponding to the clear frame sequence, wherein each afterimage image in the afterimage image sequence is determined based on the dark field image and the corresponding clear frame image; The afterimage attenuation curve determining unit is used to determine the afterimage attenuation curve according to the afterimage image sequence.

7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the afterimage correction method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the afterimage correction method described in any one of claims 1 to 5 when executed.

Citation Information

Patent Citations

  • Flat panel detector residual shadow correction method and correction device thereof

    CN108171765A

  • Flat panel detector afterimage correction method and device, storage medium and medical equipment

    CN111445397A