A color correction parameter debugging method and device, a vehicle machine, and a medium
By interactively determining the sampling area and correcting the color in real time on the vehicle's display interface, the problem of low efficiency in adjusting color correction parameters in existing technologies is solved, and fast and efficient optimization of color correction parameters is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SAIC GM WULING AUTOMOBILE CO LTD
- Filing Date
- 2026-05-27
- Publication Date
- 2026-07-31
AI Technical Summary
The current technology for color correction parameter debugging is cumbersome, requiring multiple code adjustments, file compilations, and installation tests, resulting in low efficiency.
The user can determine the sampling area through interactive operation on the vehicle's display interface. The vehicle calculates color correction parameters based on the sampling area information and displays the correction effect in real time. The user can adjust the sampling area on the interface to optimize the parameters.
It improves the efficiency of color correction parameter adjustment, shortens the adjustment time, and enhances the adaptability to complex external environments and the accuracy of color correction effects.
Smart Images

Figure CN122496723A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image technology, and in particular to a method, apparatus, vehicle-mounted system and medium for adjusting color correction parameters. Background Technology
[0002] In practical applications, multiple vehicle-mounted cameras are typically installed at several preset locations on the vehicle. This allows for the acquisition of multiple single-view images, which can be used to represent a portion of the vehicle's external environment. By fusing these multiple single-view images, a panoramic image representing the complete external environment of the vehicle can be obtained. This enables users to better observe the vehicle's external environment in scenarios such as parking and passing other vehicles, improving safety and user experience.
[0003] Understandably, colors in single-view images are often affected by factors in the vehicle's external environment. These include external lighting factors such as sunny days, cloudy days, sunsets, or shadows, as well as the actual colors of objects in the external environment. Furthermore, the colors in a panoramic image determined by fusing multiple single-view images are also affected. Therefore, to obtain panoramic images with higher color fidelity under different external environments, it is usually necessary to match different color correction parameters to different external environments and perform color correction processing on the panoramic image.
[0004] In related technologies, sampling regions can be set in panoramic or single-view images. The corresponding color correction parameters are determined by using the image information corresponding to the sampling region and a preset color correction parameter determination method. It is understandable that setting different sampling regions in an image may determine different color correction parameters, leading to different color correction effects. To obtain color correction parameters that meet actual needs, developers may need to debug the color correction parameters multiple times.
[0005] Specifically, during the process of debugging color correction parameters, developers can adjust the program code related to the position, shape, and size of the sampling area, compile and generate an installation file that includes color correction parameters, transfer the installation file to the vehicle's infotainment system and install it, and observe whether the color effect of the color-corrected panoramic image displayed on the vehicle's infotainment system meets the actual requirements; if not, repeat the above steps until color correction parameters that meet the actual requirements are obtained.
[0006] In the process of developing this application, the inventors discovered that the related technology has at least the following problems: because the debugging of color correction parameters requires repeated steps such as code adjustment, file compilation, installation and testing, the debugging of color correction parameters takes a long time and the debugging efficiency of color correction parameters is low.
[0007] It should be noted that the information disclosed in the background section of this application is intended only to enhance the understanding of the general background of this application, and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention
[0008] This application provides a method, device, vehicle-mounted system, and medium for adjusting color correction parameters, which helps to solve the problems of long adjustment time and low efficiency in color correction.
[0009] In a first aspect, embodiments of this application provide a color correction parameter adjustment method applied to an in-vehicle infotainment system. The in-vehicle infotainment system includes a display interface for displaying a panoramic image fused from multiple single-view images. The method includes: In response to a sampling area determination operation triggered by the user on the display interface, the sampling area corresponding to the single-view image or the panoramic image is determined; Based on the image information in the sampling area, determine the color correction parameters; The panoramic image is corrected according to the color correction parameters, and the corrected panoramic image is displayed on the display interface. In response to a sampling area adjustment operation triggered by the user on the display interface, the color correction parameters are adjusted; or, the color correction parameters are determined as the target color correction parameters.
[0010] In this embodiment, the user triggers a sampling area determination operation on the vehicle's infotainment system display interface to determine the sampling area corresponding to a single-view image or a panoramic image. The infotainment system determines color correction parameters based on the image information in the sampling area and displays the corrected panoramic image based on the color correction parameters on the vehicle's infotainment system display interface, allowing the user to continue adjusting or confirm the color correction parameters as the target color correction parameters. The user can adjust the sampling area on the vehicle's infotainment system display interface and quickly observe the color correction effect, shortening the time required for color correction parameter adjustment and improving the efficiency of color correction parameter adjustment.
[0011] In some possible implementations, before determining the sampling region corresponding to the panoramic image, the method further includes: The display interface shows a panoramic image fused from multiple single-view images; The sampling area determination operation includes the user's operation of determining a sampling area within the sampleable area of the panoramic image.
[0012] In this embodiment, a panoramic image is displayed on the display interface so that users can intuitively observe the corresponding image information within the sampling area, improving debugging efficiency. Simultaneously, a sampleable area is set, limiting the sampling area to a suitable region within the panoramic image for calculating color correction parameters, making it easier to obtain a corrected panoramic image that meets the requirements.
[0013] In some possible implementations, the sampleable region is the region in the panoramic image that is commonly represented by any two of the plurality of single-view images.
[0014] In this embodiment, a sampleable region is determined based on the area that corresponds to any two single-view images in a plurality of single-view images. A sampling region is then determined within the sampleable region, so that the image information in the sampling region has sufficient reference and contrast, thereby obtaining more accurate and effective color correction parameters, reducing color differences between single-view images, ensuring and improving the accuracy of color correction parameter calculation, and improving color consistency between different regions in the panoramic image.
[0015] In some possible implementations, in response to a sampling region determination operation triggered by a user on the display interface, determining the sampling region corresponding to the panoramic image includes: When there are multiple sampleable regions in the panoramic image, the target sampleable region is determined in response to the user-triggered sampleable region selection operation. The sampling area determination operation includes the user determining a sampling area within the target sampleable area in the panoramic image.
[0016] In this embodiment of the application, the user selects a target sampleable region from multiple sampleable regions through a sampleable region selection operation, and then sets a sampling region within the target sampleable region to perform color correction on the panoramic image, which can improve the debugging efficiency of color correction parameters.
[0017] In some possible implementations, before determining the sampling regions corresponding to the plurality of single-view images, the method further includes: Display any one of the plurality of single-view images in the display interface; The sampling region determination operation includes the user determining the sampling region within the sampleable region of any single-view image.
[0018] In this embodiment, a single-view image is displayed on the display interface so that the user can intuitively observe the single-view image and the corresponding image information within the sampling area, making it easier for the user to set a suitable sampling area. Simultaneously, a sampleable area is set, limiting the sampling area to a region within the single-view image suitable for calculating color correction parameters, making it easier to obtain color correction parameters that meet the requirements.
[0019] In some possible implementations, determining the color correction parameters based on image information in the sampling area includes: Based on the image information in the sampling areas corresponding to the multiple single-view images, determine the color correction parameters corresponding to the multiple single-view images respectively; The step of correcting the panoramic image according to the color correction parameters and displaying the corrected panoramic image on the display interface includes: Based on the color correction parameters corresponding to the multiple single-view images, the multiple single-view images corresponding to the panoramic image are corrected to determine multiple corrected single-view images. Based on the multiple corrected single-view images, a corrected panoramic image is determined and displayed on the display interface.
[0020] In this embodiment, color correction parameters are determined for multiple single-view images, and color correction is performed on each of the multiple single-view images. These images are then fused to determine the color-corrected panoramic image. This can further reduce color inconsistencies between different single-view images and improve color uniformity and consistency between different regions in the panoramic image.
[0021] In some possible implementations, determining the sampling region corresponding to the single-view image or the panoramic image in response to a sampling region determination operation triggered by a user on the display interface includes: In response to the user's operation of determining the shape of the sampling area, determining the size of the sampling area, and determining the position of the sampling area triggered on the display interface, the sampling area corresponding to the single-view image or the panoramic image is determined.
[0022] In this embodiment of the application, by responding to the sampling area shape determination operation, sampling area size determination operation and sampling area position determination operation triggered by the user on the display interface, the sampling area corresponding to the single-view image or the panoramic image is determined, so that the user can set the sampling area more flexibly and improve the adaptability to complex and ever-changing external environments.
[0023] Secondly, embodiments of this application provide a color correction parameter adjustment device applied to an in-vehicle infotainment system. The in-vehicle infotainment system includes a display interface for displaying a panoramic image fused from multiple single-view images. The device includes: The sampling area determination module is used to determine the sampling area corresponding to the single-view image or the panoramic image in response to a sampling area determination operation triggered by the user on the display interface. The parameter determination module is used to determine color correction parameters based on the image information in the sampling area; A panoramic image display module is used to correct the panoramic image according to the color correction parameters and display the corrected panoramic image in the display interface; An adjustment or confirmation module is used to adjust the color correction parameters in response to a sampling area adjustment operation triggered by the user on the display interface; or to determine the color correction parameters as target color correction parameters.
[0024] Thirdly, embodiments of this application provide a vehicle infotainment system, including: The display interface is used to display a panoramic image fused from multiple single-view images; A controller configured to perform the method described in any one of the first aspects.
[0025] Fourthly, embodiments of this application provide a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform the method described in any one of the first aspects. Attached Figure Description
[0026] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 A planar schematic diagram of a panoramic image provided in an embodiment of this application; Figure 2 A structural diagram illustrating an application scenario provided in related technologies; Figure 3 A flowchart illustrating a color correction parameter adjustment method provided in an embodiment of this application; Figure 4 A schematic diagram of a display interface provided in an embodiment of this application; Figure 5A schematic diagram of a sampleable region provided in an embodiment of this application; Figure 6 This is a schematic diagram of the structure of a color correction parameter adjustment device provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of a vehicle infotainment system provided in an embodiment of this application. Detailed Implementation
[0028] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0029] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0030] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0031] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0032] In practical applications, multiple vehicle-mounted cameras are typically installed at several preset locations on the vehicle. This allows for the acquisition of multiple single-view images, which can be used to represent a portion of the vehicle's external environment. By fusing these multiple single-view images from the various cameras, a panoramic image representing the complete external environment of the vehicle can be obtained.
[0033] For example, see Figure 1This is a planar schematic diagram of a panoramic image provided in an embodiment of this application. Exemplarily, four vehicle-mounted cameras—a first vehicle-mounted camera C101, a second vehicle-mounted camera C102, a third vehicle-mounted camera C103, and a fourth vehicle-mounted camera C104—are installed at four preset positions: front, rear, left, and right. Each of the four cameras can acquire a first single-view image P101, a second single-view image P102, a third single-view image P103, and a fourth single-view image P104, respectively. These images are then fused to obtain a panoramic image P100 representing the complete external environment of the vehicle C100. This allows users to better observe the vehicle's external environment in scenarios such as parking and passing other vehicles, improving safety and user experience.
[0034] Understandably, the colors in single-view images P101-P104 are typically affected by factors in the external environment of the vehicle C100. These include external lighting factors such as sunny days, cloudy days, sunsets, or shadows, as well as the actual colors of objects in the external environment. Furthermore, the colors in the panoramic image P100, determined by fusing multiple single-view images P101-P104, are also affected. Therefore, to obtain a panoramic image P100 with higher color fidelity under different external environments, it is usually necessary to match different color correction parameters to perform color correction processing on the panoramic image P100 for different external environments.
[0035] In related technologies, sampling areas can be set in panoramic images P100 or single-view images P101-P104. The corresponding color correction parameters are determined by using the image information corresponding to the sampling areas and a preset color correction parameter determination method. It is understandable that setting different sampling areas in the image may determine different color correction parameters, leading to different color correction effects. To obtain color correction parameters that meet actual needs, developers may need to debug the color correction parameters multiple times.
[0036] See Figure 2 This is a structural diagram illustrating an application scenario provided in related technologies. For example... Figure 2 As shown, the vehicle infotainment system D100 includes a display interface D101, which can be used to display a panoramic image P100; the electronic device D200 used by the developers is connected to the vehicle infotainment system D100.
[0037] During the process of debugging color correction parameters, developers can adjust the program code related to the position, shape, and size of the sampling area on the electronic device D200, compile and generate an installation file including color correction parameters, transfer the installation file to the vehicle infotainment system D100 and install it, and observe whether the color effect of the color-corrected panoramic image displayed on the display interface D101 of the vehicle infotainment system meets the actual requirements; if not, repeat the above steps until the color correction parameters that meet the actual requirements are obtained.
[0038] In the process of developing this application, the inventors discovered that the related technology has at least the following problems: because the debugging of color correction parameters requires repeated steps such as code adjustment, file compilation, installation and testing, the debugging of color correction parameters takes a long time and the debugging efficiency of color correction parameters is low.
[0039] In view of this, the embodiments of this application provide a method, apparatus, vehicle head unit and medium for adjusting color correction parameters, which helps to solve the problems of long adjustment time and low efficiency of color correction.
[0040] In this embodiment, the user triggers a sampling area determination operation on the vehicle's infotainment system display interface to determine the sampling area corresponding to a single-view image or a panoramic image. The infotainment system determines color correction parameters based on the image information in the sampling area and displays the corrected panoramic image based on the color correction parameters on the vehicle's infotainment system display interface, allowing the user to continue adjusting or confirm the color correction parameters as the target color correction parameters. The user can adjust the sampling area on the vehicle's infotainment system display interface and quickly observe the color correction effect, shortening the time required for color correction parameter adjustment and improving the efficiency of color correction parameter adjustment.
[0041] The embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0042] See Figure 3 This is a flowchart illustrating a color correction parameter adjustment method provided in an embodiment of this application. It can be applied to in-vehicle infotainment systems. The in-vehicle infotainment system includes a display interface for displaying a panoramic image fused from multiple single-view images. Figure 3 As shown, the method specifically includes the following steps.
[0043] S301: In response to a sampling area determination operation triggered by the user on the display interface, determine the sampling area corresponding to a single-view image or a panoramic image.
[0044] In the embodiments of this application, the sampling area determination operation triggered by the user on the display interface usually refers to the interactive operation input by the user through the vehicle's display interface to specify a specific area in a single-view image or panoramic image.
[0045] In other words, the sampling region determination operation is used to determine the sampling region corresponding to a single-view image or a panoramic image. The sampling region corresponding to a single-view image or a panoramic image typically refers to a local image region selected from the single-view image or panoramic image to extract image information for calculating color correction parameters.
[0046] In the embodiments of this application, the sampling region determination operation can include various implementation forms. For example, the vehicle-mounted system can store multiple preset sampling regions of different sizes, shapes, or positions. The sampling region determination operation can be an operation where the user selects one of them as a preset sampling region on the vehicle-mounted system's display interface. Of course, those skilled in the art can also set other sampling region determination operations according to actual needs, triggering the vehicle-mounted system's display interface in other ways to determine the sampling region corresponding to a single-view image or a panoramic image.
[0047] In some possible implementations, the sampling area corresponding to the single-view image or the panoramic image is determined in response to the sampling area shape determination operation, sampling area size determination operation, and sampling area position determination operation triggered by the user on the display interface.
[0048] Specifically, the sampling area shape determination operation usually refers to the interactive operation input by the user through the vehicle's display interface to set the geometric outline of the sampling area; the sampling area size determination operation usually refers to the interactive operation input by the user through the vehicle's display interface to set the coverage area of the sampling area; and the sampling area position determination operation usually refers to the interactive operation input by the user through the vehicle's display interface to set the position of the sampling area in a single-view image or a panoramic image.
[0049] It is understandable that operations such as determining the shape of the sampling area, determining the size of the sampling area, and determining the location of the sampling area can all include a variety of specific operation forms.
[0050] In some possible implementations, the sampling area shape determination operation includes the user drawing the geometric outline of the sampling area on the display interface through touch input or other means; the sampling area size determination operation includes the user zooming in or out of the coverage area of the sampling area with two fingers on the display interface; and the sampling area position determination operation includes the user dragging the entire sampling area on the display interface to determine the position of the sampling area in a single-view image or a panoramic image.
[0051] In some possible implementations, the operations for determining the shape, size, and location of the sampling area include the user's adjustment of sampling points on the outline of the sampling area on the vehicle's display interface. In other words, the user can determine the sampling area by adjusting the geometric outline, coverage, and location of multiple sequentially connected sampling points on the sampling area outline.
[0052] In some possible implementations, the vehicle-mounted infotainment system's display interface includes three types of sampling area determination controls: shape determination controls, size determination controls, and position determination controls. The sampling area shape determination operation includes user-triggered actions on the shape determination control; the sampling area size determination operation includes user-triggered actions on the size determination control; and the sampling area position determination operation includes user-triggered actions on the position determination control. Specifically, the shape determination control is used to set the geometric outline of the sampling area; the size determination control is used to set the coverage area of the sampling area; and the position determination control is used to set the position of the sampling area in a single-view image or a panoramic image.
[0053] For example, the shape determination control includes a square control and a rectangle control; the size determination control includes a zoom-in control and a zoom-out control; and the position determination control includes a move-up control, a move-down control, a move-left control, and a move-right control.
[0054] In this embodiment of the application, by responding to the sampling area shape determination operation, sampling area size determination operation and sampling area position determination operation triggered by the user on the display interface, the sampling area corresponding to the single-view image or the panoramic image is determined, so that the user can set the sampling area more flexibly and improve the adaptability to complex and ever-changing external environments.
[0055] It should be noted that, in the embodiments of this application, when a user triggers the sampling area determination operation on the display interface, any one of multiple single-view images can be displayed on the display interface; of course, it is also possible to choose to display a panoramic image fused from multiple single-view images on the display interface; of course, it is also possible to not display single-view or multi-view images on the display interface, but only display the user interface. The embodiments of this application do not impose specific limitations in this regard.
[0056] S302: Determine the color correction parameters based on the image information in the sampling area.
[0057] Understandably, after determining the sampling area, the vehicle's infotainment system can extract image information from the sampling area corresponding to a single-view or panoramic image and calculate the corresponding color correction parameters. In practical applications, color correction parameters can be determined based on the image information in the sampling area using various feasible color correction parameter determination methods.
[0058] Specifically, color correction parameters include white balance correction parameters, and the image information in the sampling area typically includes the color information of each pixel within that area. The vehicle's infotainment system calculates the corresponding white balance correction parameters based on the image information in the sampling area. Of course, color correction parameters can also include the gain coefficients for the red, green, and blue color channels.
[0059] For example, a white balance correction algorithm based on the neutral gray assumption can be used. This algorithm assumes that objects within the sampling area appear as neutral gray in the real world, meaning the values of the red, green, and blue color channels should be equal. The vehicle's system calculates the average value of the red, green, and blue color channels for all pixels within the sampling area. Then, using one of these channels as a reference, it calculates the gain coefficients for the other two channels, ensuring that the average values of the three channels are equal after correction.
[0060] Of course, the above-described color correction parameters and methods for determining color correction parameters are merely illustrative examples and should not be considered as limitations on the embodiments of this application. Those skilled in the art can also set specific representations of color correction parameters and specific methods for determining color correction parameters according to actual needs.
[0061] S303: Corrects the panoramic image according to the color correction parameters and displays the corrected panoramic image on the display interface.
[0062] Understandably, after determining the color correction parameters, the vehicle's infotainment system performs color correction processing on the panoramic image based on these parameters. After the color correction process is complete, the corrected panoramic image is displayed on the screen.
[0063] It is understandable that correcting a panoramic image based on color correction parameters to determine the corrected panoramic image may include correcting at least one of the multiple single-view images corresponding to the panoramic image, and then fusing the multiple single-view images to determine the corrected panoramic image.
[0064] Of course, correcting the panoramic image based on the color correction parameters to determine the corrected panoramic image may also include fusing multiple single-view images to determine an initial panoramic image, and then performing color correction processing on the initial panoramic image based on the color correction parameters to determine the corrected panoramic image.
[0065] In some possible implementations, color correction parameters corresponding to multiple single-view images are determined based on image information in the sampling areas corresponding to multiple single-view images; based on the color correction parameters corresponding to multiple single-view images, multiple single-view images corresponding to the panoramic image are corrected to determine multiple corrected single-view images; based on the multiple corrected single-view images, the corrected panoramic image is determined and displayed on the display interface.
[0066] In this embodiment, the sampling area corresponding to a single-view image can have a corresponding relationship with the color correction parameters corresponding to the single-view image. Specifically, the vehicle system can extract the image information from the sampling area corresponding to each single-view image, and then independently calculate the color correction parameters corresponding to each single-view image based on the image information from the sampling area corresponding to each single-view image.
[0067] Of course, there may not be a direct correspondence between the sampling area and the color correction parameters of a single-view image. Specifically, the vehicle's infotainment system can extract image information from the sampling areas of all single-view images, perform joint analysis of the image information from all sampling areas, and obtain the color correction parameters for each single-view image through simultaneous calculation.
[0068] After determining the color correction parameters corresponding to multiple single-view images, the vehicle's infotainment system uses the color correction parameters for each single-view image to perform independent color correction processing on that single-view image, resulting in multiple corrected single-view images. The infotainment system then merges these multiple corrected single-view images according to preset fusion rules to obtain a corrected panoramic image, which is then displayed on the display interface.
[0069] As can be understood, in this embodiment, color correction parameters are determined for each of the multiple single-view images, and color correction is performed on each of the multiple single-view images separately, which are then fused to determine the color-corrected panoramic image. This can further reduce color inconsistencies between different single-view images and improve color uniformity and consistency between different regions in the panoramic image.
[0070] S304: In response to a sampling area adjustment operation triggered by the user on the display interface, adjust the color correction parameters; or, determine the color correction parameters as the target color correction parameters.
[0071] Understandably, users can observe the corrected panoramic image displayed on the screen and then perform subsequent operations according to their actual needs. If a user believes that the color effect of the corrected panoramic image does not meet their actual needs, they can trigger a sampling area adjustment operation on the display screen to adjust the color correction parameters.
[0072] Understandably, in some possible implementations, the sampling area adjustment operation can correspond to the aforementioned sampling area determination operation. That is, the user can trigger the sampling area determination operation again on the display interface to determine a new sampling area, and thus determine new color correction parameters. In other words, the color correction parameters are adjusted.
[0073] Furthermore, after determining the new color correction parameters, the vehicle's infotainment system re-corrects the panoramic image based on these parameters. After this second color correction process, the corrected panoramic image is updated on the display interface, allowing the user to perform subsequent operations according to their needs.
[0074] If the user deems the color effect of the corrected panoramic image satisfactory, the color correction parameters can be set as the target color correction parameters. In some possible implementations, the color correction parameters are set as the target color correction parameters in response to a color correction confirmation action triggered by the user on the display interface. Of course, those skilled in the art can also set other color correction parameter confirmation methods according to actual needs. For example, if no user-triggered action is received within a preset time range after the display interface shows the corrected panoramic image, the color correction parameters are set as the target color correction parameters.
[0075] In this embodiment, the user triggers a sampling area determination operation on the vehicle's infotainment system display interface to determine the sampling area corresponding to a single-view image or a panoramic image. The infotainment system determines color correction parameters based on the image information in the sampling area and displays the corrected panoramic image based on the color correction parameters on the vehicle's infotainment system display interface, allowing the user to continue adjusting or confirm the color correction parameters as the target color correction parameters. The user can adjust the sampling area on the vehicle's infotainment system display interface and quickly observe the color correction effect, shortening the time required for color correction parameter adjustment and improving the efficiency of color correction parameter adjustment.
[0076] To better understand the technical solution of the embodiments of this application, the following is a detailed explanation of determining the sampling area corresponding to the panoramic image in step S301.
[0077] In some possible implementations, before determining the sampling area corresponding to the panoramic image, the method further includes: displaying a panoramic image fused from multiple single-view images on the display interface; the sampling area determination operation includes the user's operation of determining a sampling area within the sampleable area of the panoramic image.
[0078] It is understood that the vehicle's display interface can display a panoramic image fused from multiple single-view images. In this embodiment, when the user triggers the sampling area determination operation, the vehicle can display a panoramic image on the display interface so that the user can intuitively observe the corresponding image information within the sampling area and improve debugging efficiency.
[0079] For example, see Figure 4 This is a schematic diagram of a display interface provided in an embodiment of this application, such as... Figure 4As shown, the vehicle-mounted infotainment system D100 includes a display interface D101, which displays a panoramic image P100 fused from multiple single-view images, as well as three types of sampling area determination controls: shape determination control K401, size determination control K402, and position determination control K403. For a detailed explanation of the sampling area determination controls, please refer to the content in S301 above; it will not be repeated here.
[0080] Understandably, users can determine the sampling area A401 within the sampleable area of the panoramic image P100 by manipulating the shape determination control K401, the size determination control K402, and the position determination control K403.
[0081] Furthermore, the sampling area determination operation includes the operation of the user determining a sampling area within the sampleable area in the panoramic image.
[0082] In this embodiment, the sampleable area typically refers to a specific area pre-set by the vehicle system for panoramic images, allowing users to set the sampling area. It is understood that the sampleable area is used to limit the setting range of the sampling area, preventing users from setting the sampling area in areas unsuitable for color correction parameter calculation.
[0083] Specifically, the sampleable area can be a fixed area pre-set by the vehicle's infotainment system based on the imaging characteristics of the panoramic image, or it can be a variable area dynamically adjusted by the vehicle's infotainment system based on the current external environment. Those skilled in the art can set the size, position, and shape of the sampleable area according to the actual situation.
[0084] For example, see Figure 5 This is a schematic diagram of a sampleable region provided in an embodiment of this application, such as... Figure 5 As shown in A, an elliptical ring-shaped sampleable region can be set in the panoramic image, i.e. Figure 5 The shaded area in region A. It's understandable that areas near and far from vehicles in a panoramic image may be affected by distortion and are unsuitable as sampling areas for color correction parameter calculation. Settings such as... Figure 5 The shaded area in A represents the sampleable region, making it easier to obtain a corrected panoramic image that meets the requirements.
[0085] It is understood that, in this embodiment of the application, a panoramic image is displayed on the display interface so that users can intuitively observe the corresponding image information within the sampling area, thereby improving debugging efficiency. Simultaneously, a sampleable area is set, limiting the sampling area to a suitable region within the panoramic image for calculating color correction parameters, making it easier to obtain a corrected panoramic image that meets the requirements.
[0086] In some possible implementations, the sampleable region is the region in the panoramic image that is commonly represented by any two of the plurality of single-view images.
[0087] Specifically, the two single-view images acquired by the two vehicle-mounted cameras may contain partially overlapping areas. Therefore, the sampleable region can be determined by the area shared by any two single-view images. For example... Figure 5 As shown in B, the sampleable region can be set to the four shaded areas in the panoramic image.
[0088] Setting the sampleable region as the overlapping area between multiple single-view images allows the sampled region to simultaneously contain image information of the same external environment area captured by two different vehicle-mounted cameras. This ensures that the image information in the sampled region has sufficient reference and contrast, resulting in more accurate and effective color correction parameters. Reducing color differences between single-view images ensures and improves the accuracy of color correction parameter calculation, thereby enhancing color consistency across different regions in the panoramic image.
[0089] In practical applications, a panoramic image may contain one or more sampleable regions. Those skilled in the art can set one or more sampling regions according to the actual situation, such as the number of sampleable regions and the specific shape, size, and location of each sampleable region. Specifically, a single sampleable region may contain zero or one or more sampling regions.
[0090] In some possible implementations, when there are multiple sampleable regions in the panoramic image, a target sampleable region is determined in response to a user-triggered sampleable region selection operation; the sampleable region determination operation includes the user's operation of determining a sampleable region within the target sampleable region in the panoramic image.
[0091] Specifically, when there are multiple independent sampleable regions in a panoramic image, the user can first specify the target sampleable region through a sampleable region selection operation, and then perform a sampling region determination operation within the target sampleable region to determine the corresponding sampling region. The sampleable region selection operation typically refers to an interactive operation input by the user through the vehicle's infotainment system display interface, used to specify the target sampleable region from multiple sampleable regions.
[0092] It is understandable that the sampleable region selection operation can take many specific forms. For example, the vehicle's infotainment system may have a sampleable region selection control on its display interface, allowing users to select a sampleable region by triggering the control.
[0093] For example, the sampleable region selection control includes a first sampleable region control, a second sampleable region control, a third sampleable region control, a fourth sampleable region control, etc., and the user triggers the corresponding control to select the target sampleable region. Alternatively, the sampleable region selection control may include a previous sampleable region control and a next sampleable region control, and the user can switch between different sampleable regions as the target sampleable region by triggering the previous or next sampleable region control.
[0094] Of course, those skilled in the art can also set other specific forms of the sampleable region selection operation. For example, the sampleable region selection operation may include the user clicking on a sampleable region on the panoramic image in the display interface, and the clicked sampleable region being determined as the target sampleable region.
[0095] In this embodiment of the application, the user selects a target sampleable region from multiple sampleable regions through a sampleable region selection operation, and then sets a sampling region within the target sampleable region to perform color correction on the panoramic image, which can improve the debugging efficiency of color correction parameters.
[0096] In some possible implementations, any one of the plurality of single-view images is displayed in the display interface; the sampling region determination operation includes the user determining a sampling region within the sampleable region of the arbitrary single-view image.
[0097] In some possible implementations, any one of the plurality of single-view images is displayed in the display interface; the sampling region determination operation includes the user determining a sampling region within the sampleable region of the arbitrary single-view image.
[0098] It is understood that the vehicle's infotainment system can display any one of multiple single-view images. In this embodiment, when the user triggers the sampling area determination operation, the vehicle's infotainment system can display a single-view image on the display interface, allowing the user to intuitively set the sampling area and improve the efficiency of color correction parameter adjustment.
[0099] Furthermore, the sampling region determination operation includes the user determining a sampling region within the sampleable region of any single-view image. In this embodiment, the sampleable region corresponding to the single-view image typically refers to a specific region pre-set by the vehicle system for that single-view image, allowing the user to set the sampling region. The sampleable region is used to limit the setting range of the sampling region, preventing the user from setting the sampling region in an area unsuitable for color correction parameter calculation.
[0100] For details regarding the sampleable area, please refer to the previous text; it will not be repeated here.
[0101] In some possible implementations, the vehicle's infotainment system has a single-view image switching control on its display interface. Users can switch between different single-view images on the display interface by triggering the single-view image switching control.
[0102] In this embodiment, a single-view image is displayed on the display interface so that the user can intuitively observe the single-view image and the corresponding image information within the sampling area, making it easier for the user to set a suitable sampling area. Simultaneously, a sampleable area is set, limiting the sampling area to a region within the single-view image suitable for calculating color correction parameters, making it easier to obtain color correction parameters that meet the requirements.
[0103] Corresponding to the above embodiments, this application also provides a color correction parameter debugging device applied to an in-vehicle infotainment system. The in-vehicle infotainment system includes a display interface for displaying a panoramic image fused from multiple single-view images. See also... Figure 6 This is a schematic diagram of a color correction parameter adjustment device provided in an embodiment of this application. Figure 6 As shown, the color correction parameter adjustment device 600 includes a sampling area determination module 601, a parameter determination module 602, a panoramic image display module 603, and an adjustment or confirmation module 604.
[0104] The sampling area determination module 601 is used to determine the sampling area corresponding to the single-view image or the panoramic image in response to a sampling area determination operation triggered by the user on the display interface. The parameter determination module 602 is used to determine color correction parameters based on the image information in the sampling area; The panoramic image display module 603 is used to correct the panoramic image according to the color correction parameters and display the corrected panoramic image in the display interface. The adjustment or confirmation module 604 is used to adjust the color correction parameters in response to a sampling area adjustment operation triggered by the user on the display interface; or to determine the color correction parameters as target color correction parameters.
[0105] In some possible implementations, the panoramic image display module 603 is used to display a panoramic image fused from multiple single-view images on the display interface; the sampling area determination operation includes an operation by which a user determines a sampling area within a sampleable region of the panoramic image.
[0106] In some possible implementations, the color correction parameter adjustment device 600 further includes a target sampleable region determination module. This module is used to determine a target sampleable region in response to a user-triggered sampleable region selection operation when multiple sampleable regions exist in the panoramic image; the sampleable region determination operation includes the user's operation of determining a sampled region within the target sampleable region of the panoramic image.
[0107] In some possible implementations, the color correction parameter adjustment device 600 further includes a single-view image display module. The single-view image display module is used to display any one of the plurality of single-view images on the display interface; the sampling region determination operation includes the user's operation of determining a sampling region within the sampleable region of the arbitrary single-view image.
[0108] In some possible implementations, the parameter determination module 602 is specifically used to determine the color correction parameters corresponding to the multiple single-view images based on the image information in the sampling areas corresponding to the multiple single-view images.
[0109] The panoramic image display module 603 is specifically used to correct the multiple single-view images corresponding to the panoramic image according to the color correction parameters corresponding to the multiple single-view images respectively, to determine multiple corrected single-view images; to determine the corrected panoramic image according to the multiple corrected single-view images, and to display the corrected panoramic image in the display interface.
[0110] In some possible implementations, the sampling region determination module 601 is specifically used to determine the sampling region corresponding to the single-view image or the panoramic image in response to the sampling region shape determination operation, sampling region size determination operation and sampling region position determination operation triggered by the user on the display interface.
[0111] For details regarding the embodiments of this application, please refer to the description of the above method embodiments. For the sake of brevity, these details will not be repeated here.
[0112] Corresponding to the above embodiments, this application also provides a vehicle infotainment system, see below. Figure 7 This is a schematic diagram of the structure of a vehicle infotainment system provided in an embodiment of this application, such as... Figure 7 As shown, the vehicle-mounted system 700 includes a display interface 701 and a controller 702. The display interface 701 is used to display a panoramic image fused from multiple single-view images; the controller 702 is configured to execute the method described in any of the method embodiments.
[0113] For details regarding the embodiments of this application, please refer to the description of the above method embodiments. For the sake of brevity, these details will not be repeated here.
[0114] Corresponding to the above embodiments, this application also provides a computer-readable storage medium, wherein the computer-readable storage medium may store a program, and when the program runs, it can control the device where the computer-readable storage medium is located to execute some or all of the steps in the above method embodiments. In specific implementation, the computer-readable storage medium may be a magnetic disk, an optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0115] For details regarding the embodiments of this application, please refer to the description of the above method embodiments. For the sake of brevity, these details will not be repeated here.
[0116] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, or the existence of B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects have an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0117] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments disclosed herein can be implemented using electronic hardware, computer software, or a combination of electronic hardware and software. Whether these functions are implemented in hardware or software 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.
[0118] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the above-described apparatus, controller, and computer storage medium can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0119] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0120] The above description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application. The protection scope of this application should be determined by the protection scope of the claims.
Claims
1. A method for adjusting color correction parameters, characterized in that, Applied to in-vehicle infotainment systems, the in-vehicle infotainment system includes a display interface for displaying a panoramic image fused from multiple single-view images, the method comprising: In response to a sampling area determination operation triggered by the user on the display interface, the sampling area corresponding to the single-view image or the panoramic image is determined; Based on the image information in the sampling area, determine the color correction parameters; The panoramic image is corrected according to the color correction parameters, and the corrected panoramic image is displayed on the display interface. In response to a sampling area adjustment operation triggered by the user on the display interface, the color correction parameters are adjusted; or, the color correction parameters are determined as the target color correction parameters.
2. The method according to claim 1, characterized in that, Before determining the sampling area corresponding to the panoramic image, the process also includes: The display interface shows a panoramic image fused from multiple single-view images; The sampling area determination operation includes the user's operation of determining a sampling area within the sampleable area of the panoramic image.
3. The method according to claim 2, characterized in that, The sampleable region is the area in the panoramic image that is shared by any two of the multiple single-view images.
4. The method according to any one of claims 2-3, characterized in that, In response to a sampling region determination operation triggered by the user on the display interface, the sampling region corresponding to the panoramic image is determined, including: When there are multiple sampleable regions in the panoramic image, the target sampleable region is determined in response to the user-triggered sampleable region selection operation. The sampling area determination operation includes the user determining a sampling area within the target sampleable area in the panoramic image.
5. The method according to claim 1, characterized in that, Before determining the sampling regions corresponding to the plurality of single-view images, the process further includes: Display any one of the plurality of single-view images in the display interface; The sampling region determination operation includes the user determining the sampling region within the sampleable region of any single-view image.
6. The method according to claim 1, characterized in that, The step of determining color correction parameters based on image information in the sampling area includes: Based on the image information in the sampling areas corresponding to the multiple single-view images, determine the color correction parameters corresponding to the multiple single-view images respectively; The step of correcting the panoramic image according to the color correction parameters and displaying the corrected panoramic image on the display interface includes: Based on the color correction parameters corresponding to the multiple single-view images, the multiple single-view images corresponding to the panoramic image are corrected to determine multiple corrected single-view images. Based on the multiple corrected single-view images, a corrected panoramic image is determined and displayed on the display interface.
7. The method according to claim 1, characterized in that, The step of determining the sampling region corresponding to the single-view image or the panoramic image in response to a sampling region determination operation triggered by the user on the display interface includes: In response to the user's operation of determining the shape of the sampling area, determining the size of the sampling area, and determining the position of the sampling area triggered on the display interface, the sampling area corresponding to the single-view image or the panoramic image is determined.
8. A color correction parameter adjustment device, characterized in that, An in-vehicle infotainment system, the in-vehicle infotainment system including a display interface for displaying a panoramic image fused from multiple single-view images, the device comprising: The sampling area determination module is used to determine the sampling area corresponding to the single-view image or the panoramic image in response to a sampling area determination operation triggered by the user on the display interface. The parameter determination module is used to determine color correction parameters based on the image information in the sampling area; A panoramic image display module is used to correct the panoramic image according to the color correction parameters and display the corrected panoramic image in the display interface; An adjustment or confirmation module is used to adjust the color correction parameters in response to a sampling area adjustment operation triggered by the user on the display interface; or to determine the color correction parameters as target color correction parameters.
9. A vehicle infotainment system, characterized in that, include: The display interface is used to display a panoramic image fused from multiple single-view images; A controller configured to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 7.