Visual field switching method based on electronic rearview mirror system and related device
By acquiring vehicle driving status data, determining the type of field of view switching, and using easing functions and interpolation rendering methods, a smooth field of view switching of the electronic rearview mirror system is achieved, solving the problems of abruptness and visual transition during field of view switching, and improving the driver's visual experience and driving safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 深圳市欧冶半导体有限公司
- Filing Date
- 2026-03-24
- Publication Date
- 2026-04-21
AI Technical Summary
Existing electronic rearview mirror systems suffer from abrupt changes in field of view, lack of visual transition, and poor visual engineering, which affect the driver's visual experience and driving safety.
By acquiring vehicle driving status data, the type of field of view switching is determined, and smooth switching of field of view images is achieved by using easing functions and interpolation rendering methods. A camera module and a display terminal are used in conjunction with the main processor for image processing and display.
It enhances the user's visual experience and the comfort of CMS interaction, reduces the interference of visual abrupt changes on driving behavior, and ensures the safety and smoothness of the driving process.
Smart Images

Figure CN121907971A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, and in particular to a method and related apparatus for switching the field of view based on an electronic rearview mirror system. Background Technology
[0002] With the development of automotive intelligence, traditional physical rearview mirrors are gradually being replaced by electronic exterior rearview mirror systems (Camera Monitor Systems, or CMS). CMS uses cameras to collect images of the vehicle's surroundings and displays the rear view on a screen, improving the vehicle's aerodynamics and driving safety. However, current CMSs often use instantaneous or linear transitions when switching between different view modes (such as wide-angle view, blind spot view, parking assist view, lane change enhanced view, etc.). While this meets functional requirements, it still needs improvement in terms of user experience. Specific problems include: First, the abruptness is strong; the content displayed "jumps" during view switching, which can easily cause visual discomfort for users, especially at night or during high-speed driving, potentially distracting the driver. Second, there is a lack of transition; the image changes without a buffer, making it difficult for users to establish a continuous perception of the scene during the transition. Third, it is detrimental to visual engineering; instantaneous switching may lead to the driver's delayed reaction to changes in view, affecting driving safety.
[0003] Therefore, it is urgent to address how to improve the user's visual experience and the comfort of CMS interaction, as well as how to reduce the interference of visual abrupt changes on driving behavior. Summary of the Invention
[0004] The purpose of this application is to provide a field of view switching method and related device based on an electronic rearview mirror system, to solve the problems of abruptness, lack of visual transition, and disadvantages to visual engineering in existing CMS field of view switching.
[0005] To achieve the objectives of this application, the following technical solution is provided: In a first aspect, embodiments of this application provide a field-of-view switching method based on an electronic rearview mirror system. This method is applied to the main processor of the electronic rearview mirror system, which further includes a camera module and a display terminal. The main processor is connected to both the camera module and the display terminal. The method includes: Acquire vehicle driving status data of the target vehicle; and acquire a first field-of-view image before the field of view is switched and a second field-of-view image after the field of view is switched through the camera module; The view switching type of the target vehicle is determined based on the vehicle driving status data; Determine the first easing function corresponding to the view switching type; A first field of view parameter is determined based on the first field of view image; and a second field of view parameter is determined based on the second field of view image; The easing gradient field of view parameters are determined based on the first easing function, the first field of view parameter, and the second field of view parameter. Generate a field-of-view switching image based on the aforementioned gradual field-of-view parameters; The switching image parameters corresponding to the field-view switching image are interpolated and rendered in real time based on a preset interpolation rendering method, so that the display terminal can smoothly switch from the first field-view image to the second field-view image.
[0006] Secondly, embodiments of this application provide a field-of-view switching device based on an electronic rearview mirror system, applied to the main processor of the electronic rearview mirror system. The electronic rearview mirror system further includes a camera module and a display terminal. The main processor is connected to the camera module and the display terminal respectively. The device includes: The acquisition unit is used to acquire vehicle driving status data of the target vehicle; and to acquire a first field-of-view image before the field-of-view switching and a second field-of-view image after the field-of-view switching through the camera module. The determining unit is configured to: determine the field-of-view switching type of the target vehicle based on the vehicle driving state data; determine a first easing function corresponding to the field-of-view switching type; determine a first field-of-view parameter based on the first field-of-view image; and determine a second field-of-view parameter based on the second field-of-view image; and determine a gradual easing field-of-view parameter based on the first easing function, the first field-of-view parameter, and the second field-of-view parameter. A generation unit is used to generate a field-of-view switching image based on the gradual change field-of-view parameters. The control unit is used to perform real-time interpolation rendering of the switching image parameters corresponding to the field of view switching image based on a preset interpolation rendering method, so that the display terminal can smoothly switch from the first field of view image to the second field of view image.
[0007] Thirdly, embodiments of this application provide an electronic device, including: a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the steps in the first aspect of embodiments of this application.
[0008] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program causes a computer to perform some or all of the steps described in any method of the first aspect of this application.
[0009] Fifthly, embodiments of this application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps described in the first aspect of embodiments of this application. The computer program product may be a software installation package.
[0010] It can be seen that the embodiments of this application have the following beneficial effects: By implementing the embodiments of this application, firstly, vehicle driving status data of the target vehicle is acquired, and a first field-of-view image before the field-of-view switch and a second field-of-view image after the field-of-view switch are acquired through a camera module. Next, the field-of-view switch type of the target vehicle is determined based on the vehicle driving status data, and a first easing function corresponding to the field-of-view switch type is determined. Then, a first field-of-view parameter is determined based on the first field-of-view image, and a second field-of-view parameter is determined based on the second field-of-view image. Easing gradient field-of-view parameters are determined based on the first easing function, the first field-of-view parameter, and the second field-of-view parameter. A field-of-view switch image is generated based on the easing gradient field-of-view parameters. Finally, real-time interpolation rendering is performed on the switching image parameters corresponding to the field-of-view switch image based on a preset interpolation rendering method, so that the display terminal can smoothly switch from the first field-of-view image to the second field-of-view image. It can be seen that by dynamically selecting the corresponding easing function according to the vehicle's driving status (starting, reversing, acceleration / deceleration), the display effect of the CMS is adjusted, making the interface transition more natural and smooth, thereby improving the user's visual experience and the comfort of CMS interaction. Furthermore, it reduces the interference caused by sudden visual changes to driving behavior. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments of this application or the background art, the accompanying drawings used in the embodiments of this application or the background art will be described below.
[0012] Figure 1 This is a flowchart illustrating a field-of-view switching method based on an electronic rearview mirror system provided in an embodiment of this application; Figure 2 This is an architectural diagram of an electronic rearview mirror system provided in an embodiment of this application; Figure 3 This is a flowchart illustrating a view switching method based on an easing function provided in an embodiment of this application; Figure 4 This is a schematic diagram of a scene where the field of view is switched instantaneously, as provided in an embodiment of this application. Figure 5 This is a schematic diagram of a scene where the view switching is processed by an easing function, provided in an embodiment of this application; Figure 6This is a functional module block diagram of a field-of-view switching device based on an electronic rearview mirror system provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0013] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0014] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0015] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0016] The following describes the relevant content, concepts, meanings, technical issues, technical solutions, and beneficial effects involved in the embodiments of this application.
[0017] Please see Figure 1 , Figure 1 This is a flowchart illustrating a field-of-view switching method based on an electronic rearview mirror system, provided in an embodiment of this application. The method is applied to the main processor of the electronic rearview mirror system, which also includes a camera module and a display terminal. The main processor is connected to both the camera module and the display terminal. The method includes, but is not limited to, the following steps: S101. Obtain vehicle driving status data of the target vehicle; and, obtain a first field-of-view image before the field-of-view switch and a second field-of-view image after the field-of-view switch through the camera module.
[0018] In this embodiment, the vehicle driving status data represents the driving intention and driving conditions of the target vehicle, including steering wheel angle signal, vehicle signal light status (mainly turn signal signal), vehicle acceleration data, and gear signal. The camera module is a high-definition external image acquisition component configured in the CMS, used to comprehensively capture visual information of the vehicle's side, rear, and surrounding environment. The first field-of-view image is the initial field-of-view image currently displayed by the CMS before the field-of-view switching, i.e., ViewStart, whose field-of-view mode is adapted to the current driving scenario (such as regular wide-angle mode, high-speed mode, etc.); the second field-of-view image is the target field-of-view image to be switched to after determining based on the vehicle driving status data, i.e., ViewEnd, used to meet the field-of-view requirements of specific driving scenarios (such as lane changing, parking, and cornering).
[0019] In a specific embodiment, vehicle driving status data is collected in real time via the vehicle's CAN bus, synchronized with the CMS rendering frame cycle to ensure timely data transmission and matching of field-of-view switching requirements. Specifically, the steering wheel angle signal is collected by a steering angle sensor; the turn signal is obtained through the Body Control Module (BCM), which can quickly distinguish between left turn, right turn, and turn cancellation states, and is relevant to blind spot field-of-view switching requirements in lane-changing scenarios; vehicle acceleration data is collected by an Inertial Measurement Unit (IMU), including longitudinal and lateral acceleration, used to determine different operating conditions such as high-speed cruising (vehicle speed ≥ 80 km / h) and low-speed parking (vehicle speed ≤ 10 km / h); the gear position signal is directly extracted from the transmission control module to determine the vehicle's forward, reverse, and parking status. The camera module can be a high-definition camera with a resolution of 1920×1536 and a frame rate of 50fps, installed on the left and right sides and rear of the vehicle, covering the entire field of view. When acquiring the first field-of-view image, the CMS detects the moment when the field-of-view switching trigger condition (such as turning on the turn signal or engaging reverse gear) is triggered. It then extracts the current image, which has already undergone quality optimization by the Video input module, as the first field-of-view image. The corresponding field-of-view parameters (such as FOV, scale parameters, and crop parameters) are simultaneously stored in the image processing module. When acquiring the second field-of-view image, based on the target field-of-view mode determined by the vehicle driving status data, the CMS acquires and processes images adapted to the scene (such as blind spot enhancement images during lane changes or tire periphery detail images during parking), i.e., the second field-of-view image, by adjusting the focal length and shooting angle of the camera module or calling the preset target field-of-view acquisition logic. The collected vehicle driving status data, along with the first and second field-of-view images, are synchronously transmitted to the CMS's Video process module. The image data is further processed to extract field-of-view switching parameters such as FOV, camera angle, perspective transformation matrix, scale parameters (imgsize_width, imgsize_height), and crop parameters (crop_startX, crop_startY, crop_width, crop_height). These parameters provide input for subsequent easing function selection and real-time interpolation calculation, ensuring that the field-of-view switching process is adapted to the driving scenario.
[0020] For easier understanding, please refer to Figure 2 , Figure 2 This is an architecture diagram of an electronic rearview mirror system provided in an embodiment of this application. The electronic rearview mirror system 200 includes a display terminal 210, a main processor 220, and a camera module 230.
[0021] The display terminal 210 is used to receive the field-of-view switching image output by the main processor 220 and perform visualization display. Its function is to convert the processed field-of-view image into visual information that the driver can perceive, adapt to the field-of-view requirements of different driving scenarios (such as enhanced field of view in blind spots when changing lanes, and field of view of details around the tires when parking), and keep synchronized with the system rendering frame cycle to ensure the smoothness and real-time performance of the display process, and avoid distraction of driving attention caused by screen stuttering or delay. In one possible embodiment, the hardware parameters of the display terminal 210 are adapted to the functional requirements of the electronic rearview mirror system. Its resolution is set to 1920×1536, which is consistent with the image acquisition resolution of the camera module 230, thus avoiding distortion caused by image stretching or compression. The refresh rate can be 50fps, which is synchronized with the rendering frame rate of the main processor 220, ensuring that each frame of the view switching image can be presented in real time. The display area size is designed according to the ergonomic requirements of the vehicle installation position, so that the driver can clearly observe the details of the picture in a normal driving posture. It also supports dynamic adjustment of the scaling ratio and cropping range of the display area according to the gradual change of view parameters to adapt to the presentation requirements of different view modes.
[0022] The main processor 220 includes an image input module 221, an image processing module 222, and an image output module 223. The main processor 220 is the core processing unit of the CMS, used for image acquisition, parameter calculation, image rendering, and signal output. The main processor 220 receives scene-switching images transmitted from the camera module 230, performs image preprocessing through the image input module 221, executes field-of-view parameter interpolation, field-of-view scaling, and cropping based on easing functions through the image processing module 222, and finally converts the processed field-of-view switching images into a signal format compatible with the display terminal 210 through the image output module 223, thus realizing the transformation from the original acquired image to a visualized field-of-view image. In one possible embodiment, the image input module 221 is used to receive the scene switching image transmitted by the camera module 230, perform preprocessing operations such as noise reduction and white balance calibration on the image, eliminate environmental interference and hardware acquisition errors, and ensure that the quality of the input image meets the requirements of subsequent processing; the image processing module 222 integrates an easing interpolation unit and an image geometric transformation unit. The easing interpolation unit is used to determine the field of view switching type based on the vehicle driving state data, match the corresponding first easing function, and calculate the easing gradient field of view parameters in combination with the first field of view parameters and the second field of view parameters. The image geometric transformation unit is used to perform field of view scaling, cropping, and pixel-level alignment of common field of view areas according to the parameters; the image output module 223 is used to convert the field of view switching image generated by the image processing module 222 into the MIPI-DSI signal format supported by the display terminal 210, and transmit it synchronously to the display terminal 210 to ensure that the image transmission timing is consistent with the refresh cycle of the display terminal.
[0023] As can be seen, the architecture of the above-mentioned electronic rearview mirror system can realize the processing of field of view switching, which not only ensures the comprehensiveness and quality of the original image acquisition, but also achieves the smoothness and scene adaptability of the field of view switching, and ensures the real-time performance and comfort of the display effect, effectively improving the practicality and safety of the electronic rearview mirror during driving.
[0024] S102. Determine the field of view switching type of the target vehicle based on the vehicle driving status data.
[0025] In this embodiment, the field of view switching type is a classification identifier determined according to the driving intention and driving conditions of the target vehicle to characterize changes in field of view requirements. It corresponds to various field of view mode switching scenarios supported by CMS, including lane change enhanced field of view switching, parking assist field of view switching, steering assist field of view switching, high-speed cruise field of view switching, and field of view restoration default switching, etc.
[0026] In a specific embodiment, the CMS receives preprocessed driving status data via the vehicle's CAN bus and calls a preset scene determination algorithm to accurately identify the field of view switching type. The algorithm has built-in multi-dimensional determination thresholds and logical rules: when the turn signal is continuously triggered for ≥3 seconds and the vehicle speed derived from the vehicle acceleration is in the range of 30-120km / h, it is determined to be a lane change enhanced field of view switching type, corresponding to the conversion from a regular wide-angle field of view to an extended side and rear field of view; when the gear signal is reverse and the vehicle speed is ≤10km / h, it is determined to be a parking assist field of view switching type, corresponding to the conversion from a regular field of view to a detailed field of view around the tires; when the direction... When the steering wheel angle is ≥30° and the duration is ≥2 seconds, and the turn signal is not triggered, it is determined to be a steering assist vision switching type, corresponding to the conversion from the normal vision to the expanded vision of the blind spot in the curve; when the vehicle speed is ≥80km / h for ≥5 seconds, and there are no steering, lane change, or reversing signals, it is determined to be a high-speed cruise vision switching type, corresponding to the conversion from the normal wide-angle vision to the narrowed vision; when the turn signal is off in the lane change scenario, the reverse gear is disengaged in the parking scenario, the steering wheel is straightened to an angle ≤5° in the steering scenario, or the vehicle speed drops to below 60km / h in the high-speed scenario, it is determined to be a vision restoration default switching type, corresponding to the conversion from the vision of various targets to the normal default vision.
[0027] It is evident that by establishing a mapping relationship between driving status data and driving intentions and field of view switching types, dynamic adaptation and recognition of field of view switching needs have been achieved.
[0028] Optionally, the above step of determining the view switching type of the target vehicle based on the vehicle driving status data specifically includes the following steps: A201. Determine the steering angle, driving speed, and driving status of the target vehicle based on the vehicle driving status data; the driving status includes: reversing status and forward status; A202. If the steering angle is greater than or equal to a preset angle threshold and the driving state is the forward state, then the target vehicle is determined to be in the first field of view switching type. A203. If the driving state is the reversing state, then the target vehicle is determined to be in the reversing view switching type as the second view switching type. A204. If the driving speed is less than or equal to a preset first speed threshold and the driving state is the forward state, then the target vehicle is in a low-speed parking view switching type as the third view switching type. A205. If the driving speed is between the first speed threshold and the preset second speed threshold, and the driving state is the forward state, then the target vehicle is determined to be in the accelerated view switching type as the fourth view switching type. A206. If the driving speed is greater than the second speed threshold and the driving state is the forward state, then the target vehicle is determined to be in the acceleration overtaking view switching type as the fifth view switching type.
[0029] In this embodiment, the steering angle refers to the angle by which the steering wheel of the target vehicle deviates from the neutral position, reflecting the intensity of the vehicle's steering operation. It is detected and transmitted in real time by a steering angle sensor. The driving speed is the distance traveled by the target vehicle per unit time, collected by the vehicle speed measurement module and transmitted to the CMS via the CAN bus, used to distinguish different driving conditions. The driving state is a status indicator representing the vehicle's direction of movement, including reversing and forward states, determined by the gear position signal from the transmission control module. Angle thresholds are used to distinguish between normal driving and cornering scenarios, ensuring accurate triggering of steering view switching. The first speed threshold is the speed threshold defining low-speed parking scenarios and other forward driving conditions, and the second speed threshold is the speed threshold distinguishing high-speed driving from medium-speed driving. The first, second, third, fourth, and fifth view switching types correspond to the view requirements of scenarios such as steering assist, reversing assist, low-speed parking, acceleration, and acceleration overtaking, respectively. Furthermore, each view switching type includes two adaptation modes: forward switching (from initial view A to target view B) and reverse switching (from target view B back to initial view A). The core parameter logic of reverse switching remains consistent with that of forward switching, ensuring smooth transitions and visual uniformity. For example, the reverse switching trigger condition for the second view switching type (reversing assist) is: the driving state changes from reversing to forward or parking, and the view switches from the reversing-only view (B) back to the normal view (A). During reverse switching, the core parameters such as the easing function type and switching duration remain consistent with the corresponding forward switching; only the direction of change in the view parameters is reversed.
[0030] In a specific embodiment, a preset angle threshold of 30° is set, a first speed threshold of 10 km / h is set, and a second speed threshold of 80 km / h is set. The CMS receives steering angle signals collected by the steering angle sensor, driving speed signals collected by the speed measurement module, and gear position signals from the transmission control module in real time via the vehicle's CAN bus. After filtering and noise reduction, valid data is extracted. When a steering angle ≥ 30° is detected and the gear position signal is forward (driving state is forward), it is determined that the vehicle is in a cornering scenario, and the field of view switching type is determined to be the first field of view switching type (steering field of view switching), corresponding to the steering assist mode, which requires expanding the blind spot field of view in corners; when the gear position signal is reverse (driving state is reverse), it is determined to be a reversing scenario, and the second field of view switching type (reversing field of view switching) is determined, corresponding to the reversing field of view requirements of the parking assist mode; when the driving speed ≤ 10 km / h Furthermore, when the gear is in drive, it is determined to be a low-speed parking scenario, and is identified as the third view switching type (low-speed parking view switching), requiring magnification of the detailed view around the tires; when the driving speed is between 10km / h and 80km / h and in a forward state, it is determined to be an acceleration driving scenario, and is identified as the fourth view switching type (acceleration view switching), adapting to the need for transitioning from the conventional wide-angle view to the high-speed mode; when the driving speed is >80km / h and in a forward state, it is determined to be an acceleration overtaking scenario, and is identified as the fifth view switching type (acceleration overtaking view switching), corresponding to the enhanced lane view mode, requiring enhanced observation of the side and rear blind spots.
[0031] It is evident that constructing a multi-dimensional judgment system based on steering angle, driving speed, and driving status enables accurate classification and dynamic adaptation of view switching types. The multi-parameter fusion judgment logic effectively eliminates false triggers caused by fluctuations in a single signal, improving the reliability of switching type determination.
[0032] S103. Determine the first easing function corresponding to the view switching type.
[0033] In this embodiment, the first easing function refers to a function model selected according to the field of view switching type, used to achieve nonlinear interpolation of field of view parameters. Its core feature is that it can simulate the speed change law of real-world object motion, avoid abrupt transitions during field of view switching, and conform to human visual inertia and driving scenario safety requirements. The correspondence between the field of view switching type and the first easing function is based on human factors engineering principles and preset functional requirements of driving scenarios. Different switching types correspond to different driving safety priorities, field of view change amplitudes, and user visual perception requirements. Therefore, it is necessary to match an easing function with corresponding speed change characteristics.
[0034] In specific embodiments, the CMS's preset view switching type and easing function mapping library includes the following correspondences: Lane change enhancement view switching type matches the easeOutSine function. This switching type requires quickly entering the target blind spot view and then naturally decelerating to avoid distracting the driver. The easeOutSine function's rapid start and deceleration characteristics suit this requirement. Parking assist view switching type matches the easeInOutCubic function. Parking scenarios require slowly magnifying the view around the tires to highlight details. This function's non-linear change characteristics of acceleration followed by deceleration enable a smooth transition in the view, helping the driver clearly observe the parking environment. High-speed cruise view switching type matches the easeInQuad function. When driving at high speeds, a rapid view switching is required to reduce distraction. This function's rapid response acceleration characteristics meet the timeliness requirements of the scenario. Steering assist view switching type matches the easeOutSine function. When driving on curves, a rapid expansion of the blind spot view is required, followed by a smooth transition to a stable state, ensuring the driver can promptly capture road conditions to the side and rear of the curve. The view restoration default switching type is adapted in reverse according to the original switching type. For example, if the original switching type is parking assist, it will still match easeInQuad. The function enables a smooth transition from the target view to the default view. For example, when the CMS determines "lane change enhanced view switching" based on vehicle driving status data, the easing interpolation module directly calls the easeOutSine function from the mapping library as the first easing function and loads the algorithm parameters of this function into the real-time interpolation calculation module. If it is determined to be a parking assist view switching, the easeInOutCubic function is called. At the same time, based on the detailed requirements of the parking scenario, the switching time of this function is preset to 1.5 seconds to ensure that the view zooming process is sufficient and not sluggish. All function calls are completed within the system rendering frame cycle (50fps) without affecting the smoothness of the view display.
[0035] It is evident that by constructing a mapping system between view switching types and easing functions, deep adaptation of easing functions to driving scenarios is achieved, overcoming the technical limitations of existing technologies such as the generalized application of easing functions and insufficient scenario adaptability. Different driving scenarios have different requirements for the speed and transition effect of view switching. For example, high-speed scenarios require rapid switching to ensure safety, while parking scenarios require a slow transition to present details. By specifically matching easing functions with corresponding speed characteristics, view switching can meet functional requirements while conforming to human visual inertia, effectively reducing visual abruptness and the risk of driver distraction.
[0036] Optionally, the above step of determining the first easing function corresponding to the view switching type specifically includes the following steps: A301. Obtain the vehicle type of the target vehicle; and obtain the driving scenario of the target vehicle; the driving scenario includes at least one of the following: high-speed driving, night driving, low-speed driving, overtaking, and turning; A302. Determine the second easing function corresponding to the vehicle type; A303. Based on the mapping relationship between the preset view switching type and the preset easing function, determine the easing function corresponding to the view switching type to obtain the third easing function; A304. Determine the compensation parameters corresponding to the third easing function based on the driving scenario; A305. Determine the first easing function based on the second easing function, the third easing function, and the compensation parameter.
[0037] In this embodiment, vehicle type refers to the vehicle model classification identifier of the target vehicle, including categories such as sedans, SUVs, and trucks. These differences affect the installation height of the electronic exterior rearview mirror, the field of view coverage, and the driver's visual perception distance, thus determining the sensitivity requirements for field of view switching. Driving scenario is a set of working conditions based on vehicle operating status, environmental conditions, and driving behavior, including high-speed driving, night driving, low-speed driving, overtaking, and turning. Compensation parameters are quantitative indicators that dynamically correct the third easing function according to the driving scenario, including switching duration adjustment coefficients and transition amplitude attenuation ratios, used to compensate for the adaptation problem of a single function in complex scenarios.
[0038] In a specific embodiment, the CMS reads vehicle type information in real time and determines the driving scenario based on the following signals: the vehicle speed sensor detects a vehicle speed of 90 km / h (≥80 km / h), the light sensor detects an ambient light intensity of less than 30 lux (determined as nighttime), and the turn signal is triggered with the accelerator pedal opening greater than 60% (determined as overtaking). Therefore, the overall driving scenario is "high-speed driving, nighttime driving, and overtaking combined". For example, if the vehicle type is an SUV, its side and rear blind spots are larger, and the driver's sensitivity to field of vision switching is higher. In the preset vehicle type and easing function mapping, the second easing function corresponding to SUV is easeOutSine. Since the switching type is the fifth field of vision switching type (acceleration overtaking), the third easing function corresponding to this type in the preset field of vision switching type and easing function mapping relationship library is easeInQuad, whose fast response characteristics can meet the immediate field of vision requirements during overtaking. In combination with high-speed driving scenarios, the switching duration adjustment coefficient is set to 0.8. For night driving scenarios, the transition amplitude attenuation ratio is set to 30% (to reduce the stimulation of the eyes by visual abrupt changes). In addition, considering the immediacy requirements of overtaking scenarios, the initial response rate is increased by 20%.
[0039] Optionally, the above step of determining the first easing function based on the second easing function, the third easing function, and the compensation parameter specifically includes the following steps: B301. Obtain feature parameters that characterize the current operation of the target vehicle; the feature parameters include structural feature parameters corresponding to the vehicle type, environmental feature parameters corresponding to the driving scenario, and field-of-view switching parameters. B302. Determine the first weighting coefficient corresponding to the second easing function based on the structural feature parameters; B303. Determine the second weighting coefficient corresponding to the third easing function based on the environmental characteristic parameters and the field of view switching parameters; B304. The first easing function is obtained by weighting and fusing the first weighting coefficient, the second weighting coefficient, the second easing function, the third easing function, and the compensation parameter.
[0040] In this embodiment, the feature parameters are a multi-dimensional set of parameters that comprehensively characterize the target vehicle's physical attributes, driving environment conditions, and field-of-view switching requirements. These include structural feature parameters corresponding to the vehicle type, environmental feature parameters corresponding to the driving scenario, and field-of-view switching parameters. Structural feature parameters are physical attribute parameters strongly correlated with the vehicle type, including vehicle height, wheelbase, electronic rearview mirror mounting height, and blind spot range, which affect the driver's sensitivity to and adaptation requirements for field-of-view switching. Environmental feature parameters are environmental condition parameters affecting visual perception in the driving scenario, including ambient light intensity, road surface smoothness, vehicle speed, and traffic flow. Field-of-view switching parameters, namely the first field-of-view parameter (V_start) and the second field-of-view parameter (V_end) mentioned above, include FOV, camera angle, scale parameter, and crop parameter, determining the magnitude and target state of the field-of-view switching. The first weighting coefficient is the importance allocation ratio of the structural feature parameters to the second easing function, reflecting the fundamental influence of vehicle physical attributes on the transition characteristics of field-of-view switching; the second weighting coefficient is the importance allocation ratio of the environmental feature parameters and the field-of-view switching parameters to the third easing function, reflecting the influence of scenario requirements and field-of-view switching targets on the transition characteristics.
[0041] In a specific embodiment, the target vehicle type is an SUV. The structural feature parameters read by the CMS through the vehicle ECU include: vehicle height 1.85m, electronic rearview mirror installation height 1.6m, and a side and rear blind spot range 15% larger than that of a sedan. The environmental feature parameters determined by combining environmental sensor data and driving status are: ambient light intensity 25 lux (night scene), vehicle speed 95km / h (highway scene), good road surface smoothness, and sparse traffic flow. The extracted field of view switching parameters are: first field of view parameter V_start (FOV=70°, imgsize_width=1920, crop_startX=0), and second field of view parameter V_end (FOV=120°, imgsize_width=1920, crop_startX=150), which is the field of view switching type of blind spot enhancement switching in a high-speed overtaking scenario. The first weight coefficient is set to 0.3, and the second weight coefficient is set to 0.7. The compensation parameters adopt a fixed switching duration adjustment coefficient of 0.8 and a transition amplitude attenuation ratio of 30%, which are integrated into a comprehensive compensation coefficient k = 0.8 × (1 - 0.3) = 0.56. The second easing function is the easeOutSine function corresponding to SUV (f2(t) = sin((tπ) / 2)), and the third easing function is the easeInQuad function corresponding to high-speed overtaking (f3(t) = t²). The weighted fusion process is executed through the easing interpolation module of CMS, and the fusion formula is: f1(t) = w1 × f2(t) + w2 × (f3(t) × k), where w1 = 0.3, w2 = 0.7, and k = 0.56. Substituting into the function, we get f1(t) = 0.3 × sin((tπ) / 2) + 0.7 × (t² × 0.56). The first easing function after fusion retains the fast response characteristics of easeInQuad in the early stage of switching (adapting to the immediate needs of overtaking), incorporates the smooth transition characteristics of easeOutSine in the middle stage, and attenuates the transition amplitude through compensation coefficient in the final stage (adapting to the needs of night vision protection). All calculations are completed within a 50fps rendering frame cycle to ensure real-time synchronization with the interpolation of field of view parameters.
[0042] As can be seen, by constructing a weighted fusion mechanism of feature parameters and weight coefficients, fine-grained adaptation of the easing function is achieved, breaking through the technical limitations of traditional single-function or fixed-weight fusion. Compared with the shortcomings of existing methods that do not consider weight allocation and multi-parameter fusion, this application significantly improves the scene adaptation accuracy and dynamic adjustment capability of the easing function, effectively reducing visual abruptness and the risk of attention distraction.
[0043] S104. Determine a first field of view parameter based on the first field of view image; and determine a second field of view parameter based on the second field of view image.
[0044] In this embodiment, the first field-of-view parameter, V_start, is a set of parameters characterizing the display and optical characteristics of the first field-of-view image. It includes optical parameters such as FOV (field of view), camera angle, and perspective transformation matrix, as well as image geometric transformation parameters such as scale parameters (imgsize_width, imgsize_height) and crop parameters (crop_startX, crop_startY, crop_width, crop_height). The second field-of-view parameter, V_end, is a core set of parameters characterizing the display and optical characteristics of the second field-of-view image. Its parameter types are the same as the first field-of-view parameter, but its values are adapted to the functional requirements of the target field-of-view mode.
[0045] In a specific embodiment, when the CMS detects a field-of-view switching trigger signal, the image processing module immediately reads the basic parameter values corresponding to the first field-of-view image from the currently running field-of-view configuration. The FOV is calculated based on the geometric relationship between the image edge pixels and the optical axis of the camera module. In the normal wide-angle mode, its value range is 60°~80°. The camera angle is corrected based on the installation tilt angle of the camera module and the current turning state, with an accuracy controlled within ±0.5°. The perspective transformation matrix is generated through the camera's intrinsic parameters (focal length, principal point coordinates) and extrinsic parameters (the transformation relationship between the world coordinate system and the camera coordinate system). The scale parameters imgsize_width and imgsize_height are set according to the display resolution (1920×1536) and the display ratio of the initial field of view, with the default value consistent with the physical pixel size of the display screen. The crop parameter is determined based on the effective observation area of the initial field of view. crop_startX and crop_startY are set to 0 by default, and crop_width and crop_height are consistent with imgsize_width and imgsize_height. For parking assist view switching, the FOV expands to 120°~150° to cover the area around the tires, the camera angle is adjusted downwards by 3°~5°, crop_startX and crop_startY are offset according to the pixel coordinates of the tires in the image, crop_width and crop_height are magnified by a factor of 1.2~1.5, and the imgsize_width and imgsize_height of the scale parameter remain unchanged at the display resolution. For high-speed cruise view switching, the FOV shrinks to 45°~55° to reduce motion blur, the camera angle remains horizontal, the crop parameter focuses on the core area directly behind the vehicle, and the values of imgsize_width and imgsize_height in the scale parameter remain unchanged.
[0046] S105. Determine the easing gradient field of view parameters based on the first easing function, the first field of view parameter, and the second field of view parameter.
[0047] In this embodiment of the application, the easing gradient field of view parameter refers to the set of dynamic parameters obtained by real-time interpolation calculation of the first field of view parameter and the second field of view parameter based on the nonlinear characteristics of the first easing function during the field of view switching process. It is represented by V_current and its parameter type is consistent with the first field of view parameter and the second field of view parameter. It is used to characterize the field of view state at each instant during the transition process.
[0048] In a specific embodiment, firstly, the CMS's easing interpolation module reads the preset switching duration `switch_time` from the cache unit. This duration is dynamically configured according to the view switching type. For example, the `switch_time` for parking assist view switching is set to 1.5 seconds, for highway cruise view switching to 0.8 seconds, and for lane change enhancement view switching to 1.0 second. `switch_time` can be set empirically. Within the system rendering frame cycle (50fps), the current progress parameter `t` is calculated for each frame. The calculation method is `t = current cumulative switching time / switch_time`, where the current cumulative switching time starts counting from the view switching trigger moment and is updated once per frame. For example, when `switch_time = 1.0 seconds`, the value of `t` in frame 25 is 0.5. Next, the calculated t value is input into the first easing function. If the first easing function is easeInOutCubic, the interpolation ratio α is calculated using the function f(t)=t³ / (t³+(1-t)³). If it is easeOutSine, α is calculated using f(t)=sin((tπ) / 2), which will not be elaborated here. Then, each parameter is calculated according to the interpolation formula. Taking FOV as an example, if the FOV in the first field of view parameter is 70° (normal mode) and the FOV in the second field of view parameter is 140° (parking mode), when t=0.5, the easeInOutCubic function outputs α≈0.5. At this time, the FOV in the easing gradient field of view parameter is (1-0.5)×70°+0.5×140°=105°. The dynamic values of the corresponding frames are also calculated using the same formula for the imgsize_width (initial value 1920) in the scale parameter and the crop_width (initial value 1920) in the crop parameter. After the calculation is completed, the easing gradient view parameters are transmitted to the Video process module in real time through the media path. The scale and crop parameters of vp outport are modified frame by frame and the configuration is effective to ensure that the view state rendered in each frame is accurately matched with the easing gradient view parameters. Until t≥1, the interpolation ratio α approaches 1, the easing gradient view parameters approach the second view parameters, and the switching process is completed.
[0049] It is evident that by combining the nonlinear interpolation characteristics of the easing function with the dynamic calculation of field of view parameters, the current limitations of abrupt field of view display during instantaneous switching and linear transitions are resolved. The execution of nonlinear interpolation calculations allows changes in field of view parameters to simulate the motion patterns of objects in the real world, conforming to human visual inertia and effectively eliminating the abruptness and dizziness during the switching process, helping drivers establish a continuous perception of the scene.
[0050] Optionally, the above step of determining the easing gradient field of view parameters based on the first easing function, the first field of view parameter, and the second field of view parameter specifically includes the following steps: A501. Obtain the display attribute parameters of the display terminal; and obtain the camera parameters of the camera module; A502. Determine the easing ratio parameter in the first easing function; A503. Based on the preset switching delay parameter and the first easing function, the first field of view parameter is calculated to obtain the third field of view parameter; A504. Calculate the second field of view parameter based on the display attribute parameter and the camera parameter to obtain the fourth field of view parameter; A505. Based on the easing ratio parameter, the fourth field of view parameter and the third field of view parameter are calculated to obtain the easing gradient field of view parameter.
[0051] In this embodiment, the display attribute parameters are a set of parameters characterizing the display characteristics of the display terminal, including screen resolution, refresh rate, display area size, etc. Their values are adapted to the rendering capabilities of the CMS, forming the basis for ensuring that the field of view parameters match the physical characteristics of the display terminal. Camera parameters are the hardware performance and operating status parameters of the camera module, including lens focal length, image acquisition frame rate, installation angle, pixel resolution, etc. The easing ratio parameter, i.e., the nonlinear interpolation ratio α, is obtained by operating the progress parameter t using the first easing function, and its value range is [0,1]. It determines the fusion weight of the first and second field of view parameters. The switching delay parameter is the preset total duration of the field of view switching, dynamically configured according to the field of view switching type and driving scenario, used to control the rhythm of the field of view transition.
[0052] In a specific embodiment, the CMS reads the display attribute parameters of the display terminal through a hardware interface, including a resolution of 1920×1536 and a refresh rate of 50fps; the camera module's camera parameters can be: lens focal length 8mm, acquisition frame rate 50fps, and pixel resolution 1920×1536. The switching delay parameter is set to 1.5 seconds based on the field of view switching type (parking assistance field of view switching scenario). The progress parameter t is calculated based on the system rendering frame cycle, updated once per frame. For example, the t value for the 25th frame (corresponding to 0.5 seconds) is 0.5 / 1.5≈0.33. Taking the first easing function easeInOutCubic as an example, substituting t=0.33, the easing ratio parameter α≈0.21 is calculated. The third field-of-view parameter is calculated based on the first field-of-view parameter (V_start: FOV=70°, imgsize_width=1920, crop_startX=0, crop_width=1920). The parameter change rate is adjusted using the first easing function to obtain the third field-of-view parameter: FOV=70°×(1-0.21)=55.3°. The scale and crop parameters maintain their initial proportions while incorporating an easing trend. The fourth field-of-view parameter is calculated based on the second field-of-view parameter (V_end: FOV=140°, imgsize_width=1920, crop_startX=150, crop_width=2200). The crop_width is adjusted to 1920 based on display attribute parameters, and the FOV is corrected to 135° based on camera parameters (focal length 8mm), resulting in the fourth field-of-view parameter: FOV=135°, imgsize_width=1920, crop_startX=150, crop_width=1920. Finally, the FOV parameter is calculated using the interpolation formula: FOV = (1 - 0.21) × 55.3° + 0.21 × 135° ≈ 69.7°. The scale and crop parameters are interpolated using the same logic to ensure that the parameters of each frame conform to the easing change pattern and are adapted to the hardware characteristics of the display terminal and the camera module.
[0053] Optionally, the above step of calculating the fourth field of view parameter and the third field of view parameter based on the easing ratio parameter to obtain the easing gradient field of view parameter specifically includes the following steps: B501. Based on the easing ratio parameter, interpolate the third field of view parameter and the fourth field of view parameter to obtain the interpolated field of view parameter; B502. Adjust the above interpolated field of view parameters according to the preset field of view constraint rules to obtain the target field of view parameters; B503. Generate the easing phase corresponding to the easing phase based on the target field of view parameters, so as to smoothly transition the first field of view parameters to the second field of view parameters.
[0054] In this embodiment, the interpolated field-of-view parameter is an intermediate transitional parameter obtained by nonlinear interpolation of the third and fourth field-of-view parameters based on the easing ratio parameter α. Its parameter type is consistent with the third and fourth field-of-view parameters, including FOV, camera angle, perspective transformation matrix, and image geometric transformation parameters such as scale and crop. The field-of-view constraint rule is a preset parameter validity verification standard that conforms to the device's field-of-view requirements, display terminal hardware characteristics (such as resolution upper limit), camera module physical parameter limitations (such as installation angle range), and ergonomic visual comfort thresholds. It is used to avoid image distortion, display abnormalities, or visual discomfort caused by parameters exceeding reasonable ranges.
[0055] In a specific embodiment, for example, the third field-of-view parameters are: FOV=55.3°, imgsize_width=1920, imgsize_height=1536, crop_startX=0, crop_startY=0, crop_width=1920, crop_height=1536; the fourth field-of-view parameters are: FOV=135°, imgsize_width=1920, imgsize_height=1536, crop_startX=150, crop_startY=100, crop_width=1920, crop_height=1536, and the easing ratio parameter α is calculated by the easeInOutCubic function to be α=0.5. The interpolated field-of-view parameters are calculated using the interpolation formula: FOV=(1-0.5)×55.3°+0.5×135°=95.15°; crop_startX=(1-0.5)×0+0.5×150=75; crop_startY=(1-0.5)×0+0.5×100=50.
[0056] This yields complete interpolated field-of-view (FOV) parameters. The specific FOV constraints include: FOV must be between 45° and 150°; crop_startX and crop_startY must be non-negative; crop_width ≤ imgsize_width; crop_height ≤ imgsize_height; and camera angle offset ≤ ±5°. After verifying the interpolated FOV parameters, it was found that FOV = 95.15° meets the range requirements, and all crop parameters do not exceed the image boundaries. Only the camera angle interpolation result offset is -5.2°, exceeding the ±5° threshold. Therefore, it is adjusted to -5° according to the constraint rules, while the other parameters remain unchanged, thus obtaining the target FOV parameters. The current easing phase is a stable intermediate segment. The target FOV parameters are transmitted to the CMS Video process module, and the scale and crop parameters of the vp outport are modified and configured to take effect, generating the corresponding frame's easing gradient FOV parameters. As the t value continues to increase, α gradually approaches 1, and the interpolated field of view parameter continuously approaches the fourth field of view parameter. The target field of view parameter adjusted by the constraint rules forms a continuous parameter flow, ensuring a smooth transition of the field of view image displayed in each frame. Until t=1.5 seconds, the gradually changing field of view parameter is completely consistent with the fourth field of view parameter, and the switching is completed.
[0057] It is evident that the processing mechanism of interpolation calculation, constraint adjustment, and timing output has enabled the accurate generation and smooth transition of gradually changing field of vision parameters, improving the smoothness, safety, and practicality of CMS field of vision switching, and effectively reducing the risk of visual discomfort and distraction during driving.
[0058] S106. Generate a field-of-view switching image based on the gradually changing field-of-view parameters.
[0059] In this embodiment, the field-of-view switching image refers to a dynamic image set generated in real time based on the gradually changing field-of-view parameters of each frame during the field-of-view transition. Its characteristic is that it can continuously present a smooth transition from the first field-of-view image to the second field-of-view image, avoiding visual jumps or abrupt shifts. It is generated through the collaborative work of the CMS's image processing module (Video process module) and image output module (Video output module).
[0060] In a specific embodiment, after receiving the gradual change in field of view parameters, the CMS's Video process module first parses the logical relationships between the parameters of each dimension in the parameter set. For the `scale` parameters `imgsize_width` (1920) and `imgsize_height` (1536), the original image is scaled proportionally according to the parameter values of the current frame to avoid image stretching and distortion. For the `crop` parameters (`crop_startX`, `crop_startY`, `crop_width`, `crop_height`), the effective observation area of the image is cropped using pixel-level region positioning technology. For example, in a parking scene, the detailed area around the tire is cropped according to the parameter offset, and in a high-speed scene, the core field of view area directly behind the vehicle is focused. At the same time, the image is spatially geometrically corrected by combining the perspective transformation matrix and the camera angle parameters to ensure that the scene perspective relationship conforms to human visual inertia during the transition. The Video output module converts the processed single-frame image into a signal format adapted to the display screen and transmits it to the display screen for real-time display, forming a dynamic transition effect. When the progress parameter t≥1, the gradual change in field of view parameters is completely consistent with the second field of view parameters. The resulting field of view switching image is the second field of view image, and the system simultaneously triggers a field of view switching icon display to indicate to the driver that the switch is complete. For different field of view switching types, the image generation process is also optimized for specific scenarios: in parking assistance scenarios, the clarity of details around the tires is enhanced during image generation; in high-speed cruising scenarios, the image dynamic blur suppression algorithm is optimized to ensure that the image remains clear and stable during rapid transitions.
[0061] It is evident that generating view switching images by rendering frame by frame effectively solves the problems of visual abruptness and abruptness of linear transition caused by instantaneous switching. The dynamic continuity of view switching images enables drivers to clearly perceive the trend of view changes, establish scene continuity cognition, meet human factors engineering requirements, and reduce the risk of driver attention distraction.
[0062] Optionally, the above step of generating a field-of-view switching image based on the gradually changing field-of-view parameters specifically includes the following steps: A601. Determine the field of view scaling parameters and field of view clipping parameters based on the first field of view image, the second field of view image, and the gradual change field of view parameters; A602. Calculate the image parameters corresponding to the first field of view image according to the field of view scaling parameters to obtain multiple field of view scaling parameters; A603. Calculate the plurality of field of view scaling parameters based on the field of view clipping parameters to obtain a plurality of field of view clipping parameters; A604. Determine the image gradient transition parameters in the gradual change field of view parameters; A605. Based on a preset video frame processing method, image rendering processing is performed on the multiple field-view scaling parameters, the multiple field-view cropping parameters, and the image gradient transition parameters to obtain the field-view switching image.
[0063] In this embodiment, the field-of-view scaling parameters, namely the `scale` parameters `imgsize_width` and `imgsize_height`, are dynamically adjusted based on the gradual field-of-view parameters to control the size adaptation during the transition from the first field-of-view image to the second field-of-view image. The field-of-view cropping parameters, namely the `crop_startX`, `crop_startY`, `crop_width`, and `crop_height`, are used to retain key observation areas during the field-of-view transition and remove invalid pixel information.
[0064] In a specific embodiment, the scale parameter of the first field-of-view image Vstart is 1920×1536, and the crop parameters are crop_startX=0, crop_startY=0, crop_width=1920, and crop_height=1536; the scale parameter of the second field-of-view image Vend remains 1920×1536, and the crop parameters are crop_startX=150, crop_startY=100, crop_width=1920, and crop_height=1536; the switching time is switch_time=1.5 seconds, the system rendering frame rate is 50fps, and a total of 75 frames of field-of-view switching images are generated. First, the field-of-view scaling parameters and field-of-view cropping parameters corresponding to each frame are extracted from the easing gradient field-of-view parameters. Next, the first field-of-view image is scaled proportionally frame by frame according to the field-of-view scaling parameters. Since the scaling parameters remain unchanged, the size of the 75 generated scaled field-of-view images remains 1920×1536. Only the subsequent cropping parameters are dynamically adjusted, and the corresponding scaled field-of-view image is cropped according to the field-of-view cropping parameters of each frame. For example, after cropping the 38th frame, an effective area with a starting point of (75,50) and a size of 1920×1536 is retained. The image gradient transition parameter is consistent with the easing ratio α. Then, the common field-of-view area of the first and second field-of-view images is determined by an image recognition algorithm to be a 120° range directly behind the vehicle. The 75 cropped field-of-view images are pixel-level aligned to ensure that the pixel coordinates of this area do not deviate significantly in each frame. Finally, the aligned field-of-view matching image is rendered based on the image gradient transition parameters. The transparency of each frame is gradually increased from 0 to 1, while maintaining the brightness and contrast of the common field-of-view area, generating 75 consecutive field-of-view switching images to achieve a smooth transition from the first to the second field-of-view image.
[0065] As can be seen, by scaling, cropping, matching, and rendering, a refined generation mechanism for view switching images has been constructed, which effectively solves the problems of size mismatch, region misalignment, and visual abruptness that easily occur in transition images in existing technologies, and provides reliable support for driving safety and user experience.
[0066] S107. Based on a preset interpolation rendering method, the switching image parameters corresponding to the field of view switching image are interpolated and rendered in real time so that the display terminal can smoothly switch from the first field of view image to the second field of view image.
[0067] In this embodiment, the preset interpolation rendering method is a real-time image transition rendering mechanism pre-configured in the CMS. Based on frame-by-frame generated easing field-of-view parameters, it performs real-time rendering control on continuous video frames in the media processing link, thereby achieving a smooth transition between the first and second field-of-view images. This preset interpolation rendering method ensures temporal continuity and visual coherence during field-of-view switching by applying field-of-view scaling parameters, field-of-view cropping parameters, and image easing transition parameters frame-by-frame. The display terminal is the visualization output component of the CMS, which can be an in-vehicle display screen. It maintains frame rate and temporal synchronization with the CMS's media rendering link, continuously outputting the real-time rendered video frames as visual information perceptible to the driver.
[0068] In a specific embodiment, firstly, the Video process module continuously transmits the video stream within the CMS as a media link. Each video frame, after acquisition, sequentially enters a preset image processing pipeline. Each processing module performs parameterized processing on the video frames according to a predetermined order. Easing transition field-of-view parameters are injected into the media link as control parameters and take effect frame-by-frame as the video frame passes through the corresponding processing module. For example, when a video frame enters the field-of-view scaling module, its display scale is adjusted according to the field-of-view scaling parameters corresponding to the current frame; when a video frame enters the field-of-view cropping module, the display area is cropped according to the field-of-view cropping parameters corresponding to the current frame; if the corresponding parameters are not set, the video frame passes through the processing module in its original state. During field-of-view switching, the preset interpolation rendering method does not generate or cache independent field-of-view switching image sequences. Instead, it uses the image easing transition parameters output by the easing function to ensure that the parameter changes between adjacent video frames conform to the expected easing change pattern, thereby gradually completing the transition of the field-of-view shape in consecutive video frames. When the video frame sequence corresponding to the first field-of-view image ends, the easing transition field-of-view parameters have completed the continuous evolution from the first field-of-view parameters to the second field-of-view parameters. Subsequent video frames naturally present the second field-of-view image, achieving seamless switching. For reverse switching scenarios, such as switching back from the extended rear field of view to the normal field of view when canceling a lane change, the preset interpolation rendering method uses the same media link processing mechanism, only adapting and adjusting the direction of the easing function, so that the field-of-view parameters change frame by frame in the opposite direction, thereby achieving a consistent visual transition effect while ensuring real-time performance. The display terminal uses an in-vehicle display screen with the same rendering frame rate as CMS, and its display logic is strictly synchronized with the transmission timing of the image stream. When the first field-of-view image is displayed to the last frame, the preset interpolation rendering method triggers the image stream switching, outputting frame-by-frame data of the field-of-view switching image in sequence. Each frame of data carries the corresponding scale and crop parameters. After receiving the data, the display terminal adjusts the display area and scaling ratio in real time to present a dynamic transition effect. When the field-of-view switching image is output to the last frame, it connects to the first frame of the second field-of-view image, completing the entire switching process.
[0069] It is evident that constructing a continuous image stream and achieving temporal continuity through a pre-defined interpolation rendering method effectively solves the problems of visual abruptness and abruptness in linear transitions caused by instantaneous switching in existing technologies. The synergy between the pre-defined interpolation rendering method and the gradually changing field-of-view parameters ensures the correlation and visual coherence between the field-of-view switching image and the parameters of the first and second field-of-view images. This makes the entire transition process conform to the motion laws of objects in the real world, aligns with human visual inertia, helps drivers establish scene continuity cognition, and reduces the risk of driver distraction.
[0070] For easier understanding, please refer to Figure 3 , Figure 3This is a flowchart illustrating a view switching method based on an easing function provided in this application. As can be seen, firstly, the main processor synchronously acquires steering wheel angle signals, turn signal signals, vehicle speed signals, and vehicle gear signals. These signals collectively constitute vehicle driving state data. The steering wheel angle and turn signal signals reflect the steering intention, the vehicle speed signal distinguishes between high-speed and low-speed driving conditions, and the gear signal determines forward and reverse driving states, providing a quantitative basis for subsequent scenario requirement determination. Next, based on the collected driving state data, scenario determination is performed to detect whether the current scenario requires view switching. For example, when the steering wheel angle is ≥ a preset angle threshold and the vehicle speed is in the 30-120 km / h range, it is determined to be a lane-changing scenario requiring view switching; if the gear signal is reverse and the vehicle speed is ≤ 10 km / h, it is determined to be a parking scenario requiring view switching. If the result is "No", the process ends directly; if the result is "Yes", the easing function type is selected according to the view switching type corresponding to the current scene. For example, the easeOutSine function is matched for lane changing scenarios to achieve a smooth transition after a fast response, and the easeInOutCubic function is selected for parking scenarios to achieve a smooth transition in detailed areas. After that, based on the selected easing function, the initial view parameters (first view parameters), and the target view parameters (second view parameters), a dynamic difference path is generated, which is the continuous change trajectory of the core view parameters from the initial value to the target value. The parameter change law is consistent with the speed characteristics of the easing function. Then, the "modify scale" step is executed. The process involves "configuring and applying crop parameters frame by frame" by modifying the scale parameters (including imgsize_width and imgsize_height) and crop parameters (including crop_startX, crop_startY, crop_width, and crop_height) frame by frame based on the dynamic difference path. The image processing module of the main processor makes the parameter configuration take effect in real time, ensuring that the scaling size and cropping area of each frame image adapt to the current transition state. Finally, the transition image with adjusted parameters is input to the display screen to complete the visual output of the field of view switching. If the subsequent scene determines that no further switching is needed, the process terminates.
[0071] visible, Figure 3The illustrated process achieves precise adaptation between the field of view switching process and the driving scenario. Accurate scenario determination is ensured through the collection of multi-dimensional driving state data, while the scenario-based selection of the easing function guarantees the matching degree between transition characteristics and driving needs. Real-time adjustment of the dynamic difference path and parameters ensures a smooth and natural field of view transition. Compared to the instantaneous jumps or linear translations in traditional field of view switching processes, this application transforms abstract algorithmic characteristics into an intuitive visual experience. This not only improves the scenario adaptability of the electronic rearview mirror system but also effectively reduces the risk of visual discomfort and distraction during driving, further enhancing the synergistic improvement of driving safety and user experience.
[0072] Please see Figure 4 , Figure 5 , Figure 4 This is a schematic diagram of a scene where the field of view is switched instantaneously, as provided in an embodiment of this application. Figure 5 This is a schematic diagram of a scene where the view switching is processed by an easing function, as provided in an embodiment of this application. Figure 4 and Figure 5 Each component includes a display screen, a circuit board, and a power supply. The circuit board and display screen are electrically connected. The display screen shows images before and after the view switching. The circuit board includes various chips and is electrically connected to the power supply. Figure 4 and Figure 5 The display shows both the instantaneous scene change effect and the view switching effect processed by the easing function. Specifically, Figure 4 In the corresponding instantaneous view switching scenario, the hardware architecture of the circuit board is the same as described above. Figure 2 The architecture of the video processing system shown is consistent with that of the "camera module, main processor, and display terminal." This scenario is based on experimental testing conducted using engineered hardware deployment, ensuring the realism and reproducibility of the scenario. The display screen is the output content of the display terminal, and the environment surrounding the camera module (such as textures in the scene) it presents exhibits significant geometric distortion: edges show unnatural stretching or compression characteristics, spatial proportions are unbalanced (the width-to-height ratio deviates from the actual physical size), and detail textures are compressed. The essence of this phenomenon is that during instantaneous field of view switching, the core parameters of the field of view undergo abrupt changes, jumping directly from the initial value to the target value without transition, resulting in a lack of continuity in the geometric transformation of the image. In actual driving scenarios, such abrupt image distortion would force the driver to expend extra attention to correct visual perception, not only reducing the efficiency of acquiring scene information but also easily causing visual fatigue or even temporary visual discomfort, which is a significant deviation from the core goal of electronic rearview mirror systems to improve driving safety. Figure 5 In the corresponding view switching scenario based on easing function processing, the hardware connection modules of the circuit board and power supply are... Figure 4The complete consistency indicates that the hardware configuration of the test environment remained unchanged; the only variable was the control logic for view switching. The displayed content exhibited a significant optimization effect: the scene outlines were natural, the spatial proportions were clear and natural, and the object edges transitioned naturally without obvious stretching or compression distortion. This effect was achieved by determining the view switching type (such as a parking scenario) based on vehicle driving status data, matching the corresponding easing function, and then generating a dynamic difference path covering the entire switching period—that is, the continuous change trajectory of view parameters from initial to target values. Finally, the scale and crop parameters were adjusted frame by frame to ensure that parameter changes followed the non-linear law of the easing function. During this process, the displayed content within the red box transitioned continuously at a rhythm consistent with visual inertia, allowing the driver to naturally perceive the scene changes without additional cognitive correction, resulting in a significant improvement in visual comfort.
[0073] As can be seen from the comparison, instantaneous field-of-view switching, due to abrupt parameter changes, causes geometric distortion and visual abruptness in the displayed content, making it difficult to meet the visual comfort and information cognition needs in driving scenarios. In contrast, field-of-view switching based on a easing function achieves a natural presentation of the displayed content through a smooth parameter transition, effectively solving the visual defects of instantaneous switching without changing the hardware configuration. This experimental result demonstrates that integrating human factors engineering's visual comfort requirements into the field-of-view switching control system ensures that the electronic rearview mirror system's functionality aligns with both the hardware's technical characteristics and the cognitive patterns of human vision, providing a feasible technical path for the synergistic improvement of driving safety and user experience.
[0074] The above primarily describes the solutions of the embodiments of this application from the perspective of the method execution process. It is understood that, in order to achieve the above functions, the electronic device includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments provided herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0075] This application embodiment can divide the electronic device into functional units according to the above method example. For example, each function can be divided into its own functional units, or two or more functions can be integrated into one processing unit. When dividing the electronic device into functional modules corresponding to each function, Figure 6This is a functional module block diagram of a field-of-view switching device based on an electronic rearview mirror system provided in this application embodiment. The field-of-view switching device 600 based on the electronic rearview mirror system is applied to the electronic rearview mirror system, which also includes a camera module and a display terminal. The device includes: The acquisition unit 601 is used to acquire vehicle driving status data of the target vehicle; and to acquire a first field-of-view image before the field-of-view switching and a second field-of-view image after the field-of-view switching through the camera module. The determining unit 602 is configured to: determine the field of view switching type of the target vehicle based on the vehicle driving state data; determine a first easing function corresponding to the field of view switching type; determine a first field of view parameter based on the first field of view image; and determine a second field of view parameter based on the second field of view image; and determine a gradual easing field of view parameter based on the first easing function, the first field of view parameter, and the second field of view parameter. The generation unit 603 is used to generate a field-of-view switching image based on the gradual change field-of-view parameters. The control unit 604 is used to perform real-time interpolation rendering on the switching image parameters corresponding to the field of view switching image based on a preset interpolation rendering method, so that the display terminal can smoothly switch from the first field of view image to the second field of view image.
[0076] In one possible embodiment, the determining unit 602, in determining the view switching type of the target vehicle based on the vehicle driving state data, is specifically configured to: The steering angle, speed, and driving status of the target vehicle are determined based on the vehicle driving status data; the driving status includes: reversing and forward driving. If the steering angle is greater than or equal to a preset angle threshold, and the driving state is the forward state, then the target vehicle is determined to be in the first field of view switching type when it is in the steering field of view switching type. If the driving state is the reversing state, then the target vehicle is determined to be in the reversing view switching type as the second view switching type; If the driving speed is less than or equal to a preset first speed threshold and the driving state is the forward state, then the target vehicle is determined to be in the low-speed parking view switching type as the third view switching type. If the driving speed is between the first speed threshold and the preset second speed threshold, and the driving state is the forward state, then the target vehicle is determined to be in the accelerated view switching type as the fourth view switching type. If the driving speed is greater than the second speed threshold and the driving state is the forward state, then the target vehicle is determined to be in the acceleration overtaking view switching type as the fifth view switching type.
[0077] In one possible embodiment, the determining unit 602, in determining the first easing function corresponding to the view switching type, is specifically configured to: Obtain the vehicle type of the target vehicle; and obtain the driving scenario of the target vehicle; the driving scenario includes at least one of the following: high-speed driving, night driving, low-speed driving, overtaking, and turning; Determine the second easing function corresponding to the vehicle type; Based on the mapping relationship between the preset view switching type and the preset easing function, the easing function corresponding to the view switching type is determined, and the third easing function is obtained; The compensation parameters corresponding to the third easing function are determined based on the driving scenario. The first easing function is determined based on the second easing function, the third easing function, and the compensation parameter.
[0078] In one possible embodiment, the determining unit 602, in determining the first easing function based on the second easing function, the third easing function, and the compensation parameter, is specifically configured to: Acquire feature parameters that characterize the current operation of the target vehicle; the feature parameters include structural feature parameters corresponding to the vehicle type, environmental feature parameters corresponding to the driving scenario, and field-of-view switching parameters. The first weighting coefficient corresponding to the second easing function is determined based on the structural feature parameters; The second weighting coefficient corresponding to the third easing function is determined based on the environmental feature parameters and the field of view switching parameters. The first easing function is obtained by weighting and fusing the first weighting coefficient, the second weighting coefficient, the second easing function, the third easing function, and the compensation parameter.
[0079] In one possible embodiment, the determining unit 602 is specifically configured to, in determining the easing gradient field of view parameters based on the first easing function, the first field of view parameter, and the second field of view parameter, perform the following: Obtain the display attribute parameters of the display terminal; and obtain the camera parameters of the camera module; Determine the easing ratio parameter in the first easing function; Based on the preset switching delay parameter and the first easing function, the first field of view parameter is calculated to obtain the third field of view parameter; The second field of view parameter is calculated based on the display attribute parameter and the camera parameter to obtain the fourth field of view parameter; The fourth field of view parameter and the third field of view parameter are calculated based on the easing ratio parameter to obtain the easing gradient field of view parameter.
[0080] In one possible embodiment, the determining unit 602 is specifically used for calculating the easing gradient field of view parameter based on the easing ratio parameter for the fourth field of view parameter and the third field of view parameter to obtain the easing gradient field of view parameter: Based on the easing ratio parameter, the third field of view parameter and the fourth field of view parameter are interpolated to obtain the interpolated field of view parameter; The interpolated field of view parameters are adjusted according to the preset field of view constraint rules to obtain the target field of view parameters; The easing phase is generated based on the target field of view parameters to generate the easing phase corresponding to the easing phase, so that the first field of view parameters can smoothly transition to the second field of view parameters.
[0081] In one possible embodiment, the generation unit 603, in generating the field-view switching image based on the easing gradient field-view parameters, is specifically configured to: The field of view scaling parameters and field of view cropping parameters are determined based on the first field of view image, the second field of view image, and the gradual change field of view parameters. Based on the field of view scaling parameters, the image parameters corresponding to the first field of view image are calculated to obtain multiple field of view scaling parameters; The plurality of field-of-view scaling parameters are calculated based on the field-of-view clipping parameters to obtain the plurality of field-of-view clipping parameters; Determine the image gradient transition parameters in the easing gradient field of view parameters; Based on a preset video frame processing method, the multiple field-view scaling parameters, the multiple field-view cropping parameters, and the image gradient transition parameters are used to perform image rendering processing to obtain the field-view switching image.
[0082] In summary, by implementing the field-of-view switching device based on an electronic rearview mirror system provided in this application, vehicle driving status data, a first field-of-view image before the field-of-view switching, and a second field-of-view image after the field-of-view switching are acquired. The field-of-view switching type of the target vehicle is determined based on the vehicle driving status data. Then, a first easing function corresponding to the field-of-view switching type is determined. First and second field-of-view parameters are determined based on the first and second field-of-view images. Easing gradient field-of-view parameters are determined based on the first easing function, the first and second field-of-view parameters, and the easing gradient field-of-view parameters are generated. A field-of-view switching image is generated based on the easing gradient field-of-view parameters. Real-time interpolation rendering is performed on the switching image parameters corresponding to the field-of-view switching image using a preset interpolation rendering method, enabling the display terminal to smoothly switch from the first field-of-view image to the second field-of-view image. This makes the CMS interface change more natural and improves the user's visual comfort.
[0083] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 700 may include a processor 710, a memory 720, a communication interface 730, and one or more programs 721. The processor 710, the memory 720, and the communication interface 730 can be interconnected via a bus. The one or more programs 721 are stored in the memory 720 and configured to be executed by the processor 710.
[0084] The processor 710 can be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, cells, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The communication unit can be a communication interface, a transceiver, a transceiver circuit, etc., and the storage unit can be a memory.
[0085] The memory 720 can be volatile memory or non-volatile memory, or it can include both. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous linked DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0086] It is understood that the electronic device 700 described in this application can acquire vehicle driving status data of a target vehicle; and, through a camera module, acquire a first field-of-view image before the field-of-view switch and a second field-of-view image after the field-of-view switch, determine the field-of-view switch type of the target vehicle based on the vehicle driving status data, determine a first easing function corresponding to the field-of-view switch type, determine a first field-of-view parameter based on the first field-of-view image; and, determine a second field-of-view parameter based on the second field-of-view image, determine easing gradient field-of-view parameters based on the first easing function, the first field-of-view parameter, and the second field-of-view parameter, generate a field-of-view switch image based on the easing gradient field-of-view parameter, and perform real-time interpolation rendering on the switching image parameters corresponding to the field-of-view switch image based on a preset interpolation rendering method, so that the display terminal can smoothly switch from the first field-of-view image to the second field-of-view image. Thus, by dynamically selecting the corresponding easing function according to the vehicle's driving status (starting, reversing, acceleration / deceleration), the display effect of the CMS is adjusted, making the interface changes more natural and smooth, improving user comfort, and reducing the interference caused by sudden visual changes to driving behavior.
[0087] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods described in the above method embodiments. The computer program product may be a software installation package, and the computer may include an electronic device.
[0088] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0089] The steps of the methods or algorithms described in the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in RAM, flash memory, ROM, EPROM, electrically erasable programmable read-only memory (EEPROM), registers, hard disk, portable hard disk, read-only optical disk (CD-ROM), or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. Alternatively, the processor and storage medium can exist as discrete components in a terminal device or management device.
[0090] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the embodiments of this application. It should be understood that the above descriptions are merely specific embodiments of the embodiments of this application and are not intended to limit the protection scope of the embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solutions of the embodiments of this application should be included within the protection scope of the embodiments of this application.
Claims
1. A method for switching the field of view based on an electronic rearview mirror system, characterized in that, A main processor for an electronic rearview mirror system, the electronic rearview mirror system further including a camera module and a display terminal, the main processor being connected to the camera module and the display terminal respectively, the method comprising: Acquire vehicle driving status data of the target vehicle; and acquire a first field-of-view image before the field of view is switched and a second field-of-view image after the field of view is switched through the camera module; The view switching type of the target vehicle is determined based on the vehicle driving status data; Determine the first easing function corresponding to the view switching type; A first field of view parameter is determined based on the first field of view image; and a second field of view parameter is determined based on the second field of view image; The easing gradient field of view parameters are determined based on the first easing function, the first field of view parameter, and the second field of view parameter. Generate a field-of-view switching image based on the aforementioned gradual field-of-view parameters; The switching image parameters corresponding to the field-view switching image are interpolated and rendered in real time based on a preset interpolation rendering method, so that the display terminal can smoothly switch from the first field-view image to the second field-view image.
2. The method as described in claim 1, characterized in that, Determining the view switching type of the target vehicle based on the vehicle driving status data includes: The steering angle, speed, and driving status of the target vehicle are determined based on the vehicle driving status data; the driving status includes: reversing and forward driving. If the steering angle is greater than or equal to a preset angle threshold, and the driving state is the forward state, then the target vehicle is determined to be in the first field of view switching type when it is in the steering field of view switching type. If the driving state is the reversing state, then the target vehicle is determined to be in the reversing view switching type as the second view switching type; If the driving speed is less than or equal to a preset first speed threshold and the driving state is the forward state, then the target vehicle is determined to be in the low-speed parking view switching type as the third view switching type. If the driving speed is between the first speed threshold and the preset second speed threshold, and the driving state is the forward state, then the target vehicle is determined to be in the accelerated view switching type as the fourth view switching type. If the driving speed is greater than the second speed threshold and the driving state is the forward state, then the target vehicle is determined to be in the acceleration overtaking view switching type as the fifth view switching type.
3. The method as described in claim 1, characterized in that, The step of determining the first easing function corresponding to the view switching type includes: Obtain the vehicle type of the target vehicle; and obtain the driving scenario of the target vehicle; the driving scenario includes at least one of the following: high-speed driving, night driving, low-speed driving, overtaking, and turning; Determine the second easing function corresponding to the vehicle type; Based on the mapping relationship between the preset view switching type and the preset easing function, the easing function corresponding to the view switching type is determined, and the third easing function is obtained; The compensation parameters corresponding to the third easing function are determined based on the driving scenario. The first easing function is determined based on the second easing function, the third easing function, and the compensation parameter.
4. The method as described in claim 3, characterized in that, Determining the first easing function based on the second easing function, the third easing function, and the compensation parameter includes: Acquire feature parameters that characterize the current operation of the target vehicle; the feature parameters include structural feature parameters corresponding to the vehicle type, environmental feature parameters corresponding to the driving scenario, and field-of-view switching parameters. The first weighting coefficient corresponding to the second easing function is determined based on the structural feature parameters; The second weighting coefficient corresponding to the third easing function is determined based on the environmental feature parameters and the field of view switching parameters. The first easing function is obtained by weighting and fusing the first weighting coefficient, the second weighting coefficient, the second easing function, the third easing function, and the compensation parameter.
5. The method according to any one of claims 1-4, characterized in that, The step of determining the easing gradient field of view parameters based on the first easing function, the first field of view parameter, and the second field of view parameter includes: Obtain the display attribute parameters of the display terminal; and obtain the camera parameters of the camera module; Determine the easing ratio parameter in the first easing function; Based on the preset switching delay parameter and the first easing function, the first field of view parameter is calculated to obtain the third field of view parameter; The second field of view parameter is calculated based on the display attribute parameter and the camera parameter to obtain the fourth field of view parameter; The fourth field of view parameter and the third field of view parameter are calculated based on the easing ratio parameter to obtain the easing gradient field of view parameter.
6. The method as described in claim 5, characterized in that, The calculation of the fourth field-of-view parameter and the third field-of-view parameter based on the easing ratio parameter to obtain the easing gradient field-of-view parameter includes: Based on the easing ratio parameter, the third field of view parameter and the fourth field of view parameter are interpolated to obtain the interpolated field of view parameter; The interpolated field of view parameters are adjusted according to the preset field of view constraint rules to obtain the target field of view parameters; The easing phase is generated based on the target field of view parameters to generate the easing phase corresponding to the easing phase, so that the first field of view parameters can smoothly transition to the second field of view parameters.
7. The method according to any one of claims 1-4, characterized in that, The step of generating a field-of-view switching image based on the gradually changing field-of-view parameters includes: The field of view scaling parameters and field of view cropping parameters are determined based on the first field of view image, the second field of view image, and the gradual change field of view parameters. Based on the field of view scaling parameters, the image parameters corresponding to the first field of view image are calculated to obtain multiple field of view scaling parameters; The plurality of field-of-view scaling parameters are calculated based on the field-of-view clipping parameters to obtain the plurality of field-of-view clipping parameters; Determine the image gradient transition parameters in the easing gradient field of view parameters; Based on a preset video frame processing method, the multiple field-view scaling parameters, the multiple field-view cropping parameters, and the image gradient transition parameters are used to perform image rendering processing to obtain the field-view switching image.
8. A field-of-view switching device based on an electronic rearview mirror system, characterized in that, A main processor for an electronic rearview mirror system, the electronic rearview mirror system further including a camera module and a display terminal, the main processor being connected to the camera module and the display terminal respectively, the device comprising: The acquisition unit is used to acquire vehicle driving status data of the target vehicle; and to acquire a first field-of-view image before the field-of-view switching and a second field-of-view image after the field-of-view switching through the camera module. The determining unit is configured to: determine the field-of-view switching type of the target vehicle based on the vehicle driving state data; determine a first easing function corresponding to the field-of-view switching type; determine a first field-of-view parameter based on the first field-of-view image; and determine a second field-of-view parameter based on the second field-of-view image; and determine a gradual easing field-of-view parameter based on the first easing function, the first field-of-view parameter, and the second field-of-view parameter. A generation unit is used to generate a field-of-view switching image based on the gradual change field-of-view parameters. The control unit is used to perform real-time interpolation rendering of the switching image parameters corresponding to the field of view switching image based on a preset interpolation rendering method, so that the display terminal can smoothly switch from the first field of view image to the second field of view image.
9. An electronic device, characterized in that, include: Processor, memory, communication interface, and one or more programs; The one or more programs are stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps of the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program including program instructions that, when executed by a processor, cause the processor to perform the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Video image conversion device and image capture device
CN102577374A
Transition dynamic effect generation method and device, storage medium and program product
CN113596321A
Image switching method and device and computer equipment
CN117676087A
Visual field switching method and device of electronic rearview mirror, vehicle and storage medium
CN118200718A
Vehicle image processing apparatus and vehicle image processing method
US20110032357A1