CN115953982A - Gamma correction method and circuit for micro display chip - Google Patents
Gamma correction method and circuit for micro display chip Download PDFInfo
- Publication number
- CN115953982A CN115953982A CN202310196357.0A CN202310196357A CN115953982A CN 115953982 A CN115953982 A CN 115953982A CN 202310196357 A CN202310196357 A CN 202310196357A CN 115953982 A CN115953982 A CN 115953982A
- Authority
- CN
- China
- Prior art keywords
- gray scale
- gamma correction
- bit wide
- data
- bit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000006243 chemical reaction Methods 0.000 claims abstract description 20
- 238000004590 computer program Methods 0.000 claims description 7
- 238000011088 calibration curve Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 241000282412 Homo Species 0.000 description 2
- 230000004438 eyesight Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 241001270131 Agaricus moelleri Species 0.000 description 1
- 230000023077 detection of light stimulus Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000016776 visual perception Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Picture Signal Circuits (AREA)
Abstract
The invention discloses a gamma correction method and a circuit of a micro display chip, wherein the method comprises the following steps: obtaining a gray scale conversion curve after converting the gray scale data with 8bit width into the gray scale data with 10bit width according to a gamma correction formula; determining a balance point gray scale in a corresponding gray scale conversion curve obtained according to different power parameters k; the balance point gray scale is the gray scale with the same input 8-bit wide gray scale data and output 10-bit wide gray scale data in the gray scale conversion curve; and performing linear replacement on the gray scale from a zero gray scale to a balance point gray scale in the gray scale conversion curve to obtain a gamma correction curve of a 10-bit wide gray scale, wherein the linear replacement is to replace the output gray scale data with a width of 10 bits to be the same as the input gray scale data with a width of 8 bits.
Description
Technical Field
The invention relates to the technical field of LED display, in particular to a gamma correction method and circuit of a micro display chip.
Background
Gamma correction, also called gamma non-linearity or gamma encoding, is used to perform non-linear or inverse operations on the brightness or tristimulus values of light in a film or image system. The purpose of gamma encoding an image is to compensate for the characteristics of human vision to maximize the use of the data bits or bandwidth representing black and white, depending on human perception of light or black and white. In the case of general lighting, human vision is generally gamma or power function in nature. If the image is not gamma coded, the data bits or bandwidth are unevenly distributed, i.e. too many data bits or bandwidth are used to represent the difference that is not perceived at all by humans, while insufficient data bits or bandwidth are used to represent the very sensitive visual perception range of humans.
The gamma correction in the prior art usually adopts 8bit data bit width to perform gamma correction on the image, but such gamma correction method usually results in large loss of gray scale level in bright and dark places of the image, especially loss of low gray scale. Typically, the 0 to 20 gray levels are all lost and treated as a gray level value. Moreover, performing gamma correction at a bit width of 8 bits also has a certain influence on the flexibility of adjustment of the contrast and brightness of an image. Therefore, in the prior art, a method for performing gamma correction by using a 10-bit data bit width appears, and specifically, a 10-bit gamma correction table is used for converting input 8-bit gray scale data into 10-bit gray scale data. However, the drawback of this method is that when the bit width of 8bit is converted into 10bit, if the gamma correction formula in the prior art is still used, the gamma correction for low gray scale will have a large error loss, as shown in table 1 below.
TABLE 1
Therefore, a method for more accurately implementing gamma correction of conversion from 8-bit width to 10-bit width is needed in the prior art.
Disclosure of Invention
The technical purpose to be realized by the invention is to provide a gamma correction method of a micro display chip, which is used for converting input 8-bit gray scale data into 10-bit gray scale data and simultaneously enabling the input low gray scale to be more accurately expressed.
Based on the above technical objectives, the present invention provides a gamma correction method for a micro display chip, comprising:
obtaining a gray scale conversion curve after converting 8-bit wide gray scale data into 10-bit wide gray scale data according to a gamma correction formula, wherein the gamma correction formula is as follows:
wherein G 10 For the output 10bit wide gray scale, G 8 Is an input 8-bit wide gray scale, and k is a power parameter;
determining a balance point gray scale in a corresponding gray scale conversion curve obtained according to different power parameters k; the balance point gray scale is the gray scale with the same input 8-bit wide gray scale data and output 10-bit wide gray scale data in the gray scale conversion curve;
and performing linear replacement on the gray scale from the zero gray scale to the balance point gray scale in the gray scale conversion curve to obtain a gamma correction curve of the gray scale with the bit width of 10 bits, wherein the linear replacement is to replace the output gray scale data with the bit width of 10 bits to be the same as the input gray scale data with the bit width of 8 bits.
In one embodiment, the power parameter k ranges from 1.5 to 2.4.
One or more embodiments of the present invention may have the following advantages over the prior art:
in the conversion process of converting the 8-bit wide gray scale data into the 10-bit wide gray scale data, the gray scale from the zero gray scale to the balance point gray scale is linearly replaced, so that the accurate expression of the low gray scale information is realized, and the loss of the low gray scale information is avoided.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of gray scale conversion from 8-bit wide to 10-bit wide according to an embodiment of the present invention;
FIG. 2 is a gamma calibration curve diagram after gray scale conversion from 8-bit wide to 10-bit wide according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a computer system for implementing the gamma correction method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings.
It will be understood that when an element or layer is referred to as being "on," "8230;" \8230 "", "adjacent to," "connected to," or "coupled to" other elements or layers, it can be directly on, adjacent to, connected to, or coupled to the other elements or layers, or intervening elements or layers may be present. In contrast, when an element is referred to as being "directly on," 8230; \8230 ";," "directly adjacent," "directly connected to," or "directly coupled to" another element or layer, there are no intervening elements or layers present. It will be understood that, although the terms first, second, third, etc. may be used to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or section from another element, component, region, layer or section. Thus, a first element, component, region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the teachings of the present invention. And the discussion of a second element, component, region, layer or section does not necessarily imply that a first element, component, region, layer or section is present in the invention.
Spatial relational terms such as "in 8230," "below," "in 8230," "below," "8230," "above," "above," and the like may be used herein for convenience of description to describe the relationship of one element or feature to another element or feature illustrated in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, then elements or features described as "below" or "beneath" other elements or features would then be oriented "above" the other elements or features. Thus, the exemplary terms "at 8230; \8230; below" and "at 8230; \8230; below" may include both upper and lower orientations. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatial descriptors used herein interpreted accordingly.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term "and/or" includes any and all combinations of the associated listed items.
Example 1
As shown in table 1, according to the existing gamma correction formula, when performing gray scale conversion from 8-bit wide to 10-bit wide, if the power of 2.2 in the prior art is still used as a parameter, the low-order gray scale information is lost, and when performing conversion on the input gray scale of 8-bit wide, the output gray scale corresponding to the low-order gray scale 0 to 20 is only 0 to 3, which results in the loss of a large amount of low-order gray scale information.
As shown in fig. 1, in the present embodiment, first, the power parameter k used in the gamma correction formula is adjusted so as to be selected within a certain range. Namely:
wherein G is 10 For an output gray scale of 10bit width, G 8 For the input 8-bit wide gray scale, k is the power parameter. And the brightness of the display deviceProportional to the gray scale.
The gray scale conversion table from 8bit wide to 10bit wide formed by the above formula is shown in the following table 2:
TABLE 2
As can be seen from table 2, in the gamma correction curve generated when the power parameter k takes different values, a balance point gray scale exists when the 8-bit-width gray scale is converted to the 10-bit-width gray scale, and the balance point value means that the input 8-bit-width gray scale is equal to the 10-bit-width gray scale. As shown in table 2, when the power parameter k is 2.2, the corresponding 10-bit gray scale is 79 or 82 when the 8-bit gray scale is 80 or 81, i.e. there is a balance point corresponding to the 10-bit gray scale between the gray scales 80-81. When the power parameter k is 1.8, and the 8-bit width gray scale is 45 or 46, the corresponding 10-bit width gray scale is also 45 or 46, i.e. the gray scale 45 or 46 is the balance point gray scale. When the power parameter k is 1.5, when the 8-bit wide gray scale is 16 or 17, the corresponding 10-bit wide gray scale is also 16 or 17, i.e. the gray scale 16 or 17 is the balance point gray scale.
From the above, when the power parameter k is lower, the gray scale of the equilibrium point is closer to the 0 gray scale, but the value of the power parameter k is related to the physiological characteristics of human eyes, and the human eyes are more sensitive to low gray scale changes and are not sensitive to high gray scale changes. In this embodiment, the lowest value of the power parameter k is set to be 1.5, and the highest value is set to be 2.4.
After the balance point gray scale is obtained, since the problem of gray scale information loss still exists between the 0 gray scale and the balance point gray scale, in this embodiment, the 10-bit wide gray scale between the 0 gray scale and the balance point gray scale in the gamma calibration curve under the power parameter k is replaced by linear gray scale data. In this embodiment, the power parameter k is 1.5, and the gamma calibration table after replacement is shown in table 3.
TABLE 3
As shown in the table above, in the low gray scale region between the 0 gray scale and the balance point gray scale, each gray scale of the 1.5 th power output curve is the same as the input data of the 8-bit wide gray scale, so that the linear replacement of the 1.5 th power output curve is completed. The gamma calibration curve after replacement is the final gamma calibration curve for realizing the gray scale conversion from 8bit wide to 10bit wide, as shown in fig. 2.
Example 2
Fig. 3 is a schematic block diagram of a computer system suitable for implementing the gamma correction method according to the present invention.
As shown in fig. 3, the computer system 400 includes a processing unit 401 that can execute various processes in the above-described embodiments according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the computer system 400 are also stored. The processing unit 401, the ROM402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input portion 406 including a keyboard, a mouse, and the like; an output section 407 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. A driver 410 is also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as needed, so that a computer program read out therefrom is mounted in the storage section 408 as needed. The processing unit 401 may be implemented as a CPU, a GPU, a TPU, an FPGA, an NPU, or other processing units.
In particular, the above described methods may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the data reading and writing method. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 409, and/or installed from the removable medium 411.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept. For example, the above features and (but not limited to) the features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.
Claims (5)
1. A gamma correction method for a micro display chip is characterized by comprising the following steps:
obtaining a gray scale conversion curve after converting 8-bit wide gray scale data into 10-bit wide gray scale data according to a gamma correction formula, wherein the gamma correction formula is as follows:
wherein G is 10 For an output gray scale of 10bit width, G 8 Is an input 8-bit wide gray scale, and k is a power parameter;
determining a balance point gray scale in a corresponding gray scale conversion curve obtained according to different power parameters k; the balance point gray scale is the gray scale with the same input 8-bit wide gray scale data and output 10-bit wide gray scale data in the gray scale conversion curve;
and performing linear replacement on the gray scale from the zero gray scale to the balance point gray scale in the gray scale conversion curve to obtain a gamma correction curve of the gray scale with the bit width of 10 bits, wherein the linear replacement is to replace the output gray scale data with the bit width of 10 bits to be the same as the input gray scale data with the bit width of 8 bits.
2. The gamma correction method for a microdisplay chip of claim 1 in which the range of k is 1.5 to 2.4.
3. A circuit comprising a memory and a processor; wherein,
the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the steps of the method of any of claims 1-2.
4. A computer readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the steps of the method of any of claims 1-2.
5. A computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the method of any one of claims 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310196357.0A CN115953982A (en) | 2023-03-03 | 2023-03-03 | Gamma correction method and circuit for micro display chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310196357.0A CN115953982A (en) | 2023-03-03 | 2023-03-03 | Gamma correction method and circuit for micro display chip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115953982A true CN115953982A (en) | 2023-04-11 |
Family
ID=87287991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310196357.0A Pending CN115953982A (en) | 2023-03-03 | 2023-03-03 | Gamma correction method and circuit for micro display chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115953982A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5255093A (en) * | 1992-06-19 | 1993-10-19 | Panasonic Technologies, Inc. | Apparatus and a method for limiting gain in a digital gamma corrector |
JPH10301533A (en) * | 1997-04-25 | 1998-11-13 | Mitsubishi Electric Corp | Display device |
CN101075428A (en) * | 2007-06-26 | 2007-11-21 | 四川长虹电器股份有限公司 | Method for correcting multi-segmented Gamma curve |
CN101123074A (en) * | 2006-08-08 | 2008-02-13 | 奇景光电股份有限公司 | Generation method for gamma mapping table |
CN106782283A (en) * | 2017-02-27 | 2017-05-31 | 京东方科技集团股份有限公司 | The gamma curve correcting method and display device of a kind of display device |
TWI604729B (en) * | 2017-02-10 | 2017-11-01 | Chipone Technology (Beijing)Co Ltd | Gamma curve correction method and system |
CN109741706A (en) * | 2018-12-27 | 2019-05-10 | 深圳智芯半导体科技有限公司 | A kind of method that LED shows gamma correction realization and low ash enhancing |
CN110544457A (en) * | 2019-09-09 | 2019-12-06 | 深圳博邦诚光电有限公司 | inverse Gamma dynamic mapping algorithm |
CN112925498A (en) * | 2021-04-12 | 2021-06-08 | 京东方科技集团股份有限公司 | Method and device for adjusting Gamma value in stacked screen, stacked screen and storage medium |
CN113539165A (en) * | 2021-07-30 | 2021-10-22 | 合肥维信诺科技有限公司 | Gamma debugging method, device and equipment for display panel and storage medium |
CN115206236A (en) * | 2022-07-29 | 2022-10-18 | 京东方科技集团股份有限公司 | Gamma debugging method, gamma debugging device and display device |
-
2023
- 2023-03-03 CN CN202310196357.0A patent/CN115953982A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5255093A (en) * | 1992-06-19 | 1993-10-19 | Panasonic Technologies, Inc. | Apparatus and a method for limiting gain in a digital gamma corrector |
JPH10301533A (en) * | 1997-04-25 | 1998-11-13 | Mitsubishi Electric Corp | Display device |
CN101123074A (en) * | 2006-08-08 | 2008-02-13 | 奇景光电股份有限公司 | Generation method for gamma mapping table |
CN101075428A (en) * | 2007-06-26 | 2007-11-21 | 四川长虹电器股份有限公司 | Method for correcting multi-segmented Gamma curve |
TWI604729B (en) * | 2017-02-10 | 2017-11-01 | Chipone Technology (Beijing)Co Ltd | Gamma curve correction method and system |
CN106782283A (en) * | 2017-02-27 | 2017-05-31 | 京东方科技集团股份有限公司 | The gamma curve correcting method and display device of a kind of display device |
CN109741706A (en) * | 2018-12-27 | 2019-05-10 | 深圳智芯半导体科技有限公司 | A kind of method that LED shows gamma correction realization and low ash enhancing |
CN110544457A (en) * | 2019-09-09 | 2019-12-06 | 深圳博邦诚光电有限公司 | inverse Gamma dynamic mapping algorithm |
CN112925498A (en) * | 2021-04-12 | 2021-06-08 | 京东方科技集团股份有限公司 | Method and device for adjusting Gamma value in stacked screen, stacked screen and storage medium |
CN113539165A (en) * | 2021-07-30 | 2021-10-22 | 合肥维信诺科技有限公司 | Gamma debugging method, device and equipment for display panel and storage medium |
CN115206236A (en) * | 2022-07-29 | 2022-10-18 | 京东方科技集团股份有限公司 | Gamma debugging method, gamma debugging device and display device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109036249B (en) | Display method of curved surface display panel and curved surface display device | |
RU2607618C2 (en) | Device and method of improving perceptual luminance nonlinearity-based image data exchange across different display capabilities | |
JP5595516B2 (en) | Method and system for backlight control using statistical attributes of image data blocks | |
CN104916259B (en) | Control the method, apparatus and medical display of the brightness of display screen of medical display | |
TWI666921B (en) | Method and device for tone-mapping a high dynamic range image | |
US10019786B2 (en) | Image-processing apparatus and image-processing method | |
CN112599088B (en) | Screen light leakage and ambient light detection method, chip, terminal and storage medium | |
US11398055B2 (en) | Color evaluation device, color evaluation method, and indication object used in color evaluation method | |
CN107068042B (en) | Image processing method | |
WO2021232198A1 (en) | Display screen brightness adjustment method and apparatus | |
CN114241997A (en) | Brightness compensation method of display panel and related device | |
KR20190000811A (en) | Method for tone adapting an image to a target peak luminance lt of a target display device | |
CN108898987B (en) | Gray scale conversion method, gray scale conversion device and display device | |
CN114390157A (en) | Gamma correction method and system | |
US11763777B2 (en) | Image display device, image display system, image display method, and computer program for providing a low-luminance grayscale standard display function (GSDF) display | |
CN115953982A (en) | Gamma correction method and circuit for micro display chip | |
CN111862887A (en) | Correction data control method and device for self-adaptive gray scale and LED display screen | |
WO2023284528A1 (en) | Image enhancement method and apparatus, computer device, and storage medium | |
CN114170960B (en) | Custom Gamma correction method for silicon-based OLED micro-display screen | |
US11710438B2 (en) | Display data processing method of display device for determining gray-scale value using noise reduction function, display device, electronic device, and storage medium | |
US11688361B2 (en) | Quantifying performance of a display device | |
CN116309886A (en) | Display control method, display control device, electronic equipment and storage medium | |
CN114266745A (en) | Image brightness value determination method and device, electronic equipment and storage medium | |
US8217888B2 (en) | Method for processing images in liquid crystal display | |
CN114679626A (en) | Image processing method, storage medium 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20230411 |
|
RJ01 | Rejection of invention patent application after publication |