CN102625111B - Method and device for color transformation of color spaces based on CIE Lab (International Commission on Illumination Laboratory) - Google Patents

Method and device for color transformation of color spaces based on CIE Lab (International Commission on Illumination Laboratory) Download PDF

Info

Publication number
CN102625111B
CN102625111B CN201210082948.7A CN201210082948A CN102625111B CN 102625111 B CN102625111 B CN 102625111B CN 201210082948 A CN201210082948 A CN 201210082948A CN 102625111 B CN102625111 B CN 102625111B
Authority
CN
China
Prior art keywords
color space
space plane
dimentional
specified point
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210082948.7A
Other languages
Chinese (zh)
Other versions
CN102625111A (en
Inventor
康志聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL China Star Optoelectronics Technology Co Ltd
Original Assignee
Shenzhen China Star Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen China Star Optoelectronics Technology Co Ltd filed Critical Shenzhen China Star Optoelectronics Technology Co Ltd
Priority to CN201210082948.7A priority Critical patent/CN102625111B/en
Priority to PCT/CN2012/074154 priority patent/WO2013143187A1/en
Priority to US13/575,302 priority patent/US8837828B2/en
Publication of CN102625111A publication Critical patent/CN102625111A/en
Application granted granted Critical
Publication of CN102625111B publication Critical patent/CN102625111B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/6058Reduction of colour to a range of reproducible colours, e.g. to ink- reproducible colour gamut
    • H04N1/6061Reduction of colour to a range of reproducible colours, e.g. to ink- reproducible colour gamut involving the consideration or construction of a gamut surface
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/67Circuits for processing colour signals for matrixing
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/06Colour space transformation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Color Image Communication Systems (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The invention discloses a method for color transformation of the color spaces based on the CIE Lab (International Commission on Illumination Laboratory). The method comprises the steps of: transforming original image data two-dimensional color space planes Ln and Ln-1 into target two-dimensional color space planes Ln' and Ln-1', calculating Lx', which exists between Ln' and Ln-1', under the same brightness level as that of Lx according to any brightness plane Lx between Ln and Ln-1, calculating a transformation relational matrix between Lx and Lx', calculating a target color after color transformation regulation based to the color of any point of the original image data on the plane Lx, and completing the color space of the target color. The invention further discloses a device for the color transformation of the color spaces based on the CIE Lab and a liquid crystal display device. According to the invention, based on the manner in such a way, an inverse transformation model can be established more easily, and an algorithm is simple to implement and high in running speed, so that the color performance is closer to the color of a real object or is closer to a preset effect than the color of the real object.

Description

Based on the method for CIE Lab color space color conversion, device and liquid crystal indicator
Technical field
The present invention relates to color conversion technical field, particularly relate to based on the method for CIE Lab (Commission International d ' Eclairage Commission Internationale De L'Eclairage) color space color conversion, device and liquid crystal indicator.
Background technology
Liquid crystal display is owing to there being the problem of dispersion in essence, and add that the collocation of photoresistance and light source uses, the color distortion that the color representation of display and real world human eye can be made to experience is very large.
From physics angle, based on photometry, with trichromatic mix description natural institute colored, the colour system set up according to this theory is called additive colo(u)r system.Additive colo(u)r system table color method is the most important with Commission Internationale De L'Eclairage CIE system, as CIE XYZ, CIE Lab, CIE LUV or CIE LCH.
Color conversion (Color Conversion) refers to process color being changed into another kind of color space from a kind of color space.Realizing color color space transformation technology has a lot, such as modelling, neural network algorithm, and wherein, modelling solution procedure is complicated, and transformed error is often not ideal enough, and neural network algorithm needs a large amount of tests, needs each time to spend long time; And these two kinds of color conversion technology make the color representation of display and real-world object color distortion also very large.
Therefore be necessary the technology developing color conversion, make the color representation of liquid crystal display closer to real-world object color or show more bright-coloured than real-world object color.
Summary of the invention
The technical problem that the present invention mainly solves is to provide based on CIE Lab color space color conversion method, device and liquid crystal indicator, inverse conversion model can be set up than being easier to, algorithm realization is simple, the speed of service is fast, and color representation is showed closer to default effect closer to real-world object color or than real-world object color.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide based on CIELab color space color conversion method, comprising: input the original graph data based on CIE Lab three-dimensional color space;
Be cut into space, all colours place corresponding for described original graph data in parts n two-dimentional color space plane by brightness, be respectively two-dimentional color space plane L1, L2, L3 ..., Ln-1 and Ln, wherein n is natural number;
Described original graph data are defined as An respectively at the most saturated peripheral specified point of two-dimentional color space plane Ln, Bn, Cn, Dn, ..., An ' is defined as respectively by with the most saturated peripheral specified point on the two-dimentional color space plane Ln ' of the described target of original graph data two dimension color space plane Ln under same brightness level, Bn ', Cn ', Dn ', ..., wherein, the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... with the most saturated peripheral specified point An of two-dimentional color space plane Ln, Bn, Cn, Dn, ... between there is the first one-to-one relationship,
According to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... with the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn, ... between the first one-to-one relationship, determine the first transformational relation matrix, according to described first transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary peripheral specified point on described two-dimentional color space plane Ln, b) be converted to the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' two-dimensional color (a ', b '),
According to the first one-to-one relationship described, determine the most saturated peripheral specified point An-1 ' on target two dimension color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', ... with original graph data the most saturated peripheral specified point An-1 on two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1, ... between the second one-to-one relationship, the second transformational relation matrix is determined according to described the second one-to-one relationship, according to described second transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln-1 peripheral specified point, b) be converted to point corresponding with the most saturated described peripheral specified point in target Ln-1 ' color space plane two-dimensional color (a ', b '),
According to the two-dimensional color (a of the most saturated peripheral specified point An on described two-dimentional color space plane Ln, Bn, Cn, Dn ..., two-dimensional color (a of the most saturated peripheral specified point An-1 b) and on two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1 ..., b), calculate the two-dimensional color (a of the most saturated peripheral specified point Ax, Bx, Cx, Dx ... on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, b), wherein, Ax=(a ax, b ax), Bx=(a bx, b bx), Cx=(a cx, b cx), Dx=(a dx, b dx), ..., according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... two-dimensional color (a ', b ') An-1 ' upper with two-dimentional color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', ... two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', ... two-dimensional color (a ', b '), wherein, Ax '=(a ax '', b ax ''), Bx=(a bx '', b bx ''), Cx=(a cx '', b cx ''), Dx=(a dx '', b dx '') ...,
According to the most saturated peripheral specified point Ax ' on described two-dimentional color space plane Lx ', Bx ', Cx ', Dx ' ... and the most saturated peripheral specified point Ax on two-dimentional color space plane Lx, Bx, Cx, Dx ..., calculate two-dimensional color (a on described two-dimentional color space plane Lx *, b *) and the upper two-dimensional color (a of target two dimension color space plane Lx ' *', b *') between the 3rd transformational relation matrix;
By described 3rd transformational relation matrix, any point color being positioned at original graph data on described two-dimentional color space plane Lx is calculated the color of object after color conversion adjustment;
Export or preserve the target diagram data of the color of object after corresponding described color conversion adjustment.
Wherein, described first transformational relation matrix is:
a n ′ b n ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a n 3 b n 3 a n 2 b n a n b n 2 a n 2 b n 2 a n b n a n b n 1 .
Wherein, described second transformational relation matrix is:
a n - 1 ′ b n - 1 ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a n - 1 3 b n - 1 3 a n - 1 2 b n - 1 a n - 1 b n - 1 2 a n - 1 2 b n - 1 2 a n - 1 b n - 1 a n - 1 b n - 1 1 .
Wherein, described two-dimensional color (a according to the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn ..., two-dimensional color (a of the most saturated peripheral specified point An-1 b) and on described two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1 ..., b), calculate the two-dimensional color (a of the most saturated peripheral specified point Ax, Bx, Cx, Dx ... on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, b), wherein, Ax=(a ax, b ax), Bx=(a bx, b bx), Cx=(a cx, b cx), Dx=(a dx, b dx), ... step comprise: according to the most saturated peripheral specified point Ax on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, Bx, Cx, Dx, ... with the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn, ... and the most saturated peripheral specified point An-1 on two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1, ... between the first relational expression calculate, calculate the most saturated peripheral specified point Ax on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, Bx, Cx, Dx, ... two-dimensional color (a, b), wherein, described first relational expression is:
a x=a n+(L x-L n)*(a n-1-a n)/(L n-1-L n)
b x=b n+(L x-L n)*(b n-1-b n)/(L n-1-L n)
Wherein, described according to the most saturated peripheral specified point An ' on two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... two-dimensional color (a ', b ') with described two-dimentional color space plane Ln-1 ' on the most saturated peripheral specified point An-1 ', Bn-1 ', Cn-1 ', Dn-1 ', ... two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', ... two-dimensional color (a ', b '), wherein, Ax '=(a ax '', b ax ''), Bx=(a bx '', b bx ''), Cx=(a cx '', b cx ''), Dx=(a dx '', b dx ''), ... step comprise: according to peripheral specified point Ax ' the most saturated on two-dimentional color space plane Lx ', Bx ', Cx ', Dx ', ... with the most saturated peripheral specified point An ' on two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... and the most saturated peripheral specified point An-1 ' on two-dimentional color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', ... between the second relational expression calculate, calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', ... two-dimensional color (a ', b '), wherein, described second relational expression is:
a x’=a n’+(L x-L n)*(a n-1’-a n’)/(L n-1-L n)
b x’=b n’+(L x-L n)*(b n-1’-b n’)/(L n-1-L n)
Wherein, two-dimensional color (a on two-dimentional color space plane Lx is calculated described in *, b *) and the upper two-dimensional color (a of target two dimension color space plane Lx ' *', b *') between the 3rd transformational relation matrix be:
a x ′ b x ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a x 3 b x 3 a x 2 b x a x b x 2 a x 2 b x 2 a x b x a x - 1 b x - 1 1 .
For solving the problems of the technologies described above, another technical solution used in the present invention is: provide the device based on CIE Lab color space color conversion, described device comprises:
Initial data input module, for inputting the original graph data based on CIE Lab three-dimensional color space;
Cutting module, for being cut into space, all colours place corresponding for described original graph data in parts n two-dimentional color space plane by brightness, be respectively two-dimentional color space plane L1, L2, L3 ..., Ln-1 and Ln, wherein n is natural number;
First corresponding relation module, for described original graph data are defined as An respectively at the most saturated peripheral specified point of two-dimentional color space plane Ln, Bn, Cn, Dn, ..., An ' is defined as respectively by with the most saturated peripheral specified point on the two-dimentional color space plane Ln ' of the described target of original graph data two dimension color space plane Ln under same brightness level, Bn ', Cn ', Dn ', ..., wherein, the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... with the most saturated peripheral specified point An of two-dimentional color space plane Ln, Bn, Cn, Dn, ... between there is the first one-to-one relationship,
First transition matrix module, for according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... with the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn, ... between the first one-to-one relationship, determine the first transformational relation matrix, according to described first transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary peripheral specified point on described two-dimentional color space plane Ln, b) be converted to the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' two-dimensional color (a ', b '),
Second corresponding relation module, for according to the first one-to-one relationship described, determine the most saturated peripheral specified point An-1 ' on target two dimension color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ' ... and original graph data the most saturated peripheral specified point An-1, Bn-1, Cn-1, the second one-to-one relationship between Dn-1 ... on two-dimentional color space plane Ln-1;
Second transition matrix module, for determining the second transformational relation matrix according to described the second one-to-one relationship, according to described second transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln-1 peripheral specified point, b) two-dimensional color (a ', b ') of point corresponding with the most saturated described peripheral specified point in target Ln-1 ' color space plane is converted to;
Computing module, for the two-dimensional color (a according to the most saturated peripheral specified point An on described two-dimentional color space plane Ln, Bn, Cn, Dn ..., two-dimensional color (a of the most saturated peripheral specified point An-1 b) and on two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1 ..., b), calculate the two-dimensional color (a of the most saturated peripheral specified point Ax, Bx, Cx, Dx ... on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, b), wherein, Ax=(a ax, b ax), Bx=(a bx, b bx), Cx=(a cx, b cx), Dx=(a dx, b dx), ..., according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... two-dimensional color (a ', b ') An-1 ' upper with two-dimentional color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', ... two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', ... two-dimensional color (a ', b '), wherein, Ax '=(a ax '', b ax ''), Bx=(a bx '', b bx ''), Cx=(a cx '', b cx ''), Dx=(a dx '', b dx '') ...,
3rd transition matrix module, for according to the most saturated peripheral specified point Ax ' on described two-dimentional color space plane Lx ', Bx ', Cx ', Dx ' ... and the most saturated peripheral specified point Ax on two-dimentional color space plane Lx, Bx, Cx, Dx ..., calculate two-dimensional color (a on described two-dimentional color space plane Lx *, b *) and the upper two-dimensional color (a of target two dimension color space plane Lx ' *', b *') between the 3rd transformational relation matrix;
Object space color module, for by described 3rd transformational relation matrix, calculates the color of object after color conversion adjustment by any point color being positioned at original graph data on described two-dimentional color space plane Lx;
Target data output module, for exporting or preserve the target diagram data of the color of object after corresponding described color conversion adjustment.
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: provide a kind of liquid crystal indicator, described device comprises:
Initial data input module, for inputting the original graph data based on CIE Lab three-dimensional color space;
Cutting module, for being cut into space, all colours place corresponding for described original graph data in parts n two-dimentional color space plane by brightness, be respectively two-dimentional color space plane L1, L2, L3 ..., Ln-1 and Ln, wherein n is natural number;
First corresponding relation module, for described original graph data are defined as An respectively at the most saturated peripheral specified point of two-dimentional color space plane Ln, Bn, Cn, Dn, ..., An ' is defined as respectively by with the most saturated peripheral specified point on the two-dimentional color space plane Ln ' of the described target of original graph data two dimension color space plane Ln under same brightness level, Bn ', Cn ', Dn ', ..., wherein, the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... with the most saturated peripheral specified point An of two-dimentional color space plane Ln, Bn, Cn, Dn, ... between there is the first one-to-one relationship,
First transition matrix module, for according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... with the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn, ... between the first one-to-one relationship, determine the first transformational relation matrix, according to described first transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary peripheral specified point on described two-dimentional color space plane Ln, b) be converted to the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' two-dimensional color (a ', b '),
Second corresponding relation module, for according to the first one-to-one relationship described, determine the most saturated peripheral specified point An-1 ' on target two dimension color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ' ... and original graph data the most saturated peripheral specified point An-1, Bn-1, Cn-1, the second one-to-one relationship between Dn-1 ... on two-dimentional color space plane Ln-1;
Second transition matrix module, for determining the second transformational relation matrix according to described the second one-to-one relationship, according to described second transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln-1 peripheral specified point, b) two-dimensional color (a ', b ') of point corresponding with the most saturated described peripheral specified point in target Ln-1 ' color space plane is converted to;
Computing module, for the two-dimensional color (a according to the most saturated peripheral specified point An on described two-dimentional color space plane Ln, Bn, Cn, Dn ..., two-dimensional color (a of the most saturated peripheral specified point An-1 b) and on two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1 ..., b), calculate the two-dimensional color (a of the most saturated peripheral specified point Ax, Bx, Cx, Dx ... on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, b), wherein, Ax=(a ax, b ax), Bx=(a bx, b bx), Cx=(a cx, b cx), Dx=(a dx, b dx), ..., according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... two-dimensional color (a ', b ') An-1 ' upper with two-dimentional color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', ... two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', ... two-dimensional color (a ', b '), wherein, Ax '=(a ax '', b ax ''), Bx=(a bx '', b bx ''), Cx=(a cx '', b cx ''), Dx=(a dx '', b dx '') ...,
3rd transition matrix module, for according to the most saturated peripheral specified point Ax ' on described two-dimentional color space plane Lx ', Bx ', Cx ', Dx ' ... and the most saturated peripheral specified point Ax on two-dimentional color space plane Lx, Bx, Cx, Dx ..., calculate two-dimensional color (a on described two-dimentional color space plane Lx *, b *) and the upper two-dimensional color (a of target two dimension color space plane Lx ' *', b *') between the 3rd transformational relation matrix;
Object space color module, for by described 3rd transformational relation matrix, calculates the color of object after color conversion adjustment by any point color being positioned at original graph data on described two-dimentional color space plane Lx;
Display module, for showing according to the target diagram data of the color of object after described color conversion adjustment.
The invention has the beneficial effects as follows: the situation being different from prior art, the present invention by original graph data two dimension color space plane Ln and two-dimentional color space plane Ln-1 by transformational relation matrix conversion be target two dimension color space plane Ln ' and two-dimentional color space plane Ln-1 ', the two-dimentional color space plane Lx of any brightness between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1 is calculated by two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, by two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' calculate between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, the transformational relation matrix between two-dimentional color space plane Lx and two-dimentional color space plane Lx ' is calculated by two-dimentional color space plane Lx and Lx ', by the transformational relation matrix between two-dimentional color space plane Lx and two-dimentional color space plane Lx ', the color of object after color conversion adjustment can be calculated by being positioned at original graph data any point color on two-dimentional color space plane Lx, and complete the spatial color of color of object, in this way, the conversion of color signal can be done at CIE Lab color space, adjustment exports form and aspect and the colorimetric purity performance of color, also can particular preferences look be done special reinforcement and be highlighted.
Accompanying drawing explanation
Fig. 1 is the flow chart of an embodiment of the color conversion method that the present invention is based on the CIE Lab color space;
Fig. 2 is the schematic diagram of the color content of the original two dimensional color space and the target two dimension color space in the embodiment of the color conversion method that the present invention is based on the CIE Lab color space;
Fig. 3 is the schematic diagram of three the most saturated peripheral specified points of the original two dimensional color space in the embodiment of the color conversion method that the present invention is based on the CIE Lab color space;
Fig. 4 is the schematic diagram of three the most saturated peripheral specified points of the target two dimension color space in the embodiment of the color conversion method that the present invention is based on the CIE Lab color space;
Fig. 5 is the relation schematic diagram of two-dimentional form and aspect and colorimetric purity in CIE 1931 color space;
Fig. 6 is the relation schematic diagram of three-dimensional form and aspect and colorimetric purity in the CIE Lab color space of the present invention;
Fig. 7 is the structural representation of an embodiment of the device of the color conversion that the present invention is based on the CIE Lab color space;
Fig. 8 is the structural representation of an embodiment of liquid crystal indicator of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in detail.
Fig. 1 is the flow chart of an embodiment of the color conversion method that the present invention is based on the CIE Lab color space, as shown in Figure 1, comprises the steps:
Step S101: input the original graph data based on CIE Lab three-dimensional color space;
Lab three-dimensional color space can not be this theory blue and yellow based on a kind of color simultaneously and set up, and single numerical value can be used for describing red green and champac color characteristic, and wherein, L represents brightness value, and a represents red value of green, and b represents champac value.It represents a color space by L, a, b tri-mutually perpendicular reference axis, and L axle represents lightness, black in bottom, in vain on top.+ a represents magenta, and-a represents green, and+b represents yellow, and-b represents blue, and a axle is a red green axle, and b axle is a yellow blue axle.
Step S102: be cut into space, all colours place corresponding for described original graph data in parts n two-dimentional color space plane by brightness, be respectively two-dimentional color space plane L1, L2, L3 ..., Ln-1 and Ln, wherein n is natural number;
Two dimension color space plane refers to the two-dimensional color space plane be made up of the red green axle of a axle and the yellow blue axle of b axle.The space be made up of L axle, a axle and b axle by all colours corresponding for described original graph data is cut into n the two-dimentional color space plane be made up of a axle and b axle in parts by brightness L axle, space, all colours place corresponding to original graph data is three-dimensional color space, after point cuttings such as brightness, become n two-dimentional color space plane, the color conversion problem of complexity has been carried out simplify process.Concrete cutting method is: the original three-dimensional color space plane be made up of L axle, a axle and b axle split according to L axle-brightness value, be divided into the two-dimentional color space plane that n decile is made up of a axle and b axle, wherein the brightness value of n the two-dimentional color space plane be made up of a axle and b axle is respectively L1, L2, L3 ..., Ln-1 and Ln.
As shown in Figure 2, script space, three-dimensional Lab uniform colour space former map file all colours place is cut into the brightness of n equal portions according to brightness, two-dimensional color content on this n equal portions luminance plane is two-dimentional color space plane Ln201 at native color place space S A, form and aspect and the colorimetric purity performance of color is exported according to hobby adjustment, produce the new two-dimensional color content two dimension color space plane Ln ' 202 under targeted colorspace SB same brightness, as shown in Figure 2, the two-dimentional color space plane Ln201 of same brightness and the color content of two-dimentional color space plane Ln ' 202.
Step S103: described original graph data are defined as An respectively at the most saturated peripheral specified point of two-dimentional color space plane Ln, Bn, Cn, Dn, ..., An ' is defined as respectively by with the most saturated peripheral specified point on the two-dimentional color space plane Ln ' of the described target of original graph data two dimension color space plane Ln under same brightness level, Bn ', Cn ', Dn ', ..., wherein, the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... with the most saturated peripheral specified point An of two-dimentional color space plane Ln, Bn, Cn, Dn, ... between there is the first one-to-one relationship,
Saturation is one of inscape of color, and refer to the purity of color, purity is higher, and show distincter, purity is lower, shows then dulller.What is called is the most saturated refers to that the purity of color is the highest.
One-to-one relationship between this original graph data two dimension color space plane and target two dimension color space plane, is conducive to finding the transformational relation between original graph data two dimension color space plane and target two dimension color space plane.
As shown in Figure 2, the peripheral specified point A ' that on target two dimension color space plane Ln ' 202, in two-dimensional color content, colorimetric purity is maximum, B ', C ', D ', ..., the peripheral specified point A that on two dimension color space plane Ln201, colorimetric purity is maximum, B, C, D, ..., specified point is exported form and aspect and the colorimetric purity performance of color according to hobby adjustment, produce color of object, as shown in Figure 2, the peripheral specified point A of two dimension color space plane Ln201, B, C, D, ... with the peripheral specified point A ' of two-dimentional color space plane Ln ' 202, B ', C ', D ', ... between there is the first one-to-one relationship.
Step S104: according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... with the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn, ... between the first one-to-one relationship, determine the first transformational relation matrix, according to described first transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary peripheral specified point on described two-dimentional color space plane Ln, b) be converted to the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' two-dimensional color (a ', b '),
Matrix refers to the two-dimensional data table arranged in length and breadth, is the instrument solving system of linear equations.First transformational relation matrix is exactly the two-dimensional color (a of the most saturated arbitrary peripheral specified point on two-dimentional color space plane Ln, b) with the matrix meeting certain linear transformation relation between the two-dimensional color of the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' (a ', b ').
According to the first one-to-one relationship on the most saturated peripheral specified point on two-dimentional color space plane Ln and target two dimension color space plane Ln ' between the most saturated peripheral specified point, determine the first transformational relation matrix, by this transformational relation matrix, can by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln peripheral specified point, b) be converted to the upper point corresponding with this most saturated peripheral specified point of target two dimension color space plane Ln ' two-dimensional color (a ', b '), can determine thus the upper all two-dimensional color of target two dimension color space plane Ln ' (a ', b ').
Step S105: according to the first one-to-one relationship described, determine the most saturated peripheral specified point An-1 ' on target two dimension color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', ... with original graph data the most saturated peripheral specified point An-1 on two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1, ... between the second one-to-one relationship, the second transformational relation matrix is determined according to described the second one-to-one relationship, according to described second transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln-1 peripheral specified point, b) be converted to point corresponding with the most saturated described peripheral specified point in target Ln-1 ' color space plane two-dimensional color (a ', b '),
Matrix refers to the two-dimensional data table arranged in length and breadth, is the instrument solving system of linear equations.Second transformational relation matrix is exactly the two-dimensional color (a of the most saturated arbitrary peripheral specified point on two-dimentional color space plane Ln-1, b) with the matrix meeting certain linear transformation relation between the two-dimensional color of the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln-1 ' (a ', b ').
Adopt and use the same method, also can according to the second one-to-one relationship on the most saturated peripheral specified point on two-dimentional color space plane Ln-1 and target two dimension color space plane Ln-1 ' between the most saturated peripheral specified point, determine the second transformational relation matrix, by this transformational relation matrix, can by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln-1 peripheral specified point, b) be converted to the upper point corresponding with this most saturated peripheral specified point of target two dimension color space plane Ln-1 ' two-dimensional color (a ', b '), can determine thus the upper all two-dimensional color of target two dimension color space plane Ln-1 ' (a ', b ').
In actual applications, step S104 also can after step S105, and step S104 and step S105 does not have the relation of sequencing.
Step S106: according to the two-dimensional color (a of the most saturated peripheral specified point An on described two-dimentional color space plane Ln, Bn, Cn, Dn ..., two-dimensional color (a of the most saturated peripheral specified point An-1 b) and on two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1 ..., b), calculate the two-dimensional color (a of the most saturated peripheral specified point Ax, Bx, Cx, Dx ... on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, b), wherein, Ax=(a ax, b ax), Bx=(a bx, b bx), Cx=(a cx, b cx), Dx=(a dx, b dx), ..., according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... two-dimensional color (a ', b ') An-1 ' upper with two-dimentional color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', ... two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', ... two-dimensional color (a ', b '), wherein, Ax '=(a ax '', b ax ''), Bx=(a bx '', b bx ''), Cx=(a cx '', b cx ''), Dx=(a dx '', b dx '') ...,
According to the two-dimensional color (a of the most saturated peripheral specified point on two-dimentional color space plane Ln, b) with the two-dimensional color (a of the most saturated peripheral specified point on two-dimentional color space plane Ln-1, b), calculate the two-dimensional color (a, b) of the most saturated peripheral specified point on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1; According to the two-dimensional color of the most saturated peripheral specified point on two-dimentional color space plane Ln ' (a ', b ') with two-dimentional color space plane Ln-1 ' on the most saturated peripheral specified point two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the two-dimensional color of the most saturated peripheral specified point on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level (a ', b ').
As shown in Figure 3, according to the most saturated peripheral specified point An-1 of two-dimentional color space plane Ln301 the most saturated peripheral specified point An, Bn, Cn, Dn and two-dimentional color space plane Ln-1302, Bn-1, Cn-1, Dn-1 ..., first interpolation goes out the most saturated peripheral specified point Ax of the two-dimentional color space plane Lx303 of brightness between two-dimentional color space plane Ln301 and two-dimentional color space plane Ln-1302, Bx, Cx, Dx ..., wherein An (a n, b n) 304, An-1 (a n-1, b n-1) 305, Ax (a x, b x) 306 are the most saturated peripheral specified points of Three Represents on two-dimentional color space plane Ln301, Ln-1302 and Lx303.
Shown in Fig. 4, brightness (L1 is divided with known n etc. in position, L2, L3, L4, ..., Ln) color conversion between the two-dimentional color space plane Ln under the arbitrary brightness in space and two-dimentional color space plane Ln ', according to the most saturated peripheral specified point An ' of two-dimentional color space plane Ln ' 401, Bn ', Cn ', Dn ', ... with the most saturated peripheral specified point An-1 ' of two-dimentional color space plane Ln-1 ' 402, Bn-1 ', Cn-1 ', Dn-1 ', ..., first interpolation goes out the most saturated peripheral specified point Ax ' being positioned at the two-dimentional color space plane Lx ' 403 between two-dimentional color space plane Ln ' 401 and two-dimentional color space plane Ln-1 ' 402 in brightness, Bx ', Cx ', Dx ', ..., wherein An ' (a n', b n') 404, An-1 ' (a n-1', b n-1') 405, Ax ' (a x', b x') 406 are the most saturated peripheral specified points of Three Represents on two-dimentional color space plane Ln ' 401, Ln-1 ' 402 and Lx ' 403.
Step S107: according to the most saturated peripheral specified point Ax ' on described two-dimentional color space plane Lx ', Bx ', Cx ', Dx ' ... and the most saturated peripheral specified point Ax on two-dimentional color space plane Lx, Bx, Cx, Dx ..., calculates two-dimensional color (a on described two-dimentional color space plane Lx *, b *) and the upper two-dimensional color (a of target two dimension color space plane Lx ' *', b *') between the 3rd transformational relation matrix;
Matrix refers to the two-dimensional data table arranged in length and breadth, is the instrument solving system of linear equations.3rd transformational relation matrix is exactly the two-dimensional color (a of any point on two-dimentional color space plane Lx, b) with the matrix meeting certain linear transformation relation between the two-dimensional color of the upper point corresponding with described any point of target two dimension color space plane Lx ' (a ', b ').
As shown in Figure 3, Figure 4, the 3rd transformational relation matrix is calculated according to the most saturated peripheral specified point Ax ' of the most saturated peripheral specified point Ax of two-dimentional color space plane Lx303, Bx, Cx, Dx ... and two-dimentional color space plane Lx ' 403, Bx ', Cx ', one-to-one relationship between Dx ' ....
Step S108: by described 3rd transformational relation matrix, calculates the color of object after color conversion adjustment by any point color being positioned at original graph data on described two-dimentional color space plane Lx;
According to the 3rd transformational relation matrix, can by the two-dimensional color (a of any point on two-dimentional color space plane Lx, b) be converted to the upper point corresponding with described any point of target two dimension color space plane Lx ' two-dimensional color (a ', b '), the upper all two-dimensional color of target two dimension color space plane Lx ' (a ', b ') can be determined thus.
Step S109: the target diagram data exporting or preserve the color of object after corresponding described color conversion adjustment.
Fig. 5 is the relation schematic diagram of two-dimentional form and aspect and colorimetric purity in CIE 1931 color space of the present invention, as shown in Figure 5, the color that former map file RGB input signal shows in CIE 1931 color space as " color 1 " the chroma content that comprises, after former R, G, B signal is changed, according to hobby demand, original color performance can be transformed into " color 2 " by " color 1 ", original green color representation be allowed it inclined more yellow.The partially green form and aspect of color representation on display originally can be allowed to be transformed into partially yellow through the conversion of this signal, increase the soften of global pattern.
Fig. 6 is the relation schematic diagram of three-dimensional form and aspect and colorimetric purity in the CIE Lab color space of the present invention, as shown in Figure 6, the space, all colours place of former map file is that (SA601 is not necessarily as Fig. 6 all colours composition square color space for SA601, can be the color space distribution of content of arbitrary curved surface), according to hobby demand, adjustment exports form and aspect and the colorimetric purity performance of color, making all colours of former map file content convert space, place to is SB602 (SB602 is all colours composition square color space not necessarily, can be the color space distribution of content of arbitrary curved surface).
In a preferred embodiment, described first transformational relation matrix is:
a n ′ b n ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a n 3 b n 3 a n 2 b n a n b n 2 a n 2 b n 2 a n b n a n b n 1 .
First transformational relation matrix is exactly the two-dimensional color (a of the most saturated arbitrary peripheral specified point on two-dimentional color space plane Ln, b) with the matrix meeting certain linear transformation relation between the two-dimensional color of the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' (a ', b ').In a preferred embodiment, two-dimensional color (a of the most saturated arbitrary peripheral specified point on two dimension color space plane Ln, b) with the functional relation that the linear transformation relation met between the two-dimensional color of the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' (a ', b ') is cubic polynomial.In the first transformational relation matrix, the matrix on the equal sign left side is objective matrix, and first matrix on the right of equal sign is the coefficient matrix of the functional relation of cubic polynomial, and second matrix on the right of equal sign is the matrix of variables of the functional relation of cubic polynomial.
In actual applications, two-dimensional color (a of the most saturated arbitrary peripheral specified point on two dimension color space plane Ln, b) with the two-dimensional color of the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' (a ', b ') between the linear transformation relation that meets also can be the polynomial functional relation of more than three times, the functional relation of such as quartic polynomial, the functional relation etc. of quintic algebra curve, if the polynomial functional relation of more than three times, the columns of coefficient matrix and the line number of matrix of variables do corresponding adjustment.
Wherein, described second transformational relation matrix is:
a n - 1 ′ b n - 1 ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a n - 1 3 b n - 1 3 a n - 1 2 b n - 1 a n - 1 b n - 1 2 a n - 1 2 b n - 1 2 a n - 1 b n - 1 a n - 1 b n - 1 1 .
Second transformational relation matrix is exactly the two-dimensional color (a of the most saturated arbitrary peripheral specified point on two-dimentional color space plane Ln-1, b) with the matrix meeting certain linear transformation relation between the two-dimensional color of the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln-1 ' (a ', b ').In a preferred embodiment, two-dimensional color (a of the most saturated arbitrary peripheral specified point on two dimension color space plane Ln-1, b) with the two-dimensional color of the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln-1 ' (a ', b ') between the linear transformation relation that meets be the functional relation of cubic polynomial, in the second transformational relation matrix, the matrix on the equal sign left side is objective matrix, first matrix on the right of equal sign is the coefficient matrix of the functional relation of cubic polynomial, second matrix on the right of equal sign is the matrix of variables of the functional relation of cubic polynomial.
In actual applications, two-dimensional color (a of the most saturated arbitrary peripheral specified point on two dimension color space plane Ln-1, b) with the two-dimensional color of the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln-1 ' (a ', b ') between the linear transformation relation that meets also can be the polynomial functional relation of more than three times, the functional relation of such as quartic polynomial, the functional relation etc. of quintic algebra curve, if the polynomial functional relation of more than three times, the columns of coefficient matrix and the line number of matrix of variables do corresponding adjustment.
Wherein, two-dimensional color (a of the most saturated peripheral specified point An on described two-dimentional color space plane Ln, Bn, Cn, Dn ..., two-dimensional color (a of the most saturated peripheral specified point An-1 b) and on described two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1 ..., b), calculate the two-dimensional color (a of the most saturated peripheral specified point Ax, Bx, Cx, Dx ... on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, b), wherein, Ax=(a ax, b ax), Bx=(a bx, b bx), Cx=(a cx, b cx), Dx=(a dx, b dx) ... step comprise: calculate according to Ax, Bx, Cx, Dx ... and An, Bn, Cn, Dn ... and An-1, Bn-1, Cn-1, the first relational expression between Dn-1 ..., calculate the two-dimensional color (a of the most saturated peripheral specified point Ax, Bx, Cx, Dx ... on the two-dimentional color space plane Lx under the arbitrary luminance level between Ln and Ln-1, b), wherein, described first relational expression is:
a x=a n+(L x-L n)*(a n-1-a n)/(L n-1-L n)
b x=b n+(L x-L n)*(b n-1-b n)/(L n-1-L n)
According to the first relational expression, the two-dimensional color (a, b) of the most saturated peripheral specified point Ax, Bx, Cx, Dx ... on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1 can be obtained.
Wherein, the described two-dimensional color according to An ', Bn ', Cn ', Dn ' ... in Ln ' color space plane (a ', b ') with described Ln-1 ' color space plane on An-1 ', Bn-1 ', Cn-1 ', Dn-1 ' ... two-dimensional color (a ', b ') calculate be positioned between Ln ' and Ln-1 ' with the two-dimensional color of the most saturated peripheral specified point Ax ', Bx ', Cx ', Dx ' ... on the two-dimentional color space plane Lx ' of Lx under same luminance level (a ', b '), wherein, Ax '=(a ax '', b ax ''), Bx=(a bx '', b bx ''), Cx=(a cx '', b cx ''), Dx=(a dx '', b dx '') ... step comprise: calculate according to Ax ', Bx ', Cx ', Dx ' ... and An ', Bn ', Cn ', Dn ' ... and An-1 ', Bn-1 ', Cn-1 ', the second relational expression between Dn-1 ' ..., calculate be positioned between Ln ' and Ln-1 ' with the two-dimensional color of the most saturated peripheral specified point Ax ', Bx ', Cx ', Dx ' ... on the two-dimentional color space plane Lx ' of Lx under same luminance level (a ', b '), wherein, described second relational expression is:
a x’=a n’+(L x-L n)*(a n-1’-a n’)/(L n-1-L n)
b x’=b n’+(L x-L n)*(b n-1’-b n’)/(L n-1-L n)
According to the second relational expression, can obtain being positioned at the two-dimensional color (a ', b ') of the most saturated peripheral specified point Ax ', Bx ', Cx ', Dx ' ... on the two-dimentional color space plane Lx ' under the arbitrary luminance level between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 '.
Wherein, two-dimensional color (a in two-dimentional color space plane Lx plane is calculated described in *, b *) with two-dimensional color (a in target two dimension color space plane Lx ' plane *', b *') between the 3rd transformational relation matrix be:
a x ′ b x ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a x 3 b x 3 a x 2 b x a x b x 2 a x 2 b x 2 a x b x a x - 1 b x - 1 1 .
3rd transformational relation matrix is exactly the two-dimensional color (a of any point on two-dimentional color space plane Lx, b) with the matrix meeting certain linear transformation relation between the two-dimensional color of the upper point corresponding with described any point of target two dimension color space plane Lx ' (a ', b ').In a preferred embodiment, two-dimensional color (a of any point on two dimension color space plane Lx, b) with the two-dimensional color of the upper point corresponding with described any point of target two dimension color space plane Lx ' (a ', b ') between the linear transformation relation that meets be the functional relation of cubic polynomial, in the 3rd transformational relation matrix, the matrix on the equal sign left side is objective matrix, first matrix on the right of equal sign is the coefficient matrix of the functional relation of cubic polynomial, and second matrix on the right of equal sign is the matrix of variables of the functional relation of cubic polynomial.
In actual applications, two-dimensional color (a of any point on two dimension color space plane Lx, b) with the two-dimensional color of the upper point corresponding with described any point of target two dimension color space plane Lx ' (a ', b ') between the linear transformation relation that meets also can be the polynomial functional relation of more than three times, the functional relation of such as quartic polynomial, the functional relation etc. of quintic algebra curve, if the polynomial functional relation of more than three times, the columns of coefficient matrix and the line number of matrix of variables do corresponding adjustment.
Be different from the situation of prior art, the present invention by original graph data two dimension color space plane Ln and two-dimentional color space plane Ln-1 by transformational relation matrix conversion be target two dimension color space plane Ln ' and two-dimentional color space plane Ln-1 ', the two-dimentional color space plane Lx of any brightness between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1 is calculated by two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, by two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' calculate between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, the transformational relation matrix between two-dimentional color space plane Lx and two-dimentional color space plane Lx ' is calculated by two-dimentional color space plane Lx and Lx ', by the transformational relation matrix between two-dimentional color space plane Lx and two-dimentional color space plane Lx ', the color of object after color conversion adjustment can be calculated by being positioned at original graph data any point color on two-dimentional color space plane Lx, and complete the spatial color of color of object, in this way, the conversion of color signal can be done at CIE Lab color space, adjustment exports form and aspect and the colorimetric purity performance of color, also can particular preferences look be done special reinforcement and be highlighted.
Fig. 7 is the structural representation of an embodiment of the device of the color conversion that the present invention is based on the CIE Lab color space, as shown in Figure 7, device comprises: initial data input module 701, cutting module 702, first corresponding relation module 703, first transition matrix module 704, second corresponding relation module 705, second transition matrix module 706, computing module 707, the 3rd transition matrix module 708, object space color module 709 and target data output module 710.
Initial data input module 701 is for inputting the original graph data based on CIE Lab three-dimensional color space.Lab three-dimensional color space can not be this theory blue and yellow based on a kind of color simultaneously and set up, and single numerical value can be used for describing red green and champac color characteristic, and wherein, L represents brightness value, and a represents red value of green, and b represents champac value.
Cutting module 702 is for being cut into space, all colours place corresponding for described original graph data in parts n two-dimentional color space plane by brightness, and be respectively two-dimentional color space plane L1, L2, L3 ..., Ln-1 and Ln, wherein n is natural number.
Two dimension color space plane refers to the two-dimensional color space plane be made up of the red green axle of a axle and the yellow blue axle of b axle.The space be made up of L axle, a axle and b axle by all colours corresponding for described original graph data is cut into n the two-dimentional color space plane be made up of a axle and b axle in parts by brightness L axle, space, all colours place corresponding to original graph data is three-dimensional color space, after point cuttings such as brightness, become n two-dimentional color space plane, the color conversion problem of complexity has been carried out simplify process.
First corresponding relation module 703 is for being defined as An by described original graph data respectively at the most saturated peripheral specified point of two-dimentional color space plane Ln, Bn, Cn, Dn..., An ' is defined as respectively by with the most saturated peripheral specified point on the two-dimentional color space plane Ln ' of the described target of original graph data two dimension color space plane Ln under same brightness level, Bn ', Cn ', Dn ' ..., wherein, the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ' ... with the most saturated peripheral specified point An of described two-dimentional color space plane Ln, Bn, Cn, Dn... there is between the first one-to-one relationship.
One-to-one relationship between this original graph data two dimension color space plane and target two dimension color space plane, is conducive to finding the transformational relation between original graph data two dimension color space plane and target two dimension color space plane.
First transition matrix module 704 is for according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ' ... with the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn... the first one-to-one relationship between, determine the first transformational relation matrix, according to described first transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary peripheral specified point on described two-dimentional color space plane Ln, b) be converted to the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' two-dimensional color (a ', b ').
According to the first one-to-one relationship on the most saturated peripheral specified point on two-dimentional color space plane Ln and target two dimension color space plane Ln ' between the most saturated peripheral specified point, determine the first transformational relation matrix, by this transformational relation matrix, can by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln peripheral specified point, b) be converted to the upper point corresponding with this most saturated peripheral specified point of target two dimension color space plane Ln ' two-dimensional color (a ', b '), can determine thus the upper all two-dimensional color of target two dimension color space plane Ln ' (a ', b ').
Second corresponding relation module 705, for according to the first one-to-one relationship described, determines the most saturated peripheral specified point An-1 ', Bn-1 ', Cn-1 ', Dn-1 ' on target two dimension color space plane Ln-1 ' ... and original graph data the most saturated peripheral the second one-to-one relationship between specified point An-1, Bn-1, Cn-1, Dn-1... on two-dimentional color space plane Ln-1.
Second transition matrix module 706 is for according to described the second one-to-one relationship, determine the second transformational relation matrix, according to described second transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln-1 peripheral specified point, b) two-dimensional color (a ', b ') of point corresponding with the most saturated described peripheral specified point in target Ln-1 ' color space plane is converted to.
Adopt and use the same method, also can according to the second one-to-one relationship on the most saturated peripheral specified point on two-dimentional color space plane Ln-1 and target two dimension color space plane Ln-1 ' between the most saturated peripheral specified point, determine the second transformational relation matrix, by this transformational relation matrix, can by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln-1 peripheral specified point, b) be converted to the upper point corresponding with this most saturated peripheral specified point of target two dimension color space plane Ln-1 ' two-dimensional color (a ', b '), can determine thus the upper all two-dimensional color of target two dimension color space plane Ln-1 ' (a ', b ').
Computing module 707 is for the two-dimensional color (a according to the most saturated peripheral specified point An on described two-dimentional color space plane Ln, Bn, Cn, Dn ..., two-dimensional color (a of the most saturated peripheral specified point An-1 b) and on two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1 ..., b), calculate the two-dimensional color (a of the most saturated peripheral specified point Ax, Bx, Cx, Dx ... on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, b), wherein, Ax=(a ax, b ax), Bx=(a bx, b bx), Cx=(a cx, b cx), Dx=(a dx, b dx), ..., according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... two-dimensional color (a ', b ') An-1 ' upper with two-dimentional color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', ... two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', ... two-dimensional color (a ', b '), wherein, Ax '=(a ax '', b ax ''), Bx=(a bx '', b bx ''), Cx=(a cx '', b cx ''), Dx=(a dx '', b dx '') ....
According to the two-dimensional color (a of the most saturated peripheral specified point on two-dimentional color space plane Ln, b) with the two-dimensional color (a of the most saturated peripheral specified point on two-dimentional color space plane Ln-1, b), calculate the two-dimensional color (a, b) of the most saturated peripheral specified point on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1; According to the two-dimensional color of the most saturated peripheral specified point on two-dimentional color space plane Ln ' (a ', b ') with two-dimentional color space plane Ln-1 ' on the most saturated peripheral specified point two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the two-dimensional color of the most saturated peripheral specified point on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level (a ', b ').
3rd transition matrix module 708, for according to the most saturated peripheral specified point Ax ' on described two-dimentional color space plane Lx ', Bx ', Cx ', Dx ' ... and the most saturated peripheral specified point Ax on two-dimentional color space plane Lx, Bx, Cx, Dx ..., calculates two-dimensional color (a on described two-dimentional color space plane Lx *, b *) and the upper two-dimensional color (a of target two dimension color space plane Lx ' *', b *') between the 3rd transformational relation matrix.
Any point color being positioned at original graph data on described two-dimentional color space plane Lx, for by described 3rd transformational relation matrix, is calculated the color of object after color conversion adjustment by object space color module 709.
According to the 3rd transformational relation matrix, can by the two-dimensional color (a of any point on two-dimentional color space plane Lx, b) be converted to the upper point corresponding with described any point of target two dimension color space plane Lx ' two-dimensional color (a ', b '), the upper all two-dimensional color of target two dimension color space plane Lx ' (a ', b ') can be determined thus.
Target data output module 710 is for exporting or preserve the target diagram data of the color of object after corresponding described color conversion adjustment.
Be different from the situation of prior art, the present invention by original graph data two dimension color space plane Ln and two-dimentional color space plane Ln-1 by transformational relation matrix conversion be target two dimension color space plane Ln ' and two-dimentional color space plane Ln-1 ', the two-dimentional color space plane Lx of any brightness between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1 is calculated by two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, by two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' calculate between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, the transformational relation matrix between two-dimentional color space plane Lx and two-dimentional color space plane Lx ' is calculated by two-dimentional color space plane Lx and Lx ', by the transformational relation matrix between two-dimentional color space plane Lx and two-dimentional color space plane Lx ', the color of object after color conversion adjustment can be calculated by being positioned at original graph data any point color on two-dimentional color space plane Lx, and complete the spatial color of color of object, in this way, the conversion of color signal can be done at CIE Lab color space, adjustment exports form and aspect and the colorimetric purity performance of color, also can particular preferences look be done special reinforcement and be highlighted.
Fig. 8 is the structural representation of the embodiment that the present invention is based on liquid crystal indicator, as shown in Figure 8, described device comprises: initial data input module 801, cutting module 802, first corresponding relation module 803, first transition matrix module 804, second corresponding relation module 805, second transition matrix module 806, computing module 807, the 3rd transition matrix module 808, object space color module 809 and display module 810.
Initial data input module 801 is for inputting the original graph data based on CIE Lab three-dimensional color space.Lab three-dimensional color space can not be this theory blue and yellow based on a kind of color simultaneously and set up, and single numerical value can be used for describing red green and champac color characteristic, and wherein, L represents brightness value, and a represents red value of green, and b represents champac value.
Cutting module 802 is for being cut into space, all colours place corresponding for described original graph data in parts n two-dimentional color space plane by brightness, and be respectively two-dimentional color space plane L1, L2, L3 ..., Ln-1 and Ln, wherein n is natural number.
First corresponding relation module 803 is for being defined as An by described original graph data respectively at the most saturated peripheral specified point of two-dimentional color space plane Ln, Bn, Cn, Dn, ..., An ' is defined as respectively by with the most saturated peripheral specified point on the two-dimentional color space plane Ln ' of the described target of original graph data two dimension color space plane Ln under same brightness level, Bn ', Cn ', Dn ', ..., wherein, the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... with the most saturated peripheral specified point An of described two-dimentional color space plane Ln, Bn, Cn, Dn, ... between there is the first one-to-one relationship.
First transition matrix module 804 is for according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... with the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn, ... between the first one-to-one relationship, determine the first transformational relation matrix, according to described first transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary peripheral specified point on described two-dimentional color space plane Ln, b) be converted to the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' two-dimensional color (a ', b ').
Second corresponding relation module 805 for according to the first one-to-one relationship described, determines the most saturated peripheral specified point An-1 ' on target two dimension color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ' ... and original graph data the most saturated peripheral specified point An-1, Bn-1, Cn-1, the second one-to-one relationship between Dn-1 ... on two-dimentional color space plane Ln-1.
Second transition matrix module 806 is for determining the second transformational relation matrix according to described the second one-to-one relationship, according to described second transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln-1 peripheral specified point, b) two-dimensional color (a ', b ') of point corresponding with the most saturated described peripheral specified point in target Ln-1 ' color space plane is converted to.
Computing module 807 is for the two-dimensional color (a according to the most saturated peripheral specified point An on described two-dimentional color space plane Ln, Bn, Cn, Dn ..., two-dimensional color (a of the most saturated peripheral specified point An-1 b) and on two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1 ..., b), calculate the two-dimensional color (a of the most saturated peripheral specified point Ax, Bx, Cx, Dx ... on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, b), wherein, Ax=(a ax, b ax), Bx=(a bx, b bx), Cx=(a cx, b cx), Dx=(a dx, b dx), ..., according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', ... two-dimensional color (a ', b ') An-1 ' upper with two-dimentional color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', ... two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', ... two-dimensional color (a ', b '), wherein, Ax '=(a ax '', b ax ''), Bx=(a bx '', b bx ''), Cx=(a cx '', b cx ''), Dx=(a dx '', b dx '') ....
3rd transition matrix module 808, for according to the most saturated peripheral specified point Ax ' on described two-dimentional color space plane Lx ', Bx ', Cx ', Dx ' ... and the most saturated peripheral specified point Ax on two-dimentional color space plane Lx, Bx, Cx, Dx ..., calculates two-dimensional color (a on described two-dimentional color space plane Lx *, b *) and the upper two-dimensional color (a of target two dimension color space plane Lx ' *', b *') between the 3rd transformational relation matrix.
Any point color being positioned at original graph data on described two-dimentional color space plane Lx, for by described 3rd transformational relation matrix, is calculated the color of object after color conversion adjustment by object space color module 809.
Display module 810 is for showing according to the target diagram data of the color of object after described color conversion adjustment.
Be different from the situation of prior art, the present invention by original graph data two dimension color space plane Ln and two-dimentional color space plane Ln-1 by transformational relation matrix conversion be target two dimension color space plane Ln ' and two-dimentional color space plane Ln-1 ', the two-dimentional color space plane Lx between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1 is calculated by two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, by two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' calculate between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, the transformational relation matrix between two-dimentional color space plane Lx and two-dimentional color space plane Lx ' is calculated by two-dimentional color space plane Lx and Lx ', by the transformational relation matrix between two-dimentional color space plane Lx and two-dimentional color space plane Lx ', the color of object after color conversion adjustment can be calculated by being positioned at original graph data any point color on two-dimentional color space plane Lx, and complete the spatial color of color of object, in this way, the conversion of color signal can be done at CIE Lab color space, adjustment exports form and aspect and the colorimetric purity performance of color, also can particular preferences look be done special reinforcement and be highlighted.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (5)

1. based on a color conversion method for the CIE Lab color space, it is characterized in that, comprising:
Input the original graph data based on CIE Lab three-dimensional color space;
Be cut into space, all colours place corresponding for described original graph data in parts n two-dimentional color space plane by brightness, be respectively two-dimentional color space plane L1, L2, L3 ..., Ln-1 and Ln, wherein n is natural number;
Described original graph data are defined as An respectively at the most saturated peripheral specified point of two-dimentional color space plane Ln, Bn, Cn, Dn, An ' is defined as respectively by with the most saturated peripheral specified point on the two-dimentional color space plane Ln ' of the described target of original graph data two dimension color space plane Ln under same brightness level, Bn ', Cn ', Dn ', wherein, the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', with the most saturated peripheral specified point An of two-dimentional color space plane Ln, Bn, Cn, Dn, between there is the first one-to-one relationship,
According to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', with the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn, between the first one-to-one relationship, determine the first transformational relation matrix, according to described first transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary peripheral specified point on described two-dimentional color space plane Ln, b) be converted to the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' two-dimensional color (a ', b '),
According to the first one-to-one relationship described, determine the most saturated peripheral specified point An-1 ' on target two dimension color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', with original graph data the most saturated peripheral specified point An-1 on two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1, between the second one-to-one relationship, the second transformational relation matrix is determined according to described the second one-to-one relationship, according to described second transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln-1 peripheral specified point, b) be converted to point corresponding with the most saturated described peripheral specified point in target Ln-1 ' color space plane two-dimensional color (a ', b '),
According to the most saturated peripheral specified point An on described two-dimentional color space plane Ln, Bn, Cn, Dn ... two-dimensional color (a, b) with two-dimentional color space plane Ln-1 on the most saturated peripheral specified point An-1, Bn-1, Cn-1, Dn-1 ... two-dimensional color (a, b), calculate the most saturated peripheral specified point Ax on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, Bx, Cx, Dx ... two-dimensional color (a, b), wherein, Ax=(a ax, b ax), Bx=(a bx, b bx), Cx=(a cx, b cx), Dx=(a dx, b dx), according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', two-dimensional color (a ', b ') An-1 ' upper with two-dimentional color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', two-dimensional color (a ', b '), wherein, Ax '=(a ax '', b ax ''), Bx '=(a bx '', b bx ''), Cx '=(a cx '', b cx ''), Dx '=(a dx '', b dx '')
According to the most saturated peripheral specified point Ax ' on described two-dimentional color space plane Lx ', Bx ', Cx ', Dx ' ... with the most saturated peripheral specified point Ax on two-dimentional color space plane Lx, Bx, Cx, Dx ... calculate two-dimensional color (a* on described two-dimentional color space plane Lx, b*) with the upper two-dimensional color of target two dimension color space plane Lx ' (a* ', b* ') between the 3rd transformational relation matrix;
By described 3rd transformational relation matrix, any point color being positioned at original graph data on described two-dimentional color space plane Lx is calculated the color of object after color conversion adjustment;
Export or preserve the target diagram data of the color of object after corresponding described color conversion adjustment;
Wherein, described first transformational relation matrix is:
a n ′ b n ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a n 3 b n 3 a n 2 b n a n b n 2 a n 2 b n 2 a n b n a n b n 1 ;
Wherein, described second transformational relation matrix is:
a n - 1 ′ b n - 1 ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a n - 1 3 b n - 1 3 a n - 1 2 b n - 1 a n - 1 b n - 1 2 a n - 1 2 b n - 1 2 a n - 1 b n - 1 a n - 1 b n - 1 1 ;
Wherein, the 3rd transformational relation matrix calculated described between the upper two-dimensional color of two-dimensional color (a*, b*) and target two dimension color space plane Lx ' on two-dimentional color space plane Lx (a* ', b* ') is:
a x ′ b x ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a x 3 b x 3 a x 2 b x a x b x 2 a x 2 b x 2 a x b x a x - 1 b x - 1 1 .
2. method according to claim 1, it is characterized in that: described according to the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn, two-dimensional color (a, b) with the most saturated peripheral specified point An-1 on described two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1, two-dimensional color (a, b), calculate the most saturated peripheral specified point Ax on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, Bx, Cx, Dx, two-dimensional color (a, b), wherein, Ax=(a ax, b ax), Bx=(a bx, b bx), Cx=(a cx, b cx), Dx=(a dx, b dx), step comprise: according to the most saturated peripheral specified point Ax on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, Bx, Cx, Dx, with the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn, and the most saturated peripheral specified point An-1 on two-dimentional color space plane Ln-1, Bn-1, Cn-1, Dn-1, between the first relational expression calculate, calculate the most saturated peripheral specified point Ax on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, Bx, Cx, Dx, two-dimensional color (a, b), wherein, described first relational expression is:
a x=a n+(L x-L n)*(a n-1-a n)/(L n-1-L n)
b x=b n+(L x-L n)*(b n-1-b n)/(L n-1-L n)。
3. method according to claim 1, it is characterized in that: described according to the most saturated peripheral specified point An ' on two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', two-dimensional color (a ', b ') with described two-dimentional color space plane Ln-1 ' on the most saturated peripheral specified point An-1 ', Bn-1 ', Cn-1 ', Dn-1 ', two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', two-dimensional color (a ', b '), wherein, Ax '=(a ax '', b ax ''), Bx '=(a bx '', b bx ''), Cx '=(a cx '', b cx ''), Dx '=(a dx '', b dx ''), step comprise: according to peripheral specified point Ax ' the most saturated on two-dimentional color space plane Lx ', Bx ', Cx ', Dx ', with the most saturated peripheral specified point An ' on two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', and the most saturated peripheral specified point An-1 ' on two-dimentional color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', between the second relational expression calculate, calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', two-dimensional color (a ', b '), wherein, described second relational expression is:
a x’=a n’+(L x-L n)*(a n-1’-a n’)/(L n-1-L n)
b x’=b n’+(L x-L n)*(b n-1’-b n’)/(L n-1-L n)。
4. based on a device for the color conversion of the CIE Lab color space, it is characterized in that: described device comprises:
Initial data input module, for inputting the original graph data based on CIE Lab three-dimensional color space;
Cutting module, for being cut into space, all colours place corresponding for described original graph data in parts n two-dimentional color space plane by brightness, be respectively two-dimentional color space plane L1, L2, L3 ..., Ln-1 and Ln, wherein n is natural number;
First corresponding relation module, for described original graph data are defined as An respectively at the most saturated peripheral specified point of two-dimentional color space plane Ln, Bn, Cn, Dn, An ' is defined as respectively by with the most saturated peripheral specified point on the two-dimentional color space plane Ln ' of the described target of original graph data two dimension color space plane Ln under same brightness level, Bn ', Cn ', Dn ', wherein, the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', with the most saturated peripheral specified point An of two-dimentional color space plane Ln, Bn, Cn, Dn, between there is the first one-to-one relationship,
First transition matrix module, for according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', with the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn, between the first one-to-one relationship, determine the first transformational relation matrix, according to described first transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary peripheral specified point on described two-dimentional color space plane Ln, b) be converted to the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' two-dimensional color (a ', b '),
Second corresponding relation module, for according to the first one-to-one relationship described, determine the most saturated peripheral specified point An-1 ' on target two dimension color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ' ... with original graph data on two-dimentional color space plane Ln-1 the most saturated peripheral specified point An-1, Bn-1, Cn-1, Dn-1 ... between the second one-to-one relationship;
Second transition matrix module, for determining the second transformational relation matrix according to described the second one-to-one relationship, according to described second transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln-1 peripheral specified point, b) two-dimensional color (a ', b ') of point corresponding with the most saturated described peripheral specified point in target Ln-1 ' color space plane is converted to;
Computing module, for according to the most saturated peripheral specified point An on described two-dimentional color space plane Ln, Bn, Cn, Dn ... two-dimensional color (a, b) with two-dimentional color space plane Ln-1 on the most saturated peripheral specified point An-1, Bn-1, Cn-1, Dn-1 ... two-dimensional color (a, b), calculate the most saturated peripheral specified point Ax on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, Bx, Cx, Dx ... two-dimensional color (a, b), wherein, Ax=(a ax, b ax), Bx=(a bx, b bx), Cx=(a cx, b cx), Dx=(a dx, b dx), according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', two-dimensional color (a ', b ') An-1 ' upper with two-dimentional color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', two-dimensional color (a ', b '), wherein, Ax '=(a ax '', b ax ''), Bx '=(a bx '', b bx ''), Cx '=(a cx '', b cx ''), Dx '=(a dx '', b dx '')
3rd transition matrix module, for according to the most saturated peripheral specified point Ax ' on described two-dimentional color space plane Lx ', Bx ', Cx ', Dx ' ... with the most saturated peripheral specified point Ax on two-dimentional color space plane Lx, Bx, Cx, Dx ... calculate two-dimensional color (a* on described two-dimentional color space plane Lx, b*) with the upper two-dimensional color of target two dimension color space plane Lx ' (a* ', b* ') between the 3rd transformational relation matrix;
Object space color module, for by described 3rd transformational relation matrix, calculates the color of object after color conversion adjustment by any point color being positioned at original graph data on described two-dimentional color space plane Lx;
Target data output module, for exporting or preserve the target diagram data of the color of object after corresponding described color conversion adjustment;
Wherein, described first transformational relation matrix is:
a n ′ b n ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a n 3 b n 3 a n 2 b n a n b n 2 a n 2 b n 2 a n b n a n b n 1 ;
Wherein, described second transformational relation matrix is:
a n - 1 ′ b n - 1 ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a n - 1 3 b n - 1 3 a n - 1 2 b n - 1 a n - 1 b n - 1 2 a n - 1 2 b n - 1 2 a n - 1 b n - 1 a n - 1 b n - 1 1 ;
Wherein, the 3rd transformational relation matrix calculated described between the upper two-dimensional color of two-dimensional color (a*, b*) and target two dimension color space plane Lx ' on two-dimentional color space plane Lx (a* ', b* ') is:
a x ′ b x ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a x 3 b x 3 a x 2 b x a x b x 2 a x 2 b x 2 a x b x a x - 1 b x - 1 1 .
5. a liquid crystal indicator, is characterized in that, described device comprises:
Initial data input module, for inputting the original graph data based on CIE Lab three-dimensional color space;
Cutting module, for being cut into space, all colours place corresponding for described original graph data in parts n two-dimentional color space plane by brightness, be respectively two-dimentional color space plane L1, L2, L3 ..., Ln-1 and Ln, wherein n is natural number;
First corresponding relation module, for described original graph data are defined as An respectively at the most saturated peripheral specified point of two-dimentional color space plane Ln, Bn, Cn, Dn, An ' is defined as respectively by with the most saturated peripheral specified point on the two-dimentional color space plane Ln ' of the described target of original graph data two dimension color space plane Ln under same brightness level, Bn ', Cn ', Dn ', wherein, the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', with the most saturated peripheral specified point An of two-dimentional color space plane Ln, Bn, Cn, Dn, between there is the first one-to-one relationship,
First transition matrix module, for according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', with the most saturated peripheral specified point An on two-dimentional color space plane Ln, Bn, Cn, Dn, between the first one-to-one relationship, determine the first transformational relation matrix, according to described first transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary peripheral specified point on described two-dimentional color space plane Ln, b) be converted to the upper point corresponding with the most saturated described peripheral specified point of target two dimension color space plane Ln ' two-dimensional color (a ', b '),
Second corresponding relation module, for according to the first one-to-one relationship described, determine the most saturated peripheral specified point An-1 ' on target two dimension color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ' ... with original graph data on two-dimentional color space plane Ln-1 the most saturated peripheral specified point An-1, Bn-1, Cn-1, Dn-1 ... between the second one-to-one relationship;
Second transition matrix module, for determining the second transformational relation matrix according to described the second one-to-one relationship, according to described second transformational relation matrix, by the two-dimensional color (a of the most saturated arbitrary on two-dimentional color space plane Ln-1 peripheral specified point, b) two-dimensional color (a ', b ') of point corresponding with the most saturated described peripheral specified point in target Ln-1 ' color space plane is converted to;
Computing module, for according to the most saturated peripheral specified point An on described two-dimentional color space plane Ln, Bn, Cn, Dn ... two-dimensional color (a, b) with two-dimentional color space plane Ln-1 on the most saturated peripheral specified point An-1, Bn-1, Cn-1, Dn-1 ... two-dimensional color (a, b), calculate the most saturated peripheral specified point Ax on the two-dimentional color space plane Lx under the arbitrary luminance level between two-dimentional color space plane Ln and two-dimentional color space plane Ln-1, Bx, Cx, Dx ... two-dimensional color (a, b), wherein, Ax=(a ax, b ax), Bx=(a bx, b bx), Cx=(a cx, b cx), Dx=(a dx, b dx), according to the most saturated peripheral specified point An ' on described two-dimentional color space plane Ln ', Bn ', Cn ', Dn ', two-dimensional color (a ', b ') An-1 ' upper with two-dimentional color space plane Ln-1 ', Bn-1 ', Cn-1 ', Dn-1 ', two-dimensional color (a ', b '), calculate be positioned between two-dimentional color space plane Ln ' and two-dimentional color space plane Ln-1 ' with the most saturated peripheral specified point Ax ' on the two-dimentional color space plane Lx ' of two-dimentional color space plane Lx under same luminance level, Bx ', Cx ', Dx ', two-dimensional color (a ', b '), wherein, Ax '=(a ax '', b ax ''), Bx '=(a bx '', b bx ''), Cx '=(a cx '', b cx ''), Dx '=(a dx '', b dx '')
3rd transition matrix module, for according to the most saturated peripheral specified point Ax ' on described two-dimentional color space plane Lx ', Bx ', Cx ', Dx ' ... with the most saturated peripheral specified point Ax on two-dimentional color space plane Lx, Bx, Cx, Dx ... calculate two-dimensional color (a* on described two-dimentional color space plane Lx, b*) with the upper two-dimensional color of target two dimension color space plane Lx ' (a* ', b* ') between the 3rd transformational relation matrix;
Object space color module, for by described 3rd transformational relation matrix, calculates the color of object after color conversion adjustment by any point color being positioned at original graph data on described two-dimentional color space plane Lx;
Display module, for showing according to the target diagram data of the color of object after described color conversion adjustment;
Wherein, described first transformational relation matrix is:
a n ′ b n ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a n 3 b n 3 a n 2 b n a n b n 2 a n 2 b n 2 a n b n a n b n 1 ;
Wherein, described second transformational relation matrix is:
a n - 1 ′ b n - 1 ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a n - 1 3 b n - 1 3 a n - 1 2 b n - 1 a n - 1 b n - 1 2 a n - 1 2 b n - 1 2 a n - 1 b n - 1 a n - 1 b n - 1 1 ;
Wherein, the 3rd transformational relation matrix calculated described between the upper two-dimensional color of two-dimensional color (a*, b*) and target two dimension color space plane Lx ' on two-dimentional color space plane Lx (a* ', b* ') is:
a x ′ b x ′ = a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 19 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 29 a 30 X a x 3 b x 3 a x 2 b x a x b x 2 a x 2 b x 2 a x b x a x - 1 b x - 1 1 .
CN201210082948.7A 2012-03-26 2012-03-26 Method and device for color transformation of color spaces based on CIE Lab (International Commission on Illumination Laboratory) Expired - Fee Related CN102625111B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201210082948.7A CN102625111B (en) 2012-03-26 2012-03-26 Method and device for color transformation of color spaces based on CIE Lab (International Commission on Illumination Laboratory)
PCT/CN2012/074154 WO2013143187A1 (en) 2012-03-26 2012-04-17 Cie lab color space-based method and device for color conversion and liquid crystal display device
US13/575,302 US8837828B2 (en) 2012-03-26 2012-04-17 CIE lab color space based color conversion method and device and liquid crystal display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210082948.7A CN102625111B (en) 2012-03-26 2012-03-26 Method and device for color transformation of color spaces based on CIE Lab (International Commission on Illumination Laboratory)

Publications (2)

Publication Number Publication Date
CN102625111A CN102625111A (en) 2012-08-01
CN102625111B true CN102625111B (en) 2015-03-11

Family

ID=46564772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210082948.7A Expired - Fee Related CN102625111B (en) 2012-03-26 2012-03-26 Method and device for color transformation of color spaces based on CIE Lab (International Commission on Illumination Laboratory)

Country Status (2)

Country Link
CN (1) CN102625111B (en)
WO (1) WO2013143187A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021746B (en) 2014-05-05 2016-06-15 京东方科技集团股份有限公司 The method of a kind of image detection and device
CN107967900B (en) * 2017-12-21 2020-09-11 惠科股份有限公司 Display device driving method, driving device and display device
CN112449168B (en) * 2019-09-03 2021-11-23 深圳Tcl新技术有限公司 Color gamut mapping method and system
CN110767198B (en) * 2019-09-29 2020-11-24 深圳吉迪思电子科技有限公司 Color gamut correction method and system and display driving integrated circuit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777228A (en) * 2004-11-16 2006-05-24 精工爱普生株式会社 Color conversion matrix creating device, color conversion matrix creating program, and image display apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7586642B2 (en) * 2003-07-25 2009-09-08 Hoya Corporation Color-space transformation-matrix calculating system and calculating method
CN100589521C (en) * 2008-09-01 2010-02-10 西安理工大学 Method for printing and outputting L*a*b* image with high fidelity
CN102520579B (en) * 2011-11-01 2013-07-24 上海理工大学 Seven-color separation method for colored images

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777228A (en) * 2004-11-16 2006-05-24 精工爱普生株式会社 Color conversion matrix creating device, color conversion matrix creating program, and image display apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈婧,唐万有,王学美.多项式回归法在印刷品质量检测中的研究.《包装工程》.2009,第30卷(第11期), *

Also Published As

Publication number Publication date
WO2013143187A1 (en) 2013-10-03
CN102625111A (en) 2012-08-01

Similar Documents

Publication Publication Date Title
CN102611897B (en) Method and system for carrying out vision perception high-fidelity transformation on color digital image
CN104981861B (en) Signal conversion device and method
CN104485068A (en) Luminance-chrominance correction method and system of LED (Light Emitting Diode) display screen
CN104464623B (en) A kind of method and device for adjusting the low GTG of light emitting diode
CN102625111B (en) Method and device for color transformation of color spaces based on CIE Lab (International Commission on Illumination Laboratory)
US9661187B1 (en) Color gamut mapping method based on color gamut of source image
CN104299565A (en) Low grey scale correction method and system of LED display device
CN112423426B (en) Method for automatically calibrating color temperature and illumination of light source based on color coordinates
KR101183456B1 (en) Method and system for extending color gamut
CN104157261A (en) Display mode adjusting method of display device and display mode adjusting module thereof
CN105282531A (en) Low grayscale white balance control method and device
KR20200054299A (en) Color gamut mapping method and color gamut mapping device
CN108922460B (en) Primary color optimization method for three-primary-color display and display device
CN104811676A (en) Gamut mapping method and gamut mapping device
CN101594545B (en) Color gamut expanding system and method
CN104933706A (en) Imaging system color information calibration method
Yang et al. The yellow ring measurement for the phosphor-converted white LED
CN105306917B (en) Low gray level white balance control method, control system and display
CN102723065B (en) Method and device for color conversion based on LCH color space, and liquid crystal display device
CN109000886A (en) A kind of light source detection method and device thereof, equipment and storage medium
CN102595148B (en) Method, device and liquid crystal display device for RGB (Red, Green, Blue) color space color gamut transformation
CN115041089B (en) LED automatic proportioning method and device based on spectral power
US10242461B1 (en) Method to improve overlay mapping of out-of-gamut
CN103971336B (en) Adjusting method, device and equipment for image lightness
TWI334733B (en)

Legal Events

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

Granted publication date: 20150311