CN102393965A - 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
- CN102393965A CN102393965A CN2011101567256A CN201110156725A CN102393965A CN 102393965 A CN102393965 A CN 102393965A CN 2011101567256 A CN2011101567256 A CN 2011101567256A CN 201110156725 A CN201110156725 A CN 201110156725A CN 102393965 A CN102393965 A CN 102393965A
- Authority
- CN
- China
- Prior art keywords
- tetrahedron
- point
- centerdot
- colour
- interpolation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
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 the colour examining colour-difference-metre color correction
Background technology
Industries such as plastic cement, spraying, design, printing, clothes, printing and dyeing need be measured color as far as possible accurately, to satisfy the high-quality demand of precisely selecting look, color matching and fixation.
Though existing colour difference meter can satisfy the requirement that above-mentioned industry is measured color basically basically in the society; But; It is accurate inadequately that prior art is measured method of correcting to the colour difference meter intrinsic colour; Speed is also slow, causes colour difference meter itself to have fiducial error, can not satisfy relevant industries and carry out the high-quality demand of precisely selecting look, color matching and fixation with it.
Summary of the invention
The objective 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 that the colour examining colour-difference-metre based on the RGB trichromatic analysis is carried out color correction; Effectively improve precision and computing velocity, to satisfy 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 to the colour difference meter color correction.
In colour examining colour-difference-metre based on the RGB trichromatic analysis, exchange in order to realize color, must be mapped to the color value that records under the instrument condition in a kind of and device-independent color space, this process is referred to as color correction.
In order to solve the accurate inadequately and slow problem of computing velocity based on the color correction in the colour examining colour-difference-metre of RGB trichromatic analysis; Method of the present invention is: utilize three-dimensional Delaunay algorithm that the primary color space that instrument records is carried out the tetrahedron subdivision; According to the tetrahedral position in input point and place relation; Realize interpolation calculation, carry out fast and accurate color correction.
Concrete computation process of the present invention is following: the primary color points that at first records requirement through traditional interpolation algorithm; Then, utilize three-dimensional Delaunay triangulation, the primary colours collection is carried out the tetrahedron subdivision; Look-up table is set up in the tetrahedron set that utilizes subdivision to obtain; The structure of look-up table is following:
Wherein, given tetrahedron T and summit p thereof
0p
1p
2p
3After, utilize following system of equations to find the solution to obtain its circumsphere centre of sphere O,
Here suppose m
1Be p
0p
1The mid point of line segment, m
2Be p
2p
3The mid point of line segment, m
3Be p
3p
0The mid point of line segment, some q are that plan is anticipated a bit, 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:
After generating look-up table, suppose that input point is P, workflow is following:
Utilize the relation apart from the radius r of d and tetrahedron circumsphere of input point p and each tetrahedral circumsphere centre of sphere O, judge whether input point p falls in the tetrahedral circumsphere, promptly p all tetrahedrons of falling into its circumsphere constitute set A; Concrete determination methods is following:
After obtaining A, can utilize each tetrahedral volume relationship among a p and the A, judge further input point p is arranged in which tetrahedron of A, having only when a p falls into the summit is p
0, p
1, p
2, p
3Tetrahedron T in the time, some p and p
0, p
1, p
2The tetrahedron T that constitutes
1, with p
0, p
1, p
3The tetrahedron T that constitutes
2, with p
0, p
2, p
3The tetrahedron T that constitutes
3, with p
1, p
2, p
3The tetrahedron T that constitutes
4, reach the relation down 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 through 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 use following formula to judge:
All bodies at RP p place are in set B, if B is empty, the p point exceeds the scope that can proofread and correct so, not within the limit of consideration of this algorithm; If two tetrahedrons are arranged among the B, then select any one, utilize the linear regression method interpolation calculation to obtain the target rgb value; If the tetrahedron more than two is arranged among the B, explain that the p point is certain tessarace, that is to say to belong to the point that interpolation point is concentrated, need not interpolation so, directly the export target rgb value;
Can obtain equation of linear regression in the following manner:
The mapping of supposing imaging system is linear, and then 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
0Be the coordinate at zero point, Λ is the 3 * n dimension matrix that has comprised the illumination factor and the corresponding factor of sensor, and σ is the weight coefficient of body surface reflectivity basis function;
The same color value p that under non-standard illumination condition, obtains
a=(R
a, G
a, B
a)
TSatisfy:
p
a-p=Λ
aσ
Two formulas can obtain above the simultaneous
In order to calculate
and B; At least need know the standard value and the non-standard value of 4 non-coplanar sample points; Through linear regression analysis, adopt least square method to find the solution the corresponding coefficient of each component; Getting in the tetrahedron interpolation process of these four points searched four summits of tetrahedron that obtain.
The Delaunay algorithm claims the Delaunay triangulation quick point location algorithm again, 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 ", does not still have standard and unifies translation.
The color calibration method that the present invention proposes carries out non-homogeneous division and sets up look-up table the input color space on this basis based on existing even or non-homogeneous primary colours storehouse.For new input point; Utilize volume relationship to judge the tetrahedron at its place, according to the position relation of input point, select to utilize the interpolation calculation formula then with the place tetrahedron top; Obtain output valve, thereby realize of the conversion of instrument color space to the Standard Colors space.Compare with common method for measuring color based on trichromatic analysis, the present invention has simply, quick, characteristic of accurate.
Description of drawings
Accompanying drawing is a calculation process block diagram of the present invention, also is that specification digest is with figure.Each label is respectively among the figure: (1) primary colours are measured; (2) utilize three-dimensional algorithm that primary color space is carried out subdivision, look-up table is set up in (3), and (4) input color value is measured; (5) utilize volume relationship to judge 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 the back color value.
Embodiment
The present invention is further specified now in conjunction with the accompanying drawings an instance.
Embodiment:
With the R component is example,
R
n=b
1+a
11R
a+a
12G
a+a
13B
a
Suppose the input and output value on known 4 summits, then have:
Order
Can calculate
Z=(X
TX)
-1X
TY
The component corresponding coefficient that uses the same method and can obtain G and B, thus finally confirm A and B.Thereby obtain input point p to output point p
nComputing formula:
p
n=AP+B
Claims (3)
1. method of utilizing tetrahedron interpolation method to realize the colour examining colour-difference-metre color correction; It is characterized in that: at first record the primary color points of requirement, then, utilize three-dimensional Delaunay triangulation through traditional interpolation algorithm; The primary colours collection is carried out the tetrahedron subdivision
Look-up table is set up in the tetrahedron set that utilizes subdivision to obtain;
After generating look-up table, suppose that input point is p, workflow is following:
Utilize the relation of input point p and each tetrahedral circumsphere centre of sphere O, judge whether input point p falls in the tetrahedral circumsphere apart from the radius r of d and tetrahedron circumsphere.All tetrahedrons that p falls into its circumsphere constitute set A; Concrete determination methods is following:
After obtaining A, can utilize each tetrahedral volume relationship among a p and the A, judge further input point p is arranged in which tetrahedron of A, having only when a p falls into the summit is p
0, p
1, p
2, p
3Tetrahedron T in the time, some p and p
0, p
1, p
2The tetrahedron T that constitutes
1, with p
0, p
1, p
3The tetrahedron T that constitutes
2, with p
0, p
2, p
3The tetrahedron T that constitutes
3, with p
1, p
2, p
3The tetrahedron T that constitutes
4, reach the relation down 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 through 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 use following formula to judge:
All bodies at RP p place are in set B, if B is empty, the p point exceeds the scope that can proofread and correct so, not within the limit of consideration of this algorithm; If two tetrahedrons are arranged among the B, then select any one, utilize the linear regression method interpolation calculation to obtain desired value; If the tetrahedron more than two is arranged among the B, explain that the p point is certain tessarace, that is to say to belong to the point that interpolation point is concentrated, need not interpolation so, directly the export target value;
Can obtain equation of linear regression in the following manner:
The mapping of supposing imaging system is linear, and then 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
0Be the coordinate at zero point, Λ is the 3 * n dimension matrix that has comprised the illumination factor and the corresponding factor of sensor, and σ is the weight coefficient of body surface reflectivity basis function;
The same color value p that under non-standard illumination condition, obtains
a=(R
a, G
a, B
a)
TSatisfy:
p
a-p=Λ
aσ
Two formulas can obtain above the simultaneous
2. method of utilizing tetrahedron interpolation method to realize the colour examining colour-difference-metre color correction as claimed in claim 1, it is characterized in that: the structure of look-up table is following:
Wherein, given tetrahedron T and summit p thereof
0p
1p
2p
3After, utilize following system of equations to find the solution to obtain its circumsphere centre of sphere O,
Here suppose m
1Be p
0p
1The mid point of line segment, m
2Be p
2p
3The mid point of line segment, m
3Be p
3p
0The mid point of line segment, some q are that plan is anticipated a bit, 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:
3. method of utilizing tetrahedron interpolation method to realize the colour examining colour-difference-metre color correction as claimed in claim 1, it is characterized in that: the calculating of tetrahedron volume can obtain through 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:
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 true CN102393965A (en) | 2012-03-28 |
CN102393965B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799657A (en) * | 2012-07-05 | 2012-11-28 | 上海富瀚微电子有限公司 | System and method for realizing real-time data point mapping processing based on three-dimensional checking |
CN104658013A (en) * | 2014-10-30 | 2015-05-27 | 华侨大学 | Method for performing color graying by utilizing radius of simplex internal connecting ball |
CN104899441A (en) * | 2015-06-05 | 2015-09-09 | 河海大学 | Numerical algorithm suitable for calculating VRMS uniformity of magnetic field |
CN113297650A (en) * | 2021-07-28 | 2021-08-24 | 广东世纪达建设集团有限公司 | BIM technology-based unit type glass curtain wall construction method and system |
Citations (6)
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 |
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 |
US20040021882A1 (en) * | 2002-03-20 | 2004-02-05 | Toshiaki Kakutani | Method of correcting color image data according to correction table |
CN101395900A (en) * | 2006-03-01 | 2009-03-25 | 爱克发印艺公司 | Method and apparatus for printer characterization |
US20100053653A1 (en) * | 2008-08-27 | 2010-03-04 | Canon Kabushiki Kaisha | Method for generating a color chart |
CN101750147A (en) * | 2008-12-11 | 2010-06-23 | 张辉 | Method and device for measuring color spectrum data of object to be measured |
-
2011
- 2011-06-01 CN CN201110156725.6A patent/CN102393965B/en not_active Expired - Fee Related
Patent Citations (6)
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 |
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 |
US20040021882A1 (en) * | 2002-03-20 | 2004-02-05 | Toshiaki Kakutani | Method of correcting color image data according to correction table |
CN101395900A (en) * | 2006-03-01 | 2009-03-25 | 爱克发印艺公司 | Method and apparatus for printer characterization |
US20100053653A1 (en) * | 2008-08-27 | 2010-03-04 | Canon Kabushiki Kaisha | Method for generating a color chart |
CN101750147A (en) * | 2008-12-11 | 2010-06-23 | 张辉 | Method and device for measuring color spectrum data of object to be measured |
Non-Patent Citations (2)
Title |
---|
DU BIN ET AL: "Applications of Tetrahedral Interpolation in Color Conversion Model", 《2008 INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND SOFTWARE ENGINEERING》 * |
丁二锐 等: "非均匀三维查找表的快速查找技术", 《计算机科学》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799657A (en) * | 2012-07-05 | 2012-11-28 | 上海富瀚微电子有限公司 | System and method for realizing real-time data point mapping processing based on three-dimensional checking |
CN102799657B (en) * | 2012-07-05 | 2015-04-08 | 上海富瀚微电子股份有限公司 | System and method for realizing real-time data point mapping processing based on three-dimensional checking |
CN104658013A (en) * | 2014-10-30 | 2015-05-27 | 华侨大学 | Method for performing color graying by utilizing radius of simplex internal connecting ball |
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 |
CN104899441A (en) * | 2015-06-05 | 2015-09-09 | 河海大学 | Numerical algorithm suitable for calculating VRMS uniformity of magnetic field |
CN113297650A (en) * | 2021-07-28 | 2021-08-24 | 广东世纪达建设集团有限公司 | BIM technology-based unit type glass curtain wall construction method and system |
Also Published As
Publication number | Publication date |
---|---|
CN102393965B (en) | 2014-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102393965B (en) | Method for correcting colour of colour difference meter by utilizing tetrahedron interpolation method | |
CN100583945C (en) | Image processing apparatus, image processing method | |
CN103503027B (en) | Colour calibration method for an image capture device | |
CN103714245B (en) | A kind of method obtaining the optimal field density of halftone paper printing | |
CN104458597B (en) | A kind of product colour detection method, device and system based on camera | |
CN108765494A (en) | A kind of polyphaser scaling method for demarcating object based on cylinder | |
CN102419282B (en) | Manufacturing method of reference block for on-site conversion of Leeb hardness to Brinell hardness | |
CN104219512A (en) | Method for describing color gamut boundary of display device | |
CN110888147B (en) | Scanning laser radar detection data gridding visualization method | |
CN114323543B (en) | Method for improving test efficiency of pressure-sensitive paint | |
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 | |
CN103994746A (en) | Measuring point selecting method of three-coordinate measuring machine for measuring flatness | |
CN104614707A (en) | Indoor positioning method and device | |
CN103673881B (en) | The method for quick field calibration of light pen in a kind of monocular vision measurement | |
CN202614464U (en) | System for correcting pressure acquisition system sensor precision | |
CN106248297B (en) | Error correcting method for pressure sensor and calorimeter with this method pressure measurement | |
CN202720088U (en) | Device which transmits pressure magnitude through Internet under real-time environment | |
CN102269581B (en) | Machining precision evaluation method of architectural component | |
CN109605964A (en) | A kind of standardized printing control method | |
CN104553302B (en) | A kind of grey balance calibration steps and device | |
US7778788B2 (en) | Scanner based optical inspection system | |
CN111624598A (en) | Structure dynamic deformation measurement signal processing method based on millimeter wave radar | |
CN105389466B (en) | A kind of middle low resolution Remote Sensing Products true value acquisition methods for correcting scale effect | |
CN102706511B (en) | Device for transferring pressure quantity value through internet in real-time environment |
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 |