Display method and apparatus
By detecting and compensating for image retention areas on OLED screens, the problem of residual images after screen transitions has been solved, resulting in better display performance and cost control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2021-03-29
- Publication Date
- 2026-06-02
AI Technical Summary
OLED screens exhibit lag during image switching, resulting in residual images after the image transition. Current technologies are difficult and costly to improve, and products manufactured on the same production line may have individual performance differences.
After the screen switches, the ghosting area is detected to obtain the degree of grayscale deviation. The grayscale deviation in the ghosting area is eliminated by brightness compensation. The brightness and/or grayscale value is adjusted by using thin-film field-effect transistors.
It effectively eliminates the impact of residual images on display quality, adapts to the display characteristics and performance differences of different screens, improves display quality, and reduces improvement costs.
Smart Images

Figure CN115145659B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to display technology, and more particularly to a display method and apparatus. Background Technology
[0002] Thin-film transistors (TFTs) in OLED and other similar screens exhibit lag during image switching. Especially when the screen panel displays the same image for an extended period, a residual image of the previous image remains in the new screen after the image switch occurs.
[0003] Reducing the impact of residual images through process improvements is challenging and costly. Furthermore, due to the nature of screen manufacturing processes, even products from the same production line can exhibit individual performance variations, making improvements less than ideal. Summary of the Invention
[0004] To overcome the problems existing in the related technologies, the purpose of this disclosure is to provide a display method and apparatus that detects the afterimage area when switching display screens and eliminates the grayscale deviation of the afterimage area through brightness compensation, so as to obtain a better display effect.
[0005] To achieve the above objectives, the technical solution adopted in this disclosure is as follows:
[0006] According to a first aspect of the present disclosure, a display method is provided, comprising:
[0007] After switching display screens, detect the ghosting area on the screen;
[0008] Obtain the grayscale deviation degree of the afterimage region;
[0009] Brightness compensation is performed on the afterimage area based on the degree of grayscale deviation.
[0010] Preferably, detecting the afterimage area on the screen after switching display screens includes:
[0011] If the time the previous display screen remains on the screen before the display screen is switched exceeds the preset afterimage generation time, a fixed pattern in the previous display screen is detected.
[0012] The display area of the screen corresponding to each of the fixed patterns is determined as a ghost image area.
[0013] Preferably, the step of obtaining the grayscale deviation degree of the afterimage region includes:
[0014] Detect the real-time grayscale value of each of the said afterimage regions;
[0015] The degree of grayscale deviation in each afterimage region is determined based on the real-time grayscale value and the preset target grayscale value of the screen.
[0016] Preferably, the step of detecting the real-time grayscale value of each of the afterimage regions includes:
[0017] The real-time grayscale value of each of the afterimage regions is calculated according to the following expression:
[0018] ;
[0019] in, This refers to the real-time grayscale value of the afterimage area after switching display screens. This represents the initial grayscale difference in the afterimage area after switching display screens. The duration of the previous displayed image on the screen before switching to a new display. The area of the afterimage region. The duration of the next displayed image on the screen after a screen switch. Let be the screen's brightness decay constant. L represents the area transfer amount of the afterimage region that has no impact on the subsequent displayed image, and L is the afterimage region area transfer constant. This refers to the dwell time index of the previous displayed screen. is the grayscale variation coefficient of the afterimage region, and n is the area influence coefficient of the afterimage region. The time decay exponent, This is a time offset correction factor. is the time decay constant.
[0020] Preferably, the step of detecting the real-time grayscale value of each of the afterimage regions includes:
[0021] Input any one or more of the following parameters into the neural network model to obtain the real-time grayscale values of each of the afterimage regions:
[0022] The initial grayscale value of the afterimage area, the initial grayscale value of the afterimage area after switching display screens, the dwell time of the previous display screen before switching display screens, the dwell time of the next display screen after switching display screens, and the area of the afterimage area.
[0023] Preferably, the step of determining the grayscale deviation degree of each afterimage region based on the real-time grayscale value and the preset target grayscale value of the screen includes:
[0024] The grayscale difference value, reflecting the degree of grayscale deviation in the afterimage region, is calculated according to the following expression:
[0025] Gray level difference = target gray level value - real-time gray level value.
[0026] Preferably, the step of performing brightness compensation on the afterimage area based on the degree of grayscale deviation includes:
[0027] Based on the degree of grayscale deviation, a thin-film field-effect transistor is driven to superimpose the grayscale difference value onto the brightness and / or grayscale value of the afterimage region.
[0028] According to a first aspect of the present disclosure, a display device is provided, comprising:
[0029] The ghosting area detection module is used to detect ghosting areas on the screen after switching display screens;
[0030] The grayscale deviation acquisition module is used to acquire the degree of grayscale deviation in the afterimage region;
[0031] The brightness compensation module is used to compensate the brightness of the afterimage area according to the degree of grayscale deviation.
[0032] Preferably, the afterimage region detection module includes:
[0033] The pattern analysis submodule is used to detect a fixed pattern in the previous display screen when the time the previous display screen stays on the screen before the display screen is switched exceeds a preset afterimage generation time.
[0034] The afterimage region determination submodule is used to determine the display area of the screen corresponding to each of the fixed patterns as an afterimage region.
[0035] Preferably, the grayscale deviation acquisition module includes:
[0036] The real-time grayscale detection submodule is used to detect the real-time grayscale values of each of the afterimage regions.
[0037] The grayscale difference determination submodule is used to determine the degree of grayscale deviation of each afterimage region based on the real-time grayscale value and the preset target grayscale value of the screen.
[0038] Preferably, the real-time grayscale detection submodule includes:
[0039] The first detection unit is used to calculate the real-time grayscale value of each of the afterimage regions according to the following expression:
[0040] ,
[0041] in, This refers to the real-time grayscale value of the afterimage area after switching display screens. This represents the initial grayscale difference in the afterimage area after switching display screens. The duration of the previous displayed image on the screen before switching to a new display. The area of the afterimage region. The duration of the next displayed image on the screen after a screen switch. Let be the screen's brightness decay constant. L represents the area transfer amount of the afterimage region that has no impact on the subsequent displayed image, and L is the afterimage region area transfer constant. This refers to the dwell time index of the previous displayed screen. is the grayscale variation coefficient of the afterimage region, and n is the area influence coefficient of the afterimage region. The time decay exponent, This is a time offset correction factor. The time decay constant;
[0042] The second detection unit is used to input any one or more of the following parameters into the neural network model to obtain the real-time grayscale values of each of the afterimage regions:
[0043] The initial grayscale value of the afterimage area, the initial grayscale value of the afterimage area after switching display screens, the dwell time of the previous display screen before switching display screens, the dwell time of the next display screen after switching display screens, and the area of the afterimage area.
[0044] Preferably, the grayscale difference determination submodule includes:
[0045] The difference calculation unit is used to calculate the grayscale difference value, which reflects the degree of grayscale deviation in the afterimage region, according to the following expression:
[0046] Gray level difference = target gray level value - real-time gray level value.
[0047] Preferably, the brightness compensation module includes:
[0048] The driving submodule is used to drive the thin-film field-effect transistor (TFT) according to the grayscale deviation degree, and to superimpose the grayscale difference value on the brightness and / or grayscale value of the afterimage region.
[0049] According to a third aspect of the present disclosure, a computer apparatus is provided, comprising:
[0050] processor;
[0051] Memory used to store processor-executable instructions;
[0052] The processor is configured to execute the above-described display method.
[0053] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which, when instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform the above-described display method.
[0054] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: after switching display screens, the afterimage area in the screen is detected, and the grayscale deviation of the afterimage area is obtained. Then, based on the grayscale deviation, brightness compensation is performed on the afterimage area. This flexibly adapts to the display characteristics and performance differences of different screens, eliminates the influence of optical residual images on the display effect, and solves the problem of poor display effect.
[0055] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0056] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0057] Figure 1 This is a schematic diagram illustrating the principle of afterimage formation.
[0058] Figure 2 This is a flowchart illustrating a display method according to an exemplary embodiment.
[0059] Figure 3 This is a flowchart illustrating yet another display method according to an exemplary embodiment.
[0060] Figure 4 This is a flowchart illustrating yet another display method according to an exemplary embodiment.
[0061] Figure 5 This is a schematic diagram illustrating the training principle of a neural network model according to an exemplary embodiment.
[0062] Figure 6 This is a block diagram illustrating a display device according to an exemplary embodiment.
[0063] Figure 7 This is a schematic diagram of the structure of a ghost region detection module 601 according to an exemplary embodiment.
[0064] Figure 8 This is a schematic diagram of the structure of a grayscale deviation acquisition module 602 according to an exemplary embodiment.
[0065] Figure 9 This is a schematic diagram of the structure of a real-time grayscale detection submodule 801 according to an exemplary embodiment.
[0066] Figure 10 This is a schematic diagram of the structure of the grayscale difference determination submodule 802 according to an exemplary embodiment.
[0067] Figure 11 This is a schematic diagram of the structure of a brightness compensation module 603 according to an exemplary embodiment.
[0068] Figure 12 This is a block diagram illustrating an apparatus according to an exemplary embodiment. Detailed Implementation
[0069] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0070] Reducing the impact of residual images through process improvements is challenging and costly. Furthermore, due to the nature of screen manufacturing processes, even products from the same production line can exhibit individual performance variations, making improvements less than ideal.
[0071] To address the aforementioned issues, embodiments of this disclosure provide a display method and apparatus. By detecting ghosting areas and performing targeted brightness compensation, the effects of ghosting are automatically and efficiently eliminated, significantly improving the user experience while effectively controlling improvement costs.
[0072] To better understand the technical solution disclosed herein, the principle of afterimage formation will first be explained.
[0073] like Figure 1 As shown, A represents the original display effect of the screen, such as a normal grayscale brightness of L48. B represents a portion of the displayed image; the left half of B is a high-brightness pattern, and the right half is a low-brightness pattern. C represents the display effect of the corresponding area of the screen after displaying B for a period of time (e.g., 10 seconds). It can be seen that there is a difference in brightness between C and A; compared to A, the left half of C is darker, and the right half is brighter. This effect presented by C is screen ghosting.
[0074] An exemplary embodiment of this disclosure provides a display method, the process of which eliminates ghosting effects as follows: Figure 2 As shown, it includes:
[0075] Step 201: After switching the display screen, detect the afterimage area on the screen.
[0076] In this step, after switching display screens, the ghosting area caused by the previous display screen can be detected. If the previous display screen remains on the screen for a period exceeding a preset ghosting generation time, a fixed pattern in the previous display screen can be detected.
[0077] The screen may include at least one image retention area, and two image retention areas may or may not be connected. Each image retention area includes at least a plurality of consecutive pixels, which displayed a portion of a fixed pattern in the previous display. The grayscale or brightness of each pixel in the pattern corresponding to an image retention area is the same or similar, for example, all at 400 nits, or between 380 and 400 nits, or all above 380 nits. In this way, the fixed pattern will cause image retention in the display area.
[0078] Step 202: Obtain the grayscale deviation degree of the afterimage region.
[0079] In this step, after determining the ghosting area, the grayscale deviation of the ghosting area can be further obtained to determine the impact of the previous display on the screen display.
[0080] This step can be performed in real time to obtain the most accurate grayscale deviation that best matches the actual situation.
[0081] Step 203: Perform brightness compensation on the afterimage area according to the grayscale deviation.
[0082] In this step, the brightness of the ghosting area is adjusted according to the degree of grayscale deviation. For example, when the degree of grayscale deviation indicates a decrease in grayscale value, the grayscale value of the corresponding ghosting area is increased to improve the brightness of the ghosting area; when the degree of grayscale deviation indicates an increase in grayscale value, the grayscale value of the corresponding ghosting area is decreased to reduce the brightness of the ghosting area.
[0083] The grayscale difference can be superimposed on the image retention area by driving the TFT. Specifically, the grayscale difference is superimposed on the brightness and / or grayscale value of the image retention area. This can be achieved by interfering with the voltage between the gate and source of the TFT, thereby reducing or eliminating the TFT's hysteresis effect.
[0084] by Figure 1 Taking the situation shown as an example, let the grayscale value (or brightness value) of A be denoted as . The grayscale value of the left half of C is The grayscale difference between the left half of C and A can be calculated. After switching from B to C, if brightness compensation is not performed, due to the hysteresis effect of the TFT, it will take a long time for the left or right half of C to naturally recover to L48, which will produce a relatively obvious afterimage that is perceptible to the naked eye.
[0085] In this embodiment, reverse brightness compensation is applied to the left half of C based on the grayscale difference, interfering with the natural recovery of grayscale / brightness and accelerating brightness recovery. As the brightness of the left half of C gradually recovers to L48, Gradually decreasing to 0 indicates that the screen brightness has returned to its initial level, the ghosting has disappeared, and brightness compensation can be stopped. Because brightness compensation has been applied, the recovery time is significantly shortened, and users can hardly perceive the ghosting.
[0086] An exemplary embodiment of this disclosure also provides a display method, the process of detecting afterimage regions using this method is as follows: Figure 3 As shown, it includes:
[0087] Step 301: If the previous display screen remains on the screen for a longer than a preset afterimage generation time before the display screen is switched, detect the fixed pattern in the previous display screen.
[0088] In this step, considering that afterimages are caused by a portion of the image remaining still for a relatively long time, the time the previous displayed image remained on the screen (i.e., the display time) is analyzed first. Only when the time of remaining on the screen exceeds a preset afterimage generation time is the fixed pattern further detected to determine the afterimage area.
[0089] This avoids image retention detection in cases of short dwell times, improves detection efficiency, and saves processing resources.
[0090] Ghosting is caused by static display. Therefore, when detecting ghosting, the previous display screen is analyzed to determine the fixed pattern in it.
[0091] Step 302: Determine that the display area of the screen corresponding to each fixed pattern is a ghost image area.
[0092] In this step, the corresponding afterimage area is determined based on the detected fixed pattern.
[0093] Each fixed pattern corresponds to multiple consecutive pixels on the screen when displayed. If the pixels in a fixed pattern corresponding to a ghosting area have the same or similar grayscale or brightness—for example, all at 400 nits, between 380 and 400 nits, or all above 380 nits—then the fixed pattern will cause ghosting in the display area.
[0094] Once the ghosting area is determined, specific brightness compensation can be performed on that area.
[0095] An exemplary embodiment of this disclosure also provides a display method for obtaining the degree of grayscale deviation in the afterimage region by calculating grayscale values (or brightness values), the specific process of which is as follows: Figure 4As shown, it includes:
[0096] Step 401: Detect the real-time grayscale value of each of the afterimage regions.
[0097] Since the screen brightness changes continuously with the specific pattern of the next displayed image after switching images, this step detects the grayscale value of the afterimage area determined by the previous displayed image in real time to obtain a more accurate grayscale deviation.
[0098] In this step, grayscale values can be calculated based on the linear relationship between various parameters related to image display before and after screen switching; grayscale values can also be simulated by training a neural network model through a large number of samples; a configuration file can be preset, specifying the correspondence between one or more parameters and grayscale values, and the grayscale value can be determined by comparing and matching the detected parameter values with the configuration file; grayscale values can also be obtained from a local location on the screen through auxiliary detection methods of the device itself or external devices.
[0099] Step 402: Determine the degree of grayscale deviation of each afterimage region based on the real-time grayscale value and the preset target grayscale value of the screen.
[0100] In this step, after determining the real-time grayscale value, the grayscale difference value reflecting the degree of grayscale deviation in the afterimage area can be calculated according to the following expression:
[0101] Gray level difference = target gray level value - real-time gray level value.
[0102] The grayscale difference can be positive or negative. It involves taking the actual difference between the target grayscale value and the real-time grayscale value, and then superimposing the inverse value onto the afterimage area. Alternatively, it can be an absolute value, superimposed onto the afterimage area in the opposite direction of the grayscale value change before and after the switch. Specifically, the grayscale difference is superimposed on the grayscale value and / or brightness value in the afterimage area.
[0103] Once the degree of grayscale deviation is determined, brightness compensation for the reflected light in the corresponding afterimage area can be performed to eliminate the afterimage effect.
[0104] An exemplary embodiment of this disclosure also provides a display method that, when determining the grayscale value of a ghosting region, takes into account the linear relationship between various parameters and specifically calculates the real-time grayscale value of each ghosting region according to the following expression:
[0105] ;
[0106] in, This refers to the real-time grayscale value of the afterimage area after switching display screens. This represents the initial grayscale difference in the afterimage area after switching display screens. The duration of the previous displayed image on the screen before switching to a new display. The area of the afterimage region. The duration of the next displayed image on the screen after a screen switch. Let be the screen's brightness decay constant. L represents the area transfer amount of the afterimage region that has no impact on the subsequent displayed image, and L is the afterimage region area transfer constant. This refers to the dwell time index of the previous displayed screen. is the grayscale variation coefficient of the afterimage region, and n is the area influence coefficient of the afterimage region. The time decay exponent, This is a time offset correction factor. is the time decay constant.
[0107] An exemplary embodiment of this disclosure also provides a display method, which trains a neural network model and then inputs any one or more of the following parameters into the neural network model to obtain the real-time grayscale values of each of the afterimage regions:
[0108] The initial grayscale value of the afterimage area, the initial grayscale value of the afterimage area after switching display screens, the dwell time of the previous display screen before switching display screens, the dwell time of the next display screen after switching display screens, and the area of the afterimage area.
[0109] In this embodiment, a neural network model can be constructed based on optical data. For example, the initial grayscale value of the afterimage region under different screen switching display scenarios, the initial grayscale value of the afterimage region after the screen switch, the dwell time of the previous display before the screen switch, the dwell time of the next display after the screen switch, and the area of the afterimage region are collected. Specifically, data is collected at different time points during the process of the screen displaying the next display after the screen switch. The collected data is used to train the neural network model.
[0110] For example, such as Figure 5 As shown, a backpropagation (BP) neural network is constructed using MATLAB, specifically a 5-layer multi-input single-output (MIB) neural network with 3 hidden layers. A large amount of collected data is uniformly processed before being input into the neural network model to establish an input-output mapping relationship. The activation function can be Sigmoid, and the training function will employ either gradient descent or momentum gradient descent. The performance function is MSE (mean squared error). The error backpropagation process aims to minimize the objective function. Initially, the learning rate can be set to 0.01, the number of iterations to 5000, and the expected error to be 0.00001. The weights, learning rate, and number of training iterations will be optimized based on the training results.
[0111] Here is an example of a performance function:
[0112]
[0113] Here is an example of the Sigmoid function:
[0114]
[0115] An exemplary embodiment of this disclosure also provides a display device, the structure of which is as follows: Figure 6 As shown, it includes:
[0116] The afterimage area detection module 601 is used to detect the afterimage area on the screen after switching display screens;
[0117] Grayscale deviation acquisition module 602 is used to acquire the grayscale deviation degree of the afterimage region;
[0118] The brightness compensation module 603 is used to perform brightness compensation on the afterimage area according to the degree of grayscale deviation.
[0119] Preferably, the structure of the afterimage region detection module 601 is as follows: Figure 7 As shown, it includes:
[0120] The pattern analysis submodule 701 is used to detect a fixed pattern in the previous display screen when the time the previous display screen stays on the screen before switching the display screen exceeds a preset afterimage generation time.
[0121] The afterimage region determination submodule 702 is used to determine the display area of the screen corresponding to each of the fixed patterns as an afterimage region.
[0122] Preferably, the structure of the grayscale deviation acquisition module 602 is as follows: Figure 8 As shown, it includes:
[0123] The real-time grayscale detection submodule 801 is used to detect the real-time grayscale value of each of the afterimage regions;
[0124] The grayscale difference determination submodule 802 is used to determine the degree of grayscale deviation of each afterimage region based on the real-time grayscale value and the preset target grayscale value of the screen.
[0125] Preferably, the structure of the real-time grayscale detection submodule 801 is as follows: Figure 9 As shown, it includes:
[0126] The first detection unit 901 is used to calculate the real-time grayscale value of each of the afterimage regions according to the following expression:
[0127] ,
[0128] in, This refers to the real-time grayscale value of the afterimage area after switching display screens. This represents the initial grayscale difference in the afterimage area after switching display screens. The duration of the previous displayed image on the screen before switching to a new display. The area of the afterimage region. The duration of the next displayed image on the screen after a screen switch. Let be the screen's brightness decay constant. L represents the area transfer amount of the afterimage region that has no impact on the subsequent displayed image, and L is the afterimage region area transfer constant. This refers to the dwell time index of the previous displayed screen. is the grayscale variation coefficient of the afterimage region, and n is the area influence coefficient of the afterimage region. The time decay exponent, This is a time offset correction factor. The time decay constant;
[0129] The second detection unit 902 is used to input any one or more of the following parameters into the neural network model to obtain the real-time grayscale values of each of the afterimage regions:
[0130] The initial grayscale value of the afterimage area, the initial grayscale value of the afterimage area after switching display screens, the dwell time of the previous display screen before switching display screens, the dwell time of the next display screen after switching display screens, and the area of the afterimage area.
[0131] Preferably, the structure of the grayscale difference determination submodule 802 is as follows: Figure 10 As shown, it includes:
[0132] The difference calculation unit 1001 is used to calculate the grayscale difference value reflecting the degree of grayscale deviation of the afterimage region according to the following expression:
[0133] Gray level difference = target gray level value - real-time gray level value.
[0134] Preferably, the structure of the brightness compensation module 603 is as follows: Figure 11 As shown, it includes:
[0135] The driving submodule 1101 is used to drive the thin film field effect transistor TFT according to the gray level deviation degree, and add the gray level difference value to the brightness and / or gray level value superimposed in the afterimage region.
[0136] The above-described device can be integrated into a device with a display module, and the device will then perform the corresponding functions. Regarding the device in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0137] Figure 12 This is a block diagram illustrating a display device 1200 according to an exemplary embodiment. For example, device 1200 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0138] Reference Figure 12 The device 1200 may include one or more of the following components: a processing component 1202, a memory 1204, a power component 1206, a multimedia component 1208, an audio component 1210, an input / output (I / O) interface 1212, a sensor component 1214, and a communication component 1216.
[0139] Processing component 1202 typically controls the overall operation of device 1200, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1202 may include one or more processors 1220 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 1202 may include one or more modules to facilitate interaction between processing component 1202 and other components. For example, processing component 1202 may include a multimedia module to facilitate interaction between multimedia component 1208 and processing component 1202.
[0140] Memory 1204 is configured to store various types of data to support the operation of device 1200. Examples of this data include instructions for any application or method operating on device 1200, contact data, phonebook data, messages, pictures, videos, etc. Memory 1204 can be implemented by any type of volatile or non-volatile storage 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.
[0141] The power supply component 1206 provides power to the various components of the device 1200. The power supply component 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 1200.
[0142] Multimedia component 1208 includes a screen that provides an output interface between the device 1200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 1208 includes a front-facing camera and / or a rear-facing camera. When the device 1200 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0143] Audio component 1210 is configured to output and / or input audio signals. For example, audio component 1210 includes a microphone (MIC) configured to receive external audio signals when device 1200 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1204 or transmitted via communication component 1216. In some embodiments, audio component 1210 also includes a speaker for outputting audio signals.
[0144] I / O interface 1212 provides an interface between processing component 1202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0145] Sensor assembly 1214 includes one or more sensors for providing status assessments of various aspects of device 1200. For example, sensor assembly 1214 may detect the on / off state of device 1200, the relative positioning of components such as the display and keypad of device 1200, changes in the position of device 1200 or a component of device 1200, the presence or absence of user contact with device 1200, the orientation or acceleration / deceleration of device 1200, and temperature changes of device 1200. Sensor assembly 1214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1214 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0146] Communication component 1216 is configured to facilitate wired or wireless communication between device 1200 and other devices. Device 1200 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 1216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1216 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0147] In an exemplary embodiment, the apparatus 1200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0148] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1204 including instructions, which can be executed by a processor 1220 of the device 1200 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0149] An exemplary embodiment of this disclosure also provides a computer apparatus, including:
[0150] processor;
[0151] Memory used to store processor-executable instructions;
[0152] The processor is configured to execute the display method provided in the embodiments of this disclosure.
[0153] An exemplary embodiment of this disclosure also provides a non-transitory computer-readable storage medium that, when instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform the display method provided in the embodiments of this disclosure.
[0154] The embodiments of this disclosure provide a display method and apparatus. After switching display screens, the method detects afterimage areas on the screen and obtains the grayscale deviation degree of the afterimage areas. Then, based on the grayscale deviation degree, brightness compensation is performed on the afterimage areas. This method flexibly adapts to the display characteristics and performance differences of different screens, eliminates the influence of optical persistence images on display effects, and solves the problem of poor display effects.
[0155] Brightness compensation and repair can be performed according to the characteristics of the screen and the application scenario, thereby improving the tolerance for optical image retention on the screen, increasing the yield of optical image retention in mass production, and reducing the difficulty of array display (Array) process.
[0156] It can be applied to actual OLED panel displays to improve image retention caused by prolonged display of a single image.
[0157] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.
[0158] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A display method, characterized in that, include: After switching display screens, detect the ghosting area on the screen; Obtain the grayscale deviation degree of the afterimage region; Based on the degree of grayscale deviation, brightness compensation is performed on the afterimage area; The step of obtaining the grayscale deviation of the afterimage region includes: detecting the real-time grayscale value of each of the afterimage regions, wherein the step of detecting the real-time grayscale value of each of the afterimage regions includes: The real-time grayscale value of each of the afterimage regions is calculated according to the following expression: ; in, This refers to the real-time grayscale value of the afterimage area after switching display screens. This represents the initial grayscale difference in the afterimage area after switching display screens. The duration of the previous displayed image on the screen before switching to a new display. The area of the afterimage region. The duration of the next displayed image on the screen after a screen switch. Let be the screen's brightness decay constant. L represents the area transfer amount of the afterimage region that has no impact on the subsequent displayed image, and L is the afterimage region area transfer constant. This refers to the dwell time index of the previous displayed screen. is the grayscale variation coefficient of the afterimage region, and n is the area influence coefficient of the afterimage region. The time decay exponent, This is a time offset correction factor. is the time decay constant.
2. The display method according to claim 1, characterized in that, The detection of afterimage areas on the screen after switching display screens includes: If the time the previous display screen remains on the screen before the display screen is switched exceeds the preset afterimage generation time, a fixed pattern in the previous display screen is detected. The display area of the screen corresponding to each of the fixed patterns is determined as a ghost image area.
3. The display method according to claim 1, characterized in that, The step of obtaining the grayscale deviation of the afterimage region further includes: The degree of grayscale deviation in each afterimage region is determined based on the real-time grayscale value and the preset target grayscale value of the screen.
4. The display method according to claim 3, characterized in that, The step of detecting the real-time grayscale value of each of the afterimage regions includes: Input any one or more of the following parameters into the neural network model to obtain the real-time grayscale values of each of the afterimage regions: The initial grayscale value of the afterimage area, the initial grayscale value of the afterimage area after switching display screens, the dwell time of the previous display screen before switching display screens, the dwell time of the next display screen after switching display screens, and the area of the afterimage area.
5. The display method according to claim 3, characterized in that, The step of determining the degree of grayscale deviation of each afterimage region based on the real-time grayscale value and the preset target grayscale value of the screen includes: The grayscale difference value, reflecting the degree of grayscale deviation in the afterimage region, is calculated according to the following expression: Gray level difference = target gray level value - real-time gray level value.
6. The display method according to claim 5, characterized in that, The step of performing brightness compensation on the afterimage area based on the degree of grayscale deviation includes: Based on the degree of grayscale deviation, the thin-film field-effect transistor (TFT) is driven to superimpose the grayscale difference value onto the brightness and / or grayscale value of the afterimage region.
7. A display device, characterized in that, include: The ghosting area detection module is used to detect ghosting areas on the screen after switching display screens; The grayscale deviation acquisition module is used to acquire the degree of grayscale deviation in the afterimage region; A brightness compensation module is used to compensate the brightness of the afterimage area according to the degree of grayscale deviation. The grayscale deviation acquisition module includes a real-time grayscale detection submodule, used to detect the real-time grayscale value of each of the afterimage regions. The real-time grayscale detection submodule includes a first detection unit, used to calculate the real-time grayscale value of each of the afterimage regions according to the following expression: , in, This refers to the real-time grayscale value of the afterimage area after switching display screens. This represents the initial grayscale difference in the afterimage area after switching display screens. The duration of the previous displayed image on the screen before switching to a new display. The area of the afterimage region. The duration of the next displayed image on the screen after a screen switch. Let be the screen's brightness decay constant. L represents the area transfer amount of the afterimage region that has no impact on the subsequent displayed image, and L is the afterimage region area transfer constant. This refers to the dwell time index of the previous displayed screen. is the grayscale variation coefficient of the afterimage region, and n is the area influence coefficient of the afterimage region. The time decay exponent, This is a time offset correction factor. is the time decay constant.
8. The display device according to claim 7, characterized in that, The afterimage region detection module includes: The pattern analysis submodule is used to detect a fixed pattern in the previous display screen when the time the previous display screen stays on the screen before the display screen is switched exceeds a preset afterimage generation time. The afterimage region determination submodule is used to determine the display area of the screen corresponding to each of the fixed patterns as an afterimage region.
9. The display device according to claim 7, characterized in that, The grayscale deviation acquisition module also includes: The grayscale difference determination submodule is used to determine the degree of grayscale deviation of each afterimage region based on the real-time grayscale value and the preset target grayscale value of the screen.
10. The display device according to claim 9, characterized in that, The real-time grayscale detection submodule also includes: The second detection unit is used to input any one or more of the following parameters into the neural network model to obtain the real-time grayscale values of each of the afterimage regions: The initial grayscale value of the afterimage area, the initial grayscale value of the afterimage area after switching display screens, the dwell time of the previous display screen before switching display screens, the dwell time of the next display screen after switching display screens, and the area of the afterimage area.
11. The display device according to claim 9, characterized in that, The grayscale difference determination submodule includes: The difference calculation unit is used to calculate the grayscale difference value, which reflects the degree of grayscale deviation in the afterimage region, according to the following expression: Gray level difference = target gray level value - real-time gray level value.
12. The display device according to claim 11, characterized in that, The brightness compensation module includes: The driving submodule is used to drive the thin-film field-effect transistor (TFT) according to the grayscale deviation degree, and to superimpose the grayscale difference value on the brightness and / or grayscale value of the afterimage region.
13. A display device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the display method as described in any one of claims 1 to 6.
14. A non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to perform the display method as described in any one of claims 1 to 6.