A panoramic surround view stitching method, device, medium, product and vehicle

By pre-establishing the angle interval range and mapping relationship, the image data distortion caused by the rotation of the exterior rearview mirror is corrected, and the splicing effect problem caused by the change of camera position in panoramic surround view splicing is solved, achieving a stable surround view splicing effect.

CN118229525BActive Publication Date: 2024-09-03GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410665168.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-03
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

Because the rotation of the exterior rearview mirror drives the left and right surround-view cameras to rotate, their fixed initial position changes and the image data is distorted, which affects the panoramic surround-view splicing effect.

Method used

The correlation between the angle interval range and the mapping relationship is established in advance, the actual rotation angle of the exterior rearview mirror is detected, the target angle interval range is found, the distorted image data is corrected based on the target mapping relationship, and panoramic view stitching is performed.

Benefits of technology

Even if the angle of the exterior rearview mirror changes, image distortion is avoided by correcting the distorted image data, ensuring the stability of the panoramic view stitching effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118229525B
    Figure CN118229525B
Patent Text Reader

Abstract

The present invention discloses a panoramic surround view stitching method, device, medium, product and vehicle, wherein an association relationship between an angle interval range and a mapping relationship is pre-established, wherein the mapping relationship is used to correct distorted image data, and the angle interval range is at least one, including: after detecting the actual rotation angle of the exterior rearview mirror, searching for a target angle interval range that includes the actual rotation angle, determining a target mapping relationship based on the target angle interval range, acquiring distorted image data collected by the exterior rearview mirror, adjusting the distorted image data based on the target mapping relationship to obtain target image data, and performing panoramic surround view stitching based on the target image data. Even if the angle of the exterior rearview mirror changes, the collected distorted image data will be adjusted based on the above process, thereby avoiding the possibility of image distortion. Therefore, the final surround view stitching effect will not be affected by the change in the angle of the exterior rearview mirror.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer vision and image processing technology, and in particular to a panoramic surround view stitching method, device, medium, product and vehicle. Background Art

[0002] Currently, the left and right surround-view cameras that realize the panoramic surround-view function are usually installed on the exterior rearview mirror body. Since the exterior rearview mirrors of some models use frameless lenses, the exterior rearview mirrors need to be rotated as a whole when adjusting the viewing angle of the exterior rearview mirrors, so that the left and right surround-view cameras will also rotate with the exterior rearview mirrors.

[0003] Since the panoramic view stitching process is carried out when the left and right surround view cameras are in the initial position, the collected image data must be stitched together to ensure the authenticity of the stitched image. Since the initial position changes, the rotation of the exterior rearview mirror drives the left and right surround view cameras to rotate, and the originally fixed initial positions of the left and right surround view cameras change, the collected image data will also be distorted due to the change in the initial position, causing the overall stitching effect to be distorted with different adjustment angles, affecting user use. Summary of the invention

[0004] In view of this, the present invention provides a panoramic surround view stitching method, device, medium, product and vehicle to solve the problem that the rotation of the exterior rearview mirror drives the left and right surround view cameras to rotate, and the originally fixed positions of the left and right surround view cameras change, and the image data collected by them will also be distorted, resulting in the overall stitching effect will also be distorted with different adjustment angles, affecting the user's use. The specific solution is as follows:

[0005] A panoramic view stitching method is provided, wherein an association relationship between an angle interval range and a mapping relationship is pre-established, wherein the mapping relationship is used to correct distorted image data, and the angle interval range is at least one, including:

[0006] Detect the actual rotation angle of the exterior rearview mirror in the current vehicle;

[0007] Traversing each angle interval range to find the target angle interval range that includes the actual rotation angle;

[0008] Determine a target mapping relationship corresponding to the target angle interval range based on the association relationship;

[0009] Acquire the collected distorted image data, determine the target image data based on the distorted image data and the target mapping relationship, and perform panoramic surround stitching based on the target image data.

[0010] The above-mentioned panoramic view stitching method may optionally pre-establish an association relationship between the angle interval range and the mapping relationship, including:

[0011] Pre-set the range of each angle interval;

[0012] Determine the corresponding mapping relationship of each angle interval range by calibration;

[0013] An association relationship is established between each preset interval range and its corresponding mapping relationship.

[0014] The above-mentioned panoramic view stitching method can optionally pre-set various angle interval ranges, including:

[0015] Obtaining an angle rotation range of the exterior rearview mirror;

[0016] Get the installation tolerance range of the sensor;

[0017] Each angular interval range is determined based on the angular rotation range interval and the installation tolerance range.

[0018] The above-mentioned panoramic surround view stitching method may optionally detect the actual rotation angle of the exterior rearview mirror in the current vehicle, including:

[0019] Obtaining the current rotation angle and the default rotation angle of the exterior rearview mirror;

[0020] An actual rotation angle is determined based on the current rotation angle and the default rotation angle.

[0021] The above-mentioned panoramic view stitching method may optionally perform panoramic view stitching based on the target image data, including:

[0022] Identify the remaining surround view cameras of the current vehicle, and obtain the image data to be stitched collected by the remaining surround view cameras;

[0023] Splicing the target image data and the image data to be spliced ​​to obtain spliced ​​image data;

[0024] The stitched image data is sent to a display terminal for display.

[0025] A panoramic view stitching device pre-establishes an association relationship between an angle interval range and a mapping relationship, wherein the mapping relationship is used to correct distorted image data, and the angle interval range is at least one, including:

[0026] A detection module, used to detect the actual rotation angle of the exterior rearview mirror in the current vehicle;

[0027] A search module, used to traverse each angle interval range and search for a target angle interval range that includes the actual rotation angle;

[0028] A first determining module, configured to determine a target mapping relationship corresponding to the target angle interval range based on the association relationship;

[0029] The determination and stitching module is used to obtain the collected distorted image data, determine the target image data based on the distorted image data and the target mapping relationship, and perform panoramic stitching based on the target image data.

[0030] The panoramic surround view stitching device mentioned above may optionally pre-establish an association relationship between the angle interval range and the mapping relationship in the panoramic surround view stitching device, including:

[0031] Setting module, pre-setting the range of each angle interval;

[0032] A second determination module is used to determine the mapping relationship corresponding to each angle interval range by calibration;

[0033] The establishing module is used to establish an association relationship between each preset interval range and its corresponding mapping relationship.

[0034] A computing storage medium includes a stored program, wherein the program executes the steps of a panoramic surround stitching method.

[0035] A computer program product includes a computer program, which implements the steps of the above-mentioned panoramic surround stitching method when executed by a processor.

[0036] A vehicle is used to implement the steps of the above-mentioned panoramic surround view stitching method.

[0037] Compared with the prior art, the present invention has the following advantages:

[0038] The present invention discloses a panoramic surround view stitching method, device, medium, product and vehicle, wherein an association relationship between an angle interval range and a mapping relationship is pre-established, wherein the mapping relationship is used to correct distorted image data, and the angle interval range is at least one, including: after detecting the actual rotation angle of the exterior rearview mirror, searching for a target angle interval range that includes the actual rotation angle, determining a target mapping relationship based on the target angle interval range, acquiring distorted image data collected by the exterior rearview mirror, adjusting the distorted image data based on the target mapping relationship to obtain target image data, and performing panoramic surround view stitching based on the target image data. Even if the angle of the exterior rearview mirror changes, the collected distorted image data will be adjusted based on the above process, thereby avoiding the possibility of image distortion. Therefore, the final surround view stitching effect will not be affected by the change in the angle of the exterior rearview mirror. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 A schematic diagram of the installation position of a surround view camera disclosed in the prior art;

[0041] Figure 2 A flow chart of a panoramic view stitching method disclosed in an embodiment of the present invention;

[0042] Figure 3 A structural block diagram of a panoramic surround stitching device disclosed in an embodiment of the present invention;

[0043] Figure 4 The present invention is a schematic diagram of a device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] The present invention discloses a panoramic surround view stitching method, device, medium, product and vehicle, which are used to realize the panoramic surround view function carried by the vehicle, wherein, in order to realize the panoramic surround view function, surround view cameras need to be installed at the front end, rear end and left and right ends of the vehicle respectively, preferably, the surround view camera is a fisheye camera, and the installation position of the surround view camera is as follows: Figure 1As shown, this state is taken as the initial state. In the initial state, after the panoramic surround stitching is performed based on the image data collected by the above four surround cameras by default, the panoramic surround stitching image after stitching does not have distortion or meets the design requirements. Among them, in the embodiment of the present invention, the specific installation positions of the surround cameras at the front and rear ends are not limited, and the surround cameras installed at the left and right ends are installed on the exterior rearview mirrors respectively. However, for the surround cameras installed on the left and right ends on the exterior rearview mirrors, the angle of the exterior rearview mirror may be adjusted due to different drivers. Once the angle of the exterior rearview mirror is adjusted, the surround camera installed on the exterior rearview mirror will also change with the exterior rearview mirror, resulting in distortion of the collected image data, affecting user use. In order to solve the above problem, a panoramic surround stitching method is provided in the embodiment of the present invention, in which an association relationship between an angle interval range and a mapping relationship is pre-established, wherein the mapping relationship is used to correct the distorted image data, and the angle interval range is at least one. The specific processing process for the association relationship between the pre-established angle interval range and the mapping relationship is as follows:

[0046] Preset various angle intervals, wherein the intervals of the various angle intervals may be the same or different, and are determined based on specific application scenarios and experience, and are not specifically limited in the embodiments of the present invention. Preferably, obtain the angle rotation range interval of the exterior rearview mirror, wherein the angle rotation range interval is related to the type of vehicle, design requirements or application scenarios, and is not specifically limited in the embodiments of the present invention. Preferably, set the angle rotation range interval to -10°~30°, and then obtain the installation tolerance range of the sensor, wherein the sensor is an angle sensor used to detect the rotation angle of the exterior rearview mirror, and the installation tolerance range is related to factors such as the installer or the sensor. In the embodiments of the present invention, for The installation tolerance range is not specifically limited. Preferably, the installation tolerance range is -2.5~2.5. Further, the angle interval ranges are determined for the angle rotation range of -10°~30° and the installation tolerance range of -2.5~2.5. In the embodiment of the present invention, it is assumed that the interval interval of each angle interval range is the same. The interval interval can be set based on experience or specific circumstances. No specific limitation is made in the embodiment of the present invention. Preferably, in the embodiment of the present invention, the interval interval is 5°, and the angle interval ranges include: -10°~5°, -5°~0°, 0°~5°, 5°~10°, 10°~15°, 15°~20°, 20°~25° and 25°~30°.

[0047] In the embodiment of the present invention, the installation tolerance range is taken into account during the process of determining the angle interval range, thereby ensuring the accuracy of the angle interval range determination, ensuring that the actual rotation falls within the accurate target angle interval range, indirectly ensuring the accuracy of the panoramic view stitching, and further avoiding the possibility of distortion.

[0048] In an embodiment of the present invention, after setting each angle interval range, the mapping relationship corresponding to each angle interval range is determined by calibration, wherein the mapping relationship is used to correct the distorted image data to avoid the possibility of distortion. The mapping relationship is related to the actual rotation angle of the exterior rearview mirror. Different mapping relationships correspond to different actual rotation angles. In an embodiment of the present invention, the coordinates of each pixel point in the distorted image data are determined based on the current coordinate system, and the current coordinate system is established with the current surround view camera as the origin, wherein the current surround view camera is a camera installed at the exterior rearview mirror angle rotation. The mapping relationship is used to transform the coordinates of each pixel point of the distorted image data from the current coordinate system to the vehicle coordinate system based on the actual rotation angle, wherein the origin of the vehicle coordinate system is the center of the front axle. Since the panoramic surround view stitching process is completed based on the vehicle coordinate system, after each pixel point of the distorted image data is converted from the current coordinate system to the vehicle coordinate system, the panoramic surround view stitching process is completed in the same coordinate system to avoid the possibility of distortion. Preferably, since it is a large workload to establish a corresponding mapping relationship for each actual rotation angle, in order to reduce the calibration workload, in the embodiment of the present invention, the method of setting each angle interval range is adopted to reduce the calibration workload. Under the premise that the error is allowed, an association relationship is established between each angle interval range and its corresponding mapping relationship. In the embodiment of the present invention, there is no limitation on the specific calibration process, the specific existence form of the mapping relationship, and the specific establishment method of the association relationship. Preferably, the association relationship between the angle interval range and the mapping relationship can be established through an identifier. The identifier can be a number, a letter or other preferred existence form, which is not specifically limited in the embodiment of the present invention. Assuming that the actual rotation angle of the exterior rearview mirror is △H, the specific existence form of the association relationship is as follows:

[0049] ① When the actual rotation angle △H of the exterior rearview mirror is adjusted to -10°≤△H<-5°, the A mapping relationship is stored;

[0050] ② When the actual rotation angle △H of the exterior rearview mirror is adjusted to -5°≤△H<0°, the B mapping relationship is stored;

[0051] ③ When the actual rotation angle △H of the exterior rearview mirror is adjusted to 0°≤△H<5°, the C mapping relationship is stored;

[0052] ④ When the actual rotation angle △H of the exterior rearview mirror is adjusted to 5°≤△H<10°, the D mapping relationship is stored;

[0053] ⑤ When the actual rotation angle △H of the exterior rearview mirror is adjusted to 10°≤△H<15°, the E mapping relationship is stored;

[0054] ⑥ When the actual rotation angle △H of the exterior rearview mirror is adjusted to 15°≤△H<20°, the F mapping relationship is stored;

[0055] ⑦ When the actual rotation angle △H of the exterior rearview mirror is adjusted to 20°≤△H<25°, the G mapping relationship is stored;

[0056] ⑧ When the actual rotation angle △H of the exterior rearview mirror is adjusted to 25°≤△H<30°, the H mapping relationship is stored;

[0057] After the association relationship is determined, the panoramic surround view stitching method is executed. Since the exterior rearview mirrors are installed at the left and right ends of the front window, there are several situations in which image data is distorted due to the rotation of the exterior rearview mirrors: the left exterior rearview mirror rotates, the right exterior rearview mirror rotates, the left and right exterior rearview mirrors rotate at the same time, the two rotate at the same angle, and the left and right exterior rearview mirrors rotate, but the two rotate at different angles. For the above situations, the processing procedures are the same, but when both the left and right sides rotate, it is necessary to process the left and right sides separately before performing panoramic surround view stitching. Furthermore, a panoramic controller is installed for the exterior rearview mirrors. Preferably, panoramic controllers are installed for the left and right exterior rearview mirrors respectively. The method is executed in the panoramic controller, and the executing subject is the panoramic controller.

[0058] The execution process of the splicing method is as follows Figure 2 As shown, the steps include:

[0059] S101, detecting the actual rotation angle of the exterior rearview mirror in the current vehicle;

[0060] In an embodiment of the present invention, the current vehicle is a vehicle used for panoramic view stitching, and the actual rotation angle can be measured based on an angle acquisition device such as an angle sensor, an angle measuring instrument or an angle camera. After the temporal rotation angle is detected, the actual rotation angle is directly obtained.

[0061] S102, traversing each angle interval range to search for a target angle interval range that includes the actual rotation angle;

[0062] In an embodiment of the present invention, after determining the various angle intervals, the specific processing procedure of traversing the various angle intervals and searching for the target angle intervals containing the actual rotation angle in the various angle intervals is as follows: traverse the above-mentioned various angle intervals, wherein the traversal principle can be sorted in the order of angles from large to small or from small to large in each angle interval, or other preferred sorting methods. In an embodiment of the present invention, the specific traversal method is not limited, and the target angle interval containing the actual rotation angle is searched. For example, if the actual rotation angle is 2.5°, the target angle interval is [0°, 5°).

[0063] Further, if there is no target angle interval that includes the actual rotation angle, a prompt is given, and the prompt method may be a voice prompt or a pop-up prompt, etc. The specific prompt method is not limited in the embodiment of the present invention.

[0064] S103, determining a target mapping relationship corresponding to the target angle interval range based on the association relationship;

[0065] In the embodiment of the present invention, since an association relationship is established in advance between each angle interval range and its corresponding mapping relationship, wherein the mapping relationship is established by calibration, the mapping relationship is used to correct the distorted image data, and the mapping relationship is related to the actual rotation angle of the exterior rearview mirror, after determining the target angle interval range, based on the association relationship, the specific processing process of determining the target mapping relationship corresponding to the target angle interval range is as follows:

[0066] ① When the actual rotation angle △H of the exterior rearview mirror is adjusted to -10°≤△H<-5°, the panoramic controller selects mapping relationship A as the target mapping relationship;

[0067] ② When the actual rotation angle △H of the exterior rearview mirror is adjusted to -5°≤△H<0°, the panoramic controller selects the B mapping relationship as the target mapping relationship;

[0068] ③ When the actual rotation angle △H of the exterior rearview mirror is adjusted to 0°≤△H<5°, the panoramic controller selects the C mapping relationship as the target mapping relationship;

[0069] ④ When the actual rotation angle △H of the exterior rearview mirror is adjusted to 5°≤△H<10°, the panoramic controller selects the D mapping relationship as the target mapping relationship;

[0070] ⑤ When the actual rotation angle △H of the exterior rearview mirror is adjusted to 10°≤△H<15°, the panoramic controller selects the E mapping relationship as the target mapping relationship;

[0071] ⑥ When the actual rotation angle △H of the exterior rearview mirror is adjusted to 15°≤△H<20°, the panoramic controller selects the F mapping relationship as the target mapping relationship;

[0072] ⑦ When the actual rotation angle △H of the exterior rearview mirror is adjusted to 20°≤△H<25°, the panoramic controller selects the G mapping relationship as the target mapping relationship;

[0073] ⑧ When the actual rotation angle △H of the exterior rearview mirror is adjusted to 25°≤△H<30°, the panoramic controller selects the H mapping relationship as the target mapping relationship;

[0074] S104: Acquire the collected distorted image data, determine target image data based on the distorted image data and the target mapping relationship, and perform panoramic surround stitching based on the target image data.

[0075] In an embodiment of the present invention, after determining the target mapping relationship, distorted image data collected by the surround-view camera installed on the exterior rearview mirror is obtained, and target image data is determined based on the distorted image data and the target mapping relationship. The target image data is obtained by multiplying the distorted image data with the target mapping data, wherein the target image data is image data without distortion, and panoramic surround stitching is performed based on the target image data.

[0076] The present invention discloses a panoramic surround view stitching method, which pre-establishes an association relationship between an angle interval range and a mapping relationship, wherein the mapping relationship is used to correct distorted image data, and the angle interval range is at least one, comprising: after detecting the actual rotation angle of the exterior rearview mirror, searching for a target angle interval range that includes the actual rotation angle, determining a target mapping relationship based on the target angle interval range, acquiring distorted image data collected by the exterior rearview mirror, adjusting the distorted image data based on the target mapping relationship to obtain target image data, and performing panoramic surround view stitching based on the target image data. Therefore, even if the angle of the exterior rearview mirror changes, the collected distorted image data will be adjusted based on the above process, and panoramic surround view stitching will be performed based on the adjusted target image data without distortion. Since the image data used in the stitching process is not distorted, the possibility of image distortion is avoided. Therefore, the final surround view stitching effect will not be affected by the change in the angle of the exterior rearview mirror.

[0077] In an embodiment of the present invention, a mapping relationship is pre-set for an angle range, and the exterior rearview mirror angle adjustment information interacts with a panoramic controller. After the user adjusts the exterior rearview mirror, the distorted image data is corrected based on the mapping relationship, so that the panoramic surround image will not be distorted due to changes in the surround view camera angle.

[0078] In an embodiment of the present invention, a specific processing procedure for detecting the actual rotation angle of the exterior rearview mirror in the current vehicle is as follows: first, the current rotation angle and the default rotation angle of the exterior rearview mirror collected by the sensor are obtained, wherein the default rotation angle is the angle when the sensor is arranged as a whole in the styling layout stage, and the styling layout stage refers to a state that meets the design requirements, or the default position state of the exterior rearview mirror when leaving the factory. The difference between the current rotation angle and the default rotation angle is used as the actual rotation angle. For example, when the entire vehicle is arranged, the default rotation angle of the default factory position is defined as 0°. At this time, the current rotation angle of the exterior rearview mirror is 10°, and the actual rotation angle of the actual surround-view camera relative to the entire vehicle also becomes 10°.

[0079] In the embodiment of the present invention, the default rotation angle is considered in the process of determining the actual rotation angle based on the above method, and the difference between the current rotation angle and the default rotation angle is used as the actual rotation angle, thereby ensuring the accuracy of determining the actual rotation angle.

[0080] In the embodiment of the present invention, the processing process of performing panoramic surround stitching based on the target image data is as follows:

[0081] If only one side of the exterior rearview mirror rotates, after determining the target image data, the remaining surround-view cameras of the current vehicle are identified, and three groups of image data to be stitched collected by the remaining three surround-view cameras are obtained. The target image data and the three groups of image data to be stitched are subjected to panoramic surround stitching to obtain stitched image data.

[0082] If both side rearview mirrors rotate, the above-mentioned processing is performed twice based on the angle changes of the left and right rearview mirrors respectively to obtain two sets of target image data, identify the remaining surround-view cameras of the current vehicle, obtain two sets of image data to be stitched together collected by the remaining two surround-view cameras, and perform panoramic stitching of the two sets of target image data and the two sets of image data to be stitched together to obtain stitched image data.

[0083] In the embodiment of the present invention, after the stitched image data is obtained, a corrected panoramic surround stitched image is sent to a display terminal based on the stitched image data. Preferably, the display terminal may be a central control display.

[0084] Furthermore, the panoramic view stitching processing process takes into account the panoramic view stitching processing when one or both side rearview mirrors rotate, thereby ensuring that no distortion occurs and at the same time ensuring the comprehensiveness of the solution.

[0085] Based on the above-mentioned panoramic view stitching method, a panoramic view stitching device is further provided in an embodiment of the present invention, wherein an association relationship between an angle interval range and a mapping relationship is pre-established, wherein the mapping relationship is used to correct the distorted image data, the angle interval range is at least one, and the structural block diagram of the stitching device is as follows: Figure 3 As shown, including:

[0086] A detection module 201 , a search module 202 , a first determination module 203 and a determination and splicing module 204 .

[0087] in,

[0088] The detection module 201 is used to detect the actual rotation angle of the exterior rearview mirror in the current vehicle;

[0089] The search module 202 is used to traverse each angle interval range to search for a target angle interval range that includes the actual rotation angle;

[0090] The first determining module 203 is used to determine a target mapping relationship corresponding to the target angle interval range based on the association relationship;

[0091] The determination and stitching module 204 is used to obtain the collected distorted image data, determine the target image data based on the distorted image data and the target mapping relationship, and perform panoramic stitching based on the target image data.

[0092] The present invention discloses a panoramic surround view stitching device, which pre-establishes an association relationship between an angle interval range and a mapping relationship, wherein the mapping relationship is used to correct distorted image data, and the angle interval range is at least one, including: after detecting the actual rotation angle of the exterior rearview mirror, searching for a target angle interval range that includes the actual rotation angle, determining a target mapping relationship based on the target angle interval range, acquiring distorted image data collected by the exterior rearview mirror, adjusting the distorted image data based on the target mapping relationship to obtain target image data, and performing panoramic surround view stitching based on the target image data. Even if the angle of the exterior rearview mirror changes, the collected distorted image data will be adjusted based on the above process, thereby avoiding the possibility of image distortion. Therefore, the final surround view stitching effect will not be affected by the change in the angle of the exterior rearview mirror.

[0093] In the embodiment of the present invention, the association relationship between the angle interval range and the mapping relationship is pre-established in the splicing device, including:

[0094] A setting module, a second determination module and an establishment module.

[0095] in,

[0096] The setting module pre-sets the range of each angle interval;

[0097] The second determination module is used to determine the mapping relationship corresponding to each angle interval range by calibration;

[0098] The establishing module is used to establish an association relationship between each preset interval range and its corresponding mapping relationship.

[0099] In an embodiment of the present invention, the setting module includes:

[0100] A first acquiring unit, a second acquiring unit and a first determining unit.

[0101] in,

[0102] The first acquisition unit is used to acquire the angle rotation range of the exterior rearview mirror;

[0103] The second acquisition unit is used to acquire an installation tolerance range of the sensor;

[0104] The first determining unit is used to determine each angle interval range based on the angle rotation range interval and the installation tolerance range.

[0105] In the embodiment of the present invention, the detection module 201 includes:

[0106] A third acquiring unit and a second determining unit.

[0107] in,

[0108] The third acquisition unit is used to acquire the current rotation angle and the default rotation angle of the exterior rearview mirror;

[0109] The second determining unit is used to determine an actual rotation angle based on the current rotation angle and the default rotation angle.

[0110] In an embodiment of the present invention, the determination and splicing module includes:

[0111] Identify and acquire units, splice units, and display units.

[0112] in,

[0113] The identification and acquisition unit is used to identify the remaining surround-view cameras of the current vehicle and acquire the image data to be stitched collected by the remaining surround-view cameras;

[0114] The stitching unit is used to stitch the target image data and the image data to be stitched to obtain stitched image data;

[0115] The display unit is used to send the stitched image data to a display terminal for display.

[0116] The splicing device includes a processor and a memory. The pre-detection module, search module, first determination module, and determination and splicing module are all stored in the memory as program units. The processor executes the program units stored in the memory to implement corresponding functions.

[0117] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and kernel parameters can be adjusted to avoid distortion of the image collected by the surround view camera installed on the exterior rearview mirror due to the change in the angle of the exterior rearview mirror, which ultimately leads to unsatisfactory surround view stitching effect.

[0118] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0119] An embodiment of the present invention provides a computer storage medium on which a program is stored. When the program is executed by a processor, the steps of the panoramic surround stitching method are implemented.

[0120] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes the steps of the panoramic surround stitching method when running.

[0121] An embodiment of the present invention provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of a panoramic surround view stitching method provided in an embodiment of the present application.

[0122] A vehicle is provided in an embodiment of the present invention, and the vehicle is used to implement the steps of the above-mentioned panoramic surround view stitching method.

[0123] An embodiment of the present invention provides a device, the structural block diagram of which is as follows Figure 4 As shown, the device includes: a processor 301, a storage medium 302, and a program stored in the storage medium 302 and executable on the processor 301. When the processor 301 executes the program, the following steps are implemented:

[0124] Detect the actual rotation angle of the exterior rearview mirror in the current vehicle;

[0125] Traversing each angle interval range to find the target angle interval range that includes the actual rotation angle;

[0126] Determine a target mapping relationship corresponding to the target angle interval range based on the association relationship;

[0127] Acquire the collected distorted image data, determine the target image data based on the distorted image data and the target mapping relationship, and perform panoramic surround stitching based on the target image data.

[0128] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0129] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0130] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0131] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0132] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0133] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0134] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0135] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0136] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0137] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A panoramic view stitching method, characterized in that: An association relationship between an angle interval range and a mapping relationship is pre-established, wherein the mapping relationship is used to transform the coordinates of each pixel point of the distorted image data from the current coordinate system to the whole vehicle coordinate system based on the actual rotation angle of the exterior rearview mirror in the current vehicle, and correct the distorted image data, and the angle interval range is at least one, including: Detect the actual rotation angle of the exterior rearview mirror in the current vehicle; Traversing each angle interval range to find the target angle interval range that includes the actual rotation angle; Determine a target mapping relationship corresponding to the target angle interval range based on the association relationship; Acquire the collected distorted image data, determine the target image data based on the distorted image data and the target mapping relationship, and perform panoramic surround stitching based on the target image data.

2. The panoramic view stitching method according to claim 1, characterized in that: The association between the angle interval range and the mapping relationship is established in advance, including: Pre-set the range of each angle interval; Determine the mapping relationship corresponding to each angle interval range by calibration; An association relationship is established between each preset interval range and its corresponding mapping relationship.

3. The panoramic view stitching method according to claim 2, characterized in that: Preset various angle ranges, including: Obtaining an angle rotation range of the exterior rearview mirror; Get the installation tolerance range of the sensor; Each angular interval range is determined based on the angular rotation range interval and the installation tolerance range.

4. The panoramic view stitching method according to claim 1, characterized in that: Detect the actual rotation angle of the exterior mirror in the current vehicle, including: Obtaining the current rotation angle and the default rotation angle of the exterior rearview mirror; An actual rotation angle is determined based on the current rotation angle and the default rotation angle.

5. The panoramic view stitching method according to claim 1, characterized in that: Performing panoramic surround stitching based on the target image data includes: Identify the remaining surround view cameras of the current vehicle, and obtain the image data to be stitched collected by the remaining surround view cameras; Splicing the target image data and the image data to be spliced ​​to obtain spliced ​​image data; The stitched image data is sent to a display terminal for display.

6. A panoramic view stitching device, characterized in that: An association relationship between an angle interval range and a mapping relationship is pre-established, wherein the mapping relationship is used to transform the coordinates of each pixel point of the distorted image data from the current coordinate system to the whole vehicle coordinate system based on the actual rotation angle of the exterior rearview mirror in the current vehicle, and correct the distorted image data, and the angle interval range is at least one, including: A detection module, used to detect the actual rotation angle of the exterior rearview mirror in the current vehicle; A search module, used to traverse each angle interval range and search for a target angle interval range that includes the actual rotation angle; A first determining module, configured to determine a target mapping relationship corresponding to the target angle interval range based on the association relationship; The determination and stitching module is used to obtain the collected distorted image data, determine the target image data based on the distorted image data and the target mapping relationship, and perform panoramic stitching based on the target image data.

7. The panoramic view stitching device according to claim 6, characterized in that: The panoramic surround view stitching device pre-establishes an association relationship between the angle interval range and the mapping relationship, including: Setting module, pre-setting the range of each angle interval; A second determination module is used to determine the mapping relationship corresponding to each angle interval range by calibration; The establishing module is used to establish an association relationship between each preset interval range and its corresponding mapping relationship.

8. A computer storage medium, characterized in that: The storage medium includes a stored program, wherein the program executes the steps of the panoramic surround stitching method according to any one of claims 1 to 5.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the panoramic surround stitching method described in any one of claims 1 to 5 are implemented.

10. A vehicle, characterized in that: The vehicle is used to implement the steps of the panoramic surround view stitching method described in any one of claims 1-5.