CN105681782B - Color temperature sensor calibration method and relevant apparatus - Google Patents
Color temperature sensor calibration method and relevant apparatus Download PDFInfo
- Publication number
- CN105681782B CN105681782B CN201610019464.6A CN201610019464A CN105681782B CN 105681782 B CN105681782 B CN 105681782B CN 201610019464 A CN201610019464 A CN 201610019464A CN 105681782 B CN105681782 B CN 105681782B
- Authority
- CN
- China
- Prior art keywords
- temperature value
- standard sources
- color temperature
- reference colour
- colour temperature
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000012360 testing method Methods 0.000 claims abstract description 210
- 230000008569 process Effects 0.000 claims abstract description 19
- 230000006870 function Effects 0.000 claims description 23
- 238000012937 correction Methods 0.000 claims description 17
- 238000009434 installation Methods 0.000 claims description 14
- 238000012886 linear function Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 230000007246 mechanism Effects 0.000 description 6
- 238000013507 mapping Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
-
- 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
- H04N23/84—Camera processing pipelines; Components thereof for processing colour signals
- H04N23/88—Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Radiation Pyrometers (AREA)
- Spectrometry And Color Measurement (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The embodiment of the invention discloses color temperature sensor calibration method and relevant apparatus.In color temperature sensor calibration method, after the colour temperature error obtained using calculating is corrected to the back noise of color temperature sensor, color temperature sensor after being corrected using back noise, which to the color temperature value of P standard sources test, obtains P test color temperature value, and derive the functional relation y=f (x) that tests between color temperature value and reference colour temperature value using the reference colour temperature value of P test color temperature value and P standard sources, functional relation y=f (x) is used to correct for the color temperature value that the color temperature sensor of camera terminal is detected in camera terminal shooting process, technical scheme provided in an embodiment of the present invention is advantageously implemented carries out the more excellent calibration compared with science to the color temperature sensor of camera terminal.
Description
Technical field
The present invention relates to shooting shooting technology field, and in particular to a kind of color temperature sensor calibration method and related fills
Put.
Background technology
The camera terminals such as mobile phone, tablet phone and digital camera have become people's various daily neces saries, the work(of camera terminal
Can also increasingly powerful, user is frequently necessary to (such as be taken pictures or recorded to shoot using camera terminal among live and work
Picture) etc..
Color temperature sensor in camera terminal is as an aid in shooting, therefore the accuracy of the test colour temperature of color temperature sensor
There is considerable influence to shooting quality, but the factor such as structure and material of color temperature sensor may all influence the color of color temperature sensor
Warm test accuracy.Continuous improvement with user to shooting quality, the color temperature sensor progress calibration to camera terminal becomes
There is necessity.
The content of the invention
The embodiment of the present invention provides a kind of color temperature sensor calibration method and relevant apparatus, and the color to camera terminal can be achieved
Temperature sensor carries out more excellent calibration.
First aspect of the embodiment of the present invention provides a kind of color temperature sensor calibration method, including:
Carry out n times test to standard sources i color temperature value to obtain N number of test color using the color temperature sensor of camera terminal
Temperature value;Calculate the colour temperature error between the average of N number of test color temperature value and the reference colour temperature value of the standard sources i;
The back noise of the color temperature sensor is corrected using the colour temperature error;
The color temperature sensor after being corrected using back noise, which to the color temperature value of P standard sources test, obtains P
Color temperature value is tested, test color temperature value is derived using the reference colour temperature value of described P test color temperature value and the P standard sources
Functional relation y=f (x) between reference colour temperature value, one between the P reference colour temperature value and the P test color temperature value
One correspondence, wherein, the color temperature sensor that the functional relation y=f (x) is used to correct for the camera terminal is shot eventually described
The color temperature value detected in the shooting process of end, wherein, the x represents to test color temperature value, and the y represents reference colour temperature value, the P
It is the integer more than 1 with the N.
With reference in a first aspect, in the first possible embodiment of first aspect, test color temperature value j is to be made an uproar the bottom of using
The color temperature sensor after acoustic correction carries out k1 test color temperature value obtained from k1 test to standard sources k color temperature value
Average, wherein, the standard sources k be the P standard sources among any one, the test color temperature value j is institute
State the test color temperature value corresponding with the standard sources k among P test color temperature value.
With reference to the first possible embodiment of first aspect or first aspect, second in first aspect is possible
In embodiment, test color temperature value is derived using the reference colour temperature value of described P test color temperature value and the P standard sources
Functional relation y=f (x) between reference colour temperature value, including:
Described P test color temperature value is mapped in two-dimensional coordinate system to obtain P point, the x-axis of the two-dimensional coordinate system
Test color temperature value is represented, the y-axis of the two-dimensional coordinate system represents reference colour temperature value;The P point is fitted to be surveyed
Try line;Functional relation y=f (x) between test color temperature value and reference colour temperature value is derived based on the p-wire.
Second with reference to the first possible embodiment or first aspect of first aspect or first aspect is possible
Embodiment, in the third possible embodiment of first aspect, the functional relation y in the case where the P is equal to 2
=f (x) is specially linear function y=ax+b;Or the functional relation y=f (x) is specially song in the case where the P is equal to 3
Line function y=ax2+bx+c;The a, the b and the c are constant.
Second with reference to the first possible embodiment or first aspect of first aspect or first aspect can
The embodiment of energy or the third possible embodiment of first aspect, in the 4th kind of possible embodiment party of first aspect
In formula, the P standard sources and the standard sources i reference colour temperature value are different, or the P standard sources and institute
The affiliated color temperature levels of reference colour temperature value for stating standard sources i are different.
With reference to the 4th kind of possible embodiment of first aspect, in the 5th kind of possible embodiment of first aspect
In, the reference colour temperature value of the standard sources i is less than the standard color temperature of any one standard sources in the P standard sources
Value, or the standard sources i reference colour temperature value be more than the P standard sources in any one standard sources standard
Color temperature value;Or the affiliated color temperature levels of reference colour temperature value of the standard sources i are higher than any one in the P standard sources
The affiliated color temperature levels of reference colour temperature value of individual standard sources;Or the affiliated color temperature levels of reference colour temperature value of the standard sources i are low
The affiliated color temperature levels of reference colour temperature value of any one standard sources in the P standard sources;Or the standard sources i
The affiliated color temperature levels of reference colour temperature value higher than the P standard sources one of standard sources reference colour temperature value belonging to
Color temperature levels, and another mark of the affiliated color temperature levels of reference colour temperature value less than the P standard sources of the standard sources i
The affiliated color temperature levels of reference colour temperature value in quasi-optical source;Or the reference colour temperature value of the standard sources i is more than the P standard sources
In one of standard sources reference colour temperature value, and the standard sources i reference colour temperature value be less than the P standard light
The reference colour temperature value of another standard sources in source.
Second aspect of the present invention provides a kind of color temperature sensor calibrating installation, including:
Test cell, for the color temperature sensor using camera terminal standard sources i color temperature value is carried out n times test with
Obtain N number of test color temperature value;
Computing unit, for calculate N number of test color temperature value average and the standard sources i reference colour temperature value it
Between colour temperature error;
Back noise corrects unit, for being corrected using the colour temperature error to the back noise of the color temperature sensor;
The test cell is additionally operable to, color of the color temperature sensor after being corrected using back noise to P standard sources
Temperature value, which test, obtains P test color temperature value;
Function correction unit, is pushed away for the reference colour temperature value using described P test color temperature value and the P standard sources
Functional relation y=f (x) between export test color temperature value and reference colour temperature value, the P reference colour temperature value and described P survey
Try to correspond between color temperature value, wherein, the functional relation y=f (x) is used to correct for the colour temperature sensing of the camera terminal
The color temperature value that device is detected in the camera terminal shooting process, the x represents test color temperature value, and the y represents reference colour
Temperature value, the P and the N are the integer more than 1.
With reference to second aspect, in the first possible embodiment of second aspect, test color temperature value j is to be made an uproar the bottom of using
The color temperature sensor after acoustic correction carries out k1 test color temperature value obtained from k1 test to standard sources k color temperature value
Average, wherein, the standard sources k be the P standard sources among any one, the test color temperature value j is institute
State test color temperature value corresponding with the standard sources k among P test color temperature value.
With reference to the first possible embodiment of second aspect or second aspect, second in second aspect is possible
In embodiment,
The function correction unit is specifically for described P test color temperature value is mapped in two-dimensional coordinate system to obtain P
Individual, the x-axis of the two-dimensional coordinate system represents to test color temperature value, and the y-axis of the two-dimensional coordinate system represents reference colour temperature value;To institute
State P point to be fitted to obtain p-wire, the letter for obtaining testing between color temperature value and reference colour temperature value based on the p-wire
Number relation y=f (x).
Second with reference to the first possible embodiment or second aspect of second aspect or second aspect is possible
Embodiment, in the third possible embodiment of second aspect, the functional relation y in the case where the P is equal to 2
=f (x) is specially linear function y=ax+b;Or the functional relation y=f (x) is specially song in the case where the P is equal to 3
Line function y=ax2+bx+c;The a, the b and the c are constant.
Second with reference to the first possible embodiment or second aspect of second aspect or second aspect can
The embodiment of energy or the third possible embodiment of second aspect, in the 4th kind of possible embodiment party of second aspect
In formula, the P standard sources and the standard sources i reference colour temperature value are different, or the P standard sources and institute
The affiliated color temperature levels of reference colour temperature value for stating standard sources i are different.
With reference to the 4th kind of possible embodiment of second aspect, in the 5th kind of possible embodiment of second aspect
In, the reference colour temperature value of the standard sources i is less than the standard color temperature of any one standard sources in the P standard sources
Value, or the standard sources i reference colour temperature value be more than the P standard sources in any one standard sources reference colour
Temperature value;Or the affiliated color temperature levels of reference colour temperature value of the standard sources i are higher than any one mark in the P standard sources
The affiliated color temperature levels of reference colour temperature value in quasi-optical source;Or the affiliated color temperature levels of reference colour temperature value of the standard sources i are less than institute
State the affiliated color temperature levels of reference colour temperature value of any one standard sources in P standard sources;Or the mark of the standard sources i
Reference colour temperature value affiliated colour temperature of the quasi- affiliated color temperature levels of color temperature value higher than one of standard sources of the P standard sources
Grade, and another standard light of the affiliated color temperature levels of reference colour temperature value less than the P standard sources of the standard sources i
The affiliated color temperature levels of reference colour temperature value in source;Or the reference colour temperature value of the standard sources i is more than in the P standard sources
The reference colour temperature value of one of standard sources, and the standard sources i reference colour temperature value be less than the P standard sources in
Another standard sources reference colour temperature value.
Third aspect present invention provides a kind of camera terminal, including:
Color temperature sensor calibrating installation and color temperature sensor,
Wherein, any one color temperature sensor calibration cartridge that the color temperature sensor calibrating installation can provide for second aspect
Put.
Fourth aspect present invention provides a kind of camera terminal, including:Camera, color temperature sensor, processor and memory,
The camera, the processor, the color temperature sensor and the memory are coupled by bus and interconnected;
Wherein, by performing code or instruction in the memory, the processor is used to perform first aspect offer
Any one color temperature sensor calibration method.
As can be seen that in the scheme of the present embodiment, being made an uproar in the colour temperature error obtained using calculating to the bottom of color temperature sensor
After sound is corrected, the color temperature sensor after being corrected using back noise test obtaining P to the color temperature value of P standard sources
Individual test color temperature value, and derive test color temperature value and mark using the reference colour temperature value of P test color temperature value and P standard sources
The color temperature sensor that functional relation y=f (x) between quasi- color temperature value, functional relation y=f (x) are used to correct for camera terminal exists
The color temperature value detected in camera terminal shooting process, because the functional relation y=f (x) derived has suitable universality,
By put into practice find, based on above-mentioned correction mechanism can preferably correcting captured terminal color temperature sensor camera terminal shooting
During the color temperature value that detects, be advantageously implemented and the more excellent calibration compared with science carried out to the color temperature sensor of camera terminal.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention
Embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also be attached according to these
Figure obtains other accompanying drawings.
Fig. 1-a are a kind of schematic flow sheets of color temperature sensor calibration method provided in an embodiment of the present invention;
Fig. 1-b are a kind of schematic diagrames of p-wire mapping provided in an embodiment of the present invention;
Fig. 1-c are the schematic diagrames of another p-wire mapping provided in an embodiment of the present invention;
Fig. 1-d are the schematic diagrames of another p-wire mapping provided in an embodiment of the present invention;
Fig. 1-e are the schematic diagrames of another p-wire mapping provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another color temperature sensor calibration method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another color temperature sensor calibration method provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of color temperature sensor calibrating installation provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation for camera terminal that the present invention is provided;
Fig. 6 is the structural representation for another camera terminal that the present invention is provided.
Embodiment
The embodiment of the present invention provides a kind of color temperature sensor calibration method and relevant apparatus, and the color to camera terminal can be achieved
Temperature sensor carries out more excellent calibration.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model that the present invention is protected
Enclose.
Term term " comprising " and their any changes in description and claims of this specification and above-mentioned accompanying drawing
Shape, it is intended that covering is non-exclusive to be included.For example contain the process or method, system, product of series of steps or unit
Or equipment is the step of be not limited to list or unit, but the step of alternatively also include not listing or unit, or can
Selection of land is also included for the intrinsic other steps of these processes, method, product or equipment or unit.In addition, " first ", " second "
" 3rd " etc. is to be used to distinguish different objects, not for description particular order.
Fig. 1-a are referred to, Fig. 1-a are a kind of stream for color temperature sensor calibration method that one embodiment of the present of invention is provided
Journey schematic diagram.Wherein, as shown in Fig. 1-a, a kind of color temperature sensor calibration method that one embodiment of the present of invention is provided can be with
Including herein below:
101st, carry out n times test to standard sources i color temperature value to obtain N number of survey using the color temperature sensor of camera terminal
Try color temperature value.
Wherein, the N is the integer more than or equal to 2.
For example, N can for example be equal to 2,3,5,7,8,10,21,29,36,50,101 or other values.
102nd, the colour temperature between the average of N number of test color temperature value and the reference colour temperature value of the standard sources i is calculated
Error (offset).
103rd, the back noise of the color temperature sensor is corrected using the colour temperature error.
104th, the color temperature sensor after being corrected using back noise is tested the color temperature value of P standard sources
P test color temperature value.Wherein, corresponded between the P reference colour temperature value and the P test color temperature value.
105th, test colour temperature is derived using the reference colour temperature value of described P test color temperature value and the P standard sources
Functional relation y=f (x) between value and reference colour temperature value.
Wherein, the functional relation y=f (x) is used to correct for the color temperature sensor of the camera terminal in the shooting
The color temperature value detected during terminal taking, the x represents test color temperature value, and the y represents reference colour temperature value.
Wherein, the P is the integer more than or equal to 2.
For example, P can for example be equal to 2,3,5,7,8,4,10,21,29,36,41 or other values.
Optionally, test color temperature value j is colour temperature of the color temperature sensor after being corrected using back noise to standard sources k
Value carries out the average of k1 test color temperature value obtained from k1 test, wherein, the standard sources k is the P standard light
Any one among source, the test color temperature value j be described P test among color temperature value it is corresponding with the standard sources k
Test color temperature value.
Optionally, in some possible embodiments of the present invention, described P test color temperature value and the P are utilized
The reference colour temperature value of standard sources derives the functional relation y=f (x) between test color temperature value and reference colour temperature value, can wrap
Include:Described P test color temperature value is mapped in two-dimensional coordinate system to obtain P point, the x-axis of the two-dimensional coordinate system represents to survey
Color temperature value is tried, the y-axis of the two-dimensional coordinate system represents reference colour temperature value;The P point is fitted to obtain p-wire;Base
The functional relation y=f (x) between test color temperature value and reference colour temperature value is derived in the p-wire.
Wherein, it is exemplified referring to Fig. 1-e, Fig. 1-b, Fig. 1-c and Fig. 1-d, Fig. 1-e, Fig. 1-b, Fig. 1-c and Fig. 1-d
Several possible p-wires fitted.Certainly, the p-wire fitted is likely not limited to the citing in above-mentioned accompanying drawing.
Optionally, in some possible embodiments of the present invention, in the case where the P is equal to 2, the function is closed
It is that y=f (x) is specially linear function y=ax+b;Or the functional relation y=f (x) is specific in the case where the P is equal to 3
For curvilinear function y=ax2+bx+c;The a, the b and the c are constant.
Furthermore, it is possible to which default function relation y=f (x) is specially linear function y=ax+b;Or can be with default function relation y
=f (x) is specially curvilinear function y=ax2+bx+c.P test color temperature value and the P can be directly utilized under this scene
Standard sources (refreshing can omit following steps to ask for described a, b and c under this scene:P test color temperature value is mapped to two dimension
To obtain P point in coordinate system, the P point is fitted to obtain p-wire;Test is derived based on the p-wire
Functional relation y=f (x) between color temperature value and reference colour temperature value).After a, b and c is asked for, y=f (x) tool just can determine that
Body functional relation.
Optionally, in some possible embodiments of the present invention, the P standard sources and the standard sources i
Reference colour temperature value it is different, or the P standard sources and the standard sources i the affiliated color temperature levels of reference colour temperature value
It is different.
Optionally, in some possible embodiments of the present invention, the reference colour temperature value of the standard sources i is less than institute
State the reference colour temperature value of any one standard sources in P standard sources, or the reference colour temperature value of the standard sources i is big
The reference colour temperature value of any one standard sources in the P standard sources;Or the standard color temperature of the standard sources i
Color temperature levels are higher than affiliated colour temperature of reference colour temperature value of any one standard sources in the P standard sources etc. belonging to value
Level;Or the affiliated color temperature levels of reference colour temperature value of the standard sources i are less than any one standard in the P standard sources
The affiliated color temperature levels of reference colour temperature value of light source;Or the affiliated color temperature levels of reference colour temperature value of the standard sources i are higher than the P
The affiliated color temperature levels of reference colour temperature value of one of standard sources of individual standard sources, and the reference colour of the standard sources i
Reference colour temperature value affiliated color temperature levels of the affiliated color temperature levels of temperature value less than another standard sources of the P standard sources;
Or the reference colour temperature value of the standard sources i is more than the standard color temperature of one of standard sources in the P standard sources
Value, and standard color temperature of the reference colour temperature value less than another standard sources in the P standard sources of the standard sources i
Value.
As can be seen that in the scheme of the present embodiment, being made an uproar in the colour temperature error obtained using calculating to the bottom of color temperature sensor
After sound is corrected, the color temperature sensor after being corrected using back noise test obtaining P to the color temperature value of P standard sources
Individual test color temperature value, and derive test color temperature value and mark using the reference colour temperature value of P test color temperature value and P standard sources
The color temperature sensor that functional relation y=f (x) between quasi- color temperature value, functional relation y=f (x) are used to correct for camera terminal exists
The color temperature value detected in camera terminal shooting process, because the functional relation y=f (x) derived has suitable universality,
By put into practice find, based on above-mentioned correction mechanism can preferably correcting captured terminal color temperature sensor camera terminal shooting
During the color temperature value that detects, be advantageously implemented and the more excellent calibration compared with science carried out to the color temperature sensor of camera terminal.
Referring to Fig. 2, Fig. 2 is a kind of flow for color temperature sensor calibration method that an alternative embodiment of the invention is provided
Schematic diagram.Wherein, as shown in Fig. 2 a kind of color temperature sensor calibration method that an alternative embodiment of the invention is provided can be wrapped
Include herein below:
201st, n times are carried out to the color temperature value of A grades of standard sources using the color temperature sensor of camera terminal and tests N number of to obtain
Test color temperature value.
Wherein, the N is the integer more than or equal to 2.
For example, N can for example be equal to 2,3,5,7,8,10,21,29,36,50,101 or other values.
202nd, the color between the average of N number of test color temperature value and the reference colour temperature value of the A grades of standard sources is calculated
Warm error.
203rd, the back noise of the color temperature sensor is corrected using the colour temperature error.
204th, the color temperature sensor after being corrected using back noise carries out k1 test to the color temperature value of B grades of standard sources
K1 test color temperature value is obtained, asking for processing to k1 test color temperature value progress average obtains test color temperature value b1.
Wherein, the k1 is the integer more than or equal to 2.
For example, k1 can for example be equal to 2,3,5,7,8,10,20,29,36,50,101 or other values.
205th, the color temperature sensor after being corrected using back noise carries out k2 test to the color temperature value of C grades of standard sources
K2 test color temperature value is obtained, asking for processing to k2 test color temperature value progress average obtains test color temperature value c1.
Wherein, the k2 is the integer more than or equal to 2.
For example, k2 can for example be equal to 2,3,5,7,8,10,20,28,36,50,101 or other values.
206th, marked using testing color temperature value c1, test color temperature value b1, the reference colour temperature value of the B grade standard sources and C grades
The reference colour temperature value in quasi-optical source, derives the functional relation y=ax+b between test color temperature value and reference colour temperature value.
Wherein, the functional relation y=ax+b is used to correct for the color temperature sensor of the camera terminal in the shooting
The color temperature value detected during terminal taking, the x represents test color temperature value, and the y represents reference colour temperature value.
Because the unknown number in functional relation y=ax+b is a and b, thus will test color temperature value c1, test color temperature value b1,
The reference colour temperature value of the reference colour temperature value of the B grades of standard sources and C grades of standard sources, which is brought into, can try to achieve a in y=ax+b
And b.
For example, it is assumed that the reference colour temperature value of B grades of standard sources is 600k, the corresponding test color temperature value b1 of B grades of standard sources
Equal to 620k, the reference colour temperature value of C grades of standard sources is 6000k, and the corresponding test color temperature value C1 of C grades of standard sources is equal to
6500k, then, these data, which are brought into y=ax+b, can try to achieve a equal to 0.918, b equal to 30.84, i.e. y=
0.918x+30.84, by that analogy.
Optionally, in some possible embodiments of the present invention, A grades of standard sources, B grades of standard sources and C grades of marks
The affiliated color temperature levels of reference colour temperature value in quasi-optical source are different, the affiliated color temperature levels of reference colour temperature value of A grades of standard sources, can
The affiliated color temperature levels of reference colour temperature value of B grades of standard sources and C grades of standard sources can be less than.Or, the standard of A grades of standard sources
The affiliated color temperature levels of color temperature value, could possibly be higher than the affiliated color temperature levels of reference colour temperature value of B grades of standard sources and C grades of standard sources.
Or, the affiliated color temperature levels of reference colour temperature value of A grades of standard sources, belonging to the reference colour temperature value for being likely lower than B grades of standard sources
Color temperature levels, but it is above the affiliated color temperature levels of reference colour temperature value of C grades of standard sources.
The span of the reference colour temperature value of such as A grades of standard sources can for [0k, 500k), the mark of B grades of standard sources
The span of quasi- color temperature value can for [500k, 5000k), the span of the reference colour temperature value of C grades of standard sources can be
[5000k, 10000k), it is certainly not limited to the example above.
As can be seen that in the scheme of the present embodiment, being made an uproar in the colour temperature error obtained using calculating to the bottom of color temperature sensor
After sound is corrected, the color temperature sensor after being corrected using back noise test obtaining 2 to the color temperature value of 2 standard sources
Individual test color temperature value, and derive test color temperature value and mark using the reference colour temperature value of 2 test color temperature values and 2 standard sources
The color temperature sensor that functional relation y=f (x) between quasi- color temperature value, functional relation y=f (x) are used to correct for camera terminal exists
The color temperature value detected in camera terminal shooting process, because the functional relation y=f (x) derived has suitable universality,
By put into practice find, based on above-mentioned correction mechanism can preferably correcting captured terminal color temperature sensor camera terminal shooting
During the color temperature value that detects, be advantageously implemented and the more excellent calibration compared with science carried out to the color temperature sensor of camera terminal.
Referring to Fig. 3, Fig. 3 is a kind of flow for color temperature sensor calibration method that an alternative embodiment of the invention is provided
Schematic diagram.Wherein, as shown in figure 3, a kind of color temperature sensor calibration method that an alternative embodiment of the invention is provided can be wrapped
Include herein below:
301st, n times are carried out to the color temperature value of A grades of standard sources using the color temperature sensor of camera terminal and tests N number of to obtain
Test color temperature value.
Wherein, the N is the integer more than or equal to 2.
For example, N can for example be equal to 2,3,5,7,8,10,21,29,36,50,101 or other values.
302nd, the color between the average of N number of test color temperature value and the reference colour temperature value of the A grades of standard sources is calculated
Warm error.
303rd, the back noise of the color temperature sensor is corrected using the colour temperature error.
304th, the color temperature sensor after being corrected using back noise carries out k1 test to the color temperature value of B grades of standard sources
K1 test color temperature value is obtained, asking for processing to k1 test color temperature value progress average obtains test color temperature value b1.
Wherein, the k1 is the integer more than or equal to 2.
For example, k1 can for example be equal to 2,3,5,7,8,10,20,29,35,50,101 or other values.
305th, the color temperature sensor after being corrected using back noise carries out k2 test to the color temperature value of C grades of standard sources
K2 test color temperature value is obtained, asking for processing to k2 test color temperature value progress average obtains test color temperature value c1.
Wherein, the k2 is the integer more than or equal to 2.
For example, k2 can for example be equal to 2,3,5,7,8,10,20,29,35,51,101 or other values.
306th, the color temperature sensor after being corrected using back noise carries out k3 test to the color temperature value of D grades of standard sources
K3 test color temperature value is obtained, asking for processing to k3 test color temperature value progress average obtains test color temperature value d1.
Wherein, the k3 is the integer more than or equal to 2.
For example, k3 can for example be equal to 2,3,5,7,8,10,20,29,35,50,100 or other values.
307th, using test color temperature value c1, test color temperature value b1, test color temperature value d1, the B grades of standard sources standard
The reference colour temperature value of the reference colour temperature value of color temperature value, C grade standard sources and D grades of standard sources, derive test color temperature value and
Functional relation y=ax between reference colour temperature value2+bx+c。
The functional relation y=ax2The color temperature sensor that+bx+c is used to correct for the camera terminal is shot eventually described
The color temperature value detected in the shooting process of end, the x represents test color temperature value, and the y represents reference colour temperature value.
Due to functional relation y=ax2Unknown number in+bx+c is a, b and c, therefore will test color temperature value c1, test colour temperature
Value b1, test color temperature value d1, the reference colour temperature value of the B grade standard sources, the reference colour temperature value of C grades of standard sources and D grades are marked
The reference colour temperature value in quasi-optical source brings y=ax into2A, b and c can be tried to achieve among+bx+c.
Optionally, in some possible embodiments of the present invention, A grades of standard sources, B grades of standard sources and C grades of marks
The affiliated color temperature levels of reference colour temperature value in quasi-optical source are different.Such as the affiliated colour temperature of reference colour temperature value of A grades of standard sources
Level, is likely lower than the affiliated color temperature levels of reference colour temperature value of B grades of standard sources, C grades of standard sources and D grades of standard sources.Or,
The affiliated color temperature levels of reference colour temperature value of A grades of standard sources, could possibly be higher than B grades of standard sources, C grades of standard sources and D grades of standards
The affiliated color temperature levels of reference colour temperature value of light source.Or, the affiliated color temperature levels of reference colour temperature value of A grades of standard sources may be low
In the affiliated color temperature levels of reference colour temperature value of B grades of standard sources, but it is above the affiliated colour temperature of reference colour temperature value of C grades of standard sources
Grade.
For example, the span of the reference colour temperature value of A grades of standard sources can for [0k, 500k), B grades of standard sources
The span of reference colour temperature value can for [500k, 2000k), the span of the reference colour temperature value of C grades of standard sources can be
[2000k, 5000k), the span of the reference colour temperature value of D grades of standard sources can for [5000k, 10000k) etc., certainly simultaneously
It is not limited to the example above.
As can be seen that in the scheme of the present embodiment, being made an uproar in the colour temperature error obtained using calculating to the bottom of color temperature sensor
After sound is corrected, the color temperature sensor after being corrected using back noise test obtaining 3 to the color temperature value of 3 standard sources
Individual test color temperature value, and derive test color temperature value and mark using the reference colour temperature value of 3 test color temperature values and 3 standard sources
The color temperature sensor that functional relation y=f (x) between quasi- color temperature value, functional relation y=f (x) are used to correct for camera terminal exists
The color temperature value detected among camera terminal shooting process, because the functional relation y=f (x) derived has quite pervasive
Property, by put into practice find, based on above-mentioned correction mechanism can preferably correcting captured terminal color temperature sensor in camera terminal
The color temperature value detected in shooting process, is advantageously implemented and carries out the more excellent school compared with science to the color temperature sensor of camera terminal
It is accurate.
Referring to Fig. 4, the embodiment of the present invention also provides a kind of color temperature sensor calibrating installation 400, including:
Test cell 410, n times survey is carried out for the color temperature sensor using camera terminal to standard sources i color temperature value
Try to obtain N number of test color temperature value.
Computing unit 420, average and the standard color temperature of the standard sources i for calculating N number of test color temperature value
Colour temperature error between value.
Back noise corrects unit 430, for carrying out school to the back noise of the color temperature sensor using the colour temperature error
Just.
The test cell 410 is additionally operable to, and the color temperature sensor after being corrected using back noise is to P standard sources
Color temperature value, which test, obtains P test color temperature value.
Function correction unit 440, for the standard color temperature using described P test color temperature value and the P standard sources
Value derives the functional relation y=f (x) between test color temperature value and reference colour temperature value, the P reference colour temperature value and the P
Corresponded between individual test color temperature value.
Wherein, the functional relation y=f (x) is used to correct for the color temperature sensor of the camera terminal in the shooting
The color temperature value detected during terminal taking, the x represents to test color temperature value, and the y represents reference colour temperature value, the P and
The N is the integer more than 1.
Optionally, in some possible embodiments of the present invention, test color temperature value j is using after back noise correction
The color temperature sensor carries out the average of k1 test color temperature value obtained from k1 test to standard sources k color temperature value, its
In, the standard sources k is any one among the P standard sources, and the test color temperature value j is described P test
Test color temperature value corresponding with the standard sources k among color temperature value.
Optionally, in some possible embodiments of the present invention, the function correction unit 440 can be specifically for,
Described P test color temperature value is mapped in two-dimensional coordinate system to obtain P point, the x-axis of the two-dimensional coordinate system represents test
Color temperature value, the y-axis of the two-dimensional coordinate system represents reference colour temperature value;The P point is fitted to obtain p-wire, is based on
The p-wire obtains the functional relation y=f (x) tested between color temperature value and reference colour temperature value.
Optionally, in some possible embodiments of the present invention, in the case where the P is equal to 2, the function is closed
It is that y=f (x) is specially linear function y=ax+b;Or the functional relation y=f (x) is specific in the case where the P is equal to 3
For curvilinear function y=ax2+bx+c;The a, the b and the c are constant.
Optionally, in some possible embodiments of the present invention, the P standard sources and the standard sources i
Reference colour temperature value it is different, or the P standard sources and the standard sources i the affiliated color temperature levels of reference colour temperature value
It is different.
Optionally, among some possible embodiments of the present invention, the reference colour temperature value of the standard sources i is less than
The reference colour temperature value of any one standard sources in the P standard sources, or the reference colour temperature value of the standard sources i are big
The reference colour temperature value of any one standard sources in the P standard sources;Or the reference colour temperature value of the standard sources i
Affiliated color temperature levels are higher than the affiliated color temperature levels of reference colour temperature value of any one standard sources in the P standard sources;
Or the affiliated color temperature levels of reference colour temperature value of the standard sources i are less than any one standard light in the P standard sources
The affiliated color temperature levels of reference colour temperature value in source;Or the affiliated color temperature levels of reference colour temperature value of the standard sources i are higher than the P
The affiliated color temperature levels of reference colour temperature value of one of standard sources of standard sources, and the standard color temperature of the standard sources i
Reference colour temperature value affiliated color temperature levels of the color temperature levels less than another standard sources of the P standard sources belonging to value;Or
The reference colour temperature value of the standard sources i is more than the reference colour temperature value of one of standard sources in the P standard sources,
And the reference colour temperature value of the standard sources i is less than the reference colour temperature value of another standard sources in the P standard sources.
It is understood that the function of each functional module of the color temperature sensor calibrating installation 400 of the present embodiment can basis
Method in above method embodiment is implemented, and it, which implements process and is referred to the correlation of above method embodiment, retouches
State, here is omitted.
As can be seen that in the scheme of the present embodiment, color temperature sensor calibrating installation 400 is missed in the colour temperature obtained using calculating
After difference is corrected to the back noise of color temperature sensor, the color temperature sensor after being corrected using back noise is to P standard sources
Color temperature value test and obtain P test color temperature value, and utilize the P standard color temperature for testing color temperature value and P standard sources
Value derives that the functional relation y=f (x) between test color temperature value and reference colour temperature value, functional relation y=f (x) are used to correct for
The color temperature value that the color temperature sensor of camera terminal is detected in camera terminal shooting process, due to the functional relation y derived
=f (x) has suitable universality, is found by putting into practice, can preferably correcting captured terminal based on above-mentioned correction mechanism
The color temperature value that color temperature sensor is detected in camera terminal shooting process, is advantageously implemented the color temperature sensor to camera terminal
Carry out the more excellent calibration compared with science.
Referring to Fig. 5, the embodiment of the present invention also provides a kind of camera terminal 500, it may include:
Color temperature sensor calibrating installation 510 and color temperature sensor 520.
Wherein, any one color temperature sensor that the color temperature sensor calibrating installation provides for the above embodiment of the present invention
Calibrating installation.
Referring to Fig. 6, the embodiment of the present invention also provides a kind of camera terminal 600, including:
Camera 610, color temperature sensor 620, processor 630 and memory 640,
Wherein, the camera 610, color temperature sensor 620, processor 630 and memory 640 are coupled by bus 650
Interconnection.
Wherein, memory 640 can include read-only storage and random access memory, and refer to the offer of processor 630
Order and data.In addition, a part of of memory 640 can also include nonvolatile RAM.
The operation of the major control camera terminal 600 of processor 630, wherein, it is single that processor 630 can also be referred to as center processing
First (CPU, Central Processing Unit).Memory 640 can include read-only storage and random access memory,
And provide instruction and data to processor 630.The a part of of memory 640 can also include nonvolatile RAM
(NVRAM).In specific application, each component of camera terminal 600 is coupled by bus 650, wherein, bus
650 in addition to including data/address bus, can also include power bus, controlling bus and status signal bus in addition etc..But in order to clear
For the sake of Chu's explanation, various buses are all designated as bus 650 in figure.
The method that the embodiments of the present invention are disclosed can apply in processor 630, or be realized by processor 630.
Processor 630 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 630 or the instruction of software form.Wherein, it is above-mentioned
Processor 630 can be general processor, digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made programmable gate
Array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware components.Can be real
Now or perform the embodiment of the present invention in disclosed each method, step and logic diagram.General processor can be microprocessor
Device or the processor can also be any conventional processors etc..The step of method with reference to disclosed in the embodiment of the present invention, can
Completion is performed to be embodied directly in hardware decoding processor, or has been performed with the hardware in decoding processor and software module combination
Into.Software module can be located at random access memory, and flash memory, read-only storage, programmable read only memory or electrically-erasable can be compiled
In the ripe storage medium in this areas such as journey memory, register.Wherein, the storage medium is located at memory 640, for example, handle
Information in the readable access to memory 640 of device 630, the step of completing the above method with reference to its hardware.
Wherein, by performing code or instruction in the memory, the processor 630 is above-mentioned for performing the present invention
Any one color temperature sensor calibration method that embodiment is provided.
Specifically, processor 630 can be used for, standard sources i color temperature value is entered using the color temperature sensor of camera terminal
Row n times test to obtain N number of test color temperature value;Calculate the average and the standard of the standard sources i of N number of test color temperature value
Colour temperature error between color temperature value;
The back noise of the color temperature sensor is corrected using the colour temperature error;
The color temperature sensor after being corrected using back noise, which to the color temperature value of P standard sources test, obtains P
Color temperature value is tested, test color temperature value is derived using the reference colour temperature value of described P test color temperature value and the P standard sources
Functional relation y=f (x) between reference colour temperature value, one between the P reference colour temperature value and the P test color temperature value
One correspondence, wherein, the color temperature sensor that the functional relation y=f (x) is used to correct for the camera terminal is shot eventually described
The color temperature value detected in the shooting process of end, wherein, the x represents to test color temperature value, and the y represents reference colour temperature value, the P
It is the integer more than 1 with the N.
Optionally, among some possible embodiments of the present invention, test color temperature value j is using after back noise correction
The color temperature sensor k1 test is carried out to standard sources k color temperature value obtained from k1 test color temperature value average,
Wherein, the standard sources k is any one among the P standard sources, and the test color temperature value j is described P survey
Try the test color temperature value corresponding with the standard sources k among color temperature value.
Optionally, among some possible embodiments of the present invention, processor 630 utilizes described P test colour temperature
The reference colour temperature value of value and the P standard sources derives the functional relation y=f between test color temperature value and reference colour temperature value
(x), including:
Described P test color temperature value is mapped in two-dimensional coordinate system to obtain P point, the x-axis of the two-dimensional coordinate system
Test color temperature value is represented, the y-axis of the two-dimensional coordinate system represents reference colour temperature value;The P point is fitted to be surveyed
Try line;Functional relation y=f (x) between test color temperature value and reference colour temperature value is derived based on the p-wire.
Optionally, among some possible embodiments of the present invention, the function in the case where the P is equal to 2
Relation y=f (x) is specially linear function y=ax+b;Or the functional relation y=f (x) has in the case where the P is equal to 3
Body is curvilinear function y=ax2+bx+c;The a, the b and the c are constant.
Optionally, among some possible embodiments of the present invention, the P standard sources and the standard sources
I reference colour temperature value is different, or the P standard sources and the affiliated colour temperature of reference colour temperature value of the standard sources i etc.
Level is different.
Optionally, among some possible embodiments of the present invention, the reference colour temperature value of the standard sources i is less than
The reference colour temperature value of any one standard sources in the P standard sources, or the standard sources i reference colour temperature value
More than the reference colour temperature value of any one standard sources in the P standard sources;Or the reference colour of the standard sources i
The affiliated color temperature levels of temperature value are higher than affiliated colour temperature of reference colour temperature value of any one standard sources in the P standard sources etc.
Level;Or the affiliated color temperature levels of reference colour temperature value of the standard sources i are less than any one standard in the P standard sources
The affiliated color temperature levels of reference colour temperature value of light source;Or the affiliated color temperature levels of reference colour temperature value of the standard sources i are higher than the P
The affiliated color temperature levels of reference colour temperature value of one of standard sources of individual standard sources, and the reference colour of the standard sources i
Reference colour temperature value affiliated color temperature levels of the affiliated color temperature levels of temperature value less than another standard sources of the P standard sources;
Or the reference colour temperature value of the standard sources i is more than the standard color temperature of one of standard sources in the P standard sources
Value, and standard color temperature of the reference colour temperature value less than another standard sources in the P standard sources of the standard sources i
Value.
It is understood that the function of each functional module of the camera terminal 600 of the present embodiment can be real according to the above method
The method applied in example is implemented, and it implements the associated description that process is referred to above method embodiment, herein no longer
Repeat.
As can be seen that the present embodiment camera terminal 600 is at bottom of the colour temperature error obtained using calculating to color temperature sensor
After noise is corrected, the color temperature sensor after being corrected using back noise to the color temperature value of P standard sources test
To P test color temperature value, and test color temperature value is derived using the reference colour temperature value of P test color temperature value and P standard sources
Functional relation y=f (x) between reference colour temperature value, functional relation y=f (x) are used to correct for the colour temperature sensing of camera terminal
The color temperature value that device is detected in camera terminal shooting process, wherein, because the functional relation y=f (x) derived has quite
Universality, by put into practice find, based on above-mentioned correction mechanism can preferably correcting captured terminal color temperature sensor bat
The color temperature value detected during terminal taking is taken the photograph, the color temperature sensor progress being advantageously implemented to camera terminal is more excellent compared with section
Calibration.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey
Sequence, the part or full when the program is performed including any color temperature sensor calibration method described in above method embodiment
Portion's step.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
, can be by another way in several embodiments provided herein, it should be understood that disclosed device
Realize.For example, device embodiment described above is only schematical, such as the division of described unit is only one kind
Division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
Equipment (can for personal computer, server or network equipment etc.) perform each embodiment methods described of the invention whole or
Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes
Medium.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the scope of various embodiments of the present invention technical scheme.
Claims (21)
1. a kind of color temperature sensor calibration method, it is characterised in that including:
Carry out n times test to standard sources i color temperature value to obtain N number of test colour temperature using the color temperature sensor of camera terminal
Value;Calculate the colour temperature error between the average of N number of test color temperature value and the reference colour temperature value of the standard sources i;
The back noise of the color temperature sensor is corrected using the colour temperature error;
The color temperature sensor after being corrected using back noise, which to the color temperature value of P standard sources test, obtains P test
Color temperature value, test color temperature value and mark are derived using the reference colour temperature value of described P test color temperature value and the P standard sources
Functional relation y=f (x) between quasi- color temperature value, one a pair between the P reference colour temperature value and the P test color temperature value
Should, wherein, the color temperature sensor that the functional relation y=f (x) is used to correct for the camera terminal is clapped in the camera terminal
The color temperature value detected during taking the photograph, wherein, the x represents to test color temperature value, and the y represents reference colour temperature value, the P and institute
It is the integer more than 1 to state N.
2. according to the method described in claim 1, it is characterised in that test color temperature value j is described after being corrected using back noise
Color temperature sensor carries out the average of k1 test color temperature value obtained from k1 test to standard sources k color temperature value, wherein, institute
It is any one among the P standard sources to state standard sources k, and the test color temperature value j is described P test color temperature value
Among test color temperature value corresponding with the standard sources k.
3. according to the method described in claim 1, it is characterised in that utilize described P test color temperature value and the P standard light
The reference colour temperature value in source derives the functional relation y=f (x) between test color temperature value and reference colour temperature value, including:
Described P test color temperature value is mapped in two-dimensional coordinate system to obtain P point, the x-axis of the two-dimensional coordinate system is represented
Color temperature value is tested, the y-axis of the two-dimensional coordinate system represents reference colour temperature value;The P point is fitted to obtain p-wire;
Functional relation y=f (x) between test color temperature value and reference colour temperature value is derived based on the p-wire.
4. method according to claim 2, it is characterised in that utilize described P test color temperature value and the P standard light
The reference colour temperature value in source derives the functional relation y=f (x) between test color temperature value and reference colour temperature value, including:
Described P test color temperature value is mapped in two-dimensional coordinate system to obtain P point, the x-axis of the two-dimensional coordinate system is represented
Color temperature value is tested, the y-axis of the two-dimensional coordinate system represents reference colour temperature value;The P point is fitted to obtain p-wire;
Functional relation y=f (x) between test color temperature value and reference colour temperature value is derived based on the p-wire.
5. the method according to any one of Claims 1-4, it is characterised in that the letter in the case where the P is equal to 2
Number relation y=f (x) is specially linear function y=ax+b;Or the P be equal to 3 in the case of the functional relation y=f (x)
Specially curvilinear function y=ax2+bx+c;The a, the b and the c are constant.
6. the method according to any one of Claims 1-4, it is characterised in that the P standard sources and the standard light
Source i reference colour temperature value is different, or the P standard sources and the affiliated colour temperature of reference colour temperature value of the standard sources i
Grade is different.
7. method according to claim 5, it is characterised in that the P standard sources and the standard of the standard sources i
Color temperature value is different, or the P standard sources and the standard sources i the mutual not phase of the affiliated color temperature levels of reference colour temperature value
Together.
8. method according to claim 6, it is characterised in that the reference colour temperature value of the standard sources i is less than the P
The reference colour temperature value of any one standard sources in standard sources, or the reference colour temperature value of the standard sources i are more than institute
State the reference colour temperature value of any one standard sources in P standard sources;Or the reference colour temperature value institute of the standard sources i
Belong to the affiliated color temperature levels of reference colour temperature value for any one standard sources that color temperature levels are higher than in the P standard sources;Or
The affiliated color temperature levels of reference colour temperature value of the standard sources i are less than any one standard sources in the P standard sources
The affiliated color temperature levels of reference colour temperature value;Or higher than described P mark of the affiliated color temperature levels of reference colour temperature value of the standard sources i
The affiliated color temperature levels of reference colour temperature value of one of standard sources in quasi-optical source, and the reference colour temperature value of the standard sources i
Reference colour temperature value affiliated color temperature levels of the affiliated color temperature levels less than another standard sources of the P standard sources;Or institute
The reference colour temperature value for stating standard sources i is more than the reference colour temperature value of one of standard sources in the P standard sources, and
The reference colour temperature value of the standard sources i is less than the reference colour temperature value of another standard sources in the P standard sources.
9. method according to claim 7, it is characterised in that the reference colour temperature value of the standard sources i is less than the P
The reference colour temperature value of any one standard sources in standard sources, or the reference colour temperature value of the standard sources i are more than institute
State the reference colour temperature value of any one standard sources in P standard sources;Or the reference colour temperature value institute of the standard sources i
Belong to the affiliated color temperature levels of reference colour temperature value for any one standard sources that color temperature levels are higher than in the P standard sources;Or
The affiliated color temperature levels of reference colour temperature value of the standard sources i are less than any one standard sources in the P standard sources
The affiliated color temperature levels of reference colour temperature value;Or higher than described P mark of the affiliated color temperature levels of reference colour temperature value of the standard sources i
The affiliated color temperature levels of reference colour temperature value of one of standard sources in quasi-optical source, and the reference colour temperature value of the standard sources i
Reference colour temperature value affiliated color temperature levels of the affiliated color temperature levels less than another standard sources of the P standard sources;Or institute
The reference colour temperature value for stating standard sources i is more than the reference colour temperature value of one of standard sources in the P standard sources, and
The reference colour temperature value of the standard sources i is less than the reference colour temperature value of another standard sources in the P standard sources.
10. a kind of color temperature sensor calibrating installation, it is characterised in that including:
Test cell, carries out n times test to obtain for the color temperature sensor using camera terminal to standard sources i color temperature value
N number of test color temperature value;
Computing unit, for calculating between the average of N number of test color temperature value and the reference colour temperature value of the standard sources i
Colour temperature error;
Back noise corrects unit, for being corrected using the colour temperature error to the back noise of the color temperature sensor;
The test cell is additionally operable to, color temperature value of the color temperature sensor after being corrected using back noise to P standard sources
Progress, which is tested, obtains P test color temperature value;
Function correction unit, is derived for the reference colour temperature value using described P test color temperature value and the P standard sources
The functional relation y=f (x) tested between color temperature value and reference colour temperature value, the P reference colour temperature value and the P test color
Corresponded between temperature value, wherein, the color temperature sensor that the functional relation y=f (x) is used to correct for the camera terminal exists
The color temperature value detected in the camera terminal shooting process, the x represents test color temperature value, and the y represents reference colour temperature value,
The P and N is the integer more than 1.
11. device according to claim 10, it is characterised in that test color temperature value j is the institute after being corrected using back noise
The average that color temperature sensor carries out k1 test color temperature value obtained from k1 test to standard sources k color temperature value is stated, wherein,
The standard sources k is any one among the P standard sources, and the test color temperature value j is described P test colour temperature
Test color temperature value corresponding with the standard sources k among value.
12. device according to claim 10, it is characterised in that the function correction unit is specifically for by the P
Test color temperature value is mapped in two-dimensional coordinate system to obtain P point, and the x-axis of the two-dimensional coordinate system represents to test color temperature value, institute
The y-axis for stating two-dimensional coordinate system represents reference colour temperature value;The P point is fitted to obtain p-wire, based on the test
Line obtains the functional relation y=f (x) tested between color temperature value and reference colour temperature value.
13. device according to claim 11, it is characterised in that the function correction unit is specifically for by the P
Test color temperature value is mapped in two-dimensional coordinate system to obtain P point, and the x-axis of the two-dimensional coordinate system represents to test color temperature value, institute
The y-axis for stating two-dimensional coordinate system represents reference colour temperature value;The P point is fitted to obtain p-wire, based on the test
Line obtains the functional relation y=f (x) tested between color temperature value and reference colour temperature value.
14. the device according to any one of claim 10 to 13, it is characterised in that described in the case where the P is equal to 2
Functional relation y=f (x) is specially linear function y=ax+b;Or the P be equal to 3 in the case of the functional relation y=f
(x) it is specially curvilinear function y=ax2+bx+c;The a, the b and the c are constant.
15. the device according to any one of claim 10 to 13, it is characterised in that the P standard sources and the mark
Quasi-optical source i reference colour temperature value is different, or belonging to the P standard sources and the reference colour temperature value of the standard sources i
Color temperature levels are different.
16. device according to claim 14, it is characterised in that the P standard sources and the standard sources i mark
Quasi- color temperature value is different, or the P standard sources and the standard sources the i affiliated color temperature levels of reference colour temperature value are mutual not
It is identical.
17. device according to claim 15, it is characterised in that the reference colour temperature value of the standard sources i is less than the P
The reference colour temperature value of any one standard sources in individual standard sources, or the reference colour temperature value of the standard sources i are more than institute
State the reference colour temperature value of any one standard sources in P standard sources;Or belonging to the reference colour temperature value of the standard sources i
Color temperature levels are higher than the affiliated color temperature levels of reference colour temperature value of any one standard sources in the P standard sources;Or institute
The standard sources i affiliated color temperature levels of reference colour temperature value are stated less than any one standard sources in the P standard sources
The affiliated color temperature levels of reference colour temperature value;Or the affiliated color temperature levels of reference colour temperature value of the standard sources i are higher than the P standard
The affiliated color temperature levels of reference colour temperature value of one of standard sources of light source, and the reference colour temperature value institute of the standard sources i
Belong to reference colour temperature value affiliated color temperature levels of the color temperature levels less than another standard sources of the P standard sources;Or it is described
Standard sources i reference colour temperature value is more than the reference colour temperature value of one of standard sources in the P standard sources, and institute
The reference colour temperature value for stating standard sources i is less than the reference colour temperature value of another standard sources in the P standard sources.
18. device according to claim 16, it is characterised in that the reference colour temperature value of the standard sources i is less than the P
The reference colour temperature value of any one standard sources in individual standard sources, or the reference colour temperature value of the standard sources i are more than institute
State the reference colour temperature value of any one standard sources in P standard sources;Or belonging to the reference colour temperature value of the standard sources i
Color temperature levels are higher than the affiliated color temperature levels of reference colour temperature value of any one standard sources in the P standard sources;Or institute
The standard sources i affiliated color temperature levels of reference colour temperature value are stated less than any one standard sources in the P standard sources
The affiliated color temperature levels of reference colour temperature value;Or the affiliated color temperature levels of reference colour temperature value of the standard sources i are higher than the P standard
The affiliated color temperature levels of reference colour temperature value of one of standard sources of light source, and the reference colour temperature value institute of the standard sources i
Belong to reference colour temperature value affiliated color temperature levels of the color temperature levels less than another standard sources of the P standard sources;Or it is described
Standard sources i reference colour temperature value is more than the reference colour temperature value of one of standard sources in the P standard sources, and institute
The reference colour temperature value for stating standard sources i is less than the reference colour temperature value of another standard sources in the P standard sources.
19. a kind of camera terminal, it is characterised in that including:
Color temperature sensor calibrating installation and color temperature sensor, wherein, the color temperature sensor calibrating installation be as claim 9~
Color temperature sensor calibrating installation described in 18 any one.
20. a kind of camera terminal, it is characterised in that including:Camera, color temperature sensor, processor and memory, the shooting
Head, the processor, the color temperature sensor and the memory are coupled by bus and interconnected;Wherein, by being deposited described in execution
Code or instruction in reservoir, the processor are used to perform the method as described in any one of claim 1~9.
21. a kind of computer-readable storage medium, it is characterised in that
The computer-readable storage medium has program stored therein, including as described in any one of claim 1~9 when described program is performed
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610019464.6A CN105681782B (en) | 2016-01-11 | 2016-01-11 | Color temperature sensor calibration method and relevant apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610019464.6A CN105681782B (en) | 2016-01-11 | 2016-01-11 | Color temperature sensor calibration method and relevant apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105681782A CN105681782A (en) | 2016-06-15 |
CN105681782B true CN105681782B (en) | 2017-09-29 |
Family
ID=56300199
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610019464.6A Expired - Fee Related CN105681782B (en) | 2016-01-11 | 2016-01-11 | Color temperature sensor calibration method and relevant apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105681782B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106370398B (en) * | 2016-09-23 | 2019-02-22 | 北京小米移动软件有限公司 | Flash lamp acceptance method and device |
CN107677377B (en) * | 2017-09-25 | 2020-01-07 | 北京小米移动软件有限公司 | Method and device for determining color temperature |
WO2019061283A1 (en) * | 2017-09-29 | 2019-04-04 | 深圳传音通讯有限公司 | Automatic testing method and system for color temperature sensor |
CN107734319B (en) * | 2017-11-28 | 2019-09-06 | Oppo广东移动通信有限公司 | Image white balancing treatment method and device, storage medium and electronic equipment |
CN108426186B (en) * | 2018-03-14 | 2020-05-22 | 调调(北京)科技有限公司 | Lamp color calibration method and device and electronic equipment |
CN108540788B (en) * | 2018-03-29 | 2019-12-17 | 广州视源电子科技股份有限公司 | color temperature correction method, device and system for display equipment |
CN109146243B (en) * | 2018-07-16 | 2020-06-19 | 宁波公牛光电科技有限公司 | Evaluation method and device for synthetic spectrum |
CN112738957B (en) * | 2020-12-28 | 2023-02-28 | 河北谊安奥美医疗设备有限公司 | Method for controlling shading compensation of operation shadowless lamp |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8243162B2 (en) * | 2008-12-11 | 2012-08-14 | Omnivision Technologies, Inc. | Automatic white balancing using meter sensors |
US9210331B2 (en) * | 2013-07-10 | 2015-12-08 | Htc Corporation | Camera device and flash light control method |
CN103763546B (en) * | 2013-12-25 | 2016-07-13 | 宁波舜宇光电信息有限公司 | Light source difference correction method for monomer correction of mobile phone camera |
CN103796003B (en) * | 2014-01-21 | 2016-03-02 | 深圳市掌网立体时代视讯技术有限公司 | A kind of image correcting method of stereo camera shooting and system |
-
2016
- 2016-01-11 CN CN201610019464.6A patent/CN105681782B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN105681782A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105681782B (en) | Color temperature sensor calibration method and relevant apparatus | |
CN106709899A (en) | Dual-camera relative position calculation method, device and equipment | |
CN108764024A (en) | Generating means, method and the computer readable storage medium of human face recognition model | |
CN107832675A (en) | Processing method of taking pictures and Related product | |
CN106537908B (en) | Camera calibration | |
CN105530436B (en) | Acquisition parameters adjusting method and camera terminal | |
CN106371999B (en) | Program code test method and device | |
CN106157241A (en) | A kind of method and device of Panorama Mosaic | |
CN104835131A (en) | Method and system for achieving HDR image generation and tone mapping based on IC | |
EP2770507A3 (en) | Memory circuits, method for accessing a memory and method for repairing a memory | |
CN110049332A (en) | A kind of method for compressing image, image compressing device and electronic equipment | |
CN109905257A (en) | The determination method and apparatus of bandwidth transmission capability | |
CN104915588B (en) | The method for secret protection and device of electronic equipment | |
CN108898649A (en) | Image processing method and device | |
JP2019036310A (en) | Method for registering at least two different 3d models | |
CN112950528A (en) | Certificate posture determining method, model training method, device, server and medium | |
CN109462851A (en) | Fishing hot spot detecting method, device, electronic equipment and storage medium | |
CN103090974B (en) | Color detection system of indicator light of equipment | |
CN103888314B (en) | The method that finite state machine status are verified based on uio sequence method | |
CN108415856A (en) | Hardware compatibility method and relevant apparatus | |
CN106842047B (en) | The determination method and device of battery pack string consistency | |
CN106851135B (en) | The method and apparatus being replaced for determining sensor | |
CN112766147B (en) | Error action positioning method based on deep learning | |
CN104994295B (en) | The method and mobile terminal of a kind of distortion correction | |
CN105333808B (en) | Displacement detecting circuit, eddy current displacement sensor and its correcting circuit and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
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: 20170929 |