CN112002277B - Scanning method, scanning device and electronic equipment - Google Patents

Scanning method, scanning device and electronic equipment Download PDF

Info

Publication number
CN112002277B
CN112002277B CN202010821152.3A CN202010821152A CN112002277B CN 112002277 B CN112002277 B CN 112002277B CN 202010821152 A CN202010821152 A CN 202010821152A CN 112002277 B CN112002277 B CN 112002277B
Authority
CN
China
Prior art keywords
scanning
data
gray
target
gray data
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.)
Active
Application number
CN202010821152.3A
Other languages
Chinese (zh)
Other versions
CN112002277A (en
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.)
Lumicore Microelectronics Shanghai Co ltd
Original Assignee
Lumicore Microelectronics Shanghai 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 Lumicore Microelectronics Shanghai Co ltd filed Critical Lumicore Microelectronics Shanghai Co ltd
Priority to CN202010821152.3A priority Critical patent/CN112002277B/en
Publication of CN112002277A publication Critical patent/CN112002277A/en
Application granted granted Critical
Publication of CN112002277B publication Critical patent/CN112002277B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the invention provides a scanning method, a scanning device and electronic equipment, wherein the method comprises the following steps: acquiring target gray data of each pixel in a display area of a display, wherein the target gray data comprises first gray data and second gray data, the first gray data comprises gray data corresponding to target data bits, and the second gray data comprises gray data except the target data bits in the target gray data; scanning the first gray data by using a linear pulse width modulation method; the second gray data is scanned using a random scanning method. The invention can effectively weaken the dynamic false contour phenomenon and improve the image display quality.

Description

