Display method, device, electronic equipment and storage medium
By dividing the camera area into pixel groups based on pixel density and subpixel information in the smartwatch, the problem of reduced screen ratio caused by camera settings is solved, improving the display effect and overall form.
Patent Information
- Application Number
- CN202110605534.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-31
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2041-05-31
AI Technical Summary
The placement of the camera on a smartwatch reduces the screen-to-body ratio, affecting the display quality and the overall shape of the watch. How can we control the display area of the camera screen to avoid display differences?
By obtaining the pixel combination method of the set display area, the pixels in the display area are divided into multiple pixel groups according to the pixel density (PPI) and/or the sub-pixel information of the pixels, and the pixel information of each pixel group is determined for display.
It improves the display effect of the designated display area, reduces the difference in display effect, and enhances the display quality of the under-display camera area.
Smart Images

Figure CN115480722B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of image display, and in particular to a display method and device, electronic equipment and a storage medium. BACKGROUND
[0002] Due to the popularity of smart watches, some functions of mobile phones are gradually transferred to watches, and according to different needs, a display area can be set to correspond to display, for example, due to the needs of video calls, cameras have almost become an indispensable part of smart watches, however, the presence of the camera will reduce the screen ratio of the watch, affecting the display effect and the overall form of the watch. Therefore, a scheme of placing the camera under the screen is proposed, however, how to control the display of the camera screen area to avoid the difference in display effect from the non-camera area and improve the display effect is a technical problem to be solved. SUMMARY
[0003] The present application aims to at least solve one of the technical problems in the related art to some extent.
[0004] To this end, the present application proposes a display method, device, electronic equipment and storage medium to improve the display effect of the set area.
[0005] The first aspect embodiment of the present application proposes a display method, comprising:
[0006] obtaining a pixel combination mode in a set display area; wherein the pixel combination mode is determined according to the pixel density PPI and / or the sub-pixel information of the pixels of the display area;
[0007] dividing the pixels in the display area into a plurality of pixel groups according to the pixel combination mode;
[0008] determining the pixel information of each pixel group;
[0009] displaying according to the pixel information of each pixel group.
[0010] The second aspect embodiment of the present application proposes a display device, comprising:
[0011] an acquisition module configured to obtain a pixel combination mode in a set display area; wherein the pixel combination mode is determined according to the pixel density PPI and / or the sub-pixel information of the pixels of the display area;
[0012] a division module configured to divide the pixels in the display area into a plurality of pixel groups according to the pixel combination mode;
[0013] a determination module configured to determine the pixel information of each pixel group;
[0014] The display module is configured to display according to the pixel information of each pixel group.
[0015] The third aspect of the present application provides a computer device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor executes the program to realize the method of the first aspect.
[0016] The fourth aspect of the present application provides a non-transitory computer readable storage medium, which stores a computer program, and the program is executed by a processor to realize the method of the first aspect.
[0017] The fifth aspect of the present application provides a computer program product, when the instructions in the computer program product are executed by a processor, the method of the first aspect is executed.
[0018] The technical solution provided by the embodiments of the present application has the following beneficial effects:
[0019] The pixel combination mode in the set display area is obtained, wherein the pixel combination mode is determined according to the pixel density PPI of the display area and / or the sub-pixel information of the pixel, the pixels in the display area are divided into a plurality of pixel groups according to the pixel combination mode, the pixel information of each pixel group is determined, and the display is performed according to the pixel information of each pixel group. In the present application, the pixel information of a plurality of pixel groups in the set display area is determined according to the pixel combination mode, and the display is performed based on the determined pixel information of each pixel group, thereby improving the display effect of the set display area.
[0020] Additional aspects and advantages of the present application will be in part apparent and in part pointed out hereinafter. BRIEF DESCRIPTION OF DRAWINGS
[0021] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the following description, taken in conjunction with the accompanying drawings, in which:
[0022] Figure 1 A display screen structure schematic diagram provided by the embodiments of the present application;
[0023] Figure 2 A flowchart of a display method provided by the embodiments of the present application;
[0024] Figure 3 A pixel combination schematic diagram provided by the embodiments of the present application;
[0025] Figure 4 Another flowchart of a display method provided by the embodiments of the present application;
[0026] Figure 5 A scene simulation schematic diagram determined by pixel information of a pixel group provided for the embodiment;
[0027] Figure 6 A flowchart of another display method provided for the embodiment of the application;
[0028] Figure 7 A structural schematic diagram of an image display device provided for the embodiment of the application;
[0029] Figure 8 A block diagram of an exemplary computer device suitable for implementing the embodiments of the application is shown. DETAILED DESCRIPTION
[0030] The embodiments of the application are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar notations represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by reference to the drawings are exemplary and are intended to explain the application, and cannot be understood as a limitation of the application.
[0031] In order to better understand the display method disclosed by the embodiments of the application, first, a display screen structure suitable for the embodiments of the application is described.
[0032] Figure 1 A display screen structure schematic diagram provided for the embodiment of the application.
[0033] In order to improve the screen ratio of the display screen, a camera is arranged in the screen area in the application. As shown in Figure 1 The display screen includes a main screen area 11, a secondary screen area 12 and a transition area 13.
[0034] The main screen area 11 is the main display area of the display screen.
[0035] The secondary screen area 12 is the screen area where the camera is arranged. The secondary screen area 12 has no driving circuit and metal wiring, and the conductive metal is replaced by transparent ITO line, for example, by silk screen etching ITO line.
[0036] The transition area 13 is arranged with the pixel driving circuit of the secondary screen area 12, and is connected to the secondary screen area 12 through ITO to provide driving voltage for the secondary screen area 12.
[0037] In the embodiment of the application, the transition area 13 is connected to the secondary screen area 12 through ITO. Since the ITO has poor resistivity and is thicker than the metal wire, it is impossible to set corresponding ITO connection for each pixel in the secondary screen area 12. Therefore, multiple pixels need to be connected through ITO to form a pixel group, so that the pixels in each pixel group are set with the same pixel information.
[0038] It can be understood that the display screen structure described in the embodiments of the present application is for the subsequent more clear description of the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that with the evolution of the structure and the appearance of new business scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0039] The display method, device, electronic equipment and storage medium of the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0040] Figure 2 The flowchart of a display method provided by the embodiments of the present application.
[0041] As Figure 2 indicated, the method comprises the following steps:
[0042] Step 201, acquiring a pixel combination mode in a set display area, wherein the pixel combination mode is determined according to the pixel density PPI of the display area and / or the sub-pixel information of the pixel.
[0043] The execution subject of the embodiments is a display device, which can be arranged in an electronic product containing a display screen, such as a telephone watch, a mobile phone, a palm computer, etc.
[0044] In the embodiments of the present application, the set display area refers to a special display area set in the display screen according to product requirements. Each pixel in the set display area needs to be arranged and combined according to the pixel combination mode.
[0045] In an example of the present application, in order to meet the requirement of reducing the size of the product, a sensor can be arranged below the set display area of the display screen. The display area corresponding to the set display area is the sub-screen area in the display screen. Since the pixels in the sub-screen area need to be connected by multiple pixels to form a pixel group, the pixel combination mode in the display area corresponding to the under-screen camera needs to be acquired to divide the pixels in the set display area into multiple pixel groups according to the pixel combination mode. Figure 1
[0046] In another example of the present application, in order to meet different display requirements and reduce costs, a set display area can be arranged in the display screen. The display area corresponding to the set display area is the sub-screen area in the display screen. The pixels in the set display area are divided into multiple pixel groups according to the pixel combination mode to meet special display requirements. The pixels combined according to any pixel combination mode form the pixel group. For example, four pixels combined according to the pixel combination mode 1 in the display screen can be regarded as a pixel group. Figure 1 Figure 3
[0047] In another example of this application, in order to increase the screen-to-body ratio, the camera is positioned below a designated area on the display screen; the display area corresponding to this under-display camera is... Figure 1 In the secondary screen area, since there are multiple pixels connected to form pixel groups, it is necessary to obtain the pixel combination method in the display area corresponding to the under-screen camera, so as to divide the pixels in the set display area into multiple pixel groups according to the pixel combination method.
[0048] In one implementation of this embodiment, the pixel combination method includes the number of pixels that have a combination relationship, such as three pixels connected together or four pixels connected together. The pixel information of the multiple pixels that have a combination relationship is the same, and the pixel information includes the grayscale value of the sub-pixel RGB. The RGB sub-pixels are combined together to form a complete pixel.
[0049] In another implementation of this embodiment, the pixel combination method includes the number of pixels with a combination relationship and the pixel arrangement method, such as... Figure 3 As shown, Figure 3 Three pixel combination methods are shown. When the number of pixels with a combination relationship is the same, different arrangement methods may correspond to different sub-pixel RGB arrangements if the sub-pixels of the pixels on the display screen are arranged differently. For example, in pixel combination method 1, the number of pixels with a combination relationship is 4, but the arrangement of the 4 pixels is different, namely pixel arrangement method A and pixel arrangement method B. It should be noted that... Figure 3 The pixel combination method shown is only an example, and other pixel combination methods are also possible, but this embodiment does not limit them.
[0050] In this embodiment, the pixel combination method is determined based on the pixel density (Pixels per inch, PPI) of the display area and the sub-pixel information of the pixel. The sub-pixel information of the pixel is the distribution information of the three primary colors of the pixel, RGB. Specifically, it can be determined in advance through simulation, which will be explained in subsequent embodiments.
[0051] Step 202: Divide the pixels in the display area into multiple pixel groups according to the pixel combination method.
[0052] In one implementation of this embodiment, if the pixel combination method includes the number of pixels, then according to the number of pixels indicated by the pixel combination method, the multiple pixels in the display area are divided into multiple pixel groups, and each pixel group contains the aforementioned number of pixels.
[0053] In another implementation manner of the embodiment, if the pixel combination manner includes the pixel number and the pixel arrangement manner, according to the pixel number and the pixel arrangement manner, the plurality of pixel points in the display area are divided into a plurality of pixel groups, each pixel group includes a plurality of pixels in the number, and the plurality of pixels are arranged according to the pixel arrangement manner, so that the plurality of pixels in the display area are grouped according to the determined pixel combination manner.
[0054] It should be noted that when the plurality of pixels in the display area are grouped according to the pixel combination manner, for the pixels that cannot be grouped according to the pixel combination manner, for example, at the edge of the display area, if the pixel number does not meet or the pixel arrangement manner does not meet, the pixels are combined according to the set manner or randomly combined with adjacent pixels, which is not limited in the embodiment.
[0055] In step 203, the pixel information of each pixel group is determined.
[0056] In an implementation manner of the embodiment, for each pixel group, the average pixel information of the pixels in the pixel group is taken as the pixel information of the pixel group, and the pixel information of each pixel in the pixel group is the determined average pixel information.
[0057] In another implementation manner of the embodiment, for each pixel group, the pixel information of the adjacent pixels of the pixel group is obtained, the pixel information of the pixel group is determined according to the similarity of the pixel information of the pixels in the pixel group and the pixel information of the adjacent pixels, and the pixel information of each pixel in the pixel group is the pixel information determined based on the pixel degree of the pixel information.
[0058] In step 204, display is performed according to the pixel information of each pixel group.
[0059] In an implementation manner of the embodiment, the pixel information of the pixels in each pixel group is updated from the original pixel information corresponding to each pixel to the pixel information corresponding to the pixel group, so that the pixel information of the pixels in each pixel group is unified, and then display is performed according to the updated pixel information of each pixel, so that the display effect of the pixels in the display area corresponding to the under-screen camera is improved after the pixel combination.
[0060] In the display method of the embodiment, a pixel combination manner in the set display region is obtained, wherein the pixel combination manner is determined according to the pixel density PPI of the display region and / or the sub-pixel information of the pixel, the pixels in the display region are divided into a plurality of pixel groups according to the pixel combination manner, the pixel information of each pixel group is determined, and display is performed according to the pixel information of each pixel group. In the present application, the pixel information of the plurality of pixel groups in the set display region is determined according to the pixel combination manner, and display is performed based on the determined pixel information of each pixel group, thereby improving the display effect of the set display region.
[0061] Based on the previous embodiment, the present embodiment provides another display method, and specifically illustrates how to determine the pixel information of each pixel group according to the adjacent pixel information. Figure 4 The flowchart of another display method provided by the embodiment of the present application is shown.
[0062] As Figure 4 shown, the method can include the following steps:
[0063] In step 401, a pixel combination manner in the set display region is obtained, wherein the pixel combination manner is determined according to the pixel density PPI of the display region and / or the sub-pixel information of the pixel.
[0064] In step 402, the pixels in the display region are divided into a plurality of pixel groups according to the pixel combination manner.
[0065] Specifically, steps 401 and 402 can refer to the description in the above embodiments, and the principles are the same. In the present embodiment, no further limitation is made.
[0066] In one implementation manner of the present embodiment, the set display region corresponds to the position of the under-screen camera. In the present embodiment, the set display region is taken as an example for illustrating the region corresponding to the under-screen camera, but this does not constitute a limitation on the present application.
[0067] In one implementation manner of the present embodiment, the pixels in the pixel group are arranged in series according to the determined pixel combination manner. For example, as Figure 3 shown in FIG. 6, the number of pixels in the pixel group determined according to the pixel combination manner 1 is 4, and the 4 pixels corresponding to the pixel combination manner A are arranged in series through ITO.
[0068] In step 403, the pixel information of the adjacent pixels of each pixel group is obtained.
[0069] In step 404, the pixel information of the pixel group is determined according to the similarity degree of the pixel information of the pixel in the pixel group and the pixel information of the adjacent pixel.
[0070] In the embodiment, for each pixel group, the pixel information of the pixels in the pixel group can be the pixel information of any pixel in the pixel group, or the pixel information of all pixels in the pixel group, or the average pixel information of the pixels in the pixel group as the pixel information of the pixels in the pixel group.
[0071] In order to improve the accuracy of the determination of the pixel information of the pixel group, the embodiment takes the average pixel information of the pixels in the pixel group as an example to illustrate.
[0072] As shown in Figure 5 , as shown in Figure 5 , the scene simulation schematic diagram of the determination of the pixel information of the pixel group provided in the embodiment is shown in Figure 5 , the "card" word includes vertical lines, horizontal lines and diagonal lines, which can comprehensively simulate the hands of the watch, wherein, one string of three is a combination of three pixels, and one string of four is a combination of four pixels, wherein, in the combination mode of one string of three, two different arrangement modes are also shown, wherein, the arrangement modes of the sub-pixel groups of the pixels in the two different arrangement modes are different, so that the corresponding display effects also have differences. Figure 5 A, B and C in the figure, three different pixel combination modes are shown, which respectively show that the display effect of taking the average value of each pixel is better than that of taking the information of a single pixel in different pixel combination modes, the edge sawtooth feeling of the card word can be obviously reduced, and the display is more clear.
[0073] It should be noted that for the corresponding display screen, for example, an organic light-emitting diode (Organic Light-Emitting Diode, OLED) display screen, the display effect of taking the average value of each pixel in different pixel combination modes also has differences, mainly reflected in the difference of the edge sawtooth, Figure 5 , the edge sawtooth is not clearly displayed, and there is a difference in the actual simulation experiment, which is used to further determine the best pixel combination mode
[0074] In an implementation mode of the embodiment, for each pixel group, in the case that the similarity between the average pixel information of the pixels in the pixel group and the pixel information of the adjacent pixels is greater than a threshold value, the pixel weighting parameter is obtained, and the average pixel information of the pixels in the pixel group and the pixel information of the adjacent pixels are weighted calculated according to the pixel weighting parameter, so as to determine the pixel information of the pixel group.
[0075] It should be noted that the weighting parameter and the similarity degree of the pixel information have a corresponding relationship, the higher the similarity degree, the higher the weighting parameter value, that is, the higher the degree of reference of the pixel information of the adjacent pixels.
[0076] For example, the similarity of the pixel information is X, and the weighting parameter is Y.
[0077] The pixel information of the pixel group = the average pixel information of the pixels in the pixel group * (1-Y%) + the pixel information of the adjacent pixels * Y%.
[0078] At step 405, display is performed according to the pixel information of each pixel group.
[0079] Specifically, the description in the foregoing embodiments can be referred to, and the description will not be repeated here.
[0080] In the display method of this embodiment, a pixel combination manner in the display area corresponding to the under-screen camera is obtained, wherein the pixel combination manner is determined according to the PPI of the display area and / or the sub-pixel information of the pixel, the pixels in the display area are divided into a plurality of pixel groups according to the pixel combination manner, the pixel information of each pixel group is determined, and display is performed according to the pixel information of each pixel group. In this application, the pixel information of a plurality of pixel groups in the display area corresponding to the under-screen camera is determined according to the pixel combination manner, and display is performed based on the determined pixel information of each pixel group, thereby improving the display effect of the display area corresponding to the under-screen camera.
[0081] Based on the foregoing embodiments, this embodiment provides another display method, Figure 6 A flowchart of another display method provided by the embodiments of this application is shown, which illustrates the mapping relationship between the PPI and / or the sub-pixel information of the display area and the pixel combination manner. As shown in Figure 6 Before steps 201 and 401, the following steps are further included:
[0082] At step 601, the mapping relationship between the PPI of the display area and / or the sub-pixel information of the pixel and the pixel combination manner is obtained.
[0083] At step 602, the pixel combination manner corresponding to the PPI of the display area and / or the sub-pixel information of the pixel is determined according to the mapping relationship.
[0084] In an implementation manner of this embodiment, the smaller the pixel pitch is when the value of the PPI information of the display screen is high, the smaller the space for ITO lines is, and the more the number of pixels that exist in the combination relationship is; the larger the pixel pitch is when the value of the PPI information of the display screen is low, the larger the space for lines is, and the less the number of pixels that exist in the combination relationship is. Since each pixel contains RGB sub-pixels, and the arrangement of the sub-pixels contained in the pixel is different in different display screens, the arrangement manner of the corresponding pixel may also be different in the case that the number of pixels that exist in the combination relationship is the same for different display screens. The mapping relationship between the PPI of the display area and / or the sub-pixel information of the pixel and the pixel combination manner is determined, for example, by simulating the display effect under different pixel combination manners.
[0085] In this embodiment, the display effect under different pixel combination modes is simulated to determine the pixel combination mode, and then the pixel information of the pixel combination mode is determined according to the pixel combination mode, and the display is performed based on the pixel information of each pixel group determined, thereby improving the display effect of the display area corresponding to the under-screen camera.
[0086] To implement the above-mentioned embodiments, the present application further provides an image display device.
[0087] Figure 7 A structural schematic diagram of an image display device provided by an embodiment of the present application.
[0088] As shown in Figure 7 The device comprises:
[0089] The acquisition module 71 is configured to acquire a pixel combination mode in a set area, wherein the pixel combination mode is determined according to a pixel density PPI of the display area and / or sub-pixel information of a pixel.
[0090] The division module 72 is configured to divide pixels in the display area into a plurality of pixel groups according to the pixel combination mode.
[0091] The determination module 73 is configured to determine pixel information of each pixel group.
[0092] The display module 74 is configured to perform display according to the pixel information of each pixel group.
[0093] Further, in a possible implementation manner of the embodiment of the present application, the determination module 73 is configured to:
[0094] For each pixel group, acquire pixel information of adjacent pixels of the pixel group;
[0095] According to a similarity degree of the pixel information of the pixels in the pixel group and the pixel information of the adjacent pixels, determine the pixel information of the pixel group.
[0096] In a possible implementation manner of the embodiment of the present application, the determination module 73 is specifically configured to:
[0097] For each pixel group, if a similarity degree of the pixel information of the pixels in the pixel group and the pixel information of the adjacent pixels is greater than a threshold value, then acquire a pixel weighting parameter;
[0098] According to the pixel weighting parameter, perform weighted calculation on the pixel information of the pixels in the pixel group and the pixel information of the adjacent pixels, to determine the pixel information of the pixel group.
[0099] In a possible implementation of the embodiment of the present application, the determining module 73 is configured to:
[0100] For each pixel group, the average pixel information of the pixels in the pixel group is taken as the pixel information of the pixel group.
[0101] In a possible implementation of the embodiment of the present application, the display module 74 is configured to:
[0102] updating the pixel information of the pixels in each pixel group as the pixel information of the corresponding pixel group;
[0103] displaying according to the updated pixel information of each pixel.
[0104] In a possible implementation of the embodiment of the present application, the obtaining module 71 is further configured to obtain a mapping relationship between the PPI of the display area and / or the sub-pixel information of the pixels and the pixel combination mode;
[0105] The determining module 73 is further configured to determine the pixel combination mode corresponding to the PPI according to the mapping relationship.
[0106] In a possible implementation of the embodiment of the present application, the pixels in the pixel group are arranged in series according to the pixel combination mode.
[0107] In a possible implementation of the embodiment of the present application, the display area is set to correspond to the position of the under-screen camera.
[0108] It should be noted that the foregoing explanation and description of the method embodiments are also applicable to the device of this embodiment, which will not be described here.
[0109] In the display device of the embodiment, the pixel combination mode in the set display area is obtained, wherein the pixel combination mode is determined according to the pixel density PPI of the display area and / or the sub-pixel information of the pixels, the pixels in the display area are divided into multiple pixel groups according to the pixel combination mode, the pixel information of each pixel group is determined, and the display is performed according to the pixel information of each pixel group. In the present application, the pixel information of multiple pixel groups in the set display area is determined according to the pixel combination mode, and the display is performed based on the determined pixel information of each pixel group, thereby improving the display effect of the set display area.
[0110] In order to implement the above-mentioned embodiments, the present application further provides a computer device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method described in the foregoing method embodiments is implemented.
[0111] To achieve the above-mentioned embodiments, the present application further provides a non-transitory computer-readable storage medium having stored thereon a computer program, which, when executed by a processor, implements the method according to the foregoing method embodiments.
[0112] To achieve the above-mentioned embodiments, the present application further provides a computer program product, which, when instructions in the computer program product are executed by a processor, performs the method according to the foregoing method embodiments.
[0113] Figure 8 A block diagram of an exemplary computer device suitable for implementing the present embodiments is shown. Figure 8 The computer device 12 shown is merely one example and should not be construed as limiting the scope of the present embodiments.
[0114] As shown in Figure 8 The computer device 12 is shown in the form of a general-purpose computer device. Components of the computer device 12 can include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the memory 28 and the processing unit 16.
[0115] The bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration bus (e.g., an Accelerated Graphics Port, or AGP bus) and a processor or local bus using any of a variety of bus architectures. By way of example, these architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
[0116] The computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by the computer device 12 and includes both volatile and non-volatile media, removable and non-removable media.
[0117] Memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 12 can further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (i.e., a "hard drive") Figure 8 not shown, commonly referred to as a "hard disk drive"). Although Figure 8 not shown, a magnetic hard disk drive, a magnetic disk drive (e.g., to read from and / or write to a removable, non- volatile magnetic disk (e.g., a "floppy disk")), and / or an optical disk drive can be provided in such data processing systems, which can be used to read from and / or write to a removable, non-volatile optical disk (such as a compact disk (CD-ROM), DVD-ROM, etc.) In these instances, each can also be connected to bus 18 by one or more data media interfaces. As will be further depicted and described below, memory 28 can include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
[0118] The program / utility, having a set (at least one) of program modules 42, can be stored in memory 28 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data, each or some combination thereof, can include implementation of a networking environment. Program modules 42 generally carry out the functions and / or methodologies of embodiments of the application as described herein.
[0119] Computer device 12 can also communicate with one or more external devices 14 such as a keyboard, a pointing device, a display 24, etc.; one or more devices that enable a user to interact with computer device 12; and / or any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication can occur via Input / Output (I / O) interface(s) 22. Still yet, computer device 12 can communicate with one or more networks, such as a local area network (LAN), a wide area network (WAN), and / or the Internet, through network adapter 20. As an example, network adapter 20 can include a modem, a network card (wireless or wired), or other well-known interface devices. As depicted, network adapter 20 communicates with the other components of computer device 12 via bus 18. It should be appreciated that although not shown, other hardware and / or software modules could be used in conjunction with computer device 12. Examples, include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
[0120] Processing unit 16 can execute a program from a system memory 28 in order to perform various functions as well as to process data such as implementing the methods described in the foregoing embodiments.
[0121] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the description of the specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any suitable manner in one or more embodiments or examples. In addition, the person skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of the different embodiments or examples without contradiction.
[0122] In addition, the terms "first", "second" are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "a plurality of" is at least two, such as two, three, etc., unless otherwise specifically limited.
[0123] Any processes or methods described in the flowcharts or otherwise described herein can be understood as representing modules, segments, or portions of code that include one or more executable instructions for implementing specific logical functions or steps, and the various embodiments of the application can include additional or fewer steps performing the same or equivalent functions as those shown or discussed, in different orders, including substantially simultaneous execution of the functions described with respect to particular steps, and the like.
[0124] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a list of executable instructions for implementing the logic function, and can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor- containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions, or a combination thereof. For the purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable medium can specifically include the following, which are non-exhaustive listings: electrical connections (electrical apparatus) having one or more wires, a portable computer diskette (magnetic apparatus), a random-access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or another suitable medium upon which the program is printed, since the program can be electronically captured, for example, by optically scanning the paper or other medium, then electronically converted into a form that is suitable for use in a computer storage medium.
[0125] It should be understood that portions of the application can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As such, if implemented in hardware, and in another embodiment, any of the following technologies, known in the art, or a combination thereof, can be used: discrete logic circuitry having logic gates for implementing logic functions on data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), and the like.
[0126] Those skilled in the art of the present technology can understand that all or part of the steps carried out by the above-mentioned embodiment method can be completed by programs instructing related hardware, and the programs can be stored in a computer readable storage medium. When the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0127] In addition, each functional unit in each embodiment of the present application can be integrated into one processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The integrated module can be realized in the form of hardware or in the form of a software functional module. When the integrated module is realized in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
[0128] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and cannot be understood as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above-mentioned embodiments within the scope of the present application.
Claims
1. A display method characterized by comprising: The method comprises: acquiring a pixel combination mode in a set display area; wherein the pixel combination mode is determined according to a pixel density PPI of the display area and / or sub-pixel information of a pixel; dividing pixels in the display area into a plurality of pixel groups according to the pixel combination mode; determining pixel information of each pixel group; updating pixel information of pixels in each pixel group to pixel information of the corresponding pixel group, wherein the pixel information of the pixels includes gray scale values of RGB sub-pixels, and the RGB sub-pixels together form a complete pixel; displaying according to the updated pixel information of each pixel.
2. The method of claim 1, wherein, The determination of the pixel information of each pixel group comprises: for each pixel group, acquiring pixel information of adjacent pixels of the pixel group; determining the pixel information of the pixel group according to the similarity of the pixel information of the pixels in the pixel group and the pixel information of the adjacent pixels.
3. The method of claim 2, wherein, The determination of the pixel information of the pixel group according to the similarity of the pixel information of the pixel group and the pixel information of the adjacent pixels comprises: for each pixel group, if the similarity of the pixel information of the pixels in the pixel group and the pixel information of the adjacent pixels is greater than a threshold, then acquiring a pixel weighting parameter; performing weighted calculation on the pixel information of the pixels in the pixel group and the pixel information of the adjacent pixels according to the pixel weighting parameter to determine the pixel information of the pixel group.
4. The method of claim 1, wherein, The determination of the pixel information of each pixel group comprises: for each pixel group, taking average pixel information of the pixels in the pixel group as the pixel information of the pixel group.
5. The method of claim 1, wherein, The method further comprises: acquiring a mapping relationship between the PPI of the display area and / or the sub-pixel information of the pixel and the pixel combination mode; determining the pixel combination mode according to the mapping relationship.
6. The method of any one of claims 1-5, wherein the pixels in the pixel group are arranged in series according to the pixel combination mode.
7. The method of any one of claims 1-5, wherein the set display area corresponds to a position of an under-screen camera.
8. A display device, characterized by comprising: The method comprises: an acquisition module, configured to acquire a pixel combination mode in a set display area; wherein the pixel combination mode is determined according to a pixel density PPI of the display area and / or sub-pixel information of a pixel; a division module, configured to divide pixels in the display area into a plurality of pixel groups according to the pixel combination mode; a determination module, configured to determine pixel information of each pixel group; a display module, configured to update pixel information of pixels in each pixel group to pixel information of the corresponding pixel group, wherein the pixel information of the pixels includes gray scale values of RGB sub-pixels, and the RGB sub-pixels together form a complete pixel; and display according to the updated pixel information of each pixel.
9. A computer device, comprising: A computer program product comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any one of claims 1-7 when executing the program.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method of any one of claims 1-7.
Citation Information
Patent Citations
Display structure, display screen assembly and electronic equipment
CN111009195A