Photo display method and device, equipment, storage medium and program product

By dynamically adjusting the screen color performance of the terminal device, the color deviation of the photo display caused by the color difference between the screen and the camera is solved, achieving a higher true restore and an improved user experience.

CN120547445APending Publication Date: 2025-08-26SHANGHAI LONGCHEER INTELLIGENCE TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510691196.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-27
Publication Date
2025-08-26

AI Technical Summary

Technical Problem

The color difference between different screens and cameras leads to color deviation when the photos are displayed on the terminal device, affecting the true restore of the photos and the user's visual experience.

Method used

By obtaining user instructions, we determine whether the photo is taken by the terminal device, read the color parameters marked when the camera is taken, and determine the screen color parameters of the screen ID map of the terminal device based on the screen stored screen color dictionary, and dynamically adjust the screen color performance to compensate for the superposition effect between the camera and the screen.

Benefits of technology

Reduces the color deviation when the photo is displayed, and improves the real restore of the photo and user visual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120547445A_ABST
    Figure CN120547445A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a photo display method and device, equipment, a storage medium and a program product. The method comprises the following steps: acquiring a user instruction, when the user instruction indicates to check a target photo, determining whether the target photo is shot by a terminal device, if the target photo is shot by the terminal device, reading a camera color parameter marked on the target photo during camera shooting, and determining a screen color parameter mapped by the screen ID of the terminal device based on a screen color dictionary stored in the screen, and dynamically adjusting the color performance of the screen according to the camera color parameter and the screen color parameter. The method is used for achieving the effects of reducing the color deviation during picture display, improving the real restoration degree and enhancing the visual experience of a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer and communication technology, and in particular to a photo display method, device, equipment, storage medium and program product. Background Art

[0002] With the popularization of smart terminal devices, cameras are being used more and more widely in daily life, and users have higher and higher requirements for the accuracy of photo colors.

[0003] Currently, devices typically use automatic white balance technology to ensure accurate color in photos. For example, Qualcomm platform devices use gray-world assumption technology to estimate the display color temperature of photos, while MTK platform devices use color temperature frame technology to estimate the color temperature of photos displayed on the device screen. After estimating the display color temperature, the preferred color module adjusts the hue and saturation of the photo display to meet the visual color preferences of different users.

[0004] However, due to the differences in materials and manufacturing processes of different screens (such as warm screens and cold screens), there are often differences in the styles of the colors displayed on the screen and the colors adjusted by the camera. Therefore, when users view photos on their mobile phones, the color overlay effect of the screen and camera may cause the photos to show color deviations, affecting the true restoration of the photos and the user's visual experience. Summary of the Invention

[0005] The embodiments of the present application provide a photo display method, apparatus, device, storage medium, and program product to reduce color deviation during photo display, improve true restoration, and enhance the user's visual experience.

[0006] In a first aspect, an embodiment of the present application provides a photo display method, applied to a terminal device, comprising:

[0007] Obtaining a user instruction, and when the user instruction instructs to view a target photo, determining whether the target photo is taken by the terminal device;

[0008] If the target photo is taken by the terminal device, the camera color parameters marked on the target photo when the camera was taken are read, and the screen color parameters mapped to the screen ID of the terminal device are determined based on the screen color dictionary stored on the screen;

[0009] Dynamically adjust the screen color performance according to the camera color parameters and screen color parameters.

[0010] Optionally, if the target photo is not taken by the current terminal device, the parameters of the screen color representation are maintained as the screen color parameters mapped by the screen ID of the current terminal device.

[0011] Optionally, dynamically adjust the screen color performance based on the camera color parameters and screen color parameters, including:

[0012] Determining whether the camera color parameter and the screen color parameter have a superposition effect in at least one specific color dimension; the specific color dimension includes a hue dimension and a saturation dimension;

[0013] If there is an overlay effect in at least one specific color dimension, compensatory adjustments are made to the screen's color representation;

[0014] Otherwise, the parameters of the screen color representation are maintained as the screen color parameters mapped by the screen ID of the terminal device.

[0015] Optionally, when a hue dimension superposition is detected, reverse hue compensation is performed on the screen hue representation of the terminal device;

