CN110428354B - Panel sampling method, storage medium and computer - Google Patents
Panel sampling method, storage medium and computer Download PDFInfo
- Publication number
- CN110428354B CN110428354B CN201910552542.2A CN201910552542A CN110428354B CN 110428354 B CN110428354 B CN 110428354B CN 201910552542 A CN201910552542 A CN 201910552542A CN 110428354 B CN110428354 B CN 110428354B
- Authority
- CN
- China
- Prior art keywords
- sub
- sampling
- panel
- pixel
- pixels
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/0007—Image acquisition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
A panel sampling method, a storage medium and a computer are provided, wherein the method comprises the following steps of establishing a sampling mask block by taking a first sub-pixel on a panel as a center, acquiring preset displayed video data in the sampling mask block, eliminating the area of a position without the video data in the sampling mask block, sampling the video data at other positions, and normalizing a sampling result to obtain a display result of the first sub-pixel. The scheme can improve the picture of the display resolution with less power consumption; and the edge position can obtain better display effect.
Description
Technical Field
The invention relates to a novel SPR sampling mode, in particular to a novel display sampling mode for optimally displaying edge positions.
Background
The use of the SPR (sub-pixel rendering) technology has the advantages of improving the PPI (pulse duration index) of the panel, reducing the number of driving IC channels, improving the penetration rate of the panel, reducing the power consumption of the panel and the like. The use of delta arrangement + SPR techniques can enable a higher resolution picture to be displayed with fewer actual pixels. When the panel with delta arrangement is sampled, the sub-pixel sampling modes of the four edges and the four corners and the middle position are different, if special processing is not carried out, the edge position of the panel is abnormal, and therefore different formulas are required to be adopted for sampling the four edges and the four corners.
Disclosure of Invention
Therefore, it is desirable to provide a new panel sampling technique to achieve better display in the edge position of the panel.
In order to achieve the above object, the inventor provides a panel sampling method, which includes the following steps of establishing a sampling mask block by taking a first sub-pixel on a panel as a center, acquiring preset displayed video data in the sampling mask block, eliminating the area of a position without the video data in the sampling mask block, sampling the video data at other positions, and performing normalization processing on a sampling result to obtain a display result of the first sub-pixel.
Specifically, the panel is a Delta-arrangement panel, and specifically includes a second sub-pixel, the second sub-pixel is adjacent to six third sub-pixels with different colors, and the third sub-pixels with different colors are arranged above, below, above-left, below-left, above-right, and below-right of the second sub-pixel.
Specifically, the method also comprises the steps of judging whether the first pixel is positioned at the edge of the panel; if yes, the step is carried out, and a sampling mask block is established by taking the first sub-pixel on the panel as the center.
A panel sampling storage medium stores a computer program, the computer program executes the following steps when being operated, a sampling mask block is established by taking a first sub-pixel on a panel as a center, preset display video information in the sampling mask block is obtained, the area of the position without the video information in the sampling mask block is eliminated, the video information of other positions is sampled, and the sampling result is normalized to obtain the display result of the first sub-pixel.
Specifically, the panel is a Delta-arrangement panel, and specifically includes a second sub-pixel, the second sub-pixel is adjacent to six third sub-pixels with different colors, and the third sub-pixels with different colors are arranged above, below, above-left, below-left, above-right, and below-right of the second sub-pixel.
Further, the computer program, when executed, further performs the step of determining whether the first pixel is located at an edge of the panel; if yes, the step is carried out, and a sampling mask block is established by taking the first sub-pixel on the panel as the center.
A panel sampling computer, the computer comprising the storage medium described above.
Compared with the prior art, the method has the advantages that the method improves the picture of the display resolution with less power consumption; and the edge position can obtain better display effect.
Drawings
FIG. 1 is a flow chart of a panel sampling method according to an embodiment;
FIG. 2 is a schematic diagram of a Delta panel according to an embodiment;
FIG. 3 is a diagram illustrating input video data according to one embodiment;
FIG. 4 is a schematic diagram illustrating an actual arrangement of sub-pixels of a panel according to an embodiment;
FIG. 5 is a diagram illustrating a mask according to an embodiment;
FIG. 6 is a diagram illustrating a mask SPR sampling formula according to an embodiment;
FIG. 7a is a schematic diagram of a sampling process according to an embodiment;
fig. 7b is a schematic diagram of a sampling process according to an embodiment.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Please refer to fig. 1, which is a panel sampling method of the present invention, including the following steps, S100 sets up a sampling mask block with a first sub-pixel on a panel as a center, S102 obtains preset displayed video data in the sampling mask block, eliminates an area of a position without the video data in the sampling mask block, samples video data at other positions, and S104 performs normalization processing on a sampling result to obtain a display result of the first sub-pixel. In principle, the feedback of color to the human eye is the average of multiple lights seen, and the brightness is the same as the color. Based on the principle, the display panel of the display plays an important role in visual presentation, and when the display panel receives content to be displayed (hereinafter referred to as video data), due to various innate reasons such as resolution and picture cutting, the display panel faithfully presents various disfigurements such as sharp edges and large color blocks, and the like, and displays results. According to the scheme, the sampling mask block is established, the area of the sampling mask block is larger than that of the sub-pixels, all video data in the area of the sampling mask block are subjected to normalization calculation, a reasonable display result is finally obtained, and the problem of poor edge position display effect can be effectively solved.
The method can also be applied to some panels with pixels arranged in matrix and rows and columns, and can also obtain better effect. In other specific embodiments, the method can achieve better effects, such as the panel schematic shown in fig. 2, in which the pixels are arranged in Delta, the right side of the panel schematic shows a partially enlarged view, and the enlarged view can see a second sub-pixel located at the center, the second sub-pixel is adjacent to six third sub-pixels with different colors, and the third sub-pixels with different colors are arranged above, below, above left, below left, above right, and below right of the second sub-pixel. The third sub-pixels are in a hexagonal arrangement structure and are also divided into two colors which are not adjacent to each other. The panel with Delta arrangement can obtain clearer display and higher resolution in application, but cannot be directly displayed in a one-to-one correspondence mode, a new sampling mode is particularly important, the sampling result of the area without video data in a sampling mask block is deleted, then the sampling results of other blocks are normalized, and coefficients in the sampling result are relative areas. The following is illustrated by some examples.
FIG. 3 shows a diagram of input video data, where r (i, j) represents the luminance of the red sub-pixels at the i-th row and the j-th row in the input video data, g (i, j) represents the luminance of the green sub-pixels at the i-th row and the j-th row in the input video data, and b (i, j) represents the luminance of the blue sub-pixels at the i-th row and the j-th row in the input video data. Fig. 4 is a schematic diagram of the actual arrangement of panel sub-pixels, where R (m, n) represents the luminance of the red sub-pixels actually displayed by the panel in the m-th row and the n-th column, G (m, n) represents the luminance of the green sub-pixels actually displayed by the panel in the m-th row and the n-th column, and B (m, n) represents the luminance of the blue sub-pixels actually displayed by the panel in the m-th row and the n-th column. Fig. 5 is a schematic diagram of a mask (sampling mask block), where the size of the mask is adjustable, and the display effect after sampling can be adjusted by adjusting the size of the mask.
In the embodiment shown in fig. 6, a method for calculating the SPR sampling formula by mask is shown, that is, a relationship between R (m, n)/G (m, n)/B (m, n) and R (i, j)/G (i, j)/B (i, j) is calculated according to the area of R (i, j)/G (i, j)/B (i, j) framed by mask.
For the derivation of the edge position sampling formula, taking the first sub-pixel R (1,1) as an example, as shown in fig. 7a and 7b, the influence of R (1,1) on the sampling of the input video data R (i, j) is shown in the case of masks with two shapes. In FIG. 7a, the length of the mask is 4 times the actual sub-pixel length of the panel, and the width of the mask is 2 times the sub-pixel width of the panel; in FIG. 7b, the mask length is 4 times the panel actual sub-pixel length, and the mask width is 3 times the panel sub-pixel width. Those skilled in the art will appreciate that the actual mask sizes that may be selected are not limited to two, 7a, 7 b.
As shown in FIG. 7a, from the area of mask-framed r (i, j)/g (i, j)/b (i, j), we can derive:
R(1,1)=x*[1/2*r(1,0)+1/2*r(1,1)+1/2*r(1,2)+r(2,0)+r(2,1)+r(2,2)+1/2*r(3,0)+1/2*r(3,1)+1/2*r(3,2)];
since video data r (1,0), r (2,0) and r (3,0) do not exist, taking the values of these three as 0 yields:
R(1,1)=x*[1/2*r(1,1)+1/2*r(1,2)+r(2,1)+r(2,2)+1/2*r(3,1)+1/2*r(3,2)];
the normalization process can result in the display result of the first sub-pixel R (1,1) in fig. 7 a) as follows:
R(1,1)=1/8*r(1,1)+1/4*r(2,1)+1/8*r(3,1)+1/8*r(1,2)+1/4*r(2,2)+1/8*r(3,2);
the same can be derived for the first subpixel R (1,1) in FIG. 7b as:
R(1,1)=1/6*r(1,1)+1/6*r(2,1)+1/6*r(3,1)+1/6*r(1,2)+1/6*r(2,2)+1/6*r(3,2)。
in other embodiments, the implementing step includes the following processes:
the method comprises the following steps: obtaining a relation between R (m, n)/G (m, n)/B (m, n) and R (i, j)/G (i, j)/B (i, j) according to the area of R (i, j)/G (i, j)/B (i, j) framed by the mask;
step two: zero-finding the nonexistent video data of the mask frame during sampling to obtain a new relation between R (m, n)/G (m, n)/B (m, n) and R (i, j)/G (i, j)/B (i, j);
step three: and normalizing the coefficients before R (i, j)/G (i, j)/B (i, j) in the new relation between R (m, n)/G (m, n)/B (m, n) and R (i, j)/G (i, j)/B (i, j) to obtain the final sampling formula of R (m, n)/G (m, n)/B (m, n).
In other specific embodiments, the method further comprises the steps of determining whether the first pixel is located at an edge of the panel; if yes, step S100 is performed to establish a sampling mask block with the first sub-pixel on the panel as the center. The method for judging whether the edge is the edge comprises the steps of distance, pixel number and the like, for example, the preset edge thickness is a distance with a plurality of pixel numbers or equal length, for example, 1-4 sub-pixels, and the steps of establishing a mask to obtain a normalized display result and the like are only carried out when the sub-pixels in the range are used for displaying and sampling, but not the sub-pixels in the range, which is not applicable to the sampling method of the scheme of the invention. Through the optimization, the display effect of the edge pixel of the scheme of the invention is further improved.
The invention also introduces a panel sampling storage medium which stores a computer program, wherein the computer program executes the following steps when being operated, the computer program takes a first sub-pixel on a panel as a center, establishes a sampling mask block, acquires preset display video information in the sampling mask block, eliminates the area of the position without the video information in the sampling mask block, samples the video information at other positions, and performs normalization processing on the sampling result to obtain the display result of the first sub-pixel.
Specifically, the panel is a Delta-arrangement panel, and specifically includes a second sub-pixel, the second sub-pixel is adjacent to six third sub-pixels with different colors, and the third sub-pixels with different colors are arranged above, below, above-left, below-left, above-right, and below-right of the second sub-pixel.
Further, the computer program when executed further performs the step of determining whether the first pixel is located at an edge of the panel; if yes, the step is carried out, and a sampling mask block is established by taking the first sub-pixel on the panel as the center.
A panel sampling computer, the computer comprising the storage medium described above.
It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.
Claims (3)
1. A panel sampling method is characterized in that the panel is a panel with Delta arrangement, and specifically comprises a second sub-pixel, wherein the second sub-pixel is adjacent to six third sub-pixels with different colors, and the third sub-pixels with different colors are arranged above, below, above left, below left, above right and below the second sub-pixel; if so, establishing a sampling mask block by taking a first sub-pixel on the panel as a center, acquiring preset displayed video data in the sampling mask block, eliminating the area of the position without the video data in the sampling mask block, sampling the video data at other positions, and carrying out normalization processing on the sampling result to obtain the display result of the first sub-pixel.
2. A panel sampling storage medium is characterized in that the panel is a panel with Delta arrangement, and specifically comprises second sub-pixels, wherein the second sub-pixels are adjacent to six third sub-pixels with different colors, the third sub-pixels with different colors are arranged above, below, above left, below left, above right and below the second sub-pixels, the storage medium stores a computer program, and the computer program executes the following steps when being executed to judge whether a first pixel is positioned at the edge of the panel; if so, establishing a sampling mask block by taking a first sub-pixel on the panel as a center, acquiring preset displayed video data in the sampling mask block, eliminating the area of the position without the video data in the sampling mask block, sampling the video data at other positions, and carrying out normalization processing on the sampling result to obtain the display result of the first sub-pixel.
3. A panel sampling computer, characterized in that the computer comprises the storage medium of claim 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910552542.2A CN110428354B (en) | 2019-06-25 | 2019-06-25 | Panel sampling method, storage medium and computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910552542.2A CN110428354B (en) | 2019-06-25 | 2019-06-25 | Panel sampling method, storage medium and computer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110428354A CN110428354A (en) | 2019-11-08 |
CN110428354B true CN110428354B (en) | 2023-04-07 |
Family
ID=68409555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910552542.2A Active CN110428354B (en) | 2019-06-25 | 2019-06-25 | Panel sampling method, storage medium and computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110428354B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1499477A (en) * | 2002-11-04 | 2004-05-26 | ����Sdi��ʽ���� | Method for fast processing image data for increasing image clearness |
TW201215102A (en) * | 2010-07-12 | 2012-04-01 | Koninkl Philips Electronics Nv | Signaling for multiview 3D video |
CN104681001A (en) * | 2015-03-23 | 2015-06-03 | 京东方科技集团股份有限公司 | Display driving method and display driving device |
CN105137642A (en) * | 2015-08-28 | 2015-12-09 | 厦门天马微电子有限公司 | Display panel, display device and display method |
CN109461400A (en) * | 2018-12-17 | 2019-03-12 | 青岛海信电器股份有限公司 | Sub-pixel rendering method and device for the conversion of RGB to RGBW image |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7511716B2 (en) * | 2005-04-29 | 2009-03-31 | Sony Corporation | High-resolution micro-lens 3D display with shared sub-pixel color signals |
-
2019
- 2019-06-25 CN CN201910552542.2A patent/CN110428354B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1499477A (en) * | 2002-11-04 | 2004-05-26 | ����Sdi��ʽ���� | Method for fast processing image data for increasing image clearness |
TW201215102A (en) * | 2010-07-12 | 2012-04-01 | Koninkl Philips Electronics Nv | Signaling for multiview 3D video |
CN104681001A (en) * | 2015-03-23 | 2015-06-03 | 京东方科技集团股份有限公司 | Display driving method and display driving device |
CN105137642A (en) * | 2015-08-28 | 2015-12-09 | 厦门天马微电子有限公司 | Display panel, display device and display method |
CN109461400A (en) * | 2018-12-17 | 2019-03-12 | 青岛海信电器股份有限公司 | Sub-pixel rendering method and device for the conversion of RGB to RGBW image |
Also Published As
Publication number | Publication date |
---|---|
CN110428354A (en) | 2019-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10504483B2 (en) | Display method and display device | |
US9520093B2 (en) | Liquid crystal display device and driving method thereof | |
WO2016183864A1 (en) | Liquid crystal panel and driving method thereof | |
WO2017045286A1 (en) | Pixel rendering method, pixel rendering device and display | |
WO2016070448A1 (en) | Liquid crystal panel and drive method thereof | |
WO2016150076A1 (en) | Pixel array, display drive method, display drive apparatus, and display apparatus | |
WO2018205395A1 (en) | Display panel pixel drive method and display device | |
US9483971B2 (en) | Display method of display panel | |
WO2016000343A1 (en) | Pixel array and driving method thereof and display panel | |
WO2015123909A1 (en) | Display method and display device | |
EP3044779B1 (en) | Method and apparatus for subpixel rendering | |
CN108039155B (en) | Method for obtaining overdrive lookup table of liquid crystal display | |
US9508296B2 (en) | Driving method of pixel array, driving module of pixel array and display device | |
WO2017092218A1 (en) | Sub-pixel rendering method and rendering apparatus | |
CN103792724A (en) | Display base plate and display device | |
EP3174037A1 (en) | Image display method and display device | |
CN104749847B (en) | A kind of array base palte, display device and method for displaying image | |
WO2018113050A1 (en) | Drive method and drive apparatus of display panel | |
CN105741720A (en) | Image rendering method and display device | |
CN110599962A (en) | Rendering method of Delta type sub-pixel display panel with different color sequences | |
CN105046671B (en) | Border processing method and display device | |
CN105989801B (en) | LED display methods, LED display unit array, display control unit | |
US8515197B2 (en) | Image resolution enhancing device and method for display panel | |
US10304362B2 (en) | Liquid crystal panel for 3D display, driving method and pixel optimization method thereof | |
WO2017028483A1 (en) | Display unit, display panel, method for driving same, and display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |