CN102393965B - Method for correcting colour of colour difference meter by utilizing tetrahedron interpolation method - Google Patents
Method for correcting colour of colour difference meter by utilizing tetrahedron interpolation method Download PDFInfo
- Publication number
- CN102393965B CN102393965B CN201110156725.6A CN201110156725A CN102393965B CN 102393965 B CN102393965 B CN 102393965B CN 201110156725 A CN201110156725 A CN 201110156725A CN 102393965 B CN102393965 B CN 102393965B
- Authority
- CN
- China
- Prior art keywords
- tetrahedron
- point
- centerdot
- colour
- lambda
- 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
Images
Landscapes
- Image Processing (AREA)
- Spectrometry And Color Measurement (AREA)
Abstract
The invention relates to a method for correcting colour of a colour difference meter by utilizing a tetrahedron interpolation method. Firstly, the traditional interpolation algorithm is used for measuring base colour points in required quantity, then a three-dimensional Delaunay triangulation algorithm is used for carrying out tetrahedron subdivision on base colours, and creating a lookup table by utilizing a tetrahedron set obtained by subdivision; after the lookup table is generated, supposing an input point to be P, after A is obtained, and further judging that which tetrahedron the input point P is located in A by utilizing a volume relation between the point p and each tetrahedron in A, wherein if more than two tetrahedrons are contained in B, the point p is a vertex of some tetrahedron, namely the point p is a point belonging to an interpolation point set, no interpolation is required, and a target RGB (red, green and blue) value can be directly output; and mapping of an imaging system is supposed to be in a linear relation, output standard colour value is pn=(Rn, Gn, Bn), and T can be shown by the following formula: pn-p=lambda*n*sigma. Compared with a common colour measuring method based on trichromatic analysis, the method provided by the invention has the characteristics of simplicity, speediness and accuracy.
Description
Technical field
A kind of method of utilizing tetrahedron interpolation method to realize colour examining colour-difference-metre color correction
Background technology
The industries such as plastic cement, spraying, design, printing, clothes, printing and dyeing need to be measured as far as possible accurately to color, to meet the high-quality demand of precisely selecting look, color matching and fixation.
Although existing colour difference meter can substantially meet above-mentioned industry color is carried out to the basic requirement of measuring in society, but, it is accurate not that prior art is measured the method for proofreading and correct to colour difference meter intrinsic colour, speed is also slow, cause colour difference meter itself to have fiducial error, can not meet relevant industries and carry out the high-quality demand of precisely selecting look, color matching and fixation with it.
Summary of the invention
The object of the invention is on the basis of common tetrahedral interpolation value-based algorithm, design a kind of new tetrahedral interpolation value-based algorithm, and utilize this algorithm to carry out color correction to the colour examining colour-difference-metre based on RGB trichromatic analysis, effectively improve to the precision of colour difference meter color correction and computing velocity, to meet the high-quality demands of precisely selecting look, color matching and fixation of industry such as plastic cement, spraying, design, printing, clothes, printing and dyeing.
In the colour examining colour-difference-metre based on RGB trichromatic analysis, in order to realize color, exchange, the color value recording under instrument condition must be mapped in a kind of color space of device independent, this process is referred to as color correction.
In order to solve color correction in the colour examining colour-difference-metre based on RGB trichromatic analysis not precisely and the slow problem of computing velocity, method of the present invention is: the primary color space of utilizing three-dimensional Delaunay algorithm to record instrument is carried out tetrahedron subdivision, according to the tetrahedral position relationship of input point and place, realize interpolation calculation, carry out fast and accurate color correction.
Concrete computation process of the present invention is as follows: the primary color points that first records requirement by traditional interpolation algorithm, then, utilize three-dimensional Delaunay triangulation, primary colours collection is carried out to tetrahedron subdivision, the tetrahedron set that utilizes subdivision to obtain, sets up look-up table; The structure of look-up table is as follows:
Wherein, given tetrahedron T and summit p thereof
0p
1p
2p
3after, utilize following solving equations to obtain its circumsphere centre of sphere O,
Here suppose m
1p
0p
1the mid point of line segment, m
2p
2p
3the mid point of line segment, m
3p
3p
0the mid point of line segment, some q is any point in plane, that is:
Expansion can obtain its algebraic expression:
Its expression matrix form is:
Thereby the circumsphere centre of sphere expression formula that can obtain tetrahedron T is:
Generate after look-up table, suppose that input point is P, workflow is as follows:
Utilize the relation of input point p and the distance d of each tetrahedral circumsphere centre of sphere O and the radius r of tetrahedron circumsphere, judge whether input point p falls in tetrahedral circumsphere, p falls into all tetrahedrons formation set A of its circumsphere; Concrete determination methods is as follows:
Obtain after A, can utilize each tetrahedral volume relationship in a p and A, further judge input point p is arranged in which tetrahedron of A, only having when a p falls into summit is p
0, p
1, p
2, p
3tetrahedron T in time, some p and p
0, p
1, p
2the tetrahedron T forming
1, with p
0, p
1, p
3the tetrahedron T forming
2, with p
0, p
2, p
3the tetrahedron T forming
3, with p
1, p
2, p
3the tetrahedron T forming
4, reach the lower relation that is enough to:
V(T
1)+V(T
2)+V(T
3)+V(T
4)=V(T)
Wherein, the calculating of tetrahedron volume can obtain by following, when four summits of tetrahedron T are p
0(x
0, y
0, z
0), p
1(x
1, y
1, z
1), p
2(x
2, y
2, z
2), p
3(x
3, y
3, z
3) time, the computing formula of this tetrahedral volume V (T) is:
So when whether judging point p belongs to certain tetrahedron T, can judge with following formula:
All bodies at measuring point p place are in set B, if B is empty, p point exceeds the scope that can proofread and correct so, not within the limit of consideration of this algorithm; If there are two tetrahedrons in B, select any one, utilize linear regression method interpolation calculation to obtain target rgb value; If there is the tetrahedron more than two in B, illustrate that p point is certain tessarace, that is to say and belong to the concentrated point of interpolation point, so without interpolation, direct export target rgb value;
Can obtain in the following manner equation of linear regression:
The mapping of supposing imaging system is linear, and the Standard Colors value of output is p
n=(R
n, G
n, B
n)
tcan be expressed as:
p
n-p=Λ
nσ
Wherein, p
0for coordinate at zero point, Λ is the 3 * n dimension matrix that has comprised Illumination and the corresponding factor of sensor, and σ is the weight coefficient of body surface reflectivity basis function;
The same color value p obtaining under non-standard illumination condition
a=(R
a, G
a, B
a)
tmeet:
p
a-p=Λ
aσ
Above simultaneous, two formulas can obtain
In order to calculate
and B, at least need to know standard value and the non-standard value of 4 non-coplanar sample points, by linear regression analysis, adopt least square method to solve the corresponding coefficient of each component; Getting in tetrahedron interpolation process of these four points, searches four summits of tetrahedron that obtain.
Delaunay algorithm claims again Delaunay triangulation Quick-Point location algorithm, is a kind of algorithm of widespread use, is mainly used in tetrahedron location Calculation aspect.Domestic have translate into " De Laonai ", what have is translated into " De Laonai ", the standard of there is no is unified translation.
The color calibration method that the present invention proposes, based on existing even or non-homogeneous primary colours storehouse, carries out non-homogeneous division and sets up look-up table input color space on this basis.For new input point, utilize volume relationship to judge the tetrahedron at its place, then according to the position relationship of input point and place tetrahedron top, select to utilize interpolation calculation formula, obtain output valve, thereby realize instrument color space to the conversion of profile connecting space.Compare with the common method for measuring color based on trichromatic analysis, the present invention has simply, fast, feature accurately.
Accompanying drawing explanation
Accompanying drawing is calculation process block diagram of the present invention, is also figure for specification digest.In figure, each label respectively: (1) primary colours are measured, (2) utilize three-dimensional algorithm to carry out subdivision to primary color space, (3) set up look-up table, (4) input color value is measured, (5) utilize volume relationship judgement input point place tetrahedron, (6) input point is positioned at tetrahedron top, and (7) linearity is judged to the ownership of method, and (8) go out to proofread and correct rear color value.
Embodiment
The present invention will be further described now to give by reference to the accompanying drawings an example.
Embodiment:
Take R component as example,
R
n=b
1+a
11R
a+a
12G
a+a
13B
a
The input and output value of supposing known 4 summits, has:
Order
Can calculate
Z=(X
TX)
-1X
TY
Use the same method and can obtain the component corresponding coefficient of G and B, thereby finally determine A and B.Thereby obtain input point p to output point p
ncomputing formula:
p
n=AP+B
Claims (2)
1. a method of utilizing tetrahedron interpolation method to realize colour examining colour-difference-metre color correction, it is characterized in that: the primary color points that first records requirement by traditional interpolation algorithm, then, utilize three-dimensional Delaunay triangulation, primary colours point set is carried out to tetrahedron subdivision, the tetrahedron set that utilizes subdivision to obtain, sets up the look-up table consisting of each tetrahedral circumscribed circle center of circle, circumradius, the former rgb value of tetrahedron top and target rgb value; Generate after look-up table, suppose that input point is p, workflow is as follows:
Utilize the relation of input point p and the distance d of each tetrahedral circumsphere centre of sphere O and the radius r of tetrahedron circumsphere, judge whether input point p falls in tetrahedral circumsphere, all tetrahedrons that p falls into its circumsphere form set A; Concrete determination methods is as follows:
Obtain after A, utilize each tetrahedral volume relationship in some p and A, further judge input point p is arranged in which tetrahedron of A, only having when some p falls into summit is p
0, p
1, p
2, p
3tetrahedron T in time, some p and p
0, p
1, p
2the tetrahedron T forming
1, with p
0, p
1, p
3the tetrahedron T forming
2, with p
0, p
2, p
3the tetrahedron T forming
3, with p
1, p
2, p
3the tetrahedron T forming
4, reach the lower relation that is enough to:
V(T
1)+V(T
2)+V(T
3)+V(T
4)=V(T)
Wherein, the calculating of tetrahedron volume obtains by following, when four summits of tetrahedron T are p
0(x
0, y
0, z
0), p
1(x
1, y
1, z
1), p
2(x
2, y
2, z
2), p
3(x
3, y
3, z
3) time, the computing formula of this tetrahedral volume V (T) is:
So when whether judging point p belongs to certain tetrahedron T, judge with following formula:
The tetrahedron T at measuring point p place is in set B, if B is empty, p point exceeds the scope that can proofread and correct so, not within the limit of consideration of this algorithm; If there are two tetrahedrons in B, select any one, utilize linear regression method interpolation calculation to obtain desired value; If there is the tetrahedron more than two in B, illustrate that p point is certain tessarace, that is to say and belong to the concentrated point of interpolation point, so without interpolation, direct export target value;
Obtain in the following manner equation of linear regression:
The mapping of supposing imaging system is linear, and the Standard Colors value of output is p
n=(R
n, G
n, B
n)
tbe expressed as:
p
n-p
0=Λ
nσ
Wherein, p
0for coordinate at zero point, Λ is the 3 * n dimension matrix that has comprised Illumination and the corresponding factor of sensor, and σ is the weight coefficient of body surface reflectivity basis function;
The same color value p obtaining under non-standard illumination condition
a=(R
a, G
a, B
a)
tmeet:
p
a-p
0=Λ
aσ
Above simultaneous, two formulas can obtain
Order
Above formula becomes
p
n=Λp
a+B。
2. a method of utilizing tetrahedron interpolation method to realize colour examining colour-difference-metre color correction as claimed in claim 1, it is characterized in that: the look-up table being formed by the circumscribed circle center of circle, circumradius, the former rgb value in summit and summit target rgb value, given tetrahedron T and summit p thereof
0p
1p
2p
3after, utilize following solving equations to obtain its circumsphere centre of sphere O,
Here suppose m
1p
0p
1the mid point of line segment, m
2p
1p
2the mid point of line segment, m
3p
2p
3the mid point of line segment, some q is any point in plane, that is:
Expansion can obtain its algebraic expression:
Its expression matrix form is:
Thereby the circumsphere centre of sphere expression formula of obtaining tetrahedron T is:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110156725.6A CN102393965B (en) | 2011-06-01 | 2011-06-01 | Method for correcting colour of colour difference meter by utilizing tetrahedron interpolation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110156725.6A CN102393965B (en) | 2011-06-01 | 2011-06-01 | Method for correcting colour of colour difference meter by utilizing tetrahedron interpolation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102393965A CN102393965A (en) | 2012-03-28 |
CN102393965B true CN102393965B (en) | 2014-01-29 |
Family
ID=45861275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110156725.6A Expired - Fee Related CN102393965B (en) | 2011-06-01 | 2011-06-01 | Method for correcting colour of colour difference meter by utilizing tetrahedron interpolation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102393965B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799657B (en) * | 2012-07-05 | 2015-04-08 | 上海富瀚微电子股份有限公司 | System and method for realizing real-time data point mapping processing based on three-dimensional checking |
CN104658013B (en) * | 2014-10-30 | 2017-10-20 | 华侨大学 | It is a kind of that the method that the radius of a ball carries out color gray processing is inscribed using simple form |
CN104899441B (en) * | 2015-06-05 | 2018-02-27 | 河海大学 | A kind of numerical method suitable for the calculating magnetic field VRMS uniformitys |
CN113297650B (en) * | 2021-07-28 | 2021-10-08 | 广东世纪达建设集团有限公司 | BIM technology-based unit type glass curtain wall construction method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5581376A (en) * | 1994-08-29 | 1996-12-03 | Xerox Corporation | System for correcting color images using tetrahedral interpolation over a hexagonal lattice |
CN101395900A (en) * | 2006-03-01 | 2009-03-25 | 爱克发印艺公司 | Method and apparatus for printer characterization |
CN101750147A (en) * | 2008-12-11 | 2010-06-23 | 张辉 | Method and device for measuring color spectrum data of object to be measured |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003244450A (en) * | 2002-02-13 | 2003-08-29 | Konica Corp | Color shift measuring method, color shift measuring instrument, color shift correcting method and color shift correcting apparatus |
JP3823858B2 (en) * | 2002-03-20 | 2006-09-20 | セイコーエプソン株式会社 | Correction method of color image data using correction table |
JP5142890B2 (en) * | 2008-08-27 | 2013-02-13 | キヤノン株式会社 | Image processing method and image processing apparatus |
-
2011
- 2011-06-01 CN CN201110156725.6A patent/CN102393965B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5581376A (en) * | 1994-08-29 | 1996-12-03 | Xerox Corporation | System for correcting color images using tetrahedral interpolation over a hexagonal lattice |
CN101395900A (en) * | 2006-03-01 | 2009-03-25 | 爱克发印艺公司 | Method and apparatus for printer characterization |
CN101750147A (en) * | 2008-12-11 | 2010-06-23 | 张辉 | Method and device for measuring color spectrum data of object to be measured |
Non-Patent Citations (5)
Title |
---|
Applications of Tetrahedral Interpolation in Color Conversion Model;Du Bin et al;《2008 International Conference on Computer Science and Software Engineering》;20081214;全文 * |
Du Bin et al.Applications of Tetrahedral Interpolation in Color Conversion Model.《2008 International Conference on Computer Science and Software Engineering》.2008,全文. |
JP特开2003-244450A 2003.08.29 |
丁二锐 等.非均匀三维查找表的快速查找技术.《计算机科学》.2007,第34卷(第2期),全文. |
非均匀三维查找表的快速查找技术;丁二锐 等;《计算机科学》;20071231;第34卷(第2期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN102393965A (en) | 2012-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102393965B (en) | Method for correcting colour of colour difference meter by utilizing tetrahedron interpolation method | |
CN101424520B (en) | Method for detecting partial contour outline of object curved surface | |
CN114323543B (en) | Method for improving test efficiency of pressure-sensitive paint | |
CN101871773B (en) | Synchronous hue shift conversion method and three-dimensional appearance measurement system thereof | |
CN108765494A (en) | A kind of polyphaser scaling method for demarcating object based on cylinder | |
CN110888147B (en) | Scanning laser radar detection data gridding visualization method | |
CN104458597A (en) | Camera-based method, device and system for detecting product color based on | |
CN101231167A (en) | Method for detecting and regulating sea survey line net systematical error | |
CN105678757A (en) | Object displacement measurement method | |
CN103673881B (en) | The method for quick field calibration of light pen in a kind of monocular vision measurement | |
CN108627104A (en) | A kind of dot laser measurement method of parts height dimension | |
CN103994726B (en) | Fit between a kind of sheet metal component and mould the detection method in gap | |
Chen et al. | Stereo vision sensor calibration based on random spatial points given by CMM | |
CN104553302B (en) | A kind of grey balance calibration steps and device | |
CN102435156A (en) | Large cylindrical workpiece dimension and geometric error measurement method | |
CN113514017B (en) | Parallel driving mechanism moving platform pose measuring method | |
CN102269581B (en) | Machining precision evaluation method of architectural component | |
CN106248297B (en) | Error correcting method for pressure sensor and calorimeter with this method pressure measurement | |
CN111122813B (en) | Water quality category evaluation method based on regional groundwater flow field direction | |
CN202720088U (en) | Device which transmits pressure magnitude through Internet under real-time environment | |
CN111624598A (en) | Structure dynamic deformation measurement signal processing method based on millimeter wave radar | |
CN114001682B (en) | Flatness judging method for mounting surface of heavy door frame of electric room module | |
CN115631227A (en) | High-precision measurement method and system for object surface rotation angle | |
CN102706511B (en) | Device for transferring pressure quantity value through internet in real-time environment | |
CN202420582U (en) | Weighing type fuel oil consumption instrument |
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: 20140129 Termination date: 20150601 |
|
EXPY | Termination of patent right or utility model |