Scanning method, scanning device and electronic equipment
Technical Field
The present invention relates to the field of image display technologies, and in particular, to a scanning method, a scanning device, and an electronic device.
Background
With the development of display technology and the improvement of living standard of people, display devices have entered into various aspects of production and living of people. However, the display device brings convenience to people, and meanwhile, the problem that dynamic false contour phenomenon occurs during display, so that the image display quality is poor exists.
Dynamic false contours are bright or dark fringes observed by the human eye following a moving object when playing a moving video. These fringes are false contours that are not present in the original image but are perceived by the human eye and appear mainly between areas of the image where the grey level is not much changed, for example between the facial skin and the shoulder skin of a person.
With the increasing demand for image display quality, how to reduce or even eliminate the dynamic false contour phenomenon has become a problem to be solved in the technical field of image display.
Disclosure of Invention
The embodiment of the invention provides a scanning method, a scanning device and electronic equipment, which can weaken or even eliminate dynamic false contour phenomenon and improve image display quality.
In a first aspect, an embodiment of the present invention provides a scanning method, including:
acquiring target gray data of each pixel in a display area of a display, wherein the target gray data comprises first gray data and second gray data, the first gray data comprises gray data corresponding to target data bits, and the second gray data comprises gray data except the target data bits in the target gray data;
Scanning the first gray data by using a linear pulse width modulation method;
the second gray data is scanned using a random scanning method.
As an embodiment, before the scanning the first gray data in the gray data using the linear pulse width modulation method, the method further includes:
expanding the data bits of the first gray data to obtain target first gray data with a preset number of data bits;
the scanning the first gray scale data by using a linear pulse width modulation method specifically includes:
scanning the target first gray data by using the linear pulse width modulation method.
As one embodiment, the preset number is 2 k -1, wherein k represents the number of bits of the first gradation data, being a positive integer.
As one embodiment, the scanning the target first gray scale data by using the linear pulse width modulation method specifically includes:
setting a first subfield corresponding to each data bit in the target first gray data, and setting a scanning weight of each first subfield to obtain a first scanning weight sequence, wherein the scanning weights of a plurality of first subfields are equal;
And transmitting the target first gray data and the first scanning weight sequence to a display chip, so that the display chip controls the first lighting time of each pixel in one frame time according to the first target gray data and the first scanning weight sequence.
As one embodiment, the scanning the second gray scale data in the gray scale data by using a random scanning method specifically includes:
setting a second subfield corresponding to each data bit in the second gray data, and setting a scanning weight of each second subfield to obtain a second scanning weight sequence;
the second gray data and the second scanning weight sequence are sent to the display chip, so that the display chip controls the second lighting time of each pixel in the frame time according to the second gray data and the second scanning weight sequence,
the first subfield and the second subfield are different time segments within the one frame time.
As an embodiment, before setting the second subfield corresponding to each data bit in the second gray data and setting the scan weight of each second subfield, a second scan weight sequence is obtained, further including:
Dividing the display area of the display into a plurality of subspaces along the row direction;
setting the scanning weight of each second subfield to obtain a second scanning weight sequence, which specifically comprises:
setting the second scanning weight sequence of each subspace according to the polarity of the dynamic false contour;
wherein the second scan weight sequence of each of the subspaces is of opposite polarity to a dynamic false contour generated by the second scan weight sequence of an adjacent subspace, the adjacent subspace comprising a subspace adjacent to each subspace.
As one embodiment, the scanning the second gray scale data in the gray scale data by using a random scanning method specifically further includes:
and transmitting the second gray level data of the second subspace or the gray level data of the (i+1) th data bit of the first subspace in the process of lighting the second subfield corresponding to the (i) th data bit of the first subspace, wherein i is a positive integer.
As an implementation manner, the setting the scanning weight of each second subfield to obtain the second scanning weight sequence specifically includes:
when the sum of the scanning weights of all the first sub-field and the second sub-field in the one frame time is equal to 2 n -1, setting the scanning weights of the second subfields to be unequal, wherein the scanning weight of each second subfield is 2 0 To 2 M-1 Wherein the scanning weight of the second subfield is a power of 2;
when the sum of the scanning weights is equal to 2 n Setting the scan weight of the second sub-field of the target equal to 2 M-1 +1, the scan weight of the second sub-field other than the target second sub-field is 2 0 To 2 M-2 Wherein the scanning weight of the other second subfields is a power of 2;
wherein n represents the number of bits of the target gradation data, M represents the number of bits of the second gradation data, and n and M are both positive integers.
As one embodiment, when the sum of the scanning weights is equal to 2 n When the method further comprises:
when the target second sub-field is lighted, blanking the target second sub-field by utilizing a clear line signal for a preset time in advance so that the scanning weight of the target second sub-field is reduced to 2 M-1
In a second aspect, an embodiment of the present invention provides a scanning apparatus, including:
an acquisition module, configured to acquire target gray data of each pixel in a display area of a display, where the target gray data includes first gray data and second gray data, the first gray data includes gray data corresponding to a target data bit, and the second gray data includes gray data except the target data bit in the target gray data;
A first scanning module for scanning the first gray data by using a linear pulse width modulation method;
and the second scanning module is used for scanning the second gray data by utilizing a random scanning method.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor and a memory storing computer program instructions;
the processor reads and executes the computer program instructions to implement the scanning method as described above.
After target gray data of each pixel in a display area of a display are acquired, scanning first gray data corresponding to target data bits in the target gray data by using a linear pulse width modulation method to enable different gray levels formed by the first gray data and corresponding subfields to overlap each other in display time, so that dynamic false contour phenomenon is weakened, and image display quality is improved; and scanning the second gray data except the target data bit in the target gray data by using a random scanning method, so as to make up for the defect of longer data transmission time of a linear pulse width modulation method, and quickening the transmission efficiency of the target gray data on the whole, thereby meeting the requirements of refresh frequency and data transmission bandwidth of a display screen. As a preferable scheme, the fractal scanning method can be used for scanning the second gray data, so that the polarity of the dynamic false contour generated by the second scanning weight sequence of each subspace is opposite to that of the dynamic false contour generated by the second scanning weight sequence of the adjacent subspace, and further the dynamic false contour phenomenon is weakened from the angle of mutual compensation of the positive and negative polarity dynamic false contours, thereby improving the image display quality.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are needed to be used in the embodiments of the present invention will be briefly described, and it is possible for a person skilled in the art to obtain other drawings according to these drawings without inventive effort.
Fig. 1 schematically shows the visual response process of the human eye;
fig. 2 shows the integration result of human eyes on pixel brightness when a moving image is displayed in a conventional subfield driving manner;
FIG. 3 is a schematic diagram of a linear pulse width modulation method for modulating a 16-level gray scale display;
fig. 4 schematically shows the integration result of human eyes on pixel brightness when modulating 16-level gray scale display by a linear pulse width modulation method;
fig. 5 schematically shows the dynamic integration result of the pixel brightness when the target object moves from a 7-gray scale region to an 8-gray scale region;
FIG. 6 is a flow chart of a scanning method according to an embodiment of the present invention;
FIG. 7 schematically illustrates a plurality of subspaces of an embodiment of the present invention;
FIG. 8 schematically illustrates the human eye integration results for the various subspaces of FIG. 7;
fig. 9 schematically illustrates the phenomenon of positive and negative polarity false contours compensating each other;
FIG. 10 is a schematic diagram of a scan space-time diagram of second gray scale data according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of a scan space-time diagram of first gray scale data and second gray scale data of a target;
FIG. 12 shows the integration result of human eyes on pixel brightness when gray scale display is realized by the prior art subfield method;
fig. 13 shows an integration result of brightness of a pixel by human eyes when gray scale display is realized by the scanning method provided by the embodiment of the invention;
fig. 14 shows a person image, where a is an original image, b is an eight-subfield simulation image, c is a fractal simulation image, d is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=2 of the first gray data, e is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=3 of the first gray data, and f is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=4 of the first gray data;
fig. 15 shows a building image, where a is an original image, b is an eight-subfield simulation image, c is a fractal simulation image, d is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=2 of the first gray data, e is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=3 of the first gray data, and f is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=4 of the first gray data;
Fig. 16 shows a flower image, where a is an original image, b is an eight-subfield simulation image, c is a fractal simulation image, d is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=2 of the first gray data, e is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=3 of the first gray data, and f is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=4 of the first gray data;
fig. 17 shows another character image, in which a is an original image, b is an eight-subfield simulation image, c is a fractal simulation image, d is a simulation image when the number of bits k=2 of the first gradation data in the scanning method according to the embodiment of the present invention, e is a simulation image when the number of bits k=3 of the first gradation data in the scanning method according to the embodiment of the present invention, and f is a simulation image when the number of bits k=4 of the first gradation data in the scanning method according to the embodiment of the present invention;
FIG. 18 is a schematic view of a scanning device according to another embodiment of the present invention;
fig. 19 shows a schematic hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and the detailed embodiments. It should be understood that the particular embodiments described herein are meant to be illustrative of the invention only and not limiting. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by showing examples of the invention.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
Dynamic false contours are bright or dark fringes observed by the human eye following a moving object when playing a moving video. These fringes are false contours that are not present in the original image but are perceived by the human eye and appear mainly between areas of the image where the grey level is not much changed, for example between the facial skin and the shoulder skin of a person.
In order to eliminate the dynamic false contour phenomenon and improve the quality of image display, the present inventors have first studied and analyzed the cause of dynamic false contour generation. First, the present inventors analyzed various types of display devices (display screens) including, for example, cathode ray tube CRT displays, liquid crystal display LCDs, analog driving type OLED displays, digital driving type OLED displays, plasma displays PDPs, digital driving type light emitting diodes LEDs, and occurrence of dynamic false contour phenomena when displaying moving images, respectively. The present inventors have found that, for example, a digital driving type OLED display, a plasma display PDP, and a digital driving type light emitting diode LED are prone to dynamic false contour phenomenon when displaying moving images, in contrast to CRT displays, LCDs, and analog driving type OLED displays, which are not prone to dynamic false contour phenomenon even do not occur.
Based on such findings, the present inventors considered that the dynamic false contour phenomenon may be related to gray scale display principles of different display devices, and then analyzed the relationship between the gray scale display principles of various display devices and the dynamic false contour phenomenon, and finally found that the occurrence of the dynamic false contour phenomenon is mainly caused by human eye visual response characteristics, human eye movement characteristics, and subfield driving modes of the display screen.
The human eye visual response characteristic and the human eye movement characteristic will be described first.
Specifically, the human eye visual response characteristics are mainly represented by a visual delay effect and a persistence effect. In colloquial terms, the human eye's perception of brightness of extraneous light is of an energy accumulating type, i.e. the perception of brightness resulting from the reception of light is not instantaneous, both of which have a time delay difference, known as the visual delay effect; there is also a delay from the disappearance of light to the disappearance of subjective brightness sensation, known as persistence of vision effect.
For ease of understanding, the visual delay effect and persistence effect of the human eye are briefly described below in connection with fig. 1.
Fig. 1 schematically shows the visual response process of the human eye. In fig. 1, the abscissa indicates time, the ordinate indicates visual response of human eyes, the solid line indicates an optical excitation signal of a display screen, and the broken line indicates perceived subjective brightness of human eyes. As shown in FIG. 1, the display screen is turned on at A via t d After a time, the human eye perceives the brightness at point B and rapidly reaches point C, where AB is a visual delay time t d Is the energy accumulation time required by photoreceptor cells on the retina of the human eye to produce a light intensity that can be perceived by the optic nerve, which is a visual delay effect. The BC segment is a continuous energy accumulation phase, after the energy accumulation and dissipation reach dynamic balance at the point C, the subjective brightness of the human eye can be reduced to the point D due to the fatigue of the optic nerve, and then the subjective brightness of the human eye is kept unchanged in the DE segment through the dynamic balance of the accumulation, dissipation and the like of the light energy. When the optical excitation signal of the display screen disappears at the E point, the time for the optical energy dissipation on the retina is required, so that the time t is passed r After time, the human eye can not fully feel dark at the point F, which is the persistence of vision effect.
The human eye movement characteristic is understood to be a characteristic that when a human eye views a moving picture on a display screen, when the human eye wants to observe a certain moving object, the human eye firstly captures the center of a retina quickly, then the sight line smoothly follows the moving object, and the brightness of pixels on a movement track is integrated.
The reason for the dynamic false contour generation is illustrated below in conjunction with fig. 2.
Fig. 2 shows the integration result of human eyes with respect to pixel brightness when a moving image is displayed in a conventional subfield driving manner. In FIG. 2, the horizontal axis represents the position of a pixel on the display screen, the vertical axis represents time, T OLED The time of one frame of the display screen is indicated by an arrow, the human eye tracking trajectory is indicated by a gray sub-field indicating that the sub-field is on, and a white sub-field indicating that the sub-field is not on. As shown in fig. 2, taking 256 gray levels as an example, a conventional subfield driving method divides a frame time into 8 subfields, and the scan weight sequence of the subfields is 128:64:32:16:8:4:2:1. when the pixel is 127 gray levels, the scanning weight is 64:32:16:8:4:2: the subfield of 1 is lit and the subfield with a scanning weight of 128 is unlit. When the pixel is at 128 gray levels, only the sub-field with the scanning weight of 128 is lighted, and the scanning weight is 64:32:16:8:4:2: the subfield of 1 is not lit.
When the image moves from the 127 gray level region to the 128 gray level region, the human eye's line of sight smoothly tracks the target object along the arrow diagonal line, and integrates the brightness of a plurality of pixels on the motion trajectory of the target object, as known from the human eye motion characteristics. Under the influence of the visual delay effect and the visual persistence effect, in one frame time, the retina perceives the brightness of the first seven subfields (subfields with scanning weights of 64:32:16:8:4:2:1) in the 127 gray-level region, and then perceives the brightness of the eighth subfield (subfields with scanning weights of 128) in the 128 gray-level region, that is, the human eye perceives the scanning weight of 128 in one frame time: 64:32:16:8:4:2:1, so that a human eye can perceive 255 gray-level bright stripes between two gray areas, wherein the bright stripes are one of dynamic false contour lines observed by the human eye when the display screen plays moving images.
According to the analysis, the display screen for realizing gray scale display by adopting the subfield driving mode can be in a lighting state at any time within one frame time, and the lighting time is unevenly distributed on each subfield. When the human eyes smoothly track the moving image, the brightness of all pixels on the moving track is integrated, and the brightness is crossed and accumulated in time and space under the influence of the visual delay effect and the visual persistence effect, so that the gray scale outside the image, namely the dynamic false contour, is perceived. When the retina perceives bright fringes, it is called a positive polarity dynamic false contour; when the retina perceives dark fringes, it is called a negative polarity dynamic false contour.
Based on the above-described study of the reason for the generation of the dynamic false contour, the present inventors have found that the dynamic false contour phenomenon can be reduced or even eliminated by changing the gray scale display manner of the display screen.
Therefore, the inventor analyzes various scanning methods for realizing gray scale display, and researches and analyses find that the linear pulse width modulation method has better effect of eliminating dynamic false contour phenomenon.
For ease of understanding, the principle of the linear pulse width modulation method will be described first.
The linear pulse width modulation method, also called duty cycle method, realizes different gray scales by controlling the proportion of the lighting time of the pixel to the whole gray scale display period under the condition of constant current. The larger the duty cycle, the longer the pixel on time, and the higher the gray level perceived by the human eye. The implementation principle is that the high-low pulse width signal is output through the numerical comparison of the gray counter and the gray memory, when the value of the gray counter is smaller than that of the gray memory, the output signal keeps high level, and when the value of the gray counter is equal to that of the gray memory, the output signal keeps low level until the whole gray period is ended. The gray level is a maximum value when the high level pulse occupies the entire gray period, and is 0 when the pulse of the entire gray period is a low level.
The present inventors have now described an analysis of the linear pulse width modulation method to eliminate dynamic false contours.
Fig. 3 is a schematic diagram of a linear pulse width modulation method for modulating a 16-level gray scale display. As shown in fig. 3, it is assumed that each pixel in the display screen represents a gradation value with 4-bit gradation data, i.e., 2 can be realized 4 =16-level gray scale display. To realizeThe 16-level gray scale display, the linear pulse width modulation method divides one frame time into 16 subfields, and the scanning weight of each subfield is the same. When 1 gray level is displayed, 1 subfield is lighted; when 15 gray levels are displayed, 15 subfields are lit. That is, when g=1, T ON =t, corresponding duty cycle of 1/15; when g=2, T ON =2t, corresponding duty cycle of 2/15; when g=3, ton=3t, the corresponding duty cycle is 3/15; … …; when g=15, ton=15t, and the corresponding duty cycle is 1; wherein G represents the gray level to be displayed, T ON The time for which the pixel is lit is indicated, and T is the time required for 1 gray scale.
Fig. 4 schematically shows the integration result of the human eye with respect to the pixel brightness when modulating a 16-level gray scale display with a linear pulse width modulation method. As can be seen from fig. 3, when 7 gray levels are displayed, 7 subfields are lit; when 8 gray levels are displayed, 8 subfields are lit. As shown in fig. 4, the linear pulse width modulation method has a characteristic of a linear lighting time in that different gray scales overlap each other in display time, i.e., 7 gray scales and 8 gray scales differ in display gray scale time by only one subfield time. In the process that the sight line of the whole human eye moves along with the target object in the 7-gray-level area and the 8-gray-level area, the human eye only senses the 7-gray-level and the 8-gray-level, and does not sense other gray levels except the 7-gray-level and the 8-gray-level, namely does not sense dynamic false contours.
To more clearly show the integration of pixel brightness by the human eye during the movement of the line of sight with the target object in the 7-gray scale region and the 8-gray scale region, fig. 5 schematically shows the dynamic integration result of pixel brightness when the target object moves from the 7-gray scale region to the 8-gray scale region.
In fig. 5, 1 indicates that the corresponding subfield emits light, and 0 indicates that the corresponding subfield does not emit light. As shown in fig. 5, when the target object moves from the 7-gray-level region to the 8-gray-level region, the integral value of the human eye over one frame period is only 7 gray levels and 8 gray levels, and no false gray level occurs, so that bright streaks are not perceived by the retina, and similarly dark streaks are not perceived by the retina when the image moves from the 8-gray-level region to the 7-gray-level region.
From the above analysis, the linear pulse width modulation method can eliminate the dynamic false contour phenomenon from the scanning principle.
However, it has been found through the analysis of the inventors that although the linear pulse width modulation method can eliminate the dynamic false contour phenomenon, the linear pulse width modulation method has the following drawbacks: the line pulse width modulation method is suitable for only low-gray-scale (e.g., 16 gray-scale) image display, and is not suitable for high-gray-scale image display. The specific analysis process is as follows: let the gray data bit to be displayed be N, i.e. 2 is to be implemented N The maximum achievable gray level is G MAX The time required for realizing the first-level gray scale is T, and the time of the whole gray scale period is T OLED The gray level to be displayed is G, the duty ratio required for realizing gray is P, and the pixel is lighted for a period of time T ON When the method is used, the following relationship exists:
G MAX =2 N -1
T OLED =(2 N -1)T
T ON =P*T OLED =GT
as derived from the above formula, T is a basic scanning time unit, and N-level gray scale scanning needs to transmit data with a time interval of T for N times, so that the gray scale period time is doubled with doubling of the gray scale, and the refresh rate of the display is reduced by one time.
However, due to the limitations of resolution and data transmission bandwidth of the driving chip, the time of one subfield cannot be shortened infinitely, and lowering the refresh rate or gray level would seriously affect the display quality of the video image. Therefore, the line pulse width modulation method cannot be applied to high gray scale image display.
In view of the above problems, in order to meet the requirement of the refresh frequency of a display screen (for example, an OLED micro-display may be included), and at the same time, to be able to reduce the dynamic false contour phenomenon, the embodiments of the present invention provide a scanning method, a scanning device, and an electronic device, where the technical concept is as follows: only the gray data of part of data bits in the target gray data of each pixel is scanned by adopting a linear pulse width modulation method, and the gray data of the other part of data bits is scanned by adopting other scanning methods.
The scanning method, the scanning device and the electronic equipment can be applied to a display or a display screen which is easy to generate dynamic false contour phenomenon and adopts a digital scanning mode, wherein the display or the display screen adopting the digital scanning mode can comprise the following steps: the liquid crystal display LCD, the digital driving type light emitting diode LED display screen and the organic light emitting diode OLED display screen may be other displays or display screens, but the present invention is not limited thereto.
From the above analysis, the linear pulse width modulation method has the disadvantages of long data transmission time and low transmission efficiency. In order to accelerate the transmission efficiency and shorten the time for transmitting data, as an implementation manner, the embodiment of the invention adopts a random scanning method without time redundancy to scan the gray data of another part of data bits so as to make up for the defect of longer time for transmitting the data by a linear pulse width modulation method, thereby accelerating the transmission efficiency of the target gray data on the whole and further meeting the requirements of the refresh frequency and the data transmission bandwidth of a display screen.
The scanning method provided by the embodiment of the invention is first described below.
Fig. 6 is a schematic flow chart of a scanning method according to an embodiment of the present invention. As shown in fig. 6, the method may include the steps of:
S101: acquiring target gray data of each pixel in a display area of the display, wherein the target gray data can comprise first gray data and second gray data, the first gray data can comprise gray data corresponding to target data bits, and the second gray data can comprise gray data except the target data bits in the target gray data;
s102: scanning the first gray data by using a linear pulse width modulation method;
s103: the second gray data is scanned using a random scanning method.
The specific implementation of each of the above steps will be described in detail below.
After target gray data of each pixel in a display area of a display are acquired, scanning first gray data corresponding to target data bits in the target gray data by using a linear pulse width modulation method, so that different gray levels formed by the first gray data and corresponding subfields are overlapped with each other in display time, and dynamic false contour phenomenon is reduced; and scanning the second gray data except the target data bit in the target gray data by using a random scanning method, so as to make up for the defect of longer data transmission time of a linear pulse width modulation method, and quickening the transmission efficiency of the target gray data on the whole, thereby meeting the requirements of refresh frequency and data transmission bandwidth of a display screen.
A specific implementation of each of the above steps is described below.
First, S101: target gray data for each pixel in a display region of a display is acquired.
It is easy to understand that the display area of the display screen includes a plurality of pixels, and to display one image in the display area, it is necessary to control each pixel to display a corresponding luminance (gray level). In practical applications, the target gray data of each pixel is generated by a computer or other devices, and is input to a video decoding chip through a data line, and the target gray data of each pixel can be obtained through decoding, for example, the number of bits of the target gray data of each pixel is n, that is, the gray display of the display screen is realized through the n-bit target gray data.
In S101, target gradation data of each pixel is divided according to target data bits set in advance, and the target gradation data is divided into first gradation data and second gradation data. The first gray data may include gray data corresponding to the target data bit, and the second gray data may include gray data other than the target data bit in the target gray data.
In the embodiment of the present invention, the target data bit may be any one or more bits in the target gray data, and the present invention is not limited thereto. However, in order to be able to minimize the dynamic false contour phenomenon, as an example, the target data bits may be 1 st to k th bits in order from high to low in the target gradation data, and k is a positive integer. The order from the upper position to the lower position is understood to be the order from left to right, and for example, the first bit from left is the upper position and the first bit from right is the lower position for the target gradation data encoded as "0011".
The above is a specific implementation of S101, and a specific implementation of S102 is described below.
In S102, the first gray data is scanned using a linear pulse width modulation method.
From the above, the maximum achievable gray level of the linear pulse width modulation method is G MAX =2 N -1, wherein N represents the gray data bits to be displayed, where n=k is the number of bits of the first gray data. For example, when N is 4, the maximum achievable gray scale is only 15, and the high gray scale image display cannot be applied.
In order to realize higher gray level display, a scene of image display suitable for high gray level is taken as an example, before executing S102, data bits of first gray data are expanded to obtain target first gray data with a preset number of data bits; then, in S102, the target first gradation data is scanned using the linear pulse width modulation method.
The preset number may be any number as long as a number of bits larger than the first gray data is ensured, and the present invention is not limited thereto.
However, in order to enable 256-level gradation display, as an example, the preset number may be 2 k -1, wherein k represents the number of bits of the first gradation data, and is a positive integer.
In order to facilitate understanding, the above steps will be described below taking the example that the number of bits of the target gradation data is 8 and the number of bits of the first gradation data is 4, that is, 256-level gradation display is realized.
Table 1 is a schematic diagram of the comparison of the first gradation data and the target first gradation data.
As shown in table 1, in order to enable 256-level gray scale display, the embodiment of the present invention converts the first gray scale data of 4 bits into the target first gray scale data of 15 bits.
After converting the first gray data into the target first gray data, the target first gray data is next scanned using a linear pulse width modulation method.
Specifically, setting first subfields corresponding to each data bit in target first gray data, and setting a scanning weight of each first subfield to obtain a first scanning weight sequence, wherein the scanning weights of the first subfields are equal. For example, after obtaining 15 bits of target first gray data, 15 first subfields corresponding to 15 data bits are set, wherein the scanning weight of each first subfield is equal, that is, the ratio of the scanning weights of the first subfields is 1:1:1:1:1:1:1:1:1:1:1:1:1, and the size of the scanning weight of each first subfield is flexibly set according to practical situations.
The process of setting the first sub-field and the scanning weight of the first sub-field is completed in an FPGA chip or other processor, for example, after the first scanning weight sequence is obtained, the FPGA chip transmits the target first gray data and the first scanning weight sequence to the display chip, so that the display chip controls the first lighting time of each pixel in one frame time according to the first target gray data and the first scanning weight sequence.
The above is a specific implementation of S102, and a specific implementation of S103 is described below.
In S103, the second gradation data is scanned by the random scanning method.
The random scanning method is a scanning mode which is not row by row and column by column, and is characterized in that: the nth row (or column) is filled with scan data and then enters the next scan row (or column), which need not be n+1 in sequence, but may be any row (or may be N). The random scanning method may include, for example, a fractal scanning method, an implantation scanning method, and an atomic scanning method, but may also include other methods, and the present application is not limited thereto. As a preferred example, the embodiment of the present application may scan the second gradation data using a fractal scanning method among random scanning methods, for example. Step S103 of the embodiment of the present application will be described below by taking a fractal scanning method as an example.
Specifically, setting a second subfield corresponding to each data bit in the second gray data, and setting a scan weight of each second subfield, to obtain a second scan weight sequence.
In the embodiment of the invention, the first sub-field and the second sub-field are different time slices within a frame time. In order to realize 256 gray scale display, the scanning weight of the first subfield and the scanning weight of the second subfield are in proportional relation. Specifically, as an example, when the sum of the scanning weights of all the first and second subfields in one frame time is equal to 2 n -1, setting the scanning weights of the second subfields to be different, wherein the scanning weight of each second subfield is 20-2 M-1 Wherein the scanning weight of the second subfield is a power of 2, n represents the number of bits of the target gradation data, M represents the number of bits of the second gradation data, and n and M are both positive integers.
For example, the number n of bits of the target gray scale data is 8, the number M of bits of the second gray scale data is 4, and at this time, the sum of the scanning weights of all the first subfields and the second subfields in a frame time is equal to 255, then the scanning weights of the 4 second subfields are set, that is, the second scanning weight sequence is, for example, 8:4:2:1 or 4:8:2:1 or 1:2:4:8, and since the scanning weights of the first subfields are equal, the scanning weight of the first subfields is 16, the first scanning weight sequence is 16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:1:1, and the combined sequence of the first scanning weight sequence and the second scanning weight sequence is, for example, 16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:1): 8:4:2:1.
As another example, when a frame timeThe sum of the scanning weights of all the first and second subfields in the frame is equal to 2 n Setting the scan weight of the second sub-field of the target equal to 2 M-1 +1, setting the scan weight of the second sub-field other than the target second sub-field to 2 0 To 2 M-2 Wherein the scanning weight of the other second subfields is a power of 2, n represents the number of bits of the target gray data, M represents the number of bits of the second gray data, and n and M are both positive integers.
For example, the number n of bits of the target gray scale data is 8, the number M of bits of the second gray scale data is 4, and the sum of the scanning weights of all the first subfields and the second subfields in a frame time is equal to 256, then the scanning weights of the 4 second subfields are set, that is, the second scanning weight sequence is, for example, 9:4:2:1 or 4:9:2:1 or 1:2:4:9, and since the scanning weights of the first subfields are equal, the scanning weight of the first subfields is 16, the first scanning weight sequence is 16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:1, and the combined sequence of the first scanning weight sequence and the second scanning weight sequence is, for example, 16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:16:1: 9:4:2:1.
The process of setting the second subfield and the scanning weight of the second subfield is completed in, for example, an FPGA chip or other processor, and after the second scanning weight sequence is obtained, the FPGA chip transmits the second gray data and the second scanning weight sequence to the display chip, so that the display chip controls the second lighting time of each pixel in one frame time according to the second gray data and the second scanning weight sequence.
In order to further weaken or even eliminate the dynamic false contour on the basis of weakening the dynamic false contour by using the linear pulse width modulation method, as an implementation manner, the embodiment of the invention further weakens the dynamic false contour by a mode of mutually compensating the positive and negative polarity dynamic false contour in the process of scanning the second gray data by using the fractal scanning method.
Specifically, before setting the second subfield corresponding to each data bit in the second gray data and setting the scan weight of each second subfield, the second scan weight sequence may be obtained, the method may further include the steps of:
dividing a display area of a display into a plurality of subspaces along a row direction;
in order to further weaken the dynamic false contour when setting the scanning weight of each second sub-field, the embodiment of the invention sets the second scanning weight sequence of each subspace according to the polarity of generating the dynamic false contour; wherein the second scan weight sequence of each subspace is opposite in polarity to the dynamic false contour generated by the second scan weight sequence of the adjacent subspace, which may include subspaces adjacent to each subspace.
Fig. 7 schematically illustrates a plurality of subspaces of an embodiment of the present invention. Fig. 8 schematically shows the human eye integration results for the various subspaces of fig. 7. As shown in fig. 7, the display area of the display is divided into a plurality of subspaces in the row direction, namely subspace 1, subspace 2, subspace 3 and subspace 4. As shown in fig. 8, the second scan weight sequence of, for example, subspace 1 is set to 9:4:2:1, the second scan weight sequence of, for example, subspace 2 is set to 4:2:1:9, the second scan weight sequence of, for example, subspace 3 is set to 9:1:2:4, and the second scan weight sequence of, for example, subspace 4 is set to 1:2:4:9. When the eye's line of sight moves with the target object, for example from a 7 gray scale region to a 9 gray scale region, 16 gray scale bright fringes, i.e. positive polarity dynamic false contours, are perceived in subspace 1 and subspace 3; while perceived in subspace 2 and subspace 4 is a 0 gray level dark fringe, i.e. a negative polarity dynamic false contour.
Fig. 9 schematically shows the phenomenon of positive and negative polarity false contours compensating each other. As shown in fig. 9, the positive dynamic false contour of 16 gray levels and the negative dynamic false contour of 0 gray levels compensate each other so that the gray level perceived by the human eye is around 7 gray levels. Namely, through mutual compensation of the positive and negative false contours, the perception degree of human eyes on the dynamic false contours can be effectively reduced, and further the influence of the dynamic false contours on the image quality is reduced.
In order to accelerate the transmission rate of the target gray data, as an implementation manner, the embodiment of the invention adopts a random scanning mode to scan the second gray data.
Specifically, in the process that the display chip lights the second subfield corresponding to the ith data bit of the first subspace, for example, the FPGA chip transmits the second gray level data of the second subspace or the gray level data of the (i+1) th data bit of the first subspace to the display chip, so that new gray level data is transmitted at each moment, no transmission waiting time exists, and the transmission efficiency of the second gray level data can reach 100%. Wherein i is a positive integer.
For ease of understanding, the transmission process of the above-described second gradation data is described below with reference to fig. 10.
Fig. 10 is a schematic diagram of scanning space-time diagram of second gray data according to an embodiment of the present invention. As shown in fig. 10, when the number of bits of the second gray data is 4, that is, the second gray data is 4Bit gray data, the display region may be divided into four subspaces. The scan matrix M is, for example:
four rows in the scan matrix M represent four subspaces, namely subspace 1, subspace 2, subspace 3, and subspace 4; four columns in the scanning matrix M represent Bit3 to Bit0, that is, gray data corresponding to each data Bit, and the arrangement sequence of each row of elements represents a scanning weight sequence of the corresponding subspace. In fig. 10, the abscissa represents the scanning time in units of time ST for transmitting a certain gradation data bit of one subspace; the ordinate represents subspace, and the solid line represents the scan line. As shown in fig. 10, bit3 data of the subspace 1 is transmitted at the time 0, and the corresponding scanning weight is 9; transmitting Bit2 data of the subspace 2 at the moment 1, wherein the corresponding scanning weight is 4; and respectively transmitting the Bit3 data of the subspace 3 and the Bit0 data of the subspace 4 at the moments 2 and 3, wherein the corresponding scanning weights are 9 and 1 respectively. Thus, it can be seen that new gradation data is being transmitted at each time in the process of realizing gradation display of the second gradation data, there is no transmission waiting time, and the transmission efficiency can reach 100%. Therefore, the defect of long data transmission time of the linear pulse width modulation method can be overcome by the fractal scanning mode, the transmission efficiency of target gray scale data is integrally accelerated, and the requirements of the refresh frequency and the data transmission bandwidth of the display screen are met.
In summary, after the target gray data of each pixel in the display area of the display is obtained, the scanning method, the device, the equipment and the computer storage medium according to the embodiments of the present invention scan the first gray data corresponding to the target data bit in the target gray data by using the linear pulse width modulation method, so that the different gray levels formed overlap each other in the display time, thereby reducing the dynamic false contour phenomenon; and scanning the second gray data except the target data bit in the target gray data by using a random scanning method, so as to make up for the defect of longer data transmission time of a linear pulse width modulation method, and quickening the transmission efficiency of the target gray data on the whole, thereby meeting the requirements of refresh frequency and data transmission bandwidth of a display screen.
As a preferable scheme, compared with other scanning methods such as an implantation scanning method, an atomic scanning method and the like, the fractal scanning method can be used for scanning the second gray data, so that the polarity of a dynamic false contour generated by the second scanning weight sequence of each subspace is opposite to that of a dynamic false contour generated by the second scanning weight sequence of an adjacent subspace, and further the dynamic false contour phenomenon is weakened from the angle of mutual compensation of the positive and negative dynamic false contours, thereby improving the image display quality.
In the embodiment of the present invention, S102 and S103 may be executed simultaneously, or S103 may be executed first and then S102 may be executed, which is not limited to this.
In order to facilitate understanding of the scanning method provided by the embodiment of the present invention, the following description is made in connection with an application embodiment of 256-level gray scale display.
In S101, the number of bits of the acquired target gradation data is 8, that is, gradation data in which the target gradation data is 8Bit can be displayed with 2 8 =256-level gray scale display. Wherein the number of bits of the first gray data and the second gray data is, for example, 4.
In S102, the 4-bit first gray scale data is expanded to 15-bit target first gray scale data, and 15 first subfields corresponding to each data bit in the target first gray scale data are set, wherein the scanning weights of the 15 first subfields are 16, that is, the first scanning weight sequence is 16:16:16:16:16:16:16:16:16:16:16:16.
In S103, 4 second subfields corresponding to each data bit in the second gray scale data are set, wherein the scanning weights of the 4 second subfields are, for example, 1, 2, 4, and 9, wherein the polarity of the dynamic false contour generated by the second scanning weight sequence of each subspace is opposite to that of the second scanning weight sequence of the adjacent subspace, for example, the second scanning weight sequence of the odd-numbered subspace is 9:4:2:1 or 9:1:2:4, and the second scanning weight sequence of the even-numbered subspace is 4:2:1:9 or 1:2:4:9.
In order to uniformly distribute subspaces of scanning weight sequences with opposite polarities of dynamic false contours in an effective display area and avoid conflict of scanning and line cleaning operations of the same subspace, as an example, the embodiment of the invention expands the number of subspaces of a 4-bit random scanning matrix M from 4 to 16, and combines the subspaces with a first scanning weight sequence of a linear pulse width modulation method to generate a partial fractal scanning matrix Q.
The 16 rows in the partial fractal scanning matrix Q represent 16 subspaces, the 19 columns in the partial fractal scanning matrix Q represent the scanning weights of 19 subfields, the scanning weights comprise 15 first subfields and 4 second subfields, each row of elements corresponds to the scanning weight sequence of the subspace, the first scanning weight sequence of each subspace is the same, and the polarities of dynamic false contours generated by the second scanning weight sequences of adjacent subspaces are opposite.
Fig. 11 is a schematic diagram of scanning space-time of first gray data and second gray data of a target. In fig. 11, the abscissa indicates the scanning time, where the time to scan one subspace is ST, and the ordinate indicates the subspace. As shown in fig. 11, 240 ST's are required in total to transmit the target first gradation data, bit18 data of subspace 1 through subspace 16 are transmitted at times 0 to 15, bit17 data are transmitted at times 16 to 31, and so on, bit4 data are transmitted at times 224 to 239. 64 STs are required to transmit the second gray data, and the gray data of subspaces 1-4, 5-8, 9-12 and 13-16 are transmitted at times 240-255, 256-271, 272-287 and 288-303 according to the 4Bit fractal structure, respectively. Therefore, 304 STs are required for transmitting one frame of target gray data, and in the period of time, the data transmission cannot generate time redundancy, and the transmission efficiency can reach 100%.
When the scanning weight of one of the second subfields is 9, part of gray scales cannot be displayed. In order to achieve 256-level gray scale display, as an implementation manner, in the embodiment of the invention, the line clearing signal can be utilized to blank the target second sub-field with the scanning weight of 9 in advance for a preset time, so that the scanning weight of the target second sub-field is reduced to 8, the achieved gray scale is improved from 241 level to 256 level, and the richness of image colors is increased. Specifically, for example, in the process of lighting the target second subfield with the scanning weight of 9, the line cleaning signal is utilized to advance one ST time to blank the target second subfield, so that the lighting time of the target second subfield is reduced, and the scanning weight of the target second subfield is reduced from 9 to 8.
In order to verify that the scanning method provided by the embodiment of the present invention can weaken the dynamic false contour, the following description is made with reference to fig. 12 and 13.
Fig. 12 shows the integration result of human eyes on pixel brightness when gray scale display is realized by the prior art subfield method. Fig. 13 shows the integration result of human eyes on pixel brightness when gray scale display is realized by the scanning method provided by the embodiment of the invention.
As shown in fig. 12, when the target gray data is 8 bits, the existing subfield method divides one frame time into 8 subfields, and the scan weight sequence of the subfields is 128:64:32:16:8:4:2:1. 127 gray levels are displayed, and the corresponding code is 01111111; when 128 gray levels are displayed, the corresponding code is 10000000. When the eye's line of sight moves from a 127 gray level region to a 128 gray level region along with the target object, the gray levels combined with the scanning weight sequence at each translation of the 8-bit code are 127 gray levels, 255 gray levels, 191 gray levels, 159 gray levels, 143 gray levels, 135 gray levels, 131 gray levels, 129 gray levels and 128 gray levels in sequence, and the maximum gray level is 255 gray levels, i.e., a dynamic false contour differing by 127 levels from the 128 gray levels to be displayed is perceived.
As shown in fig. 13, the embodiment of the present invention divides the existing subfield with a larger scanning weight into a plurality of smaller subfields with equal scanning weights by expanding the data bits of the target gray data, and divides one frame time into 19 subfields. When the eye's sight moves from 127 gray level area to 128 gray level area along with the target object, the maximum gray level perceived by the eye is 143 gray level along with the sequential translation, and the maximum gray level is only 15 level different from the 128 gray level to be displayed, compared with the existing sub-field method, the dynamic false contour phenomenon can be effectively weakened.
From the above analysis, it can be seen that when gray data of more data bits in the target gray data is scanned by the linear pulse width modulation method, the severity of dynamic false contours is theoretically weaker, but the refresh rate and the transmission rate of the display are affected. Therefore, there is a need to find an optimal target data bit while meeting refresh rate and transmission rate requirements of the display and while reducing dynamic false contours.
For this reason, the following operations are further performed before the target data bit is set in the embodiment of the present invention:
for example, 256-level gray scale display is implemented for 8-bit target gray scale data, and the effect of eliminating dynamic false contours in the case of the number of bits k=2, 3, 4, and 5 of the first gray scale data, and the effect of dynamic false contours of other scanning methods in the scanning method of the embodiment of the present invention are studied.
Table 2 shows the maximum and average values of the dynamic false contour quantization values for the different scanning methods.
As shown in table 2, as the number k of bits of the first gradation data increases, the dynamic false contour quantization value between any two gradation levels decreases continuously as a whole. Compared with a subfield method, the method provided by the embodiment of the invention can effectively reduce the maximum value and the average value of the quantized value of the dynamic false contour, and when K=3, the maximum value and the average value of the quantized value of the dynamic false contour are smaller than the quantized value of the fractal method.
Fig. 14 shows a person image, where a is an original image, b is an eight-subfield simulation image, c is a fractal simulation image, d is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=2 of the first gray data, e is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=3 of the first gray data, and f is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=4 of the first gray data.
Table 3 shows peak signal-to-noise ratio PSNR and dynamic false contour DFC quantization values for various methods in the human figure image shown in fig. 14.
As shown in fig. 14 and table 3, since the human skin tone gray scale is not greatly different, the dynamic false contour phenomenon is easily observed. The simulated image scanned by the eight subfields can see obvious stripes on the face and arms of the person, and the stripes of the simulated image by the fractal scanning method are reduced. The simulation image of the scanning method of the embodiment of the invention gradually improves the stripe phenomenon along with the increase of k, and when k=3, no obvious stripe phenomenon is observed; when k=4, the image display effect is equivalent to that of the original image.
Fig. 15 shows a building image, where a is an original image, b is an eight-subfield simulation image, c is a fractal simulation image, d is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=2 of the first gray data, e is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=3 of the first gray data, and f is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=4 of the first gray data.
Table 4 shows peak signal-to-noise ratio PSNR and dynamic false contour DFC quantization values for various methods in the building image shown in fig. 15.
As shown in fig. 15 and table 4, under the subfield scan and the fractal scan, it is apparent that many dynamic false contours appear at the sky. Under the scanning method of the embodiment of the invention, when k=3, the dynamic false contour phenomenon of the same position is obviously reduced, and when k=4, the simulation image is very close to the original image. As can be seen from table 4, as the k value increases, the sum of the quantized values of the dynamic false contour DFC gradually decreases, and the PSNR value gradually increases.
Fig. 16 shows a flower image, where a is an original image, b is an eight-subfield simulation image, c is a fractal simulation image, d is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=2 of the first gray data, e is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=3 of the first gray data, and f is a simulation image of the scanning method according to the embodiment of the present invention when the number of bits k=4 of the first gray data.
Table 5 shows the peak signal-to-noise ratio PSNR and dynamic false contour DFC quantization values for various methods in the flower image shown in fig. 16.
As shown in fig. 16 and table 5, under the subfield scan and the fractal scan, the edges of petals appear as distinct bright stripes. In the scanning method of the embodiment of the invention, under the condition that the bit number k=4 of the first gray data, petals are not different from original figures.
Fig. 17 shows another character image, in which a is an original image, b is an eight-subfield simulation image, c is a fractal simulation image, d is a simulation image when the number of bits k=2 of the first gradation data in the scanning method according to the embodiment of the present invention, e is a simulation image when the number of bits k=3 of the first gradation data in the scanning method according to the embodiment of the present invention, and f is a simulation image when the number of bits k=4 of the first gradation data in the scanning method according to the embodiment of the present invention.
Table 6 shows peak signal-to-noise ratio PSNR and dynamic false contour DFC quantization values for various methods in the human figure image shown in fig. 17.
As shown in fig. 17 and table 6, under the subfield scan, the shoulder and face of the person are striped. In the scanning method according to the embodiment of the present invention, when the number of bits k=4 of the first gray data is small, the streak phenomenon is difficult to be observed, and the trend of the dynamic false contour quantization value and the PSNR value is consistent with that of the monochrome simulation image.
From this, by simulating the image, the evaluation result of the dynamic false contour, and the PSNR of the image, it is possible to derive that the dynamic false contour phenomenon is hardly observed by the human eye when the number k of bits of the first gradation data is 4 for 256-level gradation display. The number of bits of the target data bit can be set to 4 for 256-level gray scale display.
Based on the scanning method provided by the embodiment, correspondingly, the application further provides a specific implementation mode of the scanning device. Please refer to the following examples.
Fig. 18 is a schematic structural diagram of a scanning device according to another embodiment of the present application. As shown in fig. 18, a scanning apparatus 1800 provided by an embodiment of the present application may include:
an acquiring module 1801, configured to acquire target gray data of each pixel in a display area of the display, where the target gray data may include first gray data and second gray data, the first gray data may include gray data corresponding to a target data bit, and the second gray data may include gray data other than the target data bit in the target gray data;
a first scanning module 1802 for scanning the first gray data using a linear pulse width modulation method;
the second scanning module 1803 is configured to scan the second gray data by using a random scanning method.
The modules/units in the apparatus shown in fig. 18 have functions of implementing the steps in fig. 6, and achieve corresponding technical effects, and are not described herein for brevity.
Based on the method for determining the target user provided by the embodiment, correspondingly, the application also provides electronic equipment. Please refer to the following examples.
Fig. 19 shows a schematic hardware structure of an electronic device according to an embodiment of the present application.
A processor 1901 may be included in an electronic device, as well as a memory 1902 in which computer program instructions are stored.
In particular, the processor 1901 may include a central processing unit (Central Processing Unit, CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured as one or more integrated circuits implementing embodiments of the present application.
Memory 1902 may include mass storage for data or instructions. By way of example, and not limitation, memory 1902 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the above. In one example, memory 1902 may include removable or non-removable (or fixed) media, or memory 1902 may be a non-volatile solid state memory. Memory 1902 may be internal or external to the integrated gateway disaster recovery device.
In one example, memory 1902 may be Read Only Memory (ROM). In one example, the ROM may be mask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
Memory 1902 may include Read Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform the operations described with reference to methods in accordance with aspects of the present disclosure.
The processor 1901 reads and executes the computer program instructions stored in the memory 1902 to implement the methods/steps S101 to S103 in the embodiment shown in fig. 6, and achieve the corresponding technical effects achieved by executing the methods/steps in the embodiment shown in fig. 6, which are not described herein for brevity.
In one example, the electronic device may also include a communication interface 1903 and a bus 1910. As shown in fig. 3, the processor 1901, the memory 1902, and the communication interface 1903 are connected to each other via a bus 1910 and communicate with each other.
Communication interface 1903 is mainly used to implement communication between modules, devices, units, and/or apparatuses in the embodiment of the present invention.
Bus 1910 includes hardware, software, or both that couple the components of the online data flow billing device to each other. By way of example, and not limitation, the buses may include an accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics Bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) Bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an industry standard architecture (Industry Standard Architecture, ISA) Bus, an infiniband interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a micro channel architecture (MCa) Bus, a Peripheral Component Interconnect (PCI) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, a video electronics standards association local (VLB) Bus, or other suitable Bus, or a combination of two or more of the above. Bus 1910 may include one or more buses, where appropriate. Although embodiments of the invention have been described and illustrated with respect to a particular bus, the invention contemplates any suitable bus or interconnect.
In addition, in combination with the scanning method in the above embodiment, the embodiment of the present invention may be implemented by providing a computer storage medium. The computer storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the scanning methods of the above embodiments.
In summary, after the target gray data of each pixel in the display area of the display is obtained, the scanning method, the scanning device and the electronic device according to the embodiments of the present invention scan the first gray data corresponding to the target data bit in the target gray data by using the linear pulse width modulation method, so that different gray levels formed by the first gray data and the corresponding subfield overlap each other in display time, thereby weakening dynamic false contour phenomenon and improving image display quality; and scanning the second gray data except the target data bit in the target gray data by using a random scanning method, so as to make up for the defect of longer data transmission time of a linear pulse width modulation method, and quickening the transmission efficiency of the target gray data on the whole, thereby meeting the requirements of refresh frequency and data transmission bandwidth of a display screen. As a preferable scheme, the fractal scanning method can be used for scanning the second gray data, so that the polarity of the dynamic false contour generated by the second scanning weight sequence of each subspace is opposite to that of the dynamic false contour generated by the second scanning weight sequence of the adjacent subspace, and further the dynamic false contour phenomenon is weakened from the angle of mutual compensation of the positive and negative polarity dynamic false contours, thereby improving the image display quality.
It should be understood that the invention is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after appreciating the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to being, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware which performs the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the foregoing, only the specific embodiments of the present invention are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present invention is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and they should be included in the scope of the present invention.

Claims (9)

1. A scanning method, comprising:
acquiring target gray data of each pixel in a display area of a display, wherein the target gray data comprises first gray data and second gray data, the first gray data comprises gray data corresponding to target data bits, and the second gray data comprises gray data except the target data bits in the target gray data;
scanning the first gray data by using a linear pulse width modulation method;
scanning the second gray data by using a random scanning method;
before the scanning of the first gray data in the gray data using the linear pulse width modulation method, the method further includes:
Expanding the data bits of the first gray data to obtain target first gray data with a preset number of data bits;
the scanning the first gray scale data by using a linear pulse width modulation method specifically includes:
scanning the target first gray data by using the linear pulse width modulation method;
the random scanning method is used for setting a second subfield corresponding to each data bit in the second gray data and setting a scanning weight of each second subfield to obtain a second scanning weight sequence, so as to control a second lighting time of each pixel in one frame time according to the second gray data and the second scanning weight sequence.
2. The scanning method according to claim 1, wherein the preset number is 2 k -1, wherein k represents the number of bits of the first gradation data, being a positive integer.
3. The scanning method according to claim 1, wherein said scanning said target first gradation data using said linear pulse width modulation method comprises:
setting a first subfield corresponding to each data bit in the target first gray data, and setting a scanning weight of each first subfield to obtain a first scanning weight sequence, wherein the scanning weights of a plurality of first subfields are equal;
And transmitting the target first gray data and the first scanning weight sequence to a display chip, so that the display chip controls the first lighting time of each pixel in one frame time according to the target first gray data and the first scanning weight sequence.
4. A scanning method according to claim 3, wherein said scanning the second one of said gradation data by a random scanning method comprises:
setting a second subfield corresponding to each data bit in the second gray data, and setting a scanning weight of each second subfield to obtain a second scanning weight sequence;
transmitting the second gray data and the second scanning weight sequence to the display chip, so that the display chip controls the second lighting time of each pixel in the frame time according to the second gray data and the second scanning weight sequence,
the first subfield and the second subfield are different time segments within the one frame time.
5. The method according to claim 4, wherein before setting the second subfield corresponding to each data bit in the second gray data and setting the scan weight of each of the second subfields, obtaining the second scan weight sequence, further comprises:
Dividing the display area of the display into a plurality of subspaces along the row direction;
setting the scanning weight of each second subfield to obtain a second scanning weight sequence, which specifically comprises:
setting the second scanning weight sequence of each subspace according to the polarity of the dynamic false contour;
wherein the second scan weight sequence of each of the subspaces is of opposite polarity to a dynamic false contour generated by the second scan weight sequence of an adjacent subspace, the adjacent subspace comprising a subspace adjacent to each subspace.
6. The method according to claim 5, wherein the scanning the second gray scale data in the gray scale data by using the random scanning method, in particular, further comprises:
and transmitting the second gray level data of the second subspace or the gray level data of the (i+1) th data bit of the first subspace in the process of lighting the second subfield corresponding to the (i) th data bit of the first subspace, wherein i is a positive integer.
7. The scanning method according to claim 4, wherein the setting the scanning weight of each of the second subfields to obtain the second scanning weight sequence specifically includes:
When the sum of the scanning weights of all the first sub-field and the second sub-field in the one frame time is equal to 2 n -1, setting the scanning weights of the second subfields to be unequal, wherein the scanning weight of each second subfield is 2 0 To 2 M-1 Wherein the scanning weight of the second subfieldA power of 2;
when the sum of the scanning weights is equal to 2 n Setting the scan weight of the second sub-field of the target equal to 2 M-1 +1, the scan weight of the second sub-field other than the target second sub-field is 2 0 To 2 M-2 Wherein the scanning weight of the other second subfields is a power of 2;
wherein n represents the number of bits of the target gradation data, M represents the number of bits of the second gradation data, and n and M are both positive integers.
8. A scanning device, the device comprising:
an acquisition module, configured to acquire target gray data of each pixel in a display area of a display, where the target gray data includes first gray data and second gray data, the first gray data includes gray data corresponding to a target data bit, and the second gray data includes gray data except the target data bit in the target gray data;
A first scanning module for scanning the first gray data by using a linear pulse width modulation method;
the second scanning module is used for scanning the second gray data by utilizing a random scanning method;
the first scanning module is specifically configured to expand data bits of the first gray data to obtain target first gray data with a preset number of data bits, and scan the target first gray data by using the linear pulse width modulation method;
the random scanning method is used for setting a second subfield corresponding to each data bit in the second gray data and setting a scanning weight of each second subfield to obtain a second scanning weight sequence, so as to control a second lighting time of each pixel in one frame time according to the second gray data and the second scanning weight sequence.
9. An electronic device, the device comprising: a processor and a memory storing computer program instructions;
the processor reads and executes the computer program instructions to implement the scanning method according to any of claims 1 to 7.
CN202010821152.3A 2020-08-14 2020-08-14 Scanning method, scanning device and electronic equipment Active CN112002277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010821152.3A CN112002277B (en) 2020-08-14 2020-08-14 Scanning method, scanning device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010821152.3A CN112002277B (en) 2020-08-14 2020-08-14 Scanning method, scanning device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112002277A CN112002277A (en) 2020-11-27
CN112002277B true CN112002277B (en) 2023-11-07

Family

ID=73472806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010821152.3A Active CN112002277B (en) 2020-08-14 2020-08-14 Scanning method, scanning device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112002277B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112687222B (en) 2020-12-28 2021-12-17 北京大学 Display method, device, electronic equipment and medium based on pulse signal
CN114708824B (en) * 2022-04-15 2023-10-31 深圳市洲明科技股份有限公司 LED display screen driving method, LED display screen and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1310837A (en) * 1998-01-30 2001-08-29 电等离子体公司 Method and apparatus for minimizing false image artifacts in a digitally controlled display monitor
JP2003131616A (en) * 2001-10-26 2003-05-09 Hitachi Ltd Display device and display controller
WO2005036512A1 (en) * 2003-10-14 2005-04-21 Matsushita Electric Industrial Co., Ltd. Image display method and image display apparatus
CN1784748A (en) * 2003-04-02 2006-06-07 反射公司 Methods and apparatus for selectively updating memory cell arrays
CN1897081A (en) * 2005-06-10 2007-01-17 索尼株式会社 Display device and driving method thereof
CN103077682A (en) * 2013-01-31 2013-05-01 西安电子科技大学 LED (Light-Emitting Diode) display screen pulse control method capable of eliminating dynamic false contour

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1310837A (en) * 1998-01-30 2001-08-29 电等离子体公司 Method and apparatus for minimizing false image artifacts in a digitally controlled display monitor
JP2003131616A (en) * 2001-10-26 2003-05-09 Hitachi Ltd Display device and display controller
CN1784748A (en) * 2003-04-02 2006-06-07 反射公司 Methods and apparatus for selectively updating memory cell arrays
WO2005036512A1 (en) * 2003-10-14 2005-04-21 Matsushita Electric Industrial Co., Ltd. Image display method and image display apparatus
CN1897081A (en) * 2005-06-10 2007-01-17 索尼株式会社 Display device and driving method thereof
CN103077682A (en) * 2013-01-31 2013-05-01 西安电子科技大学 LED (Light-Emitting Diode) display screen pulse control method capable of eliminating dynamic false contour

Also Published As

Publication number Publication date
CN112002277A (en) 2020-11-27

Similar Documents

Publication Publication Date Title
CN101740005B (en) Display control apparatus and display control method
KR100882768B1 (en) Display device operating in sub-field process and method of displaying images in such display device
CN102314844B (en) Liquid crystal display device and method for local dimming driving of the same
JP4676418B2 (en) Driving device and driving method for liquid crystal display device
CN112002277B (en) Scanning method, scanning device and electronic equipment
KR102343683B1 (en) digital display
KR20100119023A (en) Method of dimming driving and display apparatus for performing the method
CN106991959B (en) Image processing method and device for L ED display screen
KR20150096000A (en) display device and driving method thereof
KR100708499B1 (en) Gradation display method capable of effectively decreasing flickers and gradation display
JP4991066B2 (en) Method and apparatus for processing video images
CN100383842C (en) Image display method and image display apparatus
KR100955013B1 (en) Plasma display panelpdp - improvement of dithering noise while displaying less video levels than required
KR101077251B1 (en) Method for processing video pictures for false contours and dithering noise compensation
CN104123913A (en) LED (Light-Emitting Diode) scanning method
US7391391B2 (en) Display apparatus
CN103310738A (en) Backlight controlling apparatus, and backlight controlling method
Mikoshiba 26.1: Invited Paper: Visual Artifacts Generated in Frame‐Sequential Display Devices: An Overview
CN101299266B (en) Method and apparatus for processing video pictures
CN100594529C (en) Image display apparatus
US8947475B2 (en) Spatially multiplexed pulse width modulation
EP2109094A1 (en) LCD inversion control
CN116153217A (en) Display device and method of driving display panel
CN101908313B (en) Method and device for digital display system power dynamic balance by multi-path pulse width modulation
CN116416914A (en) Image display method, device and system and nonvolatile storage medium

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
GR01 Patent grant
GR01 Patent grant