CN108447456B - A kind of image shows bearing calibration and device - Google Patents

A kind of image shows bearing calibration and device Download PDF

Info

Publication number
CN108447456B
CN108447456B CN201810169062.3A CN201810169062A CN108447456B CN 108447456 B CN108447456 B CN 108447456B CN 201810169062 A CN201810169062 A CN 201810169062A CN 108447456 B CN108447456 B CN 108447456B
Authority
CN
China
Prior art keywords
gamma
value
list
characteristic
brightness
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.)
Active
Application number
CN201810169062.3A
Other languages
Chinese (zh)
Other versions
CN108447456A (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.)
Beijing Dewei Wisdom Technology Co ltd
Original Assignee
Beijing De Wei Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing De Wei Technology Co Ltd filed Critical Beijing De Wei Technology Co Ltd
Priority to CN201810169062.3A priority Critical patent/CN108447456B/en
Publication of CN108447456A publication Critical patent/CN108447456A/en
Application granted granted Critical
Publication of CN108447456B publication Critical patent/CN108447456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • G09G2320/0276Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Picture Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the present invention provides a kind of image and shows bearing calibration and device.The described method includes: obtain the present intensity value of image display terminal to be corrected, the fisrt feature Gamma list measured according to the present intensity value and in advance is calculated, and obtains current second feature Gamma list;Interpolation calculation is carried out using preset rules according to the second feature Gamma list, obtains third feature Gamma list;It is calculated according to pre-set Gamma type and second feature Gamma list and obtains Gamma standard value, it is calculated according to the Gamma standard value and the third feature Gamma list and obtains Gamma look-up table, the image display terminal to be corrected is corrected using the Gamma look-up table.Described device is for executing the method.The embodiment of the present invention improves the calibration accuracy rate that correcting image is shown for the treatment of by carrying out interpolation calculation using preset rules according to second feature Gamma list.

Description

Image display correction method and device
Technical Field
The embodiment of the invention relates to the technical field of image processing, in particular to an image display correction method and device.
Background
Gamma (Gamma) correction is a non-linear operation on the gray value of an input image, and is a common processing method in image processing. Gamma correction improves the visual effect of the gray value of the image, and is more beneficial to distinguishing the image details of all levels of gray values.
In the process of implementing the embodiment of the present invention, the inventor finds that the conventional Gamma correction implementation method includes: 16-point polyline approximation and lookup table. The 16-point broken line approximation method is to select 16 reference points on a curve, wherein the Gamma mapping relation at the reference points is the same as that of an ideal Gamma curve, and the Gamma mapping relations at other parts are approximated by connecting lines between adjacent reference points. The lookup table method is to construct a mapping relationship between 256 levels of RGB values and Gamma values, and then to perform interpolation calculation by a conventional interpolation method, so as to obtain more levels of RGB values and Gamma values, wherein the conventional interpolation method is to add 1 to each RGB value to perform calculation.
The 16-point broken line approximation method adopts 16 selected reference points, the Gamma mapping relation except the reference points is approximated by connecting lines between adjacent reference points, and the approximate value has larger error with the ideal Gamma mapping relation. In the conventional lookup table method, the Gamma value in the lookup table obtained by conventional interpolation is not uniform, so that a large error exists in the correction process.
Therefore, how to improve the accuracy of the display correction is an urgent issue to be solved.
Disclosure of Invention
To solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for correcting image display.
In a first aspect, an embodiment of the present invention provides an image display correction method, including:
acquiring a current brightness value of an image display terminal to be corrected, and calculating according to the current brightness value and a first feature Gamma list measured in advance to acquire a current second feature Gamma list;
performing interpolation calculation by using a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list;
and calculating to obtain a Gamma standard value according to a preset Gamma standard type and the second characteristic Gamma list, calculating to obtain a Gamma lookup table according to the Gamma standard value and the third characteristic Gamma list, and correcting the image display terminal to be corrected by using the Gamma lookup table.
In a second aspect, an embodiment of the present invention provides a video output mode switching apparatus, including:
the calculation module is used for acquiring a current brightness value of the image display terminal to be corrected, calculating according to the current brightness value and a first characteristic Gamma list measured in advance, and acquiring a current second characteristic Gamma list;
the interpolation module is used for carrying out interpolation calculation by utilizing a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list;
and the correction module is used for calculating to obtain a Gamma standard value according to a preset Gamma standard type and the second characteristic Gamma list, calculating to obtain a Gamma lookup table according to the Gamma standard value and the third characteristic Gamma list, and correcting the display of the image terminal to be corrected by using the Gamma lookup table.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor being capable of performing the method steps of the first aspect when invoked by the program instructions.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, including:
the non-transitory computer readable storage medium stores computer instructions that cause the computer to perform the method steps of the first aspect.
According to the image display correction method and device provided by the embodiment of the invention, interpolation calculation is carried out according to the second characteristic Gamma list by using a preset rule to obtain a third characteristic Gamma list, a Gamma lookup table is obtained by calculation according to a calculated Gamma standard value and the third characteristic Gamma list, the image display to be corrected is corrected by using the Gamma lookup table, and the correction accuracy of the image display to be corrected is improved by the third characteristic Gamma list obtained by more reasonable interpolation calculation.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating an image display correction method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an image display correction apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of an image display correction method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 101: acquiring a current brightness value displayed by an image display terminal to be corrected, and calculating according to the current brightness value and a first feature Gamma list measured in advance to acquire a current second feature Gamma list;
specifically, when the image display terminal to be corrected needs to be corrected, the current brightness value of the image display terminal to be corrected is obtained first, measurement can be performed through the color analyzer so as to obtain the current brightness value, and then calculation is performed according to the current brightness value and a first characteristic Gamma list measured in advance so as to obtain the current Gamma list. It should be noted that the second characteristic Gamma list includes a number (No), a red channel (R) value, a green channel (G) value, a blue channel (B) value, and a first characteristic Gamma value (Lum), and table 1 is the second characteristic Gamma list provided in the embodiment of the present invention, as shown in table 1, it is understood that the data in table 1 is only a part, and may be a value in an initial state of displaying an image to be corrected.
TABLE 1
No. R G B Lum
1 0 0 0 0.312
2 1 1 1 0.315
3 2 2 2 0.322
4 3 3 3 0.327
5 4 4 4 0.335
6 5 5 5 0.353
7 6 6 6 0.377
8 7 7 7 0.407
9 8 8 8 0.436
10 9 9 9 0.491
…… …… …… …… ……
256 255 255 255 345.231
It can be understood that the Lum corresponding to the reference number 256 in table 1 is the current luminance value, and in the operation process of the image display terminal to be corrected, the luminance value changes with the increase of the operation time duration, so that the luminance change coefficient can be obtained according to the comparison between the current luminance value and the initial luminance value, and then the Lum in table 1 is calculated by the initial luminance value and luminance change system according to the luminance change coefficient.
Step 102: performing interpolation calculation by using a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list;
specifically, after the second characteristic Gamma list is obtained, interpolation calculation is performed according to a preset rule, and after the interpolation, a third characteristic Gamma list with richer data can be obtained, and the increase of the value of the Lum in the third characteristic Gamma list is more gradual, which is beneficial to obtaining a more accurate calculation Gamma lookup table.
Step 103: and calculating to obtain a Gamma standard value according to a preset Gamma standard type and the second characteristic Gamma list, calculating to obtain a Gamma lookup table according to the Gamma standard value and the third characteristic Gamma list, and correcting the image display terminal to be corrected by using the Gamma lookup table.
Specifically, a user may set a Gamma standard type in advance on the image display terminal to be corrected according to actual requirements, for example, a DICOM standard for medical image display, obtain the preset Gamma standard type, and calculate and obtain a Gamma standard value by using the second characteristic Gamma list. Table 2 is a third characteristic Gamma list provided in the embodiment of the present invention, as shown in table 2:
table 2 shows partial data, and similarly, the number (No), the R value, the G value, the B value, and the Lum are included in the third characteristic Gamma list, which total 766 pieces of Gamma mapping information. The Gamma standard value is also 256 values, and if the calculated partial Gamma standard values are 0.312, 0.317, 0.32, 0.33, 0.335, 0.353, 0.369, … and 345.231, the Gamma standard values are respectively corresponding to the numbers 1,5,6,11,13,16,18, … and 766, so that a Gamma lookup table can be calculated from the R value, the G value and the B value corresponding to the numbers, and the correction of the image display terminal to be corrected can be realized through the Gamma lookup table.
According to the embodiment of the invention, interpolation calculation is carried out by utilizing a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list, a Gamma lookup table is obtained by calculation according to the calculated Gamma standard value and the third characteristic Gamma list, the Gamma lookup table is utilized to correct the image display terminal to be corrected, and the correction accuracy of the image display to be corrected is improved by the third characteristic Gamma list obtained by more reasonable interpolation calculation.
On the basis of the above embodiment, the second feature Gamma list includes n pieces of Gamma mapping information, each piece of Gamma mapping information includes a red channel value R ═ i, a green channel value G ═ i, a blue channel value B ═ i, and a feature Gamma value, where i is greater than or equal to 0 and less than or equal to n-1, and i and n are integers; accordingly, the method can be used for solving the problems that,
performing interpolation calculation according to the second characteristic Gamma list by using a preset rule to obtain a third characteristic Gamma list, wherein the method comprises the following steps:
inserting first Gamma mapping information and second Gamma mapping information between two adjacent Gamma mapping information respectively;
the first Gamma mapping information includes: red channel value R ═ i +1, green channel value G ═ i, blue channel value B ═ i +1, and corresponding characteristic Gamma values;
the second Gamma mapping information includes: the red channel value R ═ i, the green channel value G ═ i +1, the blue channel value B ═ i, and the corresponding characteristic Gamma values.
Specifically, as can be seen from table 1, the second characteristic Gamma list includes 256 pieces of Gamma mapping information, each piece of Gamma mapping information includes an R value, a G value, a B value, and a first characteristic Gamma value, and the R value is a G value or a B value and is a continuous integer starting from 0 to 255. The R, G and B values may be considered as one combination, with different combinations corresponding to different first characteristic Gamma values. In the process of interpolation, first Gamma mapping information and second Gamma mapping information are inserted between two adjacent pieces of Gamma mapping information, and therefore the first Gamma mapping information includes: the red channel value R ═ i +1, the green channel value G ═ i, the blue channel value B ═ i +1, and a corresponding second characteristic Gamma value, and the second Gamma mapping information includes: a red channel value R ═ i, a green channel value G ═ i +1, a blue channel value B ═ i, and a corresponding third characteristic Gamma value. For example: first Gamma mapping information and second Gamma mapping information are inserted between number 1 and number 2 in table 1, where i is 0, then the R value in the first Gamma mapping information is i +1 ═ 1, G value is i ═ 0, and B value is i +1 ═ 1, and different RGB combinations identify different luminance values. The R value in the second Gamma mapping information is i ═ 0, the G value is i +1 ═ 1, and the B value is i ═ 0, and therefore, the third characteristic Gamma value can be obtained by interpolation calculation from the R value, the G value, and the B value.
According to the embodiment of the invention, the first Gamma mapping information and the second Gamma mapping information are inserted into two adjacent Gamma mapping information, the RGB values of the first Gamma mapping information are i +1, i and i +1 respectively, and the RGB values of the second Gamma mapping information are i, i +1 and i respectively, so that the characteristic Gamma value with more stable change can be obtained by interpolation according to the rule, and further, a more accurate Gamma lookup table is obtained according to the Gamma value for correction, and the correction accuracy is improved.
On the basis of the above embodiment, the method further includes:
and acquiring an original brightness value and an operation time length corresponding to the current brightness level of the image display terminal to be corrected, and calculating the current brightness value according to the original brightness value and the operation time length by using a brightness value attenuation characteristic.
Specifically, the brightness value of the image display terminal to be corrected is changed along with the operation time length, so that the current brightness value is not necessarily equal to the original brightness value, the original brightness value and the operation time length corresponding to the current brightness level are obtained, and the current brightness value is calculated and obtained by combining the brightness value attenuation characteristic corresponding to the current brightness level. It is understood that different brightness levels correspond to different brightness value attenuation characteristics, and the brightness value attenuation characteristics can be obtained from a display screen manufacturer in advance or according to the display screen characteristics.
According to the embodiment of the invention, interpolation calculation is carried out by utilizing a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list, a Gamma lookup table is obtained by calculation according to the calculated Gamma standard value and the third characteristic Gamma list, the Gamma lookup table is utilized to correct the image display terminal to be corrected, and the correction accuracy of the image display to be corrected is improved by the third characteristic Gamma list obtained by more reasonable interpolation calculation.
On the basis of the above embodiment, the calculating according to the current luminance value and the pre-measured first feature Gamma list to obtain a current second feature Gamma list includes:
and obtaining a corresponding original brightness value according to the first characteristic Gamma list, calculating to obtain a brightness coefficient according to the current brightness value and the original brightness value, and converting the initial characteristic Gamma value in the first characteristic Gamma list according to the brightness coefficient to obtain a current second characteristic Gamma list.
Specifically, table 3 is the first characteristic Gamma list provided in the embodiment of the present invention, as shown in table 3, where Lum corresponding to reference number 256 is 34.5231 as an initial brightness value, a brightness coefficient is obtained by calculation according to the current brightness value and the original brightness value, and assuming that the current brightness value is 345.231, the brightness coefficient is 10, at this time, the Lum in the first characteristic Gamma list is converted by using the brightness coefficient, that is, each Lum value is multiplied by 10, and finally, the second characteristic Gamma list is obtained, as shown in table 2.
TABLE 3
According to the embodiment of the invention, interpolation calculation is carried out by utilizing a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list, a Gamma lookup table is obtained by calculation according to the calculated Gamma standard value and the third characteristic Gamma list, the Gamma lookup table is utilized to correct the image display terminal to be corrected, and the correction accuracy of the image display to be corrected is improved by the third characteristic Gamma list obtained by more reasonable interpolation calculation.
On the basis of the above embodiment, the method further includes:
and periodically detecting a first brightness level and a corresponding first brightness value of the image display terminal to be corrected, and if the difference value between the first brightness value and an original brightness value corresponding to the first brightness level is judged to be greater than a preset threshold value, performing image display correction.
Specifically, in order to improve the accuracy of image display, a first brightness level of the image display terminal to be corrected needs to be periodically detected, where the first brightness level is a brightness level of a current period of the image display terminal to be corrected, a first brightness value corresponding to the current period is calculated through the current brightness level and a brightness attenuation characteristic, the first brightness value is compared with an original brightness value at the first brightness level, and if a difference between the first brightness value and the original brightness value is greater than a preset threshold, the first brightness value needs to be corrected, and at this time, the correction is started. It should be noted that the correction may also be performed after each restart of the image display terminal to be corrected.
According to the embodiment of the invention, whether the correction is needed or not is judged by periodically comparing the first brightness value with the original brightness value corresponding to the first brightness level, on one hand, manual intervention is not needed, and on the other hand, the accuracy of image display is ensured.
On the basis of the above embodiments, the method further includes:
storing a grade brightness value file, a median characteristic Gamma value file and a brightness attenuation characteristic file into the image display terminal to be corrected in advance; wherein,
the level brightness value file comprises initial brightness values corresponding to all brightness levels;
the median characteristic Gamma value file comprises a median characteristic Gamma value corresponding to the brightness level of 50 percent;
the brightness attenuation characteristic file comprises brightness attenuation characteristics obtained from a display screen manufacturer of the image display terminal to be corrected or according to display screen characteristics.
Specifically, a grade brightness value file, a median characteristic Gamma value file and a brightness attenuation characteristic file are stored in the image display terminal to be corrected in advance. The initial brightness levels of the image display terminal to be corrected are adjusted to be 0%, 1% and 2%. 100% in sequence, an initial brightness value corresponding to each initial brightness level is measured, or a part of initial brightness values are measured, then the initial brightness values of other initial levels are calculated through interpolation, the initial brightness values are recorded as a level brightness value file, and the file is written into the image display terminal to be corrected. And adjusting the brightness level of the image display terminal to be corrected to 50%, measuring the median characteristic Gamma value of the tablet personal computer, recording the median characteristic Gamma value as a median characteristic Gamma value file, and writing the file into the image display terminal to be corrected. And obtaining the brightness attenuation characteristics of the display screen from a display screen manufacturer or according to the characteristics of the display screen, recording the brightness attenuation characteristics as a brightness attenuation characteristic file, and writing the file into the image display terminal to be corrected.
According to the embodiment of the invention, interpolation calculation is carried out by utilizing a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list, a Gamma lookup table is obtained by calculation according to the calculated Gamma standard value and the third characteristic Gamma list, the image display terminal to be corrected is corrected by utilizing the Gamma lookup table, and the correction accuracy of the image display terminal to be corrected is improved by the third characteristic Gamma list obtained by more reasonable interpolation calculation.
Fig. 2 is a schematic structural diagram of an image display correction apparatus according to an embodiment of the present invention, as shown in fig. 2, the apparatus includes: a calculation module 201, an interpolation module 202, and a correction module 203, wherein,
the calculation module 201 is configured to obtain a current brightness value of the image display terminal to be corrected, perform calculation according to the current brightness value and a pre-measured first feature Gamma list, and obtain a current second feature Gamma list; the interpolation module 202 is configured to perform interpolation calculation according to the second characteristic Gamma list by using a preset rule to obtain a third characteristic Gamma list; the correction module 203 is configured to calculate to obtain a Gamma standard value according to a preset Gamma standard type and the second characteristic Gamma list, calculate to obtain a Gamma lookup table according to the Gamma standard value and the third characteristic Gamma list, and correct the display of the image to be corrected by using the Gamma lookup table.
Specifically, when the image display terminal to be corrected needs to be corrected, the current brightness value of the image display terminal to be corrected is obtained first, the current brightness value can be obtained by measuring through the color analyzer, and the calculation module 201 performs calculation according to the current brightness value and the first characteristic Gamma list measured in advance to obtain the current Gamma list. After the second characteristic Gamma list is obtained, the interpolation module 202 performs interpolation calculation according to a preset rule, and after interpolation, a third characteristic Gamma list with richer data can be obtained, and the increase of the value of Lum in the third characteristic Gamma list is more gradual, which is beneficial to obtaining a more accurate Gamma lookup table. The user may set a Gamma standard type, for example, a DICOM standard for medical image display, in advance on the image display terminal to be corrected according to actual requirements, the correction module 203 obtains the preset Gamma standard type, and obtains a Gamma standard value by using the second characteristic Gamma list, it should be noted that the method for obtaining the Gamma standard value by using the current luminance value calculation is consistent with the calculation method in the prior art, the embodiment of the present invention is not specifically limited to this, corresponding data is obtained from the third characteristic Gamma list according to the calculated Gamma standard value, a Gamma lookup table is calculated, and the image display terminal to be corrected can be corrected by using the Gamma lookup table.
The embodiment of the apparatus provided in the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the apparatus are not described herein again, and refer to the detailed description of the above method embodiments.
According to the embodiment of the invention, interpolation calculation is carried out by utilizing a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list, a Gamma lookup table is obtained by calculation according to the calculated Gamma standard value and the third characteristic Gamma list, the image display to be corrected is corrected by utilizing the Gamma lookup table, and the correction accuracy of the image display terminal to be corrected is improved by the third characteristic Gamma list obtained by more reasonable interpolation calculation.
On the basis of the above embodiment, the second feature Gamma list includes n pieces of Gamma mapping information, each piece of Gamma mapping information includes a red channel value R ═ i, a green channel value G ═ i, a blue channel value B ═ i, and a first feature Gamma value, where i is greater than or equal to 0 and less than or equal to n-1, and i and n are integers; accordingly, the method can be used for solving the problems that,
the interpolation module is specifically configured to:
inserting first Gamma mapping information and second Gamma mapping information between two adjacent Gamma mapping information respectively;
the first Gamma mapping information includes: a red channel value R ═ i +1, a green channel value G ═ i, a blue channel value B ═ i +1, and a corresponding second characteristic Gamma value;
the second Gamma mapping information includes: a red channel value R ═ i, a green channel value G ═ i +1, a blue channel value B ═ i, and a corresponding third characteristic Gamma value.
The embodiment of the apparatus provided in the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the apparatus are not described herein again, and refer to the detailed description of the above method embodiments.
In addition, an embodiment of the present invention provides a tablet computer, where the tablet computer includes an embedded processor such as an ARM, an X86, an embedded operating system such as an Android, a Windows, an iOS, a graphics display chip supporting a Gamma lookup table, a brightness adjustment function, and an image display correction device, where the image display correction device is configured to execute the above correction method, so that the tablet computer has a function of automatically correcting image display.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the electronic device includes: a processor (processor)301, a memory (memory)302, and a bus 303; wherein,
the processor 301 and the memory 302 complete communication with each other through the bus 303;
the processor 301 is configured to call program instructions in the memory 302 to perform the methods provided by the above-mentioned method embodiments, including: acquiring a current brightness value of an image display terminal to be corrected, and calculating according to the current brightness value and a first feature Gamma list measured in advance to acquire a current second feature Gamma list; performing interpolation calculation by using a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list; and calculating to obtain a Gamma standard value according to a preset Gamma standard type and the second characteristic Gamma list, calculating to obtain a Gamma lookup table according to the Gamma standard value and the third characteristic Gamma list, and correcting the image display terminal to be corrected by using the Gamma lookup table.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: acquiring a current brightness value of an image display terminal to be corrected, and calculating according to the current brightness value and a first feature Gamma list measured in advance to acquire a current second feature Gamma list; performing interpolation calculation by using a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list; and calculating to obtain a Gamma standard value according to a preset Gamma standard type and the second characteristic Gamma list, calculating to obtain a Gamma lookup table according to the Gamma standard value and the third characteristic Gamma list, and correcting the image display terminal to be corrected by using the Gamma lookup table.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: acquiring a current brightness value of an image display terminal to be corrected, and calculating according to the current brightness value and a first feature Gamma list measured in advance to acquire a current second feature Gamma list; performing interpolation calculation by using a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list; and calculating to obtain a Gamma standard value according to a preset Gamma standard type and the second characteristic Gamma list, calculating to obtain a Gamma lookup table according to the Gamma standard value and the third characteristic Gamma list, and correcting the image display terminal to be corrected by using the Gamma lookup table.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the apparatuses and the like are merely illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An image display correction method, comprising:
acquiring a current brightness value of an image display terminal to be corrected, and calculating according to the current brightness value and a first feature Gamma list measured in advance to acquire a current second feature Gamma list;
performing interpolation calculation by using a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list;
calculating to obtain a Gamma standard value according to a preset Gamma standard type and the second characteristic Gamma list, calculating to obtain a Gamma lookup table according to the Gamma standard value and the third characteristic Gamma list, and correcting the image display terminal to be corrected by using the Gamma lookup table;
wherein, the calculating according to the current brightness value and the pre-measured first characteristic Gamma list to obtain the current second characteristic Gamma list includes:
and obtaining a corresponding original brightness value according to the first characteristic Gamma list, calculating to obtain a brightness coefficient according to the current brightness value and the original brightness value, and converting the initial characteristic Gamma value in the first characteristic Gamma list according to the brightness coefficient to obtain a current second characteristic Gamma list.
2. The method according to claim 1, wherein the second characteristic Gamma list includes n pieces of Gamma mapping information, each piece of the Gamma mapping information including a red channel value R ═ i, a green channel value G ═ i, a blue channel value B ═ i, and a first characteristic Gamma value, wherein 0 ≦ i ≦ n-1, and i and n are both integers; accordingly, the method can be used for solving the problems that,
performing interpolation calculation according to the second characteristic Gamma list by using a preset rule to obtain a third characteristic Gamma list, wherein the method comprises the following steps:
inserting first Gamma mapping information and second Gamma mapping information between the ith and the (i + 1) th Gamma mapping information respectively;
the first Gamma mapping information includes: a red channel value R ═ i +1, a green channel value G ═ i, a blue channel value B ═ i +1, and a corresponding second characteristic Gamma value;
the second Gamma mapping information includes: a red channel value R ═ i, a green channel value G ═ i +1, a blue channel value B ═ i, and a corresponding third characteristic Gamma value.
3. The method of claim 1, further comprising:
and acquiring an original brightness value and an operation time length corresponding to the current brightness level of the image display terminal to be corrected, and calculating the current brightness value according to the original brightness value and the operation time length by using a brightness value attenuation characteristic.
4. The method of claim 1, wherein the calculating according to the current luminance value and a pre-measured first feature Gamma list to obtain a current second feature Gamma list comprises:
and obtaining a corresponding original brightness value according to the first characteristic Gamma list, calculating to obtain a brightness coefficient according to the current brightness value and the original brightness value, and converting the initial characteristic Gamma value in the first characteristic Gamma list according to the brightness coefficient to obtain a current second characteristic Gamma list.
5. The method of claim 1, further comprising:
and periodically detecting a first brightness level and a corresponding first brightness value of the image display terminal to be corrected, and if the difference value between the first brightness value and an original brightness value corresponding to the first brightness level is judged to be greater than a preset threshold value, performing image display correction.
6. The method according to any one of claims 1-5, further comprising:
storing a grade brightness value file, a median characteristic Gamma value file and a brightness attenuation characteristic file into the image display terminal to be corrected in advance; wherein,
the level brightness value file comprises initial brightness values corresponding to all brightness levels;
the median characteristic Gamma value file comprises a median characteristic Gamma value corresponding to the brightness level of 50 percent;
the brightness attenuation characteristic file comprises brightness attenuation characteristics obtained from a display screen manufacturer of the image display terminal to be corrected or according to display screen characteristics.
7. An image display correction apparatus, comprising:
the calculation module is used for acquiring a current brightness value of the image display terminal to be corrected, calculating according to the current brightness value and a first characteristic Gamma list measured in advance, and acquiring a current second characteristic Gamma list;
the interpolation module is used for carrying out interpolation calculation by utilizing a preset rule according to the second characteristic Gamma list to obtain a third characteristic Gamma list;
the correction module is used for calculating to obtain a Gamma standard value according to a preset Gamma standard type and the second characteristic Gamma list, calculating to obtain a Gamma lookup table according to the Gamma standard value and the third characteristic Gamma list, and correcting the image display terminal to be corrected by using the Gamma lookup table;
wherein, the calculating according to the current brightness value and the pre-measured first characteristic Gamma list to obtain the current second characteristic Gamma list includes:
and obtaining a corresponding original brightness value according to the first characteristic Gamma list, calculating to obtain a brightness coefficient according to the current brightness value and the original brightness value, and converting the initial characteristic Gamma value in the first characteristic Gamma list according to the brightness coefficient to obtain a current second characteristic Gamma list.
8. The apparatus according to claim 7, wherein the second characteristic Gamma list includes n pieces of Gamma mapping information, each piece of Gamma mapping information including a red channel value R ═ i, a green channel value G ═ i, a blue channel value B ═ i, and a first characteristic Gamma value, where 0 ≦ i ≦ n-1, and i and n are both integers; accordingly, the method can be used for solving the problems that,
the interpolation module is specifically configured to:
inserting first Gamma mapping information and second Gamma mapping information between two adjacent Gamma mapping information respectively;
the first Gamma mapping information includes: a red channel value R ═ i +1, a green channel value G ═ i, a blue channel value B ═ i +1, and a corresponding second characteristic Gamma value;
the first Gamma mapping information includes: a red channel value R ═ i, a green channel value G ═ i +1, a blue channel value B ═ i, and a corresponding third characteristic Gamma value.
9. An electronic device, comprising: a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1-6.
10. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1-6.
CN201810169062.3A 2018-02-28 2018-02-28 A kind of image shows bearing calibration and device Active CN108447456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810169062.3A CN108447456B (en) 2018-02-28 2018-02-28 A kind of image shows bearing calibration and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810169062.3A CN108447456B (en) 2018-02-28 2018-02-28 A kind of image shows bearing calibration and device

Publications (2)

Publication Number Publication Date
CN108447456A CN108447456A (en) 2018-08-24
CN108447456B true CN108447456B (en) 2019-11-05

Family

ID=63193150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810169062.3A Active CN108447456B (en) 2018-02-28 2018-02-28 A kind of image shows bearing calibration and device

Country Status (1)

Country Link
CN (1) CN108447456B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109147707A (en) * 2018-09-30 2019-01-04 重庆惠科金渝光电科技有限公司 Gamma value adjusting method and device of display panel and display equipment
CN109636873B (en) * 2018-12-12 2023-07-18 上海联影医疗科技股份有限公司 Data processing method for medical image reconstruction and medical image reconstruction method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63225872A (en) * 1987-03-13 1988-09-20 Fujitsu Ltd Picture data display system
JP2006115389A (en) * 2004-10-18 2006-04-27 Eastman Kodak Co Digital video signal data processing apparatus
CN101727868B (en) * 2008-10-10 2011-12-21 华映视讯(吴江)有限公司 Dynamic gamma adjusting method and device thereof
CN101546509B (en) * 2009-04-23 2011-08-10 北京德为视讯科技股份有限公司 Method for generating target Gamma curve of display
CN102024439A (en) * 2010-12-31 2011-04-20 德为显示科技股份有限公司 Method for eliminating image residues of liquid crystal display
JP5843751B2 (en) * 2012-12-27 2016-01-13 株式会社ソニー・コンピュータエンタテインメント Information processing apparatus, information processing system, and information processing method
CN103197444B (en) * 2013-03-22 2015-09-30 深圳市华星光电技术有限公司 The measuring method of a kind of liquid crystal display response time and system

Also Published As

Publication number Publication date
CN108447456A (en) 2018-08-24

Similar Documents

Publication Publication Date Title
CN109599054B (en) Method and device for controlling brightness of display panel
CN108761777B (en) Method and equipment for determining distortion quantity and distortion correction of optical device
CN107408367B (en) Method, device and system for correcting unevenness of display screen
CN109036333B (en) Display parameter correction method and device of display, terminal equipment and storage medium
WO2020093495A1 (en) Method and device for adjusting gamma value of display panel
US20100225663A1 (en) Method for creating gamma look-up table and display device
CN109272945B (en) Backlight correction method and device for display screen and computer readable storage medium
CN108447456B (en) A kind of image shows bearing calibration and device
CN114333724A (en) Display brightness and color correction method and device, electronic equipment and storage medium
CN114283760A (en) Color temperature curve correction method, system, equipment and medium
CN114360466A (en) Display correction method and device for display, electronic equipment and storage medium
CN113380170B (en) Display compensation method and device of display panel, display device and medium
US11488554B2 (en) Systems and methods for generating an overdrive look-up table (LUT) for response time compensation of a display device
CN109448644A (en) Method for correcting gray scale display curve of display device, electronic device and computer readable storage medium
JP2023519275A (en) Display effect enhancement method, device, facility
JP6180135B2 (en) Image display apparatus and control method thereof
CN115170681B (en) Gamma lookup table generation method and device, electronic equipment and storage medium
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
CN110113590B (en) Image color space conversion method and device
CN111862894A (en) Backlight brightness adjusting method, device, terminal and readable storage medium
CN108600724B (en) Method and equipment for adjusting gamma curve
CN108628715B (en) Display effect correction method and device of display equipment
CN109996017B (en) Image adjusting method and terminal thereof
CN112951139A (en) Gray scale adjusting method and device
CN113194267B (en) Image processing method and device and photographing method and 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180829

Address after: 100176 No. 6 building, 12 Chuang thirteen street, Beijing economic and Technological Development Zone, Beijing

Applicant after: BEIJING DEWEI WISDOM TECHNOLOGY CO.,LTD.

Address before: 100176 No. 6 building, 12 Chuang thirteen street, Daxing District economic and Technological Development Zone, Beijing

Applicant before: BEIJING DEWEI WISDOM TECHNOLOGY CO.,LTD.

Applicant before: D-VIEW DISPLAY TECHNOLOGY CO.,LTD.

Applicant before: BEIJING D-PEAK INNOVATION TECHNOLOGY CO.,LTD.

GR01 Patent grant
GR01 Patent grant