CN102781135A - Method and system for coding palette - Google Patents
Method and system for coding palette Download PDFInfo
- Publication number
- CN102781135A CN102781135A CN2011101233664A CN201110123366A CN102781135A CN 102781135 A CN102781135 A CN 102781135A CN 2011101233664 A CN2011101233664 A CN 2011101233664A CN 201110123366 A CN201110123366 A CN 201110123366A CN 102781135 A CN102781135 A CN 102781135A
- Authority
- CN
- China
- Prior art keywords
- color
- saucer
- range
- produce
- blend
- 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.)
- Pending
Links
Images
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention relates to a method and a system for coding a palette, which are both suitable for a lamplight regulating control system. The method comprises the following steps of providing a touch palette; setting a first color on a first coordinate axis of the touch palette and a second color on a second coordinate axis of the touch palette, and generating a third color according to the first color and the second color; and mixing the first color, the second color and the third color to obtain a mixed color.
Description
Technical field
The invention relates to a kind of color saucer coding method and system, refer to a kind of color saucer coding method and system that is applicable to a light regulator control system especially.
Background technology
The technology of producing that touch sensing element is relevant is in advancing by leaps and bounds in recent years; The usefulness and the quality of touch-control sensing product are constantly promoted; Thereby impel various touch sensing element to be widely used in controlling the brightness and the color of light (for example, light-emitting diode (LED)).Yet traditional touch control component only can be used to adjust the light and shade of light or only can show fixing color and malleable not.Otherwise be that complex structure and production cost are higher, cause maintain and replace to be difficult for.
Therefore; In view of lacking an efficient and cost-effective mechanism, traditional System and method for solves traditional problem; Therefore need color saucer coding method and the system that proposes a novelty badly, can make light show various color, reduce production costs and simplified construction, to solve the above problems.
Summary of the invention
For addressing the above problem, the present invention provides a kind of color saucer coding method and system, through special setting and computing, with solve the light display color not malleable, cost is too high and the problem of complex structure.
According to an embodiment, the present invention provides a kind of color saucer coding method, is applicable to a light regulator control system, comprising: a touch-control color saucer is provided; One second color is set being provided with on one first color and one second reference axis on one first reference axis of this touch-control color saucer, and according to this first and second color to produce one the 3rd color; And mix this first, second and the 3rd color to produce a blend color.
Preferably, this color saucer coding method more comprises according to a rectangular coordinate, so that this first and second reference axis to be set.
Preferably, the color range of the 3rd color is M-(color range of this first and second color and divided by N), and wherein M is a color range, and N is any positive integer.Therefore, can mix this first, second and the color range of the 3rd color to produce this blend color.
Preferably, the color range of this 3rd color is the color range of this first and second color and divided by N, and wherein N is any positive integer.Therefore, can mix this first, second and the color range of the 3rd color to produce this blend color.
According to an embodiment, the present invention provides a kind of color saucer coded system, is applicable to a light regulator control system, comprising: a touch-control color saucer, on one first reference axis of this touch-control color saucer, one first color is set, and one second color is set on one second reference axis; One processing unit couples this touch-control color saucer, producing one the 3rd color, and mixes this first, second and the 3rd color according to this first and second color, to produce a blend color; And a display unit, couple this processing unit, show this blend color.
Preferably, this processing unit is according to a rectangular coordinate, so that this first and second reference axis to be set.
Preferably, this processing unit is according to formula M-(color range of this first and second color and divided by N), and to produce the color range of the 3rd color, wherein M is a color range, and N is any positive integer.Therefore, can mix this first, second and the color range of the 3rd color to produce this blend color.
Preferably, this processing unit is according to the color range of this first and second color with divided by N, and to produce the color range of the 3rd color, wherein N is any positive integer.Therefore, can mix this first, second and the color range of the 3rd color to produce this blend color.
Description of drawings
Fig. 1 shows a kind of color saucer coded system 1 that is applicable to a light regulator control system according to one embodiment of the invention;
Fig. 2 (a)-2 (b) shows the algorithm according to the generation blend color of one embodiment of the invention;
Fig. 3 shows a kind of color saucer coding method that is applicable to a light regulator control system according to one embodiment of the invention;
Fig. 4 (a)-4 (c) shows the shape according to the touch-control color saucer of one embodiment of the invention;
Fig. 5 (a)-5 (b) shows the blend color that formula produced according to Fig. 2 (a)-2 (b) respectively;
Description of reference numerals: 1-color saucer coded system; 11-touch-control color saucer; The 12-processing unit; The 13-display unit; Step s301~s303.
Embodiment
Now cooperate following graphic explanation detailed structure of the present invention, and annexation, be beneficial to expensive careful committee and do a understanding.
Fig. 1 shows a kind of color saucer coded system 1 that is applicable to a light regulator control system according to one embodiment of the invention, and this light regulator control system can be building lighting lamp, cabinet lamp or special efficacy lamp etc.This system 1 comprises: a touch-control color saucer 11, a processing unit 12 and a display unit 13.This touch-control color saucer 11; On one first reference axis of this touch-control color saucer, one first color is set; One second color is set on one second reference axis, and according to this first and second color to produce one the 3rd color, furthermore; Can be according to the color range of this first and second color, to produce the 3rd color and its color range.This color saucer shape can be quadrangle, circle or annulus, but is not subject to this.What need explanation is that this first, second color is respectively one of them of Red Green Blue, but is not subject to this, and the color of this first and second color can be inequality, to reach different colour gamut effects.This processing unit 12 couples this touch-control color saucer, producing one the 3rd color, and mixes this first, second and the 3rd color according to this first and second color, to produce a blend color.Shown in Fig. 2 (a), therefore, this processing unit 12 is according to following formula, to produce the color range of the 3rd color:
Color range=the M-of the 3rd color (color range of this first and second color with/N), wherein M is that color range and scope are 0~255, N is the quantity that can be color (for example 2) or according to the actual design demand, to be made as any positive integer.Therefore, cause the 3rd color color range to increase progressively increasing progressively of direction and this first, second color color range in the opposite direction.For example; In present embodiment; This first color on this first reference axis is blue, and this second color on this second reference axis is green, therefore; Produce the 3rd color (redness) according to this first color (blueness) and this second color (green), and the 3rd color color range to increase progressively increasing progressively of direction and this first, second color color range in the opposite direction.So by shown in Fig. 2 (a), the red depth is increased progressively toward the upper right corner by the lower right corner, all the other blue then being increased toward the lower right corner by the upper right corner with green are passed, and trichromatic folded look place will produce different blend colors according to the difference of trichromatic color range number.
At another embodiment, shown in Fig. 2 (b), the black-and-white two color and the brightness height that are produced in order more to highlight three primary colors, this processing unit is according to following formula, to produce the color range of the 3rd color:
The color range of the 3rd color=(color range of this first and second color with/N), wherein N can be number of colors (for example 2) or according to the actual design demand, to be made as any positive integer.Therefore, cause this first and second with three color color ranges to increase progressively direction identical.For example; In this embodiment; This first color on this first reference axis is blue, and this second color on this second reference axis is green, therefore; Produce the 3rd color (redness) according to this first color (blueness) and this second color (green), and the 3rd color color range increase progressively first, second color color range of direction and this to increase progressively direction identical.So by shown in Fig. 2 (b); Red, blue and green three primary colors are increased toward the lower right corner by the upper right corner to be passed; And trichromatic folded look place will produce different blend colors and colour brightness according to the difference of trichromatic color range number and change (brightness that is equal to white light just changes); And the upper right corner will significantly be shown as black and the lower right corner will be shown as white, and brightness is also increased toward the lower right corner by the upper right corner and passs.
This display unit 13 couples this processing unit 12, shows the brightness of this blend color and this blend color, and this display unit can be light-emitting diode, or the display lamp of being made up of a plurality of light-emitting diode.
Fig. 3 shows a kind of color saucer coding method that is applicable to a light regulator control system according to one embodiment of the invention.This method can cooperate Fig. 1 and Fig. 2 (a)-2 (b) to describe.At first; One touch-control color saucer 11 (step s 301) is provided; And one second color is set being provided with on one first color and one second reference axis on one first reference axis of this touch-control color saucer, and produces one the 3rd color (step s302), furthermore according to this first and second color; Can be according to the color range of this first and second color, to produce the 3rd color and its color range.This color saucer shape can be quadrangle, circle or annulus, but is not subject to this.Need explanation be this first and second, the 3rd color be respectively red (R), green (G), blue (B) trichromatic one of them; But be not subject to this; And this first and second color is also inequality, to reach different colour gamut effects, for example; First color can be blueness, and second color can be green and produces the 3rd red color.Or first color can be redness, second color can be blueness and produces the 3rd green color, or first color can be redness, second color can be green and produces conversion and analogize it according to this such as the 3rd blue color.In addition, can be according to a rectangular coordinate, so that this first and second reference axis to be set; For example, shown in Fig. 4 (a), this touch-control color saucer is a quadrangle; Then on these tetragonal both sides, two reference axis are set, and then first and second color (for example, G and B) is set; And according to above-mentioned second colors, to produce one the 3rd color (for example, R).Or shown in Fig. 4 (b), this touch-control color saucer is circular; Then can be at circle outer or justify in a rectangular coordinate is set, and with two reference axis of this coordinate so that first and second color (for example, G and B) to be set; And according to above-mentioned second colors; With produce one the 3rd color (for example, R) in those colors any the two, and a coordinate is set between this two reference axis to settle remaining color.Or shown in Fig. 4 (c), this touch-control color saucer is an annulus; Then a rectangular coordinate can be set outside this annulus or in the annulus, and with two reference axis of this coordinate so that first and second color (for example, G and B) to be set; And according to above-mentioned second colors, to produce one the 3rd color (for example, R).Then, mix this first, second and the 3rd colors through processing unit 12, producing a blend color, and according to the color range of this first and second color, to obtain the color range of one the 3rd color.Shown in Fig. 2 (a), be the scale of each with color range 0~255, so can be according to following formula, with the color range that produces the 3rd color one by above-mentioned three blend colors that color is mixed:
Color range=the M-of the 3rd color (color range of this first and second color with/N), wherein M is that color range and scope are 0~255, N is for can be number of colors (for example 2) or according to the actual design demand, to be made as any positive integer.Therefore, cause the 3rd color color range to increase progressively increasing progressively of direction and this first, second color color range in the opposite direction.
At another embodiment; Shown in Fig. 5 (b),, and be the scale of each with color range 0~255 for the colour brightness of the color (for example black and white) that more highlights three primary colors and produced changes (brightness that is equal to white light just changes); So can be according to following formula, to produce the color range of the 3rd color:
The color range of the 3rd color=(color range of this first and second color with/N), wherein, N can be number of colors (for example 2) or according to the actual design demand, to be made as any positive integer.Therefore, cause this first and second with three color color ranges to increase progressively direction identical.
Next, mix this first, second and the 3rd color, to produce a blend color (step s303).Furthermore, therefore, at present embodiment, when the user touched this touch-control color saucer 11, processing unit 12 can be through the color on the coordinate position correspondence touch-control color saucer of touch-control color saucer 11, with blend color and the brightness that determines that display unit 13 is exported.For example, Fig. 5 (a) shows the blend color according to Fig. 2 (a) formula, in Fig. 5 (a), first color is set for blue and have 0~255 color range on first reference axis; Second color is set for green and have 0~255 color range on second reference axis, and, comprises the 3rd red color and have 0~255 color range with generation according to the formula of Fig. 2 (a); With color range 0~255 is the scale of each reference axis, so the coordinate of some A is A (R, G; B)=(255-((196+98)/2), 196,98)=(108; 196,98), and the color that this blend color that is shown in an A green color range 196 that is mixing, blue color range 98 and red color range 108 are produced.Likewise, the coordinate of a B be B (R, G, B)=(255-((148+196)/2), 148,196)=(83,148,196), the blend color of this expression point B color that to be the green color range 148 of mixing, blue color range 196 produced with red color range 83.Fig. 5 (b) shows the blend color according to Fig. 2 (b) formula, shown in Fig. 5 (b), first color is set for blue and have 0~255 color range on first reference axis; Second color is set for green and have 0~255 color range on second reference axis, and, comprises the 3rd red color and have 0~255 color range with generation according to the formula of Fig. 2 (b); And the coordinate of some C be C (R, G, B)=((196+98)/2; 196,98)=(148,196; 98), the blend color of this expression point C is the color that the green color range 196 of mixing, blue color range 98 and red color range 148 are produced.Likewise, a D coordinate be D (R, G, B)=((148+196)/2,148,196)=(172,148,196), the blend color of this expression point D color that to be the green color range 148 of mixing, blue color range 196 produced with red color range 172.
Like the above embodiments; Though the present invention only provides trichromatic application; Also can use the color except three primary colors but the personage who is familiar with this skill all can understand the present invention,, also can adjust needed number of colors according to the situation of reality to produce and to show needed color according to the situation of reality; Cooperate difform touch-control color saucer, to produce different colors.
More than explanation is just illustrative for the purpose of the present invention, and nonrestrictive, those of ordinary skills understand; Under the situation of spirit that does not break away from following accompanying claims and limited and scope, can make many modifications, change; Or equivalence, but all will fall in protection scope of the present invention.
Claims (16)
1. a color saucer coding method is characterized in that, is applicable to a light regulator control system, comprising:
One touch-control color saucer is provided;
One second color is set being provided with on one first color and one second reference axis on one first reference axis of this touch-control color saucer, and according to this first and second color to produce one the 3rd color; And
Mix this first, second and the 3rd color, to produce a blend color.
2. color saucer coding method according to claim 1 is characterized in that, according to following formula, to produce the color range of the 3rd color:
Color range=the M-of the 3rd color (color range of this first and second color with/N), wherein M is that color range and scope are 0~255, N is any positive integer.
3. color saucer coding method according to claim 2 is characterized in that, more comprises the color range of mixing this first, second and the 3rd color, to produce this blend color.
4. color saucer coding method according to claim 1 is characterized in that, according to following formula, to produce the color range of the 3rd color:
The color range of the 3rd color=(color range of this first and second color with/N), wherein N is any positive integer.
5. color saucer coding method according to claim 4 is characterized in that, more comprises the color range of mixing this first, second and the 3rd color, to produce this blend color.
6. color saucer coding method according to claim 1 is characterized in that this first and second color is respectively one of them of Red Green Blue.
7. color saucer coding method according to claim 1 is characterized in that, more comprises:
According to a rectangular coordinate, so that this first and second reference axis to be set.
8. a color saucer coded system is characterized in that, is applicable to a light regulator control system, comprising:
One touch-control color saucer is provided with one second color being provided with on one first color and one second reference axis on one first reference axis of this touch-control color saucer;
One processing unit couples this touch-control color saucer, producing one the 3rd color, and mixes this first, second and the 3rd color according to this first and second color, to produce a blend color; And
One display unit couples this processing unit, shows this blend color.
9. color saucer coded system according to claim 8 is characterized in that this color saucer is shaped as quadrangle, circle or annulus.
10. color saucer coded system according to claim 8 is characterized in that this first and second color is respectively one of them of Red Green Blue.
11. color saucer coded system according to claim 8 is characterized in that, processing unit is according to following formula, to produce the color range of the 3rd color:
Color range=the M-of the 3rd color (color range of this first and second color with/N), wherein M is that color range and scope are 0~255, N is any positive integer.
12. color saucer coding method according to claim 11 is characterized in that, this processing unit more mixes this first, second and the color range of the 3rd color, to produce this blend color.
13. color saucer coded system according to claim 8 is characterized in that, processing unit is according to following formula, to produce the color range of the 3rd color:
The color range of the 3rd color=(color range of this first and second color with/N), wherein N is any positive integer.
14. color saucer coding method according to claim 13 is characterized in that, this processing unit more mixes this first, second and the color range of the 3rd color, to produce this blend color.
15. color saucer coded system according to claim 8 is characterized in that, this display unit is a light-emitting diode.
16. color saucer coded system according to claim 8 is characterized in that, this processing unit is according to a rectangular coordinate, so that this first and second reference axis to be set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101233664A CN102781135A (en) | 2011-05-13 | 2011-05-13 | Method and system for coding palette |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101233664A CN102781135A (en) | 2011-05-13 | 2011-05-13 | Method and system for coding palette |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102781135A true CN102781135A (en) | 2012-11-14 |
Family
ID=47125838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011101233664A Pending CN102781135A (en) | 2011-05-13 | 2011-05-13 | Method and system for coding palette |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102781135A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104113971A (en) * | 2014-08-08 | 2014-10-22 | 福州瑞芯微电子有限公司 | Light control method, light control device, light control terminal and light control system |
CN106445443A (en) * | 2016-09-30 | 2017-02-22 | 深圳市欧瑞博电子有限公司 | Color capture method and device based on RGB color disk |
WO2019006893A1 (en) * | 2017-07-01 | 2019-01-10 | 广州视源电子科技股份有限公司 | Palette, color blending method, readable storage medium, and computer apparatus |
CN113703635A (en) * | 2021-08-31 | 2021-11-26 | 维沃移动通信有限公司 | Color processing method and device and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101199238A (en) * | 2005-06-17 | 2008-06-11 | 皇家飞利浦电子股份有限公司 | Lighting device |
CN101324308A (en) * | 2007-06-11 | 2008-12-17 | 精碟科技股份有限公司 | Illumination device |
CN101926228A (en) * | 2008-01-24 | 2010-12-22 | 皇家飞利浦电子股份有限公司 | Color selection input device and method |
-
2011
- 2011-05-13 CN CN2011101233664A patent/CN102781135A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101199238A (en) * | 2005-06-17 | 2008-06-11 | 皇家飞利浦电子股份有限公司 | Lighting device |
CN101324308A (en) * | 2007-06-11 | 2008-12-17 | 精碟科技股份有限公司 | Illumination device |
CN101926228A (en) * | 2008-01-24 | 2010-12-22 | 皇家飞利浦电子股份有限公司 | Color selection input device and method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104113971A (en) * | 2014-08-08 | 2014-10-22 | 福州瑞芯微电子有限公司 | Light control method, light control device, light control terminal and light control system |
CN106445443A (en) * | 2016-09-30 | 2017-02-22 | 深圳市欧瑞博电子有限公司 | Color capture method and device based on RGB color disk |
CN106445443B (en) * | 2016-09-30 | 2019-05-24 | 深圳市欧瑞博电子有限公司 | One kind taking color method and device based on RGB color disk |
WO2019006893A1 (en) * | 2017-07-01 | 2019-01-10 | 广州视源电子科技股份有限公司 | Palette, color blending method, readable storage medium, and computer apparatus |
CN113703635A (en) * | 2021-08-31 | 2021-11-26 | 维沃移动通信有限公司 | Color processing method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104093247B (en) | A kind of full gamut multichannel color mixing method | |
CN102781135A (en) | Method and system for coding palette | |
CN100565658C (en) | The color correcting method of the target GAMMA curve of target setting display device | |
CN104299523A (en) | Pixel structure, display substrate and display device | |
CN103354076A (en) | Management system and method for unifying LED light colors | |
CN103714771B (en) | Image display unit, method of driving image display unit, signal generator and signal generation method | |
CN104520921A (en) | Color-signal-processing circuit, color signal processing method, display device, and electronic instrument | |
US20150061539A1 (en) | Electronic device, computer program product, and control system | |
CN105206228A (en) | LED scanning array driving chip capable of automatically regulating linear changes of brightness and regulating method | |
CN103474021B (en) | A kind of method increasing display color gamut of LED display screen | |
CN102800277B (en) | A kind of for regulating method and the display device of display device color and brightness | |
CN115396641A (en) | Laser projection display method, three-color laser projection equipment and readable storage medium | |
CN202838793U (en) | Multimedia sand table display system | |
Yoshiyama et al. | 29.2: Power‐Saving: A New Advantage of Multi‐Primary Color Displays Derived by Numerical Analysis | |
CN105528982B (en) | Image converter system and method for the rgb signal to RGBY signal | |
US9990899B2 (en) | Image display apparatus combining three-in-one with single color light-emitting elements | |
CN104488021A (en) | Image display device, driving method for image display device, signal production device, signal production program and signal production method | |
CN104485075A (en) | Color mixture method for display screen of light emitting element | |
CN102915697A (en) | Color gamut compensation method for display | |
CN205069081U (en) | LED scanning array driver chip that luminance linear change was adjusted by oneself | |
CN203276790U (en) | Led video cloth | |
CN101645217A (en) | Transparent LED display screen | |
TWI435994B (en) | Methods and systems of color palette coding | |
CN102901012B (en) | Backlight module and display device | |
CN102956218B (en) | Display system and display unit control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20121114 |