CN103354073A - LCD color deviation correction method - Google Patents
LCD color deviation correction method Download PDFInfo
- Publication number
- CN103354073A CN103354073A CN2013102332473A CN201310233247A CN103354073A CN 103354073 A CN103354073 A CN 103354073A CN 2013102332473 A CN2013102332473 A CN 2013102332473A CN 201310233247 A CN201310233247 A CN 201310233247A CN 103354073 A CN103354073 A CN 103354073A
- Authority
- CN
- China
- Prior art keywords
- neural network
- value
- color space
- training
- lab
- 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
Images
Abstract
The invention provides an LCD color deviation correction method. According to the method, a BP neural network based on genetic algorithm is introduced, wherein the genetic algorithm is used for performing rapid global searching on an initial weight value and a threshold value of the neural network, and thus a defect that conventional BP algorithm is easy to be trapped into a local minimum is overcome, a rate of convergence is fastened, and the generalization ability of the network is improved. Better quantification classification accuracy is provided by adopting Lab color space values as input output values of the neural network than directly adopting RGB color space vectors, and thus the LCD color deviation can be automatically corrected, and the LCD can have better color reproduction ability.
Description
Technical field
The invention belongs to the display technique field, relate to a kind of LCD colour cast correcting method.
Background technology
Along with the development of display technique, LCDs is widely used in the various electronic equipments.People require more and more higher to the color of LCDs.Chromatic rendition is an important indicator of evaluating liquid crystal display screen, but LCD display will cause color and the object itself of the image that gathers to have certain deviation under different photoenvironments; Under the different hardware device environment, also can cause the input and output image color error ratio to occur.How color error ratio is corrected, become a focus of current research.
The LCD display color adopts the RGB color space definition usually.But RGB color space and equipment are closely related, and the color that different equipment shows has difference, directly with the RGB color vector as input, can't obtain desirable treatment effect.The Lab color space has device independence, and this color space has reflected the colour vision impression preferably, and the aberration that it calculates and human eye vision perception are basically identical.
The BP neural network is widely applied in the color correction field in recent years.The BP neural network is a kind of Multi-layered Feedforward Networks by the Back Propagation Algorithm training, its learning rules are to use gradient descent method, constantly adjust weights and the threshold value of network by backpropagation, make the error sum of squares of network minimum, thereby arrive the purpose of anticipation learning.But in the process of study, crenellated phenomena can occur, even be absorbed in local minimum.
Summary of the invention
The present invention is directed to above-mentioned technical matters, propose a kind of LCD colour cast correcting method.Described method adopts the GA-BP neural network based on genetic algorithm and BP algorithm, can automatically correct the LCD color error ratio, makes LCD have better chromatic rendition ability.
The present invention adopts following technical scheme for solving the problems of the technologies described above:
A kind of LCD colour cast correcting method comprises the steps:
Step 1 take red, green and blueness as establishment of coordinate system RGB three-dimensional color space, and is chosen training sample in this space;
Step 3 is exported training sample through screen to be calibrated, use 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 through the output of standard screen, uses digital camera to obtain its RGB three-dimensional color space RGB color space value V ' training sample
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 the BP neural network, adopts to have the BP neural network of three input neurons, three output neurons and five intrerneurons;
Step 7, training BP neural network: with 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;
Beneficial effect of the present invention: the present invention proposes a kind of LCD colour cast correcting method.Described method is introduced the BP neural network based on genetic algorithm, genetic algorithm is carried out fast global search to initial weight and the threshold value of neural network, solve the shortcoming that the traditional BP algorithm easily is absorbed in local minimum, accelerated speed of convergence, improved the generalization ability of network; Adopt Lab color space value as the input and output value of neural network, have better quantitative classification accuracy than direct employing RGB color space vector, can automatically correct the LCD color error ratio, make LCD have better chromatic rendition ability.
Description of drawings
Fig. 1 is a kind of LCD colour cast of the present invention correcting method workflow diagram.
Fig. 2 is the GA-BP neural network structure figure that the present invention adopts.
Fig. 3 is genetic algorithm improved BP neural network workflow diagram.
Fig. 4 is aberration correlation curve before and after proofreading and correct.
Embodiment
Below in conjunction with the drawings and specific embodiments, further specify a kind of LCD colour cast correcting method that the present invention proposes.
As shown in Figure 1, a kind of LCD colour cast of the present invention correcting method workflow diagram, its detailed process is as follows:
Step 1: the present invention is with the RGB color space little cubic space of 10*10*10 that evenly distributes, and total obtains 1000 samples.And from 1000 samples, pick out representative 400 as train samples.
Step 2: select a screen to be calibrated and a standard screen, use the high-definition digital camera that LCD demonstration image is taken, obtain respectively its color value, be designated as RGB.Operation platform is WindowsXP, and development language is VC++6.0, take the OpenGL shape library as the basis.
Step 3: screen color character vector to be calibrated extracts and standardization, by the CIE1976LAB colour difference formula RGB color space value is converted into Lab color space value, is designated as Lab.
At first with RGB(0-255) the color space value, be converted into XYZ (CIE1931 standard colorimetric system) color space value:
Then carry out normalized:
Secondly the xyz value that obtains is converted to Lab color space value:
F (t)=t wherein
1/3, work as t〉and 0.008856; F (t)=7.787t+16/116 is when t<=0.008856
Partial data is as shown in table 1, the 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 obtains the Lab value as described in the step 3, is designated as L'a'b'.
Step 5: create initial BP neural network: the BP neural network of the present invention's design adopts the 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 the hidden layer neuron number there is no theoretic guidance, and according to many experiments, the present invention chooses 5 nodes.Excitation function adopts tansigmoid; The training function adopts trainbpx, utilizes the rapid bp algorithm Training Multilayer Neural Network, has namely adopted momentum or adaptive learning, can reduce the training time, and maximum training iterations is in 300, and the network training permissible error is made as 0.03.
Step 6: initial weight and the threshold value of using genetic algorithm optimization BP neural network: the GA-BP workflow as shown in Figure 3.With genetic algorithm initial weight and threshold value are carried out fast global search, the chromosome of genetic algorithm is exactly one of the BP network and connects weights or threshold value, each chromosome is encoded with specific mode, the satisfactory solution of genetic algorithm is exactly the weights of BP neural network and the approximate value of threshold value, the optimum weight threshold that obtains is assigned to not yet begin the BP network of training.
(1) coding and initialization colony: coded system common in the genetic algorithm is 2 scale codings and real coding.2 scale codings of comparing, real coding has the precision height, the advantage that speed of searching optimization is fast, the present invention adopts the real coding mode.To input the Lab value and be converted into the real number string.
(2) fitness function is definite, and this function is the unique information of genetic algorithm guidance search, and choosing of it determines the algorithm quality.This function should be easy to restrain and calculate and can not cause locally optimal solution.
(3) selection, intersection, mutation genetic operation
1, select: select the strong individuality of vitality to produce the process of new population from old population, the present invention adopts the algorithm of tournament selection method namely to select at random some individualities from population at every turn, and then best winning is that the father is individual, constantly repeats until produce N individuality.
2, intersect: two chromosomes that match are mutually pressed the mutual switching part gene of certain mode, thereby form new individuality.The introducing of crossover operator has determined the ability of searching optimum of genetic algorithm.Restructuring in the middle of the present invention adopts:
T
2=S
2+λ
2(S
1-S
2) (5)
T
1=S
1+λ
1(S
2-S
1) (6)
T in the formula
1Be son individuality 1, T
2Be son individuality 2, S
1Be father's individuality 1, S
2Be father's individuality 2, λ
1, λ
2Be scale factor.
3, variation: in the biological heredity process, can cause gene mutation in the accidentalia situation, thereby new species occur.Introduce mutation operator and produce new individuality, determined the local search ability of genetic algorithm.The present invention adopts and chooses at random several body with the definitive variation probability from population, and for the individuality of choosing, the number that produces between [0-9] at random on the whole position of need variation replaces legacy data.
Step 7: training GA-BP neural network: with training sample (training sample that the step 1 mode obtains) training weights and the BP neural network of threshold value behind genetic algorithm optimization.After satisfying the network training error, training process is finished automatically.
Step 8: the GA-BP neural network that trains is passed through dsp chip, be cured in the hardware configuration of LCD display, realize LCD display color correction function.
Fig. 4 is the comparison diagram of value of chromatism before and after proofreading and correct, and horizontal ordinate is the part sample of choosing, and ordinate is value of chromatism.By experimental results show that algorithm of the present invention has good correcting feature to the LCD image color.
Simulation result shows that this algorithm ability of searching optimum is strong, and fast convergence rate has overcome the BP neural network and easily has been absorbed in local minimum defective, has shown feasibility and the validity of the method.
Claims (1)
1. a LCD colour cast correcting method is characterized in that, comprises the steps:
Step 1 take red, green and blueness as establishment of coordinate system RGB three-dimensional color space, and is chosen training sample in this space;
Step 2 is chosen the output calibration value that a standard screen is used for obtaining the BP neural network, selects the input value that a screen to be calibrated is used for obtaining the BP neural network else;
Step 3 is exported training sample through screen to be calibrated, use 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 through the output of standard screen, uses digital camera to obtain its RGB three-dimensional color space RGB color space value V ' training sample
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 the BP neural network, adopts to have the BP neural network of three input neurons, three output neurons and five intrerneurons;
Step 6 is optimized with initial weight and the threshold value of genetic algorithm to the BP neural network; Acquisition has the BP neural network of optimum weights and threshold value;
Step 7, training BP neural network: with 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 to the BP neural network that trains in the hardware configuration of LCD display, realizes LCD display color correction function.
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 true CN103354073A (en) | 2013-10-16 |
CN103354073B 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) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106990933A (en) * | 2017-04-07 | 2017-07-28 | 深圳市帝晶光电科技有限公司 | A kind of LCM chromaticity coordinates Design Centering algorithm and management-control method |
CN109084897A (en) * | 2017-06-14 | 2018-12-25 | 深圳市国显科技有限公司 | A kind of LED light chromaticity coordinates center value calculating method |
CN113159324A (en) * | 2021-02-26 | 2021-07-23 | 山东英信计算机技术有限公司 | Quantum equipment calibration method, device, equipment and medium |
CN115064131A (en) * | 2022-08-04 | 2022-09-16 | 合肥市航嘉显示科技有限公司 | Display backlight control system capable of monitoring picture for display |
WO2024000473A1 (en) * | 2022-06-30 | 2024-01-04 | 京东方科技集团股份有限公司 | Color correction model generation method, correction method and apparatus, and medium and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5140530A (en) * | 1989-03-28 | 1992-08-18 | Honeywell Inc. | Genetic algorithm synthesis of neural networks |
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 |
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 |
-
2013
- 2013-06-13 CN CN201310233247.3A patent/CN103354073B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5140530A (en) * | 1989-03-28 | 1992-08-18 | Honeywell Inc. | Genetic algorithm synthesis of neural networks |
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 |
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)
Title |
---|
张继艳,熊飞兵: "人工神经网络法LCD色度特性化研究", 《激光与红外》 * |
李小东,陈喻,张传香: "基于BP神经网络法的扫描仪的色空间转换分析", 《湖南工业大学学报》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106990933A (en) * | 2017-04-07 | 2017-07-28 | 深圳市帝晶光电科技有限公司 | A kind of LCM chromaticity coordinates Design Centering algorithm and management-control method |
CN106990933B (en) * | 2017-04-07 | 2019-12-13 | 深圳市帝晶光电科技有限公司 | LCM color coordinate center value design algorithm and control method |
CN109084897A (en) * | 2017-06-14 | 2018-12-25 | 深圳市国显科技有限公司 | A kind of LED light chromaticity coordinates center value calculating method |
CN113159324A (en) * | 2021-02-26 | 2021-07-23 | 山东英信计算机技术有限公司 | Quantum equipment calibration method, device, equipment and medium |
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 |
CN115064131A (en) * | 2022-08-04 | 2022-09-16 | 合肥市航嘉显示科技有限公司 | Display backlight control system capable of monitoring picture for display |
Also Published As
Publication number | Publication date |
---|---|
CN103354073B (en) | 2016-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105046277B (en) | Robust mechanism study method of the feature significance in image quality evaluation | |
CN108710831B (en) | Small data set face recognition algorithm based on machine vision | |
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 | |
CN104077595B (en) | Deep learning network image recognition methods based on Bayesian regularization | |
CN108090902A (en) | A kind of non-reference picture assessment method for encoding quality based on multiple dimensioned generation confrontation network | |
CN106991666B (en) | A kind of disease geo-radar image recognition methods suitable for more size pictorial informations | |
CN109584290A (en) | A kind of three-dimensional image matching method based on convolutional neural networks | |
CN111681178B (en) | Knowledge distillation-based image defogging method | |
CN110349185B (en) | RGBT target tracking model training method and device | |
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 | |
CN105678248A (en) | Face key point alignment algorithm based on deep learning | |
CN106529574A (en) | Image classification method based on sparse automatic encoder and support vector machine | |
CN105550649A (en) | Extremely low resolution human face recognition method and system based on unity coupling local constraint expression | |
CN108776835A (en) | A kind of deep neural network training method | |
CN110334645A (en) | A kind of moon impact crater recognition methods based on deep learning | |
CN106777402A (en) | A kind of image retrieval text method based on sparse neural network | |
CN112054943A (en) | Traffic prediction method for mobile network base station | |
CN114398976A (en) | Machine reading understanding method based on BERT and gate control type attention enhancement network | |
CN110245602A (en) | A kind of underwater quiet target identification method based on depth convolution feature | |
CN106127234A (en) | The non-reference picture quality appraisement method of feature based dictionary | |
CN103077408A (en) | Method for converting seabed sonar image into acoustic substrate classification based on wavelet neutral network | |
CN106203373A (en) | A kind of human face in-vivo detection method based on deep vision word bag model |
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 |
Granted publication date: 20160120 Termination date: 20180613 |
|
CF01 | Termination of patent right due to non-payment of annual fee |