Display device adjustment method and device
By determining the physical attribute information of the display device and calculating the blur width and compensation coefficient, adjusting the pixel grayscale value of the edge of the OLED display device, the edge serration problem of existing OLED display devices is solved, and a more natural and consistent display effect is achieved.
Patent Information
- Application Number
- CN202211007684.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-22
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2042-08-22
AI Technical Summary
The existing OLED display devices are arranged in a circular screen or rounded edges due to the interlaced pixels, resulting in the macroscopic visual effect showing an edge jagged shape, and the screen edge jagged effect of different production companies varies in different degrees of severity.
By determining the physical attribute information of the display device, including the device shape, physical resolution and display size, the blur width and compensation coefficient are calculated, the area to be blurred is determined based on this information, and the grayscale values of each pixel in the area to be blurred are adjusted according to the compensation coefficient to optimize the sawtooth effect at the edge of the display device.
The serration effect of edge serrations of display devices of different sizes or shapes is realized, reducing the impact of serrations and making the display effect more natural and consistent.
Smart Images

Figure CN115641808B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of display, and in particular to a display device adjustment method and device. Background Art
[0002] At present, the display devices of electronic devices such as mobile phones and smart wearable devices are usually organic light-emitting diode (OLED) display modules. When displaying, the OLED display screen is composed of a combination of pixels, and the display device screen is generally arranged as real RGB pixels, that is, a white point pixel is composed of three sub-pixels of R, G, and B. Because the pixels of this type of display device screen are arranged row by row and column by column during production, the pixels on the circular screen or the rounded edge of the screen are staggered, making the macroscopic visual effect of the circular screen or the rounded edge appear jagged. In addition, the production company has its own unique design for the shape and arrangement of the sub-pixels of the screen. Even if the screen is of the same size, if it comes from the production lines of different companies, the edge of the screen will have jagged displays of varying degrees. Summary of the invention
[0003] In view of this, the present disclosure proposes a display device adjustment method and device, which are intended to adjust the jagged effect of the edges of display devices of different sizes or shapes.
[0004] According to a first aspect of the present disclosure, a display device adjustment method is provided, the method comprising:
[0005] Determining physical property information of a display device, wherein the physical property information includes a shape of the device;
[0006] Determine blur width and compensation coefficient;
[0007] Determine a region to be blurred in the display device according to the blur width and the physical property information, wherein the width of the region to be blurred is the blur width, and an outer edge thereof corresponds to an outer edge of the display device;
[0008] The grayscale value of each pixel in the area to be blurred is adjusted according to the compensation coefficient, wherein the area to be blurred includes at least two layers of pixels extending inward from the edge of the display device, wherein the grayscale value of each layer of pixels is the same, and the difference in grayscale values of adjacent layers of pixels is determined according to the compensation coefficient.
[0009] In a possible implementation, the shape of the device includes a circle, an ellipse, and a rounded square.
[0010] In a possible implementation, the physical attribute information further includes physical resolution and display size;
[0011] The determining the area to be blurred in the display device according to the blur width and the physical property information includes:
[0012] In response to the device shape of the display device being circular, determining a virtual center position and a radius length according to the physical resolution, the display size, and the virtual width;
[0013] Determine a first virtual circle corresponding to the display device according to the center position of the circle and the radius length;
[0014] Determine the area surrounded by the outer edge of the virtual circle and the outer edge of the display device as the area to be blurred.
[0015] In a possible implementation manner, determining the area to be blurred in the display device according to the blur width and the physical property information includes:
[0016] In response to the device shape of the display device being an ellipse, determining a virtual symmetry center point, a short symmetry axis length, and a long symmetry axis length according to the physical resolution, the display size, and the blur width;
[0017] Determine a virtual ellipse corresponding to the display device according to the symmetry center point, the length of the short symmetry axis and the length of the long symmetry axis;
[0018] An area enclosed by an outer edge of the virtual ellipse and an outer edge of the display device is determined as the area to be blurred.
[0019] In a possible implementation manner, determining the area to be blurred in the display device according to the blur width and the physical property information includes:
[0020] In response to the display device being in a rounded square shape, determining a virtual center position and radius length of a target rounded corner according to the physical resolution, the display size, and the blur width;
[0021] Determine a corresponding second virtual circle according to the center position and radius length of the target fillet, wherein the edge of the target fillet coincides with a partial arc of the second virtual circle;
[0022] By translating the second virtual circle toward other rounded corners in the rounded square, a coincident arc between each rounded corner and the second virtual circle is obtained;
[0023] An area whose blur width is extended inward from each of the overlapping arc positions is determined as the area to be blurred.
[0024] In a possible implementation manner, the physical property information further includes a non-display area reserved in the display device for at least one of the first reserved area and the second reserved area.
[0025] In a possible implementation, in response to the physical property information including a first reserved area, determining the area to be blurred in the display device according to the blur width and the physical property information further includes:
[0026] Determine a third virtual circle corresponding to the first reserved area according to the position and size of the first reserved area;
[0027] The edge of the third virtual circle is extended according to the blur width to determine the area to be blurred.
[0028] In a possible implementation, in response to the first reserved area being a circular area, the step of extending the edge of the third virtual circle according to the blur width to determine the area to be blurred includes:
[0029] An area whose blur width is extended outward from the edge of the third virtual circle is determined as the area to be blurred.
[0030] In a possible implementation, in response to the first reserved area being a rounded groove type area, the step of extending the edge of the third virtual circle according to the blur width to determine the area to be blurred includes:
[0031] Determine the arc position where the third virtual circle overlaps with each rounded corner in the rounded groove type area;
[0032] An area whose blur width is extended outward from each of the overlapping arc positions is determined as the area to be blurred.
[0033] In a possible implementation manner, in response to the physical attribute information including the second reserved area, the method further includes:
[0034] Determine a fourth virtual circle corresponding to the second reserved area according to the position and size of the second reserved area;
[0035] The grayscale value of the first reserved area and / or the second reserved area is adjusted to a target value according to the third virtual circle and / or the fourth virtual circle.
[0036] According to a second aspect of the present disclosure, a display device adjustment device is provided, the device comprising:
[0037] An information determination module, configured to determine physical property information of a display device, wherein the physical property information includes a device shape;
[0038] A coefficient determination module, used for determining blur width and compensation coefficient;
[0039] an area determination module, configured to determine an area to be blurred in the display device according to the blur width and the physical property information, wherein the width of the area to be blurred is the blur width, and an outer edge thereof corresponds to an outer edge of the display device;
[0040] A grayscale adjustment module is used to adjust the grayscale value of each pixel in the area to be blurred according to the compensation coefficient, wherein the area to be blurred includes at least two layers of pixels extending inward from the edge of the display device, wherein the grayscale value of each layer of pixels is the same, and the difference in grayscale values of adjacent layers of pixels is determined according to the compensation coefficient.
[0041] In a possible implementation, the shape of the device includes a circle, an ellipse, and a rounded square.
[0042] In a possible implementation, the physical attribute information further includes physical resolution and display size;
[0043] The area determination module comprises:
[0044] A first parameter determination submodule, configured to determine a virtual center position and a radius length according to the physical resolution, the display size and the blur width in response to the device shape of the display device being circular;
[0045] A first virtual circle determination submodule, configured to determine a first virtual circle corresponding to the display device according to the center position and the radius length;
[0046] The first area determination submodule is used to determine the area surrounded by the outer edge of the virtual circle and the outer edge of the display device as the area to be blurred.
[0047] In a possible implementation, the region determination module includes:
[0048] A second parameter determination submodule, configured to determine a virtual symmetry center point, a short symmetry axis length, and a long symmetry axis length according to the physical resolution, the display size, and the blur width in response to the device shape of the display device being an ellipse;
[0049] An ellipse determination submodule, used to determine a virtual ellipse corresponding to the display device according to the symmetry center point, the length of the short symmetry axis and the length of the long symmetry axis;
[0050] The second area determination submodule is used to determine the area surrounded by the outer edge of the virtual ellipse and the outer edge of the display device as the area to be blurred.
[0051] In a possible implementation, the region determination module includes:
[0052] A third parameter determination submodule is used for determining a virtual center position and radius length of a target rounded corner according to the physical resolution, the display size and the blur width in response to the device shape of the display device being a rounded square;
[0053] A second virtual circle determination submodule, configured to determine a corresponding second virtual circle according to the center position and radius length of the target fillet, wherein the edge of the target fillet coincides with a partial arc of the second virtual circle;
[0054] An arc matching submodule, used for obtaining an arc of overlap between each of the rounded corners and the second virtual circle by translating the second virtual circle toward other rounded corners in the rounded square;
[0055] The third area determination submodule is used to determine an area whose blur width is extended inward from each of the overlapping arc positions as the area to be blurred.
[0056] In a possible implementation manner, the physical property information further includes a non-display area reserved in the display device for at least one of the first reserved area and the second reserved area.
[0057] In a possible implementation manner, in response to the physical attribute information including the first reserved area, the area determination module further includes:
[0058] A third virtual circle determining submodule, configured to determine a third virtual circle corresponding to the first reserved area according to the position and size of the first reserved area;
[0059] The fourth area determination submodule is used to perform edge extension on the third virtual circle according to the blur width to determine the area to be blurred.
[0060] In a possible implementation, in response to the first reserved area being a circular area, the fourth area determination submodule includes:
[0061] The first area determination unit is used to determine an area with a blur width extending outward from the edge of the third virtual circle as the area to be blurred.
[0062] In a possible implementation, in response to the first reserved area being a rounded groove type area, the fourth area determination submodule includes:
[0063] An arc matching unit, used for determining the arc position where the third virtual circle overlaps with each fillet in the fillet groove type area;
[0064] The second area determination unit is used to determine an area with a blur width extending outward from each of the overlapping arc positions as the area to be blurred.
[0065] In a possible implementation manner, in response to the physical attribute information including the second reserved area, the apparatus further includes:
[0066] a virtual circle determining module, configured to determine a fourth virtual circle corresponding to the second reserved area according to the position and size of the second reserved area;
[0067] The reserved area adjustment module is used to adjust the grayscale value of the first reserved area and / or the second reserved area to a target value according to the third virtual circle and / or the fourth virtual circle.
[0068] According to a third aspect of the present disclosure, a display device is provided, comprising a plurality of display units and at least one display device adjustment device according to the second aspect.
[0069] In one possible implementation, the display unit includes a display panel, and the display panel includes at least one of a liquid crystal display panel, a micro light emitting diode display panel, a light emitting diode display panel, a mini light emitting diode display panel, a quantum dot light emitting diode display panel, an organic light emitting diode display panel, a cathode ray tube display panel, a digital light processing display panel, a field emission display panel, a plasma display panel, an electrophoretic display panel, an electrowetting display panel and a small pitch display panel.
[0070] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising the display device according to the third aspect.
[0071] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.
[0072] According to a sixth aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above method when executed by a processor.
[0073] According to a seventh aspect of the present disclosure, a computer program product is provided, comprising a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code, and when the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.
[0074] In an embodiment of the present disclosure, the blur width and the compensation coefficient are determined by determining the physical property information of the display device including the shape of the device. The area to be blurred in the display device is determined based on the blur width and the physical property information, the width of the area to be blurred is the blur width, and the outer edge corresponds to the outer edge of the display device. The grayscale value of each pixel in the area to be blurred is adjusted based on the compensation coefficient, the area to be blurred includes at least two layers of pixels extending inward from the edge of the display device, wherein the grayscale value of each layer of pixels is the same, and the difference in grayscale values of pixels in adjacent layers is determined based on the compensation coefficient. The present disclosure can accurately determine the area to be blurred in the display device through the physical property information of the display device, and flexibly adjust the size and grayscale value of the area to be blurred, so as to achieve a smooth and optimized jagged effect on the edge of the display device.
[0075] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
[0077] Figure 1 A schematic diagram showing a conventional arrangement of pixels on a display screen;
[0078] Figure 2 A flow chart showing a method for adjusting a display device according to an embodiment of the present disclosure is shown;
[0079] Figure 3 A schematic diagram showing a region to be blurred of a circular display device according to an embodiment of the present disclosure;
[0080] Figure 4 A schematic diagram showing a region to be blurred of a rounded square display device according to an embodiment of the present disclosure;
[0081] Figure 5 A schematic diagram showing a region to be blurred in another rounded square display device according to an embodiment of the present disclosure;
[0082] Figure 6 A schematic diagram showing a display device adjustment device according to an embodiment of the present disclosure;
[0083] Figure 7 A schematic diagram of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0084] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0085] In the description of the present disclosure, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present disclosure.
[0086] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0087] In the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.
[0088] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.
[0089] The display device adjustment method of the embodiment of the present disclosure can be used to alleviate the problem of jagged edges of the display screen, wherein the jagged edges of the display screen are a negative effect caused by the arrangement of screen pixels. Figure 1 FIG. 1 is a schematic diagram showing a conventional arrangement of pixels on a display screen. Figure 1As shown, the pixel arrangement of the display device screen is the Real RGB pixel arrangement, that is, a white point pixel is represented by a combination of R, G, and B sub-pixels. Therefore, the pixels of the display device screen are arranged row by row and column by column, which will cause the macroscopic visual effect of the circular screen or the rounded edge of the screen to appear jagged.
[0090] Figure 2 A flow chart of a display device adjustment method according to an embodiment of the present disclosure is shown. Figure 2 As shown, the display device adjustment method of the embodiment of the present disclosure may include the following steps S10-S40.
[0091] Step S10: Determine the physical property information of the display device.
[0092] In one possible implementation, the physical property information of the display device is determined by an electronic device, and the display device may be a display screen that is communicatively connected to or built into the electronic device, such as an organic light emitting diode (OLED) display screen. The physical property information characterizes at least one physical property of the display device, and may include, for example, a device shape, which is used to characterize the physical shape of the display device, such as any shape including a circle, an ellipse, and a square with rounded corners. Optionally, in addition to the device shape, the physical property information may also include physical properties of the display device such as physical resolution and display size. The physical resolution is used to characterize the optimal resolution of the display device, that is, the number of pixel rows actually existing on the screen multiplied by the number of pixel columns, and the display size characterizes the size of the display device, and may be characterized by, for example, the diagonal size of a cathode ray tube.
[0093] Furthermore, since the display device built into some electronic devices needs to reserve a teardrop-shaped, circular or groove-shaped placement position for components such as a camera, an earpiece and a physical watch hand, the placement position usually does not need to display an image. Therefore, for the display device including the reserved placement position, the physical attribute information may also include at least one of a first reserved area and a second reserved area in the display device, and may include the position of the reserved area in the display device and the size of the reserved area.
[0094] Step S20: Determine the blur width and compensation coefficient.
[0095] In a possible implementation, the electronic device may determine a blur width and a compensation coefficient. The blur width is used to determine a region to be blurred in a display device, and the compensation coefficient is used to adjust the grayscale value of pixels in the region to be blurred. Optionally, the blur width and the compensation coefficient may be preset as required, or may be adjusted in real time by a user as required when an image is displayed on a display device.
[0096] Optionally, when the area to be blurred is an area composed of multiple layers of pixels with one edge of the display device as one side edge, the blur width can represent the number of layers of pixels in the area to be blurred. For example, when the area to be blurred is a circular ring, the blur width can represent the number of layers of the circular ring. The compensation coefficient is used to represent the difference in grayscale values of pixels in adjacent layers after adjustment. For example, from the outer edge of the display device to the first and second layers, the second and third layers, the third and fourth layers to the other edge of the area to be blurred, the difference in grayscale values of pixels in every two adjacent layers is the compensation coefficient.
[0097] Step S30: determining a region to be blurred in the display device according to the blur width and the physical property information.
[0098] In a possible implementation, after determining the blur width and physical property information, the electronic device can determine the area to be blurred according to the physical property information and blur width of the display device. Among them, display devices of different shapes can determine the area to be blurred in different ways to ensure that the areas that need to be adjusted in different display devices are determined in a targeted manner to obtain accurate areas to be blurred. The possibility of affecting the display effect or failing to eliminate the jagged effect due to inaccurate adjustment of the grayscale value of the area to be blurred is reduced. Optionally, the width of the area to be blurred is the blur width, and the outer edge corresponds to the outer edge of the display device. That is, each layer of pixels in the area to be blurred represents each layer of pixels of the display device, and the outermost pixels in the area to be blurred represent the outermost pixels of the display device.
[0099] Optionally, in the case where the display device is circular in shape, the electronic device can determine the area of the display device to be blurred by determining a virtual circle corresponding to the display device. That is, the electronic device can determine the virtual center position and radius length according to the physical resolution, display size and blur width in response to the device shape of the display device being circular, and then determine the first virtual circle corresponding to the display device according to the center position and radius length, and finally determine the area surrounded by the outer edge of the virtual circle and the outer edge of the display device as the area to be blurred. Among them, the electronic device can first determine the number of pixels included in the display device and the distribution method according to the physical resolution and display size. Since the display device is circular in shape, the pixels of the display device are distributed in a circular shape, and the center position of the circularly distributed pixels is further determined as the center of the first virtual circle, and the radius length of the first virtual circle is the number of pixel layers of the circular distribution minus the preset blur width.
[0100] Figure 3 A schematic diagram showing a region to be blurred in a circular display device according to an embodiment of the present disclosure is shown. Figure 3As shown, the pixel distribution shape of the circular display device is a circle, and the electronic device determines the center of the pixel as a circle (Ox, Oy), and determines a virtual circle according to the radius Rx, and then determines the area to be blurred according to the pixels corresponding to the virtual circle and the edge of the screen. The number of pixel layers in the area to be blurred is the blur width W layers.
[0101] Optionally, in the case where the display device is elliptical in shape, the electronic device can determine the area to be blurred of the display device by determining the virtual ellipse corresponding to the display device. That is, the electronic device can determine the virtual symmetry center point, the short symmetry axis length and the long symmetry axis length according to the physical resolution, display size and blur width in response to the device shape of the display device being elliptical. Determine the virtual ellipse corresponding to the display device according to the symmetry center point, the short symmetry axis length and the long symmetry axis length. Then determine the area surrounded by the outer edge of the virtual ellipse and the outer edge of the display device as the area to be blurred. Among them, the electronic device can first determine the number of pixels included in the display device and the distribution method according to the physical resolution and display size. Since the display device is elliptical in shape, the pixels of the display device are distributed in an elliptical shape, and further determine the center position of the elliptical distribution pixels as the center of the virtual ellipse. The short symmetry axis length and the long symmetry axis length of the virtual ellipse are respectively determined according to the number of pixel layers on the shortest symmetry axis and the number of pixel layers on the longest symmetry axis of the elliptical distribution and the preset blur width. The distance between the outer edge of the virtual ellipse and the pixel corresponding to the outer edge of the display device is the blur width.
[0102] Optionally, in the case where the display device is in the shape of a rounded square, the electronic device may also match each rounded corner through a virtual circle corresponding to the display device to determine the area to be blurred on the display device. That is, the electronic device may determine the virtual center position and radius length of the target rounded corner according to the physical resolution, display size, and blurred width in response to the display device being in the shape of a rounded square, and then determine the corresponding second virtual circle according to the center position and radius length of the target rounded corner, and the edge of the target rounded corner overlaps with a partial arc of the second virtual circle. By translating the second virtual circle toward other rounded corners in the rounded square, the overlapping arcs of each rounded corner and the second virtual circle are obtained. The area with the blurred width extended inward from each overlapping arc position is determined as the area to be blurred.
[0103] Among them, the electronic device can first determine the number of pixels included in the display device and the distribution method according to the physical resolution and display size. Since the display device is in the shape of a rounded square, the pixels of the display device are distributed in a rounded square. The electronic device can determine a rounded corner as the target rounded corner, and determine a second virtual circle with a circular arc that overlaps with the target rounded corner. Further, the second virtual circle is translated and expanded to other rounded corners respectively, and the overlapping circular arcs that overlap with other rounded corners are determined to obtain the overlapping circular arc position of each rounded corner of the rounded square. Optionally, the overlapping circular arc can be an arc of any size such as a 1 / 4 arc and a 1 / 6 arc. For example, the electronic device can first determine the second virtual circle that matches the upper left corner arc, and then translate the second virtual circle to the right, bottom, and lower right directions respectively to determine the overlapping circular arc position. After obtaining the overlapping circular arcs in which each rounded corner in the rounded direction overlaps with the second virtual circle, the pixels at the position of each overlapping circular arc can be respectively expanded inward by the pixel layer corresponding to the blur width to obtain the area to be blurred. Figure 4 A schematic diagram showing a region to be blurred in a rounded square display device according to an embodiment of the present disclosure. Figure 4 As shown, the pixel distribution shape of the rounded square display device is a rounded square, and the electronic device determines that the rounded corner in the upper left corner is the target rounded corner. A second virtual circle having an overlapping arc R1 with the target rounded corner is further determined. The second virtual circle is translated to the right, down, and lower right directions respectively to determine the positions of the overlapping arcs R2, R3, and R4 corresponding to each rounded corner. The pixels at the positions where the overlapping arcs of each R1, R2, R3, and R4 are located are respectively expanded inward by the pixel layer corresponding to the blur width W to obtain the area to be blurred.
[0104] The method of determining the area to be blurred corresponding to the rounded square display device in the embodiment of the present disclosure can optimize only the rounded corner part with the jagged effect, retaining the full pixel display of the straight edge part, which can effectively reduce the display area loss caused by the optimization of the edge jagged effect.
[0105] In one possible implementation, the curved edges of the display device all have corresponding areas to be blurred. Therefore, in the case where the display device includes reserved areas for devices such as a camera device and a receiver, it is necessary to determine the areas to be blurred at the edges of the reserved areas according to the situation of the reserved areas. Optionally, the reserved areas may include a first reserved area where the edges need to be blurred and a second reserved area where the edges do not need to be blurred. For the first reserved area that needs to be blurred, the corresponding area to be blurred can be determined based on the position and shape of the first reserved area. The first reserved area can be, for example, the area where the "bangs" in the "bangs screen" are located, or the area where the water droplets in the "water drop screen" are located, and the second reserved area can be, for example, the reserved hole area for placing the physical watch hands.
[0106] Optionally, for a first reserved area of any shape, the television device can first determine a third virtual circle corresponding to the first reserved area according to the position and size of the first reserved area. Then, the edge of the third virtual circle is extended according to the blur width to determine the area to be blurred. Wherein, in the case where the first reserved area is a circular area, the third virtual circle can be a circle with the same radius as the first reserved area, and the area with the blur width extended outward from the edge of the third virtual circle is determined as the area to be blurred. Alternatively, in the case where the first reserved area is a rounded groove type area, the third virtual circle can be determined based on one of the rounded corners, and part of the arc coincides with the rounded arc. Further determine the arc position where the third virtual circle coincides with each rounded corner in the rounded groove type area, and determine the area with the blur width extended outward from each overlapping arc position as the area to be blurred.
[0107] Figure 5 A schematic diagram showing the area to be blurred of another rounded square display device according to an embodiment of the present disclosure. Figure 5 As shown, in the case where the first reserved area is a rounded groove type area, the third virtual circle in which the partial arc R3 overlaps with one of the rounded corners can be determined first, and then the center translation area of the third virtual circle is determined from the horizontal starting position (x_start, y) to the horizontal ending position (x_end, y). The third virtual circle is translated from the horizontal starting position to the horizontal ending position, so that the partial arc R4 overlaps with another rounded corner. Furthermore, the areas of the positions R2 and R4 where the two rounded corners overlap with the arcs can be respectively expanded outward by the virtual width as the area to be blurred.
[0108] In a possible implementation, when the display device includes a second reserved area, the fourth virtual circle corresponding to the second reserved area can also be determined according to the position and size of the second reserved area to characterize the pixels included in the second reserved area. Since both the first reserved area and the second reserved area are areas where image information does not need to be displayed. Therefore, when the display device includes at least one of the first reserved area and the second reserved area, the electronic device can also adjust the grayscale value of the first reserved area and / or the second reserved area to a target value according to the third virtual circle and / or the fourth virtual circle, that is, all pixels in the first reserved area and the second reserved area are adjusted to the same grayscale value. Among them, the target value can be 0, that is, the brightness of the pixels in the first reserved area and the second reserved area is adjusted to the minimum.
[0109] Step S40: adjusting the grayscale value of each pixel in the area to be blurred according to the compensation coefficient.
[0110] In a possible implementation, since the area to be blurred includes at least two layers of pixels extending inward from the edge of the display device, the electronic device can adjust the corresponding grayscale value according to the position of the pixel layer where each pixel in the area to be blurred is located, so that the grayscale value of each layer of pixels after adjustment is the same. Optionally, the difference in grayscale values of pixels in adjacent layers is determined according to a compensation coefficient. For example, when the compensation coefficient is 20%, the difference in grayscale values of pixels in adjacent layers is 20%.
[0111] Optionally, the embodiment of the present disclosure may also predetermine the grayscale value of the edge of the display device, so as to adjust the grayscale value of each layer of pixels in the area to be blurred according to the grayscale value of the pixel layer corresponding to the edge. For example, when the grayscale value of the edge of the display device is predetermined to be 20%, and the compensation coefficient is 20%, the grayscale value of each pixel in the pixel layer corresponding to the edge of the display device in the area to be blurred is determined to be 20%, and the grayscale value is increased by 20% each time the grayscale value is increased inwards, until the adjustment of the entire area to be blurred is completed, or the grayscale value of one layer of pixels reaches 100%, the grayscale value adjustment process is terminated.
[0112] Based on the above adjustment method, the embodiment of the present disclosure can optimize the jagged edges of the plane of the display device of any shape by determining the area to be blurred in a targeted manner. At the same time, by flexibly adjusting the size and grayscale value of the area to be blurred, the accuracy of the adjustment of the area to be blurred is improved, the possibility of the adjustment area being too small affecting the effect or the adjustment area being too large occupying the display area is reduced, and the jagged edge effect of the display device is smoothly optimized, making the display effect more natural.
[0113] Exemplarily, the electronic devices in this embodiment include but are not limited to desktop computers, televisions, mobile devices with large screens such as mobile phones, tablet computers, and other common electronic devices that require multiple chips to be cascaded to achieve driving.
[0114] Exemplarily, the electronic device may also be a user equipment (UE), a mobile device, a user terminal, a terminal, a handheld device, a computing device or a vehicle-mounted device, etc. Exemplarily, some examples of terminals are: a display, a smart phone or a portable device, a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile Internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control (Industrial Control), a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid (Smart Grid), a wireless terminal in transportation safety (Transportation Safety), a wireless terminal in smart city (Smart City), a wireless terminal in smart home (Smart Home), a wireless terminal in Internet of Vehicles, etc. For example, the server may be a local server or a cloud server.
[0115] Figure 6 A schematic diagram of a display device adjustment device according to an embodiment of the present disclosure is shown. Figure 6 As shown, the display adjustment device of the embodiment of the present disclosure may include:
[0116] An information determination module 60, configured to determine physical property information of a display device, wherein the physical property information includes a device shape;
[0117] A coefficient determination module 61, used to determine the blur width and the compensation coefficient;
[0118] An area determination module 62, configured to determine a to-be-defocused area in the display device according to the defocused width and the physical property information, wherein the width of the to-be-defocused area is the defocused width, and an outer edge thereof corresponds to an outer edge of the display device;
[0119] The grayscale adjustment module 63 is used to adjust the grayscale value of each pixel in the area to be blurred according to the compensation coefficient, wherein the area to be blurred includes at least two layers of pixels extending inward from the edge of the display device, wherein the grayscale value of each layer of pixels is the same, and the difference in grayscale values of adjacent layers of pixels is determined according to the compensation coefficient.
[0120] In a possible implementation, the shape of the device includes a circle, an ellipse, and a rounded square.
[0121] In a possible implementation, the physical attribute information further includes physical resolution and display size;
[0122] The area determination module 62 includes:
[0123] A first parameter determination submodule, configured to determine a virtual center position and a radius length according to the physical resolution, the display size and the blur width in response to the device shape of the display device being circular;
[0124] A first virtual circle determination submodule, configured to determine a first virtual circle corresponding to the display device according to the center position and the radius length;
[0125] The first area determination submodule is used to determine the area surrounded by the outer edge of the virtual circle and the outer edge of the display device as the area to be blurred.
[0126] In a possible implementation, the region determination module 62 includes:
[0127] A second parameter determination submodule, configured to determine a virtual symmetry center point, a short symmetry axis length, and a long symmetry axis length according to the physical resolution, the display size, and the blur width in response to the device shape of the display device being an ellipse;
[0128] An ellipse determination submodule, used to determine a virtual ellipse corresponding to the display device according to the symmetry center point, the length of the short symmetry axis and the length of the long symmetry axis;
[0129] The second area determination submodule is used to determine the area surrounded by the outer edge of the virtual ellipse and the outer edge of the display device as the area to be blurred.
[0130] In a possible implementation, the region determination module 62 includes:
[0131] A third parameter determination submodule is used for determining a virtual center position and radius length of a target rounded corner according to the physical resolution, the display size and the blur width in response to the device shape of the display device being a rounded square;
[0132] A second virtual circle determination submodule, configured to determine a corresponding second virtual circle according to the center position and radius length of the target fillet, wherein the edge of the target fillet coincides with a partial arc of the second virtual circle;
[0133] An arc matching submodule, used for obtaining an arc of overlap between each of the rounded corners and the second virtual circle by translating the second virtual circle toward other rounded corners in the rounded square;
[0134] The third area determination submodule is used to determine an area whose blur width is extended inward from each of the overlapping arc positions as the area to be blurred.
[0135] In a possible implementation manner, the physical property information further includes a non-display area reserved in the display device for at least one of the first reserved area and the second reserved area.
[0136] In a possible implementation, in response to the physical attribute information including the first reserved area, the area determination module 62 further includes:
[0137] A third virtual circle determining submodule, configured to determine a third virtual circle corresponding to the first reserved area according to the position and size of the first reserved area;
[0138] The fourth area determination submodule is used to perform edge extension on the third virtual circle according to the blur width to determine the area to be blurred.
[0139] In a possible implementation, in response to the first reserved area being a circular area, the fourth area determination submodule includes:
[0140] The first area determination unit is used to determine an area with a blur width extending outward from the edge of the third virtual circle as the area to be blurred.
[0141] In a possible implementation, in response to the first reserved area being a rounded groove type area, the fourth area determination submodule includes:
[0142] An arc matching unit, used for determining the arc position where the third virtual circle overlaps with each fillet in the fillet groove type area;
[0143] The second area determination unit is used to determine an area with a blur width extending outward from each of the overlapping arc positions as the area to be blurred.
[0144] In a possible implementation manner, in response to the physical attribute information including the second reserved area, the apparatus further includes:
[0145] a virtual circle determining module, configured to determine a fourth virtual circle corresponding to the second reserved area according to the position and size of the second reserved area;
[0146] The reserved area adjustment module is used to adjust the grayscale value of the first reserved area and / or the second reserved area to a target value according to the third virtual circle and / or the fourth virtual circle.
[0147] Figure 71 is a block diagram of an electronic device 1900 according to an embodiment of the present disclosure. For example, the electronic device 1900 may be provided as a server or a terminal device. Figure 7 , the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as applications, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0148] The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
[0149] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to perform the above method.
[0150] The above description is merely an exemplary embodiment of the present invention and is not intended to limit the protection scope of the present invention. The protection scope of the present invention is determined by the appended claims.
[0151] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0152] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0153] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0154] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A display device adjustment method, characterized in that: The method comprises: Determining physical property information of a display device, wherein the physical property information includes a shape of the device; Determine blur width and compensation coefficient; Determine a region to be blurred in the display device according to the blur width and the physical property information, wherein the width of the region to be blurred is the blur width, and an outer edge thereof corresponds to an outer edge of the display device; Adjusting the grayscale value of each pixel in the area to be blurred according to the compensation coefficient, wherein the area to be blurred includes at least two layers of pixels extending inward from the edge of the display device, wherein the grayscale value of each layer of pixels is the same, and the difference in grayscale values of pixels in adjacent layers is determined according to the compensation coefficient; Wherein, the device shape is used to characterize the physical shape of the display device; The physical property information also includes physical resolution and display size.
2. The method according to claim 1, characterized in that The shapes of the device include circle, oval and rounded square.
3. The method according to claim 2, characterized in that The determining the area to be blurred in the display device according to the blur width and the physical property information includes: In response to the device shape of the display device being circular, determining a virtual center position and a radius length according to the physical resolution, the display size, and the virtual width; Determine a first virtual circle corresponding to the display device according to the center position of the circle and the radius length; Determine the area surrounded by the outer edge of the virtual circle and the outer edge of the display device as the area to be blurred.
4. The method according to claim 2 or 3, characterized in that: The determining the area to be blurred in the display device according to the blur width and the physical property information includes: In response to the device shape of the display device being an ellipse, determining a virtual symmetry center point, a short symmetry axis length, and a long symmetry axis length according to the physical resolution, the display size, and the blur width; Determine a virtual ellipse corresponding to the display device according to the symmetry center point, the length of the short symmetry axis and the length of the long symmetry axis; An area enclosed by an outer edge of the virtual ellipse and an outer edge of the display device is determined as the area to be blurred.
5. The method according to claim 2 or 3, characterized in that: The determining the area to be blurred in the display device according to the blur width and the physical property information includes: In response to the display device being in a rounded square shape, determining a virtual center position and radius length of a target rounded corner according to the physical resolution, the display size, and the blur width; Determine a corresponding second virtual circle according to the center position and radius length of the target fillet, wherein the edge of the target fillet coincides with a partial arc of the second virtual circle; By translating the second virtual circle toward other rounded corners in the rounded square, a coincident arc between each rounded corner and the second virtual circle is obtained; An area whose blur width is extended inward from each of the overlapping arc positions is determined as the area to be blurred.
6. The method according to claim 2, characterized in that The physical property information also includes a non-display area reserved in the display device for at least one of the first reserved area and the second reserved area.
7. The method according to claim 6, characterized in that In response to the physical property information including a first reserved area, the determining the area to be blurred in the display device according to the blur width and the physical property information further includes: Determine a third virtual circle corresponding to the first reserved area according to the position and size of the first reserved area; The edge of the third virtual circle is extended according to the blur width to determine the area to be blurred.
8. The method according to claim 7, characterized in that In response to the first reserved area being a circular area, the step of extending the edge of the third virtual circle according to the blur width to determine the area to be blurred includes: An area whose blur width is extended outward from the edge of the third virtual circle is determined as the area to be blurred.
9. The method according to claim 8, characterized in that In response to the first reserved area being a rounded groove type area, the step of extending the edge of the third virtual circle according to the blur width to determine the area to be blurred includes: Determine the arc position where the third virtual circle overlaps with each rounded corner in the rounded groove type area; An area whose blur width is extended outward from each of the overlapping arc positions is determined as the area to be blurred.
10. The method according to claim 7, characterized in that In response to the first reserved area being a rounded groove type area, the step of extending the edge of the third virtual circle according to the blur width to determine the area to be blurred includes: Determine the arc position where the third virtual circle overlaps with each rounded corner in the rounded groove type area; An area whose blur width is extended outward from each of the overlapping arc positions is determined as the area to be blurred.
11. The method according to any one of claims 7 to 9, characterized in that: In response to the physical property information including a second reserved area, the method further includes: Determine a fourth virtual circle corresponding to the second reserved area according to the position and size of the second reserved area; The grayscale value of the first reserved area and / or the second reserved area is adjusted to a target value according to the third virtual circle and / or the fourth virtual circle.
12. A display device adjustment device, characterized in that: The device comprises: An information determination module, configured to determine physical property information of a display device, wherein the physical property information includes a device shape; A coefficient determination module, used for determining blur width and compensation coefficient; an area determination module, configured to determine an area to be blurred in the display device according to the blur width and the physical property information, wherein the width of the area to be blurred is the blur width, and an outer edge thereof corresponds to an outer edge of the display device; A grayscale adjustment module, configured to adjust the grayscale value of each pixel in the area to be blurred according to the compensation coefficient, wherein the area to be blurred includes at least two layers of pixels extending inward from the edge of the display device, wherein the grayscale value of each layer of pixels is the same, and the difference in grayscale values of pixels in adjacent layers is determined according to the compensation coefficient; Wherein, the device shape is used to characterize the physical shape of the display device; The physical property information also includes physical resolution and display size.
13. A display device, characterized in that: The device comprises a plurality of display units and at least one display device adjustment device according to claim 12 .
14. The display device according to claim 13, characterized in that The display unit includes a display panel, and the display panel includes at least one of a liquid crystal display panel, a micro light emitting diode display panel, a light emitting diode display panel, a mini light emitting diode display panel, a quantum dot light emitting diode display panel, an organic light emitting diode display panel, a cathode ray tube display panel, a digital light processing display panel, a field emission display panel, a plasma display panel, an electrophoretic display panel, an electrowetting display panel and a small pitch display panel.
15. An electronic device comprising the display device according to claim 13 or 14.
16. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method described in any one of claims 1 to 11 when executing the instructions stored in the memory.
17. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
Display method and display device
CN111081149A
Pixel compensation method
CN111276088A