Image reconstruction method and device based on pulse image sensor and vehicle
The image reconstruction method based on pulse image sensors solves the problems of poor visual effects of cameras and reduced accuracy of lidar in bad weather in autonomous driving technology, achieving higher visual effects and system reliability, and is suitable for large-scale autonomous driving. Technology promotion.
Patent Information
- Application Number
- CN202411024653.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-07-29
AI Technical Summary
Among existing autonomous driving technologies, purely visual solutions based on cameras have poor visual effects under backlighting or complex light and shadow situations, and are prone to instantaneous blindness, while fusion solutions based on lidar have reduced accuracy in rain, snow, and haze weather. Moreover, lidar is large in size and costly, making it difficult to pass vehicle regulations, affecting its large-scale application.
Using an image reconstruction method based on pulse image sensors, event images and pulse images are obtained by receiving pulse signals for conversion, fusion generates reconstructed frame images, and sends them to the vehicle control system to control the vehicle, including identifying driving It can detect driver fatigue status and analyze traffic information to control vehicle actions.
It improves the visual effect under backlighting or complex light and shadow situations, avoids the decrease in accuracy in rain, snow, and haze weather, reduces hardware overhead, improves the reliability and safety of the system, and is suitable for large-scale autonomous driving technology promotion.
Smart Images

Figure CN118748756A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving technology, and in particular to an image reconstruction method, device and vehicle based on a pulse image sensor. Background Art
[0002] There are two types of perception solutions in the field of autonomous driving. One is a pure vision solution based on ordinary cameras to collect the main data, and the other is a fusion perception solution with cameras, millimeter-wave radars, and lidars. The camera-based pure vision solution includes five major steps: information collection, feature extraction, training and learning, evaluation, and feedback improvement. It needs to be continuously vertically integrated through data, algorithms, and feedback to improve the autonomous driving capabilities. In the pure vision solution, it is generally necessary to use two or more cameras to shoot the same object from different angles, and determine the distance of the object by calculating the parallax between the two cameras. This method requires the camera to be calibrated to determine the position and direction of each camera. At the same time, in order to improve the accuracy of target detection, it is necessary to align the images generated by different image sensors. The key to alignment is to find the corresponding points or features between the two images. These corresponding points or features can be key points (such as corner points, edge points, etc.), regions (such as faces, license plates, etc.) or other parts with obvious features in the image. Once these corresponding points or features are found, the image alignment can be achieved by calculating the transformation relationship between them. Once the algorithm extracts the features of the image, various matching algorithms can be used to compare these features and find the most similar images. These algorithms usually consider the global and local similarities of the images, as well as the spatial relationship between them. In this process, if the ambient light changes significantly, or some noise and interference occur, it will lead to the failure of feature extraction, affect the image registration results, and thus affect subsequent work. For example, when quickly entering or exiting a tunnel or suddenly encountering a reflective object, a short period of strong light will exceed the upper limit of the image sensor, causing the picture to be overexposed and causing the sensor to fail.
[0003] Compared with pure vision solutions, the fusion solution based on LiDAR can directly perceive the environment in high-precision three-dimensional form. At the same time, the host computer can build models based on the collected data and directly obtain distance information. Most mainstream car companies use fusion solutions to achieve assisted driving or autonomous driving. However, in the fusion solution based on LiDAR, LiDAR determines the distance of an object by measuring the time difference of the laser signal. At the same time, due to the physical characteristics of LiDAR, it is easily affected by the weather, resulting in poor penetration and reduced measurement accuracy in rainy, snowy, foggy and haze weather, and it is difficult to model special objects such as traffic signs and traffic lights.
[0004] In summary, both mainstream solutions have limitations. Ordinary cameras have poor visual effects in backlight or complex light and shadow conditions, and are prone to instantaneous blindness. LiDAR is easily affected by rain, snow, fog and haze, resulting in reduced accuracy and misjudgment. At the same time, LiDAR's large size, difficulty in passing automotive regulations, lack of reliability and high cost also restrict its large-scale application. Summary of the invention
[0005] The present application provides an image reconstruction method, device and vehicle based on a pulse image sensor to solve the problems that ordinary cameras have poor visual effects in backlight or complex light and shadow conditions, and are prone to instantaneous blindness. LiDAR is easily affected by rain, snow, fog and haze, resulting in reduced accuracy and misjudgment. At the same time, LiDAR is large in size, difficult to pass vehicle regulations, lacks reliability, and has high cost, which also restricts its large-scale application.
[0006] The first aspect of the present application provides an image reconstruction method based on a pulse image sensor, comprising the following steps: receiving a pulse signal output by a pulse image sensor; converting the pulse signal to obtain an event image and a pulse image of the pulse signal, and fusing the event image and the pulse image to obtain a reconstructed frame image of the pulse signal; sending the reconstructed frame image to a control system of a vehicle, so as to control the vehicle based on the reconstructed frame image through the control system.
[0007] Optionally, the sending of the reconstructed frame image to a control system of a vehicle so as to control the vehicle based on the reconstructed frame image through the control system includes: based on the reconstructed frame image, using a preset visual algorithm and a preset learning algorithm to recognize the driver's facial expressions, eye activities and head posture; detecting whether the driver is in a fatigue state according to the facial expressions, eye activities and head posture; if the driver is in the fatigue state, controlling the vehicle to remind the driver according to a preset reminder strategy.
[0008] Optionally, the sending of the reconstructed frame image to a control system of a vehicle so as to control the vehicle based on the reconstructed frame image through the control system includes: extracting target features of the reconstructed frame image; analyzing current traffic information of the vehicle according to the target features so as to control the vehicle to perform corresponding actions according to a preset control strategy based on the current traffic information through the control system.
[0009] Optionally, when converting a pulse signal to obtain an event image and a pulse image of the pulse signal, it includes: calculating a pulse interval of the pulse signal, and calculating a pixel grayscale value of the pulse signal based on the pulse interval, and generating a pulse image of the pulse signal according to the pixel grayscale value.
[0010] Optionally, when converting a pulse signal to obtain an event image and a pulse image of the pulse signal, it includes: judging whether the pulse interval of the pulse signal changes; if the pulse interval changes, judging whether the pulse interval increases, if the pulse interval increases, outputting a negative event signal, and if the pulse interval shortens, outputting a positive event signal.
[0011] Optionally, after outputting the negative event signal and / or the positive event signal, it includes: calculating the pixel grayscale value of each pixel in a preset time window based on the negative event signal and / or the positive event signal; accumulating the average number of events for each pixel, obtaining the grayscale value of each pixel based on the average number of events for each pixel, and generating the event image according to the grayscale value of each pixel.
[0012] The second aspect of the present application provides an image reconstruction device based on a pulse image sensor, including: a receiving module for receiving a pulse signal output by the pulse image sensor; a reconstruction module for converting the pulse signal to obtain an event image and a pulse image of the pulse signal, and fusing the event image and the pulse image to obtain a reconstructed frame image of the pulse signal; and a control module for sending the reconstructed frame image to a control system of a vehicle, so as to control the vehicle based on the reconstructed frame image through the control system.
[0013] Optionally, the control module is also used to: based on the reconstructed frame image, use a preset visual algorithm and a preset learning algorithm to identify the driver's facial expressions, eye activities and head posture; detect whether the driver is in a fatigue state according to the facial expressions, eye activities and head posture; if the driver is in the fatigue state, control the vehicle to remind the driver according to a preset reminder strategy.
[0014] Optionally, the control module is further used to: extract target features of the reconstructed frame image; analyze current traffic information of the vehicle according to the target features, so as to control the vehicle to perform corresponding actions according to a preset control strategy based on the current traffic information through the control system.
[0015] Optionally, when the pulse signal is converted to obtain the event image and the pulse image of the pulse signal, the reconstruction module is also used to: calculate the pulse interval of the pulse signal, and calculate the pixel grayscale value of the pulse signal based on the pulse interval, and generate the pulse image of the pulse signal according to the pixel grayscale value.
[0016] Optionally, when converting the pulse signal to obtain the event image and pulse image of the pulse signal, the reconstruction module is also used to: determine whether the pulse interval of the pulse signal changes; if the pulse interval changes, determine whether the pulse interval increases, if the pulse interval increases, output a negative event signal, and if the pulse interval shortens, output a positive event signal.
[0017] Optionally, after outputting the negative event signal and / or the positive event signal, the reconstruction module is further used to: calculate the pixel grayscale value of each pixel in a preset time window based on the negative event signal and / or the positive event signal; accumulate the average number of events for each pixel, obtain the grayscale value of each pixel based on the average number of events for each pixel, and generate the event image according to the grayscale value of each pixel.
[0018] A third aspect of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the image reconstruction method based on the pulse image sensor as described in the above embodiment.
[0019] A fourth aspect of the present application provides a computer program product on which a computer program is stored. The program is executed by a processor to implement the image reconstruction method based on the pulse image sensor as described in the above embodiment.
[0020] In the above implementation, a pulse signal output by a pulse image sensor is received; the pulse signal is converted to obtain an event image and a pulse image of the pulse signal, and the event image and the pulse image are fused to obtain a reconstructed frame image of the pulse signal; the reconstructed frame image is sent to the vehicle control system so that the vehicle can be controlled by the control system based on the reconstructed frame image. Thus, the problem that ordinary cameras have poor visual effects in backlight or complex light and shadow conditions and are prone to instantaneous blindness is solved, and that laser radars are easily affected by rain, snow, fog and haze, resulting in reduced accuracy and misjudgment. At the same time, the laser radars are large in size, difficult to pass vehicle regulations, insufficient reliability, and high cost also restrict their large-scale application. The pulse image sensor has a larger dynamic range, higher frame rate, lower latency, and saves hardware overhead, which is conducive to the promotion of autonomous driving technology by car companies.
[0021] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0023] Figure 1 It is a schematic diagram of the principle of an image sensor in the prior art;
[0024] Figure 2 is a simplified schematic diagram of a pulse image sensor in the prior art;
[0025] Figure 3 A flowchart of an image reconstruction method based on a pulse image sensor provided according to an embodiment of the present application;
[0026] Figure 4 A schematic diagram of converting pulse data into a pulse frame according to an embodiment of the present application;
[0027] Figure 5 is a schematic diagram of a pulse data conversion event signal according to an embodiment of the present application;
[0028] Figure 6 is a block diagram of an adaptive reconstruction method according to an embodiment of the present application;
[0029] Figure 7 is a schematic diagram of an adaptive reconstruction method according to an embodiment of the present application;
[0030] Figure 8 A schematic diagram of converting an event signal into an event frame according to an embodiment of the present application;
[0031] Fig. 9 A schematic diagram of a pulse data stream processing flow according to an embodiment of the present application;
[0032] Fig.10 is a control flow chart of a DMS system based on a pulse image sensor according to an embodiment of the present application;
[0033] Fig.11 is a control flow chart of an ADAS system based on a pulse image sensor according to an embodiment of the present application;
[0034] Fig.12 is an exemplary diagram of an image reconstruction device based on a pulse image sensor according to an embodiment of the present application;
[0035] Fig.13 It is a schematic diagram of a vehicle structure according to an embodiment of the present application.
[0037] 10-image reconstruction device based on pulse image sensor; 100-receiving module; 200-reconstruction module and 300-control module. DETAILED DESCRIPTION
[0038] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0039] The following describes the image reconstruction method, device and vehicle based on the pulse image sensor of the embodiment of the present application with reference to the accompanying drawings. In view of the fact that the ordinary camera mentioned in the above background technology has poor visual effect in the case of backlight or complex light and shadow, and is prone to instantaneous blindness, and the laser radar is easily affected by rain, snow, fog and haze, resulting in reduced accuracy and misjudgment. At the same time, the laser radar is large in size, difficult to pass vehicle regulations, insufficient reliability, and high cost, which also restricts its large-scale application. The present application provides an image reconstruction method based on a pulse image sensor, in which a pulse signal output by a pulse image sensor is received; the pulse signal is converted to obtain an event image and a pulse image of the pulse signal, and the event image and the pulse image are fused to obtain a reconstructed frame image of the pulse signal; the reconstructed frame image is sent to the control system of the vehicle, so that the vehicle can be controlled by the control system based on the reconstructed frame image. This solves the problems that ordinary cameras have poor visual effects in backlit or complex light and shadow conditions, and are prone to instantaneous blindness; LiDAR is easily affected by rain, snow, fog and haze, resulting in reduced accuracy and misjudgment; at the same time, LiDAR's large size, difficulty in passing vehicle regulations, insufficient reliability and high cost also restrict its large-scale application. It is not easily affected by rain, snow, fog and haze, has higher accuracy, reliability and safety, and the pulse image sensor has a larger dynamic range, higher frame rate, lower latency, saves hardware expenses, and is conducive to automakers promoting autonomous driving technology.
[0040] The embodiment of this application mainly introduces the image reconstruction method of pulse image sensors applied to the vehicle field, and its core is the vehicle-mounted application of pulse image sensors. Pulse image sensors have a good dynamic range, but due to their special data format, they have not yet been applied in the field of automobile assisted driving. The embodiment of this application uses pulse image sensors to replace the original traditional cameras in DMS, OMS and pure vision ADAS front-view sensors. The function is part of the role, which helps to break through the bottleneck of existing traditional cameras in the field of assisted driving. On the one hand, since the pulse image sensor integrates a pixel-level ADC that can measure the number of photons, after reaching a specific number of photons, it sends digital pulses and re-integrates. This method can solve the problem of poor visual effects in the prior art under backlight or complex light and shadow conditions, and solve the danger caused by instantaneous blindness; on the other hand, since the working principle of the pulse image sensor is different from that of the laser radar, it is not easily affected by rain, snow, fog and haze weather, and has high accuracy, reliability and safety.
[0041] When collecting image information, the visual perception system based on traditional image sensors exposes it in frames. As the demand for high-resolution and high-frame-rate images in autonomous driving technology increases, the amount of data generated by the system is also increasing explosively. Massive redundant data will occupy a large amount of hardware resources, and the delay caused by transmission will also bring safety risks to cars traveling at high speeds. The circuit structure of traditional image sensors is as follows: Figure 1 As shown in the figure, the photodiode is excited by photons and generates charges, which are transferred to the floating diffusion node for storage and converted into voltage signals through the floating diffusion node. The source follower reads and amplifies the voltage of the floating diffusion node, and the programmable gain amplifier further amplifies the voltage, which is then converted into a digital signal through the ADC analog-to-digital converter. It can be seen that the charges generated by the photodiode need to be converted and amplified by multiple modules, and the dynamic range of the system is restricted by the voltage of the sensor readout circuit, and the imaging capability is limited in a large light ratio environment.
[0042] Pulse image sensor is a bionic image sensor, such as Figure 2 As shown, the photodiode is excited by photons to generate charges, which will be accumulated and stored in the accumulator capacitor. The voltage of the accumulator will be compared with the threshold voltage of the comparator. When the threshold is reached, the accumulator will be reset immediately and a pulse signal will be output. The pulse image sensor can convert the light signal into a pulse signal, and all the signals output by the pixel are transmitted and processed in the form of pulses. At the same time, each pixel is exposed and read out independently. The pixel asynchronously requests to access the bus when triggered, and the sensor dynamically allocates the output bandwidth according to the pixel request. The pulse image sensor can reduce the static redundant information generated by the traditional image sensor from the source, and can realize ultra-high-speed, low-latency, low-power, and high-dynamic capture of moving objects. However, due to the special data format generated by the pulse image sensor, there are currently few in-vehicle applications and it is still in the research stage.
[0043] The in-vehicle pure vision application based on pulse image sensors proposed in the embodiments of this application can reconstruct images based on pulse data, which not only utilizes the performance advantages of pulse image sensors, but also matches various existing algorithms such as automatic driving and cabin occupant detection developed for traditional image sensors. This will further accelerate the installation of pulse image sensors in vehicles, help automakers reduce costs, and promote the popularization of assisted driving technology.
[0044] Take the pulse image sensor currently on the market as an example. Due to the special data format of the pulse image sensor and the lack of Bayer filter, it can only sense light intensity but cannot distinguish colors. There are few existing supported algorithms, which limits its vehicle-mounted applications. For vehicle-mounted motion scenes, the embodiment of the present application proposes to convert the pulse data stream output by the pulse image sensor into a mixed data output of an event stream and a traditional image frame, so that the central computing device such as the back-end SOC can directly obtain the event stream data for the moving object, and the traditional image for the static object, combined with the existing algorithm, can quickly distinguish the moving object, process the output event in real time, and achieve high-resolution image reconstruction, breaking through the defect of the traditional imaging system that it is difficult to accurately separate the moving target and the noise, and improving the ability to accurately track and locate the moving target, which can replace part of the front-view camera of the original ADAS system, as well as the in-cabin detection (OMS, DMS) camera.
[0045] Specifically, Figure 3 A schematic flow chart of an image reconstruction method based on a pulse image sensor provided in an embodiment of the present application.
[0046] like Figure 3 As shown, the image reconstruction method based on the pulse image sensor includes the following steps:
[0047] In step S301 , a pulse signal output by a pulse image sensor is received.
[0048] In step S302, the pulse signal is converted to obtain an event image and a pulse image of the pulse signal, and the event image and the pulse image are fused to obtain a reconstructed frame image of the pulse signal.
[0049] In step S303 , the reconstructed frame image is sent to a control system of the vehicle so that the vehicle is controlled by the control system based on the reconstructed frame image.
[0050] Optionally, in some embodiments, when converting a pulse signal to obtain an event image and a pulse image of the pulse signal, it includes: calculating the pulse interval of the pulse signal, and calculating the pixel grayscale value of the pulse signal based on the pulse interval, and generating a pulse image of the pulse signal according to the pixel grayscale value.
[0051] Optionally, in some embodiments, when converting a pulse signal to obtain an event image and a pulse image of the pulse signal, it includes: determining whether the pulse interval of the pulse signal changes; if the pulse interval changes, determining whether the pulse interval increases, if the pulse interval increases, outputting a negative event signal, and if the pulse interval shortens, outputting a positive event signal.
[0052] Optionally, in some embodiments, after outputting the negative event signal and / or the positive event signal, it includes: calculating the pixel grayscale value of each pixel in a preset time window based on the negative event signal and / or the positive event signal; accumulating the average number of events for each pixel, obtaining the grayscale value of each pixel based on the average number of events for each pixel, and generating an event image according to the grayscale value of each pixel.
[0053] Specifically, an ISP (Image Signal Processor) is a dedicated chip or circuit for processing digital image signals. It is located between the camera and a computer or other device. It is mainly responsible for preprocessing, enhancing, compressing, and other operations on the raw image data captured by the camera for subsequent image processing, storage, or transmission.
[0054] Due to the characteristics of light, the photons received by the photodiode are not constant under constant light intensity, so the voltage generated is also not constant, which will cause the pulses output by the pulse image sensor under constant light intensity to be not equally spaced. The arrival of photons can usually be regarded as a uniform Poisson distribution, which will make the generated pulses approximately satisfy the Gaussian distribution, so the light intensity can be judged by counting the pulse intervals.
[0055] by Figure 4 For example, the pulse signal is a binary signal. A pixel of a pulse image sensor outputs "0101, 0001, 0110, 0011, 0100, 11" over a period of time, where the value "1" represents a pulse and the value "0" represents no pulse. The visible light intensity is proportional to the pulse frequency. The pixel generates a pulse data stream, and the back-end system counts the pulse interval and calculates the pixel grayscale value to reconstruct the pulse image.
[0056] According to the pulse interval reconstruction method, as shown in Table 1, the interval N between two adjacent pulses is calculated with the first pulse as the starting point. For example, "101" indicates that the pulse interval is 1, "10001" indicates that the pulse interval is 3, and "11" indicates that the pulse interval is 0. If the adjustable threshold X is set to 8, it means that the maximum allowed pulse interval is 8. Assuming that the sensor also generates a pulse every 8 pulses in a completely dark environment, for example, when the pulse sequence "1000, 0000, 0001" appears, the pulse interval is greater than 8. The pulse interval of this section is set to 8. After obtaining the pulse interval, the pixel gray value is calculated using the following formula:
[0057]
[0058] Among them, P is the gray value, X is the adjustable threshold, and N is the number of pulse intervals.
[0059] For example, when X is 8, the grayscale value mapped to "101" is 186, the grayscale value mapped to "10001" is 99, and the grayscale value mapped to "11" is "255". When the pulse interval is greater than 8, the grayscale value is uniformly regarded as 0.
[0060] Table 1
[0061] Pulse sequence Pulse interval Reconstruct grayscale value 11 0 255 101 1 186 1001 2 136 10001 3 99 100001 4 72 1000001 5 53 10000001 6 39 100000001 7 28 1000000001 8 21 10000000001 9 0 10000000001 10 0 ... ... ...
[0062] The adjustable threshold can be flexibly adjusted according to the usage scenario and the performance of the pulse image sensor. This mapping method can improve the imaging effect in dim light.
[0063] Further conversion is performed to obtain the event image and pulse image of the pulse signal.
[0064] Among them, an event refers to the moment when a pixel brightness changes, the pixel coordinates where the event occurs, and the polarity of the event. The polarity indicates whether the brightness increases or decreases compared to the previous sample. By analyzing the event signal, the object features can be quickly extracted and the moving parts in the picture can be separated.
[0065] When the pixel generates an event, the light intensity is Iμ. When the light intensity changes to Iν and exceeds the threshold θ, a new event will be generated.
[0066] |log(I μ )-log(I ν )|≥θ;
[0067] In a pulse camera, the light intensity can be estimated by the pulse frequency. When the pulse trigger interval changes at a certain moment, it can be compared with the pulse interval and threshold at the previous moment to generate an event.
[0068]
[0069] like Figure 5 As shown, the pulse image sensor generates a pulse data stream, and the back-end system counts the pulse intervals to determine whether the intervals between adjacent pulses change. If so, it determines whether the pulse interval increases or decreases. If it decreases, it indicates that the pulse frequency increases, and the light intensity detected by the pixel increases, and a positive event is output at this time; if it increases, it indicates that the pulse frequency decreases, and the light intensity detected by the pixel becomes weaker, and a negative event is output at this time.
[0070] After obtaining the positive and negative events, the event signal needs to be converted into an event image. The traditional method based on a fixed window is prone to causing tailing and other phenomena, which affects the imaging effect. The embodiment of the present application selects a time window T, counts the number of events N generated by each pixel within the T time, calculates the average number of events N_avg of all pixels, and finally selects N_avg events from the boundary of the time window to form an equivalent frame, such as Figure 6 as well as Figure 7 shown.
[0071] After counting N_avg events of each pixel in the T time window, according to Figure 8 The rules shown reconstruct the event equivalent frame, using the middle grayscale G=127 as the initial background. A positive event increases the grayscale by 10%, and a negative event decreases the grayscale by 10%. N_avg events of each pixel are accumulated, and the grayscale value of each pixel at a specified time is calculated to form an equivalent frame image.
[0072] In summary, after two separate processings, the pulse data stream is finally converted into a pulse image and an event image. Finally, the two frames are fused and output as a reconstructed frame image, such as Fig. 9 shown.
[0073] Optionally, in some embodiments, the reconstructed frame image is sent to the control system of the vehicle so that the vehicle can be controlled based on the reconstructed frame image through the control system, including: based on the reconstructed frame image, using a preset visual algorithm and a preset learning algorithm to recognize the driver's facial expressions, eye activities and head posture; detecting whether the driver is in a fatigue state based on the facial expressions, eye activities and head posture; if the driver is in a fatigue state, controlling the vehicle to remind the driver according to a preset reminder strategy.
[0074] In the DMS system, the pulse image sensor is installed at the A-pillar or steering wheel in the car cabin, and is used to collect signals.
[0075] Specifically, Fig.10 As shown, the ISP processes the pulse signal to form a reconstructed frame image composed of the event signal and the pulse signal. The pulse image contains the facial features and some details of the environment, and the event image contains the contours of the facial features and motion information. The traditional DMS system needs to pre-process the image data collected by the sensor, such as adjusting the contrast to enhance the image quality in low-light environments such as night. The most important thing is to extract features from the image. It is necessary to extract useful feature information from the image, such as facial key points, eye status (open or closed), head direction, etc. These features provide a direct basis for analyzing the driver's attention, fatigue and other states. The SOC will identify the driver's facial expressions, eye activities and head postures based on relevant visual algorithms and learning algorithms. For example, it can determine whether the driver is tired by analyzing the closure of the eyes, assess the fatigue level by identifying the frequency of yawning and blinking, and assess the concentration of the driver's head by tracking and analyzing the position and movement of the driver's head. Frequent rotation may indicate that the driver has been distracted, so the vehicle is controlled to remind the driver according to the preset reminder strategy, such as reminding the driver through the vehicle's acoustic reminder device or optical reminder device.
[0076] In a DMS system based on traditional image sensing, extracting feature information is the most complicated step. However, in a DMS system that uses pulse image sensors, the pulse data and event data already contain the contours and motion information of the facial features, which can quickly locate the face area, greatly shorten the feature processing time, and improve the efficiency of feature extraction. Secondly, the pulse data must be reconstructed before it can be used. The use of pulse image sensors can ensure that the data is secure and the driver's privacy is properly handled.
[0077] In a pure vision ADAS system, the pulse image sensor, as a forward-looking auxiliary camera, can capture rapidly changing scenes and provide more delicate time details than traditional image sensors.
[0078] Optionally, in some embodiments, the reconstructed frame image is sent to the control system of the vehicle so that the vehicle can be controlled based on the reconstructed frame image through the control system, including: extracting target features of the reconstructed frame image; analyzing the current traffic information of the vehicle according to the target features so that the vehicle can be controlled to perform corresponding actions according to a preset control strategy based on the current traffic information through the control system.
[0079] Specifically, Fig.11 As shown in the figure, the pulse image sensor collects data, and the ISP performs image reconstruction and other preprocessing on the data. Then, the SOC and other systems extract and identify features of the reconstructed frame image, analyze the processed pulse signal, and identify important features, such as object contours, moving direction and speed. In the scenario analysis and decision-making stage, the ADAS system analyzes the current traffic situation based on the extracted features, such as judging the relative speed and distance of the vehicle in front, predicting potential collision risks, etc., and makes decisions based on this, such as issuing warnings, automatically adjusting the speed of the vehicle, or taking risk avoidance measures. Finally, the system executes the decision instructions according to the preset control strategy, implements the corresponding operations through the vehicle control system, and monitors the operation results at the same time for reference for subsequent decision adjustments, which can help the system quickly extract features, improve the efficiency of the ADAS system, and reduce latency.
[0080] According to the image reconstruction method based on the pulse image sensor proposed in the embodiment of the present application, the pulse signal output by the pulse image sensor is received, the pulse signal is converted to obtain the event image and pulse image of the pulse signal, and the event image and the pulse image are fused to obtain the reconstructed frame image of the pulse signal, and the reconstructed frame image is sent to the control system of the vehicle, so as to control the vehicle based on the reconstructed frame image through the control system. Thus, the problems that ordinary cameras have poor visual effects in the case of backlight or complex light and shadow, and are prone to instantaneous blindness, and that laser radars are easily affected by rain, snow, fog and haze, resulting in reduced accuracy and misjudgment, and that the laser radars are large in size, difficult to pass vehicle regulations, insufficient reliability, and high cost also restrict their large-scale application. The pulse image sensor is not easily affected by rain, snow, fog and haze, has high accuracy, reliability and safety, has a larger dynamic range, a higher frame rate, and lower latency, saves hardware costs, and is conducive to the promotion of autonomous driving technology by car companies.
[0081] Next, an image reconstruction device based on a pulse image sensor according to an embodiment of the present application is described with reference to the accompanying drawings.
[0082] Fig.12 It is a block diagram of an image reconstruction device based on a pulse image sensor according to an embodiment of the present application.
[0083] like Fig.12 As shown, the image reconstruction device 10 based on the pulse image sensor includes: a receiving module 100 , a reconstruction module 200 and a control module 300 .
[0084] Among them, the receiving module 100 is used to receive the pulse signal output by the pulse image sensor; the reconstruction module 200 is used to convert the pulse signal to obtain the event image and pulse image of the pulse signal, and fuse the event image and the pulse image to obtain the reconstructed frame image of the pulse signal; the control module 300 is used to send the reconstructed frame image to the control system of the vehicle, so as to control the vehicle based on the reconstructed frame image through the control system.
[0085] Optionally, in some embodiments, the control module 300 is also used to: based on the reconstructed frame image, identify the driver's facial expressions, eye activities and head posture using a preset visual algorithm and a preset learning algorithm; detect whether the driver is in a fatigue state based on the facial expressions, eye activities and head posture; if the driver is in a fatigue state, control the vehicle to remind the driver according to a preset reminder strategy.
[0086] Optionally, in some embodiments, the control module 300 is further used to: extract target features of the reconstructed frame image; analyze the current traffic information of the vehicle according to the target features, so as to control the vehicle to perform corresponding actions according to a preset control strategy based on the current traffic information through the control system.
[0087] Optionally, in some embodiments, when a pulse signal is converted to obtain an event image and a pulse image of the pulse signal, the reconstruction module 200 is also used to: calculate the pulse interval of the pulse signal, and calculate the pixel grayscale value of the pulse signal based on the pulse interval, and generate a pulse image of the pulse signal according to the pixel grayscale value.
[0088] Optionally, in some embodiments, when converting a pulse signal to obtain an event image and a pulse image of the pulse signal, the reconstruction module 200 is also used to: determine whether the pulse interval of the pulse signal changes; if the pulse interval changes, determine whether the pulse interval increases, if the pulse interval increases, output a negative event signal, and if the pulse interval shortens, output a positive event signal.
[0089] Optionally, in some embodiments, after outputting the negative event signal and / or the positive event signal, the reconstruction module 200 is further used to: calculate the pixel grayscale value of each pixel in a preset time window based on the negative event signal and / or the positive event signal; accumulate the average number of events for each pixel, obtain the grayscale value of each pixel based on the average number of events for each pixel, and generate the event image according to the grayscale value of each pixel.
[0090] It should be noted that the above explanation of the embodiment of the image reconstruction method based on the pulse image sensor is also applicable to the image reconstruction device based on the pulse image sensor of this embodiment, which will not be repeated here.
[0091] According to the image reconstruction device based on the pulse image sensor proposed in the embodiment of the present application, the pulse signal output by the pulse image sensor is received, the pulse signal is converted to obtain the event image and pulse image of the pulse signal, and the event image and the pulse image are fused to obtain the reconstructed frame image of the pulse signal, and the reconstructed frame image is sent to the control system of the vehicle, so as to control the vehicle based on the reconstructed frame image through the control system. Thus, the problems that ordinary cameras have poor visual effects in the case of backlight or complex light and shadow, and are prone to instantaneous blindness, and laser radars are easily affected by rain, snow, fog and haze, resulting in reduced accuracy and misjudgment, and at the same time, the laser radars are large in size, difficult to pass vehicle regulations, insufficient reliability, and high cost, which restrict their large-scale application. It is not easily affected by rain, snow, fog and haze, has high accuracy, reliability and safety, and the pulse image sensor has a larger dynamic range, higher frame rate, lower latency, and saves hardware expenses, which is conducive to the promotion of autonomous driving technology by automobile companies.
[0092] Fig.13 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:
[0093] A memory 1301 , a processor 1302 , and a computer program stored in the memory 1301 and executable on the processor 1302 .
[0094] When the processor 1302 executes the program, the image reconstruction method based on the pulse image sensor provided in the above embodiment is implemented.
[0095] Furthermore, the vehicle also includes:
[0096] The communication interface 1303 is used for communication between the memory 1301 and the processor 1302 .
[0097] The memory 1301 is used to store computer programs that can be executed on the processor 1302 .
[0098] The memory 1301 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0099] If the memory 1301, the processor 1302 and the communication interface 1303 are implemented independently, the communication interface 1303, the memory 1301 and the processor 1302 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.13 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0100] Optionally, in a specific implementation, if the memory 1301, the processor 1302 and the communication interface 1303 are integrated on a chip, the memory 1301, the processor 1302 and the communication interface 1303 can communicate with each other through an internal interface.
[0101] The processor 1302 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0102] An embodiment of the present application also provides a computer program product, on which a computer program is stored. When the program is executed by a processor, the image reconstruction method based on the pulse image sensor is implemented as described above.
[0103] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0104] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0105] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0106] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer program product for use with an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, a "computer program product" can be any device that can contain, store, communicate, propagate or transmit a program for use with an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer program products (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). Furthermore, the computer program product may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example by optically scanning the paper or other medium and then editing, interpreting or, if necessary, processing it in another suitable manner, and then storing it in a computer memory.
[0107] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0108] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer program product, which, when executed, includes one or a combination of the steps of the method embodiment.
[0109] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer program product.
[0110] The computer program product mentioned above may be a read-only memory, a disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. An image reconstruction method based on a pulse image sensor, characterized in that: The following steps are involved: receiving a pulse signal output by a pulse image sensor; Converting the pulse signal to obtain an event image and a pulse image of the pulse signal, and fusing the event image and the pulse image to obtain a reconstructed frame image of the pulse signal; The reconstructed frame image is sent to a control system of a vehicle so that the vehicle is controlled by the control system based on the reconstructed frame image.
2. The method according to claim 1, characterized in that The sending of the reconstructed frame image to a control system of a vehicle so as to control the vehicle based on the reconstructed frame image through the control system comprises: Based on the reconstructed frame image, using a preset visual algorithm and a preset learning algorithm to recognize the driver's facial expression, eye movement and head posture; detecting whether the driver is in a fatigue state according to the facial expression, the eye movement and the head posture; If the driver is in the fatigue state, the vehicle is controlled to remind the driver according to a preset reminder strategy.
3. The method according to claim 1, characterized in that The sending of the reconstructed frame image to a control system of a vehicle so as to control the vehicle based on the reconstructed frame image through the control system comprises: Extracting target features of the reconstructed frame image; The current traffic information of the vehicle is analyzed according to the target feature, so as to control the vehicle to perform corresponding actions according to a preset control strategy based on the current traffic information through the control system.
4. The method according to claim 1, characterized in that When converting the pulse signal to obtain the event image and the pulse image of the pulse signal, it includes: The pulse interval of the pulse signal is calculated, and the pixel grayscale value of the pulse signal is calculated based on the pulse interval, and a pulse image of the pulse signal is generated according to the pixel grayscale value.
5. The method according to claim 4, characterized in that When converting the pulse signal to obtain the event image and the pulse image of the pulse signal, it includes: Determining whether the pulse interval of the pulse signal changes; If the pulse interval changes, it is determined whether the pulse interval increases. If the pulse interval increases, a negative event signal is output; if the pulse interval decreases, a positive event signal is output.
6. The method according to claim 5, characterized in that After outputting the negative event signal and / or the positive event signal, the method further comprises: Calculate the pixel gray value of each pixel in a preset time window based on the negative event signal and / or the positive event signal; The average number of events at each pixel is accumulated, the grayscale value of each pixel is obtained based on the average number of events at each pixel, and the event image is generated according to the grayscale value of each pixel.
7. An image reconstruction device based on a pulse image sensor, characterized in that: include: A receiving module, used for receiving a pulse signal output by a pulse image sensor; A reconstruction module, used for converting the pulse signal to obtain an event image and a pulse image of the pulse signal, and fusing the event image and the pulse image to obtain a reconstructed frame image of the pulse signal; A control module is used to send the reconstructed frame image to a control system of a vehicle so as to control the vehicle based on the reconstructed frame image through the control system.
8. The device according to claim 7, characterized in that The control module is also used for: Based on the reconstructed frame image, using a preset visual algorithm and a preset learning algorithm to recognize the driver's facial expression, eye movement and head posture; detecting whether the driver is in a fatigue state according to the facial expression, the eye movement and the head posture; If the driver is in the fatigue state, the vehicle is controlled to remind the driver according to a preset reminder strategy.
9. A vehicle, characterized in that: Including memory and processor; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the image reconstruction method based on the pulse image sensor as described in any one of claims 1 to 6.
10. A computer program product, wherein the computer program product stores a computer program, characterized in that: When the program is executed by a processor, the image reconstruction method based on a pulse image sensor as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Imaging method and device based on bionic pulse camera, equipment and storage medium
CN113067979A
License plate detection method, device, equipment, medium and program product
CN116012833A
Visual imaging and recognition device
CN118714436A
Fatigue driving monitoring method and cloud server
WO2018028068A1
