CN117011134A - Direct scaling method for display sub-pixel diamond arrangement image - Google Patents

Direct scaling method for display sub-pixel diamond arrangement image Download PDF

Info

Publication number
CN117011134A
CN117011134A CN202310525396.0A CN202310525396A CN117011134A CN 117011134 A CN117011134 A CN 117011134A CN 202310525396 A CN202310525396 A CN 202310525396A CN 117011134 A CN117011134 A CN 117011134A
Authority
CN
China
Prior art keywords
pixel
sub
case
pixel point
reference pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310525396.0A
Other languages
Chinese (zh)
Inventor
李堃
蔡剑
黄鉴
刘洋
卜晓明
秦勇
吴振峰
裴翠萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weichuang Microelectronics Shanghai Co ltd
Original Assignee
Weichuang 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 Weichuang Microelectronics Shanghai Co ltd filed Critical Weichuang Microelectronics Shanghai Co ltd
Priority to CN202310525396.0A priority Critical patent/CN117011134A/en
Publication of CN117011134A publication Critical patent/CN117011134A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4023Scaling of whole images or parts thereof, e.g. expanding or contracting based on decimating pixels or lines of pixels; based on inserting pixels or lines of pixels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • 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
    • G09G3/22Control 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 using controlled light sources
    • G09G3/30Control 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 using controlled light sources using electroluminescent panels
    • G09G3/32Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/391Resolution modifying circuits, e.g. variable screen formats
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/045Zooming at least part of an image, i.e. enlarging it or shrinking it
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0457Improvement of perceived resolution by subpixel rendering

Landscapes

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

Abstract

The invention discloses a direct scaling method for display sub-pixel diamond arrangement images, which comprises the following steps: determining a reference pixel point set of each sub-pixel with new resolution, wherein the reference pixel point set comprises a plurality of rows and columns which are obliquely arranged and reference pixel points which actually exist under the original resolution; determining a diagonal equivalent phase (x) according to the position relation of the sub-pixel relative to the reference pixel point set s ,y s ) The method comprises the steps of carrying out a first treatment on the surface of the The oblique equivalent phase is: the pixel points which are actually existed under the original resolution are taken as equivalent phases in a rotation coordinate system of the lattice points; calculating the sub-image according to the oblique equivalent phase and the brightness value of each pixel point of the reference pixel point setInterpolation luminance Z of element s . According to the invention, for the image data with sub-pixel diamond arrangement, bicubic interpolation processing is directly and accurately carried out by selecting the pixel points which are obliquely arranged, so that complex anti-SPR and SPR operation can be avoided on the driving chip, and the power consumption, the area and the manufacturing cost of the driving chip are greatly saved.

Description

Direct scaling method for display sub-pixel diamond arrangement image
Technical Field
The invention belongs to the technical field of displays, and particularly relates to a direct scaling method for a display sub-pixel diamond-shaped arrangement image.
Background
As shown in fig. 1, most of the current OLED displays use an arrangement mode with diamond-shaped arrangement of sub-pixels, represented by Pentile arrangement, which reduces the density of sub-pixels while ensuring display quality, thereby reducing process difficulty and cost. This arrangement is not one-to-one correspondence of the number of three color subpixels of Green subpixel 1, red subpixel 2, and Blue subpixel 3, but typically the number of subpixels of G is twice the number of R or B when displayed. In this case, the source can be reduced to 2/3 of the original data for the input signal, or spatial rendering (SPR-Sub Pixel Rendering) that retains 100% of the original data but re-makes the subpixel arrangement on the display driver chip. For example, the former transmission scheme is used by apple phones, while the latter is used by most android phones.
In certain specific use cases, scaling of the display image resolution is required, for example when the input data resolution is different from the display resolution, or when interpolation of the input image data is required for some algorithmic processing. For input signals having the same number of RGB sub-pixels, conventional scaling interpolation processing generally uses bi-cubic interpolation or the like, but for input of spatial rendering (SPR) for which sub-pixel arrangement has been made (hereinafter simply referred to as SPR input data), it is common practice to restore to complete image data (the same number of RGB), perform interpolation processing as above, and finally perform spatial rendering (SPR) for which sub-pixel arrangement has been made once again.
For the input data of SPR, the number of green sub-pixels and the screen resolution are consistent, so that the effect of bi-cubic interpolation (bi-cubic interpolation) is better and is more common when resolution Scaling (Scaling) is carried out.
For red and blue subpixels, the arrangement is diamond-shaped and the number is half the screen resolution. Conventional scaling methods, as shown in fig. 2A-2E, require that the missing other half of the subpixels be first padded, a step known as anti-SPR. Thus, the number of the red and blue sub-pixels is the same as that of the green sub-pixels, and the red and blue sub-pixels are in one-to-one correspondence. The bicubic interpolation (Bi-Cubic) process can then be used directly. After the scaling process is finished, the scaled data is subjected to SPR process, and can be correctly displayed on a display screen. The subpixels 4 of the original image are shown with hatched diamonds, the filled subpixels 5 are shown with open diamonds, and the scaled target subpixels 6 are shown with black diamonds.
The prior art has the following three defects:
1. the anti-SPR step of the pixel is supplemented, and the SPR step after scaling introduces additional errors, and the quality of the SPR algorithm is directly related to the quality of display;
2. the whole process is long and complex, and the area and the power consumption burden of the display screen driving chip are occupied.
Disclosure of Invention
Therefore, the invention aims to provide a direct scaling method for display sub-pixel diamond arrangement images, which is used for directly and accurately carrying out bicubic interpolation processing on sub-pixel diamond arrangement image data by selecting obliquely arranged pixel points, avoiding complex anti-SPR and SPR operation on a driving chip and greatly saving the power consumption, area and manufacturing cost of the driving chip.
The technical problem to be solved by the invention is to provide a method for directly and obliquely selecting a reference pixel point set in SPR input data to perform interpolation and scaling, as shown in fig. 3A to 3C, the method is direct and concise, and extra errors and expenses are reduced to the greatest extent. For a bicubic interpolation algorithm commonly used for interpolation scaling, the orthogonal directions of X and Y are generally required, the interpolation result in the X direction is calculated first, then the interpolation result in the Y direction is calculated, and for the sub-pixels arranged in a diamond shape, the algorithm obviously cannot be applied to the conventional bicubic algorithm because the odd-even row phase is staggered. The reference coordinate axis of the actual sub-pixel is rotated by 45 degrees, and the new X and Y directions are re-orthogonalized after rotation, so that the conventional bicubic algorithm is fully applicable.
In order to achieve the above object, the present invention provides a direct scaling method for a diamond-shaped arrangement image of sub-pixels of a display, comprising the steps of:
step S1: determining a reference pixel point set of each sub-pixel with new resolution, wherein the reference pixel point set comprises a plurality of rows and columns which are obliquely arranged and reference pixel points which actually exist under the original resolution;
step S2: determining a diagonal equivalent phase (x) according to the position relation of the sub-pixel relative to the reference pixel point set s ,y s ) The method comprises the steps of carrying out a first treatment on the surface of the The oblique equivalent phase is as follows: the pixel points which are actually existed under the original resolution are taken as equivalent phases in a rotation coordinate system of the lattice points;
step S3: calculating interpolation brightness Z of the sub-pixel according to the oblique equivalent phase and brightness values of all pixel points of the reference pixel point set s
Preferably, step S1 specifically includes steps S1.1 to S1.3:
step S1 specifically includes steps S1.1 to S1.3:
step S1.1: obtaining the size ratio of the new resolution relative to the original resolution in the x direction and the y direction x And ratio y
Step S1.2: for each sub-pixel of the new resolution, calculate it at the original resolutionIs an integer part (x) t ,y t ) And a fractional part (Deltax t ,Δy t );
Step S1.3: the integer part (x t ,y t ) The corresponding pixel grid is a first pixel grid;
dividing the first pixel grid into two triangular areas according to the connection line of the pixel points actually existing at the vertex of the first pixel grid under the original resolution, wherein the two triangular areas comprise a first triangular area and a second triangular area; calculating a coordinate reference value (x 0 ,y 0 );
The coordinate reference value (x 0 ,y 0 ) A coordinate standard of the reference pixel point;
the step S2 specifically comprises the following steps: according to the fractional part (Deltax t ,Δy t ) And in step S3, the oblique equivalent phase (x) is obtained when the arrangement of the two triangular regions and the sub-pixel are located in the first triangular region or the second triangular region s ,y s ) Said oblique equivalent phase (x s ,y s ) A fractional part of a coordinate value corresponding to the sub-pixel in the rotating coordinate system;
step S3 specifically includes steps S3.1 to S3.3:
step S3.1: acquiring brightness values of all pixel points of the reference pixel point set;
step S3.2: according to the oblique equivalent phase (x s ,y s ) Calculating a weight value corresponding to the brightness value of the pixel point;
step S3.3: calculating the interpolation brightness Z of the sub-pixel according to the weight value and the pixel point brightness value s
Preferably, in the case of the arrangement of the two triangular regions in step S1.3 and the case that the sub-pixel is located in the first triangular region or the second triangular region, the method specifically includes:
first case: the first triangular region is positioned at the upper right part of the first pixel grid, the second triangular region is positioned at the lower left part of the first pixel grid, and the sub-pixels are positioned in the second triangular region;
second case: the first triangular region is positioned at the left upper part of the first pixel grid, the second triangular region is positioned at the right lower part of the first pixel grid, and the sub-pixels are positioned at the second triangular region;
third case: the first triangular region is positioned at the upper right side of the first pixel grid, the second triangular region is positioned at the lower left side of the first pixel grid, and the sub-pixels are positioned in the first triangular region;
fourth case: the first triangle area is positioned at the left upper part of the first pixel grid, the second triangle area is positioned at the right lower part of the first pixel grid, and the sub-pixel is positioned at the first triangle area.
Preferably, the step S1.3 calculates the coordinate reference value (x 0 ,y 0 ) Specifically, the coordinate reference value (x) is calculated according to the formula (1) and the formula (2) 0 ,y 0 ):
x 0 =x t -2-p (1);
y 0 =y t -2-q (2);
Wherein: p is 1 in the first case and the fourth case and 0 in the second case and the third case; q is 0 in the first case and the second case and 1 in the third case and the fourth case.
Preferably, the reference pixel point set includes 16 reference pixel points, and the coordinate values of the reference pixel points are set as a coordinate reference value (x 0 ,y 0 ) The expressions are respectively:
(x 0 +0,y 0 +3)、(x 0 +1,y 0 +2)、(x 0 +2,y 0 +1)、(x 0 +3,y 0 +0)、(x 0 +1,y 0 +4)、(x 0 +2,y 0 +3)、(x 0 +3,y 0 +2)、(x 0 +4,y 0 +1)、(x 0 +2,y 0 +5)、(x 0 +3,y 0 +4)、(x 0 +4,y 0 +3)、(x 0 +5,y 0 +2)、(x 0 +3,y 0 +6)、(x 0 +4,y 0 +5)、(x 0 +5,y 0 +4)、(x 0 +6,y 0 +3)。
preferably, step S2 is specifically:
calculating the oblique equivalent phase (x) according to the formula (3) and the formula (4) s ,y s ):
Wherein, the values of p and q are the same as those of the step S1.3.
Preferably, step S3.2 is specifically:
the weight values comprise an x-direction weight value and a y-direction weight value;
according to x s Calculating an x-direction weight value corresponding to the reference pixel point by using a filter basis function; according to y s Calculating a y-direction weight value corresponding to the reference pixel point by the filter basis function; the product of the x-direction weight value and the corresponding y-direction weight value is the weight value of the corresponding reference pixel point;
the filter basis function is formula (5):
wherein: a is a preset parameter, x is a parameter according to x s Or y s And the calculated reference pixel point corresponds to the calculation of an x-direction weight value and a y-direction weight value respectively relative to the x-direction or y-direction position of the sub-pixel.
Preferably, the number of the reference pixel points is 16, and the pixel point brightness values form a pixel point brightness value matrix Z according to a formula (6);
wherein Z (x, y) represents the pixel brightness value corresponding to the reference pixel with the coordinates of (x, y), and the coordinates of the reference pixel are all represented by the coordinate reference value (x 0 ,y 0 ) A representation;
the x-direction weight values form an x-direction row weight coefficient vector W x The method comprises the steps of carrying out a first treatment on the surface of the The y-direction weight values form a y-direction row weight coefficient vector W y The method comprises the steps of carrying out a first treatment on the surface of the The step S3.3 is specifically calculating the luminance value Z of the sub-pixel by matrix multiplication according to equation (7) s
The invention has the beneficial effects that: for the image data with sub-pixel diamond arrangement, the bicubic interpolation processing is directly and accurately carried out by selecting the pixel points which are obliquely arranged, so that complex anti-SPR and SPR operation can be avoided on the driving chip, and the power consumption, the area and the manufacturing cost of the driving chip are greatly saved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a subpixel arrangement in the prior art;
fig. 2A to 2E are schematic flow diagrams of processing red and blue sub-pixels in the prior art;
fig. 3A to 3C are schematic flow diagrams illustrating processing of red and blue sub-pixels according to the present invention;
fig. 4A to 4D are schematic views showing specific examples of the arrangement of the triangular regions according to the present invention;
1Green subpixel; 2Red subpixels; a 3Blue sub-pixel; 4 sub-pixels of the original image; 5 a padded sub-pixel; 6, scaling the target sub-pixel; 7 sub-pixels at the new resolution; 8 a first triangular region; and 9 a second triangular region.
Detailed Description
One of the cores of the invention is to provide a direct scaling method for display sub-pixel diamond arrangement images, which can directly and accurately perform bicubic interpolation (or other interpolation methods) on sub-pixel diamond arrangement image data by selecting obliquely arranged pixel points, thereby avoiding complex anti-SPR and SPR operations on a driving chip and greatly saving the power consumption, area and manufacturing cost of the driving chip.
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The direct scaling method for the display sub-pixel diamond-shaped arrangement image disclosed in the embodiment is applied to OLED display screens, mini LED display screens and driving chips of future Micro LED display screens. The direct scaling method disclosed in the present embodiment includes the steps of:
step S1: determining a reference pixel point set of each sub-pixel with new resolution, wherein the reference pixel point set comprises a plurality of rows and columns which are obliquely arranged and reference pixel points which actually exist under the original resolution;
the method specifically comprises the following steps: 1. obtaining the size ratio of the new resolution relative to the original resolution in the x direction and the y direction x And ratio y The method comprises the steps of carrying out a first treatment on the surface of the The resolution and geometry of the data defining the input SPR is recorded as a unit length, i.e., the length and width are all "1" (since the length and width need to be calculated separately, the length and width can be different, but are all of the respective dimensions)One unit length above) on which the new resolution size to be scaled is determined.
2. For each sub-pixel 7 of the new resolution, an integer part (x t ,y t ) And a fractional part (Deltax t ,Δy t ) The method comprises the steps of carrying out a first treatment on the surface of the For example, for the (m, n) th sub-pixel of the new resolution, its position is at (m x ratio) x ,n×ratio y ) The position and the offset of the pixel under the original resolution are calculated as follows:
wherein: x is x t And y t Is an integer; Δx t ,Δy t ∈[0,1]The method comprises the steps of carrying out a first treatment on the surface of the I.e. dividing the position into integer and fractional parts.
3. Integer part of the coordinate position (x t ,y t ) Corresponding pixel grids, i.e. four vertex coordinates { (x) t ,y t ),(x t +1,y t ),(x t ,y t +1),(x t +1,y t +1) a pixel grid, denoted as a first pixel grid; the current target sub-pixel falls within the first pixel grid;
dividing the first pixel grid into two triangular areas according to the connection line of the pixel points actually existing at the original resolution at the vertex of the first pixel grid, wherein the two triangular areas comprise a first triangular area 8 and a second triangular area 9; for example, for SPR data, in the case of red subpixels, generally, when x t And y is t The same parity is the position of the pixel point which really exists, namely { (x) t ,y t ),(x t +1,y t +1), as shown in fig. 4A or fig. 4C; for the blue subpixel, generally, when x t And y is t The position of the pixel point actually existing in the case of odd-even, i.e., { (x) t +1,y t ),(x t ,y t +1), as shown in fig. 4B or fig. 4D.
Further, according to the arrangement mode of the two triangular areas and the sub-imageIn the case where the element is located in the first triangle area or the second triangle area, the coordinate reference value (x 0 ,y 0 ) The method comprises the steps of carrying out a first treatment on the surface of the In the present embodiment, the coordinate reference value (x 0 ,y 0 ) The coordinate values of the upper left corner of the 7×7 square region drawn in the coordinate system before rotation are determined as 4×4 reference pixel points selected obliquely, and in other embodiments, other positions may be taken as coordinate reference values.
The coordinates of each reference pixel point may be represented by a position relative to a coordinate reference value, and in this embodiment, are respectively:
(x 0 +0,y 0 +3)、(x 0 +1,y 0 +2)、(x 0 +2,y 0 +1)、(x 0 +3,y 0 +0)、(x 0 +1,y 0 +4)、(x 0 +2,y 0 +3)、(x 0 +3,y 0 +2)、(x 0 +4,y 0 +1)、(x 0 +2,y 0 +5)、(x 0 +3,y 0 +4)、(x 0 +4,y 0 +3)、(x 0 +5,y 0 +2)、(x 0 +3,y 0 +6)、(x 0 +4,y 0 +5)、(x 0 +5,y 0 +4)、(x 0 +6,y 0 +3)。
calculate the coordinate reference value (x) 0 ,y 0 ) In this case, the following is divided into four cases in fig. 4A to 4D:
first case: as shown in fig. 4A, the first triangle area 8 is located at the upper right side of the first pixel grid, the second triangle area 9 is located at the lower left side of the first pixel grid, and the sub-pixels are located at the second triangle area;
second case: as shown in fig. 4B, the first triangle area 8 is located at the upper left of the first pixel grid, the second triangle area 9 is located at the lower right of the first pixel grid, and the sub-pixels are located at the second triangle area;
third case: as shown in fig. 4C, the first triangle area 8 is located at the upper right side of the first pixel lattice, the second triangle area 9 is located at the lower left side of the first pixel lattice, and the sub-pixels are located at the first triangle area;
fourth case: as shown in fig. 4D, the first triangle area 8 is located at the upper left of the first pixel lattice, the second triangle area 9 is located at the lower right of the first pixel lattice, and the sub-pixels are located at the first triangle area;
calculating a pixel point coordinate reference value (x) according to the formula (1) and the formula (2) 0 ,y 0 ):
x 0 =x t -2-p (1);
y 0 =y t -2-q (2);
Wherein: p is 1 in the first case and the fourth case and 0 in the second case and the third case; q is 0 in the first case and the second case and 1 in the third case and the fourth case.
Step S2: fractional part (Deltax) according to the coordinate position t ,Δy t ) And classification of the first case to the fourth case, obtaining a diagonal equivalent phase (x) of the sub-pixel in a rotation coordinate system with the pixel point actually existing at the original resolution as a lattice point s ,y s ) Oblique equivalent phase (x s ,y s ) Namely, the decimal part of the coordinate value corresponding to the sub-pixel in the rotating coordinate system; the specific process is to calculate the equivalent phase (x) according to the formula (3) and the formula (4) s ,y s ):
Wherein, the values of p and q are the same as the previous steps;
substituting the values of p and q to obtain:
in a first instance of the use of the first aspect,
in the second case of the situation in which the first case,
in a third case of the present invention,
in the fourth case of the case of a system,
step S3: calculating interpolation brightness Z of the sub-pixel according to the oblique equivalent phase and brightness values of all pixel points of the reference pixel point set s The method specifically comprises the following steps:
1. and acquiring 16 pixel brightness values corresponding to the 16 reference pixel points.
2. According to the oblique equivalent phase (x s ,y s ) Calculating weight values corresponding to brightness values of 16 pixel points, wherein the weight values are divided into an x-direction weight value and a y-direction weight value, and the x-direction and the y-direction are the transverse direction and the longitudinal direction (namely oblique directions for an original coordinate system) in a rotated coordinate system; the total weight value corresponding to the brightness value of the 16 pixel points is the product of the corresponding weight value in the x direction and the corresponding weight value in the y direction;
the filter basis function used in calculating the weight values is equation (5):
wherein: a is a preset parameter, x is a parameter according to x s Or y s And the calculated reference pixel point corresponds to the calculation of an x-direction weight value and a y-direction weight value respectively relative to the x-direction or y-direction position of the sub-pixel.
The obtained x-direction weight values are expressed by a matrix calculation method to form an x-direction row weight coefficient vector W x I.e. W x =(W x0 ,W x1 ,W x2 ,W x3 ) The method comprises the steps of carrying out a first treatment on the surface of the The y-direction weight values form a y-direction row weight coefficient vector W y I.e. W y =(W y0 ,W y1 ,W y2 ,W y3 )。
3. According to the weight valueAnd pixel point brightness value calculating brightness value Z of sub-pixel s The method comprises the steps of carrying out a first treatment on the surface of the The brightness values of the 16 pixels are expressed by a matrix calculation method, and a pixel brightness value matrix Z is formed according to a formula (6);
calculating the luminance value Z of the sub-pixel by matrix multiplication according to formula (7) s
In the actual testing process of a certain OLED display screen in this embodiment, specific examples are as follows:
1. a certain OLED display screen is integrated with a display driving chip using the algorithm of the invention;
2. setting a proper ratio according to the input data and the size and resolution of the display screen to be driven x And ratio y Or according to other IP required resolution;
3. will Δx t And Deltay t Quantizing to 4bit precision, pre-calculating filter coefficients of each phase, and storing the filter coefficients into a display driving chip;
4. calculating Δx for each target subpixel t And Deltay t Judging which case belongs to fig. 4A to 4D, and selecting a corresponding coordinate reference value;
5. and calculating the interpolation brightness of the current sub-pixel through matrix operation.
6. And outputting after the scaling is completed.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A direct scaling method for a display sub-pixel diamond arrangement image, comprising the steps of:
step S1: determining a reference pixel point set of each sub-pixel with new resolution, wherein the reference pixel point set comprises a plurality of rows and columns which are obliquely arranged and reference pixel points which actually exist under the original resolution;
step S2: determining a diagonal equivalent phase (x) according to the position relation of the sub-pixel relative to the reference pixel point set s ,y s ) The method comprises the steps of carrying out a first treatment on the surface of the The oblique equivalent phase is as follows: the pixel points which are actually existed under the original resolution are taken as equivalent phases in a rotation coordinate system of the lattice points;
step S3: calculating interpolation brightness Z of the sub-pixel according to the oblique equivalent phase and brightness values of all pixel points of the reference pixel point set s
2. The direct scaling method of claim 1, wherein,
step S1 specifically includes steps S1.1 to S1.3:
step S1.1: obtaining the size ratio of the new resolution relative to the original resolution in the x direction and the y direction x And ratio y
Step S1.2: for each sub-pixel of the new resolution, an integer part (x t ,y t ) And a fractional part (Deltax t ,Δy t );
Step S1.3: the integer part (x t ,y t ) The corresponding pixel grid is a first pixel grid;
dividing the first pixel grid into two triangular areas according to the connection line of the pixel points actually existing at the vertex of the first pixel grid under the original resolution, wherein the two triangular areas comprise a first triangular area and a second triangular area; calculating a coordinate reference value (x 0 ,y 0 );
The coordinate reference value (x 0 ,y 0 ) A coordinate standard of the reference pixel point;
the step S2 specifically comprises the following steps: according to the fractional part (Deltax t ,Δy t ) And in step S3, the oblique equivalent phase (x) is obtained when the arrangement of the two triangular regions and the sub-pixel are located in the first triangular region or the second triangular region s ,y s ) Said oblique equivalent phase (x s ,y s ) A fractional part of a coordinate value corresponding to the sub-pixel in the rotating coordinate system;
step S3 specifically includes steps S3.1 to S3.3:
step S3.1: acquiring brightness values of all pixel points of the reference pixel point set;
step S3.2: according to the oblique equivalent phase (x s ,y s ) Calculating a weight value corresponding to the brightness value of the pixel point;
step S3.3: calculating the interpolation brightness Z of the sub-pixel according to the weight value and the pixel point brightness value s
3. The direct scaling method according to claim 2, wherein the arrangement of the two triangle areas in step S1.3 and the case that the sub-pixel is located in the first triangle area or the second triangle area specifically include:
first case: the first triangular region is positioned at the upper right part of the first pixel grid, the second triangular region is positioned at the lower left part of the first pixel grid, and the sub-pixels are positioned in the second triangular region;
second case: the first triangular region is positioned at the left upper part of the first pixel grid, the second triangular region is positioned at the right lower part of the first pixel grid, and the sub-pixels are positioned at the second triangular region;
third case: the first triangular region is positioned at the upper right side of the first pixel grid, the second triangular region is positioned at the lower left side of the first pixel grid, and the sub-pixels are positioned in the first triangular region;
fourth case: the first triangle area is positioned at the left upper part of the first pixel grid, the second triangle area is positioned at the right lower part of the first pixel grid, and the sub-pixel is positioned at the first triangle area.
4. A direct scaling method according to claim 3, characterized in that the calculation of the coordinate reference value (x 0 ,y 0 ) Specifically, the coordinate reference value (x) is calculated according to the formula (1) and the formula (2) 0 ,y 0 ):
x 0 =x t -2-p (1);
y 0 =y t -2-q (2);
Wherein: p is 1 in the first case and the fourth case and 0 in the second case and the third case; q is 0 in the first case and the second case and 1 in the third case and the fourth case.
5. The direct scaling method of claim 2, wherein,
the reference pixel point set comprises 16 reference pixel points, and the coordinate values of the reference pixel points are represented by a coordinate reference value (x 0 ,y 0 ) The expressions are respectively:
(x 0 +0,y 0 +3)、(x 0 +1,y 0 +2)、(x 0 +2,y 0 +1)、(x 0 +3,y 0 +0)、(x 0 +1,y 0 +4)、(x 0 +2,y 0 +3)、(x 0 +3,y 0 +2)、(x 0 +4,y 0 +1)、(x 0 +2,y 0 +5)、(x 0 +3,y 0 +4)、(x 0 +4,y 0 +3)、(x 0 +5,y 0 +2)、(x 0 +3,y 0 +6)、(x 0 +4,y 0 +5)、(x 0 +5,y 0 +4)、(x 0 +6,y 0 +3)。
6. the direct scaling method of claim 4, wherein step S2 is specifically:
calculating the oblique equivalent phase (x) according to the formula (3) and the formula (4) s ,y s ):
Wherein, the values of p and q are the same as those of the step S1.3.
7. The direct scaling method of claim 4, wherein step S3.2 is specifically:
the weight values comprise an x-direction weight value and a y-direction weight value;
according to x s Calculating an x-direction weight value corresponding to the reference pixel point by using a filter basis function; according to y s Calculating a y-direction weight value corresponding to the reference pixel point by the filter basis function; the product of the x-direction weight value and the corresponding y-direction weight value is the weight value of the corresponding reference pixel point;
the filter basis function is formula (5):
wherein: a is a preset parameter, x is a parameter according to x s Or y s The calculated x-direction or y-direction of the reference pixel point relative to the sub-pixelThe direction positions respectively correspond to the calculation of the weight value in the x direction and the weight value in the y direction.
8. The direct scaling method of claim 7, wherein the number of reference pixels is 16, and the pixel luminance values form a pixel luminance value matrix Z according to formula (6);
wherein Z (x, y) represents the pixel brightness value corresponding to the reference pixel with the coordinates of (x, y), and the coordinates of the reference pixel are all represented by the coordinate reference value (x 0 ,y 0 ) A representation;
the x-direction weight values form an x-direction row weight coefficient vector W x The method comprises the steps of carrying out a first treatment on the surface of the The y-direction weight values form a y-direction row weight coefficient vector W y The method comprises the steps of carrying out a first treatment on the surface of the The step S3.3 is specifically calculating the luminance value Z of the sub-pixel by matrix multiplication according to equation (7) s
CN202310525396.0A 2023-05-09 2023-05-09 Direct scaling method for display sub-pixel diamond arrangement image Pending CN117011134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310525396.0A CN117011134A (en) 2023-05-09 2023-05-09 Direct scaling method for display sub-pixel diamond arrangement image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310525396.0A CN117011134A (en) 2023-05-09 2023-05-09 Direct scaling method for display sub-pixel diamond arrangement image

Publications (1)

Publication Number Publication Date
CN117011134A true CN117011134A (en) 2023-11-07

Family

ID=88573465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310525396.0A Pending CN117011134A (en) 2023-05-09 2023-05-09 Direct scaling method for display sub-pixel diamond arrangement image

Country Status (1)

Country Link
CN (1) CN117011134A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030034992A1 (en) * 2001-05-09 2003-02-20 Clairvoyante Laboratories, Inc. Conversion of a sub-pixel format data to another sub-pixel data format
US20040239813A1 (en) * 2001-10-19 2004-12-02 Klompenhouwer Michiel Adriaanszoon Method of and display processing unit for displaying a colour image and a display apparatus comprising such a display processing unit
CN103034973A (en) * 2012-12-05 2013-04-10 焦点科技股份有限公司 Self-adaptive image scaling method based on bicubic interpolation
CN104461440A (en) * 2014-12-31 2015-03-25 上海天马有机发光显示技术有限公司 Rendering method, rendering device and display device
CN110047417A (en) * 2019-04-24 2019-07-23 上海兆芯集成电路有限公司 Sub-pixel rendering method and device
CN111445827A (en) * 2020-04-16 2020-07-24 Tcl华星光电技术有限公司 Display device and driving method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030034992A1 (en) * 2001-05-09 2003-02-20 Clairvoyante Laboratories, Inc. Conversion of a sub-pixel format data to another sub-pixel data format
US20040239813A1 (en) * 2001-10-19 2004-12-02 Klompenhouwer Michiel Adriaanszoon Method of and display processing unit for displaying a colour image and a display apparatus comprising such a display processing unit
CN103034973A (en) * 2012-12-05 2013-04-10 焦点科技股份有限公司 Self-adaptive image scaling method based on bicubic interpolation
CN104461440A (en) * 2014-12-31 2015-03-25 上海天马有机发光显示技术有限公司 Rendering method, rendering device and display device
CN110047417A (en) * 2019-04-24 2019-07-23 上海兆芯集成电路有限公司 Sub-pixel rendering method and device
CN111445827A (en) * 2020-04-16 2020-07-24 Tcl华星光电技术有限公司 Display device and driving method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蒲鹏程;郭晓松;郭君斌;雷磊;: "图像插值算法在对数极坐标变换中的应用", 计算机工程, no. 05, 5 March 2008 (2008-03-05), pages 198 *

Similar Documents

Publication Publication Date Title
JP5190626B2 (en) Improved subpixel rendering filter for high brightness subpixel layout
JP5932203B2 (en) Method for selectively providing a spatial sampling filter
JP4494014B2 (en) Method and system for sub-pixel rendering with gamma adjustment and adaptive filtering
CA2421894C (en) Hardware-enhanced graphics acceleration of pixel sub-component-oriented images
TWI424752B (en) Image color balance adjustment for display panels with 2d subpixel layouts
US8520009B1 (en) Method and apparatus for filtering video data using a programmable graphics processor
CN111192552B (en) Multi-channel LED spherical screen geometric correction method
JP4002871B2 (en) Method and apparatus for representing color image on delta structure display
TWI503791B (en) Computing level of detail for anisotropic filtering
CN112947885B (en) Method and device for generating curved surface screen flattening image
CN106782263B (en) Sub-pixel rendering method
CN110379370B (en) RGB-Delta type display panel sub-pixel rendering method based on threshold comparison
CN107342037A (en) Data method for transformation, device and computer-readable recording medium
JP2020518022A (en) Driving method and driving device for display panel
JP3547250B2 (en) Drawing method
CN117011134A (en) Direct scaling method for display sub-pixel diamond arrangement image
US6973210B1 (en) Filtering image data to obtain samples mapped to pixel sub-components of a display device
US6801923B2 (en) System and method for a single-pass multiple tap filter
EP3882847A1 (en) Content based anti-aliasing for image downscale
CN101123061A (en) Conversion of a sub-pixel format data to another
CN113793249B (en) Method for converting Pentille image into RGB image and related equipment
CN118135953A (en) Separation compression and decompression method for Mura of OLED display
Tingting et al. P‐8.1: An Optimized Sub‐pixel Rendering Algorithm
JP2008191319A (en) Image processor, image processing method, image processing program and recording medium with image processing program recorded thereon, and image display device
TW202232930A (en) Image processing apparatus

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
CB02 Change of applicant information

Country or region after: China

Address after: Room 10-401, No. 2846 Xingang East Road, Haizhu District, Guangzhou City, Guangdong Province, 510330 (Office only)

Applicant after: Weidu Microelectronics (Guangdong) Co.,Ltd.

Address before: 201306 building C, No. 888, Huanhu West 2nd Road, Lingang New District, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant before: Weichuang Microelectronics (Shanghai) Co.,Ltd.

Country or region before: China