CN115145659A - Display method and device - Google Patents

Display method and device Download PDF

Info

Publication number
CN115145659A
CN115145659A CN202110336270.XA CN202110336270A CN115145659A CN 115145659 A CN115145659 A CN 115145659A CN 202110336270 A CN202110336270 A CN 202110336270A CN 115145659 A CN115145659 A CN 115145659A
Authority
CN
China
Prior art keywords
gray scale
area
display
time
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110336270.XA
Other languages
Chinese (zh)
Inventor
李健
向枭
唐磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110336270.XA priority Critical patent/CN115145659A/en
Publication of CN115145659A publication Critical patent/CN115145659A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Biophysics (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The disclosure relates to a display method and device. The method comprises the following steps: after switching display pictures, detecting a residual shadow area in a screen; acquiring the gray scale deviation degree of the ghost shadow area; and performing brightness compensation on the residual image area according to the gray scale deviation degree. The technical scheme that this disclosure provided is applicable to the screen display, has solved optics afterimage and has leaded to the poor problem of display effect.

Description

Display method and device
Technical Field
The present disclosure relates to display technologies, and in particular, to a display method and device.
Background
Thin film field effect transistors (TFTs) of screens such as Organic Light Emitting Diodes (OLEDs) have hysteresis in the picture switching process. Especially, when a panel (panel) displays the same frame for a long time, after the frame switching occurs, the switched frame will have the residual image of the previous frame.
The influence of the residual image is reduced by improving the process, the difficulty is high, and the realization cost is high. And due to the screen production process, even if the products produced by the same production line have performance differences among individuals, the improvement effect is not ideal.
Disclosure of Invention
In order to overcome the problems in the related art, an object of the present disclosure is to provide a display method and device for detecting an afterimage area and eliminating gray scale deviation of the afterimage area by luminance compensation when switching a display screen, so as to obtain a better display effect.
In order to achieve the purpose, the technical scheme adopted by the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a display method including:
after switching display pictures, detecting a residual shadow area in a screen;
acquiring the gray scale deviation degree of the ghost shadow area;
and performing brightness compensation on the residual image area according to the gray scale deviation degree.
Preferably, after the display screen is switched, the detecting a ghost area in the screen includes:
under the condition that the staying time of a previous display picture before the display picture is switched on the screen exceeds the preset afterimage generation time, detecting a fixed pattern in the previous display picture;
and determining the display area of the screen corresponding to each fixed pattern as one ghost area.
Preferably, the step of obtaining the gray scale deviation degree of the afterimage area includes:
detecting real-time gray scale values of the residual shadow areas;
and determining the gray scale deviation degree of each ghost area according to the real-time gray scale value and a preset target gray scale value of the screen.
Preferably, the step of detecting a real-time gray scale value of each of the afterimage areas includes:
calculating the real-time gray-scale value of each ghost shadow area according to the following expression:
Figure BDA0002997837700000021
wherein E is the real-time gray scale value of the afterimage area after the display picture is switched, delta is the initial gray scale difference value of the afterimage area after the display picture is switched, t is the staying time of the previous display picture on the screen before the display picture is switched, s is the area of the afterimage area, t 0 For the dwell time, k, of the next display frame on the screen after switching the display frame 0 Is the luminance decay constant of the screen, L 0 L is a transfer constant of the area of the residual image region, k 1 Is the dwell time index, k, of the preceding display frame 2 Is the gray scale change coefficient of the residual image region, n is the area influence coefficient of the residual image region, alpha is the time attenuation index, L 1 For time offset correction factor, L 2 Is a time decay constant.
Preferably, the step of detecting a real-time gray scale value of each of the afterimage areas includes:
inputting any one or any plurality of the following parameters into the neural network model to obtain the real-time gray-scale value of each ghost area:
the initial gray scale value of the afterimage area, the initial gray scale value of the afterimage area after switching the display pictures, the staying time of the previous display picture before switching the display pictures on the screen, the staying time of the next display picture after switching the display pictures on the screen and the area of the afterimage area.
Preferably, the step of determining the gray scale deviation degree of each ghost area according to the real-time gray scale value and a preset target gray scale value of the screen includes:
calculating a gray-scale difference value reflecting the degree of gray-scale deviation of the afterimage area according to the following expression:
gray scale difference = target gray scale value-real time gray scale value.
Preferably, the step of performing brightness compensation on the afterimage area according to the gray scale deviation degree includes:
and driving the thin film field effect transistor according to the gray scale deviation degree, and superposing the gray scale difference value on the brightness and/or the gray scale value of the afterimage area.
According to a first aspect of embodiments of the present disclosure, there is provided a display device including:
the ghost area detection module is used for detecting a ghost area in the screen after the display picture is switched;
the gray scale deviation acquisition module is used for acquiring the gray scale deviation degree of the ghost shadow area;
and the brightness compensation module is used for performing brightness compensation on the residual image area according to the gray scale deviation degree.
Preferably, the image sticking area detecting module includes:
the pattern analysis submodule is used for detecting a fixed pattern in a previous display picture under the condition that the staying time of the previous display picture on the screen before the display picture is switched exceeds the preset afterimage generation time;
and the residual shadow area determining submodule is used for determining the display area of the screen corresponding to each fixed pattern as one residual shadow area.
Preferably, the gray scale deviation obtaining module includes:
the real-time gray scale detection submodule is used for detecting real-time gray scale values of the residual image areas;
and the gray scale difference determining submodule is used for determining the gray scale deviation degree of each residual shadow area according to the real-time gray scale value and the preset target gray scale value of the screen.
Preferably, the real-time gray scale detection sub-module includes:
the first detection unit is used for calculating the real-time gray-scale value of each ghost area according to the following expression:
Figure BDA0002997837700000031
wherein E is the real-time gray scale value of the afterimage area after the display picture is switched, and delta is the display time of the afterimage area during the switchingThe initial gray scale difference value after the picture, t is the staying time of the previous display picture on the screen before the display picture is switched, s is the area of the ghost area, t 0 For the dwell time, k, of the next display frame on the screen after switching the display frame 0 Is the luminance decay constant of the screen, L 0 L is an area transfer constant of the afterimage region, k 1 Is the dwell time index, k, of the preceding display frame 2 Is the gray scale change coefficient of the residual image region, n is the area influence coefficient of the residual image region, alpha is the time attenuation index, L 1 For time offset correction factor, L 2 Is the time decay constant;
the second detection unit is used for inputting any one or more of the following parameters into the neural network model to obtain the real-time gray-scale value of each ghost area:
the initial gray scale value of the afterimage area, the initial gray scale value of the afterimage area after switching the display picture, the staying time of the previous display picture before switching the display picture on the screen, the staying time of the next display picture after switching the display picture on the screen, and the area of the afterimage area.
Preferably, the gray scale difference determination sub-module includes:
a difference value calculating unit for calculating a gray-scale difference value reflecting the gray-scale deviation degree of the afterimage area according to the following expression:
gray scale difference = target gray scale value-real time gray scale value.
Preferably, the brightness compensation module includes:
and the driving submodule is used for driving the thin film field effect transistor TFT according to the gray scale deviation degree and superposing the gray scale difference value on the brightness and/or the gray scale value of the residual shadow area.
According to a third aspect of embodiments of the present disclosure, there is provided a computer apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the above display method.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform the above-described display method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: after the display picture is switched, detecting a residual image area in the screen, acquiring the gray scale deviation degree of the residual image area, and then performing brightness compensation on the residual image area according to the gray scale deviation degree. Flexibly adapt to the display characteristics and performance differences of different screens, eliminate the influence of optical residual images on the display effect and solve the problem of poor display effect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram of the principle of ghost formation.
FIG. 2 is a flow chart illustrating a display method according to an exemplary embodiment.
FIG. 3 is a flow chart illustrating yet another display method according to an exemplary embodiment.
FIG. 4 is a flow chart illustrating yet another display method according to an exemplary embodiment.
FIG. 5 is a schematic diagram illustrating a neural network model training principle, according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a display device according to an exemplary embodiment.
Fig. 7 is a schematic structural diagram of the ghost area detection module 601 according to an exemplary embodiment.
Fig. 8 is a schematic structural diagram of the gray level deviation obtaining module 602 according to an exemplary embodiment.
Fig. 9 is a schematic structural diagram of a real-time gray scale detection sub-module 801 according to an exemplary embodiment.
Fig. 10 is a schematic diagram showing the structure of the gray-scale difference determination sub-module 802 according to an exemplary embodiment.
Fig. 11 is a schematic structural diagram of the luminance compensation module 603 according to an exemplary embodiment.
FIG. 12 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The influence of the residual image is reduced by improving the process, the difficulty is high, and the realization cost is high. And due to the screen production process, even if the products produced by the same production line have performance differences among individuals, the improvement effect is not ideal.
In order to solve the above problem, embodiments of the present disclosure provide a display method and apparatus. The ghost shadow area is detected, brightness compensation is carried out on the ghost shadow area in a targeted mode, ghost shadow influence is automatically and efficiently eliminated, and use experience is greatly improved on the basis that improvement cost is effectively controlled.
In order to better understand the technical solution of the present disclosure, the principle of forming the residual image will be explained first.
As shown in FIG. 1, A is the original display effect of the screen, for example, the gray level brightness of the normal frame of the screen is L48.B is a part of the display screen, the left half of B is a height pattern, and the right half of B is a low-luminance pattern. And C is the display effect of the corresponding area of the screen after B is displayed for a period of time (for example, 10 s), and it can be seen that there is a difference between the brightness of C and a, and the left half of C is darker and the right half of C is brighter than a. C presents the effect of being a ghost image of the screen.
An exemplary embodiment of the present disclosure provides a display method, where a process of eliminating an influence of a ghost is shown in fig. 2, and the method includes:
step 201, after the display picture is switched, detecting the afterimage area in the screen.
In this step, after the display frames are switched, the ghost area caused by the previous display frame can be detected. The fixed pattern in the previous display picture can be detected under the condition that the staying time of the previous display picture on the screen before the display picture is switched exceeds the preset afterimage generation time.
At least one ghost area can be included in the screen, and the two ghost areas can be connected or disconnected. Each ghost area at least comprises a plurality of continuous pixel points, and the pixel points display part of fixed patterns in the previous display picture. The gray scale or brightness of each pixel in the pattern corresponding to one ghost area is the same or close to, for example, 400 nits or between 380-400 nits or higher than 380 nits. Thus, the fixed pattern causes a ghost image of the display area.
Step 202, obtaining the gray scale deviation degree of the ghost shadow area.
In this step, after the ghost area is determined, the gray scale deviation degree of the ghost area can be further obtained to determine the influence of the previous display screen on the display of the screen.
This step can be performed in real time to obtain the most accurate gray scale deviation degree that best meets the actual situation.
And 203, performing brightness compensation on the residual image area according to the gray scale deviation degree.
In this step, the brightness of the ghost area is adjusted according to the gray scale deviation degree. For example, when the gray scale deviation degree indicates that the gray scale value is decreased, the gray scale value of the corresponding residual shadow area is increased, so that the display effect brightness of the residual shadow area is improved; when the gray scale deviation degree indicates that the gray scale value rises, the gray scale value of the corresponding ghost area is reduced, so that the display effect brightness of the ghost area is reduced.
The gray scale difference value can be superimposed on the afterimage area by driving the TFT. Specifically, the gray scale difference is superimposed on the luminance and/or gray scale value of the afterimage area. The hysteresis effect of the TFT can be reduced or eliminated by driving the TFT and interfering the voltage between the grid electrode and the source electrode.
Taking the case shown in FIG. 1 as an example, let A be the gray level value (or brightness value) L v The gray scale value of the left half of C is L v_W The gray scale difference value of the left half C relative to A can be calculated
Figure BDA0002997837700000061
If the brightness compensation is not performed after switching from B to C, it takes a long time for the left half or the right half of C to naturally return to L48 due to the hysteresis effect of the TFT, and a noticeable afterimage perceivable to the naked eye of the user is generated.
In the embodiment, the left half part of the C is subjected to reverse brightness compensation according to the gray scale difference value, so that the process of naturally restoring gray scale/brightness is interfered, and the brightness restoration is accelerated. With the process of gradually returning the luminance of the left half of C to L48,
Figure BDA0002997837700000062
and gradually reducing to 0, indicating that the screen brightness is restored to the initial level, the afterimage disappears, and the brightness compensation can be stopped. Since the brightness compensation is performed, the recovery time is greatly shortened, and the user hardly feels the occurrence of the afterimage.
An exemplary embodiment of the present disclosure further provides a display method, where a process of detecting a ghost area using the method is shown in fig. 3, and the method includes:
step 301, detecting a fixed pattern in a previous display picture when the staying time of the previous display picture on the screen before switching the display pictures exceeds a preset afterimage generation time.
In this step, considering that the afterimage is caused by a part of the image being stationary for a long time, the staying time (i.e. the display time) of the previous display image on the screen is analyzed first, and when the staying time exceeds a preset afterimage generation time, the fixed pattern is further detected to determine the afterimage area.
The ghost detection under the condition of short retention time is avoided, the detection efficiency is improved, and the processing resources are saved.
The afterimage is caused by static display, so that when the afterimage is detected, the last display picture is analyzed to determine the fixed pattern therein.
Step 302, determining that the display area of the screen corresponding to each fixed pattern is one of the afterimage areas.
In this step, a corresponding ghost area is determined according to the fixed pattern obtained by detection.
Each fixed pattern corresponds to a plurality of continuous pixels in the screen when displayed. The gray scale or brightness of each pixel in the fixed pattern corresponding to one ghost area is the same or close to 400 nits or between 380 and 400 nits or higher than 380 nits. Thus, the fixed pattern causes a ghost image of the display area.
After the afterimage area is determined, specific brightness compensation can be performed for the afterimage area.
An exemplary embodiment of the present disclosure further provides a display method, which obtains a gray level deviation degree of a residual image region by calculating a gray level value (or a luminance value), where a specific flow is shown in fig. 4, and the display method includes:
step 401, detecting real-time gray scale values of the ghost shadow areas.
Since the screen brightness is changed with the specific pattern of the next display frame after the frame is switched, the gray scale value of the afterimage area determined according to the previous display frame is detected in real time in the step, so as to obtain more accurate gray scale deviation.
In this step, the gray scale value can be calculated according to the linear relationship between various parameters related to image display before and after the switching of the picture; the gray-scale value can also be generated by simulating a neural network model through a large number of sampling training; a configuration file can be further preset, the corresponding relation between one or more parameters and the gray-scale value is appointed in the configuration file, and the gray-scale value is determined by comparing and matching the detected parameter values with the configuration file; the gray scale value of a certain local position in the screen can also be obtained by an auxiliary detection means of the device itself or an external device.
Step 402, determining the gray scale deviation degree of each ghost area according to the real-time gray scale value and a preset target gray scale value of the screen.
In this step, after the real-time gray scale value is determined, the gray scale difference value reflecting the gray scale deviation degree of the ghost area can be calculated according to the following expression:
gray scale difference = target gray scale value-real time gray scale value.
The gray scale difference value can be a positive value or a negative value, namely the actual difference value between the target gray scale value and the real-time gray scale value is taken, and then the reverse value is taken to be superposed to the ghost area. Or taking the absolute value, and reversely superposing the absolute value to the ghost area according to the change direction of the gray-scale value before and after switching. Specifically, the gray scale difference is superimposed on the gray scale value and/or the brightness value of the afterimage area.
After the gray scale deviation degree is determined, the brightness compensation of reflection can be carried out on the corresponding ghost shadow area so as to eliminate the influence of ghost shadow.
An exemplary embodiment of the present disclosure further provides a display method, where when determining a gray scale value of an afterimage area, a real-time gray scale value of each afterimage area is calculated according to the following expression in detail in consideration of a linear relationship of each parameter:
Figure BDA0002997837700000081
wherein E is the real-time gray scale value of the afterimage area after the display picture is switched, delta is the initial gray scale difference value of the afterimage area after the display picture is switched, t is the staying time of the previous display picture on the screen before the display picture is switched, s is the area of the afterimage area, t 0 For the dwell time, k, of the next display frame on the screen after switching the display frame 0 Is the brightness of the screenAttenuation constant, L 0 L is an area transfer constant of the afterimage region, k 1 Is the dwell time index, k, of the preceding display frame 2 Is the gray scale change coefficient of the residual image region, n is the area influence coefficient of the residual image region, alpha is the time attenuation index, L 1 For time offset correction factor, L 2 Is a time decay constant.
An exemplary embodiment of the present disclosure further 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 a real-time gray scale value of each of the ghost areas:
the initial gray scale value of the afterimage area, the initial gray scale value of the afterimage area after switching the display pictures, the staying time of the previous display picture before switching the display pictures on the screen, the staying time of the next display picture after switching the display pictures on the screen and the area of the afterimage area.
In this embodiment, the neural network model may be constructed according to the optical data. For example, the initial gray scale value of the afterimage area in different image switching display scenes, the initial gray scale value of the afterimage area after the display image is switched, the staying time of the previous display image before the display image is switched on the screen, the staying time of the next display image after the display image is switched on the screen, and the area of the afterimage area are acquired, and specifically, different time points in the process of displaying the next display image on the screen after the switching are acquired. The neural network model is trained using the collected data.
For example, as shown in fig. 5, a BP neural network is constructed by using matlab, specifically, a multi-input single-output neural network including 3 hidden layers and 5 layers in total. And homogenizing a large amount of collected data, inputting the data into a neural network model, and establishing an input-output mapping relation. The activation function can adopt Sigmoid, the training function adopts gradient descent algorithm or momentum gradient descent algorithm, the performance function adopts mse (mean square error), and the error back propagation process is completed by minimizing the objective function. The learning rate of 0.01, the number of iterations of 5000 times and the expected error of 0.00001 can be preliminarily set, and parameters such as the weight, the learning rate and the number of training times are optimized according to the training effect.
One example of a performance function is as follows:
Figure BDA0002997837700000082
an example of a Sigmoid function is as follows:
Figure BDA0002997837700000091
an exemplary embodiment of the present disclosure also provides a display device, the structure of which is as shown in fig. 6, including:
a residual image area detection module 601, configured to detect a residual image area in a screen after switching display pictures;
a gray scale deviation obtaining module 602, configured to obtain a gray scale deviation degree of the residual image region;
and a brightness compensation module 603, configured to perform brightness compensation on the residual image area according to the gray scale deviation degree.
Preferably, as shown in fig. 7, the structure of the afterimage area detection module 601 includes:
the pattern analysis submodule 701 is configured to detect a fixed pattern in a previous display image before switching of the display image when the retention time of the previous display image on the screen exceeds a preset afterimage generation time;
a residual shadow area determining submodule 702, configured to determine that the display area of the screen corresponding to each fixed pattern is one residual shadow area.
Preferably, the gray level deviation obtaining module 602 is configured as shown in fig. 8, and includes:
a real-time gray scale detection sub-module 801, configured to detect real-time gray scale values of the residual image areas;
and a gray scale difference determining submodule 802, configured to determine a gray scale deviation degree of each ghost area according to the real-time gray scale value and a preset target gray scale value of the screen.
Preferably, the real-time gray level detection sub-module 801 has a structure as shown in fig. 9, and includes:
a first detecting unit 901, configured to calculate a real-time gray scale value of each of the afterimage areas according to the following expression:
Figure BDA0002997837700000092
wherein E is the real-time gray scale value of the afterimage area after the display picture is switched, delta is the initial gray scale difference value of the afterimage area after the display picture is switched, t is the staying time of the previous display picture on the screen before the display picture is switched, s is the area of the afterimage area, t 0 For the dwell time, k, of the next display frame on the screen after switching the display frame 0 Is the luminance decay constant of the screen, L 0 L is an area transfer constant of the afterimage region, k 1 Is the dwell time index, k, of the preceding display frame 2 Is the gray scale change coefficient of the residual image region, n is the area influence coefficient of the residual image region, alpha is the time attenuation index, L 1 For time offset correction factor, L 2 Is the time decay constant;
the second detecting unit 902 is configured to input any one or any multiple of the following parameters into the neural network model, and obtain a real-time gray scale value of each of the ghost areas:
the initial gray scale value of the afterimage area, the initial gray scale value of the afterimage area after switching the display pictures, the staying time of the previous display picture before switching the display pictures on the screen, the staying time of the next display picture after switching the display pictures on the screen and the area of the afterimage area.
Preferably, the gray level difference determination sub-module 802 has a structure as shown in fig. 10, and includes:
a difference value calculating unit 1001 configured to calculate a grayscale difference value reflecting the grayscale deviation degree of the afterimage region according to the following expression:
gray scale difference = target gray scale value-real time gray scale value.
Preferably, the structure of the brightness compensation module 603 is as shown in fig. 11, and includes:
and the driving submodule 1101 is configured to drive the thin film transistor TFT according to the gray scale deviation degree, and add the gray scale difference to the luminance and/or gray scale value of the ghost area overlay.
The device can be integrated in equipment with a display module, and the equipment realizes corresponding functions. With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
Fig. 12 is a block diagram illustrating an apparatus 1200 for displaying according to an example embodiment. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 12, the apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the device 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices 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 memory, flash memory, magnetic or optical disks.
A power component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia components 1208 include a screen that provides an output interface between the device 1200 and a 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 touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1200 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
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 apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the device 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, an orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The 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, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives the broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. 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.
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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
An exemplary embodiment of the present disclosure also provides a computer apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the display method provided by the embodiment of the disclosure.
An exemplary embodiment of the present disclosure also provides a non-transitory computer-readable storage medium, in which instructions, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a display method provided by an embodiment of the present disclosure.
The embodiment of the disclosure provides a display method and device, wherein after a display picture is switched, a residual image area in a screen is detected, a gray scale deviation degree of the residual image area is obtained, and then brightness compensation is performed on the residual image area according to the gray scale deviation degree. The display device 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.
The method can carry out brightness compensation restoration according to the characteristics and application scenes of the screen, improve the tolerance of the optical afterimage of the screen, improve the yield of the optical afterimage in mass production, and simultaneously reduce the difficulty of an Array display (Array) process.
The method can be applied to the actual display of the OLED panel, and can be used for improving the afterimage after the image switching caused by the overlong retention time of a single image.
Other embodiments of the invention will be apparent to those skilled in the art from 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 following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (15)

1. A display method, comprising:
after switching display pictures, detecting a residual shadow area in a screen;
acquiring the gray scale deviation degree of the ghost shadow area;
and performing brightness compensation on the residual image area according to the gray scale deviation degree.
2. The display method according to claim 1, wherein the detecting the afterimage area in the screen after switching the display screen comprises:
under the condition that the staying time of a previous display picture before the display picture is switched on the screen exceeds the preset afterimage generation time, detecting a fixed pattern in the previous display picture;
and determining the display area of the screen corresponding to each fixed pattern as one ghost area.
3. The display method according to claim 1, wherein the step of obtaining the degree of gray scale deviation of the afterimage area comprises:
detecting real-time gray scale values of the residual shadow areas;
and determining the gray scale deviation degree of each ghost area according to the real-time gray scale value and a preset target gray scale value of the screen.
4. The display method according to claim 3, wherein the step of detecting the real-time gray scale value of each of the afterimage areas comprises:
calculating the real-time gray-scale value of each ghost shadow area according to the following expression:
Figure FDA0002997837690000011
wherein E is the real-time gray scale value of the afterimage area after the display picture is switched, delta is the initial gray scale difference value of the afterimage area after the display picture is switched, t is the staying time of the previous display picture on the screen before the display picture is switched, s is the area of the afterimage area, t 0 For the stay time, k, of the next display frame on the screen after switching the display frames 0 Is the luminance decay constant of the screen, L 0 L is a transfer constant of the area of the residual image region, k 1 Is the dwell time index, k, of the preceding display frame 2 Is the gray scale change coefficient of the residual image region, n is the area influence coefficient of the residual image region, alpha is the time attenuation index, L 1 For time offset correction factor, L 2 Is a time decay constant.
5. The display method according to claim 3, wherein the step of detecting the real-time gray scale value of each of the afterimage areas comprises:
inputting any one or any plurality of the following parameters into the neural network model to obtain the real-time gray-scale value of each ghost area:
the initial gray scale value of the afterimage area, the initial gray scale value of the afterimage area after switching the display pictures, the staying time of the previous display picture before switching the display pictures on the screen, the staying time of the next display picture after switching the display pictures on the screen and the area of the afterimage area.
6. The method according to claim 3, wherein the step of determining the degree of gray scale deviation of each ghost area according to the real-time gray scale value and a preset target gray scale value of the screen comprises:
calculating a gray-scale difference value reflecting the degree of gray-scale deviation of the afterimage area according to the following expression:
gray scale difference = target gray scale value-real time gray scale value.
7. The method as claimed in claim 3, wherein the step of performing luminance compensation on the afterimage region according to the gray level deviation degree comprises:
and driving a thin film field effect transistor (TFT) according to the gray scale deviation degree, and superposing the gray scale difference value on the brightness and/or the gray scale value of the afterimage area.
8. A display device, comprising:
the ghost area detection module is used for detecting a ghost area in the screen after the display picture is switched;
the gray scale deviation acquisition module is used for acquiring the gray scale deviation degree of the ghost shadow area;
and the brightness compensation module is used for performing brightness compensation on the residual image area according to the gray scale deviation degree.
9. The display device according to claim 8, wherein the afterimage area detection module comprises:
the pattern analysis submodule is used for detecting a fixed pattern in a previous display picture under the condition that the staying time of the previous display picture before the display picture is switched on the screen exceeds the preset afterimage generation time;
and the residual shadow area determining submodule is used for determining the display area of the screen corresponding to each fixed pattern as one residual shadow area.
10. The display device according to claim 8, wherein the gray scale deviation obtaining module comprises:
the real-time gray scale detection submodule is used for detecting real-time gray scale values of the residual image areas;
and the gray scale difference determining submodule is used for determining the gray scale deviation degree of each residual shadow area according to the real-time gray scale value and the preset target gray scale value of the screen.
11. The display device of claim 10, wherein the real-time gray scale detection sub-module comprises:
the first detection unit is used for calculating the real-time gray-scale value of each ghost area according to the following expression:
Figure FDA0002997837690000031
wherein E is the real-time gray scale value of the afterimage area after the display picture is switched, delta is the initial gray scale difference value of the afterimage area after the display picture is switched, t is the staying time of the previous display picture on the screen before the display picture is switched, s is the area of the afterimage area, t 0 For the stay time, k, of the next display frame on the screen after switching the display frames 0 Is the luminance decay constant of the screen, L 0 L is a transfer constant of the area of the residual image region, k 1 Is the dwell time index, k, of the preceding display frame 2 Is the gray scale change coefficient of the residual image region, n is the area influence coefficient of the residual image region, alpha is the time attenuation index, L 1 For time offset correction factor, L 2 Is the time decay constant;
the second detection unit is used for inputting any one or more of the following parameters into the neural network model to obtain the real-time gray-scale value of each ghost area:
the initial gray scale value of the afterimage area, the initial gray scale value of the afterimage area after switching the display pictures, the staying time of the previous display picture before switching the display pictures on the screen, the staying time of the next display picture after switching the display pictures on the screen and the area of the afterimage area.
12. The display device according to claim 10, wherein the grayscale difference determining sub-module includes:
a difference value calculating unit for calculating a gray-scale difference value reflecting the gray-scale deviation degree of the afterimage area according to the following expression:
gray scale difference = target gray scale value-real time gray scale value.
13. The display device according to claim 10, wherein the brightness compensation module comprises:
and the driving submodule is used for driving the thin film field effect transistor TFT according to the gray scale deviation degree and superposing the gray scale difference value on the brightness and/or the gray scale value of the afterimage area.
14. A display device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the display method of any one of claims 1 to 7.
15. A non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform the display method of any one of claims 1 to 7.
CN202110336270.XA 2021-03-29 2021-03-29 Display method and device Pending CN115145659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110336270.XA CN115145659A (en) 2021-03-29 2021-03-29 Display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110336270.XA CN115145659A (en) 2021-03-29 2021-03-29 Display method and device

Publications (1)

Publication Number Publication Date
CN115145659A true CN115145659A (en) 2022-10-04

Family

ID=83403605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110336270.XA Pending CN115145659A (en) 2021-03-29 2021-03-29 Display method and device

Country Status (1)

Country Link
CN (1) CN115145659A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115798421A (en) * 2022-11-30 2023-03-14 惠科股份有限公司 Driving method and driving circuit of display panel and display device
TWI824915B (en) * 2023-01-06 2023-12-01 大陸商北京集創北方科技股份有限公司 Afterimage detection device and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115798421A (en) * 2022-11-30 2023-03-14 惠科股份有限公司 Driving method and driving circuit of display panel and display device
CN115798421B (en) * 2022-11-30 2024-03-19 惠科股份有限公司 Driving method, driving circuit and display device of display panel
TWI824915B (en) * 2023-01-06 2023-12-01 大陸商北京集創北方科技股份有限公司 Afterimage detection device and method

Similar Documents

Publication Publication Date Title
CN111709891B (en) Training method of image denoising model, image denoising method, device and medium
CN107967459B (en) Convolution processing method, convolution processing device and storage medium
US20180165802A1 (en) Image processing method and apparatus, and storage medium
CN112201211B (en) Ambient light collection method and device, terminal and storage medium
CN107170403B (en) Picture frame display method and device
CN115145659A (en) Display method and device
CN111369561B (en) Image processing method and device, electronic device and storage medium
CN113450713B (en) Screen display method and device and gray scale mapping information generation method and device
CN111611034A (en) Screen display adjusting method and device and storage medium
US9898982B2 (en) Display method, device and computer-readable medium
CN111754929B (en) Ambient light parameter acquisition method and device and storage medium
CN107564047B (en) Image processing method and device, electronic equipment and computer readable storage medium
US11393422B2 (en) Method and apparatus for controlling frame rate of display screen
CN110533006B (en) Target tracking method, device and medium
CN112033527A (en) Ambient brightness detection method, device, equipment and storage medium
US20170116939A1 (en) Display method and device and computer-readable medium
CN105635573A (en) Pick-up head visual angle adjusting method and apparatus
US20230342892A1 (en) Image processing method, apparatus, electronic device and storage medium
CN111383583B (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN112861592B (en) Training method of image generation model, image processing method and device
CN112434714A (en) Multimedia identification method, device, storage medium and electronic equipment
CN111862288A (en) Pose rendering method, device and medium
CN107301391B (en) Area determination method and device and storage medium
CN108062787B (en) Three-dimensional face modeling method and device
CN106601165B (en) Screen display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination