Display screen optical compensation data processing method, device and computer-readable storage medium
By acquiring and correcting the data sets of the first display area and the second display area respectively in the OLED display screen, the compensation accuracy problem caused by the brightness difference in the under-screen camera area is solved. The optical compensation function is realized while partition writing and data compression are performed, ensuring the consistency and accuracy of the compensation effect.
Patent Information
- Application Number
- CN202211243009.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-11
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2042-10-11
AI Technical Summary
The brightness difference between the under-screen camera area and the non-under-screen camera area causes the compensation data range to expand, affecting the compensation accuracy. Especially in OLED displays, traditional methods cannot effectively solve this problem.
By respectively acquiring the display data sets of the first display area and the second display area, calculating the initial compensation data, and correcting the data set of the first display area with reference to the second display area, a corrected data set and parameters are obtained, and data mapping and compression are performed to ensure that the accuracy of the compensation data in different areas is not affected.
The method achieves the goal of not affecting the compensation effect of the second display area while ensuring normal compensation of the first display area, solves the problem of reduced compensation accuracy of the second display area caused by brightness deviation, and realizes partition writing and data compression while realizing optical compensation function.
Smart Images

Figure CN115547253B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of machine vision detection and display technology, and in particular to a display screen optical compensation data processing method, device, computer equipment, storage medium and computer program product. Background Art
[0002] OLED (Organic Light-Emitting Diode) is an organic electroluminescent device widely used in flat-panel displays due to its ease of fabrication and low drive voltage requirements. OLED displays, with their high brightness, low power consumption, and high luminous efficiency, meet consumers' new demands for display technology. With the continuous development of OLED display products, consumers are increasingly demanding a higher screen-to-body ratio, and the trend towards full-screen displays is growing. This has led to the concept of under-screen cameras entering the public eye, and research on under-screen front-facing cameras has also deepened.
[0003] However, the quality of photos taken with under-screen camera products is greatly reduced due to the low amount of light entering. To solve this problem, the traditional method is to increase the amount of light entering by designing pixels with a density lower than that of the second display area, thereby improving the quality of photos. However, such a design will inevitably lead to new problems, namely, the brightness of the area with the under-screen camera and the area without the under-screen camera is different, and there is a clear boundary. The brightness difference between the two areas is too large. If the compensation data processed by the Demura algorithm (which eliminates the spots on the display screen through optical imaging technology and software algorithms) is stored in a unified manner, the range of the compensation data will inevitably increase, affecting the compensation accuracy of the area without the under-screen camera. Summary of the Invention
[0004] Based on this, it is necessary to provide a display screen optical compensation data processing method, device, computer equipment, storage medium and computer program product to address the above technical problems.
[0005] In a first aspect, the present application provides a method for processing optical compensation data for a display screen, wherein the display screen includes a first display area and a second display area, and the method includes:
[0006] respectively acquiring a first display data set of the first display area and a second display data set of the second display area;
[0007] respectively calculating initial compensation data of the first display data set and the second display data set to obtain a first initial data set and a second initial data set;
[0008] Using the second initial data set as a reference, correcting the first initial data set to obtain a first corrected data set and correction parameters;
[0009] The first revised data set and the second initial data set are mapped into a compensated data set.
[0010] In one embodiment, using the second initial data set as a reference, correcting the first initial data set to obtain the first corrected data set and the correction parameters includes:
[0011] respectively obtaining a first correction parameter of the first initial data set and a second correction parameter of the second initial data set;
[0012] Performing a first operation on the first correction parameter and the second correction parameter to obtain a correction parameter;
[0013] A second operation is performed on each first initial data in the first initial data set and the correction parameter to obtain a first corrected data set.
[0014] In one embodiment, after mapping the first revised data set and the second initial data set into the compensated data set, the method further includes:
[0015] When the first display area is rectangular, the first revised data set and the second initial data set are divided respectively to obtain a plurality of first revised data blocks and a plurality of second initial data blocks;
[0016] Data compression is performed on the plurality of first modified data blocks and the plurality of second initial data blocks.
[0017] In one embodiment, after mapping the first revised data set and the second initial data set into the compensated data set, the method further includes:
[0018] When the first display area is a non-rectangular shape, the first corrected data set corresponding to the first display area and the second initial data set corresponding to the second display area are filled into a rectangle;
[0019] Divide the first revised data set and the second initial data set respectively to obtain a plurality of first revised data blocks and a plurality of second initial data blocks;
[0020] Data compression is performed on the plurality of first modified data blocks and the plurality of second initial data blocks.
[0021] In one embodiment, before compressing the plurality of first modified data blocks and the plurality of second initial data blocks, the method includes:
[0022] The first revised data block and the second initial data block are filled with values of adjacent data.
[0023] In one embodiment, mapping the first revised data set and the second initial data set into the compensated data set includes:
[0024] The first revised data set and the second initial data set are mapped from floating-point data to integer data.
[0025] In one embodiment, after mapping the first revised data set and the second initial data set into the compensated data set, the method further includes:
[0026] The compensation data set and the correction parameters are burned, the compensation data set of the first display area is inversely mapped back to the first correction data set, and a first operation is performed with the correction parameters.
[0027] In one embodiment, respectively obtaining a first correction parameter of the first initial data set and a second correction parameter of the second initial data set includes:
[0028] The median of the first initial data set and the median of the second initial data set are obtained respectively.
[0029] In one embodiment, performing a first operation on the first correction parameter and the second correction parameter to obtain the correction parameter includes:
[0030] A ratio operation is performed on the first correction parameter and the second correction parameter to obtain the correction parameter.
[0031] In one embodiment, performing a second operation on each first initial data set and a correction parameter to obtain a first corrected data set includes:
[0032] A multiplication operation is performed on each first initial data in the first initial data set and the correction parameter to obtain a first corrected data set.
[0033] In a second aspect, the present application further provides a display screen optical compensation data processing device, the device comprising:
[0034] An acquisition module, configured to respectively acquire a first display data set of the first display area and a second display data set of the second display area;
[0035] A compensation module, configured to perform initial compensation on the first display data set and the second display data set respectively to obtain a first initial data set and a second initial data set;
[0036] a correction module, configured to correct the first initial data set by taking the second initial data set as a reference, to obtain a first corrected data set and correction parameters;
[0037] The mapping module is configured to map the first corrected data set and the second initial data set into a compensated data set.
[0038] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the following steps are performed:
[0039] respectively acquiring a first display data set of the first display area and a second display data set of the second display area;
[0040] respectively calculating initial compensation data of the first display data set and the second display data set to obtain a first initial data set and a second initial data set;
[0041] Using the second initial data set as a reference, correcting the first initial data set to obtain a first corrected data set and correction parameters;
[0042] The first revised data set and the second initial data set are mapped into a compensated data set.
[0043] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0044] respectively acquiring a first display data set of the first display area and a second display data set of the second display area;
[0045] respectively calculating initial compensation data of the first display data set and the second display data set to obtain a first initial data set and a second initial data set;
[0046] Using the second initial data set as a reference, correcting the first initial data set to obtain a first corrected data set and correction parameters;
[0047] The first revised data set and the second initial data set are mapped into a compensated data set.
[0048] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:
[0049] respectively acquiring a first display data set of the first display area and a second display data set of the second display area;
[0050] respectively calculating initial compensation data of the first display data set and the second display data set to obtain a first initial data set and a second initial data set;
[0051] Using the second initial data set as a reference, correcting the first initial data set to obtain a first corrected data set and correction parameters;
[0052] The first revised data set and the second initial data set are mapped into a compensated data set.
[0053] The above-mentioned display screen optical compensation data processing method, apparatus, computer device, storage medium, and computer program product, wherein the display screen includes a first display area and a second display area, is performed by respectively obtaining a first display data set of the first display area and a second display data set of the second display area; calculating initial compensation data for the first display data set and the second display data set to obtain a first initial data set and a second initial data set; using the second initial data set as a reference, correcting the first initial data set to obtain a first corrected data set and correction parameters; and mapping the first corrected data set and the second initial data set into a compensation data set, thereby mapping the compensation data for the first display area to the data range of the second display area. While achieving the optical compensation function, the compensation parameters can be written in partitions and data compressed. While ensuring normal compensation in the first display area, the compensation effect in the second display area is not affected, thus solving the problem of reduced compensation accuracy in the second display area due to large brightness deviation. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 is a flow chart of a method for processing display screen optical compensation data in one embodiment;
[0055] Figure 2 is a schematic diagram of a first display area and a second display area in one embodiment;
[0056] Figure 3 is a schematic diagram of a first initial data set and a second initial data set obtained in one embodiment;
[0057] Figure 4 A schematic diagram of the distribution of compensation data in one embodiment;
[0058] Figure 5 Schematic diagram of a flow chart of a method for correcting a first initial data set to obtain a first corrected data set and correction parameters using a second initial data set as a reference in one embodiment;
[0059] Figure 6 1 is a flow chart of compressing a first modified data block and a second initial data block in one embodiment;
[0060] Figure 7 is a schematic diagram of filling when the first display area is a rectangle in one embodiment;
[0061] Figure 8 is a schematic diagram of filling when the first display area is non-rectangular in shape in one embodiment;
[0062] Figure 9 1 is a flow chart of a method for processing display screen optical compensation data in one embodiment;
[0063] Figure 10FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0065] In one embodiment, a method for processing display optical compensation data is provided. This embodiment uses the method applied to a terminal as an example. For example, the method can be applied to an OLED display with an under-screen camera. It is understandable that the method can also be applied to a server, or to a system including a terminal and a server, and implemented through the interaction between the terminal and the server. In one embodiment, the display includes a first display area and a second display area, such as Figure 1 As shown, the method includes the following steps:
[0066] Step 102 : Acquire a first display data set of a first display area and a second display data set of a second display area respectively.
[0067] In one embodiment, Figure 2 Figure 2 shows a schematic diagram of the first and second display areas in one embodiment. In the figure, 202 represents the first display area, and 204 represents the second display area. The first display area can be the under-screen camera area, the area containing the under-screen camera, also known as the under-screen area. The second display area can be the area of the OLED screen excluding the under-screen camera.
[0068] In one embodiment, the original data of the display is obtained by taking a photo, and the first display area and the second display area are divided by coordinate positioning or mask making, wherein the original data obtained by taking the photo is recorded as a first display data set of the first display area and a second display data set of the second display area, respectively.
[0069] Step 104 : Perform initial compensation on the first display data set and the second display data set respectively to obtain a first initial data set and a second initial data set.
[0070] In one embodiment, a demura algorithm can be used to initially compensate the acquired data. Due to production processes and other reasons, OLED displays may have mura (uneven brightness spots). Demura is a method that uses optical technology and software algorithms to eliminate these spots. Figure 3As shown, the brightness data of the display panel is obtained by the pixel brightness restoration module and the compensation parameter calculation module in the Demura algorithm to obtain a first initial data set and a second initial data set, where 302 is the second initial data set and 304 is the first initial data set. The first and second initial data sets can be represented by Gain(i, j), where i∈H and j∈W (H is the row height and W is the column width).
[0071] Step 106 : Using the second initial data set as a reference, correct the first initial data set to obtain a first corrected data set and correction parameters.
[0072] In one embodiment, the first initial data set is corrected with reference to the second initial data set to obtain a first corrected data set and correction parameters.
[0073] In one embodiment, the first correction parameter is the median value of the data in the first initial data set; and the second correction parameter is the median value of the data in the second initial data set.
[0074] In one embodiment, a first operation is performed on the first correction parameter and the second correction parameter to obtain the correction parameter. The first operation may be a ratio operation.
[0075] In one embodiment, a second operation is performed on each first initial data set and the correction parameter to obtain the first corrected data set. The second operation may be a multiplication operation.
[0076] Step 108: Map the first revised dataset and the second initial dataset into a compensation dataset. In one embodiment, mapping the first revised dataset and the second initial dataset into a compensation dataset includes mapping the first revised dataset and the second initial dataset from floating point data to integer data.
[0077] In one embodiment, the first corrected data set and the second initial data set are mapped to LUT integer data, from floating point data to integer data, and then the correction parameters are written into the register, and the LUT is burned into the flash (Flash EEPROM Memory, storage chip).
[0078] In one embodiment, the compensation data set and the correction parameters are burned, and the compensation data set of the first display area is inversely mapped back to the first correction data set, and a first operation is performed with the correction parameters.
[0079] In the above method for processing optical compensation data of the display screen, the first initial data set is corrected with reference to the second initial data set to obtain the first corrected data set and correction parameters. The first initial data set and the second initial data set are processed separately, and the initial data sets are not stored uniformly. Therefore, it is possible to ensure normal compensation in the first display area without affecting the compensation effect in the second display area and without loss of the compensation accuracy in the second display area.
[0080] Under normal circumstances, the Demura compensation data of the display screen maps the floating-point decimal compensation data to 8-bit (bit, unit of information volume) integer (0-255) data through a LUT (Look-Up Table). For example, if the range of general compensation data is n1 to n2 (n1 < n2), then the data of n1 to n2 will be mapped to 256 data, and the storage accuracy is (n2 - n1) / 256. Since the under-screen camera is placed under the display screen, the generated brightness is greater (or smaller) than the mura (scars caused by uneven display brightness) of the display screen without a camera under the screen, that is, there is a difference in brightness between the first display area and the second display area. Generally, there is only one case of brightness difference in a display screen with an under-screen camera, that is, either the whole is brighter or the whole is darker.
[0081] In one embodiment, the case where the first display area is brighter as a whole is taken as an example for illustration.
[0082] Because the first display area is brighter than the second display area, the compensation data calculated in the first display area and the compensation data in the second display area are not in the same data range. Assume that the value range of the compensation parameters in the first display area is n1 to n2 (n1 < n2), and the value range of the compensation parameters in the second display area is n3 to n4 (n3 < n4), and n2 < n3, as Figure 4 shown. If the compensation data in the first display area and the compensation data in the second display area are mapped to the same LUT together, it will cause the compensation parameter range to expand from n3 to n4 to n1 to n4, and the storage accuracy will drop to (n4 - n1) / 256, which is larger compared to (n4 - n3) / 256. And since the compensation data of n2 to n3 is not used, there will be a waste of a part of the space.
[0083] In one embodiment, as Figure 5 shown, taking the second initial data set as a reference, correcting the first initial data set, the first corrected data set and the correction parameters obtained include:
[0084] Step 502, respectively obtain the first correction parameter of the first initial data set and the second correction parameter of the second initial data set.
[0085] In one embodiment, the first correction parameter is the median value of the data in the first initial data set; and the second correction parameter is the median value of the data in the second initial data set.
[0086] In one embodiment, based on the coordinate position of the pixel, the compensation data range of the first initial data set and the compensation data range of the second initial data set are counted, the median value of the data in the first initial data set is recorded as the first correction parameter A, and the median value of the data in the second initial data set is recorded as the second correction parameter B.
[0087] Step 504 : Perform a first operation on the first correction parameter and the second correction parameter to obtain the correction parameter.
[0088] In one embodiment, the first operation may be a ratio operation.
[0089] In one embodiment, the second correction parameter is divided by the first correction parameter to obtain the correction parameter, as shown in formula (1):
[0090] α=B / A (1)
[0091] Where α is the correction parameter, A is the median of the data in the first initial data set, that is, the first correction parameter, and B is the median of the data in the second initial data set, that is, the second correction parameter.
[0092] In one embodiment, after determining the multiple relationship between the first initial data set and the second initial data set, the first initial data set is multiplied by the multiple α to obtain compensation data when the first display area does not contain an under-screen camera, that is, the first display area is neither darker nor brighter than the second display area.
[0093] Step 506 : Perform a second operation on each first initial data in the first initial data set and the correction parameter to obtain a first corrected data set.
[0094] In one embodiment, the second operation may be performed according to formula (2):
[0095] Gain'(i,j)=Gain(i,j)×α (2)
[0096] Gain(i, j) is the first unprocessed initial data set, Gain'(i, j) is the first corrected data set obtained through computational processing, and (i, j) belongs to the first display area.
[0097] In one embodiment, when (i, j) belongs to the second display area, Gain(i, j) is not calculated with the correction parameter.
[0098] In one embodiment, the first corrected data set is a result of converting each first initial data in the first initial data set and the correction parameter through a formula, thereby mapping the compensation data in the first display area to the floating-point data range of the second display area.
[0099] In one embodiment, during data storage, the first revised data set and the second initial data set obtained by multiplying the first initial data set by a multiple may be stored and mapped to 8-bit data to ensure storage accuracy.
[0100] This embodiment illustrates a method for processing a first initial dataset to prepare for optical compensation. In this embodiment, after determining the multiple relationship between the correction parameters for the first and second display areas, a second operation is performed on the first initial dataset and the correction parameters to obtain a first corrected dataset for the first display area when the under-display camera is not present.
[0101] Due to the high resolution of OLED displays, compensation data is typically compressed. This compression is typically performed based on blocks (the smallest storage and processing unit in a database). For example, the average value of the entire screen block is calculated based on a 2×2, 4×4, or other size.
[0102] Reference Figure 6 , shows a flow chart for compressing data. Since the first display area of the display screen may be rectangular or non-rectangular, data compression is performed for first display areas of different shapes.
[0103] In one embodiment, Figure 6 As shown, after mapping the first corrected data set and the second initial data set into a compensation data set, the method further includes a step of compressing data when the first display area is rectangular, including:
[0104] Step 602 : When the first display area is a rectangle, the first revised data set and the second initial data set are divided respectively to obtain a plurality of first revised data blocks and a plurality of second initial data blocks.
[0105] Step 604: compress the plurality of first modified data blocks and the plurality of second initial data blocks.
[0106] In one embodiment, Figure 6 As shown, after mapping the first corrected data set and the second initial data set into the compensation data set, the method further includes a step of compressing data when the first display area is non-rectangular, including:
[0107] Step 601 : When the first display area is a non-rectangular shape, fill the first revised data set corresponding to the first display area and the second initial data set of the second display area into a rectangle.
[0108] Step 603 : Divide the first revised data set and the second initial data set into a plurality of first revised data blocks and a plurality of second initial data blocks.
[0109] Step 605: compress the multiple first modified data blocks and the multiple second initial data blocks.
[0110] When compressing compensation data on a display with an under-screen camera, the compensation data for the under-screen camera has already been mapped. Furthermore, since the area containing the under-screen camera and the display screen outside the under-screen camera are significantly different, direct compression using traditional methods will cause anomalies at the junction of the area containing the under-screen camera and the display screen outside the under-screen camera.
[0111] In one embodiment, because the screen is divided into a first display area and a second display area, compensation data is no longer calculated as a whole. Therefore, data from the first display area is missing from the second display area. Because the edge of the first display area may be circular or have other shapes, it is necessary to pad the first corrected data blocks and the second initial data blocks with adjacent data values before compressing the first corrected data blocks and the second initial data blocks.
[0112] In one embodiment, before compressing the plurality of first revised data blocks and the plurality of second initial data blocks, the method includes: padding the first revised data blocks and the second initial data blocks with values of adjacent data.
[0113] Filling the first modified data block and the second initial data block must follow certain principles:
[0114] Blocks are calculated for the entire area in a specific order. If the fill area is rectangular, any areas not filled by the block are filled by copying adjacent pixels according to their values until the block size is reached. If the fill area is non-rectangular, adjacent pixels are copied to form a rectangle before expanding the area according to the principles of the rectangle.
[0115] like Figure 7 FIG2 is a schematic diagram of filling a rectangular first display area in an embodiment. The filling area is rectangular, and some areas are not large enough to form a block. In this case, the area needs to be copied and filled according to the values of adjacent pixels until the area is filled to the size of the block.
[0116] In one embodiment, performing data compression on a plurality of first modified data blocks and a plurality of second initial data blocks includes:
[0117] Calculate the average value of each block and save the average value as the compensation data of each pixel in the block to obtain compressed data.
[0118] In one embodiment, Figure 8 Figure 2 shows a schematic diagram of filling a non-rectangular first display area in one embodiment. Since the filling area is non-rectangular, adjacent pixels are first copied to fill the area into a rectangle, and then the area is expanded according to the principle of rectangles. That is, if a portion of the area is not large enough to form a block, the area is copied and filled according to the values of adjacent pixels until the area is filled to the size of the block.
[0119] In one embodiment, performing data compression on a plurality of first modified data blocks and a plurality of second initial data blocks includes:
[0120] Calculate the average value of each block and save the average value as the compensation data of each pixel in the block to obtain compressed data.
[0121] In another embodiment, Figure 9 As shown, a method for processing display screen optical compensation data is provided, the method comprising the following steps:
[0122] Step 902 : Acquire a first display data set of a first display area and a second display data set of a second display area respectively.
[0123] Step 904 : Perform initial compensation on the first display data set and the second display data set respectively to obtain a first initial data set and a second initial data set.
[0124] Step 906 : Obtain first correction parameters of the first initial data set and second correction parameters of the second initial data set respectively.
[0125] Step 908: Perform a first operation on the first correction parameter and the second correction parameter to obtain the correction parameter.
[0126] Step 910 : Perform a second operation on each first initial data in the first initial data set and the correction parameter to obtain a first corrected data set.
[0127] Step 912: Map the first corrected data set and the second initial data set into a compensated data set.
[0128] Step 914 : When the first display area is a rectangle, the first revised data set and the second initial data set are divided respectively to obtain a plurality of first revised data blocks and a plurality of second initial data blocks.
[0129] Step 916: Fill the first revised data block and the second initial data block with values of adjacent data.
[0130] Step 918: compress the plurality of first modified data blocks and the plurality of second initial data blocks.
[0131] Step 920 : When the first display area is a non-rectangular shape, fill the first revised data set corresponding to the first display area and the second initial data set of the second display area into a rectangle.
[0132] Step 922 : Divide the first revised data set and the second initial data set into a plurality of first revised data blocks and a plurality of second initial data blocks.
[0133] Step 924: Fill the first revised data block and the second initial data block with values of adjacent data.
[0134] Step 926: compress the plurality of first modified data blocks and the plurality of second initial data blocks.
[0135] In this embodiment, a first corrected data set is obtained by performing a second operation on each first initial data in the first initial data set and the correction parameter, and then the first corrected data set and the second initial data set are mapped from floating-point data to integer data, and the first display area and the second display area are filled and compressed respectively. While ensuring that the compensation of the first display area is normal, the compensation parameters and data compression are written to the partitions without affecting the compensation effect of the second display area.
[0136] When implementing the Demura On function, the compressed compensation data is decompressed within the register, and the compensation data set LUT (i, j) of the entire product is first inversely mapped back to floating-point data. The first corrected data set is then divided by the correction parameter α to obtain the actual floating-point data of the first display area. This data is then loaded into the product to achieve the normal compensation effect without losing the compensation accuracy of the second display area.
[0137] Specifically, when the compensation data set LUT (i, j) of the entire product is first inversely mapped back to floating-point data, the stored 8-bit data can be inversely mapped to obtain the original compensation data including the first corrected data set and the second initial data set, and then the first corrected data set is divided by a multiple to achieve normal compensation.
[0138] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0139] Based on the same inventive concept, embodiments of the present application also provide a display optical compensation device for implementing the aforementioned display optical compensation data processing method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more display optical compensation device embodiments provided below can be found in the aforementioned limitations of the display optical compensation data processing method and will not be further elaborated here.
[0140] In one embodiment, a display screen optical compensation device is provided, comprising: an acquisition module, a compensation module, a data allocation module, and a mapping module, wherein:
[0141] The acquisition module is configured to respectively acquire a first display data set of the first display area and a second display data set of the second display area.
[0142] The compensation module is configured to perform initial compensation on the first display data set and the second display data set respectively to obtain a first initial data set and a second initial data set.
[0143] The correction module is used to correct the first initial data set with the second initial data set as a reference to obtain a first corrected data set and correction parameters.
[0144] The mapping module is configured to map the first corrected data set and the second initial data set into a compensated data set.
[0145] Each module in the aforementioned display screen optical compensation device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a computer device's memory in the form of software, allowing the processor to call and execute the corresponding operations of each module.
[0146] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 10As shown. The computer device includes a processor, memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store optical compensation data. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for processing display screen optical compensation data is implemented.
[0147] Those skilled in the art will understand that Figure 10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0148] In one embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.
[0149] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0150] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0151] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0152] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.
[0153] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0154] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A method for processing display screen optical compensation data, characterized in that: The display screen includes a first display area and a second display area, and the method includes: respectively acquiring a first display data set of the first display area and a second display data set of the second display area; respectively calculating initial compensation data of the first display data set and the second display data set to obtain a first initial data set and a second initial data set; respectively obtaining a first correction parameter of the first initial data set and a second correction parameter of the second initial data set; Performing a first operation on the first correction parameter and the second correction parameter to obtain a correction parameter, wherein the first operation includes dividing the second correction parameter by the first correction parameter; performing a second operation on each first initial data in the first initial data set and the correction parameter to obtain a first corrected data set, wherein the second operation includes a multiplication operation; During storage, mapping the first revised data set and the second initial data set into a compensated data set, wherein the mapping includes mapping the first revised data set and the second initial data set from floating-point data to integer data; During compensation, the compensated data set of the first display area is inversely mapped back to the first corrected data set, and the first corrected data set is divided by the correction parameter to obtain real floating-point data; The compensated data set of the second display area is inversely mapped to obtain the second initial data set.
2. The method according to claim 1, characterized in that After mapping the first revised data set and the second initial data set into a compensated data set, the method further includes: When the first display area is rectangular, dividing the first revised data set and the second initial data set respectively to obtain a plurality of first revised data blocks and a plurality of second initial data blocks; Data compression is performed on the plurality of first modified data blocks and the plurality of second initial data blocks.
3. The method according to claim 1, characterized in that After mapping the first revised data set and the second initial data set into a compensated data set, the method further includes: When the first display area is a non-rectangular shape, filling the first modified data set corresponding to the first display area and the second initial data set corresponding to the second display area into a rectangle; Dividing the first revised data set and the second initial data set respectively to obtain a plurality of first revised data blocks and a plurality of second initial data blocks; Data compression is performed on the plurality of first modified data blocks and the plurality of second initial data blocks.
4. The method according to claim 2, characterized in that Before compressing the plurality of first modified data blocks and the plurality of second initial data blocks, the method includes: The first revised data block and the second initial data block are filled with values of adjacent data.
5. The method according to claim 1, wherein After mapping the first revised data set and the second initial data set into a compensated data set, the method further includes: The compensation data set and the correction parameters are burned.
6. The method according to claim 1, wherein The obtaining of first correction parameters of the first initial data set and second correction parameters of the second initial data set respectively includes: The median value of the first initial data set and the median value of the second initial data set are respectively obtained.
7. A display screen optical compensation data processing device, characterized in that: The device comprises: An acquisition module, configured to respectively acquire a first display data set of the first display area and a second display data set of the second display area; a compensation module, configured to perform initial compensation on the first display data set and the second display data set respectively to obtain a first initial data set and a second initial data set; a correction module, configured to respectively obtain a first correction parameter of the first initial data set and a second correction parameter of the second initial data set; Performing a first operation on the first correction parameter and the second correction parameter to obtain a correction parameter, wherein the first operation includes dividing the second correction parameter by the first correction parameter; performing a second operation on each first initial data in the first initial data set and the correction parameter to obtain a first corrected data set, wherein the second operation includes a multiplication operation; During storage, mapping the first revised data set and the second initial data set into a compensated data set, wherein the mapping includes mapping the first revised data set and the second initial data set from floating-point data to integer data; During compensation, the compensated data set of the first display area is inversely mapped back to the first corrected data set, and the first corrected data set is divided by the correction parameter to obtain real floating-point data; The compensated data set of the second display area is inversely mapped to obtain the second initial data set.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Compensation method and compensation device, display device, display method and storage medium
CN109036277A
Display panel and brightness correction method
CN112259056A