Display device and image processing method and image processing circuit and chip thereof

By calculating the weight values ​​of target pixels in the RGBG pixel structure and correcting pixel data, the color shift problem in the circular groove area of ​​the display panel is solved, improving the image display effect and optimizing computational efficiency and power consumption.

CN119673080BActive Publication Date: 2026-01-06CHIPONE TECHNOLOGY (BEIJING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411835366.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2026-01-06
Estimated Expiration
2044-12-12

AI Technical Summary

Technical Problem

In display panels using an RGBG pixel structure, color shift occurs in the gradient area of ​​the circular groove region, which is difficult to effectively solve with existing technologies.

Method used

By calculating the weight value of each target pixel and using it as the weight value of the green sub-pixel, and calculating the average value of the green sub-pixels adjacent to the red or blue sub-pixel as its weight value, the pixel data is corrected. Multiplication is used instead of division to optimize computational efficiency.

Benefits of technology

It reduces the amount of computation, increases the speed of calculating the weight value of the target pixel, solves the color deviation problem, improves the image display effect and visual effect, and reduces the chip area and power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119673080B_ABST
    Figure CN119673080B_ABST
Patent Text Reader

Abstract

The application discloses a display device and an image processing method and an image processing circuit and a chip thereof, which comprises the following steps: acquiring RGBG pixel data of a pre-display image with a circular arc / a circle; acquiring a weight value of each target pixel point; taking the weight value of each target pixel point as the weight value of a green sub-pixel in the pixel point; calculating an average value of weight values of at least two green sub-pixels adjacent to a red sub-pixel / a blue sub-pixel in each target pixel point, and taking the average value as the weight value of the red sub-pixel / the blue sub-pixel; and correcting pixel data of each target pixel point according to the obtained weight values of the red sub-pixel / the blue sub-pixel and the green sub-pixel, wherein the target pixel point refers to a pixel point located in a gradual change region, and the gradual change region is a region defined by two edge curves near a circular arc line / a circular curve, so that the color deviation problem occurring in the process of drawing the circular arc / the circle can be solved, and the display effect and the visual effect of the image are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of display technology, and in particular to a display device and its image processing method, image processing circuit, and chip. Background Technology

[0002] Existing display panels, such as AMOLED (Active Matrix Organic Light Emitting Diode) displays, no longer use the traditional RGB pixel structure, but instead employ... Figure 1 The RGBG pixel structure shown has only two sub-pixels, RG or BG, per pixel unit, compared to the RGB pixel structure where each pixel unit contains three sub-pixels (RGB).

[0003] Display panels employing an RGBG pixel structure use the SPR (Sub-Pixel Rendering) algorithm to convert RGB pixel data into RGBG pixel data when displaying a frame of image data. The SPR algorithm cleverly removes one of the R / B subpixels, which are less sensitive to the human eye, while enlarging the remaining one, while the green subpixel G maintains its original resolution and size. Subsequently, the rendering algorithm adjusts the larger red subpixel R and green subpixel B to compensate for the color loss caused by the reduction of subpixels, ensuring that the RGBG pixel structure maintains the same brightness and visual resolution as the RGB pixel structure.

[0004] In display devices with circular notches, such as notch or punch-hole displays, or in-display fingerprint recognition areas (FPS), the area corresponding to the circular notch displays a circular pattern when displaying images. At the edge of the circular curve, there is a gradient region defined by two edge curves. When processing circular images, a circle-drawing algorithm is first used to obtain the weight values ​​of each pixel in the gradient region. The RGB pixel data is then adjusted based on these weight values, and the RGB pixel data processed by the circle-drawing algorithm is converted to RGBG pixel data using the SPR algorithm. However, due to the physical distribution characteristics of the RG or BG pixels in the gradient region, simply using a uniform grayscale or weighting will inevitably result in color shift.

[0005] Therefore, a new display device and its image processing method are needed to solve the above problems. Summary of the Invention

[0006] In view of the above problems, the purpose of this invention is to provide a display device and its image processing method, image processing circuit and chip, thereby solving the color deviation problem that occurs during the drawing of arcs / circles.

[0007] According to one aspect of the present invention, an image processing method for a display device is provided, comprising: acquiring RGBG pixel data of a pre-display image having an arc / circle; acquiring a weight value for each target pixel; using the weight value of each target pixel as the weight value of a green sub-pixel within that pixel; calculating the average of the weight values ​​of at least two green sub-pixels adjacent to a red / blue sub-pixel within each target pixel, and using the average value as the weight value of the red / blue sub-pixel; and modifying the pixel data of each target pixel accordingly based on the obtained weight values ​​of the red / blue sub-pixels and green sub-pixels, wherein the target pixel refers to a pixel located within a gradient region, and the gradient region is a region located near an arc / circle curve and defined by two edge curves.

[0008] Optionally, the average value is an arithmetic average or a weighted average.

[0009] Optionally, obtaining the weight value of each target pixel includes obtaining a first radius and a second radius, and establishing a Cartesian coordinate system with the center pixel as the origin to obtain the center coordinates of the arc / circle; obtaining a first edge curve based on the center of the arc / circle and the first radius, and obtaining a second edge curve based on the center of the arc / circle and the second radius to obtain the gradient region defined by the first edge curve and the second edge curve; calculating the weight value of each pixel located within the gradient region based on the first radius, the second radius, and the center coordinates of the arc / circle, wherein the first radius is greater than the second radius.

[0010] Optionally, calculating the weight value of each pixel within the gradient region based on the first radius, the second radius, and the center coordinates of the arc / circle includes obtaining a first value related to the first radius and the second radius; calculating a second value corresponding to each target pixel, the second value being related to the distance between each target pixel and the center of the circle; multiplying the first value and the second value corresponding to each target pixel to obtain a third value corresponding to each target pixel; and performing a shift operation on the third value corresponding to each target pixel to obtain the weight value of each target pixel.

[0011] Optionally, the formula for calculating the weight value of each target pixel is:

[0012] ,

[0013] Where c=2 m / (r1-r2), z represents the weight value of the target pixel, r1 represents the first radius, r2 represents the second radius, x represents the horizontal coordinate of the target pixel, y represents the vertical coordinate of the target pixel, x0 represents the horizontal coordinate of the center of the circle, y0 represents the vertical coordinate of the center of the circle, m is a pre-set value related to precision, >>m means right shift by m bits, and the value of c is pre-stored in a register; or

[0014] ,

[0015] Where c=2 m / [2*r2*n+n 2 ], z represents the weight value of the target pixel, r1 represents the first radius, r2 represents the second radius, x represents the horizontal coordinate of the target pixel, y represents the vertical coordinate of the target pixel, x0 represents the horizontal coordinate of the center of the circle, y0 represents the vertical coordinate of the center of the circle, n represents the difference between r1 and r2, m is a pre-set value related to precision, >>m means right shift by m bits, and the value of c is pre-stored in the register.

[0016] According to a second aspect of the present invention, an image processing circuit is also provided, comprising a circle drawing circuit, the circle drawing circuit comprising a weight value calculation module for calculating a weight value for each target pixel; a color shift compensation module for acquiring RGBG pixel data of a pre-displayed image having an arc / circle and a weight value for each target pixel, and using the weight value of each target pixel as the weight value of a green sub-pixel within that pixel, and calculating the average of the weight values ​​of at least two green sub-pixels adjacent to a red / blue sub-pixel within each target pixel, and using the average value as the weight value of the red / blue sub-pixel; and performing corresponding corrections on the pixel data of each target pixel based on the obtained weight values ​​of the red / blue sub-pixels and green sub-pixels, wherein the target pixel refers to a pixel located within a gradient region, the gradient region being a region located near an arc / circle curve and defined by two edge curves.

[0017] Optionally, the image processing circuit further includes a conversion circuit connected to the color shift compensation module, used to convert RGB pixel data into RGBG pixel data.

[0018] Optionally, the weight value calculation module includes a register for storing a first radius, a second radius, and a first value related to the first and second radii; a calculation unit for establishing a Cartesian coordinate system with the center pixel as the origin to obtain the center coordinates of the arc / circle, and obtaining target pixels based on the center, the first radius, and the second radius, and calculating a second value corresponding to each target pixel, wherein the second value is related to the distance between the target pixel and the center; a multiplier for multiplying the first value with the second value corresponding to each target pixel to obtain a third value corresponding to each target pixel; and an output unit for performing a shift operation on the third value corresponding to each target pixel to obtain the weight value of each target pixel, and outputting the weight value of each target pixel.

[0019] According to a third aspect of the present invention, a chip is provided, comprising the image processing circuit as described above.

[0020] According to a fourth aspect of the present invention, a display device is provided, comprising the chip as described above.

[0021] The display device, image processing method, image processing circuit, and chip provided by this invention calculate the weight value of target pixels based on RGBG pixel data. Compared with the prior art, which calculates the weight value of target pixels based on RGB pixel data, this reduces the amount of calculation by one-third and improves the calculation speed of target pixel weight values. Furthermore, after obtaining the weight value of the target pixel, the weight value of each target pixel is used as the weight value of the green sub-pixel within that target pixel. The average of the weight values ​​of at least two green sub-pixels adjacent to the red / blue sub-pixel in each target pixel is used as the weight value of that red / blue sub-pixel. Then, based on the obtained weight values ​​of the red / blue and green sub-pixels, the pixel data of each target pixel is corrected accordingly. This solves the color shift problem that occurs during the drawing of arcs / circles, greatly improving the image display and visual effects.

[0022] In a preferred embodiment, multiplication is used instead of division in the formula for calculating the weight value of the target pixel, which can effectively reduce chip area, reduce power consumption, and improve computing efficiency. Attached Figure Description

[0023] The above and other objects, features and advantages of the present invention will become more apparent from the following description of embodiments of the invention with reference to the accompanying drawings, in which:

[0024] Figure 1 A schematic diagram of an RGBG pixel structure is shown.

[0025] Figure 2A flowchart of an image processing method for a display device according to an embodiment of the present invention is shown;

[0026] Figure 3 A flowchart illustrating a method for calculating the weight value of a target pixel according to an embodiment of the present invention is shown;

[0027] Figure 4 A schematic diagram of a pre-display image according to an embodiment of the present invention is shown;

[0028] Figure 5 This diagram illustrates the relationship between target pixels and weight values ​​obtained using two different algorithms.

[0029] Figure 6 The diagram illustrates two display images obtained by processing two different algorithms;

[0030] Figure 7 A schematic diagram showing the relationship between target pixels and weight values ​​obtained by two different algorithms processed using embodiments of the present invention is shown.

[0031] Figure 8 A schematic diagram of an image processing circuit according to an embodiment of the present invention is shown. Detailed Implementation

[0032] Various embodiments of the invention will now be described in more detail with reference to the accompanying drawings. In the various drawings, the same elements or modules are indicated by the same or similar reference numerals. For clarity, the various parts in the drawings are not drawn to scale.

[0033] It should be understood that, in the following description, "circuit" may include single or combined hardware circuits, programmable circuits, state machine circuits, and / or elements capable of storing instructions executed by the programmable circuit. When an element or circuit is said to be "connected" to another element or "connected" between two nodes, it may be directly coupled or connected to the other element, or there may be intermediate elements; the connection between elements may be physical, logical, or a combination thereof. Conversely, when an element is said to be "directly coupled to" or "directly connected" to another element, it means that there are no intermediate elements between them.

[0034] Furthermore, certain terms are used in this patent specification and claims to refer to specific components. Those skilled in the art will understand that hardware manufacturers may use different names to refer to the same component. This patent specification and claims do not distinguish components based on differences in name, but rather on differences in function.

[0035] Furthermore, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0036] Figure 2 A flowchart of an image processing method for a display device according to an embodiment of the present invention is shown.

[0037] The image processing method for display devices provided in this invention is applied to display panels with circular / arc-shaped notches or circular / arc-shaped screens, such as the notch or punch-hole screen design of Apple devices, FPS (in-display fingerprint recognition area), and circular display watches. For example, the display panel uses an RGBG pixel structure. The image processing method includes steps S01-S05.

[0038] In step S01: Obtain RGBG pixel data of a pre-display image with arcs / circles.

[0039] In this structure, the RGBG pixel data corresponds one-to-one with each pixel in the RGBG pixel structure, and the pixel arrangement of the RGBG pixel structure is as follows: Figure 1 As shown, a solid-line box represents a pixel, and each pixel includes two sub-pixels: GR and GB. G represents the green sub-pixel, R represents the red sub-pixel, and B represents the blue sub-pixel. For example, RGB pixel data obtained from the application processor (AP) can be converted to RGBG pixel data using a conversion circuit, or RGBG pixel data can be obtained directly from the application processor (AP).

[0040] The conversion circuit, for example, uses the existing SPR algorithm to convert RGB pixel data into RGBG pixel data. After the conversion is completed, the conversion circuit does not need to perform the final fine adjustment of the red sub-pixel R / blue sub-pixel B.

[0041] In step S02: Obtain the weight value of each target pixel.

[0042] The target pixel refers to a pixel located within the gradient region, which is a region located near an arc / circular curve and defined by two edge curves.

[0043] In step S03: the weight value of each target pixel is used as the weight value of the green sub-pixel G within that pixel.

[0044] In step S04: Calculate the average of the weight values ​​of at least two green sub-pixels G adjacent to the red sub-pixel R / blue sub-pixel B within each target pixel, and use the average value as the weight value of the red sub-pixel R / blue sub-pixel B.

[0045] The average value can be either an arithmetic average or a weighted average.

[0046] Preferably, the number of at least two green sub-pixels G is four. Figure 1 Taking the red sub-pixel R within the dashed box as an example, the weight value of the red sub-pixel R is the average of the four green sub-pixels G within the dashed box.

[0047] In step S05, the pixel data of each target pixel is corrected accordingly based on the obtained weight values ​​of red sub-pixel R, blue sub-pixel B, and green sub-pixel G.

[0048] The correction of pixel data for each target pixel includes adjusting color, brightness, or applying blurring algorithms.

[0049] Figure 3 A flowchart illustrating a method for calculating the weight value of a target pixel according to an embodiment of the present invention is shown.

[0050] See Figure 3 The methods for calculating the target pixel weight value include:

[0051] Step S11: Obtain the first radius r1 and the second radius r2, and establish a Cartesian coordinate system with the center pixel as the origin to obtain the center coordinates (x0, y0) of the arc / circle.

[0052] In this model, the first radius r1 is greater than the second radius r2. For example, the first radius r1 can be equal to the radius r of the arc / circle, or it can be set to be slightly less than or slightly greater than the radius r. For example, the second radius r2 is the difference between the first radius r1 and a preset value n. The preset value n can be a fixed value or the product of the first radius r1 and a fixed coefficient a, where 0 < a < 1.

[0053] Step S12: Obtain a first edge curve based on the center of the arc / circle and the first radius r1, and obtain a second edge curve based on the center of the arc / circle and the second radius r2, so as to obtain a gradient region defined by the first edge curve and the second edge curve.

[0054] Specifically, when the pre-displayed image has an arc, the two endpoints of the first edge curve and the second edge curve lie on the lines connecting the two endpoints of the arc and the center of the circle, respectively. When the first radius r1 is equal to the radius r of the arc / circle, the first edge curve is an arc / circle curve.

[0055] In step S12, the inner region located inside the second edge curve and the outer region located outside the first edge curve can also be obtained based on the first edge curve and the second edge curve. See also Figure 4 Taking a pre-displayed image with a circle as an example, the area corresponding to the striped pattern is the gradient area, the area corresponding to the dotted pattern is the inner area, and the remaining areas are the outer areas.

[0056] Step S13: Calculate the weight value of each pixel located within the gradient region based on the first radius r1, the second radius r2, and the center coordinates (x0, y0) of the arc / circle.

[0057] Specifically, the formula for calculating the weight value of the target pixel is as follows:

[0058] (1),

[0059] Where y represents the weight value of the target pixel, r1 represents the first radius, r2 represents the second radius, and d represents the distance between the target pixel and the center of the circle.

[0060] As can be seen from formula (1), in the gradient region, the closer the target pixel is to the second edge curve, the smaller its weight value.

[0061] Furthermore, in step S13, the weight values ​​of pixels located in the inner region can be set to 0 (black), and the weight values ​​of pixels located in the outer region can be set to 1 (white).

[0062] The formula for calculating the distance d between any target pixel (x, y) and its center (x0, y0) is:

[0063] d= (2).

[0064] Therefore, the formula for calculating the weight value of the target pixel can also be expressed as:

[0065] (3).

[0066] Since the calculation of formula (3) involves square root operations, which are indeed resource-intensive in hardware circuits, whether using IP cores provided by EDA tool companies or designing them ourselves (including lookup table methods or binary approximation methods, etc.), it will increase the complexity and power consumption of the circuit. Based on this, the inventors of this application have improved the above algorithm to avoid the existence of square root circuits. The improved method for calculating the weight value of the target pixel is as follows:

[0067] (4)

[0068] Therefore, we can conclude that:

[0069] (5)

[0070] Where r1 = r2 + n.

[0071] pass Figure 5 and Figure 6 It can be seen that the accuracy of calculating the weight value of the target pixel using the open method (3) and the non-open method (5) is basically the same, and the display effect of the image is also basically the same.

[0072] However, although formula (5) avoids square root operation, it requires a divider. Since it involves square calculation, the bit width of the divider becomes larger. Therefore, the chip area and power consumption are not effectively improved.

[0073] The inventors of this application discovered that the display panels of the same product have the same shape. Therefore, when displaying images, the center of the arc / circle, the radius r of the arc / circle, the first radius r1 of the first edge curve, and the second radius r2 of the second edge curve are all fixed values ​​that can be stored in a register in advance.

[0074] Of course, to adapt to different products, corresponding algorithms can be set to calculate the corresponding first radius r1 and second radius r2 based on the radius r of the arc / circle when the product leaves the factory and store them in a register. Alternatively, multiple sets of radii r of circles / arcs of different sizes and their corresponding first radius r1 and second radius r2 can be stored in the register, and the corresponding first radius r1 and second radius r2 can be selected based on the radius r of the circle / arc when the product leaves the factory.

[0075] Based on this, the applicant of this application improved the above algorithm by replacing the division operation with a multiplication operation to optimize the algorithm performance, and changed the original variable to a register setting to reduce intermediate operations.

[0076] In this embodiment of the invention, calculating the weight value of each target pixel point located within the gradient region based on the first radius r1, the second radius r2, and the center coordinates (x0, y0) of the arc / circle includes:

[0077] Obtain the first value related to the first radius r1 and the second radius r2;

[0078] Calculate the second value corresponding to each target pixel, which is related to the distance d between each target pixel and the center of the circle;

[0079] The first value is multiplied by the second value corresponding to each target pixel to obtain the third value corresponding to each target pixel;

[0080] The third value corresponding to each target pixel is shifted to obtain the weight value of each target pixel.

[0081] The formula for calculating the weight value of each target pixel can be rewritten as follows:

[0082] z=(a*c)>>m,

[0083] Where z represents the weight value of the target pixel, c represents the first value, c=2m / b, a represents the second value, a*c represents the third value, >> represents the shift operation, >>m means shift right by m bits, and m is a preset value related to precision.

[0084] That is, if we replace the division operation in formula (3) with multiplication, then we have:

[0085] (6).

[0086] At this point, b = r1 - r2. .

[0087] If we replace the division operation in formula (5) with multiplication, then we have:

[0088] (7).

[0089] At this point, b = (2*n*r² + n²), a = (x - x₀)² + (y - y₀)² - r²².

[0090] For formulas (3) and (5), the value of b is fixed, so the value of c can be pre-stored in a register to reduce intermediate operations.

[0091] Optionally, the precision of the weight values ​​for the target pixels is adjustable. For example, the register stores multiple c values ​​corresponding one-to-one with different m values; when using it, simply select the appropriate c value based on the required precision.

[0092] The table below shows a comparison of the area occupied by the circle drawing circuit and its internal circuitry in the chip when different methods are used to calculate the weight value of the target pixel.

[0093] Prescription Non-integral substitution of root extraction Non-root substitution Total area (um2) 2316 2408 1967 2065 Square root (sqrt) 348 0 348 0 Divider 579 979 0 0 Multiplier (in place of divider) 0 0 268 636 other 1389 1429 1351 1429

[0094] Among them, the square root index is calculated using formula (3), the non-square root index is calculated using formula (5), the square root multiplier is calculated using formula (6), and the non-square root multiplier is calculated using formula (7).

[0095] As shown in the table above, using multiplication instead of division in a circle drawing circuit can effectively reduce the area occupied by the circuit on the chip. Furthermore, since the power consumption of a multiplier is lower than that of a divider, the power consumption of the circle drawing circuit can also be reduced. Moreover, it can avoid the computational delay problem that might be caused by a divider, thereby improving computational efficiency.

[0096] The display device and image processing method provided in this invention calculate the weight value of target pixels based on RGBG pixel data. Compared with the prior art, which calculates the weight value of target pixels based on RGB pixel data, this reduces the computational load by one-third and improves the speed of target pixel weight value calculation. Furthermore, after obtaining the weight value of the target pixel, the weight value of each target pixel is used as the weight value of the green sub-pixel G within that target pixel. The average of the weight values ​​of at least two green sub-pixels G adjacent to the red sub-pixel R / blue sub-pixel B in each target pixel is used as the weight value of the red sub-pixel R / blue sub-pixel B. Then, based on the obtained weight values ​​of the red sub-pixel R / blue sub-pixel B and the green sub-pixel G, the pixel data of each target pixel is corrected accordingly. This solves the color shift problem that occurs during the drawing of arcs / circles, greatly improving the display and visual effects of the image.

[0097] See Figure 8 The present invention also provides an image processing circuit, including a conversion circuit 100 and a circle drawing circuit 200. The conversion circuit 100 is used to convert RGB pixel data into RGBG pixel data. The circle drawing circuit 200 is used to draw circles / arcs in a pre-displayed image. The circle drawing circuit 200 includes a weight value calculation module 210 and a color shift compensation module 220.

[0098] The weight value calculation module 210 is used to calculate the weight value of the target pixel. The color shift compensation module 220 is used to acquire the RGBG pixel data of the pre-display image with arcs / circles and the weight value of each target pixel, and use the weight value of each target pixel as the weight value of the green sub-pixel G within that target pixel, and use the average of the weight values ​​of at least two green sub-pixels G adjacent to the red sub-pixel R / blue sub-pixel B in each target pixel as the weight value of the red sub-pixel R / blue sub-pixel B, and then perform corresponding corrections on the pixel data of each target pixel according to the obtained weight values ​​of the red sub-pixel R / blue sub-pixel B and green sub-pixel G to achieve color shift compensation.

[0099] The weight calculation module 210 includes: a register for storing a first radius, a second radius, and a first value related to the first and second radii; a calculation unit for establishing a Cartesian coordinate system with the center pixel as the origin to obtain the center coordinates of the arc / circle, obtaining target pixels based on the center, the first radius, and the second radius, and calculating a second value corresponding to each target pixel, wherein the second value is related to the distance between the target pixel and the center; a multiplier for multiplying the first value with the second value corresponding to each target pixel to obtain a third value corresponding to each target pixel; and an output unit for shifting the third value corresponding to each target pixel to obtain the weight value of each target pixel and outputting the weight value of each target pixel.

[0100] Furthermore, the present invention also provides a chip including the image processing circuit described above.

[0101] Furthermore, the present invention also provides a display device including the chip described above.

[0102] As described above, these embodiments of the present invention do not exhaustively describe all details, nor do they limit the invention to specific embodiments. Clearly, many modifications and variations can be made based on the above description. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to effectively utilize the invention and its modifications. The scope of protection of this invention should be determined by the scope defined in the claims and their equivalents.

Claims

1. An image processing method of a display device, comprising: obtaining RGBG pixel data of a pre-display image having a circular arc / a circle; obtaining a weight value of each target pixel point; taking the weight value of each target pixel point as a weight value of a green sub-pixel within the pixel point; calculating an average value of weight values of at least two green sub-pixels adjacent to a red sub-pixel / a blue sub-pixel within each target pixel point, and taking the average value as a weight value of the red sub-pixel / the blue sub-pixel; correspondingly modifying pixel data of each target pixel point according to the obtained weight values of the red sub-pixel / the blue sub-pixel, the green sub-pixel, wherein the target pixel point refers to a pixel point located in a gradual change region, and the gradual change region is a region defined by two edge curves near a circular arc line / a circular curve.

2. The image processing method of claim 1, wherein, The average value is an arithmetic average value or a weighted average value.

3. The image processing method of claim 1, wherein, The obtaining of the weight value of each target pixel point comprises: obtaining a first radius and a second radius, and setting up a Cartesian coordinate system with a center pixel point as an origin to obtain a center coordinate of the circular arc / the circle; obtaining a first edge curve according to the center of the circular arc / the circle and the first radius, and obtaining a second edge curve according to the center of the circular arc / the circle and the second radius to obtain the gradual change region defined by the first edge curve and the second edge curve; calculating the weight value of each pixel point located in the gradual change region according to the first radius, the second radius and the center coordinate of the circular arc / the circle, wherein the first radius is greater than the second radius.

4. The image processing method of claim 3, wherein, The calculation of the weight value of each pixel point located in the gradual change region according to the first radius, the second radius and the center coordinate of the circular arc / the circle comprises: obtaining a first numerical value related to the first radius and the second radius; calculating a second numerical value corresponding to each target pixel point, the second numerical value being related to a distance between each target pixel point and the center; performing a multiplication operation on the first numerical value and the second numerical value corresponding to each target pixel point to obtain a third numerical value corresponding to each target pixel point; performing a shift operation on the third numerical value corresponding to each target pixel point to obtain the weight value of each target pixel point.

5. The image processing method of claim 4, wherein, The calculation formula of the weight value of each target pixel point is: wherein c=2 m wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c=2 wherein c wherein c=2 m / [2*r2*n+n 2 ], z represents a weight value of a target pixel point, r1 represents a first radius, r2 represents a second radius, x represents an abscissa of the target pixel point, y represents an ordinate of the target pixel point, x0 represents an abscissa of a circle center, y0 represents an ordinate of the circle center, n represents a difference value between r1 and r2, m is a value related to precision which is set in advance, >>m represents right shift by m bits, and the value of c is pre-stored in a register.

6. An image processing circuit comprising a circle drawing circuit, the circle drawing circuit comprising: a weight value calculation module configured to calculate a weight value of each target pixel point; a color cast compensation module configured to obtain RGBG pixel data of a pre-display image having a circular arc / a circle and a weight value of each target pixel point, take the weight value of each target pixel point as a weight value of a green sub-pixel within the pixel point, calculate an average value of weight values of at least two green sub-pixels adjacent to a red sub-pixel / a blue sub-pixel within each target pixel point, and take the average value as a weight value of the red sub-pixel / the blue sub-pixel; and correspondingly modify pixel data of each target pixel point according to the obtained weight values of the red sub-pixel / the blue sub-pixel, the green sub-pixel, ​ The target pixel point refers to a pixel point in a gradual change region, and the gradual change region is a region defined by two edge curves near a circular arc / circular curve.

7. The image processing circuit of claim 6, further comprising: a conversion circuit, connected with the color cast compensation module, configured to convert the RGB pixel data into RGBG pixel data.

8. The image processing circuit of claim 6, wherein, The weight value calculation module comprises: a register, configured to store a first radius, a second radius, and a first numerical value related to the first radius and the second radius; a calculation unit, configured to set a Cartesian coordinate system with a center pixel point as an origin, to obtain a center coordinate of the circular arc / circular curve, and to obtain a target pixel point according to the center, the first radius, and the second radius, and to calculate a second numerical value corresponding to each target pixel point, the second numerical value being related to a distance between the target pixel point and the center; a multiplier, configured to multiply the first numerical value and the second numerical value corresponding to each target pixel point to obtain a third numerical value corresponding to each target pixel point; an output unit, configured to perform a shift operation on the third numerical value corresponding to each target pixel point to obtain a weight value of each target pixel point, and to output the weight value of each target pixel point.

9. A chip comprising the image processing circuit of any one of claims 6-8.

10. A display device comprising the chip of claim 9.

Citation Information

Patent Citations

  • Image processing method and display driving device

    CN110930919A

  • Display control method and device of display panel and display equipment

    CN115249460A