Display device and display method thereof

11315470 · 2022-04-26

Assignee

Inventors

Cpc classification

International classification

Abstract

A display device and display method thereof are provided. The display device includes an image capture unit, a grayscale value capture unit, a grayscale value difference calculating unit, a grayscale difference threshold setting unit, and a pixel pattern output unit. In the display method of the present disclosure, weighted weight calculations managing different line types are correspondingly added, therefore, the color aliasing may be effectively avoided, and image features may be restored to the utmost.

Claims

1. A display method of a display device, comprising steps of: capturing original image data, wherein the original image data includes pixel units arranged in an array, each of the pixel units has i sub-pixels, and every i pixel units form a loop unit, wherein i is 4; capturing a grayscale value of a sub-pixel in each of the pixel units in one loop unit; capturing a grayscale value difference between any sub-pixel of one of the pixel units and the corresponding sub-pixel of another one of the pixel units, and capturing a maximum grayscale value difference from all of the sub-pixels of the pixel unit; and defining a grayscale difference threshold, and comparing, in one loop unit, all of the maximum grayscale value differences respectively with the grayscale difference threshold to obtain corresponding comparison results, wherein each of the comparison results corresponds to a pixel pattern.

2. The display method according to claim 1, wherein the step of capturing original image data includes: inputting image data of a pixel unit having (i-1) sub-pixels; and converting the image data of the pixel unit having (i-1) sub-pixels into image data of a pixel unit having i sub-pixels to capture the original image data.

3. The display method according to claim 1, wherein the step of capturing a grayscale value difference between any sub-pixel of one of the pixel units and the corresponding sub-pixel of another one of the pixel units, and capturing a maximum grayscale value difference from all of the sub-pixels of the pixel unit includes: calculating the maximum grayscale value differences according to a formula of Δn=max(Δn(m)); wherein m represents a type of sub-pixel, n represents a number of grayscale value difference of the sub-pixel, n≤i−1, Δn(m) represents the grayscale value difference captured between a sub-pixel of one of the pixel units and the corresponding sub-pixel of another pixel unit.

4. The display method according to claim 1, wherein the grayscale difference threshold is adjustable.

5. The display method according to claim 1, wherein each of the pixel units includes four sub-pixels, the four sub-pixels are a red sub-pixel, a green sub-pixel, a blue sub-pixel, and a white sub-pixel, respectively.

6. The display method according to claim 5, wherein one loop unit includes four pixel units, to capture a grayscale value difference between a sub-pixel of one of the pixel units and the corresponding sub-pixel of another pixel unit, to capture the maximum grayscale value differences Δ1, Δ2, and Δ3 in all sub-pixels of the pixel unit, and to compare all the maximum grayscale value differences Δ1, Δ2, and Δ3 respectively with the grayscale difference threshold Δth to obtain corresponding comparison results; wherein the comparison results includes: a first result: Δ1<Δth, Δ2<Δth, Δ3<Δth; a second result: Δ1≥Δth, Δ2≥Δth, Δ3≥Δth; a third result: Δ1≥Δth, Δ2≥Δth, Δ3<Δth; a fourth result: Δ1≥Δth, Δ2<Δth, Δ3≥Δth; a fifth result: Δ1<Δth, Δ2≥Δth, Δ3≥Δth; a sixth result: Δ1≥Δth, Δ2<Δth, Δ3<Δth; a seventh result: Δ1<Δth, Δ2≥Δth, Δ3<Δth; and an eighth result: Δ1<Δth, Δ2<Δth, Δ3≥Δth; wherein Δ1 represents a maximum grayscale value difference of the grayscale value difference of all the sub-pixels between the first pixel unit and the second pixel unit in the four pixel units of one loop unit, Δ2 represents a maximum grayscale value difference of the grayscale value difference of all the sub-pixels between the first pixel unit and the third pixel unit in the four pixel units of the one loop unit, Δ3 represents a maximum grayscale value difference of the grayscale value difference of all the sub-pixels between the first pixel unit and the fourth pixel unit in the four pixel units of the one loop unit, Δth represents the grayscale difference threshold.

7. The display method according to claim 6, wherein the pixel patterns respectively corresponding to the first result to the eighth result include: a first pattern: (max(G1,G2),max(G2,G3),max(G3,G4)); a second pattern: (G1,f(G2,G3),f(G3,G4)); a third pattern: (G1,f(G2,G3),G4); a fourth pattern: (G1,G2,f(G3,G4)); a fifth pattern: (G1,G2,max(G3,G4)); a sixth pattern: (G1,G2,f(G3,G4)); a seventh pattern: (f(G1,G2),G3,G4); and an eighth pattern: (f(G1,G2),f(G2,G3),G4); wherein f(a,b)=a*ra1+b*ra2, a and b represent the grayscale value of two adjacent pixels, weight ra1=0.5+0.5*(a−b)/255, and weight ra2=0.5+0.5*(b−a)/255; G1, G2, G3, and G4 respectively represent the grayscale value of the first sub-pixel, the second sub-pixel, the third sub-pixel, and the fourth sub-pixel of the pixel unit.

8. A display device, comprising: an image capture unit configured to capture original image data, wherein the original image data includes pixel units arranged in an array, each of the pixel units has i sub-pixels, and every i pixel units form a loop unit, wherein i is 4; a grayscale value capture unit including an input end connected to an output end of the image capture unit, and configured to capture a grayscale value of a sub-pixel in each of the pixel units in one loop unit; a grayscale value difference calculating unit including an input end connected to an output end of the grayscale value capture unit, and configured to capture a grayscale value difference between any sub-pixel of one of the pixel units and the corresponding sub-pixel of another one of the pixel units and capture a maximum grayscale value difference from all of the sub-pixels of the pixel unit; a grayscale difference threshold setting unit configured to define a grayscale difference threshold; and a pixel pattern output unit including an input end connected to an output of the grayscale value capture unit and the grayscale difference threshold setting unit, wherein all the maximum grayscale value differences are respectively compared with the grayscale difference threshold in a loop unit to obtain corresponding comparison results in one loop unit, and each of the comparison results corresponds to a pixel pattern.

9. The display device according to claim 8, wherein the display device further includes a storage unit connected to the image capture unit, the grayscale value capture unit, the grayscale value difference calculating unit, the grayscale difference threshold setting unit, and the pixel pattern output unit, wherein the storage unit is configured to store the grayscale value of the sub-pixel in the pixel unit, the maximum grayscale value difference of all the sub-pixels, the grayscale difference threshold, and the comparison results.

10. The display device according to claim 8, wherein the image capture unit includes: an input unit configured to input image data of a pixel unit having (i-1) sub-pixels; and a conversion unit including an input end connected to an output end of the input unit and configured to convert the image data of a pixel unit having (i-1) sub-pixels into image data of a pixel unit having i sub-pixels to capture the original image data.

Description

DESCRIPTION OF DRAWINGS

(1) FIG. 1 is a schematic view of a sub-pixel sharing of sub-pixel arrangement of a conventional RGBW strip display device.

(2) FIG. 2 is a flowchart of a display method of a display device according to an embodiment of the present disclosure.

(3) FIG. 3 is a flowchart of a step of capturing original image data according to an embodiment of the present disclosure.

(4) FIG. 4 is a schematic view of the image data conversion in FIG. 3.

(5) FIG. 5 is a schematic structural view of a display device according to an embodiment of the present disclosure.

(6) The components in the figures are identified as follows:

(7) 1 image capture unit, 2 grayscale value capture unit, 3 grayscale value difference calculating unit, 4 grayscale difference threshold setting unit, 5 pixel pattern output unit, 6 storage unit, 11 input unit, 12 conversion unit, 100 display device.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

(8) The preferred embodiments of the present disclosure will be described in detail below with reference to the drawings, and the technical contents of the present disclosure will be fully described by those skilled in the art. The present disclosure can be implemented by way of example to make the technical content of the present disclosure clearer, and to make it easier for those skilled in the art to understand how to implement the invention. However, the present disclosure may be embodied in many different forms of embodiments, and the scope of the present disclosure is not limited to the embodiments described herein. The description of the embodiments below is not intended to limit the scope of the present disclosure.

(9) In the description of the present disclosure, it is to be understood that terms such as “central”, “upper”, “lower”, “front”, “rear”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inner”, “outer”, etc. should be construed to refer to the orientation or position as shown in the drawings under discussion. The directional terms used herein are used to explain and explain the present disclosure, and are not intended to limit the scope of the present disclosure.

(10) In the drawings, structurally identical components are denoted by the same reference numerals, and structural or functionally similar components are denoted by like reference numerals. Moreover, the size and thickness of each component shown in the drawings are arbitrarily shown for ease of understanding and description, and the present disclosure does not limit the size and thickness of each component.

(11) When a component is described as “on” another component, the component can be placed directly on the other component; an intermediate component can also be present. The component is placed on the intermediate component and the intermediate component is placed on another component. When a component is described as “installed” or “connected” to another component, they may be understood to be “installed” or “connected” directly, or one component is “mounted” or “connected” to another component through an intermediate component.

(12) Referring to FIG. 2, a flowchart of a display method of a display device according to an embodiment of the present disclosure is illustrated. The display method includes:

(13) S1, capturing original image data, wherein the original image data includes pixel units arranged in an array, each of the pixel units has i sub-pixels, and every i pixel units form a loop unit; capturing a grayscale value of a sub-pixel in each of the pixel units in one loop unit; capturing a grayscale value difference between any sub-pixel of one of the pixel units and the corresponding sub-pixel of another one of the pixel units, and capturing a maximum grayscale value difference from all of the sub-pixels of the pixel unit; and

(14) S2, defining a grayscale difference threshold, and comparing, in one loop unit, all of the maximum grayscale value differences respectively with the grayscale difference threshold to obtain corresponding comparison results, wherein each of the comparison results corresponds to a pixel pattern.

(15) In the embodiment, the grayscale difference threshold is adjustable, wherein the setting manner of the grayscale difference threshold includes manual input. The smaller the grayscale difference threshold is, the clearer the pixel pattern after rendering is.

(16) In the embodiment, i is preferably 4. That is, the sub-pixel is one of a red sub-pixel, a green sub-pixel, a blue sub-pixel, or a white sub-pixel. The red sub-pixel, the green sub-pixel, the blue sub-pixel, and the white sub-pixel corresponding to the RGBW pixel images respectively represent the first sub-pixel, the second sub-pixel, the third sub-pixel and the fourth sub-pixel of the pixel unit. The RGBW pixel images represent the sub-pixels of the pixel unit.

(17) Referring to FIG. 3, the step of capturing original image data includes:

(18) S11, inputting image data of a pixel unit having (i−1) sub-pixels; and

(19) S12, converting the image data of the pixel unit having (i−1) sub-pixels into image data of a pixel unit having i sub-pixels to capture the original image data.

(20) Referring to FIG. 4, in the embodiment, i preferably is 4. The image data of the pixel unit having i−1 sub-pixels includes RGB pixel images. R, G, and B of the RGB pixel images respectively represent the first sub-pixel R, the second sub-pixel G, and the third sub-pixel B of the pixel unit. The image data converted into the pixel unit having i sub-pixels includes RGBW pixel images, R, G, B, and W of the RGBW pixel images respectively represent the first sub-pixel R, the second sub-pixel G, the third sub-pixel B, and the fourth sub-pixel W of the pixel unit. That is, each of the pixel units includes four sub-pixels, and the four sub-pixels are a red sub-pixel, a green sub-pixel, a blue sub-pixel and a white sub-pixel. In the embodiment, i preferably is 4. Each 4 of sub-pixels (RGBW) are defined as a basic cyclic unit used as the smallest pixel unit for addressing, sampling, and reconstruction.

(21) In the embodiment, the step of capturing a grayscale value difference between any sub-pixel of one of the pixel units and the corresponding sub-pixel of another one of the pixel units, and capturing a maximum grayscale value difference from all of the sub-pixels of the pixel unit includes: calculating the maximum grayscale value differences according to a formula of Δ n=max(Δn(m)); wherein m represents a type of sub-pixel, n represents a number of grayscale value difference of the sub-pixel, n≤i−1, and Δn(m) represents the grayscale value difference captured between a sub-pixel of one of the pixel units and the corresponding sub-pixel of another pixel unit.

(22) Specifically, the four pixel units are included in one of the loop units. I preferably is 4. That is, m is 4, indicating that the number of the sub-pixel types is four. The m value may be as follows: m=1, m=2, m=3, or m=4, respectively corresponding to the first sub-pixel, the second sub-pixel, the third sub-pixel, and the fourth sub-pixel of the pixel unit. n≤3. That is, n=1, n=2, and n=3. That is, Δn includes Δ1, Δ2, and Δ3. In other words, four pixel units are included in one of the loop units, i.g., a first pixel unit, a second pixel unit, a third pixel unit, and a fourth pixel unit. The first pixel unit is selected as the reference pixel unit, and compared with the sequentially arranged second pixel unit, the third pixel unit, and the fourth pixel unit, respectively to obtain grayscale value differences, Δ1(m), Δ2(m), and Δ3(m) between any sub-pixel in the reference pixel unit and the corresponding sub-pixel of the other pixel unit, and to obtain the maximum grayscale value differences, Δn=max(Δn(m)), of the grayscale value differences of all the sub-pixels of the pixel unit, wherein n=1, n=2, n=3, so the result of calculating the maximum grayscale value difference by the formula Δn=max(Δn(m)) is: Δ1=max(Δ1(m)), Δ2=max(Δ2(m)), Δ3=max(Δ3(m)).

(23) Therefore, in each of the loop units, all the maximum grayscale value differences Δ1, Δ2, Δ3 and the grayscale difference threshold Δth are respectively compared, the corresponding comparison result includes 8 types, and details as follows:

(24) a first result: Δ1<Δth, Δ2<Δth, Δ3<Δth;

(25) a second result: Δ1≥Δth, Δ2≥Δth, Δ3≥Δth;

(26) a third result: Δ1≥Δth, Δ2≥Δth, Δ3<Δth;

(27) a fourth result: Δ1≥Δth, Δ2<Δth, Δ3≥Δth;

(28) a fifth result; Δ1<Δth, Δ2≥Δth, Δ3≥Δth;

(29) a sixth result: Δ1≥Δth, Δ2<Δth, Δ3<Δth;

(30) a seventh result: Δ1<Δth, Δ2≥Δth, Δ3<Δth; and

(31) an eighth result: Δ1<Δth, Δ2<Δth, Δ3≥Δth;

(32) wherein Δ1 represents a maximum grayscale value difference of the grayscale value difference of all the sub-pixels between the first pixel unit and the second pixel unit in the four pixel units of one loop unit, Δ2 represents a maximum grayscale value difference of the grayscale value difference of all the sub-pixels between the first pixel unit and the third pixel unit in the four pixel units of the one loop unit, Δ3 represents a maximum grayscale value difference of the grayscale value difference of all the sub-pixels between the first pixel unit and the fourth pixel unit in the four pixel units of the one loop unit, Δth represents the grayscale difference threshold.

(33) In the embodiment, the pixel patterns respectively corresponding to the first result to the eighth result include:

(34) a first pattern: (max(G1,G2), max(G2, G3), max(G3,G4));

(35) a second pattern: (G1,f(G2,G3),f(G3,G4));

(36) a third pattern: (G1,f(G2,G3),G4);

(37) a fourth pattern: (G1,G2,f(G3,G4));

(38) a fifth pattern: (G1,G2,max(G3,G4));

(39) a sixth pattern: (G1,G2,f(G3,G4));

(40) a seventh pattern: (f(G1,G2),G3,G4); and

(41) an eighth pattern: (f(G1,G2),f(G2,G3),G4);

(42) wherein f(a,b)=a*ra1+b*ra2, a and b represent the grayscale value of two adjacent pixels, weight ra1=0.5+0.5*(a−b)/255, and weight ra2=0.5+0.5*(b−a)/255; G1, G2, G3, and G4 respectively represent the grayscale value of the first sub-pixel, the second sub-pixel, the third sub-pixel, and the fourth sub-pixel of the pixel unit.

(43) In the above manner, the grayscale values of the four sub-pixels of the current sampled pixel can be obtained. In the embodiment, the grayscale value of the primary color sub-pixel of the current original pixel is first calculated, and the weighted weights of the sampled pixels are calculated according to the grayscale values of the molecular pixels in the pre-determined threshold region. The weighted weights are used to weight and sum the primary color pixels of the current original pixel and its adjacent original pixels, thereby obtaining the grayscale value of the primary color sub-pixel of the current sampling pixel. The surrounding pixels are used to improve the resolution. Compared with the existing sampling method, color aliasing of the obtained sample image can be avoided, and a clear sample image can be obtained.

(44) Referring to FIG. 5, the present disclosure provides a display device 100, the display device 100 includes an image capture unit 1, a grayscale value capture unit 2, a grayscale value difference calculating unit 3, a grayscale difference threshold setting unit 4, and a pixel pattern output unit 5.

(45) The image capture unit 1, the grayscale value capture unit 2, the grayscale value difference calculating unit 3, the grayscale difference threshold setting unit 4, and the pixel pattern output unit 5 are preferably computers, the computers include storage medium. There are stored a large number of computer executable instructions for executing the display method of the display device. The display device includes a plurality of execution units for executing each of the computer executable instructions, each of which performs a step of the display method.

(46) Specifically, the image capture unit 1 is configured to capture original image data, wherein the original image data includes pixel units arranged in an array, each of the pixel units has i sub-pixels, and every i pixel units form a loop unit. The grayscale value capture unit 2 includes an input end connected to an output end of the image capture unit, and is configured to capture a grayscale value of a sub-pixel in each of the pixel units in one loop unit. The grayscale value difference calculating unit 3 includes an input end connected to an output end of the grayscale value capture unit, and is configured to capture a grayscale value difference between any sub-pixel of one of the pixel units and the corresponding sub-pixel of another one of the pixel units and capture a maximum grayscale value difference from all of the sub-pixels of the pixel unit. The grayscale difference threshold setting unit 4 is configured to define a grayscale difference threshold. The pixel pattern output unit 5 includes an input end connected to an output of the grayscale value capture unit 2 and the grayscale difference threshold setting unit 4, wherein all the maximum grayscale value differences are respectively compared with the grayscale difference threshold in a loop unit to obtain corresponding comparison results in one loop unit, and each of the comparison results corresponds to a pixel pattern.

(47) In the embodiment, the display device further includes a storage unit 6 connected to the image capture unit 1, the grayscale value capture unit 2, the grayscale value difference calculating unit 3, the grayscale difference threshold setting unit 4, and the pixel pattern output unit 5, wherein the storage unit 6 is configured to store the grayscale value of the sub-pixel in the pixel unit, the maximum grayscale value difference of all the sub-pixels, the grayscale difference threshold, and the comparison results.

(48) In the embodiment, the image capture unit 1 includes an input unit 11 and a conversion unit, wherein the input unit 11 is configured to input image data of a pixel unit having (i−1) sub-pixels, and the conversion unit 12 includes an input end connected to an output end of the input unit and is configured to convert the image data of a pixel unit having (i−1) sub-pixels into image data of a pixel unit having i sub-pixels to capture the original image data.

(49) In the above manner, more information of the original image can be retained, which is advantageous for reducing the color aliasing effect, and obtaining a clearer sampled image.

(50) A storage medium stores a computer program. The processor runs the computer program to perform the steps of the display method of the display device.

(51) The present disclosure has the beneficial effects: the present disclosure provides a display device and a display method thereof. By detecting the input images, the vertical line feature information of the images is obtained. Weighted weight calculations managing different line types are correspondingly added, therefore, the color aliasing may be effectively avoided, and image features may be restored to the utmost.

(52) The above description is only a preferred embodiment of the present disclosure, it should be noted that those skilled in the art can also make improvements and retouches without departing from the principles of the present invention. These improvements and retouches should also be considered as protection of the present disclosure.