CN103354073B - A kind of LCD color deviation correction method - Google Patents

A kind of LCD color deviation correction method Download PDF

Info

Publication number
CN103354073B
CN103354073B CN201310233247.3A CN201310233247A CN103354073B CN 103354073 B CN103354073 B CN 103354073B CN 201310233247 A CN201310233247 A CN 201310233247A CN 103354073 B CN103354073 B CN 103354073B
Authority
CN
China
Prior art keywords
neural network
value
color
lab
training
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310233247.3A
Other languages
Chinese (zh)
Other versions
CN103354073A (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.)
Nanjing University of Information Science and Technology
Original Assignee
Nanjing University of Information Science and Technology
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 Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN201310233247.3A priority Critical patent/CN103354073B/en
Publication of CN103354073A publication Critical patent/CN103354073A/en
Application granted granted Critical
Publication of CN103354073B publication Critical patent/CN103354073B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention proposes a kind of LCD color deviation correction method.Described method introduces the BP neural network based on genetic algorithm, genetic algorithm carries out global search fast to the initial weight of neural network and threshold value, solve the shortcoming that traditional BP algorithm is easily absorbed in local minimum, accelerate speed of convergence, improve the generalization ability of network; Adopt Lab color space value as the input and output value of neural network, than directly adopting RGB color space vector to have better quantitative classification accuracy, automatically can correct LCD color error ratio, making LCD have better color re-production capabilities.

Description

A kind of LCD color deviation correction method
Technical field
The invention belongs to display technique field, relate to a kind of LCD color deviation correction method.
Background technology
Along with the development of display technique, LCDs is widely used in various electronic equipment.The color requirements of people to LCDs is more and more higher.Chromatic rendition is an important indicator of evaluating liquid crystal display screen, but LCD display is under different photoenvironments, and the color of the image gathered and object itself will be caused to there is certain deviation; Under different hardware device environment, input and output image also can be caused to occur color error ratio.How color error ratio is corrected, become a focus of current research.
LCD display color adopts RGB color space to define usually.But RGB color space and equipment closely related, the color of different equipment display has difference, directly using RGB color vector as input, desirable treatment effect cannot be obtained.Lab color space has device independence, this color space reflect preferably colour vision impression, its aberration calculated and human eye visual perception basically identical.
BP neural network is widely applied in color correction field in recent years.BP neural network is a kind of Multi-layered Feedforward Networks by Back Propagation Algorithm training, its learning rules use gradient descent method, constantly adjusted the weights and threshold of network by backpropagation, make the error sum of squares of network minimum, thus arrive the object of anticipation learning.But in the process of study, there will be crenellated phenomena, be even absorbed in Local Minimum.
Summary of the invention
The present invention is directed to above-mentioned technical matters, propose a kind of LCD color deviation correction method.Described method adopts the GA-BP neural network based on genetic algorithm and BP algorithm, automatically can correct, make LCD have better color re-production capabilities to LCD color error ratio.
The present invention, for solving the problems of the technologies described above, adopts following technical scheme:
A kind of LCD color deviation correction method, comprises the steps:
Step one, with redness, green and blueness for establishment of coordinate system RGB three-dimensional color space, and chooses training sample in this space;
Step 2, choosing the output calibration value of one piece of standard screen for obtaining BP neural network, selecting one piece of screen to be calibrated else for obtaining the input value of BP neural network;
Step 3, exports training sample through screen to be calibrated, uses digital camera to obtain its RGB three-dimensional color space color value V rGB, and this value is transformed into Lab color space value V lab, as the input value of BP neural network;
Step 4, exports training sample through standard screen, uses digital camera to obtain its RGB three-dimensional color space RGB color space value V ' rGB, and this value is transformed into Lab color space value V ' lab, as the output calibration value of BP neural network;
Step 5, creates BP neural network, adopts the BP neural network with three input neurons, three output neurons and five intrerneurons;
Step 6, is optimized the initial weight of BP neural network and threshold value by genetic algorithm; Obtain the BP neural network with best initial weights and threshold value;
Step 7, training BP neural network: by V labas the input of BP neural network, V ' labas the output of BP neural network, according to predetermined excitation function, training function, maximum training iterations and neural metwork training permissible error, training BP neural network;
Step 8, is cured in the hardware configuration of LCD display by the BP neural network trained, and realizes LCD display color and corrects function.
Beneficial effect of the present invention: the present invention proposes a kind of LCD color deviation correction method.Described method introduces the BP neural network based on genetic algorithm, genetic algorithm carries out global search fast to the initial weight of neural network and threshold value, solve the shortcoming that traditional BP algorithm is easily absorbed in local minimum, accelerate speed of convergence, improve the generalization ability of network; Adopt Lab color space value as the input and output value of neural network, than directly adopting RGB color space vector to have better quantitative classification accuracy, automatically can correct LCD color error ratio, making LCD have better color re-production capabilities.
Accompanying drawing explanation
Fig. 1 is a kind of LCD color deviation correction method workflow diagram of the present invention.
Fig. 2 is the GA-BP neural network structure figure that the present invention adopts.
Fig. 3 is the BP neural network workflow diagram that genetic algorithm is improved.
Fig. 4 is aberration correlation curve before and after correcting.
Embodiment
Below in conjunction with the drawings and specific embodiments, illustrate a kind of LCD color deviation correction method that the present invention proposes further.
As shown in Figure 1, a kind of LCD color deviation correction method workflow diagram of the present invention, its detailed process is as follows:
Step one: RGB color space is uniformly distributed the little cubic space of 10*10*10 by the present invention, total obtains 1000 samples.And pick out from 1000 samples representative 400 as train samples.
Step 2: select one piece of screen to be calibrated and one piece of standard screen, use high-definition digital camera to show image to LCD and take, obtain its color value respectively, be designated as RGB.Operation platform is WindowsXP, and development language is VC++6.0, based on OpenGL shape library.
Step 3: screen color character vector to be calibrated extracts and standardization, by CIE1976LAB colour difference formula, RGB color space value is converted into Lab color space value, is designated as Lab.
First by RGB(0-255) color space value, be converted into XYZ (CIE1931 standard colorimetric system) color space value:
X = 0.412453 * R + 0.357580 * G + 0.180423 * B Y = 0.212671 * R + 0.715160 * G + 0.072169 * B Z = 0.019334 * R + 0.119193 * G + 0.950227 * B - - - ( 1 )
Then be normalized:
x = X / ( 255 * 0.950456 ) y = Y / 255 z = Z / ( 255 * 1.088754 ) - - - ( 2 )
Secondly the xyz value obtained is converted to Lab color space value:
L = 115 * y 1 / 3 , y > 0.00856 L = 903.3 * y , y < = 0.00856 - - - ( 3 )
a = 500 * ( f ( x ) - f ( y ) ) b = 200 * ( ( f ( y ) ) - f ( z ) ) - - - ( 4 )
Wherein f (t)=t 1/3, work as t>0.008856; F (t)=7.787t+16/116, works as t<=0.008856
Partial data is as shown in table 1, RGB color space value of comparing, and Lab has obvious numerical values recited and positive and negative differentiation.
Table 1 Color Characteristic
Color R G B L a b
Red 255 0 0 69 80 67
Yellow 255 255 0 112 -22 94
Blue 0 0 255 48 79 -109
Green 0 255 0 103 -86 83
In vain 245 245 245 113 -2 0
Ash 124 125 128 91 0.1 -1
Orange 255 128 64 96 18 35
Purple 128 0 255 65 89 -79
Palm fibre 128 64 0 76 10 66
Black 8 7 3 35 -2 12
Step 4: treat that standard screen color character vector extracts and standardization, method, as described in step 3, obtains Lab value, is designated as L'a'b'.
Step 5: create initial BP neural network: the BP neural network of the present invention's design adopts 3-5-3 structure, and its topological structure as shown in Figure 2.This structure has 3 input neurons and three output neurons.Lab color space value is as 3 inputs of BP neural network, and L'a'b' color space value is as 3 outputs of neural network, and hidden layer neuron number there is no theoretic guidance, and according to many experiments, the present invention chooses 5 nodes.Excitation function adopts tansigmoid; Training function adopts trainbpx, and utilize rapid bp algorithm Training Multilayer Neural Network, namely have employed momentum or adaptive learning, can reduce the training time, maximum training iterations is within 300, and network training permissible error is set to 0.03.
Step 6: initial weight and threshold value with genetic algorithm optimization BP neural network: GA-BP workflow as shown in Figure 3.By genetic algorithm, global search is fast carried out to initial weight and threshold value, the chromosome of genetic algorithm is exactly connection weights or the threshold value of BP network, the specific mode of each chromosome is encoded, the satisfactory solution of genetic algorithm is exactly the approximate value of the weights and threshold of BP neural network, the best initial weights threshold value of acquisition is assigned to the BP network not yet starting to train.
(1) coding and initialization colony: coded system common in genetic algorithm is 2 scale codings and real coding.Compare 2 scale codings, it is high that real coding has precision, the advantage that speed of searching optimization is fast, and the present invention adopts real coding mode.Input Lab value is converted into real number string.
(2) determination of fitness function, this function is the unique information of genetic algorithm guidance search, and choosing of it determines algorithm quality.This function should be easy to convergence and calculates and can not cause locally optimal solution.
(3) selection, intersection, mutation genetic operation
1, select: the individuality of selecting vitality strong from old population produces the process of new population, the present invention adopts that algorithm of tournament selection method is namely at every turn random selects some individualities from population, then preferably wins as father is individual, constantly repeats until produce N number of individuality.
2, intersect: two chromosomes matched by the mutual switching part gene of certain mode, thus form new individuality.The introducing of crossover operator, determines the ability of searching optimum of genetic algorithm.The present invention adopts middle restructuring:
T 2=S 22(S 1-S 2)(5)
T 1=S 11(S 2-S 1)(6)
T in formula 1for son individuality 1, T 2for son individuality 2, S 1for father's individuality 1, S 2for father's individuality 2, λ 1, λ 2for scale factor.
3, make a variation: in biological heredity process, can gene mutation be caused in accidentalia situation, thus occur new species.Introducing mutation operator produces new individual, determines the local search ability of genetic algorithm.The present invention adopts with definitive variation probability random selecting several body from population, and for the individuality chosen, the number on the overall position that need make a variation at random between generation [0-9] is to replace legacy data.
Step 7: training GA-BP neural network: train the BP neural network of weights and threshold after genetic algorithm optimization with training sample (training sample that step one mode obtains).After meeting network training error, training process completes automatically.
Step 8: by the GA-BP neural network that trains by dsp chip, be cured in the hardware configuration of LCD display, realizes LCD display color and corrects function.
Fig. 4 is the comparison diagram of value of chromatism before and after correcting, and horizontal ordinate is the part sample chosen, and ordinate is value of chromatism.Prove that algorithm of the present invention has good correcting feature to LCD image color by experiment.
Simulation result shows, this algorithm ability of searching optimum is strong, and fast convergence rate, overcomes the defect that BP neural network is easily absorbed in Local Minimum, indicates feasibility and the validity of the method.

