CN101893481B - Method and system for testing and determining color attribute - Google Patents
Method and system for testing and determining color attribute Download PDFInfo
- Publication number
- CN101893481B CN101893481B CN200910051397.6A CN200910051397A CN101893481B CN 101893481 B CN101893481 B CN 101893481B CN 200910051397 A CN200910051397 A CN 200910051397A CN 101893481 B CN101893481 B CN 101893481B
- Authority
- CN
- China
- Prior art keywords
- color
- skin
- attribute
- storage unit
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000012360 testing method Methods 0.000 title claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 8
- 238000005070 sampling Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 3
- 238000004043 dyeing Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 4
- 210000005252 bulbus oculi Anatomy 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 239000002537 cosmetic Substances 0.000 description 2
- 230000004069 differentiation Effects 0.000 description 2
- 230000001815 facial effect Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000000596 photon cross correlation spectroscopy Methods 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 230000037308 hair color Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000010422 painting Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Landscapes
- Spectrometry And Color Measurement (AREA)
Abstract
The invention relates to a method and a system for testing and determining color attribute. The method comprises the following steps: utilizing a camera to collect a skin image; and determining the four-season type attribute of a skin color from the skin image. The system comprises the camera, a processing unit, an input unit, an output unit and a storage unit, wherein the processing unit comprises an RGB value sampler and a color attribute determining device.
Description
Technical field
The present invention relates to a kind of color attribute test determination methods and system.
Background technology
Your Mrs Jackson of U.S. chromatist Carlow foundes " the color four seasons are theoretical " according to the characteristic in human body color characteristic and the four seasons, according to color four seasons theory, people is divided into: " spring, summer, autumn, winter " four coloured typies, each coloured typies has again their applicable color group, if people's selecting properly be applicable to oneself color group, it is very comfortable that this people can look very spiritual.This cover theory was used in clothes, cosmetic field in the past, but never applied in dyeing hairdressing field.
The method in the differentiation four seasons that " the color four seasons are theoretical " is traditional is to utilize painting cloth, by tester, testee's color attribute is carried out to artificial test, comparison and judgement.Therefore classic method is very high to tester's requirement, need tester to possess very dark color knowledge and abundant test experience, and these all needs the accumulation of time, so theoretical can only the offering of this cover used by the personage of professional training in the past.And the result of testing, comparing and judge often depends on the subjective factors such as tester's professional standards, profile, therefore final result has very large randomness and nonrepeatability.That is to say, according to traditional method, different testers may provide same testee different, may be even the conclusion of runing counter to; Or same tester can provide to same testee at different time the conclusion differing widely.Can allow like this testee at a loss as to what to do, and then affect the trust of testee to mechanism or product.
As everyone knows, the practitioner of the different mechanisms that improve looks is due to various reasons, and quality is uneven.The method in traditional differentiation color four seasons is because people's subjective judgement factor is occupied an leading position and can not be met and operates simply and obtain the demand of conclusion accurately.This just need to provide a kind of simple and convenient method accurately again, makes the test decision operation of color attribute simple, and result is accurate.
Summary of the invention
The object of the invention is to propose a kind of requirement that meets color test operation easy, the method and system of grasp client's that simultaneously can be correct color attribute.Use the method and system, can simply and exactly judge client's color attribute, analyze the applicable color development of client, thereby the only dependence experience of hairdresser in the past that solved causes the problem that result randomness is too strong to customer recommendation color development.
To achieve these goals, the invention provides a kind of color attribute test determination methods, the method comprises: utilize camera collection skin image; Four seasons type attribute from skin image judgement skin color.
In an advantageous manner of the present invention, from skin image, judge that the step of the four seasons type attribute of skin color comprises:
Extract the rgb value in skin image;
G value from described rgb value, the lightness attribute of judgement skin color, when G value is greater than certain threshold value, described skin color is high brightness, otherwise, be low lightness;
B value from described rgb value, the changes in temperature degree attribute of judgement skin color, when B value is greater than certain threshold value, described skin color is cool tone, otherwise, be warm tones.
To achieve these goals, the present invention also provides a kind of color attribute test judgement system, and it comprises: camera, processing unit, input block, output unit and storage unit, and wherein, processing unit comprises rgb value sampler and color attribute judgment means; Camera is connected with storage unit by incoming line, and the image of shooting is flowed to storage unit; The input end of rgb value sampler is connected with storage unit, to read skin image from storage unit, and skin image is carried out to rgb value sampling, the output terminal of rgb value sampler is connected with color attribute judgment means, for giving color attribute judgment means by the rgb value of gained; Color attribute judgment means and storage unit are carried out two-way communication, judged result can be flowed to storage unit on the one hand stores, on the other hand, if needed, color attribute judgment means can also be obtained out of Memory and carry out auxiliary judgment from storage unit; Color attribute judgment means is connected with output unit, to judged result is exported to output unit, shows; Customer information in storage unit also can flow to output unit by outlet line.
According to a kind of particularly advantageous embodiment of the present invention, the image acquisition areas of described camera has the flange that slightly protrudes from and surround cam lens.
Below in conjunction with accompanying drawing, the present invention is described in more detail.
Accompanying drawing explanation
Fig. 1 illustrates the schematic diagram that color attribute is carried out to " four seasons " division;
Fig. 2 illustrates according to a specific embodiment of the present invention, the division to the lightness attribute of color;
Fig. 3 a-3d illustrates the PCCS figure in the specific embodiment of the invention, wherein, marks the different corresponding suitable colors of color four seasons attribute on figure;
Fig. 4 illustrates the structural principle block diagram of an embodiment of color attribute test judgement system of the present invention;
Fig. 5 illustrates the process flow diagram that the present invention judges a kind of embodiment of color lightness attribute and changes in temperature attribute.
Embodiment
In the present invention, using " the color four seasons are theoretical " as the basis that judges colour of skin attribute.As shown in Figure 1, spring, the type colour of skin referred to colour of skin high brightness, warm-toned; Summer, the type colour of skin referred to high brightness but the colour of skin of genus cool tone; The autumn type colour of skin refers to low lightness and the warm-toned colour of skin; Winter, the type colour of skin referred to the colour of skin of low lightness and cool tone.
In a specific embodiment of the present invention, first tester is close to the image acquisition areas of camera testee's facial skin photographs, to obtain testee's skin of face image.The image acquisition areas of camera preferably has the flange that slightly protrudes from and surround cam lens, like this, can get rid of the interference of background light when face is close to in image acquisition areas, obtains face-image color and briliancy accurately.Because face is close in image acquisition areas, make camera lens constant to the distance of face, the variation that this has equally also been avoided the face-image briliancy that causes due to change of distance, makes facial image acquisition more accurate.
The skin of face image of being taken by camera is stored and flows to rgb value sampler.By rgb value sampler, according to ad hoc rules, obtained the rgb value of skin image.In a preferred embodiment of the present invention, from the central pixel point of captured skin image, obtain corresponding rgb value simply.
Characteristic due to people's face skin, in the present invention by a large amount of samplings, find in the rgb value of skin image, the R value that represents red (Red) is conventionally all significant high with respect to green (Green) value (G value) and blue (Blue) value (B value), and the difference between the difference between different skin R value and different skin G value or the difference between B value are compared, and just seem and are not so obvious.Therefore, in embodiments of the present invention, R value is ignored.
In the present invention, utilize the G value of skin image to judge the lightness height of the colour of skin.Visible Fig. 2 of example of the lightness that concrete G value is corresponding.When G value is greater than certain threshold value, think that the colour of skin is high brightness; Otherwise, think that the colour of skin is low lightness.Of the present invention one preferred embodiment in, when G value is greater than 105 (G > 105), think that the colour of skin is high brightness; When G value is less than or equal to 105 (G≤105), think that the colour of skin is low lightness.
After lightness judgement, carry out the changes in temperature judgement of the colour of skin, for example, when B value is greater than certain threshold value, think cool tone, otherwise think warm tones.According to of the present invention one preferred embodiment, if B value is no more than 50% of G value, that is: B < G * 50%, is warm tones; If B value surpasses 50% of G value, that is: B >=G * 50%, is cool tone.
In another embodiment of the invention, to the judgement of colour of skin changes in temperature attribute can be not yet by relatively the drawing of B value and G value, but by the color of testee's eyeball is judged simply.For example, the color of testee's eyeball is partially black, belongs to cool tone; If the color of testee's eyeball is partially brown, belong to warm tones.
Certainly, the order of the judgement of the judgement of lightness attribute and changes in temperature degree is not certain.Equally also can first carry out the interpretation of changes in temperature degree, after carry out lightness judgement.Finally according to the combination of lightness and changes in temperature degree, come to divide four seasons attribute to the colour of skin.
After drawing the lightness and changes in temperature attribute of the colour of skin, according to the above-mentioned description to Fig. 1, just can judge the four seasons attribute of the colour of skin.
After judging the four seasons attribute of the colour of skin, just can in PCCS tone illustration, choose the color that is applicable to the different attribute colour of skin according to " the color four seasons are theoretical ", as shown in Fig. 3 a-3d.
The judgement of above-mentioned colour of skin attribute is carried out in the color attribute judgment means of system of the present invention.
Subsequently corresponding the sheet sample of color that is applicable to testee's colour of skin exported to output unit, for testee, according to hobby, select final hair color.When testee chooses after the color of hair dyeing, system can print dyeing formulation and the operating process of standard according to the hair dyeing product recording in database, for colorist, contrasting and operating.
The test result of carrying out due to the method according to this invention has stable and repeatable, and these test results can be stored in customer data storehouse with together with other data of client, in order to using next time.
In addition, recommending and selecting in the process of hair dyeing color development, except according to above-mentioned color attribute determination methods, system of the present invention also allows tester with reference to the further feature of testee's face (if face are that flat type or solid type, bone are given prominence to or soft) and the initial color development of testee, to carry out the analysis of more refinement.
The system that the present invention realizes said method step can be independent instrument, can be also module or the platform being implanted in computing machine.The system principle block scheme of an embodiment of system of the present invention as shown in Figure 4.System of the present invention comprises camera, processing unit, input block, output unit and storage unit.Wherein, processing unit comprises rgb value sampler and color attribute judgment means.Camera is connected with storage unit by incoming line, and the image of shooting is flowed to storage unit; Rgb value sampler is read skin image from storage unit, and skin image is carried out to rgb value sampling, then by the rgb value of gained, gives color attribute judgment means.Color attribute judgment means and storage unit are carried out two-way communication, judged result can be flowed to storage unit on the one hand stores, on the other hand, if needed, color attribute judgment means can also be obtained out of Memory (for example other is flowed to the information of storage unit by input block) and carry out auxiliary judgment from storage unit.The judged result of color attribute judgment means is finally exported to output unit and is shown.Customer information in storage unit also can flow to output unit by outlet line.
In addition, method and system of the present invention is not limited to the hair dyeing field that is used in.In the field that need to judge the color attribute of human body skin at other, for example clothes or cosmetic field, also can widespread use.It is face that same skin image pickup area is also not limited to.
System of the present invention provides the operation interface of simple, intuitive, and tester only need just can operate by the selection of simple similar true and false.And the judgement of color attribute is completed voluntarily by machine, greatly simplified deterministic process, be applicable to the operating personnel of different levels, greatly improved the practicality of system, therefore, be convenient to universal and promote.
Claims (3)
1. color attribute is tested a determination methods, comprising:
Utilize camera collection skin image;
Four seasons type attribute from skin image judgement skin color;
The step of the described four seasons type attribute from skin image judgement skin color comprises:
Extract the rgb value in skin image;
G value from described rgb value, the lightness attribute of judgement skin color, when G value is greater than certain threshold value, described skin color is high brightness, otherwise, be low lightness;
B value from described rgb value, the changes in temperature degree attribute of judgement skin color, when B value is greater than certain threshold value, described skin color is cool tone, otherwise, be warm tones.
2. a color attribute test judgement system, is characterized in that, comprising: camera, processing unit, input block, output unit and storage unit, and wherein, processing unit comprises rgb value sampler and color attribute judgment means; Camera is connected with storage unit by incoming line, and the image of shooting is flowed to storage unit; The input end of rgb value sampler is connected with storage unit, to read skin image from storage unit, and skin image is carried out to rgb value sampling, the output terminal of rgb value sampler is connected with color attribute judgment means, for giving color attribute judgment means by the rgb value of gained; Color attribute judgment means and storage unit are carried out two-way communication, judged result can be flowed to storage unit on the one hand stores, on the other hand, if needed, color attribute judgment means can also be obtained out of Memory and carry out auxiliary judgment from storage unit; Color attribute judgment means is connected with output unit, to judged result is exported to output unit, shows; Customer information in storage unit also can flow to output unit by outlet line.
3. color attribute test judgement system according to claim 2, is characterized in that, the image acquisition areas of described camera has the flange that slightly protrudes from and surround cam lens.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910051397.6A CN101893481B (en) | 2009-05-18 | 2009-05-18 | Method and system for testing and determining color attribute |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910051397.6A CN101893481B (en) | 2009-05-18 | 2009-05-18 | Method and system for testing and determining color attribute |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101893481A CN101893481A (en) | 2010-11-24 |
CN101893481B true CN101893481B (en) | 2014-04-30 |
Family
ID=43102741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910051397.6A Expired - Fee Related CN101893481B (en) | 2009-05-18 | 2009-05-18 | Method and system for testing and determining color attribute |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101893481B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103152476B (en) * | 2013-01-31 | 2015-01-28 | 广东欧珀移动通信有限公司 | Mobile phone capable of detecting skin state and use method thereof |
AT514102A1 (en) * | 2013-03-28 | 2014-10-15 | Seibersdorf Labor Gmbh | Method for determining the individual load of a person by the current solar radiation |
CN107280675B (en) * | 2017-05-22 | 2020-06-02 | 渲美美健(深圳)科技股份有限公司 | Skin color detection method and device and depilation equipment |
CN107174333B (en) * | 2017-05-22 | 2020-06-02 | 渲美美健(深圳)科技股份有限公司 | Skin unhairing method and skin unhairing equipment |
CN109300164A (en) * | 2017-07-25 | 2019-02-01 | 丽宝大数据股份有限公司 | Basal tone judgment method and electronic device |
CN112270221A (en) * | 2020-10-14 | 2021-01-26 | 西安工程大学 | Garment personalized recommendation method fusing four-season color theory |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5924426A (en) * | 1997-04-17 | 1999-07-20 | Galazin; Norma | Cosmetic personal color analysis method and kit using value scale, colors and charts |
US6690822B1 (en) * | 2000-10-20 | 2004-02-10 | Eastman Kodak Company | Method for detecting skin color in a digital image |
CN1695516A (en) * | 2005-04-27 | 2005-11-16 | 北京西蔓色彩文化发展有限公司 | System and method for analyzing rule of personal colors for female |
CN101458817A (en) * | 2008-12-22 | 2009-06-17 | 北京中星微电子有限公司 | Color analysis system and method |
CN201654846U (en) * | 2009-05-18 | 2010-11-24 | 姜宁 | Color property testing and judging system |
-
2009
- 2009-05-18 CN CN200910051397.6A patent/CN101893481B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5924426A (en) * | 1997-04-17 | 1999-07-20 | Galazin; Norma | Cosmetic personal color analysis method and kit using value scale, colors and charts |
US6690822B1 (en) * | 2000-10-20 | 2004-02-10 | Eastman Kodak Company | Method for detecting skin color in a digital image |
CN1695516A (en) * | 2005-04-27 | 2005-11-16 | 北京西蔓色彩文化发展有限公司 | System and method for analyzing rule of personal colors for female |
CN101458817A (en) * | 2008-12-22 | 2009-06-17 | 北京中星微电子有限公司 | Color analysis system and method |
CN201654846U (en) * | 2009-05-18 | 2010-11-24 | 姜宁 | Color property testing and judging system |
Also Published As
Publication number | Publication date |
---|---|
CN101893481A (en) | 2010-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101893481B (en) | Method and system for testing and determining color attribute | |
Sangwine et al. | The colour image processing handbook | |
KR101140533B1 (en) | Method and system for recommending a product based upon skin color estimated from an image | |
CN104586364B (en) | A kind of skin quality detection system and method | |
CN103565419B (en) | The system of selection of color measuring device, method and suitable foundation cream | |
CN108701217A (en) | A kind of face complexion recognition methods, device and intelligent terminal | |
CN103400146B (en) | Chinese medicine complexion recognition method based on color modeling | |
CN105662348A (en) | Novel skin detection system based on smart phone and auxiliary product selection system | |
CN105427306B (en) | The image analysis method and device of skin shine | |
CN101458817A (en) | Color analysis system and method | |
CN103106669B (en) | Chinese medicine tongue picture is as environmental suitability color reproduction method | |
CN105496414A (en) | Make-up color diagnosis method customized by skin color and make-up color diagnosis device customized by skin color | |
Xin et al. | Investigation of parametric effects using medium colour‐difference pairs | |
KR102002622B1 (en) | System for determining a personal color and method thereof | |
CN110044485B (en) | Image type fabric color measuring method | |
Vazquez-Corral et al. | Color constancy algorithms: Psychophysical evaluation on a new dataset | |
CN201654846U (en) | Color property testing and judging system | |
Jang et al. | Spectrum‐Based Color Reproduction Algorithm for Makeup Simulation of 3D Facial Avatar | |
CN106023238A (en) | Color data calibration method for camera module | |
CN112488997A (en) | Method for detecting and evaluating color reproduction of ancient painting printed matter based on characteristic interpolation | |
JP3143551U (en) | Color drape set for hair color selection | |
CN109145724B (en) | Four-season-type person automatic distinguishing method based on person face image feature analysis | |
Hsiao et al. | An intelligent skin‐color capture method based on fuzzy C‐means with applications | |
Foster et al. | Information limits on identification of natural surfaces by apparent colour | |
He et al. | A novel camera colour characterisation model for the colour measurement of human skin |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20180514 Address after: 201203 Pudong New Area, Shanghai, China (Shanghai) free trade trial area, 351 671-03, Hai Tai Road, Guo Shou Jing Road. Patentee after: Shanghai Lanace Biotechnology Co., Ltd. Address before: 201206 Jialin Road, Pudong New Area, Pudong New Area, Shanghai, No. 35 Patentee before: Jiang Ning |
|
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: 20140430 Termination date: 20190518 |