[0016] When saturation dimension superposition is detected, reverse saturation compensation is performed on the screen saturation performance of the terminal device.

[0017] Optionally, before obtaining user instructions, the screen color parameters are verified to obtain a screen color dictionary, which is a mapping relationship between the screen ID and the screen color parameters; and the camera color parameters are verified to obtain a camera color dictionary, which is a mapping relationship between the camera ID and the camera color parameters.

[0018] In a second aspect, an embodiment of the present application provides a photo display device, applied to a terminal device, comprising:

[0019] An acquisition module is used to obtain a user instruction and, when the user instruction instructs to view a target photo, determine whether the target photo is taken by the terminal device;

[0020] a processing module configured to, when the target photo is taken by the terminal device, read the camera color parameters marked on the target photo when the camera was taken, and determine the screen color parameters mapped to the screen ID of the terminal device based on the screen color dictionary stored on the screen;

[0021] The processing module is also used to dynamically adjust the color performance of the screen according to the camera color parameters and the screen color parameters.

[0022] Optionally, the processing module is further configured to keep the parameters of the screen color representation as the screen color parameters mapped by the screen ID of the current terminal device when the target photo is not taken by the current terminal device.

[0023] Optionally, the processing module is further configured to determine whether the camera color parameter and the screen color parameter have a superposition effect in at least one specific color dimension; the specific color dimension includes a hue dimension and a saturation dimension;

[0024] If there is an overlay effect in at least one specific color dimension, compensatory adjustments are made to the screen's color representation;

[0025] Otherwise, the parameters of the screen color representation are maintained as the screen color parameters mapped by the screen ID of the terminal device.

[0026] Optionally, the processing module is further configured to perform reverse tone compensation on the screen tone representation of the terminal device when a tone dimension superposition is detected;

[0027] When saturation dimension superposition is detected, reverse saturation compensation is performed on the screen saturation performance of the terminal device.

[0028] Optionally, the processing module is further used to, before obtaining user instructions, obtain a screen color dictionary by verifying the screen color parameters, where the screen color dictionary is a mapping relationship between the screen ID and the screen color parameters; and obtain a camera color dictionary by verifying the camera color parameters, where the camera color dictionary is a mapping relationship between the camera ID and the camera color parameters.

[0029] In a third aspect, an embodiment of the present application provides a terminal device, including:

[0030] A camera, used to take photos and mark the camera color parameters corresponding to the photos;

[0031] Screen, used to store the screen color dictionary;

[0032] an image processing module, configured to obtain a user instruction and, when the user instruction instructs to view a target photo, determine whether the target photo is taken by the terminal device;

[0033] If the target photo is taken by the terminal device, reading the camera color parameters marked on the target photo, and determining the screen color parameters mapped by the screen ID of the terminal device based on the screen color dictionary;

[0034] The color performance of the screen is dynamically adjusted according to the camera color parameters and the screen color parameters.

[0035] In a fourth aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;

[0036] Memory stores computer-executable instructions;

[0037] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.

[0038] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementation methods of the first aspect.

[0039] In a sixth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the first aspect and / or various possible implementation methods of the first aspect.

[0040] The photo display method, apparatus, device, storage medium, and program product provided in the embodiments of the present application obtain user instructions. When the user instructions indicate to view the target photo, the method determines whether the target photo is taken by the terminal device. If the target photo is taken by the terminal device, the camera color parameters marked on the target photo when the camera is taken are read, and the screen color parameters mapped by the screen ID of the terminal device are determined based on the screen color dictionary stored on the screen. The color performance of the screen is dynamically adjusted according to the camera color parameters and the screen color parameters to reduce the color deviation when displaying the photo, improve the true restoration degree, and enhance the user's visual experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0042] Figure 1 A schematic diagram of the process flow of a photo display method of the prior art provided in this application;

[0043] Figure 2 Schematic diagram of the process of the photo display method provided in this application Figure 1 ;

[0044] Figure 3 Schematic diagram of the process of the photo display method provided in this application Figure 2 ;

[0045] Figure 4 A schematic structural diagram of the photo display device provided in this application;

[0046] Figure 5 This is a schematic diagram of the structure of the electronic device provided in this application.

[0047] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION

[0048] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0049] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0050] With the advancement of technology, cameras in terminal devices are becoming increasingly common in daily life, and color accuracy is becoming increasingly important to users. To ensure that cameras maintain the color constancy characteristic of the human eye (i.e., the captured image is consistent with what the human eye sees), terminal devices use AWB (Auto White Balance) to process photos during the capture process. In Example 1, the Qualcomm platform uses a gray world assumption method to predict the color temperature of the current photo based on color temperature points that fall within the gray world. It then calibrates the white balance of the current photo and then adjusts the image quality to color preferences. In Example 2, the MTK platform uses a color temperature frame method to predict the color temperature of the current photo based on color temperature points that fall within different color temperature frames and then adjusts the image quality to color preferences. Color preference adjustment refers to a color tendency adjustment method after white balance calibration, including color direction adjustment and saturation adjustment. For example, a photo taken outdoors under a blue sky can be adjusted to a cooler tone, while a photo taken at dusk can be adjusted to a warmer tone.

[0051] When users view the photos they have taken, Figure 1 The following is a flow chart of a photo display method of the prior art provided in this application, as shown in FIG. Figure 1As shown, before a terminal device leaves the factory, its camera captures a series of standardized scenes (e.g., color charts, natural scenery, and artificial lighting environments). These scenes cover different color temperatures (e.g., 2500K warm light, 6500K white light), brightness (e.g., low light, high light), and color (e.g., red (R), green (G), and blue (B). This allows the device to simulate the user's actual photo-taking scenarios based on these standardized scenes. For example, low-color warm light is simulated for dusk, high-color cool light is simulated for blue sky, and neutral color temperature is simulated for indoor white-walled scenes. White balance is then performed on each of these captured scenes to ensure accurate color reproduction in different environments (e.g., white objects appear true white). Once color accuracy is achieved, the camera's color preference is adjusted to calibrate the camera's color preferences, ensuring accurate color reproduction in different environments (e.g., white objects appear true white) and meeting the user's subjective aesthetic standards. Color preference includes hue (i.e., cool and warm) and saturation. For example, the camera is adjusted to correspond to cool tones for outdoor scenes and warm tones for night scenes.

[0052] Calibrate the device's screen display based on the Golden screen to provide the screen color display for the intended use scenario. Then, adjust the device's screen color preferences, specifically the screen saturation. After calibration, fix the screen display. The corresponding parameters for the fixed screen display are applied when viewing photos in the album.

[0053] When a user uses the camera of a terminal device to take a photo, the camera outputs a JPEG photo that conforms to the current scene and subjective aesthetics based on the current scene, and records the color parameters to the metadata. When a user views photos taken with a mobile phone, the photos taken by the camera will be superimposed with the screen display color to present to the user. Due to the color differences between different mobile phone screens, the standard computer screen has no color deviation. Therefore, when the user views the photos through the mobile phone screen, the photos seen by the human eye subjectively are easily inconsistent with the actual shooting due to the color of different mobile phone screens. When viewing photos through a standard computer screen, the photos seen by the human eye subjectively are the actual shooting effects of the mobile phone camera. Among them, the display of the mobile phone screen

[0054] However, in the imaging systems of end devices (such as smartphones), the color style (e.g., hue and saturation) of photos captured by the camera often differs from the screen display characteristics (e.g., cool vs. warm). When users view photos, the camera's color parameters and the screen's color parameters can overlap, causing the displayed colors to deviate significantly from the actual image. For example, a cool-toned photo displayed on a cool screen will have an overly enhanced blue tint, while a highly saturated photo displayed on a highly saturated screen will exhibit color overflow and distortion. This color deviation impacts the photo's true-to-life reproduction and the user's visual experience.

[0055] The photo display method provided in this application pre-verifies screen color parameters to obtain a mapping relationship between actual screen color parameters and screen IDs, namely, a screen color dictionary. Furthermore, it verifies camera color parameters to obtain a mapping relationship between actual camera color parameters and camera IDs, namely, a camera color dictionary. Upon receiving a user instruction indicating viewing a target photo, the method determines the source of the target photo. If the target photo was captured by a terminal device, the method reads the camera color parameters marked on the target photo during capture, and determines the screen color parameters mapped to the terminal device's screen ID based on the screen color dictionary stored on the screen. The method determines whether the camera color parameters and screen color parameters have a superposition effect in at least one specific color dimension, and if so, dynamically adjusts the terminal device's screen color to restore the photo's authenticity. This method solves the problem of color shift in photo display caused by differences between camera capture color styles and screen display characteristics, thereby reducing color shift during photo display, improving authenticity, and enhancing the user's visual experience.

[0056] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0057] Figure 2 Schematic diagram of the process of the photo display method provided in this application Figure 1 ,like Figure 2 As shown, the method includes:

[0058] S201. Obtain a user instruction, and when the user instruction instructs to view a target photo, determine whether the target photo is taken by the terminal device.

[0059] More specifically, when a user views a photo, he or she issues an instruction through interaction with the terminal device. After receiving the user instruction, the terminal device determines whether the target photo is taken by the current terminal device based on the source of the target photo selected by the user.

[0060] Optionally, before obtaining user instructions, the screen color parameters are verified to obtain a screen color dictionary, which is a mapping relationship between the screen ID and the screen color parameters; and the camera color parameters are verified to obtain a camera color dictionary, which is a mapping relationship between the camera ID and the camera color parameters.

[0061] In one possible embodiment, before a terminal device leaves the factory, a laboratory light box is used to test the saturation of the terminal device screen at different hues (including color temperature and brightness). The saturation is recorded under the terminal device's screen ID mapping relationship, thereby obtaining a screen color dictionary for the terminal device. The screen color dictionary for the terminal device includes multiple sets of screen color parameters, each set of screen color parameters being different.

[0062] In one possible embodiment, before a terminal device leaves the factory, the saturation of the terminal device's camera under different hues (including color temperature and brightness) is tested in a laboratory light box. This saturation is recorded under the terminal device's camera ID mapping relationship, thereby obtaining a camera color dictionary for the terminal device. The camera color dictionary for the terminal device includes multiple sets of camera color parameters, each set of camera color parameters being different.

[0063] Optionally, a mapping relationship exists between a screen ID in the screen color dictionary and a screen color preference coefficient K2, which stores the screen color parameters of the screen ID. A mapping relationship exists between a camera ID in the camera color dictionary and a camera color preference coefficient K1, which stores the camera color parameters of the camera ID.

[0064] Optionally, the screen color parameters include RG parameters, BG parameters, and Sat parameters of the screen, and the camera color parameters include RG parameters, BG parameters, and Sat parameters of the camera screen, wherein the Sat parameter is a saturation parameter.

[0065] This application generates a color dictionary for the camera and screen through a pre-calibration step for the terminal device before leaving the factory, so that it is convenient to directly call the dictionary parameters when displaying photos, reduce the real-time computing load, improve the parameter calling efficiency, and ensure the real-time nature of dynamic adjustment.

[0066] Optionally, after taking a photo using the current terminal device, multiple sets of camera color parameters mapped to the camera ID of the current terminal device are read from the camera color dictionary, and the camera color parameters to be debugged are determined based on the current scene. The color preference of the currently taken photo is debugged based on the camera color parameters. Since the camera color parameters to be debugged are pre-calibrated parameters, the color restoration degree of the photo debugged based on the camera color parameters is higher. After the debugging is completed, the debugged camera color parameters are stored in the photo. Exemplarily, the storage method in this embodiment is to establish a mapping relationship between the camera color parameters and the camera color preference coefficient K1, and identify the camera color preference coefficient to the above-mentioned photo.

[0067] S202: If the target photo is taken by the terminal device, read the camera color parameters and the screen color parameters.

[0068] More specifically, if the target photo is taken by the terminal device, the camera color parameters marked on the target photo when the camera was taken are read, and the screen color parameters mapped by the screen ID of the terminal device are determined based on the screen color dictionary stored on the screen.