Claims (1)

1. a LCD color deviation correction method, is characterized in that, comprises the steps:
Step one, with redness, green and blueness for establishment of coordinate system RGB three-dimensional color space, and chooses training sample in this space;
Step 2, choosing the output calibration value of one piece of standard screen for obtaining BP neural network, selecting one piece of screen to be calibrated else for obtaining the input value of BP neural network;
Step 3, exports training sample through screen to be calibrated, uses digital camera to obtain its RGB three-dimensional color space color value V rGB, and use CIE1976LAB colour difference formula, this value is converted to Lab color space value V lab, as the input value of BP neural network;
Step 4, exports training sample through standard screen, uses digital camera to obtain its RGB three-dimensional color space color value V ' rGB, and use CIE1976LAB colour difference formula, this value is converted to Lab color space value V ' lab, as the output calibration value of BP neural network;
Step 5, creates BP neural network, adopts the BP neural network with three input neurons, three output neurons and five intrerneurons;
Step 6, is optimized the initial weight of BP neural network and threshold value by genetic algorithm; Obtain the BP neural network with best initial weights and threshold value;
Step 7, training BP neural network: by V labas the input of BP neural network, V ' labas the output of BP neural network, according to predetermined excitation function, training function, maximum training iterations and neural metwork training permissible error, training BP neural network;
Step 8, is cured in the hardware configuration of LCD display by the BP neural network trained, and realizes LCD display color and corrects function.
CN201310233247.3A 2013-06-13 2013-06-13 A kind of LCD color deviation correction method Expired - Fee Related CN103354073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310233247.3A CN103354073B (en) 2013-06-13 2013-06-13 A kind of LCD color deviation correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310233247.3A CN103354073B (en) 2013-06-13 2013-06-13 A kind of LCD color deviation correction method

Publications (2)

Publication Number Publication Date
CN103354073A CN103354073A (en) 2013-10-16
CN103354073B true CN103354073B (en) 2016-01-20

Family

ID=49310435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310233247.3A Expired - Fee Related CN103354073B (en) 2013-06-13 2013-06-13 A kind of LCD color deviation correction method

Country Status (1)

Country Link
CN (1) CN103354073B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990933B (en) * 2017-04-07 2019-12-13 深圳市帝晶光电科技有限公司 LCM color coordinate center value design algorithm and control method
CN109084897B (en) * 2017-06-14 2020-08-28 深圳市国显科技有限公司 LCM color coordinate calculation method based on LED color block searching
CN113159324B (en) * 2021-02-26 2023-11-07 山东英信计算机技术有限公司 Quantum device calibration method, device and medium
WO2024000473A1 (en) * 2022-06-30 2024-01-04 京东方科技集团股份有限公司 Color correction model generation method, correction method and apparatus, and medium and device
CN115064131B (en) * 2022-08-04 2022-11-08 合肥市航嘉显示科技有限公司 Display backlight control system capable of monitoring picture for display

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5140530A (en) * 1989-03-28 1992-08-18 Honeywell Inc. Genetic algorithm synthesis of neural networks
CN1622135A (en) * 2004-12-13 2005-06-01 中国科学院长春光学精密机械与物理研究所 Digital image color correction method
CN102170516A (en) * 2011-04-07 2011-08-31 陕西科技大学 Color space transition method based on fuzzy logic and neural network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040044633A1 (en) * 2002-08-29 2004-03-04 Chen Thomas W. System and method for solving an optimization problem using a neural-network-based genetic algorithm technique

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5140530A (en) * 1989-03-28 1992-08-18 Honeywell Inc. Genetic algorithm synthesis of neural networks
CN1622135A (en) * 2004-12-13 2005-06-01 中国科学院长春光学精密机械与物理研究所 Digital image color correction method
CN102170516A (en) * 2011-04-07 2011-08-31 陕西科技大学 Color space transition method based on fuzzy logic and neural network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
人工神经网络法LCD色度特性化研究;张继艳,熊飞兵;《激光与红外》;20111020;第41卷(第10期);第1150-1153页 *
基于BP神经网络法的扫描仪的色空间转换分析;李小东,陈喻,张传香;《湖南工业大学学报》;20090531;第23卷(第3期);第79-82页 *

Also Published As

Publication number Publication date
CN103354073A (en) 2013-10-16

Similar Documents

Publication Publication Date Title
CN105046277B (en) Robust mechanism study method of the feature significance in image quality evaluation
CN103354073B (en) A kind of LCD color deviation correction method
CN109902745A (en) A kind of low precision training based on CNN and 8 integers quantization inference methods
CN105488528B (en) Neural network image classification method based on improving expert inquiry method
CN103971342B (en) A kind of image noise detection method based on convolutional neural networks
CN108256482B (en) Face age estimation method for distributed learning based on convolutional neural network
CN110222770B (en) Visual question-answering method based on combined relationship attention network
CN107563999A (en) A kind of chip defect recognition methods based on convolutional neural networks
CN106023154B (en) Multidate SAR image change detection based on binary channels convolutional neural networks
CN106991666B (en) A kind of disease geo-radar image recognition methods suitable for more size pictorial informations
CN108428227A (en) Non-reference picture quality appraisement method based on full convolutional neural networks
CN109948522A (en) A kind of X-ray hand osseous maturation degree interpretation method based on deep neural network
CN107609638A (en) A kind of method based on line decoder and interpolation sampling optimization convolutional neural networks
CN106557576A (en) Information based on artificial intelligence recommends method and device
CN106529574A (en) Image classification method based on sparse automatic encoder and support vector machine
CN108776835A (en) A kind of deep neural network training method
CN102170516B (en) Color space transition method based on fuzzy logic and neural network
CN110475043A (en) A kind of conversion method of CMYK to Lab color space
CN110334645A (en) A kind of moon impact crater recognition methods based on deep learning
CN107871103A (en) Face authentication method and device
CN109816714A (en) A kind of point cloud object type recognition methods based on Three dimensional convolution neural network
CN106203373A (en) A kind of human face in-vivo detection method based on deep vision word bag model
CN103077408A (en) Method for converting seabed sonar image into acoustic substrate classification based on wavelet neutral network
CN108961346A (en) The method that color harmony degree is predicted based on BP neural network
CN110443323A (en) Appearance appraisal procedure based on shot and long term memory network and face key point

Legal Events

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

Granted publication date: 20160120

Termination date: 20180613