A correction coefficient compression method, device, system and brightness correction method
Through clustering analysis and difference encoding technology, the correction coefficient of the LED display screen is compressed, which solves the storage consumption problem caused by the large number of bits of the correction coefficient data, and improves the equipment performance of the LED display screen.
Patent Information
- Application Number
- CN202210167802.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-23
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2042-02-23
AI Technical Summary
In the prior art, the number of correction coefficient data bits of the LED display screen is large, resulting in a large consumption of bandwidth and storage capacity when stored in dynamic random storage memory such as SDRAM, affecting the performance of the device.
The light points of the LED display screen are divided by cluster analysis method. If the divided cluster contains the central light points, the correction coefficient of the central light points is compressed by the difference encoding method to obtain the compression correction coefficient. and store it in the receiving card.
It effectively reduces the number of memory bits occupied by the compression correction coefficient, improves the reading efficiency of the receiving card, and reduces the consumption of bandwidth and storage capacity.
Smart Images

Figure CN114528943B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of correction coefficient processing, and in particular to a correction coefficient compression method, device, system and brightness correction method. Background Art
[0002] At present, when using the correction coefficient to calibrate the light points on the LED display screen, after the upper computer calculates the correction coefficient of each light point, it will send all the correction coefficients to the receiving card, and the receiving card will read the correction coefficients stored in the dynamic random access memory such as SDRAM in the receiving card. However, the number of data bits used in the current correction coefficient is relatively large, that is, the required data storage space is relatively large, which consumes a large amount of bandwidth and storage capacity for dynamic random access memory such as SDRAM, and the load capacity of dynamic random access memory such as SDRAM may also be affected to a certain extent.
[0003] For example, when the correction coefficient is 14 bits, each pixel corresponds to 9 correction coefficients. At this time, storing the correction coefficient of a pixel requires 14*9=126 bits of storage space. When the display screen with a resolution of 512*512 is loaded, a total of 2G bandwidth is consumed. When the display screen with a resolution of 1024*512 is loaded, a total of 4G bandwidth is consumed.
[0004] Therefore, those skilled in the art are in urgent need of finding a new technical solution to solve the above-mentioned problems. Summary of the invention
[0005] In order to overcome the problems existing in the related art, the present invention discloses a correction coefficient compression method, device, system and brightness correction method.
[0006] According to a first aspect of an embodiment disclosed in the present invention, a correction coefficient compression method is provided, the method comprising:
[0007] Obtaining the brightness and correction coefficient of each light point in the LED display screen to be corrected, wherein the LED display screen to be corrected includes at least one receiving card;
[0008] According to the brightness of each light point, cluster analysis is performed on the light points carried by each receiving card by using a cluster analysis method, and the light points carried by each receiving card are divided into multiple clusters;
[0009] If the divided cluster includes a central light point, the correction coefficient of the central light point and the correction coefficient of the non-central light point in the cluster including the central light point are differentially compressed by a differential coding method to obtain a compressed correction coefficient of each light point.
[0010] Optionally, according to the brightness of each light point, cluster analysis is performed on the light points carried by each receiving card by a cluster analysis method, and the light points carried by each receiving card are divided into multiple clusters, including:
[0011] For the mth receiving card that needs to divide the loaded lamp points into n clusters, the lamp points are divided into n clusters according to the brightness of each lamp point on the mth receiving card by using the cluster analysis method;
[0012] Determine the central light points of (n-1) clusters in the n clusters;
[0013] The light points carried by each receiving card are divided into multiple clusters by the cluster analysis method.
[0014] Optionally, if the divided cluster includes a central light point, performing difference compression processing on the correction coefficient of each light point in the cluster including the central light point by a difference encoding method according to the correction coefficient of the central light point and the correction coefficient of the non-central light point in the cluster including the central light point, to obtain the compressed correction coefficient of each light point, including:
[0015] If the divided cluster includes the central light point, determining the correction coefficients of the non-central light points in the cluster including the central light point and the correction coefficient of the central light point;
[0016] Subtract the correction coefficient of each light point in the cluster where the central light point is located from the correction coefficient of the central light point to obtain the differential code of each light point in the cluster where the central light point is located;
[0017] Determine a prefix code for each light point in a cluster including a central light point, wherein the prefix code is used to distinguish multiple clusters;
[0018] A compression correction coefficient of each light point is obtained, where the compression correction coefficient includes a prefix code and a differential code.
[0019] Optionally, determining the prefix code of each light point in the cluster including the central light point includes:
[0020] Determine the number of light points in each cluster that includes the central light point;
[0021] The prefix code of each light point in the cluster including the central light point is determined according to the number of light points in the cluster, wherein the prefix codes of all the light points in each cluster including the central light point are the same.
[0022] Optionally, the method further includes:
[0023] If the divided cluster does not include the central light point, no processing is performed on the correction coefficient of each light point in the cluster that does not include the central light point, and the correction coefficient that is not processed is determined as the original correction coefficient.
[0024] Optionally, the method further includes:
[0025] The compression correction coefficient of each light point after the difference compression processing and the original correction coefficient without processing are stored in the dynamic random access memory in the receiving card.
[0026] According to a second aspect of the disclosed embodiment of the present invention, a brightness correction method is provided, the method comprising:
[0027] According to the correction coefficient compression method described in the first aspect of the disclosed embodiment of the present invention, the compressed correction coefficient of each light point after difference compression processing and the original correction coefficient without processing are obtained in the LED display screen to be corrected;
[0028] Performing brightness correction on the light point corresponding to the unprocessed correction coefficient using the original correction coefficient;
[0029] Determine the correction coefficient of each light point before the difference compression processing is performed according to the compression correction coefficient of each light point after the difference compression processing is performed;
[0030] Brightness correction is performed on each corresponding lamp point according to the correction coefficient before the difference compression processing is performed on each lamp point.
[0031] According to a third aspect of the disclosed embodiment of the present invention, a correction coefficient compression device is provided, the correction coefficient compression device comprising:
[0032] A first coefficient acquisition module, which acquires the brightness and correction coefficient of each light point in the LED display screen to be corrected, wherein the LED display screen to be corrected includes at least one receiving card;
[0033] A cluster analysis module, connected to the first coefficient acquisition module, performs cluster analysis on the light points carried by each receiving card by a cluster analysis method according to the brightness of each light point, and divides the light points carried by each receiving card into multiple clusters;
[0034] A compression coefficient acquisition module is connected to the cluster analysis module. If the divided cluster includes a central light point, the correction coefficient of each light point in the cluster including the central light point is subjected to difference compression processing through a difference coding method according to the correction coefficient of the central light point and the correction coefficient of the non-central light point in the cluster including the central light point, so as to obtain the compression correction coefficient of each light point.
[0035] Optionally, the correction coefficient compression device further includes:
[0036] The original coefficient acquisition module is connected to the cluster analysis module. If the divided cluster does not include the central light point, the correction coefficient of each light point in the cluster that does not include the central light point is not processed, and the correction coefficient that is not processed is determined as the original correction coefficient.
[0037] Optionally, the compression coefficient acquisition module includes:
[0038] a correction coefficient determination unit, which determines the correction coefficients of the non-central light points in the cluster including the central light point and the correction coefficient of the central light point if the divided cluster includes the central light point;
[0039] a differential code acquisition unit connected to the correction coefficient determination unit, subtracting the correction coefficient of each light point in the cluster where the central light point is located from the correction coefficient of the central light point, to acquire the differential code of each light point in the cluster where the central light point is located;
[0040] A prefix code determining unit, connected to the differential code acquiring unit, determines a prefix code of each light point in the cluster including the central light point, wherein the prefix code is used to distinguish multiple clusters;
[0041] The compression coefficient acquisition unit is connected to the prefix code determination unit and acquires the compression correction coefficient of each light point, wherein the compression correction coefficient includes a prefix code and a differential code.
[0042] According to a fourth aspect of the disclosed embodiments of the present invention, a correction coefficient compression system is provided, the system comprising: a camera, a server, a receiving card and an LED display screen to be corrected;
[0043] The receiving card is located in the LED display screen to be calibrated, and the camera is used to capture a brightness image of the LED display screen to be calibrated;
[0044] The server includes the correction coefficient compression device described in the third aspect of the embodiment disclosed in the present invention, and is respectively connected to the receiving card and the camera, and is used to perform difference compression processing on the correction coefficients of the lamp points in the LED display screen to be corrected according to the brightness image captured by the camera through the correction coefficient compression device, and send the compressed correction coefficients of each lamp point after the difference compression processing to the receiving card.
[0045] In summary, the present invention discloses a correction coefficient compression method, device, system and brightness correction method, the correction coefficient compression method comprising: obtaining the brightness and correction coefficient of each light point in the LED display screen to be corrected; according to the brightness of each light point, clustering analysis is performed on the light points carried by each receiving card by a clustering analysis method, and the light points carried by each receiving card are divided into multiple clusters; if the divided cluster does not include the central light point, the correction coefficient of each light point in the cluster that does not include the central light point is not processed; if the divided cluster includes the central light point, the correction coefficient of each light point in the cluster that includes the central light point is differentially compressed by a differential encoding method to obtain the compressed correction coefficient of each light point. By differentially compressing the correction coefficients of the light points in some clusters, the number of storage bits occupied by the compressed correction coefficients can be effectively reduced, the reading efficiency of the receiving card can be improved, and the consumption of bandwidth and storage capacity can be reduced.
[0046] Other features and advantages disclosed in the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0048] Figure 1 is a flow chart showing a correction coefficient compression method according to an exemplary embodiment;
[0049] Figure 2 is based on Figure 1 A flow chart of a cluster analysis method is shown;
[0050] Figure 3 is based on Figure 2 A schematic diagram of a cluster analysis method is shown;
[0051] Figure 4 is based on Figure 1 A flowchart of a correction coefficient compression method is shown;
[0052] Figure 5 is based on Figure 1 A flowchart of another correction coefficient compression method is shown;
[0053] Figure 6 is a flow chart of a brightness correction method according to an exemplary embodiment;
[0054] Figure 7 is a structural block diagram of a correction coefficient compression device according to an exemplary embodiment;
[0055] Figure 8 is based on Figure 7 A structural block diagram of another correction coefficient compression device is shown;
[0056] Fig. 9 is based on Figure 7 A structural block diagram of a brightness correction device is shown. DETAILED DESCRIPTION
[0057] The specific embodiments disclosed in the present invention are described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present disclosure, and are not used to limit the present disclosure.
[0058] Figure 1 is a flow chart of a correction coefficient compression method according to an exemplary embodiment. Figure 1 As shown, the method includes:
[0059] In step 101, the brightness and correction coefficient of each light point in the LED display screen to be corrected are obtained.
[0060] Wherein, the LED display screen to be calibrated includes at least one receiving card.
[0061] For example, the process of obtaining the correction coefficient of each light point in the LED display screen to be corrected specifically includes: taking a brightness image of the LED display screen to be corrected by a camera, and then uploading the brightness image to the host computer software, and the host computer software analyzes the brightness image, calculates the brightness value and correction coefficient of each light point, and sends it to the receiving card of the LED display screen. If the light point brightness correction is required in the subsequent process, the correction coefficient stored in the SDRAM dynamic random access memory of the receiving card is read by the receiving card, and the correction coefficient is used for the brightness correction of each light point on the LED display screen. Similarly, in the disclosed embodiment of the present invention, it is also necessary to first obtain the brightness and correction coefficient of each light point on the LED display screen to be corrected, so as to perform the subsequent correction coefficient compression and light point correction process.
[0062] In step 102, cluster analysis is performed on the lamp points carried by each receiving card according to the brightness of each lamp point by using a cluster analysis method, and the lamp points carried by each receiving card are divided into multiple clusters.
[0063] For example, the LED display screen to be corrected usually includes at least one receiving card, and the lamp points carried on each receiving card together constitute all the lamp points on the LED display screen. In the disclosed embodiment of the present invention, the lamp points carried on each receiving card are taken as units, and the lamp points on each receiving card are divided into multiple clusters according to the brightness relationship. In this way, the receiving card SDRAM dynamic random access memory can be conveniently used to store and read the compression correction coefficients and original correction coefficients of the lamp points in the receiving card. In the disclosed embodiment of the present invention, when the lamp points on the receiving card are divided into multiple clusters, the brightness of the lamp points is used as the basis for cluster analysis. This is because under normal circumstances, for a large-screen LED display screen, the brightness values between lamp points with similar positions are usually very close. Therefore, a cluster analysis method is used to divide multiple lamp points with similar brightness values into one cluster, and then the correction coefficients of the lamp points under one cluster are compressed through the following steps.
[0064] in, Figure 2 is based on Figure 1 A flow chart of a cluster analysis method is shown in FIG. Figure 2 As shown, step 102 includes:
[0065] In step 1021, for the mth receiving card that needs to divide the light points it carries into n clusters, the light points are divided into n clusters according to the brightness of each light point on the mth receiving card through the cluster analysis method.
[0066] For example, it can be understood that for each receiving card, the specific number of clusters into which the light points are divided depends on the complexity of the light points on the receiving card. For example, light points produced in different batches are likely to have brightness differences, and light points produced in the same batch may also have brightness differences due to manual operations during the production process. Therefore, after determining the brightness of each light point, the staff determines the number of cluster types after division based on the difference in brightness. At present, it is more common to divide the light points into 64 or 128 types.
[0067] It can be understood that the basic principle of the cluster analysis method is to first determine the center point of each cluster (i.e., the center light point in the embodiment disclosed in the present invention), and then divide the other element points near the center point and whose difference with the center point is less than the preset threshold into the cluster where the center point is located according to the minimum distance principle. In the embodiment disclosed in the present invention, the brightness of the light point is used as the basis for dividing the clusters. Specifically, take the mth receiving card as an example for explanation. If the light points in the mth receiving card need to be divided into n clusters, the light points are sorted according to the brightness value of each light point, and the light points are divided into n clusters according to the brightness difference between adjacent light points after sorting (usually n is a preset value, which is determined by the staff according to the brightness relationship of the light points). Moreover, in the above n clusters, the brightness difference between the light points in the first (n-1) clusters is relatively small, which is less than the preset brightness difference threshold (the preset brightness difference threshold is also a preset value determined by the staff according to the brightness relationship of the light points), while the brightness difference between the light points in the nth cluster is usually large, much larger than the preset brightness difference threshold. This is because when dividing the clusters, the first (n-1) clusters grouped the light points with smaller brightness differences together, while the last cluster (the nth cluster) contained light points with larger brightness differences that could not be divided into the first (n-1) clusters.
[0068] In step 1022, the central light points of (n-1) clusters are determined in the above n clusters.
[0069] For example, after the lamps in the mth receiving card are divided into n clusters through the above step 1021, since the brightness difference of the lamps in the first (n-1) clusters is small, the correction coefficients of the lamps in these clusters can be subjected to difference compression processing. Before performing the difference compression processing, it is first necessary to determine the central lamp of each of the above (n-1) clusters. Since the brightness of the lamps has been sorted in step 1021, the lamp with the brightness in the middle position in a cluster can be used as the central lamp of the cluster. For example, a cluster includes lamps with brightness of 4, 5, 6, 7, 8, 9 and 10 respectively, and the lamp with a brightness value of 7 can be determined as the central lamp of the cluster.
[0070] It should be noted that, in general, each cluster after division will contain a central light point, except for the last cluster, which does not contain a central light point. This is because the last cluster is equivalent to dividing all the previous clusters and grouping the remaining light points into one cluster (i.e., the last cluster). At this time, the brightness difference of the light points in the last cluster is usually large, and the central light point cannot be determined. In other words, even if the central light point of the last cluster is determined, after compressing the correction coefficients of the light points in the cluster according to the central light point, the difference in the correction coefficients between the light points is large (when the brightness difference between the light points is too large, the difference between the correction coefficients of the light points will also be large), the compressed correction coefficients after compression cannot achieve the purpose of saving storage bits.
[0071] For example, Figure 3 The figure shows a schematic diagram of a cluster analysis method. The "point" formed by the intersection of each horizontal line and vertical line represents a light point on the LED display screen. Figure 3 There are a total of 7 clusters, among which the clusters represented by A, B, C, D, E and F all include the central light point, and the G cluster is formed after the above A, B, C, D, E and F clusters are divided. Due to the large difference in brightness between the remaining light points that are not divided into the above clusters, or because some of the remaining light points are far away from the light points in the above A, B, C, D, E and F clusters, they cannot be divided into the above clusters. Therefore, all the remaining light points are divided into one cluster as the G cluster.
[0072] In step 1023, the light points carried by each receiving card are divided into multiple clusters by using the cluster analysis method.
[0073] For example, since the brightness of the lamps in each receiving card is different, the number of clusters divided after cluster analysis is also different. The method in the above steps 1021-1022 is used to perform cluster analysis on the lamps in each receiving card until the cluster analysis of all the lamps in the entire LED display screen to be corrected is completed. In this way, according to the results of the cluster analysis, the correction coefficients of the lamps can be compressed or not compressed through the following steps 103 and 104.
[0074] In step 103, if the divided cluster includes a central light point, the correction coefficient of each light point in the cluster including the central light point is differentially compressed by a differential coding method according to the correction coefficient of the central light point and the correction coefficient of the non-central light point in the cluster including the central light point, so as to obtain a compressed correction coefficient of each light point.
[0075] For example, for a cluster including a central light point, for example, Figure 3For the clusters A, B, C, D, E and F in the above step 1022 or the first (n-1) clusters in the above step 1022, since the brightness difference between the non-central light points and the central light points in these clusters is small, the correction coefficients of each light point in these clusters are subjected to difference compression processing. In this way, by storing the compressed correction coefficients after the difference compression processing in the SDRAM dynamic random access memory of the receiving card, the number of storage bits occupied by the correction coefficients can be reduced, and the storage memory occupied by the correction coefficients can be reduced. It can be understood that, since the correction coefficient is equal to the target brightness value divided by the actual brightness value of the light point when the brightness correction of the light point is performed, therefore, for clusters with small differences in the brightness of the light points, the difference between the correction coefficients of each light point is also very small. After the correction coefficients of these light points are subjected to difference compression processing, the number of storage bits occupied by the obtained compressed correction coefficients is less than the number of storage bits occupied by the correction coefficients of these light points.
[0076] in, Figure 4 is based on Figure 1 A flowchart of a correction coefficient compression method is shown in FIG. Figure 4 As shown, step 103 includes:
[0077] In step 1031, if the divided cluster includes the central light point, the correction coefficients of the non-central light points in the cluster including the central light point and the correction coefficient of the central light point are determined.
[0078] In step 1032, the correction coefficient of each light point in the cluster where the central light point is located is subtracted from the correction coefficient of the central light point to obtain the differential code of each light point in the cluster where the central light point is located.
[0079] For example, for a cluster containing a central light point, the correction coefficient of the central light point is subtracted from the correction coefficient of each light point, and the difference obtained is used as the differential code of the light point, and the differential code is a part of the compressed correction coefficient after compression processing. For example, a cluster contains 6 light points, and the correction coefficients are: 0.1, 0.13, 0.12, 0.15, 0.18 and 10.17, among which the correction coefficient of the central light point is 0.15. At this time, the difference obtained by subtracting the correction coefficient of each light point from the central light point is: 0.05, 0.02, 0.03, 0, -0.03 and -0.02, respectively. In this way, the above difference is stored as the differential code of each light point. Only the correction coefficient of one central light point needs to be stored in a cluster, and the other light points are stored in the form of prefix coding + differential coding. In addition, it can be understood that the above correction coefficients and compressed correction coefficients (prefix coding + differential coding) are stored in binary form when stored.
[0080] In step 1033 , the prefix code of each light point in the cluster including the central light point is determined.
[0081] For example, in addition to differential coding, the compression correction coefficient also includes prefix coding, which is used to distinguish multiple clusters. For example, the prefix code can be related to the number of types of light points in the cluster to distinguish different clusters according to the number of types of light points. Specifically, the number of light points in each cluster including a central light point is determined; the prefix code of each light point in the cluster including the central light point is determined according to the number of light points in the cluster, wherein the prefix codes of all light points in each cluster including the central light point are the same, while the prefix codes of all light points in clusters with different central light points are different.
[0082] In addition, in the disclosed embodiments of the present invention, the more light points there are in a cluster, the shorter the prefix code length of the light points in the cluster, and the fewer light points there are in a cluster, the longer the prefix code of the light points in the cluster. This is because, generally speaking, the more light points there are in a cluster, the smaller the brightness difference between the light points, and the smaller the difference between the correction coefficients. At this time, a shorter prefix code is used for encoding the cluster with a large number of light points, so that the compression coefficients of the light points with small differences between these correction coefficients can occupy a shorter number of storage bits, so that the reading efficiency of the light point correction coefficients in the cluster can be greatly improved (the compression correction coefficient includes prefix coding and differential coding. A shorter prefix coding is used in this type of cluster, and the difference between the light point correction coefficients is small, that is, the differential coding of each light point is small, so that the compression correction coefficient of the light point occupies a smaller number of storage bits). Among them, prefix codes of different lengths can be expressed in the form of 1, 01, 001, 0001 and 0001.
[0083] In another embodiment of the present disclosure, if the difference between the correction coefficients of all lamp points in a cluster is 0 (the correction coefficients of each lamp point are equal), the prefix code of the lamp point under the cluster can be represented by special characters. In this way, when the receiving card reads the compression correction coefficient corresponding to the cluster, as long as the prefix code of the special character is read, it can be determined that the differential codes of all lamp points under the cluster are 0, which can further save the time of the receiving card in reading the compression correction coefficient and greatly improve the reading efficiency.
[0084] In step 1034, the compression correction coefficient of each lamp point is obtained.
[0085] The compression correction coefficient includes prefix coding and differential coding.
[0086] For example, by obtaining the prefix code and differential code (compression correction coefficient) of each light point through the above steps 1031-1033, the number of storage bits occupied by the compression correction coefficient of each light point can be greatly reduced, reducing the consumption of bandwidth and storage capacity. For example, each of the 9 correction coefficients corresponding to a light point requires 14 bits of storage, so the light point needs to occupy a total of 9*14=126 bits of storage, and in the compression correction coefficient after the difference compression processing, if the main coefficient of the light point needs to occupy 6 bits of storage, and the complement coefficient needs to occupy 5 bits of storage, then the number of storage bits occupied by the compression correction coefficient of the light point after the difference compression processing is 3*6+6*5=48 bits. It can be seen that compared with before the compression processing, the light point saves a total of 78 bits of storage.
[0087] Figure 5 is based on Figure 1 A flowchart of another correction coefficient compression method is shown in FIG. Figure 5 Said correction coefficient compression method further comprises:
[0088] In step 104, if the divided cluster does not include the central light point, the correction coefficient of each light point in the cluster that does not include the central light point is not processed, and the correction coefficient that is not processed is determined as the original correction coefficient.
[0089] For example, for a cluster that does not include a central light point, such as Figure 3 The G cluster in the above steps 1021-1022, or the nth cluster in the above steps 1021-1022, the brightness differences between the lamps in these clusters are relatively large, so no difference compression processing is performed, but the correction coefficients of these lamps are directly stored in the SDRAM dynamic random access memory of the receiving card, and in order to distinguish the correction coefficients of these lamps from the correction coefficients of other lamps, the correction coefficients of the lamps that are not processed are defined as original correction coefficients.
[0090] In addition, the correction coefficient compression method further includes: storing the compressed correction coefficient of each light point after the difference compression processing and the original correction coefficient without processing in the dynamic random access memory in the receiving card.
[0091] Figure 6 is a flow chart of a brightness correction method according to an exemplary embodiment. Figure 6 As shown, the method includes:
[0092] In step 601, the compression correction coefficient of each light point after difference compression processing and the original correction coefficient without processing in the LED display screen to be corrected are obtained.
[0093] For example, through the above steps 101-104, the correction coefficients of the lamp points in the LED display screen to be corrected are subjected to difference compression processing or no processing, and the compressed correction coefficients after the difference compression processing and the original correction coefficients without processing are stored in the dynamic random access memory in the receiving card. In the process of correcting the lamp points of the LED display screen to be corrected, it is first necessary to read the original correction coefficients and the compressed correction coefficients from the dynamic random access memory, and then correct the lamp points through the following steps 602-604.
[0094] In step 602, brightness correction is performed on the light point corresponding to the unprocessed correction coefficient using the original correction coefficient.
[0095] For example, after the original correction coefficient is obtained, the brightness of the light point can be directly corrected according to the original correction coefficient. The original correction coefficient has not been subjected to difference compression processing, does not include prefix coding and differential coding, and does not require decoding operation.
[0096] In step 603, the correction coefficient of each lamp point before the difference compression processing is performed is determined according to the compression correction coefficient of each lamp point after the difference compression processing is performed.
[0097] In step 604, brightness correction is performed on each corresponding light point according to the correction coefficient before the difference compression process is performed on each light point.
[0098] For example, after obtaining the compression correction coefficient, the compression correction coefficient is decoded in reverse according to the correction coefficient compression method in the above steps 101 to 103 to obtain the correction coefficient before the difference compression processing, and then the brightness of the light point is corrected according to the correction coefficient before the difference compression processing.
[0099] Figure 7 is a structural block diagram of a correction coefficient compression device according to an exemplary embodiment. Figure 7 As shown, the device 700 includes:
[0100] A first coefficient acquisition module 710, which acquires the brightness and correction coefficient of each light point in the LED display screen to be calibrated, wherein the LED display screen to be calibrated includes at least one receiving card;
[0101] The cluster analysis module 720 is connected to the first coefficient acquisition module 710, and performs cluster analysis on the light points carried by each receiving card by a cluster analysis method according to the brightness of each light point, and divides the light points carried by each receiving card into multiple clusters;
[0102] The compression coefficient acquisition module 730 is connected to the cluster analysis module 720. If the divided cluster includes a central light point, the correction coefficient of each light point in the cluster including the central light point is differentially compressed by a differential coding method according to the correction coefficient of the central light point and the correction coefficient of the non-central light point in the cluster including the central light point, so as to obtain the compression correction coefficient of each light point.
[0103] Optionally, the compression coefficient acquisition module 730 includes:
[0104] A correction coefficient determination unit, which determines the correction coefficients of the non-central light points in the cluster including the central light point and the correction coefficient of the central light point if the divided cluster includes the central light point;
[0105] A differential code acquisition unit is connected to the correction coefficient determination unit, and subtracts the correction coefficient of each light point in the cluster where the central light point is located from the correction coefficient of the central light point to obtain a differential code of each light point in the cluster where the central light point is located;
[0106] A prefix code determining unit, connected to the differential code acquiring unit, determines a prefix code of each light point in the cluster including the central light point, where the prefix code is used to distinguish multiple clusters;
[0107] The compression coefficient acquisition unit is connected to the prefix code determination unit and acquires the compression correction coefficient of each light point, where the compression correction coefficient includes the prefix code and the differential code.
[0108] Figure 8 is based on Figure 7 The structural block diagram of another correction coefficient compression device is shown in FIG. Figure 8 As shown, the correction coefficient compression device also includes:
[0109] The original coefficient acquisition module 740 is connected to the cluster analysis module 720. If the divided cluster does not include the central light point, the correction coefficient of each light point in the cluster that does not include the central light point is not processed, and the correction coefficient that is not processed is determined as the original correction coefficient.
[0110] Fig. 9 is based on Figure 7 A structural block diagram of a brightness correction device is shown in FIG. Fig. 9 As shown, the brightness correction device 900 is connected to the correction coefficient compression device 700, and the brightness correction device 900 includes:
[0111] The second coefficient acquisition module 910, through the correction coefficient compression device, adopts the correction coefficient compression method to obtain the compressed correction coefficient of each light point after the difference compression processing and the original correction coefficient without processing in the LED display screen to be corrected;
[0112] A first correction module 920, connected to the second coefficient acquisition module 910, performs brightness correction on the light point corresponding to the unprocessed correction coefficient by using the original correction coefficient;
[0113] A third coefficient acquisition module 930, connected to the second coefficient acquisition module 910, determines the correction coefficient of each light point before the difference compression processing according to the compression correction coefficient of each light point after the difference compression processing;
[0114] The second correction module 940 is connected to the third coefficient acquisition module 930, and performs brightness correction on each corresponding light point according to the correction coefficient before the difference compression processing is performed on each light point.
[0115] In addition, the present invention also discloses a correction coefficient compression system, characterized in that the system comprises: a camera, a server, a receiving card and an LED display screen to be corrected;
[0116] The receiving card is located in the LED display screen to be calibrated, and the camera is used to capture the brightness image of the LED display screen to be calibrated;
[0117] The server includes a correction coefficient compression device, and is connected to the receiving card and the camera respectively. It is used to perform difference compression processing on the correction coefficients of the light points in the LED display screen to be corrected according to the brightness image captured by the camera through the correction coefficient compression device, and send the compressed correction coefficients of each light point after the difference compression processing to the receiving card.
[0118] In summary, the present invention discloses a correction coefficient compression method, device, system and brightness correction method, the correction coefficient compression method comprising: obtaining the brightness and correction coefficient of each light point in the LED display screen to be corrected; according to the brightness of each light point, clustering analysis is performed on the light points carried by each receiving card by a clustering analysis method, and the light points carried by each receiving card are divided into multiple clusters; if the divided cluster does not include the central light point, the correction coefficient of each light point in the cluster that does not include the central light point is not processed; if the divided cluster includes the central light point, the correction coefficient of each light point in the cluster that includes the central light point is differentially compressed by a differential encoding method to obtain the compressed correction coefficient of each light point. By differentially compressing the correction coefficients of the light points in some clusters, the number of storage bits occupied by the compressed correction coefficients can be effectively reduced, the reading efficiency can be improved, and the consumption of bandwidth and storage capacity can be reduced.
[0119] In addition, by establishing a connection between the prefix code in the compression correction coefficient and the number of lamp points in the cluster, the prefix code length of the lamp points in the cluster with more lamp points is shorter, so that the reading efficiency of the lamp point correction coefficient under the cluster is greatly improved.
[0120] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0121] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0122] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A correction coefficient compression method, characterized in that: The method comprises: Obtaining the brightness and correction coefficient of each light point in the LED display screen to be corrected, wherein the LED display screen to be corrected includes at least one receiving card; According to the brightness of each light point, cluster analysis is performed on the light points carried by each receiving card by using a cluster analysis method, and the light points carried by each receiving card are divided into multiple clusters; If the divided cluster includes a central light point, performing difference compression processing on the correction coefficient of each light point in the cluster including the central light point by a difference coding method according to the correction coefficient of the central light point and the correction coefficient of the non-central light point in the cluster including the central light point, so as to obtain a compressed correction coefficient of each light point; According to the brightness of each lamp point, cluster analysis is performed on the lamp points carried by each receiving card by a cluster analysis method, and the lamp points carried by each receiving card are divided into multiple clusters, including: for the mth receiving card that needs to divide the carried lamp points into n clusters, according to the brightness of each lamp point on the mth receiving card, the lamp points are divided into n clusters by the cluster analysis method; the central lamp points of (n-1) clusters are determined in the n clusters; and the lamp points carried by each receiving card are divided into multiple clusters by the cluster analysis method.
2. The correction coefficient compression method according to claim 1, characterized in that: If the divided cluster includes a central light point, performing difference compression processing on the correction coefficient of each light point in the cluster including the central light point by a difference encoding method according to the correction coefficient of the central light point and the correction coefficient of the non-central light point in the cluster including the central light point, to obtain the compressed correction coefficient of each light point, including: If the divided cluster includes the central light point, determining the correction coefficients of the non-central light points in the cluster including the central light point and the correction coefficient of the central light point; Subtract the correction coefficient of each light point in the cluster where the central light point is located from the correction coefficient of the central light point to obtain the differential code of each light point in the cluster where the central light point is located; Determine a prefix code for each light point in a cluster including a central light point, wherein the prefix code is used to distinguish multiple clusters; A compression correction coefficient of each light point is obtained, where the compression correction coefficient includes a prefix code and a differential code.
3. The correction coefficient compression method according to claim 2, characterized in that: The determining of the prefix code of each light point in the cluster including the central light point comprises: Determine the number of light points in each cluster that includes the central light point; The prefix code of each light point in the cluster including the central light point is determined according to the number of light points in the cluster, wherein the prefix codes of all the light points in each cluster including the central light point are the same.
4. The correction coefficient compression method according to claim 1, characterized in that: The method further comprises: If the divided cluster does not include the central light point, no processing is performed on the correction coefficient of each light point in the cluster that does not include the central light point, and the correction coefficient that is not processed is determined as the original correction coefficient.
5. The correction coefficient compression method according to claim 4, characterized in that: The method further comprises: The compression correction coefficient of each light point after the difference compression processing and the original correction coefficient without processing are stored in the dynamic random access memory in the receiving card.
6. A brightness correction method, characterized in that: The method comprises: According to the correction coefficient compression method of claim 4, the compressed correction coefficient of each light point after difference compression processing and the original correction coefficient without processing are obtained in the LED display screen to be corrected; Performing brightness correction on the light point corresponding to the unprocessed correction coefficient using the original correction coefficient; Determine the correction coefficient of each light point before the difference compression processing is performed according to the compression correction coefficient of each light point after the difference compression processing is performed; Brightness correction is performed on each corresponding lamp point according to the correction coefficient before the difference compression processing is performed on each lamp point.
7. A correction coefficient compression device, characterized in that: The correction coefficient compression device comprises: A first coefficient acquisition module, which acquires the brightness and correction coefficient of each light point in the LED display screen to be corrected, wherein the LED display screen to be corrected includes at least one receiving card; A cluster analysis module, connected to the first coefficient acquisition module, performs cluster analysis on the light points carried by each receiving card by a cluster analysis method according to the brightness of each light point, and divides the light points carried by each receiving card into multiple clusters; A compression coefficient acquisition module connected to the cluster analysis module, if the divided cluster includes a central light point, performs difference compression processing on the correction coefficient of each light point in the cluster including the central light point through a difference coding method according to the correction coefficient of the central light point and the correction coefficient of the non-central light point in the cluster including the central light point, so as to obtain a compression correction coefficient of each light point; According to the brightness of each lamp point, cluster analysis is performed on the lamp points carried by each receiving card by a cluster analysis method, and the lamp points carried by each receiving card are divided into multiple clusters, including: for the mth receiving card that needs to divide the carried lamp points into n clusters, according to the brightness of each lamp point on the mth receiving card, the lamp points are divided into n clusters by the cluster analysis method; the central lamp points of (n-1) clusters are determined in the n clusters; and the lamp points carried by each receiving card are divided into multiple clusters by the cluster analysis method.
8. The correction coefficient compression device according to claim 7, characterized in that: The correction coefficient compression device also includes: The original coefficient acquisition module is connected to the cluster analysis module. If the divided cluster does not include the central light point, the correction coefficient of each light point in the cluster that does not include the central light point is not processed, and the correction coefficient that is not processed is determined as the original correction coefficient.
9. A correction factor compression system, characterized in that: The system comprises: a camera, a server, a receiving card and an LED display screen to be calibrated; The receiving card is located in the LED display screen to be calibrated, and the camera is used to capture a brightness image of the LED display screen to be calibrated; The server includes the correction coefficient compression device described in any one of claims 7-8, and is respectively connected to the receiving card and the camera, and is used to perform difference compression processing on the correction coefficients of the lamp points in the LED display screen to be corrected according to the brightness image captured by the camera through the correction coefficient compression device, and send the compressed correction coefficients of each lamp point after the difference compression processing to the receiving card.
Citation Information
Patent Citations
Compression method and device of correction coefficient and storage method
CN114020510A
Methods and apparatus for utilizing display correction factors
US20210210007A1