Display control method and related device
By determining the user's scene mode in the display technology and obtaining the corresponding image compensation data for optical compensation, the problem of inflexible Mura compensation is solved, and efficient image compensation that is adjusted according to the scene is achieved, thus improving the display effect.
Patent Information
- Application Number
- CN202110842604.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-23
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2041-07-23
AI Technical Summary
In existing display technologies, mura compensation is not flexible enough and cannot dynamically adjust image compensation data according to user scenarios, resulting in the inability to effectively solve the problem of image imbalance on the display screen.
By determining the user's usage scenario, corresponding image compensation data is obtained, and optical compensation is performed on the display screen based on this data. This includes a combination of lossless and lossy compression techniques, and a suitable compression ratio is selected to improve the flexibility of compensation.
It enables dynamic adjustment of image compensation based on user scenarios, improving the flexibility and display effect of mura compensation and meeting the image quality requirements of different usage needs.
Smart Images

Figure CN115691370B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, and in particular to a display control method and related apparatus. Background Technology
[0002] Currently, the De-mura algorithm is an important image processing algorithm in display technology. It is mainly used to compensate for image imbalance caused by manufacturing defects in the production process of liquid crystal displays (LCDs) or organic light-emitting diodes (OLEDs).
[0003] In practical applications, mura compensation requires superimposing image compensation data on each brightness value of each pixel. However, compensation often uses a single image compensation data to compensate the display screen, making mura compensation inflexible. Summary of the Invention
[0004] This application provides a display control method and related apparatus that can select appropriate image compensation data for compensating the display screen according to the user's usage scenario, which helps to improve the flexibility of mura compensation.
[0005] In a first aspect, embodiments of this application provide a display control method for optically compensating an image displayed by an electronic device, the method comprising:
[0006] Determine the scenario mode in which the user uses the electronic device;
[0007] Acquire image compensation data, wherein the compression ratio of the image compensation data corresponds to the scene mode;
[0008] Optical compensation is performed on the image displayed by the electronic device based on the image compensation data.
[0009] Secondly, embodiments of this application provide an electronic device, the electronic device comprising:
[0010] The memory is configured to store image compensation data;
[0011] The processor is configured as follows:
[0012] Determine the scene mode in which the user uses the electronic device; and acquire the image compensation data, wherein the compression ratio of the image compensation data corresponds to the scene mode;
[0013] The display screen is configured to perform optical compensation on the image displayed by the electronic device based on the image compensation data.
[0014] Thirdly, embodiments of this application provide a display control method applied to an electronic device, the electronic device including a processor, a memory, and a display screen, the method comprising:
[0015] The processor is used to determine the scenario pattern in which the user uses the electronic device.
[0016] The processor retrieves image compensation data from the memory, wherein the compression ratio of the image compensation data corresponds to the scene mode;
[0017] The display screen is used to perform optical compensation on the image displayed by the electronic device based on the image compensation data.
[0018] Fourthly, embodiments of this application provide a display control device, the device comprising: a determining unit, an acquiring unit, and a compensation unit, wherein,
[0019] The determining unit is used to determine the scenario mode in which the user uses the electronic device;
[0020] The acquisition unit is used to acquire image compensation data, wherein the compression ratio of the image compensation data corresponds to the scene mode;
[0021] The compensation unit is used to perform optical compensation on the image displayed by the electronic device based on the image compensation data.
[0022] Fifthly, embodiments of this application provide an electronic device including a processor, a memory, and a display screen. The memory is used to store one or more programs and is configured to be executed by the processor. The programs include instructions for performing the steps of the method as described in any one of the first or third aspects.
[0023] Sixthly, embodiments of this application provide a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program causes a computer to perform some or all of the steps described in the first or third aspects of embodiments of this application.
[0024] In a seventh aspect, embodiments of this application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the first or third aspects of embodiments of this application. The computer program product may be a software installation package.
[0025] Implementing the embodiments of this application has the following beneficial effects:
[0026] As can be seen, the display control method and related apparatus described in the embodiments of this application are used to perform optical compensation on the image displayed by the electronic device, determine the scene mode of the user using the electronic device, and obtain image compensation data, wherein the compression ratio of the image compensation data corresponds to the scene mode. Optical compensation is performed on the image displayed by the electronic device based on the image compensation data. In this way, image compensation data corresponding to the scene mode can be selected for compensation of the display screen, which helps to improve the flexibility of mura compensation. Attached Figure Description
[0027] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0029] Figure 2 This is a schematic diagram of the software structure of an electronic device provided in an embodiment of this application;
[0030] Figure 3A This is a flowchart illustrating a display control method provided in an embodiment of this application;
[0031] Figure 3B This is a schematic diagram of the structure for image compensation data transmission between the processor and the memory provided in an embodiment of this application;
[0032] Figure 3C This is another schematic diagram of the structure for image compensation data transmission between the processor and the memory provided in an embodiment of this application;
[0033] Figure 3D This is another schematic diagram of the structure for image compensation data transmission between the processor and the memory provided in an embodiment of this application;
[0034] Figure 4 This is a flowchart illustrating another display control method provided in an embodiment of this application;
[0035] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0036] Figure 6 This is a block diagram of the functional units of a display control device provided in an embodiment of this application. Detailed Implementation
[0037] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0038] To better understand the solutions of the embodiments of this application, the relevant terms and concepts that may be involved in the embodiments of this application will be introduced below.
[0039] In this application embodiment, the electronic device may include various devices with communication functions, such as smartphones, in-vehicle devices, wearable devices, charging devices (such as power banks), smartwatches, smart glasses, wireless Bluetooth headsets, computing devices or other processing devices connected to a wireless modem, as well as various forms of user equipment (UE), mobile station (MS), virtual reality / augmented reality devices, terminal devices, etc. The electronic device may also be a base station or a server.
[0040] The first part describes the software and hardware operating environment of the technical solution disclosed in this application.
[0041] As shown in the figure Figure 1 A schematic diagram of the electronic device 100 is 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 power management module 141, a battery 142, antenna 1, antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, a compass 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0042] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0043] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processors (NPUs). Different processing units may be independent components or integrated into one or more processors. In some embodiments, electronic device 100 may also include one or more processors 110. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. In other embodiments, processor 110 may also include a memory for storing instructions and data. For example, the memory in processor 110 may be a cache memory. This memory can store instructions or data that processor 110 has just used or is repeatedly used. If processor 110 needs to reuse the instruction or data, it can directly retrieve it from memory. This avoids repeated access, reduces the waiting time of processor 110, and thus improves the efficiency of electronic device 100 in processing data or executing instructions. The processor may also include an image processor, which can be a preprocessor image signal processor (Pre-ISP), which can be understood as a simplified ISP that can also perform some image processing operations.
[0044] In some embodiments, the processor 110 may include one or more interfaces. These interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM card interface, and / or a USB interface, etc. The USB interface 130 is a USB standard-compliant interface, specifically a Mini USB interface, a Micro USB interface, a USB Type-C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used for data transfer between the electronic device 100 and peripheral devices. The USB interface 130 can also be used to connect headphones for audio playback.
[0045] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0046] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via a USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.
[0047] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, external memory, display screen 194, camera 193, and wireless communication module 160. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0048] The wireless communication function of the electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0049] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0050] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G / 6G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0051] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0052] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU performs mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0053] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel may be an LCD, OLED, active-matrix organic light-emitting diode (AMOLED), flexible light-emitting diode (FLED), mini light-emitting diode (miniled), MicroLED, Micro-OLED, quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or more display screens 194.
[0054] The electronic device 100 can perform shooting functions through an ISP, camera 193, video codec, GPU, display screen 194, and application processor.
[0055] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0056] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or more cameras 193.
[0057] A digital signal processor (DSP) is used to process digital signals. Besides digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency, the DSP can perform a Fourier transform on the frequency energy.
[0058] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record video in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.
[0059] An NPU (Neural Processing Unit) is a neural network (NN) computing processor that, by borrowing from the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, rapidly processes input information and can continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0060] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0061] Internal memory 121 can be used to store one or more computer programs, which include instructions. Processor 110 can execute the instructions stored in internal memory 121, thereby causing electronic device 100 to perform the methods for displaying page elements provided in some embodiments of this application, as well as various applications and data processing. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system; the program storage area may also store one or more applications (such as a gallery, contacts, etc.). The data storage area may store data created during the use of electronic device 100 (such as photos, contacts, etc.). In addition, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage components, flash memory components, universal flash storage (UFS), etc. In some embodiments, processor 110 can execute instructions stored in internal memory 121 and / or instructions stored in memory disposed in processor 110, thereby causing electronic device 100 to perform the methods for displaying page elements provided in embodiments of this application, as well as other applications and data processing. The electronic device 100 can implement audio functions, such as music playback and recording, through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor.
[0062] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0063] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive materials. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the touch operation intensity based on the pressure sensor 180A. The electronic device 100 can also calculate the touch position based on the detection signal from the pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS message is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS message is executed.
[0064] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 around three axes (i.e., the X, Y, and Z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the electronic device 100's shake, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing game scenarios.
[0065] The accelerometer 180E can detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). When the electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the attitude of the electronic device, and can be applied to applications such as screen orientation switching and pedometers.
[0066] The ambient light sensor 180L is used to sense the ambient light intensity. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed ambient light intensity. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also work with the proximity sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
[0067] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.
[0068] Temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 uses the temperature detected by temperature sensor 180J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs thermal protection by reducing the performance of a processor located near temperature sensor 180J to reduce power consumption. In other embodiments, when the temperature is below another threshold, electronic device 100 heats battery 142 to prevent abnormal shutdown of electronic device 100 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, electronic device 100 boosts the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.
[0069] Touch sensor 180K, also known as a "touch panel," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touch screen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.
[0070] For example, Figure 2 A software architecture block diagram of electronic device 100 is shown. The layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer. The application layer may include a series of application packages.
[0071] like Figure 2 As shown, the application layer can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0072] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0073] like Figure 2 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0074] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0075] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, and more.
[0076] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0077] The telephone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection, hang-up, etc.).
[0078] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0079] The notification manager allows applications to display notifications in the status bar. These notifications can be used to convey informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0080] The Android Runtime consists of core libraries and a virtual machine. The Android Runtime is responsible for the scheduling and management of the Android system.
[0081] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0082] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0083] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0084] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0085] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0086] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0087] A 2D graphics engine is a graphics engine for 2D drawing.
[0088] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0089] Based on the above Figure 1 or Figure 2 The described electronic device includes a processor, a memory, and a display screen, and is capable of performing the following functions:
[0090] The processor is used to determine the scenario pattern in which the user uses the electronic device.
[0091] The processor retrieves image compensation data from the memory, wherein the compression ratio of the image compensation data corresponds to the scene mode;
[0092] The display screen is used to perform optical compensation on the image displayed by the electronic device based on the image compensation data.
[0093] Furthermore, in this embodiment of the application, image compensation data corresponding to the scene mode can be selected for compensation of the display screen, which helps to improve the flexibility of mura compensation.
[0094] The second part, the display control method and apparatus disclosed in the embodiments of this application, is described below.
[0095] This application provides a reference. Figure 3A , Figure 3AThis is a flowchart illustrating a display control method provided in an embodiment of this application. It is applied to an electronic device and used to perform optical compensation on the image displayed by the electronic device. As shown in the figure, the display control method includes:
[0096] 301. Determine the scenario mode in which the user uses the electronic device.
[0097] In this embodiment, the scene mode may include at least one of the following: image mode, video mode, game mode, UI (user interface) mode, etc., without limitation. Image mode can be understood as the mode in which the user views an image; video mode can be understood as the mode in which the user watches a video; game mode can be understood as the mode in which the user plays a game; UI mode can be understood as the mode in which the user simply operates the interface. The scene mode can be manually set by the user, or it can be automatically recognized by the system. The scene mode can be used to reflect the user's operational intent.
[0098] Optionally, step 301 above, determining the user's usage scenario mode of the electronic device, may include the following steps:
[0099] A11. Identify foreground applications;
[0100] A12. Determine the scene mode of the electronic device corresponding to the front-end application.
[0101] In practical implementation, a foreground application can be understood as an application currently running in the foreground, or a page currently being played in the foreground. The electronic device can pre-store the mapping relationship between applications and scene modes. Therefore, the electronic device can determine the foreground application and, according to this mapping relationship, determine the corresponding scene mode. That is, different applications correspond to different scene modes, and thus, the user's corresponding scene mode can be determined through the foreground application.
[0102] Optionally, step 301 above, determining the user's usage scenario mode of the electronic device, may include the following steps:
[0103] B11. Obtain the target screenshot image;
[0104] B12. Extract features from the target screenshot image to obtain the target feature set;
[0105] B13. Determine the scene mode based on the target feature set.
[0106] In practice, the electronic device can acquire a target screenshot image of the current page, and then extract features from the target screenshot image to obtain a target feature set. This target feature set can include at least one feature, which can be at least one of the following: feature points, feature textures, logos, patterns, strings, keywords, etc., without limitation. Furthermore, the electronic device can determine the scene mode through the target feature set. For example, it can compare the target feature set with a reference feature set, where each reference feature set corresponds to a scene mode. When the target feature set and the reference feature set match successfully, the scene mode corresponding to the reference feature set can be used as the scene mode for the user's use of the electronic device.
[0107] 302. Obtain image compensation data, wherein the compression ratio of the image compensation data corresponds to the scene mode.
[0108] Different scene modes can correspond to different image compensation data. The image compensation data can be mura image compensation data, which can be used to compensate each pixel of the display screen.
[0109] Electronic devices may include memory, which may be dynamic random access memory (DRAM) and / or static random-access memory (SRAM). The memory may be independent of the display screen. Image compensation data can be set before the electronic device leaves the factory, and the image compensation data will vary for different displays.
[0110] Multiple sets of image compensation data can be pre-stored in the memory. For example, the memory can store three sets of image compensation data: image compensation data corresponding to lossless compression, image compensation data with a high data compression ratio and lossy compression, and image compensation data with a low data compression ratio and lossy compression. The high compression ratio and low compression ratio lossy compression image compensation data correspond to lossy compression techniques, and the image compensation data corresponding to lossless compression corresponds to lossless compression techniques. Different data compression techniques have different data compression ratios and compression qualities for image compensation data. For example, the data compression ratio of lossy compression is generally lower than that of lossless compression, but lossless compression can provide better image compression quality than lossy compression. In practical applications, data compression ratio and compressed image quality are two factors that designers consider when choosing a compression technique, and a trade-off balance is often required based on the user's usage scenario.
[0111] In the case where the scene mode is manually set by the user, the compression mode set by the user can be determined according to the user's settings. In lossless compression mode, lossless image compensation data is read; in high data compression ratio mode, high data compression ratio compressed image compensation data is read; and in low data compression ratio mode, low compression ratio compressed image compensation data is read.
[0112] Furthermore, the memory can be used to store image compensation data for at least one display screen. For example, when the electronic device is a dual-screen device, the memory can store image compensation data for both display screens.
[0113] In this embodiment of the application, it is considered that users have different needs for image quality during the use of electronic devices. For example, users hope that the electronic device can provide high-quality images when viewing photos or movies; while when operating the UI interface of the electronic device, the requirements for the screen display image are not so high.
[0114] This application embodiment considers the usage scenarios of electronic device users and selects different image compensation data compression schemes according to different scenarios. Typically, in image mode, users desire the best visual experience, so this application embodiment can employ a lossless compression method to achieve the best compensation effect. In UI mode, users are simply operating the interface and are not particularly concerned about image quality, so this application embodiment can employ a lossy compression method with a high compression ratio. In video mode, because battery capacity is limited, if users are watching videos or movies in situations without power, they want to maintain quality while consuming less battery capacity for extended viewing; therefore, a lossy compression method with a low data compression ratio can be used.
[0115] For example, in the embodiments of this application, such as Figure 3B As shown, it may include a memory (external DRAM) for storing compressed image compensation data, a data interface (DRAM interface), a hybrid decompression module, a use case setting module, and a De-mura module.
[0116] To illustrate further, let's take an example from an embodiment of this application, such as... Figure 3C As shown, it may include a memory (external DRAM) for storing compressed image compensation data, a data interface (DRAM interface), a separate lossless and lossy decompression module, a usage scenario setting module, and a De-mura module.
[0117] The aforementioned external DRAM stores two or more sets of compressed image compensation data, specifically: a first set of image compensation data, a second set of image compensation data, ..., an Nth set of image compensation data, where N is an integer greater than 1. Specifically, for example, it may contain lossless compressed data, lossy compressed data with a low compression ratio, or lossy compressed data with a high compression ratio.
[0118] In practical applications, the electronic device can set the scene using the scene setting module based on the user's current usage scenario. The decompression module can select different compressed image compensation data to decompress based on the user scenario and send it to the De-mura module for compensation. The decompression module is mainly used to determine the storage address of the image compensation data and to decompress the image compensation data obtained from the storage address. After the content to be displayed is input into the De-mura module, the content to be displayed is compensated using the image compensation data, and then the compensated content is displayed. In UI mode, the decompression module can read high-compression-ratio compressed image compensation data through the DRAM data interface to save DRAM data bandwidth and power consumption. In image mode, the decompression module can read lossless compressed image compensation data through the DRAM data interface to achieve the best user visual experience. In video mode, the decompression module can read low-compression-ratio lossy compressed image compensation data through the DRAM interface to achieve a balance between compression ratio and image quality. The decompression module can choose a hybrid decompression module, that is, it can decompress lossless or lossy compressed data through settings. It can also choose two types of decompression modules. After the user scenario is determined, the selector selects the appropriate decompression module to decompress the data.
[0119] For example, JPEG-LS technology is a hybrid lossless and near-lossless compression scheme. If JPEG-LS is used for satellite imagery, the average compression ratio under lossless compression is 3.6:1, while under lossy compression mode (Near=3), the average compression ratio can reach 10.1:1, a difference of 2.8 times. If, in this embodiment, the lossy compression method (Near=3) is selected in UI mode and lossless compression is selected in image mode, then compared to using lossless compression in all user scenario modes, the De-mura module can theoretically save 2.8 times the data bandwidth requirement in UI mode without affecting the user experience.
[0120] Optionally, step 302 above, obtaining image compensation data, may include the following steps:
[0121] According to the mapping relationship between the scene mode and the storage address of the image compensation data, the corresponding image compensation data is obtained from the memory, wherein multiple sets of image compensation data with different compression ratios are stored in different storage addresses of the memory.
[0122] In practice, the electronic device can pre-store the mapping relationship between scene modes and the storage addresses of image compensation data. That is, different scene modes can correspond to different image compensation data storage addresses. The storage address of the image compensation data is used to read the corresponding image compensation data from the memory. The memory stores multiple sets of image compensation data, and each set of image compensation data can correspond to a data compression ratio. Therefore, the electronic device can determine the storage address of the image compensation data corresponding to the scene mode used by the user according to the preset mapping relationship between scene modes and the storage addresses of image compensation data. Then, it can retrieve the image compensation data corresponding to the storage address of the image compensation data from the memory. In this way, the corresponding image compensation data can be obtained according to the scene mode, which helps to provide corresponding compensation services according to user needs.
[0123] In practical applications, the De-mura algorithm's huge demand for image compensation data in hardware circuit design goes beyond simply adding a large amount of DRAM or SRAM. Some product hardware circuit designs lack sufficient space to store the image compensation data of a complete frame; only a few or a dozen lines of SRAM line buffer are available. Therefore, complete image compensation data needs to be repeatedly read from external DRAM into the internal SRAM buffer. This repeated DRAM reads consume significant energy.
[0124] To illustrate, if the hardware circuit has only one row of buffers for storing image compensation data, then after the image compensation data in the first row of buffers is used, the second row of image compensation data needs to be read from external DRAM into the De-mura module's row buffer, and so on until the end of the current frame. When a new frame arrives, the image compensation data from the first row to the last row needs to be read again. This reading is repeated cyclically with each frame update, so it's foreseeable that this repeated reading of image compensation data will waste a significant amount of energy from the hardware circuit. Based on practical experience, DRAM operations consume a considerable amount of energy, and reducing DRAM operations is one of the necessary means to reduce power consumption in hardware circuit design. Therefore, if the amount of data that the De-mura algorithm reads from external DRAM can be reduced, the power consumption of the De-mura module can be reduced.
[0125] For example, at a 4K (3820*2160) resolution, assuming each RGB path requires a compensation value, the range of 8-bit RGB image data is 0-255. If we assume that interpolation is used to apply only 8 compensation values to the 0-255 data, with the remaining compensation values obtained through interpolation, the De-mura module would still require 3840*2160*3*8 = 199 Mbytes of data. Without a complete De-mura image compensation data cache, at an image refresh rate of 60 frames / s, the DDR bandwidth requirement would be 199 Mbytes * 8 * 60 = 95 Gbits / s. This represents a significant energy demand on the hardware system, necessitating further compression to reduce DRAM data bandwidth. Therefore, in this embodiment of the application, in order to improve data transmission efficiency and save data bandwidth, the image compensation data is compressed in DRAM and can provide complete mura image compensation data. By reading the image compensation data once in each mode, all compensation operations can be completed in that mode, which avoids frequent transmission of image compensation data, saves data bandwidth, and reduces device power consumption.
[0126] Furthermore, optionally, step 22 above, retrieving the corresponding image compensation data from the memory, may include the following steps:
[0127] 221. Obtain initial image compensation data from the memory according to the storage address of the image compensation data;
[0128] 222. Decompress the initial image compensation data to obtain the image compensation data.
[0129] In this embodiment, the initial image compensation data can be compressed image compensation data. Specifically, the electronic device can retrieve the corresponding initial image compensation data from the memory according to the storage address of the image compensation data, and then decompress the initial image compensation data to obtain the image compensation data, which can be the decompressed image compensation data.
[0130] Optionally, the following steps may also be included:
[0131] S1. Read the image compensation data with the first compression ratio to reduce the amount or frequency of reading data from the memory;
[0132] S2. Read the image compensation data with a second compression ratio to improve the quality of the image displayed by the electronic device; wherein the second compression ratio is less than the first compression ratio.
[0133] The memory can store image compensation data with different compression ratios, such as image compensation data with a first compression ratio and image compensation data with a second compression ratio, where the second compression ratio is smaller than the first compression ratio. Reading image compensation data with the first compression ratio can reduce the amount of data read from the memory or the frequency of reads, thus improving data reading efficiency; reading image compensation data with the second compression ratio can improve the quality of the image displayed by the electronic device, that is, the displayed image has a higher resolution.
[0134] Optionally, the following steps may also be included:
[0135] Based on the scene mode switching of the electronic device, the image compensation data corresponding to the first compression ratio and the second compression ratio of the current and / or next image frame are read from the memory.
[0136] When a scene mode switching operation is detected, image compensation data with the first compression ratio and the second compression ratio corresponding to the current image frame can be read from the memory; or, image compensation data with the first compression ratio and the second compression ratio corresponding to the next image frame can be read from the memory; or, image compensation data with the first compression ratio and the second compression ratio corresponding to the current and next image frames can be read from the memory. Thus, seamless switching can be achieved when scene mode switching occurs, or the screen comparison display effect under two different compensation data can also be achieved.
[0137] 303. Perform optical compensation on the image displayed by the electronic device based on the image compensation data.
[0138] In this embodiment, the display screen can be at least one of the following: LCD, OLED, AMOLED, flexible light-emitting diode (FLED, miniled, MicroLED, Micro-OLED, QLED, etc., which are not limited herein). The electronic device may include one or more display screens, and different display screens may correspond to different image compensation data. The electronic device can perform optical compensation on the display screen according to the image compensation data, and then display the compensated image.
[0139] In practical applications, when detecting infringement, the electronic device can turn off all image enhancement modules and test monochrome images of 0-255 in different scene modes to detect whether the pixel values of the images change and observe whether the compensation effect of Mura changes. If the compensation effect is improved in image mode compared to UI mode or video mode, there is a high probability of infringement. Of course, this method is only one dimension of infringement detection. In specific implementations, infringement detection can be carried out from more angles to provide supporting evidence and increase the probability of confirming infringement.
[0140] Optionally, step 303 above, performing optical compensation on the image displayed by the electronic device based on the image compensation data, includes:
[0141] 31. Determine the first adjustment coefficient corresponding to the first environmental parameter according to the mapping relationship between the environmental parameters of the electronic device and the adjustment coefficient of optical compensation, wherein the first environmental parameter is one of the environmental parameters and the first adjustment coefficient is one of the adjustment coefficients;
[0142] 32. Adjust the image compensation data according to the first adjustment coefficient to obtain the first image compensation data;
[0143] 33. Perform optical compensation on the image displayed by the electronic device based on the first image compensation data.
[0144] In this embodiment, the environmental parameters can be at least one of the following: ambient brightness, weather, temperature, magnetic field interference parameters, humidity, etc., which are not limited here. The adjustment coefficient of optical compensation can be a single value, or it can be a matrix. When the adjustment coefficient is a single value, the value range of the adjustment coefficient is 0 to 1; when the adjustment coefficient is a matrix, the size of the matrix is consistent with the size of the matrix corresponding to the compensation coefficient.
[0145] Specifically, the electronic device can pre-store the mapping relationship between preset environmental parameters and adjustment coefficients. Then, after the electronic device acquires the first environmental parameter, it determines the first adjustment coefficient corresponding to the first environmental parameter according to the preset mapping relationship between the environmental parameter and the adjustment coefficient. The first environmental parameter is one of the environmental parameters, and the first adjustment coefficient is one of the adjustment coefficients. The image compensation data is then adjusted according to the first adjustment coefficient to obtain the first image compensation data. The specific formula is as follows:
[0146] First image compensation data = First adjustment coefficient * Image compensation data
[0147] Furthermore, the display screen can be compensated based on the first image compensation data. By adjusting the image compensation data through environmental parameters, the display effect becomes more in line with environmental requirements, which helps to improve the compensation effect and user experience.
[0148] Optionally, step 303 above, which involves optically compensating the image displayed by the electronic device based on the image compensation data, may include the following steps:
[0149] B31. Determine the target distance between the user and the electronic device;
[0150] B32. Determine the second adjustment coefficient corresponding to the target distance according to the preset mapping relationship between distance and adjustment coefficient;
[0151] B33. Adjust the image compensation data according to the second adjustment coefficient to obtain the second image compensation data;
[0152] B34. Perform optical compensation on the display screen based on the second image compensation data.
[0153] The electronic device can pre-store a preset mapping relationship between distance and adjustment coefficient. Specifically, the electronic device can detect the distance between the user and the device using a distance sensor, and then determine a second adjustment coefficient corresponding to the target distance using the preset mapping relationship between distance and adjustment coefficient. Furthermore, the image compensation data can be adjusted according to the second adjustment coefficient to obtain second image compensation data. The specific calculation formula is as follows:
[0154] Second image compensation data = Second adjustment coefficient * Image compensation data
[0155] Furthermore, the display screen can be compensated based on the second image compensation data. By adjusting the image compensation data according to the distance, the display effect is made more in line with the current distance requirements between the user and the electronic device, which helps to improve the compensation effect and user experience.
[0156] For example, in the embodiments of this application, such as Figure 3D As shown, the system may include an external DRAM memory for storing compressed image compensation data, a data interface (DRAM interface), a hybrid decompression module, a usage scenario setting module, a multiplier, and a De-mura module. The multiplier adjusts the image compensation data acquired by the decompression module using adjustment coefficients. These coefficients can be specific numerical values or matrices, with the matrix size matching the image compensation data matrix. The adjustment coefficients can be determined by environmental parameters, distance, and user vision parameters. That is, appropriate adjustment coefficients can be provided for different environments, distances, and user vision levels.
[0157] As can be seen, the display control method described in the embodiments of this application is used to perform optical compensation on the image displayed by the electronic device, determine the scene mode of the user using the electronic device, and obtain image compensation data, wherein the compression ratio of the image compensation data corresponds to the scene mode. Optical compensation is performed on the image displayed by the electronic device based on the image compensation data. In this way, image compensation data corresponding to the scene mode can be selected for compensation of the display screen, which helps to improve the flexibility of mura compensation.
[0158] Please see Figure 4 , Figure 4This is a flowchart illustrating a display control method provided in an embodiment of this application. It is applied to an electronic device and used to perform optical compensation on the image displayed by the electronic device. As shown in the figure, the display control method includes:
[0159] 401. Determine the scenario mode in which the user uses the electronic device.
[0160] 402. According to the mapping relationship between the scene mode and the storage address of the image compensation data, the corresponding initial image compensation data is obtained from the memory, wherein multiple sets of image compensation data with different compression ratios are stored in different storage addresses of the memory respectively.
[0161] 403. Decompress the initial image compensation data to obtain image compensation data.
[0162] 404. Perform optical compensation on the image displayed by the electronic device based on the image compensation data.
[0163] For a detailed description of steps 401-404 above, please refer to [link to relevant documentation]. Figure 3A A description of the display control method described.
[0164] As can be seen, through the embodiments of this application, appropriate image compensation data can be selected for compensation of the display screen according to the user's usage scenario, which helps to improve the flexibility of mura compensation.
[0165] Consistent with the above embodiments, please refer to Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. As shown in the figure, the electronic device includes a processor, a memory, a display screen, a communication interface, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. In this embodiment, the programs include instructions for performing the following steps:
[0166] The memory is configured to store image compensation data;
[0167] The processor is configured as follows:
[0168] Determine the scene mode in which the user uses the electronic device; and acquire the image compensation data, wherein the compression ratio of the image compensation data corresponds to the scene mode;
[0169] The display screen is configured to perform optical compensation on the image displayed by the electronic device based on the image compensation data.
[0170] As can be seen, the electronic device described in the embodiments of this application is used to perform optical compensation on the image displayed by the electronic device, determine the scene mode of the user using the electronic device, and obtain image compensation data, wherein the compression ratio of the image compensation data corresponds to the scene mode. Optical compensation is performed on the image displayed by the electronic device based on the image compensation data. In this way, image compensation data corresponding to the scene mode can be selected for compensation of the display screen, which helps to improve the flexibility of mura compensation.
[0171] Optionally, in acquiring the image compensation data, the processor is configured to:
[0172] According to the mapping relationship between the scene mode and the storage address of the image compensation data, the corresponding image compensation data is obtained from the memory, wherein multiple sets of image compensation data with different compression ratios are stored in different storage addresses of the memory.
[0173] Optionally, the processor is further configured to:
[0174] Read the image compensation data with the first compression ratio to reduce the amount or frequency of data read from the memory;
[0175] Read the image compensation data at the second compression ratio to improve the quality of the image displayed by the electronic device;
[0176] Wherein, the second compression ratio is less than the first compression ratio.
[0177] Optionally, the processor is further configured to:
[0178] Based on the scene mode switching of the electronic device, the image compensation data corresponding to the first compression ratio and the second compression ratio of the current and / or next image frame are read from the memory.
[0179] Optionally, in retrieving the corresponding image compensation data from the memory, the processor is configured to:
[0180] The initial image compensation data is retrieved from the memory according to the storage address of the image compensation data;
[0181] The initial image compensation data is decompressed to obtain the image compensation data.
[0182] Optionally, in determining the scenario mode in which the user uses the electronic device, the processor is configured to:
[0183] Identify foreground applications;
[0184] Determine the scene mode of the electronic device corresponding to the front-end application.
[0185] Optionally, in performing optical compensation on the image displayed by the electronic device based on the image compensation data, the display screen is configured as follows:
[0186] The first adjustment coefficient corresponding to the first environmental parameter is determined according to the mapping relationship between the environmental parameters of the electronic device and the adjustment coefficient of optical compensation, wherein the first environmental parameter is one of the environmental parameters and the first adjustment coefficient is one of the adjustment coefficients;
[0187] The image compensation data is adjusted according to the first adjustment coefficient to obtain the first image compensation data;
[0188] Optical compensation is performed on the image displayed by the electronic device based on the first image compensation data.
[0189] The foregoing mainly describes the solutions of the embodiments of this application from the perspective of the method execution process. It is understood that, in order to achieve the above functions, the electronic device includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments provided herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0190] This application embodiment can divide the electronic device into functional units according to the above method example. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0191] Figure 6 This is a functional unit block diagram of the display control device 600 involved in the embodiments of this application. The display control device 600 includes a determining unit 601, an acquiring unit 602, and a compensation unit 603, wherein...
[0192] The determining unit 601 is used to determine the scenario mode in which the user uses the electronic device.
[0193] The acquisition unit 602 is used to acquire image compensation data, wherein the compression ratio of the image compensation data corresponds to the scene mode;
[0194] The compensation unit 603 is used to perform optical compensation on the image displayed by the electronic device based on the image compensation data.
[0195] Optionally, in acquiring the image compensation data, the acquisition unit 602 is specifically used for:
[0196] According to the mapping relationship between the scene mode and the storage address of the image compensation data, the corresponding image compensation data is obtained from the memory, wherein multiple sets of image compensation data with different compression ratios are stored in different storage addresses of the memory.
[0197] Optionally, the acquisition unit 602 is further specifically used for:
[0198] Read the image compensation data with the first compression ratio to reduce the amount or frequency of data read from the memory;
[0199] Read the image compensation data at the second compression ratio to improve the quality of the image displayed by the electronic device;
[0200] Wherein, the second compression ratio is less than the first compression ratio.
[0201] Optionally, the acquisition unit 602 is further specifically used for:
[0202] Based on the scene mode switching of the electronic device, the image compensation data corresponding to the first compression ratio and the second compression ratio of the current and / or next image frame are read from the memory.
[0203] Optionally, in retrieving the corresponding image compensation data from the memory, the retrieval unit 602 is specifically used for:
[0204] The initial image compensation data is retrieved from the memory according to the storage address of the image compensation data;
[0205] The initial image compensation data is decompressed to obtain the image compensation data.
[0206] Optionally, in determining the scenario mode of user use of the electronic device, the determining unit 601 is specifically used for:
[0207] Identify foreground applications;
[0208] Determine the scene mode of the electronic device corresponding to the front-end application.
[0209] Optionally, in the process of performing optical compensation on the image displayed by the electronic device based on the image compensation data, the compensation unit 603 is specifically used for:
[0210] The first adjustment coefficient corresponding to the first environmental parameter is determined according to the mapping relationship between the environmental parameters of the electronic device and the adjustment coefficient of optical compensation, wherein the first environmental parameter is one of the environmental parameters and the first adjustment coefficient is one of the adjustment coefficients;
[0211] The image compensation data is adjusted according to the first adjustment coefficient to obtain the first image compensation data;
[0212] Optical compensation is performed on the image displayed by the electronic device based on the first image compensation data.
[0213] It should be noted that the electronic device described in the embodiments of this application is presented in the form of functional units. The term "unit" as used herein should be understood in the broadest possible sense, and the object used to implement the functions described in each "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory for executing one or more software or firmware programs, combinational logic circuits, and / or other suitable components that provide the above functions.
[0214] The determining unit 601 can be a processor, the acquiring unit 602 can be a memory or a processor, and the compensation unit 603 can be a processor or a display screen. Based on the above unit modules, the functions or steps of any of the above methods can be implemented.
[0215] This embodiment also provides a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program causes a computer to execute, as described in the embodiments of this application, to implement any of the methods in the above embodiments.
[0216] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement any of the methods in the above embodiments.
[0217] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component or module. The apparatus may include a connected processor and a memory; wherein the memory is used to store computer execution instructions, and when the apparatus is running, the processor may execute the computer execution instructions stored in the memory to cause the chip to execute any of the methods in the above method embodiments.
[0218] In this embodiment, the electronic device, computer storage medium, computer program product or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.
[0219] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0220] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0221] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0222] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0223] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0224] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A display control method for optically compensating images displayed by an electronic device, characterized in that, The method includes: Determine the scenario mode in which the user uses the electronic device; Acquire image compensation data, wherein the compression ratio of the image compensation data corresponds to the scene mode; the image compensation data includes Mura image compensation data. Optical compensation is performed on the image displayed by the electronic device based on the image compensation data; The step of performing optical compensation on the image displayed by the electronic device based on the image compensation data includes: The first adjustment coefficient corresponding to the first environmental parameter is determined according to the mapping relationship between the environmental parameters of the electronic device and the adjustment coefficient of optical compensation, wherein the first environmental parameter is one of the environmental parameters and the first adjustment coefficient is one of the adjustment coefficients; The image compensation data is adjusted according to the first adjustment coefficient to obtain the first image compensation data; Optical compensation is performed on the image displayed by the electronic device based on the first image compensation data.
2. The method according to claim 1, characterized in that, The acquired image compensation data includes: According to the mapping relationship between the scene mode and the storage address of the image compensation data, the corresponding image compensation data is obtained from the memory, wherein multiple sets of image compensation data with different compression ratios are stored in different storage addresses of the memory.
3. The method according to claim 2, characterized in that, The method further includes: Read the image compensation data with the first compression ratio to reduce the amount or frequency of data read from the memory; Read the image compensation data at the second compression ratio to improve the quality of the image displayed by the electronic device; Wherein, the second compression ratio is less than the first compression ratio.
4. The method according to claim 2, characterized in that, The method further includes: Based on the scene mode switching of the electronic device, the image compensation data corresponding to the first compression ratio and the second compression ratio of the current and / or next image frame are read from the memory.
5. The method according to claim 2, characterized in that, The step of retrieving the corresponding image compensation data from the memory includes: The initial image compensation data is retrieved from the memory according to the storage address of the image compensation data; The initial image compensation data is decompressed to obtain the image compensation data.
6. The method according to any one of claims 1-5, characterized in that, The scenario mode for determining user use of the electronic device includes: Identify foreground applications; Determine the scene mode of the electronic device corresponding to the front-end application.
7. An electronic device, characterized in that, The electronic device includes: The memory is configured to store image compensation data; A processor configured to: determine a scene mode in which a user uses the electronic device; and acquire the image compensation data, wherein the compression ratio of the image compensation data corresponds to the scene mode; the image compensation data includes mura image compensation data. The display screen is configured to perform optical compensation on the image displayed by the electronic device based on the image compensation data; The step of performing optical compensation on the image displayed by the electronic device based on the image compensation data includes: The first adjustment coefficient corresponding to the first environmental parameter is determined according to the mapping relationship between the environmental parameters of the electronic device and the adjustment coefficient of optical compensation, wherein the first environmental parameter is one of the environmental parameters and the first adjustment coefficient is one of the adjustment coefficients; The image compensation data is adjusted according to the first adjustment coefficient to obtain the first image compensation data; Optical compensation is performed on the image displayed by the electronic device based on the first image compensation data.
8. A display control method applied to an electronic device, said electronic device comprising a processor, a memory, and a display screen, characterized in that, The method includes: The processor is used to determine the scenario pattern in which the user uses the electronic device. The processor retrieves image compensation data from the memory, wherein the compression ratio of the image compensation data corresponds to the scene mode; the image compensation data includes mura image compensation data. The display screen is used to perform optical compensation on the image displayed by the electronic device based on the image compensation data; The step of performing optical compensation on the image displayed by the electronic device based on the image compensation data includes: The first adjustment coefficient corresponding to the first environmental parameter is determined according to the mapping relationship between the environmental parameters of the electronic device and the adjustment coefficient of optical compensation, wherein the first environmental parameter is one of the environmental parameters and the first adjustment coefficient is one of the adjustment coefficients; The image compensation data is adjusted according to the first adjustment coefficient to obtain the first image compensation data; Optical compensation is performed on the image displayed by the electronic device based on the first image compensation data.
9. An electronic device, characterized in that, The electronic device includes a processor, a memory, and a display screen. The memory is used to store one or more programs and is configured to be executed by the processor. The programs include instructions for performing the steps of the method as described in any one of claims 1-6 and 8.
10. A computer-readable storage medium, characterized in that, A computer program for storing electronic data interchange is provided, wherein the computer program causes a computer to perform the method as described in any one of claims 1-6, 8.
Citation Information
Patent Citations
Mura compensation method and device for display panel, and electronic equipment
CN111462260A
Display control method and display equipment
CN113066451A