Image display method, display device, and storage device
By defining the transition area in the full screen display panel and adjusting its grayscale, the problem of obvious dividing line between the first display area and the second display area is solved, and the display effect is improved.
Patent Information
- Application Number
- CN202210716476.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-22
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2042-06-22
AI Technical Summary
In the full-screen display panel, when the first display area and the second display area display solid color images at the same time, a dividing line visible to the human eye is likely to appear, resulting in poor display effect.
By obtaining the grayscale data of the preset grayscale image and defining the transition area in the display interface, the pixel grayscale in the transition area is adjusted so that it gradually changes from the grayscale in the first display area to the grayscale in the second display area.
The probability of a visible dividing line between the first display area and the second display area is reduced, and the display effect is improved.
Smart Images

Figure CN115206228B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of display technology, and particularly relates to an image display method, a display device, and a storage device. Background Art
[0002] In order to pursue a high screen-to-body ratio, a full-screen display panel has emerged. The full-screen display panel generally includes a first display area and a second display area, and the first display area is used to correspond to the position of the under-screen camera. In order to ensure the normal operation of the under-screen camera, the light transmittance of the first display area is generally greater than that of the second display area to ensure the light transmissibility of the first display area.
[0003] However, the inventors of this application found in the long-term research process that when the first display area and the second display area simultaneously display a solid-color picture, a visible boundary appears between the first display area and the second display area, and the display effect is not good. Summary of the Invention
[0004] This application provides an image display method, a display device, and a storage device to reduce the probability of a visible boundary appearing between the first display area and the second display area when a preset grayscale image is displayed.
[0005] To solve the above technical problems, a technical solution adopted in this application is: to provide an image display method, including: obtaining a preset grayscale image to be displayed; wherein, the preset grayscale image is used for display on a display interface, the display interface includes a first display area and a second display area arranged adjacent to each other, the light transmittance of the first display area is greater than that of the second display area, and a boundary is defined between the first display area and the second display area; retrieving grayscale data corresponding to the preset grayscale image; displaying the preset grayscale image based on the grayscale data; wherein, a transition area is defined on the display interface, the transition area at least includes the boundary; the first display area outside the transition area has a first grayscale, and the second display area outside the transition area has a second grayscale; in a first direction from the first display area to the second display area, the grayscale value of the transition area gradually changes from the first grayscale to the second grayscale.
[0006] To solve the above technical problems, another technical solution adopted by this application is: to provide an image display method, including: when displaying a preset grayscale image on a display interface, obtaining a first grayscale of a first display area and a second grayscale of a second display area; wherein, the first display area and the second display area are adjacently arranged, and the light transmittance of the first display area is greater than that of the second display area, and a boundary is defined between the first display area and the second display area; determining a transition area based on the boundary; adjusting the grayscale of at least some pixel points in the transition area so that in a first direction from the first display area to the second display area, the grayscale value of the transition area gradually changes from the first grayscale to the second grayscale.
[0007] To solve the above technical problems, another technical solution adopted by this application is: to provide a storage device storing program instructions that can be run by a processor, and the program instructions are used to implement the image display method described in any one of the above embodiments.
[0008] Different from the prior art, the beneficial effect of this application is: when the display panel provided by this application displays a preset grayscale image, it will first retrieve and obtain grayscale data corresponding to the preset grayscale image to be displayed, and then display the preset grayscale image based on the grayscale data; wherein, a transition area is defined on the display interface, and the transition area at least includes a boundary; a first display area outside the transition area has a first grayscale, and a second display area outside the transition area has a second grayscale; in a first direction from the first display area to the second display area, the grayscale value of the transition area gradually changes from the first grayscale to the second grayscale; at this time, the brightness in the transition area can gradually change from the brightness of the first display area to the same as the brightness of the second display area in the first direction, so as to achieve the purpose of reducing the probability of a visible boundary between the first display area and the second display area to improve the display effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] To more clearly illustrate the technical solutions in the embodiments of this application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of this application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings, where:
[0010] Figure 1 It is a schematic structural diagram of an embodiment of a display panel;
[0011] Figure 2 It is a schematic flowchart of an embodiment of the image display method of this application;
[0012] Figure 3 For Figure 1Structural schematic diagram of another embodiment of the middle boundary and transition region;
[0013] Figure 4 is Figure 2 Flow schematic diagram of an embodiment corresponding to step S103 in;
[0014] Figure 5 is Figure 4 Structural schematic diagram of an embodiment corresponding to step S201 in;
[0015] Figure 6 is Figure 5 Structural schematic diagram of an embodiment corresponding to step S301 in;
[0016] Figure 7 is Figure 5 Structural schematic diagram of another embodiment corresponding to step S301 in;
[0017] Figure 8 Flow schematic diagram of an embodiment of the image display method of the present application;
[0018] Figure 9 Structural schematic diagram of an embodiment of the display device of the present application;
[0019] Figure 10 Structural schematic diagram of an embodiment of the storage device of the present application. Specific embodiments
[0020] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0021] Please refer to Figure 1 , Figure 1It is a schematic structural diagram of an embodiment of a display panel. The display panel 10 can be an OLED display panel, a Micro-LED display panel, etc.; and in order to achieve a full-screen effect, the display panel 10 includes a display interface, and the display interface includes a first display area 100 (also referred to as a secondary screen display area) and a second display area 102 (also referred to as a main screen display area) that are adjacent to each other. The first display area 100 is used to correspond to the position of a light-sensing element (such as an under-screen camera, etc.). Optionally, the second display area 102 can be arranged around the periphery of the first display area 100. And the shape of the orthographic projection of the first display area 100 on the display surface of the display panel 10 can be circular, oval, rounded rectangle, etc., and the present application does not limit this. Further, in order to ensure the light-sensing effect of the light-sensing element, the light transmittance of the first display area 100 is greater than that of the second display area 102.
[0022] However, this method will cause the brightness of the second display area 102 and the first display area 100 to be inconsistent when the display panel 10 displays a solid-color picture, and there is a visible boundary between the second display area 102 and the first display area 100.
[0023] In order to solve the above technical problems and for the convenience of understanding, the debugging process of the display panel 10 before leaving the factory will be introduced first; please refer to Figure 2 , Figure 2 It is a schematic flowchart of an embodiment of the image display method of the present application. The image display method specifically includes:
[0024] S101: When displaying a preset grayscale image on the display interface, obtain the first grayscale of the first display area 100 and the second grayscale of the second display area 102; wherein, the first display area 100 and the second display area 102 are adjacent to each other, and the light transmittance of the first display area 100 is greater than that of the second display area 102, and a boundary 1000 is defined between the first display area 100 and the second display area 102.
[0025] Specifically, generally speaking, the display panel generally has 0-255 grayscales. The maximum brightness of a small-sized display panel can reach 500 nits, and the maximum brightness of a display panel for some special industry applications can reach 1500 nits. Therefore, a grayscale usually corresponds to a brightness range. The implementation process of the above step S101 can be: obtain the target brightness of the preset grayscale image, and obtain the grayscale corresponding to the brightness closest to the target brightness from the stored grayscale data of the first display area 100 as the first grayscale; and obtain the grayscale corresponding to the brightness closest to the target brightness from the stored grayscale data of the second display area 102 as the second grayscale.
[0026] In one embodiment, the specific implementation process of the above step S101 may be as follows: Place the display interface in a pre-set two-dimensional coordinate system. For example, the display interface may be rectangular, a corner of the display interface coincides with the origin of the two-dimensional coordinate system, and two adjacent sides in the display interface respectively coincide with the coordinate axes of the two-dimensional coordinate system. Then, based on the position information of the first display area 100 and the second display area 102 in the display panel 10 during the design stage, obtain the coordinate information of the first display area 100 and the second display area 102 in the current two-dimensional coordinate system respectively, and determine the boundaries 1000 of the first display area 100 and the second display area 102.
[0027] In some cases, due to errors in the manufacturing process and other situations, there may be a deviation between the position information of the first display area 100 and the second display area 102 during the design stage and the position information after the manufacturing process is completed. The specific implementation process of the above step S101 may be as follows: Place the display interface in a pre-set two-dimensional coordinate system; then, based on the actual position information of the first display area 100 and the second display area 102 in the display panel 10 after the manufacturing process is completed, obtain the coordinate information of the first display area 100 and the second display area 102 in the current two-dimensional coordinate system respectively, and determine the boundaries 1000 of the first display area 100 and the second display area 102; wherein, the process of obtaining the actual position information of the first display area 100 and the second display area 102 after the manufacturing process is completed may be as follows: Obtain the light transmittance at each position of the display panel, define the area with a light transmittance greater than the threshold as the first display area 100, and define the area with a light transmittance less than or equal to the threshold as the second display area 102. Optionally, a pseudo-edge (such as a fitted circle) may be drawn on the display interface according to the edge shape (such as a circle, etc.) of the first display area 100 and the position information of the first display area 100; obtain each pixel point intersecting with the pseudo-edge; determine whether each intersecting pixel point belongs to the first display area 100 or the second display area 102, and adaptively adjust the pseudo-edge to obtain the boundary. For example, the pixel points intersecting with the pseudo-edge are divided into two areas by the pseudo-edge, namely the first area and the second area, and the first area is closer to the first display area 100 than the second area; when the area of the first area is greater than that of the second area, the current pixel point may be attributed to the first display area 100; otherwise, the current pixel point may be attributed to the second display area 102. It can be known that the finally obtained boundary is in a jagged shape and extends along the edge of the pixel point without crossing the inside of the pixel point.
[0028] In another embodiment, before the above step S101, it may further include: when the display panel 10 displays a preset grayscale image, performing brightness compensation on the first display area 100 and / or the second display area 102, so that the brightness difference between the first display area 100 and the second display area 102 is small; wherein, after the brightness compensation, the first display area 100 has a first grayscale and the second display area 102 has a second grayscale. Optionally, the process of the above brightness compensation may be: A. When the display interface displays a preset grayscale image, obtain the first average brightness of the first display area 100 and the second average brightness of the second display area 102. B. Adjust the grayscale of the first display area 100 and / or the second display area 102 so that the difference between the first average brightness of the first display area 100 and the second average brightness of the second display area 102 is small; for example, the grayscale of the first display area 100 may be adjusted based on the second average brightness of the second display area 102; specifically, a brightness grayscale curve composed of multiple grayscales and corresponding brightnesses of the first display area 100 may be obtained in advance; based on the second average brightness, obtain the grayscale corresponding to the brightness closest to the second average brightness from the brightness grayscale curve of the first display area 100, and use this grayscale as the first grayscale of the adjusted first display area 100. In short, after the brightness compensation, the first display area 100 has a first grayscale and the second display area 102 has a second grayscale.
[0029] S102: Determine the transition region 104 based on the boundary 1000.
[0030] Specifically, in addition to including the boundary 1000, the transition region 104 may further include a part of the first display area 100 and / or a part of the second display area 102.
[0031] Optionally, referring again to Figure 1 , the specific implementation process of the above step S102 may be: magnify the boundary 1000 centered on the center point O of the first display area 100 to obtain an outer edge 1040, and reduce the boundary 1000 centered on the center point O to obtain an inner edge 1042; wherein, the transition region 104 is formed between the inner edge 1042 and the outer edge 1040. That is, at this time, the transition region 104 includes the boundary 1000, a part of the first display area 100 and a part of the second display area 102. The above method of determining the transition region 104 is relatively simple and easy to implement.
[0032] Another optionally, in some cases, the boundary 1000 between the first display area 100 and the second display area 102 may be an irregular figure. At this time, the above step S102 specifically includes: fitting the boundary 1000 between the first display area 100 and the second display area 102. For example, it is fitted into a circle (such as Figure 1as shown in [FIGURE], or rectangular, etc.; then, based on the fitted boundary 1000, the transition region 104 is determined. This design method can reduce the processing difficulty of subsequent steps.
[0033] Alternatively, the boundary 1000 is located at the middle position of the transition region 104. This design method can better reduce the probability of a visible demarcation between the subsequent second display area 102 and the first display area 100 to the human eye.
[0034] In an application scenario, as Figure 1 shown in [FIGURE], the boundary 1000, the inner edge 1042 of the transition region 104, and the outer edge 1040 of the transition region 104 are all serrated, which can correspond to a fitted circle; and the radius of the fitted circle corresponding to the boundary 1000 is R, the radius of the fitted circle corresponding to the inner edge 1042 is R / 2, and the radius of the fitted circle corresponding to the outer edge 1040 is 3 / 2R. At this time, the ring width of the transition region 104 is R. The design method of this transition region 104 is relatively simple, and the processing difficulty of the processor is relatively low.
[0035] Of course, in other application scenarios, the design methods of the boundary 1000 and the transition region 104 can also be others. For example, as Figure 3 shown in [FIGURE], Figure 3 is Figure 1 a schematic structural diagram of another implementation manner of the boundary and the transition region in [FIGURE]. The boundary 1000, the inner edge 1042 of the transition region 104, and the outer edge 1040 of the transition region 104 can all correspond to a fitted rectangle; and the height of the fitted rectangle corresponding to the boundary 1000 is D, the height of the fitted rectangle corresponding to the inner edge 1042 is 0.5D, and the height of the fitted rectangle corresponding to the outer edge 1040 is 1.5D. At this time, the ring width of the transition region 104 is 0.5D. This design method of the transition region 104 also has the above advantages.
[0036] S103: Adjust the gray levels of at least some of the pixel points in the transition region 104 so that, in the first direction from the first display area 100 to the second display area 102, the gray level values of the transition region 104 gradually change from the first gray level to the second gray level.
[0037] Specifically, please refer to Figure 4 , Figure 4 is Figure 2 a schematic flowchart of an implementation manner corresponding to step S103 in [FIGURE]. The specific implementation process of the above step S103 can be:
[0038] S201: Assign marker values to at least some of the pixel points located in the transition region 104 respectively; where the marker values include a first marker value and a second marker value, and in the first direction from the first display area 100 to the second display area 102, the density of the pixel points with the second marker value increases.
[0039] Specifically, the first marker value can be 0 and the second marker value can be 1; alternatively, the first marker value is 1 and the second marker value is 0; as long as the first marker value and the second marker value are different.
[0040] In one embodiment, please refer to Figure 5 , Figure 5 which is Figure 4 a schematic flowchart of an embodiment corresponding to step S201 in
[0041] S301: In the circumferential direction (i.e., the direction marked as X in Figure 6 which is not shown in Figure 6 ) of the first display area, the transition area 104 is divided into a plurality of transition sub-areas 1044; wherein, in the first direction from the first display area to the second display area, at least some of the transition sub-areas 1044 are defined with a plurality of dividing lines 1046 arranged at intervals.
[0042] Specifically, please refer to Figure 6 , Figure 6 which is Figure 5 a schematic structural diagram of an embodiment corresponding to step S301 in Figure 6 In
[0043] the transition area 104 is schematically divided into eight transition sub-areas 1044. It can be known that in other embodiments, the transition area 104 can also be divided into other numbers of transition sub-areas 1044. Optionally, each of the divided transition sub-areas 1044 has the same shape. This design method can reduce the implementation difficulty of step S301 and can also reduce the calculation difficulty in the subsequent assignment process. Figure 6 In addition, it can be seen that in the first direction from the first display area (not shown in
[0044] to the second display area, at least some of the transition sub-areas 1044 are defined with a plurality of dividing lines 1046, and the intervals between adjacent dividing lines 1046 within the same transition sub-area 1044 can be the same to reduce the implementation difficulty of step S201.
[0045] S302: Assign marker values to the pixel points on each demarcation line 1046 within at least a part of the transition sub-region 1044 respectively; wherein, the pixel points on the same demarcation line 1046 have a first marker value or a second marker value, and the ratio of the number of pixel points with the second marker value on the same demarcation line 1046 to the number of all pixel points on the demarcation line 1046 where they are located is a first ratio, and the first ratio increases in the first direction.
[0046] Specifically, in one embodiment, the implementation manner of the above step S302 can be:
[0047] A. Set the insertion ratio K corresponding to the current demarcation line 1046.
[0048] Optionally, as Figure 6 shown, a single pixel point has a first length pl, and the transition region 104 includes an inner edge 1042 closest to the center point O; the interval between any demarcation line 1046 and the inner edge 1042 is an integer multiple N of the first length pl. On this basis, the implementation process of the above step A can be: a) Determine the pixel interval Gnum corresponding to the ring width based on the ratio of the ring width of the transition region 104 to the first length pl; for example, assume Figure 6 the ring width is R in the figure, then it is expressed by the formula: Gnum = R / pl. b) Take the ratio of the integer multiple N corresponding to the current demarcation line 1046 to the pixel interval Gnum as the insertion ratio K; it is expressed by the formula: K = N / Gnum. This way of setting the insertion ratio K is relatively simple.
[0049] Preferably, the interval between adjacent demarcation lines 1046 in the same transition sub-region 1044 is the first length pl, and the difference between the insertion ratios K corresponding to adjacent demarcation lines 1046 is the reciprocal 1 / Gnum of the first number. For example, as Figure 6 shown, assume the arc radius corresponding to the inner edge 1042 is 0.5R, and the arc radius corresponding to the outer edge 1040 is 0.5R + Gnum*pl, that is, 1.5R; then in the direction away from the center point O, the arc radii corresponding to multiple demarcation lines 1046 are 0.5R + pl, 0.5R + 2*pl, 0.5R + 3*pl…0.5R + (Gnum - 1)*pl respectively; the corresponding insertion ratios K of multiple demarcation lines 1046 can be 1 / Gnum, 2 / Gnum, 3 / Gnum, 4 / Gnum,…, (Gnum - 1) / Gnum respectively. This design method can enable all pixel points within the entire transition sub-region 1044 to be assigned values, so that the fusion effect between the first display area and the second display area is better.
[0050] It should be noted that, as Figure 1As shown, assuming that the size of the display panel is h*w and the resolution of the display panel is H*W, in the height direction L1 of the display panel 10, the first length pl of a single pixel is h / H; in the width direction L2 of the display panel 10, the first length p1 of a single pixel is w / W.
[0051] like Figure 6 As shown in , when the transition area 104 is a circular ring, the first length used when calculating the insertion ratio K may be the first length in the height direction L1 or the width direction L2.
[0052] like Figure 7 As shown in Figure 7 for Figure 5 Schematic diagram of another embodiment corresponding to step S301 in FIG. 1 . When the transition region 104 is a rectangular ring and the transition sub-region 1044 is a rectangle, the first length used when calculating the insertion ratio K can be determined according to the spacing direction of the dividing lines 1046 in the transition sub-region 1044. For example, when the dividing lines 1046 are spaced in the height direction L1, the first length corresponding to the insertion ratio K is calculated as the first length in the height direction L1; when the dividing lines 1046 are spaced in the width direction L2, the first length corresponding to the insertion ratio K is calculated as the first length in the width direction L2.
[0053] B. Obtain the total number num of pixel points that the current dividing line 1046 passes through, and determine the insertion interval based on the first product of the total number num and the insertion ratio K.
[0054] Specifically, when the first product is an integer, the first product is the insertion interval; when the first product is a non-integer, the integer value of the first product can be used as the insertion interval.
[0055] In an application scenario, please continue to refer to Figure 6 , assuming Figure 6 A small square represents a pixel point, and the total number num of pixel points passed by the current dividing line 1046 and the transition sub-area 1044 where it is located can be obtained; for example, the total number is 18, and the insertion ratio K corresponding to the dividing line 1046 set in the above step A is 0.3, then the first product calculated is 5.4, and the corresponding insertion interval is 5.
[0056] C. Assigning label values to all pixel points on the current dividing line 1046 based on the insertion interval; wherein, among the multiple pixel points with the number of consecutive insertion intervals on the current dividing line 1046, one is assigned the first label value, and the rest are assigned the second label value.
[0057] Specifically, in an application scenario, when the total number of pixel points passed by the current dividing line is 18, the insertion ratio K is 0.3, and the insertion interval is 5, then one of every five consecutive pixel points is assigned the first marking value, and four are assigned the second marking value. For another example, when the number of pixel points passed by the current dividing line is 18, the insertion ratio is 0.4, and the insertion interval is 7, then one of every seven consecutive pixel points is assigned the first marking value, and six are assigned the second marking value.
[0058] Optionally, the number of pixel points with the first marking value between two adjacent pixel points with the second marking value on the same dividing line 1046 is the same. One pixel point with the first marking value and at least one pixel point with the second marking value around it form a repeating unit. That is, pixel points with the same number of insertion intervals adjacent to each other on the same dividing line 1046 form a repeating unit. Multiple pixel points within each repeating unit do not overlap, and the assignment rules for multiple pixel points within each repeating unit are the same. For example, when the insertion interval is 5, the assignment rule for multiple pixel points within all repeating units is 0, 0, 0, 0, 1. This design method can reduce the difficulty of assignment and the processing volume of the processor. It should be noted that in some cases, when it is found that the ratio of the total number of all pixel points on the current dividing line 1046 to the insertion interval is a non-integer during assignment, that is, when there are several remaining pixel points on the current dividing line 1046 that cannot form a repeating unit, these remaining pixel points can be directly assigned the first marking value or the second marking value or not marked.
[0059] Another option is that when implementing step C above, marking values can be assigned to all pixel points on the current dividing line 1046 based on the insertion interval in a preset direction; where the preset direction includes the clockwise direction or the counterclockwise direction, and the assignment process for all dividing lines 1046 within the same transition sub-region 1044 is based on the same preset direction. This design method can further reduce the difficulty of assignment and the processing volume of the processor.
[0060] In order to assign values to the pixel points within each transition sub-region 1044, after obtaining multiple transition sub-regions 1044 by division in step S301 above, each transition sub-region 1044 can be defined with a corresponding dividing line. At this time, step S302 above can be performed for each transition sub-region 1044. Of course, in other embodiments, other convenient methods can also be adopted to achieve the above purpose.
[0061] For example, as Figure 6As shown, each of the transition sub-regions 1044 divided during step S301 has the same shape, and one of the transition sub-regions 1044 is defined with a plurality of dividing lines arranged at intervals. At this time, the specific implementation process of the above step S302 can be as follows: A1. Assign marker values to the pixel points on each of the dividing lines 1046 within one of the transition sub-regions 1044; among them, the pixel points on the same dividing line 1046 have a first marker value or a second marker value, and the ratio of the number of pixel points with the second marker value on the same dividing line 1046 to the total number of all pixel points on the dividing line 1046 where it is located is a first ratio, and the first ratio increases in the first direction; specifically, the implementation process of this step A1 can refer to the above steps A - C, which will not be elaborated here. B1. Set the marker values assigned to the pixel points within the remaining transition sub-regions 1044 based on the marker values assigned to the pixel points within one of the transition sub-regions 1044; among them, when one of the transition sub-regions 1044 is rotated to coincide with the remaining transition sub-regions 1044, the marker values assigned to the pixel points at the corresponding positions on the two transition sub-regions 1044 are the same. This way of assigning marker values is relatively simple and can greatly reduce the computational load of the processor.
[0062] In an application scenario, the above process can be implemented based on a kernel function, and the kernel function can be any one in the prior art, which will not be elaborated here. The above step A1 specifically includes: making the center of the kernel function coincide with the center of one of the transition sub-regions 1044, and using the kernel function to assign marker values to the pixel points on each of the dividing lines 1046 within one of the transition sub-regions 1044; among them, the kernel function includes the mapping relationship between the positions of the pixel points in one of the transition sub-regions 1044 and the assigned marker values. The above step B1 specifically includes: after making the center of the kernel function coincide with the center of the remaining transition sub-regions, assigning marker values to the pixel points in the remaining transition sub-regions based on the mapping relationship included in the kernel function; among them, the step of making the center of the kernel function coincide with the center of the remaining transition sub-regions 1044 is equivalent to changing the coordinates of the pixel points in the mapping relationship represented by the kernel function to the coordinates of the pixel points in the remaining transition sub-regions 1044, and subsequent assignment processes can be directly carried out based on the changed mapping relationship. The process of assigning values to the remaining transition sub-regions based on the kernel function is relatively simple.
[0063] In summary, in the above steps S301 - S302, the transition region 104 is subdivided into a plurality of transition sub-regions 1044, and then corresponding marking values are respectively set for at least some of the pixel points within each transition sub-region 1044. This method can improve the effect of removing the visible boundary between the second display area 102 and the first display area 100 subsequently. Of course, in other embodiments, the subdivision process in the above step S201 may not be performed. For example, the implementation process of the above step S201 may be: in the first direction from the first display area 100 to the second display area, a plurality of annular dividing lines arranged at intervals are defined within the transition region 104; marking values are respectively assigned to the pixel points on each annular dividing line; among them, the pixel points on the same annular dividing line have a first marking value or a second marking value, and the ratio of the number of pixel points with the second marking value on the same annular dividing line to the total number of pixel points on the annular dividing line where they are located is a first ratio, and the first ratio increases in the first direction.
[0064] S202: Make the gray level of the pixel points with the first marking value be the first gray level, and make the gray level of the pixel points with the second marking value be the second gray level.
[0065] Specifically, after step S202, in the first direction from the first display area 100 to the second display area, the density of the pixel points with the second gray level in the transition region 104 increases. At this time, the brightness in the transition region 104 can gradually change from the brightness of the first display area 100 to the same brightness as the second display area 102 in the first direction, so as to reduce the probability of a visible boundary between the second display area 102 and the first display area 100 to improve the display effect.
[0066] In addition, the above steps S101 - S103 define the debugging process of the display panel before normal use. For the convenience of subsequent direct calling during the display stage of the display panel, after the above step S103, it further includes: for each preset gray level, burning the position information and the corresponding final gray level of each pixel point in the display panel. When the subsequent display panel is normally displayed after leaving the factory, the image to be displayed in the display panel can be obtained, the target gray level of each pixel point in the image to be displayed can be obtained, and the corresponding final gray level can be directly retrieved from the burned data based on the target gray level and the position information for display.
[0067] The normal display process of the display panel 10 after leaving the factory is introduced below. Please refer to Figure 1 and Figure 8 , Figure 8 is a schematic flowchart of an implementation manner of the image display method of the present application. The image display method includes:
[0068] S401: Obtain a preset grayscale image to be displayed; wherein, the preset grayscale image is used for display on a display interface, the display interface includes a first display area 100 and a second display area 102 which are adjacently arranged, the light transmittance of the first display area 100 is greater than that of the second display area 102, and a boundary 1000 is defined between the first display area 100 and the second display area 102.
[0069] S402: Retrieve grayscale data corresponding to the preset grayscale image.
[0070] Specifically, the grayscale data corresponding to the preset grayscale can be obtained from the burned data according to the preset grayscale, and the grayscale data contains the grayscales corresponding to each pixel point in the first display area 100 and the second display area 102.
[0071] S403: Display the preset grayscale image based on the grayscale data; wherein, a transition area 104 is defined on the display interface, and the transition area 104 at least includes the boundary 1000; the first display area 100 located outside the transition area 104 has a first grayscale, and the second display area 102 located outside the transition area 104 has a second grayscale; in the first direction from the first display area 100 to the second display area 102, the grayscale value of the transition area 104 gradually changes from the first grayscale to the second grayscale.
[0072] At this time, the brightness within the transition area 104 can gradually change from the brightness of the first display area 100 to the same brightness as the second display area 102 in the first direction, so as to achieve the purpose of reducing the probability of a visible boundary between the first display area 100 and the second display area 102 to improve the display effect.
[0073] In one embodiment, the pixel points within the transition area 104 have the first grayscale or the second grayscale, and in the first direction, the density of the pixel points with the second grayscale within the transition area 104 gradually increases. This design method can reduce the difficulty of setting the grayscale of the pixel points within the transition area 104 during the debugging process, and can also make the brightness within the transition area 104 gradually change from the brightness of the first display area 100 to the same brightness as the second display area 102 in the first direction, so as to achieve the purpose of reducing the probability of a visible boundary between the first display area 100 and the second display area 102.
[0074] Optionally, as Figure 1 shown, the transition area 104 is annular, and part of the transition area 104 is located within the first display area 100, and part of the transition area 104 is located within the second display area 102. This setting method of the transition area 104 is relatively simple and easy to implement.
[0075] Furthermore, the center of the transition area 104 (for example, Figure 1The center of the middle O point coincides with the center of the first display area 100 (for example, Figure 1 The middle O point coincides. There is a first distance between the boundary 1000 and the inner edge 1042 of the transition area 104, and a second distance between the boundary 1000 and the outer edge 1040 of the transition area 104. The first distance and the second distance are equal. That is, at this time, the boundary 1000 is located at the middle position of the transition area 104. This design method can reduce the difficulty of setting the transition area 104. It should be noted that when the boundary 1000, the inner edge 1042, and the outer edge 1040 are serrated, the above-mentioned first distance can be the distance between the fitting circle (or fitting rectangle, etc.) corresponding to the boundary 1000 and the fitting circle (or fitting rectangle, etc.) corresponding to the inner edge 1042, and the second distance can be the distance between the fitting circle (or fitting rectangle, etc.) corresponding to the boundary 1000 and the fitting circle (or fitting rectangle, etc.) corresponding to the outer edge 1040.
[0076] In an application scenario, such as Figure 1 As shown, the transition area 104 is a circular ring. The radius of the inner edge 1042 (that is, the radius of the fitting circle corresponding to the inner edge 1042) is 1 / 2 of the radius of the first display area 100, and the radius of the outer edge 1040 (that is, the radius of the fitting circle corresponding to the outer edge 1040) is 3 / 2 of the radius of the first display area 100. For example, the radius of the first display area 100 is R, the radius of the inner edge 1042 is 0.5R, and the radius of the outer edge 1040 is 1.5R.
[0077] In an implementation manner, please refer to Figure 6 , in the circumferential direction of the first display area 100, the transition area 104 is divided into multiple transition sub-areas 1044; among them, in the first direction from the first display area 100 to the second display area 102, a plurality of dividing lines 1046 arranged at intervals are defined in each transition sub-area 1044. The ratio of the number of pixel points with the second gray level to the total number of all pixel points on the dividing line 1046 where they are located is the first ratio, and the first ratio increases in the first direction. That is, in the first direction from the first display area 100 to the second display area 102, the density of the pixel points with the second gray level in each transition sub-area 1044 gradually increases to reduce the probability of the appearance of visible dividing lines to the naked eye.
[0078] Optionally, the number of pixel points with the first gray level between two adjacent pixel points with the second gray level on the same dividing line 1046 is the same, and one pixel point with the first gray level and at least one pixel point with the second gray level around it form a repeating unit. This design method can reduce the difficulty of setting the gray levels of each pixel point during the preliminary debugging process. It can be known that the ratio of the number of pixel points with the second gray level in the repeating unit to the total number of pixel points in the repeating unit is the second ratio, and the second ratio increases in the first direction in which the first display area 100 points to the second display area 102.
[0079] Furthermore, as Figure 6 shown, a single pixel point in the display panel has a first length pl. The specific process of obtaining the first length pl can be referred to the foregoing embodiments and will not be elaborated here. The pixel interval Gnum of the transition region 104 is the ratio of the ring width of the transition region 104 to the first length pl; the transition region 104 includes an inner edge 1040 closest to the center point of the first display area 100, and the interval between any dividing line 1046 and the inner edge 1040 is an integer multiple N of the first length pl. The insertion ratio K corresponding to the dividing line 1046 is the ratio of the integer multiple N corresponding to the dividing line 1046 to the pixel interval Gnum, and the integer value of the product of the insertion ratio K and the total number of pixel points on the dividing line 1046 is the number of all pixel points included in the repeating unit. This design method can reduce the difficulty of setting the gray level values of pixel points during the debugging process.
[0080] Optionally, the interval between adjacent dividing lines 1046 in the same transition sub-region 1044 is the first length pl, and the difference between the insertion ratios K corresponding to adjacent dividing lines 1046 in the same transition sub-region 1044 is the reciprocal 1 / Gnum of the pixel interval. This design method can make the fusion effect between the second display area and the first display area better.
[0081] Optionally, the shapes of each transition sub-region 1044 are the same. When one transition sub-region 1044 is rotated to coincide with another transition sub-region 1044, the gray level values of the pixel points at the corresponding positions on the two transition sub-regions 1044 are the same. This design method can make the preliminary debugging process relatively simple. For example, the transition region 104 is a ring, and the transition sub-region 1044 is a sector. When one sector-shaped transition sub-region 1044 is rotated counterclockwise or clockwise to coincide with the next sector-shaped transition sub-region 1044, the gray level values of the pixel points at the corresponding positions on the two transition sub-regions 1044 are the same.
[0082] Please refer to Figure 9 , Figure 9FIG. 0 is a schematic structural diagram of an embodiment of the display device of the present application. The display device includes a memory 20 and a processor 22 that are coupled to each other. Program instructions are stored in the memory 20, and the processor 22 is configured to execute the program instructions to implement the image display method mentioned in any of the above embodiments. Among them, the memory 20 and the processor 22 may be integrated into one chip.
[0083] Please refer to Figure 10 , Figure 10 FIG. is a schematic structural diagram of an embodiment of the storage device of the present application. The storage device 30 stores program instructions 300 that can be run by a processor. The program instructions 300 are used to implement the image display method described in any of the above embodiments. Optionally, the storage device 30 may include: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc.
[0084] The above are only embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structural or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.
Claims
1. An image display method, characterized in that, include: Acquire a preset grayscale image to be displayed; wherein the preset grayscale image is used to be displayed on a display interface, the display interface includes a first display area and a second display area that are adjacently arranged, the transmittance of the first display area is greater than the transmittance of the second display area, and a boundary is defined between the first display area and the second display area; Retrieving grayscale data corresponding to the preset grayscale image; The preset grayscale image is displayed based on the grayscale data; wherein the display interface is defined with a transition area, the transition area at least including the boundary; the first display area outside the transition area has a first grayscale, and the second display area outside the transition area has a second grayscale; in a first direction from the first display area to the second display area, the grayscale value of the transition area gradually changes from the first grayscale to the second grayscale; The pixels in the transition area have the first grayscale or the second grayscale, and in the first direction, the density of the pixels in the transition area having the second grayscale gradually increases; And in the circumferential direction of the first display area, the transition area is divided into a plurality of transition sub-areas; wherein, in the first direction, each of the transition sub-areas is defined with a plurality of dividing lines set at intervals, and the ratio of the number of pixel points with the second gray scale among the pixel points located on the same dividing line to the total number of all pixel points on the dividing line where they are located is a first ratio, and the first ratio increases in the first direction.
2. The image display method according to claim 1, characterized in that, The transition area is annular, part of the transition area is located in the first display area, and part of the transition area is located in the second display area.
3. The image display method according to claim 2, characterized in that, The center of the transition area coincides with the center of the first display area.
4. The image display method according to claim 3, characterized in that, There is a first distance between the boundary and the inner edge of the transition area, and there is a second distance between the boundary and the outer edge of the transition area, and the first distance and the second distance are equal.
5. The image display method according to claim 4, characterized in that, The transition area is a circular ring, the radius of the inner edge is 1 / 2 of the radius of the first display area, and the radius of the outer edge is 3 / 2 of the radius of the first display area.
6. The image display method according to claim 1, characterized in that, The number of pixels with the first grayscale between two adjacent pixels with the second grayscale on the same dividing line is the same, and a pixel with the first grayscale and at least one surrounding pixel with the second grayscale form a repeating unit.
7. The image display method according to claim 6, characterized in that, The single pixel point has a first length, and the pixel interval of the transition area is the ratio of the ring width of the transition area to the first length; The transition area includes an inner edge closest to the center point of the first display area, the interval between any dividing line and the inner edge is an integer multiple of the first length, the insertion ratio corresponding to the dividing line is the ratio of the integer multiple corresponding to the dividing line to the pixel interval, and the integer value of the product of the insertion ratio and the total number of pixel points on the dividing line is the number of all pixel points included in the repeating unit.
8. The image display method according to claim 7, characterized in that, The interval between adjacent dividing lines in the same transition sub-region is the first length, and the difference between the insertion ratios corresponding to adjacent dividing lines in the same transition sub-region is the reciprocal of the pixel interval.
9. The image display method according to claim 1, characterized in that, The shapes of each of the transition sub-regions are the same. When one of the transition sub-regions is rotated to coincide with the other transition sub-region, the grayscale values of the pixel points at corresponding positions on the two transition sub-regions are the same.
10. An image display method, characterized in that, Including: When a preset grayscale image is displayed on the display interface, obtaining a first grayscale of the first display area and a second grayscale of the second display area; wherein, the first display area and the second display area are arranged adjacent to each other, and the light transmittance of the first display area is greater than that of the second display area, and a boundary is defined between the first display area and the second display area; Determining a transition area based on the boundary; Adjusting the grayscale of at least some of the pixel points in the transition area so that in a first direction from the first display area to the second display area, the grayscale value of the transition area gradually changes from the first grayscale to the second grayscale; Wherein, the pixel points in the transition area have the first grayscale or the second grayscale, and in the first direction, the density of the pixel points having the second grayscale in the transition area gradually increases; And in the circumferential direction of the first display area, the transition area is divided into a plurality of transition sub-regions; wherein, in the first direction, a plurality of dividing lines arranged at intervals are defined in each of the transition sub-regions, and the ratio of the number of pixel points having the second grayscale among the pixel points on the same dividing line to the total number of all pixel points on the dividing line where they are located is a first ratio, and the first ratio increases in the first direction.
11. The image display method according to claim 10, characterized in that, The step of adjusting the grayscale of at least some of the pixel points in the transition area so that in a first direction from the first display area to the second display area, the grayscale value of the transition area gradually changes from the first grayscale to the second grayscale includes: Respectively assigning marking values to at least some of the pixel points located in the transition area; wherein, the marking values include a first marking value and a second marking value, and in the first direction, the density of the pixel points having the second marking value increases; Making the grayscale of the pixel points having the first marking value be the first grayscale, and making the grayscale of the pixel points having the second marking value be the second grayscale.
12. The image display method according to claim 11, characterized in that, The transition area includes a plurality of transition sub-regions, and the shapes of each of the transition sub-regions are the same. The step of respectively assigning marking values to at least some of the pixel points located in the transition area includes: Respectively assigning the marking values to the pixel points on each dividing line in one of the transition sub-regions; wherein, the pixel points on the same dividing line have the first marking value or the second marking value, and the ratio of the number of pixel points having the second marking value on the same dividing line to the total number of all pixel points on the dividing line where they are located is a first ratio, and the first ratio increases in the first direction; Set the tag values assigned to the pixel points in the remaining transition sub-regions based on the tag values assigned to the pixel points in one of the transition sub-regions; wherein, when one of the transition sub-regions is rotated to coincide with the remaining transition sub-regions, the tag values assigned to the pixel points at corresponding positions on the two transition sub-regions are the same.
13. According to the image display method described in claim 12, wherein, The step of respectively assigning the tag values to the pixel points on each demarcation line in one of the transition sub-regions includes: making the center of the kernel function coincide with the center of one of the transition sub-regions, and using the kernel function to respectively assign the tag values to the pixel points on each demarcation line in one of the transition sub-regions; wherein, the kernel function includes the mapping relationship between the positions of the pixel points in one of the transition sub-regions and the assigned tag values; The step of setting the tag values assigned to the pixel points in the remaining transition sub-regions based on the tag values assigned to the pixel points in one of the transition sub-regions includes: making the center of the kernel function coincide with the center of the remaining transition sub-regions, and assigning tag values to the pixel points in the remaining transition sub-regions based on the mapping relationship included in the kernel function.
14. A display device, wherein, It includes a mutually coupled memory and a processor, wherein program instructions are stored in the memory, and the processor is configured to execute the program instructions to implement the image display method according to any one of claims 1 to 13.
15. A storage device, wherein, Program instructions capable of being run by a processor are stored, and the program instructions are used to implement the image display method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Display screen processing method and device, storage medium and electronic equipment
CN110619836A
Brightness adjusting method, brightness adjusting device and computer readable storage medium
CN114120898A