A method and apparatus for correcting count results of an image sensor
By correcting the counting results of the counting-type image sensor, the problem of array pixel inconsistency was solved, improving imaging quality and low-light imaging performance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-27
- Publication Date
- 2026-03-31
AI Technical Summary
In counting image sensors, variations in manufacturing processes and packaging methods can lead to inconsistent light detection efficiency and dark noise in the array pixels, affecting image quality.
By acquiring the cumulative count, detection efficiency, and dark count of sensor pixels, correction parameters are calculated to correct the counting results of each sensor pixel, eliminating inconsistencies in the array pixels and maintaining the original imaging information unchanged.
It improves the imaging quality of the image sensor, enhances the signal-to-noise ratio in low-light imaging, adjusts the white balance, reduces noise, and improves the low-light imaging effect.
Smart Images

Figure CN115683329B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of digital signal processing technology, and in particular to a method and apparatus for correcting the counting results of an image sensor. Background Technology
[0002] Currently, photon counting imaging devices and their array image sensors possess characteristics such as high sensitivity and ultra-high-speed imaging, making them widely applicable to industrial production, scientific research, and daily needs. However, due to variations in chip manufacturing processes, packaging methods, and power supply variations in large arrays, the materials, heat, and stress at the spatial locations of array pixels in counting photosensitive devices exhibit inconsistencies, directly leading to inconsistencies in photodetection efficiency and dark noise among array pixels. Summary of the Invention
[0003] In view of the above problems, this disclosure provides a method and apparatus for correcting the counting results of an image sensor.
[0004] According to a first aspect of this disclosure, a method for correcting the counting results of an image sensor is provided, applicable to a counting image sensor. The counting image sensor has at least one sensor pixel embedded thereon. The sensor pixel is used to detect light signals illuminating it and represents these signals with a counting result. The detection result of the counting image sensor is obtained based on the counting results of all sensor pixels, including:
[0005] For each sensor pixel, obtain the cumulative count, detection efficiency, and dark count of the sensor pixel;
[0006] The accumulated value of the sensor pixel count is obtained based on the number of accumulations.
[0007] The correction parameters of the sensor pixels are calculated based on the number of accumulations, detection efficiency, and dark count.
[0008] The corrected count of sensor pixels is calculated based on the accumulated value and correction parameters;
[0009] The corrected count result of the counting type image sensor is obtained based on the corrected count result of all sensor pixels.
[0010] Optionally, the accumulated value of the sensor pixel count result obtained based on the accumulated number of times includes:
[0011] Expose the sensor pixels until the number of exposures reaches the cumulative count;
[0012] The results of each exposure are summed to obtain the cumulative value.
[0013] Optionally, at least one sensor pixel is distributed in an array, and the correction parameters of the sensor pixel are calculated based on the number of accumulations, detection efficiency, and dark count, specifically including:
[0014] The first correction compensation parameter for the sensor pixel is calculated based on the number of accumulations.
[0015] The second correction compensation parameter for the sensor pixel is calculated based on the detection efficiency;
[0016] The third correction compensation parameter for the sensor pixels is calculated based on the detection efficiency and dark count.
[0017] C1 = log2(T);
[0018] C2 = -log2(1-P) λ (x, y));
[0019]
[0020] Where C1 is the first correction compensation parameter, C2 is the second correction compensation parameter, C3 is the third correction compensation parameter, T is the accumulation count, and P is the third correction compensation parameter. λ For detection efficiency, D is the dark count, x is the number of rows of sensor pixels in the array, and y is the number of columns of sensor pixels in the array.
[0021] Optionally, calculating the corrected count of sensor pixels based on the accumulated value and correction parameters includes:
[0022] The corrected count of the sensor pixels is calculated based on the accumulated value, the first correction compensation parameter, the second correction compensation parameter, and the third correction compensation parameter.
[0023]
[0024] Where n(x, y) is the corrected count result of the sensor pixels, and N(x, y) is the accumulated value.
[0025] Optionally, the detection efficiency of sensor pixels includes:
[0026] The detection efficiency is obtained by using sensor pixels to detect incident light of a preset wavelength and counting the frequency of the preset result in all detection attempts.
[0027] The incident light of the preset wavelength is incident light with a single photon energy level.
[0028] Optionally, obtaining the dark count of sensor pixels includes:
[0029] By covering the sensor pixels and counting the number of pixels caused by non-incident light after they are covered, the dark count is obtained.
[0030] According to a second aspect of this disclosure, a correction device for the counting results of an image sensor is provided, suitable for a counting image sensor. The counting image sensor has at least one sensor pixel embedded thereon. The sensor pixel is used to detect light signals illuminating it and represent these signals with a counting result. The detection result of the counting image sensor is obtained based on the counting results of all sensor pixels. The device includes:
[0031] The acquisition module is used to acquire the cumulative count, detection efficiency, and dark count for each sensor pixel.
[0032] The accumulation module is used to obtain the accumulated value of the sensor pixel count based on the number of accumulations.
[0033] The first calculation module is used to calculate the correction parameters of the sensor pixels based on the number of accumulations, detection efficiency, and dark count;
[0034] The second calculation module is used to calculate the corrected count result of the sensor pixels based on the accumulated value and the correction parameters;
[0035] The calibration module is used to obtain the calibrated count result of the counting type image sensor based on the calibrated count result of all sensor pixels.
[0036] According to a third aspect of this disclosure, an electronic device is provided, comprising:
[0037] One or more processors; and
[0038] Memory, used to store one or more programs.
[0039] Specifically, when one or more programs are executed by one or more processors, the one or more processors implement the methods described above.
[0040] According to a fourth aspect of this disclosure, a computer-readable storage medium is provided having executable instructions stored thereon, which, when executed by a processor, cause the processor to implement the methods described above.
[0041] According to a fifth aspect of this disclosure, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the method described above.
[0042] This disclosure provides a method for correcting the counting results of an image sensor, comprising: for each sensor pixel, acquiring the accumulation count, detection efficiency, and dark count of the sensor pixel; acquiring the accumulated value of the counting results of the sensor pixel based on the accumulation count; calculating the correction parameters of the sensor pixel based on the accumulation count, detection efficiency, and dark count; calculating the corrected counting result of the sensor pixel based on the accumulated value and correction parameters; and obtaining the corrected counting result of the counting image sensor based on the corrected counting results of all sensor pixels. This method corrects the counting result of each sensor pixel in the counting image sensor. The correction process only subtracts non-ideal imaging factors without changing the original imaging information content, eliminating inconsistencies in the sensor pixel array, avoiding distortion of the original visual imaging information, and improving the imaging quality of the image sensor, such as improving the signal-to-noise ratio in low-light imaging, adjusting white balance, and reducing noise. Furthermore, the method provided in this disclosure has the function of improving the low-light detection signal-to-noise ratio, which can effectively improve the low-light imaging effect based on the counting image sensor. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments in this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 The illustration shows a flowchart of a method for correcting the detection results of an image sensor according to an embodiment of the present disclosure.
[0045] Figure 2 The illustration shows a flowchart of a method for obtaining the accumulated value of a sensor pixel count result based on the number of accumulations according to an embodiment of the present disclosure;
[0046] Figure 3 This schematically illustrates a structural diagram of a correction device for the counting results of an image sensor according to an embodiment of the present disclosure; and
[0047] Figure 4 A block diagram of an electronic device suitable for implementing a correction method for the detection results of an image sensor according to an embodiment of the present disclosure is shown schematically. Detailed Implementation
[0048] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.
[0049] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0050] 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 are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0051] When expressions such as "at least one of A, B, and C" are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (e.g., "a system having at least one of A, B, and C" should include, but is not limited to, systems having A alone, having B alone, having C alone, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.). When expressions such as "at least one of A, B, or C" are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (e.g., "a system having at least one of A, B, or C" should include, but is not limited to, systems having A alone, having B alone, having C alone, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.). Those skilled in the art should also understand that any conjunction and / or phrase that substantially arbitrarily indicates two or more optional items, whether in the specification, claims, or drawings, should be understood to indicate the possibility of including one of these items, either of these items, or both items. For example, the phrase “A or B” should be understood as including the possibility of “A” or “B”, or “A and B”.
[0052] The accompanying drawings illustrate several block diagrams and / or flowcharts. It should be understood that some blocks, or combinations thereof, in the block diagrams and / or flowcharts can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, such that, when executed by the processor, these instructions can create means for implementing the functions / operations described in these block diagrams and / or flowcharts. The technology of this disclosure can be implemented in hardware and / or software (including firmware, microcode, etc.). Alternatively, the technology of this disclosure can take the form of a computer program product stored on a computer-readable medium, which is available for use by or in conjunction with an instruction execution system. In the context of this disclosure, a computer-readable medium can be any medium capable of containing, storing, transmitting, propagating, or transmitting instructions. For example, a computer-readable medium can include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, devices, or propagation media. Specific examples of computer-readable media include: magnetic storage devices, such as magnetic tape or hard disk (HDD); optical storage devices, such as optical disc (CD-ROM); memory, such as random access memory (RAM) or flash memory; and / or wired / wireless communication links.
[0053] This disclosure provides a method, apparatus, electronic device, storage medium, and program product for correcting the detection results of an image sensor. The following description, in conjunction with the accompanying drawings, provides an exemplary account. It should be noted that the sequence numbers of the various operations in the following methods are merely for descriptive purposes and should not be construed as indicating the order in which the operations are performed. Unless explicitly stated otherwise, the method need not be performed in the exact order shown.
[0054] The following will be through Figures 1-2 A method for correcting the detection results of an image sensor according to a disclosed embodiment is described in detail. This is to enable those skilled in the art to more clearly understand the technical solution of this disclosure.
[0055] Figure 1 The illustration shows a flowchart of a method for correcting the detection results of an image sensor according to an embodiment of the present disclosure.
[0056] like Figure 1 As shown, in one embodiment of this disclosure, the above-described method for correcting the detection results of an image sensor is applicable to a counting image sensor. The counting image sensor has at least one sensor pixel embedded on it. The sensor pixel is used to detect the light signal illuminating the sensor pixel and represent it with a counting result. The detection result of the counting image sensor is obtained based on the counting results of all sensor pixels. The above method includes operations S110 to S150.
[0057] In operation S110, for each sensor pixel, the cumulative count, detection efficiency, and dark count of the sensor pixel are obtained.
[0058] In this embodiment, incident light of a preset wavelength is detected using sensor pixels. The frequency of the preset result occurring in all detection attempts is counted to obtain the detection efficiency. Here, the incident light of the preset wavelength is incident light at the single-photon energy level. The sensor pixels are then covered (placed in complete darkness), and the count rate caused by non-incident light after the sensor pixels are covered is counted to obtain the dark count.
[0059] In operation S120, the accumulated value of the sensor pixel count result is obtained based on the accumulated number of times.
[0060] In operation S130, the correction parameters of the sensor pixels are calculated based on the number of accumulations, detection efficiency, and dark count.
[0061] In operation S140, the corrected count of sensor pixels is calculated based on the accumulated value and correction parameters.
[0062] In operation S150, the corrected count result of the counting type image sensor is obtained based on the corrected count result of all sensor pixels.
[0063] An image sensor contains numerous photosensitive units that convert light into electrical charges, forming an electronic image corresponding to a scene. Each photosensitive unit in an image sensor corresponds to a pixel. More pixels mean more object details can be sensed, resulting in a clearer image; higher pixel counts mean sharper imaging. While we typically understand a pixel as the smallest unit in an image, these two types of pixels are clearly different. For clarity, this disclosure refers to pixels in an image sensor as sensor pixels and pixels in an image as image pixels.
[0064] A counting sensor refers to a sensor pixel that obtains only one digitized binary detection output per exposure. By accumulating the count results through multiple exposures, the measured value of a certain physical quantity of the signal under test can be obtained.
[0065] In this embodiment, the accumulated value of the sensor pixel count is obtained based on the number of times each sensor pixel is accumulated. Then, the correction parameters of the sensor pixel are calculated based on the number of accumulations, detection efficiency, and dark count. Finally, the corrected count result of the sensor pixel is calculated based on the accumulated value and the correction parameters.
[0066] The correction method disclosed herein corrects the counting results of each sensor pixel in a counting-type image sensor. The correction process only subtracts non-ideal imaging factors without altering the original imaging information, eliminating inconsistencies in the sensor pixel array and avoiding distortion of the original visual imaging information. Since there is a one-to-one correspondence between sensor pixels in an image sensor and image pixels in an image, the correction method provided herein can improve the imaging quality of the image sensor, such as increasing the signal-to-noise ratio in low-light imaging, adjusting white balance, and reducing noise. Furthermore, the method provided herein has the function of improving the signal-to-noise ratio of low-light detection, effectively improving the low-light imaging effect based on a counting-type image sensor.
[0067] Figure 2 The illustration shows a flowchart of a method for obtaining the accumulated value of a sensor pixel count result based on the number of accumulations, according to an embodiment of the present disclosure.
[0068] like Figure 2 As shown, in one embodiment of this disclosure, the above-mentioned operation S120 includes operations S121 to S122.
[0069] In operation S121, the sensor pixels are exposed until the number of exposures reaches the cumulative count.
[0070] In operation S122, the results of each exposure are accumulated to obtain the accumulated value.
[0071] In this embodiment, the number of accumulations refers to the appropriate number of exposures T determined according to the lighting level of the actual application scenario, while the accumulated value refers to the count value obtained by accumulating the detection results after T exposures, and the count value is used as the original detection result of the sensor pixel.
[0072] In one embodiment of this disclosure, a first correction compensation parameter for the sensor pixel is calculated based on the number of accumulations. A second correction compensation parameter for the sensor pixel is calculated based on the detection efficiency. A third correction compensation parameter for the sensor pixel is calculated based on the detection efficiency and the dark count.
[0073] In this embodiment, C1 = log2(T), C2 = -log2(1-P) λ (x, y)), Where C1 is the first correction compensation parameter, C2 is the second correction compensation parameter, C3 is the third correction compensation parameter, T is the accumulation count, and P is the third correction compensation parameter. λ For detection efficiency, D is the dark count, x is the number of rows of sensor pixels in the array, and y is the number of columns of sensor pixels in the array.
[0074] In this embodiment, the second correction parameter C2 and the third correction parameter C3 are related to the detection efficiency and dark count of the sensor pixels. If the counting image sensor is used for color imaging, the photosensitivity needs to be measured using the single-photon detection efficiency of the red, green, and blue filter bands used for color imaging in industry standards to obtain the measurement value of each sensor pixel for the three bands of light. If the counting image sensor is used for grayscale imaging to detect light intensity, its photosensitivity measurement can select the band with the highest detection efficiency to obtain the single-photon detection efficiency P in that band. λ Substituting these values into the above formula, we can calculate the second correction parameter C2 and the third correction parameter C3 shared by each sensor pixel across the entire band.
[0075] In one embodiment of this disclosure, the corrected count result of the sensor pixel is calculated based on the accumulated value, the first correction compensation parameter, the second correction compensation parameter, and the third correction compensation parameter.
[0076] In this embodiment, Where n(x, y) is the corrected count result of the sensor pixels, and N(x, y) is the accumulated value.
[0077] Based on the above-described method for correcting the counting results of an image sensor, this disclosure also provides a device for correcting the counting results of an image sensor.
[0078] Figure 3 The schematic diagram illustrates the structure of a correction device for the counting results of an image sensor according to an embodiment of the present disclosure.
[0079] like Figure 3 As shown, in one embodiment of this disclosure, the above-mentioned image sensor counting result correction device is applicable to a counting image sensor. The counting image sensor has at least one sensor pixel embedded on it. The sensor pixel is used to detect the light signal illuminating the sensor pixel and represent it with the counting result. The detection result of the counting image sensor is obtained based on the counting results of all sensor pixels. The above-mentioned image sensor counting result correction device 300 includes an acquisition module 310, an accumulation module 320, a first calculation module 330, a second calculation module 340, and a correction module 350.
[0080] The acquisition module 310 is used to acquire the cumulative count, detection efficiency, and dark count for each sensor pixel. In one embodiment, the acquisition module 310 can be used to perform the operation S110 described above, which will not be repeated here.
[0081] The accumulation module 320 is used to obtain the accumulated value of the sensor pixel count results based on the accumulation number. In one embodiment, the accumulation module 320 can be used to perform the operation S120 described above, which will not be repeated here.
[0082] The first calculation module 330 is used to calculate the correction parameters of the sensor pixels based on the number of accumulations, detection efficiency, and dark count. In one embodiment, the first calculation module 330 can be used to perform the operation S130 described above, which will not be repeated here.
[0083] The second calculation module 340 is used to calculate the corrected count result of the sensor pixels based on the accumulated value and the correction parameters. In one embodiment, the second calculation module 340 can be used to perform the operation S140 described above, which will not be repeated here.
[0084] The correction module 350 is used to obtain the corrected count result of the counting type image sensor based on the corrected count results of all sensor pixels. In one embodiment, the correction module 350 can be used to perform the operation S150 described above, which will not be repeated here.
[0085] Any one or more of the modules, submodules, units, and subunits according to embodiments of the present disclosure, or at least part of the functions of any one or more of them, can be implemented in one module. Any one or more of the modules, submodules, units, and subunits according to embodiments of the present disclosure can be implemented by dividing them into multiple modules. Any one or more of the modules, submodules, units, and subunits according to embodiments of the present disclosure can be at least partially implemented as hardware circuitry, such as Field Programmable Gate Arrays (FPGAs), Programmable Logic Arrays (PLAs), Systems-on-Chip, Systems-on-Substrate, Systems-on-Package, Application-Specific Integrated Circuits (ASICs), or implemented in hardware or firmware by any other reasonable means of integrating or packaging circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, one or more of the modules, submodules, units, and subunits according to embodiments of the present disclosure can be at least partially implemented as computer program modules, which, when run, can perform corresponding functions.
[0086] For example, any plurality of the acquisition module 310, accumulation module 320, first calculation module 330, second calculation module 340, and correction module 350 may be combined into one module, or any one of these modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in one module. According to embodiments of the present disclosure, at least one of the acquisition module 310, accumulation module 320, first calculation module 330, second calculation module 340, and correction module 350 may be at least partially implemented as hardware circuitry, 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-package, an application-specific integrated circuit (ASIC), or any other reasonable means of integrating or packaging the circuitry, or implemented in software, hardware, or firmware, or in any one of the three implementation methods or a suitable combination of any of them. Alternatively, at least one of the acquisition module 310, accumulation module 320, first calculation module 330, second calculation module 340 and correction module 350 may be implemented at least partially as a computer program module, which can perform corresponding functions when the computer program module is run.
[0087] Figure 4 A block diagram of an electronic device suitable for implementing a correction method for the detection results of an image sensor according to an embodiment of the present disclosure is shown schematically.
[0088] like Figure 4 As shown, an electronic device 400 according to an embodiment of the present disclosure includes a processor 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage portion 408 into a random access memory (RAM) 403. The processor 401 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 401 may also include onboard memory for caching purposes. The processor 401 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0089] RAM 403 stores various programs and data required for the operation of electronic device 400. Processor 401, ROM 402, and RAM 403 are interconnected via bus 404. Processor 401 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 402 and / or RAM 403. It should be noted that the programs may also be stored in one or more memories other than ROM 402 and RAM 403. Processor 401 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.
[0090] According to embodiments of this disclosure, the electronic device 400 may further include an input / output (I / O) interface 405, which is also connected to a bus 404. The electronic device 400 may also include one or more of the following components connected to the I / O interface 405: an input section 406 including a keyboard, mouse, etc.; an output section 407 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN card, modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 410 as needed so that computer programs read from it can be installed into the storage section 408 as needed.
[0091] This disclosure also provides a computer-readable storage medium storing a computer program that includes a method for correcting the detection results of an image sensor as described above. The computer-readable storage medium may be included in the apparatus / device described in the above embodiments; or it may exist independently and not assembled into the apparatus / device. The aforementioned computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.
[0092] According to embodiments of this disclosure, a computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, a computer-readable storage medium may include ROM 402 and / or RAM 403 and / or one or more memories other than ROM 402 and RAM 403 described above.
[0093] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to enable the computer system to implement a method for correcting the detection results of an image sensor provided in embodiments of this disclosure.
[0094] When the computer program is executed by the processor 401, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0095] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and downloaded and installed via communication section 409, and / or installed from removable medium 411. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.
[0096] In such an embodiment, the computer program can be downloaded and installed from a network via communication section 409, and / or installed from removable medium 411. When the computer program is executed by processor 401, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0097] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0098] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0099] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined and / or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.
[0100] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although this disclosure has been shown and described with reference to specific exemplary embodiments, those skilled in the art will understand that various changes in form and detail may be made to this disclosure without departing from the spirit and scope of this disclosure as defined by the appended claims and their equivalents. Therefore, the scope of this disclosure should not be limited to the above embodiments, but should be determined not only by the appended claims but also by their equivalents.
Claims
1. A method of correcting a count result of an image sensor, characterized by, The method is suitable for a counting type image sensor, at least one sensor pixel is implanted on the counting type image sensor, the sensor pixel is used for detecting a light signal irradiated on the sensor pixel and representing a counting result, and the method comprises the following steps: For each of the sensor pixels, the accumulated number of times, the detection efficiency and the dark count of the sensor pixel are obtained; According to the accumulated number of times, the accumulated value of the counting result of the sensor pixel is obtained; According to the accumulated number of times, the detection efficiency and the dark count, the correction parameter of the sensor pixel is calculated; According to the accumulated value and the correction parameter, the corrected counting result of the sensor pixel is calculated.
2. The method of correcting the count result of an image sensor according to claim 1, characterized by, The accumulated value of the counting result of the sensor pixel according to the accumulated number of times comprises: Exposing the sensor pixel until the number of exposures reaches the accumulated number of times; The results of each exposure are accumulated to obtain the accumulated value.
3. The method of correcting the count result of an image sensor according to claim 1, characterized by, The at least one sensor pixel is distributed in the form of an array, and the correction parameter of the sensor pixel according to the accumulated number of times, the detection efficiency and the dark count specifically comprises: According to the accumulated number of times, the first correction compensation parameter of the sensor pixel is calculated; According to the detection efficiency, the second correction compensation parameter of the sensor pixel is calculated; According to the detection efficiency and the dark count, the third correction compensation parameter of the sensor pixel is calculated; C1=log2(T); C2 = -log2(1 - P λ (x, y)); wherein C1 is the first correction compensation parameter, C2 is the second correction compensation parameter, C3 is the third correction compensation parameter, T is the number of accumulations, P λ is the detection efficiency, D is the dark count, x is the row number of the sensor pixel in the array, and y is the column number of the sensor pixel in the array.
4. The method of correction of the counting result of an image sensor according to claim 3, characterized in that, The corrected counting result of the sensor pixel according to the accumulated value and the correction parameter comprises: According to the accumulated value, the first correction compensation parameter, the second correction compensation parameter and the third correction compensation parameter, the corrected counting result of the sensor pixel is calculated; Wherein, n(x, y) is the corrected counting result of the sensor pixel, and N(x, y) is the accumulated value.
5. The method of correction of the counting result of an image sensor according to claim 1, characterized in that, The detection efficiency of the sensor pixel comprises: Using the sensor pixel to detect incident light of a preset wavelength, counting the frequency of a preset result appearing in all detection times to obtain the detection efficiency; Wherein, the incident light of the preset wavelength is incident light of a single-photon energy level.
6. The method of correcting the count result of an image sensor according to claim 1, characterized by, The dark count of the sensor pixel comprises: Covering the sensor pixel, counting the counting rate of the sensor pixel caused by non-incident light after being covered to obtain the dark count.
7. A device for correcting the counting results of an image sensor, characterized in that, The device is suitable for a counting type image sensor, at least one sensor pixel is implanted on the counting type image sensor, the sensor pixel is used for detecting a light signal irradiated on the sensor pixel and representing a counting result, and the detection result of the counting type image sensor is obtained according to the counting result of all the sensor pixels, and the device comprises: An acquisition module is used for obtaining, for each of the sensor pixels, the accumulated number of times, the detection efficiency and the dark count of the sensor pixel; An accumulation module is used for obtaining, according to the accumulated number of times, the accumulated value of the counting result of the sensor pixel; A first calculation module is used for calculating, according to the accumulated number of times, the detection efficiency and the dark count, the correction parameter of the sensor pixel; a second calculating module configured to calculate a corrected count result of the sensor pixel according to the accumulated value and the correction parameter; a correction module configured to obtain a corrected count result of the counting image sensor according to the corrected count results of all the sensor pixels.
8. An electronic device, comprising: comprise: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, enable the one or more processors to implement the method recited in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, a non-transitory computer-readable medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the method recited in any one of claims 1 to 6.
10. A computer program product, characterised in that, a computer program product comprising a computer program that, when executed by a processor, performs the method recited in any one of claims 1 to 6.
Citation Information
Patent Citations
Image noise reduction method, device, computer readable storage medium and electronic device
CN109089046A
Image forming apparatus and output image density correction method
CN1945454A