[0069] like Figure 3 As shown, after obtaining the target photo, if the target photo was taken by the current terminal device, the camera color preference coefficient K1 identified on the photo is read to determine the camera color parameters stored in the camera color preference coefficient K1 for the photo. Simultaneously, the screen ID of the current terminal device is obtained, and based on the screen color dictionary of the current terminal device, the screen color preference coefficient K2 mapped to the screen ID of the current terminal device is obtained, thereby determining the screen color parameters stored in the screen color preference coefficient K2. After executing step S202, step S204 is executed.

[0070] S203: If the target photo is not taken by the current terminal device, the screen color parameters are kept as the screen color parameters mapped by the screen ID of the current terminal device.

[0071] More specifically, if the target photo is not taken by the current terminal device (e.g., downloaded from the Internet), the screen color dictionary of the current terminal device is read to obtain the screen color parameters mapped by the screen ID of the current terminal device, and the parameters of the screen color representation are kept as the screen color parameters mapped by the screen ID of the current terminal device.

[0072] Optionally, when the target photo is not taken by the current terminal device, the screen is not dynamically adjusted.

[0073] In a possible embodiment, when a user downloads a cool-toned landscape picture from social media for viewing, the terminal device recognizes that the landscape picture was not taken locally and directly uses the cool screen parameters calibrated at the factory for display without adjustment.

[0074] This application is for photos not taken by this device, maintaining the screen's default color parameters to avoid color distortion caused by misadjustment, ensuring display consistency, and improving true restoration.

[0075] S204 , dynamically adjusting the color performance of the screen according to the camera color parameters and the screen color parameters.

[0076] More specifically, if Figure 3As shown, after obtaining the camera color parameters and the screen color parameters, the color performance of the screen is dynamically adjusted according to the camera color parameters and the screen color parameters, specifically including: determining whether the camera color parameters and the screen color parameters have a superposition effect in at least one specific color dimension; the specific color dimension includes the hue dimension and the saturation dimension; if there is a superposition effect in at least one specific color dimension, compensatory adjustment is made to the color performance of the screen; otherwise, the parameters of the screen color performance are maintained as the screen color parameters mapped by the screen ID of the terminal device.

[0077] Optionally, when hue dimension superposition is detected, reverse hue compensation is performed on the screen hue representation of the terminal device; when saturation dimension superposition is detected, reverse saturation compensation is performed on the screen saturation representation of the terminal device.

[0078] For example, saturation, color temperature, and brightness are pre-classified and a range is determined for each level. When both the camera saturation 120 and the screen saturation 115 are within a high saturation range, it is determined that the target photo has an overlap in saturation dimensions. In this case, the screen saturation is reduced from 115 to 105.

[0079] For example, when the camera hue is bluish (i.e., the camera BG parameter is 1.2) and the screen hue is bluish (i.e., the screen BG parameter is 1.1), it is determined that there is a superposition of hue dimensions in the target photo. In this case, the screen BG parameter is adjusted from 1.1 to 0.9.

[0080] In a possible embodiment, the screen color tone is adjusted by adjusting the color temperature and brightness of the screen.

[0081] This application analyzes the combined effects of hue and saturation between the screen and camera to precisely locate the dimensions that require compensation and implement targeted adjustments. Furthermore, during adjustment, reverse compensation is used to directly offset the color deviation caused by the combined effect, improving the ease of debugging during photo display and enhancing the fidelity of photo display.

[0082] In a possible embodiment, in a scene with low brightness, the saturation of the photos taken by the camera is in the low saturation level range. In order to improve the photo display effect, the saturation of the screen is increased, thereby avoiding the color noise caused by compensating for the camera saturation and improving the photo display effect.

[0083] The photo display method provided in the embodiment of the present application ensures that the colors of photos taken by the terminal device are faithfully restored when displayed by dynamically adjusting the screen color performance, avoiding the color difference problem caused by the superposition effect of the camera and screen color parameters, and improving the user's visual experience.

[0084] When a user takes a photo of a sunset with their phone and then views it in their photo album, the sunset appears too purple because the phone's camera color parameters indicate a warmer setting (e.g., reddish-yellow tones) while the screen is cooler (e.g., bluish). Displaying the photo directly on the screen results in the photo showing a sunset with a purplish tint.

[0085] In an embodiment of the present application, when using a mobile phone camera to take a photo of a sunset scene, the image processing module of the mobile phone determines that the color temperature of the current scene is 2500K (warm light). At this time, according to the camera color dictionary corresponding to the camera ID, the camera color parameters corresponding to the color temperature of 2500K are queried: the camera's RG parameter is 1.18 (enhanced red), the BG parameter is 0.85 (reduced blue), and the Sat parameter is 118 (high saturation). The current photo is adjusted to an RG parameter of 1.18, a BG parameter of 0.85, and a Sat parameter of 118, and this set of camera color parameters is written into the photo EXIF ​​metadata.

[0086] When viewing the photo, the phone identifies the screen ID as TP_LG_2023B and obtains the corresponding screen color parameters: RG of 0.95 (bluish for a cold screen), BG of 1.12, and Sat of 105. It also reads the camera color parameters that were used to write the photo, which show RG of 1.18, BG of 0.85, and Sat of 118.

[0087] After obtaining the screen and camera color parameters, the camera's RG parameter (1.18, representing a warm red tint) was overlaid with the screen's BG parameter (1.12, representing a cool blue tint) to determine the purple bias caused by the red-blue overlay. Furthermore, the camera's Sat parameter (118, representing a warm red tint) was overlaid with the screen's Sat parameter (105, representing a cool blue tint) to determine the color overflow caused by the high saturation overlay. This resulted in a hue and saturation overlay effect. Hue and saturation compensation was then performed on the screen. This was achieved by reducing the screen's BG parameter from 1.12 to 0.9, allowing the reduced blue gain to offset the camera's purple bias. The Sat parameter was then adjusted from 105 to 100 to prevent the screen from displaying excessively bright colors. The resulting adjusted screen color parameters were RG of 0.95, BG of 0.9, and Sat of 100. This resulted in a golden, non-purple hue in the sunset photo, with a natural saturation, resembling the look of a real sunset.

[0088] Figure 4 The schematic diagram of the structure of the photo display device provided in this application is applied to terminal equipment, such as Figure 4 As shown, the photo display device 40 provided in this embodiment includes:

[0089] The acquisition module 401 is used for acquiring a user instruction and determining whether the target photo is taken by the terminal device when the user instruction instructs to view the target photo;

[0090] Processing module 402 is configured to read, when the target photo is taken by the terminal device, camera color parameters marked on the target photo during shooting, and determine, based on a screen color dictionary stored on the screen, screen color parameters mapped to the screen ID of the terminal device;

[0091] The processing module 402 is further configured to dynamically adjust the color representation of the screen according to the camera color parameters and the screen color parameters.

[0092] Optionally, the processing module 402 is further configured to keep the screen color parameters as the screen color parameters mapped by the screen ID of the current terminal device when the target photo is not taken by the current terminal device.

[0093] Optionally, the processing module 402 is further configured to determine whether the camera color parameter and the screen color parameter have a superposition effect in at least one specific color dimension; the specific color dimension includes a hue dimension and a saturation dimension;

[0094] If there is an overlay effect in at least one specific color dimension, compensatory adjustments are made to the screen's color representation;

[0095] Otherwise, the parameters of the screen color representation are maintained as the screen color parameters mapped by the screen ID of the terminal device.

[0096] Optionally, the processing module 402 is further configured to perform reverse tone compensation on the screen tone representation of the terminal device when a tone dimension superposition is detected;

[0097] When saturation dimension superposition is detected, reverse saturation compensation is performed on the screen saturation performance of the terminal device.

[0098] Optionally, the processing module 402 is further used to, before obtaining user instructions, obtain a screen color dictionary by verifying the screen color parameters, where the screen color dictionary is a mapping relationship between the screen ID and the screen color parameters; and obtain a camera color dictionary by verifying the camera color parameters, where the camera color dictionary is a mapping relationship between the camera ID and the camera color parameters.

[0099] The photo display device provided in this embodiment can execute the photo display method provided in the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail in this embodiment.

[0100] Figure 5 This is a schematic diagram of the structure of the electronic device provided in this application. Figure 5As shown, the electronic device 50 provided in this embodiment includes: at least one processor 501 and a memory 502. Optionally, the device 50 further includes a communication component 503. The processor 501, the memory 502 and the communication component 503 are connected via a bus 504.

[0101] In a specific implementation process, at least one processor 501 executes the computer-executable instructions stored in the memory 502, so that the at least one processor 501 performs the above method.

[0102] The specific implementation process of the processor 501 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.

[0103] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASICs), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.

[0104] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage.

[0105] A bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be categorized as address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.

[0106] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0107] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.

[0108] The readable storage medium may be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0109] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0110] The division of units is merely a logical functional division; actual implementations may employ alternative divisions, such as combining or integrating multiple units or components into another system, or omitting or disabling certain features. Furthermore, any direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units, either through an interface, electrical, mechanical, or other means.

[0111] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0112] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0113] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion 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 for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the method of the present invention. The aforementioned storage medium includes various media that can store program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0114] Those skilled in the art will appreciate that all or part of the steps in the above-described method embodiments can be implemented using hardware associated with program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0115] Finally, it should be noted that those skilled in the art will readily identify other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art not disclosed herein. The present invention is not limited to the precise structure described above and illustrated in the accompanying drawings, and various modifications and variations may be made without departing from the scope thereof. The scope of the present invention is limited solely by the appended claims.

Claims

1. A photo display method, characterized in that: Applied to terminal equipment, including: Obtaining a user instruction, and when the user instruction instructs to view a target photo, determining whether the target photo is taken by the terminal device; If the target photo is taken by the terminal device, then reading the camera color parameters marked on the target photo when the camera was taken, and determining the screen color parameters mapped by the screen ID of the terminal device based on the screen color dictionary stored on the screen; The color performance of the screen is dynamically adjusted according to the camera color parameters and the screen color parameters.

2. The method according to claim 1, characterized in that The method further comprises: If the target photo is not taken by the current terminal device, the parameters of the screen color representation are kept as the screen color parameters mapped by the screen ID of the current terminal device.

3. The method according to claim 1, characterized in that Dynamically adjusting the color performance of the screen according to the camera color parameters and the screen color parameters, specifically including: Determining whether the camera color parameter and the screen color parameter have a superposition effect in at least one specific color dimension; the specific color dimension includes a hue dimension and a saturation dimension; If there is an overlay effect in at least one specific color dimension, compensatory adjustments are made to the screen's color representation; Otherwise, the parameters of the screen color representation are maintained as the screen color parameters mapped by the screen ID of the terminal device.

4. The method according to claim 3, characterized in that When the hue dimension superposition is detected, reverse hue compensation is performed on the screen hue representation of the terminal device; When saturation dimension superposition is detected, reverse saturation compensation is performed on the screen saturation performance of the terminal device.

5. The method according to any one of claims 1 to 4, characterized in that Before obtaining the user instruction, the screen color parameters are verified to obtain a screen color dictionary, which is a mapping relationship between the screen ID and the screen color parameters; The camera color parameters are verified to obtain a camera color dictionary, where the camera color dictionary is a mapping relationship between the camera ID and the camera color parameters.

6. A photo display device, characterized in that: Applied to terminal equipment, including: an acquisition module, configured to acquire a user instruction and, when the user instruction instructs to view a target photo, determine whether the target photo is taken by the terminal device; a processing module configured to, when the target photo is taken by the terminal device, read the camera color parameters marked on the target photo during shooting, and determine the screen color parameters mapped to the screen ID of the terminal device based on a screen color dictionary stored on the screen; The processing module is further configured to dynamically adjust the color representation of the screen according to the camera color parameters and the screen color parameters.

7. A terminal device, characterized in that: include: A camera, used to take photos and mark the camera color parameters corresponding to the photos; Screen, used to store the screen color dictionary; an image processing module, configured to obtain a user instruction and, when the user instruction instructs to view a target photo, determine whether the target photo is taken by the terminal device; If the target photo is taken by the terminal device, reading the camera color parameters marked on the target photo, and determining the screen color parameters mapped by the screen ID of the terminal device based on the screen color dictionary; The color performance of the screen is dynamically adjusted according to the camera color parameters and the screen color parameters.

8. An electronic device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 5.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 5 when executed by a processor.

Citation Information

Cited By

  • A photograph color display method, display system and terminal device

    CN122416951A