CN114528943A - Correction coefficient compression method, device and system and brightness correction method - Google Patents

Correction coefficient compression method, device and system and brightness correction method Download PDF

Info

Publication number
CN114528943A
CN114528943A CN202210167802.6A CN202210167802A CN114528943A CN 114528943 A CN114528943 A CN 114528943A CN 202210167802 A CN202210167802 A CN 202210167802A CN 114528943 A CN114528943 A CN 114528943A
Authority
CN
China
Prior art keywords
correction coefficient
point
lamp
clusters
center
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210167802.6A
Other languages
Chinese (zh)
Inventor
周锦志
汪安春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Colorlight Cloud Technology Co Ltd
Original Assignee
Colorlight Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Colorlight Cloud Technology Co Ltd filed Critical Colorlight Cloud Technology Co Ltd
Priority to CN202210167802.6A priority Critical patent/CN114528943A/en
Publication of CN114528943A publication Critical patent/CN114528943A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Probability & Statistics with Applications (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a method, a device and a system for compressing a correction coefficient and a brightness correction method, wherein the method for compressing the correction coefficient comprises the following steps: acquiring the brightness and the correction coefficient of each lamp point in the LED display screen to be corrected; according to the brightness of each light point, carrying out cluster analysis on the light points loaded by each receiving card by a cluster analysis method, and dividing the light points loaded by each receiving card into a plurality of clusters; if the divided clusters do not include the center light point, the correction coefficient of each light point in the clusters not including the center light point is not processed; and if the divided clusters comprise the center light point, performing difference compression processing on the correction coefficient of each light point in the clusters comprising the center light point by a difference coding method to obtain the compression correction coefficient of each light point. The difference compression processing can be carried out on the lamp point correction coefficients in the partial clustering, so that the number of storage bits occupied by the compressed correction coefficients is effectively reduced, the reading efficiency of the receiving card is improved, and the consumption of bandwidth and storage capacity is reduced.

Description

Correction coefficient compression method, device and system and brightness correction method
Technical Field
The invention relates to the technical field of correction coefficient processing, in particular to a correction coefficient compression method, a correction coefficient compression device, a correction coefficient compression system and a brightness correction method.
Background
At present, in the process of correcting the lamp points on the LED display screen by using the correction coefficients, after the upper computer calculates the correction coefficient of each lamp point, all the correction coefficients are sent to the receiving card, and the receiving card reads the correction coefficients stored in the dynamic random storage memory such as SDRAM and the like in the receiving card. However, the number of data bits used by the current correction coefficient is large, that is, the required data storage space is large, which causes large consumption of bandwidth and storage capacity for dynamic random access memories such as SDRAM and the like, and the loading capacity of the dynamic random access memories such as SDRAM and the like may be influenced to a certain extent.
For example, when the correction coefficient is 14 bits, 9 correction coefficients correspond to each pixel, and at this time, the correction coefficient for storing one pixel needs to occupy a storage space of 14 × 9-126 bits, a display screen with a loading resolution of 512 × 512 needs to consume 2G of bandwidth in total, and a display screen with a loading resolution of 1024 × 512 needs to consume 4G of bandwidth in total.
Therefore, a new technical solution to solve the above problems needs to be found by those skilled in the art.
Disclosure of Invention
In order to overcome the problems in the related art, the invention discloses and provides a correction coefficient compression method, a device, a system and a brightness correction method.
According to a first aspect of the disclosed embodiments of the present invention, there is provided a correction coefficient compression method, the method comprising:
acquiring the brightness and the correction coefficient of each lamp point in an LED display screen to be corrected, wherein the LED display screen to be corrected comprises at least one receiving card;
according to the brightness of each lamp point, carrying out cluster analysis on the lamp points loaded by each receiving card by a cluster analysis method, and dividing the lamp points loaded by each receiving card into a plurality of clusters;
and if the divided clusters comprise center light points, performing difference compression processing on the correction coefficient of each light point in the clusters comprising the center light points by a difference coding method according to the correction coefficient of the center light points and the correction coefficient of non-center light points in the clusters comprising the center light points to obtain the compression correction coefficient of each light point.
Optionally, the cluster analysis is performed on the light points loaded by each receiving card through a cluster analysis method according to the brightness of each light point, and the dividing of the light points loaded by each receiving card into a plurality of clusters includes:
aiming at the mth receiving card needing to divide the loaded lamp points into n clusters, dividing the lamp points into n clusters according to the brightness of each lamp point on the mth receiving card by the cluster analysis method;
determining center light points of (n-1) clusters in the n clusters;
and dividing the lamp points carried by each receiving card into a plurality of clusters by the cluster analysis method.
Optionally, if the divided clusters include center light points, performing difference compression processing on the correction coefficient of each light point in the cluster including the center light point by using a difference coding method according to the correction coefficient of the center light point and the correction coefficient of a non-center light point in the cluster including the center light point to obtain a compression correction coefficient of each light point, including:
if the divided clusters comprise center light points, determining the correction coefficients of non-center light points in the clusters comprising the center light points and the correction coefficients of the center light points;
subtracting the correction coefficient of each lamp point in the cluster of the center lamp point from the correction coefficient of the center lamp point to obtain the differential code of each lamp point in the cluster of the center lamp point;
determining a prefix code of each light point in a cluster comprising center light points, wherein the prefix code is used for distinguishing a plurality of clusters;
and acquiring a compression correction coefficient of each light point, wherein the compression correction coefficient comprises prefix coding and differential coding.
Optionally, the determining a prefix code of each light point in a cluster including the center light point includes:
determining the number of light points in each cluster comprising the center light point;
and determining the prefix code of each lamp point in the clusters including the center lamp point according to the number of the lamp points in the clusters, wherein the prefix codes of all the lamp points in each cluster including the center lamp point are the same.
Optionally, the method further includes:
if the divided clusters do not include the center light point, the correction coefficient of each light point in the clusters not including the center light point is not processed, and the correction coefficient which is not processed is determined as the original correction coefficient.
Optionally, the method further includes:
and storing the compressed correction coefficient of each lamp point after the difference compression processing and the unprocessed original correction coefficient into a dynamic random access memory in the receiving card.
According to a second aspect of the disclosed embodiments of the present invention, there is provided a luminance correction method, the method comprising:
according to the correction coefficient compression method of the first aspect of the disclosed embodiment of the invention, a compressed correction coefficient and an unprocessed original correction coefficient of each lamp point in an LED display screen to be corrected after differential value compression processing are performed are obtained;
performing brightness correction on the lamp points corresponding to the correction coefficients which are not processed through the original correction coefficients;
determining a correction coefficient of each lamp point before differential compression processing according to the compression correction coefficient of each lamp point after differential compression processing;
and performing brightness correction on each corresponding lamp point according to the correction coefficient before the difference compression processing is performed on each lamp point.
According to a third aspect of the disclosed embodiments of the present invention, there is provided a correction coefficient compression apparatus comprising:
the system comprises a first coefficient acquisition module, a second coefficient acquisition module and a correction module, wherein the first coefficient acquisition module is used for acquiring the brightness and the correction coefficient of each lamp point in an LED display screen to be corrected, and the LED display screen to be corrected comprises at least one receiving card;
the cluster analysis module is connected with the first coefficient acquisition module, and is used for carrying out cluster analysis on the lamp points loaded by each receiving card through a cluster analysis method according to the brightness of each lamp point, and dividing the lamp points loaded by each receiving card into a plurality of clusters;
and the compression coefficient acquisition module is connected with the cluster analysis module, and if the divided clusters comprise center light points, the compression coefficient acquisition module performs difference compression processing on the correction coefficient of each light point in the clusters comprising the center light points by a difference coding method according to the correction coefficient of the center light points and the correction coefficient of non-center light points in the clusters comprising the center light points to acquire the compression correction coefficient of each light point.
Optionally, the correction coefficient compression apparatus further includes:
and the original coefficient acquisition module is connected with the cluster analysis module, if the divided clusters do not include the center lamp point, the correction coefficient of each lamp point in the clusters which do not include the center lamp point is not processed, and the correction coefficient which is not processed is determined as the original correction coefficient.
Optionally, the compression coefficient obtaining module includes:
the correction coefficient determining unit is used for determining the correction coefficient of a non-center lamp point in the cluster comprising the center lamp point and the correction coefficient of the center lamp point if the divided cluster comprises the center lamp point;
the differential code acquisition unit is connected with the correction coefficient determination unit, subtracts the correction coefficient of each lamp point in the cluster where the center lamp point is located from the center lamp point correction coefficient, and acquires the differential code of each lamp point in the cluster where the center lamp point is located;
the prefix code determining unit is connected with the differential code acquiring unit and is used for determining the prefix code of each lamp point in the cluster comprising the center lamp point, and the prefix code is used for distinguishing a plurality of clusters;
and the compression coefficient acquisition unit is connected with the prefix code determination unit and is used for acquiring the compression correction coefficient of each light point, and the compression correction coefficient comprises prefix codes and differential codes.
According to a fourth aspect of the disclosed embodiment of the present invention, there is provided a correction coefficient compression system, the system comprising: the system comprises a camera, a server, a receiving card and an LED display screen to be corrected;
the receiving card is positioned in the LED display screen to be corrected, and the camera is used for shooting a brightness image of the LED display screen to be corrected;
the server includes the correction coefficient compression device described in the third aspect of the embodiments of the present disclosure, and is connected to the receiving card and the camera, respectively, and configured to perform, by using the correction coefficient compression device, difference compression processing on the correction coefficient of the light point in the LED display screen to be corrected according to the luminance image captured by the camera, and send the compressed correction coefficient of each light point after the difference compression processing to the receiving card.
To sum up, the present disclosure relates to a method, an apparatus, a system and a method for compressing a correction coefficient, wherein the method for compressing a correction coefficient comprises: acquiring the brightness and the correction coefficient of each lamp point in the LED display screen to be corrected; according to the brightness of each light point, carrying out cluster analysis on the light points loaded by each receiving card by a cluster analysis method, and dividing the light points loaded by each receiving card into a plurality of clusters; if the divided clusters do not include the center light point, the correction coefficient of each light point in the clusters not including the center light point is not processed; and if the divided clusters comprise the center light point, performing difference compression processing on the correction coefficient of each light point in the clusters comprising the center light point by a difference coding method to obtain the compression correction coefficient of each light point. The difference compression processing can be carried out on the lamp point correction coefficients in the partial clustering, so that the number of storage bits occupied by the compressed correction coefficients is effectively reduced, the reading efficiency of the receiving card is improved, and the consumption of bandwidth and storage capacity is reduced.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow diagram illustrating a method of correction coefficient compression in accordance with an exemplary embodiment;
FIG. 2 is a flow chart of a method of cluster analysis according to the method shown in FIG. 1;
FIG. 3 is a schematic diagram of a cluster analysis method according to the one shown in FIG. 2;
FIG. 4 is a flow chart of a method of correction coefficient compression according to the method shown in FIG. 1;
FIG. 5 is a flow chart of another correction coefficient compression method according to that shown in FIG. 1;
FIG. 6 is a flow chart illustrating a brightness correction method according to an exemplary embodiment;
fig. 7 is a block diagram illustrating a structure of a correction coefficient compression apparatus according to an exemplary embodiment;
fig. 8 is a block diagram showing the construction of another correction coefficient compressing apparatus according to fig. 7;
fig. 9 is a block diagram of a structure of a luminance correcting apparatus according to fig. 7.
Detailed Description
The following detailed description of the disclosed embodiments will be made in conjunction with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart illustrating a correction coefficient compression method according to an exemplary embodiment, as shown in fig. 1, the method including:
in step 101, the brightness and the correction coefficient of each lamp point in the LED display screen to be corrected are obtained.
The LED display screen to be corrected comprises at least one receiving card.
Illustratively, the process of acquiring the correction coefficient of each lamp point in the LED display screen to be corrected specifically includes: the brightness image of the LED display screen to be corrected is shot through a camera, then the brightness image is uploaded to upper computer software, the brightness image is analyzed through the upper computer software, the brightness value and the correction coefficient of each lamp point are calculated, and the brightness value and the correction coefficient are issued to a receiving card of the LED display screen. If the brightness correction of the lamp points is needed in the subsequent process, the receiving card reads the correction coefficient stored in the SDRAM dynamic random memory of the receiving card, and the correction coefficient is used for the brightness correction of each lamp point on the LED display screen. Similarly, in the embodiment of the present disclosure, the brightness and the correction coefficient of each light point on the LED display screen to be corrected need to be obtained first, so as to perform the subsequent correction coefficient compression and light point correction processes.
In step 102, according to the brightness of each light point, performing cluster analysis on each light point received by the card by a cluster analysis method, and dividing each light point received by the card into a plurality of clusters.
In the embodiment of the disclosure, the light points carried by each receiving card are taken as a unit, and the light points on each receiving card are divided into a plurality of clusters according to the brightness relationship. Therefore, the receiving card SDRAM dynamic random memory can conveniently store and read the compression correction coefficient and the original correction coefficient of the lamp point in the receiving card. In the embodiment of the invention, when the lamp points on the receiving card are divided into a plurality of clusters, the brightness of the lamp points is used as the basis of cluster analysis, because under the normal condition, the brightness values of the lamp points with similar positions are also very close to each other for an LED display screen with a large screen, a cluster analysis method is adopted to divide the plurality of lamp points with close brightness values into one cluster, and then the correction coefficient compression is carried out on the lamp points under one cluster through the following steps.
Wherein fig. 2 is a flow chart of a cluster analysis method according to fig. 1, as shown in fig. 2, the step 102 includes:
in step 1021, for the m-th receiving card that needs to divide the loaded lamp points into n clusters, the cluster analysis method divides the lamp points into n clusters according to the brightness of each lamp point on the m-th receiving card.
For example, it can be understood that, for each receiving card, how many clusters the light points are specifically divided into depends on the complexity of the light points on the receiving card, for example, there is a high possibility that there is a brightness difference between the light points produced in different batches, and there is a brightness difference between the light points produced in the same batch due to manual operation in the production process, so that after determining the brightness of each light point, the worker determines the number of the clusters after division according to the brightness difference. At present, it is common to divide the lamp points into 64 or 128 kinds.
It can be understood that the basic principle of the cluster analysis method is to determine the center point of each cluster (i.e., the center light point in the embodiments disclosed in the present invention), and then divide other element points near the center point and having a difference smaller than a preset threshold value from the center point into the cluster where the center point is located according to the minimum distance principle. In the embodiment of the present disclosure, the brightness of the lamp points is used as a basis for dividing the clusters, specifically, the mth receiving card is taken as an example for description, and if the lamp points in the mth receiving card need to be divided into n clusters, the lamp points are sorted according to the brightness value of each lamp point, and then are divided into n clusters according to the brightness difference between the sorted adjacent lamp points (in general, n is a preset value and is determined by a worker according to the brightness relationship of the lamp points). In the n clusters, the brightness difference between the light points in the first (n-1) clusters is relatively small and smaller than a 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), and the brightness difference between the light points in the nth cluster is usually relatively large and much larger than the preset brightness difference threshold. This is because, in the clustering, the first (n-1) clusters divide the light points with small brightness difference together, and the last cluster (the nth cluster) contains the light points with large brightness difference which cannot be divided into the first (n-1) clusters.
In step 1022, the center light points of (n-1) clusters are determined among the n clusters.
For example, after dividing the light points in the m-th receiving card into n clusters through the above step 1021, since the brightness difference of the light points in the first (n-1) clusters is small, the difference compression processing can be performed on the correction coefficients of the light points in the clusters. Before the difference compression process is performed, the center light point of each of the (n-1) clusters needs to be determined, and since the luminances of the light points are sorted in step 1021, the light point with the luminance at the middle position in one cluster can be used as the center light point in the cluster. For example, including the lamp points having the brightness values of 4, 5, 6, 7, 8, 9, and 10, respectively, under one cluster, the lamp point having the brightness value of 7 may be determined as the center lamp point under the cluster.
It should be noted that, in general, each cluster after division includes a center light point, and only the last cluster does not include a center light point, because the last cluster is equivalent to classifying all the preceding clusters, and then classifying 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 center light point cannot be determined. Or even if the center light point of the last cluster is determined, after the correction coefficients of the light points in the cluster are compressed according to the center light point, the compressed correction coefficients after compression cannot achieve the purpose of saving the storage bit number because the difference of 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 is also large).
For example, as shown in fig. 3, a schematic diagram of a cluster analysis method is shown, a "dot" formed by each horizontal line intersecting with a vertical line represents a light point on an LED display screen, fig. 3 totally includes 7 clusters, wherein A, B, C, D, E and F represent clusters each including a center light point, and G cluster is that after the A, B, C, D, E and F clusters are divided, since a difference between brightness of remaining light points not divided into the clusters is large, or since a part of remaining light points are far from the light points in the A, B, C, D, E and F clusters, they cannot be divided into the clusters, so that all remaining light points are divided into a cluster as G cluster.
In step 1023, each light point received by the card is divided into a plurality of clusters by the cluster analysis method.
For example, because the brightness difference of the light points in each receiving card is different, the number of clusters divided after the cluster analysis is performed is different, and the cluster analysis is performed on the light points in each receiving card by using the methods in the above steps 1021 to 1022 until the cluster analysis of all the light points in the whole to-be-corrected LED display screen is completed. In this way, the correction coefficients of the light points may be compressed or not compressed according to the result of the cluster analysis by the following steps 103 and 104.
In step 103, if the divided clusters include center light points, the correction coefficients of each light point in the cluster including the center light point are compressed by a difference coding method according to the correction coefficients of the center light point and the correction coefficients of non-center light points in the cluster including the center light point, so as to obtain the compressed correction coefficients of each light point.
Illustratively, for clusters including center light points, such as the A, B, C, D, E and F clusters in FIG. 3 or the first (n-1) clusters in step 1022 described above, the correction coefficients for each of the clusters are difference-compressed because the brightness difference between the non-center light points and the center light points in the clusters is small. Therefore, the compressed correction coefficient after the difference compression processing is stored in the SDRAM dynamic random storage memory of the receiving card, the storage bit number occupied by the correction coefficient can be reduced, and the storage memory occupied by the correction coefficient can be reduced. It can be understood that, when the brightness correction of the lamp points is performed, the correction coefficient is equal to the target brightness value divided by the actual brightness value of the lamp points, so for the cluster with small brightness difference of the lamp points, the value of the difference between the correction coefficients of each lamp point is also small, and after the difference compression processing is performed on the correction coefficients of the lamp points, the number of storage bits occupied by the obtained compressed correction coefficients is smaller than the number of storage bits occupied by the correction coefficients of the lamp points.
Wherein fig. 4 is a flowchart of a correction coefficient compression method according to fig. 1, and as shown in fig. 4, the step 103 includes:
in step 1031, if the divided clusters include center light points, the correction coefficients of the non-center light points and the correction coefficients of the center light points in the clusters including the center light points are determined.
In step 1032, the correction coefficient of each lamp point in the cluster where the center lamp point is located is subtracted from the correction coefficient of the center lamp point, so as to obtain the differential code of each lamp point in the cluster where the center lamp point is located.
For example, for a cluster containing a center light point, the correction coefficient of each light point is subtracted from the correction coefficient of the center light point, and the obtained difference is used as a differential code of the light point, where the differential code is a part of the compression correction coefficient after the compression process. For example, a cluster contains 6 lamp points, and the correction coefficients are: 0.1, 0.13, 0.12, 0.15, 0.18 and 10.17, wherein the correction factor of the center light point is 0.15, and the difference obtained by subtracting the correction factor of each light point from the center light point is: 0.05, 0.02, 0.03, 0, -0.03 and-0.02, so that the difference is stored as the differential code of each lamp point, the correction coefficient of only one center lamp point needs to be stored under one cluster, and other lamp points are stored in a prefix code plus differential code mode. In addition, it is understood that the correction coefficient and the compressed correction coefficient (prefix coding + differential coding) are stored in a binary form when stored.
In step 1033, a prefix code for each light point in the cluster including the center light point is determined.
Illustratively, the compressed correction coefficients include prefix codes in addition to the differential codes, and the prefix codes are used for distinguishing various clusters. For example, the prefix code may be associated with the number of categories of light points in the cluster to distinguish between different clusters according to the number of categories of light points. Specifically, the number of lamp points in each cluster including the center lamp point is determined; and determining the prefix code of each lamp point in the cluster comprising the center lamp point according to the number of the lamp points in the cluster, wherein the prefix codes of all the lamp points in each cluster comprising the center lamp point are the same, and the prefix codes of all the lamp points in different clusters comprising the center lamp point are different.
In addition, in the embodiment disclosed in the present invention, the more the number of the light points in the cluster, the shorter the prefix code length of the light points under the cluster, the less the number of the light points in the cluster, and the longer the prefix code of the light points under the cluster. This is because, in general, the larger the number of light points in a cluster, the smaller the difference in brightness between the light points, and the smaller the difference between the correction coefficients. At this time, the clusters with a large number of light points are encoded by using the shorter prefix codes, so that the compression coefficients of the light points with smaller difference values between the correction coefficients occupy shorter storage bit numbers, and the reading efficiency of the light point correction coefficients under the clusters is greatly improved (the compression correction coefficients include prefix codes and differential codes, the clusters adopt shorter prefix codes, the difference values between the light point correction coefficients are smaller, namely the differential codes of each light point are smaller, so that the storage bit numbers occupied by the compression correction coefficients of the light points are smaller). The prefix codes with different lengths can be expressed in the forms of 1, 01, 001, 0001 and the like.
In another embodiment of the present disclosure, if the difference between the correction coefficients of all the light points in a cluster is 0 (the correction coefficient of each light point is equal), the prefix code of the light point under the cluster may be represented by using a special character, so that when the receiver card reads the compressed correction coefficient corresponding to the cluster, it may be determined that the difference codes of all the light points under the cluster are all 0 as long as the prefix code of the special character is read, which may further save the time for the receiver card to read the compressed correction coefficient, and greatly improve the reading efficiency.
In step 1034, a compression correction factor for each lamp point is obtained.
Wherein the compressed correction coefficients include prefix coding and differential coding.
For example, by acquiring the prefix code and the differential code (compression correction coefficient) of each light point through the above steps 1031 to 1033, the number of storage bits occupied by the compression correction coefficient of each light point can be greatly reduced, and the consumption of bandwidth and storage capacity can be reduced. For example, if all of the 9 correction coefficients corresponding to a light point need to occupy 14 bits of storage bits, the light point needs to occupy 9 × 14 ═ 126 bits of storage bits, and in the compressed correction coefficients after the delta compression, if the main coefficient of the light point needs to occupy 6 bits of storage bits and the complementary coefficients need to occupy 5 bits of storage bits, the number of storage bits occupied by the compressed correction coefficients after the delta compression is 3 × 6+6 × 5 ═ 48 bits, it can be seen that the light point saves 78 bits of storage bits compared to the light point before the compression.
Fig. 5 is a flowchart of another correction coefficient compression method according to fig. 1, which further includes, as described in fig. 5:
in step 104, if the divided cluster does not include the center light point, the correction coefficient of each light point in the cluster not including the center light point is not processed, and the correction coefficient not processed is determined as the original correction coefficient.
For example, for the clusters not including the center light point, such as the G cluster in fig. 3, or the nth cluster in the above step 1021 and 1022, the brightness difference between the light points in these clusters is large, so that the difference compression processing is not performed, but the correction coefficients of the part of light points are directly stored in the SDRAM dram of the receiving card, and in order to distinguish the correction coefficients of the part of light points from the correction coefficients of other light points, the correction coefficients of the light points that are not processed are defined as the original correction coefficients.
In addition, the correction coefficient compression method further includes: and storing the compressed correction coefficient of each lamp point after the difference compression processing and the unprocessed original correction coefficient into a dynamic random access memory in the receiving card.
Fig. 6 is a flow chart illustrating a brightness correction method according to an exemplary embodiment, as shown in fig. 6, the method including:
in step 601, a compressed correction coefficient of each light point and an unprocessed original correction coefficient of each light point in the LED display screen to be corrected after the difference compression processing is performed are obtained.
For example, after the difference compression processing or no processing is performed on the correction coefficient of the lamp point in the LED display screen to be corrected through the above steps 101 to 104, and the compressed correction coefficient after the difference compression processing and the unprocessed original correction coefficient are stored in the dynamic random access memory in the receiving card, in the process of correcting the lamp point of the LED display screen to be corrected, first, the original correction coefficient and the compressed correction coefficient need to be read from the dynamic random access memory, and then, the lamp point is corrected through the following steps 602 to 604.
In step 602, the brightness of the lamp corresponding to the correction coefficient that is not processed is corrected by the original correction coefficient.
For example, after the original correction coefficient is obtained, the brightness of the lamp point may be corrected directly according to the original correction coefficient. The original correction coefficient is not subjected to difference compression processing, does not include prefix encoding and differential encoding, and does not require a decoding operation.
In step 603, the correction coefficient before the difference compression processing is performed on each lamp point is determined according to the compression correction coefficient of each lamp point after the difference compression processing is performed on each lamp point.
In step 604, 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.
For example, after obtaining the compressed correction coefficient, the compressed correction coefficient is reversely decoded according to the correction coefficient compression method in the above steps 101 to 103, the correction coefficient before the difference compression processing is obtained, and then the brightness correction is performed on the light point according to the correction coefficient before the difference compression processing.
Fig. 7 is a block diagram illustrating a structure of a correction coefficient compression apparatus according to an exemplary embodiment, and as shown in fig. 7, the apparatus 700 includes:
the first coefficient acquisition module 710 is used for acquiring the brightness and the correction coefficient of each lamp point in the to-be-corrected LED display screen, wherein the to-be-corrected LED display screen comprises at least one receiving card;
a cluster analysis module 720, connected to the first coefficient obtaining module 710, for performing 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 dividing the light points carried by each receiving card into a plurality of clusters;
and a compression coefficient obtaining module 730 connected to the cluster analysis module 720, wherein if the divided clusters include center light points, the compression coefficient obtaining module performs difference compression processing on the correction coefficient of each light point in the cluster including the center light points by a difference coding method according to the correction coefficient of the center light point and the correction coefficient of non-center light points in the cluster including the center light points, so as to obtain the compression correction coefficient of each light point.
Optionally, the compression coefficient obtaining module 730 includes:
a correction coefficient determining unit, for determining the correction coefficient of the non-center light point in the cluster including the center light point and the correction coefficient of the center light point if the divided cluster includes the center light point;
a differential code obtaining unit connected with the correction coefficient determining unit, for subtracting the correction coefficient of each lamp point in the cluster where the center lamp point is located from the center lamp point correction coefficient, and obtaining the differential code of each lamp point in the cluster where the center lamp point is located;
a prefix code determining unit connected with the differential code acquiring unit and used for determining a prefix code of each lamp point in a cluster comprising the center lamp point, wherein the prefix code is used for distinguishing a plurality of clusters;
and the compression coefficient acquisition unit is connected with the prefix code determination unit and is used for acquiring the compression correction coefficient of each light point, and the compression correction coefficient comprises prefix codes and differential codes.
Fig. 8 is a block diagram showing the structure of another correction coefficient compression apparatus according to fig. 7, which, as shown in fig. 8, further includes:
and an original coefficient obtaining module 740, connected to the cluster analyzing module 720, for not processing the correction coefficient of each lamp point in the cluster without the center lamp point if the divided cluster does not include the center lamp point, and determining the correction coefficient that is not processed as the original correction coefficient.
Fig. 9 is a block diagram illustrating a structure of a luminance correcting apparatus according to fig. 7, and as shown in fig. 9, the luminance correcting apparatus 900 is connected to the correction coefficient compressing apparatus 700, and the luminance correcting apparatus 900 includes:
the second coefficient obtaining module 910, obtaining, by the correction coefficient compressing apparatus, a compressed correction coefficient of each light point and an unprocessed original correction coefficient of each light point in the LED display screen to be corrected by using a correction coefficient compressing method;
a first correction module 920, connected to the second coefficient obtaining module 910, for performing brightness correction on the lamp points corresponding to the correction coefficients that are not processed through the original correction coefficients;
a third coefficient obtaining module 930, connected to the second coefficient obtaining module 910, for determining a correction coefficient before the difference compression processing is performed on each light point according to the compression correction coefficient of each light point after the difference compression processing is performed;
the second calibration module 940 is connected to the third coefficient obtaining module 930, and performs brightness calibration on each corresponding light point according to the calibration coefficient before the difference compression processing is performed on each light point.
In addition, the present disclosure relates to a correction coefficient compression system, which is characterized by comprising: the system comprises a camera, a server, a receiving card and an LED display screen to be corrected;
the receiving card is positioned in the LED display screen to be corrected, and the camera is used for shooting a brightness image of the LED display screen to be corrected;
the server comprises a correction coefficient compression device, is respectively connected with the receiving card and the camera, and is used for performing difference compression processing on the correction coefficient of the lamp point in the LED display screen to be corrected according to the brightness image shot by the camera through the correction coefficient compression device and sending the compression correction coefficient of each lamp point after the difference compression processing to the receiving card.
To sum up, the present disclosure relates to a method, an apparatus, a system and a method for compressing a correction coefficient, wherein the method for compressing a correction coefficient comprises: acquiring the brightness and the correction coefficient of each lamp point in the LED display screen to be corrected; according to the brightness of each light point, carrying out cluster analysis on the light points loaded by each receiving card by a cluster analysis method, and dividing the light points loaded by each receiving card into a plurality of clusters; if the divided clusters do not include the center light point, the correction coefficient of each light point in the clusters not including the center light point is not processed; and if the divided clusters comprise the center light point, performing difference compression processing on the correction coefficient of each light point in the clusters comprising the center light point by a difference coding method to obtain the compression correction coefficient of each light point. The difference compression processing can be carried out on the lamp point correction coefficients in the partial clustering, the storage digit number occupied by the compression correction coefficients is effectively reduced, the reading efficiency is improved, and the consumption of bandwidth and storage capacity is reduced.
In addition, the prefix codes in the compressed correction coefficients are linked with the number of the lamp points in the cluster, and the prefix codes of the lamp points in the cluster with the larger number of the lamp points are shorter, so that the reading efficiency of the lamp point correction coefficients under the cluster is greatly improved.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. A method of compression of correction coefficients, the method comprising:
acquiring the brightness and the correction coefficient of each lamp point in an LED display screen to be corrected, wherein the LED display screen to be corrected comprises at least one receiving card;
according to the brightness of each light point, carrying out cluster analysis on the light points carried by each receiving card by a cluster analysis method, and dividing the light points carried by each receiving card into a plurality of clusters;
and if the divided clusters comprise the center lamp point, performing difference compression processing on the correction coefficient of each lamp point in the clusters comprising the center lamp point by a difference coding method according to the correction coefficient of the center lamp point and the correction coefficient of the non-center lamp point in the clusters comprising the center lamp point to obtain the compression correction coefficient of each lamp point.
2. The method of claim 1, wherein the step of performing cluster analysis on the light points carried by each receiving card by a cluster analysis method according to the brightness of each light point to divide the light points carried by each receiving card into a plurality of clusters comprises:
aiming at the mth receiving card needing to divide the loaded lamp points into n clusters, dividing the lamp points into n clusters according to the brightness of each lamp point on the mth receiving card by the cluster analysis method;
determining center light points of (n-1) clusters in the n clusters;
and dividing the lamp points carried by each receiving card into a plurality of clusters by the cluster analysis method.
3. The method of claim 1, wherein if the divided clusters include a center light point, the difference coding method is used to perform difference compression on the correction coefficient of each light point in the cluster including the center light point according to the correction coefficient of the center light point and the correction coefficients of the non-center light points in the cluster including the center light point to obtain the compressed correction coefficient of each light point, and the method comprises:
if the divided clusters comprise center light points, determining the correction coefficients of non-center light points in the clusters comprising the center light points and the correction coefficients of the center light points;
subtracting the correction coefficient of each lamp point in the cluster where the center lamp point is located from the correction coefficient of the center lamp point to obtain the differential code of each lamp point in the cluster where the center lamp point is located;
determining a prefix code of each light point in a cluster comprising center light points, wherein the prefix code is used for distinguishing a plurality of clusters;
and acquiring a compression correction coefficient of each light point, wherein the compression correction coefficient comprises prefix coding and differential coding.
4. The method of claim 3, wherein determining the prefix code for each light point in the cluster comprising center light points comprises:
determining the number of light points in each cluster comprising the center light point;
and determining the prefix code of each lamp point in the cluster comprising the center lamp points according to the number of the lamp points in the cluster, wherein the prefix codes of all the lamp points in each cluster comprising the center lamp points are the same.
5. The correction coefficient compression method according to claim 1, characterized by further comprising:
if the divided clusters do not include the center light point, the correction coefficient of each light point in the clusters not including the center light point is not processed, and the correction coefficient which is not processed is determined as the original correction coefficient.
6. The correction coefficient compression method according to claim 5, characterized by further comprising:
and storing the compressed correction coefficient of each lamp point after the difference compression processing and the unprocessed original correction coefficient into a dynamic random access memory in the receiving card.
7. A method of luminance correction, the method comprising:
the correction coefficient compression method according to claim 5, wherein the compression correction coefficient of each lamp point and the unprocessed original correction coefficient in the LED display screen to be corrected after the difference compression processing are performed are obtained;
performing brightness correction on the lamp points corresponding to the correction coefficients which are not processed through the original correction coefficients;
determining a correction coefficient of each lamp point before differential compression processing according to the compression correction coefficient of each lamp point after differential compression processing;
and performing brightness correction on each corresponding lamp point according to the correction coefficient before the difference compression processing is performed on each lamp point.
8. A correction coefficient compression apparatus, characterized by comprising:
the system comprises a first coefficient acquisition module, a second coefficient acquisition module and a correction module, wherein the first coefficient acquisition module is used for acquiring the brightness and the correction coefficient of each lamp point in an LED display screen to be corrected, and the LED display screen to be corrected comprises at least one receiving card;
the cluster analysis module is connected with the first coefficient acquisition module, and is used for carrying out cluster analysis on the lamp points loaded by each receiving card through a cluster analysis method according to the brightness of each lamp point, and dividing the lamp points loaded by each receiving card into a plurality of clusters;
and the compression coefficient acquisition module is connected with the cluster analysis module, and if the divided clusters comprise center light points, the compression coefficient acquisition module performs difference compression processing on the correction coefficient of each light point in the clusters comprising the center light points by a difference coding method according to the correction coefficient of the center light points and the correction coefficient of non-center light points in the clusters comprising the center light points to acquire the compression correction coefficient of each light point.
9. The correction coefficient compression apparatus according to claim 8, further comprising:
and the original coefficient acquisition module is connected with the cluster analysis module, if the divided clusters do not include the center lamp point, the correction coefficient of each lamp point in the clusters which do not include the center lamp point is not processed, and the correction coefficient which is not processed is determined as the original correction coefficient.
10. A correction coefficient compression system, the system comprising: the system comprises a camera, a server, a receiving card and an LED display screen to be corrected;
the receiving card is positioned in the LED display screen to be corrected, and the camera is used for shooting a brightness image of the LED display screen to be corrected;
the server comprises the correction coefficient compression device of any one of claims 8 to 9, is connected with the receiving card and the camera respectively, and is used for performing difference compression processing on the correction coefficient of the lamp point in the LED display screen to be corrected according to the brightness image shot by the camera through the correction coefficient compression device and sending the compressed correction coefficient of each lamp point after the difference compression processing to the receiving card.
CN202210167802.6A 2022-02-23 2022-02-23 Correction coefficient compression method, device and system and brightness correction method Pending CN114528943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210167802.6A CN114528943A (en) 2022-02-23 2022-02-23 Correction coefficient compression method, device and system and brightness correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210167802.6A CN114528943A (en) 2022-02-23 2022-02-23 Correction coefficient compression method, device and system and brightness correction method

Publications (1)

Publication Number Publication Date
CN114528943A true CN114528943A (en) 2022-05-24

Family

ID=81625201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210167802.6A Pending CN114528943A (en) 2022-02-23 2022-02-23 Correction coefficient compression method, device and system and brightness correction method

Country Status (1)

Country Link
CN (1) CN114528943A (en)

Similar Documents

Publication Publication Date Title
US7751630B2 (en) Multi-mode image processing
US7411529B2 (en) Method of decoding bin values using pipeline architecture and decoding device therefor
MXPA02010002A (en) Enhanced compression of gray level images.
JP2007020208A (en) Compression and decompression of image data by block unit
CN112702599B (en) VVC intra-frame rapid coding method based on deep learning
US20110002396A1 (en) Reference Frames Compression Method for A Video Coding System
CN109379598B (en) Image lossless compression method based on FPGA
US5124791A (en) Frame-to-frame compression of vector quantized signals and other post-processing
CN108259911A (en) A kind of OLED screen Demura lossless date-compress, decompression method
CN108347602B (en) Method and apparatus for lossless compression of video data
CN107040791B (en) Self-adaptive binary image compression method suitable for electronic display label
CN114640857B (en) Image compression method and 3D noise reduction method based on improved Huffman coding
CN114222129A (en) Image compression encoding method, image compression encoding device, computer equipment and storage medium
US7551773B2 (en) Encoding image data using mask lookup table and decoding such encoded image data
CN113542225B (en) Data compression method and device, terminal equipment and storage medium
JPH09298668A (en) Digital information coder, digital information decoder, digital information coding/decoding device, digital information coding method and digital information decoding method
CN114528943A (en) Correction coefficient compression method, device and system and brightness correction method
CN115662346B (en) Demura compensation value compression method and system
US7406204B2 (en) Image processing method for facilitating data transmission
CN110572664A (en) Novel BMP image compression method and system
US4965843A (en) Method and apparatus for coding digital image information obtained from dithering
US20020081038A1 (en) Graphic image coding
CN104809747B (en) The statistical method and its system of image histogram
CN113240761A (en) High bit depth image lossless compression method suitable for remote sensing satellite
CN111010574B (en) Image compression method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination