A multi-camera imaging consistency processing method and device, vehicle and storage medium
By merging and unifying the processing of multi-camera images, using panoramic stitching and frame synchronization signals, and dynamically adjusting the brightness weight, the problems of computational resource consumption and parameter adjustment of multi-camera image sensors are solved, achieving image consistency and efficient processing.
Patent Information
- Application Number
- CN202310289965.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-16
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-03-16
AI Technical Summary
In existing autonomous driving technologies, image processing using multi-camera image sensors suffers from high computational resource consumption and difficulty in achieving balanced parameter adjustments, leading to inconsistencies in image brightness or color.
By merging multiple camera images and processing them uniformly using a single image signal processor, panoramic stitching and frame synchronization signals are employed to ensure image consistency, and brightness statistical weights and exposure parameters are dynamically adjusted.
It achieves brightness and color consistency in multi-camera images, avoids overexposure or underexposure, and improves image quality and computational efficiency.
Smart Images

Figure CN116542866B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of image processing, and in particular to a method, apparatus, vehicle, and storage medium for processing consistent multi-camera imaging. Background Technology
[0002] With the continuous increase in car users, the problems of traffic congestion and safety accidents on highways are becoming more and more serious. Autonomous driving has emerged as a result. It relies on computer and artificial intelligence technology to complete a complete, safe and efficient driving process without human intervention. It can also collect information about the car's surroundings through environmental perception, providing more realistic and reliable road condition information for autonomous vehicles.
[0003] In existing autonomous driving technologies, panoramic monitoring systems process and output image data from multiple camera image sensors, but they have the following significant shortcomings:
[0004] 1) The images from the image sensors in a multi-channel camera are processed separately, and the brightness or color is balanced using the image output from the image signal processor. However, this approach has a limited range of adjustable parameters and consumes a large amount of computer computing resources.
[0005] 2) The images from the image sensors in a multi-camera system are processed individually, and the calculation results are equalized before the parameters are adjusted. However, due to the large number of parameters in the image processor, this approach is difficult to equalize the parameters of all image processors.
[0006] Therefore, finding a processing method that can uniformly process images from image sensors in multiple cameras while ensuring consistency in brightness or color of the processed images is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0007] The purpose of this invention is to provide a processing scheme that can uniformly process images from multiple cameras, maintain the consistency of image brightness or color, and ensure that the brightness of the region of interest in the image is optimal, without overexposure or underexposure.
[0008] To achieve the above objectives, the present invention provides a multi-camera imaging consistency processing method, comprising:
[0009] n first images are captured by n cameras, where the n cameras correspond to n different directions, and n is a natural number that is not zero;
[0010] The n first images are merged to obtain the first stitched image;
[0011] The first stitched image is sent to an image signal processor for image processing to obtain a first processed image;
[0012] The first processed image is split to obtain n second images;
[0013] The n second images are stitched together using a panoramic stitching method to obtain the second processed image.
[0014] In one embodiment of the present invention, the processing method further includes sending a frame synchronization signal to the n cameras, the frame synchronization signal being used to cause the n cameras to synchronously trigger image output.
[0015] In one embodiment of the present invention, the step of merging the n first images includes merging them according to the width or height of the n first images.
[0016] In one embodiment of the present invention, the image signal processor performs image processing including:
[0017] The target brightness value and the different first brightness statistical weights of the n cameras are set according to the usage environment;
[0018] The first stitched image of the current frame is divided into at least two regions of interest, and different second brightness statistical weights are assigned to the at least two regions of interest.
[0019] The actual brightness value of the first stitched image is calculated based on the first brightness weight and the second brightness weight.
[0020] The actual brightness value is compared with the target brightness value to determine if they are consistent. If they are inconsistent, the brightness value of the next frame image is adjusted.
[0021] In one embodiment of the present invention, adjusting the brightness value of the next frame image includes:
[0022] Calculate the exposure time and exposure gain parameters for the current frame;
[0023] When processing the first stitched image of the next frame, the exposure time and exposure gain parameters of the next frame are adjusted according to the exposure time and exposure gain parameters of the current frame, and the image processing is repeated.
[0024] In one embodiment of the present invention, the different first brightness statistical weights of the n cameras specifically include:
[0025] Determine the vehicle's direction of travel;
[0026] Calculate the angles between the n cameras and the driving direction;
[0027] Different first brightness statistical weights are assigned to the n cameras based on the size of the included angle.
[0028] In one embodiment of the present invention, the different first brightness statistical weights of the n cameras specifically further include:
[0029] Detect the distance between the vehicle and the obstacle;
[0030] Calculate the distances between the n cameras and the obstacles;
[0031] Different first brightness statistical weights are assigned to the n cameras based on the distance between the cameras and the obstacles.
[0032] This application also provides a multi-camera imaging consistency processing device, including:
[0033] A camera is used to capture n first images of the vehicle, the n cameras corresponding to n different directions, where n is a non-zero natural number;
[0034] A merging unit is used to merge n first images to obtain a first stitched image. The merging step includes merging according to the width or height of the n first images.
[0035] An image signal processor is used to perform image processing on the first stitched image to obtain a first processed image;
[0036] The splitting unit is used to split the first processed image into n second images;
[0037] The stitching unit is used to stitch the n second images together using a panoramic stitching method to obtain a second processed image.
[0038] This application also provides a vehicle, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the multi-camera imaging consistency processing method as described in any of the preceding claims.
[0039] This application also provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the steps of the multi-camera imaging consistency processing method as described in any of the preceding claims.
[0040] Compared with the prior art, this application has the following beneficial effects:
[0041] This application merges images captured by multiple cameras, processes them using an image signal processor to obtain a first processed image, then splits the first processed image and stitches them together using a panoramic stitching method. This ensures consistent brightness and color, achieving optimal image quality. By dynamically setting different brightness statistical weights in the image signal processor according to different usage scenarios, the brightness of the region of interest is optimized.
[0042] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures pointed out in the description, claims and drawings. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 This is a flowchart illustrating a multi-camera imaging consistency processing method according to an embodiment of the present invention. Figure 1 ;
[0045] Figure 2 This is a flowchart illustrating a multi-camera imaging consistency processing method according to an embodiment of the present invention. Figure 2 ;
[0046] Figure 3 This is a schematic diagram of the structure of a multi-camera imaging consistency processing device according to an embodiment of the present invention. Detailed Implementation
[0047] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings, but it should be understood that the scope of protection of the present invention is not limited to the specific embodiments.
[0048] Unless otherwise expressly stated, throughout the specification and claims, the term "comprising" or its variations such as "including" or "comprises" shall be understood to include the stated elements or components without excluding other elements or other components.
[0049] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. The terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, unless otherwise explicitly specified and limited, the terms "installed," "connected," and "linked" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0050] like Figure 1 As shown, this application provides a multi-camera imaging consistency processing method, including the following steps:
[0051] n first images are captured by n cameras, where the n cameras correspond to n different directions, and n is a natural number that is not zero;
[0052] The n first images are merged to obtain the first stitched image;
[0053] The first stitched image is sent to an image signal processor for image processing to obtain a first processed image;
[0054] The first processed image is split to obtain n second images;
[0055] The n second images are stitched together using a panoramic stitching method to obtain the second processed image.
[0056] This application acquires n first images using image sensors in n cameras, merges the n first images, and the merging process includes merging the n first images according to their width or height, sending the merged first stitched image to an image signal processor for image processing, splitting the processed first image into n second images, and stitching the n second images together using a panoramic stitching method to obtain a second processed image.
[0057] In one embodiment of this application, when n is 4, images are acquired using 4-channel sensors (image sensors), and the 4 camera images are stitched together into 1 image. The 4 first images are merged, which can be merged into a 4W×H (i.e., 4 times the width, 1 times the height) first stitched image, or into a W×4H (i.e., 1 times the width, 4 times the height) first stitched image, or into other forms, such as 2W×2H (i.e., 2 times the width, 2 times the height). This application does not impose specific limitations on the merging method; it is sufficient to simply merge n first images to form the first stitched image.
[0058] like Figure 2 As shown, preferably, when n is 4, camera 1, camera 2, camera 3 and camera 4 are used to represent different cameras, and the first images acquired are image 1, image 2, image 3 and image 4 respectively. When the four first images are stitched together, the first stitched image is stitched into a 4W×H (i.e., 4 times the width and 1 times the height) image. Image 1 belongs to camera 1, image 2 belongs to camera 2, image 3 belongs to camera 3 and image 4 belongs to camera 4. Then, when processing the stitched image, each camera can be distinguished so as to perform different brightness control.
[0059] In one embodiment of this application, when n is 4, camera 1, camera 2, camera 3 and camera 4 are used to represent different cameras, and the first images acquired are image 1, image 2, image 3 and image 4, respectively. When the four first images are stitched together, the first stitched image is stitched into an image of W×4H (i.e., 1 times the width and 4 times the height). That is, the first row of image 1 belongs to camera 1, the second row of image 2 belongs to camera 2, the third row of image 3 belongs to camera 3, and the fourth row of image 4 belongs to camera 4. Since the first row of images of each camera is alternating, when splitting the stitched image, different regions cannot be split, and the brightness of each camera needs to be controlled separately.
[0060] The merged first stitched image is processed by an image signal processor. By setting the parameters of an image signal processor, the images acquired by the four image sensors are processed simultaneously to maintain the brightness or color consistency of the images. The first processed image is obtained and then split into four second images. The four second images are stitched together using a panoramic stitching method to obtain the stitched second processed image, which is then output.
[0061] As will be understood by those skilled in the art, the first processed image can be segmented using either hardware or software logic. This involves storing the image data acquired by the image sensor in memory first, and then retrieving the data from memory. Preferably, since segmenting the first processed image using software logic requires storing the image data in DDR memory (Double Data Rate SDRAM), which affects memory write and read operations and leads to excessive image processing latency, hardware logic segmentation of the first processed image offers faster processing speeds and a fixed latency.
[0062] Specifically, when n is 4, camera 1, camera 2, camera 3 and camera 4 represent different cameras, and the first images acquired are image 1, image 2, image 3 and image 4 respectively. When the four first images are stitched together, the first stitched image is stitched into a 4W×H (i.e., 4 times the width and 1 times the height) image. When the hardware logic is used to split the first processed image, the image of the first row, i.e., image a, is output to the first channel, the image of the second row, i.e., image b, is output to the second channel, the image of the third row, i.e. image c, is output to the third channel, and the image of the fourth row, i.e. image d, is output to the fourth channel, which can effectively improve the efficiency of splitting.
[0063] The process involves using hardware logic to split the first-stage image and then outputting the split images to the next-level hardware module for panoramic stitching via direct hardware connection. This hardware module could be a Dewarp distortion correction module or a stitch module. During panoramic stitching, the hardware module performs the stitching, and can simultaneously input images from multiple cameras, stitch them together, and output the stitched image.
[0064] As will be understood by those skilled in the art, an image signal processor can perform various image processing operations, such as black level correction, lens shading correction, bad pixel correction, color interpolation, noise reduction, automatic white balance, color correction, gamma correction, color space conversion, high dynamic range, noise reduction and sharpening, automatic exposure, and autofocus. By processing the acquired first image with an image signal processor, the image quality can be effectively improved, and the image effect can be optimized.
[0065] The panoramic stitching method includes using the AVM (Around View Monitor) algorithm. When the vehicle has only four cameras—a front camera, a rear camera, a left camera, and a right camera—the stitching method specifically includes:
[0066] Obtain the intrinsic parameter matrix and distortion coefficients for each camera, and then use the checkerboard calibration method to calibrate the distortion.
[0067] Obtain the projection matrix from each camera to the ground, and convert the camera-corrected image into a bird's-eye view of a rectangular area on the ground through joint calibration;
[0068] Projection transformation is the process of using multiple cameras to capture images of the same plane from different poses using a projection model from the calibration plate plane to the image plane, thereby generating multiple images.
[0069] Multiple images are stitched together and smoothed to obtain the second processed image.
[0070] In a further embodiment of this application, the processing method further includes sending frame synchronization signals to the n cameras, the frame synchronization signals being used to enable the n cameras to synchronously trigger image output. Simultaneously, the parameters of the n cameras need to be configured at the same time to ensure that the image sensors of the n cameras can be active at the same moment. Specifically, the camera parameters include exposure time, exposure gain, white balance parameters, etc.
[0071] Understandably, synchronizing the image output from n cameras ensures consistent output time and avoids the need to wait when merging the n initial images. Each camera's image sensor has a trigger signal pin. When the signal level changes from low to high, the rising edge triggers the sensor to generate a frame. For example, if the sensor's frame rate is 30fps, the rising edge trigger signal is also 30Hz. By synchronizing the sensor's rising edge, it is ensured that the n cameras can simultaneously trigger image output.
[0072] In the automotive field, cameras need to interface with serializers for remote image transmission. On the other end (domain controller), a deserializer is needed to receive the images and send them to the image signal processor. The deserializer has an I2C broadcast function, and one I2C command can be sent to multiple serializers. That is, one processing unit can send an I2C parameter setting command to set the parameters of the image sensors in multiple cameras at the same time.
[0073] In one embodiment of this application, when a vehicle has only four cameras, namely a front camera, a rear camera, a left camera, and a right camera, and a large red truck passes by on one side of the vehicle, the white balance of the cameras is affected by the large area of solid color, and the colors of the four cameras are not the same. The images captured by the four cameras are stitched together and then processed by an image signal processor, that is, the same image sensor parameters are used, which can effectively prevent the inconsistency of image processing of each camera and ensure the consistency of color or brightness of the image.
[0074] In a further embodiment of this application, the image signal processor performs image processing including:
[0075] The target brightness value and the different first brightness statistical weights of the n cameras are set according to the usage environment;
[0076] The first stitched image of the current frame is divided into at least two regions of interest, and different second brightness statistical weights are assigned to the at least two regions of interest.
[0077] The actual brightness value of the first stitched image is calculated based on the first brightness weight and the second brightness weight.
[0078] The actual brightness value is compared with the target brightness value to determine if they are consistent. If they are inconsistent, the brightness value of the next frame image is adjusted.
[0079] Furthermore, adjusting the brightness value of the next frame image includes:
[0080] Calculate the exposure time and exposure gain parameters for the current frame;
[0081] When processing the first stitched image of the next frame, the exposure time and exposure gain parameters of the next frame are adjusted according to the exposure time and exposure gain parameters of the current frame, and the image processing is repeated.
[0082] In this embodiment, the first stitched image is divided into X×Y blocks, that is, the automatic exposure static statistics are divided into X×Y regions. The second brightness weight of each region can be changed by setting a weight table. For example, the second brightness weight of the central region of the image can be increased. The brightness change in the central region will cause more changes in the global histogram statistics of the image. Therefore, the exposure weight of the region of interest in the image can be adjusted by this attribute to achieve backlight compensation in the specified region. If the location of the region of interest for a specific product form can be determined, the weight of these locations can be increased. For example, for a vehicle dashcam, the region of interest is generally in the lower middle part of the sensor-collected image. Therefore, the weight of the lower middle part of the image can be appropriately increased during image processing to ensure that the region of interest is properly exposed. The weight table can be set according to actual needs, and this application does not impose specific restrictions on the setting of the weight table.
[0083] Specifically, if the width W = 1920, the height H = 1080, X = 10, and Y = 10 of the first stitched image, that is, if the first image is divided into 10×10 partitions, then the size of each partition after splitting is 192×108. Among them, X×Y are fixed values of the image signal processor chip.
[0084] In one embodiment of this application, when images are acquired using four cameras, each camera has a different first brightness weight, namely C1, C2, C3, and C4. The first stitched image is divided into 2×2 blocks, dividing the first stitched image into two regions of interest, such as the ground and the sky. The second brightness weight Q1 of the ground and the second brightness weight Q2 of the sky are different. Therefore, the first stitched image is divided into eight partitions, represented by S1, S2, S3, S4, S5, S6, S7, and S8. The formula for calculating the actual brightness value L1 of the first stitched image is as follows:
[0085] L1=C1×(S1×Q1+S2×Q2)+C2×(S3×Q1+S4×Q2)+C3×(S5×Q1+S6×Q2)+C4×(S7×Q1+S8×Q2)
[0086] The actual brightness value L1 of the first stitched image is compared with the target brightness value L2. If they are different, it means that the image captured in the current frame is underexposed or overexposed after image processing. In order to ensure that the image of the next frame is not affected, the difference between the exposure time and exposure gain of the first stitched image of the current frame and the exposure time and exposure gain of the target brightness are calculated. When processing the next frame image, the exposure time and exposure gain parameters are adjusted in time according to the difference so that the brightness of the region of interest is as close as possible to the target brightness value, so that the image effect is the best.
[0087] As one embodiment of this application, the different first brightness statistical weights of the n cameras specifically include:
[0088] Determine the vehicle's direction of travel;
[0089] Calculate the angles between the n cameras and the driving direction;
[0090] Different first brightness statistical weights are assigned to the n cameras based on the size of the included angle.
[0091] Understandably, if a vehicle has only four cameras—a front camera, a rear camera, a left camera, and a right camera—when the vehicle is reversing, the angle between the rear camera and the vehicle's direction of travel is the smallest. Therefore, when calculating the actual brightness of the first stitched image, the first brightness statistical weight of the image region corresponding to the rear camera is greater than the first brightness statistical weight of the image regions corresponding to the other cameras.
[0092] As one embodiment of this application, the different first brightness statistical weights of the n cameras specifically include:
[0093] Detect the distance between the vehicle and the obstacle;
[0094] Calculate the distances between the n cameras and the obstacles;
[0095] Different first brightness statistical weights are assigned to the n cameras based on the distance between the cameras and the obstacles.
[0096] Understandably, different brightness statistical weights are set based on the distance between the vehicle and the obstacle. For example, when the vehicle has only four cameras—a front camera, a rear camera, a left camera, and a right camera—when an ultrasonic or millimeter-wave sensor detects an obstacle near the vehicle, the distance between each of the four cameras and the obstacle is calculated. If the left camera is closest to the obstacle, then when calculating the actual brightness of the first stitched image, the first brightness statistical weight of the image area corresponding to the left camera is greater than the first brightness statistical weight of the image areas corresponding to the other cameras.
[0097] like Figure 3 As shown, this application also provides a multi-camera imaging consistency processing device, including a camera, a merging unit, an image signal processor, a splitting unit, and a stitching unit.
[0098] A camera is used to capture n first images of the vehicle. The n cameras correspond to n different directions, where n is a non-zero natural number.
[0099] A merging unit is used to merge n first images to obtain a first stitched image. The merging step includes merging according to the width or height of the n first images.
[0100] An image signal processor is used to perform image processing on the first stitched image to obtain a first processed image;
[0101] The splitting unit is used to split the first processed image into n second images;
[0102] The stitching unit is used to stitch the n second images together using a panoramic stitching method to obtain a second processed image.
[0103] Specifically, the camera acquires a first image through an image sensor, and then performs a simple merging of the first image to form a first stitched image. This image merging can be performed in the camera's deserializer or in the image signal processor. A single image signal processor processes images from multiple cameras simultaneously, maintaining consistency in image brightness or color to ensure uniform image stitching. During image processing, different brightness statistical weights are set according to different usage environments to optimize the brightness of the region of interest, ensuring image quality and preventing overexposure or underexposure. Hardware logic and / or software logic are used to decompose the processed first image, and then a panoramic stitching method is used to stitch them together to obtain multi-camera images with consistent brightness or color, and the resulting panoramic stitched image is output.
[0104] This application also provides a vehicle, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the multi-camera imaging consistency processing method as described in any of the preceding claims.
[0105] This application also provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the steps of the multi-camera imaging consistency processing method as described in any of the preceding claims.
[0106] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0107] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0108] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0109] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1The steps of the function specified in one or more boxes.
[0110] The foregoing description of specific exemplary embodiments of the invention is for illustrative and explanatory purposes. These descriptions are not intended to limit the invention to the precise forms disclosed, and it will be apparent that many changes and variations can be made in accordance with the foregoing teachings. The exemplary embodiments were chosen and described in order to explain the specific principles of the invention and its practical application, thereby enabling those skilled in the art to implement and utilize various different exemplary embodiments of the invention, as well as various different choices and variations. The scope of the invention is intended to be defined by the claims and their equivalents.
Claims
1. A method for processing consistency in multi-camera imaging, characterized in that, include: n first images are captured by n cameras, where the n cameras correspond to n different directions, and n is a natural number that is not zero; A frame synchronization signal is sent to the n cameras, which is used to enable the n cameras to trigger image output synchronously; at the same time, an I2C parameter setting command is sent through a processing unit to set the parameters of the image sensors in multiple cameras. The first stitched image is obtained by merging the n first images based on their width or height. The first stitched image is sent to an image signal processor for image processing to obtain a first processed image; when the image signal processor processes the first stitched image, the same image signal processor parameters are set to process n first images simultaneously; The first processed image is split into n second images; the splitting process is performed using hardware logic, and the split images are output to the next level hardware module through direct hardware connection; The n second images are stitched together using a panoramic stitching method to obtain the second processed image.
2. The multi-camera imaging consistency processing method as described in claim 1, characterized in that, The image signal processor performs image processing including: The target brightness value and the different first brightness statistical weights of the n cameras are set according to the usage environment; The first stitched image of the current frame is divided into at least two regions of interest, and different second brightness statistical weights are assigned to the at least two regions of interest. The actual brightness value of the first stitched image is calculated based on the first brightness weight and the second brightness weight. The actual brightness value is compared with the target brightness value to determine if they are consistent. If they are inconsistent, the brightness value of the next frame image is adjusted.
3. The multi-camera imaging consistency processing method as described in claim 2, characterized in that, The adjustment of the brightness value of the next frame image includes: Calculate the exposure time and exposure gain parameters for the current frame; When processing the first stitched image of the next frame, the exposure time and exposure gain parameters of the next frame are adjusted according to the exposure time and exposure gain parameters of the current frame, and the image processing is repeated.
4. The multi-camera imaging consistency processing method as described in claim 2, characterized in that, The different first brightness statistical weights of the n cameras specifically include: Determine the vehicle's direction of travel; Calculate the angles between the n cameras and the driving direction; Different first brightness statistical weights are assigned to the n cameras based on the size of the included angle.
5. The multi-camera imaging consistency processing method as described in claim 2, characterized in that, The different first brightness statistical weights for the n cameras specifically include: Detect the distance between the vehicle and the obstacle; Calculate the distances between the n cameras and the obstacles; Different first brightness statistical weights are assigned to the n cameras based on the distance between the cameras and the obstacles.
6. A multi-camera imaging consistency processing device, characterized in that, include: A camera is used to acquire n first images of the vehicle, the n cameras corresponding to n different directions, where n is a non-zero natural number; a frame synchronization signal is sent to the n cameras, the frame synchronization signal is used to cause the n cameras to trigger image output synchronously; at the same time, an I2C parameter setting command is sent through a processing unit to set the parameters of the image sensors in multiple cameras simultaneously; A merging unit is used to merge n first images according to their width or height to obtain a first stitched image. The merging step includes merging the n first images according to their width or height. An image signal processor is used to perform image processing on the first stitched image to obtain a first processed image; when the image signal processor processes the first stitched image, it sets the same image signal processor parameters to process n first images simultaneously. The splitting unit is used to split the first processed image into n second images; the splitting process is performed by hardware logic processing, and the split images are output to the next level hardware module through hardware direct connection; The stitching unit is used to stitch the n second images together using a panoramic stitching method to obtain a second processed image.
7. A vehicle, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the multi-camera imaging consistency processing method as described in any one of claims 1-5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the steps of the multi-camera imaging consistency processing method as described in any one of claims 1-5.
Citation Information
Patent Citations
Method and apparatus for processing panoramic image
CN106713755A
Multi-channel image consistency fusion method
CN111860632A
Image exposure and gain adjusting method, imaging apparatus and vehicle
WO2020113833A1
