Image generation method, device, computer equipment and storage medium
By using short-exposure and long-exposure image generation methods of pixel capacitors in autonomous driving technology, the recognition problem caused by insufficient or too long exposure time of the image sensor is solved, and clear recognition of warning objects and low-frequency flashing objects in the autonomous driving environment is achieved. Effective shooting, reducing equipment power consumption.
Patent Information
- Application Number
- CN202080103186.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-28
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-12-28
AI Technical Summary
In autonomous driving technology, the image sensor will appear smear when the exposure time is too long. If the exposure time is too short, the low-frequency flickering LED device image cannot be clearly captured, affecting the image recognition effect.
During the autonomous driving process, short exposure and long exposure images are generated based on the pixel capacitance at different exposure times. The short exposure time is used to capture flicker-free object images, and the long exposure time is used to capture bright state images of low-frequency flickering objects, and the reset of the pixel capacitance is performed The state determines the exposure time to achieve dynamic adjustment of the image.
It effectively avoids image smear, ensures clear recognition of warning objects, meets the needs of image recognition in autonomous driving environments, and reduces the power consumption of the device.
Smart Images

Figure CN116114261B
Abstract
Description
Technical Field
[0001] The present application relates to an image generation method, apparatus, computer device and storage medium. Background Art
[0002] With the development of computer technology, autonomous driving technology has emerged. Autonomous driving technology requires taking images of the target environment through a camera and performing image recognition to control the vehicle based on the results of image recognition.
[0003] However, the inventors realized that for an image sensor, if the exposure time is too long, the generated image will have ghosting, and if the exposure time is too short, the image of the low-frequency flickering LED device cannot be clearly captured, which is not conducive to image recognition. Summary of the invention
[0004] According to various embodiments disclosed in the present application, an image generating method, an apparatus, a computer device and a storage medium are provided.
[0005] A method for generating an image, comprising:
[0006] During the autonomous driving process, generating a first short exposure image based on a short exposure voltage formed by the pixel capacitor during the first short exposure time;
[0007] When a warning object on the road during the autonomous driving process is identified from the first short exposure image, a long exposure trigger signal is generated;
[0008] In response to the long exposure trigger signal, generating a second short exposure image based on a short exposure voltage formed by the pixel capacitor during a second short exposure time, and outputting the second short exposure image; and,
[0009] Determine a long exposure time based on whether the pixel capacitor is reset, and obtain a long exposure voltage formed by the pixel capacitor during the long exposure time;
[0010] A long exposure image is generated based on the long exposure voltage, and the long exposure image is output.
[0011] An image generating device, comprising:
[0012] An image generation module, used for generating a first short exposure image based on a short exposure voltage formed by a pixel capacitor during a first short exposure time during an autonomous driving process;
[0013] a trigger signal generating module, configured to generate a long exposure trigger signal when a warning object on the road during the automatic driving process is identified from the first short exposure image;
[0014] an output module, configured to generate a second short exposure image based on a short exposure voltage formed by the pixel capacitor during a second short exposure time in response to the long exposure trigger signal, and output the second short exposure image; and
[0015] an acquisition module, configured to determine a long exposure time based on whether the pixel capacitor is reset, and acquire a long exposure voltage formed by the pixel capacitor during the long exposure time;
[0016] The image generation module is further used to generate a long exposure image based on the long exposure voltage, and output the long exposure image.
[0017] A computer device comprises a memory and one or more processors, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps of the image generation method are implemented.
[0018] One or more non-volatile storage media storing computer-readable instructions, which, when executed by one or more processors, enable the one or more processors to implement the steps of the image generation method.
[0019] The details of one or more embodiments of the present application are set forth in the following drawings and description. Other features and advantages of the present application will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 A diagram of an application scenario of an image generating method according to one or more embodiments.
[0022] Figure 2 The figure is a flowchart of an image generating method according to one or more embodiments.
[0023] Figure 3 The figure is a flowchart of a method for generating a long exposure trigger signal according to one or more embodiments.
[0024] Figure 4 The figure is a flowchart of an image generating method according to one or more embodiments.
[0025] Figure 5 is a block diagram of an image generating apparatus according to one or more embodiments.
[0026] Figure 6 is a block diagram of an image generating apparatus according to one or more embodiments.
[0027] Figure 7 is a block diagram of a computer device according to one or more embodiments. DETAILED DESCRIPTION
[0028] In order to make the technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0029] The image generation method provided in this application can be applied to Figure 1 In the application environment shown. During the autonomous driving process, the camera device 120 loaded on the autonomous driving tool 110 generates a first short exposure image based on the short exposure voltage formed by the pixel capacitor in the first short exposure time, and generates a long exposure trigger signal when a warning object on the road during the autonomous driving process is identified from the first short exposure image. In response to the long exposure trigger signal, the camera device generates a second short exposure image based on the short exposure voltage formed by the pixel capacitor in the second short exposure time, and outputs the second short exposure image. In addition, the camera device determines the long exposure time based on whether the pixel capacitor is reset, obtains the long exposure voltage formed by the pixel capacitor in the long exposure time, and outputs it after generating the long exposure image based on the long exposure voltage. The camera device 120 can be, but is not limited to, various cameras, video cameras, vehicle-mounted cameras, etc.
[0030] In one embodiment, if Figure 2 As shown, a method for generating an image is provided, and the method is applied to Figure 1 The camera device in the example is used as an example to illustrate, including the following steps:
[0031] Step 202 : During the automatic driving process, the camera device generates a first short exposure image based on a short exposure voltage formed by a pixel capacitor during a first short exposure time.
[0032] Automatic driving is a driving method in which a motor vehicle is controlled through a pre-set control program without any human operation, allowing the motor vehicle to drive safely on the road.
[0033] Pixel capacitors are photosensitive elements in camera devices that collect charges generated by incident photons and store them in the form of charge packets. When charges accumulate at the positive and negative electrodes of a pixel capacitor, a voltage is generated between the positive and negative electrodes.
[0034] The pixel capacitors in the camera device are laid out behind the optical lens, and each pixel capacitor corresponds to a pixel in the image. When taking a photo, light passes through the optical lens and shines on the pixel capacitor. The photosensitive material in the pixel capacitor stimulates the charge through light exposure and forms a voltage between the positive and negative poles. After the exposure is completed, the camera device reads the voltage value on each pixel capacitor and generates the pixel value of the pixel based on the read voltage value.
[0035] The exposure time is the time that the shutter in the camera device is open when taking a picture. When the shutter is open, incident photons shine on the photosensitive surface of the photosensitive material, stimulate charges, and complete the conversion of light signals into electrical signals. Under the same lighting conditions, the longer the exposure time, the longer the shutter is open, the more light enters, the more charges stimulated by incident photons, and the higher the voltage formed between the two electrodes of the pixel capacitor.
[0036] The first short exposure time is an exposure time set to prevent objects in the generated image from having smears. When the camera device is shooting, if the exposure time is too long, the image taken for the moving object may have smears. In one embodiment, the first short exposure time is set to 11ms to ensure that enough incident photons can be obtained to produce a clear picture without causing objects in the picture to have smears.
[0037] The short exposure voltage is a voltage formed by charges excited by photons incident on the photosensitive material during the first short exposure time.
[0038] The first short exposure image is an image generated according to the digital signal by converting an analog signal formed by the short exposure voltage into a digital signal.
[0039] Step 204 : When a warning object on the road during the automatic driving process is identified from the first short exposure image, a long exposure trigger signal is generated.
[0040] Warning objects are objects that are used to plan and control the autonomous driving process and have a marking function. For example, traffic lights, taillights of vehicles on the road, road signs, etc. Warning objects will form warning signals in the form of LED (Light Emitting Diode) lights, and the LED lights flash at a certain frequency.
[0041] The long exposure trigger signal is a signal that causes the camera to generate an image with an exposure time longer than the first short exposure time. The long exposure trigger signal can be a level signal transmitted to the camera through a hardware signal line, or can also be a signal triggered by a software instruction.
[0042] Since the warning object flashes at a certain frequency, if the camera device captures the image of the warning object with the first short exposure time, it may not be able to capture the image of the warning object in a bright state, and thus the information of the warning object in the image cannot be recognized. Therefore, when the camera device recognizes the warning object on the road during the automatic driving process, it generates a long exposure trigger signal to cause the image sensor in the camera device to generate a long exposure image.
[0043] Step 206 : In response to the long exposure trigger signal, the camera device generates a second short exposure image based on the short exposure voltage formed by the pixel capacitor during the second short exposure time, and outputs the second short exposure image.
[0044] During driving, when a warning object appears, the camera needs to collect short-exposure images and long-exposure images at the same time. In the short-exposure image, normal non-flashing objects will not have a smear, so objects other than warning objects can be identified through the short-exposure image. The long-exposure image has a longer exposure time, so it can collect images of warning objects in a bright state to perform image recognition on the warning objects.
[0045] In response to the long exposure trigger signal, the camera first generates and outputs a second short exposure image with a second short exposure time. The second short exposure time may be the same as the first short exposure time.
[0046] Step 208 : The camera device determines the long exposure time based on whether the pixel capacitor is reset, and obtains the long exposure voltage formed by the pixel capacitor during the long exposure time.
[0047] Resetting the pixel capacitor refers to clearing the charge accumulated in the pixel capacitor to zero, so that the voltage between the two electrodes of the pixel capacitor also drops to zero.
[0048] The long exposure time is set to capture low-frequency flashing warning objects. Since warning objects flash at a low frequency, if the exposure time is too short, the warning objects in a bright state may not be captured. Therefore, the long exposure time set by the camera is greater than the flashing period of the warning object. For example, the long exposure time set by the camera is 20ms.
[0049] The long exposure voltage is the voltage formed between the positive and negative electrodes of the pixel capacitor at the end of the long exposure time.
[0050] If the pixel capacitor is reset after the second short exposure image is generated, since the accumulated charge in the pixel capacitor has been cleared, it is necessary to accumulate the charge again when the long exposure image is generated. It takes a long time after the second short exposure image is generated to form the long exposure voltage.
[0051] If the pixel capacitor is not reset, since the pixel capacitor has accumulated some charges after the second short exposure time, it only needs to continue to accumulate charges based on the accumulated charges. Therefore, the second short exposure time is included in the long exposure time. Starting the short exposure is equivalent to starting the long exposure at the same time. The long exposure voltage can be formed in a shorter time after the second short exposure image is generated.
[0052] In step 210 , the camera device generates a long exposure image based on the long exposure voltage, and outputs the long exposure image.
[0053] After acquiring the long exposure voltage, the camera device converts an analog signal formed according to the long exposure voltage into a digital signal, and then generates and outputs a long exposure image according to the digital signal.
[0054] In the above-mentioned image generation method, during the automatic driving process, when there is no warning object on the road, the camera device generates a first short exposure image based on the short exposure voltage formed by the pixel capacitor during the first short exposure time. When the warning object on the road during the automatic driving process is identified from the first short exposure image, a long exposure trigger signal is generated, so that the camera device responds to the long exposure trigger signal, can first expose with the second short exposure time, and generate a second short exposure image; then, the long exposure time is determined based on whether the pixel capacitor is reset, and the long exposure voltage formed by the pixel capacitor during the long exposure time is obtained, so as to generate a long exposure image based on the long exposure voltage and output it. The camera device can not only capture the second short exposure image without tailing at a short exposure time, but also capture the long exposure image of the warning object in a bright state at a long exposure time, which meets the needs of image recognition. In addition, during the driving process, it is not necessary to output the image captured at a short exposure time and the image captured at a long exposure time at the same time, but only when the long exposure trigger signal is received, the long exposure image is output, which reduces the power consumption of the camera device.
[0055] In one embodiment, if Figure 3 As shown, the camera device periodically captures short exposure images according to the short exposure time, and outputs the captured short exposure images to the calculation unit. For example, the camera device captures a short exposure image with an exposure time of 11ms every 3s, and then outputs the captured short exposure image to the calculation unit. The calculation unit determines whether there is an LED display device in the short exposure image. If there is an LED display device in the short exposure image, a long exposure trigger signal is sent to the image sensor; if there is no LED display device in the exposure image, the short exposure image continues to be captured according to the short exposure time.
[0056] In one of the embodiments, the camera device determines the long exposure time based on whether the pixel capacitor is reset, including: when the pixel capacitor is reset, the long exposure time starts from the time when the second short exposure image is output and the pixel capacitor is reset; when the pixel capacitor is not reset, the long exposure time starts from the start moment of the second short exposure time.
[0057] If the pixel capacitor is reset after the second short exposure image is generated, the charge accumulated in the pixel capacitor is cleared, and the camera device accumulates charge again to generate a long exposure image. Therefore, the camera device starts timing the long exposure time from the time the pixel capacitor is reset.
[0058] If the pixel capacitance is not reset after the second short exposure image is generated, the camera device starts timing the long exposure time from the start time of the second short exposure time until the set long exposure time ends.
[0059] After the camera device outputs the second short exposure image, the pixel capacitor is not reset, so that the pixel capacitor continues to accumulate charge based on the charge accumulated at the end of the second short exposure time, that is, the long exposure time is counted from the moment the second short exposure time starts. The time interval between outputting the second short exposure image and outputting the long exposure image can be shortened.
[0060] In one embodiment, if the second short exposure time is 11ms, 0ms is the starting time of the second short exposure time, the camera device opens the shutter from 0ms to start exposure, and the exposure ends at 11ms to generate a second short exposure image. If the camera device resets the pixel capacitor, the long exposure time starts from 11ms, and if the long exposure time is 20ms, the long exposure time ends at 31ms. If the camera device does not reset the pixel capacitor, the long exposure time starts from 0ms, and the long exposure ends at 20ms to generate a long exposure image.
[0061] In one of the embodiments, the camera device generates a second short exposure image based on a short exposure voltage formed on a pixel capacitor during a second short exposure time, including: accumulating charges on a pixel capacitor based on a light signal acquired from a target environment during the second short exposure time, and forming a short exposure voltage from the accumulated charges; and generating the second short exposure image based on the short exposure voltage.
[0062] When the camera device takes the second short exposure image, it opens the shutter from the start of the second short exposure time and starts exposure. After the camera device opens the shutter, the light signal in the target environment irradiates the photosensitive material, stimulating charges. The pixel capacitor collects the stimulated charges and accumulates the charges in the pixel capacitor. As the charges accumulate, the voltage between the two electrodes of the pixel capacitor gradually increases, and at the end of the second short exposure time, a short exposure voltage is formed.
[0063] In one of the embodiments, the camera device determines the long exposure time based on whether the pixel capacitor is reset, and obtains the long exposure voltage formed by the pixel capacitor during the long exposure time, including: when the pixel capacitor is reset, clearing the charge accumulated on the pixel capacitor, and re-accumulating the charge on the pixel capacitor, and at the end of the long exposure time starting from the time the pixel capacitor is reset, obtaining the long exposure voltage formed by the charge accumulated on the pixel capacitor; when the pixel capacitor is not reset, continuing to accumulate charge on the pixel capacitor until the end of the long exposure time starting from the start moment of the second short exposure time, and obtaining the long exposure voltage formed by the charge accumulated on the pixel capacitor.
[0064] After the camera device generates the second short exposure image, if the pixel capacitor is reset, the charge accumulated on the pixel capacitor is cleared. After the charge is cleared, the camera device starts timing the long exposure time, and when the long exposure time ends, the long exposure voltage on the pixel capacitor is obtained. After the camera device generates the second short exposure image, if the pixel capacitor is not reset, the pixel capacitor has accumulated charge from the start of the second short exposure time, and continues to accumulate charge at the end of the second short exposure time until the long exposure time ends, and the long exposure voltage on the pixel capacitor is obtained.
[0065] In one of the embodiments, the camera device generates a long exposure image based on a long exposure voltage, and outputting the long exposure image includes: converting an analog signal formed according to the long exposure voltage into a digital signal; generating the long exposure image according to the digital signal; and outputting the long exposure image to an image recognition unit to control the autonomous driving vehicle according to the recognition result of the image recognition unit.
[0066] The analog signal formed by the long exposure voltage is a signal whose signal amplitude is represented by the continuously changing long exposure voltage.
[0067] After acquiring the analog signal formed by the long exposure voltage, the camera device samples, quantizes and encodes the acquired analog signal, converts the analog signal into a digital signal, and generates a long exposure image.
[0068] After acquiring the long exposure image, the image recognition unit recognizes the long exposure image to identify the warning object in the long exposure image and the warning information represented by the warning object. For example, a traffic light in the long exposure image is recognized, and the color of the traffic light is recognized, so that when the color of the traffic light is red, the vehicle is controlled to stop driving, and when the color of the traffic light is green, the vehicle is controlled to continue driving.
[0069] In one of the embodiments, the long exposure trigger signal includes a level signal and a digital command signal; when a warning object on the road during autonomous driving is identified from the first short exposure image, generating a long exposure trigger signal includes: when the warning object on the road during autonomous driving is identified from the first short exposure image, generating a level signal with a target level value through a calculation unit, or generating a digital command signal; in response to the long exposure trigger signal, generating a second short exposure image based on a short exposure voltage formed by the pixel capacitor in the second short exposure time includes: when the digital command signal, or the rising edge or falling edge of the level signal is detected, generating a second short exposure image through the image sensor; the second short exposure image is generated by the image sensor based on the short exposure voltage formed by the pixel capacitor in the second short exposure time.
[0070] The level signal is a signal represented by a level value. The level value may include a high level value and a low level value. For example, the high level value may be 5V and the low level value may be 0V.
[0071] The digital command signal is a command signal represented by a character string. For example, the digital command signal may be an 8-bit binary character string, such as 00001111, through which the image sensor is triggered to generate a long exposure image.
[0072] The rising edge of the level signal is the moment when the level in the digital circuit changes from a low level to a high level. The falling edge signal is the moment when the level in the digital circuit changes from a high level to a low level. When the camera device detects the rising edge or falling edge of the level signal, a second short exposure image is generated by the image sensor.
[0073] In one embodiment, the computing unit in the camera device outputs a level signal to the image sensor through a hardware lead. When a warning object is detected in the road for autonomous driving, the output level signal changes from a high level to a low level or from a low level to a high level, so as to trigger the image sensor to generate a second short exposure image and a long exposure image through the falling edge or rising edge of the level signal.
[0074] In one embodiment, if Figure 4 As shown, a method for generating an image is provided, and the method is applied to Figure 1 The camera device in the example is used as an example to illustrate, including the following steps:
[0075] Step 402 : During the autonomous driving process, the camera device generates a first short exposure image based on a short exposure voltage formed by a pixel capacitor during a first short exposure time.
[0076] Automatic driving is a driving method in which a motor vehicle is controlled through a pre-set control program without any human operation, allowing the motor vehicle to drive safely on the road.
[0077] Pixel capacitors are photosensitive elements in camera devices. They collect charges generated by incident photons and store them in the form of charge packets. When charges are stored in pixel capacitors, a voltage is generated between the positive and negative electrodes of the pixel capacitors.
[0078] Each pixel capacitor in the camera device corresponds to a pixel in the image and is laid behind the optical lens. When taking a photo, light passes through the optical lens and shines on the pixel capacitor. The photosensitive material in the pixel capacitor stimulates the charge through light exposure and forms a voltage between the positive and negative electrodes. After the exposure is completed, the camera device reads the voltage value on each pixel capacitor and generates the pixel value of the pixel based on the read voltage value.
[0079] The exposure time is the time that the shutter in the camera device is open when taking a picture. When the shutter is open, incident photons shine on the photosensitive surface of the photosensitive material, stimulate charges, and complete the conversion of light signals into electrical signals. Under the same lighting conditions, the longer the exposure time, the longer the shutter is open, the more light enters, the more charges stimulated by incident photons, and the higher the voltage formed between the two electrodes of the pixel capacitor.
[0080] The first short exposure time is an exposure time set to prevent objects in the generated image from having smears. When the camera device is shooting, if the exposure time is too long, the image taken for the moving object may have smears. In one embodiment, the first short exposure time is set to 11ms to ensure that enough incident photons can be obtained to produce a clear picture without causing objects in the picture to have smears.
[0081] The short exposure voltage is a voltage formed by charges excited by photons incident on the photosensitive material during the first short exposure time.
[0082] The first short exposure image is an image generated according to the digital signal by converting an analog signal formed by the short exposure voltage into a digital signal.
[0083] Step 404 : When a warning object on the road during the autonomous driving process is identified from the first short exposure image, a long exposure trigger signal is generated.
[0084] Warning objects are objects that are used to plan and control the autonomous driving process and have a marking function. For example, traffic lights, taillights of vehicles on the road, road signs, etc. Warning objects will form warning signals in the form of LED (Light Emitting Diode) lights, and the LED lights flash at a certain frequency.
[0085] The long exposure trigger signal is a signal that causes the camera to generate an image with an exposure time longer than the first short exposure time. The long exposure trigger signal can be a level signal transmitted to the camera through a hardware signal line, or can also be a digital command signal triggered by a software command.
[0086] Since the warning object flashes at a certain frequency, if the camera device captures the image of the warning object with the first short exposure time, it may not be able to capture the image of the warning object in a bright state, and thus the information of the warning object in the image cannot be recognized. Therefore, when the camera device recognizes the warning object on the road during the automatic driving process, it generates a long exposure trigger signal to trigger the image sensor in the camera device to generate a long exposure image.
[0087] Step 406: In response to the long exposure trigger signal, the camera device generates a second short exposure row image based on a short exposure voltage formed by the pixel capacitor at a plurality of second short exposure times at equal time intervals, and combines the generated second short exposure row images into a second short exposure image; and generates a long exposure row image based on a long exposure voltage formed by the pixel capacitor at a plurality of long exposure times at equal time intervals, and combines the generated long exposure row images into a long exposure image; wherein each row of pixels in the second short exposure image and the long exposure image corresponds to the same group of pixel capacitors, and when each second short exposure time ends, the corresponding group of pixel capacitors is reset and starts timing the long exposure time corresponding to each second short exposure time.
[0088] After receiving the long exposure trigger signal, the image sensor in the camera device opens the shutter to allow the photosensitive material in the pixel capacitor to be exposed to light. The camera device sequentially outputs the short exposure voltage formed by each row of pixel capacitors during the second short exposure time, and generates a corresponding row of short exposure images based on the short exposure voltage output by a row of pixel capacitors. After outputting the short exposure voltage of a row of pixel capacitors, the camera device resets the pixel capacitors of the row and starts timing the long exposure time. At the end of the long exposure time, the long exposure voltage formed by the pixel capacitors of the row during the long exposure time is output, and a long exposure image of the row is generated based on the long exposure voltage of the row.
[0089] Figure 4 The long exposure trigger signal and Figure 2 The long exposure trigger signal in Figure 4 The way in which the camera device responds to the long exposure trigger signal and Figure 2 The camera device responds to the long exposure trigger signal in the same way.
[0090] It should be understood that although Figure 2-4The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-4 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0091] In one embodiment, Figure 5 As shown, an image generation device is provided, including: an image generation module 502, a trigger signal generation module 504, an output module 506 and an acquisition module 508, wherein:
[0092] An image generation module 502 is used to generate a first short exposure image based on a short exposure voltage formed by a pixel capacitor during a first short exposure time during an autonomous driving process;
[0093] a trigger signal generating module 504, configured to generate a long exposure trigger signal when a warning object on the road during the automatic driving process is identified from the first short exposure image;
[0094] an output module 506, configured to generate a second short exposure image based on a short exposure voltage formed by the pixel capacitor during a second short exposure time in response to the long exposure trigger signal, and output the second short exposure image; and
[0095] An acquisition module 508, configured to determine a long exposure time based on whether the pixel capacitor is reset, and acquire a long exposure voltage formed by the pixel capacitor during the long exposure time;
[0096] The image generating module 502 is further configured to generate a long exposure image based on the long exposure voltage, and output the long exposure image.
[0097] In one embodiment, the image generation module 502 is further configured to:
[0098] When the pixel capacitor is reset, the long exposure time starts from when the second short exposure image is output and the pixel capacitor is reset;
[0099] When the pixel capacitance is not reset, the long exposure time starts counting from the start time of the second short exposure time.
[0100] In one embodiment, the image generation module 502 is further configured to:
[0101] Based on the light signal acquired from the target environment during the second short exposure time, charges are accumulated on the pixel capacitor, and a short exposure voltage is formed by the accumulated charges;
[0102] A second short exposure image is generated according to the short exposure voltage.
[0103] In one embodiment, the image generation module 502 is further configured to:
[0104] When the pixel capacitor is reset, the charge accumulated on the pixel capacitor is cleared, and the charge is accumulated on the pixel capacitor again, and at the end of the long exposure time starting from the time when the pixel capacitor is reset, a long exposure voltage formed by the charge accumulated on the pixel capacitor is obtained;
[0105] When the pixel capacitance is not reset, charges continue to be accumulated on the pixel capacitance until the long exposure time starting from the start time of the second short exposure time ends, and a long exposure voltage formed by the charges accumulated on the pixel capacitance is obtained.
[0106] In one embodiment, the image generation module 502 is further configured to:
[0107] converting an analog signal formed according to the long exposure voltage into a digital signal;
[0108] generating a long exposure image according to the digital signal;
[0109] The long exposure image is output to an image recognition unit to control the autonomous driving vehicle according to the recognition result of the image recognition unit.
[0110] In one embodiment, the long exposure trigger signal includes a level signal and a digital command signal; the trigger signal generating module 504 is further used to:
[0111] When a warning object on the road during the automatic driving process is identified from the first short exposure image, a level signal having a target level value is generated by a calculation unit, or a digital command signal is generated;
[0112] The output module 506 is further configured to:
[0113] When the digital command signal, or the rising edge or falling edge of the level signal is detected, a second short exposure image is generated by the image sensor; the second short exposure image is generated by the image sensor based on the short exposure voltage formed by the pixel capacitor during the second short exposure time.
[0114] In one embodiment, if Figure 6 As shown, an image generation device is provided, including: a short-exposure image generation module 602, a trigger signal generation module 604 and a long-exposure image generation module 606, wherein:
[0115] The short exposure image generating module 602 is used to generate a first short exposure image based on a short exposure voltage formed by a pixel capacitor during a first short exposure time during an autonomous driving process;
[0116] A trigger signal generating module 604 is configured to generate a long exposure trigger signal when a warning object on the road during the automatic driving process is identified from the first short exposure image;
[0117] a long exposure image generating module 606, configured to generate a second short exposure row image in response to a long exposure trigger signal based on a short exposure voltage formed by a pixel capacitor at a plurality of second short exposure times at equal time intervals, and combine the generated second short exposure row images into a second short exposure image; and
[0118] Generate a long exposure row image based on a long exposure voltage formed by a pixel capacitor at a plurality of long exposure times at equal time intervals, and combine the generated long exposure row images into a long exposure image;
[0119] Each row of pixels in the second short exposure image and the long exposure image corresponds to the same group of pixel capacitors. When each second short exposure time ends, the corresponding group of pixel capacitors is reset and starts timing the long exposure time corresponding to each second short exposure time.
[0120] In one embodiment, the long exposure trigger signal includes a level signal and a digital command signal; the trigger signal generating module 604 is further used to:
[0121] When a warning object on the road during the automatic driving process is identified from the first short exposure image, a level signal having a target level value is generated by a calculation unit, or a digital command signal is generated;
[0122] The long exposure image generation module 606 is further used for:
[0123] When the digital command signal, or the rising edge or falling edge of the level signal is detected, a second short exposure row image is generated by the image sensor; the second short exposure row image is generated by the image sensor based on the short exposure voltage formed by the pixel capacitance in sequence at multiple second short exposure times with equal time intervals.
[0124] For the specific definition of the image generation device, please refer to the definition of the image generation method above, which will not be repeated here. Each module in the above-mentioned image generation device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0125] In one embodiment, a computer device is provided. The computer device may be a camera device, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer-readable instructions are executed by the processor, an image generation method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0126] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0127] A computer device includes a memory and one or more processors, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the one or more processors perform the following steps: in an automatic driving process, generating a first short exposure image based on a short exposure voltage formed by a pixel capacitor during a first short exposure time; when a warning object on a road during the automatic driving process is identified from the first short exposure image, generating a long exposure trigger signal; in response to the long exposure trigger signal, generating a second short exposure image based on the short exposure voltage formed by the pixel capacitor during a second short exposure time, and outputting the second short exposure image; and determining a long exposure time based on whether the pixel capacitor is reset, and obtaining a long exposure voltage formed by the pixel capacitor during the long exposure time; generating a long exposure image based on the long exposure voltage, and outputting the long exposure image.
[0128] In one of the embodiments, when the processor executes the computer-readable instructions, it also implements the following steps: when the pixel capacitor is reset, the long exposure time starts from when the second short exposure image is output and the pixel capacitor is reset; when the pixel capacitor is not reset, the long exposure time starts from the start moment of the second short exposure time.
[0129] In one of the embodiments, when the processor executes the computer-readable instructions, it also implements the following steps: based on the light signal acquired from the target environment during the second short exposure time, charges are accumulated on the pixel capacitor, and a short exposure voltage is formed by the accumulated charges; and a second short exposure image is generated according to the short exposure voltage.
[0130] In one of the embodiments, the processor further implements the following steps when executing the computer-readable instructions: when the pixel capacitor is reset, the charge accumulated on the pixel capacitor is cleared, and the charge is re-accumulated on the pixel capacitor, and at the end of the long exposure time starting from the time when the pixel capacitor is reset, a long exposure voltage formed by the charge accumulated on the pixel capacitor is obtained; when the pixel capacitor is not reset, the charge continues to be accumulated on the pixel capacitor until the end of the long exposure time starting from the start moment of the second short exposure time, and the long exposure voltage formed by the charge accumulated on the pixel capacitor is obtained.
[0131] In one of the embodiments, when the processor executes the computer-readable instructions, it also implements the following steps: converting an analog signal formed according to the long exposure voltage into a digital signal; generating a long exposure image according to the digital signal; and outputting the long exposure image to an image recognition unit to control the autonomous driving vehicle according to the recognition result of the image recognition unit.
[0132] In one of the embodiments, the long exposure trigger signal includes a level signal and a digital command signal; when the processor executes the computer-readable instructions, the following steps are also implemented: when a warning object on the road during autonomous driving is identified from the first short exposure image, a level signal with a target level value is generated by a calculation unit, or a digital command signal is generated; in response to the long exposure trigger signal, a second short exposure image is generated based on a short exposure voltage formed by the pixel capacitor in the second short exposure time, including: when the digital command signal, or the rising edge or falling edge of the level signal is detected, a second short exposure image is generated by the image sensor based on the short exposure voltage formed by the pixel capacitor in the second short exposure time.
[0133] A computer device includes a memory and one or more processors, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processors, the one or more processors perform the following steps: in an automatic driving process, generating a first short exposure image based on a short exposure voltage formed by a pixel capacitor in a first short exposure time; generating a long exposure trigger signal when a warning object on a road in the automatic driving process is identified from the first short exposure image; in response to the long exposure trigger signal, generating a second short exposure row image based on a short exposure voltage formed by the pixel capacitor in a plurality of second short exposure times at equal time intervals, and combining the generated second short exposure row images into a second short exposure image; and generating a long exposure row image based on a long exposure voltage formed by the pixel capacitor in a plurality of long exposure times at equal time intervals, and combining the generated long exposure row images into a long exposure image; wherein each row of pixels in the second short exposure image and the long exposure image corresponds to the same group of pixel capacitors, and when each second short exposure time ends, the corresponding group of pixel capacitors is reset and starts timing the long exposure time corresponding to each second short exposure time.
[0134] In one of the embodiments, the long exposure trigger signal includes a level signal and a digital command signal; when the processor executes the computer-readable instructions, the following steps are also implemented: when a warning object on the road during autonomous driving is identified from the first short exposure image, a level signal with a target level value is generated by a calculation unit, or a digital command signal is generated; in response to the long exposure trigger signal, based on the short exposure voltage formed by the pixel capacitor in a plurality of second short exposure times at equal time intervals, generating a second short exposure row image includes: when the digital command signal, or the rising edge or falling edge of the level signal is detected, a second short exposure row image is generated by the image sensor based on the short exposure voltage formed by the pixel capacitor in a plurality of second short exposure times at equal time intervals.
[0135] One or more non-volatile computer-readable storage media storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the following steps: during an autonomous driving process, generate a first short exposure image based on a short exposure voltage formed by a pixel capacitor during a first short exposure time; when a warning object on a road during the autonomous driving process is identified from the first short exposure image, generate a long exposure trigger signal; in response to the long exposure trigger signal, generate a second short exposure image based on the short exposure voltage formed by the pixel capacitor during a second short exposure time, and output the second short exposure image; and, determine a long exposure time based on whether the pixel capacitor is reset, and obtain a long exposure voltage formed by the pixel capacitor during the long exposure time; generate a long exposure image based on the long exposure voltage, and output the long exposure image.
[0136] In one embodiment, when the computer-readable instructions are executed by the processor, the following steps are also implemented: when the pixel capacitor is reset, the long exposure time starts from the time when the second short exposure image is output and the pixel capacitor is reset; when the pixel capacitor is not reset, the long exposure time starts from the start time of the second short exposure time.
[0137] In one of the embodiments, when the computer-readable instructions are executed by the processor, the following steps are also implemented: based on the light signal acquired from the target environment at the second short exposure time, charges are accumulated on the pixel capacitor, and a short exposure voltage is formed by the accumulated charges; and a second short exposure image is generated according to the short exposure voltage.
[0138] In one of the embodiments, the computer-readable instructions, when executed by the processor, further implement the following steps: when the pixel capacitor is reset, the charge accumulated on the pixel capacitor is cleared, and the charge is re-accumulated on the pixel capacitor, and at the end of the long exposure time starting from the time when the pixel capacitor is reset, a long exposure voltage formed by the charge accumulated on the pixel capacitor is obtained; when the pixel capacitor is not reset, the charge continues to be accumulated on the pixel capacitor until the end of the long exposure time starting from the start moment of the second short exposure time, and the long exposure voltage formed by the charge accumulated on the pixel capacitor is obtained.
[0139] In one embodiment, when the computer-readable instructions are executed by the processor, the following steps are also implemented: converting an analog signal formed according to the long exposure voltage into a digital signal; generating a long exposure image according to the digital signal; and outputting the long exposure image to an image recognition unit to control the autonomous driving vehicle according to the recognition result of the image recognition unit.
[0140] In one of the embodiments, the long exposure trigger signal includes a level signal and a digital command signal; when the computer-readable instructions are executed by the processor, the following steps are also implemented: when a warning object on the road during autonomous driving is identified from the first short exposure image, a level signal with a target level value is generated by a computing unit, or a digital command signal is generated; in response to the long exposure trigger signal, generating a second short exposure image based on the short exposure voltage formed by the pixel capacitor in the second short exposure time includes: when the digital command signal, or the rising edge or falling edge of the level signal is detected, a second short exposure image is generated by the image sensor based on the short exposure voltage formed by the pixel capacitor in the second short exposure time.
[0141] One or more non-volatile computer-readable storage media storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the following steps: in an autonomous driving process, generating a first short exposure image based on a short exposure voltage formed by a pixel capacitor in a first short exposure time; generating a long exposure trigger signal when a warning object on a road in the autonomous driving process is identified from the first short exposure image; in response to the long exposure trigger signal, generating a second short exposure row image based on a short exposure voltage formed by the pixel capacitor in a plurality of second short exposure times at equal time intervals, and combining the generated second short exposure row images into a second short exposure image; and generating a long exposure row image based on a long exposure voltage formed by the pixel capacitor in a plurality of long exposure times at equal time intervals, and combining the generated long exposure row images into a long exposure image; wherein each row of pixels in the second short exposure image and the long exposure image corresponds to the same group of pixel capacitors, and when each second short exposure time ends, the corresponding group of pixel capacitors is reset and starts timing the long exposure time corresponding to each second short exposure time.
[0142] In one embodiment, the long exposure trigger signal includes a level signal and a digital command signal; when the computer-readable instructions are executed by the processor, the following steps are also implemented: when a warning object on the road during autonomous driving is identified from the first short exposure image, a level signal with a target level value is generated by a calculation unit, or a digital command signal is generated; in response to the long exposure trigger signal, based on the short exposure voltage formed by the pixel capacitor in a plurality of second short exposure times at equal time intervals, generating a second short exposure row image includes: when the digital command signal, or the rising edge or falling edge of the level signal is detected, a second short exposure row image is generated by the image sensor based on the short exposure voltage formed by the pixel capacitor in a plurality of second short exposure times at equal time intervals.
[0143] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile computer-readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0144] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0145] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. An image generation method, performed by a camera device, characterized in that: The method comprises: During the autonomous driving process, generating a first short exposure image based on a short exposure voltage formed by the pixel capacitor during the first short exposure time; When a warning object on the road during the autonomous driving process is identified from the first short exposure image, a long exposure trigger signal is generated; In response to the long exposure trigger signal, generating a second short exposure image based on a short exposure voltage formed by the pixel capacitor during a second short exposure time, and outputting the second short exposure image; and, Determine a long exposure time based on whether the pixel capacitor is reset, and obtain a long exposure voltage formed by the pixel capacitor during the long exposure time; A long exposure image is generated based on the long exposure voltage, and the long exposure image is output.
2. The method according to claim 1, characterized in that: The determining of the long exposure time based on whether the pixel capacitor is reset comprises: When the pixel capacitor is reset, the long exposure time starts from when the second short exposure image is output and the pixel capacitor is reset; When the pixel capacitor is not reset, the long exposure time is counted from the start time of the second short exposure time.
3. The method according to claim 1, characterized in that Generating a second short exposure image based on a short exposure voltage formed by the pixel capacitor during the second short exposure time comprises: Based on the light signal acquired from the target environment during the second short exposure time, charges are accumulated on the pixel capacitor, and the short exposure voltage is formed by the accumulated charges; A second short exposure image is generated according to the short exposure voltage.
4. The method according to claim 3, characterized in that The determining the long exposure time based on whether the pixel capacitor is reset, and obtaining the long exposure voltage formed by the pixel capacitor during the long exposure time includes: When the pixel capacitor is reset, the charge accumulated on the pixel capacitor is cleared, and the charge is re-accumulated on the pixel capacitor, and at the end of the long exposure time starting from the time when the pixel capacitor is reset, the long exposure voltage formed by the charge accumulated on the pixel capacitor is obtained; When the pixel capacitor is not reset, charges continue to be accumulated on the pixel capacitor until the long exposure time starting from the start time of the second short exposure time ends, and the long exposure voltage formed by the charges accumulated on the pixel capacitor is obtained.
5. The method according to claim 1, characterized in that The generating a long exposure image based on the long exposure voltage and outputting the long exposure image comprises: converting an analog signal formed according to the long exposure voltage into a digital signal; generating the long exposure image according to the digital signal; The long exposure image is output to an image recognition unit to control the autonomous driving vehicle according to a recognition result of the image recognition unit.
6. The method according to claim 1, characterized in that The long exposure trigger signal includes a level signal and a digital command signal; when a warning object on the road during the automatic driving process is identified from the first short exposure image, generating the long exposure trigger signal includes: When a warning object on the road during the automatic driving process is identified from the first short exposure image, a level signal having a target level value is generated by a calculation unit, or a digital command signal is generated; The generating a second short exposure image based on a short exposure voltage formed by the pixel capacitor during a second short exposure time in response to the long exposure trigger signal comprises: When the digital command signal, or the rising edge or falling edge of the level signal is detected, a second short exposure image is generated by the image sensor; the second short exposure image is generated by the image sensor based on the short exposure voltage formed by the pixel capacitor during the second short exposure time.
7. An image generation method, performed by a camera device, characterized in that: The method comprises: During the autonomous driving process, generating a first short exposure image based on a short exposure voltage formed by the pixel capacitor during the first short exposure time; When a warning object on the road during the autonomous driving process is identified from the first short exposure image, a long exposure trigger signal is generated; In response to the long exposure trigger signal, generating a second short exposure row image based on a short exposure voltage formed by the pixel capacitor in sequence at a plurality of second short exposure times with equal time intervals, and combining the generated second short exposure row images into a second short exposure image; and Generate a long exposure row image based on a long exposure voltage formed by the pixel capacitor in a plurality of long exposure times at equal time intervals, and combine the generated long exposure row images into a long exposure image; Each row of pixels in the second short exposure image and the long exposure image corresponds to the same group of pixel capacitors, and when each second short exposure time ends, the corresponding group of pixel capacitors is reset and starts timing the long exposure time corresponding to each second short exposure time.
8. The method according to claim 7, characterized in that The long exposure trigger signal includes a level signal and a digital command signal; when a warning object on the road during the automatic driving process is identified from the first short exposure image, generating the long exposure trigger signal includes: When a warning object on the road during the automatic driving process is identified from the first short exposure image, a level signal having a target level value is generated by a calculation unit, or a digital command signal is generated; The step of generating a second short exposure row image in response to the long exposure trigger signal based on a short exposure voltage formed by the pixel capacitor in sequence at a plurality of second short exposure times with equal time intervals comprises: When the digital command signal, or the rising edge or falling edge of the level signal is detected, a second short exposure row image is generated by the image sensor; the second short exposure row image is generated by the image sensor based on the short exposure voltage formed by the pixel capacitance in sequence at multiple second short exposure times with equal time intervals.
9. An image generating device, comprising: An image generation module, used for generating a first short exposure image based on a short exposure voltage formed by a pixel capacitor during a first short exposure time during an autonomous driving process; a trigger signal generating module, configured to generate a long exposure trigger signal when a warning object on the road during the automatic driving process is identified from the first short exposure image; The image generation module is further configured to generate a second short exposure image based on a short exposure voltage formed by the pixel capacitor during a second short exposure time in response to the long exposure trigger signal, and output the second short exposure image; as well as, Determine a long exposure time based on whether the pixel capacitor is reset, and obtain a long exposure voltage formed by the pixel capacitor during the long exposure time; An output module is used to generate a long exposure image based on the long exposure voltage and output the long exposure image.
10. The device according to claim 9, characterized in that The image generation module is further used for: When the pixel capacitor is reset, the long exposure time starts from when the second short exposure image is output and the pixel capacitor is reset; When the pixel capacitor is not reset, the long exposure time is counted from the start time of the second short exposure time.
11. The device according to claim 9, characterized in that The image generation module is further used for: Based on the light signal acquired from the target environment during the second short exposure time, charges are accumulated on the pixel capacitor, and the short exposure voltage is formed by the accumulated charges; A second short exposure image is generated according to the short exposure voltage.
12. The device according to claim 11, characterized in that The image generation module is further used for: When the pixel capacitor is reset, the charge accumulated on the pixel capacitor is cleared, and the charge is re-accumulated on the pixel capacitor, and at the end of the long exposure time starting from the time when the pixel capacitor is reset, the long exposure voltage formed by the charge accumulated on the pixel capacitor is obtained; When the pixel capacitor is not reset, charges continue to be accumulated on the pixel capacitor until the long exposure time starting from the start time of the second short exposure time ends, and the long exposure voltage formed by the charges accumulated on the pixel capacitor is obtained.
13. The device according to claim 9, characterized in that The output module is further used for: converting an analog signal formed according to the long exposure voltage into a digital signal; generating the long exposure image according to the digital signal; The long exposure image is output to an image recognition unit to control the autonomous driving vehicle according to a recognition result of the image recognition unit.
14. The device according to claim 9, characterized in that The long exposure trigger signal includes a level signal and a digital command signal; the trigger signal generating module is further used for: When a warning object on the road during the automatic driving process is identified from the first short exposure image, a level signal having a target level value is generated by a calculation unit, or a digital command signal is generated; The image generation module is also used When the digital command signal, or the rising edge or falling edge of the level signal is detected, a second short exposure image is generated by the image sensor; the second short exposure image is generated by the image sensor based on the short exposure voltage formed by the pixel capacitor during the second short exposure time.
15. An image generating device, the device comprising: A short exposure image generation module, used to generate a first short exposure image based on a short exposure voltage formed by a pixel capacitor during a first short exposure time during an autonomous driving process; a trigger signal generating module, configured to generate a long exposure trigger signal when a warning object on the road during the automatic driving process is identified from the first short exposure image; a long exposure image generating module, configured to generate a second short exposure row image in response to the long exposure trigger signal based on a short exposure voltage formed by the pixel capacitor in sequence at a plurality of second short exposure times with equal time intervals, and combine the generated second short exposure row images into a second short exposure image; and Generate a long exposure row image based on a long exposure voltage formed by the pixel capacitor in a plurality of long exposure times at equal time intervals, and combine the generated long exposure row images into a long exposure image; Each row of pixels in the second short exposure image and the long exposure image corresponds to the same group of pixel capacitors, and when each second short exposure time ends, the corresponding group of pixel capacitors is reset and starts timing the long exposure time corresponding to each second short exposure time.
16. The device according to claim 15, characterized in that The long exposure trigger signal includes a level signal and a digital command signal; the trigger signal generating module is further used for: When a warning object on the road during the automatic driving process is identified from the first short exposure image, a level signal having a target level value is generated by a calculation unit, or a digital command signal is generated; The long exposure image generation module is further used for: When the digital command signal, or the rising edge or falling edge of the level signal is detected, a second short exposure row image is generated by the image sensor; the second short exposure row image is generated by the image sensor based on the short exposure voltage formed by the pixel capacitance in sequence at multiple second short exposure times with equal time intervals.
17. A computer device comprising a memory and one or more processors, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the one or more processors perform the following steps: During the autonomous driving process, generating a first short exposure image based on a short exposure voltage formed by the pixel capacitor during the first short exposure time; When a warning object on the road during the autonomous driving process is identified from the first short exposure image, a long exposure trigger signal is generated; In response to the long exposure trigger signal, generating a second short exposure image based on a short exposure voltage formed by the pixel capacitor during a second short exposure time, and outputting the second short exposure image; as well as, Determine a long exposure time based on whether the pixel capacitor is reset, and obtain a long exposure voltage formed by the pixel capacitor during the long exposure time; A long exposure image is generated based on the long exposure voltage, and the long exposure image is output.
18. A computer device comprising a memory and one or more processors, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the one or more processors perform the following steps: During the autonomous driving process, generating a first short exposure image based on a short exposure voltage formed by the pixel capacitor during the first short exposure time; When a warning object on the road during the autonomous driving process is identified from the first short exposure image, a long exposure trigger signal is generated; In response to the long exposure trigger signal, generating a second short exposure row image based on a short exposure voltage formed by the pixel capacitor in sequence at a plurality of second short exposure times with equal time intervals, and combining the generated second short exposure row images into a second short exposure image; and Generate a long exposure row image based on a long exposure voltage formed by the pixel capacitor in a plurality of long exposure times at equal time intervals, and combine the generated long exposure row images into a long exposure image; in, Each row of pixels in the second short exposure image and the long exposure image corresponds to the same group of pixel capacitors. When each second short exposure time ends, the corresponding group of pixel capacitors is reset and starts timing the long exposure time corresponding to each second short exposure time.
19. One or more non-volatile computer-readable storage media storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the following steps: During the autonomous driving process, generating a first short exposure image based on a short exposure voltage formed by the pixel capacitor during the first short exposure time; When a warning object on the road during the autonomous driving process is identified from the first short exposure image, a long exposure trigger signal is generated; In response to the long exposure trigger signal, generating a second short exposure image based on a short exposure voltage formed by the pixel capacitor during a second short exposure time, and outputting the second short exposure image; as well as, Determine a long exposure time based on whether the pixel capacitor is reset, and obtain a long exposure voltage formed by the pixel capacitor during the long exposure time; A long exposure image is generated based on the long exposure voltage, and the long exposure image is output.
20. One or more non-volatile computer-readable storage media storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the following steps: During the autonomous driving process, generating a first short exposure image based on a short exposure voltage formed by the pixel capacitor during the first short exposure time; When a warning object on the road during the autonomous driving process is identified from the first short exposure image, a long exposure trigger signal is generated; In response to the long exposure trigger signal, generating a second short exposure row image based on a short exposure voltage formed by the pixel capacitor in sequence at a plurality of second short exposure times with equal time intervals, and combining the generated second short exposure row images into a second short exposure image; and Generate a long exposure row image based on a long exposure voltage formed by the pixel capacitor in a plurality of long exposure times at equal time intervals, and combine the generated long exposure row images into a long exposure image; in, Each row of pixels in the second short exposure image and the long exposure image corresponds to the same group of pixel capacitors. When each second short exposure time ends, the corresponding group of pixel capacitors is reset and starts timing the long exposure time corresponding to each second short exposure time.
