Image acquisition control method, image acquisition device, computer equipment and medium
By forward biasing and reverse biasing the photodiode, and combining the grayscale compensation value to correct the image, the image afterimage problem in the TFT photoelectric sensor is solved and the quality of image acquisition is improved.
Patent Information
- Application Number
- CN202210007782.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-05
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-01-05
AI Technical Summary
Due to the defect state energy level of the TFT photoelectric sensor, the difference in carrier capture and release during image acquisition results in image afterimages and affects the image quality.
By forward biasing the photodiode, the defect state filling difference is eliminated, and reverse biasing and empty image acquisition are performed before and after acquisition, and the image is corrected by combining the grayscale compensation value to reduce grayscale fluctuations during image acquisition.
It effectively eliminates the afterimage phenomenon in the image and improves the image quality without adding system hardware. It is implemented based on the existing signal reading circuit.
Smart Images

Figure CN114363538B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image acquisition, and more specifically, to an image acquisition control method, an image acquisition device, a computer device and a medium. Background Art
[0002] As people's demand for information security increases, biometric technology has attracted more and more attention from all walks of life. Among the many biometric technologies, fingerprint recognition technology has become the most popular and widely used technology due to its practicality. The existing fingerprint recognition technology mainly converts optical images into electrical signals by photoelectric sensors, so that fingerprint images can be recognized by electronic devices.
[0003] Amorphous silicon thin film transistors (TFT) are widely used in medical imaging, biometrics and other fields due to their simple manufacturing process, low cost, and easy large-area production.
[0004] However, TFT photoelectric sensors also have shortcomings due to their own characteristics: in TFT photoelectric sensors, the four electrons in the outermost layer of each silicon atom do not completely form covalent bonds with adjacent silicon atoms, which causes amorphous silicon to produce defective energy levels in the original conduction band and valence band; secondly, defective energy levels will inevitably be introduced into amorphous silicon during the TFT manufacturing process. The carriers captured by these defective energy levels have a long lifetime and will be continuously released from the capture center. The released carriers accumulate in the pixel, increasing the grayscale value of the image. During image acquisition, the light intensity received by each pixel of the TFT photoelectric sensor is different, and the number of carriers captured and released varies between pixels. Therefore, when acquiring the current frame image, the release process of the carriers captured by the defective state during the acquisition of the previous frame image will produce "afterimages" in the current frame image, which will have a serious impact on the image quality. Summary of the invention
[0005] The object of the present invention is to provide an image acquisition control method, an image acquisition device, a computer device and a medium to solve at least one of the problems existing in the prior art.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] A first aspect of the present invention provides an image acquisition control method for a photoelectric sensor array, wherein the photoelectric sensor array includes a plurality of photoelectric sensors, and the photoelectric sensors include photodiodes. The method includes:
[0008] forward biasing the photodiode; and
[0009] The photoelectric sensor array is controlled to collect at least one frame of image.
[0010] Optionally, after forward biasing the photodiode and before controlling the photosensor array to collect at least one frame of image, the method further includes:
[0011] The photodiode is reverse biased.
[0012] Optionally, after forward biasing the photodiode and before controlling the photosensor array to collect at least one frame of image, the method further includes:
[0013] The photoelectric sensor array is controlled to perform image acquisition, wherein the duration of the image acquisition is shorter than the duration of one frame of image acquisition.
[0014] Optionally, after forward biasing the photodiode and before controlling the photosensor array to collect at least one frame of image, the method further includes:
[0015] reverse biasing the photodiode; and
[0016] The photoelectric sensor array is controlled to perform image acquisition, wherein the duration of the image acquisition is shorter than the duration of one frame of image acquisition.
[0017] Optionally, before forward biasing the photodiode, the method further comprises:
[0018] forward biasing the photodiode;
[0019] Under a first set light intensity, controlling the photoelectric sensor array to collect images with a set number of frames, where the set number of frames is N;
[0020] Obtaining a grayscale reference value for each pixel according to the grayscale value of each pixel in the (NM)th to Nth frames of images acquired by the set number of frames of images; and
[0021] Obtaining a grayscale compensation value of each pixel in the jth frame according to the grayscale value of each pixel in the jth frame image obtained by the jth frame image acquisition in the set frame number image acquisition and the grayscale reference value of each pixel, j=1, 2, ..., J;
[0022] The controlling the photoelectric sensor array to perform at least one frame of image acquisition includes: after acquiring the jth frame of image, compensating the grayscale value of each pixel of the jth frame of image according to the grayscale compensation value of each pixel of the jth frame of image.
[0023] Optionally, compensating the grayscale value of each pixel of the j-th frame image according to the grayscale compensation value of each pixel of the j-th frame image includes:
[0024] According to the average value of the grayscale compensation value of each pixel in the jth frame, the grayscale value of each pixel in the jth frame image is compensated respectively.
[0025] Optionally, compensating the grayscale value of each pixel of the j-th frame image according to the grayscale compensation value of each pixel of the j-th frame image includes:
[0026] According to the grayscale compensation value of each pixel of the jth frame, the grayscale value of each pixel of the jth frame image is compensated one by one.
[0027] Optionally, obtaining the grayscale reference value of each pixel according to the grayscale value of each pixel in the (NM)th to Nth frames of image acquired by the set number of frames of image acquisition includes:
[0028] The grayscale value of each pixel in the (NM)th to Nth frame images obtained by collecting the set number of frames of images is used as the grayscale reference value of each pixel.
[0029] Optionally, controlling the photoelectric sensor array to acquire images of a set number of frames under the first set light intensity comprises: controlling the photoelectric sensor array to acquire images of a set number of frames under the first set light intensity; and controlling the photoelectric sensor array to acquire images of a set number of frames under the second set light intensity;
[0030] The step of obtaining the grayscale reference value of each pixel according to the grayscale value of each pixel in the (NM)th to Nth frames of image acquired according to the set number of frames of image acquisition comprises: obtaining the first grayscale reference value of each pixel according to the grayscale value of each pixel in the (NM)th to Nth frames of image acquired according to the set number of frames of image acquisition under a first set light intensity; obtaining the second grayscale reference value of each pixel according to the grayscale value of each pixel in the (NM)th to Nth frames of image acquired according to the set number of frames of image acquisition under a second set light intensity;
[0031] Obtaining the grayscale compensation value of each pixel in the jth frame according to the grayscale value of each pixel in the jth frame image obtained by image acquisition of the jth frame in the image acquisition of the set frame number and the grayscale reference value of each pixel includes: obtaining the first grayscale compensation value of each pixel in the jth frame according to the grayscale value of each pixel in the jth frame image obtained by image acquisition of the jth frame in the image acquisition of the set frame number under the first set light intensity and the first grayscale reference value of each pixel; obtaining the second grayscale compensation value of each pixel in the jth frame according to the grayscale value of each pixel in the jth frame image obtained by image acquisition of the jth frame in the image acquisition of the set frame number under the second set light intensity and the second grayscale reference value of each pixel; obtaining the grayscale compensation value of each pixel in the jth frame according to the first grayscale compensation value of each pixel in the jth frame and the second grayscale compensation value of each pixel in the jth frame.
[0032] A second aspect of the present invention provides an image acquisition device, comprising a controller and a photoelectric sensor array, wherein the photoelectric sensor array comprises a plurality of photoelectric sensors, and the photoelectric sensors comprise photodiodes;
[0033] The controller is used to control the photosensor array to collect at least one frame of images after the photodiode is forward biased.
[0034] Optionally, the photosensor further includes a switching transistor connected to the cathode of the photodiode.
[0035] Optionally, the photodiode is a PIN photodiode, and the switching transistor is a thin film transistor.
[0036] The third aspect of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the image acquisition control method provided in the first aspect of the present invention is implemented.
[0037] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the image acquisition control method provided in the first aspect of the present invention.
[0038] The beneficial effects of the present invention are as follows:
[0039] The present invention eliminates the afterimage phenomenon in the image by forward biasing the photodiode. During the forward bias period, a large number of carriers flow into the photodiode, so that the defect state is in a saturated filling state, and the difference in defect state filling between pixels is reduced to a negligible level, thereby weakening the afterimage phenomenon in the next frame of image collected by the photodiode array and improving the image quality. In addition, the present invention does not require additional system hardware and can be implemented based on the existing signal reading circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The specific implementation modes of the present invention are further described in detail below in conjunction with the accompanying drawings.
[0041] Figure 1 A timing diagram of the process of an image acquisition control method of a photoelectric sensor array provided by an embodiment of the present invention is shown.
[0042] Figure 2 A schematic diagram of a photoelectric sensor provided by an embodiment of the present invention is shown.
[0043] Figure 3 A timing diagram showing the flow of another image acquisition control method for a photosensor array provided by an embodiment of the present invention.
[0044] Figure 4 A timing diagram showing the flow of another image acquisition control method for a photosensor array provided by an embodiment of the present invention.
[0045] Figure 5 A timing diagram showing the flow of another image acquisition control method for a photosensor array provided by an embodiment of the present invention.
[0046] Figure 6 A grayscale value curve diagram of a single pixel of a captured image provided by an embodiment of the present invention is shown.
[0047] Figure 7 An embodiment of the present invention provides a light response curve of a photosensor.
[0048] Figure 8 FIG. 4 shows a light response curve of a photosensor after compensation provided by an embodiment of the present invention.
[0049] Fig. 9 The fingerprint images before and after compensation provided by one embodiment of the present invention are shown.
[0050] Fig.10 A schematic diagram showing a computer device for implementing a controller provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to explain the present invention more clearly, the present invention is further described below in conjunction with embodiments and drawings. Similar components in the drawings are represented by the same reference numerals. It should be understood by those skilled in the art that the content specifically described below is illustrative rather than restrictive, and the protection scope of the present invention should not be limited thereto.
[0052] In order to solve the image afterimage problem caused by the difference in the number of defective state filling in the photoelectric sensor, the first embodiment of the present invention provides an image acquisition control method for a photoelectric sensor array, wherein the photoelectric sensor array includes a plurality of photoelectric sensors, and the photoelectric sensors include photodiodes, such as Figure 1 As shown, the method includes:
[0053] forward biasing the photodiode; and
[0054] The photoelectric sensor array is controlled to collect at least one frame of image.
[0055] The specific implementation of the forward bias is: applying a forward bias voltage to the photodiode makes the positive voltage of the photodiode greater than the negative voltage, so that all the photodiodes in the photosensor array are in a forward conduction state at the same time, the current in the photodiode is large, and a large number of carriers flow into the photodiode, so that the defect state is in a saturated filling state, and the defect state filling difference between pixels is reduced to a negligible level, thereby weakening the afterimage phenomenon in the next frame of the image collected by the photodiode array, and improving the image quality. And this embodiment does not require additional system hardware, and can be implemented based on the existing signal reading circuit, which can take into account both low cost and high image quality. The duration of the forward bias is set according to the actual situation, for example, 10ms.
[0056] The image acquisition control method of the photoelectric sensor array provided in this embodiment is described below in conjunction with actual scenarios. For example, the photoelectric sensor array is integrated in an electronic device and is mainly used for fingerprint recognition of mobile electronic devices. For example, a user places his finger above the fingerprint recognition area to unlock the phone, and the mobile electronic device uses the photoelectric sensor to collect light reflected by the user's finger. That is, in the image acquisition stage, the image acquisition control method of the photoelectric sensor array provided in this embodiment includes: forward biasing the photodiode in the photoelectric sensor; and controlling the photoelectric sensor array to collect at least one frame of image.
[0057] In a specific example, the photoelectric sensor array is formed by arranging 200*200 photoelectric sensor arrays, and the mobile electronic device draws a fingerprint image based on the signal output by the photoelectric sensor array, wherein, for example, each photoelectric sensor corresponds to a pixel in the fingerprint image. Figure 2As shown, the photoelectric sensor is composed of a photosensitive device PIN photodiode and a switch TFT connected thereto. When collecting images, the switch TFT is disconnected and the PIN photodiode is in a reverse bias state (negative voltage V d >Positive voltage V b ), when light shines on the PIN photodiode, photons are converted into carriers, which move to the two ends of the PIN photodiode under the action of the reverse bias electric field and accumulate at both ends of the PIN photodiode. In the next stage, the switch TFT is turned on (conducted), and the carriers accumulated in the PIN photodiode are transmitted out to realize the conversion of photoelectric signals.
[0058] Those skilled in the art should understand that, in addition to PIN photodiodes, other photodiodes such as PN and avalanche photodiodes also operate in a reverse bias state.
[0059] In one possible implementation, Figure 3 As shown, after the photodiode is forward biased in the image acquisition stage and before the photosensor array is controlled to acquire at least one frame of image, the image acquisition stage further includes:
[0060] The photodiode is reverse biased; wherein,
[0061] The specific implementation of the reverse bias is: a negative bias voltage is simultaneously applied to all PIN photodiodes of the photodiode array, that is, the cathode voltage V d >Positive voltage V b , at this time, the PIN photodiode is in a reverse conduction state, and the duration of the reverse bias period is, for example, 20ms. After the forward bias (or positive voltage reset) before acquisition in the image acquisition stage is completed, due to the large number of defect state fillings and the large number of carriers released in the defect state, the next frame of the image usually has a very high grayscale value, which is manifested in the image as a white image, and a saturation state is easily generated. Therefore, this implementation method can release the saturation caused by the forward bias by performing reverse bias (or reverse reset) before acquisition in the image acquisition stage, so that the carriers captured by the defect state can be gradually released from the PIN photodiode.
[0062] Those skilled in the art will appreciate that the duration of the reverse bias period of 20 ms is only an example and can be set according to actual conditions.
[0063] In one possible implementation, Figure 4As shown, after the photodiode is forward biased in the image acquisition stage and before the photoelectric sensor array is controlled to acquire at least one frame of image, the image acquisition stage also includes an image empty acquisition period, and the image empty acquisition period includes:
[0064] The photoelectric sensor array is controlled to perform image acquisition. The duration of the image acquisition is less than the duration of one frame of image acquisition. During this process, the voltage V across the PIN photodiode is d and V b The voltage value during normal image acquisition is set, the sensor array is reset and data is read row by row, and the duration of the image idle acquisition period is, for example, 21ms, wherein the 21ms includes a 20ms system preparation time and a 1ms exposure time, wherein the exposure time is the time when the TFT is disconnected or the interval time between two TFT conductions. The exposure time for image idle acquisition is short, and the acquired image can be discarded;
[0065] The duration of image acquisition of one frame is, for example, 120 to 220 ms, including 20 ms of system preparation time and 100 to 200 ms of exposure time, wherein the exposure time is the time when the TFT is turned off or the interval time between two times when the TFT is turned on.
[0066] This implementation method makes the system working state more stable through the image acquisition.
[0067] In one possible implementation, Figure 5 As shown, after the photodiode is forward biased and before the photosensor array is controlled to capture at least one frame of image, the image capture stage further includes:
[0068] reverse biasing the photodiode; and
[0069] The photoelectric sensor array is controlled to perform image acquisition.
[0070] in,
[0071] The specific implementation of the reverse bias is: a negative bias voltage is simultaneously applied to all PIN photodiodes of the photodiode array, that is, the cathode voltage V d >Positive voltage V bAt this time, the PIN photodiode is in a reverse conduction state. The duration of the reverse bias period is, for example, 20ms. The reverse bias before the acquisition in the image acquisition stage can release the saturation caused by the forward bias, and the carriers captured by the defect state can be gradually released from the PIN photodiode; the duration of the image empty acquisition is less than the duration of one frame of image acquisition. During the image empty acquisition period, the voltage V d and V b The voltage value during normal image acquisition is set, the sensor array is reset and data is read row by row, and the duration of the image idle acquisition period is, for example, 21ms; wherein the 21ms includes a system preparation time of 20ms and an exposure time of 1ms, the exposure time being the time when the TFT is disconnected or the interval time between two TFT conductions, the exposure time of the image idle acquisition is short, and the acquired image can be discarded; the duration of the image acquisition of one frame is, for example, 120-220ms, including a system preparation time of 20ms and an exposure time of 100ms-200ms, the exposure time being the time when the TFT is disconnected or the interval time between two TFT conductions.
[0072] This implementation method can release the saturation caused by forward bias by sequentially performing reverse bias and image blank acquisition before acquisition in the image acquisition stage, so that carriers captured by defect states can be gradually released from the PIN photodiode and the system working state can be made more stable.
[0073] In a possible implementation, the inventors analyzed and found that although the afterimage problem can be solved by forward biasing, it will cause the grayscale values of the first few frames of images collected by the photoelectric sensor to fluctuate. Therefore, this embodiment eliminates this effect by compensating with the grayscale compensation value saved in the initialization stage. Specifically, before the photodiode is forward biased in the image acquisition stage, the method also includes an image initialization stage (for example, in the factory test stage of the product), and the grayscale compensation value is calculated in the image initialization stage. The image initialization stage includes:
[0074] forward biasing the photodiode;
[0075] In the image initialization stage, the system continuously collects images from the first frame to the image after the grayscale value of the image is stabilized under the first set light intensity, and controls the photoelectric sensor array to collect images of a set number of frames, where the set number of frames is N, for example, 100;
[0076] According to the grayscale value of each pixel in the (NM)th to Nth frames of the image acquired by the set number of frames, a grayscale reference value of each pixel is obtained, where M is, for example, 50, that is, the grayscale average value of the last 50 frames of the last 100 frames is taken as the reference grayscale value to perform grayscale value compensation on the image; and
[0077] According to the grayscale value of each pixel in the j-th frame image obtained by the image acquisition of the j-th frame in the image acquisition of the set number of frames and the grayscale reference value of each pixel, a grayscale compensation value of each pixel in the j-th frame is obtained, j=1, 2, ..., J, and J is 10, for example, that is, grayscale compensation is performed on the grayscale value of each pixel in the 1st frame to the 10th frame;
[0078] The controlling of the photoelectric sensor array to perform at least one frame of image acquisition in the image acquisition stage includes: after acquiring the jth frame of image and obtaining the jth frame of image, compensating the grayscale value of each pixel of the jth frame of image according to the grayscale compensation value of each pixel of the jth frame of image.
[0079] Furthermore, in a possible implementation manner, the duration of the forward bias in the image initialization phase is, for example, 10 ms.
[0080] In a specific embodiment, the gray value of each pixel of the j-th frame image is compensated by using an average value compensation method, and the average value compensation method includes:
[0081] According to the average value of the grayscale compensation value of each pixel of the jth frame, the grayscale value of each pixel of the jth frame image is compensated respectively, j=1, 2, ..., J.
[0082] Those skilled in the art should understand that the grayscale compensation value of a single pixel of the j-th frame image is the difference between the image grayscale value of the corresponding pixel of the j-th frame image after forward bias in the image initialization stage and the reference grayscale value of the corresponding pixel. By compensating its grayscale value, the grayscale value of the pixel is brought back to the normal pixel light response curve.
[0083] In a specific embodiment, a single pixel compensation method is used to compensate the gray value of each pixel of the j-th frame image, including:
[0084] According to the grayscale compensation value of each pixel of the jth frame, the grayscale value of each pixel of the jth frame image is compensated one by one, so as to achieve a more accurate image effect, j=1,2,…,J.
[0085] In a specific embodiment, the controlling the photoelectric sensor array to acquire a set number of images under the first set light intensity includes: controlling the photoelectric sensor array to acquire a set number of images under the first set light intensity; and controlling the photoelectric sensor array to acquire a set number of images under the second set light intensity; Figure 6 As shown in FIG. , it is the gray value curve of a single pixel of the first 50 frames of the corrected image 1 and the corrected image 2 collected under the first set light intensity and the second set light intensity, as shown in FIG. Figure 7 The light response curve of the photoelectric sensor is shown in FIG. The images of the sensor under two different light intensities are collected in advance to obtain the light response curve of each pixel of the sensor for image processing and correction.
[0086] The grayscale value of each pixel in the (NM)th to Nth frame images obtained by acquiring the set number of frames of images to obtain the grayscale reference value of each pixel includes:
[0087] According to the grayscale value of each pixel in the (NM)th to Nth frames of image acquired by the set number of frames under the first set light intensity, a first grayscale reference value of each pixel is obtained; according to the grayscale value of each pixel in the (NM)th to Nth frames of image acquired by the set number of frames under the second set light intensity, a second grayscale reference value of each pixel is obtained; specifically, N is 100, M is 50, and the grayscale value will gradually stabilize after the image is continuously acquired for multiple frames, and the difference between the grayscale value of the first frame of the image acquisition frame and the grayscale value of the stabilized image tends to a stable value.
[0088] Those skilled in the art will appreciate that 100 frames and 50 frames are merely examples and may be set according to actual conditions. In order to eliminate temporal noise during image acquisition and achieve better image correction effects, hundreds of frames of images are often acquired continuously.
[0089] In a specific embodiment, the grayscale compensation value of each pixel in the jth frame image obtained by the image acquisition of the jth frame in the image acquisition of the set number of frames and the grayscale reference value of each pixel are obtained, and the grayscale compensation value of each pixel in the jth frame includes:
[0090] Obtaining a first grayscale compensation value for each pixel of the jth frame according to a grayscale value of each pixel in the jth frame image obtained by acquiring the jth frame in the image acquisition of the set number of frames under the first set light intensity and a first grayscale reference value of each pixel;
[0091] According to the grayscale value of each pixel in the j-th frame image obtained by image acquisition of the j-th frame in the image acquisition of the set number of frames under the second set light intensity and the second grayscale reference value of each pixel, the second grayscale compensation value of each pixel in the j-th frame is obtained; according to the first grayscale compensation value of each pixel in the j-th frame and the second grayscale compensation value of each pixel in the j-th frame, the grayscale compensation value of each pixel in the j-th frame is obtained, such as Figure 8 As shown in the figure, the light response curve of the photoelectric sensor after being pulled back and stabilized after compensation is shown in the figure. Fig. 9 , which shows the fingerprint image before and after gray value compensation.
[0092] It should be noted that the grayscale compensation value of each pixel in the j-th frame image obtained by capturing the j-th frame image is the average of the first grayscale compensation value and the second grayscale compensation value of each pixel in the j-th frame.
[0093] Those skilled in the art should understand that the third, fourth and other grayscale compensation values may be obtained under more set light intensities.
[0094] A second embodiment of the present invention provides an image acquisition device, comprising a controller and a photoelectric sensor array, wherein the photoelectric sensor array comprises a plurality of photoelectric sensors, and the photoelectric sensors comprise photodiodes;
[0095] The controller is used to control the photosensor array to collect at least one frame of images after the photodiode is forward biased.
[0096] In a possible implementation manner, the photosensor further includes a switching transistor connected to a cathode of the photodiode.
[0097] In a possible implementation manner, the photodiode is a PIN photodiode, and the switch transistor is a thin film transistor (TFT, Thin Film Transistor).
[0098] Furthermore, the PIN photodiode is an amorphous silicon PIN photodiode, and the thin film transistor is an amorphous silicon thin film transistor.
[0099] It should be noted that the control process and control logic of the controller in the image acquisition device provided in this embodiment are similar to the image acquisition control method provided in the first embodiment, and will not be described in detail here.
[0100] like Fig.10As shown, a computer system suitable for implementing the controller in the image acquisition device provided in the above embodiment includes a central processing module (CPU), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage part into a random access memory (RAM). Various programs and data required for the operation of the computer system are also stored in the RAM. The CPU, ROM, and RAM are connected to each other through a bus. An input / output (I / O) interface is also connected to the bus.
[0101] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a liquid crystal display (LCD), etc. and a speaker, etc.; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN card, a modem, etc. The communication part performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed.
[0102] In particular, according to this embodiment, the process described in the flowchart above can be implemented as a computer software program. For example, this embodiment includes a computer program product, which includes a computer program tangibly contained on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium.
[0103] The flow chart and schematic diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product of the present embodiment. In this regard, each square box in the flow chart or schematic diagram can represent a part of a module, program segment or code, and a part of the above-mentioned module, program segment or code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the schematic diagram and / or flow chart, and the combination of the square boxes in the schematic diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0104] As another aspect, this embodiment further provides a non-volatile computer storage medium, which may be the non-volatile computer storage medium included in the above-mentioned device in the above-mentioned embodiment, or may be a non-volatile computer storage medium that exists independently and is not installed in the terminal. The above-mentioned non-volatile computer storage medium stores one or more programs, and when the above-mentioned one or more programs are executed by a device, the above-mentioned device: forward biases the photodiode; and controls the photoelectric sensor array to collect at least one frame of image.
[0105] In the description of the present invention, it should be noted that the terms "upper", "lower", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0106] It should also be noted that, in the description of the present invention, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0107] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not limitations on the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the embodiments here. All obvious changes or modifications derived from the technical solution of the present invention are still within the protection scope of the present invention.
Claims
1. An image acquisition control method for a photoelectric sensor array, characterized in that: The photoelectric sensor array includes a plurality of photoelectric sensors, each of which includes a photodiode, and the method includes: forward biasing the photodiode; and Controlling the photoelectric sensor array to collect at least one frame of image; Prior to forward biasing the photodiode, the method further includes: forward biasing the photodiode; Under a first set light intensity, controlling the photoelectric sensor array to collect images with a set number of frames, where the set number of frames is N; Obtaining a grayscale reference value for each pixel according to the grayscale value of each pixel in the (NM)th to Nth frames of images acquired by the set number of frames of images; and Obtaining a grayscale compensation value of each pixel in the jth frame according to the grayscale value of each pixel in the jth frame image obtained by the jth frame image acquisition in the set frame number image acquisition and the grayscale reference value of each pixel, j=1, 2, ..., J; The controlling the photoelectric sensor array to perform at least one frame of image acquisition includes: after acquiring the jth frame of image, compensating the grayscale value of each pixel of the jth frame of image according to the grayscale compensation value of each pixel of the jth frame of image.
2. The method according to claim 1, characterized in that After forward biasing the photodiode and before controlling the photosensor array to collect at least one frame of image, the method further includes: The photodiode is reverse biased.
3. The method according to claim 1, characterized in that After forward biasing the photodiode and before controlling the photosensor array to collect at least one frame of image, the method further includes: The photoelectric sensor array is controlled to perform image acquisition, wherein the duration of the image acquisition is shorter than the duration of one frame of image acquisition.
4. The method according to claim 1, characterized in that: After forward biasing the photodiode and before controlling the photosensor array to collect at least one frame of image, the method further includes: reverse biasing the photodiode; and The photoelectric sensor array is controlled to perform image acquisition, wherein the duration of the image acquisition is shorter than the duration of one frame of image acquisition.
5. The method according to claim 1, characterized in that The step of compensating the grayscale value of each pixel of the j-th frame image according to the grayscale compensation value of each pixel of the j-th frame image comprises: According to the average value of the grayscale compensation value of each pixel in the jth frame, the grayscale value of each pixel in the jth frame image is compensated respectively.
6. The method according to claim 1, characterized in that The step of compensating the grayscale value of each pixel of the j-th frame image according to the grayscale compensation value of each pixel of the j-th frame image comprises: According to the grayscale compensation value of each pixel of the jth frame, the grayscale value of each pixel of the jth frame image is compensated one by one.
7. The method according to claim 1, characterized in that According to the grayscale value of each pixel in the (NM)th to Nth frame images acquired by the set number of frames, the grayscale reference value of each pixel is obtained, which includes: The grayscale value of each pixel in the (NM)th to Nth frame images obtained by collecting the set number of frames of images is used as the grayscale reference value of each pixel.
8. The method according to claim 1, characterized in that: The controlling the photoelectric sensor array to collect images of a set number of frames under the first set light intensity comprises: controlling the photoelectric sensor array to collect images of a set number of frames under the first set light intensity; and controlling the photoelectric sensor array to collect images of a set number of frames under the second set light intensity; The step of obtaining the grayscale reference value of each pixel according to the grayscale value of each pixel in the (NM)th to Nth frames of image acquired according to the set number of frames of image acquisition comprises: obtaining the first grayscale reference value of each pixel according to the grayscale value of each pixel in the (NM)th to Nth frames of image acquired according to the set number of frames of image acquisition under a first set light intensity; obtaining the second grayscale reference value of each pixel according to the grayscale value of each pixel in the (NM)th to Nth frames of image acquired according to the set number of frames of image acquisition under a second set light intensity; Obtaining the grayscale compensation value of each pixel in the jth frame according to the grayscale value of each pixel in the jth frame image obtained by image acquisition of the jth frame in the image acquisition of the set frame number and the grayscale reference value of each pixel includes: obtaining the first grayscale compensation value of each pixel in the jth frame according to the grayscale value of each pixel in the jth frame image obtained by image acquisition of the jth frame in the image acquisition of the set frame number under the first set light intensity and the first grayscale reference value of each pixel; obtaining the second grayscale compensation value of each pixel in the jth frame according to the grayscale value of each pixel in the jth frame image obtained by image acquisition of the jth frame in the image acquisition of the set frame number under the second set light intensity and the second grayscale reference value of each pixel; obtaining the grayscale compensation value of each pixel in the jth frame according to the first grayscale compensation value of each pixel in the jth frame and the second grayscale compensation value of each pixel in the jth frame.
9. An image acquisition device, characterized in that: The invention comprises a controller and a photoelectric sensor array, wherein the photoelectric sensor array comprises a plurality of photoelectric sensors, and the photoelectric sensors comprise photodiodes; The controller is used to control the photosensor array to collect at least one frame of image after forward biasing the photodiode; The controller is further configured to forward bias the photodiode before forward biasing the photodiode; Under a first set light intensity, controlling the photoelectric sensor array to collect images with a set number of frames, where the set number of frames is N; Obtaining a grayscale reference value for each pixel according to the grayscale value of each pixel in the (NM)th to Nth frames of images acquired by the set number of frames; as well as Obtaining a grayscale compensation value of each pixel in the jth frame according to the grayscale value of each pixel in the jth frame image obtained by the jth frame image acquisition in the set frame number image acquisition and the grayscale reference value of each pixel, j=1, 2, ..., J; The controlling the photoelectric sensor array to perform at least one frame of image acquisition includes: after acquiring the jth frame of image, compensating the grayscale value of each pixel of the jth frame of image according to the grayscale compensation value of each pixel of the jth frame of image; The photosensor further includes a switching transistor connected to a cathode of the photodiode.
10. The image acquisition device according to claim 9, characterized in that: The photodiode is a PIN photodiode, and the switch transistor is a thin film transistor.
11. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Signal collection method and signal collection circuit of image sensor
CN109639990A
Image contrast adjustment method and device, terminal equipment and storage medium
CN110809146A
LED display screen, driving method and device thereof and computer readable storage medium
CN113257180A
Signal acquisition method and signal acquisition circuit of image sensor
CN113556488A
Method and Circuit for Signal Collection of Image Sensor
US20200389612A1
