Screen color calibration method, electronic device and program product
Through the communication between the mobile terminal and the vehicle computer, the light sensing data of the calibration picture is automatically collected and processed, and the calibration color parameters are determined and sent, which solves the problem that ordinary users have difficulty in color calibration of the vehicle computer screen, and realizes a simple and fast calibration process.
Patent Information
- Application Number
- CN202510265896.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-06
- Publication Date
- 2025-04-29
AI Technical Summary
The prior art is difficult to enable ordinary users to simply and quickly color calibration of vehicle computer screens, and professional equipment is required.
Through the communication connection between the mobile terminal and the vehicle machine, a calibration command is sent to obtain the light sensing data of the calibration picture on the display screen to be calibrated, the calibration color parameters are determined, and the vehicle machine is sent to the vehicle machine for screen color calibration.
Users can use mobile terminals to automatically collect light sensing data through simple operations, quickly determine and send calibration color parameters, realizing screen color calibration of the vehicle display screen, lowering the calibration threshold.
Smart Images

Figure CN119905059A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a screen color calibration method, electronic equipment and program product. Background Art
[0002] The display screens configured on the same type of electronic devices are different, resulting in differences in the displays on each electronic device, affecting the user experience.
[0003] Different car computers can be equipped with different display screens. Due to different display screen parameters, the image colors displayed on each car computer are inconsistent, resulting in poor user experience and reduced user experience.
[0004] In order to improve the user's viewing experience, the color of the car computer display screen can be calibrated. However, at present, when calibrating the car computer screen, professional equipment is required, and it is difficult for ordinary users to calibrate the car computer screen simply and quickly. Summary of the invention
[0005] In view of this, embodiments of the present application provide a screen color calibration method, an electronic device, and a program product, so that a user can simply and quickly calibrate the screen color of an electronic device.
[0006] A first aspect of an embodiment of the present application provides a screen color calibration method, the method being applied to a mobile terminal, the mobile terminal being in communication with a vehicle computer, the method comprising:
[0007] In response to a calibration operation by a user, a calibration instruction is sent to the vehicle computer, wherein the calibration instruction is used to trigger the vehicle computer to enter a calibration mode;
[0008] Acquire light sensing data of at least one calibration picture displayed on the display screen to be calibrated of the vehicle computer;
[0009] Determining calibration color parameters based on light perception data of at least one of the calibration images;
[0010] The calibration color parameters are sent to the vehicle computer, where the calibration color parameters are used by the vehicle computer to calibrate the screen color of the display screen to be calibrated.
[0011] A second aspect of an embodiment of the present application provides a screen color calibration method, the method being applied to a vehicle computer, a mobile terminal and the vehicle computer having a communication connection, the method comprising:
[0012] receiving a calibration instruction from the mobile terminal;
[0013] In response to the calibration instruction, the vehicle computer enters a calibration mode;
[0014] Displaying at least one calibration picture on the display screen to be calibrated of the vehicle computer, wherein the calibration picture is used by the mobile terminal to determine calibration color parameters of the display screen to be calibrated;
[0015] receiving calibration color parameters from the mobile terminal;
[0016] The screen color of the display screen to be calibrated is calibrated according to the calibration color parameters.
[0017] A third aspect of an embodiment of the present application provides a mobile terminal, comprising one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the mobile terminal executes the method described in the first aspect or any possible implementation method of the first aspect.
[0018] A fourth aspect of an embodiment of the present application provides a vehicle computer, comprising one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the vehicle computer executes the method described in the second aspect or any possible implementation method of the second aspect.
[0019] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect or any possible implementation method of the first aspect is implemented.
[0020] A sixth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the second aspect or any possible implementation of the second aspect is implemented.
[0021] A seventh aspect of the embodiments of the present application provides a computer program product. When the computer program product is run on an electronic device, the mobile terminal executes the method described in the first aspect or any possible implementation of the first aspect.
[0022] An eighth aspect of the embodiments of the present application provides a computer program product. When the computer program product is run on a vehicle computer, the vehicle computer executes the method described in the second aspect or any possible implementation of the second aspect.
[0023] A ninth aspect of an embodiment of the present application provides a screen color calibration system, comprising a mobile terminal and one or more vehicle computers, wherein the mobile terminal and the vehicle computer have a communication connection, and the vehicle computer executes the method described in the second aspect or any possible implementation of the second aspect; the mobile terminal executes the method described in the first aspect or any possible implementation of the first aspect.
[0024] Compared with the prior art, the embodiments of the present application have the following advantages:
[0025] By applying the method in the embodiment of the present application, the display screen to be calibrated of the vehicle computer can be calibrated through the mobile terminal. When performing screen color calibration on the display screen to be calibrated of the vehicle computer, the user can trigger the calibration operation and place the mobile terminal in a position where the light sensing data of the calibration picture on the display screen to be calibrated can be collected. The user does not need to perform other operations. The mobile terminal can automatically collect the light sensing data of the calibration picture, determine the calibration color parameters according to the light sensing data, and send the calibration color parameters to the vehicle computer. The display screen to be calibrated can perform screen color calibration according to the calibration color parameters when displaying the image. In the embodiment of the present application, the mobile terminal can be an electronic device used by the user in daily life. By using the electronic device used by the user in daily life to perform screen color calibration on the display screen to be calibrated of other electronic devices, the execution threshold of screen color calibration can be lowered; during the screen color calibration process, the user only needs to perform simple operations to quickly and easily implement screen color calibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art.
[0027] Figure 1 A screen color calibration system is provided in an embodiment of the present application;
[0028] Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0029] Figure 3 is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application;
[0030] Figure 4 It is a schematic diagram of the steps of a screen color calibration method provided by an embodiment of the present application;
[0031] Figure 5 is a schematic diagram of entering a calibration mode provided in an embodiment of the present application;
[0032] Figure 6 This is a schematic diagram of an application scenario provided by an embodiment of the present application;
[0033] Figure 7 This is a flow chart of collecting light sensing data provided by an embodiment of the present application;
[0034] Figure 8 This is another flow chart for collecting light sensing data provided by an embodiment of the present application;
[0035] Fig. 9 is a flow chart of displaying an image provided by an embodiment of the present application;
[0036] Fig.10 It is a schematic diagram of screen color calibration for a vehicle computer provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] Some embodiments of the present application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present application and are not intended to limit the protection scope of the present application.
[0038] The car computer can be an electronic device installed in a smart vehicle, and different car computers can be equipped with different display screens. Through the display screen, users can watch videos, images, etc. in the car. Since the car computer display screen has not been professionally calibrated before leaving the factory, the display consistency of the car computer display screen is poor. When displaying videos or images, there are color differences between the pictures displayed on different displays, and users have different viewing effects on different displays, which reduces the user experience. Therefore, it is necessary to calibrate the screen color of the car computer display screen.
[0039] Usually, screen color calibration requires the use of professional screen calibration equipment, but users generally do not have professional screen calibration equipment. Therefore, it is difficult to calibrate the screen color of the car computer in daily use scenarios.
[0040] Based on this, an embodiment of the present application provides a screen color calibration method, which can use a mobile terminal to calibrate the display screen of a vehicle computer. The mobile terminal can be a common device of the user, such as a mobile phone. The vehicle computer can be a device to be calibrated for screen color.
[0041] As an example, the present application embodiment provides a screen color calibration system, such as Figure 1 As shown, the screen color calibration system may include: an electronic device 100 and one or more electronic devices 200 ( Figure 1 Only one is shown in the figure). The electronic device 100 and any electronic device 200 are connected in communication with each other, so that information can be transmitted between the electronic device 100 and any electronic device 200.
[0042] The electronic device 100 may include but is not limited to a personal computer (PC), a smart phone, a netbook, a tablet computer, a smart camera, a PDA, a portable multimedia player (PMP), an augmented reality (AR) / virtual reality (VR) device, a mixed reality (MR) device, a smart watch or a smart glasses, and other mobile terminals. The specific functions and structures of the electronic device are not limited in the embodiments of the present application.
[0043] The electronic device 200 may be an electronic device to be subjected to screen color calibration. The electronic device 200 may include but is not limited to smart car display devices (such as display screens of car computers), industrial control devices, medical testing equipment, projection equipment, entertainment playback equipment, and other devices that have not undergone screen color calibration before leaving the factory.
[0044] As an example, the present application is described by taking the electronic device 100 as a mobile phone and the electronic device 200 as a car computer.
[0045] The following uses the electronic device 100 as an example of a mobile phone. Figure 2 To describe the structure of the electronic device 100 involved in the embodiment of the present application.
[0046] like Figure 2 As shown, the structure of an electronic device 100 provided in an embodiment of the present application is shown. Figure 2 As shown, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a wireless charging coil 140A, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a microphone 170B, an earphone interface 170C, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera module 193, a display screen 194, and a Subscriber Identification Module (SIM) card interface 195. The processor 110 may be directly or indirectly connected to other components through a system bus.
[0047] The processor 110 can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of reading and executing instructions. The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 121 and / or the instructions stored in the memory provided in the processor.
[0048] The wireless communication function of the electronic device can be implemented through the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor. In the embodiment of the present application, the electronic device 100 can establish a wireless connection with the electronic device 200 through the mobile communication module 150 or the wireless communication module 160, and the electronic device 100 can send at least one calibration picture to the electronic device 200 through the mobile communication module 150 or the wireless communication module 160.
[0049] The mobile communication module 150 can provide electronic devices with solutions for wireless communications including 2G / 3G / 4G / 5G. The wireless communication module 160 can provide solutions for wireless communications including wireless local area networks (WLAN), wireless fidelity (Wi-Fi), Bluetooth (BT), global navigation satellite system (GNSS), near field communication technology (NFC), infrared technology (IR), etc., which are applied to electronic devices.
[0050] The sensor module 180 may include an ambient light sensor 180A. In some examples, the ambient light 180A may be used to collect brightness data (also referred to as "light intensity") of the ambient light, and the electronic device 100 may collect brightness data of the calibration picture through the ambient light sensor 180A. In other examples, the ambient light sensor 180A may be used to collect brightness data and color data (also referred to as "color data") of the ambient light, and the electronic device 100 may collect brightness data and color data of the calibration picture through the ambient light sensor 180A. In some other examples, the electronic device 100 may include a color sensor, which may be an independent sensor with color perception capability, or a photosensitive element of the camera module 193. The electronic device 100 may collect color data of the calibration picture through the color sensor.
[0051] The electronic device 100 implements the display function through a graphics processor GPU, a display screen 194, and an application processor AP. The display screen 194 may be one or more. In some examples, the display screen 194 may include a touch screen, also known as a "touch screen". The electronic device may provide visual output related to touch operations through the display screen 194.
[0052] It is understood that the above example structures do not constitute a specific limitation on the electronic device. In some other examples, the electronic device may include more or fewer components, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may include hardware, software, or a combination of software and hardware.
[0053] Figure 3 The structure of the electronic device 200 provided in the embodiment of the present application is described by taking the electronic device 200 as a vehicle computer as an example. Figure 3 As shown, the electronic device 200 may include: a processor 210, a wireless communication module 220, a memory 230, a display module 240, and a power module 230. The electronic device 200 may establish a wireless connection with the electronic device 100 through the wireless communication module 220, and the electronic device 200 may send a display notification message to the electronic device 100 through the wireless communication module 220.
[0054] The display screen module 240 may include one or more display screens. Figure 3 As shown in FIG. Figure 3 As shown, the electronic device 200 may include a central control display screen 241, a rear seat display screen 242, a side window display screen 243, and a sunroof display screen 244. Through the method in the embodiment of the present application, the electronic device 100 can perform screen color calibration on any display screen in the electronic device 200.
[0055] The method by which the electronic device 100 can perform screen color calibration on any display screen in the electronic device 200 can be as follows: Figure 4 shown.
[0056] Figure 4 A schematic diagram of a screen color calibration method provided in an embodiment of the present application is shown, comprising the following steps:
[0057] S401, in response to a calibration operation by a user, the mobile terminal sends a calibration instruction to the vehicle computer. Correspondingly, the vehicle computer receives the calibration instruction from the mobile terminal.
[0058] The calibration operation of the user may be a pre-agreed voice operation, gesture operation, etc. The user may initiate the calibration operation on the mobile terminal.
[0059] As an example, the mobile terminal may be installed with a screen calibration program, and the user may click on the icon of the program, and the mobile terminal may receive the user's calibration operation. As another example, the mobile terminal may receive a user's voice command, for example, when the mobile terminal recognizes that the voice command corresponding to the user's voice information is "calibrate the screen of the vehicle computer", the mobile terminal receives the user's calibration operation.
[0060] After receiving the calibration operation, the mobile terminal can determine the vehicle computer for which the calibration operation is performed, and generate a calibration instruction, which is used to trigger the vehicle computer to enter the calibration mode. The calibration instruction can be pre-agreed data. For example, the calibration instruction can include a preset string, and after receiving the user's calibration operation, the mobile terminal sends the preset string to the vehicle computer.
[0061] In a possible implementation, each display screen to be calibrated of the vehicle computer may have unique identification information. The calibration instruction may also carry the identification information of the display screen to be calibrated. Based on the identification information of the display screen to be calibrated, the vehicle computer may determine the display screen to be calibrated for screen color calibration, and then the vehicle computer may display the calibration picture using the display screen to be calibrated indicated by the identification information in the calibration mode.
[0062] Exemplarily, after the vehicle computer and the mobile phone are connected in communication, the mobile phone can display the various display screens to be calibrated in the vehicle in the user interface, and prompt the user to select the display screen to be calibrated for screen color calibration. After the user clicks on any display screen to be calibrated in the user interface, the mobile phone can determine the display screen to be calibrated for screen color calibration based on the user's click position, and send a calibration instruction to the vehicle computer. Among them, the calibration instruction can carry the identification information of the display screen to be calibrated for screen color calibration. Afterwards, the vehicle computer can determine the corresponding display screen to be calibrated that needs to be calibrated based on the identification information, and control the display screen to be calibrated corresponding to the identification information to display the calibration picture.
[0063] In a possible implementation, the user may also start a calibration operation on the vehicle computer. After receiving the calibration operation, the vehicle computer may send a calibration instruction to the mobile terminal. After receiving the calibration instruction, the mobile terminal may enter a calibration mode.
[0064] S402: The vehicle computer enters a calibration mode in response to the calibration instruction.
[0065] After the vehicle computer receives the calibration instruction sent by the mobile terminal, the vehicle computer may enter the calibration mode in response to the calibration instruction.
[0066] The calibration mode is a functional mode for performing screen color calibration on the display screen to be calibrated of the vehicle computer. As an example, in the calibration mode, the vehicle computer can display a preset user interface. Figure 5FIG. 1 is a schematic diagram of entering a calibration mode provided in an embodiment of the present application. Figure 5 As shown, a picture display area can be identified in the user interface. The picture display area is used to display the calibration picture. Based on the display area, the user can adjust the position of the mobile phone so that the ambient light sensor of the mobile phone can collect data in the display area.
[0067] If the vehicle computer includes multiple display screens to be calibrated, the calibration instruction may include identification information of the display screens to be calibrated. The vehicle computer may display a preset user interface on the display screens to be calibrated corresponding to the identification information.
[0068] As an example, after the vehicle computer enters the calibration mode, it may send a response message to the mobile terminal, where the response message is used to notify the mobile terminal that the vehicle computer has entered the calibration mode.
[0069] As an example, after the vehicle computer enters the calibration mode, the mobile terminal may send a picture display instruction to the vehicle computer, where the picture display instruction is used to instruct the vehicle computer to display at least one calibration picture.
[0070] S403, the vehicle computer displays at least one calibration picture on the display screen to be calibrated of the vehicle computer.
[0071] After displaying the calibration picture, the vehicle computer may send a display notification message to the mobile terminal, where the display notification message is used to indicate that at least one calibration picture has been displayed on the display screen to be calibrated.
[0072] S404, the mobile terminal obtains light sensing data of at least one calibration picture displayed on the display screen to be calibrated of the vehicle computer.
[0073] The light sensing data is the color data and brightness data of the calibration image on the display screen to be calibrated. The brightness data is the ambient light brightness of the environment where the calibration image is located, and the color data can be the light intensity information of the red, green and blue colors of the light beam emitted by the calibration image.
[0074] In one possible implementation, when acquiring light sensing data, the user can hold the mobile terminal and fit the ambient light sensor and the camera module to the display screen to be calibrated of the vehicle computer, so that the ambient light sensor can acquire the brightness data of the calibration image and the camera module can collect color data.
[0075] As an example, the ambient light sensor and the camera module may be disposed in a rear area of the mobile terminal. Figure 6 This is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 6 As shown, the display screen to be calibrated of the vehicle computer can display the calibration picture, and the ambient light sensor and camera module of the mobile terminal can obtain the light sensing data of the calibration picture in the display screen to be calibrated.
[0076] S405: The mobile terminal determines calibration color parameters based on light sensing data of at least one calibration picture.
[0077] The calibration picture may be a single color picture, and the color of the calibration picture may have a unique RGB coordinate value in the RGB color space. The RGB coordinate value describes the color through the mixed color relationship of red, green and blue. The number of calibration pictures may be at least 7. As an example, the number of calibration pictures may be 7, and the RGB coordinate values of the colors of the calibration pictures are (255, 0, 0), (0, 255, 0), (0, 0, 255), (128, 0, 0), (0, 128, 0), (0, 0, 128), (255, 255, 255). In some other examples, the number of calibration pictures may also be 125. Five evenly spaced values may be selected from 0-255: 0, 63, 127, 191, 255, and these five values may be used as the R value, G value and B value in the RGB coordinate value of the color of the calibration picture, respectively. 125 RGB coordinate values may be obtained based on the five values. The 125 RGB coordinate values are evenly distributed in the RGB color space. The pictures corresponding to the 125 RGB coordinate values are used as the colors of the calibration pictures for color calibration, so that the colors of the calibration pictures can represent the entire RGB color space.
[0078] Based on the light perception data of the calibration image collected by the mobile terminal, the display effect of the calibration image on the display screen to be calibrated can be determined. The human eye observation effect of the calibration image is affected by color and brightness. Based on the color data and brightness data, the human eye observation effect of the calibration image on the display screen to be calibrated can be determined.
[0079] The human eye observation effect can be characterized by XYZ color coordinates. XYZ color coordinates are the coordinates of the color observed by the human eye in the XYZ color space. The XYZ color space is a color space based on the visual characteristics of the human eye and is a device-independent color space. For example, the color coordinates of red light with a wavelength of 700 nanometers are: X = 0.73469, Y = 0.26531, Z = 0.00000.
[0080] Based on the brightness data and color data of the calibration image, the XYZ color coordinates corresponding to the color displayed on the display screen to be calibrated can be determined. The method of determining the XYZ color coordinates based on the color data and brightness data can refer to the prior art and will not be repeated here.
[0081] The RGB coordinate values of the calibration image and the XYZ color coordinates corresponding to the light sensing data have a one-to-one mapping relationship. According to the above mapping relationship, the calibration color conversion matrix of the display screen to be calibrated can be determined, and the calibration color conversion matrix is used to convert the RGB coordinate values of the display screen to be calibrated into XYZ color coordinates in the XYZ color space.
[0082] The mobile terminal may store configuration color parameters and a target color conversion matrix, wherein the configuration color parameters are color configuration parameters of a standard display screen of a vehicle computer having a target state. The target state is that the color displayed on the standard display screen of the vehicle computer is consistent with the color itself. The target color conversion matrix may be used to convert the RGB coordinate value of the standard display screen into an XYZ color coordinate in an XYZ color space.
[0083] According to the calibration color conversion matrix and the target color conversion matrix, the target matrix can be determined. The target matrix is used to characterize the mapping relationship between the RGB color space of the standard display screen and the RGB color space of the display screen to be calibrated. Exemplarily, the calculation formula of the target matrix can be as follows:
[0084] M=N*A -1
[0085] Wherein, M is the target matrix, N is the target color conversion matrix, and A is the calibration color conversion matrix. The mobile terminal can determine the calibration color inverse conversion matrix from the XYZ color space to the RGB color space of the display screen to be calibrated according to the calibration color conversion matrix. The target color conversion matrix is multiplied by the calibration color inverse conversion matrix to obtain the target matrix.
[0086] According to the target matrix and the configuration color parameters, the calibration color parameters can be determined. As an example, the calculation formula of the calibration color parameters can be:
[0087] Q=P*M
[0088] Wherein, Q is the calibration color parameter, and P is the configuration color parameter. The calibration color parameter is the product of the configuration color parameter and the target matrix.
[0089] The calibration color parameters and the configuration color parameters may both be 3D look-up tables (3D Look-Up Table, 3DLUT), and the 3D look-up table may be used to map input RGB coordinate values to output RGB coordinate values.
[0090] As an example, when the RGB coordinate value of a certain image is x1(R, G, B), when the display screen to be calibrated is used for display, according to the calibration color parameters, it can be determined that the RGB coordinate value corresponding to x1(R, G, B) is x2(R, G, B), and the XYZ color coordinate value of the image after being displayed on the display screen to be calibrated is y1(X, Y, Z). When the standard display screen is used for display, according to the configuration color parameters, it can be determined that the RGB coordinate value corresponding to x1(R, G, B) is x3(R, G, B), and the XYZ color coordinate value of the image after being displayed on the standard display screen is y2(X, Y, Z). As shown in Table 1:
[0091] Table 1
[0092] Display Enter RGB values Output RGB value XYZ color coordinates Display to be calibrated x1(R, G, B) x2(R, G, B) y1(X, Y, Z) Standard display x1(R, G, B) x3(R, G, B) y2(X, Y, Z)
[0093] in:
[0094] x2(R,G,B)=x1(R,G,B)*Q
[0095] y1(X,Y,Z)=x2(R,G,B)*A
[0096] x3(R,G,B)=x1(R,G,B)*P
[0097] y2(X,Y,Z)=x3(R,G,B)*N
[0098] but:
[0099] y1(X,Y,Z)=x1(R,G,B)*Q*A
[0100] y2(X,Y,Z)=x1(R,G,B)*P*N
[0101] Combining the above target matrix and the calculation formula of the calibration color parameters, we can get:
[0102] y1(X,Y,Z)=x1(R,G,B)*P*N*A -1 *A=x1(R,G,B)*P*N
[0103] therefore:
[0104] y1(X, Y, Z) = y2(X, Y, Z)
[0105] Since the XYZ color coordinates represent the human eye observation effect, y1(X, Y, Z) and y2(X, Y, Z) are the same, indicating that for the same RGB coordinate values, the human eye observation effect of the colors displayed by the calibrated display screen and the standard display screen is the same. Therefore, based on the above calibration color parameters, the colors displayed by the calibrated display screen and the standard display screen can achieve the same human eye observation effect.
[0106] S406: The mobile terminal sends the calibration color parameters to the vehicle computer.
[0107] After receiving and storing the calibration color parameters, the vehicle computer can exit the calibration mode and send a notification message of exiting the calibration mode to the vehicle computer.
[0108] S407, the vehicle computer performs screen color calibration according to the calibration color parameters.
[0109] The vehicle computer has an image display device, and the vehicle computer can set the calibration color parameters into the display device, so that in subsequent image displays, the image display device can process the image based on the calibration color parameters and display the processed image on the display screen to be calibrated of the vehicle computer.
[0110] As an example, when the vehicle computer plays a video, for each video frame image in the video, the display color of the video frame image can be adjusted using the calibration color parameters, and the video frame image after the display color adjustment is displayed on the display screen to be calibrated.
[0111] It is understandable that mobile terminals are commonly used devices for users. Users can use commonly used devices to calibrate the screen color of the vehicle computer. Users can easily obtain the equipment used for calibration, which lowers the threshold for screen color calibration and simplifies user operations. The mobile terminal can store the configuration color parameters of the standard display screen of the vehicle computer, and determine the calibration color parameters of the display screen to be calibrated on the vehicle computer based on the configuration color parameters, which can reduce the number of calibration pictures required, reduce the time required for calibration, reduce the amount of calculation in the process of determining the calibration color parameters, and improve calibration efficiency.
[0112] In a possible implementation manner, at least one preset calibration picture may be stored in the vehicle computer, and the vehicle computer may read at least one calibration picture from the storage and display the at least one calibration picture in sequence.
[0113] For example, the vehicle computer also stores the image display order of at least one calibration image, so that the vehicle computer can display at least one calibration image in sequence according to the image display order. For example, the vehicle computer displays each calibration image for a preset time (such as 1 minute or 30 seconds) and displays the next calibration image after the time is up.
[0114] As for the time when the vehicle computer displays each calibration picture, it can be determined by the vehicle computer itself, or preset, or set by the user, or determined by negotiation between the mobile terminal and the vehicle computer, or indicated by the mobile terminal. The embodiment of the present application does not limit this.
[0115] It is understandable that the time for each calibration picture is at least sufficient for the mobile terminal to collect light sensing data of each calibration picture.
[0116] Alternatively, the vehicle computer may display at least one calibration picture in sequence in the calibration mode based on the user's operation.
[0117] Alternatively, in a possible embodiment of the present application, at least one calibration picture is stored in the vehicle computer, and the mobile terminal can send a picture display instruction to the vehicle computer. The picture display instruction may include a picture display order, and the vehicle computer can display at least one calibration picture at a time according to the picture display instruction.
[0118] The following will be combined Figure 7 to Figure 9 To describe the process in which the mobile terminal triggers the vehicle computer to display at least one calibration picture in sequence in the embodiment of the present application.
[0119] In the process of determining the calibration color parameters, the mobile terminal needs to collect light sensing data of at least one calibration picture. In a possible implementation, when collecting light sensing data, the mobile terminal can send at least one calibration picture to the vehicle computer, and the vehicle computer can display the calibration pictures in the order in which the pictures are sent. The mobile terminal can determine the calibration picture corresponding to the collected light sensing data according to the order in which the calibration pictures are sent. Figure 7 This is a flow chart of collecting light sensing data provided by an embodiment of the present application. Figure 7 As shown, collecting light sensing data may include the following steps:
[0120] S701, the mobile terminal sends at least one calibration picture to the vehicle computer in sequence.
[0121] As an example, the mobile terminal can send one calibration picture to the vehicle computer each time, and after collecting the light data of this calibration picture, send the next calibration picture to the vehicle computer until the light data of all calibration pictures are collected. For example, the mobile terminal can first send calibration picture 1 to the vehicle computer, and after collecting the light data of calibration picture 1, the mobile terminal can send calibration picture 2 to the vehicle computer and collect the light data of calibration picture 2. And so on, until the light data of all calibration pictures are obtained.
[0122] S702, the vehicle computer displays at least one of the calibration pictures in sequence.
[0123] Each time the vehicle computer receives a calibration picture, it can display the calibration picture on the display screen to be calibrated. For example, if the vehicle computer receives calibration picture 1, the vehicle computer displays calibration picture 1 on the display screen to be calibrated. If the vehicle computer receives calibration picture 2, the vehicle computer can display calibration picture 2 on the display screen to be calibrated.
[0124] In a possible embodiment of the present application, in order to facilitate the mobile terminal to collect light sensing data of the calibration picture, in the method provided in the embodiment of the present application, each time the vehicle computer displays a calibration picture, it can also send a display notification message to the mobile terminal.
[0125] The display notification message is used to indicate that a calibration picture has been displayed. For example, the mobile terminal sends calibration picture 1 to the vehicle computer, and the vehicle computer can display calibration picture 1 on the display screen to be calibrated. Then, the vehicle computer can send a display notification message indicating that calibration picture 1 has been displayed to the mobile terminal, so that the mobile terminal can start collecting light sensing data of calibration picture 1.
[0126] As an example, after displaying a calibration picture, the vehicle computer may send a display notification message to the mobile terminal, and the display notification message is used to indicate that the calibration picture has been displayed. The display notification message may be pre-agreed data. As an example, the display notification message may include a preset string, and after displaying the calibration picture on the display screen to be calibrated, the vehicle computer may send the preset string to the mobile terminal.
[0127] Correspondingly, such as Figure 7 As shown, step S304 in the embodiment of the present application can be implemented by the following steps:
[0128] S703: In response to the display notification message, the mobile terminal collects light sensing data of the calibration picture currently displayed on the display screen to be calibrated of the vehicle computer.
[0129] After receiving the display notification message, the mobile terminal may call the ambient light sensor to collect light sensing data of a calibration picture displayed on the display screen to be calibrated.
[0130] In one possible implementation, if the ambient light sensor of the mobile terminal has difficulty collecting light data of the calibration image on the display screen to be calibrated, the mobile terminal may prompt the user to change the position of the mobile terminal so that the ambient light sensor can collect light data of the calibration image on the display screen to be calibrated.
[0131] For example, if the ambient light sensor of the mobile phone cannot collect the light data of the calibration picture on the display screen to be calibrated of the vehicle computer, the mobile phone can give a voice prompt to the user. Through voice commands, the user can be instructed to change the position of the mobile terminal to fit the ambient light sensor with the display screen to be calibrated.
[0132] S704: The mobile terminal determines whether there is the calibration picture for which no light sensing data is collected.
[0133] After collecting the light sensing data of each calibration picture, the mobile terminal can determine whether there are calibration pictures that have not collected light sensing data. As an example, the calibration picture that the mobile terminal has not sent to the vehicle computer is the calibration picture that has not collected light sensing data. As another example, the mobile terminal can associate light sensing data with the calibration picture, and the calibration picture that is not associated with light sensing data is the calibration picture that has not collected light sensing data.
[0134] If there is a calibration picture without light sensing data collected, step S701 and subsequent steps can be continued until the mobile terminal has collected light sensing data for all calibration pictures. If there is no calibration picture without light sensing data collected, step S305 and subsequent steps can be performed based on the collected light sensing data to determine the calibration color parameters.
[0135] In addition, the mobile terminal can also send multiple calibration pictures to the vehicle computer at the same time, and send a picture display instruction to the vehicle computer. The picture display instruction can include the display order of the calibration pictures. Based on the picture display instruction, the mobile terminal can instruct the vehicle computer to display the calibration pictures according to the preset display order. Figure 8 This is another flow chart for collecting light sensing data provided by the embodiment of the present application. Figure 8 As shown, the steps of collecting light sensing data can be as follows:
[0136] S801, the mobile terminal sends at least one calibration picture and a picture display instruction to the vehicle computer.
[0137] The picture display instruction is used to instruct the vehicle computer to display at least one calibration picture in sequence according to a preset order.
[0138] S802, the vehicle computer displays the calibration pictures in sequence according to a preset order in the picture display instruction.
[0139] S803, the mobile terminal collects light sensing data of each calibration picture displayed on the display screen to be calibrated of the vehicle computer.
[0140] In a possible implementation, when the vehicle computer displays the calibration pictures in a preset order, each calibration picture is displayed for a preset time, so that the mobile terminal can determine the calibration picture corresponding to the collected light sensing data according to the time information.
[0141] Due to occlusion, failure or other factors, the light sensing data collected by the mobile terminal may be incomplete. If the light sensing data collected by the mobile terminal is incomplete, the mobile terminal can determine the display sequence identifier of the calibration picture for which the light sensing data has not been collected, and send the display sequence identifier to the vehicle computer. The vehicle computer can redisplay the calibration picture corresponding to the sequence identifier. The mobile terminal can re-collect the missing light sensing data.
[0142] In a possible implementation, each time the display screen to be calibrated displays a calibration picture, the vehicle computer sends a display notification message to the mobile terminal. In response to the display notification message, the mobile terminal collects light sensing data. After collecting the light sensing data, the mobile terminal may send a second instruction to the vehicle computer, the second instruction being used to instruct to display the next calibration picture. In response to the second instruction, the vehicle computer displays the next calibration picture. This process is repeated until the mobile terminal has collected light sensing data for all calibration pictures.
[0143] Based on the collected light sensing data, the mobile terminal can determine the calibration color parameters. After the mobile terminal sends the calibration color parameters to the vehicle computer, the vehicle computer can display the image according to the calibration color parameters.
[0144] In another possible implementation, calibration pictures may be pre-stored in the vehicle computer, and each calibration picture may have a corresponding identifier. The mobile terminal may send an identifier to the vehicle computer, thereby instructing the display screen to be calibrated to display the calibration picture corresponding to the identifier. For example, the mobile terminal may send an identifier of a calibration picture to the vehicle computer each time, and after the vehicle computer displays the calibration picture corresponding to the identifier, collect the light sensing data of the calibration picture, and then continue to send an identifier of a calibration picture to the vehicle computer, and so on, until the light sensing data collection is completed. Alternatively, the mobile terminal may send multiple identifiers to the vehicle computer, and the multiple identifiers have an arrangement order; the vehicle computer may display multiple calibration pictures in sequence according to the arrangement order of the identifiers, and the mobile terminal may collect the light sensing data of multiple calibration pictures.
[0145] The display screen to be calibrated of the vehicle computer displays calibration pictures in a preset order; the mobile terminal collects corresponding light sensing data in order. Each time the display screen to be calibrated displays a calibration picture, the mobile terminal collects light sensing data once. Based on the correspondence between the display order and the collection order, the mobile terminal can determine the one-to-one correspondence between the calibration picture and the light sensing data.
[0146] Fig. 9 This is a flow chart of displaying an image provided by an embodiment of the present application. Fig. 9 As shown, the vehicle computer display image may include the following steps:
[0147] S901, associating the identification information of the display screen to be calibrated with the calibration color parameters.
[0148] The calibration color parameters may carry identification information of the display screen to be calibrated. After the vehicle computer receives the calibration color parameters, the calibration color parameters and the identification information may be associated. As an example, the vehicle computer may determine whether the received identification information is the same as the identification information of the display screen to be calibrated. If they are the same, the calibration color parameters and the identification information may be associated.
[0149] For display screens to be calibrated with the same parameters, the same calibration color parameters can be used. As an example, the vehicle computer can obtain the parameter information of the display screen to be calibrated based on the identification information, and associate the parameter information with the calibration color parameters. That is, when the vehicle computer replaces the display screen to be calibrated, if the parameters of the display screen to be calibrated after the replacement are the same as those of the display screen to be calibrated before the replacement, the previous calibration color parameters can be directly used for screen color calibration.
[0150] As another example, when the display screen to be calibrated of the vehicle computer is replaced, the screen color calibration can be restarted to update the calibration color parameters.
[0151] S902: Determine identification information of a target display screen to be calibrated that displays an image.
[0152] Before displaying an image, the vehicle computer may determine a target display screen to be calibrated for displaying the image.
[0153] If the vehicle computer includes one display screen to be calibrated, the identification information of the target display screen to be calibrated is the identification information of the only display screen to be calibrated. If the vehicle computer includes multiple display screens to be calibrated, the vehicle computer can determine the display screen to be calibrated for the image display operation, and then obtain the identification information of the display screen to be calibrated.
[0154] For example, a passenger sitting in the back seat of the vehicle can click on a video on the back seat screen to play the video. The vehicle computer can recognize that the display screen to be calibrated clicked by the user is the back seat screen, thereby obtaining identification information of the back seat screen.
[0155] S903: If the identification information of the target display screen to be calibrated is consistent with the identification information of the display screen to be calibrated associated with the calibration color parameters, display the image according to the calibration color parameters.
[0156] As an example, if the identification information of the target display screen to be calibrated is inconsistent with the calibration color parameters, the target parameter information of the target display screen to be calibrated can be obtained. The vehicle computer can determine whether there is an associated calibration color parameter for the target parameter information. If so, the calibration color parameter associated with the target parameter information is used to perform screen color calibration.
[0157] As another example, if the identification information of the target display screen to be calibrated is inconsistent with the calibration color parameters, it can indicate that the target display screen to be calibrated is not the display screen to be calibrated that has been previously calibrated. For example, the target display screen to be calibrated is a newly replaced display screen to be calibrated, or the target display screen to be calibrated is a display screen to be calibrated in the vehicle computer that has not been calibrated. At this time, the user can be prompted to perform screen color calibration on the target display screen to be calibrated.
[0158] In order to more clearly explain the solution in the present application, the solution in the present application is described below with a specific example. Fig.10 Schematic diagram of a screen color calibration for a vehicle computer provided in an embodiment of the present application. Fig.10 As shown in the figure, the screen color calibration of the vehicle computer through the mobile phone may include the following steps:
[0159] S1001, the mobile phone and the vehicle computer establish a communication connection.
[0160] S1002, the mobile phone sends a calibration instruction to the vehicle computer.
[0161] S1003, the vehicle computer switches to calibration mode.
[0162] S1004, the mobile phone sends a response message to the vehicle computer indicating that it has switched to the calibration mode.
[0163] S1005, the mobile phone sends a picture display instruction.
[0164] S1006, the vehicle computer displays at least one calibration picture.
[0165] S1007, the vehicle computer sends a display notification message.
[0166] S1008, the mobile phone obtains light sensing data of at least one calibration picture.
[0167] S1009, the mobile phone determines calibration color parameters according to the light sensing data.
[0168] S1010, the mobile phone sends calibration color parameters to the vehicle computer.
[0169] S1011, the vehicle computer associates and calibrates color parameters and identification information.
[0170] S1012, the vehicle computer exits the calibration mode.
[0171] S1013, the mobile phone sends a response message to the vehicle computer indicating that the mode has been switched to calibration mode.
[0172] S1014, the vehicle computer determines whether the target display screen to be calibrated that displays the image is consistent with the display screen to be calibrated that is associated with the calibration color parameters.
[0173] S1015, the vehicle computer displays the image according to the calibrated color parameters.
[0174] If they are consistent, the corresponding calibration color parameters are set in the vehicle platform hardware. When the vehicle platform hardware is displaying, each frame of the image can be processed based on the calibration color parameters, so that the display effect of the display screen to be calibrated is the effect after color calibration.
[0175] S1016, the vehicle computer sends a prompt message to the mobile phone.
[0176] If they are not consistent, the vehicle computer may send a prompt message to the user's mobile phone, thereby prompting the user to calibrate the screen color of the vehicle computer display to be calibrated. If the user triggers the calibration operation, S1002 and subsequent steps may be executed to update the calibration color parameters.
[0177] For example, when the display screen to be calibrated of the vehicle is replaced, the target display screen to be calibrated that displays the image is inconsistent with the calibration color parameters set in the vehicle platform hardware. At this time, the vehicle can send a prompt message to the associated user's mobile phone, prompting the user to calibrate the screen color of the display screen to be calibrated. After viewing the prompt message, the user can enter the vehicle at any time and trigger the calibration operation to update the calibration color parameters.
[0178] When the screen color calibration of the display screen to be calibrated of the vehicle computer is performed based on the method in the embodiment of the present application, the operations that the user needs to perform may include: connecting the mobile phone and the vehicle computer; performing calibration operations on the mobile phone; and aligning the ambient light sensor and color sensor of the mobile phone with the display screen to be calibrated. Then, based on the method in the embodiment of the present application, the screen color calibration of the display screen to be calibrated of the vehicle computer can be conveniently and quickly achieved.
[0179] As an example, a user can connect the car computer and the mobile phone. Then the user starts the screen calibration application. If the ambient light sensor is set on the back of the mobile phone, the user points the back of the mobile phone to the display screen to be calibrated on the car computer. After the mobile phone sends the calibration color parameters to the car computer, the user can be prompted that the calibration is completed. The duration of the whole process is very short, for example, the operation time of the screen color calibration process is within 20 seconds.
[0180] A ninth aspect of an embodiment of the present application provides a screen color calibration system, comprising a mobile terminal and one or more vehicle computers, wherein the mobile terminal and the vehicle computer have a communication connection, and based on the above-mentioned method embodiments, the mobile terminal performs screen color calibration on the display screen to be calibrated of the vehicle computer.
[0181] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0182] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0183] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application is described in detail with reference to the above-mentioned embodiments, a person skilled in the art should understand that the technical solutions described in the above-mentioned embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A screen color calibration method, characterized in that: The method is applied to a mobile terminal, and a communication connection is established between the mobile terminal and a vehicle computer. The method includes: In response to a calibration operation by a user, a calibration instruction is sent to the vehicle computer, wherein the calibration instruction is used to trigger the vehicle computer to enter a calibration mode; Acquire light sensing data of at least one calibration picture displayed on the display screen to be calibrated of the vehicle computer; Determining calibration color parameters based on light perception data of at least one of the calibration images; The calibration color parameters are sent to the vehicle computer, where the calibration color parameters are used by the vehicle computer to calibrate the screen color of the display screen to be calibrated.
2. The method according to claim 1, characterized in that Before obtaining light sensing data of at least one calibration picture displayed on the display screen to be calibrated of the vehicle computer, the method further includes: Send at least one calibration picture to the vehicle computer.
3. The method according to claim 1 or 2, characterized in that Before obtaining light sensing data of at least one calibration picture displayed on the display screen to be calibrated of the vehicle computer, the method further includes: A picture display instruction is sent to the vehicle computer, where the picture display instruction is used to instruct the vehicle computer to display at least one of the calibration pictures.
4. The method according to claim 3, characterized in that After sending the picture display instruction to the vehicle computer, the method further includes: receiving a display notification message from the vehicle computer, wherein the display notification message is used to indicate that one calibration picture has been displayed; Acquiring light sensing data of at least one calibration picture displayed on the display screen to be calibrated of the vehicle computer includes: In response to the display notification message, light sensing data of the calibration picture currently displayed is acquired.
5. The method according to claim 2, characterized in that The step of obtaining light sensing data of at least one calibration picture displayed on the display screen to be calibrated of the vehicle computer further includes: Determining whether there is the calibration picture for which no light sensing data is collected; If so, the calibration picture without collecting light sensing data is sent to the vehicle computer, and the light sensing data of the calibration picture displayed on the display screen to be calibrated of the vehicle computer is obtained.
6. The method according to claim 1, characterized in that The mobile terminal stores configuration color parameters, which are parameters of a standard display screen of the vehicle computer having a target state. The determining of calibration color parameters based on the light sensing data includes: Obtaining color coordinates corresponding to the light sensing data; Determine a target matrix according to the color coordinates, wherein the target matrix is used to represent a mapping relationship between the color space of the standard display screen and the color space of the display screen to be calibrated; The calibration color parameters are determined according to the target matrix and the configuration color parameters.
7. The method according to any one of claims 1-2 or 4-6, characterized in that: The mobile terminal has an ambient light sensor, and the step of obtaining light sensing data of at least one calibration picture displayed on the display screen to be calibrated of the vehicle computer includes: The light sensing data of at least one calibration picture is acquired through the ambient light sensor.
8. A screen color calibration method, characterized in that: The method is applied to a vehicle computer, and there is a communication connection between the vehicle computer and a mobile terminal. The method includes: receiving a calibration instruction from the mobile terminal; In response to the calibration instruction, the vehicle computer enters a calibration mode; Displaying at least one calibration picture on the display screen to be calibrated of the vehicle computer, wherein the calibration picture is used by the mobile terminal to determine calibration color parameters of the display screen to be calibrated; receiving calibration color parameters from the mobile terminal; The screen color of the display screen to be calibrated is calibrated according to the calibration color parameters.
9. The method according to claim 8, characterized in that After displaying at least one calibration picture on the display screen to be calibrated of the vehicle computer, the method further includes: A display notification message is sent to the mobile terminal, where the display notification message is used to indicate that at least one calibration picture has been displayed on the display screen to be calibrated.
10. The method according to claim 8 or 9, characterized in that The receiving of the calibration color parameter from the mobile terminal includes: Receiving calibration color parameters from the mobile terminal, the calibration color parameters carrying identification information of the display screen to be calibrated; The method further comprises: The identification information and the calibrated color parameters are associated.
11. The method according to claim 10, characterized in that The associating the identification information with the calibration color parameter includes: Obtaining parameter information of the display screen to be calibrated corresponding to the identification information; The display screen parameter information to be calibrated is associated with the calibration color parameter.
12. An electronic device, characterized in that: include: One or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, wherein the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method as described in any one of claims 1 to 11.
13. A computer program product, characterized in that When the computer program product is executed on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 11.