CN104156182B - A kind of storage method and device of the check and correction matrix based on LED screen - Google Patents

A kind of storage method and device of the check and correction matrix based on LED screen Download PDF

Info

Publication number
CN104156182B
CN104156182B CN201410438202.4A CN201410438202A CN104156182B CN 104156182 B CN104156182 B CN 104156182B CN 201410438202 A CN201410438202 A CN 201410438202A CN 104156182 B CN104156182 B CN 104156182B
Authority
CN
China
Prior art keywords
storage
matrix
difference
check
data value
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.)
Expired - Fee Related
Application number
CN201410438202.4A
Other languages
Chinese (zh)
Other versions
CN104156182A (en
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.)
Vtron Technologies Ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201410438202.4A priority Critical patent/CN104156182B/en
Publication of CN104156182A publication Critical patent/CN104156182A/en
Application granted granted Critical
Publication of CN104156182B publication Critical patent/CN104156182B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of El Displays (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the invention discloses a kind of storage method and device of the check and correction matrix based on LED screen, for reduction memory space effectively come the technical issues of storing check and correction matrix, further solve high financial cost.Present invention method includes:It obtains and the compression corresponding first matrix data value of element, first element of the compression element for check and correction matrix and upper at least one element on the diagonal of the last one element;First matrix data value and preset average value are subtracted each other into acquisition difference;Storage is compressed according to the corresponding bit number of difference by element is compressed according to difference;The other elements do not chosen are compressed storage according to the corresponding bit number of matrix data value with other elements.

Description

A kind of storage method and device of the check and correction matrix based on LED screen
Technical field
The present invention relates to signal processing technology field more particularly to a kind of storage methods of the check and correction matrix based on LED screen And device.
Background technology
In computer graphical processing, colour gamut is some complete subset of color.The most common application of subset of colours is For accurately representing a kind of given situation.Such as the colour generation model of given a color space or some output device It encloses.The colour gamut of usual LED display is 1.4 times of the colour gamut of general display screen, therefore, in order to show correct color and brightness, The color signal of color domain is needed to be corrected.
The technology that the color signal of existing color domain is corrected usually requires to believe video input by proofreading matrix Number the signal that will be input into LED is converted into after matrix correction is handled so that LED display show correct color and Brightness, however matrix of the matrix for a 3x3 is proofreaded, because the brightness of LED every and color variation are very big, therefore per LED The check and correction matrix of respective pixel all can be different, if each matrix value is 8bit, 3x3 matrixes need 72bit, such as differentiate Rate is 1920x1080, then needs 1920x1080x72=142M bit to store check and correction matrix, it is therefore desirable to by storing sky greatly Between store check and correction matrix, so as to cause high financial cost.
Huge memory space needed for the above-mentioned check and correction matrix caused by big resolution ratio referred to, and caused by The technical issues of high financial cost, has become the technical issues of those skilled in the art are urgently to be resolved hurrily.
The content of the invention
An embodiment of the present invention provides a kind of storage method and device of the check and correction matrix based on LED screen, for effectively Reduction memory space come the technical issues of storing check and correction matrix, further solve high financial cost.
A kind of storage method of check and correction matrix based on LED screen provided in an embodiment of the present invention, including:
It obtains with compressing the corresponding first matrix data value of element, the compression element is first member of check and correction matrix Element and upper at least one element on the diagonal of the last one element;
The first matrix data value and preset average value are subtracted each other into acquisition difference;
The compression element is compressed by storage according to the corresponding bit number of the difference according to the difference;
The other elements do not chosen are pressed according to the corresponding bit number of matrix data value with other elements Contracting storage.
Optionally, the first matrix data value is subtracted each other acquisition difference with preset average value to specifically include:
The first matrix data value and the preset average value are subtracted each other and obtain the first difference;
By N number of pixel it is corresponding it is N number of it is described compression element matrix data value respectively with the preset average value one by one Subtract each other, and to N number of difference summation after subtracting each other divided by N numerical value to obtain difference average;
First difference and the difference average are subtracted each other into acquisition difference.
Optionally, the preset average value is the first matrix data with the corresponding N number of compression element of N number of pixel Value summation after, then divided by N numerical value.
Optionally, the check and correction matrix is 3 × 3 matrixes, includes 9 elements.
Optionally, the compression element is compressed according to the corresponding bit number of the difference according to the difference Storage specifically includes:
Corresponding differential bits number is distributed according to the specific data of the difference;
The compression element is compressed and stored according to the differential bits number.
Optionally, by the other elements do not chosen according to the corresponding bit number of matrix data value with other elements Storage is compressed to specifically include:
Corresponding fixed number of bits is distributed according to the matrix data value for the other elements do not chosen;
The other elements do not chosen are compressed and stored according to the fixed number of bits.
A kind of storage device of check and correction matrix based on LED screen provided in an embodiment of the present invention, it is of the invention real for passing through The storage method storage check and correction matrix of the check and correction matrix based on LED screen described in any one referred in example is applied, including:
Acquisition module, for obtaining and compressing the corresponding first matrix data value of element, the compression element is check and correction First element of matrix and upper at least one element on the diagonal of the last one element;
Computing module, for the first matrix data value and preset average value to be subtracted each other acquisition difference, the pre- horizontalization Average be with N number of pixel it is corresponding it is N number of it is described compression element matrix data value summation after, then divided by N numerical value;
First storage module, for according to the difference by it is described compression element according to the corresponding bit of the difference Number is compressed storage;
Second storage module, for by the other elements do not chosen according to opposite with the matrix data value of other elements The bit number answered is compressed storage.
Optionally, the computing module specifically includes:
First computing submodule, it is poor for the first matrix data value and the preset average value to be subtracted each other acquisition first Value;
Second computing submodule, for by N number of pixel it is corresponding it is N number of it is described compression element matrix data value respectively with The preset average value subtracts each other one by one, and to N number of difference summation after subtracting each other divided by N numerical value to obtain difference average;
Total computing submodule, for first difference and the difference average to be subtracted each other acquisition difference.
Optionally, first storage module specifically includes:
First distribution sub module, for distributing corresponding differential bits number according to the specific data of the difference;
The first storage submodule, for the compression element to be compressed and store up according to the differential bits number It deposits.
Optionally, second storage module specifically includes:
Second distribution sub module, for corresponding according to the distribution of the matrix data value for the other elements do not chosen Fixed number of bits;
The second storage submodule, for the other elements do not chosen to be pressed according to the fixed number of bits It contracts storage.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
The storage method and device of a kind of check and correction matrix based on LED screen provided in an embodiment of the present invention, wherein method bag It includes:Obtain with the compression corresponding first matrix data value of element, compression element for check and correction matrix first element with it is last Upper at least one element on the diagonal of one element;First matrix data value and preset average value are subtracted each other into acquisition difference; Storage is compressed according to the corresponding bit number of difference by element is compressed according to difference;By the other elements do not chosen according to Storage is compressed with the corresponding bit number of matrix data value of other elements.In the present embodiment, by the way that matrix will be proofreaded First element is used as compression element with upper at least one element on the diagonal of the last one element, will be with compressing element phase Corresponding first matrix data value and preset average value subtract each other acquisition difference, further according to difference will compress element according to difference The corresponding bit number of size is compressed storage, and the corresponding bit number of matrix data value of remaining element is compressed storage Deposit, just solve the prior art when matrix value is 8bit, then 3x3 matrixes need the 72bit, such as resolution ratio to be 1920x1080 then needs 1920x1080x72=142Mbit to store check and correction matrix, it is therefore desirable to by big memory space come Storage check and correction matrix, and memory space huge needed for the check and correction matrix caused by big resolution ratio generated, and make Into high financial cost the technical issues of.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other attached drawings according to these attached drawings.
Fig. 1 is an a kind of implementation of the storage method of the check and correction matrix based on LED screen provided in the embodiment of the present invention The flow diagram of example;
Fig. 2 is a kind of another reality of the storage method of the check and correction matrix based on LED screen provided in the embodiment of the present invention Apply the flow diagram of example;
Fig. 3 is a kind of another reality of the storage method of the check and correction matrix based on LED screen provided in the embodiment of the present invention Apply the flow diagram of example;
Fig. 4 is an a kind of implementation of the storage device of the check and correction matrix based on LED screen provided in the embodiment of the present invention The structure diagram of example;
Fig. 5 is a kind of another reality of the storage device of the check and correction matrix based on LED screen provided in the embodiment of the present invention Apply the structure diagram of example;
Fig. 6 is a kind of another reality of the storage device of the check and correction matrix based on LED screen provided in the embodiment of the present invention Apply the structure diagram of example.
Specific embodiment
An embodiment of the present invention provides a kind of storage method and device of the check and correction matrix based on LED screen, for effectively Reduction memory space come the technical issues of storing check and correction matrix, further solve high financial cost.
Goal of the invention, feature, advantage to enable the present invention is more apparent and understandable, below in conjunction with the present invention Attached drawing in embodiment is clearly and completely described the technical solution in the embodiment of the present invention, it is clear that disclosed below Embodiment be only part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field All other embodiment that those of ordinary skill is obtained without making creative work, belongs to protection of the present invention Scope.
Referring to Fig. 1, one of a kind of storage method of the check and correction matrix based on LED screen provided in the embodiment of the present invention Embodiment includes:
101st, obtain and the compression corresponding first matrix data value of element;
In the present embodiment, when need to the video of LED screen output when the color of data and brightness are proofreaded, it is necessary to logical It crosses check and correction matrix and correction process is carried out to vision signal, it is necessary first to store check and correction matrix, it is to be understood that foregoing Check and correction matrix for 3 × 3 matrixes, include 9 elements, meanwhile, a pixel of LED display corresponds to a check and correction matrix, Such as proofread matrixWherein E1 to E9 is 9 elements, footpath check and correction matrix when being stored, it is necessary to It is obtained first with the compression corresponding first matrix data value of element, it is necessary to which explanation, foregoing compression element are check and correction square Element E1 on first element of battle array and upper at least one element on the diagonal of the last one element, such as check and correction matrix With at least one element in the element E1, E5 and E9 on the diagonal of E9, it is to be understood that foregoing at least one element It can also be multiple or all elements on diagonal, foregoing acquisition and compression corresponding first matrix data of element Value can be at least one, the example in the element E1, E5 and E9 on the foregoing diagonal for proofreading the element E1 and E9 on matrix If the corresponding data values of three element E1 are the first matrix data value, it is to be understood that the first matrix data value is video The energy value of signal, also or color gamut value.
It should be noted that the foregoing principle for carrying out correction process to vision signal by proofreading matrix is this field skill Technological means well known to art personnel, is just no longer described in detail herein.
102nd, the first matrix data value and preset average value are subtracted each other into acquisition difference;
After obtaining with compressing element corresponding first matrix data value, it is necessary to by the first matrix data value with it is preset Average value subtracts each other acquisition difference so that the data of the check and correction matrix of preservation are difference, it is to be understood that example E1's as the aforementioned First matrix data value is 0.8, and preset average value is 0.5, then difference is 0.3, is not limited specifically herein.
It should be noted that preset average value will be described in detail in following embodiment, it is just no longer detailed herein It repeats.
103rd, storage is compressed according to the corresponding bit number of difference by element is compressed according to difference;
When the first matrix data value and preset average value are subtracted each other obtain difference after, according to difference will compress element according to Storage is compressed with the corresponding bit number of difference, such as when the difference that is obtained according to element E1 of abovementioned steps 102 is 0.3, Then pair storage is compressed with 0.3 corresponding bit number, it is assumed that 4bit is only needed just to store data enough as 0.3 element E1 is then compressed element E1 according to 4bit, and is deposited into the storage unit of 4bit, does not limit specifically herein.
It should be noted that the corresponding bit number of foregoing difference is pre-set, can be art technology Empirical value determined by the long-term experiment of personnel.
104th, the other elements do not chosen are pressed according to the corresponding bit number of matrix data value with other elements Contracting storage.
When according to difference will compress element according to while being compressed storage with the corresponding bit number of difference or after, The other elements that will do not chosen is needed to be compressed storage, example according to the corresponding bit number of matrix data value with other elements Compression element such as the selection in abovementioned steps 102 and 103 is E1, then the other elements do not chosen are E2, the E3 in matrix M, E4, E5, E6, E7, E8, E9, according to E2, E3, E4, E5, E6, E7, E8, the corresponding bit number of the matrix data value of E9 carries out Compression storage, such as E2 matrix data values are that 0.25 corresponding bit number is 4bit, E3 matrix datas value for 0.25 with Corresponding bit number for 4bit, E4 matrix data values are that 0.1 corresponding bit number is 3bit, E5 matrix data values It is 6bit for 0.6 corresponding bit number, E6 matrix data values are that 0.3 corresponding bit number is 4bit, E7 squares Battle array data value is that 0.2 corresponding bit number is 3bit, and E8 matrix data values are that 0.2 corresponding bit number is 3bit, E9 matrix data value are that 0.9 corresponding bit number is 8bit, according to corresponding bit number, are stored in it In remaining each bit memory cell.
It should be noted that the total bit number for the matrix that abovementioned steps 103 and 104 are summarized can be, for example, 39bit, It does not limit specifically herein.
In the present embodiment, by will proofread on first element of matrix and the diagonal of the last one element it is upper at least It is poor will to subtract each other acquisition as compression element with the compression corresponding first matrix data value of element and preset average value for one element Value is compressed storage, remaining element by element is compressed further according to difference according to the corresponding bit number of the size of difference The corresponding bit number of matrix data value be compressed storage, just solve the prior art when matrix value be 8bit when, then 3x3 matrixes need 72bit, such as resolution ratio is 1920x1080, then need 1920x1080x72=142M bit to store check and correction Matrix, it is therefore desirable to check and correction matrix is stored by big memory space, and the check and correction caused by big resolution ratio generated The required huge memory space of matrix, and caused by high financial cost the technical issues of.
The above is that the process of the storage method of the check and correction matrix based on LED screen is described in detail, below will be to difference Value calculating process is described in detail, and in practical applications, there are many calculations of difference, carries out separately below in detail Explanation.
First, a step mathematic interpolation mode;
Referring to Fig. 2, a kind of storage method of the check and correction matrix based on LED screen provided in the embodiment of the present invention is another A embodiment includes:
201st, obtain and the compression corresponding first matrix data value of element;
In the present embodiment, when need to the video of LED screen output when the color of data and brightness are proofreaded, it is necessary to logical It crosses check and correction matrix and correction process is carried out to vision signal, it is necessary first to store check and correction matrix, it is to be understood that foregoing Check and correction matrix for 3 × 3 matrixes, include 9 elements, meanwhile, a pixel of LED display corresponds to a check and correction matrix, Such as proofread matrixWherein E1 to E9 is 9 elements, it is necessary to first when footpath check and correction matrix is stored It first obtains with the compression corresponding first matrix data value of element, it is necessary to which explanation, foregoing compression element are check and correction matrix First element and the last one element diagonal on upper at least one element, such as element E1 on check and correction matrix and At least one element in element E1, E5 and E9 on the diagonal of E9, it is to be understood that foregoing at least one element is also Can be multiple or all elements on diagonal, foregoing acquisition and the compression corresponding first matrix data value of element, Can be at least one in the element E1, E5 and E9 on the diagonal of the element E1 and E9 on foregoing check and correction matrix, such as The corresponding data values of three element E1 are the first matrix data value, it is to be understood that the first matrix data value is believed for video Number energy value, also or color gamut value.
It should be noted that the foregoing principle for carrying out correction process to vision signal by proofreading matrix is this field skill Technological means well known to art personnel, is just no longer described in detail herein.
202nd, by with N number of pixel it is corresponding it is N number of compression element matrix data value summation after, then divided by N algorithm Obtain preset average value;
After obtaining with compression element corresponding first matrix data value, it is necessary to by with the corresponding N of N number of pixel After the matrix data value summation of a compression element, then divided by the algorithm of N obtain preset average value, such as LED display has 14400 A pixel, each pixel correspond to a check and correction matrix, obtain the first matrix data value of the compression element in each check and correction matrix, After the summation of 14400 the first matrix data values divided by 14400, N number of the of 14400 pixels of LED display are got One matrix data value is preset average value, such as the average value of 14400 the first matrix data values is finally calculated as 0.5, It does not limit specifically herein.
203rd, the first matrix data value and preset average value are subtracted each other into acquisition difference;
It needs the first matrix data value and preset average value subtracting each other acquisition difference so that the data of the check and correction matrix of preservation For difference, it is to be understood that the first matrix data value of example E1 as the aforementioned be 0.8, as step 203 obtain it is preset average It is worth for 0.5, then difference is 0.3, is not limited specifically herein.
It should be noted that preset average value will be described in detail in following embodiment, it is just no longer detailed herein It repeats.
204th, corresponding differential bits number is distributed according to the specific data of difference, and element will be compressed according to difference ratio Special number is compressed and stores;
After the first matrix data value and preset average value are subtracted each other acquisition difference, distributed according to the specific data of difference Corresponding differential bits number, and compression element is compressed and stored according to differential bits number, such as abovementioned steps 202 When the difference obtained according to element E1 is 0.3, then pair storage is compressed with 0.3 corresponding bit number, it is assumed that only need 4bit just stores the element E1 that data are 0.3 enough, then element E1 according to 4bit is compressed, and is deposited into depositing for 4bit In storage unit, do not limit specifically herein.
It should be noted that the corresponding bit number of foregoing difference is pre-set, can be art technology Empirical value determined by the long-term experiment of personnel.
205th, corresponding fixed number of bits is distributed according to the matrix data value for the other elements do not chosen, and will be unselected The other elements taken are compressed and store according to fixed number of bits.
When according to difference will compress element according to while being compressed storage with the corresponding bit number of difference or after, The other elements that will do not chosen is needed to be compressed storage, example according to the corresponding bit number of matrix data value with other elements Compression element such as the selection in abovementioned steps 102 and 103 is E1, then the other elements do not chosen are E2, the E3 in matrix M, E4, E5, E6, E7, E8, E9, according to E2, E3, E4, E5, E6, E7, E8, the corresponding bit number of the matrix data value of E9 carries out Compression storage, such as E2 matrix data values are that 0.25 corresponding bit number is 4bit, E3 matrix datas value for 0.25 with Corresponding bit number for 4bit, E4 matrix data values are that 0.1 corresponding bit number is 3bit, E5 matrix data values It is 6bit for 0.6 corresponding bit number, E6 matrix data values are that 0.3 corresponding bit number is 4bit, E7 squares Battle array data value is that 0.2 corresponding bit number is 3bit, and E8 matrix data values are that 0.2 corresponding bit number is 3bit, E9 matrix data value are that 0.9 corresponding bit number is 8bit, according to corresponding bit number, are stored in it In remaining each bit memory cell.
It should be noted that the total bit number for the matrix that abovementioned steps 103 and 104 are summarized can be, for example, 39bit, It does not limit specifically herein.
In the present embodiment, by will proofread on first element of matrix and the diagonal of the last one element it is upper at least It is poor will to subtract each other acquisition as compression element with the compression corresponding first matrix data value of element and preset average value for one element Value is compressed storage, remaining element by element is compressed further according to difference according to the corresponding bit number of the size of difference The corresponding bit number of matrix data value be compressed storage, just solve the prior art when matrix value be 8bit when, then 3x3 matrixes need 72bit, such as resolution ratio is 1920x1080, then need 1920x1080x72=142M bit to store check and correction Matrix, it is therefore desirable to check and correction matrix is stored by big memory space, and the check and correction caused by big resolution ratio generated The required huge memory space of matrix, and caused by high financial cost the technical issues of and by the first matrix data value with Preset average value subtracts each other the design for obtaining difference, just realizes a step and obtains difference, further improves storage istributes bit number Processing speed, reduce further calculating speed, greatly reduce the energy consumption of processor.
2nd, two step mathematic interpolation mode;
Referring to Fig. 3, a kind of storage method of the check and correction matrix based on LED screen provided in the embodiment of the present invention is another A embodiment includes:
301st, obtain and the compression corresponding first matrix data value of element;
In the present embodiment, when need to the video of LED screen output when the color of data and brightness are proofreaded, it is necessary to logical It crosses check and correction matrix and correction process is carried out to vision signal, it is necessary first to store check and correction matrix, it is to be understood that foregoing Check and correction matrix for 3 × 3 matrixes, include 9 elements, meanwhile, a pixel of LED display corresponds to a check and correction matrix, Such as proofread matrixWherein E1 to E9 is 9 elements, footpath check and correction matrix when being stored, it is necessary to It is obtained first with the compression corresponding first matrix data value of element, it is necessary to which explanation, foregoing compression element are check and correction square Element E1 on first element of battle array and upper at least one element on the diagonal of the last one element, such as check and correction matrix With at least one element in the element E1, E5 and E9 on the diagonal of E9, it is to be understood that foregoing at least one element It can also be multiple or all elements on diagonal, foregoing acquisition and compression corresponding first matrix data of element Value can be at least one, the example in the element E1, E5 and E9 on the foregoing diagonal for proofreading the element E1 and E9 on matrix If the corresponding data values of three element E1 are the first matrix data value, it is to be understood that the first matrix data value is video The energy value of signal, also or color gamut value.
It should be noted that the foregoing principle for carrying out correction process to vision signal by proofreading matrix is this field skill Technological means well known to art personnel, is just no longer described in detail herein.
302nd, by with N number of pixel it is corresponding it is N number of compression element matrix data value summation after, then divided by N algorithm Obtain preset average value;
After obtaining with compression element corresponding first matrix data value, it is necessary to by with the corresponding N of N number of pixel After the matrix data value summation of a compression element, then divided by the algorithm of N obtain preset average value, such as LED display has 14400 A pixel, each pixel correspond to a check and correction matrix, obtain the first matrix data value of the compression element in each check and correction matrix, After 14400 the first matrix data value summations divided by 14400, the 14400 of 14400 pixels of LED display is got A first matrix data value is preset average value, such as the average value of 14400 the first matrix data values is finally calculated and is 0.5, it does not limit specifically herein.
303rd, the first matrix data value and preset average value are subtracted each other and obtains the first difference;
It needs to subtract each other the first matrix data value and preset average value and obtains the first difference so that the check and correction matrix of preservation Data are the first difference, it is to be understood that the first matrix data value of example E1 as the aforementioned is 0.8, as step 203 obtains Preset average value is 0.5, then the first difference is 0.3, is not limited specifically herein.
304th, the matrix data value of the corresponding N number of compression element of N number of pixel is subtracted each other one by one with preset average value respectively, And to N number of difference summation after subtracting each other divided by N numerical value to obtain difference average;
, it is necessary to which N number of pixel is opposite after the first matrix data value is subtracted each other the first difference of acquisition with preset average value The matrix data value for the N number of compression element answered is subtracted each other one by one with preset average value respectively, and is summed to N number of difference after subtracting each other, Divided by N numerical value to be to obtain difference average, such as LED display has 14400 pixels, then its corresponding preset average value is as walked Rapid 302 refer to 0.5, then the matrix data value of the compression element such as E1 in the check and correction matrix of 14400 pixels is subtracted each other, And to 14400 differences summation after subtracting each other divided by 14400 numerical value to obtain difference average, such as last obtain difference Average is 0.13, is not limited specifically herein.
305th, the first difference and difference average are subtracted each other into acquisition difference;
Subtract each other one by one with preset average value respectively when by the matrix data value of the corresponding N number of compression element of N number of pixel, and To N number of difference summation after subtracting each other divided by N numerical value to obtain after difference average, it is necessary to which the first difference is averaged with difference Number subtracts each other acquisition difference, such as first difference is 0.3 in step 203, and difference average is 0.13 in step 204, then subtracts each other and obtain The difference taken is 0.17, is not limited specifically herein.
306th, corresponding differential bits number is distributed according to the specific data of difference, and element will be compressed according to difference ratio Special number is compressed and stores;
After the first matrix data value and preset average value are subtracted each other acquisition difference, distributed according to the specific data of difference Corresponding differential bits number, and compression element is compressed and stored according to differential bits number, such as abovementioned steps 305 When the difference obtained according to element E1 is 0.17, then pair storage is compressed with 0.17 corresponding bit number, it is assumed that only need 3bit just stores the element E1 that data are 0.17 enough, then element E1 according to 3bit is compressed, and is deposited into 3bit's In storage unit, do not limit specifically herein.
It should be noted that the corresponding bit number of foregoing difference is pre-set, can be art technology Empirical value determined by the long-term experiment of personnel.
307th, corresponding fixed number of bits is distributed according to the matrix data value for the other elements do not chosen, and will be unselected The other elements taken are compressed and store according to fixed number of bits.
When according to difference will compress element according to while being compressed storage with the corresponding bit number of difference or after, The other elements that will do not chosen is needed to be compressed storage, example according to the corresponding bit number of matrix data value with other elements Compression element such as the selection in abovementioned steps 102 and 103 is E1, then the other elements do not chosen are E2, the E3 in matrix M, E4, E5, E6, E7, E8, E9, according to E2, E3, E4, E5, E6, E7, E8, the corresponding bit number of the matrix data value of E9 carries out Compression storage, such as E2 matrix data values are that 0.25 corresponding bit number is 4bit, E3 matrix datas value for 0.25 with Corresponding bit number for 4bit, E4 matrix data values are that 0.1 corresponding bit number is 3bit, E5 matrix data values It is 6bit for 0.6 corresponding bit number, E6 matrix data values are that 0.3 corresponding bit number is 4bit, E7 squares Battle array data value is that 0.2 corresponding bit number is 3bit, and E8 matrix data values are that 0.2 corresponding bit number is 3bit, E9 matrix data value are that 0.9 corresponding bit number is 8bit, according to corresponding bit number, are stored in it In remaining each bit memory cell.
It should be noted that the total bit number for the matrix that abovementioned steps 306 and 307 are summarized can be, for example, 38bit, It does not limit specifically herein.
In the present embodiment, by will proofread on first element of matrix and the diagonal of the last one element it is upper at least It is poor will to subtract each other acquisition as compression element with the compression corresponding first matrix data value of element and preset average value for one element Value is compressed storage, remaining element by element is compressed further according to difference according to the corresponding bit number of the size of difference The corresponding bit number of matrix data value be compressed storage, just solve the prior art when matrix value be 8bit when, then 3x3 matrixes need 72bit, such as resolution ratio is 1920x1080, then need 1920x1080x72=142M bit to store check and correction Matrix, it is therefore desirable to check and correction matrix is stored by big memory space, and the check and correction caused by big resolution ratio generated The required huge memory space of matrix, and caused by high financial cost the technical issues of and pass through two steps and carry out difference The design of acquisition further reduces the distribution of memory space.
Referring to Fig. 4, one of a kind of storage device of the check and correction matrix based on LED screen provided in the embodiment of the present invention Embodiment includes:
The storage device of the check and correction matrix based on LED screen is used for any one base by being referred in the embodiment of the present invention In the storage method storage check and correction matrix of the check and correction matrix of LED screen;
Acquisition module 401, for obtaining and compressing the corresponding first matrix data value of element, compression element is check and correction square First element of battle array and upper at least one element on the diagonal of the last one element;
Computing module 402, for the first matrix data value and preset average value to be subtracted each other acquisition difference, preset average value is With N number of pixel it is corresponding it is N number of compression element matrix data value summation after, then divided by N numerical value;
First storage module 403, for being pressed according to difference by element is compressed according to the corresponding bit number of difference Contracting storage;
Second storage module 404, for by the other elements do not chosen according to opposite with the matrix data value of other elements The bit number answered is compressed storage.
In the present embodiment, the diagonal of first element of matrix and the last one element will be proofreaded by acquisition module 401 For upper at least one element on line as compression element, computing module 402 will be with compressing corresponding first matrix data of element Value subtracts each other acquisition difference with preset average value, and the first storage module 403 will compress element according to big with difference further according to difference Small corresponding bit number is compressed storage, and the second storage module 404 is corresponding by the matrix data value of remaining element Bit number is compressed storage, just solve the prior art when matrix value be 8bit when, then 3x3 matrixes need 72bit, such as Resolution ratio is 1920x1080, then needs 1920x1080x72=142M bit to store check and correction matrix, it is therefore desirable to by depositing greatly Space is stored up to store check and correction matrix, and storage huge needed for the check and correction matrix caused by big resolution ratio generated is empty Between, and caused by high financial cost the technical issues of.
The above is that each module of the storage device of the check and correction matrix based on LED screen is described in detail, below will be right The submodule of computing module is described in detail, referring to Fig. 5, what is provided in the embodiment of the present invention is a kind of based on LED screen Proofreading another embodiment of the storage device of matrix includes:
The storage device of the check and correction matrix based on LED screen is used for any one base by being referred in the embodiment of the present invention In the storage method storage check and correction matrix of the check and correction matrix of LED screen;
Acquisition module 501, for obtaining and compressing the corresponding first matrix data value of element, compression element is check and correction square First element of battle array and upper at least one element on the diagonal of the last one element;
Computing module 502, for the first matrix data value and preset average value to be subtracted each other acquisition difference, preset average value is With N number of pixel it is corresponding it is N number of compression element matrix data value summation after, then divided by N numerical value;
Wherein, computing module 502 can further include:
First computing submodule 5021 obtains the first difference for the first matrix data value and preset average value to be subtracted each other;
Second computing submodule 5022, for by N number of pixel it is corresponding it is N number of compression element matrix data value respectively with Preset average value subtracts each other one by one, and to N number of difference summation after subtracting each other divided by N numerical value to obtain difference average;
Total computing submodule 5023, for the first difference and difference average to be subtracted each other acquisition difference.
First storage module 503, for being pressed according to difference by element is compressed according to the corresponding bit number of difference Contracting storage;
Second storage module 504, for by the other elements do not chosen according to opposite with the matrix data value of other elements The bit number answered is compressed storage.
In the present embodiment, the diagonal of first element of matrix and the last one element will be proofreaded by acquisition module 501 For upper at least one element on line as compression element, computing module 502 will be with compressing corresponding first matrix data of element Value subtracts each other acquisition difference with preset average value, and the first storage module 503 will compress element according to big with difference further according to difference Small corresponding bit number is compressed storage, and the second storage module 504 is corresponding by the matrix data value of remaining element Bit number is compressed storage, just solve the prior art when matrix value be 8bit when, then 3x3 matrixes need 72bit, such as Resolution ratio is 1920x1080, then needs 1920x1080x72=142M bit to store check and correction matrix, it is therefore desirable to by depositing greatly Space is stored up to store check and correction matrix, and storage huge needed for the check and correction matrix caused by big resolution ratio generated is empty Between, and caused by high financial cost the technical issues of and pass through the first computing submodule 5021 and the second computing submodule 5022 carry out the design of the acquisition of the difference of two steps, further reduce the distribution of memory space.
The above is that the submodule of computing module is described in detail, and the first storage module and second will be stored below The submodule of module is described in detail, referring to Fig. 6, a kind of check and correction based on LED screen provided in the embodiment of the present invention Another embodiment of the storage device of matrix includes:
The storage device of the check and correction matrix based on LED screen is used for any one base by being referred in the embodiment of the present invention In the storage method storage check and correction matrix of the check and correction matrix of LED screen;
Acquisition module 601, for obtaining and compressing the corresponding first matrix data value of element, compression element is check and correction square First element of battle array and upper at least one element on the diagonal of the last one element;
Computing module 602, for the first matrix data value and preset average value to be subtracted each other acquisition difference, preset average value is With N number of pixel it is corresponding it is N number of compression element matrix data value summation after, then divided by N numerical value;
Wherein, computing module 602 can further include:
First computing submodule 6021 obtains the first difference for the first matrix data value and preset average value to be subtracted each other;
Second computing submodule 6022, for by N number of pixel it is corresponding it is N number of compression element matrix data value respectively with Preset average value subtracts each other one by one, and to N number of difference summation after subtracting each other divided by N numerical value to obtain difference average;
Total computing submodule 6023, for the first difference and difference average to be subtracted each other acquisition difference.
First storage module 603, for being pressed according to difference by element is compressed according to the corresponding bit number of difference Contracting storage;
Wherein, the first storage module 603 can further include:
First distribution sub module 6031, for distributing corresponding differential bits number according to the specific data of difference;
First storage submodule 6032, is compressed and stores according to differential bits number for that will compress element.
Second storage module 604, for by the other elements do not chosen according to opposite with the matrix data value of other elements The bit number answered is compressed storage.
Wherein, the second storage module 604 can further include:
Second distribution sub module 6041, for corresponding according to the distribution of the matrix data value for the other elements do not chosen Fixed number of bits;
Second storage submodule 6042, for the other elements do not chosen to be compressed and deposited according to fixed number of bits Storage.
In the present embodiment, the diagonal of first element of matrix and the last one element will be proofreaded by acquisition module 601 For upper at least one element on line as compression element, computing module 602 will be with compressing corresponding first matrix data of element Value subtracts each other acquisition difference with preset average value, and the first storage module 603 will compress element according to big with difference further according to difference Small corresponding bit number is compressed storage, and the second storage module 604 is corresponding by the matrix data value of remaining element Bit number is compressed storage, just solve the prior art when matrix value be 8bit when, then 3x3 matrixes need 72bit, such as Resolution ratio is 1920x1080, then needs 1920x1080x72=142M bit to store check and correction matrix, it is therefore desirable to by depositing greatly Space is stored up to store check and correction matrix, and storage huge needed for the check and correction matrix caused by big resolution ratio generated is empty Between, and caused by high financial cost the technical issues of.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and module may be referred to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module Division is only a kind of division of logic function, can there is other dividing mode, such as multiple module or components in actual implementation It may be combined or can be integrated into another system or some features can be ignored or does not perform.It is another, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or module It closes or communicates to connect, can be electrical, machinery or other forms.
The module illustrated as separating component may or may not be physically separate, be shown as module The component shown may or may not be physical module, you can be located at a place or can also be distributed to multiple On network module.Some or all of module therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing module, it can also That modules are individually physically present, can also two or more modules be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be employed in block is realized, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and is independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment (can be personal computer, server or the network equipment etc.) performs the complete of each embodiment the method for the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Embodiment is stated the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding The technical solution recorded in each embodiment is stated to modify or carry out equivalent substitution to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is not made to depart from the spirit and scope of various embodiments of the present invention technical solution.

Claims (5)

1. a kind of storage method of the check and correction matrix based on LED screen, which is characterized in that including:
Obtain with compression the corresponding first matrix data value of element, it is described compression element for check and correction matrix first element with At least one element on the diagonal of the last one element;
The first matrix data value and preset average value are subtracted each other into acquisition difference;
The compression element is compressed by storage according to the corresponding bit number of the difference according to the difference;
The other elements do not chosen are compressed storage according to the corresponding bit number of matrix data value with other elements It deposits;
The compression element is compressed by the specific bag of storage according to the corresponding bit number of the difference according to the difference It includes:
Corresponding differential bits number is distributed according to the specific data of the difference;
The compression element is compressed and stored according to the differential bits number.
2. the storage method of the check and correction matrix according to claim 1 based on LED screen, which is characterized in that the check and correction square Battle array is 3 × 3 matrixes, includes 9 elements.
3. the storage method of the check and correction matrix according to claim 1 based on LED screen, which is characterized in that by what is do not chosen Other elements are compressed storage according to the corresponding bit number of matrix data value with other elements and specifically include:
Corresponding fixed number of bits is distributed according to the matrix data value for the other elements do not chosen;
The other elements do not chosen are compressed and stored according to the fixed number of bits.
4. a kind of storage device of the check and correction matrix based on LED screen, for passing through as described in any one in claims 1 to 3 Based on LED screen check and correction matrix storage method storage check and correction matrix, which is characterized in that including:
Acquisition module, for obtaining and compressing the corresponding first matrix data value of element, the compression element is check and correction matrix First element and the last one element diagonal at least one element;
Computing module, for the first matrix data value and preset average value to be subtracted each other acquisition difference, the preset average value For with N number of pixel it is corresponding it is N number of it is described compression element matrix data value summation after, then divided by N numerical value;
First storage module, for according to the difference by it is described compression element according to the corresponding bit number of the difference into Row compression storage;
Second storage module, for by the other elements do not chosen according to corresponding with the matrix data value of other elements Bit number is compressed storage;
First storage module specifically includes:
First distribution sub module, for distributing corresponding differential bits number according to the specific data of the difference;
The first storage submodule, for the compression element to be compressed and store according to the differential bits number.
5. the storage device of the check and correction matrix according to claim 4 based on LED screen, which is characterized in that second storage Storing module specifically includes:
Second distribution sub module, for distributing corresponding fixation according to the matrix data value for the other elements do not chosen Bit number;
The second storage submodule, for the other elements do not chosen to be compressed simultaneously according to the fixed number of bits Storage.
CN201410438202.4A 2014-08-29 2014-08-29 A kind of storage method and device of the check and correction matrix based on LED screen Expired - Fee Related CN104156182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410438202.4A CN104156182B (en) 2014-08-29 2014-08-29 A kind of storage method and device of the check and correction matrix based on LED screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410438202.4A CN104156182B (en) 2014-08-29 2014-08-29 A kind of storage method and device of the check and correction matrix based on LED screen

Publications (2)

Publication Number Publication Date
CN104156182A CN104156182A (en) 2014-11-19
CN104156182B true CN104156182B (en) 2018-05-29

Family

ID=51881692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410438202.4A Expired - Fee Related CN104156182B (en) 2014-08-29 2014-08-29 A kind of storage method and device of the check and correction matrix based on LED screen

Country Status (1)

Country Link
CN (1) CN104156182B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110176210B (en) 2018-07-27 2021-04-27 京东方科技集团股份有限公司 Display driving method, compression and decompression method, display driving device, compression and decompression device, display device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971537A (en) * 2005-11-25 2007-05-30 杭州中天微系统有限公司 Access method of matrix data and storage device of the matrix data
CN101620848A (en) * 2008-07-02 2010-01-06 索尼株式会社 Display unit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5801624B2 (en) * 2011-06-29 2015-10-28 ルネサスエレクトロニクス株式会社 Display device and display device control circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971537A (en) * 2005-11-25 2007-05-30 杭州中天微系统有限公司 Access method of matrix data and storage device of the matrix data
CN101620848A (en) * 2008-07-02 2010-01-06 索尼株式会社 Display unit

Also Published As

Publication number Publication date
CN104156182A (en) 2014-11-19

Similar Documents

Publication Publication Date Title
CN106339196A (en) Data compression and decompression method of DeMura table and Mura compensation method
WO2019023709A1 (en) Efficient lossless compression of captured raw image information systems and methods
CN104012097A (en) Method and apparatus for compressing and decompressing data
CN109309826B (en) Image color balancing method and device, terminal equipment and readable storage medium
CN108875900A (en) Method of video image processing and device, neural network training method, storage medium
CN109992542A (en) A kind of data method for carrying, Related product and computer storage medium
CN111353956B (en) Image restoration method and device, computer equipment and storage medium
US10075696B2 (en) Method and device for estimating disparity associated with views of a scene acquired with a plenoptic camera
CN115643001B (en) Image encryption method and system based on bit plane and readable storage medium
CN106558033A (en) Binary Images Processing method based on morphological dilations erosion algorithm
CN104156182B (en) A kind of storage method and device of the check and correction matrix based on LED screen
CN113994364B (en) Single or multi-modal style transfer system and method and stochastic stylization system using same
CN101360247A (en) Method for image interpolation
US20170142479A1 (en) Creating hash values indicative of differences in images
CN103428449B (en) Apparatus and method for correction of distortion in digital image data
CN114298922A (en) Image processing method and device and electronic equipment
CN105303510A (en) Method and device for hiding information in image
CN108681989A (en) A kind of image data Enhancement Method and device
CN116188808B (en) Image feature extraction method and system, storage medium and electronic device
CN105139331A (en) Bit-oriented image scrambling method based on bionic cellular automaton
US8971619B2 (en) Method and a device for extracting color features
CN105654017B (en) Two-dimentional decoding transmission method and system
CN116843566A (en) Tone mapping method, tone mapping device, display device and storage medium
CN103297703A (en) Multispectral image acquisition method
KR102083166B1 (en) Image processing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180529

Termination date: 20210829