Exposure control method, visual perception system and device

By generating an optimized exposure parameter curve in the visual perception system and adjusting the exposure parameters of the on-board camera, the problem of insufficient exposure adjustment in scenes with significant lighting changes is solved, and the reliability and image quality of intelligent driving are improved.

CN116546331BActive Publication Date: 2024-10-15ECARX (HUBEI) TECHCO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310546935.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-15
Publication Date
2024-10-15
Estimated Expiration
2043-05-15

AI Technical Summary

Technical Problem

Existing on-board cameras cannot accurately adjust exposure parameters in scenes with significant lighting changes, affecting the reliability of smart driving.

Method used

In the visual perception system, the processor is used to generate optimized exposure parameter curves based on dynamic exposure parameters and vehicle positioning information, match the scene of vehicle entry and exit, and adjust the exposure parameters of the camera unit to adapt to changes in environmental brightness.

Benefits of technology

Without increasing the image transmission bandwidth and system cost, it can intelligently adjust the exposure parameters of the camera unit, improve the reliability of intelligent driving visual perception, and collect more optimized image data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116546331B_ABST
    Figure CN116546331B_ABST
Patent Text Reader

Abstract

The present application provides an exposure control method, a visual perception system and a device, wherein the exposure control method is applied to a visual perception system including a camera unit, an image processing unit and a processor unit. When a vehicle enters a target scene, the image processing unit sends the dynamic exposure parameters of the camera unit to the processor unit so that it generates an optimized exposure parameter curve according to the dynamic exposure parameters and the first positioning information of the vehicle. When the vehicle exits the target scene, the processor unit obtains the target exposure parameters according to the exposure parameter curve and the second positioning information of the vehicle and sends them to the image processing unit so that it performs exposure control on the camera unit according to the target exposure parameters. When the vehicle exits the target scene, the camera unit uses the target exposure parameters to collect image data. Intelligent adjustment of the exposure parameters of the camera unit is achieved, so that the camera unit can collect images according to more optimized exposure parameters when the vehicle exits the target scene, thereby improving the reliability of intelligent visual perception.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent driving technology, and in particular to an exposure control method, a visual perception system and a device. Background Art

[0002] With the development of smart cars, visual sensors have become an indispensable type of sensor in the field of smart driving. They detect objects around the vehicle through on-board cameras and image detection algorithms.

[0003] During the intelligent driving process of a vehicle, the ambient lighting will continue to change. Existing on-board cameras have the function of automatic exposure. For example, the exposure parameters of the on-board camera can be adjusted according to the average brightness of each pixel in the current image to ensure that the brightness of the images taken in different lighting environments is moderate, which is convenient for intelligent driving.

[0004] However, in actual applications, vehicles may face scenes with significant changes in lighting, such as entering or exiting a tunnel. In such scenes, the images captured by the on-board camera will be brighter or darker. Even if the on-board camera itself has dynamic dimming capabilities, it cannot accurately adjust the exposure parameters in scenes with significant changes in lighting, thus affecting the captured images and, in turn, the reliability of intelligent driving. Summary of the invention

[0005] The present application provides an exposure control method, a visual perception system and a device, which are used to provide an intelligent exposure control method for scenes with significant lighting changes, so as to overcome the technical problem in the prior art that the dimming capability of the on-board camera is insufficient and affects the reliability of intelligent driving.

[0006] In a first aspect, the present application provides an exposure control method, which is applied to a visual perception system of a vehicle, wherein the visual perception system includes a camera unit, an image processing unit, and a processor unit; the method includes:

[0007] When the vehicle enters the target scene, the image processing unit sends the dynamic exposure parameters of the camera unit to the processor unit, and the processor unit generates an optimized exposure parameter curve according to the dynamic exposure parameters and the first positioning information of the vehicle;

[0008] When the vehicle drives out of the target scene, the processor unit obtains a target exposure parameter according to the optimized exposure parameter curve and the second positioning information of the vehicle, and a difference in ambient brightness between inside the target scene and outside the target scene is greater than a preset brightness difference;

[0009] The processor unit sends the target exposure parameter to the image processing unit according to the second positioning information, and the image processing unit performs exposure control on the camera unit according to the target exposure parameter. When the vehicle exits the target scene, the camera unit collects image data according to the target exposure parameter.

[0010] In a possible design, the visual perception system further includes a positioning unit, and before the processor unit generates the optimized exposure parameter curve according to the dynamic exposure parameter and the first positioning information of the vehicle, further includes:

[0011] The positioning unit acquires first current positioning information of the vehicle, and determines whether a distance between a vehicle position indicated by the first current positioning information and an entrance of the target scene in a first direction is less than or equal to a first preset distance, wherein the first direction refers to a direction in which the vehicle approaches the entrance of the target scene;

[0012] If so, the positioning unit acquires first positioning information of the vehicle and sends the first positioning information to the processor unit, where the first positioning information indicates that the vehicle has entered the target scene.

[0013] In a possible design, before the processor unit acquires the target exposure parameter according to the optimized exposure parameter curve and the second positioning information of the vehicle, the method further includes:

[0014] The positioning unit acquires second current positioning information of the vehicle, and determines whether a distance between a vehicle position indicated by the second current positioning information and an exit of the target scene in a second direction is less than or equal to a second preset distance, wherein the second direction refers to a direction in which the vehicle approaches the exit of the target scene;

[0015] If so, the positioning unit obtains second positioning information of the vehicle and sends the second positioning information to the processor unit, where the second positioning information indicates that the vehicle has left the target scene.

[0016] In one possible design, it also includes:

[0017] The positioning unit obtains third current positioning information of the vehicle, and determines whether the distance between the vehicle position indicated by the third current positioning information and the exit of the target scene in a third direction is greater than or equal to a third preset distance, wherein the third direction refers to the direction in which the vehicle is away from the exit of the target scene;

[0018] If so, the positioning unit sends exposure control end information to the processor unit to terminate the exposure control method.

[0019] In a possible design, before the image processing unit sends the dynamic exposure parameter of the camera unit to the processor unit, the method further includes:

[0020] The image processing unit adjusts the initial exposure parameter according to the amount of light entering the lens of the camera unit to obtain the dynamic exposure parameter.

[0021] In a possible design, the processor unit generates the optimized exposure parameter curve according to the dynamic exposure parameter and the first positioning information of the vehicle, including:

[0022] The processor unit performs an exposure parameter algorithm operation according to the dynamic exposure parameter and the first positioning information to generate the optimized exposure parameter curve, where the optimized exposure parameter curve includes a mapping relationship between exposure parameters and position parameters.

[0023] In a possible design, the processor unit obtains the target exposure parameter according to the optimized exposure parameter curve and the second positioning information of the vehicle, including:

[0024] The processor unit obtains the exposure parameter corresponding to the target position according to the optimized exposure parameter curve, and determines the exposure parameter corresponding to the target position as the target exposure parameter;

[0025] Wherein, the target position is obtained according to the second positioning information.

[0026] In one possible design, it also includes:

[0027] The camera unit sends the image data to the image processing unit for image processing, and the image processing unit sends the processed image data to the intelligent driving system of the vehicle.

[0028] In a possible design, the target scene includes a cave or a tunnel.

[0029] In a second aspect, the present application provides a visual perception system for a vehicle, comprising: a camera unit, an image processing unit, and a processor unit;

[0030] When the vehicle enters the target scene, the image processing unit is used to send the dynamic exposure parameters of the camera unit to the processor unit, and the processor unit is used to generate an optimized exposure parameter curve according to the dynamic exposure parameters and the first positioning information of the vehicle;

[0031] When the vehicle drives out of the target scene, the processor unit is used to obtain a target exposure parameter according to the optimized exposure parameter curve and the second positioning information of the vehicle, and the difference in ambient brightness between the inside of the target scene and the outside of the target scene is greater than a preset brightness difference;

[0032] The processor unit is further used to send the target exposure parameter to the image processing unit, and the image processing unit is further used to control the exposure of the camera unit according to the target exposure parameter. When the vehicle exits the target scene, the camera unit is used to collect image data according to the target exposure parameter.

[0033] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0034] The memory stores computer-executable instructions;

[0035] The processor executes the computer-executable instructions stored in the memory to implement any possible exposure control method provided in the first aspect.

[0036] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement any possible exposure control method provided in the first aspect.

[0037] In a fifth aspect, the present application provides a computer program product, comprising computer execution instructions, which, when executed by a processor, are used to implement any possible exposure control method provided in the first aspect.

[0038] The present application provides an exposure control method, a visual perception system and a device. The exposure control method uses a visual perception system, and the visual perception system includes a camera unit, an image processing unit and a processor unit. When a vehicle enters a target scene, the image processing unit sends the dynamic exposure parameters of the camera unit to the processor unit, and the processor unit generates an optimized exposure parameter curve according to the dynamic exposure parameters and the first positioning information of the vehicle. When the vehicle exits the target scene, the processor unit obtains the target exposure parameters according to the exposure parameter curve and the second positioning information of the vehicle, and sends the target exposure parameters to the image processing unit. The image processing unit performs exposure control on the camera unit according to the target exposure parameters, and the camera unit uses the target exposure parameters to collect image data when the vehicle exits the target scene. Without increasing the camera image transmission bandwidth, increasing the system cost and not needing to adopt the high dynamic range image (High-Dynamic Range, HDR) mode, it is possible to achieve intelligent adjustment of the camera unit exposure parameters, so that the camera unit can collect images according to more optimized exposure parameters when the vehicle exits the target scene, which is used for the intelligent driving visual perception algorithm, thereby improving the reliability of intelligent visual perception. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0040] Figure 1 A schematic diagram of the architecture of a visual perception system provided in an embodiment of the present application;

[0041] Figure 2 A schematic flow chart of an exposure control method provided in an embodiment of the present application;

[0042] Figure 3 A schematic flow chart of another exposure control method provided in an embodiment of the present application;

[0043] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0044] Figure 5 A schematic diagram of the structure of another electronic device provided in an embodiment of the present application;

[0045] Figure 6 A schematic diagram of the structure of another electronic device provided in an embodiment of the present application;

[0046] Figure 7 A schematic diagram of the structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of methods and devices consistent with some aspects of the present application as detailed in the appended claims.

[0048] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0049] During the process of intelligent driving, the lighting of the environment will continue to change. Existing on-board cameras have the function of automatic exposure. For example, the exposure parameters of the on-board camera can be adjusted according to the average brightness of each pixel in the current image to ensure that the brightness of the images captured in different lighting environments is moderate, which is convenient for intelligent driving. However, in actual applications, vehicles may face scenes with very obvious changes in lighting, such as entering and exiting tunnels. In this scenario, the image captured by the on-board camera will be brighter or darker. Even if the on-board camera itself has dynamic dimming capabilities, it cannot accurately adjust the exposure parameters in scenes with particularly significant changes in lighting, which affects the captured image and further affects the reliability of intelligent driving.

[0050] In view of the above-mentioned problems existing in the prior art, the present application provides an exposure control method, a visual perception system and a device. The inventive concept of the exposure control method provided by the present application is that when the ambient brightness of the driving scene of the vehicle changes, the amount of light entering the lens of the camera unit will change accordingly. The driving scene where the ambient brightness changes significantly is defined as a target scene, that is, the difference in ambient brightness between the target scene and the outside of the target scene is greater than the preset brightness difference. There is a certain correlation between the changes in the amount of light entering the lens of the camera unit when the vehicle enters the target scene and when it exits the target scene, and the amount of light entering the lens is related to the exposure parameters. Therefore, an optimized exposure parameter curve can be obtained based on the dynamic exposure parameters and positioning information when the vehicle enters the target scene. The optimized exposure parameter curve can match the positioning information when the vehicle exits the target scene. Specifically, the optimized exposure parameter curve includes a mapping relationship between exposure parameters and position parameters. Thus, the exposure parameters of the vehicle when it leaves the target scene can be obtained according to the optimized exposure parameter curve and the positioning information when the vehicle leaves the target scene. The camera unit uses the more optimized exposure parameters to collect image data when the vehicle leaves the target scene, so that the camera unit can collect image data with a better dynamic range, and then use it for intelligent driving visual perception calculation to improve the reliability of intelligent driving.

[0051] Figure 1 This is a schematic diagram of the architecture of a visual perception system provided in an embodiment of the present application. Figure 1 As shown, the visual perception system 100 provided in the embodiment of the application includes: a camera unit 101, an image processing unit 102 and a processor unit 103.

[0052] The camera unit 101 is connected to the image processing unit 102 in communication, and the image processing unit 102 is connected to the processor unit 103 in communication. The camera unit 101 may include corresponding components with shooting functions, such as a camera, etc. The image processing unit 102 may include an image signal processing (ISP) module, which is a unit for processing the output signal of the image sensor, and can complete the effect processing of the digital image through a series of digital image processing algorithms, such as mainly including 3A, bad pixel correction, denoising, strong light suppression, backlight compensation, color enhancement, lens shading correction and other processing. In addition, the image processing unit 102 is also used to perform image exposure control on the camera unit 101, such as sending exposure parameters to the camera unit 101. The processor unit 103 has data processing capabilities, and can perform operations on the relevant data sent by the image processing unit 102 to obtain corresponding operation results so that the image processing unit 102 can implement image exposure control on the camera unit 101.

[0053] In actual working conditions, when the ambient brightness of the driving scene of the vehicle 200 changes, the amount of light entering the lens of the camera unit will change accordingly. However, when the ambient brightness changes significantly, the dimming capability of the camera unit itself can no longer accurately adjust the exposure parameters. Therefore, the visual perception system 100 provided in the embodiment of the present application is configured for the vehicle 200, so that when the vehicle 200 is in a driving scene with a significant change in ambient brightness, the camera unit 101 can obtain better target exposure parameters, so that it can collect image data with a better dynamic range.

[0054] For example, when the vehicle 101 enters the target scene, the image processing unit 102 sends the dynamic exposure parameters of the camera unit 101 to the processor unit 103, and the processor unit 103 generates an optimized exposure parameter curve according to the dynamic exposure parameters and the first positioning information of the vehicle 101, wherein the optimized exposure parameter curve includes a mapping relationship between the position parameter and the exposure parameter. In addition, when the difference in ambient brightness between the ambient brightness inside the target scene and the ambient brightness outside the target scene is greater than the preset brightness difference, it indicates that the target scene is a driving scene with significant changes in ambient brightness. Target scenes include caves, tunnels, etc. When the vehicle 200 enters a driving scene with weak ambient brightness from a driving scene with strong ambient brightness (for example, assuming that the ambient brightness in the target scene is weak, the driving scene is the driving into the target scene), there is a correlation between the change in the amount of light entering the lens of the camera unit 101 when the vehicle 200 enters a driving scene with strong ambient brightness from a driving scene with weak ambient brightness (the driving scene is the driving out of the target scene), and the image processing unit 102 will adjust the exposure parameters of the camera unit 101 according to the amount of light entering the lens, so the change in the amount of light entering the lens will be reflected in the exposure parameters. Therefore, based on the exposure parameters when entering the target scene, that is, the dynamic exposure parameters and the positioning information when entering the target scene, an optimized exposure parameter curve that can be used when driving out of the target scene can be obtained.

[0055] When the vehicle 200 exits the target scene, the processor unit 103 obtains the exposure parameter corresponding to the second positioning information on the optimized exposure parameter curve, that is, the target exposure parameter, based on the optimized exposure parameter curve and the positioning information of the vehicle 200 when it exits the target scene, that is, the second positioning information, and sends it to the image processor unit 102 to control the exposure of the camera unit 101 according to the target exposure parameter, so that the camera unit 101 collects image data according to the target exposure parameter when the vehicle exits the target scene.

[0056] Optionally, the visual perception system 100 may further include a positioning unit 104 for acquiring the first positioning information and the second positioning information. The positioning unit 104 is in communication with the processor unit 103 .

[0057] The visual perception system provided in the embodiment of the present application can intelligently adjust the exposure parameters of the camera unit without increasing the camera image transmission bandwidth, increasing the system cost, and adopting the HDR mode, so that the camera unit can capture images according to more optimized exposure parameters when the vehicle exits the target scene, which is used for the intelligent driving visual perception algorithm, thereby improving the reliability of intelligent visual perception.

[0058] It is worth noting that the system architecture of the visual perception system listed above is merely illustrative, and the exposure control method, visual perception system and device provided in the embodiments of the present application include but are not limited to application in the above system architecture.

[0059] Figure 2 A flow chart of an exposure control method provided in an embodiment of the present application, the method is applied to Figure 1 The visual perception system shown in Figure 1. Figure 2 As shown, the exposure control method provided in the embodiment of the present application includes:

[0060] S101: When a vehicle enters a target scene, the image processing unit sends the dynamic exposure parameters of the camera unit to the processor unit.

[0061] Correspondingly, the processor unit receives the dynamic exposure parameters sent by the image processing unit.

[0062] The difference in ambient brightness between the target scene and the outside of the target scene is greater than the preset brightness difference, that is, the brightness of the target scene and the outside of the target scene will change significantly. When the vehicle enters the target scene, the ambient brightness may change from bright to dark, and the amount of light entering the camera unit lens will change accordingly. The image processing unit will send the acquired dynamic exposure parameters of the camera unit to the processor unit, so that the processor unit can optimize the exposure parameter curve accordingly.

[0063] The dynamic exposure parameter is obtained by the image processing unit dynamically adjusting the initial exposure parameter according to the amount of light entering the lens of the camera unit before and after entering the target scene. For example, when entering the target scene, the ambient brightness may change from bright to dark, and the image processing unit may increase the initial exposure parameter by a preset range to obtain the dynamic exposure parameter.

[0064] S102: The processor unit generates an optimized exposure parameter curve according to the dynamic exposure parameter and the first positioning information of the vehicle.

[0065] After receiving the dynamic exposure parameters sent by the image processing unit, the processor unit generates an optimized exposure parameter curve according to the dynamic exposure parameters and the first positioning information of the vehicle, and the optimized exposure parameter curve matches the positioning information when the vehicle exits the target scene. The first positioning information indicates that the vehicle enters the target scene.

[0066] In some embodiments, the processor unit can perform an exposure parameter algorithm operation based on the dynamic exposure parameter and the first positioning information, such as using the dynamic exposure parameter and the first positioning information to construct a mapping relationship between the exposure parameter and the position parameter, and obtain a sequence of exposure parameters and position parameters that match each other, which is the generated optimized exposure parameter curve, that is, the optimized exposure parameter curve includes a mapping relationship between the exposure parameter and the position parameter, and the position parameter can refer to a specific position coordinate. In addition, since the amount of light entering the lens when entering the target scene and exiting the target scene is correlated, the optimized exposure parameter curve can match the positioning information when the vehicle exits the target scene, that is, the second positioning information.

[0067] S103: When the vehicle drives out of the target scene, the processor unit obtains the target exposure parameter according to the optimized exposure parameter curve and the second positioning information of the vehicle.

[0068] Since the optimized exposure parameter curve can match the positioning information of the vehicle when it exits the target scene, the processor unit can obtain the exposure parameters corresponding to the positioning information, that is, the target exposure parameters, based on the optimized exposure parameter curve according to the second positioning information of the vehicle, that is, the positioning information when the vehicle exits the target scene, to obtain the target exposure parameters.

[0069] For example, the processor unit obtains the exposure parameter corresponding to the target position indicated by the second positioning information on the optimized exposure curve according to the optimized exposure parameter curve, and determines the exposure parameter corresponding to the target position as the target exposure parameter. The second positioning information is used to characterize the vehicle exiting the target scene, such as including the position coordinates of the exit of the target scene, and the position coordinates of the exit of the target scene are used to characterize the target position.

[0070] S104: The processor unit sends the target exposure parameter to the image processing unit according to the second positioning information.

[0071] Correspondingly, the image processing unit receives the target exposure parameter sent by the processor unit according to the second positioning information.

[0072] The second positioning information is used to characterize that the vehicle drives out of the target scene. The processor unit can send the target exposure parameter to the image processing unit in real time according to the second positioning information, so that the image processing unit controls the exposure of the camera unit according to the target exposure parameter.

[0073] S105: The image processing unit performs exposure control on the camera unit according to the target exposure parameter.

[0074] The image processing unit receives the target exposure parameter, and sends the exposure parameter of the camera unit as the target exposure parameter, so as to implement exposure control on the camera unit according to the target exposure parameter.

[0075] S106: When the vehicle drives out of the target scene, the camera unit collects image data according to the target exposure parameter.

[0076] The camera unit receives the target exposure parameter and adjusts its current exposure parameter to the target exposure parameter, and collects image data using the target exposure parameter when the vehicle exits the target scene to obtain image data with a better dynamic range.

[0077] The exposure control method provided in the embodiment of the present application obtains an optimized exposure parameter curve according to the dynamic exposure parameters when the vehicle enters the target scene, and obtains the exposure parameters when the vehicle exits the target scene, that is, the target exposure parameters, according to the optimized exposure parameter curve and the positioning information when the vehicle exits the target scene. The camera unit uses the more optimized exposure parameters to collect image data when the vehicle exits the target scene, so that the camera unit can collect image data with a better dynamic range, and then use it for intelligent driving visual perception calculation to improve the reliability of intelligent driving.

[0078] exist Figure 2 On the basis of Figure 3 A flow chart of another exposure control method provided in an embodiment of the present application is shown as follows: Figure 3 As shown, the embodiment of the present application includes:

[0079] S201: The positioning unit obtains first current positioning information of the vehicle.

[0080] S202: The positioning unit determines whether the distance between the vehicle position indicated by the first current positioning information and the entrance of the target scene in the first direction is less than or equal to a first preset distance.

[0081] The first direction refers to the direction in which the vehicle approaches the entrance of the target scene.

[0082] The positioning unit can directly obtain the first current positioning information of the vehicle according to the navigation unit of the vehicle, or calculate the first current positioning information of the vehicle according to the vehicle speed and heading angle. The first current positioning information is used to characterize the position of the vehicle before entering the entrance of the target scene.

[0083] After the positioning unit obtains the first current positioning information, it determines whether the vehicle is about to enter the target scene based on the first current positioning information. For example, it is determined whether the distance between the vehicle position indicated by the first current positioning information and the entrance of the target scene in the first direction is less than or equal to the first preset distance. If so, it means that the vehicle is about to enter the target scene, and the positioning unit can obtain the first positioning information, that is, execute step S203. Otherwise, it continues to obtain the first current positioning information. Among them, the first direction refers to the direction of the vehicle approaching the entrance of the target scene.

[0084] S203: If yes, the positioning unit obtains first positioning information of the vehicle.

[0085] The way in which the positioning unit obtains the first positioning information of the vehicle is similar to the way in which it obtains the first current positioning information, which will not be described in detail here. The first positioning information is used to characterize the vehicle entering the target scene, such as the position coordinates of the entrance of the target scene.

[0086] S204: The positioning unit sends first positioning information to the processor unit.

[0087] Correspondingly, the processor unit receives the first positioning information sent by the positioning unit.

[0088] S205: When the vehicle enters the target scene, the image processing unit sends the dynamic exposure parameters of the camera unit to the processor unit.

[0089] S206: The processor unit generates an optimized exposure parameter curve according to the dynamic exposure parameter and the first positioning information of the vehicle.

[0090] The possible implementation methods, principles and technical effects of step S205 and step S206 are similar to the possible implementation methods, principles and technical effects of step S101 and step S102. For details, please refer to the above description and will not be repeated here.

[0091] S207: The positioning unit obtains second current positioning information of the vehicle.

[0092] S208: The positioning unit determines whether the distance between the vehicle position indicated by the second current positioning information and the exit of the target scene in the second direction is less than or equal to a second preset distance.

[0093] The positioning unit can directly obtain the second current positioning information of the vehicle based on the navigation unit of the vehicle, or calculate the second current positioning information of the vehicle based on the vehicle speed and heading angle. The second current positioning information is used to characterize the position of the vehicle before exiting the target scene.

[0094] After the positioning unit obtains the second current positioning information, it determines whether the vehicle is about to exit the target scene based on the second current positioning information. For example, it is determined whether the distance between the vehicle position indicated by the second current positioning information and the exit of the target scene in the second direction is less than or equal to the second preset distance. If so, it means that the vehicle is about to exit the target scene, and the positioning unit can obtain the second positioning information, that is, execute step S209. Otherwise, the second current positioning information is continued to be obtained. Among them, the second direction refers to the direction in which the vehicle approaches the exit of the target scene.

[0095] S209: If yes, the positioning unit obtains second positioning information of the vehicle.

[0096] The way in which the positioning unit obtains the second positioning information of the vehicle is similar to the way in which it obtains the second current positioning information, which will not be described in detail here. The second positioning information is used to characterize the position coordinates of the vehicle exiting the target scene, such as the exit of the target scene.

[0097] S2010: The positioning unit sends second positioning information to the processor unit.

[0098] Correspondingly, the processor unit receives the second positioning information sent by the positioning unit.

[0099] S2011: When the vehicle drives out of the target scene, the processor unit obtains the target exposure parameter according to the optimized exposure parameter curve and the second positioning information of the vehicle.

[0100] S2012: The processor unit sends the target exposure parameter to the image processing unit according to the second positioning information.

[0101] S2013: The image processing unit performs exposure control on the camera unit according to the target exposure parameter.

[0102] S2014: When the vehicle drives out of the target scene, the camera unit collects image data according to the target exposure parameter.

[0103] The possible implementation methods, principles and technical effects of steps S2011, S2012, S2013 and step S2014 are similar to the possible implementation methods, principles and technical effects of steps S103 to S106. For details, please refer to the above description and will not be repeated here.

[0104] S2015: The camera unit sends the image data to the image processing unit for image processing.

[0105] S2016: The image processing unit sends the processed image data to the intelligent driving system of the vehicle.

[0106] The camera unit sends the image data obtained according to the target exposure parameters to the image processing unit for image processing. The image processing includes but is not limited to image noise reduction, format conversion and other processing. The image data after image processing is then sent to the downstream intelligent driving system, such as the intelligent driving algorithm module, so that it controls the intelligent driving according to the image data after image processing.

[0107] Optionally, in order to improve the intelligence of the exposure control method, the exposure control method provided in the embodiment of the present application further includes the following steps:

[0108] S2017: The positioning unit obtains third current positioning information of the vehicle.

[0109] The positioning unit can directly obtain the third current positioning information of the vehicle according to the navigation unit of the vehicle, or calculate the third current positioning information of the vehicle according to the vehicle speed and heading angle. The third current positioning information is used to characterize the position of the vehicle after it exits the exit of the target scene.

[0110] S2018: The positioning unit determines whether the distance between the vehicle position indicated by the third current positioning information and the exit of the target scene in the third direction is greater than or equal to a third preset distance.

[0111] After the positioning unit obtains the third current positioning information, it determines whether the vehicle has traveled a certain distance out of the target scene based on the third current positioning information. For example, it determines whether the distance between the vehicle position indicated by the third current positioning information and the exit of the target scene in the third direction is greater than or equal to the third preset distance. If so, it means that the vehicle has traveled a certain distance out of the target scene, and the positioning unit can generate exposure control end information, that is, execute step S2019. Otherwise, the third current positioning information is continued to be obtained. Among them, the third direction refers to the direction in which the vehicle is away from the exit of the target scene.

[0112] S2019: If yes, the positioning unit generates exposure control end information.

[0113] S2020: The positioning unit sends exposure control end information to the processor unit to terminate the exposure control method.

[0114] The positioning unit sends exposure control end information to the processor unit, so that the processor unit no longer generates the optimized exposure parameter curve and obtains the target exposure parameter, and ends the exposure control method currently performed in the target scene.

[0115] The exposure control method provided in the embodiment of the present application can be applied to the visual perception system of the vehicle provided in the above embodiment, and the dynamic optimization of the exposure parameters when the vehicle is driving in the target scene is realized through the interaction between the camera unit, the image processing unit, the processor unit and the positioning unit included in the visual perception system, so that the camera unit can intelligently optimize the exposure parameters when driving out of the target scene based on the exposure parameters when driving into the target scene, and then the camera unit can collect image data according to more optimized exposure parameters, thereby overcoming the camera unit's insufficient dimming ability for the target scene with significant lighting changes. The image data collected by the optimized exposure parameters is used in the intelligent driving visual perception algorithm, thereby improving the reliability of intelligent visual perception.

[0116] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 4 As shown, the electronic device 400 may include: a processor 401 , and a memory 402 communicatively connected to the processor 401 .

[0117] The memory 402 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer-executable instructions.

[0118] The memory 402 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.

[0119] The processor 401 is used to execute the computer-executable instructions stored in the memory 402 to implement the exposure control method on the camera unit side in the above embodiment.

[0120] The processor 401 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.

[0121] Optionally, the memory 402 may be independent or integrated with the processor 401. When the memory 402 is a device independent of the processor 401, the electronic device 400 may further include:

[0122] The bus 403 is used to connect the processor 401 and the memory 402. 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., but it does not mean that there is only one bus or one type of bus.

[0123] Optionally, in a specific implementation, if the memory 402 and the processor 401 are integrated on a chip, the memory 402 and the processor 401 can communicate through an internal interface.

[0124] Figure 5 This is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application. Figure 5 As shown, the electronic device 500 may include: a processor 501 , and a memory 502 communicatively connected to the processor 501 .

[0125] The memory 502 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer-executable instructions.

[0126] The memory 502 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.

[0127] The processor 501 is used to execute the computer-executable instructions stored in the memory 502 to implement the exposure control method on the image processing unit side in the above embodiment.

[0128] The processor 501 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.

[0129] Optionally, the memory 502 may be independent or integrated with the processor 501. When the memory 502 is a device independent of the processor 501, the electronic device 500 may further include:

[0130] The bus 503 is used to connect the processor 501 and the memory 502. 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., but it does not mean that there is only one bus or one type of bus.

[0131] Optionally, in a specific implementation, if the memory 502 and the processor 501 are integrated on a chip, the memory 502 and the processor 501 can communicate through an internal interface.

[0132] Figure 6 This is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device 600 may include: a processor 601 , and a memory 602 communicatively connected to the processor 601 .

[0133] The memory 602 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer-executable instructions.

[0134] The memory 602 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.

[0135] The processor 601 is used to execute the computer-executable instructions stored in the memory 602 to implement the exposure control method on the processor unit side in the above embodiment.

[0136] The processor 601 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.

[0137] Optionally, the memory 602 may be independent or integrated with the processor 601. When the memory 602 is a device independent of the processor 601, the electronic device 600 may further include:

[0138] The bus 603 is used to connect the processor 601 and the memory 602. 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., but it does not mean that there is only one bus or one type of bus.

[0139] Optionally, in a specific implementation, if the memory 602 and the processor 601 are integrated on a chip, the memory 602 and the processor 601 can communicate through an internal interface.

[0140] Figure 7 This is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device 700 may include: a processor 701 , and a memory 702 communicatively connected to the processor 701 .

[0141] The memory 702 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer-executable instructions.

[0142] The memory 702 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.

[0143] The processor 701 is used to execute the computer-executable instructions stored in the memory 702 to implement the exposure control method on the positioning unit side in the above embodiment.

[0144] The processor 701 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.

[0145] Optionally, the memory 702 may be independent or integrated with the processor 701. When the memory 702 is a device independent of the processor 701, the electronic device 700 may further include:

[0146] The bus 703 is used to connect the processor 701 and the memory 702. 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., but it does not mean that there is only one bus or one type of bus.

[0147] Optionally, in a specific implementation, if the memory 702 and the processor 701 are integrated on a chip, the memory 702 and the processor 701 can communicate through an internal interface.

[0148] The present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores computer execution instructions, and the computer execution instructions are used for the methods in the above embodiments.

[0149] The present application also provides a computer program product, including computer execution instructions, which implement the method in the above embodiment when executed by a processor.

[0150] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.

[0151] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. An exposure control method, It is characterized in that A visual perception system applied to a vehicle, the visual perception system comprising a camera unit, an image processing unit and a processor unit; the method comprising: When the vehicle enters the target scene, the image processing unit sends the dynamic exposure parameters of the camera unit to the processor unit, and the processor unit generates an optimized exposure parameter curve according to the dynamic exposure parameters and the first positioning information of the vehicle; the optimized exposure parameter curve includes a mapping relationship between exposure parameters and position parameters; When the vehicle drives out of the target scene, the processor unit obtains a target exposure parameter according to the optimized exposure parameter curve and the second positioning information of the vehicle, and a difference in ambient brightness between inside the target scene and outside the target scene is greater than a preset brightness difference; The processor unit sends the target exposure parameter to the image processing unit according to the second positioning information, the image processing unit performs exposure control on the camera unit according to the target exposure parameter, and the camera unit collects image data according to the target exposure parameter when the vehicle drives out of the target scene; The processor unit generates the optimized exposure parameter curve according to the dynamic exposure parameter and the first positioning information of the vehicle, including: The processor unit performs an exposure parameter algorithm operation according to the dynamic exposure parameter and the first positioning information to generate the optimized exposure parameter curve; The processor unit performs an exposure parameter algorithm operation according to the dynamic exposure parameter and the first positioning information to generate the optimized exposure parameter curve, including: The processor unit uses the dynamic exposure parameters and the first positioning information to construct a mapping relationship between exposure parameters and position parameters, and obtains a sequence of matching the exposure parameters and the position parameters, wherein the sequence is the generated optimized exposure parameter curve; wherein the optimized exposure parameter curve is also used to match the second positioning information when the vehicle exits the target scene.

2. The exposure control method according to claim 1, It is characterized in that The visual perception system further includes a positioning unit, and before the processor unit generates the optimized exposure parameter curve according to the dynamic exposure parameter and the first positioning information of the vehicle, further includes: The positioning unit acquires first current positioning information of the vehicle, and determines whether a distance between a vehicle position indicated by the first current positioning information and an entrance of the target scene in a first direction is less than or equal to a first preset distance, wherein the first direction refers to a direction in which the vehicle approaches the entrance of the target scene; If so, the positioning unit acquires first positioning information of the vehicle and sends the first positioning information to the processor unit, where the first positioning information indicates that the vehicle has entered the target scene.

3. The exposure control method according to claim 2, It is characterized in that Before the processor unit acquires the target exposure parameter according to the optimized exposure parameter curve and the second positioning information of the vehicle, the method further includes: The positioning unit acquires second current positioning information of the vehicle, and determines whether a distance between a vehicle position indicated by the second current positioning information and an exit of the target scene in a second direction is less than or equal to a second preset distance, wherein the second direction refers to a direction in which the vehicle approaches the exit of the target scene; If so, the positioning unit obtains second positioning information of the vehicle and sends the second positioning information to the processor unit, where the second positioning information indicates that the vehicle has left the target scene.

4. The exposure control method according to claim 3, It is characterized in that Also includes: The positioning unit obtains third current positioning information of the vehicle, and determines whether the distance between the vehicle position indicated by the third current positioning information and the exit of the target scene in a third direction is greater than or equal to a third preset distance, wherein the third direction refers to the direction in which the vehicle is away from the exit of the target scene; If so, the positioning unit sends exposure control end information to the processor unit to terminate the exposure control method.

5. The exposure control method according to any one of claims 2 to 4, It is characterized in that Before the image processing unit sends the dynamic exposure parameter of the camera unit to the processor unit, the method further includes: The image processing unit adjusts the initial exposure parameter according to the amount of light entering the lens of the camera unit to obtain the dynamic exposure parameter.

6. The exposure control method according to claim 1, It is characterized in that The processor unit acquires the target exposure parameter according to the optimized exposure parameter curve and the second positioning information of the vehicle, including: The processor unit obtains the exposure parameter corresponding to the target position according to the optimized exposure parameter curve, and determines the exposure parameter corresponding to the target position as the target exposure parameter; Wherein, the target position is obtained according to the second positioning information.

7. The exposure control method according to claim 1, It is characterized in that Also includes: The camera unit sends the image data to the image processing unit for image processing, and the image processing unit sends the processed image data to the intelligent driving system of the vehicle.

8. The exposure control method according to claim 1, It is characterized in that The target scene includes a cave or a tunnel.

9. A vehicle visual perception system, It is characterized in that include: Camera unit, image processing unit and processor unit; When the vehicle enters the target scene, the image processing unit is used to send the dynamic exposure parameters of the camera unit to the processor unit, and the processor unit is used to generate an optimized exposure parameter curve according to the dynamic exposure parameters and the first positioning information of the vehicle; When the vehicle drives out of the target scene, the processor unit is used to obtain a target exposure parameter according to the optimized exposure parameter curve and the second positioning information of the vehicle, and the difference in ambient brightness between the inside of the target scene and the outside of the target scene is greater than a preset brightness difference; The processor unit is further used to send the target exposure parameter to the image processing unit, and the image processing unit is further used to perform exposure control on the camera unit according to the target exposure parameter. When the vehicle drives out of the target scene, the camera unit is used to collect image data according to the target exposure parameter; When generating an optimized exposure parameter curve according to the dynamic exposure parameter and the first positioning information of the vehicle, the processor unit is specifically used to perform an exposure parameter algorithm operation according to the dynamic exposure parameter and the first positioning information to generate the optimized exposure parameter curve, wherein the optimized exposure parameter curve includes a mapping relationship between exposure parameters and position parameters; When performing an exposure parameter algorithm operation according to the dynamic exposure parameter and the first positioning information to generate the optimized exposure parameter curve, the processor unit is specifically used to construct a mapping relationship between exposure parameters and position parameters using the dynamic exposure parameters and the first positioning information to obtain a sequence of matching the exposure parameters and the position parameters, wherein the sequence is the generated optimized exposure parameter curve; wherein the optimized exposure parameter curve is also used to match the second positioning information when the vehicle exits the target scene.

10. An electronic device, It is characterized in that include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the exposure control method according to any one of claims 1 to 8.

11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the exposure control method according to any one of claims 1 to 8.

12. A computer program product, comprising computer executable instructions, which are used to implement the exposure control method according to any one of claims 1 to 8 when executed by a processor.

Citation Information

Patent Citations

  • Camera adjustment method and related equipment

    CN109246364A

  • Image processing method and apparatus of vehicle-mounted camera, and vehicle

    CN109309792A

  • Method and device for adjusting exposure parameters of vehicle-mounted camera based on positioning information

    CN113689505A

  • Exposure parameter adjustment method and device, storage medium and electronic equipment

    CN115037883A

  • improved method of capturing a scene, especially in a critical exposure situation

    DE102015216993A1