CN109376096A - Storage method, computer storage medium and the display device of data mapping tables - Google Patents
Storage method, computer storage medium and the display device of data mapping tables Download PDFInfo
- Publication number
- CN109376096A CN109376096A CN201811554003.4A CN201811554003A CN109376096A CN 109376096 A CN109376096 A CN 109376096A CN 201811554003 A CN201811554003 A CN 201811554003A CN 109376096 A CN109376096 A CN 109376096A
- Authority
- CN
- China
- Prior art keywords
- data
- mapping tables
- difference table
- data difference
- stored
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/0292—User address space allocation, e.g. contiguous or non contiguous base addressing using tables or multilevel address translation means
Abstract
The invention discloses a kind of storage method of data mapping tables and its corresponding computer storage medium and display device, the storage method includes: that the data base table of the corresponding data mapping tables to be stored is arranged and stores the data base table;Grayscale value one-to-one correspondence in grayscale value and the data base table in the data mapping tables is subtracted each other, the first data difference table is established;The first data difference table is stored, the data mapping tables can be restored by the first data difference table and the data base table in the memory unit;Wherein, grayscale value needs in the data mapping tables are stored with M bits, each grayscale value in the data base table is equal, and the data base table is configured such that the first data difference table can be stored with N bits, and 1≤N < M.The present invention can reduce the occupied memory space of data mapping tables.
Description
Technical field
The present invention relates to display technology field more particularly to a kind of storage methods of data mapping tables, computer storage
Medium and display device.
Background technique
With the development of LCD technology, to Thin Film Transistor-LCD (Thin Film Transistor
Liquid Crystal Display, TFT-LCD) high-resolution, wide viewing angle, high response speed, in terms of
It is required that higher and higher.
Because of some characteristics of liquid crystal material, what liquid crystal display inevitably had that some other displays do not have is asked
Topic.Such as: since liquid crystal deflection angle forms chroma point offset problem caused by dark-state light leakage, or when due to liquid crystal response
Between caused by motion blur and ghost problems etc..To improve these problems, need to be adjusted image data or video data.
The way of the prior art is usually that some data mapping tables are stored in liquid crystal display, and this mapping table also referred to as shows look-up table
(Look-up Table, LUT), is adjusted image data or video data according to data mapping tables.However data mapping tables
In include a large amount of data, need to occupy more internal storage space, and in the production line transmission, burning data process
It takes considerable time, reduces the speed of service and production efficiency of display.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
In view of the deficiencies in the prior art, the present invention provides a kind of storage methods of data mapping tables, can reduce number
According to the system memory space that mapping table occupies, shorten that production lines are defeated, time of burning data.
To achieve the above object, present invention employs the following technical solutions:
A kind of storage method of data mapping tables comprising:
The data base table of the corresponding data mapping tables to be stored is set and stores the data base table;
Grayscale value one-to-one correspondence in grayscale value and the data base table in the data mapping tables is subtracted each other, is established
First data difference table;
The first data difference table is stored, to pass through the first data difference table and the data in the memory unit
Master meter can restore the data mapping tables;
Wherein, the grayscale value needs in the data mapping tables are stored with M bits, in the data base table
Each grayscale value is equal, and the data base table is configured such that the first data difference table can be carried out with N bits
Storage, and 1≤N < M.
Further, the storage method further include:
Run-length encoding is carried out to the first data difference table after establishing the first data difference table, obtains second
Data difference table;
The second data difference table is stored, to pass through the second data difference table and the data in the memory unit
Master meter can restore the data mapping tables.
In a preferred scheme, the storage method further include:
For the second data difference table, it is greater than 2 with triple table storage absolute valuenElement position and numerical value,
And it is not more than 2 with previous absolute value in the second data difference tablenElement replace absolute value be greater than 2nElement,
Obtain third data difference table;
The third data difference table is stored, to pass through the third data difference table and the data in the memory unit
Master meter can restore the data mapping tables;
Wherein, the third data difference table can be stored with n+1 bits, and n+1 < N.
Wherein, the value of the n makes absolute value in the second data difference table be greater than 2nThe quantity of element be institute
State the 2%~10% of the element total quantity for including in the second data difference table.
In another preferred scheme, the storage method further include:
For the second data difference table, it is greater than 2 with triple table storage absolute valuenElement position and numerical value,
And 2 are greater than to absolute value in the second data difference tablenElement directly reduce bit number or carry out quotient coding make this
Element becomes absolute value no more than 2n, obtain third data difference table;
The third data difference table is stored, to pass through the third data difference table and the data in the memory unit
Master meter can restore the data mapping tables;
Wherein, the third data difference table can be stored with n+1 bits, and n+1 < N.
Wherein, the value of the n makes absolute value in the second data difference table be greater than 2nThe quantity of element be institute
State the 2%~10% of the element total quantity for including in the second data difference table.
Further, the value of the M is 8.
The present invention also provides a kind of computer storage mediums, wherein the computer storage medium is stored with computer
Program, the computer program can be performed the storage method to realize data mapping tables as described above.
Another aspect of the present invention is to provide a kind of display device comprising memory, processor and is stored in described deposit
On reservoir and the computer program that can run on the processor, wherein the computer program is executed by the processor
The storage method of Shi Shixian data mapping tables as described above.
The storage method of data mapping tables provided in an embodiment of the present invention is mapped by the way that the corresponding data to be stored are arranged
The data base table of table, and the grayscale value one-to-one correspondence in the grayscale value and data master meter in data mapping tables is subtracted each other and is built
Vertical data difference table, then storing data master meter and data difference table, single in storage by data difference table and data master meter
The data mapping tables are restored in member.Since each grayscale value in data base table is equal, it is only necessary to storage it is primary and
Transmission, the process of burning data are more simple, and the time also reduces;And data base table is configured such that the data difference
Table can be stored with being less than bit needed for data mapping tables.Therefore, the storage method of the data mapping tables can be reduced
The system memory space that data mapping tables occupy, shortens that production lines are defeated, time of burning data, improves production efficiency.
Detailed description of the invention
Fig. 1 is the step flow chart of the storage method of the data mapping tables in the embodiment of the present invention;
Fig. 2 is the structural block diagram of the display device in the embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, with reference to the accompanying drawing to specific reality of the invention
The mode of applying is described in detail.The example of these preferred embodiments is illustrated in the accompanying drawings.Shown in attached drawing and according to
The embodiments of the present invention of attached drawing description are only exemplary, and the present invention is not limited to these embodiments.
Here, it should also be noted that, in order to avoid having obscured the present invention because of unnecessary details, in the accompanying drawings only
Show with closely related structure and/or processing step according to the solution of the present invention, and be omitted little with relationship of the present invention
Other details.
The present invention provides a kind of storage methods of data mapping tables, as shown in Figure 1, the storage side of the data mapping tables
Method comprising steps of
S10, the data base table that the corresponding data mapping tables to be stored are arranged simultaneously store the data base table.It is described
Data mapping tables include the grayscale value of three sub-pixel of red, green, blue, and the grayscale value in the data mapping tables is needed with M ratios
Spy stores, wherein data mapping tables according to the display device is needed to be arranged data base table.
In the present embodiment, grayscale value in the data mapping tables is the numerical value in 0~255 grayscale, such as the following table 1, in table 1
Several grayscale values are illustrated, the grayscale value needs in the data mapping tables are stored with 8 bits, i.e. M=
8。
Table 1: the data mapping tables to be stored
R | G | B |
199 | 197 | 201 |
198 | 201 | 201 |
201 | 201 | 201 |
199 | 200 | 203 |
193 | 200 | 201 |
199 | 197 | 201 |
200 | 198 | 201 |
199 | 201 | 198 |
The data base table being arranged in the present embodiment according to the data mapping tables of table 1 is as shown in table 2,2 point data benchmark of table
In table, each grayscale value is equal, and 200 are specifically configured in the present embodiment.
Table 2: data base table
R | G | B |
200 | 200 | 200 |
200 | 200 | 200 |
200 | 200 | 200 |
200 | 200 | 200 |
200 | 200 | 200 |
200 | 200 | 200 |
200 | 200 | 200 |
200 | 200 | 200 |
S20, the grayscale value one-to-one correspondence in the grayscale value and the data base table in the data mapping tables is subtracted each other,
Establish the first data difference table.
Specific in the present embodiment, the grayscale value one-to-one correspondence of Tables 1 and 2 is subtracted each other, establishes the first number as shown in table 3
According to difference table, as shown in table 3, each element in the first data difference table includes positive value and negative value.
3: the first data difference table of table
R | G | B |
-1 | -3 | 1 |
-2 | 1 | 1 |
1 | 1 | 1 |
-1 | 0 | 3 |
-7 | 0 | 1 |
-1 | -3 | 1 |
0 | -2 | 1 |
-1 | 1 | -2 |
Refering to table 3 and step S10 is combined, the data base table needs to be arranged so that described first according to the actual situation
Data difference table can be stored with N bits, and 1≤N < M;In the present embodiment, such as
Shown in table 3, when each element in table 3 stores, the sign bit of 1 bit is needed to add the value bit of 3 bits,
That is N=4.
In some embodiments, proceed to after step S20 as above, store the first data difference table, it is single in storage
The data mapping tables can be restored by the first data difference table and the data base table in member, be achieved in institute
State the storage of data mapping tables.
Since each grayscale value in data base table (such as table 2) is equal, it is only necessary to which storage is primary and transmits, burning
The process of data is more simple, and the time also reduces;And data base table is configured such that the first data difference table (table
3) it can be stored with being less than bit needed for data mapping tables.Therefore, by storing the first data difference table and institute
Data base table is stated, then the data mapping tables (table 1) is restored by the first data difference table and the data base table,
Thus, it is possible to reduce the system memory space of data mapping tables occupancy, shorten that production lines are defeated, time of burning data, improves
Production efficiency.
The storage method of data mapping tables in the present embodiment, refering to fig. 1, after carrying out step S20, also carry out with
Lower step S30:
S30, run-length encoding is carried out to the first data difference table after establishing the first data difference table, obtained
Second data difference table.For example, carrying out run-length encoding in the first data difference table to table 3, as shown in table 4 below second is obtained
Data difference table.
4: the second data difference table of table
R | G | B |
-1 | -3 | 1 |
-2 | (zrc, 5,1) | / |
/ | / | / |
-1 | 0 | 3 |
-7 | 0 | 1 |
-1 | -3 | 1 |
0 | -2 | 1 |
-1 | 1 | -2 |
Wherein, in the 1st row the 1st column (being to arrange to start from the 0th row the 0th in table), zrc is the mark in run-length encoding
Position, 5 be stroke length, and 1 is run length code.
By carrying out run-length encoding to the first data difference table, the second data difference table obtained is accounted in storage
Space is less than the first data difference table.Therefore, in other embodiments, proceed to after step S30 as above,
The second data difference table is stored, it in the memory unit can by the second data difference table and the data base table
The data mapping tables are restored, are achieved in the storage of the data mapping tables, and can further reduce data and reflect
System memory space that firing table occupies and shorten that production lines are defeated, time of burning data.
The storage method of data mapping tables in the present embodiment, refering to fig. 1, after carrying out step S30, also carry out with
Lower step S40:
S40, it is directed to the second data difference table, is greater than 2 with triple table storage absolute valuenElement position sum number
Value, and it is not more than 2 with previous absolute value in the second data difference tablenElement replace absolute value be greater than 2nMember
Element obtains third data difference table.Wherein, the third data difference table can be with n (value bit)+1 (sign bit) position bit
It is stored, and n+1 < N, third data difference table obtained the space occupied in storage is less than second data
Difference table.
S50, the storage third data difference table, pass through the third data difference table and the number in the memory unit
The data mapping tables can be restored according to master meter, are achieved in the storage of the data mapping tables.And it can be further
It reduces the system memory space that data mapping tables occupy and shortens that production lines are defeated, time of burning data in ground.
Wherein, the value of the n makes absolute value in the second data difference table be greater than 2nThe quantity of element be institute
State the certain proportion for the element total quantity for including in the second data difference table.
For example, be directed to table 4 the second data difference table, included in element total quantity be 24, by n value be 2,
Absolute value is greater than 2 in table 42Element quantity be 2, i.e. the 1st row the 1st column the 5 and the 4th row the 0th column -7, corresponding three
Tuple table is as shown in table 5 below.The certain proportion is 2/24=8.3%.It should be noted that in other some embodiments
In, the certain proportion can be set in the range of 2%~10%.
Table 5: triple table
Row | Column | Value |
1 | 1 | 5 |
4 | 0 | -7 |
Then it is not more than 2 with previous absolute value in the second data difference table (table 4)nElement replace absolute value
Greater than 2nElement, obtain third data difference table as shown in table 6.
Table 6: third data difference table
R | G | B |
-1 | -3 | 1 |
-2 | (zrc, -2,1) | / |
/ | / | / |
-1 | 0 | 3 |
3 | 0 | 1 |
-1 | -3 | 1 |
0 | -2 | 1 |
-1 | 1 | -2 |
When each element in table 6 stores, the sign bit of 1 bit is needed to add the value bit of 2 bits, i.e. n+1=
3, compared to the second data difference table of aforementioned table 4, reduce the occupied space of storage.
In another preferred scheme, the third data difference table in above step S40 can also be in the following ways
It obtains:
For the second data difference table, it is greater than 2 with triple table storage absolute valuenElement position and numerical value,
And 2 are greater than to absolute value in the second data difference tablenElement directly reduce bit number or carry out quotient coding make this
Element becomes absolute value no more than 2n, obtain third data difference table.Wherein, the mode of the value mode of n and above step S40
It is identical.
The present embodiment additionally provides a kind of computer storage medium, wherein the computer storage medium is stored with calculating
Machine program, the computer program can be performed the storage method to realize data mapping tables as described above.
The another aspect of the present embodiment is to provide a kind of display device, as shown in Fig. 2, comprising: processor 100 and institute
State memory 200, communication interface 300 and the communication bus 400 of the connection of processor 100.Wherein, the processor 100, described deposit
Reservoir 200, the communication interface 300 complete mutual communication by the communication bus 400.The communication interface 300 is used
Information transmission between the communication equipment of the display device;The memory 200 is stored with computer program, the calculating
Machine program realizes the storage method of the present embodiment data mapping tables as described above when being executed by the processor 100.
The processor 100 can be in some embodiments central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips.The processor is commonly used in the control display
The overall operation of device.
In conclusion the storage method of data mapping tables provided in an embodiment of the present invention and its storage of corresponding computer are situated between
Matter and display device can reduce the system memory space of data mapping tables occupancy, save the hardware resource of system, shorten
Production lines are defeated, the burning data time, improve production efficiency to reduce cost.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The above is only the specific embodiment of the application, it is noted that for the ordinary skill people of the art
For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered
It is considered as the protection scope of the application.
Claims (9)
1. a kind of storage method of data mapping tables characterized by comprising
The data base table of the corresponding data mapping tables to be stored is set and stores the data base table;
Grayscale value one-to-one correspondence in grayscale value and the data base table in the data mapping tables is subtracted each other, establishes first
Data difference table;
The first data difference table is stored, to pass through the first data difference table and the data base in the memory unit
Table can restore the data mapping tables;
Wherein, the grayscale value needs in the data mapping tables are stored with M bits, each in the data base table
Grayscale value is equal, and the data base table is configured such that the first data difference table can be stored with N bits,
And 1≤N < M.
2. the storage method of data mapping tables according to claim 1, which is characterized in that the storage method further include:
Run-length encoding is carried out to the first data difference table after establishing the first data difference table, obtains the second data
Difference table;
The second data difference table is stored, to pass through the second data difference table and the data base in the memory unit
Table can restore the data mapping tables.
3. the storage method of data mapping tables according to claim 2, which is characterized in that the storage method further include:
For the second data difference table, it is greater than 2 with triple table storage absolute valuenElement position and numerical value, and
It is not more than 2 with previous absolute value in the second data difference tablenElement replace absolute value be greater than 2nElement, obtain the
Three data difference tables;
The third data difference table is stored, to pass through the third data difference table and the data base in the memory unit
Table can restore the data mapping tables;
Wherein, the third data difference table can be stored with n+1 bits, and n+1 < N.
4. the storage method of data mapping tables according to claim 3, which is characterized in that the value of the n makes described
Absolute value is greater than 2 in second data difference tablenElement quantity be the second data difference table in include element sum
The 2%~10% of amount.
5. the storage method of data mapping tables according to claim 2, which is characterized in that the storage method further include:
For the second data difference table, it is greater than 2 with triple table storage absolute valuenElement position and numerical value, and
2 are greater than to absolute value in the second data difference tablenElement directly reduce bit number or carry out quotient coding make the element become
It is not more than 2 for absolute valuen, obtain third data difference table;
The third data difference table is stored, to pass through the third data difference table and the data base in the memory unit
Table can restore the data mapping tables;
Wherein, the third data difference table can be stored with n+1 bits, and n+1 < N.
6. the storage method of data mapping tables according to claim 5, which is characterized in that the value of the n makes described
Absolute value is greater than 2 in second data difference tablenElement quantity be the second data difference table in include element sum
The 2%~10% of amount.
7. the storage method of -6 any data mapping tables according to claim 1, which is characterized in that the value of the M is 8.
8. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with computer program, the meter
Calculation machine program can be performed the storage method to realize the data mapping tables as described in claim 1-7 is any one.
9. a kind of display device, which is characterized in that including memory, processor and be stored on the memory and can be described
The computer program run on processor is realized when the computer program is executed by the processor as in claim 1-7
The storage method of any data mapping tables.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811554003.4A CN109376096B (en) | 2018-12-18 | 2018-12-18 | Data mapping table storage method, computer storage medium and display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811554003.4A CN109376096B (en) | 2018-12-18 | 2018-12-18 | Data mapping table storage method, computer storage medium and display device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109376096A true CN109376096A (en) | 2019-02-22 |
CN109376096B CN109376096B (en) | 2021-07-23 |
Family
ID=65370810
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811554003.4A Active CN109376096B (en) | 2018-12-18 | 2018-12-18 | Data mapping table storage method, computer storage medium and display device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109376096B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1838729A (en) * | 2005-03-25 | 2006-09-27 | 日本电气株式会社 | Gamma correction device, image conversion apparatus using the same, and display device |
CN101286303A (en) * | 2007-04-13 | 2008-10-15 | 奇美电子股份有限公司 | LCD device and its image display process |
US20110102478A1 (en) * | 2009-10-30 | 2011-05-05 | Innocom Technology (Shenzhen) Co., Ltd. | Gamma adjustment circuit and method and display device employing same |
CN105355184A (en) * | 2015-12-10 | 2016-02-24 | 深圳市华星光电技术有限公司 | Lookup table management method and device for liquid crystal display |
-
2018
- 2018-12-18 CN CN201811554003.4A patent/CN109376096B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1838729A (en) * | 2005-03-25 | 2006-09-27 | 日本电气株式会社 | Gamma correction device, image conversion apparatus using the same, and display device |
CN101286303A (en) * | 2007-04-13 | 2008-10-15 | 奇美电子股份有限公司 | LCD device and its image display process |
US20110102478A1 (en) * | 2009-10-30 | 2011-05-05 | Innocom Technology (Shenzhen) Co., Ltd. | Gamma adjustment circuit and method and display device employing same |
CN102054420A (en) * | 2009-10-30 | 2011-05-11 | 群康科技(深圳)有限公司 | Gamma correcting circuit, gamma correcting method and relevant display |
CN105355184A (en) * | 2015-12-10 | 2016-02-24 | 深圳市华星光电技术有限公司 | Lookup table management method and device for liquid crystal display |
Non-Patent Citations (1)
Title |
---|
廖 银等: "动态二进制翻译中全寄存器直接映射方法", 《计算机应用与软件》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109376096B (en) | 2021-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107799084B (en) | Device and method, the memory of luminance compensation | |
CN104952412B (en) | The driving method and driving device of liquid crystal panel | |
US20210287626A1 (en) | Brightness-unevenness compensation method and device, and display panel | |
CN101740002B (en) | Method of calcuating correction value and display device | |
CN108694912B (en) | The method for eliminating backlight Mura | |
CN104992657A (en) | Mura compensation module and method, display device and method | |
CN101995694A (en) | Liquid crystal display and method of controlling dot inversion thereof | |
CN102262867A (en) | Liquid crystal display and method of driving the same | |
CN106681678A (en) | Method and device for modifying splicing screen address parameters | |
CN105280098A (en) | Display device for correcting display non-uniformity | |
US20180226045A1 (en) | Display device and driving method thereof | |
CN107315275B (en) | Display method and device and computer equipment | |
CN108428435A (en) | A kind of verification display methods that Delta types arrangement sub-pixel renders | |
US20180254003A1 (en) | Display data transmission method and apparatus, display panel drive method and apparatus | |
CN105551455A (en) | Image up-scale device and method | |
CN105355184B (en) | The lookup table management method and device of a kind of liquid crystal display | |
CN102253818A (en) | Background picture display method and device | |
CN109376096A (en) | Storage method, computer storage medium and the display device of data mapping tables | |
CN101630501B (en) | Method and system for displaying image | |
CN101770760A (en) | Frame rate control-dither method for LCD display image | |
CN116013186A (en) | Driving method and driving device of display panel and computer readable storage medium | |
US8897558B2 (en) | Method of compressing a block-based binary image | |
CN105261324A (en) | Display method and display panel using the same | |
CN114613338B (en) | Pixel data improving method, pixel matrix driving device and display | |
CN114067757B (en) | Data processing method and device and display device |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 9-2 Tangming Avenue, Guangming New District, Shenzhen City, Guangdong Province Applicant after: TCL Huaxing Photoelectric Technology Co.,Ltd. Address before: 9-2 Tangming Avenue, Guangming New District, Shenzhen City, Guangdong Province Applicant before: Shenzhen China Star Optoelectronics Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |