CN110400354A - Ornaments, color measurement method, storage medium and electronic equipment - Google Patents
Ornaments, color measurement method, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN110400354A CN110400354A CN201910667682.4A CN201910667682A CN110400354A CN 110400354 A CN110400354 A CN 110400354A CN 201910667682 A CN201910667682 A CN 201910667682A CN 110400354 A CN110400354 A CN 110400354A
- Authority
- CN
- China
- Prior art keywords
- ornaments
- color
- region
- image
- under test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30088—Skin; Dermal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30196—Human being; Person
- G06T2207/30201—Face
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Spectrometry And Color Measurement (AREA)
Abstract
The present invention provides a kind of ornaments, color measurement method, storage medium and electronic equipment.The surface of ornaments is divided into the region of at least one ornaments, and the region of each ornaments is disposed as unique color, and the color in the region of ornaments can be used for calibrating the color difference comprising the image including the ornaments.Color measurement method provided by the invention, after obtaining the testing image comprising aforementioned ornaments, acquire color and object under test color in testing image of the region of ornaments in testing image, according to color of the region of ornaments in testing image, and the actual color in the region of ornaments, color of the object under test in testing image is corrected, the actual color of object under test is obtained.In scheme provided by the invention, by comparing the actual color in the region of pre-set ornaments and the region color in the picture of ornaments, the color difference of image can be calculated, so that the color of measuring targets in the picture is modified, accurately measures the actual color of object under test.
Description
Technical field
The present invention relates to image analysis technology field, in particular to a kind of ornaments, color measurement method, storage medium and electricity
Sub- equipment.
Background technique
People are choosing cosmetics, when the products such as clothes and ornaments, it is often desirable to the colour of skin of itself is accurately measured, thus
The product that particular color is selected according to the colour of skin of itself, thus better visual effect of arranging in pairs or groups out.
A kind of means of existing easily measurement colour of skin, are that the face for needing to measure directly is shot using smart phone,
Or the positions such as arm, the software on smart phone can directly read the color that skin shows on photo, as the position
The colour of skin.
The problem of this measurement method, is, due to the identification of the camera of the light and smart phone of photographed scene
The influence of the factors such as ability, the color of skin on photo, usually and the actual color of skin there are certain deviation (namely colors
Difference), therefore this measurement method can accurately not measure the actual color of skin.
Summary of the invention
Based on above-mentioned the deficiencies in the prior art, the present invention proposes a kind of ornaments, color measurement method, storage medium and electronics
Equipment, for providing a kind of more accurate color measuring scheme.
The present invention provides a kind of ornaments, and the surface of the ornaments is divided into the region of at least one ornaments;
The region of each ornaments is disposed as a kind of unique color;
The color in the region of at least one ornaments includes the object color in the image of the ornaments as calibration
Foundation.
Optionally, the ornaments are ear nails;
One end of the ear nail is provided with the first plate;
The region of at least one ornaments is, in the region for the ornaments that the surface of first plate divides.
Optionally, the ornaments are glasses;
The region of at least one ornaments is, in the area for the ornaments that the outer surface of the mirror holder of the glasses divides
Domain.
Optionally, the ornaments are column ear pendants;
The region of at least one ornaments is the ornaments divided along the axis direction of the column ear pendant in side
Region.
Optionally, the surface of the ornaments is also pasted with film, and the region of the ornaments is what the jewelry surface was pasted
The region of the ornaments divided on film;The color in the region of the ornaments is the face of the film in the region of the ornaments
Color.
Optionally, the surface of the ornaments is provided at least one groove;
The region of at least one ornaments is the surface region for the color lump being embedded at least one described groove;Institute
The color for stating the region of ornaments is the color of the color lump.
Optionally, the surface in the region of each ornaments is all covered with a kind of colour-wash;
The color in the region of the ornaments is the color of the colour-wash of the surface covering in the region of the ornaments.
Second aspect of the present invention provides a kind of color measurement method, comprising:
Obtain image to be measured;Wherein, the image to be measured includes ornaments and object under test, and the jewelry surface divides
For the region of at least one ornaments, the surface in the region of each ornaments is disposed as a kind of unique color;
Color and the object under test of the region of the ornaments in the image to be measured are acquired described to be measured
Color in image;
The color data of color of the region based on the ornaments in the image to be measured, and the institute obtained in advance
The color data for stating the actual color in the region of ornaments is corrected color of the object under test in the image to be measured, is obtained
To the actual color of the object under test.
Optionally, the surface of the ornaments is divided into the region of an ornaments;
Wherein, the color data of color of the region based on the ornaments in the image to be measured, and it is pre-
The color data of the actual color in the region of the ornaments first obtained corrects the object under test in the image to be measured
Color, comprising:
Color and the object under test of the region of the ornaments in the image to be measured are calculated described to be measured
The proportionate relationship between color in image;
According to the proportionate relationship and the color data of the actual color in the region of the ornaments, be calculated it is described to
The color data for surveying the actual color of object, so that it is determined that the actual color of the object under test.
Optionally, the surface of the ornaments is divided into the region of multiple ornaments;
Wherein, the color data of color of the region based on the ornaments in the image to be measured, and it is pre-
The color data of the actual color in the region of the ornaments first obtained corrects the object under test in the image to be measured
Color, comprising:
Calculate the extent of deviation in the region of each ornaments of the ornaments;Wherein, the deviation journey in the region of the ornaments
Degree, refers to, color of the region of the ornaments in the image to be measured and the object under test are in the image to be measured
In color extent of deviation;
After the region of each ornaments of the ornaments is sorted from small to large by corresponding extent of deviation, choose in sequence
Approximate region of the region of top n ornaments as the object under test;Wherein, the N is preset positive integer;
Using the color data of the actual color of the approximate region, the face of the actual color of the object under test is calculated
Chromatic number value, so that it is determined that the actual color of the object under test out.
Third aspect present invention provides a kind of storage medium, which is characterized in that for storing program, described program is performed
When, it is specific that the color measurement method provided such as second aspect of the present invention any one is provided.
Fourth aspect present invention provides a kind of electronic equipment, which is characterized in that including memory and processor;Wherein:
The memory is for storing computer instruction;
The processor is used to execute the computer instruction of the memory storage, is specifically used for executing such as the present invention second
The color measurement method that aspect any one provides.
The present invention provides a kind of ornaments, color measurement method, storage medium and electronic equipment.The surface of ornaments be divided into
The region of few ornaments, the region of each ornaments are disposed as a kind of unique color, the color in the region of ornaments, Ke Yiyong
In color difference of the calibration comprising the image including the ornaments.Color measurement method provided by the invention is obtained comprising aforementioned ornaments
After testing image, color and object under test face in testing image of the ornaments region of the ornaments in testing image is acquired
Color, the then reality in the region of the color data of the color according to the region of above-mentioned ornaments in testing image and above-mentioned ornaments
The color data of border color corrects color of the object under test in testing image, obtains the actual color of object under test.The present invention
In the scheme of offer, the actual color in the region of the ornaments by comparing pre-set jewelry surface and the region of these ornaments
Color in the picture can calculate the color difference of image, so that the color of measuring targets in the picture is modified, accurately
The actual color for measuring object under test.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 a is a kind of structural schematic diagram of ear nail provided in an embodiment of the present invention;
Fig. 1 b is a kind of top view of the first plate of ear nail provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of ear pendant provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of method for measuring color provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present application provides a kind of ornaments, and this jewelry surface is divided into the region of at least one ornaments, and every
The region of one ornaments is disposed as a kind of unique color.That is, the region of each ornaments of this jewelry surface is equal
It is set in advance as a kind of color, and the color between the region of each ornaments is different.
In passing through the image including this ornaments that means obtain such as take pictures or record a video, preset each ornaments
The color in region can be used as the foundation for calibrating the color of other objects in the image, so that auxiliary has the function of color measuring
Equipment accurately measure the actual color of the object in the image.
Specifically, holding the user of this ornaments, the ornaments can be shot using photographing device after wearing this ornaments
And the position of the ornaments is worn, then utilize equipment or the obtained photo of software analysis shooting with color measuring function.
In analytic process, the preset color in each region of ornaments, so that it may for the skin to the position for wearing the ornaments in photo
In color calibrated, thus accurately measurement obtain the position skin actual color.
When this ornaments are used for subsidiary skin color, user can choose the color for wearing color and autologous skin
The ornaments being closer to, to obtain preferably calibration effect.
The color in the region of each ornaments of jewelry surface is used to calibrate the principle of other object colors, it is possible to understand that
Are as follows: by taking photo as an example, in a photo, the deviation of the actual color of color and object of the object in photo is shone by shooting
Environment when piece, and shoot the parameter decision of photographing device used in this photo.Therefore, for a filmed photograph
Piece, it is believed that the color of all objects in this photo and the extent of deviation of its actual color almost the same (in other words, one
The color difference for opening each object in photo is identical).So, as long as being capable of determining that the color difference of some object in this photo, so that it may
To think that the color difference of this object is exactly the color difference of other all objects in this photo, so as to go to correct using the color difference
The color that other objects show in this photo, to obtain the actual color of other objects.
Based on the above principles, since on ornaments provided by the embodiments of the present application, the color in the region of each ornaments is preparatory
Setting, the equipment (or software) of object color is measured by analysis photo, it may be predetermined that go out this decorations in photo
The actual color in the region of each ornaments on product, while the face that the region that can also acquire each ornaments shows in photo
Color, so that the color showed according to the actual color in the region of each ornaments and in photo calculates the region of each ornaments
Color difference, and then calculated color difference calibrates the color that other objects show in photo, obtains the actual color of object.
Optionally, the color in the region of each ornaments can be also possible to the color in standard color table in addition to standard face
Other colors other than color table.As long as color is set, the color data of this color can determine.
A kind of color data of color, refers to, the corresponding one or a set of number of a kind of color under specific color mode
Word.Give a color data, so that it may directly determine out a kind of unique color.
For example, a kind of common color data is exactly rgb value.A kind of rgb value of color includes three numbers, is table respectively
Show the R of red luma value, indicate the G of Green brightness value and indicates the B of blue intensity values.A specified rgb value is simultaneously inputted
Computer, so that it may directly determine out the corresponding color of this rgb value.
Working principle based on ornaments provided by the embodiments of the present application, it is found that assist carrying out using this ornaments
Color measuring, the face of the actual color in the region for each ornaments for needing that the equipment for measuring color or software is enable to obtain ornaments
Chromatic number value.
In order to reach this purpose, the ornaments of the application can be with the offer of corresponding color measuring software or coordinative composition of equipments
To user, the color data of the actual color in the region of each ornaments on ornaments is stored in advance in corresponding color measuring software
Or in equipment, user directly uses ornaments and its corresponding software or equipment.
On the other hand, the ornaments of the application can use the form of product manual, by the actual color in the region of each ornaments
Color data (such as rgb value) be recorded on the corresponding product manual of each ornaments, ornaments and corresponding product manual are packaged
It is supplied to user, when user needs for ornaments to be used for assisted color measurement, the color data input color on product manual is surveyed
Measure equipment or software.
Optionally, it in the application any embodiment, can adornd using following methods in terms of any one to reach
Product surface divides the region of ornaments and the effect of color is arranged for the region of each ornaments:
In a first aspect, pasting film in jewelry surface, the film itself of stickup, which just divides, several regions, and each area
Domain has all been pre-configured with a kind of color.Such film is pasted onto jewelry surface, is equivalent to mark off in jewelry surface more
The region of the different ornaments of a color.
Optionally, for the implementation of first aspect, a variety of different films can be provided for an ornaments, every kind
The color combination on the surface of film is different, and user can tear according to the needs of itself and currently be pasted onto jewelry surface
Film, then selected from a variety of films it is a kind of pasted, achieve the effect that customized adjustment color.
Wherein, each color on each film, corresponding color data can be mentioned with the form of product manual
Supply user.
Second aspect, jewelry surface can be set several grooves, the color lump of particular color are inlaid in each groove,
Several color lumps inlayed just constitute the region of the ornaments with different colours of jewelry surface.
Optionally, detachable structure can be used for the implementation of second aspect, groove and corresponding color lump, together
When for an ornaments provide the color lump of multiple and different colors, user can according to need free combination-inlaying in jewelry surface
Color lump.The color data of the actual color of color lump can be provided with the form of product manual.
The third aspect can be using the modes such as plating or baking vanish, In after jewelry surface is divided into the region of several ornaments
The region surface of these ornaments covers the coating of upper pre-set color, and the region of these ornaments is made to show corresponding color.
The main body of fourth aspect, ornaments can be directly spliced to form with the material of a variety of different colours.
Optionally, ornaments provided by the embodiments of the present application include but is not limited to following types: ear nail, ear pendant, wrist-watch, item
Chain, ring etc..
Below with reference to two kinds of specific ornaments and relevant drawings, ornaments provided by the embodiments of the present application are introduced.
With reference to Fig. 1 a and Fig. 1 b, ornaments provided by the embodiments of the present application can be a kind of ear nail as shown in the figure, and Fig. 1 a is
The structural schematic diagram of ear nail, Fig. 1 b are the top views of first plate of ear nail one end.
Ear nail as shown in Figure 1a, after user wears, first plate of ear nail one end is located at the outside of ear-lobe, the first plate
Surface be divided into the region of 4 fan-shaped ornaments as shown in Figure 1 b, the region of the ornaments of each sector is set in advance as
A kind of specific color.
After user wears ear nail provided by the embodiments of the present application, the photo of the side face of itself can be shot with photographing device.
When software or equipment with color measuring function measure the colour of skin of user's side face according to photo, so that it may obtain and be located at outside ear-lobe
Color of the region of each ornaments on first plate of side in photo, the then face with the region of these ornaments in photo
The actual color in the region of color and these ornaments is compared, so that it may determine in current photo, the skin of user's side face
Color difference, so that the color according to the skin of the side face of user in photo, measures the practical colour of skin of the side face of user.
Skilled artisans appreciate that, ear nail provided by the embodiments of the present application, the shape of the first plate is simultaneously unlimited
In circle, and it can be any one plane geometric figure, while the quantity for dividing the region of obtained ornaments is also possible to 1
It is a and 1 or more, be not limited to the present embodiment in 4, while division mode is also not necessarily limited to be divided into fan in the present embodiment
Shape can also be divided into concentric loop, or divide by other means.
With reference to Fig. 2, ornaments provided by the embodiments of the present application are also possible to a kind of ear pendant, and Fig. 2 is the main view of ear pendant.
As shown, ear pendant provided by the embodiments of the present application is made of multiple columnar color lumps interconnected, these colors
The side of block constitutes the region of multiple ornaments of jewelry surface, the color in the region of each ornaments, exactly corresponding color lump
Color.
In the image for including ear pendant provided in this embodiment, the color of these color lumps may be used for its in calibration image
The color of his object.
Optionally, in the application other embodiments, the application provides ornaments and is also possible to a pair of glasses, jewelry surface
The region of each ornaments can divide on the outer surface of the mirror holder of glasses and obtain.Ornaments provided by the present application can also be one
A ring configured with round plate, the surface of round plate is divided into the region of multiple ornaments, for different colors to be arranged.
In conjunction with the ornaments that the application any embodiment provides, another embodiment of the application also provides a kind of color measuring side
Method, this method can be by running specific software realization, for realizing the soft of this method on smart phone or PC
Part is exactly the software with color measuring function, runs the PC or smart phone of the software, exactly one has
The equipment of color measuring function.
As shown in figure 3, above-mentioned color measurement method includes the following steps:
S301, image to be measured is obtained.
Image to be measured is the image for including aforementioned ornaments provided by the embodiments of the present application and object under test.It is specific to be measured
Object can be, the skin at the skin of face of user or other positions, corresponding, and image to be measured can be, and user wears this
After applying for the ornaments that other embodiments provide, the photo that other facial or body positions obtain, or view are shot with photographing device
Picture frame in frequency.
S302, the region of ornaments is acquired in the face of color and object under test in image to be measured in image to be measured
Color.
Position of the ornaments in image to be measured, can be specified by user, also can use image object detection algorithm, from
The dynamic position for determining ornaments.
Object under test needs are specified by user, and user can be by any one object in image to be measured, in addition to ornaments
Body is appointed as object under test, and further, user can also specify the designated position of object under test, only measures the face of designated position
Color.
For example, in user's shooting including the photo including the face of itself and ornaments provided by the embodiments of the present application
In, user can show photo on smart phone, then by way of clicking the touch screen of smart phone, specify ornaments
Position, and the specific region of specified face makes color measuring software measure the colour of skin of the facial skin in the region.
The reality in the region of S303, the color data of color based on the region of ornaments in image to be measured and ornaments
The color data of border color corrects color of the object under test in image to be measured.
Step S303 may include following two kinds of specific implementations:
First way mainly the surface of ornaments only divided the region an of ornaments or jewelry surface divided it is more
The region of a ornaments, but used in the case that the region of only one ornaments can clearly be identified by software.
The first implementation includes: the color data of color of the region of calculating ornaments in image to be measured, and
Difference between the color data of the actual color in the region of the ornaments obtained in advance.
As previously mentioned, the color data of the actual color in the region of ornaments can be stored in advance in color measuring software,
It can also be manually entered when user is using color measuring software.
With the color data of color of the object under test in image to be measured, above-mentioned difference is subtracted, object under test is obtained
The color data of actual color, according to the color data of the actual color of object under test, so that it may directly determine object under test
Actual color.
For example, the corresponding rgb value of the actual color in the region of an ornaments is (R1, G1, B1), and the region of the ornaments exists
The rgb value of color in image to be measured is (R2, G2, B2), then the region of the actual color in the region of ornaments and the ornaments
The difference of color in image to be measured is exactly (R1-R2), (G1-G2) and (B1-B2).Meanwhile it collecting object under test and existing
The rgb value of color in image is (R3, G3, B3), since in same image, the color difference of different objects is almost the same, can be recognized
For the rgb value (R4, G4, B4) of the actual color of object under test can be calculated according to following formula:
R4=R3+ (R1-R2);
G4=G3+ (G1-G2);
B4=B3+ (B1-B2).
In above-mentioned symbol, R1 to R4, G1 to G4, B1 to B4 is positive integer.
Optionally, above-mentioned calculating process also could alternatively be:
The region of calculating ornaments is in the color in image to be measured and object under test between the color in image to be measured
Proportionate relationship.
Under a proportional relationship and the color data of the actual color in the region of ornaments, the reality of object under test is calculated
The color data of color, so that it is determined that the actual color of object under test.
The second way is mainly used for, and jewelry surface is divided into the region of multiple ornaments, also, has in image to be measured
The case where region of at least two ornaments can clearly be identified.
The second way includes: the region of multiple ornaments for that can identify in image to be measured, calculates these
The region of ornaments the color of color and object under test in image to be measured in image to be measured extent of deviation, according to inclined
After poor degree from small to large is ranked up the region of these ornaments, the region of top n ornaments is selected from sequence, these
The region for the ornaments being selected is exactly approximate region.N is preset positive integer, and N is less than in image to be measured and can identify
The quantity in the region of the ornaments arrived.
The second way selects several colors relatively to connect with object under test it is to be understood that from the multiple regions of ornaments
Close region calculates the actual color of object under test then according to the actual color in the region of these ornaments.
After the approximate region for determining object under test, so that it may utilize the color data of the actual color of approximate region, meter
The color data for calculating the actual color of object under test, so that it is determined that the actual color of object under test out.
For example, it is assumed that the region of 5 ornaments of jewelry surface can be identified in image to be measured, according to image to be measured
In these ornaments region color and object under test color extent of deviation, can choose its large deviations it is the smallest two work
For approximate region.
The color data that the actual color of object under test is calculated according to the color data of the actual color of approximate region, can be with
It is carried out referring to following processes:
Assuming that there are two approximate regions (being denoted as approximate region A and approximate region B respectively), approximate areas in image to be measured
The color data of color of the domain A in image to be measured, with the color data of color of the object under test in image to be measured it
Between difference, be denoted as the first difference, the color data of color of the approximate region B in image to be measured, with object under test to
The difference between the color data of the color in image is measured, the second difference is denoted as.
After the first difference and the second difference is calculated, first is subtracted with the color data of the actual color of approximate region A
Difference obtains the first actual color numerical value of object under test, subtracts the second number with the color data of the actual color of approximate region B
Value, obtains the second actual color numerical value of object under test.
If the first actual color numerical value and the second actual color numerical value are consistent, then can be directly by the first actual color
Numerical value is determined as the color data of the actual color of object under test, so that it is determined that the actual color of object under test out.
If the first actual color numerical value and the second actual color numerical value are inconsistent, then the first actual color number can be calculated
The average value of value and the second actual color numerical value, using the average value being calculated as the number of colours of the actual color of object under test
Value, so that it is determined that the actual color of object under test out.
In addition, multiple approximate regions of object under test can also be utilized after determining multiple approximate regions of object under test
Actual color carry out interpolation calculation, obtain the actual color of object under test.
Color measurement method provided by the embodiments of the present application, after obtaining image to be measured, according to each decorations of jewelry surface
Color of the region of product in image to be measured, and the actual color in the regions of these ornaments obtained in advance, to determinand
Color of the body in image to be measured is calibrated, to obtain the actual color of object under test.Based on the above-mentioned technical proposal, originally
The method that embodiment provides has effectively eliminated the color difference of illumination when taking pictures and the caused photo of device parameter, so as to
The actual color of object under test is accurately measured according to the photo of object under test.Especially using the skin of user as determinand
When body, can accurately, objectively measure the colour of skin of user, facilitate user based on itself the colour of skin carry out dressing in terms of take
Match.
In conjunction with the color measurement method that the application previous embodiment provides, another embodiment of the application provides a kind of electronics and sets
It is standby.Electronic equipment provided in this embodiment can be the color that any one is able to carry out the offer of the application any embodiment and survey
The equipment of amount method, for example, it may be the smart phone for executing color measurement method provided by the present application, or personal electricity
The equipment such as brain.
Referring to FIG. 4, the electronic equipment includes:
Memory 401, for storing computer instruction.
Processor 402 is specifically used for executing any reality of the application for executing the computer instruction of the storage of memory 401
The color measurement method of example offer is provided.
Another embodiment of the application also provides a kind of storage medium, and for storing program, described program is performed, specifically
Execute the color measurement method that the application any embodiment provides.
Professional technician can be realized or use the application.Profession of the various modifications to these embodiments to this field
It will be apparent for technical staff, the general principles defined herein can not depart from spirit herein or model
In the case where enclosing, realize in other embodiments.Therefore, the application is not intended to be limited to the embodiments shown herein,
And it is to fit to the widest scope consistent with the principles and novel features disclosed herein.
Claims (12)
1. a kind of ornaments, which is characterized in that the surface of the ornaments is divided into the region of at least one ornaments;
The region of each ornaments is disposed as a kind of unique color;
The color in the region of at least one ornaments, as calibration include the ornaments image in object color according to
According to.
2. ornaments according to claim 1, which is characterized in that the ornaments are ear nails;
One end of the ear nail is provided with the first plate;
The region of at least one ornaments is, in the region for the ornaments that the surface of first plate divides.
3. ornaments according to claim 1, which is characterized in that the ornaments are glasses;
The region of at least one ornaments is, in the region for the ornaments that the outer surface of the mirror holder of the glasses divides.
4. ornaments according to claim 1, which is characterized in that the ornaments are column ear pendants;
The region of at least one ornaments is the area of the ornaments divided along the axis direction of the column ear pendant in side
Domain.
5. ornaments as claimed in any of claims 1 to 4, which is characterized in that the surface of the ornaments is also pasted with
Film, the region for the ornaments that the region of the ornaments divides on the film for jewelry surface stickup;The ornaments
The color in region is the color of the film in the region of the ornaments.
6. ornaments as claimed in any of claims 1 to 4, which is characterized in that the surface of the ornaments be provided with to
A few groove;
The region of at least one ornaments is the surface region for the color lump being embedded at least one described groove;The decorations
The color in the region of product is the color of the color lump.
7. ornaments as claimed in any of claims 1 to 4, which is characterized in that the table in the region of each ornaments
Face is all covered with a kind of colour-wash;
The color in the region of the ornaments is the color of the colour-wash of the surface covering in the region of the ornaments.
8. a kind of color measurement method characterized by comprising
Obtain image to be measured;Wherein, the image to be measured includes ornaments and object under test, the jewelry surface be divided into
The region of few ornaments, the surface in the region of each ornaments are disposed as a kind of unique color;
Color and the object under test of the region of the ornaments in the image to be measured are acquired in the image to be measured
In color;
The color data of color of the region based on the ornaments in the image to be measured, and the decorations obtained in advance
The color data of the actual color in the region of product corrects color of the object under test in the image to be measured, obtains institute
State the actual color of object under test.
9. according to the method described in claim 8, it is characterized in that, the surface of the ornaments is divided into the region of an ornaments;
Wherein, the color data of color of the region based on the ornaments in the image to be measured, and obtain in advance
The color data of the actual color in the region of the ornaments taken corrects face of the object under test in the image to be measured
Color, comprising:
Color and the object under test of the region of the ornaments in the image to be measured are calculated in the image to be measured
In color between proportionate relationship;
According to the proportionate relationship and the color data of the actual color in the region of the ornaments, the determinand is calculated
The color data of the actual color of body, so that it is determined that the actual color of the object under test.
10. according to the method described in claim 8, it is characterized in that, the surface of the ornaments is divided into the region of multiple ornaments;
Wherein, the color data of color of the region based on the ornaments in the image to be measured, and obtain in advance
The color data of the actual color in the region of the ornaments taken corrects face of the object under test in the image to be measured
Color, comprising:
Calculate the extent of deviation in the region of each ornaments of the ornaments;Wherein, the extent of deviation in the region of the ornaments is
Refer to, the region of the ornaments is in the color and face of the object under test in the image to be measured in the image to be measured
The extent of deviation of color;
After the region of each ornaments of the ornaments is sorted from small to large by corresponding extent of deviation, the preceding N in sequence is chosen
Approximate region of the region of a ornaments as the object under test;Wherein, the N is preset positive integer;
Using the color data of the actual color of the approximate region, the number of colours of the actual color of the object under test is calculated
Value, so that it is determined that the actual color of the object under test out.
11. a kind of storage medium, which is characterized in that for storing program, described program is performed, specific to execute as right is wanted
Color measurement method described in asking any one of 8 to 10.
12. a kind of electronic equipment, which is characterized in that including memory and processor;Wherein:
The memory is for storing computer instruction;
The processor is used to execute the computer instruction of the memory storage, is specifically used for executing such as claim 8 to 10
Any one of described in color measurement method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910667682.4A CN110400354B (en) | 2019-07-23 | 2019-07-23 | Ornament, color measuring method, storage medium, and electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910667682.4A CN110400354B (en) | 2019-07-23 | 2019-07-23 | Ornament, color measuring method, storage medium, and electronic apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110400354A true CN110400354A (en) | 2019-11-01 |
CN110400354B CN110400354B (en) | 2021-09-21 |
Family
ID=68324884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910667682.4A Active CN110400354B (en) | 2019-07-23 | 2019-07-23 | Ornament, color measuring method, storage medium, and electronic apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110400354B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114453049A (en) * | 2022-01-29 | 2022-05-10 | 广州媚妍生物科技有限公司 | A rolling machine for cosmetics automated production |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102156808A (en) * | 2011-03-30 | 2011-08-17 | 北京触角科技有限公司 | System and method for improving try-on effect of reality real-time virtual ornament |
CN107895366A (en) * | 2017-11-07 | 2018-04-10 | 国网重庆市电力公司电力科学研究院 | Towards the imaging method of color evaluation, system and computer readable storage devices |
CN108153821A (en) * | 2017-12-04 | 2018-06-12 | 北京小米移动软件有限公司 | Ornaments recommend method and device |
US10264250B2 (en) * | 2016-03-21 | 2019-04-16 | The Procter & Gamble Company | Method and apparatus for determining spectral characteristics of an image captured by a camera on a mobile endpoint device |
-
2019
- 2019-07-23 CN CN201910667682.4A patent/CN110400354B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102156808A (en) * | 2011-03-30 | 2011-08-17 | 北京触角科技有限公司 | System and method for improving try-on effect of reality real-time virtual ornament |
US10264250B2 (en) * | 2016-03-21 | 2019-04-16 | The Procter & Gamble Company | Method and apparatus for determining spectral characteristics of an image captured by a camera on a mobile endpoint device |
CN107895366A (en) * | 2017-11-07 | 2018-04-10 | 国网重庆市电力公司电力科学研究院 | Towards the imaging method of color evaluation, system and computer readable storage devices |
CN108153821A (en) * | 2017-12-04 | 2018-06-12 | 北京小米移动软件有限公司 | Ornaments recommend method and device |
Non-Patent Citations (1)
Title |
---|
百度经验: "如何根据肤色色调选择合适的颜色", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/9F7E7EC08B03BA6F29155474.HTML》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114453049A (en) * | 2022-01-29 | 2022-05-10 | 广州媚妍生物科技有限公司 | A rolling machine for cosmetics automated production |
CN114453049B (en) * | 2022-01-29 | 2023-11-03 | 广州南档科技有限公司 | Rolling device for automatic production of cosmetics |
Also Published As
Publication number | Publication date |
---|---|
CN110400354B (en) | 2021-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11030778B2 (en) | Methods and apparatus for enhancing color vision and quantifying color interpretation | |
Hein et al. | The use of a standardized gray reference card in dental photography to correct the effects of five commonly used diffusers on the color of 40 extracted human teeth | |
KR102548879B1 (en) | Systems and method for skin analysis using electronic devices | |
US9514535B1 (en) | Color calibration method of camera module | |
US7499076B2 (en) | Make-up counseling apparatus | |
JP6224822B2 (en) | Hair consultation tool apparatus and method | |
TWI279735B (en) | Method and device of color correction for projector, and projector | |
US7057641B2 (en) | Method for using an electronic imaging device to measure color | |
US11818513B2 (en) | Self-adaptive adjustment method and adjustment system for brightness of projection apparatus | |
CN109141640A (en) | Acetes chinensis method, system, equipment and storage medium based on machine vision | |
KR102343251B1 (en) | A method for selecting a cosmetic product for an intended user | |
JP2016006416A (en) | Coloring evaluation device and coloring evaluation method | |
CN105791783B (en) | Camera imaging color adjusting method and system | |
JP2008502970A (en) | Method and device for color calibration of cameras and / or display devices to correct color glitches from digital images | |
CN110400354A (en) | Ornaments, color measurement method, storage medium and electronic equipment | |
Zhang et al. | Color matching criteria in augmented reality | |
JP2004073802A (en) | Multipurpose measuring unit for skin | |
CN104394329B (en) | A kind of photographic method, device and mobile terminal | |
CN108989789A (en) | A kind of camera imaging quality real-time estimating method | |
CN105662624A (en) | Method and device for realizing color comparison of false teeth | |
KR20190063210A (en) | Method and System for Recommending Cosmetic based on User Skin Information | |
JP2006054679A (en) | White balance device and program thereof | |
Maczkowski et al. | Integrated method for three-dimensional shape and multispectral color measurement | |
CN207978028U (en) | The camera of foot scanner | |
CN109141822B (en) | Screen defect detection device and method based on four-piece type color filter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |