CN112304421A - Processing method of gray scale intensity data, storage medium and terminal equipment - Google Patents
Processing method of gray scale intensity data, storage medium and terminal equipment Download PDFInfo
- Publication number
- CN112304421A CN112304421A CN201910684702.9A CN201910684702A CN112304421A CN 112304421 A CN112304421 A CN 112304421A CN 201910684702 A CN201910684702 A CN 201910684702A CN 112304421 A CN112304421 A CN 112304421A
- Authority
- CN
- China
- Prior art keywords
- gray scale
- data
- scale intensity
- intensity data
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 41
- 241001270131 Agaricus moelleri Species 0.000 claims abstract description 11
- 238000012545 processing Methods 0.000 claims description 16
- 238000004891 communication Methods 0.000 claims description 10
- 238000006243 chemical reaction Methods 0.000 abstract description 16
- 238000004519 manufacturing process Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 4
- 238000005259 measurement Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000265 homogenisation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J1/00—Photometry, e.g. photographic exposure meter
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/36—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a processing method of gray scale intensity data, a storage medium and a terminal device, wherein the method comprises the following steps: selecting a plurality of gray scales, and measuring the brightness data of the display panel under each gray scale; photographing the display panel under each gray scale according to the exposure time sequence corresponding to each gray scale, and acquiring gray scale intensity data under each gray scale at each exposure time according to the photographed picture; determining the corresponding relation between the gray scale intensity data and the brightness data according to all the acquired gray scale intensity data and the brightness data; and converting the gray scale intensity data into brightness data according to the corresponding relation between the gray scale intensity data and the brightness data. The selected gray scale is photographed under different exposure times; and determining the relation between the gray scale intensity and the brightness according to the gray scale intensity data acquired by shooting the picture and the measured brightness data, thereby improving the conversion efficiency of the gray scale intensity data and the brightness data.
Description
Technical Field
The invention relates to the technical field of display panel detection, in particular to a processing method of gray scale intensity data, a storage medium and terminal equipment.
Background
With the adoption of electronic products including display panels, such as mobile phones, televisions, digital cameras and computers, the electronic products are widely applied to daily life and production. People have higher requirements on the definition and the image quality experience of the display panel, so that the production technology of the display panel needs to be continuously improved in the production process, and the production process needs to be optimized. The panel brightness measurement and homogenization treatment are important processes in the panel production process, and the display effect of the panel can be well improved through the brightness data measurement and the Demura treatment of the display panel.
The method can realize the acquisition of the brightness of the whole display panel, but the shooting time is relatively long, and the price of the camera is ten times or more than that of a common industrial camera, which is unfavorable for the production efficiency and the production cost of a production line.
In order to solve the above problems, attention has been focused on a general industrial camera capable of rapidly photographing a display panel, but the general industrial camera cannot convert panel gray-scale intensity data into luminance data of the display panel after acquiring the panel gray-scale intensity data of the panel, thereby limiting the use of the industrial camera.
Disclosure of Invention
In view of the shortcomings of the prior art, the present invention aims to provide a processing method of gray scale intensity data, a storage medium and a terminal device.
The technical scheme adopted by the invention is as follows:
a method of processing gray scale intensity data, the method comprising:
selecting a plurality of gray scales, and measuring the brightness data of the display panel under each gray scale;
photographing the display panel under each gray scale according to the exposure time sequence corresponding to each gray scale, and acquiring gray scale intensity data of a photo obtained by photographing;
determining the corresponding relation between the gray scale intensity data and the brightness data according to all the acquired gray scale intensity data and the brightness data;
and converting the gray scale intensity data into brightness data according to the corresponding relation between the gray scale intensity data and the brightness data.
The processing method of gray scale intensity data, wherein the photographing of the display panel under each gray scale according to the exposure time sequence corresponding to each gray scale and the obtaining of the gray scale intensity data of the photographed photo specifically include:
for each gray scale, acquiring an exposure time sequence corresponding to the gray scale, and photographing a display panel under the gray scale through an industrial camera according to the exposure time sequence;
and acquiring gray scale intensity data of the shot picture.
The processing method of the gray scale intensity data, wherein the determining the corresponding relationship between the gray scale intensity data and the luminance data according to the acquired all the gray scale intensity data and the luminance data specifically comprises:
for each gray scale, determining a linear corresponding relation between exposure time and gray scale intensity data according to gray scale intensity data corresponding to the gray scale and an exposure time sequence;
extracting the slope of the linear corresponding relation between the exposure time of each gray scale and the gray scale intensity data, and determining the corresponding relation between the extracted slope and the brightness data;
and calculating the corresponding relation between the gray scale intensity data and the brightness data according to the linear corresponding relation between the exposure time and the gray scale intensity data and the corresponding relation between the slope and the brightness data.
The processing method of the gray scale intensity data, wherein the determining the corresponding relationship between the gray scale intensity data and the luminance data according to the acquired all the gray scale intensity data and the luminance data specifically comprises:
for each exposure time, determining a linear corresponding relation between the brightness data and the gray scale intensity data according to the corresponding gray scale intensity data and the corresponding brightness data;
extracting the slope of the linear corresponding relation between the brightness data corresponding to each exposure time and the gray scale intensity data, and determining the corresponding relation between the slope and the brightness data;
and calculating the corresponding relation between the gray scale intensity data and the brightness data according to the corresponding relation between the brightness data and the gray scale intensity data and the corresponding relation between the slope and the brightness data.
The method for processing gray scale intensity data comprises the following steps of calculating the corresponding relation between gray scale intensity data and brightness data according to the corresponding relation between the exposure time and the gray scale intensity data and the corresponding relation between the slope and the brightness data of the gray scale intensity data:
for each gray scale, calculating estimated brightness data of each gray scale according to the corresponding relation between the gray scale intensity data and the brightness data;
calculating error rates of the estimated brightness data and the brightness data, and determining a corresponding relation between the error rates and the brightness data according to the error rates and the brightness data;
and correcting the corresponding relation between the gray scale intensity data and the brightness data by adopting the corresponding relation between the error rate and the brightness data.
The processing method of the gray scale intensity data is characterized in that the corresponding relation between the slope and the brightness data is linear.
A method for extracting luminance data, which applies any one of the above processing methods for gray scale intensity data, the method comprising:
acquiring an image of a display panel, and acquiring gray scale intensity data of the display panel according to the image;
and converting the gray scale intensity data into brightness data according to the corresponding relation between the gray scale intensity data and the brightness data so as to obtain the brightness data of the display panel.
The method for extracting the brightness data comprises the following steps of obtaining an image of a display panel, and obtaining gray scale intensity data of the display panel according to the image:
shooting the image of the display panel through an industrial camera, and acquiring gray scale intensity data of the display panel according to the image.
A computer readable storage medium storing one or more programs which are executable by one or more processors to implement the steps in a method of processing gray scale intensity data as described in any one of the above.
A terminal device, comprising: a processor, a memory, and a communication bus; the memory has stored thereon a computer readable program executable by the processor;
the communication bus realizes connection communication between the processor and the memory;
the processor, when executing the computer readable program, implements the steps in the method of processing gray scale intensity data as described in any one of the above.
Has the advantages that: compared with the prior art, the invention provides a processing method of gray scale intensity data, a storage medium and a terminal device, wherein the method comprises the following steps: selecting a plurality of gray scales, and measuring the brightness data of the display panel under each gray scale; photographing the display panel under each gray scale according to the exposure time sequence corresponding to each gray scale, and acquiring gray scale intensity data under each gray scale at each exposure time according to the photographed picture; determining the corresponding relation between the gray scale intensity data and the brightness data according to all the acquired gray scale intensity data and the brightness data; and converting the gray scale intensity data into brightness data according to the corresponding relation between the gray scale intensity data and the brightness data. The selected gray scale is photographed under different exposure times; and determining the relation between the gray scale intensity and the brightness according to the gray scale intensity data acquired by shooting the picture and the measured brightness data, thereby improving the conversion efficiency of the gray scale intensity data and the brightness data.
Drawings
FIG. 1 is a flow chart of a method for processing gray scale intensity data according to the present invention.
FIG. 2 is a flowchart illustrating an embodiment of step S30 of the gray scale intensity data processing method according to the present invention.
FIG. 3 is a fitting curve of gray scale intensity data and exposure time in step S30 of the gray scale intensity data processing method according to an embodiment of the present invention.
FIG. 4 is a curve fitting the slope and the luminance data in step S30 of the gray scale intensity data processing method according to an embodiment of the present invention.
Fig. 5 is a fitting curve of the error rate and the calculated luminance data in step S30 of the gray scale intensity data processing method according to an embodiment of the present invention.
FIG. 6 is a flowchart illustrating another embodiment of step S30 of the gray scale intensity data processing method according to the present invention.
FIG. 7 is a fitting curve of the gray scale intensity data and the luminance data in another embodiment of step S30 of the method for processing gray scale intensity data according to the present invention.
FIG. 8 is a curve fitting the slope and the exposure time in another embodiment of step S30 of the gray scale intensity data processing method according to the present invention.
Fig. 9 is a fitting curve of the error rate and the calculated luminance data in another embodiment of step S30 of the gray scale intensity data processing method according to the present invention.
Fig. 10 is a flowchart of a luminance data extracting method according to the present invention.
Fig. 11 is a schematic structural diagram of a terminal device according to the present invention.
Detailed Description
The invention provides a processing method of gray scale intensity data, a storage medium and a terminal device, and in order to make the purpose, technical scheme and effect of the invention clearer and clearer, the invention is further described in detail below by referring to the attached drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" 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. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The invention will be further explained by the description of the embodiments with reference to the drawings.
Example one
The present embodiment provides a method for processing gray scale intensity data, as shown in fig. 1, the method includes:
s10, selecting a plurality of gray scales, and measuring the brightness data of the display panel under each gray scale.
Specifically, the plurality of gray scales may be randomly selected, and the randomly selected plurality of gray scales are set as gray scales, so as to calculate a corresponding relationship between gray scale intensity data and luminance data according to the gray scales. In addition, the measurement of the luminance data of the display panel at each gray level is also performed by measuring the luminance of the display panel at each gray level using CA310 to obtain the measured luminance data. In this embodiment, the gray levels may be 6 gray levels, and the 6 gray levels may be 46/86/126/166/206/246 respectively, that is, 46/86/126/166/206/246 of the 6 gray levels are used as data acquisition gray levels, and CA310 is used to measure the brightness of the display panel at 46/86/126/166/206/246 gray levels.
S20, photographing the display panel under each gray scale according to the exposure time sequence corresponding to each gray scale, and acquiring gray scale intensity data under each gray scale at each exposure time according to the photographed picture.
Specifically, the exposure time sequence corresponding to each gray scale is preset, the exposure time sequence corresponding to each gray scale comprises a plurality of exposure times, and the exposure times are sequenced according to exposure duration. For example, the exposure time sequence is {416.65ms, 99.996ms, 49.998ms, 33.332ms, 16.666ms }, that is, the predicted exposure time sequence includes exposure times of 416.65ms, 99.996ms, 49.998ms, 33.332ms, and 16.666ms, respectively. The step of photographing the display panel under each gray scale according to the exposure time sequence corresponding to each gray scale refers to photographing the display panel under each gray scale respectively at each exposure time contained in the preset exposure time sequence so as to obtain a picture under each exposure time. Taking 6 gray levels and 5 exposure times corresponding to each gray level as an example, each gray level corresponds to one photo at each exposure time, that is, each gray level corresponds to 5 photos, and then 30 photos can be obtained from 6 gray levels.
Exemplarily, the photographing the display panel under each gray scale according to the exposure time sequence corresponding to each gray scale, and acquiring gray scale intensity data under each exposure time under each gray scale according to the photographed picture specifically includes:
for each gray scale, acquiring an exposure time sequence corresponding to the gray scale, and photographing a display panel under the gray scale through an industrial camera according to the exposure time sequence;
and acquiring gray scale intensity data of the shot picture.
Specifically, the industrial camera is a general industrial camera, for example, CA310 or the like. The exposure times in the preset exposure time sequence may be arranged in ascending order of duration or in descending order of duration. When the photo is obtained, the photo corresponding to each gray scale can be obtained for each exposure time; alternatively, a photograph corresponding to each exposure time may be acquired for each gray scale. Of course, in practical applications, the photos may also be obtained in other manners, as long as the method for obtaining the photos required by the present invention can be obtained, which is not described herein again.
And S30, determining the corresponding relation between the gray scale intensity data and the brightness data according to all the acquired gray scale intensity data and the brightness data.
Specifically, the acquired all gray scale intensity data refers to gray scale intensity data extracted from a photo corresponding to each gray scale at each exposure time. For each gray scale, the number of gray scale pictures corresponding to each gray scale can be determined according to the exposure time number contained in the exposure time sequence corresponding to each gray scale, wherein the number of gray scale pictures is equal to the exposure time number, the corresponding gray scale intensity data can be obtained by the exposure time number, and the measured number of the brightness data is the gray scale number. Therefore, when the gray scale intensity data and the brightness data are acquired, the gray scale intensity data need to be converted, and the corresponding relation between the gray scale intensity data and the brightness data is determined according to the converted data.
In an embodiment, as shown in fig. 2, the determining the correspondence between the gray-scale intensity data and the luminance data according to the acquired all gray-scale intensity data and luminance data specifically includes:
s31, for each gray scale, determining a linear corresponding relation between exposure time and gray scale intensity data according to the gray scale intensity data corresponding to the gray scale and the exposure time sequence;
s32, extracting the slope of the linear corresponding relation between the exposure time of each gray scale and the gray scale intensity data, and determining the corresponding relation between the extracted slope and the brightness data;
s33, calculating the corresponding relation between the gray scale intensity data and the brightness data according to the linear corresponding relation between the exposure time and the gray scale intensity data and the corresponding relation between the slope and the brightness data.
Specifically, in the present embodiment, 46/86/126/166/206/246 gray scales are selected as the data acquisition gray scales, and the exposure time included in the exposure time sequence corresponding to each gray scale may be different. Then, each exposure time of each gray scale in its corresponding exposure time sequence corresponds to a gray scale intensity time, so that a point-tracing fit can be performed by using the exposure time as an x-axis coordinate and the gray scale intensity data as a y-axis coordinate, as shown in fig. 3, where a fitting curve obtained by fitting the exposure time and the point-tracing of the gray scale intensity data is a straight line. That is, the gray scale intensity data I and the exposure time t are in a linear relationship at each gray scale, and the corresponding relationship between the gray scale intensity data I and the exposure time t may be:
I=a*t+b
wherein, a is the slope of the fitting curve of the gray scale intensity data and the exposure time, and b is the intercept of the fitting curve of the gray scale intensity data and the exposure time.
Further, after obtaining the fitted curve of the gray scale intensity data and the exposure time at each gray scale, extracting a curve slope a of each fitted curve, and plotting the curve slope a and the luminance data at each gray scale, as shown in fig. 4, the fitted curve to be fitted by the slope and the luminance data plotting point is a straight line, that is, the slope a and the luminance data L are in a linear relationship, and the expression that the slope a and the luminance data L are in a linear relationship may be:
a=a’*L+b’
wherein, a 'is the slope of the curve fitted by the slope and the brightness data in the graph, and b' is the intercept of the curve fitted by the slope and the brightness data.
Then, there are the corresponding relation between the gray scale intensity data I and the exposure time t and the corresponding relation between the slope a and the brightness data L:
I=(a’*L+b’)*t+b。
thereby finding a conversion relationship between the luminance data L and the gray-scale intensity I. Meanwhile, b and b ' in the conversion relation between the luminance data L and the gray-scale intensity I are omitted in order to facilitate the calculation of the luminance data, so that the conversion relation between the approximate luminance L and the gray-scale intensity I, i.e., L/(a ' × t), may be obtained, wherein a ' is preferably 0.02207.
Further, in order to improve the accuracy of the luminance data conversion, after the conversion relationship between the approximate luminance L and the gray-scale intensity I is obtained, the conversion relationship between the approximate luminance L and the gray-scale intensity I may be corrected. Correspondingly, after the calculating the corresponding relationship between the gray scale intensity data and the brightness data according to the corresponding relationship between the exposure time and the gray scale intensity data and the corresponding relationship between the slope and the brightness data thereof, the method further comprises:
for each gray scale, calculating estimated brightness data of each gray scale according to the corresponding relation between the gray scale intensity data and the brightness data;
calculating an error rate of the estimated luminance data and the luminance data, and determining a corresponding relationship between the error rate and the luminance data according to the error rate and the luminance data;
and correcting the corresponding relation between the gray scale intensity data and the brightness data by adopting the corresponding relation between the error rate and the brightness data.
Specifically, after the conversion relationship between the approximate brightness L and the gray scale intensity I is obtained, the gray scale intensity data I and the exposure time t under each gray scale are substituted into the conversion relationship between the approximate brightness L and the gray scale intensity I to calculate the brightness L, and it can be found that there is a certain error with the brightness measured by the actual CA310, which needs to perform error compensation to reduce the corresponding error. In the present embodiment, the luminance error rate is calculated from the calculated luminance data and the measured luminance data
The gray-scale luminance and the luminance error rate E at each gray scale are plotted to obtain a curve relationship of the luminance error rate with the change of the gray-scale luminance, and as shown in fig. 5, fitting the curve in the figure can obtain a functional relationship between the luminance error rate E and the luminance data, and the correspondence relationship between the luminance error rate and the luminance data can be E0+ a1 (1-exp (-L/t1)) + a2 (1-exp (-L/t 2)). In this embodiment, E0 ═ 0.61517; a1 ═ -0.14434; t1 ═ 461.18268; a2 ═ -0.45197; t2 is 26.65768. In summary, the correspondence relationship between the gray scale intensity data and the luminance data can be: l1 ═ L ± L × E, where L is the approximate luminance, E is the error rate, and L1 is the luminance data after final compensation.
Further, in another embodiment of the present invention, as shown in fig. 6, the determining the corresponding relationship between the gray-scale intensity data and the luminance data according to all the acquired gray-scale intensity data and luminance data specifically includes:
h31, determining the linear corresponding relation between the brightness data and the gray scale intensity data according to the corresponding gray scale intensity data and the corresponding brightness data for each exposure time;
h32, extracting the slope of the linear corresponding relation between the brightness data corresponding to each exposure time and the gray scale intensity data, and determining the corresponding relation between the slope and the brightness data;
h33, calculating the corresponding relation between the gray scale intensity data and the brightness data according to the corresponding relation between the brightness data and the gray scale intensity data and the corresponding relation between the slope and the brightness data.
Specifically, the exposure time sequence corresponding to each gray scale includes the same time, for example, the exposure time included in the exposure time sequence is: 416.65/99.996/49.998/33.332/16.666ms as the target exposure time for data acquisition, after acquiring the brightness data of each gray scale and the gray scale intensity data of each gray scale under the exposure time. For each exposure time, the luminance data and the gray-scale intensity data of each gray scale are subjected to point-tracing fitting, and as shown in fig. 7, a fitting curve obtained by point-tracing of the luminance data and the gray-scale intensity data is a straight line. That is, the gray scale intensity data I and the luminance data L are in a linear relationship at each exposure time, and the corresponding relationship between the gray scale intensity data I and the luminance data L may be:
I=k*L+b
wherein k is the slope of the fitting curve of the gray scale intensity data and the brightness data, and b is the intercept of the fitting curve of the gray scale intensity data and the brightness data.
Further, after obtaining the fitted curve of the gray-scale intensity data and the luminance data at each exposure time, extracting a curve slope k of each fitted curve, and plotting the curve slope k and each exposure time, as shown in fig. 8, the fitted curve which is fitted by the slope and the exposure time plotted points is a straight line, that is, the slope k and the exposure time t are in a linear relationship, and the expression that the slope a and the exposure time t are in a linear relationship may be:
k=k’*t+b’
wherein k 'is the slope of the fitted curve of the slope and the exposure time, and b' is the intercept of the fitted curve of the slope and the exposure time.
Then, there are the corresponding relation between the gray scale intensity data I and the brightness data L and the corresponding relation between the slope k and the exposure time t:
I=(k’*t+b’)*L+b。
thereby finding a conversion relationship between the luminance data L and the gray-scale intensity I. Meanwhile, b and b ' in the conversion relation between the luminance data L and the gray-scale intensity I are omitted in order to facilitate the calculation of the luminance data, so that the conversion relation between the approximate luminance L and the gray-scale intensity I, i.e., L/(k ' × t), may be obtained, wherein k ' is preferably 0.02574.
In addition, in order to improve the accuracy of the luminance data conversion, after the conversion relationship between the approximate luminance L and the gray-scale intensity I is acquired, the conversion relationship between the approximate luminance L and the gray-scale intensity I may be corrected. The modification process of this embodiment is the same as the modification process of the above embodiment, and the gray-scale luminance and the luminance error rate E under each gray scale are plotted to obtain a curve relationship of the luminance error rate with the change of the gray-scale luminance, as shown in fig. 9, a functional relationship between the luminance error rate E and the luminance data can be obtained by fitting the curve in the graph, and the corresponding relationship between the luminance error rate and the luminance data can be: E-E0 + a1 (1-exp (-L/t1)) + a2 (1-exp (-L/t2)), wherein E0-0.32799; a1 ═ -0.17479; t1 ═ 45.05126; a2 ═ -0.29191; t2 is 5.8646. In summary, the function relationship of converting the gray scale intensity data into the luminance data is as follows: l1 ═ L ± L × E, where L is the approximate luminance, E is the error rate, and L1 is the luminance after final compensation.
And S40, converting the gray scale intensity data into brightness data according to the corresponding relation between the gray scale intensity data and the brightness data.
Specifically, after the correspondence between the gray scale intensity data and the luminance data is obtained, the luminance data corresponding to the gray scale intensity data may be obtained according to the correspondence between the gray scale intensity data and the luminance data after the gray scale intensity time is obtained. Meanwhile, after the corresponding relationship between the gray scale intensity data and the luminance data is obtained, the corresponding relationship between the gray scale intensity data and the luminance data is modified, so that the gray scale intensity data is converted into the luminance data according to the corresponding relationship between the gray scale intensity data and the luminance data after being modified.
Example two
The present embodiment provides a method for extracting luminance data, which is characterized by applying the processing method of gray-scale intensity data according to the foregoing embodiment, as shown in fig. 10, the method for extracting luminance data includes:
m10, acquiring an image of a display panel, and acquiring gray scale intensity data of the display panel according to the image;
m20, converting the gray scale intensity data into brightness data according to the corresponding relation between the gray scale intensity data and the brightness data to obtain the brightness data of the display panel.
Specifically, the image of the display panel is an image of the display panel shot by an industrial camera, and after the image is acquired, the gray scale intensity data of the image is extracted to obtain the gray scale intensity data of the display panel, and then the brightness of the display panel is calculated according to the corresponding relationship between the gray scale intensity data and the brightness data.
Based on the processing method of gray scale intensity data, the invention further provides a computer readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to realize the steps in the processing method of gray scale intensity data as described in the above embodiment.
The present invention also provides a terminal device, as shown in fig. 11, which includes at least one processor (processor) 20; a display screen 21; and a memory (memory)22, and may further include a communication Interface (Communications Interface)23 and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. The processor 20 may call logic instructions in the memory 22 to perform the methods in the embodiments described above.
Furthermore, the logic instructions in the memory 22 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 22, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes the functional application and data processing, i.e. implements the method in the above-described embodiments, by executing the software program, instructions or modules stored in the memory 22.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In addition, the specific processes loaded and executed by the storage medium and the instruction processors in the terminal device are described in detail in the method, and are not stated herein.
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. A method of processing gray scale intensity data, the method comprising:
selecting a plurality of gray scales, and measuring the brightness data of the display panel under each gray scale;
photographing the display panel under each gray scale according to the exposure time sequence corresponding to each gray scale, and acquiring gray scale intensity data of a photo obtained by photographing;
determining the corresponding relation between the gray scale intensity data and the brightness data according to all the acquired gray scale intensity data and the brightness data;
and converting the gray scale intensity data into brightness data according to the corresponding relation between the gray scale intensity data and the brightness data.
2. The method for processing gray scale intensity data according to claim 1, wherein the photographing the display panel at each gray scale according to the exposure time sequence corresponding to each gray scale, and the obtaining the gray scale intensity data of the photographed picture specifically comprises:
for each gray scale, acquiring an exposure time sequence corresponding to the gray scale, and photographing a display panel under the gray scale through an industrial camera according to the exposure time sequence;
and acquiring gray scale intensity data of the shot picture.
3. The method for processing gray-scale intensity data according to claim 1, wherein the determining the correspondence between the gray-scale intensity data and the luminance data according to all the acquired gray-scale intensity data and luminance data specifically comprises:
for each gray scale, determining a linear corresponding relation between exposure time and gray scale intensity data according to gray scale intensity data corresponding to the gray scale and an exposure time sequence;
extracting the slope of the linear corresponding relation between the exposure time of each gray scale and the gray scale intensity data, and determining the corresponding relation between the extracted slope and the brightness data;
and calculating the corresponding relation between the gray scale intensity data and the brightness data according to the linear corresponding relation between the exposure time and the gray scale intensity data and the corresponding relation between the slope and the brightness data.
4. The method for processing gray-scale intensity data according to claim 1, wherein the determining the correspondence between the gray-scale intensity data and the luminance data according to all the acquired gray-scale intensity data and luminance data specifically comprises:
for each exposure time, determining a linear corresponding relation between the brightness data and the gray scale intensity data according to the corresponding gray scale intensity data and the corresponding brightness data;
extracting the slope of the linear corresponding relation between the brightness data corresponding to each exposure time and the gray scale intensity data, and determining the corresponding relation between the slope and the brightness data;
and calculating the corresponding relation between the gray scale intensity data and the brightness data according to the corresponding relation between the brightness data and the gray scale intensity data and the corresponding relation between the slope and the brightness data.
5. The method for processing gray scale intensity data according to claim 3 or 4, further comprising, after calculating the relationship between gray scale intensity data and luminance data according to the relationship between exposure time and gray scale intensity data and the relationship between slope and luminance data thereof:
for each gray scale, calculating estimated brightness data of each gray scale according to the corresponding relation between the gray scale intensity data and the brightness data;
calculating error rates of the estimated brightness data and the brightness data, and determining a corresponding relation between the error rates and the brightness data according to the error rates and the brightness data;
and correcting the corresponding relation between the gray scale intensity data and the brightness data by adopting the corresponding relation between the error rate and the brightness data.
6. The method as claimed in claim 3 or 4, wherein the slope is linear with respect to the luminance data.
7. A method for extracting luminance data, wherein the method for processing gray scale intensity data according to any one of claims 1 to 6 is applied, and the method for extracting luminance data comprises:
acquiring an image of a display panel, and acquiring gray scale intensity data of the display panel according to the image;
and converting the gray scale intensity data into brightness data according to the corresponding relation between the gray scale intensity data and the brightness data so as to obtain the brightness data of the display panel.
8. The method for extracting luminance data as claimed in claim 7, wherein the acquiring an image of a display panel and the acquiring gray scale intensity data of the display panel according to the image are specifically:
shooting the image of the display panel through an industrial camera, and acquiring gray scale intensity data of the display panel according to the image.
9. A computer readable storage medium storing one or more programs which are executable by one or more processors to implement the steps in the method of processing gray scale intensity data according to any one of claims 1 to 6.
10. A terminal device, comprising: a processor, a memory, and a communication bus; the memory has stored thereon a computer readable program executable by the processor;
the communication bus realizes connection communication between the processor and the memory;
the processor, when executing the computer readable program, implements the steps in the method of processing gray scale intensity data of any of claims 1-6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910684702.9A CN112304421B (en) | 2019-07-26 | 2019-07-26 | Processing method of gray scale intensity data, storage medium and terminal equipment |
PCT/CN2020/103546 WO2021017979A1 (en) | 2019-07-26 | 2020-07-22 | Grayscale intensity data processing method, storage medium, and terminal apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910684702.9A CN112304421B (en) | 2019-07-26 | 2019-07-26 | Processing method of gray scale intensity data, storage medium and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112304421A true CN112304421A (en) | 2021-02-02 |
CN112304421B CN112304421B (en) | 2022-03-11 |
Family
ID=74228348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910684702.9A Active CN112304421B (en) | 2019-07-26 | 2019-07-26 | Processing method of gray scale intensity data, storage medium and terminal equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112304421B (en) |
WO (1) | WO2021017979A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113155890B (en) * | 2021-04-06 | 2022-05-06 | 华志(福建)电子科技有限公司 | Melting point analyzer based on image recognition |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104021759A (en) * | 2014-05-30 | 2014-09-03 | 京东方科技集团股份有限公司 | Luminance supplementing method and device for display device, and display device |
CN107203056A (en) * | 2017-05-22 | 2017-09-26 | 深圳市华星光电技术有限公司 | For the mura processing methods of ultrahigh resolution panel |
CN108510965A (en) * | 2018-05-03 | 2018-09-07 | 武汉天马微电子有限公司 | Display brightness compensation method, device and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102181881B1 (en) * | 2014-11-21 | 2020-11-24 | 삼성디스플레이 주식회사 | Vision inspection apparatus and method of compensating gamma and mura defect thereof |
KR102349501B1 (en) * | 2015-04-29 | 2022-01-12 | 엘지디스플레이 주식회사 | Liquid Crystal Display Device and Driving Method thereof |
CN107403177A (en) * | 2017-05-27 | 2017-11-28 | 延锋伟世通汽车电子有限公司 | Brightness measurement method based on industrial camera |
CN109272945B (en) * | 2018-11-07 | 2021-08-24 | 深圳Tcl新技术有限公司 | Backlight correction method and device for display screen and computer readable storage medium |
-
2019
- 2019-07-26 CN CN201910684702.9A patent/CN112304421B/en active Active
-
2020
- 2020-07-22 WO PCT/CN2020/103546 patent/WO2021017979A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104021759A (en) * | 2014-05-30 | 2014-09-03 | 京东方科技集团股份有限公司 | Luminance supplementing method and device for display device, and display device |
CN107203056A (en) * | 2017-05-22 | 2017-09-26 | 深圳市华星光电技术有限公司 | For the mura processing methods of ultrahigh resolution panel |
CN108510965A (en) * | 2018-05-03 | 2018-09-07 | 武汉天马微电子有限公司 | Display brightness compensation method, device and system |
Also Published As
Publication number | Publication date |
---|---|
WO2021017979A1 (en) | 2021-02-04 |
CN112304421B (en) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11120757B2 (en) | Gray scale adjustment method and device for display panel | |
CN107799084B (en) | Device and method, the memory of luminance compensation | |
CN112530347B (en) | Method, device and equipment for determining compensation gray scale | |
EP3264402A1 (en) | Method for correcting screen asymmetry and device and system thereof | |
EP3627440B1 (en) | Image processing method and apparatus | |
CN114203087B (en) | Configuration of compensation lookup table, compensation method, device, equipment and storage medium | |
CN109584175B (en) | Image processing method and device | |
CN109272945B (en) | Backlight correction method and device for display screen and computer readable storage medium | |
CN111031256B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN108108293B (en) | Method and system for testing tail time | |
CN113920502A (en) | Cloud deck adjusting method, device, equipment and medium | |
CN112304421B (en) | Processing method of gray scale intensity data, storage medium and terminal equipment | |
JP2016173477A5 (en) | ||
CN113299216A (en) | Gamma debugging method, device, equipment and storage medium | |
CN104535178A (en) | Light strength value detecting method and terminal | |
US11625816B2 (en) | Learning device, image generation device, learning method, image generation method, and program | |
CN114283745A (en) | Brightness compensation method of display panel and related device | |
CN109559707B (en) | Gamma value processing method and device of display panel and display equipment | |
CN112887630A (en) | Automatic exposure method, electronic device, and computer-readable storage medium | |
CN113380170A (en) | Display compensation method and device of display panel, display device and medium | |
CN116708756A (en) | Sensor accuracy detection method, detection device, electronic device, and storage medium | |
CN115398521A (en) | System, method and device for image processing | |
CN116485645A (en) | Image stitching method, device, equipment and storage medium | |
CN107330905B (en) | Image processing method, device and storage medium | |
CN113870800B (en) | Backlight adjusting method and device, terminal equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |