CN106157290A - A kind of method for color matching and system - Google Patents

A kind of method for color matching and system Download PDF

Info

Publication number
CN106157290A
CN106157290A CN201510190800.9A CN201510190800A CN106157290A CN 106157290 A CN106157290 A CN 106157290A CN 201510190800 A CN201510190800 A CN 201510190800A CN 106157290 A CN106157290 A CN 106157290A
Authority
CN
China
Prior art keywords
data
color
matching
standard colors
actual
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
Application number
CN201510190800.9A
Other languages
Chinese (zh)
Inventor
张永波
卡尔·格莱芬尼德
张恩杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUNZETAL (SHANGHAI) Ltd
Original Assignee
GUNZETAL (SHANGHAI) Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUNZETAL (SHANGHAI) Ltd filed Critical GUNZETAL (SHANGHAI) Ltd
Priority to CN201510190800.9A priority Critical patent/CN106157290A/en
Publication of CN106157290A publication Critical patent/CN106157290A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30124Fabrics; Textile; Paper

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Spectrometry And Color Measurement (AREA)

Abstract

The invention discloses a kind of method for color matching and system, it is adaptable to sewing thread color technology field;Method includes: obtains actual color data and the actual picture data of sample, and compares with the Standard Colors data preset and normal pictures data according to the data obtained;Select immediate Standard Colors data, and according to comparison result, these Standard Colors data are adjusted, the Standard Colors data being adjusted are reintegrated color matching procedure is iterated coupling, until finding the corresponding Standard Colors data that a color data and image data mate mutually, and export its dyeing recipe data;System includes: the first memory element, the second memory element, the first matching unit, the second matching unit and adjustment unit.Technique scheme provides the benefit that: avoid that for the first time it fails to match i.e. generates new dyeing recipe, shortens the process of whole color matching, promotes matching efficiency and the accuracy rate of coupling.

Description

A kind of method for color matching and system
Technical field
The present invention relates to sewing thread color technology field, particularly relate to a kind of method for color matching and system.
Background technology
In existing sewing thread color technology field, traditional color matching method is first by spectrophotometric color measurement instrument First obtain color data, obtain the advancing colour in color libraries according to color data inquiry subsequently: if inquiry is not Arrive, then directly form new dyeing recipe and dye;If inquiring, then transfer the dyeing recipe of advancing colour And dye.But, owing to sample has certain between thickness, density and Fabric Style Diversity, during spectrophotometric color measurement instrument obtains color data and obtains advancing colour, it is easy to occur by mistake Difference, affects the degree of accuracy of color matching to a certain extent so that the finished product that dyeing is formed not necessarily disclosure satisfy that visitor Family demand.
In prior art, color matching failure once occur, the color data i.e. submitted to according to client cannot Match default color data, then the color data can directly submitted to according to client generates new dyeing and joins Side.But, newly hold a dyeing recipe and contaminate sample and can produce extra cost, newly opening dyeing recipe also Need to expend the more color matching time, therefore can reduce the efficiency of color matching.
Summary of the invention
According to problems of the prior art, now provide the technical side of a kind of method for color matching and system Case, it is intended to matching colors present in solution prior art inefficient, color matching accuracy rate is poor, and color matching The problem of overlong time.
Technique scheme specifically includes:
A kind of method for color matching, it is adaptable to sewing thread match color procedure;Wherein, preset one and preserve standard First memory element of color data, and preset a standard preserving corresponding described Standard Colors data Second memory element of image data;
The step of described method for color matching includes:
Step S1, obtains the actual color data being associated with sample, and the actual picture number of correspondence According to;
Step S2, is stored in described first memory element according to described actual color Data Matching selection Immediate Standard Colors data and export;
Step S3, according to selected described Standard Colors data, extracts in described second memory element Corresponding described normal pictures data, and comparing with described actual picture data, output accordingly than Relatively result;
Step S4, according to the described comparative result of output in described step S3, when described normal pictures number According to when not matching that with described actual picture data, adjust selected described Standard Colors data, and will The selected described Standard Colors data being adjusted, as described actual color data, re-start face Colour matching, and return described step S2;
Circulation performs described step S2-S4, until described normal pictures data and described actual picture data When matching, using corresponding selected described Standard Colors data as with described actual color data phase Coupling color data and export.
Preferably, this method for color matching, wherein, described normal pictures data and described actual picture number According to being under a predetermined bright environment image data gathered.
Preferably, this method for color matching, wherein, use spectrophotometer, according to sample collection Obtain corresponding described actual color data.
Preferably, this method for color matching, wherein, preset a coupling difference range;
Described step S2 specifically includes:
Step S21b, selects described Standard Colors data and carries out with described actual color data Join, calculate and export and mate difference accordingly;
Step S22b, according to owning that described step S21a traversal is stored in described first memory element Described Standard Colors data, calculate and export all described coupling differences;
Step S23b, selects a minima in all described coupling difference of output and exports;
Step S24b, when the minima in described coupling difference is in described coupling difference range, will Corresponding described Standard Colors data are as the described Standard Colors number with described actual color data match According to and export.
Preferably, this method for color matching, wherein, in described step S4, adjust described Standard Colors The color depth value of data, and/or coloured light value, and/or value bright in luster, the institute being adjusted with acquisition State Standard Colors data, to rejoin color matching procedure as described actual color data.
Preferably, this method for color matching, wherein, described Standard Colors data are in LAB color mode Under;
In described step S4, adjust the L color channel component value of described Standard Colors data, and/or A Color channel component value, and/or B color channel component value, the described Standard Colors being adjusted with acquisition Data, to rejoin color matching procedure as described actual color data.
Preferably, this method for color matching, wherein, each described Standard Colors data association is in a phase The standard dyeing recipe data answered;
Circulation described step S2-S4 of execution is to find described Standard Colors data, as described reality After the color data matched of color data output, according to the described Standard Colors data of output, choosing Select corresponding standard dyeing recipe data and export.
Preferably, this method for color matching, wherein, in described step S4, when described normal pictures number According to during with described actual picture data match, directly using corresponding described Standard Colors data as with institute State the color data of actual color data match and export.
Preferably, this method for color matching, wherein, preset a maximum cycle;
If circulation described step S2-S4 of execution reaches described maximum cycle and still cannot find with described The described Standard Colors data of actual color data match, then analyze described actual color data to generate Corresponding dyeing recipe data also export.
A kind of color matching system, it is adaptable to sewing thread match color procedure;Wherein, including:
First memory element, is wherein preset with multiclass Standard Colors data;
Second memory element, is wherein preset with the normal pictures data of Standard Colors data described in corresponding every class;
Acquiring unit, obtains the actual color data of outside input, and the actual picture data of correspondence;
First matching unit, connects described first memory element and described acquiring unit respectively, and described first Matching unit, for according to described actual color data, mates and selects to be stored in described first memory element In immediate described Standard Colors data and export;
Second matching unit, connects described first matching unit and described second memory element respectively, is used for According to selected described Standard Colors data extract corresponding described normal pictures data, with described reality Border image data mates, and exports corresponding matching result;
Adjustment unit, connects described second matching unit and described first matching unit respectively, in institute State normal pictures data and described actual picture data when not matching that, adjust selected described standard face Chromatic number evidence, and using the selected described Standard Colors data that are adjusted as described actual color data, It is re-fed in described first matching unit carrying out color matching;
When described normal pictures data and described actual picture data match, described second matching unit Using corresponding described Standard Colors data as with the color data of described actual color data match defeated Go out.
Preferably, this color matching system, wherein, described normal pictures data and described actual picture number According to being under a predetermined bright environment image data gathered.
Preferably, this color matching system, wherein, described first matching unit includes:
Computing module, calculates between default described Standard Colors data and described actual color data Coupling difference;
Select module, connect described computing module, corresponding in all described Standard Colors data described in Join and select a minima between difference and export;
Matching module, connects described selection module, is preset with one and mates difference accordingly in described matching module Value scope, for the minima in described coupling difference is compared with described difference range of mating, and Minima in described coupling difference exports corresponding described standard when being in described coupling difference range Color data.
Preferably, this color matching system, wherein, each described Standard Colors data association is in a phase The standard dyeing recipe data answered, described standard dyeing recipe data default in described first memory element;
Described color matching system also includes:
Output unit, connects described second matching unit and described first memory element, respectively for basis The described Standard Colors number with described actual color data match that described second matching unit finally exports According to, extract corresponding described standard dyeing recipe data and export.
Preferably, this color matching system, wherein, described second matching unit includes:
Counting module, wherein presets a maximum cycle, and described counting module is single in described second coupling When unit performs a picture match process, count value adds 1, and exports as institute at described second matching unit State resetting closest to count value during the described Standard Colors data of color data of actual color data;
Judge module, connects described counting module, performs picture match in described second matching unit every time After process, described count value judges, exports corresponding judged result;
Described second matching unit is output matching failure when described count value reaches described maximum cycle Result.
Preferably, this color matching system, wherein, also include:
Output unit, connects described second matching unit and described acquiring unit respectively, for described the Dye accordingly according to described actual color data genaration during the failed result of two matching unit output matchings and join Number formulary evidence also exports.
Preferably, this color matching system, wherein, when the minima in described coupling difference is not in institute State in coupling difference range, then the result that the first matching unit output matching is failed;
Described color matching system also includes:
Output unit, connects described first matching unit and described acquiring unit respectively, for described the Dye accordingly according to described actual color data genaration during the failed result of one matching unit output matching and join Number formulary evidence also exports.
Technique scheme provides the benefit that: by performing image data after electronic color Data Matching Coupling, and adjust electronic color data according to matching result accordingly and be iterated matching process, it is to avoid It fails to match for the first time i.e. generates new dyeing recipe, shortens the process of whole color matching, promotes coupling Efficiency and the accuracy rate of coupling.
Accompanying drawing explanation
Fig. 1-2 is in the preferred embodiment of the present invention, the schematic flow sheet of a kind of method for color matching;
Fig. 3-5 is in the preferred embodiment of the present invention, the structural representation of a kind of color matching system.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making The every other embodiment obtained on the premise of going out creative work, broadly falls into the scope of protection of the invention.
It should be noted that in the case of not conflicting, the embodiment in the present invention and the spy in embodiment Levy and can be mutually combined.
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings, but not as the present invention's Limit.
In the preferred embodiment of the present invention, based on the above-mentioned problems in the prior art, now provide one Planting the technical scheme of method for color matching, this method for color matching is be applicable to sewing thread match color procedure.This In the preferred embodiment of invention, in this method for color matching, preset one and preserve Standard Colors data The first memory element, and preset the of the normal pictures data preserving corresponding Standard Colors data Two memory element.
In the preferred embodiment of the present invention, as it is shown in figure 1, above-mentioned method for color matching specifically includes:
Step S1, obtains the actual color data being associated with sample, and the actual picture number of correspondence According to;
In the preferred embodiment of the present invention, so-called actual color data, refer to be adopted by spectrophotometric color measurement instrument The color data of the electronics of the sample that collection obtains.
In the preferred embodiment of the present invention, above-mentioned actual color data are with Standard Colors data and are in Color data under LAB color mode.
So-called LAB color mode, i.e. with lightness passage (Lightness, L), A color channel and B The color mode that three passages of color channel represent jointly.In LAB color mode, A color channel refers to From bottle green (end brightness value) to Lycoperdon polymorphum Vitt (middle brightness value) again to the color of bright pink (high luminance values) Color passage;B color channel refers to from sapphirine (end brightness value) to Lycoperdon polymorphum Vitt (middle brightness value) again to yellow The color channel of color (high luminance values).
In the preferred embodiment of the present invention, actual color data and Standard Colors data are all unified in Under LAB color mode, in order to the coupling between actual color data and Standard Colors data and calculating.
In the preferred embodiment of the present invention, Standard Colors data are stored in first with QTX file format In memory element.
In the preferred embodiment of the present invention, above-mentioned actual picture data and normal pictures data, it is The image data collected under the one bright environment preset.Specifically, the preferred embodiment of the present invention In, normal pictures data are that the sample of corresponding Standard Colors data gathers under unified bright environment The image data obtained;Correspondingly, actual picture data are that the sample of corresponding actual color data exists The image data collected under unified bright environment.Outside the purpose of aforesaid operations is to avoid as far as possible The light environment in portion and the collecting work of other factors interference image data.
Then in a preferred embodiment of the present invention, client can gather reality voluntarily according to sample Color data (passing through spectrophotometer) and actual picture data (gathering under unified bright environment), And transmit the actual color data and actual picture data collected.Color in technical solution of the present invention Color sample can be mated on the basis of not utilizing sample by matching process.
Step S2, according to actual color Data Matching and select be stored in the first memory element one Close Standard Colors data also export;
In the preferred embodiment of the present invention, as in figure 2 it is shown, above-mentioned steps S2 farther includes:
Step S21, selects Standard Colors data and mates with actual color data, calculates also Difference is mated in output accordingly;
Step S22, travels through all Standard Colors numbers being stored in the first memory element according to step S21 According to, calculate and export all coupling differences;
Step S23, selects a minima in all coupling differences of output and exports;
Step S24, when the minima mated in difference is in coupling difference range, by corresponding mark Quasi-color data as with the Standard Colors data of actual color data match exporting.
Although in an ideal case, mating and obtain the Standard Colors number of and actual color data consistent According to being optimum scheme.But it is generally difficult in Shi Jian obtain the Standard Colors with actual color data consistent Data.Therefore, in the preferred embodiment of the present invention, use the mode obtained closest to color to perform color Matching process.
As mentioned above it is possible, in step S2, first travel through all marks being stored in the first memory element Quasi-color data, and calculate and mate difference between each Standard Colors data and actual color data.This In the preferred embodiment of invention, so-called coupling difference, it is possible to use LAB color mould mentioned hereinabove Formula calculates, and carries out component value the most respectively on L color channel, A color channel and B color channel Mathematic interpolation, the value of comprehensive mathematic interpolation subsequently, to form a total coupling difference and to export.
In the preferred embodiment of the present invention, travel through all Standard Colors data and difference is mated in generation accordingly After value, one of them minima is selected to export.
In the preferred embodiment of the present invention, in some cases, even the minima in coupling difference, Remain a bigger value, even if i.e. representing the Standard Colors data closest to actual color data, its And the gap between actual color data is the biggest.In this case it is necessary to it is poor to preset a coupling Minima in value scope, and the coupling difference that will export is mated difference range with this and is compared.If When little value falls in this coupling difference range, then it represents that corresponding Standard Colors data and actual color data Between gap be in acceptable scope, therefore export corresponding Standard Colors data, using as Color data close to actual color data.
Step S3, according to selected Standard Colors data, extracts corresponding mark in the second memory element Quasi-image data, and compare with actual picture data, export corresponding comparative result;
In one preferred embodiment of the present invention, the process of above-mentioned comparison picture, can use equipment certainly Dynamic control completes, and i.e. utilizes the Automatic Program finished to mate image data, and output matching knot Really.
In another preferred embodiment of the present invention, the process of above-mentioned comparison picture, can use artificial The mode of comparison completes.Such as, outputting standard image data and actual picture data, for comparison people Member compares.Image data can be compared on euchroic screen by comparison personnel.Subsequently, receive The comparison result of comparison personnel input, and perform next step operation according to comparison result.
Step S4, according to the comparative result of output in step S3, when normal pictures data and actual picture When data do not match that, adjust selected Standard Colors data, and the selected mark that will be adjusted Quasi-color data, as actual color data, re-starts color matching, and returns step S2.
In the preferred embodiment of the present invention, when normal pictures data do not match actual picture data, then The result that directly output matching is not failed, but adjust Standard Colors data accordingly, and substituted reality Color data returns to step S2, performs color matching procedure with iteration.
Specifically, in the preferred embodiment of the present invention, when normal pictures data do not match actual picture During data, according to both gaps, corresponding Standard Colors data are adjusted.Such as: 1) according to Program alignments, then according to the comparison result generated after program comparison, adjust corresponding Standard Colors number According to;2) according to artificial alignments, then according to the manpower comparing comparison result to rear input, adjust corresponding Standard Colors data.In the preferred embodiment of the present invention, the so-called Standard Colors data that adjust, not The Standard Colors data defaulted in the first memory element are produced impact, and is only the mark that will be adjusted Quasi-color data is as actual color data and participates in Iterative matching process.Similarly, Standard Colors is adjusted Data are also replaced actual color data to be circulated in step, not thereby produce actual color data Raw impact.
In the preferred embodiment of the present invention, the mode adjusting Standard Colors data may include that
1) according to comparison result, the shade of normal pictures data, and/or coloured light, and/or color are adjusted Color vividness etc., thus reflect in Standard Colors data, generate the standard face of optimization after being i.e. adjusted Chromatic number evidence.
2) the L color channel of Standard Colors data, and/or A color channel, and/or B are directly adjusted The component value of color channel, to form the Standard Colors data through optimizing.
In the preferred embodiment of the present invention, circulation perform step S2-S4, until normal pictures data with During actual picture data match, using corresponding selected Standard Colors data as with actual color number According to the color data matched and export.
In the preferred embodiment of the present invention, in order to avoid method for color matching is absorbed in endless loop, set one Individual maximum cycle.If circulation perform step S2-S4 reach maximum cycle still cannot find with The Standard Colors data of actual color data match, then analyze actual color data to generate corresponding dye Color formulation data also exports.
In the preferred embodiment of the present invention, in above-mentioned steps S4, it is matched with actual picture number if finding According to normal pictures data, the most directly export corresponding Standard Colors data.
Therefore, in the preferred embodiment of the present invention, jump out the triggering bar of the circulation of above-mentioned steps S2-S4 Part includes two: 1) find the normal pictures data being matched with actual picture data;2) iterative cycles arrives Maximum cycle still cannot find the normal pictures data being matched with actual picture data.
In the preferred embodiment of the present invention, each Standard Colors data association contaminates in a corresponding standard Color formulation data.
After jumping out circulation step S2-S4 because exporting corresponding Standard Colors data, extract corresponding standard Dyeing recipe data also export;Or
Still the normal pictures data being matched with actual picture data cannot be found because reaching maximum cycle And after jumping out circulation step S2-S4, the dyeing recipe data new according to actual color data genaration also export; Or
In above-mentioned steps S2, it is impossible to find the Standard Colors data closest to actual color data, then root Border color data generates new dyeing recipe data and exports factually.
In one preferred embodiment of the present invention, if cannot find and the mark of actual color data match Quasi-color data, then (but and be not included in Standard Colors data immediate with actual color data Join in difference range, or corresponding normal pictures data do not match that with actual picture data) based on It is finely adjusted, and on the basis of fine setting, generates new dyeing recipe data and export.
In the preferred embodiment of the present invention, after generating new dyeing recipe data, then this dyeing is joined Number formulary according to and the color data of correspondence (can be actual color data, or according to immediate standard The color data that color data obtains through fine setting) it is saved in above-mentioned first memory element, on improving State the color data in the first memory element.
In the preferred embodiment of the present invention, while improving above-mentioned first memory element, to according to new The sample that dyeed of dyeing recipe data carry out picture collection and be saved into the second memory element In, with the corresponding image data updated in the second memory element.
In sum, the goal of the invention of the present invention is: according to actual color data and actual picture data Carry out Dual Matching, and the mode using circulation to adjust matching value Iterative matching realizes color matching mistake Journey, it is possible to effectively shorten the handling duration of color matching procedure, promotes matching efficiency and accuracy rate.
In the preferred embodiment of the present invention, above-mentioned color matching procedure can further expand, such as root Dye sample sending according to the dyeing recipe data of output to consult to client, if client's need cannot be met Ask, then can adjust further according to customer demand originally exported closest to actual color data Standard Colors data, and rejoin circulation matching process in carry out color matching.Or according to client's need Ask and regenerate dyeing recipe data and dye sample.Said process iteration is carried out, until meeting visitor Till the demand of family.
In the preferred embodiment of the present invention, based on the above method for color matching, now provide one Plant color matching system, be equally applicable in sewing thread match color procedure.
In the preferred embodiment of the present invention, as it is shown on figure 3, above-mentioned color matching system specifically includes:
First memory element 1, is wherein preset with multiclass Standard Colors data.About Standard Colors data Description can refer to the above.
Second memory element 2, is wherein preset with the normal pictures data of corresponding every class standard color data. Description about normal pictures data can refer to the above.
Acquiring unit 3, obtains the actual color data of outside input, and the actual picture data of correspondence. Can refer to the above about the method description obtaining actual color data and corresponding actual picture data Content.
First matching unit 4, connects the first memory element 1 and acquiring unit 3 respectively.The present invention's is preferable Embodiment in, the first matching unit 4 for according to actual color data, mates and selects to be stored in the Immediate Standard Colors data in one memory element also export.
In the preferred embodiment of the present invention, the first matching unit 4 traversal is stored in the first memory element 1 In all Standard Colors data and obtain all coupling differences, select one of them minima, with basis This minima selects the Standard Colors data closest to actual color data and exports.
In the preferred embodiment of the present invention, as shown in Figure 4, above-mentioned first matching unit 4 wraps further Include:
Computing module 41, calculates mating between default Standard Colors data and actual color data Difference.Computational methods for coupling difference can refer to the above.
Select module 42, connect computing module 41.In the preferred embodiment of the present invention, select module 42 select a minima between the coupling difference that all Standard Colors data are corresponding and export.
Matching module 43, connects and selects module 42.In the preferred embodiment of the present invention, matching module Be preset with one in 43 and mate difference range accordingly, and for by the minima in coupling difference with mate poor Value scope compares, and the minima in coupling difference is in when mating in difference range and exports accordingly Standard Colors data.
In the preferred embodiment of the present invention, it is contemplated that the minima of coupling difference it is possible to excessive, from And cause, between immediate Standard Colors data and the actual color data selected, still there is bigger difference Away from.Therefore in matching module 43, preset a coupling difference range, and by the minima in coupling difference Compare with mating difference range: if minima falls in coupling difference range, then by this minima pair The Standard Colors data output answered;If minima does not falls within coupling difference range, then output matching failure Result.
In the preferred embodiment of the present invention, still as it is shown on figure 3, above-mentioned color matching system also wraps Include:
Second matching unit 5, connects the first matching unit 4 and the second memory element 2 respectively.The present invention's In preferred embodiment, the second matching unit 5 is corresponding for extracting according to selected Standard Colors data Normal pictures data, to mate with actual picture data, export corresponding matching result.
In the preferred embodiment of the present invention, as it is shown in figure 5, above-mentioned second matching unit 5 wraps further Include:
Counting module 51, wherein presets a maximum cycle, and counting module 51 is in the second matching unit 5 When performing a picture match process, count value adds 1, and in the second matching unit 5 output as actual face Resetting closest to count value during the Standard Colors data of color data of chromatic number evidence;
Judge module 52, connection count module 51, perform picture match mistake in the second matching unit 5 every time After journey, count value judges, exports corresponding judged result;
Second matching unit 5 result that output matching is failed when count value reaches maximum cycle.
In the preferred embodiment of the present invention, in order to avoid the process of Iterative matching is absorbed in endless loop, therefore An enumerator with maximum cycle is set in the second matching unit 5.Each second coupling is single When unit's 5 criterion image datas do not match actual picture data, this enumerator adds 1;And when second When matching unit 5 criterion image data is matched with actual picture data, this counter O reset.Then in After normal pictures data are judged by each second matching unit 5, above-mentioned judge module 52 is to counting Count value in device judges: if count value reaches maximum cycle, then explanation cycle-index reaches Preset value still cannot find the normal pictures data with actual picture data match, the most still without Method finds the Standard Colors data closest to actual color data, therefore jumps out Iterative matching process, and defeated Go out the result that it fails to match.
In the preferred embodiment of the present invention, still as it is shown on figure 3, above-mentioned color matching system also wraps Include:
Adjustment unit 6, connects the second matching unit 5 and the first matching unit 4 respectively.The present invention's is preferable Embodiment in, adjustment unit 6 for when normal pictures data do not match that with actual picture data, Adjust selected Standard Colors data, and using the selected Standard Colors data that are adjusted as reality Border color data, is re-fed in the first matching unit carrying out color matching.Adjustment process and can being adjusted Whole value can refer to the above.
Output unit 7, connects the second matching unit 5 and the first memory element 1 respectively.The present invention's is preferable Embodiment in, be preset with in the first memory element 1 and be respectively associated in the dye of each Standard Colors data Color formulation data.Then when above-mentioned second matching unit 5 is through overmatching validation criteria image data and actual figure Sheet data match, and after exporting corresponding Standard Colors data, output unit 7 is single from the first storage Unit 1 extracts corresponding dyeing recipe data and exports.
In another preferred embodiment of the present invention, output unit 7 connects the second matching unit 5 respectively With acquiring unit 3.When after the result that above-mentioned second matching unit 5 output matching is failed, output unit 7 The dyeing recipe data new according to the actual color data genaration obtained also export.
In another preferred embodiment of the present invention, output unit 7 connects the first matching unit 4 respectively With acquiring unit 3.When after the result that above-mentioned first matching unit 4 output matching is failed, output unit 7 The dyeing recipe data new according to the actual color data genaration obtained also export.
Therefore, as it is shown on figure 3, in a preferred embodiment of the present invention, output unit 7 is respectively Connect the first matching unit the 4, second matching unit the 5, first memory element 1 and acquiring unit 3, with Take into account above-mentioned two situations.In other embodiments of the present invention, equally use two output units, One of them connects the second matching unit 5 and acquiring unit 3 respectively, and another connects the second matching unit 5 With the first memory element 1, with corresponding different estimate of situation respectively complete dyeing recipe data generation or Extract operation.
In one preferred embodiment of the present invention, if cannot find and the mark of actual color data match Quasi-color data, then (but and be not included in Standard Colors data immediate with actual color data Join in difference range, or corresponding normal pictures data do not match that with actual picture data) based on It is finely adjusted, and on the basis of fine setting, generates new dyeing recipe data and export.
In the preferred embodiment of the present invention, after generating new dyeing recipe data, then this dyeing is joined Number formulary according to and the color data of correspondence (can be actual color data, or according to immediate standard The color data that color data obtains through fine setting) it is saved in above-mentioned first memory element 1, with perfect Color data in above-mentioned first memory element 1.
In the preferred embodiment of the present invention, while improving above-mentioned first memory element 1, to basis The sample that new dyeing recipe data have dyeed carries out picture collection and is saved into the second memory element In 2, with the corresponding image data updated in the second memory element 2.
The foregoing is only preferred embodiment of the present invention, not thereby limit embodiments of the present invention and Protection domain, to those skilled in the art, it should can appreciate that all utilization description of the invention And the equivalent done by diagramatic content and the scheme obtained by obvious change, all should comprise Within the scope of the present invention.

Claims (16)

1. a method for color matching, it is adaptable to sewing thread match color procedure;It is characterized in that, preset a guarantor There is the first memory element of Standard Colors data, and default one preserves corresponding described Standard Colors number According to the second memory element of normal pictures data;
The step of described method for color matching includes:
Step S1, obtains the actual color data being associated with sample, and the actual picture number of correspondence According to;
Step S2, is stored in described first memory element according to described actual color Data Matching selection Immediate Standard Colors data and export;
Step S3, according to selected described Standard Colors data, extracts in described second memory element Corresponding described normal pictures data, and comparing with described actual picture data, output accordingly than Relatively result;
Step S4, according to the described comparative result of output in described step S3, when described normal pictures number According to when not matching that with described actual picture data, adjust selected described Standard Colors data, and will The selected described Standard Colors data being adjusted, as described actual color data, re-start face Colour matching, and return described step S2;
Circulation performs described step S2-S4, until described normal pictures data and described actual picture data When matching, using corresponding selected described Standard Colors data as with described actual color data phase Coupling color data and export.
2. method for color matching as claimed in claim 1, it is characterised in that described normal pictures data The image data gathered it is under a predetermined bright environment with described actual picture data.
3. method for color matching as claimed in claim 1, it is characterised in that use spectrophotometer, Corresponding described actual color data are collected according to sample.
4. method for color matching as claimed in claim 1, it is characterised in that preset a coupling difference Scope;
Described step S2 specifically includes:
Step S21, selects described Standard Colors data and mates with described actual color data, Calculate and export and mate difference accordingly;
Step S22, travels through all institutes being stored in described first memory element according to described step S21 State Standard Colors data, calculate and export all described coupling differences;
Step S23, selects a minima in all described coupling difference of output and exports;
Step S24, when the minima in described coupling difference is in described coupling difference range, will Corresponding described Standard Colors data are as the described Standard Colors number with described actual color data match According to and export.
5. method for color matching as claimed in claim 1, it is characterised in that in described step S4, Adjust the color depth value of described Standard Colors data, and/or coloured light value, and/or value bright in luster, with Obtain the described Standard Colors data being adjusted, to rejoin color as described actual color data Matching process.
6. method for color matching as claimed in claim 1, it is characterised in that described Standard Colors data It is under LAB color mode;
In described step S4, adjust the L color channel component value of described Standard Colors data, and/or A Color channel component value, and/or B color channel component value, the described Standard Colors being adjusted with acquisition Data, to rejoin color matching procedure as described actual color data.
7. method for color matching as claimed in claim 1, it is characterised in that each described Standard Colors Data association is in corresponding standard dyeing recipe data;
Circulation described step S2-S4 of execution is to find described Standard Colors data, as described reality After the color data matched of color data output, according to the described Standard Colors data of output, choosing Select corresponding standard dyeing recipe data and export.
8. method for color matching as claimed in claim 1, it is characterised in that in described step S4, When described normal pictures data and described actual picture data match, directly by corresponding described standard Color data as with the color data of described actual color data match exporting.
9. method for color matching as claimed in claim 1, it is characterised in that preset a largest loop Number of times;
If circulation described step S2-S4 of execution reaches described maximum cycle and still cannot find with described The described Standard Colors data of actual color data match, then analyze described actual color data to generate Corresponding dyeing recipe data also export.
10. a color matching system, it is adaptable to sewing thread match color procedure;It is characterized in that, including:
First memory element, is wherein preset with multiclass Standard Colors data;
Second memory element, is wherein preset with the normal pictures data of Standard Colors data described in corresponding every class;
Acquiring unit, obtains the actual color data of outside input, and the actual picture data of correspondence;
First matching unit, connects described first memory element and described acquiring unit respectively, and described first Matching unit, for according to described actual color data, mates and selects to be stored in described first memory element In immediate described Standard Colors data and export;
Second matching unit, connects described first matching unit and described second memory element respectively, is used for According to selected described Standard Colors data extract corresponding described normal pictures data, with described reality Border image data mates, and exports corresponding matching result;
Adjustment unit, connects described second matching unit and described first matching unit respectively, in institute State normal pictures data and described actual picture data when not matching that, adjust selected described standard face Chromatic number evidence, and using the selected described Standard Colors data that are adjusted as described actual color data, It is re-fed in described first matching unit carrying out color matching;
When described normal pictures data and described actual picture data match, described second matching unit Using corresponding described Standard Colors data as with the color data of described actual color data match defeated Go out.
11. color matching system as claimed in claim 10, it is characterised in that described normal pictures number The image data gathered it is under a predetermined bright environment according to described actual picture data.
12. color matching system as claimed in claim 10, it is characterised in that described first coupling is single Unit includes:
Computing module, calculates between default described Standard Colors data and described actual color data Coupling difference;
Select module, connect described computing module, corresponding in all described Standard Colors data described in Join and select a minima between difference and export;
Matching module, connects described selection module, is preset with one and mates difference accordingly in described matching module Value scope, for the minima in described coupling difference is compared with described difference range of mating, and Minima in described coupling difference exports corresponding described standard when being in described coupling difference range Color data.
13. color matching system as claimed in claim 10, it is characterised in that each described standard face Chromatic number is according to being associated with corresponding standard dyeing recipe data, and described standard dyeing recipe data default in In described first memory element;
Described color matching system also includes:
Output unit, connects described second matching unit and described first memory element, respectively for basis The described Standard Colors number with described actual color data match that described second matching unit finally exports According to, extract corresponding described standard dyeing recipe data and export.
14. color matching system as claimed in claim 10, it is characterised in that described second coupling is single Unit includes:
Counting module, wherein presets a maximum cycle, and described counting module is single in described second coupling When unit performs a picture match process, count value adds 1, and exports as institute at described second matching unit State resetting closest to count value during the described Standard Colors data of color data of actual color data;
Judge module, connects described counting module, performs picture match in described second matching unit every time After process, described count value judges, exports corresponding judged result;
Described second matching unit is output matching failure when described count value reaches described maximum cycle Result.
15. color matching system as claimed in claim 14, it is characterised in that also include:
Output unit, connects described second matching unit and described acquiring unit respectively, for described the Dye accordingly according to described actual color data genaration during the failed result of two matching unit output matchings and join Number formulary evidence also exports.
16. color matching system as claimed in claim 12, it is characterised in that when described coupling difference In minima be not in described coupling difference range, then the knot that the first matching unit output matching is failed Really;
Described color matching system also includes:
Output unit, connects described first matching unit and described acquiring unit respectively, for described the Dye accordingly according to described actual color data genaration during the failed result of one matching unit output matching and join Number formulary evidence also exports.
CN201510190800.9A 2015-04-20 2015-04-20 A kind of method for color matching and system Pending CN106157290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510190800.9A CN106157290A (en) 2015-04-20 2015-04-20 A kind of method for color matching and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510190800.9A CN106157290A (en) 2015-04-20 2015-04-20 A kind of method for color matching and system

Publications (1)

Publication Number Publication Date
CN106157290A true CN106157290A (en) 2016-11-23

Family

ID=58057838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510190800.9A Pending CN106157290A (en) 2015-04-20 2015-04-20 A kind of method for color matching and system

Country Status (1)

Country Link
CN (1) CN106157290A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106799048A (en) * 2017-03-30 2017-06-06 苏州乐米信息科技股份有限公司 3D action generation method and system based on dynamic acquisition
CN107724111A (en) * 2017-09-27 2018-02-23 广东溢达纺织有限公司 Textile dyeing formula acquisition methods, device, storage medium and computer equipment
CN109629159A (en) * 2019-01-07 2019-04-16 东莞百宏实业有限公司 A kind of coloring system and colouring method of high efficiency smart
CN110503648A (en) * 2019-08-30 2019-11-26 中国人民解放军陆军军医大学第二附属医院 A kind of cell image method of adjustment and device
CN110719382A (en) * 2019-10-09 2020-01-21 北京明略软件***有限公司 Color replacement method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101180523A (en) * 2005-05-05 2008-05-14 纳幕尔杜邦公司 Color clustering technique for matching refinish paints
CN101324925A (en) * 2008-07-28 2008-12-17 浙江大学 Method for optimizing fabric dyeing and color matching
CN102047086A (en) * 2008-05-28 2011-05-04 阿克佐诺贝尔国际涂料股份有限公司 Method for determination of a matching colour variant
CN102089636A (en) * 2008-05-29 2011-06-08 Ppg工业俄亥俄公司 Computer-implemented method of color matching a paint formulation
CN102411667A (en) * 2011-06-28 2012-04-11 绍兴文理学院 Method for predicating overdying formula of colored fabric
CN102750403A (en) * 2012-05-28 2012-10-24 嘉兴学院 Formula screening and correction method for spun-dyed yarn color matching
CN103024354A (en) * 2012-12-11 2013-04-03 华为技术有限公司 Method and device for color matching
CN103612483A (en) * 2013-12-06 2014-03-05 中国印刷科学技术研究所 Printing ink color matching method based on spectral matching

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101180523A (en) * 2005-05-05 2008-05-14 纳幕尔杜邦公司 Color clustering technique for matching refinish paints
CN102047086A (en) * 2008-05-28 2011-05-04 阿克佐诺贝尔国际涂料股份有限公司 Method for determination of a matching colour variant
CN102089636A (en) * 2008-05-29 2011-06-08 Ppg工业俄亥俄公司 Computer-implemented method of color matching a paint formulation
CN101324925A (en) * 2008-07-28 2008-12-17 浙江大学 Method for optimizing fabric dyeing and color matching
CN102411667A (en) * 2011-06-28 2012-04-11 绍兴文理学院 Method for predicating overdying formula of colored fabric
CN102750403A (en) * 2012-05-28 2012-10-24 嘉兴学院 Formula screening and correction method for spun-dyed yarn color matching
CN103024354A (en) * 2012-12-11 2013-04-03 华为技术有限公司 Method and device for color matching
CN103612483A (en) * 2013-12-06 2014-03-05 中国印刷科学技术研究所 Printing ink color matching method based on spectral matching

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
景运革: "《基于粗糙集属性约简算法的研究》", 31 July 2013, 西南交通大学出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106799048A (en) * 2017-03-30 2017-06-06 苏州乐米信息科技股份有限公司 3D action generation method and system based on dynamic acquisition
CN107724111A (en) * 2017-09-27 2018-02-23 广东溢达纺织有限公司 Textile dyeing formula acquisition methods, device, storage medium and computer equipment
CN109629159A (en) * 2019-01-07 2019-04-16 东莞百宏实业有限公司 A kind of coloring system and colouring method of high efficiency smart
CN110503648A (en) * 2019-08-30 2019-11-26 中国人民解放军陆军军医大学第二附属医院 A kind of cell image method of adjustment and device
CN110719382A (en) * 2019-10-09 2020-01-21 北京明略软件***有限公司 Color replacement method and device
CN110719382B (en) * 2019-10-09 2021-11-16 北京明略软件***有限公司 Color replacement method and device

Similar Documents

Publication Publication Date Title
CN106157290A (en) A kind of method for color matching and system
CN109829849B (en) Training data generation method and device and terminal
CN102985941B (en) Color image processing method and color image processing device
Hemrit et al. Rehabilitating the colorchecker dataset for illuminant estimation
CN100421126C (en) Method and system in a digital image processing chain for adjusting a colour balance, corresponding equipment, and software means for implementing the method
CN103929631B (en) Use white balance adjustment method and the device thereof of scene detection
CN110440921B (en) Color recognition sensor module and color recognition method
CN103517049B (en) Automatic white balance method and circuit
CN102387371A (en) Image adjustment
CN105069234B (en) The spectrum dimension reduction method and system of a kind of view-based access control model Perception Features
CN102938145A (en) Consistency regulating method and system of splicing panoramic picture
CN103003870A (en) Image display system, image processing apparatus and control method thereof
CN105578166A (en) Color temperature determination method and device
CN104077093A (en) Computer monitor equalization using handheld device
CN102300100A (en) White balance control device and method
CN106407768A (en) Methods and devices for determining device fingerprint and identifying target device
CN103559870B (en) The color displays control method of display terminal and device
Finlayson et al. A curious problem with using the colour checker dataset for illuminant estimation
CN105611184A (en) White balance debugging method and debugging system of digital video device
JP2021533408A (en) LED thermal characterization and calibration for optical displays
WO2019152499A1 (en) Systems and methods for image signal processor tuning using a reference image
CN105681686A (en) Image processing method and system
CN105872511A (en) Method for improving color temperature consistency of flat panel television through multiple gamma curves
CN107027017A (en) A kind of method of adjustment, device, picture processing chip and the storage device of image white balance
CN105763861A (en) Automatic white balance system for electronic cameras

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161123